// // kmPlaneClassifyPoint from 0xaded40 to 0xaded98 (88 bytes) // // 1 xrefs: // > @ 0x4d0e8 // // 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; // 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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source