//
// sub_8594C from 0x8594c to 0x85998 (76 bytes)
//
// 1 xrefs:
// > sub_83E04 @ 0x849c8
//
// 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_8594C(__int64 a1)
{
int v1; // w8
__int64 result; // x0
v1 = *(_DWORD *)(a1 + 36);
if ( v1 == -1 )
return 28;
if ( v1 != *(_DWORD *)(a1 + 8) )
return 0;
result = sub_85A40();
if ( !(_DWORD)result )
return 0;
return result;
}