//
// sub_1004C2038 from 0x1004c2038 to 0x1004c207c (68 bytes)
//
// 1 xrefs:
// > sub_1004C2004 @ 0x1004c2020
//
// 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:20 +0000
//
void __fastcall sub_1004C2038(__int64 a1)
{
__int64 v1; // x19
__int64 v2; // x20
v1 = **(_QWORD **)(a1 + 16);
v2 = **(_QWORD **)(a1 + 8);
while ( v1 != v2 )
{
if ( *(char *)(v1 - 1) < 0 )
operator delete(*(void **)(v1 - 24));
v1 -= 48;
}
}