//
// GameManager::reloadAllStep5 from 0x14018a7d0 to 0x14018a808 (56 bytes)
//
// 2 xrefs:
// > GameManager::reloadAllStep4 @ 0x14018a778
// > ??> @ 0x1406cb730
//
// 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::CCScene *v1; // rax
__int64 v2; // rcx
struct cocos2d::CCScene *v3; // rbx
cocos2d::CCDirector *v4; // rax
if ( a1->m_reloadTextures )
v1 = LoadingLayer::scene(1);
else
v1 = MenuLayer::scene(1);
v3 = v1;
v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v2);
cocos2d::CCDirector::replaceScene(v4, v3);
}