//
// sub_10063D180 from 0x10063d180 to 0x10063d21e (158 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
//
char __fastcall sub_10063D180(_QWORD **a1, const char *a2)
{
_QWORD *v2; // r15
__int64 v3; // r13
_QWORD *v5; // rbx
const char *v6; // rsi
__int64 v8; // rax
__int64 v9; // rcx
_QWORD *v10; // rdx
v2 = *a1;
if ( !*a1 )
return 0;
v3 = v2[4];
if ( !v3 )
return 0;
v5 = (_QWORD *)v2[4];
while ( 1 )
{
v6 = (const char *)v5[2];
if ( v6 )
{
if ( !strcmp(a2, v6) )
break;
}
v5 = (_QWORD *)v5[6];
if ( !v5 )
return 0;
}
if ( (_QWORD *)v5[1] != v2 )
return 0;
v8 = v5[5];
v9 = v5[6];
if ( v9 )
v3 = v5[6];
*(_QWORD *)(v3 + 40) = v8;
v10 = (_QWORD *)(v8 + 48);
if ( !*(_QWORD *)(v8 + 48) )
v10 = v2 + 4;
*v10 = v9;
sub_10063D290(v5, *(_QWORD *)(*v2 & 0xFFFFFFFFFFFFFFE0LL));
return 1;
}