//
// GameManager::reloadMenu from 0x412f84 to 0x412fa6 (34 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:38 +0000
//
int __fastcall GameManager::reloadMenu(GameManager *this)
{
cocos2d::CCDirector *v2; // r5
bool v3; // r1
int v4; // r2
AppDelegate *v5; // r0
int result; // r0
v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(this);
v5 = MenuLayer::scene((MenuLayer *)*((unsigned __int8 *)this + 317), v3, v4);
result = cocos2d::CCDirector::replaceScene(v2, v5);
*((_BYTE *)this + 317) = 1;
return result;
}