{"type": "func", "start": 4301762480, "end": 4301762619, "name": "GameObject::updateStartPos", "pseudocode": "// \n// GameObject::updateStartPos from 0x10067afb0 to 0x10067b03b (139 bytes)\n// \n// 9 xrefs:\n// > EditorUI::findSnapObject_1 @ 0x10001a481\n// > LevelEditorLayer::rotationForSlopeNearObject @ 0x1000b0308\n// > LevelEditorLayer::updateVisibility @ 0x1000bdd23\n// > sub_10060F130 @ 0x10060f18b\n// > sub_10060F300 @ 0x10060f35b\n// > EditorUI::getGroupCenter @ 0x10060ff77\n// > EditorUI::getGroupCenter @ 0x10060ffee\n// > EditorUI::resetObjectEditorValues @ 0x1006138e1\n// > GJTransformControl::loadValues @ 0x100645651\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 12:35:03 +0000\n// \n\nunsigned __int64 __fastcall GameObject::updateStartPos(__int64 a1)\n{\n  __m64 v1; // rax\n  _QWORD *v2; // rax\n  __m128 v3; // xmm2\n  __m128d v4; // xmm0\n  __m128 v5; // xmm1\n  __m128 v6; // xmm2\n  unsigned __int64 result; // rax\n  __m64 v8[2]; // [rsp+0h] [rbp-10h] BYREF\n\n  v8[0] = v1;\n  v2 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1);\n  sub_1002782D0(v8, v2);\n  v3 = (__m128)*(unsigned __int64 *)(a1 + 960);\n  v4 = _mm_sub_pd(*(__m128d *)(a1 + 944), _mm_cvtps_pd(v3));\n  v5 = _mm_cvtpd_ps(_mm_sub_pd(_mm_cvtps_pd(v8[0]), v4));\n  v8[0] = *(__m64 *)v5.f32;\n  v6 = _mm_cmpneq_ps(v3, v5);\n  result = (unsigned int)_mm_movemask_pd((__m128d)_mm_unpacklo_ps(v6, v6));\n  if ( (_DWORD)result )\n  {\n    *(_WORD *)(a1 + 864) = 257;\n    *(_BYTE *)(a1 + 840) = 1;\n    *(__m128d *)(a1 + 944) = _mm_add_pd(v4, _mm_cvtps_pd(v5));\n    return (unsigned __int64)sub_100278300((_QWORD *)(a1 + 960), v8);\n  }\n  return result;\n}", "assembly": "; \n; GameObject::updateStartPos from 0x10067afb0 to 0x10067b03b (139 bytes)\n; \n; 9 xrefs:\n; > EditorUI::findSnapObject_1 @ 0x10001a481\n; > LevelEditorLayer::rotationForSlopeNearObject @ 0x1000b0308\n; > LevelEditorLayer::updateVisibility @ 0x1000bdd23\n; > sub_10060F130 @ 0x10060f18b\n; > sub_10060F300 @ 0x10060f35b\n; > EditorUI::getGroupCenter @ 0x10060ff77\n; > EditorUI::getGroupCenter @ 0x10060ffee\n; > EditorUI::resetObjectEditorValues @ 0x1006138e1\n; > GJTransformControl::loadValues @ 0x100645651\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 12:35:03 +0000\n; \npush    rbp                                                            ; +0x0, 0x10067afb0\nmov     rbp, rsp                                                       ; +0x1, 0x10067afb1\npush    rbx                                                            ; +0x4, 0x10067afb4\npush    rax                                                            ; +0x5, 0x10067afb5\nmov     rbx, rdi                                                       ; +0x6, 0x10067afb6\nmov     rax, [rdi]                                                     ; +0x9, 0x10067afb9\ncall    qword ptr [rax+0C0h]                                           ; +0xc, 0x10067afbc\nlea     rdi, [rbp+var_10]                                              ; +0x12, 0x10067afc2\nmov     rsi, rax                                                       ; +0x16, 0x10067afc6\ncall    sub_1002782D0                                                  ; +0x19, 0x10067afc9\nmovsd   xmm2, qword ptr [rbx+3C0h]                                     ; +0x1e, 0x10067afce\ncvtps2pd xmm1, xmm2                                                    ; +0x26, 0x10067afd6\nmovupd  xmm0, xmmword ptr [rbx+3B0h]                                   ; +0x29, 0x10067afd9\nsubpd   xmm0, xmm1                                                     ; +0x31, 0x10067afe1\ncvtps2pd xmm1, [rbp+var_10]                                            ; +0x35, 0x10067afe5\nsubpd   xmm1, xmm0                                                     ; +0x39, 0x10067afe9\ncvtpd2ps xmm1, xmm1                                                    ; +0x3d, 0x10067afed\nmovlpd  [rbp+var_10], xmm1                                             ; +0x41, 0x10067aff1\ncmpneqps xmm2, xmm1                                                    ; +0x46, 0x10067aff6\nunpcklps xmm2, xmm2                                                    ; +0x4a, 0x10067affa\nmovmskpd eax, xmm2                                                     ; +0x4d, 0x10067affd\ntest    eax, eax                                                       ; +0x51, 0x10067b001\njz      short loc_10067B034                                            ; +0x53, 0x10067b003\nlea     rdi, [rbx+3C0h]                                                ; +0x55, 0x10067b005\nmov     word ptr [rbx+360h], 101h                                      ; +0x5c, 0x10067b00c\nmov     byte ptr [rbx+348h], 1                                         ; +0x65, 0x10067b015\ncvtps2pd xmm1, xmm1                                                    ; +0x6c, 0x10067b01c\naddpd   xmm0, xmm1                                                     ; +0x6f, 0x10067b01f\nmovupd  xmmword ptr [rbx+3B0h], xmm0                                   ; +0x73, 0x10067b023\nlea     rsi, [rbp+var_10]                                              ; +0x7b, 0x10067b02b\ncall    sub_100278300                                                  ; +0x7f, 0x10067b02f\nadd     rsp, 8                                                         ; +0x84, 0x10067b034\npop     rbx                                                            ; +0x88, 0x10067b038\npop     rbp                                                            ; +0x89, 0x10067b039\nretn                                                                   ; +0x8a, 0x10067b03a", "xrefs": ["EditorUI::findSnapObject_1 @ 0x10001a481", "LevelEditorLayer::rotationForSlopeNearObject @ 0x1000b0308", "LevelEditorLayer::updateVisibility @ 0x1000bdd23", "sub_10060F130 @ 0x10060f18b", "sub_10060F300 @ 0x10060f35b", "EditorUI::getGroupCenter @ 0x10060ff77", "EditorUI::getGroupCenter @ 0x10060ffee", "EditorUI::resetObjectEditorValues @ 0x1006138e1", "GJTransformControl::loadValues @ 0x100645651"], "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"}