//
// CustomSFXWidget::onCancelDownload from 0x1005e3ad0 to 0x1005e3b0c (60 bytes)
//
// 1 xrefs:
// > CustomSFXWidget::init @ 0x1005e2fd8
//
// 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 *v2; // rax
v2 = MusicDownloadManager::sharedState();
MusicDownloadManager::stopDownload(v2, a1->m_sfxID);
((void (__fastcall *)(CustomSFXWidget *, _QWORD, __int64))a1->downloadSFXFailed)(a1, (unsigned int)a1->m_sfxID, 3);
}