//
// cocos2d::CCRect::containsPoint from 0x7c6220 to 0x7c6294 (116 bytes)
//
// 67 xrefs:
// > BoomScrollLayer::ccTouchBegan @ 0x3c1328
// > BoomScrollLayer::touchInsideClip @ 0x3c13d8
// > CCScrollLayerExt::ccTouchBegan @ 0x3c859e
// > CCScrollLayerExt::touchInsideClip @ 0x3c907e
// > TableView::cellForTouch @ 0x3c983e
// > CCTextInputMenu::ccTouchBegan @ 0x3dba50
// > CCTextInputMenu::rightClick @ 0x3dba9c
// > CCTextInputNode::containsTouchPoint @ 0x3dca12
// > CCTextInputNode::scrollWheel @ 0x3e399a
// > ScrollingLayer::ccTouchBegan @ 0x3e7566
// > ScrollableContentLayer::scrollWheel @ 0x3f4814
// > ScrollableContentLayer::handleTouchBegan @ 0x3f4c7e
// > ScrollableContentLayer::touchInsideClip @ 0x3f4f34
// > GJUINode::touchTest @ 0x3fcc9a
// > UILayer::processUINodeTouch @ 0x3fcf50
// > LevelEditorLayer::typeExistsAtPosition @ 0x4606c0
// > LevelEditorLayer::objectAtPosition @ 0x4608ca
// > LevelEditorLayer::objectsAtPosition @ 0x460ad8
// > LevelEditorLayer::addObjectsAtPosition @ 0x460b90
// > LevelEditorLayer::updateDebugDraw @ 0x48021c
// > LevelEditorLayer::updateDebugDraw @ 0x480230
// > LevelEditorLayer::updateDebugDraw @ 0x4802c6
// > LevelEditorLayer::updateDebugDraw @ 0x480c4e
// > LevelEditorLayer::updateDebugDraw @ 0x480c62
// > EditorUI::findSnapObject @ 0x48526e
// > KeybindingsLayer::ccTouchBegan @ 0x589020
// > GJBaseGameLayer::objectIntersectsCircle @ 0x58e1be
// > GJBaseGameLayer::rectIntersectsCircle @ 0x58e382
// > UIPOptionsLayer::ccTouchBegan @ 0x5d5a56
// > GJShopLayer::ccTouchBegan @ 0x612946
// > CreateParticlePopup::ccTouchBegan @ 0x663de8
// > CreateParticlePopup::ccTouchMoved @ 0x666a48
// > EditorUI::createRockEdges @ 0x66bce2
// > EditorUI::createRockBases @ 0x66ca96
// > EditorUI::createRockBases @ 0x66caac
// > EditorUI::createRockBases @ 0x66cac4
// > EditorUI::createRockBases @ 0x66cada
// > CustomSFXRowMenu::ccTouchBegan @ 0x6a5ea0
// > GJTransformControl::ccTouchBegan @ 0x6ecef2
// > LevelBadgePopup::ccTouchBegan @ 0x74783a
// > ThreadViewPopup::checkMessageTap @ 0x752628
// > ThreadViewPopup::checkMessageTap @ 0x752666
// > ThreadRequestPopup::ccTouchEnded @ 0x752766
// > DeathHistogram::handleTouchBegan @ 0x7672f6
// > DeathHistogram::handleTouchBegan @ 0x76730a
// > DeathMarkerLayer::init @ 0x76d038
// > DeathTrackerPopup::ccTouchBegan @ 0x770a40
// > DropdownListPopup::ccTouchBegan @ 0x7772c4
// > DropdownListPopup::ccTouchBegan @ 0x7772d8
// > EmotePickerPopup::ccTouchBegan @ 0x77883e
// > EditorSFXActionConfigLayer::ccTouchBegan @ 0x77bc14
// > EditorSoundConfigInfoLayer::ccTouchBegan @ 0x7849ba
// > EditorSoundsLayer::ccTouchBegan @ 0x78a03c
// > EditorWindowPopup::getResizeCorner @ 0x78c08c
// > EditorWindowPopup::getResizeCorner @ 0x78c0c6
// > EditorWindowPopup::isInCloseButton @ 0x78c1c0
// > EditorWindowPopup::isInDragHandle @ 0x78c244
// > EditorWindowPopup::beginTouch @ 0x78cf7e
// > EditorWindowPopup::beginTouch @ 0x78d0ee
// > EditorWindowPopup::ccTouchBegan @ 0x78d18c
// > TouchControlEditLayer::ccTouchBegan @ 0x7a325c
// > cocos2d::extension::CCControl::isTouchInside @ 0x7a6752
// > cocos2d::extension::CCControlSlider::isTouchInside @ 0x7a96a2
// > cocos2d::extension::CCScrollView::ccTouchBegan @ 0x7aeb8a
// > cocos2d::extension::CCScrollView::ccTouchMoved @ 0x7aee9c
// > cocos2d::extension::CCTableView::ccTouchEnded @ 0x7b0222
// > cocos2d::CCMenu::itemForTouch @ 0x7dc288
//
// 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 12:00:25 +0000
//
bool __fastcall cocos2d::CCRect::containsPoint(cocos2d::CCRect *this, const cocos2d::CCPoint *a2)
{
float v4; // s16
float v5; // s16
float v6; // s16
float v7; // s16
_BOOL4 result; // r0
v4 = *(float *)a2;
result = false;
if ( v4 >= COERCE_FLOAT(cocos2d::CCRect::getMinX(this)) )
{
v5 = *(float *)a2;
if ( v5 <= cocos2d::CCRect::getMaxX(this) )
{
v6 = *((float *)a2 + 1);
if ( v6 >= COERCE_FLOAT(cocos2d::CCRect::getMinY(this)) )
{
v7 = *((float *)a2 + 1);
if ( v7 <= cocos2d::CCRect::getMaxY(this) )
return true;
}
}
}
return result;
}