//
// kmPlaneClassifyPoint from 0x1800b91c0 to 0x1800b920a (74 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801438a8
//
// 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 kmPlaneClassifyPoint(float *a1, float *a2)
{
__int64 result; // rax
double v3; // xmm1_8
result = 0;
v3 = (float)((float)((float)((float)(a1[1] * a2[1]) + (float)(*a1 * *a2)) + (float)(a1[2] * a2[2])) + a1[3]);
if ( v3 <= 0.001 )
{
LOBYTE(result) = v3 >= -0.001;
return (unsigned int)(result + 1);
}
return result;
}