//
// sub_100489640 from 0x100489640 to 0x100489696 (86 bytes)
//
// 0 xrefs:
//
// 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
//
__int64 __fastcall sub_100489640(float *a1, float *a2)
{
double v2; // xmm0_8
__int64 result; // rax
v2 = (float)((float)((float)(a1[2] * a2[2]) + (float)((float)(*a1 * *a2) + (float)(a1[1] * a2[1]))) + a1[3]);
result = 0;
if ( v2 <= 0.001 )
return (unsigned int)(v2 >= -0.001) + 1;
return result;
}