//
// CreatorLayer::scene from 0x1000b4f70 to 0x1000b4fc8 (88 bytes)
//
// 6 xrefs:
// > GauntletSelectLayer::onBack @ 0x1001bf0e4
// > MenuLayer::onCreator @ 0x100267850
// > SecretRewardsLayer::onBack @ 0x1002e99e8
// > SecretLayer2::onBack @ 0x10030a734
// > GameManager::returnToLastScene @ 0x10031d628
// > GameManager::returnToLastScene @ 0x10031d7ac
//
// 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
//
cocos2d::CCScene *__fastcall CreatorLayer::scene()
{
cocos2d::CCScene *v0; // x19
CreatorLayer *v1; // x20
cocos2d::CCSceneDelegate *v2; // x8
v0 = cocos2d::CCScene::create();
AppDelegate::get()->m_resourceRootPath.m_data.m_long.longStorage = (char *)v0;
v1 = CreatorLayer::create();
((void (__fastcall *)(cocos2d::CCScene *, CreatorLayer *))v0->addChild)(v0, v1);
v2 = (cocos2d::CCSceneDelegate *)&v1->cocos2d::CCSceneTransitionDelegate;
if ( !v1 )
v2 = nullptr;
v0->m_pDelegate = v2;
return v0;
}