//
// LoadingLayer::loadingFinished from 0x5c4434 to 0x5c4490 (92 bytes)
//
// 2 xrefs:
// > LoadingLayer::loadAssets @ 0x5c49b4
// > ??> @ 0xa8ab0
//
// 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
//
void LoadingLayer::loadingFinished(LoadingLayer *a1)
{
cocos2d::CCDirector *v1; // x19
cocos2d::CCScene *v2; // x1
if ( a1->m_fromRefresh )
{
v1 = cocos2d::CCDirector::sharedDirector();
v2 = MenuLayer::scene((bool)&dword_0 + 1);
}
else
{
v1 = cocos2d::CCDirector::sharedDirector();
v2 = MenuLayer::scene(0);
}
cocos2d::CCDirector::replaceScene(v1, v2);
}