{"type": "func", "start": 6443210608, "end": 6443210847, "name": "kmQuaternionMultiply", "pseudocode": "// \n// kmQuaternionMultiply from 0x1800b9770 to 0x1800b985f (239 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\nfloat *__fastcall kmQuaternionMultiply(float *a1, float *a2, float *a3)\n{\n  a1[3] = (float)((float)((float)(a3[3] * a2[3]) - (float)(*a2 * *a3)) - (float)(a3[1] * a2[1]))\n        - (float)(a3[2] * a2[2]);\n  *a1 = (float)((float)((float)(*a2 * a3[3]) + (float)(a2[3] * *a3)) + (float)(a2[1] * a3[2])) - (float)(a2[2] * a3[1]);\n  a1[1] = (float)((float)((float)(a2[3] * a3[1]) + (float)(a2[1] * a3[3])) + (float)(a2[2] * *a3))\n        - (float)(a3[2] * *a2);\n  a1[2] = (float)((float)((float)(a2[2] * a3[3]) + (float)(a2[3] * a3[2])) + (float)(*a2 * a3[1]))\n        - (float)(a2[1] * *a3);\n  return a1;\n}", "assembly": "; \n; kmQuaternionMultiply from 0x1800b9770 to 0x1800b985f (239 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 [r8+0Ch]                                       ; +0x0, 0x1800b9770\nmov     rax, rcx                                                       ; +0x6, 0x1800b9776\nmulss   xmm2, dword ptr [rdx+0Ch]                                      ; +0x9, 0x1800b9779\nmovss   xmm0, dword ptr [rdx]                                          ; +0xe, 0x1800b977e\nmulss   xmm0, dword ptr [r8]                                           ; +0x12, 0x1800b9782\nmovss   xmm1, dword ptr [r8+4]                                         ; +0x17, 0x1800b9787\nmulss   xmm1, dword ptr [rdx+4]                                        ; +0x1d, 0x1800b978d\nsubss   xmm2, xmm0                                                     ; +0x22, 0x1800b9792\nmovss   xmm0, dword ptr [r8+8]                                         ; +0x26, 0x1800b9796\nmulss   xmm0, dword ptr [rdx+8]                                        ; +0x2c, 0x1800b979c\nsubss   xmm2, xmm1                                                     ; +0x31, 0x1800b97a1\nsubss   xmm2, xmm0                                                     ; +0x35, 0x1800b97a5\nmovss   dword ptr [rcx+0Ch], xmm2                                      ; +0x39, 0x1800b97a9\nmovss   xmm3, dword ptr [rdx]                                          ; +0x3e, 0x1800b97ae\nmulss   xmm3, dword ptr [r8+0Ch]                                       ; +0x42, 0x1800b97b2\nmovss   xmm0, dword ptr [rdx+0Ch]                                      ; +0x48, 0x1800b97b8\nmulss   xmm0, dword ptr [r8]                                           ; +0x4d, 0x1800b97bd\nmovss   xmm1, dword ptr [rdx+4]                                        ; +0x52, 0x1800b97c2\nmulss   xmm1, dword ptr [r8+8]                                         ; +0x57, 0x1800b97c7\naddss   xmm3, xmm0                                                     ; +0x5d, 0x1800b97cd\nmovss   xmm0, dword ptr [rdx+8]                                        ; +0x61, 0x1800b97d1\nmulss   xmm0, dword ptr [r8+4]                                         ; +0x66, 0x1800b97d6\naddss   xmm3, xmm1                                                     ; +0x6c, 0x1800b97dc\nsubss   xmm3, xmm0                                                     ; +0x70, 0x1800b97e0\nmovss   dword ptr [rcx], xmm3                                          ; +0x74, 0x1800b97e4\nmovss   xmm0, dword ptr [rdx+4]                                        ; +0x78, 0x1800b97e8\nmulss   xmm0, dword ptr [r8+0Ch]                                       ; +0x7d, 0x1800b97ed\nmovss   xmm1, dword ptr [rdx+8]                                        ; +0x83, 0x1800b97f3\nmulss   xmm1, dword ptr [r8]                                           ; +0x88, 0x1800b97f8\nmovss   xmm2, dword ptr [rdx+0Ch]                                      ; +0x8d, 0x1800b97fd\nmulss   xmm2, dword ptr [r8+4]                                         ; +0x92, 0x1800b9802\naddss   xmm2, xmm0                                                     ; +0x98, 0x1800b9808\nmovss   xmm0, dword ptr [r8+8]                                         ; +0x9c, 0x1800b980c\nmulss   xmm0, dword ptr [rdx]                                          ; +0xa2, 0x1800b9812\naddss   xmm2, xmm1                                                     ; +0xa6, 0x1800b9816\nsubss   xmm2, xmm0                                                     ; +0xaa, 0x1800b981a\nmovss   dword ptr [rcx+4], xmm2                                        ; +0xae, 0x1800b981e\nmovss   xmm0, dword ptr [rdx+0Ch]                                      ; +0xb3, 0x1800b9823\nmulss   xmm0, dword ptr [r8+8]                                         ; +0xb8, 0x1800b9828\nmovss   xmm3, dword ptr [rdx+8]                                        ; +0xbe, 0x1800b982e\nmulss   xmm3, dword ptr [r8+0Ch]                                       ; +0xc3, 0x1800b9833\nmovss   xmm1, dword ptr [rdx]                                          ; +0xc9, 0x1800b9839\nmulss   xmm1, dword ptr [r8+4]                                         ; +0xcd, 0x1800b983d\naddss   xmm3, xmm0                                                     ; +0xd3, 0x1800b9843\nmovss   xmm0, dword ptr [rdx+4]                                        ; +0xd7, 0x1800b9847\nmulss   xmm0, dword ptr [r8]                                           ; +0xdc, 0x1800b984c\naddss   xmm3, xmm1                                                     ; +0xe1, 0x1800b9851\nsubss   xmm3, xmm0                                                     ; +0xe5, 0x1800b9855\nmovss   dword ptr [rcx+8], xmm3                                        ; +0xe9, 0x1800b9859\nretn                                                                   ; +0xee, 0x1800b985e", "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"}