//
// cocos2d::extension::CCControlSwitch::ccTouchMoved from 0x18000cc30 to 0x18000ccd9 (169 bytes)
//
// 3 xrefs:
// > ??> @ 0x180028c70
// > ??> @ 0x180032408
// > ??> @ 0x18004bcb4
//
// 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:38 +0000
//
void __fastcall cocos2d::extension::CCControlSwitch::ccTouchMoved(
cocos2d::extension::CCControlSwitch *this,
struct cocos2d::CCTouch *a2,
struct cocos2d::CCEvent *a3)
{
__int64 v4; // rax
__int64 v5; // rax
float *v6; // rcx
float v7; // xmm1_4
float v8; // xmm0_4
float v9; // [rsp+30h] [rbp+8h] BYREF
char v10; // [rsp+48h] [rbp+20h] BYREF
cocos2d::CCTouch::getLocation(a2);
v4 = cocos2d::CCNode::convertToNodeSpace((char *)this - 320, &v10, &v9);
cocos2d::CCPoint::operator=(&v9, v4);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v10, v9 - *((float *)this + 40), 0.0);
cocos2d::CCPoint::operator=(&v9, v5);
v6 = *((float **)this + 19);
v7 = v9;
*((_BYTE *)this + 164) = 1;
v8 = v6[154];
if ( v8 < v7 )
v8 = fminf(v6[153], v7);
v6[152] = v8;
sub_18000C1C0((__int64)v6);
}