//
// sub_10032A410 from 0x10032a410 to 0x10032a47d (109 bytes)
//
// 2 xrefs:
// > ??> @ 0x10032a3dd
// > ??> @ 0x10032a3fe
//
// 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_10032A410(void ***a1)
{
void **v2; // r14
void **v3; // r15
void **v4; // r12
void *v5; // rdi
if ( !*((_BYTE *)a1 + 8) )
{
v2 = *a1;
v3 = (void **)**a1;
if ( v3 )
{
v4 = (void **)v2[1];
v5 = **a1;
if ( v4 != v3 )
{
do
{
if ( (*(_BYTE *)(v4 - 3) & 1) != 0 )
operator delete(*(v4 - 1));
v4 -= 3;
}
while ( v4 != v3 );
v5 = **a1;
}
v2[1] = v3;
operator delete(v5);
}
}
}