//
// LevelInfoLayer::playStep4 from 0x1402fd310 to 0x1402fd3b8 (168 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::loadLevelStep @ 0x1402fd2cb
// > ??> @ 0x1406d4214
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=1
void LevelInfoLayer::playStep4(LevelInfoLayer *a1)
{
__int64 v2; // rax
struct cocos2d::CCTransitionFade *v3; // rbx
__int64 v4; // rcx
cocos2d::CCDirector *v5; // rax
void *v6; // [rsp+30h] [rbp+8h]
dword_1406C10B4 = clock();
v2 = qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v6 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00((__int64)v6);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v2 = qword_1406C2ED8;
}
*(_BYTE *)(v2 + 1076) = 0;
v3 = cocos2d::CCTransitionFade::create(0.5, a1->m_playScene);
v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);
cocos2d::CCDirector::replaceScene(v5, v3);
cocos2d::CCObject::release(a1->m_playScene);
a1->m_playScene = nullptr;
}