//
// sub_1008F70F0 from 0x1008f70f0 to 0x1008f7154 (100 bytes)
//
// 0 xrefs:
//
// 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:37:58 +0000
//
bool __fastcall sub_1008F70F0(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 v3; // rax
if ( !*(_QWORD *)(a1 + 1088) )
return 0;
if ( !GJAccountManager::sharedState(a1, a2) )
return 0;
v2 = GJAccountManager::sharedState(a1, a2);
if ( *(_DWORD *)(v2 + 352) <= *(_DWORD *)(v2 + 356) )
return 0;
v3 = GJAccountManager::sharedState(a1, a2);
return *(_DWORD *)(v3 + 352) - *(_DWORD *)(v3 + 356) == *(_DWORD *)(*(_QWORD *)(a1 + 1088) + 340LL);
}