//
// MusicDownloadManager::removeMusicDownloadDelegate from 0x82926c to 0x8292e4 (120 bytes)
//
// 8 xrefs:
// > EditorUI::~EditorUI @ 0x6b6ee0
// > CustomSongWidget::~CustomSongWidget @ 0x74790c
// > SetupSongTriggerPopup::~SetupSongTriggerPopup @ 0x9a97d8
// > CustomSFXWidget::~CustomSFXWidget @ 0xa31598
// > MusicBrowser::~MusicBrowser @ 0xa59ee4
// > SFXBrowser::~SFXBrowser @ 0xa5cbf0
// > AudioAssetsBrowser::~AudioAssetsBrowser @ 0xa8ea3c
// > ??> @ 0x6da70
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void MusicDownloadManager::removeMusicDownloadDelegate(MusicDownloadManager *a1, MusicDownloadDelegate *a2)
{
unsigned int i; // w19
for ( i = 0; i < (unsigned int)cocos2d::CCArray::count(a1->m_musicDownloadDelegates); ++i )
{
if ( *(MusicDownloadDelegate **)(cocos2d::CCArray::objectAtIndex(a1->m_musicDownloadDelegates, i) + 320) == a2 )
{
cocos2d::CCArray::removeObjectAtIndex(a1->m_musicDownloadDelegates, i, 1);
return;
}
}
}