// // LevelOptionsLayer2::init from 0x10020f454 to 0x10020f520 (204 bytes) // // 1 xrefs: // > LevelOptionsLayer2::create @ 0x10020f20c // // 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 11:01:02 +0000 // __int64 __fastcall LevelOptionsLayer2::init(__int64 a1, __int64 a2) { __int64 v3; // x19 __int64 v4; // x0 __int64 v5; // x21 float v7; // [xsp+0h] [xbp-30h] BYREF __int64 v8; // [xsp+8h] [xbp-28h] BYREF v3 = LevelOptionsLayer::init(a1, a2); if ( (_DWORD)v3 ) { v4 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v4, &v8); v5 = cocos2d::CCLabelBMFont::create_1("Legacy Options", "goldFont.fnt"); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 160LL))(v5, 0.7); sub_1000262BC( &v7, *(float *)&v8 * 0.5, (float)((float)(*((float *)&v8 + 1) * 0.5) + (float)(*(float *)(a1 + 736) * 0.5)) + -20.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v5 + 184LL))(v5, &v7); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v5, 1); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source