//
// CustomSongWidget::updateDownloadProgress from 0x3df9e8 to 0x3dfa38 (80 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 CustomSongWidget::updateDownloadProgress(CustomSongWidget *a1, float a2)
{
MusicDownloadManager *v3; // r0
int DownloadProgress; // r0
v3 = MusicDownloadManager::sharedState();
DownloadProgress = MusicDownloadManager::getDownloadProgress(v3, a1->m_songInfoObject->m_songID);
if ( a1->m_songInfoObject && DownloadProgress != -1 )
{
CustomSongWidget::updateProgressBar(a1, DownloadProgress);
}
else
{
cocos2d::CCNode::unschedule(a1, (cocos2d::SEL_SCHEDULE)(unsigned int)CustomSongWidget::updateDownloadProgress);
CustomSongWidget::updateSongInfo(a1);
}
}