// // LevelInfoLayer::onLevelOptions from 0x49aef8 to 0x49af5a (98 bytes) // // 0 xrefs: // // 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:45 +0000 // int __fastcall LevelInfoLayer::onLevelOptions(int this, cocos2d::CCObject *a2) { int v2; // r6 int v3; // r1 int v4; // r4 GJGameLevel *v5; // r1 int v6; // r0 int v7[3]; // [sp+0h] [bp-14h] BYREF v2 = this; if ( !*(_BYTE *)(this + 356) ) { v3 = *(_DWORD *)(this + 364); if ( *(_DWORD *)(v3 + 952) != 4 ) { std::string::basic_string(v7, v3 + 304); if ( (v7[0] & 1) != 0 ) v4 = v7[1]; else v4 = (int)LOBYTE(v7[0]) >> 1; this = std::string::~string((int)v7); if ( v4 ) { v6 = GameLevelOptionsLayer::create(*(GameLevelOptionsLayer **)(v2 + 364), v5); return (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 656))(v6); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source