//
// sub_1006A7D20 from 0x1006a7d20 to 0x1006a7d80 (96 bytes)
//
// 1 xrefs:
// > sub_100693C98 @ 0x100694098
//
// 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_1006A7D20(__int64 a1, __int64 a2)
{
_QWORD **v3; // x8
_QWORD *v4; // x8
if ( *(_BYTE *)(a2 + 761) )
return 1;
if ( *(_BYTE *)(a2 + 912) )
return 0;
v3 = *(_QWORD ***)(a2 + 928);
if ( !v3 )
return 0;
v4 = *v3;
if ( !v4 )
return 0;
if ( *v4 != a1 )
return 0;
*(_BYTE *)(a2 + 912) = 1;
return 1;
}