//
// CustomSFXWidget::onCancelDownload from 0x56dc0c to 0x56dc30 (36 bytes)
//
// 0 xrefs:
//
// 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 CustomSFXWidget::onCancelDownload(CustomSFXWidget *a1, cocos2d::CCObject *a2)
{
MusicDownloadManager *v3; // r0
v3 = MusicDownloadManager::sharedState();
MusicDownloadManager::stopDownload(v3, a1->m_sfxID);
a1->downloadSFXFailed(a1, a1->m_sfxID, DownloadCancelled);
}