//
// cocos2d::CCTouch::setTouchInfo from 0x5e0940 to 0x5e0972 (50 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel @ 0x5e0a58
// > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x5e0cec
// > cocos2d::CCEGLViewProtocol::handleTouchesMove @ 0x5e0e2e
//
// 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 cocos2d::CCTouch::setTouchInfo(cocos2d::CCTouch *this, int a2, int a3, _BOOL4 a4)
{
cocos2d::CCPoint *p_m_point; // r5
int v8; // r2
_BOOL4 m_startPointCaptured; // r3
p_m_point = &this->m_point;
this->m_nId = a2;
cocos2d::CCPoint::operator=(&this->m_prevPoint, &this->m_point.x, a3, a4);
m_startPointCaptured = this->m_startPointCaptured;
this->m_point.x = *(float *)&a3;
this->m_point.y = *(float *)&a4;
if ( !m_startPointCaptured )
{
cocos2d::CCPoint::operator=(&this->m_startPoint, &p_m_point->x, v8, 0);
this->m_startPointCaptured = 1;
}
}