{"type": "func", "start": 6443233104, "end": 6443233199, "name": "kmVec4LengthSq", "pseudocode": "// \n// kmVec4LengthSq from 0x1800bef50 to 0x1800befaf (95 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c31bc\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\nfloat __fastcall kmVec4LengthSq(float *a1)\n{\n  float v2; // xmm6_4\n  float v3; // xmm7_4\n  float v4; // xmm7_4\n  float v5; // xmm6_4\n\n  v2 = *a1;\n  v3 = kmSQR(a1[1]);\n  v4 = v3 + kmSQR(v2);\n  v5 = kmSQR(a1[2]) + v4;\n  return kmSQR(a1[3]) + v5;\n}", "assembly": "; \n; kmVec4LengthSq from 0x1800bef50 to 0x1800befaf (95 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c31bc\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, 0x1800bef50\nsub     rsp, 40h                                                       ; +0x2, 0x1800bef52\nmovss   xmm0, dword ptr [rcx+4]                                        ; +0x6, 0x1800bef56\nmov     rbx, rcx                                                       ; +0xb, 0x1800bef5b\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xe, 0x1800bef5e\nmovss   xmm6, dword ptr [rcx]                                          ; +0x13, 0x1800bef63\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x17, 0x1800bef67\ncall    kmSQR                                                          ; +0x1c, 0x1800bef6c\nmovaps  xmm7, xmm0                                                     ; +0x21, 0x1800bef71\nmovaps  xmm0, xmm6                                                     ; +0x24, 0x1800bef74\ncall    kmSQR                                                          ; +0x27, 0x1800bef77\naddss   xmm7, xmm0                                                     ; +0x2c, 0x1800bef7c\nmovss   xmm0, dword ptr [rbx+8]                                        ; +0x30, 0x1800bef80\ncall    kmSQR                                                          ; +0x35, 0x1800bef85\nmovaps  xmm6, xmm0                                                     ; +0x3a, 0x1800bef8a\nmovss   xmm0, dword ptr [rbx+0Ch]                                      ; +0x3d, 0x1800bef8d\naddss   xmm6, xmm7                                                     ; +0x42, 0x1800bef92\ncall    kmSQR                                                          ; +0x46, 0x1800bef96\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x4b, 0x1800bef9b\naddss   xmm0, xmm6                                                     ; +0x50, 0x1800befa0\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x54, 0x1800befa4\nadd     rsp, 40h                                                       ; +0x59, 0x1800befa9\npop     rbx                                                            ; +0x5d, 0x1800befad\nretn                                                                   ; +0x5e, 0x1800befae", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c31bc"], "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"}