//
// EditorUI::~EditorUI from 0x7c05f4 to 0x7c07dc (488 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'EditorUI::~EditorUI @ 0x7c07e0
// > EditorUI::~EditorUI @ 0x7c07f4
// > ??> @ 0x45c40
// > ??> @ 0xe82a0
// > ??> @ 0x1436d78
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:54:06 +0000
//
// Alternative name is '_ZN8EditorUID1Ev'
void __fastcall EditorUI::~EditorUI(EditorUI *this)
{
MusicDownloadManager *v2; // x0
cocos2d::CCObject *v3; // x0
cocos2d::CCObject *v4; // x0
cocos2d::CCObject *v5; // x0
cocos2d::CCObject *v6; // x0
cocos2d::CCObject *v7; // x0
cocos2d::CCObject *v8; // x0
cocos2d::CCObject *v9; // x0
cocos2d::CCObject *v10; // x0
cocos2d::CCObject *v11; // x0
cocos2d::CCObject *v12; // x0
cocos2d::CCObject *v13; // x0
cocos2d::CCObject *v14; // x0
cocos2d::CCObject *v15; // x0
cocos2d::CCObject *v16; // x0
cocos2d::CCObject *v17; // x0
void **v18; // x19
void **v19; // x21
void **v20; // x0
void *v21; // x0
_QWORD *v22; // x0
_QWORD *v23; // x19
void *v24; // x0
_QWORD *v25; // x0
_QWORD *v26; // x19
void *v27; // x0
*(_QWORD *)this = &off_1436D70;
*((_QWORD *)this + 40) = off_1437300;
*((_QWORD *)this + 41) = &off_1437370;
*((_QWORD *)this + 42) = off_1437388;
*((_QWORD *)this + 43) = off_14373A8;
*((_QWORD *)this + 44) = off_14373D0;
*((_QWORD *)this + 51) = &off_1437400;
*((_QWORD *)this + 52) = &off_1437418;
*((_QWORD *)this + 53) = &off_1437430;
*((_QWORD *)this + 54) = off_1437458;
*((_QWORD *)this + 55) = off_14374A0;
*((_QWORD *)this + 56) = &off_1437530;
*((_QWORD *)this + 57) = &off_14375A0;
v2 = (MusicDownloadManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)&off_14375A0);
MusicDownloadManager::removeMusicDownloadDelegate(v2, (EditorUI *)((char *)this + 448));
v3 = *((cocos2d::CCObject **)this + 112);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 171);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 169);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 170);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *((cocos2d::CCObject **)this + 149);
if ( v7 )
cocos2d::CCObject::release(v7);
v8 = *((cocos2d::CCObject **)this + 151);
if ( v8 )
cocos2d::CCObject::release(v8);
v9 = *((cocos2d::CCObject **)this + 102);
if ( v9 )
cocos2d::CCObject::release(v9);
v10 = *((cocos2d::CCObject **)this + 95);
if ( v10 )
cocos2d::CCObject::release(v10);
v11 = *((cocos2d::CCObject **)this + 98);
if ( v11 )
cocos2d::CCObject::release(v11);
v12 = *((cocos2d::CCObject **)this + 99);
if ( v12 )
cocos2d::CCObject::release(v12);
v13 = *((cocos2d::CCObject **)this + 110);
if ( v13 )
cocos2d::CCObject::release(v13);
v14 = *((cocos2d::CCObject **)this + 80);
if ( v14 )
cocos2d::CCObject::release(v14);
v15 = *((cocos2d::CCObject **)this + 114);
if ( v15 )
cocos2d::CCObject::release(v15);
v16 = *((cocos2d::CCObject **)this + 201);
if ( v16 )
cocos2d::CCObject::release(v16);
v17 = *((cocos2d::CCObject **)this + 202);
if ( v17 )
cocos2d::CCObject::release(v17);
v18 = *((void ***)this + 176);
if ( v18 )
{
do
{
v19 = (void **)*v18;
if ( ((_BYTE)v18[3] & 1) != 0 )
operator delete(v18[5]);
v20 = v18;
v18 = v19;
operator delete(v20);
}
while ( v19 );
}
v21 = *((void **)this + 174);
*((_QWORD *)this + 174) = 0;
if ( v21 )
operator delete(v21);
v22 = *((_QWORD **)this + 74);
if ( v22 )
{
do
{
v23 = (_QWORD *)*v22;
operator delete(v22);
v22 = v23;
}
while ( v23 );
}
v24 = *((void **)this + 72);
*((_QWORD *)this + 72) = 0;
if ( v24 )
operator delete(v24);
v25 = *((_QWORD **)this + 60);
if ( v25 )
{
do
{
v26 = (_QWORD *)*v25;
operator delete(v25);
v25 = v26;
}
while ( v26 );
}
v27 = *((void **)this + 58);
*((_QWORD *)this + 58) = 0;
if ( v27 )
operator delete(v27);
cocos2d::CCLayer::~CCLayer(this);
}