// // MenuLayer::onCreator from 0x140474f00 to 0x140474f90 (144 bytes) // // 3 xrefs: // > MenuLayer::keyDown @ 0x140475575 // > MenuLayer::init @ 0x140472553 // > @ 0x1409282f8 // // 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:40 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall MenuLayer::onCreator(__int64 a1) { __int64 v1; // rax struct cocos2d::CCScene *v2; // rax struct cocos2d::CCScene *v3; // rbx __int64 v4; // rcx cocos2d::CCDirector *v5; // rax void *v6; // [rsp+30h] [rbp+8h] if ( !*(_BYTE *)(a1 + 432) ) { MenuLayer::willClose(a1); v1 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v6 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v1 = qword_14090BFD0; } *(_BYTE *)(v1 + 960) = 1; v2 = (struct cocos2d::CCScene *)CreatorLayer::scene(); v3 = cocos2d::CCTransitionFade::create(0.5, v2); v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::replaceScene(v5, v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source