// // Slider::updateBar from 0x140071cc0 to 0x140071d3b (123 bytes) // // 2 xrefs: // > SliderTouchLogic::ccTouchMoved @ 0x1400716f3 // > @ 0x1406c62ac // // 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) { float Value; // xmm0_4 float m_width; // xmm3_4 cocos2d::CCSprite_vtbl *v4; // rbx const cocos2d::CCRect *v5; // rax cocos2d::CCRect v6; // [rsp+30h] [rbp-18h] BYREF Value = SliderThumb::getValue(a1->m_touchLogic->m_thumb); m_width = a1->m_width; if ( (float)(m_width * Value) <= m_width ) m_width = a1->m_width * Value; v4 = a1->m_sliderBar->__vftable; v5 = (const cocos2d::CCRect *)cocos2d::CCRect::CCRect(&v6, 0.0, 0.0, m_width, a1->m_height); v4->setTextureRect_0(a1->m_sliderBar, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source