//
// Slider::enableSlider from 0x100304c70 to 0x100304d0e (158 bytes)
//
// 1 xrefs:
// > MusicBrowser::update @ 0x10060f01c
//
// 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 __fastcall Slider::enableSlider(Slider *a1)
{
__int64 v2; // rax
if ( !a1->m_enabled )
{
a1->m_enabled = 1;
((void (__fastcall *)(SliderTouchLogic *, __int64))a1->m_touchLogic->setTouchEnabled)(a1->m_touchLogic, 1);
((void (__fastcall *)(cocos2d::CCSprite *, void *))a1->m_sliderBar->setColor)(a1->m_sliderBar, &unk_1008196A0);
((void (__fastcall *)(cocos2d::CCSprite *, void *))a1->m_groove->setColor)(a1->m_groove, &unk_1008196A0);
v2 = ((__int64 (__fastcall *)(SliderThumb *))a1->m_touchLogic->m_thumb->getNormalImage)(a1->m_touchLogic->m_thumb);
if ( v2 )
(*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v2 + 944LL))(v2, &unk_1008196A0);
}
}