//
// sub_1002DBA10 from 0x1002dba10 to 0x1002dba78 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0x1002db9b1
// > ??> @ 0x1002dba02
//
// 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_1002DBA10(void ***a1)
{
void **v1; // r14
_QWORD *v2; // r15
_QWORD *v3; // rbx
void *v4; // rax
if ( !*((_BYTE *)a1 + 8) )
{
v1 = *a1;
v2 = **a1;
if ( v2 )
{
v3 = v1[1];
v4 = **a1;
if ( v3 != v2 )
{
do
{
v3 -= 56;
sub_1002DA830(v3);
}
while ( v3 != v2 );
v4 = **a1;
}
v1[1] = v2;
operator delete(v4);
}
}
}