//
// cocos2d::CCTouch::getDelta from 0x1800b2700 to 0x1800b2766 (102 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b85b0
//
// 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
//
float *__fastcall cocos2d::CCTouch::getDelta(cocos2d::CCTouch *this, float *a2)
{
cocos2d::CCDirector *v3; // rax
cocos2d::CCDirector *v4; // rax
struct cocos2d::CCPoint v6; // [rsp+30h] [rbp+8h] BYREF
struct cocos2d::CCPoint v7; // [rsp+38h] [rbp+10h] BYREF
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToGL(v3, &v6);
v4 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToGL(v4, &v7);
cocos2d::CCSize::operator-((float *)&v7, a2, (float *)&v6);
return a2;
}