//
// cocos2d::extension::CCControlSwitch::locationFromTouch from 0x7aa864 to 0x7aa8a2 (62 bytes)
//
// 4 xrefs:
// > cocos2d::extension::CCControlSwitch::ccTouchBegan @ 0x7aa8ea
// > cocos2d::extension::CCControlSwitch::ccTouchMoved @ 0x7aa95a
// > cocos2d::extension::CCControlSwitch::ccTouchEnded @ 0x7aa9c6
// > cocos2d::extension::CCControlSwitch::ccTouchCancelled @ 0x7aaa62
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:02 +0000
//
cocos2d::extension::CCControlSwitch *__fastcall cocos2d::extension::CCControlSwitch::locationFromTouch(
cocos2d::extension::CCControlSwitch *this,
cocos2d::CCTouch *a2)
{
_BYTE v5[8]; // [sp+4h] [bp-10h] BYREF
cocos2d::CCTouch::getLocation(this);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v5, a2);
cocos2d::CCPoint::operator=(this, v5);
return this;
}