//
// SecretLayer5::onBack from 0x10046fd40 to 0x10046fdaf (111 bytes)
//
// 1 xrefs:
// > SecretLayer5::init @ 0x10046f01a
//
// 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:33 +0000
//
void __fastcall SecretLayer5::onBack(__int64 a1)
{
__int64 v1; // r14
__int64 v2; // rax
char *v3; // rax
if ( !*(_BYTE *)(a1 + 544) )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 464) + 1160LL))(*(_QWORD *)(a1 + 464), 0);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);
v1 = cocos2d::CCDirector::sharedDirector(a1, 0);
v2 = LevelAreaInnerLayer::scene(1, 0);
v3 = cocos2d::CCTransitionFade::create_1(v2, 0.5);
cocos2d::CCDirector::replaceScene(v1, v3);
*(_BYTE *)(a1 + 488) = 1;
}
}