//
// cocos2d::CCRect::containsPoint from 0xaced28 to 0xaceda8 (128 bytes)
//
// 37 xrefs:
// > BoomScrollLayer::ccTouchBegan @ 0x56d26c
// > CCScrollLayerExt::ccTouchBegan @ 0x579614
// > TableView::cellForTouch @ 0x57aefc
// > CCTextInputNode::ccTouchBegan @ 0x5a56fc
// > ScrollingLayer::ccTouchBegan @ 0x5a99c0
// > GJUINode::touchTest @ 0x5c69c4
// > LevelEditorLayer::addObjectsAtPosition @ 0x65d958
// > LevelEditorLayer::typeExistsAtPosition @ 0x65de30
// > LevelEditorLayer::objectAtPosition @ 0x65e270
// > LevelEditorLayer::objectsAtPosition @ 0x65e620
// > LevelEditorLayer::updateDebugDraw @ 0x684914
// > LevelEditorLayer::updateDebugDraw @ 0x684988
// > LevelEditorLayer::updateDebugDraw @ 0x6849a0
// > LevelEditorLayer::updateDebugDraw @ 0x684a6c
// > LevelEditorLayer::updateDebugDraw @ 0x684adc
// > LevelEditorLayer::updateDebugDraw @ 0x684af4
// > LevelEditorLayer::updateDebugDraw @ 0x684bdc
// > EditorUI::findSnapObject @ 0x6943b0
// > GJTransformControl::ccTouchBegan @ 0x6b62a8
// > GJBaseGameLayer::objectIntersectsCircle @ 0x858fb0
// > GJBaseGameLayer::rectIntersectsCircle @ 0x859228
// > UIPOptionsLayer::ccTouchBegan @ 0x8da860
// > GJShopLayer::ccTouchBegan @ 0x92fa38
// > CreateParticlePopup::ccTouchBegan @ 0x9c0b28
// > CreateParticlePopup::ccTouchMoved @ 0x9c47d0
// > EditorUI::createRockEdges @ 0x9cc41c
// > EditorUI::createRockBases @ 0x9cd744
// > EditorUI::createRockBases @ 0x9cd764
// > EditorUI::createRockBases @ 0x9cd784
// > EditorUI::createRockBases @ 0x9cd7a0
// > cocos2d::extension::CCControl::isTouchInside @ 0xa997a4
// > cocos2d::extension::CCControlSlider::isTouchInside @ 0xa9e404
// > cocos2d::extension::CCScrollView::ccTouchBegan @ 0xaa6584
// > cocos2d::extension::CCScrollView::ccTouchMoved @ 0xaa6928
// > cocos2d::extension::CCTableView::ccTouchEnded @ 0xaa8c4c
// > cocos2d::CCMenu::itemForTouch @ 0xaf207c
// > ??> @ 0x2c478
//
// 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
//
__int64 __fastcall cocos2d::CCRect::containsPoint(cocos2d::CCRect *this, const cocos2d::CCPoint *a2)
{
float x; // s8
__int64 result; // x0
float v6; // s8
float y; // s8
float v8; // s8
float MaxY; // s0
x = a2->x;
if ( x < cocos2d::CCRect::getMinX(this) )
return 0;
v6 = a2->x;
if ( v6 > cocos2d::CCRect::getMaxX(this) )
return 0;
y = a2->y;
if ( y < cocos2d::CCRect::getMinY(this) )
return 0;
v8 = a2->y;
MaxY = cocos2d::CCRect::getMaxY(this);
result = 1;
if ( v8 > MaxY )
return 0;
return result;
}