//
// MusicDownloadManager::songStateChanged from 0x14033d570 to 0x14033d5ca (90 bytes)
//
// 6 xrefs:
// > sub_140053B20 @ 0x140053b80
// > FindBPMLayer::onClose @ 0x14009beb1
// > CustomSongWidget::onSelect @ 0x1400caeaa
// > CustomSongWidget::onPlayback @ 0x1400cb262
// > SetupSongTriggerPopup::onPlayback @ 0x14045d9c0
// > ??> @ 0x1406d55e8
//
// 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; // ebx
struct cocos2d::CCObject *v3; // rax
for ( i = 0; i < cocos2d::CCArray::count(a1->m_musicDownloadDelegates); ++i )
{
v3 = cocos2d::CCArray::objectAtIndex(a1->m_musicDownloadDelegates, i);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&v3[5].m_unknown2 + 40LL))(*(_QWORD *)&v3[5].m_unknown2);
}
}