//
// sub_D17704 from 0xd17704 to 0xd17760 (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
//
int **__fastcall sub_D17704(int **result)
{
int *v1; // x1
int v2; // w4
int **v3; // x19
v1 = *result;
v2 = *(*result - 2);
if ( (v2 & 0x80000000) == 0 && *result - 6 != (int *)&qword_124B6B0 )
{
if ( v2 )
{
v3 = result;
sub_D174B8(result, 0, 0, 0);
v1 = *v3;
}
*(v1 - 2) = -1;
return (int **)0xFFFFFFFFLL;
}
return result;
}