//
// sub_1005EEDD0 from 0x1005eedd0 to 0x1005eee26 (86 bytes)
//
// 1 xrefs:
// > ??> @ 0x1005eedb4
//
// 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_1005EEDD0(__int64 *a1)
{
__int64 v2; // rax
__int64 *v3; // rdi
_QWORD *v4; // rax
__int64 v5; // rcx
__int64 *v6; // r14
if ( a1[2] )
{
v2 = *a1;
v3 = (__int64 *)a1[1];
v4 = *(_QWORD **)(v2 + 8);
v5 = *v3;
*(_QWORD *)(v5 + 8) = v4;
*v4 = v5;
a1[2] = 0;
if ( v3 != a1 )
{
do
{
v6 = (__int64 *)v3[1];
operator delete(v3);
v3 = v6;
}
while ( v6 != a1 );
}
}
}