// // MenuLayer::onPlay from 0x10026777c to 0x1002677d0 (84 bytes) // // 2 xrefs: // > MenuLayer::keyDown @ 0x1002682f8 // > MenuLayer::init @ 0x100266628 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall MenuLayer::onPlay(MenuLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCDirector *v2; // x19 cocos2d::CCScene *v3; // x0 cocos2d::CCTransitionFade *v4; // x1 if ( !a1->m_showingTOS ) { MenuLayer::willClose(a1); GameManager::sharedState()->m_sceneEnum = 8; v2 = cocos2d::CCDirector::sharedDirector(); v3 = LevelSelectLayer::scene(0); v4 = cocos2d::CCTransitionFade::create_1(0.5, v3); cocos2d::CCDirector::replaceScene(v2, v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source