//
// sub_1006ACC94 from 0x1006acc94 to 0x1006acd24 (144 bytes)
//
// 1 xrefs:
// > sub_1006A9638 @ 0x1006ac048
//
// 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:47 +0000
//
__int64 __fastcall sub_1006ACC94(__int64 a1, __int64 a2)
{
__int64 v4; // x0
char *v5; // x21
__int64 v6; // x0
__int64 (__fastcall *v7)(__int64, __int64); // x2
v4 = sub_10073E0CC(a2);
if ( (unsigned int)(v4 - 1) <= 1
&& (v4 = sub_10073DD00(a1), (v5 = (char *)v4) != nullptr)
&& (v4 = sub_10073E0E0(a2), (v4 & 2) != 0) )
{
sub_10073E15C(a1, a2, v5);
return 1;
}
else
{
v6 = sub_10073E3D4(v4);
v7 = (__int64 (__fastcall *)(__int64, __int64))sub_10073E0A4(v6);
return v7(a1, a2);
}
}