//
// sub_80A2C from 0x80a2c to 0x80a5c (48 bytes)
//
// 1 xrefs:
// > ??> @ 0x114ee8
//
// 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_80A2C(__int64 a1, int a2, _DWORD *a3, _BYTE *a4)
{
__int64 result; // x0
result = 31;
if ( a2 == 10 && a3 )
{
result = 0;
*a3 = *(unsigned __int8 *)(*(_QWORD *)a1 + 657LL);
if ( a4 )
*a4 = 0;
}
return result;
}