//
// sub_100061D10 from 0x100061d10 to 0x100061d8b (123 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ab80a8
//
// This function is hookable on this platform (idp: pc, 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 12:19:41 +0000
//
void __fastcall sub_100061D10(_DWORD *__p)
{
int v2; // eax
__int64 i; // r14
void *v4; // rdi
_DWORD *v5; // rdi
*(_QWORD *)__p = &off_100AB80A0;
v2 = __p[25];
if ( v2 > 0 )
{
for ( i = 0; i < v2; ++i )
{
v4 = *(void **)(*((_QWORD *)__p + 1) + 8 * i);
if ( v4 )
{
operator delete(v4);
v2 = __p[25];
}
}
}
v5 = *((_DWORD **)__p + 1);
if ( v5 != __p + 4 && v5 != nullptr )
operator delete[](v5);
operator delete(__p);
}