//
// cocos2d::extension::CCControlSwitch::locationFromTouch from 0x1800049b0 to 0x1800049f4 (68 bytes)
//
// 12 xrefs:
// > ??> @ 0x180023b38
// > ??> @ 0x180024138
// > ??> @ 0x1800246a8
// > ??> @ 0x180024db0
// > ??> @ 0x180025360
// > ??> @ 0x180025948
// > ??> @ 0x180025ef8
// > ??> @ 0x1800264c8
// > ??> @ 0x180026af0
// > ??> @ 0x180027f80
// > ??> @ 0x18002fdf8
// > ??> @ 0x180049480
//
// 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
//
// Alternative name is '?getTouchLocation@CCControl@extension@cocos2d@@UEAA?AVCCPoint@3@PEAVCCTouch@3@@Z'
__int64 __fastcall cocos2d::extension::CCControlSwitch::locationFromTouch(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // rax
char v7; // [rsp+38h] [rbp+10h] BYREF
cocos2d::CCTouch::getLocation(a3);
v5 = cocos2d::CCNode::convertToNodeSpace(a1, &v7, a2);
cocos2d::CCPoint::operator=(a2, v5);
return a2;
}