//
// cocos2d::extension::CCControlPotentiometer::distanceBetweenPointAndPoint from 0x180008f80 to 0x180008fb8 (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x180032408
//
// This function is hookable on this platform (idp: pc, 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 12:15:37 +0000
//
float __fastcall cocos2d::extension::CCControlPotentiometer::distanceBetweenPointAndPoint(
__int64 a1,
float *a2,
float *a3)
{
float v3; // xmm1_4
v3 = (float)((float)(a2[1] - a3[1]) * (float)(a2[1] - a3[1])) + (float)((float)(*a2 - *a3) * (float)(*a2 - *a3));
if ( v3 < 0.0 )
return sqrtf(v3);
else
return fsqrt(v3);
}