{"type": "func", "start": 6443231328, "end": 6443231468, "name": "kmVec3Cross", "pseudocode": "// \n// kmVec3Cross from 0x1800be860 to 0x1800be8ec (140 bytes)\n// \n// 10 xrefs:\n// > kmMat4LookAt @ 0x1800bbbac\n// > kmMat4LookAt @ 0x1800bbbca\n// > kmPlaneFromPoints @ 0x1800bce62\n// > kmQuaternionMultiplyVec3 @ 0x1800bd3da\n// > kmQuaternionMultiplyVec3 @ 0x1800bd3ee\n// > kmQuaternionRotationBetweenVec3 @ 0x1800bd6cc\n// > kmQuaternionRotationBetweenVec3 @ 0x1800bd708\n// > kmQuaternionRotationBetweenVec3 @ 0x1800bd793\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3144\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:24 +0000\n// \n\nfloat *__fastcall kmVec3Cross(float *a1, float *a2, float *a3)\n{\n  float v3; // xmm3_4\n  float v5; // xmm5_4\n  float v6; // xmm4_4\n  float v7; // xmm2_4\n  float v8; // xmm7_4\n  float v9; // xmm0_4\n  float v10; // xmm8_4\n\n  v3 = a2[2];\n  v5 = a2[1];\n  v6 = a3[2];\n  v7 = *a3;\n  v8 = a3[1];\n  v9 = *a2;\n  v10 = *a2 * v8;\n  *a1 = (float)(v5 * v6) - (float)(v3 * v8);\n  a1[2] = v10 - (float)(v7 * v5);\n  a1[1] = (float)(v7 * v3) - (float)(v9 * v6);\n  return a1;\n}", "assembly": "; \n; kmVec3Cross from 0x1800be860 to 0x1800be8ec (140 bytes)\n; \n; 10 xrefs:\n; > kmMat4LookAt @ 0x1800bbbac\n; > kmMat4LookAt @ 0x1800bbbca\n; > kmPlaneFromPoints @ 0x1800bce62\n; > kmQuaternionMultiplyVec3 @ 0x1800bd3da\n; > kmQuaternionMultiplyVec3 @ 0x1800bd3ee\n; > kmQuaternionRotationBetweenVec3 @ 0x1800bd6cc\n; > kmQuaternionRotationBetweenVec3 @ 0x1800bd708\n; > kmQuaternionRotationBetweenVec3 @ 0x1800bd793\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3144\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:24 +0000\n; \nsub     rsp, 38h                                                       ; +0x0, 0x1800be860\nmovss   xmm3, dword ptr [rdx+8]                                        ; +0x4, 0x1800be864\nmov     rax, rcx                                                       ; +0x9, 0x1800be869\nmovss   xmm5, dword ptr [rdx+4]                                        ; +0xc, 0x1800be86c\nmovaps  xmm0, xmm3                                                     ; +0x11, 0x1800be871\nmovss   xmm4, dword ptr [r8+8]                                         ; +0x14, 0x1800be874\nmovaps  xmm1, xmm5                                                     ; +0x1a, 0x1800be87a\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x1d, 0x1800be87d\nmovss   xmm6, dword ptr [r8]                                           ; +0x22, 0x1800be882\nmovaps  [rsp+38h+var_28], xmm7                                         ; +0x27, 0x1800be887\nmovaps  xmm2, xmm6                                                     ; +0x2c, 0x1800be88c\nmovss   xmm7, dword ptr [r8+4]                                         ; +0x2f, 0x1800be88f\nmovaps  [rsp+38h+var_38], xmm8                                         ; +0x35, 0x1800be895\nmovss   xmm8, dword ptr [rdx]                                          ; +0x3a, 0x1800be89a\nmulss   xmm0, xmm7                                                     ; +0x3f, 0x1800be89f\nmulss   xmm6, xmm5                                                     ; +0x43, 0x1800be8a3\nmulss   xmm1, xmm4                                                     ; +0x47, 0x1800be8a7\nmulss   xmm2, xmm3                                                     ; +0x4b, 0x1800be8ab\nsubss   xmm1, xmm0                                                     ; +0x4f, 0x1800be8af\nmovaps  xmm0, xmm8                                                     ; +0x53, 0x1800be8b3\nmulss   xmm8, xmm7                                                     ; +0x57, 0x1800be8b7\nmovaps  xmm7, [rsp+38h+var_28]                                         ; +0x5c, 0x1800be8bc\nmulss   xmm0, xmm4                                                     ; +0x61, 0x1800be8c1\nsubss   xmm8, xmm6                                                     ; +0x65, 0x1800be8c5\nmovss   dword ptr [rcx], xmm1                                          ; +0x6a, 0x1800be8ca\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x6e, 0x1800be8ce\nsubss   xmm2, xmm0                                                     ; +0x73, 0x1800be8d3\nmovss   dword ptr [rcx+8], xmm8                                        ; +0x77, 0x1800be8d7\nmovaps  xmm8, [rsp+38h+var_38]                                         ; +0x7d, 0x1800be8dd\nmovss   dword ptr [rcx+4], xmm2                                        ; +0x82, 0x1800be8e2\nadd     rsp, 38h                                                       ; +0x87, 0x1800be8e7\nretn                                                                   ; +0x8b, 0x1800be8eb", "xrefs": ["kmMat4LookAt @ 0x1800bbbac", "kmMat4LookAt @ 0x1800bbbca", "kmPlaneFromPoints @ 0x1800bce62", "kmQuaternionMultiplyVec3 @ 0x1800bd3da", "kmQuaternionMultiplyVec3 @ 0x1800bd3ee", "kmQuaternionRotationBetweenVec3 @ 0x1800bd6cc", "kmQuaternionRotationBetweenVec3 @ 0x1800bd708", "kmQuaternionRotationBetweenVec3 @ 0x1800bd793", "<???> @ 0x18014cf68", "<???> @ 0x1801c3144"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}