//
// sub_A7328 from 0xa7328 to 0xa7390 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x10ee18
//
// 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
//
__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;
}