//
// sub_1001249A0 from 0x1001249a0 to 0x1001249ec (76 bytes)
//
// 2 xrefs:
// > sub_10012476C @ 0x100124784
// > sub_100124B3C @ 0x100124b58
//
// 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_1001249A0(__int64 *a1)
{
__int64 v2; // x20
__int64 i; // x21
void *v4; // x0
v2 = *a1;
for ( i = a1[1]; i != v2; i -= 40 )
{
v4 = *(void **)(i - 24);
if ( v4 )
{
*(_QWORD *)(i - 16) = v4;
operator delete(v4);
}
}
a1[1] = v2;
}