// // GameObject::updateStartPos from 0x10067afb0 to 0x10067b03b (139 bytes) // // 9 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 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:35:03 +0000 // unsigned __int64 __fastcall GameObject::updateStartPos(__int64 a1) { __m64 v1; // rax _QWORD *v2; // rax __m128 v3; // xmm2 __m128d v4; // xmm0 __m128 v5; // xmm1 __m128 v6; // xmm2 unsigned __int64 result; // rax __m64 v8[2]; // [rsp+0h] [rbp-10h] BYREF v8[0] = v1; v2 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1); sub_1002782D0(v8, v2); v3 = (__m128)*(unsigned __int64 *)(a1 + 960); v4 = _mm_sub_pd(*(__m128d *)(a1 + 944), _mm_cvtps_pd(v3)); v5 = _mm_cvtpd_ps(_mm_sub_pd(_mm_cvtps_pd(v8[0]), v4)); v8[0] = *(__m64 *)v5.f32; v6 = _mm_cmpneq_ps(v3, v5); result = (unsigned int)_mm_movemask_pd((__m128d)_mm_unpacklo_ps(v6, v6)); if ( (_DWORD)result ) { *(_WORD *)(a1 + 864) = 257; *(_BYTE *)(a1 + 840) = 1; *(__m128d *)(a1 + 944) = _mm_add_pd(v4, _mm_cvtps_pd(v5)); return (unsigned __int64)sub_100278300((_QWORD *)(a1 + 960), v8); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source