//
// EditorUI::getTouchPoint from 0x100609810 to 0x100609871 (97 bytes)
//
// 5 xrefs:
// > EditorUI::ccTouchMoved @ 0x10060a50a
// > EditorUI::ccTouchEnded @ 0x10060aae9
// > EditorUI::ccTouchEnded @ 0x10060ab7f
// > EditorUI::ccTouchEnded @ 0x10060adaf
// > EditorUI::ccTouchEnded @ 0x10060ae57
//
// 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 12:34:32 +0000
//
unsigned __int64 *__fastcall EditorUI::getTouchPoint(unsigned __int64 *a1, __int64 a2, __int64 a3)
{
double v3; // rax
__int64 v4; // rax
double v6[4]; // [rsp+0h] [rbp-20h] BYREF
v6[0] = v3;
cocos2d::CCTouch::getLocationInView((__int64)a1, a3);
v4 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToGL((float *)v6, v4, a1);
sub_100278300(a1, v6);
cocos2d::CCNode::convertToWorldSpace(v6, a2, (unsigned int *)a1);
sub_100278300(a1, v6);
return a1;
}