//
// cocos2d::CCTouch::getDelta from 0x1000596d0 to 0x100059736 (102 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCPoint __fastcall cocos2d::CCTouch::getDelta(cocos2d::CCTouch *a1)
{
cocos2d::CCDirector *v1; // rax
cocos2d::CCDirector *v2; // rax
char v3; // [rsp+0h] [rbp-30h] BYREF
_BYTE v4[40]; // [rsp+8h] [rbp-28h] BYREF
cocos2d::CCPoint result; // 0:xmm0_8.8
v1 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)&v3, (const cocos2d::CCPoint *)v1);
v2 = cocos2d::CCDirector::sharedDirector();
result = cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)v4, (const cocos2d::CCPoint *)v2);
sub_10028CD00(a1, &v3, v4);
return result;
}