//
// CustomSongWidget::onCancelDownload from 0x867e8c to 0x867ecc (64 bytes)
//
// 3 xrefs:
// > ??> @ 0xc3388
// > CustomSongWidget::init @ 0x86b268
// > ??> @ 0x1545b30
//
// 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 12:55:41 +0000
//
__int64 __fastcall CustomSongWidget::onCancelDownload(CustomSongWidget *this, cocos2d::CCObject *a2)
{
MusicDownloadManager *v3; // x0
v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this);
MusicDownloadManager::stopDownload(v3, *((_DWORD *)this + 126));
return (*(__int64 (__fastcall **)(CustomSongWidget *, _QWORD, __int64))(*(_QWORD *)this + 928LL))(
this,
*((unsigned int *)this + 126),
3);
}