//
// sub_1006A77C4 from 0x1006a77c4 to 0x1006a783c (120 bytes)
//
// 1 xrefs:
// > sub_100693C98 @ 0x100693e58
//
// 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:42 +0000
//
__int64 __fastcall sub_1006A77C4(__int64 a1, __int64 a2)
{
__int64 *v3; // x21
__int64 v4; // x22
__int64 v5; // x20
__int64 **v6; // x8
v3 = *(__int64 **)(a2 + 920);
v4 = *v3;
if ( (unsigned int)sub_100691C50(v3, v3[1], a1) )
v5 = 0;
else
v5 = 27;
v6 = *(__int64 ***)(a2 + 920);
if ( v3 == (__int64 *)v6 && v4 != *v3 )
{
*(_BYTE *)(a2 + 913) = 0;
sub_100692A04(**v6, 1);
}
return v5;
}