// // LevelOptionsLayer2::init from 0xb63b88 to 0xb63c88 (256 bytes) // // 2 xrefs: // > LevelOptionsLayer2::create @ 0xb63edc // > @ 0x816b8 // // 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 13:02:13 +0000 // __int64 __fastcall LevelOptionsLayer2::init(LevelOptionsLayer2 *this, LevelSettingsObject *a2) { cocos2d::CCDirector *v3; // x0 unsigned int v4; // w20 cocos2d::CCDirector *v5; // x0 const char *v6; // x2 __int64 v7; // x21 void (__fastcall *v8)(__int64, _BYTE *); // x22 __int64 v10; // [xsp+58h] [xbp+58h] BYREF _BYTE v11[8]; // [xsp+60h] [xbp+60h] BYREF v3 = (cocos2d::CCDirector *)(unsigned __int8)LevelOptionsLayer::init(this, a2); v4 = (unsigned __int8)v3; if ( (_BYTE)v3 ) { v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3); cocos2d::CCDirector::getWinSize(&v10, v5); v7 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Legacy Options", "goldFont.fnt", v6); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v7 + 160LL))(v7, 0.7); v8 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v7 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v11, *(float *)&v10 * 0.5, (float)((float)(*((float *)this + 184) * 0.5) + (float)(*((float *)&v10 + 1) * 0.5)) - 20.0); v8(v7, v11); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v7, 1); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source