//
// CustomSongWidget::updateDownloadProgress from 0x4e4fa0 to 0x4e4ff0 (80 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:51:04 +0000
//
int __fastcall CustomSongWidget::updateDownloadProgress(CustomSongWidget *this, float a2)
{
MusicDownloadManager *v3; // r0
int DownloadProgress; // r0
v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this);
DownloadProgress = MusicDownloadManager::getDownloadProgress(v3, *(_DWORD *)(*((_DWORD *)this + 68) + 264));
if ( *((_DWORD *)this + 68) && DownloadProgress != -1 )
return CustomSongWidget::updateProgressBar(this, DownloadProgress);
cocos2d::CCNode::unschedule(this, CustomSongWidget::updateDownloadProgress, 0);
return CustomSongWidget::updateSongInfo(this);
}