//
// sub_1002DB010 from 0x1002db010 to 0x1002db05d (77 bytes)
//
// 4 xrefs:
// > ??> @ 0x1002e2ece
// > ??> @ 0x1002e33d9
// > ??> @ 0x1002e7675
// > ??> @ 0x1002e7cda
//
// 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:17 +0000
//
void __fastcall sub_1002DB010(__int64 a1)
{
_QWORD *v2; // rdi
void *v3; // rax
v2 = *(_QWORD **)a1;
*(_QWORD *)a1 = 0;
if ( v2 )
{
if ( *(_BYTE *)(a1 + 16) == 1 )
{
v3 = (void *)v2[10];
if ( v3 )
{
v2[11] = v3;
operator delete(v3);
}
}
operator delete(v2);
}
}