//
// deallocateDoubleNestedBool from 0x856aa0 to 0x856b08 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0xc1740
//
// 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 deallocateDoubleNestedBool(void ****a1)
{
void ***v1; // x21
void ***v3; // x19
void **v4; // x20
v1 = a1[1];
v3 = *a1;
if ( v1 != *a1 )
{
do
{
v4 = *v3++;
if ( v4 )
{
if ( *v4 )
operator delete(*v4);
operator delete(v4);
}
}
while ( v1 != v3 );
v1 = *a1;
}
a1[1] = v1;
}