//
// cocos2d::CCDictMaker::~CCDictMaker from 0x7e71f8 to 0x7e7418 (544 bytes)
//
// 2 xrefs:
// > cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile @ 0x7e749c
// > cocos2d::CCFileUtils::createCCArrayWithContentsOfFile @ 0x7e7544
//
// 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 12:00:54 +0000
//
// Alternative name is '_ZN7cocos2d11CCDictMakerD1Ev'
void __fastcall cocos2d::CCDictMaker::~CCDictMaker(cocos2d::CCDictMaker *this)
{
int v1; // r1
int v2; // r3
unsigned int v4; // r0
int v5; // r6
unsigned int v6; // r2
_DWORD *v7; // r5
unsigned int v8; // r2
unsigned int v9; // r0
int v10; // r2
int v11; // t1
void **v12; // r6
void **v13; // r5
unsigned int v14; // r3
int v15; // r3
void *v16; // r0
int v17; // r2
int v18; // r3
void *v19; // r0
unsigned int v20; // r0
int v21; // r1
int v22; // r6
unsigned int v23; // r2
_DWORD *v24; // r5
unsigned int v25; // r2
unsigned int v26; // r0
int v27; // r2
int v28; // t1
void **v29; // r6
void **v30; // r5
unsigned int v31; // r3
int v32; // r3
void *v33; // r0
int v34; // r2
int v35; // r3
void *v36; // r0
int v37; // r3
unsigned int v38; // r0
int v39; // r1
int v40; // r6
unsigned int v41; // r2
_DWORD *v42; // r5
unsigned int v43; // r2
unsigned int v44; // r0
int v45; // r2
int v46; // t1
void **v47; // r6
void **v48; // r5
unsigned int v49; // r3
int v50; // r3
void *v51; // r0
int v52; // r2
int v53; // r3
void *v54; // r0
v1 = *((_DWORD *)this + 26);
v2 = (int)&off_D10A58;
*(_DWORD *)this = &off_D10A58;
v4 = *((_DWORD *)this + 29);
v5 = *((_DWORD *)this + 27);
v6 = v4 >> 10;
if ( v5 != v1 )
v2 = v4 & 0x3FF;
v7 = (_DWORD *)(v1 + 4 * v6);
if ( v5 == v1 )
v2 = 0;
else
v6 = *(_DWORD *)(v1 + 4 * v6);
if ( v5 != v1 )
v2 = v6 + 4 * v2;
v8 = *((_DWORD *)this + 30) + v4;
v9 = v8 >> 10;
if ( v5 == v1 )
v10 = 0;
else
v10 = v8 & 0x3FF;
if ( v5 != v1 )
v10 = *(_DWORD *)(v1 + 4 * v9) + 4 * v10;
while ( v2 != v10 )
{
v2 += 4;
if ( (unsigned int)(v2 - *v7 - 4096) <= 3 )
{
v11 = v7[1];
++v7;
v2 = v11;
}
}
*((_DWORD *)this + 30) = 0;
while ( 1 )
{
v12 = *((void ***)this + 27);
v13 = *((void ***)this + 26);
v14 = v12 - v13;
if ( v14 <= 2 )
break;
operator delete(*v13);
*((_DWORD *)this + 26) += 4;
}
if ( v14 == 1 )
{
v15 = 512;
}
else
{
if ( v14 != 2 )
goto LABEL_25;
v15 = 1024;
}
*((_DWORD *)this + 29) = v15;
LABEL_25:
while ( v13 != v12 )
{
v16 = *v13++;
operator delete(v16);
}
v17 = *((_DWORD *)this + 26);
while ( 1 )
{
v18 = *((_DWORD *)this + 27);
if ( v17 == v18 )
break;
*((_DWORD *)this + 27) = v18 - 4;
}
v19 = *((void **)this + 25);
if ( v19 )
operator delete(v19);
v20 = *((_DWORD *)this + 23);
v21 = *((_DWORD *)this + 20);
v22 = *((_DWORD *)this + 21);
v23 = v20 >> 10;
if ( v22 != v21 )
v18 = *((_DWORD *)this + 23) & 0x3FF;
v24 = (_DWORD *)(v21 + 4 * v23);
if ( v22 == v21 )
v18 = 0;
else
v23 = *(_DWORD *)(v21 + 4 * v23);
if ( v22 != v21 )
v18 = v23 + 4 * v18;
v25 = *((_DWORD *)this + 24) + v20;
v26 = v25 >> 10;
if ( v22 == v21 )
v27 = 0;
else
v27 = v25 & 0x3FF;
if ( v22 != v21 )
v27 = *(_DWORD *)(v21 + 4 * v26) + 4 * v27;
while ( v18 != v27 )
{
v18 += 4;
if ( (unsigned int)(v18 - *v24 - 4096) <= 3 )
{
v28 = v24[1];
++v24;
v18 = v28;
}
}
*((_DWORD *)this + 24) = 0;
while ( 1 )
{
v29 = *((void ***)this + 21);
v30 = *((void ***)this + 20);
v31 = v29 - v30;
if ( v31 <= 2 )
break;
operator delete(*v30);
*((_DWORD *)this + 20) += 4;
}
if ( v31 == 1 )
{
v32 = 512;
}
else
{
if ( v31 != 2 )
goto LABEL_56;
v32 = 1024;
}
*((_DWORD *)this + 23) = v32;
LABEL_56:
while ( v30 != v29 )
{
v33 = *v30++;
operator delete(v33);
}
v34 = *((_DWORD *)this + 20);
while ( 1 )
{
v35 = *((_DWORD *)this + 21);
if ( v34 == v35 )
break;
*((_DWORD *)this + 21) = v35 - 4;
}
v36 = *((void **)this + 19);
if ( v36 )
operator delete(v36);
std::string::~string((int)this + 56);
std::string::~string((int)this + 44);
v38 = *((_DWORD *)this + 9);
v39 = *((_DWORD *)this + 6);
v40 = *((_DWORD *)this + 7);
v41 = v38 >> 10;
if ( v40 != v39 )
v37 = *((_DWORD *)this + 9) & 0x3FF;
v42 = (_DWORD *)(v39 + 4 * v41);
if ( v40 == v39 )
v37 = 0;
else
v41 = *(_DWORD *)(v39 + 4 * v41);
if ( v40 != v39 )
v37 = v41 + 4 * v37;
v43 = *((_DWORD *)this + 10) + v38;
v44 = v43 >> 10;
if ( v40 == v39 )
v45 = 0;
else
v45 = v43 & 0x3FF;
if ( v40 != v39 )
v45 = *(_DWORD *)(v39 + 4 * v44) + 4 * v45;
while ( v37 != v45 )
{
v37 += 4;
if ( (unsigned int)(v37 - *v42 - 4096) <= 3 )
{
v46 = v42[1];
++v42;
v37 = v46;
}
}
*((_DWORD *)this + 10) = 0;
while ( 1 )
{
v47 = *((void ***)this + 7);
v48 = *((void ***)this + 6);
v49 = v47 - v48;
if ( v49 <= 2 )
break;
operator delete(*v48);
*((_DWORD *)this + 6) += 4;
}
if ( v49 == 1 )
{
v50 = 512;
}
else
{
if ( v49 != 2 )
goto LABEL_87;
v50 = 1024;
}
*((_DWORD *)this + 9) = v50;
LABEL_87:
while ( v48 != v47 )
{
v51 = *v48++;
operator delete(v51);
}
v52 = *((_DWORD *)this + 6);
while ( 1 )
{
v53 = *((_DWORD *)this + 7);
if ( v52 == v53 )
break;
*((_DWORD *)this + 7) = v53 - 4;
}
v54 = *((void **)this + 5);
if ( v54 )
operator delete(v54);
}