//
// cocos2d::extension::CCControlSlider::ccTouchBegan from 0x5a3ec4 to 0x5a3f34 (112 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCControlSlider::ccTouchBegan @ 0x5a3f3c
//
// 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
//
bool cocos2d::extension::CCControlSlider::ccTouchBegan(
cocos2d::extension::CCControlSlider *a1,
cocos2d::CCTouch *a2,
cocos2d::CCEvent *a3)
{
int v5; // r6
cocos2d::CCPoint v6; // r1
cocos2d::CCPoint v8; // [sp+4h] [bp-14h] BYREF
cocos2d::CCPoint v9; // [sp+Ch] [bp-Ch] BYREF
if ( ((int (__fastcall *)(cocos2d::extension::CCControlSlider *, cocos2d::CCTouch *, cocos2d::CCEvent *))a1->isTouchInside)(
a1,
a2,
a3)
&& ((int (__fastcall *)(cocos2d::extension::CCControlSlider *))a1->isEnabled)(a1)
&& (v5 = ((int (__fastcall *)(cocos2d::extension::CCControlSlider *))a1->isVisible)(a1)) != 0 )
{
cocos2d::extension::CCControlSlider::locationFromTouch(&v8, a1, a2);
cocos2d::CCPoint::CCPoint(&v9, &v8);
LODWORD(v6.x) = &v9;
cocos2d::extension::CCControlSlider::sliderBegan(a1, v6);
}
else
{
LOBYTE(v5) = 0;
}
return v5;
}