//
// cocos2d::extension::CCControlSwitch::locationFromTouch from 0x180004430 to 0x180004474 (68 bytes)
//
// 12 xrefs:
// > ??> @ 0x180026060
// > ??> @ 0x180026680
// > ??> @ 0x180026c00
// > ??> @ 0x180027338
// > ??> @ 0x180027908
// > ??> @ 0x180027f10
// > ??> @ 0x1800284e0
// > ??> @ 0x180028ad0
// > ??> @ 0x180029118
// > ??> @ 0x18002a5f8
// > ??> @ 0x180032408
// > ??> @ 0x18004b3cc
//
// This function is hookable on this platform (idp: pc, 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 12:15:35 +0000
//
// 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;
}