//
// MusicDownloadManager::songStateChanged from 0x10058b510 to 0x10058b565 (85 bytes)
//
// 5 xrefs:
// > SetupSongTriggerPopup::onPlayback @ 0x1002d4102
// > sub_1003E7660 @ 0x1003e768d
// > FindBPMLayer::onClose @ 0x10050da91
// > CustomSongWidget::onSelect @ 0x10061be6b
// > CustomSongWidget::onPlayback @ 0x10061c116
//
// 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)
{
unsigned int v1; // r14d
__int64 v2; // rax
if ( (unsigned int)sub_100720070(a1->m_musicDownloadDelegates) )
{
v1 = 0;
do
{
v2 = sub_1007200C0(a1->m_musicDownloadDelegates, v1);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v2 + 320) + 40LL))(*(_QWORD *)(v2 + 320));
++v1;
}
while ( v1 < (unsigned int)sub_100720070(a1->m_musicDownloadDelegates) );
}
}