// // CustomSongWidget::updateDownloadProgress from 0x1000fd440 to 0x1000fd4a8 (104 bytes) // // 3 xrefs: // > CustomSongWidget::startMonitorDownload @ 0x1000fcb74 // > CustomSongWidget::updateDownloadProgress @ 0x1000fd470 // > CustomSongWidget::downloadFailed @ 0x1000fd4cc // // 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 __fastcall CustomSongWidget::updateDownloadProgress(CustomSongWidget *a1, float a2) { MusicDownloadManager *v3; // x0 int DownloadProgress; // w0 bool v5; // zf cocos2d::SEL_SCHEDULE v6; // 0:x1.16 v3 = MusicDownloadManager::sharedState(); DownloadProgress = MusicDownloadManager::getDownloadProgress(v3, a1->m_songInfoObject->m_songID); if ( a1->m_songInfoObject ) v5 = DownloadProgress == -1; else v5 = 1; if ( v5 ) { v6.ptr = (void (__cdecl *)(float))CustomSongWidget::updateDownloadProgress; v6.adj = 0; cocos2d::CCNode::unschedule(a1, v6); CustomSongWidget::updateSongInfo(a1); } else { CustomSongWidget::updateProgressBar(a1, DownloadProgress); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source