// // Slider::updateBar from 0x1002ef378 to 0x1002ef3e4 (108 bytes) // // 3 xrefs: // > SliderTouchLogic::ccTouchMoved @ 0x1002ef364 // > Slider::disableSlider @ 0x1002ef778 // > Slider::setValue @ 0x1002ef814 // // 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 Slider::updateBar(Slider *a1) { float Value; // s0 float m_width; // s1 float v4; // s0 float v5; // s2 cocos2d::CCSprite *m_sliderBar; // x20 float v7[4]; // [xsp+0h] [xbp-20h] BYREF Value = SliderThumb::getValue(a1->m_touchLogic->m_thumb); m_width = a1->m_width; v4 = Value * m_width; if ( m_width <= v4 ) v5 = a1->m_width; else v5 = v4; m_sliderBar = a1->m_sliderBar; sub_100022990(v7, 0.0, 0.0, v5, a1->m_height); ((void (__fastcall *)(cocos2d::CCSprite *, float *))m_sliderBar->setTextureRect)(m_sliderBar, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source