//
// cocos2d::extension::CCControlSlider::sliderBegan from 0x5a3e60 to 0x5a3ebc (92 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCControlSlider::ccTouchBegan @ 0x5a3f18
//
// 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 cocos2d::extension::CCControlSlider::sliderBegan(cocos2d::extension::CCControlSlider *a1, cocos2d::CCPoint a2)
{
float x; // r8
void (__fastcall *setValue)(cocos2d::extension::CCControlSlider *__hidden, float); // r7
cocos2d::CCPoint v5; // r1
float v6; // r0
cocos2d::CCPoint v7; // [sp+4h] [bp-Ch] BYREF
v7 = a2;
x = a2.x;
a1->setSelected(a1, 1);
(*(void (__fastcall **)(unsigned int, void *))(*(_DWORD *)a1[1].m_uAutoReleaseCount + 472))(
a1[1].m_uAutoReleaseCount,
&unk_9AE05C);
setValue = a1->setValue;
cocos2d::CCPoint::CCPoint(&v7, (const cocos2d::CCPoint *)LODWORD(x));
LODWORD(v5.x) = &v7;
v6 = cocos2d::extension::CCControlSlider::valueForLocation(a1, v5);
((void (__fastcall *)(cocos2d::extension::CCControlSlider *, _DWORD))setValue)(a1, LODWORD(v6));
}