//
// cocos2d::extension::CCControlSwitch::ccTouchMoved from 0xaa0064 to 0xaa00f8 (148 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCControlSwitch::ccTouchMoved @ 0xaa00fc
// > ??> @ 0x2b3f8
// > ??> @ 0x11f7a18
//
// 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
//
void cocos2d::extension::CCControlSwitch::ccTouchMoved(
cocos2d::extension::CCControlSwitch *a1,
cocos2d::CCTouch *a2,
cocos2d::CCEvent *a3)
{
float v4; // s0
float v5; // s1
float v6; // s0
cocos2d::extension::CCControlSwitchSprite *v7; // x0
float v8; // [xsp+48h] [xbp+48h] BYREF
cocos2d::CCPoint v9; // [xsp+50h] [xbp+50h] BYREF
cocos2d::extension::CCControlSwitch::locationFromTouch(a1, a2);
cocos2d::CCPoint::CCPoint(&v9, v8 - *(float *)&a1[1].m_uID, 0.0);
cocos2d::CCPoint::operator=(&v8, v4, v5);
v6 = v8;
v7 = (cocos2d::extension::CCControlSwitchSprite *)a1[1].cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
LOBYTE(a1[1].m_nLuaID) = 1;
cocos2d::extension::CCControlSwitchSprite::setSliderXPosition(v7, v6);
}