//
// CustomSFXWidget::updateDownloadProgress from 0x56f068 to 0x56f0b6 (78 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void CustomSFXWidget::updateDownloadProgress(CustomSFXWidget *a1, float a2)
{
MusicDownloadManager *v3; // r0
int SFXDownloadProgress; // r0
v3 = MusicDownloadManager::sharedState();
SFXDownloadProgress = MusicDownloadManager::getSFXDownloadProgress(v3, a1->m_sfxObject->m_sfxID);
if ( a1->m_sfxObject && SFXDownloadProgress != -1 )
{
CustomSFXWidget::updateProgressBar(a1, SFXDownloadProgress);
}
else
{
cocos2d::CCNode::unschedule(a1, (cocos2d::SEL_SCHEDULE)(unsigned int)CustomSFXWidget::updateDownloadProgress);
CustomSFXWidget::updateSFXInfo(a1);
}
}