//
// MusicDownloadManager::musicActionFinished from 0x82d89c to 0x82d904 (104 bytes)
//
// 4 xrefs:
// > MusicDownloadManager::onGetCustomContentURLCompleted @ 0x82da38
// > MusicDownloadManager::onDownloadSFXLibraryCompleted @ 0x8315e8
// > MusicDownloadManager::onDownloadMusicLibraryCompleted @ 0x83a204
// > ??> @ 0xa8c48
//
// 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 v4; // w19
__int64 v5; // x0
bool v6; // cf
unsigned int v7; // w1
v4 = 0;
while ( 1 )
{
v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a1->m_musicDownloadDelegates);
v7 = v4++;
if ( v6 )
break;
v5 = cocos2d::CCArray::objectAtIndex(a1->m_musicDownloadDelegates, v7);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v5 + 320) + 64LL))(*(_QWORD *)(v5 + 320), (unsigned int)a2);
}
}