//
// kmMat3AreEqual from 0x1800b6b80 to 0x1800b6bda (90 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 kmMat3AreEqual(float *a1, float *a2)
{
int v2; // eax
signed __int64 v3; // rcx
double v4; // xmm1_8
double v5; // xmm2_8
if ( a1 == a2 )
return 1;
v2 = 0;
v3 = (char *)a1 - (char *)a2;
while ( 1 )
{
v4 = *(float *)((char *)a2 + v3);
v5 = *a2;
if ( v4 + 0.015625 <= v5 || v5 <= v4 - 0.015625 )
break;
++v2;
++a2;
if ( v2 >= 9 )
return 1;
}
return 0;
}