//
// sub_8A64C from 0x8a64c to 0x8a678 (44 bytes)
//
// 1 xrefs:
// > sub_8A7EC @ 0x8a7f2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:23 +0000
//
int __fastcall sub_8A64C(int a1, int a2)
{
int result; // r0
if ( !a2 )
return 0;
if ( *(_QWORD *)(a1 + 688) )
return 11;
result = (*(int (__fastcall **)(int, int, _DWORD, _DWORD))(*(_DWORD *)(a1 + 156) + 32))(a1 + 132, a1 + 688, 0, 0);
if ( !result )
return 11;
return result;
}