//
// cocos2d::ccpDistance from 0x1002439fc to 0x100243a2c (48 bytes)
//
// 49 xrefs:
// > sub_100011010 @ 0x1000116a0
// > HardStreak::updateStroke @ 0x100066268
// > HardStreak::updateStroke @ 0x10006645c
// > GJRotationControl::ccTouchBegan @ 0x100157974
// > sub_10015B348 @ 0x10015b488
// > EditorUI::ccTouchBegan @ 0x10016132c
// > EditorUI::ccTouchMoved @ 0x1001616d4
// > EditorUI::ccTouchMoved @ 0x10016175c
// > EditorUI::ccTouchMoved @ 0x1001619b8
// > EditorUI::ccTouchEnded @ 0x100161c70
// > EditorUI::ccTouchEnded @ 0x100161ca0
// > EditorUI::ccTouchEnded @ 0x100161cc8
// > EditorUI::ccTouchEnded @ 0x100161e64
// > EditorUI::ccTouchEnded @ 0x100161f00
// > CCTextInputNode::ccTouchMoved @ 0x1001ff338
// > cocos2d::CCMotionStreak::update @ 0x100208960
// > GJBaseGameLayer::rectIntersectsCircle @ 0x100280a04
// > GJBaseGameLayer::rectIntersectsCircle @ 0x100280a2c
// > GJBaseGameLayer::rectIntersectsCircle @ 0x100280a54
// > GJBaseGameLayer::rectIntersectsCircle @ 0x100280a7c
// > GJBaseGameLayer::rectIntersectsCircle @ 0x100280b08
// > GJBaseGameLayer::playerIntersectsCircle @ 0x100280cac
// > GJBaseGameLayer::objectIntersectsCircle @ 0x100280db4
// > GJBaseGameLayer::objectIntersectsCircle @ 0x100280ddc
// > GJBaseGameLayer::objectIntersectsCircle @ 0x100280e04
// > GJBaseGameLayer::objectIntersectsCircle @ 0x100280e4c
// > GJBaseGameLayer::getAreaObjectValue @ 0x100292964
// > GJBaseGameLayer::getMinDistance @ 0x1002a2a2c
// > GJBaseGameLayer::getMinDistance @ 0x1002a2a40
// > PlayerObject::update @ 0x1002b632c
// > UIPOptionsLayer::ccTouchMoved @ 0x100381324
// > CCScrollLayerExt::ccTouchEnded @ 0x10039de94
// > CurrencyRewardLayer::update @ 0x1003bee0c
// > sub_10040908C @ 0x1004091c8
// > ForceBlockGameObject::calculateForceToTarget @ 0x10043de24
// > MenuGameLayer::ccTouchBegan @ 0x100442e6c
// > EditorUI::addObjectsToSmartTemplate @ 0x10047877c
// > EditorUI::addObjectsToSmartTemplate @ 0x100478794
// > EditorUI::addObjectsToSmartTemplate @ 0x1004787a8
// > EditorUI::addObjectsToSmartTemplate @ 0x100478830
// > EditorUI::addObjectsToSmartTemplate @ 0x10047886c
// > EditorUI::addObjectsToSmartTemplate @ 0x1004788a8
// > EditorUI::addObjectsToSmartTemplate @ 0x1004788e4
// > EditorUI::addObjectsToSmartTemplate @ 0x100478920
// > EditorUI::addObjectsToSmartTemplate @ 0x10047895c
// > EditorUI::addObjectsToSmartTemplate @ 0x100478998
// > EditorUI::addObjectsToSmartTemplate @ 0x1004789d4
// > LevelPage::ccTouchBegan @ 0x100486614
// > TouchControlEditLayer::ccTouchBegan @ 0x10052dfb8
//
// 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 11:01:25 +0000
//
float __fastcall cocos2d::ccpDistance(float32x2_t *a1, float32x2_t *a2)
{
float32x2_t v3; // [xsp+8h] [xbp-8h] BYREF
sub_10002632C(a1, a2, &v3);
return sqrtf((float)(v3.f32[1] * v3.f32[1]) + (float)(v3.f32[0] * v3.f32[0]));
}