//
// cocos2d::CCTouch::setTouchInfo from 0x7ea3d4 to 0x7ea406 (50 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel @ 0x7ea4ec
// > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x7ea7fc
// > cocos2d::CCEGLViewProtocol::handleTouchesMove @ 0x7ea93e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:58 +0000
//
float *__fastcall cocos2d::CCTouch::setTouchInfo(cocos2d::CCTouch *this, int a2, float a3, float a4)
{
float *v4; // r5
float *result; // r0
int v9; // r3
v4 = (float *)((char *)this + 68);
*((_DWORD *)this + 13) = a2;
result = cocos2d::CCPoint::operator=((float *)this + 19, (float *)this + 17);
v9 = *((unsigned __int8 *)this + 56);
*((float *)this + 17) = a3;
*((float *)this + 18) = a4;
if ( !v9 )
{
result = cocos2d::CCPoint::operator=((float *)this + 15, v4);
*((_BYTE *)this + 56) = 1;
}
return result;
}