//
// sub_8A5D0 from 0x8a5d0 to 0x8a61c (76 bytes)
//
// 1 xrefs:
// > sub_89F0C @ 0x89f2c
//
// 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_8A5D0(__int64 a1)
{
if ( !*(_QWORD *)(a1 + 376) )
return 31;
if ( (*(_DWORD *)(*(_QWORD *)(a1 + 368) + 404LL) & 1) != 0 )
{
*(_DWORD *)(a1 + 464) = 0;
*(_DWORD *)(a1 + 460) = 0;
if ( !(unsigned int)sub_F2414() )
return 14;
}
return 0;
}