//
// CustomSFXWidget::onCancelDownload from 0xb5d8b0 to 0xb5d8f0 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0xc82a8
// > CustomSFXWidget::init @ 0xb5f6b0
// > ??> @ 0x1545dc8
//
// This function is hookable on this platform (idp: arm, 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 13:02:10 +0000
//
__int64 __fastcall CustomSFXWidget::onCancelDownload(CustomSFXWidget *this, cocos2d::CCObject *a2)
{
MusicDownloadManager *v3; // x0
v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this);
MusicDownloadManager::stopDownload(v3, (const char *)*((unsigned int *)this + 124));
return (*(__int64 (__fastcall **)(CustomSFXWidget *, _QWORD, __int64))(*(_QWORD *)this + 904LL))(
this,
*((unsigned int *)this + 124),
3);
}