//
// cocos2d::extension::CCControl::isTouchInside from 0x7a6710 to 0x7a6766 (86 bytes)
//
// 0 xrefs:
//
// 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 11:59:58 +0000
//
int __fastcall cocos2d::extension::CCControl::isTouchInside(cocos2d::extension::CCControl *this, cocos2d::CCTouch *a2)
{
const cocos2d::CCPoint *v3; // r0
_BYTE v5[8]; // [sp+4h] [bp-20h] BYREF
_BYTE v6[16]; // [sp+Ch] [bp-18h] BYREF
cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v5);
v3 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(cocos2d::extension::CCControl *))(*(_DWORD *)this + 256))(this);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v6, v3);
cocos2d::CCPoint::operator=(v5, v6);
cocos2d::CCNode::boundingBox((cocos2d::CCNode *)v6);
return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v6, (const cocos2d::CCPoint *)v5);
}