//
// sub_1009244F0 from 0x1009244f0 to 0x10092453c (76 bytes)
//
// 1 xrefs:
// > sub_10095F460 @ 0x10095f5a2
//
// 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 12:38:18 +0000
//
__int64 __fastcall sub_1009244F0(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rax
__int64 v3; // rax
__int64 result; // rax
__int64 v5; // [rsp+0h] [rbp-10h] BYREF
v5 = v1;
*(_DWORD *)(a1 + 56) = 1;
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(&v5, v2);
*(_QWORD *)(a1 + 60) = v5;
v3 = GameManager::sharedState();
result = (unsigned __int8)GameManager::getGameVariable(v3, "0113");
*(_DWORD *)(a1 + 68) = (unsigned __int8)result;
return result;
}