//
// sub_1000C66E0 from 0x1000c66e0 to 0x1000c672c (76 bytes)
//
// 3 xrefs:
// > ??> @ 0x1000c650a
// > ??> @ 0x1000c775a
// > ??> @ 0x1002f9568
//
// 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_1000C66E0(__int64 a1, _QWORD *a2)
{
_QWORD *v2; // rbx
_QWORD *v3; // r14
void *v4; // rdi
if ( a2 )
{
v2 = a2;
do
{
v3 = (_QWORD *)*v2;
v4 = (void *)v2[3];
if ( v4 )
{
v2[4] = v4;
operator delete(v4);
}
operator delete(v2);
v2 = v3;
}
while ( v3 );
}
}