//
// cocos2d::ccpDistance from 0x7f62d0 to 0x7f6310 (64 bytes)
//
// 56 xrefs:
// > CCScrollLayerExt::ccTouchEnded @ 0x3c8d7a
// > CCTextInputNode::ccTouchMoved @ 0x3dcc90
// > PlayerObject::update @ 0x448bc8
// > drawTrace @ 0x47ad38
// > EditorUI::addObjectsToSmartTemplate @ 0x4887b6
// > EditorUI::addObjectsToSmartTemplate @ 0x48894a
// > EditorUI::addObjectsToSmartTemplate @ 0x488962
// > EditorUI::addObjectsToSmartTemplate @ 0x4889ae
// > EditorUI::addObjectsToSmartTemplate @ 0x4889e6
// > EditorUI::addObjectsToSmartTemplate @ 0x488a24
// > EditorUI::addObjectsToSmartTemplate @ 0x488a62
// > EditorUI::addObjectsToSmartTemplate @ 0x488aa0
// > EditorUI::addObjectsToSmartTemplate @ 0x488adc
// > EditorUI::addObjectsToSmartTemplate @ 0x488b18
// > EditorUI::addObjectsToSmartTemplate @ 0x488b58
// > MenuGameLayer::ccTouchBegan @ 0x492e7e
// > ForceBlockGameObject::calculateForceToTarget @ 0x4e9788
// > LevelPage::ccTouchBegan @ 0x51341a
// > HardStreak::updateStroke @ 0x56a5b4
// > HardStreak::updateStroke @ 0x56a782
// > GJBaseGameLayer::objectIntersectsCircle @ 0x58e1de
// > GJBaseGameLayer::objectIntersectsCircle @ 0x58e20c
// > GJBaseGameLayer::objectIntersectsCircle @ 0x58e23a
// > GJBaseGameLayer::objectIntersectsCircle @ 0x58e264
// > GJBaseGameLayer::playerIntersectsCircle @ 0x58e2d8
// > GJBaseGameLayer::rectIntersectsCircle @ 0x58e3a8
// > GJBaseGameLayer::rectIntersectsCircle @ 0x58e3da
// > GJBaseGameLayer::rectIntersectsCircle @ 0x58e40c
// > GJBaseGameLayer::rectIntersectsCircle @ 0x58e43a
// > GJBaseGameLayer::rectIntersectsCircle @ 0x58e4a4
// > GJBaseGameLayer::getAreaObjectValue @ 0x593a74
// > GJBaseGameLayer::getMinDistance @ 0x597310
// > GJBaseGameLayer::getMinDistance @ 0x597326
// > GJEffectManager::createKeyframeCommand @ 0x5d144e
// > UIPOptionsLayer::ccTouchMoved @ 0x5d3d70
// > UIOptionsLayer::ccTouchMoved @ 0x5d579c
// > CurrencyRewardLayer::update @ 0x603ec2
// > GJMapObject::moveMonster @ 0x63f0e2
// > MapSelectLayer::checkTouchMonster @ 0x63f9b0
// > GJRotationControl::ccTouchBegan @ 0x6eb89e
// > GJTransformControl::snapToNearestVertex @ 0x6ecdf6
// > EditorUI::ccTouchBegan @ 0x6f02b4
// > EditorUI::ccTouchMoved @ 0x6f0614
// > EditorUI::ccTouchMoved @ 0x6f0716
// > EditorUI::ccTouchMoved @ 0x6f08ca
// > EditorUI::ccTouchEnded @ 0x6f0aa6
// > EditorUI::ccTouchEnded @ 0x6f0adc
// > EditorUI::ccTouchEnded @ 0x6f0c8c
// > EditorUI::ccTouchEnded @ 0x6f0d26
// > TouchControlEditLayer::ccTouchBegan @ 0x7a31f4
// > cocos2d::extension::CCScrollView::ccTouchBegan @ 0x7aec82
// > cocos2d::extension::CCScrollView::ccTouchMoved @ 0x7aee46
// > cocos2d::CCDrawNode::drawPreciseCubicBezier @ 0x7ccd56
// > cocos2d::CCDrawNode::drawPreciseCubicBezier @ 0x7ccd66
// > cocos2d::CCDrawNode::drawPreciseCubicBezier @ 0x7ccd72
// > cocos2d::CCMotionStreak::update @ 0x7df178
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:09 +0000
//
float __fastcall cocos2d::ccpDistance(cocos2d *this, const cocos2d::CCPoint *a2, const cocos2d::CCPoint *a3, int a4)
{
const cocos2d::CCPoint *v5; // [sp+4h] [bp-Ch] BYREF
const cocos2d::CCPoint *v6; // [sp+8h] [bp-8h]
int v7; // [sp+Ch] [bp-4h]
v5 = a2;
v6 = a3;
v7 = a4;
cocos2d::CCPoint::operator-((float *)&v5, (float *)this, (float *)a2);
return sqrtf((float)(*(float *)&v6 * *(float *)&v6) + (float)(*(float *)&v5 * *(float *)&v5));
}