//
// cocos2d::CCTouch::setTouchInfo from 0x18006e380 to 0x18006e3e3 (99 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801be1f4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:21:55 +0000
//
void __fastcall cocos2d::CCTouch::setTouchInfo(cocos2d::CCTouch *this, int a2, float a3, float a4)
{
bool v5; // zf
*((_DWORD *)this + 14) = a2;
cocos2d::CCSize::operator=((_DWORD *)this + 20, (_DWORD *)this + 18);
v5 = *((_BYTE *)this + 60) == 0;
*((float *)this + 18) = a3;
*((float *)this + 19) = a4;
if ( v5 )
{
cocos2d::CCSize::operator=((_DWORD *)this + 16, (_DWORD *)this + 18);
*((_BYTE *)this + 60) = 1;
}
}