//
// sub_10071EC98 from 0x10071ec98 to 0x10071ed10 (120 bytes)
//
// 2 xrefs:
// > sub_10071B78C @ 0x10071b848
// > sub_10071BD24 @ 0x10071bda0
//
// 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:13:04 +0000
//
__int64 __fastcall sub_10071EC98(_QWORD *a1, __int64 a2, unsigned __int8 *a3)
{
int v3; // w8
__int64 v5; // x8
_DWORD *v7; // x0
v3 = *a3;
if ( v3 != 1 && v3 != 6 )
return 0;
v5 = *((_QWORD *)a3 + 4);
if ( !v5 )
return 0;
if ( (*(_BYTE *)(v5 + 8) & 1) == 0 )
return 0;
v7 = (_DWORD *)(*a1 + *(int *)(v5 + 12));
if ( (_DWORD)a2 )
return sub_1006AE670(v7, a2, *(unsigned int *)(v5 + 16), (__int64)"tasn_utl.c", 118);
*v7 = 1;
return 1;
}