{"type": "func", "start": 6443217840, "end": 6443217932, "name": "kmVec4LengthSq", "pseudocode": "// \n// kmVec4LengthSq from 0x1800bb3b0 to 0x1800bb40c (92 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b8eec\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 kmVec4LengthSq(float *a1)\n{\n  float v2; // xmm7_4\n  float v3; // xmm7_4\n  float v4; // xmm6_4\n\n  v2 = kmSQR(a1[1]);\n  v3 = v2 + kmSQR(*a1);\n  v4 = kmSQR(a1[2]) + v3;\n  return kmSQR(a1[3]) + v4;\n}", "assembly": "; \n; kmVec4LengthSq from 0x1800bb3b0 to 0x1800bb40c (92 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b8eec\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, 0x1800bb3b0\nsub     rsp, 40h                                                       ; +0x2, 0x1800bb3b2\nmovss   xmm0, dword ptr [rcx+4]                                        ; +0x6, 0x1800bb3b6\nmov     rbx, rcx                                                       ; +0xb, 0x1800bb3bb\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xe, 0x1800bb3be\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x13, 0x1800bb3c3\ncall    kmSQR                                                          ; +0x18, 0x1800bb3c8\nmovaps  xmm7, xmm0                                                     ; +0x1d, 0x1800bb3cd\nmovss   xmm0, dword ptr [rbx]                                          ; +0x20, 0x1800bb3d0\ncall    kmSQR                                                          ; +0x24, 0x1800bb3d4\naddss   xmm7, xmm0                                                     ; +0x29, 0x1800bb3d9\nmovss   xmm0, dword ptr [rbx+8]                                        ; +0x2d, 0x1800bb3dd\ncall    kmSQR                                                          ; +0x32, 0x1800bb3e2\nmovaps  xmm6, xmm0                                                     ; +0x37, 0x1800bb3e7\nmovss   xmm0, dword ptr [rbx+0Ch]                                      ; +0x3a, 0x1800bb3ea\naddss   xmm6, xmm7                                                     ; +0x3f, 0x1800bb3ef\ncall    kmSQR                                                          ; +0x43, 0x1800bb3f3\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x48, 0x1800bb3f8\naddss   xmm0, xmm6                                                     ; +0x4d, 0x1800bb3fd\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x51, 0x1800bb401\nadd     rsp, 40h                                                       ; +0x56, 0x1800bb406\npop     rbx                                                            ; +0x5a, 0x1800bb40a\nretn                                                                   ; +0x5b, 0x1800bb40b", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b8eec"], "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"}