// // MenuLayer::scene from 0x3f9614 to 0x3f9716 (258 bytes) // // 14 xrefs: // > LoadingLayer::loadingFinished @ 0x3fafd6 // > LoadingLayer::loadingFinished @ 0x3fafe8 // > GameManager::reloadMenu @ 0x412f92 // > GameManager::reloadAllStep5 @ 0x41305c // > GameManager::safePopScene @ 0x414e92 // > GameManager::returnToLastScene @ 0x416aa8 // > GameManager::returnToLastScene @ 0x416acc // > CreatorLayer::onBack @ 0x49369a // > GJGarageLayer::onBack @ 0x50aed8 // > LevelSelectLayer::onBack @ 0x51176a // > VideoOptionsLayer::reloadMenu @ 0x52d2be // > SecretLayer::onBack @ 0x5fc97a // > WorldSelectLayer::onBack @ 0x62ca7e // > SecretLayer6::onBack @ 0x6e2800 // // 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 // AppDelegate *__fastcall MenuLayer::scene(MenuLayer *this, bool a2, int a3) { AppDelegate *v4; // r0 AppDelegate *v5; // r6 int v6; // r4 cocos2d::CCNode *v7; // r5 float v8; // r1 cocos2d::CCSequence *v9; // r7 cocos2d::CCFiniteTimeAction *v10; // r0 int v11; // r3 cocos2d::CCAction *v12; // r0 v4 = (AppDelegate *)cocos2d::CCScene::create(this); *((_DWORD *)v4 + 6) = 15; v5 = v4; *(_DWORD *)(AppDelegate::get(v4) + 12) = v4; v6 = operator new(0x170u); cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v6); *(_DWORD *)v6 = &off_C8D018; *(_DWORD *)(v6 + 264) = &off_C8D26C; *(_DWORD *)(v6 + 268) = &off_C8D2A4; *(_DWORD *)(v6 + 272) = &off_C8D2B0; *(_DWORD *)(v6 + 276) = &off_C8D2C0; *(_DWORD *)(v6 + 280) = &off_C8D2D4; *(_DWORD *)(v6 + 316) = &off_C8D2EC; *(_DWORD *)(v6 + 320) = &off_C8D2F8; *(_DWORD *)(v6 + 324) = &off_C8D304; *(_BYTE *)(v6 + 328) = 0; *(_DWORD *)(v6 + 332) = 0; *(_DWORD *)(v6 + 336) = 0; *(_DWORD *)(v6 + 340) = 0; *(_DWORD *)(v6 + 344) = 0; *(_DWORD *)(v6 + 348) = 0; *(_DWORD *)(v6 + 352) = 0; *(_DWORD *)(v6 + 356) = 0; *(_DWORD *)(v6 + 360) = 0; v7 = (cocos2d::CCNode *)MenuLayer::init((MenuLayer *)v6); if ( v7 ) { v7 = (cocos2d::CCNode *)v6; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6); } else { (*(void (__fastcall **)(int))(*(_DWORD *)v6 + 8))(v6); } (*(void (__fastcall **)(AppDelegate *, cocos2d::CCNode *))(*(_DWORD *)v5 + 228))(v5, v7); if ( this ) { v9 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(nullptr, v8); v10 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v7, MenuLayer::onOptionsInstant, 0); v12 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v9, v10, 0, v11, MenuLayer::onOptionsInstant, 0, a3); cocos2d::CCNode::runAction(v7, v12); } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source