//
// CreatorLayer::scene from 0x493784 to 0x4937b2 (46 bytes)
//
// 8 xrefs:
// > MenuLayer::onCreator @ 0x3f9ab0
// > GameManager::returnToLastScene @ 0x416974
// > GameManager::returnToLastScene @ 0x416a22
// > GauntletSelectLayer::onBack @ 0x60a17e
// > SecretLayer2::onBack @ 0x61a43a
// > MapSelectLayer::onBack @ 0x63ee34
// > MultiplayerLayer::onBack @ 0x65ceea
// > SecretRewardsLayer::onBack @ 0x6caa40
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:39 +0000
//
AppDelegate *__fastcall CreatorLayer::scene(CreatorLayer *this)
{
AppDelegate *v1; // r5
CreatorLayer *v2; // r0
cocos2d::CCLayer *v3; // r4
v1 = (AppDelegate *)cocos2d::CCScene::create(this);
v2 = (CreatorLayer *)AppDelegate::get(v1);
*((_DWORD *)v2 + 3) = v1;
v3 = CreatorLayer::create(v2);
(*(void (__fastcall **)(AppDelegate *, cocos2d::CCLayer *))(*(_DWORD *)v1 + 228))(v1, v3);
if ( v3 )
v3 = (cocos2d::CCLayer *)((char *)v3 + 316);
*((_DWORD *)v1 + 66) = v3;
return v1;
}