// // sub_73D604 from 0x73d604 to 0x73d916 (786 bytes) // // 3 xrefs: // > sub_73D604 @ 0x73d8aa // > sub_73D604 @ 0x73d8d6 // > AutoBackupPopup::listBackups @ 0x73dcca // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:58:32 +0000 // void __fastcall sub_73D604(int a1, unsigned __int8 *a2, int a3) { int v5; // r3 unsigned __int8 *v6; // r7 unsigned __int8 *v7; // r5 int *v8; // r9 unsigned __int8 *v9; // r6 int v10; // r3 unsigned int v11; // r0 unsigned __int8 *v12; // r5 unsigned __int8 *v13; // r6 unsigned int v14; // r0 unsigned int v15; // r9 unsigned __int8 *v16; // r10 unsigned __int8 *v17; // r6 int v18; // r0 int *v19; // r11 int i; // r10 int v21; // r6 _DWORD v23[16]; // [sp+14h] [bp-48h] BYREF while ( 2 ) { v5 = (int)&a2[-a1] >> 6; switch ( v5 ) { case 0: case 1: return; case 2: v6 = a2 - 64; if ( sub_73C376(v6, (unsigned __int8 *)a1) ) { AutoBackupPopup::BackupFile::BackupFile(v23, (int *)a1); AutoBackupPopup::BackupFile::operator=(a1, v6); AutoBackupPopup::BackupFile::operator=((int)v6, v23); AutoBackupPopup::BackupFile::~BackupFile((AutoBackupPopup::BackupFile *)v23); } return; case 3: sub_73D220((int *)a1, (int *)(a1 + 64), a2 - 64); return; case 4: sub_73D320((int *)a1, (int *)(a1 + 64), (unsigned __int8 *)(a1 + 128), a2 - 64); return; case 5: sub_73D3DC((int *)a1, (int *)(a1 + 64), (unsigned __int8 *)(a1 + 128), (unsigned __int8 *)(a1 + 192), a2 - 64); return; default: if ( v5 > 6 ) { v12 = a2 - 64; v13 = (unsigned __int8 *)(a1 + ((int)&a2[-a1] >> 7 << 6)); if ( v5 < 1000 ) v14 = sub_73D220((int *)a1, (int *)(a1 + ((int)&a2[-a1] >> 7 << 6)), a2 - 64); else v14 = sub_73D3DC( (int *)a1, (int *)(a1 + ((int)&a2[-a1] >> 8 << 6)), (unsigned __int8 *)(a1 + ((int)&a2[-a1] >> 7 << 6)), &v13[64 * ((int)&a2[-a1] >> 8)], a2 - 64); v15 = v14; if ( sub_73C376((unsigned __int8 *)a1, v13) ) { LABEL_36: v19 = (int *)(a1 + 64); if ( a1 + 64 < (unsigned int)v12 ) { for ( i = a1 + 128; ; i += 64 ) { v19 = (int *)(i - 64); if ( !sub_73C376((unsigned __int8 *)(i - 64), v13) ) { do v12 -= 64; while ( !sub_73C376(v12, v13) ); if ( v19 > (int *)v12 ) break; AutoBackupPopup::BackupFile::BackupFile(v23, (int *)(i - 64)); ++v15; AutoBackupPopup::BackupFile::operator=(i - 64, v12); if ( v13 == (unsigned __int8 *)v19 ) v13 = v12; AutoBackupPopup::BackupFile::operator=((int)v12, v23); AutoBackupPopup::BackupFile::~BackupFile((AutoBackupPopup::BackupFile *)v23); } } } if ( v19 != (int *)v13 && sub_73C376(v13, (unsigned __int8 *)v19) ) { AutoBackupPopup::BackupFile::BackupFile(v23, v19); ++v15; AutoBackupPopup::BackupFile::operator=((int)v19, v13); AutoBackupPopup::BackupFile::operator=((int)v13, v23); AutoBackupPopup::BackupFile::~BackupFile((AutoBackupPopup::BackupFile *)v23); } if ( !v15 ) { v21 = sub_73D4C8(a1, (unsigned __int8 *)v19); if ( sub_73D4C8((int)(v19 + 16), a2) ) { if ( v21 ) return; goto LABEL_58; } if ( v21 ) goto LABEL_51; } if ( (a2 - (unsigned __int8 *)v19) >> 6 > ((int)v19 - a1) >> 6 ) { sub_73D604(a1, v19, a3); LABEL_51: a1 = (int)(v19 + 16); continue; } sub_73D604(v19 + 16, a2, a3); LABEL_58: a2 = (unsigned __int8 *)v19; } else { v16 = a2 - 64; while ( 1 ) { v16 -= 64; if ( (unsigned __int8 *)a1 == v16 ) break; if ( sub_73C376(v16, v13) ) { AutoBackupPopup::BackupFile::BackupFile(v23, (int *)a1); ++v15; AutoBackupPopup::BackupFile::operator=(a1, v16); v12 = v16; AutoBackupPopup::BackupFile::operator=((int)v16, v23); AutoBackupPopup::BackupFile::~BackupFile((AutoBackupPopup::BackupFile *)v23); goto LABEL_36; } } v17 = (unsigned __int8 *)(a1 + 64); if ( !sub_73C376((unsigned __int8 *)a1, a2 - 64) ) { while ( 1 ) { if ( v17 == v12 ) return; if ( sub_73C376((unsigned __int8 *)a1, v17) ) break; v17 += 64; } AutoBackupPopup::BackupFile::BackupFile(v23, (int *)v17); v18 = (int)v17; v17 += 64; AutoBackupPopup::BackupFile::operator=(v18, (_DWORD *)a2 - 16); AutoBackupPopup::BackupFile::operator=((int)(a2 - 64), v23); AutoBackupPopup::BackupFile::~BackupFile((AutoBackupPopup::BackupFile *)v23); } if ( v17 == v12 ) return; while ( 1 ) { do v17 += 64; while ( !sub_73C376((unsigned __int8 *)a1, v17 - 64) ); do v12 -= 64; while ( sub_73C376((unsigned __int8 *)a1, v12) ); if ( v17 - 64 >= v12 ) break; AutoBackupPopup::BackupFile::BackupFile(v23, (int *)v17 - 16); AutoBackupPopup::BackupFile::operator=((int)(v17 - 64), v12); AutoBackupPopup::BackupFile::operator=((int)v12, v23); AutoBackupPopup::BackupFile::~BackupFile((AutoBackupPopup::BackupFile *)v23); } a1 = (int)(v17 - 64); } continue; } v7 = (unsigned __int8 *)(a1 + 128); v8 = (int *)(a1 + 192); sub_73D220((int *)a1, (int *)(a1 + 64), (unsigned __int8 *)(a1 + 128)); while ( 1 ) { v9 = v7; if ( v8 == (int *)a2 ) break; if ( sub_73C376((unsigned __int8 *)v8, v7) ) { AutoBackupPopup::BackupFile::BackupFile(v23, v8); v10 = (int)v8; while ( 1 ) { AutoBackupPopup::BackupFile::operator=(v10, v9); if ( v9 == (unsigned __int8 *)a1 ) break; v11 = sub_73C376((unsigned __int8 *)v23, v9 - 64); v10 = (int)v9; if ( !v11 ) break; v9 -= 64; } AutoBackupPopup::BackupFile::operator=((int)v9, v23); AutoBackupPopup::BackupFile::~BackupFile((AutoBackupPopup::BackupFile *)v23); } v8 += 16; v7 += 64; } return; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source