{"type": "func", "start": 6443211232, "end": 6443211351, "name": "kmQuaternionRotationAxis", "pseudocode": "// \n// kmQuaternionRotationAxis from 0x1800b99e0 to 0x1800b9a57 (119 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b8d84\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 kmQuaternionRotationAxis(float *a1, float *a2, float a3)\n{\n  float v5; // xmm7_4\n\n  v5 = sinf(a3 * 0.5);\n  a1[3] = cosf(a3 * 0.5);\n  *a1 = v5 * *a2;\n  a1[1] = v5 * a2[1];\n  a1[2] = v5 * a2[2];\n  return a1;\n}", "assembly": "; \n; kmQuaternionRotationAxis from 0x1800b99e0 to 0x1800b9a57 (119 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b8d84\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800b99e0\npush    rdi                                                            ; +0x5, 0x1800b99e5\nsub     rsp, 40h                                                       ; +0x6, 0x1800b99e6\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xa, 0x1800b99ea\nmov     rbx, rdx                                                       ; +0xf, 0x1800b99ef\nmovaps  xmm6, xmm2                                                     ; +0x12, 0x1800b99f2\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x15, 0x1800b99f5\nmulss   xmm6, cs:dword_1800E6308                                       ; +0x1a, 0x1800b99fa\nmov     rdi, rcx                                                       ; +0x22, 0x1800b9a02\nmovaps  xmm0, xmm6; X                                                  ; +0x25, 0x1800b9a05\ncall    sinf                                                           ; +0x28, 0x1800b9a08\nmovaps  xmm7, xmm0                                                     ; +0x2d, 0x1800b9a0d\nmovaps  xmm0, xmm6; X                                                  ; +0x30, 0x1800b9a10\ncall    cosf                                                           ; +0x33, 0x1800b9a13\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x38, 0x1800b9a18\nmovaps  xmm1, xmm7                                                     ; +0x3d, 0x1800b9a1d\nmovss   dword ptr [rdi+0Ch], xmm0                                      ; +0x40, 0x1800b9a20\nmovaps  xmm2, xmm7                                                     ; +0x45, 0x1800b9a25\nmulss   xmm1, dword ptr [rbx]                                          ; +0x48, 0x1800b9a28\nmov     rax, rdi                                                       ; +0x4c, 0x1800b9a2c\nmovss   dword ptr [rdi], xmm1                                          ; +0x4f, 0x1800b9a2f\nmulss   xmm2, dword ptr [rbx+4]                                        ; +0x53, 0x1800b9a33\nmovss   dword ptr [rdi+4], xmm2                                        ; +0x58, 0x1800b9a38\nmulss   xmm7, dword ptr [rbx+8]                                        ; +0x5d, 0x1800b9a3d\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x62, 0x1800b9a42\nmovss   dword ptr [rdi+8], xmm7                                        ; +0x67, 0x1800b9a47\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x6c, 0x1800b9a4c\nadd     rsp, 40h                                                       ; +0x71, 0x1800b9a51\npop     rdi                                                            ; +0x75, 0x1800b9a55\nretn                                                                   ; +0x76, 0x1800b9a56", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b8d84"], "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"}