//
// LevelAreaInnerLayer::onBack from 0x1403e19e0 to 0x1403e1a3c (92 bytes)
//
// 4 xrefs:
// > LevelAreaInnerLayer::init @ 0x1403df8f0
// > ??> @ 0x1408c46e8
// > ??> @ 0x1408c46f8
// > ??> @ 0x140924e30
//
// 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 11:31:41 +0000
//
void __fastcall LevelAreaInnerLayer::onBack(_BYTE *a1)
{
__int64 v1; // rdx
__int64 v2; // rcx
__int64 v3; // r8
__int64 v4; // r9
struct cocos2d::CCScene *v5; // rax
struct cocos2d::CCScene *v6; // rbx
__int64 v7; // rcx
cocos2d::CCDirector *v8; // rax
if ( !a1[424] )
{
(*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0);
v5 = (struct cocos2d::CCScene *)LevelAreaLayer::scene(v2, v1, v3, v4);
v6 = cocos2d::CCTransitionFade::create(0.5, v5);
v8 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v7);
cocos2d::CCDirector::replaceScene(v8, v6);
}
}