//
// EditorUI::getTouchPoint from 0xbd4e74 to 0xbd4f08 (148 bytes)
//
// 9 xrefs:
// > EditorUI::ccTouchBegan @ 0xbd54bc
// > EditorUI::ccTouchBegan @ 0xbd57f4
// > EditorUI::ccTouchMoved @ 0xbd5a38
// > EditorUI::ccTouchMoved @ 0xbd5bf0
// > EditorUI::ccTouchEnded @ 0xbd61ac
// > EditorUI::ccTouchEnded @ 0xbd622c
// > EditorUI::ccTouchEnded @ 0xbd6444
// > EditorUI::ccTouchEnded @ 0xbd6538
// > ??> @ 0xf2f80
//
// 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 13:03:39 +0000
//
const cocos2d::CCPoint *__usercall EditorUI::getTouchPoint@(
cocos2d::CCTouch *this@,
cocos2d::CCNode *a2@,
const cocos2d::CCPoint *a3@)
{
cocos2d::CCDirector *LocationInView; // x0
cocos2d::CCDirector *v6; // x0
__int64 v8; // [xsp+30h] [xbp+30h] BYREF
LocationInView = (cocos2d::CCDirector *)cocos2d::CCTouch::getLocationInView(a3, this);
v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(LocationInView);
cocos2d::CCDirector::convertToGL(&v8, v6, a3);
cocos2d::CCPoint::operator=(a3, &v8);
cocos2d::CCNode::convertToWorldSpace(&v8, a2, a3);
cocos2d::CCPoint::operator=(a3, &v8);
return a3;
}