//
// CustomSFXWidget::updateDownloadProgress from 0x6a6e58 to 0x6a6ea6 (78 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:56:31 +0000
//
int __fastcall CustomSFXWidget::updateDownloadProgress(CustomSFXWidget *this, float a2)
{
MusicDownloadManager *v3; // r0
int SFXDownloadProgress; // r0
v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this);
SFXDownloadProgress = MusicDownloadManager::getSFXDownloadProgress(v3, *(const char **)(*((_DWORD *)this + 68) + 52));
if ( *((_DWORD *)this + 68) && SFXDownloadProgress != -1 )
return CustomSFXWidget::updateProgressBar(this, SFXDownloadProgress);
cocos2d::CCNode::unschedule(this, CustomSFXWidget::updateDownloadProgress, 0);
return CustomSFXWidget::updateSFXInfo(this);
}