//
// sub_10071C9B0 from 0x10071c9b0 to 0x10071ca3c (140 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
//
char __fastcall sub_10071C9B0(__int64 *a1, const char *a2)
{
__int64 v3; // rsi
__int64 v4; // rcx
__int64 v5; // rdx
v3 = *a1;
if ( !*a1 )
return 0;
v4 = *(_QWORD *)v3 & 6LL;
if ( v4 != 2 )
{
v5 = *(_QWORD *)(v3 + 32);
if ( v5 )
{
while ( (*(_DWORD *)v5 & 6) != 2 )
{
v5 = *(_QWORD *)(v5 + 48);
if ( !v5 )
goto LABEL_6;
}
v3 = v5;
return sub_100717DB0((const char **)(v3 + 24), (__int64 *)v3, 8, a2);
}
LABEL_6:
if ( v4 )
return 0;
v3 = sub_100718E30(v3, *(__int64 **)(*(_QWORD *)v3 & 0xFFFFFFFFFFFFFFE0LL), 3);
if ( !v3 )
return 0;
}
return sub_100717DB0((const char **)(v3 + 24), (__int64 *)v3, 8, a2);
}