// // MenuLayer::onPlay from 0x6eaf84 to 0x6eafe0 (92 bytes) // // 4 xrefs: // > MenuLayer::keyDown @ 0x6ecac8 // > @ 0xd70e0 // > MenuLayer::init @ 0x6eb5c4 // > @ 0x15466a0 // // 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 12:51:45 +0000 // MenuLayer *__fastcall MenuLayer::onPlay(MenuLayer *this, cocos2d::CCObject *a2) { GameManager *v2; // x0 cocos2d::CCDirector *v3; // x0 cocos2d::CCDirector *v4; // x19 int v5; // w1 cocos2d::CCTransitionFade *v6; // x0 cocos2d::CCScene *v7; // x1 cocos2d::CCScene *v8; // x0 if ( !*((_BYTE *)this + 432) ) { v2 = (GameManager *)MenuLayer::willClose(this); v3 = (cocos2d::CCDirector *)GameManager::sharedState(v2); *((_DWORD *)v3 + 177) = 8; v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3); v6 = (cocos2d::CCTransitionFade *)LevelSelectLayer::scene(nullptr, v5); v8 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v6, 0.5, v7); return (MenuLayer *)cocos2d::CCDirector::replaceScene(v4, v8); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source