//
// sub_D1B714 from 0xd1b714 to 0xd1b770 (92 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
//
const wchar_t **__fastcall sub_D1B714(const wchar_t **result)
{
const wchar_t *v1; // x1
int v2; // w4
const wchar_t **v3; // x19
v1 = *result;
v2 = *(*result - 2);
if ( (v2 & 0x80000000) == 0 && *result - 6 != (const wchar_t *)&qword_124B6D0 )
{
if ( v2 )
{
v3 = result;
sub_D1B4BC(result, 0, 0, 0);
v1 = *v3;
}
*((_DWORD *)v1 - 2) = -1;
return (const wchar_t **)0xFFFFFFFFLL;
}
return result;
}