//
// UIPOptionsLayer::ccTouchMoved from 0x4a93e0 to 0x4a9470 (144 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'UIPOptionsLayer::ccTouchMoved @ 0x4a9478
//
// 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 UIPOptionsLayer::ccTouchMoved(UIPOptionsLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
cocos2d::CCPoint *p_m_touchPosition; // r1
cocos2d::CCNode *m_practiceNode; // r7
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r9
cocos2d::CCPoint v8; // [sp+4h] [bp+0h] BYREF
cocos2d::CCPoint v9; // [sp+Ch] [bp+8h] BYREF
cocos2d::CCPoint v10; // [sp+14h] [bp+10h] BYREF
cocos2d::CCPoint v11; // [sp+1Ch] [bp+18h] BYREF
cocos2d::CCTouch::getLocation(&v8, a2);
cocos2d::CCNode::convertToNodeSpace(&v9, a1, &v8);
if ( a1->m_touchID == a2->m_nId )
{
if ( cocos2d::ccpDistance(&v9, &a1->m_touchPosition) > 1.0 )
p_m_touchPosition = &v9;
else
p_m_touchPosition = &a1->m_touchPosition;
cocos2d::CCPoint::CCPoint(&v10, p_m_touchPosition);
m_practiceNode = a1->m_practiceNode;
setPosition = m_practiceNode->setPosition;
cocos2d::CCPoint::operator-(&v11, &v10, &a1->m_touchDelta);
setPosition(m_practiceNode, &v11);
}
}