//
// sub_1002BDB50 from 0x1002bdb50 to 0x1002bdbd7 (135 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b0ef58
//
// 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:04 +0000
//
void __fastcall sub_1002BDB50(_QWORD *__p)
{
void ***v1; // r14
void **v2; // r15
*__p = off_100B0EF48;
v1 = (void ***)__p[7];
v2 = *v1;
if ( *v1 == v1[1] )
{
if ( v2 )
{
LABEL_3:
v1[1] = v2;
operator delete(v2);
}
}
else
{
do
{
if ( *v2 )
{
operator delete(*v2);
v1 = (void ***)__p[7];
}
++v2;
}
while ( v2 != v1[1] );
v2 = *v1;
if ( *v1 )
goto LABEL_3;
}
operator delete(v1);
sub_10047FF60(__p);
operator delete(__p);
}