//
// GJEffectManager::~GJEffectManager from 0x5cc72c to 0x5ccb6a (1086 bytes)
//
// 1 xrefs:
// > GJEffectManager::~GJEffectManager @ 0x5ccb74
//
// 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:58 +0000
//
// Alternative name is '_ZN15GJEffectManagerD1Ev'
void __fastcall GJEffectManager::~GJEffectManager(GJEffectManager *this)
{
cocos2d::CCObject *v2; // r0
cocos2d::CCObject *v3; // r0
cocos2d::CCObject *v4; // r0
cocos2d::CCObject *v5; // r0
cocos2d::CCObject *v6; // r0
GroupCommandObject2 **v7; // r7
GroupCommandObject2 **i; // r5
GroupCommandObject2 *v9; // r6
GroupCommandObject2 *v10; // t1
int v11; // r2
int v12; // r3
GroupCommandObject2 **v13; // r7
GroupCommandObject2 **j; // r5
GroupCommandObject2 *v15; // r6
GroupCommandObject2 *v16; // t1
int v17; // r2
int v18; // r3
cocos2d::CCObject **v19; // r6
cocos2d::CCObject **k; // r5
cocos2d::CCObject *v21; // r0
cocos2d::CCObject *v22; // t1
_DWORD *m; // r5
cocos2d::CCObject *v24; // r0
_DWORD *n; // r5
cocos2d::CCObject *v26; // r0
_DWORD *ii; // r5
cocos2d::CCObject *v28; // r0
int v29; // r2
int v30; // r3
int v31; // r2
int v32; // r3
int v33; // r2
int v34; // r3
int v35; // r2
int v36; // r3
int v37; // r2
int v38; // r3
char *v39; // r0
char *v40; // r3
char **jj; // r5
char *v42; // r6
void *v43; // r0
_DWORD *kk; // r3
_DWORD *v45; // r5
void *v46; // r0
int v47; // r5
int v48; // r0
GroupCommandObject2 *v49; // r0
int v50; // r5
int v51; // r0
void *v52; // r0
void *v53; // r0
char *v54; // r0
char *v55; // r3
_DWORD *mm; // r3
_DWORD *v57; // r5
void *v58; // r0
char *v59; // r0
char *v60; // r3
int v61; // r5
int v62; // r0
int v63; // r5
int v64; // r0
void *v65; // r0
int v66; // r5
int v67; // r0
_DWORD *nn; // r3
_DWORD *v69; // r5
void *v70; // r0
void *v71; // r0
*(_DWORD *)this = &off_CB5B18;
v2 = *((cocos2d::CCObject **)this + 67);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((cocos2d::CCObject **)this + 68);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 151);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 97);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 96);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *((GroupCommandObject2 ***)this + 175);
for ( i = *((GroupCommandObject2 ***)this + 174); i != v7; ++i )
{
v10 = *i;
v9 = v10;
if ( v10 )
{
GroupCommandObject2::~GroupCommandObject2(v9);
operator delete(v9);
}
}
v11 = *((_DWORD *)this + 174);
while ( 1 )
{
v12 = *((_DWORD *)this + 175);
if ( v11 == v12 )
break;
*((_DWORD *)this + 175) = v12 - 4;
}
v13 = *((GroupCommandObject2 ***)this + 172);
for ( j = *((GroupCommandObject2 ***)this + 171); j != v13; ++j )
{
v16 = *j;
v15 = v16;
if ( v16 )
{
GroupCommandObject2::~GroupCommandObject2(v15);
operator delete(v15);
}
}
v17 = *((_DWORD *)this + 171);
while ( 1 )
{
v18 = *((_DWORD *)this + 172);
if ( v17 == v18 )
break;
*((_DWORD *)this + 172) = v18 - 4;
}
v19 = *((cocos2d::CCObject ***)this + 178);
for ( k = *((cocos2d::CCObject ***)this + 177); k != v19; ++k )
{
v22 = *k;
v21 = v22;
if ( v22 )
cocos2d::CCObject::release(v21);
}
for ( m = *((_DWORD **)this + 201); m; m = (_DWORD *)*m )
{
v24 = (cocos2d::CCObject *)m[3];
if ( v24 )
cocos2d::CCObject::release(v24);
}
for ( n = *((_DWORD **)this + 206); n; n = (_DWORD *)*n )
{
v26 = (cocos2d::CCObject *)n[3];
if ( v26 )
cocos2d::CCObject::release(v26);
}
for ( ii = *((_DWORD **)this + 211); ii; ii = (_DWORD *)*ii )
{
v28 = (cocos2d::CCObject *)ii[3];
if ( v28 )
cocos2d::CCObject::release(v28);
}
std::__hash_table
,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::clear((_DWORD *)this + 199);
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::clear((_DWORD *)this + 204);
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::clear((_DWORD *)this + 209);
v29 = *((_DWORD *)this + 214);
while ( 1 )
{
v30 = *((_DWORD *)this + 215);
if ( v29 == v30 )
break;
*((_DWORD *)this + 215) = v30 - 4;
}
v31 = *((_DWORD *)this + 217);
while ( 1 )
{
v32 = *((_DWORD *)this + 218);
if ( v31 == v32 )
break;
*((_DWORD *)this + 218) = v32 - 4;
}
v33 = *((_DWORD *)this + 220);
while ( 1 )
{
v34 = *((_DWORD *)this + 221);
if ( v33 == v34 )
break;
*((_DWORD *)this + 221) = v34 - 4;
}
v35 = *((_DWORD *)this + 188);
while ( 1 )
{
v36 = *((_DWORD *)this + 189);
if ( v35 == v36 )
break;
*((_DWORD *)this + 189) = v36 - 4;
}
v37 = *((_DWORD *)this + 177);
while ( 1 )
{
v38 = *((_DWORD *)this + 178);
if ( v37 == v38 )
break;
*((_DWORD *)this + 178) = v38 - 4;
}
std::__tree,std::vector>,std::__map_value_compare,std::__value_type,std::vector>,std::less>,true>,std::allocator,std::vector>>>::destroy(
(int)this + 904,
*((char ***)this + 227));
v39 = *((char **)this + 223);
if ( v39 )
{
while ( 1 )
{
v40 = *((char **)this + 224);
if ( v39 == v40 )
break;
*((_DWORD *)this + 224) = v40 - 16;
}
operator delete(v39);
}
std::__vector_base::~__vector_base((char **)this + 220);
std::__vector_base::~__vector_base((char **)this + 217);
std::__vector_base::~__vector_base((char **)this + 214);
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::~__hash_table((int)this + 836);
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::~__hash_table((int)this + 816);
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::~__hash_table((int)this + 796);
std::__vector_base::~__vector_base((char **)this + 196);
for ( jj = *((char ***)this + 193); jj; jj = (char **)v42 )
{
v42 = *jj;
std::__vector_base::~__vector_base(jj + 3);
operator delete(jj);
}
v43 = *((void **)this + 191);
*((_DWORD *)this + 191) = 0;
if ( v43 )
operator delete(v43);
std::__vector_base::~__vector_base((char **)this + 188);
for ( kk = *((_DWORD **)this + 185); kk; kk = v45 )
{
v45 = (_DWORD *)*kk;
operator delete(kk);
}
v46 = *((void **)this + 183);
*((_DWORD *)this + 183) = 0;
if ( v46 )
operator delete(v46);
v47 = *((_DWORD *)this + 180);
if ( v47 )
{
while ( 1 )
{
v48 = *((_DWORD *)this + 181);
if ( v47 == v48 )
break;
v49 = (GroupCommandObject2 *)(v48 - 488);
*((_DWORD *)this + 181) = v49;
GroupCommandObject2::~GroupCommandObject2(v49);
}
operator delete(*((void **)this + 180));
}
std::__vector_base::~__vector_base((char **)this + 177);
std::__vector_base::~__vector_base((char **)this + 174);
std::__vector_base::~__vector_base((char **)this + 171);
v50 = *((_DWORD *)this + 168);
if ( v50 )
{
while ( 1 )
{
v51 = *((_DWORD *)this + 169);
if ( v50 == v51 )
break;
*((_DWORD *)this + 169) = v51 - 56;
std::__vector_base::~__vector_base((char **)(v51 - 12));
}
operator delete(*((void **)this + 168));
}
std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)this + 652);
std::__tree>::destroy((int)this + 640, *((_DWORD **)this + 161));
std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)this + 620);
std::vector::~vector((void **)this + 152);
sub_5CC4B0(*((char ****)this + 148));
v52 = *((void **)this + 146);
*((_DWORD *)this + 146) = 0;
if ( v52 )
operator delete(v52);
sub_5C4430(*((char ***)this + 143));
v53 = *((void **)this + 141);
*((_DWORD *)this + 141) = 0;
if ( v53 )
operator delete(v53);
std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)this + 544);
std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)this + 524);
std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)this + 500);
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::~__hash_table((int)this + 480);
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::~__hash_table((int)this + 460);
std::vector::~vector((void **)this + 112);
std::__vector_base::~__vector_base((char **)this + 109);
v54 = *((char **)this + 106);
if ( v54 )
{
while ( 1 )
{
v55 = *((char **)this + 107);
if ( v54 == v55 )
break;
*((_DWORD *)this + 107) = v55 - 4;
}
operator delete(v54);
}
for ( mm = *((_DWORD **)this + 103); mm; mm = v57 )
{
v57 = (_DWORD *)*mm;
operator delete(mm);
}
v58 = *((void **)this + 101);
*((_DWORD *)this + 101) = 0;
if ( v58 )
operator delete(v58);
v59 = *((char **)this + 98);
if ( v59 )
{
while ( 1 )
{
v60 = *((char **)this + 99);
if ( v59 == v60 )
break;
*((_DWORD *)this + 99) = v60 - 4;
}
operator delete(v59);
}
v61 = *((_DWORD *)this + 93);
if ( v61 )
{
while ( 1 )
{
v62 = *((_DWORD *)this + 94);
if ( v61 == v62 )
break;
*((_DWORD *)this + 94) = v62 - 32;
std::__vector_base::~__vector_base((char **)(v62 - 12));
}
operator delete(*((void **)this + 93));
}
v63 = *((_DWORD *)this + 90);
if ( v63 )
{
while ( 1 )
{
v64 = *((_DWORD *)this + 91);
if ( v63 == v64 )
break;
*((_DWORD *)this + 91) = v64 - 44;
std::__vector_base::~__vector_base((char **)(v64 - 12));
}
operator delete(*((void **)this + 90));
}
sub_5CC190(*((char ****)this + 87));
v65 = *((void **)this + 85);
*((_DWORD *)this + 85) = 0;
if ( v65 )
operator delete(v65);
v66 = *((_DWORD *)this + 82);
if ( v66 )
{
while ( 1 )
{
v67 = *((_DWORD *)this + 83);
if ( v66 == v67 )
break;
*((_DWORD *)this + 83) = v67 - 44;
std::__vector_base::~__vector_base((char **)(v67 - 12));
}
operator delete(*((void **)this + 82));
}
for ( nn = *((_DWORD **)this + 79); nn; nn = v69 )
{
v69 = (_DWORD *)*nn;
operator delete(nn);
}
v70 = *((void **)this + 77);
*((_DWORD *)this + 77) = 0;
if ( v70 )
operator delete(v70);
sub_5C4482(*((char ***)this + 74));
v71 = *((void **)this + 72);
*((_DWORD *)this + 72) = 0;
if ( v71 )
operator delete(v71);
std::__vector_base::~__vector_base((char **)this + 69);
cocos2d::CCNode::~CCNode(this);
}