//
// SecretLayer2::scene from 0x61a7a0 to 0x61a7c2 (34 bytes)
//
// 3 xrefs:
// > GameManager::returnToLastScene @ 0x4169ea
// > CreatorLayer::onSecretVault @ 0x493da6
// > SecretLayer3::onBack @ 0x61ae78
//
// 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:54:59 +0000
//
AppDelegate *__fastcall SecretLayer2::scene(SecretLayer2 *this)
{
AppDelegate *v1; // r4
SecretLayer2 *v2; // r0
cocos2d::CCLayer *v3; // r0
v1 = (AppDelegate *)cocos2d::CCScene::create(this);
v2 = (SecretLayer2 *)AppDelegate::get(v1);
*((_DWORD *)v2 + 3) = v1;
v3 = SecretLayer2::create(v2);
(*(void (__fastcall **)(AppDelegate *, cocos2d::CCLayer *))(*(_DWORD *)v1 + 228))(v1, v3);
return v1;
}