//
// GameManager::reloadAllStep5 from 0x5e80dc to 0x5e8138 (92 bytes)
//
// 3 xrefs:
// > ??> @ 0x507c0
// > GameManager::reloadAllStep4 @ 0x5e7eec
// > ??> @ 0x122a968
//
// 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 GameManager::reloadAllStep5(GameManager *a1)
{
cocos2d::CCDirector *v1; // x19
cocos2d::CCScene *v2; // x1
if ( a1->m_reloadTextures )
{
v1 = cocos2d::CCDirector::sharedDirector();
v2 = LoadingLayer::scene((bool)&dword_0 + 1);
}
else
{
v1 = cocos2d::CCDirector::sharedDirector();
v2 = MenuLayer::scene((bool)&dword_0 + 1);
}
cocos2d::CCDirector::replaceScene(v1, v2);
}