//
// LoadingLayer::loadingFinished from 0x30b652 to 0x30b684 (50 bytes)
//
// 1 xrefs:
// > LoadingLayer::loadAssets @ 0x30bb92
//
// 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; // r5
cocos2d::CCScene *v2; // r1
cocos2d::CCDirector *v3; // r0
cocos2d::CCDirector *v4; // r4
if ( a1->m_fromRefresh )
{
v4 = cocos2d::CCDirector::sharedDirector();
v2 = MenuLayer::scene((bool)&dword_0 + 1);
v3 = v4;
}
else
{
v1 = cocos2d::CCDirector::sharedDirector();
v2 = MenuLayer::scene(0);
v3 = v1;
}
cocos2d::CCDirector::replaceScene(v3, v2);
}