//
// sub_D17EBC from 0xd17ebc to 0xd17f1c (96 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_D17EBC(int **a1)
{
int *v1; // x1
int v2; // w4
v1 = *a1;
v2 = *(*a1 - 2);
if ( (v2 & 0x80000000) == 0 && *a1 - 6 != (int *)&qword_124B6B0 )
{
if ( v2 )
{
sub_D174B8(a1, 0, 0, 0);
v1 = *a1;
}
*(v1 - 2) = -1;
}
return v1;
}