// // CustomSongWidget::updateProgressBar from 0x3ddd70 to 0x3dddea (122 bytes) // // 3 xrefs: // > CustomSongWidget::startMonitorDownload @ 0x3dddfc // > CustomSongWidget::init @ 0x3df710 // > CustomSongWidget::updateDownloadProgress @ 0x3dfa34 // // 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::updateProgressBar(CustomSongWidget *a1, int a2) { cocos2d::CCSprite *m_sliderBar; // r6 cocos2d::CCSprite *m_sliderGroove; // r3 float v4; // s14 void (__fastcall *setTextureRect)(cocos2d::CCSprite *__hidden, const cocos2d::CCRect *); // r7 float v6; // r3 cocos2d::CCRect v7; // [sp+Ch] [bp-18h] BYREF m_sliderBar = a1->m_sliderBar; m_sliderGroove = a1->m_sliderGroove; v4 = m_sliderGroove->m_obRect.size.width - 4.0; setTextureRect = m_sliderBar->setTextureRect; if ( v4 > (float)(v4 * (float)((float)(a2 & ~(a2 >> 31)) / 100.0)) ) v6 = v4 * (float)((float)(a2 & ~(a2 >> 31)) / 100.0); else v6 = m_sliderGroove->m_obRect.size.width - 4.0; cocos2d::CCRect::CCRect(&v7, 0.0, 0.0, v6, 8.0); setTextureRect(m_sliderBar, &v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source