//
// sub_10026DFE0 from 0x10026dfe0 to 0x10026e05f (127 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:27:36 +0000
//
__int64 __fastcall sub_10026DFE0(__int64 a1, __int64 a2)
{
__int64 v2; // rcx
__int64 v3; // rax
__int64 v4; // rdx
unsigned __int8 v5; // al
double v7; // xmm0_8
__int64 v8; // rax
v2 = *(_QWORD *)(a1 + 664);
if ( *(_BYTE *)(v2 + 616)
|| (v3 = GJAccountManager::sharedState(a1, a2),
v4 = *(unsigned int *)(v3 + 352),
v2 = *(_QWORD *)(a1 + 664),
(int)v4 <= *(_DWORD *)(v3 + 356))
|| *(_BYTE *)(v2 + 785) )
{
v5 = 0;
}
else
{
*(_QWORD *)&v7 = GameManager::sharedState(a1, a2, v4).u64[0];
v5 = GameManager::safeModeEnabled(v8, v7) ^ 1;
v2 = *(_QWORD *)(a1 + 664);
}
return sub_1004EB370(a1 + 696, v5, v2 + 618, v2 + 619);
}