{"type": "func", "start": 6443233264, "end": 6443233338, "name": "kmVec4Scale", "pseudocode": "// \n// kmVec4Scale from 0x1800beff0 to 0x1800bf03a (74 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c31d4\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// local variable allocation has failed, the output may be wrong!\n__m128 *__fastcall kmVec4Scale(__m128 *a1, float *a2, double a3)\n{\n  float v4; // xmm0_4\n  __m128 v5; // xmm3\n\n  v4 = kmVec4Length(a2);\n  v5 = (__m128)0x3F800000u;\n  v5.m128_f32[0] = 1.0 / v4;\n  *a1 = _mm_mul_ps(_mm_mul_ps(*a1, _mm_shuffle_ps(v5, v5, 0)), _mm_shuffle_ps(*(__m128 *)&a3, *(__m128 *)&a3, 0));\n  return a1;\n}", "assembly": "; \n; kmVec4Scale from 0x1800beff0 to 0x1800bf03a (74 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c31d4\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; \npush    rbx                                                            ; +0x0, 0x1800beff0\nsub     rsp, 30h                                                       ; +0x2, 0x1800beff2\nmov     rbx, rcx                                                       ; +0x6, 0x1800beff6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x9, 0x1800beff9\nmov     rcx, rdx                                                       ; +0xe, 0x1800beffe\nmovaps  xmm6, xmm2                                                     ; +0x11, 0x1800bf001\ncall    kmVec4Length                                                   ; +0x14, 0x1800bf004\nmovss   xmm3, cs:flt_1800EC208                                         ; +0x19, 0x1800bf009\nmov     rax, rbx                                                       ; +0x21, 0x1800bf011\nmovups  xmm1, xmmword ptr [rbx]                                        ; +0x24, 0x1800bf014\ndivss   xmm3, xmm0                                                     ; +0x27, 0x1800bf017\nmovaps  xmm0, xmm6                                                     ; +0x2b, 0x1800bf01b\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x2e, 0x1800bf01e\nshufps  xmm3, xmm3, 0                                                  ; +0x33, 0x1800bf023\nmulps   xmm1, xmm3                                                     ; +0x37, 0x1800bf027\nshufps  xmm0, xmm0, 0                                                  ; +0x3a, 0x1800bf02a\nmulps   xmm1, xmm0                                                     ; +0x3e, 0x1800bf02e\nmovups  xmmword ptr [rbx], xmm1                                        ; +0x41, 0x1800bf031\nadd     rsp, 30h                                                       ; +0x44, 0x1800bf034\npop     rbx                                                            ; +0x48, 0x1800bf038\nretn                                                                   ; +0x49, 0x1800bf039", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c31d4"], "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"}