//
// sub_1000C4DE0 from 0x1000c4de0 to 0x1000c4e34 (84 bytes)
//
// 2 xrefs:
// > ??> @ 0x1000c4d1c
// > ??> @ 0x1000c571a
//
// 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_1000C4DE0(__int64 a1)
{
__int64 v1; // rbx
__int64 v2; // r14
_QWORD *v3; // rsi
void *v4; // rdi
if ( !*(_BYTE *)(a1 + 24) )
{
v1 = **(_QWORD **)(a1 + 16);
v2 = **(_QWORD **)(a1 + 8);
while ( v1 != v2 )
{
v4 = *(void **)(v1 - 32);
if ( v4 )
{
*(_QWORD *)(v1 - 24) = v4;
operator delete(v4);
}
v3 = *(_QWORD **)(v1 - 232);
v1 -= 240;
sub_100054D90(v1, v3);
}
}
}