//
// sub_A6EF0 from 0xa6ef0 to 0xa6f20 (48 bytes)
//
// 1 xrefs:
// > sub_45F08 @ 0x45f6c
//
// 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:35 +0000
//
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;
}