//
// SquareDistance from 0x622120 to 0x622134 (20 bytes)
//
// 2 xrefs:
// > PlayerObject::updateShipRotation @ 0x625744
// > ??> @ 0x3f930
//
// 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 SquareDistance(float a1, float a2, float a3, float a4)
{
return (float)((float)(a4 - a2) * (float)(a4 - a2)) + (float)((float)(a3 - a1) * (float)(a3 - a1));
}