//
// sub_10071CD30 from 0x10071cd30 to 0x10071cdd4 (164 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_10071CD30(__int64 *a1, char a2)
{
__int64 v3; // rsi
__int64 v4; // rcx
__int64 v5; // rdi
char v7; // bl
__int64 v8; // rax
const char *v9; // rcx
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;
goto LABEL_10;
}
LABEL_6:
if ( v4 )
return 0;
v7 = a2;
v8 = sub_100718E30(v3, *(__int64 **)(*(_QWORD *)v3 & 0xFFFFFFFFFFFFFFE0LL), 3);
a2 = v7;
v3 = v8;
if ( !v8 )
return 0;
}
LABEL_10:
v9 = "false";
if ( a2 )
v9 = "true";
return sub_100717DB0((const char **)(v3 + 24), (__int64 *)v3, 8, v9);
}