//
// cocos2d::CCTouch::getDelta from 0x1800b6070 to 0x1800b60d6 (102 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2868
//
// 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:22:21 +0000
//
float *__fastcall cocos2d::CCTouch::getDelta(__int64 a1, float *a2)
{
struct cocos2d::CCDirector *v4; // rax
struct cocos2d::CCDirector *v5; // rax
float v7; // [rsp+30h] [rbp+8h] BYREF
float v8; // [rsp+38h] [rbp+10h] BYREF
v4 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToGL(v4, &v7, a1 + 80);
v5 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToGL(v5, &v8, a1 + 72);
cocos2d::CCSize::operator-(&v8, a2, &v7);
return a2;
}