//
// sub_1001181C4 from 0x1001181c4 to 0x10011822c (104 bytes)
//
// 2 xrefs:
// > sub_100117FD0 @ 0x100118044
// > sub_100118CCC @ 0x100118d30
//
// 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 10:59:11 +0000
//
bool __fastcall sub_1001181C4(__int64 a1)
{
__int64 v1; // x0
__int64 IntGameVariable; // x0
int v3; // w19
__int64 v4; // x0
__int64 v5; // x0
v1 = GameManager::sharedState(a1);
IntGameVariable = GameManager::getIntGameVariable(v1, "0244");
if ( (int)IntGameVariable < 1 )
return 0;
v3 = IntGameVariable;
v4 = GJAccountManager::sharedState(IntGameVariable);
if ( *(_DWORD *)(v4 + 352) <= *(_DWORD *)(v4 + 356) )
return 0;
v5 = GJAccountManager::sharedState(v4);
return v3 != *(_DWORD *)(v5 + 352) - *(_DWORD *)(v5 + 356);
}