// // GameLevelManager::clearPlatformerSaves from 0x4cacb8 to 0x4cad4e (150 bytes) // // 1 xrefs: // > ClearPlatformerSavesPopup::FLAlert_Clicked @ 0x76236e // // 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:50:37 +0000 // int __fastcall GameLevelManager::clearPlatformerSaves(GameLevelManager *this, int a2) { unsigned int v2; // r4 int *v3; // r7 LocalLevelManager *v4; // r0 cocos2d::CCArray *v5; // r6 GJGameLevel *v7; // r0 int v8; // [sp+4h] [bp-1Ch] BYREF int v9; // [sp+8h] [bp-18h] BYREF int *v10; // [sp+Ch] [bp-14h] BYREF _DWORD *v11; // [sp+10h] [bp-10h] BYREF _DWORD v12[2]; // [sp+14h] [bp-Ch] BYREF v9 = a2; v2 = 0; v8 = 0; v11 = v12; v10 = &v8; v12[0] = &v9; v12[1] = &v10; v3 = (int *)GameLevelManager::sharedState(this); sub_4CAC84((int)&v11, v3[136]); sub_4CAC84((int)&v11, v3[147]); sub_4CAC84((int)&v11, v3[168]); v4 = (LocalLevelManager *)sub_4CAC84((int)&v11, v3[134]); v5 = *(cocos2d::CCArray **)(LocalLevelManager::sharedState(v4) + 284); if ( v5 ) { while ( v2 < cocos2d::CCArray::count(v5) ) { v7 = (GJGameLevel *)cocos2d::CCArray::objectAtIndex(v5, v2++); sub_4CAC34((int)v12, v7); } } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source