//
// cocos2d::CCRect::intersectsRect from 0xd41210 to 0xd412ac (156 bytes)
//
// 32 xrefs:
// > CCTextInputNode::keyboardWillShow @ 0x6b79f0
// > PlayerObject::testForMoving @ 0x74efa8
// > PlayerObject::collidedWithObjectInternal @ 0x75b1c0
// > PlayerObject::collidedWithObjectInternal @ 0x75b1f0
// > PlayerObject::collidedWithObjectInternal @ 0x75b374
// > PlayerObject::collidedWithObjectInternal @ 0x75b50c
// > PlayerObject::collidedWithObjectInternal @ 0x75bb48
// > PlayerObject::collidedWithObjectInternal @ 0x75bcb4
// > PlayerObject::collidedWithObjectInternal @ 0x75c554
// > PlayerObject::preSlopeCollision @ 0x75ee38
// > PlayerObject::preSlopeCollision @ 0x75eed4
// > PlayerObject::preSlopeCollision @ 0x75ef80
// > PlayerObject::collidedWithSlopeInternal @ 0x75f8b4
// > PlayerObject::collidedWithSlopeInternal @ 0x760000
// > PlayerObject::postCollision @ 0x761a68
// > PlayerObject::postCollision @ 0x762484
// > PlayerObject::spiderTestJumpInternal @ 0x7630e8
// > PlayerObject::spiderTestJumpY @ 0x764bb8
// > PlayerObject::spiderTestJumpX @ 0x765814
// > LevelEditorLayer::objectsInRect @ 0x78b2f8
// > LevelEditorLayer::addObjectsInRect @ 0x78b740
// > LevelEditorLayer::updateDebugDraw @ 0x7be940
// > EditorUI::getSmartNeighbor @ 0x7c30ec
// > GJBaseGameLayer::drawHitboxTrail @ 0x99b060
// > GJBaseGameLayer::drawHitboxTrail @ 0x99b128
// > GJBaseGameLayer::staticObjectsInRect @ 0x99c7d0
// > GJBaseGameLayer::damagingObjectsInRect @ 0x99d3dc
// > DeathMarkerLayer::resolveBadgeCollisions @ 0xca166c
// > cocos2d::extension::CCScrollView::isNodeVisible @ 0xd16f84
// > cocos2d::extension::CCScrollView::beforeDraw @ 0xd17cc8
// > cocos2d::extension::CCEditBox::keyboardWillShow @ 0xd1b460
// > ??> @ 0xbf6e0
//
// 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
//
bool __fastcall cocos2d::CCRect::intersectsRect(cocos2d::CCRect *this, const cocos2d::CCRect *a2)
{
float MaxX; // s8
float v6; // s8
float MaxY; // s8
float v8; // s8
MaxX = cocos2d::CCRect::getMaxX(this);
if ( MaxX < cocos2d::CCRect::getMinX(a2) )
return 0;
v6 = cocos2d::CCRect::getMaxX(a2);
if ( v6 < cocos2d::CCRect::getMinX(this) )
return 0;
MaxY = cocos2d::CCRect::getMaxY(this);
if ( MaxY < cocos2d::CCRect::getMinY(a2) )
return 0;
v8 = cocos2d::CCRect::getMaxY(a2);
return v8 >= cocos2d::CCRect::getMinY(this);
}