//
// sub_1005089D0 from 0x1005089d0 to 0x1005089f4 (36 bytes)
//
// 3 xrefs:
// > ??> @ 0x1008279a8
// > ??> @ 0x100827bd0
// > ??> @ 0x10082a488
//
// 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_1005089D0(__int64 a1, bool *a2)
{
if ( !a2 )
return 31;
*a2 = (*(_BYTE *)(a1 + 72) & 2) != 0;
return 0;
}