//
// cocos2d::extension::CCControlSlider::ccTouchBegan from 0xd1063c to 0xd10714 (216 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCControlSlider::ccTouchBegan @ 0xd10718
// > ??> @ 0xcb350
// > ??> @ 0x150c510
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:07:02 +0000
//
__int64 __fastcall cocos2d::extension::CCControlSlider::ccTouchBegan(
cocos2d::extension::CCControlSlider *a1,
cocos2d::CCTouch *a2)
{
unsigned int v4; // w21
unsigned __int8 v6; // w0
__int64 v7; // [xsp+48h] [xbp+48h] BYREF
_BYTE v8[8]; // [xsp+50h] [xbp+50h] BYREF
if ( (*(unsigned __int8 (__fastcall **)(cocos2d::extension::CCControlSlider *))(*(_QWORD *)a1 + 1352LL))(a1)
&& (*(unsigned __int8 (__fastcall **)(cocos2d::extension::CCControlSlider *))(*(_QWORD *)a1 + 1272LL))(a1)
&& (v6 = (*(__int64 (__fastcall **)(cocos2d::extension::CCControlSlider *))(*(_QWORD *)a1 + 352LL))(a1),
(v4 = v6) != 0) )
{
cocos2d::extension::CCControlSlider::locationFromTouch(a1, a2, &v7);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, (const cocos2d::CCPoint *)&v7);
cocos2d::extension::CCControlSlider::sliderBegan((_QWORD **)a1, (const cocos2d::CCPoint *)v8);
}
else
{
return 0;
}
return v4;
}