//
// sub_A6EF0 from 0xa6ef0 to 0xa6f20 (48 bytes)
//
// 1 xrefs:
// > sub_45F08 @ 0x45f6c
//
// 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_A6EF0(_DWORD *a1, bool *a2)
{
int v2; // r2
bool v3; // r0
v2 = a1[23];
__dmb(0xBu);
if ( (v2 & 0x100) != 0 )
v3 = a1[97] == 0;
else
v3 = *(_DWORD *)(a1[32] + 68872) >= a1[97];
*a2 = v3;
return 0;
}