//
// sub_100022C60 from 0x100022c60 to 0x100022cb0 (80 bytes)
//
// 29 xrefs:
// > GJUINode::touchTest @ 0x10004a6e4
// > EditorUI::createRockEdges @ 0x1000784b4
// > EditorUI::createRockBases @ 0x1000796b0
// > EditorUI::createRockBases @ 0x1000796c4
// > EditorUI::createRockBases @ 0x1000796d8
// > EditorUI::createRockBases @ 0x1000796ec
// > BoomScrollLayer::ccTouchBegan @ 0x10012c568
// > GJShopLayer::ccTouchBegan @ 0x10014d834
// > CCTextInputNode::ccTouchBegan @ 0x10016e884
// > cocos2d::extension::CCControl::isTouchInside @ 0x1001a5fd8
// > ScrollingLayer::ccTouchBegan @ 0x1001b8b80
// > cocos2d::CCMenu::itemForTouch @ 0x1001d8ad8
// > GJBaseGameLayer::rectIntersectsCircle @ 0x1001e5820
// > GJBaseGameLayer::objectIntersectsCircle @ 0x1001e5bd0
// > CreateParticlePopup::ccTouchBegan @ 0x1002d0f74
// > CreateParticlePopup::ccTouchMoved @ 0x1002d1098
// > UIPOptionsLayer::ccTouchBegan @ 0x1002e63b0
// > TableView::cellForTouch @ 0x1002fed28
// > CCScrollLayerExt::ccTouchBegan @ 0x100301224
// > LevelEditorLayer::typeExistsAtPosition @ 0x10035a600
// > LevelEditorLayer::objectAtPosition @ 0x10035ae2c
// > LevelEditorLayer::objectsAtPosition @ 0x10035b46c
// > LevelEditorLayer::updateDebugDraw @ 0x100368f30
// > LevelEditorLayer::updateDebugDraw @ 0x100368f48
// > LevelEditorLayer::updateDebugDraw @ 0x100369054
// > LevelEditorLayer::updateDebugDraw @ 0x10036906c
// > LevelEditorLayer::updateDebugDraw @ 0x10036914c
// > EditorUI::findSnapObject @ 0x1003f82e0
// > GJTransformControl::ccTouchBegan @ 0x1003fbd18
//
// 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_100022C60(float *a1, float *a2)
{
float v2; // s0
float v3; // s1
_BOOL8 result; // x0
result = false;
if ( *a2 >= *a1 && *a2 <= (float)(*a1 + a1[2]) )
{
v2 = a2[1];
v3 = a1[1];
if ( v2 >= v3 && v2 <= (float)(v3 + a1[3]) )
return true;
}
return result;
}