// // GameLevelManager::getPlatformerSaveStats from 0x4ab660 to 0x4ab6f6 (150 bytes) // // 2 xrefs: // > ClearPlatformerSavesPopup::updateStats @ 0x7618e4 // > ClearPlatformerSavesPopup::updateStats @ 0x76195a // // 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:49:58 +0000 // unsigned int __fastcall GameLevelManager::getPlatformerSaveStats( GameLevelManager *this, int a2, int *a3, unsigned int *a4) { unsigned int v4; // r4 GameLevelManager *v5; // r0 int *v6; // r7 LocalLevelManager *v7; // r0 unsigned int result; // r0 cocos2d::CCArray *v9; // r6 GJGameLevel *v10; // r0 int v11; // [sp+4h] [bp-1Ch] BYREF _DWORD *v12; // [sp+8h] [bp-18h] BYREF _DWORD v13[2]; // [sp+Ch] [bp-14h] BYREF _DWORD v14[3]; // [sp+14h] [bp-Ch] BYREF v4 = 0; v13[0] = a3; v11 = a2; v13[1] = a4; v5 = (GameLevelManager *)_stack_chk_guard; *a3 = 0; *a4 = 0; v12 = v14; v14[0] = &v11; v14[2] = v5; v14[1] = v13; v6 = (int *)GameLevelManager::sharedState(v5); sub_4AB62C((int)&v12, v6[136]); sub_4AB62C((int)&v12, v6[147]); sub_4AB62C((int)&v12, v6[168]); v7 = (LocalLevelManager *)sub_4AB62C((int)&v12, v6[134]); result = LocalLevelManager::sharedState(v7); v9 = *(cocos2d::CCArray **)(result + 284); if ( v9 ) { while ( 1 ) { result = cocos2d::CCArray::count(v9); if ( v4 >= result ) break; v10 = (GJGameLevel *)cocos2d::CCArray::objectAtIndex(v9, v4++); sub_4AB5B0((int)v14, v10); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source