//
// cocos2d::extension::CCControl::getTouchLocation from 0x1003525c0 to 0x100352603 (67 bytes)
//
// 10 xrefs:
// > ??> @ 0x100915a70
// > ??> @ 0x100916148
// > ??> @ 0x100916970
// > ??> @ 0x100917050
// > ??> @ 0x100917fb0
// > ??> @ 0x10091b4b8
// > ??> @ 0x100924b70
// > ??> @ 0x100926fd8
// > ??> @ 0x1009287b8
// > ??> @ 0x100947890
//
// 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
//
cocos2d::CCPoint __fastcall cocos2d::extension::CCControl::getTouchLocation(
cocos2d::extension::CCControl *a1,
cocos2d::CCTouch *a2)
{
double v2; // rax
double v4[4]; // [rsp+0h] [rbp-20h] BYREF
cocos2d::CCPoint result; // 0:xmm0_8.8
v4[0] = v2;
cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)a1);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v4, (const cocos2d::CCPoint *)a2);
*(double *)&result = sub_10028CC90(a1, v4);
return result;
}