// // MenuLayer::scene from 0x140333900 to 0x140333a85 (389 bytes) // // 14 xrefs: // > CreatorLayer::onBack @ 0x14009f80f // > CreatorLayer::keyBackClicked @ 0x14009f9d3 // > GameManager::returnToLastScene @ 0x14018a290 // > GameManager::returnToLastScene @ 0x14018a29f // > GameManager::safePopScene @ 0x14018a37f // > GameManager::reloadMenu @ 0x14018a3e8 // > GameManager::reloadAllStep5 @ 0x14018a7e8 // > GJGarageLayer::onBack @ 0x1402790a2 // > LevelSelectLayer::onBack @ 0x140319a43 // > LevelSelectLayer::keyBackClicked @ 0x140319a9a // > LoadingLayer::loadAssets @ 0x14032f7a8 // > LoadingLayer::loadAssets @ 0x14032f7c9 // > SecretLayer::onBack @ 0x1403e1eeb // > @ 0x1406d50f0 // // 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 // // local variable allocation has failed, the output may be wrong! // Hidden C++ exception states: #wind=1 cocos2d::CCScene *MenuLayer::scene(bool a1) { float v1; // xmm3_4 cocos2d::CCScene *v3; // rsi __int64 v4; // rdx __int64 v5; // rcx MenuLayer *v6; // rdi __int64 v7; // rbx struct cocos2d::CCDelayTime *v8; // rax struct cocos2d::CCSequence *v9; // rax cocos2d::ccColor3B *v10; // r8 float v12; // [rsp+20h] [rbp-8h] v3 = (cocos2d::CCScene *)cocos2d::CCScene::create(a1); v3->m_eObjType = MenuLayerObjectType; *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v5, v4) + 224) = v3; v6 = (MenuLayer *)operator new(0x1E0u); cocos2d::CCLayer::CCLayer(v6); v6->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (MenuLayer_vtbl *)&MenuLayer::`vftable'; v6->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&MenuLayer::`vftable'; v6->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&MenuLayer::`vftable'; v6->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&MenuLayer::`vftable'; v6->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&MenuLayer::`vftable'; v6->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&MenuLayer::`vftable'; v6->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&MenuLayer::`vftable'; v6->GooglePlayDelegate::__vftable = (GooglePlayDelegate_vtbl *)&MenuLayer::`vftable'; v6->m_showingTOS = 0; v6->m_gpSprite = nullptr; v6->m_viewProfileSprite = nullptr; v6->m_profileLabel = nullptr; v6->m_profileButton = nullptr; v6->m_unknown = nullptr; if ( MenuLayer::init(v6) ) { cocos2d::CCObject::autorelease(v6); } else { ((void (__fastcall *)(MenuLayer *, __int64))v6->~MenuLayer)(v6, 1); v6 = nullptr; } v3->addChild_1(v3, v6); if ( a1 ) { v7 = cocos2d::CCCallFunc::create(v6, MenuLayer::onOptionsInstant); v8 = cocos2d::CCDelayTime::create(0.0); v9 = cocos2d::CCSequence::create(v8, v7, 0); cocos2d::CCNode::runAction((CCLightFlash *)v6, (cocos2d::CCPoint)v9, v10, v1, v12); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source