// // Slider::updateBar from 0x5945c8 to 0x594664 (156 bytes) // // 3 xrefs: // > SliderTouchLogic::ccTouchMoved @ 0x594778 // > Slider::setValue @ 0x59482c // > @ 0xa51c8 // // 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 Slider::updateBar(Slider *a1) { SliderThumb *Thumb; // x0 float Value; // s0 float m_width; // s1 float v5; // s2 cocos2d::CCSprite *m_sliderBar; // x21 float m_height; // s3 void (__fastcall *setTextureRect)(cocos2d::CCSprite *__hidden, const cocos2d::CCRect *); // x20 cocos2d::CCRect v9; // [xsp+48h] [xbp+48h] BYREF Thumb = Slider::getThumb(a1); Value = SliderThumb::getValue(Thumb); m_width = a1->m_width; v5 = Value * m_width; if ( m_width <= (float)(Value * m_width) ) v5 = a1->m_width; m_sliderBar = a1->m_sliderBar; m_height = a1->m_height; setTextureRect = m_sliderBar->setTextureRect; cocos2d::CCRect::CCRect(&v9, 0.0, 0.0, v5, m_height); setTextureRect(m_sliderBar, &v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source