//
// kmPlaneClassifyPoint from 0xd519a8 to 0xd51a00 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x6c1a8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:07:41 +0000
//
__int64 __fastcall kmPlaneClassifyPoint(float *a1, float *a2)
{
__int64 result; // x0
double v4; // d0
result = 0;
v4 = (float)((float)((float)((float)(a1[1] * a2[1]) + (float)(*a1 * *a2)) + (float)(a1[2] * a2[2])) + a1[3]);
if ( v4 <= 0.001 )
{
if ( v4 < -0.001 )
return 1;
else
return 2;
}
return result;
}