//
// sub_AA888 from 0xaa888 to 0xaa8a8 (32 bytes)
//
// 2 xrefs:
// > sub_AA3A4 @ 0xaa5d6
// > sub_AA6F0 @ 0xaa814
//
// 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:37 +0000
//
int __fastcall sub_AA888(int a1)
{
int v1; // r1
int v2; // r1
if ( *(_WORD *)(a1 + 280) != 1 || (v1 = *(_DWORD *)(*(_DWORD *)(a1 + 104) + 8), (*(_BYTE *)(v1 + 72) & 4) != 0) )
v2 = 0;
else
v2 = *(_DWORD *)(v1 + 44);
*(_DWORD *)(a1 + 100) = v2;
return 0;
}