//
// deallocateDoubleNestedBool from 0x59b9c8 to 0x59b9fa (50 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:53:13 +0000
//
void __fastcall deallocateDoubleNestedBool(void ****a1)
{
void ***v2; // r5
void ***v3; // r7
void **v4; // r6
void **v5; // t1
void ***v6; // r2
void ***v7; // r3
v2 = *a1;
v3 = a1[1];
while ( v2 != v3 )
{
v5 = *v2++;
v4 = v5;
if ( v5 )
{
std::vector::~vector(v4);
operator delete(v4);
}
}
v6 = *a1;
while ( 1 )
{
v7 = a1[1];
if ( v6 == v7 )
break;
a1[1] = v7 - 1;
}
}