//
// cocos2d::CCRect::intersectsRect from 0xaceda8 to 0xacee44 (156 bytes)
//
// 29 xrefs:
// > CCTextInputNode::keyboardWillShow @ 0x59532c
// > PlayerObject::testForMoving @ 0x6230e0
// > PlayerObject::collidedWithObjectInternal @ 0x62f088
// > PlayerObject::collidedWithObjectInternal @ 0x62f0b8
// > PlayerObject::collidedWithObjectInternal @ 0x62f23c
// > PlayerObject::collidedWithObjectInternal @ 0x62f3d4
// > PlayerObject::collidedWithObjectInternal @ 0x62fa10
// > PlayerObject::collidedWithObjectInternal @ 0x62fb7c
// > PlayerObject::collidedWithObjectInternal @ 0x63041c
// > PlayerObject::preSlopeCollision @ 0x6333fc
// > PlayerObject::preSlopeCollision @ 0x633498
// > PlayerObject::preSlopeCollision @ 0x633544
// > PlayerObject::spiderTestJumpInternal @ 0x6345cc
// > PlayerObject::spiderTestJumpY @ 0x636120
// > PlayerObject::spiderTestJumpX @ 0x636d7c
// > PlayerObject::collidedWithSlopeInternal @ 0x6376dc
// > PlayerObject::collidedWithSlopeInternal @ 0x637e2c
// > PlayerObject::postCollision @ 0x6390c4
// > PlayerObject::postCollision @ 0x639abc
// > LevelEditorLayer::addObjectsInRect @ 0x65dab0
// > LevelEditorLayer::objectsInRect @ 0x65eaac
// > LevelEditorLayer::updateDebugDraw @ 0x683eb8
// > EditorUI::getSmartNeighbor @ 0x68a0e8
// > GJBaseGameLayer::staticObjectsInRect @ 0x858ce8
// > GJBaseGameLayer::damagingObjectsInRect @ 0x8598f4
// > cocos2d::extension::CCScrollView::isNodeVisible @ 0xaa5540
// > cocos2d::extension::CCScrollView::beforeDraw @ 0xaa6284
// > cocos2d::extension::CCEditBox::keyboardWillShow @ 0xaa958c
// > ??> @ 0x90ba0
//
// 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
//
bool __fastcall cocos2d::CCRect::intersectsRect(cocos2d::CCRect *this, 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);
}