//
// sub_1004FFAA8 from 0x1004ffaa8 to 0x1004ffaf4 (76 bytes)
//
// 2 xrefs:
// > sub_1004FF270 @ 0x1004ff2b4
// > sub_100515A3C @ 0x100515a58
//
// 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:53 +0000
//
void __fastcall sub_1004FFAA8(__int64 *a1)
{
__int64 v2; // x20
__int64 i; // x21
v2 = *a1;
for ( i = a1[1]; i != v2; i -= 56 )
{
if ( *(char *)(i - 9) < 0 )
operator delete(*(void **)(i - 32));
}
a1[1] = v2;
}