//
// cocos2d::extension::CCControlSlider::ccTouchMoved from 0x18000a6a0 to 0x18000a756 (182 bytes)
//
// 3 xrefs:
// > ??> @ 0x180028038
// > ??> @ 0x180032408
// > ??> @ 0x18004ba8c
//
// This function is hookable on this platform (idp: pc, 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 12:15:37 +0000
//
void __fastcall cocos2d::extension::CCControlSlider::ccTouchMoved(
cocos2d::extension::CCControlSlider *this,
struct cocos2d::CCTouch *a2,
struct cocos2d::CCEvent *a3)
{
__int64 v4; // rax
float *v5; // rax
__int64 v6; // rax
float v7; // [rsp+30h] [rbp+8h] BYREF
char v8; // [rsp+48h] [rbp+20h] BYREF
cocos2d::CCTouch::getLocation(a2);
v4 = cocos2d::CCNode::convertToNodeSpace((char *)this - 320, &v8, &v7);
cocos2d::CCPoint::operator=(&v7, v4);
if ( v7 >= 0.0 )
{
v5 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 24) + 320LL))(*((_QWORD *)this + 24));
if ( v7 > *v5 )
v7 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 24) + 320LL))(*((_QWORD *)this + 24));
}
else
{
v7 = 0.0;
}
v6 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, (const struct cocos2d::CCPoint *)&v7);
cocos2d::extension::CCControlSlider::sliderMoved((char *)this - 320, v6);
}