//
// GameManager::reloadAllStep5 from 0x1003bb844 to 0x1003bb888 (68 bytes)
//
// 1 xrefs:
// > GameManager::reloadAllStep4 @ 0x1003bb800
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:03:59 +0000
//
__int64 __fastcall GameManager::reloadAllStep5(__int64 a1)
{
int v1; // w20
__int64 v2; // x19
void *v3; // x0
v1 = *(unsigned __int8 *)(a1 + 420);
v2 = cocos2d::CCDirector::sharedDirector();
if ( v1 == 1 )
v3 = (void *)LoadingLayer::scene(1);
else
v3 = MenuLayer::scene(1);
return cocos2d::CCDirector::replaceScene(v2, v3);
}