//
// CustomSFXWidget::onCancelDownload from 0xa315dc to 0xa3161c (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x97a10
// > CustomSFXWidget::init @ 0xa32b7c
// > ??> @ 0x122d2e8
//
// 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; // x0
v3 = MusicDownloadManager::sharedState();
MusicDownloadManager::stopDownload(v3, a1->m_sfxID);
a1->downloadSFXFailed(a1, a1->m_sfxID, DownloadCancelled);
}