{"type": "func", "start": 6443200720, "end": 6443201045, "name": "kmMat3RotationAxisAngle", "pseudocode": "// \n// kmMat3RotationAxisAngle from 0x1800b70d0 to 0x1800b7215 (325 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b8c1c\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 kmMat3RotationAxisAngle(float *a1, float *a2, float a3)\n{\n  float v5; // xmm7_4\n  float v6; // xmm0_4\n\n  v5 = cosf(a3);\n  v6 = sinf(a3);\n  *a1 = (float)((float)(*a2 * *a2) * (float)(1.0 - v5)) + v5;\n  a1[1] = (float)((float)(a2[1] * *a2) * (float)(1.0 - v5)) + (float)(v6 * a2[2]);\n  a1[2] = (float)((float)(a2[2] * *a2) * (float)(1.0 - v5)) - (float)(v6 * a2[1]);\n  a1[3] = (float)((float)(*a2 * a2[1]) * (float)(1.0 - v5)) - (float)(v6 * a2[2]);\n  a1[4] = (float)((float)(a2[1] * a2[1]) * (float)(1.0 - v5)) + v5;\n  a1[5] = (float)((float)(a2[2] * a2[1]) * (float)(1.0 - v5)) + (float)(v6 * *a2);\n  a1[6] = (float)((float)(a2[2] * *a2) * (float)(1.0 - v5)) + (float)(v6 * a2[1]);\n  a1[7] = (float)((float)(a2[2] * a2[1]) * (float)(1.0 - v5)) - (float)(v6 * *a2);\n  a1[8] = (float)((float)(a2[2] * a2[2]) * (float)(1.0 - v5)) + v5;\n  return a1;\n}", "assembly": "; \n; kmMat3RotationAxisAngle from 0x1800b70d0 to 0x1800b7215 (325 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b8c1c\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, 0x1800b70d0\npush    rdi                                                            ; +0x5, 0x1800b70d5\nsub     rsp, 40h                                                       ; +0x6, 0x1800b70d6\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xa, 0x1800b70da\nmovaps  xmm0, xmm2; X                                                  ; +0xf, 0x1800b70df\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x12, 0x1800b70e2\nmovaps  xmm6, xmm2                                                     ; +0x17, 0x1800b70e7\nmov     rbx, rdx                                                       ; +0x1a, 0x1800b70ea\nmov     rdi, rcx                                                       ; +0x1d, 0x1800b70ed\ncall    cosf                                                           ; +0x20, 0x1800b70f0\nmovaps  xmm7, xmm0                                                     ; +0x25, 0x1800b70f5\nmovaps  xmm0, xmm6; X                                                  ; +0x28, 0x1800b70f8\ncall    sinf                                                           ; +0x2b, 0x1800b70fb\nmovss   xmm1, dword ptr [rbx]                                          ; +0x30, 0x1800b7100\nmovaps  xmm3, xmm0                                                     ; +0x34, 0x1800b7104\nmovss   xmm4, cs:flt_1800E61A8                                         ; +0x37, 0x1800b7107\nmov     rax, rdi                                                       ; +0x3f, 0x1800b710f\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x42, 0x1800b7112\nsubss   xmm4, xmm7                                                     ; +0x47, 0x1800b7117\nmulss   xmm1, xmm1                                                     ; +0x4b, 0x1800b711b\nmulss   xmm1, xmm4                                                     ; +0x4f, 0x1800b711f\naddss   xmm1, xmm7                                                     ; +0x53, 0x1800b7123\nmovss   dword ptr [rdi], xmm1                                          ; +0x57, 0x1800b7127\nmulss   xmm0, dword ptr [rbx+8]                                        ; +0x5b, 0x1800b712b\nmovss   xmm1, dword ptr [rbx+4]                                        ; +0x60, 0x1800b7130\nmulss   xmm1, dword ptr [rbx]                                          ; +0x65, 0x1800b7135\nmulss   xmm1, xmm4                                                     ; +0x69, 0x1800b7139\naddss   xmm1, xmm0                                                     ; +0x6d, 0x1800b713d\nmovaps  xmm0, xmm3                                                     ; +0x71, 0x1800b7141\nmovss   dword ptr [rdi+4], xmm1                                        ; +0x74, 0x1800b7144\nmulss   xmm0, dword ptr [rbx+4]                                        ; +0x79, 0x1800b7149\nmovss   xmm2, dword ptr [rbx+8]                                        ; +0x7e, 0x1800b714e\nmulss   xmm2, dword ptr [rbx]                                          ; +0x83, 0x1800b7153\nmulss   xmm2, xmm4                                                     ; +0x87, 0x1800b7157\nsubss   xmm2, xmm0                                                     ; +0x8b, 0x1800b715b\nmovaps  xmm0, xmm3                                                     ; +0x8f, 0x1800b715f\nmovss   dword ptr [rdi+8], xmm2                                        ; +0x92, 0x1800b7162\nmulss   xmm0, dword ptr [rbx+8]                                        ; +0x97, 0x1800b7167\nmovss   xmm1, dword ptr [rbx]                                          ; +0x9c, 0x1800b716c\nmulss   xmm1, dword ptr [rbx+4]                                        ; +0xa0, 0x1800b7170\nmulss   xmm1, xmm4                                                     ; +0xa5, 0x1800b7175\nsubss   xmm1, xmm0                                                     ; +0xa9, 0x1800b7179\nmovaps  xmm0, xmm3                                                     ; +0xad, 0x1800b717d\nmovss   dword ptr [rdi+0Ch], xmm1                                      ; +0xb0, 0x1800b7180\nmovss   xmm1, dword ptr [rbx+4]                                        ; +0xb5, 0x1800b7185\nmulss   xmm1, xmm1                                                     ; +0xba, 0x1800b718a\nmulss   xmm1, xmm4                                                     ; +0xbe, 0x1800b718e\naddss   xmm1, xmm7                                                     ; +0xc2, 0x1800b7192\nmovss   dword ptr [rdi+10h], xmm1                                      ; +0xc6, 0x1800b7196\nmulss   xmm0, dword ptr [rbx]                                          ; +0xcb, 0x1800b719b\nmovss   xmm2, dword ptr [rbx+8]                                        ; +0xcf, 0x1800b719f\nmulss   xmm2, dword ptr [rbx+4]                                        ; +0xd4, 0x1800b71a4\nmulss   xmm2, xmm4                                                     ; +0xd9, 0x1800b71a9\naddss   xmm2, xmm0                                                     ; +0xdd, 0x1800b71ad\nmovaps  xmm0, xmm3                                                     ; +0xe1, 0x1800b71b1\nmovss   dword ptr [rdi+14h], xmm2                                      ; +0xe4, 0x1800b71b4\nmulss   xmm0, dword ptr [rbx+4]                                        ; +0xe9, 0x1800b71b9\nmovss   xmm1, dword ptr [rbx+8]                                        ; +0xee, 0x1800b71be\nmulss   xmm1, dword ptr [rbx]                                          ; +0xf3, 0x1800b71c3\nmulss   xmm1, xmm4                                                     ; +0xf7, 0x1800b71c7\naddss   xmm1, xmm0                                                     ; +0xfb, 0x1800b71cb\nmovss   dword ptr [rdi+18h], xmm1                                      ; +0xff, 0x1800b71cf\nmovss   xmm2, dword ptr [rbx+8]                                        ; +0x104, 0x1800b71d4\nmulss   xmm2, dword ptr [rbx+4]                                        ; +0x109, 0x1800b71d9\nmulss   xmm3, dword ptr [rbx]                                          ; +0x10e, 0x1800b71de\nmulss   xmm2, xmm4                                                     ; +0x112, 0x1800b71e2\nsubss   xmm2, xmm3                                                     ; +0x116, 0x1800b71e6\nmovss   dword ptr [rdi+1Ch], xmm2                                      ; +0x11a, 0x1800b71ea\nmovss   xmm0, dword ptr [rbx+8]                                        ; +0x11f, 0x1800b71ef\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x124, 0x1800b71f4\nmulss   xmm0, xmm0                                                     ; +0x129, 0x1800b71f9\nmulss   xmm0, xmm4                                                     ; +0x12d, 0x1800b71fd\naddss   xmm0, xmm7                                                     ; +0x131, 0x1800b7201\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x135, 0x1800b7205\nmovss   dword ptr [rdi+20h], xmm0                                      ; +0x13a, 0x1800b720a\nadd     rsp, 40h                                                       ; +0x13f, 0x1800b720f\npop     rdi                                                            ; +0x143, 0x1800b7213\nretn                                                                   ; +0x144, 0x1800b7214", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b8c1c"], "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"}