//
// MusicDownloadManager::songStateChanged from 0x100154194 to 0x1001541f0 (92 bytes)
//
// 5 xrefs:
// > FindBPMLayer::onClose @ 0x10007e43c
// > CustomSongWidget::onSelect @ 0x1000fabc8
// > CustomSongWidget::onPlayback @ 0x1000fadcc
// > sub_10013D644 @ 0x10013d670
// > SetupSongTriggerPopup::onPlayback @ 0x1001c362c
//
// 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 __fastcall MusicDownloadManager::songStateChanged(MusicDownloadManager *a1)
{
__int64 v2; // x20
__int64 v3; // x0
if ( (unsigned int)sub_10024A36C(a1->m_musicDownloadDelegates) )
{
v2 = 0;
do
{
v3 = sub_10024A388(a1->m_musicDownloadDelegates, v2);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 320) + 40LL))(*(_QWORD *)(v3 + 320));
v2 = (unsigned int)(v2 + 1);
}
while ( (unsigned int)v2 < (unsigned int)sub_10024A36C(a1->m_musicDownloadDelegates) );
}
}