{"type": "func", "start": 6443215520, "end": 6443215574, "name": "kmVec2LengthSq", "pseudocode": "// \n// kmVec2LengthSq from 0x1800baaa0 to 0x1800baad6 (54 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b8e5c\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 kmVec2LengthSq(__int64 a1)\n{\n  __int128 v1; // xmm0\n  __int128 v3; // xmm6\n\n  v1 = *(unsigned int *)(a1 + 4);\n  *(float *)&v1 = kmSQR(*(float *)&v1);\n  v3 = v1;\n  *(float *)&v3 = *(float *)&v1 + kmSQR(*(float *)a1);\n  return (__m128)v3;\n}", "assembly": "; \n; kmVec2LengthSq from 0x1800baaa0 to 0x1800baad6 (54 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b8e5c\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, 0x1800baaa0\nsub     rsp, 30h                                                       ; +0x2, 0x1800baaa2\nmovss   xmm0, dword ptr [rcx+4]                                        ; +0x6, 0x1800baaa6\nmov     rbx, rcx                                                       ; +0xb, 0x1800baaab\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xe, 0x1800baaae\ncall    kmSQR                                                          ; +0x13, 0x1800baab3\nmovaps  xmm6, xmm0                                                     ; +0x18, 0x1800baab8\nmovss   xmm0, dword ptr [rbx]                                          ; +0x1b, 0x1800baabb\ncall    kmSQR                                                          ; +0x1f, 0x1800baabf\naddss   xmm6, xmm0                                                     ; +0x24, 0x1800baac4\nmovaps  xmm0, xmm6                                                     ; +0x28, 0x1800baac8\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x2b, 0x1800baacb\nadd     rsp, 30h                                                       ; +0x30, 0x1800baad0\npop     rbx                                                            ; +0x34, 0x1800baad4\nretn                                                                   ; +0x35, 0x1800baad5", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b8e5c"], "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"}