//
// sub_10063BE60 from 0x10063be60 to 0x10063bf2b (203 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
//
__int64 __fastcall sub_10063BE60(_QWORD **a1, __int64 *a2)
{
const char *v2; // r15
const char *v3; // rbx
_QWORD *v4; // rdi
__int64 v5; // rcx
__int64 v6; // rax
__int64 v7; // r14
__int64 v8; // rax
const char *v9; // rax
if ( !*a2 )
return 0;
v2 = *(const char **)(*a2 + 8);
v3 = "";
if ( !v2 )
v2 = "";
v4 = *a1;
if ( !v4 || (v5 = *v4 & 7LL, v5 != 6) && (_DWORD)v5 != 1 )
{
v7 = 0;
v8 = *a2;
if ( !*a2 )
goto LABEL_12;
goto LABEL_10;
}
v6 = sub_10063BAF0((__int64)v4, *(__int64 **)(*v4 & 0xFFFFFFFFFFFFFFE0LL));
if ( v6 )
{
v7 = v6;
sub_10063B180((const char **)(v6 + 8), (__int64 *)v6, 16, v2);
}
else
{
v7 = 0;
}
v8 = *a2;
if ( *a2 )
{
LABEL_10:
v9 = *(const char **)(v8 + 16);
v3 = "";
if ( v9 )
v3 = v9;
}
LABEL_12:
if ( !v7 )
return 0;
sub_10063B180((const char **)(v7 + 16), (__int64 *)v7, 8, v3);
return v7;
}