//
// sub_8A5D0 from 0x8a5d0 to 0x8a61c (76 bytes)
//
// 1 xrefs:
// > sub_89F0C @ 0x89f2c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:14:11 +0000
//
__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;
}