{"type": "func", "start": 6443223296, "end": 6443223495, "name": "kmMat4RotationToAxisAngle", "pseudocode": "// \n// kmMat4RotationToAxisAngle from 0x1800bc900 to 0x1800bc9c7 (199 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2ff4\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\n__int64 __fastcall kmMat4RotationToAxisAngle(__int64 a1, __int64 a2, _DWORD *a3)\n{\n  int v4; // xmm1_4\n  int v6; // xmm0_4\n  int v7; // xmm1_4\n  int v8; // xmm0_4\n  int v9; // xmm1_4\n  int v10; // xmm0_4\n  int v11; // xmm1_4\n  _DWORD v13[10]; // [rsp+20h] [rbp-48h] BYREF\n  _BYTE v14[16]; // [rsp+48h] [rbp-20h] BYREF\n\n  v4 = a3[1];\n  v13[0] = *a3;\n  v13[2] = a3[2];\n  v6 = a3[5];\n  v13[1] = v4;\n  v7 = a3[4];\n  v13[4] = v6;\n  v8 = a3[8];\n  v13[3] = v7;\n  v9 = a3[6];\n  v13[6] = v8;\n  v10 = a3[10];\n  v13[5] = v9;\n  v11 = a3[9];\n  v13[8] = v10;\n  v13[7] = v11;\n  kmQuaternionRotationMatrix(v14, v13);\n  kmQuaternionToAxisAngle(v14, a1, a2);\n  return a1;\n}", "assembly": "; \n; kmMat4RotationToAxisAngle from 0x1800bc900 to 0x1800bc9c7 (199 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2ff4\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; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1800bc900\npush    rdi                                                            ; +0x5, 0x1800bc905\nsub     rsp, 60h                                                       ; +0x6, 0x1800bc906\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1800bc90a\nxor     rax, rsp                                                       ; +0x11, 0x1800bc911\nmov     [rsp+68h+var_10], rax                                          ; +0x14, 0x1800bc914\nmovss   xmm0, dword ptr [r8]                                           ; +0x19, 0x1800bc919\nmov     rbx, rdx                                                       ; +0x1e, 0x1800bc91e\nmovss   xmm1, dword ptr [r8+4]                                         ; +0x21, 0x1800bc921\nlea     rdx, [rsp+68h+var_48]                                          ; +0x27, 0x1800bc927\nmovss   [rsp+68h+var_48], xmm0                                         ; +0x2c, 0x1800bc92c\nmov     rdi, rcx                                                       ; +0x32, 0x1800bc932\nmovss   xmm0, dword ptr [r8+8]                                         ; +0x35, 0x1800bc935\nlea     rcx, [rsp+68h+var_20]                                          ; +0x3b, 0x1800bc93b\nmovss   [rsp+68h+var_40], xmm0                                         ; +0x40, 0x1800bc940\nmovss   xmm0, dword ptr [r8+14h]                                       ; +0x46, 0x1800bc946\nmovss   [rsp+68h+var_44], xmm1                                         ; +0x4c, 0x1800bc94c\nmovss   xmm1, dword ptr [r8+10h]                                       ; +0x52, 0x1800bc952\nmovss   [rsp+68h+var_38], xmm0                                         ; +0x58, 0x1800bc958\nmovss   xmm0, dword ptr [r8+20h]                                       ; +0x5e, 0x1800bc95e\nmovss   [rsp+68h+var_3C], xmm1                                         ; +0x64, 0x1800bc964\nmovss   xmm1, dword ptr [r8+18h]                                       ; +0x6a, 0x1800bc96a\nmovss   [rsp+68h+var_30], xmm0                                         ; +0x70, 0x1800bc970\nmovss   xmm0, dword ptr [r8+28h]                                       ; +0x76, 0x1800bc976\nmovss   [rsp+68h+var_34], xmm1                                         ; +0x7c, 0x1800bc97c\nmovss   xmm1, dword ptr [r8+24h]                                       ; +0x82, 0x1800bc982\nmovss   [rsp+68h+var_28], xmm0                                         ; +0x88, 0x1800bc988\nmovss   [rsp+68h+var_2C], xmm1                                         ; +0x8e, 0x1800bc98e\ncall    kmQuaternionRotationMatrix                                     ; +0x94, 0x1800bc994\nmov     r8, rbx                                                        ; +0x99, 0x1800bc999\nlea     rcx, [rsp+68h+var_20]                                          ; +0x9c, 0x1800bc99c\nmov     rdx, rdi                                                       ; +0xa1, 0x1800bc9a1\ncall    kmQuaternionToAxisAngle                                        ; +0xa4, 0x1800bc9a4\nmov     rax, rdi                                                       ; +0xa9, 0x1800bc9a9\nmov     rcx, [rsp+68h+var_10]                                          ; +0xac, 0x1800bc9ac\nxor     rcx, rsp; StackCookie                                          ; +0xb1, 0x1800bc9b1\ncall    __security_check_cookie                                        ; +0xb4, 0x1800bc9b4\nmov     rbx, [rsp+68h+arg_10]                                          ; +0xb9, 0x1800bc9b9\nadd     rsp, 60h                                                       ; +0xc1, 0x1800bc9c1\npop     rdi                                                            ; +0xc5, 0x1800bc9c5\nretn                                                                   ; +0xc6, 0x1800bc9c6", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c2ff4"], "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"}