//
// CreatorLayer::scene from 0x3aafe8 to 0x3ab016 (46 bytes)
//
// 8 xrefs:
// > MenuLayer::onCreator @ 0x30a6e0
// > GameManager::returnToLastScene @ 0x3245f0
// > GameManager::returnToLastScene @ 0x32469e
// > GauntletSelectLayer::onBack @ 0x4d7086
// > SecretLayer2::onBack @ 0x4eb25c
// > MapSelectLayer::onBack @ 0x50dcd8
// > MultiplayerLayer::onBack @ 0x5290b2
// > SecretRewardsLayer::onBack @ 0x585710
//
// 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 *CreatorLayer::scene()
{
cocos2d::CCSceneDelegate_vtbl *v0; // r5
CreatorLayer *v1; // r4
v0 = (cocos2d::CCSceneDelegate_vtbl *)cocos2d::CCScene::create();
AppDelegate::get()->cocos2d::CCSceneDelegate::__vftable = v0;
v1 = CreatorLayer::create();
(*((void (__fastcall **)(cocos2d::CCSceneDelegate_vtbl *, CreatorLayer *))v0->willSwitchToScene + 55))(v0, v1);
if ( v1 )
v1 = (CreatorLayer *)((char *)v1 + 316);
v0[66].willSwitchToScene = (void (__fastcall *)(cocos2d::CCSceneDelegate *__hidden, cocos2d::CCScene *))v1;
return (cocos2d::CCScene *)v0;
}