//
// sub_100022CB0 from 0x100022cb0 to 0x100022d0c (92 bytes)
//
// 22 xrefs:
// > CCTextInputNode::keyboardWillShow @ 0x10016d574
// > GJBaseGameLayer::staticObjectsInRect @ 0x1001e52f0
// > GJBaseGameLayer::damagingObjectsInRect @ 0x1001e56b8
// > PlayerObject::postCollision @ 0x10021ef10
// > PlayerObject::postCollision @ 0x10021f6dc
// > PlayerObject::testForMoving @ 0x1002203ec
// > PlayerObject::collidedWithSlopeInternal @ 0x100220a20
// > PlayerObject::collidedWithSlopeInternal @ 0x1002210f8
// > PlayerObject::collidedWithObjectInternal @ 0x100221db0
// > PlayerObject::collidedWithObjectInternal @ 0x100221ddc
// > PlayerObject::collidedWithObjectInternal @ 0x10022201c
// > PlayerObject::collidedWithObjectInternal @ 0x100222654
// > PlayerObject::collidedWithObjectInternal @ 0x100222860
// > PlayerObject::collidedWithObjectInternal @ 0x100222bf0
// > PlayerObject::collidedWithObjectInternal @ 0x100222d20
// > PlayerObject::preSlopeCollision @ 0x100223488
// > PlayerObject::preSlopeCollision @ 0x100223548
// > PlayerObject::preSlopeCollision @ 0x1002235dc
// > PlayerObject::spiderTestJumpInternal @ 0x100225224
// > LevelEditorLayer::objectsInRect @ 0x10035abb8
// > LevelEditorLayer::updateDebugDraw @ 0x100367efc
// > EditorUI::getSmartNeighbor @ 0x1003f16b4
//
// 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 sub_100022CB0(float *a1, float *a2)
{
float v2; // s0
float v3; // s1
if ( (float)(*a1 + a1[2]) >= *a2 && (float)(*a2 + a2[2]) >= *a1 && (v2 = a1[1], v3 = a2[1], (float)(v2 + a1[3]) >= v3) )
return (float)(v3 + a2[3]) >= v2;
else
return 0;
}