Compare commits

...

1 Commits

Author SHA1 Message Date
coah
d7dbc474c0 cleanup: rename CdbBackup progress percent helper
Rename fn_8135B1C0 to getProgressPercent. DOL sha1 unchanged.
2026-10-01 16:54:50 -05:00
3 changed files with 6 additions and 6 deletions

View File

@@ -2095,7 +2095,7 @@ stt_wait_fns_msg__Q23ipl9CdbBackupFv = .text:0x8135B004; // type:function size:0
stt_clean_up_back__Q23ipl9CdbBackupFv = .text:0x8135B030; // type:function size:0x60
stt_wait_terminate__Q23ipl9CdbBackupFv = .text:0x8135B090; // type:function size:0x60
error_handling__Q23ipl9CdbBackupFv = .text:0x8135B0F0; // type:function size:0xD0
fn_8135B1C0__Q23ipl9CdbBackupFv = .text:0x8135B1C0; // type:function size:0x28
getProgressPercent__Q23ipl9CdbBackupFv = .text:0x8135B1C0; // type:function size:0x28
cdb_backup_delete_search_cb___3iplFPvP10_CDBRecord = .text:0x8135B1E8; // type:function size:0x8C
cdb_backup_delete_task___3iplFPv = .text:0x8135B274; // type:function size:0xDC
cdb_backup_move_search_cb___3iplFPvP10_CDBRecord = .text:0x8135B350; // type:function size:0xBC

View File

@@ -39,7 +39,7 @@ namespace ipl {
void stt_wait_fns_msg();
void stt_wait_terminate();
int fn_8135B1C0();
int getProgressPercent();
void error_handling();

View File

@@ -272,12 +272,12 @@ namespace ipl {
}
void CdbBackup::stt_wait_backup() {
if (fn_8135B1C0() < 100) {
System::getDialog()->setProgBarLength(fn_8135B1C0());
if (getProgressPercent() < 100) {
System::getDialog()->setProgBarLength(getProgressPercent());
}
if (mbDoneProcess) {
if (fn_8135B1C0() >= 100) {
if (getProgressPercent() >= 100) {
System::getDialog()->setProgBarLength(100);
} else {
System::getDialog()->terminate();
@@ -360,7 +360,7 @@ namespace ipl {
}
}
int CdbBackup::fn_8135B1C0() {
int CdbBackup::getProgressPercent() {
return ((mTotalFreeSize - mPrevFreeSize) * 100) / ((0x1400000 - unknown) - mPrevFreeSize);
}