//
// sub_1004E1658 from 0x1004e1658 to 0x1004e16a4 (76 bytes)
//
// 2 xrefs:
// > sub_1004E11C0 @ 0x1004e1200
// > sub_1004E2510 @ 0x1004e252c
//
// 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 11:06:37 +0000
//
void __fastcall sub_1004E1658(__int64 *a1)
{
__int64 v2; // x20
__int64 i; // x21
v2 = *a1;
for ( i = a1[1]; i != v2; i -= 32 )
{
if ( *(char *)(i - 1) < 0 )
operator delete(*(void **)(i - 24));
}
a1[1] = v2;
}