//
// cocos2d::extension::CCControlSwitch::locationFromTouch from 0xd11954 to 0xd119cc (120 bytes)
//
// 5 xrefs:
// > cocos2d::extension::CCControlSwitch::ccTouchBegan @ 0xd11a74
// > cocos2d::extension::CCControlSwitch::ccTouchMoved @ 0xd11af0
// > cocos2d::extension::CCControlSwitch::ccTouchEnded @ 0xd11b84
// > cocos2d::extension::CCControlSwitch::ccTouchCancelled @ 0xd11c5c
// > ??> @ 0x78dc0
//
// 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:07:03 +0000
//
__int64 *__usercall cocos2d::extension::CCControlSwitch::locationFromTouch@(
cocos2d::extension::CCControlSwitch *this@,
cocos2d::CCTouch *a2@,
__int64 *a3@)
{
__int64 v6; // [xsp+30h] [xbp+30h] BYREF
cocos2d::CCTouch::getLocation(a3, a2);
cocos2d::CCNode::convertToNodeSpace(&v6, this, (const cocos2d::CCPoint *)a3);
cocos2d::CCPoint::operator=(a3, &v6);
return a3;
}