//
// cocos2d::CCRect::intersectsRect from 0x7c6294 to 0x7c6322 (142 bytes)
//
// 31 xrefs:
// > CCTextInputNode::keyboardWillShow @ 0x3dc44e
// > PlayerObject::testForMoving @ 0x4354c2
// > PlayerObject::collidedWithObjectInternal @ 0x43c622
// > PlayerObject::collidedWithObjectInternal @ 0x43c644
// > PlayerObject::collidedWithObjectInternal @ 0x43c7fe
// > PlayerObject::collidedWithObjectInternal @ 0x43ca8a
// > PlayerObject::collidedWithObjectInternal @ 0x43cae0
// > PlayerObject::collidedWithObjectInternal @ 0x43cbd4
// > PlayerObject::collidedWithObjectInternal @ 0x43cc4e
// > PlayerObject::preSlopeCollision @ 0x440ec6
// > PlayerObject::preSlopeCollision @ 0x441026
// > PlayerObject::preSlopeCollision @ 0x441056
// > PlayerObject::collidedWithSlopeInternal @ 0x441762
// > PlayerObject::collidedWithSlopeInternal @ 0x441d96
// > PlayerObject::postCollision @ 0x442d26
// > PlayerObject::postCollision @ 0x443ccc
// > PlayerObject::spiderTestJumpInternal @ 0x4442f6
// > PlayerObject::spiderTestJumpY @ 0x4457ec
// > PlayerObject::spiderTestJumpX @ 0x4460a8
// > LevelEditorLayer::objectsInRect @ 0x460efa
// > LevelEditorLayer::addObjectsInRect @ 0x4610cc
// > LevelEditorLayer::updateDebugDraw @ 0x47fa66
// > EditorUI::getSmartNeighbor @ 0x48294e
// > GJBaseGameLayer::drawHitboxTrail @ 0x58cea0
// > GJBaseGameLayer::drawHitboxTrail @ 0x58cf2e
// > GJBaseGameLayer::staticObjectsInRect @ 0x58e0e0
// > GJBaseGameLayer::damagingObjectsInRect @ 0x58e876
// > DeathMarkerLayer::resolveBadgeCollisions @ 0x76b96c
// > cocos2d::extension::CCScrollView::isNodeVisible @ 0x7ae02a
// > cocos2d::extension::CCScrollView::beforeDraw @ 0x7ae986
// > cocos2d::extension::CCEditBox::keyboardWillShow @ 0x7b07ce
//
// 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::intersectsRect(cocos2d::CCRect *this, const cocos2d::CCRect *a2)
{
float MaxX; // s16
float v6; // s16
float MaxY; // s16
float v8; // s16
MaxX = cocos2d::CCRect::getMaxX(this);
if ( MaxX < COERCE_FLOAT(cocos2d::CCRect::getMinX(a2)) )
return 0;
v6 = cocos2d::CCRect::getMaxX(a2);
if ( v6 < COERCE_FLOAT(cocos2d::CCRect::getMinX(this)) )
return 0;
MaxY = cocos2d::CCRect::getMaxY(this);
if ( MaxY < COERCE_FLOAT(cocos2d::CCRect::getMinY(a2)) )
return 0;
v8 = cocos2d::CCRect::getMaxY(a2);
return v8 >= COERCE_FLOAT(cocos2d::CCRect::getMinY(this));
}