//
// sub_100582FA8 from 0x100582fa8 to 0x100582fe8 (64 bytes)
//
// 1 xrefs:
// > sub_100587864 @ 0x100587864
//
// 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_100582FA8(__int64 a1)
{
int v1; // w0
unsigned int v2; // w8
v1 = sub_10053EBDC(*(_QWORD *)(a1 + 544));
if ( v1 )
v2 = -1;
else
v2 = 0;
if ( v1 <= 0 )
return v2;
else
return 1;
}