{"type": "func", "start": 6443215936, "end": 6443216066, "name": "kmVec3AreEqual", "pseudocode": "// \n// kmVec3AreEqual from 0x1800bac40 to 0x1800bacc2 (130 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n_BOOL8 __fastcall kmVec3AreEqual(float *a1, float *a2)\n{\n  double v2; // xmm2_8\n  double v3; // xmm3_8\n  double v4; // xmm2_8\n  double v5; // xmm3_8\n  double v6; // xmm2_8\n  double v7; // xmm3_8\n\n  v2 = *a2;\n  v3 = *a1;\n  if ( v2 + 0.015625 <= v3 )\n    return 0;\n  if ( v3 <= v2 - 0.015625 )\n    return 0;\n  v4 = a2[1];\n  v5 = a1[1];\n  if ( v4 + 0.015625 <= v5 )\n    return 0;\n  if ( v5 <= v4 - 0.015625 )\n    return 0;\n  v6 = a2[2];\n  v7 = a1[2];\n  return v6 + 0.015625 > v7 && v7 > v6 - 0.015625;\n}", "assembly": "; \n; kmVec3AreEqual from 0x1800bac40 to 0x1800bacc2 (130 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmovss   xmm2, dword ptr [rdx]                                          ; +0x0, 0x1800bac40\nmovss   xmm3, dword ptr [rcx]                                          ; +0x4, 0x1800bac44\nmovsd   xmm1, cs:qword_180106EE8                                       ; +0x8, 0x1800bac48\ncvtps2pd xmm2, xmm2                                                    ; +0x10, 0x1800bac50\ncvtps2pd xmm3, xmm3                                                    ; +0x13, 0x1800bac53\nmovaps  xmm0, xmm2                                                     ; +0x16, 0x1800bac56\naddsd   xmm0, xmm1                                                     ; +0x19, 0x1800bac59\ncomisd  xmm0, xmm3                                                     ; +0x1d, 0x1800bac5d\njbe     short loc_1800BACBF                                            ; +0x21, 0x1800bac61\nsubsd   xmm2, xmm1                                                     ; +0x23, 0x1800bac63\ncomisd  xmm3, xmm2                                                     ; +0x27, 0x1800bac67\njbe     short loc_1800BACBF                                            ; +0x2b, 0x1800bac6b\nmovss   xmm2, dword ptr [rdx+4]                                        ; +0x2d, 0x1800bac6d\nmovss   xmm3, dword ptr [rcx+4]                                        ; +0x32, 0x1800bac72\ncvtps2pd xmm2, xmm2                                                    ; +0x37, 0x1800bac77\ncvtps2pd xmm3, xmm3                                                    ; +0x3a, 0x1800bac7a\nmovaps  xmm0, xmm2                                                     ; +0x3d, 0x1800bac7d\naddsd   xmm0, xmm1                                                     ; +0x40, 0x1800bac80\ncomisd  xmm0, xmm3                                                     ; +0x44, 0x1800bac84\njbe     short loc_1800BACBF                                            ; +0x48, 0x1800bac88\nsubsd   xmm2, xmm1                                                     ; +0x4a, 0x1800bac8a\ncomisd  xmm3, xmm2                                                     ; +0x4e, 0x1800bac8e\njbe     short loc_1800BACBF                                            ; +0x52, 0x1800bac92\nmovss   xmm2, dword ptr [rdx+8]                                        ; +0x54, 0x1800bac94\nmovss   xmm3, dword ptr [rcx+8]                                        ; +0x59, 0x1800bac99\ncvtps2pd xmm2, xmm2                                                    ; +0x5e, 0x1800bac9e\ncvtps2pd xmm3, xmm3                                                    ; +0x61, 0x1800baca1\nmovaps  xmm0, xmm2                                                     ; +0x64, 0x1800baca4\naddsd   xmm0, xmm1                                                     ; +0x67, 0x1800baca7\ncomisd  xmm0, xmm3                                                     ; +0x6b, 0x1800bacab\njbe     short loc_1800BACBF                                            ; +0x6f, 0x1800bacaf\nxor     eax, eax                                                       ; +0x71, 0x1800bacb1\nsubsd   xmm2, xmm1                                                     ; +0x73, 0x1800bacb3\ncomisd  xmm3, xmm2                                                     ; +0x77, 0x1800bacb7\nsetnbe  al                                                             ; +0x7b, 0x1800bacbb\nretn                                                                   ; +0x7e, 0x1800bacbe\nxor     eax, eax                                                       ; +0x7f, 0x1800bacbf\nretn                                                                   ; +0x81, 0x1800bacc1", "xrefs": ["<???> @ 0x1801438a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}