//
// EditorUI::getTouchPoint from 0x10004ecd0 to 0x10004ed31 (97 bytes)
//
// 5 xrefs:
// > EditorUI::ccTouchMoved @ 0x10004f6f5
// > EditorUI::ccTouchMoved @ 0x10004f8f0
// > EditorUI::ccTouchEnded @ 0x10004fc0b
// > EditorUI::ccTouchEnded @ 0x10004fe3d
// > EditorUI::ccTouchEnded @ 0x10004fecd
//
// 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 EditorUI::getTouchPoint(EditorUI *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)
{
__int64 v3; // rax
cocos2d::CCDirector *v4; // rax
_QWORD v6[4]; // [rsp+0h] [rbp-20h] BYREF
cocos2d::CCPoint result; // 0:xmm0_8.8
v6[0] = v3;
cocos2d::CCTouch::getLocationInView((cocos2d::CCTouch *)a1);
v4 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToGL((cocos2d::CCDirector *)v6, (const cocos2d::CCPoint *)v4);
sub_10028CC90();
cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v6, (const cocos2d::CCPoint *)a2);
*(double *)&result = sub_10028CC90();
return result;
}