//
// sub_100018638 from 0x100018638 to 0x100018684 (76 bytes)
//
// 2 xrefs:
// > sub_1000185F8 @ 0x100018614
// > sub_10002207C @ 0x100022094
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 10:57:19 +0000
//
void __fastcall sub_100018638(__int64 *a1)
{
__int64 v2; // x20
__int64 i; // x21
void *v4; // x0
v2 = *a1;
for ( i = a1[1]; i != v2; i -= 64 )
{
v4 = *(void **)(i - 24);
if ( v4 )
{
*(_QWORD *)(i - 16) = v4;
operator delete(v4);
}
}
a1[1] = v2;
}