//
// sub_8A64C from 0x8a64c to 0x8a678 (44 bytes)
//
// 1 xrefs:
// > sub_8A7EC @ 0x8a7f2
//
// 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
//
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;
}