//
// SecretLayer2::scene from 0x100496000 to 0x100496035 (53 bytes)
//
// 2 xrefs:
// > CreatorLayer::onSecretVault @ 0x100283ecf
// > GameManager::returnToLastScene @ 0x1003769fa
//
// This function is hookable on this platform (idp: pc, 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 12:30:48 +0000
//
_BYTE *__fastcall SecretLayer2::scene(__int64 a1, __int64 a2)
{
_BYTE *v2; // rbx
__int64 v3; // rax
v2 = cocos2d::CCScene::create();
*(_QWORD *)(AppDelegate::get(a1, a2) + 72) = v2;
v3 = SecretLayer2::create(a1);
(*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v2 + 456LL))(v2, v3);
return v2;
}