//
// cocos2d::CCNode::convertTouchToNodeSpace from 0x1800030b0 to 0x18000311c (108 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b727c
//
// 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:17 +0000
//
__int64 __fastcall cocos2d::CCNode::convertTouchToNodeSpace(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // rax
_BYTE v7[8]; // [rsp+20h] [rbp-38h] BYREF
_BYTE v8[24]; // [rsp+28h] [rbp-30h] BYREF
cocos2d::CCTouch::getLocation(a3, v7);
v5 = (*(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a1 + 832LL))(a1, v8);
cocos2d::__CCPointApplyAffineTransform(a2, v7, v5);
return a2;
}