// // LevelInfoLayer::onLevelOptions from 0x7e7114 to 0x7e71f8 (228 bytes) // // 3 xrefs: // > @ 0xc4dc8 // > LevelInfoLayer::init @ 0x7ebd00 // > @ 0x1545c00 // // 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 12:54:29 +0000 // __int64 __fastcall LevelInfoLayer::onLevelOptions(LevelInfoLayer *this, cocos2d::CCObject *a2) { __int64 v3; // x0 char v4; // w1 __int64 v5; // x2 __int64 v6; // x0 GJGameLevel *v7; // x1 _BOOL4 v8; // w21 __int64 v9; // x0 __int64 v11; // [xsp+30h] [xbp+30h] BYREF GJGameLevel *v12; // [xsp+38h] [xbp+38h] void *v13; // [xsp+40h] [xbp+40h] if ( !*((_BYTE *)this + 488) ) { v3 = *((_QWORD *)this + 63); if ( *(_DWORD *)(v3 + 1140) != 4 ) { v4 = *(_BYTE *)(v3 + 392); v5 = v3 + 392; v11 = 0; v12 = nullptr; v13 = nullptr; if ( (v4 & 1) != 0 ) { std::string::__init(&v11, *(void **)(v3 + 408), *(_QWORD *)(v3 + 400)); } else { v6 = *(_QWORD *)v5; v7 = *(GJGameLevel **)(v5 + 8); v13 = *(void **)(v5 + 16); v11 = v6; v12 = v7; } if ( (v11 & 1) != 0 ) { v8 = v12 == nullptr; operator delete(v13); } else { v8 = (int)(unsigned __int8)v11 >> 1 == 0; } if ( !v8 ) { v9 = GameLevelOptionsLayer::create(*((GameLevelOptionsLayer **)this + 63), v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 1312LL))(v9); } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source