//
// EditorUI::~EditorUI from 0x485844 to 0x485998 (340 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'EditorUI::~EditorUI @ 0x4859a0
// > EditorUI::~EditorUI @ 0x4859a8
//
// 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:49:25 +0000
//
// Alternative name is '_ZN8EditorUID1Ev'
void __fastcall EditorUI::~EditorUI(EditorUI *this)
{
MusicDownloadManager *v2; // r0
cocos2d::CCObject *v3; // r0
cocos2d::CCObject *v4; // r0
cocos2d::CCObject *v5; // r0
cocos2d::CCObject *v6; // r0
cocos2d::CCObject *v7; // r0
cocos2d::CCObject *v8; // r0
cocos2d::CCObject *v9; // r0
cocos2d::CCObject *v10; // r0
cocos2d::CCObject *v11; // r0
cocos2d::CCObject *v12; // r0
cocos2d::CCObject *v13; // r0
cocos2d::CCObject *v14; // r0
cocos2d::CCObject *v15; // r0
cocos2d::CCObject *v16; // r0
cocos2d::CCObject *v17; // r0
_DWORD *i; // r5
_DWORD *v19; // r6
void *v20; // r0
*(_DWORD *)this = &off_C95160;
*((_DWORD *)this + 66) = &off_C95428;
*((_DWORD *)this + 67) = &off_C95460;
*((_DWORD *)this + 68) = &off_C9546C;
*((_DWORD *)this + 69) = &off_C9547C;
*((_DWORD *)this + 70) = &off_C95490;
*((_DWORD *)this + 79) = &off_C954A8;
*((_DWORD *)this + 80) = &off_C954B4;
*((_DWORD *)this + 81) = &off_C954C0;
*((_DWORD *)this + 82) = &off_C954D4;
*((_DWORD *)this + 83) = &off_C954F8;
*((_DWORD *)this + 84) = &off_C95540;
*((_DWORD *)this + 85) = &off_C95578;
v2 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this);
MusicDownloadManager::removeMusicDownloadDelegate(v2, (EditorUI *)((char *)this + 336));
v3 = *((cocos2d::CCObject **)this + 167);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 226);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 224);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 225);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *((cocos2d::CCObject **)this + 204);
if ( v7 )
cocos2d::CCObject::release(v7);
v8 = *((cocos2d::CCObject **)this + 206);
if ( v8 )
cocos2d::CCObject::release(v8);
v9 = *((cocos2d::CCObject **)this + 152);
if ( v9 )
cocos2d::CCObject::release(v9);
v10 = *((cocos2d::CCObject **)this + 144);
if ( v10 )
cocos2d::CCObject::release(v10);
v11 = *((cocos2d::CCObject **)this + 148);
if ( v11 )
cocos2d::CCObject::release(v11);
v12 = *((cocos2d::CCObject **)this + 149);
if ( v12 )
cocos2d::CCObject::release(v12);
v13 = *((cocos2d::CCObject **)this + 164);
if ( v13 )
cocos2d::CCObject::release(v13);
v14 = *((cocos2d::CCObject **)this + 117);
if ( v14 )
cocos2d::CCObject::release(v14);
v15 = *((cocos2d::CCObject **)this + 169);
if ( v15 )
cocos2d::CCObject::release(v15);
v16 = *((cocos2d::CCObject **)this + 267);
if ( v16 )
cocos2d::CCObject::release(v16);
v17 = *((cocos2d::CCObject **)this + 268);
if ( v17 )
cocos2d::CCObject::release(v17);
for ( i = *((_DWORD **)this + 231); i; i = v19 )
{
v19 = (_DWORD *)*i;
std::string::~string((int)(i + 3));
operator delete(i);
}
v20 = *((void **)this + 229);
*((_DWORD *)this + 229) = 0;
if ( v20 )
operator delete(v20);
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::~__hash_table((int)this + 436);
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::~__hash_table((int)this + 344);
cocos2d::CCLayer::~CCLayer(this);
}