// // CreatorLayer::scene from 0x14009bfd0 to 0x14009c13d (365 bytes) // // 7 xrefs: // > GameManager::returnToLastScene @ 0x140189ff5 // > GameManager::returnToLastScene @ 0x14018a1c6 // > GauntletSelectLayer::onBack @ 0x1401fa71f // > MenuLayer::onCreator @ 0x140335d86 // > SecretRewardsLayer::onBack @ 0x1403d7dc0 // > SecretLayer2::onBack @ 0x1403e98bd // > @ 0x1406c7560 // // 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 // // Hidden C++ exception states: #wind=1 cocos2d::CCScene *CreatorLayer::scene() { cocos2d::CCScene *v0; // rsi __int64 v1; // rdx __int64 v2; // rcx CreatorLayer *v3; // rdi v0 = (cocos2d::CCScene *)cocos2d::CCScene::create(); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v2, v1) + 224) = v0; v3 = (CreatorLayer *)operator new(0x1C0u); cocos2d::CCLayer::CCLayer(v3); cocos2d::CCSceneTransitionDelegate::CCSceneTransitionDelegate(&v3->cocos2d::CCSceneTransitionDelegate); v3->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CreatorLayer_vtbl *)&CreatorLayer::`vftable'; v3->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&CreatorLayer::`vftable'; v3->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&CreatorLayer::`vftable'; v3->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&CreatorLayer::`vftable'; v3->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&CreatorLayer::`vftable'; v3->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&CreatorLayer::`vftable'; v3->cocos2d::CCSceneTransitionDelegate::__vftable = (cocos2d::CCSceneTransitionDelegate_vtbl *)&CreatorLayer::`vftable'; v3->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&CreatorLayer::`vftable'; v3->m_secretDoorSprite = nullptr; v3->m_questsSprite = nullptr; v3->m_vaultDialogIndex = -1; v3->m_versusDialogIndex = 0; if ( CreatorLayer::init(v3) ) { cocos2d::CCObject::autorelease(v3); v0->addChild_1(v0, v3); if ( v3 ) { v0->m_pDelegate = (cocos2d::CCSceneDelegate *)&v3->cocos2d::CCSceneTransitionDelegate; return v0; } } else { ((void (__fastcall *)(CreatorLayer *, __int64))v3->~CreatorLayer)(v3, 1); v0->addChild_1(v0, nullptr); } v0->m_pDelegate = nullptr; return v0; }