//
// sub_AA888 from 0xaa888 to 0xaa8a8 (32 bytes)
//
// 2 xrefs:
// > sub_AA3A4 @ 0xaa5d6
// > sub_AA6F0 @ 0xaa814
//
// 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_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;
}