//
// getDistanceSquared from 0x6aa118 to 0x6aa13c (36 bytes)
//
// 2 xrefs:
// > getDistance @ 0x6aa18c
// > ??> @ 0x6a330
//
// 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
//
float __fastcall getDistanceSquared(float *a1, float *a2)
{
float v2; // s1
v2 = a2[1] - a1[1];
return (float)(v2 * v2) + (float)((float)(*a2 - *a1) * (float)(*a2 - *a1));
}