//
// sub_10071ED48 from 0x10071ed48 to 0x10071eda4 (92 bytes)
//
// 1 xrefs:
// > sub_10071BD24 @ 0x10071bdd4
//
// 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
//
void __fastcall sub_10071ED48(__int64 *a1, __int64 a2)
{
__int64 v2; // x19
__int64 v3; // x8
__int64 v4; // x20
void **v5; // x8
__int64 v6; // x8
if ( a1 )
{
v2 = *a1;
if ( *a1 )
{
v3 = *(_QWORD *)(a2 + 32);
if ( v3 )
{
if ( (*(_BYTE *)(v3 + 8) & 2) != 0 )
{
v4 = *(int *)(v3 + 32);
v5 = (void **)(v2 + v4);
if ( v2 + v4 )
{
if ( *v5 )
sub_1006AEDAC(*v5);
v6 = v2 + v4;
*(_QWORD *)v6 = 0;
*(_QWORD *)(v6 + 8) = 0;
*(_DWORD *)(v6 + 16) = 1;
}
}
}
}
}
}