// // sub_100532F70 from 0x100532f70 to 0x100533150 (480 bytes) // // 1 xrefs: // > sub_10053288C @ 0x100532b80 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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:07:22 +0000 // void __fastcall sub_100532F70(__int64 a1) { int v2; // w20 int v3; // w22 const char *v4; // x8 void *v5; // x0 char *CString; // x0 _QWORD *v7; // x0 void *v8; // x0 void *v9; // x19 void *__dst[2]; // [xsp+20h] [xbp-A0h] BYREF __int64 v11; // [xsp+30h] [xbp-90h] void *__p[2]; // [xsp+40h] [xbp-80h] BYREF char v13; // [xsp+57h] [xbp-69h] _QWORD v14[2]; // [xsp+58h] [xbp-68h] BYREF char v15; // [xsp+6Fh] [xbp-51h] const void *v16[2]; // [xsp+70h] [xbp-50h] BYREF char v17; // [xsp+87h] [xbp-39h] __int128 v18; // [xsp+88h] [xbp-38h] BYREF __int64 v19; // [xsp+98h] [xbp-28h] v2 = sub_1001684D0(a1); AutoBackupPopup::backupDirectory((__int64)&v18); sub_100009900(v16, ""); v3 = sub_1005325F0((const void **)&v18, v2, v16, 1); if ( v17 < 0 ) operator delete((void *)v16[0]); if ( SHIBYTE(v19) < 0 ) { operator delete((void *)v18); if ( v3 ) { LABEL_5: v4 = "s"; if ( v3 == 1 ) v4 = ""; v5 = sub_1003065B0("Delete %i old backup%s?\nKeeps the newest %i for each level.", v3, v4, v2); CString = (char *)cocos2d::CCString::getCString((__int64)v5); sub_100009900(&v18, CString); if ( SHIBYTE(v19) < 0 ) { sub_1000097D0(__dst, (void *)v18, *((unsigned __int64 *)&v18 + 1)); } else { *(_OWORD *)__dst = v18; v11 = v19; } v9 = FLAlertLayer::create( a1 + 1016, (__int64)"Prune Backups", (__int64)__dst, (__int64)"Back", (__int64)"Prune", 0, 380.0, 0.0, 1.0); if ( SHIBYTE(v11) < 0 ) operator delete(__dst[0]); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v9 + 72LL))(v9, 1); (*(void (__fastcall **)(void *))(*(_QWORD *)v9 + 1312LL))(v9); if ( SHIBYTE(v19) < 0 ) { v8 = (void *)v18; goto LABEL_19; } return; } } else if ( v3 ) { goto LABEL_5; } sub_100009900(v14, "Nothing to prune"); sub_100009900(__p, ""); v7 = TextAlertPopup::create((__int64)v14, 150, (__int64)__p, 0.5, 0.6); (*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v7, 100); if ( v13 < 0 ) operator delete(__p[0]); if ( v15 < 0 ) { v8 = (void *)v14[0]; LABEL_19: operator delete(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source