//
// sub_18007C7E0 from 0x18007c7e0 to 0x18007c81b (59 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801671b0
// > ??> @ 0x180168ec8
//
// 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 10:53:35 +0000
//
__int64 __fastcall sub_18007C7E0(__int64 a1, _BYTE *a2)
{
unsigned int v2; // eax
if ( (*(_DWORD *)(a1 + 100) & 0x100) != 0 )
v2 = 0;
else
v2 = *(_DWORD *)(*(_QWORD *)(a1 + 168) + 69856LL);
if ( v2 < *(_DWORD *)(a1 + 724) || (*(_DWORD *)(a1 + 100) & 0x1000) != 0 )
{
*a2 = 0;
return 0;
}
else
{
*a2 = 1;
return 0;
}
}