//
// cocos2d::extension::CCControlSlider::sliderBegan from 0xa9eb3c to 0xa9ebe0 (164 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCControlSlider::ccTouchBegan @ 0xa9ecac
// > ??> @ 0x76b18
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void cocos2d::extension::CCControlSlider::sliderBegan(cocos2d::extension::CCControlSlider *a1, cocos2d::CCPoint a2)
{
const cocos2d::CCPoint *v2; // x1
const cocos2d::CCPoint *v4; // x22
const cocos2d::CCPoint *v5; // x1
void (__fastcall *setValue)(cocos2d::extension::CCControlSlider *__hidden, float); // x22
float v7; // s0
cocos2d::CCPoint v8; // [xsp+30h] [xbp+30h] BYREF
cocos2d::CCPoint v9; // 0:s0.4,4:s1.4
v4 = v2;
((void (__fastcall *)(cocos2d::extension::CCControlSlider *, __int64, long double, long double))a1->setSelected)(
a1,
1,
*(long double *)&a2.x,
*(long double *)&a2.y);
(*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)&a1[1].m_uAutoReleaseCount + 944LL))(
*(_QWORD *)&a1[1].m_uAutoReleaseCount,
&unk_F16170);
v5 = v4;
setValue = a1->setValue;
cocos2d::CCPoint::CCPoint(&v8, v5);
v7 = cocos2d::extension::CCControlSlider::valueForLocation(a1, v9);
setValue(a1, v7);
}