{"type": "func", "start": 6443231952, "end": 6443232030, "name": "kmVec3LengthSq", "pseudocode": "// \n// kmVec3LengthSq from 0x1800bead0 to 0x1800beb1e (78 bytes)\n// \n// 4 xrefs:\n// > kmQuaternionRotationBetweenVec3 @ 0x1800bd64a\n// > kmQuaternionRotationBetweenVec3 @ 0x1800bd6d5\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3174\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 kmVec3LengthSq(float *a1)\n{\n  float v2; // xmm6_4\n  float v3; // xmm7_4\n  float v4; // xmm7_4\n\n  v2 = *a1;\n  v3 = kmSQR(a1[1]);\n  v4 = v3 + kmSQR(v2);\n  return kmSQR(a1[2]) + v4;\n}", "assembly": "; \n; kmVec3LengthSq from 0x1800bead0 to 0x1800beb1e (78 bytes)\n; \n; 4 xrefs:\n; > kmQuaternionRotationBetweenVec3 @ 0x1800bd64a\n; > kmQuaternionRotationBetweenVec3 @ 0x1800bd6d5\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3174\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, 0x1800bead0\nsub     rsp, 40h                                                       ; +0x2, 0x1800bead2\nmovss   xmm0, dword ptr [rcx+4]                                        ; +0x6, 0x1800bead6\nmov     rbx, rcx                                                       ; +0xb, 0x1800beadb\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0xe, 0x1800beade\nmovss   xmm6, dword ptr [rcx]                                          ; +0x13, 0x1800beae3\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x17, 0x1800beae7\ncall    kmSQR                                                          ; +0x1c, 0x1800beaec\nmovaps  xmm7, xmm0                                                     ; +0x21, 0x1800beaf1\nmovaps  xmm0, xmm6                                                     ; +0x24, 0x1800beaf4\ncall    kmSQR                                                          ; +0x27, 0x1800beaf7\naddss   xmm7, xmm0                                                     ; +0x2c, 0x1800beafc\nmovss   xmm0, dword ptr [rbx+8]                                        ; +0x30, 0x1800beb00\ncall    kmSQR                                                          ; +0x35, 0x1800beb05\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x3a, 0x1800beb0a\naddss   xmm0, xmm7                                                     ; +0x3f, 0x1800beb0f\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x43, 0x1800beb13\nadd     rsp, 40h                                                       ; +0x48, 0x1800beb18\npop     rbx                                                            ; +0x4c, 0x1800beb1c\nretn                                                                   ; +0x4d, 0x1800beb1d", "xrefs": ["kmQuaternionRotationBetweenVec3 @ 0x1800bd64a", "kmQuaternionRotationBetweenVec3 @ 0x1800bd6d5", "<???> @ 0x18014cf68", "<???> @ 0x1801c3174"], "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"}