{"type": "func", "start": 6443208512, "end": 6443208646, "name": "kmMat4RotationX", "pseudocode": "// \n// kmMat4RotationX from 0x1800b8f40 to 0x1800b8fc6 (134 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b8d0c\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\n__int64 __fastcall kmMat4RotationX(__int64 a1, float a2)\n{\n  float v3; // xmm0_4\n\n  *(_QWORD *)a1 = 1065353216;\n  *(_QWORD *)(a1 + 8) = 0;\n  *(_DWORD *)(a1 + 16) = 0;\n  *(float *)(a1 + 20) = cosf(a2);\n  *(float *)(a1 + 24) = sinf(a2);\n  *(_QWORD *)(a1 + 28) = 0;\n  *(float *)(a1 + 36) = -sinf(a2);\n  v3 = cosf(a2);\n  *(float *)(a1 + 40) = v3;\n  *(_QWORD *)(a1 + 44) = 0;\n  *(_QWORD *)(a1 + 52) = 0;\n  *(_DWORD *)(a1 + 60) = 1065353216;\n  return a1;\n}", "assembly": "; \n; kmMat4RotationX from 0x1800b8f40 to 0x1800b8fc6 (134 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b8d0c\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, 0x1800b8f40\npush    rdi                                                            ; +0x5, 0x1800b8f45\nsub     rsp, 30h                                                       ; +0x6, 0x1800b8f46\nmov     qword ptr [rcx], 3F800000h                                     ; +0xa, 0x1800b8f4a\nxor     edi, edi                                                       ; +0x11, 0x1800b8f51\nmov     [rcx+8], rdi                                                   ; +0x13, 0x1800b8f53\nmovaps  xmm0, xmm1; X                                                  ; +0x17, 0x1800b8f57\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x1a, 0x1800b8f5a\nmov     rbx, rcx                                                       ; +0x1f, 0x1800b8f5f\nmov     [rcx+10h], edi                                                 ; +0x22, 0x1800b8f62\nmovaps  xmm6, xmm1                                                     ; +0x25, 0x1800b8f65\ncall    cosf                                                           ; +0x28, 0x1800b8f68\nmovss   dword ptr [rbx+14h], xmm0                                      ; +0x2d, 0x1800b8f6d\nmovaps  xmm0, xmm6; X                                                  ; +0x32, 0x1800b8f72\ncall    sinf                                                           ; +0x35, 0x1800b8f75\nmovss   dword ptr [rbx+18h], xmm0                                      ; +0x3a, 0x1800b8f7a\nmovaps  xmm0, xmm6; X                                                  ; +0x3f, 0x1800b8f7f\nmov     [rbx+1Ch], rdi                                                 ; +0x42, 0x1800b8f82\ncall    sinf                                                           ; +0x46, 0x1800b8f86\nxorps   xmm0, cs:xmmword_1800E61C0                                     ; +0x4b, 0x1800b8f8b\nmovss   dword ptr [rbx+24h], xmm0                                      ; +0x52, 0x1800b8f92\nmovaps  xmm0, xmm6; X                                                  ; +0x57, 0x1800b8f97\ncall    cosf                                                           ; +0x5a, 0x1800b8f9a\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x5f, 0x1800b8f9f\nmov     rax, rbx                                                       ; +0x64, 0x1800b8fa4\nmovss   dword ptr [rbx+28h], xmm0                                      ; +0x67, 0x1800b8fa7\nmov     [rbx+2Ch], rdi                                                 ; +0x6c, 0x1800b8fac\nmov     [rbx+34h], rdi                                                 ; +0x70, 0x1800b8fb0\nmov     dword ptr [rbx+3Ch], 3F800000h                                 ; +0x74, 0x1800b8fb4\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x7b, 0x1800b8fbb\nadd     rsp, 30h                                                       ; +0x80, 0x1800b8fc0\npop     rdi                                                            ; +0x84, 0x1800b8fc4\nretn                                                                   ; +0x85, 0x1800b8fc5", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b8d0c"], "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"}