//
// sub_1004C04A4 from 0x1004c04a4 to 0x1004c04f0 (76 bytes)
//
// 2 xrefs:
// > sub_1004BE5CC @ 0x1004be5f8
// > sub_1004C12C0 @ 0x1004c12dc
//
// 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:19 +0000
//
void __fastcall sub_1004C04A4(__int64 *a1)
{
__int64 v2; // x20
__int64 i; // x21
v2 = *a1;
for ( i = a1[1]; i != v2; i -= 48 )
{
if ( *(char *)(i - 1) < 0 )
operator delete(*(void **)(i - 24));
}
a1[1] = v2;
}