//
// sub_10063F7A0 from 0x10063f7a0 to 0x10063f806 (102 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_QWORD *__fastcall sub_10063F7A0(_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_10063C200((__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;
}