//
// cocos2d::CCEGLViewProtocol::handleTouchesMove from 0x5e0d80 to 0x5e0e7e (254 bytes)
//
// 0 xrefs:
//
// 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::CCEGLViewProtocol::handleTouchesMove(
cocos2d::CCEGLViewProtocol *a1,
int a2,
int *a3,
float *a4,
float *a5,
double a6)
{
int v10; // r5
float v12; // s17
float v13; // s16
cocos2d::CCObject *v14; // r0
int v15; // r1
char *v16; // r3
cocos2d::CCTouch *v17; // [sp+Ch] [bp-48h]
cocos2d::CCSet v18; // [sp+14h] [bp-40h] BYREF
v10 = 0;
cocos2d::CCSet::CCSet(&v18);
while ( v10 < a2 )
{
v12 = *a4++;
v13 = *a5++;
v14 = cocos2d::CCDictionary::objectForKey(&stru_AC8F2C, a3[v10]);
if ( v14 )
{
v15 = (int)v14[1].__vftable;
v16 = (char *)(&stru_AC8F24.x + v15);
if ( !*((_DWORD *)v16 + 17) )
goto LABEL_11;
if ( v12 != 0.0 || v13 != 0.0 )
{
v17 = *((cocos2d::CCTouch **)v16 + 17);
cocos2d::CCTouch::setTouchInfo(
v17,
v15,
COERCE_INT((float)(v12 - a1->m_obViewPortRect.origin.x) / a1->m_fScaleX),
COERCE__BOOL4((float)(v13 - a1->m_obViewPortRect.origin.y) / a1->m_fScaleY));
v17->m_timestamp = a6;
cocos2d::CCSet::addObject(&v18, v17);
}
}
++v10;
}
if ( cocos2d::CCSet::count(&v18) )
a1->m_pDelegate->touchesMoved(a1->m_pDelegate, &v18, nullptr);
LABEL_11:
cocos2d::CCSet::~CCSet(&v18);
}