//
// GameManager::reloadAllStep5 from 0x10031db94 to 0x10031dbd8 (68 bytes)
//
// 1 xrefs:
// > GameManager::reloadAllStep4 @ 0x10031db50
//
// 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 __fastcall GameManager::reloadAllStep5(GameManager *a1)
{
_BOOL4 m_reloadTextures; // w20
cocos2d::CCDirector *v2; // x19
cocos2d::CCScene *v3; // x0
m_reloadTextures = a1->m_reloadTextures;
v2 = cocos2d::CCDirector::sharedDirector();
if ( m_reloadTextures )
v3 = LoadingLayer::scene(1);
else
v3 = MenuLayer::scene(1);
cocos2d::CCDirector::replaceScene(v2, v3);
}