//
// sub_1006A8C64 from 0x1006a8c64 to 0x1006a8c9c (56 bytes)
//
// 4 xrefs:
// > ??> @ 0x1009b2420
// > ??> @ 0x1009b2428
// > ??> @ 0x1009b24a0
// > ??> @ 0x1009b24a8
//
// 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 11:11:43 +0000
//
__int64 __fastcall sub_1006A8C64(__int64 a1, _DWORD *a2, int a3)
{
__int64 v4; // x9
__int64 result; // x0
if ( !a3 )
return 0;
*a2 = *(_DWORD *)(a1 + 464);
v4 = *(_QWORD *)(a1 + 1392);
result = 0x10000;
if ( !v4 )
{
if ( *(_QWORD *)(a1 + 1384) )
return 0x10000;
else
return 1;
}
return result;
}