// // CustomSFXWidget::updateProgressBar from 0xa31b88 to 0xa31c38 (176 bytes) // // 4 xrefs: // > CustomSFXWidget::startMonitorDownload @ 0xa31c50 // > CustomSFXWidget::init @ 0xa33024 // > CustomSFXWidget::updateDownloadProgress @ 0xa33894 // > @ 0x31c50 // // 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::updateProgressBar(CustomSFXWidget *a1, int a2) { float v2; // s0 float v3; // s2 cocos2d::CCSprite *m_progressBarSprite; // x20 void (__fastcall *setTextureRect)(cocos2d::CCSprite *__hidden, const cocos2d::CCRect *); // x21 cocos2d::CCRect v6; // [xsp+48h] [xbp+48h] BYREF if ( a2 < 0 ) a2 = 0; v2 = a1->m_progressOutlineSprite->m_obRect.size.width - 4.0; v3 = (float)((float)a2 / 100.0) * v2; if ( v2 <= v3 ) v3 = a1->m_progressOutlineSprite->m_obRect.size.width - 4.0; m_progressBarSprite = a1->m_progressBarSprite; setTextureRect = m_progressBarSprite->setTextureRect; cocos2d::CCRect::CCRect(&v6, 0.0, 0.0, v3, 8.0); setTextureRect(m_progressBarSprite, &v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source