//
// GameManager::reloadMenu from 0x140287770 to 0x1402877b0 (64 bytes)
//
// 2 xrefs:
// > GameManager::queueReloadMenu @ 0x14028771f
// > ??> @ 0x14091d15c
//
// This function is hookable on this platform (idp: pc, 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:29:02 +0000
//
bool __fastcall GameManager::reloadMenu(__int64 a1)
{
struct cocos2d::CCScene *v2; // rbx
__int64 v3; // rcx
cocos2d::CCDirector *v4; // rax
bool result; // al
v2 = (struct cocos2d::CCScene *)MenuLayer::scene(*(unsigned __int8 *)(a1 + 429));
v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3);
result = cocos2d::CCDirector::replaceScene(v4, v2);
*(_BYTE *)(a1 + 429) = 1;
return result;
}