//
// LevelAreaInnerLayer::keyBackClicked from 0x1403e1a90 to 0x1403e1af3 (99 bytes)
//
// 5 xrefs:
// > ??> @ 0x140788918
// > ??> @ 0x1408c470c
// > ??> @ 0x1408c471c
// > ??> @ 0x140924e54
// > ??> @ 0x140924e60
//
// 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::keyBackClicked(__int64 a1)
{
_BYTE *v1; // rcx
__int64 v2; // rdx
__int64 v3; // rcx
__int64 v4; // r8
__int64 v5; // r9
struct cocos2d::CCScene *v6; // rax
struct cocos2d::CCScene *v7; // rbx
__int64 v8; // rcx
cocos2d::CCDirector *v9; // rax
v1 = (_BYTE *)(a1 - 336);
if ( !v1[424] )
{
(*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)v1 + 992LL))(v1, 0);
v6 = (struct cocos2d::CCScene *)LevelAreaLayer::scene(v3, v2, v4, v5);
v7 = cocos2d::CCTransitionFade::create(0.5, v6);
v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8);
cocos2d::CCDirector::replaceScene(v9, v7);
}
}