//
// sub_1002DFD60 from 0x1002dfd60 to 0x1002dfdbd (93 bytes)
//
// 1 xrefs:
// > ??> @ 0x1002dfd45
//
// 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:28:19 +0000
//
void __fastcall sub_1002DFD60(__int64 a1)
{
__int64 v2; // r14
__int64 v3; // rax
__int64 v4; // rcx
void *v5; // rdi
v2 = *(_QWORD *)(a1 + 8);
v3 = *(_QWORD *)(a1 + 16);
if ( v3 != v2 )
{
do
{
v4 = v3 - 48;
*(_QWORD *)(a1 + 16) = v3 - 48;
v5 = *(void **)(v3 - 24);
if ( v5 )
{
*(_QWORD *)(v3 - 16) = v5;
operator delete(v5);
v4 = *(_QWORD *)(a1 + 16);
}
v3 = v4;
}
while ( v4 != v2 );
}
if ( *(_QWORD *)a1 )
operator delete(*(void **)a1);
}