//
// cocos2d::CCRect::containsPoint from 0xd41190 to 0xd41210 (128 bytes)
//
// 71 xrefs:
// > BoomScrollLayer::ccTouchBegan @ 0x689354
// > BoomScrollLayer::touchInsideClip @ 0x689424
// > CCScrollLayerExt::ccTouchBegan @ 0x694b80
// > CCScrollLayerExt::touchInsideClip @ 0x695a54
// > TableView::cellForTouch @ 0x6965e8
// > CCTextInputMenu::ccTouchBegan @ 0x6b6ba4
// > CCTextInputMenu::rightClick @ 0x6b6c2c
// > CCTextInputNode::containsTouchPoint @ 0x6b8420
// > CCTextInputNode::scrollWheel @ 0x6c4460
// > ScrollingLayer::ccTouchBegan @ 0x6c9d00
// > ScrollableContentLayer::scrollWheel @ 0x6e1ae0
// > ScrollableContentLayer::handleTouchBegan @ 0x6e212c
// > ScrollableContentLayer::touchInsideClip @ 0x6e246c
// > GJUINode::touchTest @ 0x6ef18c
// > UILayer::processUINodeTouch @ 0x6ef688
// > LevelEditorLayer::typeExistsAtPosition @ 0x78a544
// > LevelEditorLayer::objectAtPosition @ 0x78a984
// > LevelEditorLayer::objectsAtPosition @ 0x78ad34
// > LevelEditorLayer::addObjectsAtPosition @ 0x78af28
// > LevelEditorLayer::updateDebugDraw @ 0x7bf228
// > LevelEditorLayer::updateDebugDraw @ 0x7bf298
// > LevelEditorLayer::updateDebugDraw @ 0x7bf2b0
// > LevelEditorLayer::updateDebugDraw @ 0x7bf37c
// > LevelEditorLayer::updateDebugDraw @ 0x7bf3ec
// > LevelEditorLayer::updateDebugDraw @ 0x7bf404
// > LevelEditorLayer::updateDebugDraw @ 0x7bf4c8
// > EditorUI::findSnapObject @ 0x7c790c
// > KeybindingsLayer::ccTouchBegan @ 0x994e84
// > GJBaseGameLayer::objectIntersectsCircle @ 0x99ca98
// > GJBaseGameLayer::rectIntersectsCircle @ 0x99cd10
// > UIPOptionsLayer::ccTouchBegan @ 0xa21cc8
// > GJShopLayer::ccTouchBegan @ 0xa7ed20
// > CreateParticlePopup::ccTouchBegan @ 0xafc910
// > CreateParticlePopup::ccTouchMoved @ 0xb01040
// > EditorUI::createRockEdges @ 0xb07c30
// > EditorUI::createRockBases @ 0xb08f54
// > EditorUI::createRockBases @ 0xb08f74
// > EditorUI::createRockBases @ 0xb08f94
// > EditorUI::createRockBases @ 0xb08fb0
// > CustomSFXRowMenu::ccTouchBegan @ 0xb5d858
// > GJTransformControl::ccTouchBegan @ 0xbd1f14
// > LevelBadgePopup::ccTouchBegan @ 0xc66d9c
// > ThreadViewPopup::checkMessageTap @ 0xc773c8
// > ThreadViewPopup::checkMessageTap @ 0xc77488
// > ThreadRequestPopup::ccTouchEnded @ 0xc77688
// > DeathHistogram::handleTouchBegan @ 0xc99378
// > DeathHistogram::handleTouchBegan @ 0xc9938c
// > DeathMarkerLayer::init @ 0xca4d80
// > DeathTrackerPopup::ccTouchBegan @ 0xca9934
// > DeathTrackerPopup::ccTouchBegan @ 0xca99f4
// > DropdownListPopup::ccTouchBegan @ 0xcb67c4
// > DropdownListPopup::ccTouchBegan @ 0xcb6848
// > EmotePickerPopup::ccTouchBegan @ 0xcb8d68
// > EditorSFXActionConfigLayer::ccTouchBegan @ 0xcbdbe8
// > EditorSoundConfigInfoLayer::ccTouchBegan @ 0xccc964
// > EditorSoundsLayer::ccTouchBegan @ 0xcd5994
// > EditorWindowPopup::getResizeCorner @ 0xcd8a1c
// > EditorWindowPopup::getResizeCorner @ 0xcd8a64
// > EditorWindowPopup::isInCloseButton @ 0xcd8b80
// > EditorWindowPopup::isInDragHandle @ 0xcd8c38
// > EditorWindowPopup::beginTouch @ 0xcd9dc8
// > EditorWindowPopup::beginTouch @ 0xcd9f3c
// > EditorWindowPopup::ccTouchBegan @ 0xcda0a8
// > TouchControlEditLayer::ccTouchBegan @ 0xd05044
// > cocos2d::extension::CCControl::isTouchInside @ 0xd0b4cc
// > cocos2d::extension::CCControlSlider::isTouchInside @ 0xd0fe60
// > cocos2d::extension::CCScrollView::ccTouchBegan @ 0xd17fc8
// > cocos2d::extension::CCScrollView::ccTouchMoved @ 0xd1836c
// > cocos2d::extension::CCTableView::ccTouchEnded @ 0xd1ab20
// > cocos2d::CCMenu::itemForTouch @ 0xd63e04
// > ??> @ 0x42fa0
//
// 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:07:31 +0000
//
__int64 __fastcall cocos2d::CCRect::containsPoint(cocos2d::CCRect *this, const cocos2d::CCPoint *a2)
{
float v2; // s8
__int64 result; // x0
float v6; // s8
float v7; // s8
float v8; // s8
float MaxY; // s0
v2 = *(float *)a2;
if ( v2 < cocos2d::CCRect::getMinX(this) )
return 0;
v6 = *(float *)a2;
if ( v6 > cocos2d::CCRect::getMaxX(this) )
return 0;
v7 = *((float *)a2 + 1);
if ( v7 < cocos2d::CCRect::getMinY(this) )
return 0;
v8 = *((float *)a2 + 1);
MaxY = cocos2d::CCRect::getMaxY(this);
result = 1;
if ( v8 > MaxY )
return 0;
return result;
}