//
// SecretLayer2::scene from 0xa8a960 to 0xa8a9a4 (68 bytes)
//
// 4 xrefs:
// > GameManager::returnToLastScene @ 0x71e550
// > CreatorLayer::onSecretVault @ 0x7dc488
// > SecretLayer3::onBack @ 0xa8b178
// > ??> @ 0xcf148
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:00:37 +0000
//
AppDelegate *__fastcall SecretLayer2::scene(SecretLayer2 *this)
{
AppDelegate *v1; // x19
SecretLayer2 *v2; // x0
__int64 v3; // x0
v1 = (AppDelegate *)cocos2d::CCScene::create(this);
v2 = (SecretLayer2 *)AppDelegate::get(v1);
*((_QWORD *)v2 + 3) = v1;
v3 = SecretLayer2::create(v2);
(*(void (__fastcall **)(AppDelegate *, __int64))(*(_QWORD *)v1 + 456LL))(v1, v3);
return v1;
}