//
// sub_1002A65BC from 0x1002a65bc to 0x1002a6620 (100 bytes)
//
// 1 xrefs:
// > sub_100274E18 @ 0x100274e3c
//
// 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 11:02:15 +0000
//
__int64 __fastcall sub_1002A65BC(__int64 a1)
{
int v2; // w21
__int64 v3; // x19
__int64 v4; // x0
_DWORD *v5; // x0
char *v6; // x1
v2 = *(unsigned __int8 *)(a1 + 416);
v3 = cocos2d::CCDirector::sharedDirector();
v4 = *(_QWORD *)(a1 + 408);
if ( v2 == 1 )
v5 = (_DWORD *)LevelEditorLayer::scene(v4, 0);
else
v5 = PlayLayer::scene(v4, 0);
v6 = cocos2d::CCTransitionFade::create_1((__int64)v5, 0.4);
return cocos2d::CCDirector::replaceScene(v3, v6);
}