{"type": "func", "start": 6443217936, "end": 6443217987, "name": "kmVec4Normalize", "pseudocode": "// \n// kmVec4Normalize from 0x1800bb410 to 0x1800bb443 (51 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b8ef8\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__m128 *__fastcall kmVec4Normalize(__m128 *a1, float *a2)\n{\n  float v3; // xmm0_4\n  __m128 v4; // xmm2\n\n  v3 = kmVec4Length(a2);\n  v4 = (__m128)0x3F800000u;\n  v4.m128_f32[0] = 1.0 / v3;\n  *a1 = _mm_mul_ps(_mm_shuffle_ps(v4, v4, 0), *a1);\n  return a1;\n}", "assembly": "; \n; kmVec4Normalize from 0x1800bb410 to 0x1800bb443 (51 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b8ef8\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\npush    rbx                                                            ; +0x0, 0x1800bb410\nsub     rsp, 20h                                                       ; +0x2, 0x1800bb412\nmov     rbx, rcx                                                       ; +0x6, 0x1800bb416\nmov     rcx, rdx                                                       ; +0x9, 0x1800bb419\ncall    kmVec4Length                                                   ; +0xc, 0x1800bb41c\nmovss   xmm2, cs:flt_1800E61A8                                         ; +0x11, 0x1800bb421\nmov     rax, rbx                                                       ; +0x19, 0x1800bb429\ndivss   xmm2, xmm0                                                     ; +0x1c, 0x1800bb42c\nmovups  xmm0, xmmword ptr [rbx]                                        ; +0x20, 0x1800bb430\nshufps  xmm2, xmm2, 0                                                  ; +0x23, 0x1800bb433\nmulps   xmm2, xmm0                                                     ; +0x27, 0x1800bb437\nmovups  xmmword ptr [rbx], xmm2                                        ; +0x2a, 0x1800bb43a\nadd     rsp, 20h                                                       ; +0x2d, 0x1800bb43d\npop     rbx                                                            ; +0x31, 0x1800bb441\nretn                                                                   ; +0x32, 0x1800bb442", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b8ef8"], "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"}