//
// cocos2d::extension::CCControl::getTouchLocation from 0xa996b8 to 0xa99730 (120 bytes)
//
// 11 xrefs:
// > ??> @ 0xb1a68
// > ??> @ 0x11f4aa0
// > ??> @ 0x11f5200
// > ??> @ 0x11f59b0
// > ??> @ 0x11f60a0
// > ??> @ 0x11f67a0
// > ??> @ 0x11f6ea0
// > ??> @ 0x11f7bd0
// > ??> @ 0x11f8880
// > ??> @ 0x11f8f60
// > ??> @ 0x11fa810
//
// 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 cocos2d::extension::CCControl::getTouchLocation(
cocos2d::extension::CCControl *a1,
cocos2d::CCTouch *a2)
{
const cocos2d::CCPoint *v2; // x8
const cocos2d::CCPoint *v4; // x21
cocos2d::CCPoint v7; // 0:kr08_8.8
cocos2d::CCPoint result; // 0:s0.4,4:s1.4
v4 = v2;
cocos2d::CCTouch::getLocation(a2);
v7 = cocos2d::CCNode::convertToNodeSpace(a1, v4);
cocos2d::CCPoint::operator=(v4, v7.x, v7.y);
return result;
}