//
// cocos2d::extension::CCControlSlider::ccTouchBegan from 0x7a9bd4 to 0x7a9c44 (112 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCControlSlider::ccTouchBegan @ 0x7a9c4c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:01 +0000
//
int __fastcall cocos2d::extension::CCControlSlider::ccTouchBegan(cocos2d::CCTouch *a1)
{
int v2; // r6
float v3; // r2
float v4; // r3
_BYTE v6[8]; // [sp+4h] [bp-14h] BYREF
_BYTE v7[8]; // [sp+Ch] [bp-Ch] BYREF
if ( !(*(int (__fastcall **)(cocos2d::CCTouch *))(*(_DWORD *)a1 + 676))(a1) )
return 0;
if ( !(*(int (__fastcall **)(cocos2d::CCTouch *))(*(_DWORD *)a1 + 636))(a1) )
return 0;
v2 = (*(int (__fastcall **)(cocos2d::CCTouch *))(*(_DWORD *)a1 + 176))(a1);
if ( !v2 )
return 0;
cocos2d::extension::CCControlSlider::locationFromTouch((cocos2d::extension::CCControlSlider *)v6, a1);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, (const cocos2d::CCPoint *)v6);
cocos2d::extension::CCControlSlider::sliderBegan((_DWORD **)a1, (const cocos2d::CCPoint *)v7, v3, v4);
return v2;
}