// // LevelInfoLayer::onLevelOptions from 0x140424530 to 0x1404245d3 (163 bytes) // // 2 xrefs: // > LevelInfoLayer::init @ 0x14041e2c0 // > @ 0x140926948 // // 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 11:32:10 +0000 // void __fastcall LevelInfoLayer::onLevelOptions(__int64 a1) { char v1; // al __int64 v3; // rdx bool v4; // bl cocos2d::CCObject *v5; // rax _BYTE v6[16]; // [rsp+28h] [rbp-30h] BYREF __int64 v7; // [rsp+38h] [rbp-20h] v1 = 0; v4 = true; if ( !*(_BYTE *)(a1 + 488) ) { v3 = *(_QWORD *)(a1 + 504); if ( *(_DWORD *)(v3 + 1220) != 4 ) { sub_14003F4F0((__int64)v6, v3 + 408); v1 = 3; if ( v7 ) v4 = false; } } if ( (v1 & 1) != 0 ) sub_14003D310((__int64)v6); if ( !v4 ) { v5 = GameLevelOptionsLayer::create(*(cocos2d::CCObject **)(a1 + 504)); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v5 + 1064LL))(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source