// // Slider::disableSlider from 0x594830 to 0x594920 (240 bytes) // // 2 xrefs: // > MusicBrowser::update @ 0xa5a2fc // > @ 0xc3de0 // // 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) { SliderTouchLogic *m_touchLogic; // x2 cocos2d::CCSprite *m_sliderBar; // x3 cocos2d::CCNode *v4; // x0 _BYTE v5[8]; // [xsp+30h] [xbp+30h] BYREF if ( a1->m_enabled ) { m_touchLogic = a1->m_touchLogic; a1->m_enabled = 0; m_touchLogic->setTouchEnabled(m_touchLogic, 0); Slider::setValue(a1, 0.0); m_sliderBar = a1->m_sliderBar; memset(v5, 150, 3); m_sliderBar->setColor(m_sliderBar, (const cocos2d::ccColor3B *)v5); a1->m_groove->setColor(a1->m_groove, (const cocos2d::ccColor3B *)v5); v4 = a1->m_touchLogic->m_thumb->getNormalImage(a1->m_touchLogic->m_thumb); if ( v4 ) ((void (__fastcall *)(cocos2d::CCNode *, _BYTE *))v4->__vftable[1].getTag)(v4, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source