//
// MusicDownloadManager::musicActionFinished from 0x140344630 to 0x1403446a1 (113 bytes)
//
// 4 xrefs:
// > MusicDownloadManager::onGetCustomContentURLCompleted @ 0x1403402cf
// > MusicDownloadManager::onDownloadMusicLibraryCompleted @ 0x140340d29
// > MusicDownloadManager::onDownloadSFXLibraryCompleted @ 0x140342d85
// > ??> @ 0x1406d587c
//
// 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::musicActionFinished(MusicDownloadManager *a1, GJMusicAction a2)
{
unsigned int i; // ebx
struct cocos2d::CCObject *v5; // rax
for ( i = 0; i < cocos2d::CCArray::count(a1->m_musicDownloadDelegates); ++i )
{
v5 = cocos2d::CCArray::objectAtIndex(a1->m_musicDownloadDelegates, i);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)&v5[5].m_unknown2 + 64LL))(
*(_QWORD *)&v5[5].m_unknown2,
(unsigned int)a2);
}
}