// // MenuLayer::scene from 0x6ec914 to 0x6eca70 (348 bytes) // // 15 xrefs: // > LoadingLayer::loadingFinished @ 0x6ecb90 // > LoadingLayer::loadingFinished @ 0x6ecbb4 // > GameManager::reloadMenu @ 0x7147d8 // > GameManager::reloadAllStep5 @ 0x7148e0 // > GameManager::safePopScene @ 0x717f8c // > GameManager::returnToLastScene @ 0x71e380 // > GameManager::returnToLastScene @ 0x71e5b8 // > CreatorLayer::onBack @ 0x7db824 // > GJGarageLayer::onBack @ 0x8b9840 // > LevelSelectLayer::onBack @ 0x8c3bd0 // > VideoOptionsLayer::reloadMenu @ 0x8ef514 // > SecretLayer::onBack @ 0xa5e3a0 // > WorldSelectLayer::onBack @ 0xaa5adc // > SecretLayer6::onBack @ 0xbc34c8 // > @ 0xc0010 // // 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:46 +0000 // _DWORD *__fastcall MenuLayer::scene(MenuLayer *this) { int v1; // w21 _DWORD *v2; // x20 __int64 v3; // x19 cocos2d::CCDelayTime *v4; // x0 cocos2d::CCSequence *v5; // x21 cocos2d::CCFiniteTimeAction *v6; // x0 cocos2d::CCAction *v7; // x0 __int64 v9; // x1 __int64 v10; // x0 v1 = (unsigned __int8)this; v2 = (_DWORD *)cocos2d::CCScene::create(this); v2[7] = (unsigned int)&byte_9[6]; *(_QWORD *)(AppDelegate::get((AppDelegate *)&byte_9[6]) + 24) = v2; v3 = operator new(0x200u); cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v3); *(_BYTE *)(v3 + 432) = 0; *(_QWORD *)v3 = &off_1426B60; *(_QWORD *)(v3 + 320) = off_1427008; *(_QWORD *)(v3 + 328) = &off_1427078; *(_QWORD *)(v3 + 336) = off_1427090; *(_QWORD *)(v3 + 344) = off_14270B0; *(_QWORD *)(v3 + 352) = off_14270D8; *(_QWORD *)(v3 + 408) = &off_1427108; *(_QWORD *)(v3 + 416) = &off_1427120; *(_QWORD *)(v3 + 424) = &off_1427138; *(_QWORD *)(v3 + 440) = 0; *(_QWORD *)(v3 + 448) = 0; *(_QWORD *)(v3 + 456) = 0; *(_QWORD *)(v3 + 464) = 0; *(_QWORD *)(v3 + 472) = 0; *(_QWORD *)(v3 + 480) = 0; *(_QWORD *)(v3 + 488) = 0; *(_QWORD *)(v3 + 496) = 0; if ( (unsigned __int8)MenuLayer::init((cocos2d::CCLabelBMFont **)v3) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3); } else { v9 = *(_QWORD *)v3; v10 = v3; v3 = 0; (*(void (__fastcall **)(__int64))(v9 + 16))(v10); } v4 = (cocos2d::CCDelayTime *)(*(__int64 (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)v2 + 456LL))(v2, v3); if ( v1 ) { v5 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v4, 0.0); v6 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(v3, MenuLayer::onOptionsInstant, 0); v7 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v5, v6, 0); cocos2d::CCNode::runAction((cocos2d::CCNode *)v3, v7); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source