//
// MusicDownloadManager::downloadSongStarted from 0x457f7c to 0x457fae (50 bytes)
//
// 2 xrefs:
// > MusicDownloadManager::downloadCustomSong @ 0x459c50
// > MusicDownloadManager::downloadSong @ 0x45b050
//
// 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::downloadSongStarted(MusicDownloadManager *a1, int a2)
{
unsigned int i; // r4
int v5; // r0
for ( i = 0; i < cocos2d::CCArray::count(a1->m_musicDownloadDelegates); ++i )
{
v5 = *(_DWORD *)(cocos2d::CCArray::objectAtIndex(a1->m_musicDownloadDelegates, i) + 264);
if ( v5 )
(*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 8))(v5, a2);
}
}