//
// cocos2d::extension::CCControlSlider::sliderBegan from 0x18000ae50 to 0x18000aec2 (114 bytes)
//
// 3 xrefs:
// > cocos2d::extension::CCControlSlider::ccTouchBegan @ 0x18000abfe
// > ??> @ 0x18002fdf8
// > ??> @ 0x180049be8
//
// 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
//
__int64 __fastcall cocos2d::extension::CCControlSlider::sliderBegan(_QWORD *a1, const struct cocos2d::CCPoint *a2)
{
const struct cocos2d::CCPoint *v2; // rdi
__int64 v4; // rbx
__int64 v5; // rax
char v7; // [rsp+30h] [rbp+8h] BYREF
v2 = a2;
LOBYTE(a2) = 1;
(*(void (__fastcall **)(_QWORD *, const struct cocos2d::CCPoint *))(*a1 + 1032LL))(a1, a2);
(**(void (__fastcall ***)(__int64, void *))(a1[62] + 320LL))(a1[62] + 320LL, &unk_1800234AC);
v4 = *a1;
v5 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v7, v2);
cocos2d::extension::CCControlSlider::valueForLocation(a1, v5);
return (*(__int64 (__fastcall **)(_QWORD *))(v4 + 1112))(a1);
}