// // CustomSongWidget::updateProgressBar from 0x1000fbc80 to 0x1000fbcf8 (120 bytes) // // 3 xrefs: // > CustomSongWidget::init @ 0x1000fa7f8 // > CustomSongWidget::startMonitorDownload @ 0x1000fcb5c // > CustomSongWidget::updateDownloadProgress @ 0x1000fd4a4 // // 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::updateProgressBar(CustomSongWidget *a1, int a2) { cocos2d::CCSprite *m_sliderBar; // x19 float v3; // s0 float v4; // s2 float v5[4]; // [xsp+0h] [xbp-20h] BYREF m_sliderBar = a1->m_sliderBar; v3 = a1->m_sliderGroove->m_obRect.size.width + -4.0; if ( v3 <= (float)((float)((float)(a2 & (unsigned int)~(a2 >> 31)) / 100.0) * v3) ) v4 = a1->m_sliderGroove->m_obRect.size.width + -4.0; else v4 = (float)((float)(a2 & (unsigned int)~(a2 >> 31)) / 100.0) * v3; sub_100022990(v5, 0.0, 0.0, v4, 8.0); ((void (__fastcall *)(cocos2d::CCSprite *, float *))m_sliderBar->setTextureRect)(m_sliderBar, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source