//
// UILayer::ccTouchMoved from 0x1004c9c20 to 0x1004c9d08 (232 bytes)
//
// 2 xrefs:
// > sub_1004C9D10 @ 0x1004c9d1c
// > ??> @ 0x100950b70
//
// 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 __fastcall UILayer::ccTouchMoved(UILayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
double v3; // xmm1_8
int m_nId; // r14d
unsigned int v5; // r12d
bool v6; // al
__int64 v7; // [rsp-48h] [rbp-48h] BYREF
cocos2d::CCTouch *v8; // [rsp-40h] [rbp-40h]
double v9[7]; // [rsp-38h] [rbp-38h] BYREF
if ( a1->m_inPlatformer )
{
cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v9);
m_nId = a2->m_nId;
if ( a1->m_dualMode )
{
v8 = a2;
v5 = 0;
do
{
sub_1007200C0(a1->m_uiNodes, v5);
sub_10028CC60(&v7, v9);
v6 = UILayer::processUINodeTouch(a1, Moved, m_nId, *(cocos2d::CCPoint *)&v8->m_timestamp, (GJUINode *)&v7, v3);
if ( v5 > 2 )
break;
++v5;
}
while ( !v6 );
}
else
{
sub_1007200C0(a1->m_uiNodes, 0);
sub_10028CC60(&v7, v9);
UILayer::processUINodeTouch(a1, Moved, m_nId, *(cocos2d::CCPoint *)&a2->m_timestamp, (GJUINode *)&v7, v3);
}
}
}