//
// kmPlaneClassifyPoint from 0x7d01c8 to 0x7d021e (86 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:34 +0000
//
int __fastcall kmPlaneClassifyPoint(float *a1, float *a2)
{
double v2; // d7
v2 = (float)((float)((float)((float)(a1[1] * a2[1]) + (float)(*a1 * *a2)) + (float)(a1[2] * a2[2])) + a1[3]);
if ( v2 > 0.001 )
return 0;
if ( v2 >= -0.001 )
return 2;
return 1;
}