//
// cocos2d::extension::CCControl::isTouchInside from 0xd0b458 to 0xd0b4f4 (156 bytes)
//
// 9 xrefs:
// > ??> @ 0xe75c8
// > ??> @ 0x150a238
// > ??> @ 0x150a9b8
// > ??> @ 0x150b188
// > ??> @ 0x150b898
// > ??> @ 0x150bfb8
// > ??> @ 0x150d438
// > ??> @ 0x150e818
// > ??> @ 0x1510138
//
// This function is hookable on this platform (idp: arm, 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 13:06:59 +0000
//
__int64 __fastcall cocos2d::extension::CCControl::isTouchInside(
cocos2d::extension::CCControl *this,
cocos2d::CCTouch *a2)
{
cocos2d::CCNode *v3; // x0
__int64 v5; // [xsp+30h] [xbp+30h] BYREF
__int64 v6[2]; // [xsp+38h] [xbp+38h] BYREF
cocos2d::CCTouch::getLocation(&v5, a2);
v3 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(cocos2d::extension::CCControl *))(*(_QWORD *)this + 512LL))(this);
cocos2d::CCNode::convertToNodeSpace(v6, v3, (const cocos2d::CCPoint *)&v5);
cocos2d::CCPoint::operator=(&v5, v6);
cocos2d::CCNode::boundingBox(v6, this);
return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v6, (const cocos2d::CCPoint *)&v5);
}