//
// MusicDownloadManager::songStateChanged from 0x457dfc to 0x457e28 (44 bytes)
//
// 5 xrefs:
// > sub_3053BE @ 0x3053d6
// > FindBPMLayer::onClose @ 0x308782
// > CustomSongWidget::onPlayback @ 0x3dd6f2
// > CustomSongWidget::onSelect @ 0x3df9e2
// > SetupSongTriggerPopup::onPlayback @ 0x524e7c
//
// 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::songStateChanged(MusicDownloadManager *a1)
{
unsigned int i; // r4
int v3; // r0
for ( i = 0; i < cocos2d::CCArray::count(a1->m_musicDownloadDelegates); ++i )
{
v3 = cocos2d::CCArray::objectAtIndex(a1->m_musicDownloadDelegates, i);
(*(void (__fastcall **)(_DWORD))(**(_DWORD **)(v3 + 264) + 20))(*(_DWORD *)(v3 + 264));
}
}