//
// sub_10071D950 from 0x10071d950 to 0x10071d992 (66 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:12 +0000
//
__int64 __fastcall sub_10071D950(__int64 *a1)
{
__int64 result; // rax
__int64 v2; // rdx
__int64 v3; // rcx
__int64 v4; // rcx
result = *a1;
v2 = a1[1];
if ( *a1 )
{
v3 = *(_QWORD *)(result + 24);
if ( !*(_QWORD *)(v3 + 32) )
v3 = 0;
*a1 = v3;
}
else if ( v2 && (v4 = *(_QWORD *)(v2 + 56)) != 0 )
{
*a1 = *(_QWORD *)(v4 + 24);
}
else
{
*a1 = 0;
}
return result;
}