//
// MusicDownloadManager::~MusicDownloadManager from 0x56d3b8 to 0x56d4f2 (314 bytes)
//
// 1 xrefs:
// > MusicDownloadManager::~MusicDownloadManager @ 0x56d500
//
// 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:52:34 +0000
//
// Alternative name is '_ZN20MusicDownloadManagerD1Ev'
void __fastcall MusicDownloadManager::~MusicDownloadManager(MusicDownloadManager *this)
{
cocos2d::CCObject *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
int v13; // r5
int v14; // r0
void **v15; // r0
char *v16; // r0
char *v17; // r3
*((_DWORD *)this + 66) = &off_CB1140;
*(_DWORD *)this = &off_CB0F78;
v2 = *((cocos2d::CCObject **)this + 67);
dword_D2C250 = 0;
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((cocos2d::CCObject **)this + 69);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 68);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 77);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 78);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *((cocos2d::CCObject **)this + 79);
if ( v7 )
cocos2d::CCObject::release(v7);
v8 = *((cocos2d::CCObject **)this + 70);
if ( v8 )
cocos2d::CCObject::release(v8);
v9 = *((cocos2d::CCObject **)this + 83);
if ( v9 )
cocos2d::CCObject::release(v9);
v10 = *((cocos2d::CCObject **)this + 84);
if ( v10 )
cocos2d::CCObject::release(v10);
v11 = *((cocos2d::CCObject **)this + 85);
if ( v11 )
cocos2d::CCObject::release(v11);
v12 = *((cocos2d::CCObject **)this + 133);
if ( v12 )
cocos2d::CCObject::release(v12);
MusicDownloadManager::clearSortedMusicCache(this);
v13 = *((_DWORD *)this + 135);
if ( v13 )
{
while ( 1 )
{
v14 = *((_DWORD *)this + 136);
if ( v13 == v14 )
break;
v15 = (void **)(v14 - 40);
*((_DWORD *)this + 136) = v15;
NewsItem::~NewsItem(v15);
}
operator delete(*((void **)this + 135));
}
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::~__tree((int)this + 520);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::~__tree((int)this + 508);
std::__vector_base::~__vector_base((char **)this + 124);
v16 = *((char **)this + 121);
if ( v16 )
{
while ( 1 )
{
v17 = *((char **)this + 122);
if ( v16 == v17 )
break;
*((_DWORD *)this + 122) = v17 - 8;
}
operator delete(v16);
}
std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)this + 464);
std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)this + 444);
std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)this + 424);
std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)this + 404);
std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)this + 384);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(int)this + 356,
*((_DWORD **)this + 90));
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(int)this + 344,
*((_DWORD **)this + 87));
std::string::~string((int)this + 288);
cocos2d::CCNode::~CCNode(this);
}