//
// sub_10072FCB0 from 0x10072fcb0 to 0x10072fdbc (268 bytes)
//
// 2 xrefs:
// > sub_10072DFE0 @ 0x10072e21f
// > sub_10072DFE0 @ 0x10072ebbf
//
// 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:21 +0000
//
const char *__fastcall sub_10072FCB0(__int64 *a1)
{
__int64 v1; // rax
__int64 v2; // r14
char *v3; // r15
const char *v4; // rbx
char *v5; // rax
signed __int64 v6; // r12
__int64 v7; // rax
__int64 v8; // r14
char *v9; // r15
char *v10; // rax
signed __int64 v11; // r12
__int64 v12; // rax
v1 = a1[1];
if ( v1 )
{
v2 = *a1;
v3 = *(char **)(v1 + 8);
v4 = "";
if ( !v3 )
v3 = "";
v5 = strchr(v3, 58);
v6 = v5 - v3;
if ( !v5 )
{
v3 = nullptr;
v6 = 0;
}
if ( v5 != nullptr && v2 != 0 )
{
while ( 1 )
{
v7 = sub_1007300C0(v2, v3, v6);
if ( v7 )
break;
v2 = *(_QWORD *)(v2 + 8);
if ( !v2 )
return v4;
}
LABEL_19:
v12 = *(_QWORD *)(v7 + 16);
v4 = "";
if ( v12 )
return (const char *)v12;
}
}
else
{
v8 = *a1;
v4 = "";
v9 = "";
if ( *a1 )
{
v9 = "";
if ( *(_QWORD *)(v8 + 16) )
v9 = *(char **)(v8 + 16);
}
v10 = strchr(v9, 58);
v11 = v10 - v9;
if ( !v10 )
{
v9 = nullptr;
v11 = 0;
}
if ( v8 )
{
while ( 1 )
{
v7 = sub_1007300C0(v8, v9, v11);
if ( v7 )
break;
v8 = *(_QWORD *)(v8 + 8);
if ( !v8 )
return v4;
}
goto LABEL_19;
}
}
return v4;
}