// // LevelOptionsLayer2::init from 0x10025bd20 to 0x10025be26 (262 bytes) // // 1 xrefs: // > sub_10025B9C0 @ 0x10025bad4 // // This function is hookable on this platform (idp: pc, 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:27:28 +0000 // __int64 __fastcall LevelOptionsLayer2::init(__int64 a1, __int64 a2) { __int64 result; // rax unsigned int v3; // r12d __int64 v4; // rax __int64 v5; // r14 _BYTE v6[8]; // [rsp+0h] [rbp-30h] BYREF float v7[10]; // [rsp+8h] [rbp-28h] BYREF *(_DWORD *)(a1 + 1012) = 1109393408; *(_DWORD *)(a1 + 1032) = 1053609165; *(_QWORD *)(a1 + 1120) = a2; result = GJOptionsLayer::init(a1, 1, 280.0); if ( (_BYTE)result ) { v3 = result; SetupTriggerPopup::preSetup((_BYTE *)a1); SetupTriggerPopup::postSetup((_BYTE *)a1); v4 = cocos2d::CCDirector::sharedDirector(a1, 1); cocos2d::CCDirector::getWinSize(v7, v4); v5 = cocos2d::CCLabelBMFont::create_3("Legacy Options", "goldFont.fnt"); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 160LL))(v5, 0.69999999); sub_100278250(v6, v7[0] * 0.5, (float)((float)(0.5 * *(float *)(a1 + 736)) + (float)(v7[1] * 0.5)) + -20.0); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 184LL))(v5, v6); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v5, 1); return v3; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source