//
// CustomSongWidget::onCancelDownload from 0x7424f4 to 0x742534 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x93c18
// > CustomSongWidget::init @ 0x745ab0
// > ??> @ 0x122d0d0
//
// 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 CustomSongWidget::onCancelDownload(CustomSongWidget *a1, cocos2d::CCObject *a2)
{
MusicDownloadManager *v3; // x0
v3 = MusicDownloadManager::sharedState();
MusicDownloadManager::stopDownload(v3, a1->m_customSongID);
a1->downloadSongFailed(a1, a1->m_customSongID, DownloadCancelled);
}