//
// getDistance from 0x6aa13c to 0x6aa1d4 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x697c0
//
// 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 12:50:47 +0000
//
__int64 __fastcall getDistance(const cocos2d::CCPoint *a1, const cocos2d::CCPoint *a2)
{
float v4; // [xsp+38h] [xbp+38h] BYREF
float v5; // [xsp+40h] [xbp+40h] BYREF
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v4, a1);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, a2);
sqrtf(getDistanceSquared(&v4, &v5));
return _stack_chk_guard;
}