//
// cocos2d::extension::CCControlSwitch::locationFromTouch from 0x100392430 to 0x100392473 (67 bytes)
//
// 0 xrefs:
//
// 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:29:14 +0000
//
unsigned int *__fastcall cocos2d::extension::CCControlSwitch::locationFromTouch(
unsigned int *a1,
__int64 a2,
__int64 a3)
{
double v3; // rax
double v5[4]; // [rsp+0h] [rbp-20h] BYREF
v5[0] = v3;
cocos2d::CCTouch::getLocation((__int64)a1, a3);
cocos2d::CCNode::convertToNodeSpace(v5, a2, a1);
sub_100278300(a1, v5);
return a1;
}