//
// sub_1004731F0 from 0x1004731f0 to 0x10047326b (123 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b45978
//
// 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:34 +0000
//
void __fastcall sub_1004731F0(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // rbx
__int64 v4; // rax
char *v5; // rax
if ( !*(_BYTE *)(a1 + 208) )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 128) + 1160LL))(*(_QWORD *)(a1 + 128), 0);
v2 = a1 - 336;
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1072LL))(v2, 0);
v3 = cocos2d::CCDirector::sharedDirector(v2, 0);
v4 = LevelAreaInnerLayer::scene(1, 0);
v5 = cocos2d::CCTransitionFade::create_1(v4, 0.5);
cocos2d::CCDirector::replaceScene(v3, v5);
*(_BYTE *)(a1 + 152) = 1;
}
}