//
// sub_1007C5F80 from 0x1007c5f80 to 0x1007c5fba (58 bytes)
//
// 0 xrefs:
//
// 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_1007C5F80(_QWORD *a1)
{
__int64 v1; // rax
if ( a1 && a1[18] && ((v1 = a1[13]) == 0 || v1 == 0xFFFF || a1[16] != v1) )
return a1[17];
else
return 0;
}