//
// MusicDownloadManager::clearSortedMusicCache from 0x56d37a to 0x56d3b6 (60 bytes)
//
// 2 xrefs:
// > MusicDownloadManager::~MusicDownloadManager @ 0x56d448
// > MusicDownloadManager::parseMusicLibrary @ 0x5788e6
//
// 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
//
void __fastcall MusicDownloadManager::clearSortedMusicCache(MusicDownloadManager *this)
{
char *v1; // r6
char *i; // r5
v1 = (char *)this + 360;
for ( i = *((char **)this + 89); i != v1; i = (char *)std::__tree_next *>(i) )
cocos2d::CCObject::release(*((cocos2d::CCObject **)i + 5));
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(int)this + 356,
*((_DWORD **)this + 90));
*((_DWORD *)this + 89) = i;
*((_DWORD *)this + 91) = 0;
*((_DWORD *)this + 90) = 0;
}