//
// MusicDownloadManager::downloadSongStarted from 0x14033e9a0 to 0x14033ea16 (118 bytes)
//
// 3 xrefs:
// > MusicDownloadManager::downloadSong @ 0x14033ea92
// > MusicDownloadManager::downloadCustomSong @ 0x14034037f
// > ??> @ 0x1406d5684
//
// 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; // ebx
__int64 v5; // rcx
for ( i = 0; i < cocos2d::CCArray::count(a1->m_musicDownloadDelegates); ++i )
{
v5 = *(_QWORD *)&cocos2d::CCArray::objectAtIndex(a1->m_musicDownloadDelegates, i)[5].m_unknown2;
if ( v5 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 16LL))(v5, (unsigned int)a2);
}
}