//
// sub_1004F16D4 from 0x1004f16d4 to 0x1004f1728 (84 bytes)
//
// 2 xrefs:
// > sub_1004F1728 @ 0x1004f1748
// > sub_10051CC94 @ 0x10051cd8c
//
// 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:06:45 +0000
//
bool __fastcall sub_1004F16D4(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
_BOOL8 result; // x0
__int64 v5; // [xsp+8h] [xbp-18h] BYREF
*(_DWORD *)(a1 + 56) = 1;
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v2, &v5);
*(_QWORD *)(a1 + 60) = v5;
v3 = GameManager::sharedState();
result = GameManager::getGameVariable(v3, "0113");
*(_DWORD *)(a1 + 68) = result;
return result;
}