//
// sub_100017CEC from 0x100017cec to 0x100017d24 (56 bytes)
//
// 2 xrefs:
// > sub_10000E6D0 @ 0x10000e9a0
// > sub_1001272D0 @ 0x1001272e8
//
// 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 __fastcall sub_100017CEC(__int64 a1)
{
void *v2; // x0
sub_100017D24(a1, *(_QWORD *)(a1 + 16));
v2 = *(void **)a1;
*(_QWORD *)a1 = 0;
if ( v2 )
operator delete(v2);
return a1;
}