//
// CustomSFXWidget::onCancelDownload from 0x1002f09ec to 0x1002f0a28 (60 bytes)
//
// 1 xrefs:
// > CustomSFXWidget::init @ 0x1002f015c
//
// 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 CustomSFXWidget::onCancelDownload(CustomSFXWidget *a1, cocos2d::CCObject *a2)
{
MusicDownloadManager *v3; // x0
v3 = MusicDownloadManager::sharedState();
MusicDownloadManager::stopDownload(v3, a1->m_sfxID);
((void (__fastcall *)(CustomSFXWidget *, _QWORD, __int64))a1->downloadSFXFailed)(a1, (unsigned int)a1->m_sfxID, 3);
}