//
// CustomSFXWidget::onCancelDownload from 0x1006b6a80 to 0x1006b6abc (60 bytes)
//
// 1 xrefs:
// > CustomSFXWidget::init @ 0x1006b5aa8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:35:27 +0000
//
__int64 __fastcall CustomSFXWidget::onCancelDownload(unsigned int *a1)
{
__int64 v1; // rax
v1 = MusicDownloadManager::sharedState();
MusicDownloadManager::stopDownload(v1);
return (*(__int64 (__fastcall **)(unsigned int *, _QWORD, __int64))(*(_QWORD *)a1 + 904LL))(a1, a1[124], 3);
}