// // CustomSongWidget::updateProgressBar from 0x10061d5f0 to 0x10061d666 (118 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 __fastcall CustomSongWidget::updateProgressBar(CustomSongWidget *a1, int a2) { __m128 v2; // xmm2 int v3; // eax cocos2d::CCSprite *m_sliderBar; // rbx _BYTE v5[32]; // [rsp+0h] [rbp-20h] BYREF v3 = 0; if ( a2 > 0 ) v3 = a2; m_sliderBar = a1->m_sliderBar; v2.f32[0] = fminf( (float)((float)v3 / 100.0) * (float)(a1->m_sliderGroove->m_obRect.size.width + -4.0), a1->m_sliderGroove->m_obRect.size.width + -4.0); sub_10028CC00((__int64)v5, 0.0, 0.0, v2, (__m128)0x41000000u); ((void (__fastcall *)(cocos2d::CCSprite *, _BYTE *))m_sliderBar->setTextureRect)(m_sliderBar, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source