// // MenuLayer::onPlay from 0x3f9a5a to 0x3f9a94 (58 bytes) // // 1 xrefs: // > MenuLayer::keyDown @ 0x3faf2e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:47:19 +0000 // unsigned __int8 *__fastcall MenuLayer::onPlay(unsigned __int8 *this, cocos2d::CCObject *a2) { LevelSelectLayer *v2; // r4 GameManager *v3; // r0 cocos2d::CCDirector *v4; // r0 cocos2d::CCDirector *v5; // r5 int v6; // r1 float v7; // r0 cocos2d::CCScene *v8; // r2 cocos2d::CCScene *v9; // r1 v2 = (LevelSelectLayer *)*(this + 328); if ( !*(this + 328) ) { v3 = (GameManager *)MenuLayer::willClose((MenuLayer *)this); v4 = (cocos2d::CCDirector *)GameManager::sharedState(v3); *((_DWORD *)v4 + 127) = 8; v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4); v7 = COERCE_FLOAT(LevelSelectLayer::scene(v2, v6)); v9 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create((cocos2d::CCTransitionFade *)0x3F000000, v7, v8); return (unsigned __int8 *)cocos2d::CCDirector::replaceScene(v5, v9); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source