//
// getDistanceSquared from 0x2f0b58 to 0x2f0b7e (38 bytes)
//
// 1 xrefs:
// > getDistance @ 0x2f0baa
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
float __fastcall getDistanceSquared(float *a1, float *a2)
{
return (float)((float)(a2[1] - a1[1]) * (float)(a2[1] - a1[1])) + (float)((float)(*a2 - *a1) * (float)(*a2 - *a1));
}