//
// CustomSongWidget::onCancelDownload from 0x10061bd00 to 0x10061bd3c (60 bytes)
//
// 1 xrefs:
// > CustomSongWidget::init @ 0x10061ac8a
//
// 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 CustomSongWidget::onCancelDownload(CustomSongWidget *a1, cocos2d::CCObject *a2)
{
MusicDownloadManager *v2; // rax
v2 = MusicDownloadManager::sharedState();
MusicDownloadManager::stopDownload(v2, a1->m_customSongID);
((void (__fastcall *)(CustomSongWidget *, _QWORD, __int64))a1->downloadSongFailed)(
a1,
(unsigned int)a1->m_customSongID,
3);
}