// // MenuLayer::onGarage from 0x140474f90 to 0x140475020 (144 bytes) // // 4 xrefs: // > MenuLayer::keyDown @ 0x140475583 // > MenuLayer::init @ 0x1404723f9 // > @ 0x1409282f8 // > @ 0x140928304 // // 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 // void __fastcall MenuLayer::onGarage(__int64 a1) { __int64 v1; // rdx __int64 v2; // rcx __int64 v3; // r8 __int64 v4; // r9 __int64 v5; // rax struct cocos2d::CCScene *v6; // rax struct cocos2d::CCScene *v7; // rbx __int64 v8; // rcx cocos2d::CCDirector *v9; // rax void *v10; // [rsp+30h] [rbp+8h] if ( !*(_BYTE *)(a1 + 432) ) { MenuLayer::willClose(a1); v5 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v10 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v5 = qword_14090BFD0; } *(_BYTE *)(v5 + 959) = 1; v6 = (struct cocos2d::CCScene *)GJGarageLayer::scene(v2, v1, v3, v4); v7 = cocos2d::CCTransitionFade::create(0.5, v6); v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); cocos2d::CCDirector::replaceScene(v9, v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source