//
// sub_10071C3D0 from 0x10071c3d0 to 0x10071c436 (102 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
//
_QWORD *__fastcall sub_10071C3D0(_QWORD **a1)
{
_QWORD *result; // rax
__int64 v2; // rdx
__int64 v3; // rsi
result = *a1;
if ( !*a1 )
return nullptr;
v2 = *result & 6LL;
if ( v2 == 2 )
return result;
v3 = result[4];
if ( !v3 )
{
LABEL_6:
if ( !v2 )
return (_QWORD *)sub_100718E30((__int64)result, *(__int64 **)(*result & 0xFFFFFFFFFFFFFFE0LL), 3);
return nullptr;
}
while ( (*(_DWORD *)v3 & 6) != 2 )
{
v3 = *(_QWORD *)(v3 + 48);
if ( !v3 )
goto LABEL_6;
}
return (_QWORD *)v3;
}