//
// sub_1000100EC from 0x1000100ec to 0x100010138 (76 bytes)
//
// 3 xrefs:
// > GJEffectManager::resetEffects @ 0x10000ef2c
// > sub_100017DB0 @ 0x100017dcc
// > sub_1000206B4 @ 0x1000206cc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_1000100EC(__int64 *a1)
{
__int64 v2; // x20
__int64 i; // x21
void *v4; // x0
v2 = *a1;
for ( i = a1[1]; i != v2; i -= 72 )
{
v4 = *(void **)(i - 24);
if ( v4 )
{
*(_QWORD *)(i - 16) = v4;
operator delete(v4);
}
}
a1[1] = v2;
}