//
// sub_A7328 from 0xa7328 to 0xa7390 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x10ee18
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:14:32 +0000
//
__int64 __fastcall sub_A7328(__int64 a1)
{
__int64 v2; // x0
__int64 (*v3)(void); // x8
__int64 result; // x0
v2 = *(_QWORD *)(a1 + 800);
if ( !v2 )
return sub_CA9C0(a1);
if ( *(_QWORD *)(v2 + 264) && (*(_BYTE *)(v2 + 45) & 2) != 0 )
{
sub_A76C0();
v2 = *(_QWORD *)(a1 + 800);
*(_DWORD *)(v2 + 44) &= ~0x200u;
}
v3 = *(__int64 (**)(void))(v2 + 88);
if ( !v3 )
return sub_CA9C0(a1);
result = v3();
if ( !(_DWORD)result )
return sub_CA9C0(a1);
return result;
}