//
// sub_18007C7E0 from 0x18007c7e0 to 0x18007c81b (59 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801671b0
// > ??> @ 0x180168ec8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}
}