// // sub_1004AA4A0 from 0x1004aa4a0 to 0x1004aa624 (388 bytes) // // 3 xrefs: // > ClearPlatformerSavesPopup::init @ 0x1004aa2cc // > sub_1004AA368 @ 0x1004aa374 // > ClearPlatformerSavesPopup::FLAlert_Clicked @ 0x1004aa7f0 // // 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:06:07 +0000 // __int64 __fastcall sub_1004AA4A0(__int64 a1) { __int64 v2; // x0 int v3; // w20 const char *v4; // x21 void **v5; // x8 void *v6; // x0 __int64 CString; // x20 __int64 v8; // x0 __int64 v9; // x20 void **v10; // x8 void *v11; // x0 __int64 v12; // x0 __int64 v14; // [xsp+18h] [xbp-68h] BYREF int v15; // [xsp+24h] [xbp-5Ch] BYREF void *__p[2]; // [xsp+28h] [xbp-58h] BYREF char v17; // [xsp+3Fh] [xbp-41h] __int64 v18; // [xsp+40h] [xbp-40h] BYREF int v19; // [xsp+4Ch] [xbp-34h] BYREF v19 = 0; v18 = 0; v2 = GameLevelManager::sharedState(); sub_1000AEBC0(v2, *(unsigned __int8 *)(a1 + 672), &v19, &v18); v3 = v19; if ( v19 == 1 ) v4 = ""; else v4 = "s"; sub_1004AA644(__p, v18); if ( v17 >= 0 ) v5 = __p; else v5 = (void **)__p[0]; v6 = sub_1003065B0("%i save%s - %s", v3, v4, (const char *)v5); CString = cocos2d::CCString::getCString((__int64)v6); if ( v17 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 688) + 928LL))(*(_QWORD *)(a1 + 688), CString); cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 688), 280.0, 0.6, 0.3); v15 = 0; v14 = 0; v8 = GameLevelManager::sharedState(); sub_1000AEBC0(v8, 2, &v15, &v14); v9 = *(_QWORD *)(a1 + 696); sub_1004AA644(__p, v14); if ( v17 >= 0 ) v10 = __p; else v10 = (void **)__p[0]; v11 = sub_1003065B0("Favorites: %s", (const char *)v10); v12 = cocos2d::CCString::getCString((__int64)v11); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 928LL))(v9, v12); if ( v17 < 0 ) operator delete(__p[0]); return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 696), 280.0, 0.4, 0.3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source