//
// cocos2d::extension::CCControl::isTouchInside from 0xa99730 to 0xa997cc (156 bytes)
//
// 9 xrefs:
// > ??> @ 0xb0d30
// > ??> @ 0x11f4aa8
// > ??> @ 0x11f5208
// > ??> @ 0x11f59b8
// > ??> @ 0x11f60a8
// > ??> @ 0x11f67a8
// > ??> @ 0x11f7bd8
// > ??> @ 0x11f8f68
// > ??> @ 0x11fa818
//
// 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
//
bool cocos2d::extension::CCControl::isTouchInside(cocos2d::extension::CCControl *a1, cocos2d::CCTouch *a2)
{
cocos2d::CCNode *v3; // x0
cocos2d::CCPoint v5; // [xsp+30h] [xbp+30h] BYREF
cocos2d::CCRect v6; // [xsp+38h] [xbp+38h] BYREF
cocos2d::CCPoint Location; // 0:kr00_8.8
cocos2d::CCPoint v8; // 0:kr08_8.8
Location = cocos2d::CCTouch::getLocation(a2);
v3 = (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::extension::CCControl *, float, float))a1->getParent)(
a1,
Location.x,
Location.y);
v8 = cocos2d::CCNode::convertToNodeSpace(v3, &v5);
cocos2d::CCPoint::operator=(&v5, v8.x, v8.y);
cocos2d::CCNode::boundingBox(a1);
return cocos2d::CCRect::containsPoint(&v6, &v5);
}