//
// sub_100017B20 from 0x100017b20 to 0x100017b58 (56 bytes)
//
// 2 xrefs:
// > sub_10000E6D0 @ 0x10000ea3c
// > sub_1001272D0 @ 0x100127384
//
// 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_100017B20(__int64 a1)
{
void *v2; // x0
sub_100017B58(a1, *(_QWORD *)(a1 + 16));
v2 = *(void **)a1;
*(_QWORD *)a1 = 0;
if ( v2 )
operator delete(v2);
return a1;
}