//
// Slider::enableSlider from 0x2f59e0 to 0x2f5a40 (96 bytes)
//
// 1 xrefs:
// > MusicBrowser::update @ 0x581412
//
// 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::enableSlider(Slider *a1)
{
cocos2d::CCNode *v2; // r0
if ( !a1->m_enabled )
{
a1->m_enabled = 1;
((void (__fastcall *)(SliderTouchLogic *))a1->m_touchLogic->setTouchEnabled)(a1->m_touchLogic);
a1->m_sliderBar->setColor(a1->m_sliderBar, (const cocos2d::ccColor3B *)&unk_9A9A18);
a1->m_groove->setColor(a1->m_groove, (const cocos2d::ccColor3B *)&unk_9A9A18);
v2 = a1->m_touchLogic->m_thumb->getNormalImage(a1->m_touchLogic->m_thumb);
if ( v2 )
((void (__fastcall *)(cocos2d::CCNode *, void *))v2->__vftable[1].getTag)(v2, &unk_9A9A18);
}
}