Loading...   


long double __cdecl sub_4A9E90(int a1, int a2)
{
  long double y; // fst7@1
  long double x; // fst6@1
  long double z_height; // fst5@1

  y = *(float *)(a1 + offsetof(SPAWNINFO, Y)) - *(float *)(a2 + offsetof(SPAWNINFO, Y));
  x = *(float *)(a1 + offsetof(SPAWNINFO, X)) - *(float *)(a2 + offsetof(SPAWNINFO, X));
  z_height = *(float *)(a1 + offsetof(SPAWNINFO, Z))
           - *(float *)(a1 + offsetof(SPAWNINFO, AvatarHeight))
           - (*(float *)(a2 + offsetof(SPAWNINFO, Z))
            - *(float *)(a2 + offsetof(SPAWNINFO, AvatarHeight)));
  return z_height * z_height + x * x + y * y;
}

Raw Paste Data