{"type": "func", "start": 6443216256, "end": 6443216417, "name": "kmVec3InverseTransform", "pseudocode": "// \n// kmVec3InverseTransform from 0x1800bad80 to 0x1800bae21 (161 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b8e80\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 kmVec3InverseTransform(float *a1, float *a2, float *a3)\n{\n  float v4; // xmm5_4\n  float v5; // xmm4_4\n  float v6; // xmm2_4\n  float v7; // xmm3_4\n  float v8; // xmm4_4\n  float v9; // xmm6_4\n  float v10; // xmm1_4\n  float v11; // xmm2_4\n\n  v4 = *a2 - a3[12];\n  v5 = a2[2] - a3[14];\n  v6 = a2[1] - a3[13];\n  v7 = (float)((float)(v6 * a3[1]) + (float)(v4 * *a3)) + (float)(v5 * a3[2]);\n  v8 = v5 * a3[10];\n  v9 = (float)(v6 * a3[9]) + (float)(v4 * a3[8]);\n  v10 = (float)(a2[2] - a3[14]) * a3[6];\n  v11 = (float)(v6 * a3[5]) + (float)(v4 * a3[4]);\n  *a1 = v7;\n  a1[2] = v9 + v8;\n  a1[1] = v11 + v10;\n  return a1;\n}", "assembly": "; \n; kmVec3InverseTransform from 0x1800bad80 to 0x1800bae21 (161 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b8e80\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\nsub     rsp, 18h                                                       ; +0x0, 0x1800bad80\nmovss   xmm5, dword ptr [rdx]                                          ; +0x4, 0x1800bad84\nmov     rax, rcx                                                       ; +0x8, 0x1800bad88\nsubss   xmm5, dword ptr [r8+30h]                                       ; +0xb, 0x1800bad8b\nmovss   xmm4, dword ptr [rdx+8]                                        ; +0x11, 0x1800bad91\nsubss   xmm4, dword ptr [r8+38h]                                       ; +0x16, 0x1800bad96\nmovaps  [rsp+18h+var_18], xmm6                                         ; +0x1c, 0x1800bad9c\nmovss   xmm6, dword ptr [rdx+4]                                        ; +0x20, 0x1800bada0\nsubss   xmm6, dword ptr [r8+34h]                                       ; +0x25, 0x1800bada5\nmovaps  xmm0, xmm5                                                     ; +0x2b, 0x1800badab\nmulss   xmm0, dword ptr [r8]                                           ; +0x2e, 0x1800badae\nmovaps  xmm1, xmm4                                                     ; +0x33, 0x1800badb3\nmulss   xmm1, dword ptr [r8+8]                                         ; +0x36, 0x1800badb6\nmovaps  xmm3, xmm6                                                     ; +0x3c, 0x1800badbc\nmovaps  xmm2, xmm6                                                     ; +0x3f, 0x1800badbf\nmulss   xmm6, dword ptr [r8+24h]                                       ; +0x42, 0x1800badc2\nmulss   xmm3, dword ptr [r8+4]                                         ; +0x48, 0x1800badc8\nmulss   xmm2, dword ptr [r8+14h]                                       ; +0x4e, 0x1800badce\naddss   xmm3, xmm0                                                     ; +0x54, 0x1800badd4\nmovaps  xmm0, xmm5                                                     ; +0x58, 0x1800badd8\nmulss   xmm5, dword ptr [r8+20h]                                       ; +0x5b, 0x1800baddb\nmulss   xmm0, dword ptr [r8+10h]                                       ; +0x61, 0x1800bade1\naddss   xmm3, xmm1                                                     ; +0x67, 0x1800bade7\nmovaps  xmm1, xmm4                                                     ; +0x6b, 0x1800badeb\nmulss   xmm4, dword ptr [r8+28h]                                       ; +0x6e, 0x1800badee\naddss   xmm6, xmm5                                                     ; +0x74, 0x1800badf4\nmulss   xmm1, dword ptr [r8+18h]                                       ; +0x78, 0x1800badf8\naddss   xmm2, xmm0                                                     ; +0x7e, 0x1800badfe\nmovss   dword ptr [rcx], xmm3                                          ; +0x82, 0x1800bae02\naddss   xmm6, xmm4                                                     ; +0x86, 0x1800bae06\naddss   xmm2, xmm1                                                     ; +0x8a, 0x1800bae0a\nmovss   dword ptr [rcx+8], xmm6                                        ; +0x8e, 0x1800bae0e\nmovaps  xmm6, [rsp+18h+var_18]                                         ; +0x93, 0x1800bae13\nmovss   dword ptr [rcx+4], xmm2                                        ; +0x97, 0x1800bae17\nadd     rsp, 18h                                                       ; +0x9c, 0x1800bae1c\nretn                                                                   ; +0xa0, 0x1800bae20", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b8e80"], "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"}