//
// EditorUI::getTouchPoint from 0x100160be0 to 0x100160c48 (104 bytes)
//
// 8 xrefs:
// > EditorUI::ccTouchBegan @ 0x1001611d0
// > EditorUI::ccTouchBegan @ 0x100161314
// > EditorUI::ccTouchMoved @ 0x10016162c
// > EditorUI::ccTouchMoved @ 0x100161728
// > EditorUI::ccTouchEnded @ 0x100161c64
// > EditorUI::ccTouchEnded @ 0x100161d18
// > EditorUI::ccTouchEnded @ 0x100161e58
// > EditorUI::ccTouchEnded @ 0x100161ef4
//
// This function is hookable on this platform (idp: arm, 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 10:59:46 +0000
//
double __usercall EditorUI::getTouchPoint@(__int64 a1@, __int64 a2@, _QWORD *a3@)
{
_QWORD *LocationInView; // x0
__int64 v6; // x0
__int64 v8; // [xsp+8h] [xbp-18h] BYREF
LocationInView = cocos2d::CCTouch::getLocationInView(a3, a2);
v6 = cocos2d::CCDirector::sharedDirector(LocationInView);
cocos2d::CCDirector::convertToGL(&v8, v6, a3);
sub_10002630C(a3, (double *)&v8);
cocos2d::CCNode::convertToWorldSpace(&v8, a1, a3);
return sub_10002630C(a3, (double *)&v8);
}