// // Slider::disableSlider from 0x2f5c00 to 0x2f5c86 (134 bytes) // // 1 xrefs: // > MusicBrowser::update @ 0x5814b6 // // 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::disableSlider(Slider *a1) { cocos2d::CCSprite *m_sliderBar; // r0 cocos2d::CCNode *v3; // r0 Slider *v4; // [sp+0h] [bp-8h] BYREF v4 = a1; if ( a1->m_enabled ) { a1->m_enabled = 0; ((void (__fastcall *)(SliderTouchLogic *))a1->m_touchLogic->setTouchEnabled)(a1->m_touchLogic); Slider::setValue(a1, 0.0); m_sliderBar = a1->m_sliderBar; LOWORD(v4) = -26986; BYTE2(v4) = -106; m_sliderBar->setColor(m_sliderBar, (const cocos2d::ccColor3B *)&v4); a1->m_groove->setColor(a1->m_groove, (const cocos2d::ccColor3B *)&v4); v3 = a1->m_touchLogic->m_thumb->getNormalImage(a1->m_touchLogic->m_thumb); if ( v3 ) ((void (__fastcall *)(cocos2d::CCNode *, Slider **))v3->__vftable[1].getTag)(v3, &v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source