//
// sub_9DCB8 from 0x9dcb8 to 0x9de50 (408 bytes)
//
// 1 xrefs:
// > sub_9D7F4 @ 0x9d974
//
// 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 sub_9DCB8()
{
__int64 v0; // x19
__int64 result; // x0
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
int v5; // w8
__int64 v6; // x0
__int64 v7; // x0
char nptr[512]; // [xsp+4h] [xbp-25Ch] BYREF
_DWORD v9[3]; // [xsp+204h] [xbp-5Ch] BYREF
result = sub_9E898();
if ( !(_DWORD)result )
{
if ( (unsigned int)sub_9E8D8() || (unsigned int)sub_E3E1C(nptr, "[playlist]") )
return 19;
while ( 1 )
{
v2 = sub_9E8D8();
if ( (_DWORD)v2 )
return 0;
v3 = sub_9E978(v2, nptr, 4);
if ( !(_DWORD)v3 )
{
if ( (unsigned int)sub_9E98C(v3, nptr) )
return 0;
v6 = sub_9E950();
goto LABEL_20;
}
v4 = sub_E3E1C("Title", nptr);
if ( !(_DWORD)v4 )
break;
if ( (unsigned int)sub_E3E1C("Length", nptr) )
{
if ( !(unsigned int)sub_E3E1C("NumberOfEntries", nptr) || !(unsigned int)sub_E3E1C("Version", nptr) )
{
v5 = sub_9E8D8();
result = 0;
if ( v5 )
return result;
}
}
else
{
if ( (unsigned int)sub_9E650(v0, nptr, 512, v9) )
return 0;
nptr[v9[0]] = 0;
v7 = atoi(nptr);
v6 = sub_9E9C0(v7);
LABEL_20:
sub_9E948(v6);
}
}
if ( (unsigned int)sub_9E98C(v4, nptr) )
return 0;
v6 = sub_9E99C();
goto LABEL_20;
}
return result;
}