//
// LevelInfoLayer::playStep4 from 0x7e5188 to 0x7e5204 (124 bytes)
//
// 3 xrefs:
// > ??> @ 0xc8860
// > LevelInfoLayer::loadLevelStep @ 0x7e5124
// > ??> @ 0x1545e00
//
// 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 12:54:28 +0000
//
__int64 __fastcall LevelInfoLayer::playStep4(cocos2d::CCTransitionFade **this)
{
cocos2d::CCDirector *v2; // x0
cocos2d::CCDirector *v3; // x20
cocos2d::CCScene *v4; // x1
cocos2d::CCScene *v5; // x0
__int64 result; // x0
dwTickEnd = clock();
dwDuration = dwTickEnd - dwTickStart;
v2 = (cocos2d::CCDirector *)GameManager::sharedState((GameManager *)(dwTickEnd - dwTickStart));
*((_BYTE *)v2 + 1136) = 0;
v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v2);
v5 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(*(this + 89), 0.5, v4);
cocos2d::CCDirector::replaceScene(v3, v5);
result = cocos2d::CCObject::release(*(this + 89));
*(this + 89) = nullptr;
return result;
}