// // sub_4CAC34 from 0x4cac34 to 0x4cac84 (80 bytes) // // 2 xrefs: // > sub_4CAC84 @ 0x4cac9e // > GameLevelManager::clearPlatformerSaves @ 0x4cad42 // // 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 sub_4CAC34(int result, GJGameLevel *this) { int v2; // r5 int v4; // r3 int v5; // r3 int v6; // r3 _DWORD **v7; // r5 v2 = result; if ( this ) { result = GJGameLevel::isPlatformer(this); if ( result ) { v4 = **(_DWORD **)v2; if ( v4 ) { if ( v4 == 2 && !*((_BYTE *)this + 736) ) return result; } else if ( *((_BYTE *)this + 736) ) { return result; } v5 = *((unsigned __int8 *)this + 1148); if ( (v5 & 1) != 0 ) v6 = *((_DWORD *)this + 288); else v6 = v5 >> 1; if ( v6 ) { v7 = *(_DWORD ***)(v2 + 4); result = GJGameLevel::clearPlatformerSave(this); ++**v7; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source