//
// sub_100017A54 from 0x100017a54 to 0x100017a98 (68 bytes)
//
// 8 xrefs:
// > sub_100017A1C @ 0x100017a30
// > sub_10001A230 @ 0x10001a24c
// > sub_10001FD68 @ 0x10001fe24
// > sub_10001FE5C @ 0x10001fe6c
// > sub_100126094 @ 0x100126150
// > sub_100126188 @ 0x100126198
// > sub_1001266C0 @ 0x10012677c
// > sub_1001267B4 @ 0x1001267c4
//
// 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_100017A54(int a1, _QWORD *__p)
{
_QWORD *v2; // x19
_QWORD *v3; // x20
void *v4; // x0
if ( __p )
{
v2 = __p;
do
{
v3 = (_QWORD *)*v2;
v4 = (void *)v2[3];
if ( v4 )
{
v2[4] = v4;
operator delete(v4);
}
operator delete(v2);
v2 = v3;
}
while ( v3 );
}
}