//
// sub_10071ED10 from 0x10071ed10 to 0x10071ed48 (56 bytes)
//
// 1 xrefs:
// > sub_10071B78C @ 0x10071b854
//
// 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
//
_QWORD *__fastcall sub_10071ED10(_QWORD *result, __int64 a2)
{
__int64 v2; // x9
__int64 v3; // x8
if ( result )
{
if ( *result )
{
v2 = *(_QWORD *)(a2 + 32);
if ( v2 )
{
if ( (*(_BYTE *)(v2 + 8) & 2) != 0 )
{
v3 = *result + *(int *)(v2 + 32);
if ( v3 )
{
*(_QWORD *)v3 = 0;
*(_QWORD *)(v3 + 8) = 0;
*(_DWORD *)(v3 + 16) = 1;
}
}
}
}
}
return result;
}