//
// sub_100017CA8 from 0x100017ca8 to 0x100017cec (68 bytes)
//
// 4 xrefs:
// > sub_100017C70 @ 0x100017c84
// > sub_10001EE9C @ 0x10001eeb8
// > sub_10002205C @ 0x100022118
// > sub_100022150 @ 0x100022160
//
// 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
//
void __fastcall sub_100017CA8(int a1, _QWORD *__p)
{
_QWORD *v2; // x19
_QWORD *v3; // x20
void *v4; // x0
if ( __p )
{
v2 = __p;
do
{
v3 = (_QWORD *)*v2;
v4 = (void *)v2[10];
if ( v4 )
{
v2[11] = v4;
operator delete(v4);
}
operator delete(v2);
v2 = v3;
}
while ( v3 );
}
}