//
// sub_10071CFE0 from 0x10071cfe0 to 0x10071d065 (133 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:36:11 +0000
//
__int64 *__fastcall sub_10071CFE0(__int64 *a1, const char *a2)
{
__int64 v3; // rsi
__int64 v4; // rcx
__int64 v5; // rdx
v3 = *a1;
if ( *a1 )
{
v4 = *(_QWORD *)v3 & 6LL;
if ( v4 == 2 )
goto LABEL_10;
v5 = *(_QWORD *)(v3 + 32);
if ( v5 )
{
while ( (*(_DWORD *)v5 & 6) != 2 )
{
v5 = *(_QWORD *)(v5 + 48);
if ( !v5 )
goto LABEL_6;
}
v3 = v5;
goto LABEL_10;
}
LABEL_6:
if ( !v4 )
{
v3 = sub_100718E30(v3, *(__int64 **)(*(_QWORD *)v3 & 0xFFFFFFFFFFFFFFE0LL), 3);
if ( v3 )
LABEL_10:
sub_100717DB0((const char **)(v3 + 24), (__int64 *)v3, 8, a2);
}
}
return a1;
}