//
// sub_10028D2D0 from 0x10028d2d0 to 0x10028d318 (72 bytes)
//
// 48 xrefs:
// > EditorUI::findSnapObject @ 0x10004e74a
// > GJTransformControl::ccTouchBegan @ 0x1000536bd
// > GJTransformControl::ccTouchBegan @ 0x1000536fc
// > GJTransformControl::ccTouchBegan @ 0x10005373b
// > GJTransformControl::ccTouchBegan @ 0x10005377a
// > GJTransformControl::ccTouchBegan @ 0x1000537b9
// > GJTransformControl::ccTouchBegan @ 0x1000537f8
// > GJTransformControl::ccTouchBegan @ 0x100053837
// > GJTransformControl::ccTouchBegan @ 0x100053876
// > GJTransformControl::ccTouchBegan @ 0x1000538b5
// > GJTransformControl::ccTouchBegan @ 0x1000538f4
// > GJTransformControl::ccTouchBegan @ 0x10005392f
// > GJTransformControl::ccTouchBegan @ 0x10005396a
// > CCTextInputNode::ccTouchBegan @ 0x1000a0f1b
// > LevelEditorLayer::typeExistsAtPosition @ 0x1000e0982
// > LevelEditorLayer::objectAtPosition @ 0x1000e14d4
// > LevelEditorLayer::objectsAtPosition @ 0x1000e1c64
// > LevelEditorLayer::addObjectsAtPosition @ 0x1000e1e23
// > LevelEditorLayer::updateDebugDraw @ 0x100100284
// > LevelEditorLayer::updateDebugDraw @ 0x10010029f
// > LevelEditorLayer::updateDebugDraw @ 0x10010043a
// > LevelEditorLayer::updateDebugDraw @ 0x100100458
// > LevelEditorLayer::updateDebugDraw @ 0x10010050d
// > LevelEditorLayer::updateDebugDraw @ 0x10010051f
// > LevelEditorLayer::updateDebugDraw @ 0x1001005ae
// > GJBaseGameLayer::rectIntersectsCircle @ 0x100122e50
// > GJBaseGameLayer::objectIntersectsCircle @ 0x100123305
// > UIPOptionsLayer::ccTouchBegan @ 0x1002b78d4
// > GJShopLayer::ccTouchBegan @ 0x100327324
// > cocos2d::extension::CCControl::isTouchInside @ 0x100352666
// > cocos2d::extension::CCControlSlider::isTouchInside @ 0x1003a020a
// > BoomScrollLayer::ccTouchBegan @ 0x1003a6ec9
// > cocos2d::extension::CCScrollView::ccTouchBegan @ 0x1003f8bd8
// > cocos2d::extension::CCScrollView::ccTouchMoved @ 0x1003f909e
// > cocos2d::extension::CCTableView::ccTouchEnded @ 0x10042da7a
// > CCScrollLayerExt::ccTouchBegan @ 0x10042ec47
// > CreateParticlePopup::ccTouchBegan @ 0x100477184
// > CreateParticlePopup::ccTouchMoved @ 0x1004772c2
// > GJUINode::touchTest @ 0x1004ca2de
// > EditorUI::createRockEdges @ 0x1006142af
// > EditorUI::createRockBases @ 0x1006158d6
// > EditorUI::createRockBases @ 0x100615903
// > EditorUI::createRockBases @ 0x100615932
// > EditorUI::createRockBases @ 0x100615957
// > TableView::cellForTouch @ 0x1006221e5
// > ScrollingLayer::ccTouchBegan @ 0x100720c42
// > cocos2d::CCMenu::itemForTouch @ 0x100794b61
// > cocos2d::CCMenu::itemForTouch @ 0x100794b7b
//
// 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_10028D2D0(float *a1, double a2, double a3, float *a4)
{
float v5; // xmm0_4
float v6; // xmm1_4
if ( *a4 < *a1 )
return 0;
if ( (float)(*a1 + a1[2]) < *a4 )
return 0;
v5 = a4[1];
v6 = a1[1];
return v5 >= v6 && (float)(v6 + a1[3]) >= v5;
}