{"type": "func", "start": 4301318480, "end": 4301318777, "name": "EditorUI::moveObject", "pseudocode": "// \n// EditorUI::moveObject from 0x10060e950 to 0x10060ea79 (297 bytes)\n// \n// 16 xrefs:\n// > EditorUI::repositionObjectsToCenter @ 0x1005b8173\n// > EditorUI::ccTouchMoved @ 0x10060a7fa\n// > EditorUI::ccTouchMoved @ 0x10060a875\n// > EditorUI::ccTouchEnded @ 0x10060afb0\n// > EditorUI::moveObjectCall_1 @ 0x10060e526\n// > EditorUI::moveObjectCall_1 @ 0x10060e583\n// > sub_10060F130 @ 0x10060f2d3\n// > sub_10060F300 @ 0x10060f4a3\n// > EditorUI::rotateObjects @ 0x10060f681\n// > EditorUI::transformObject @ 0x10060fe09\n// > EditorUI::scaleObjects @ 0x1006104b5\n// > EditorUI::transformObjects @ 0x100610bb0\n// > EditorUI::alignObjectsOnAxis @ 0x100610fa8\n// > EditorUI::alignObjectsOnAxis @ 0x1006110b3\n// > EditorUI::alignObjects @ 0x10061156c\n// > EditorUI::alignObjects @ 0x1006116a2\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:34:33 +0000\n// \n\nvoid __fastcall EditorUI::moveObject(__int64 a1, __int64 a2, unsigned __int64 *a3)\n{\n  unsigned __int64 *v5; // rax\n  __m128 v6; // xmm0\n  char isSpeedObject; // r15\n  __int64 v8; // rsi\n  __int64 v9; // [rsp-38h] [rbp-38h] BYREF\n  double v10[6]; // [rsp-30h] [rbp-30h] BYREF\n\n  if ( a2 )\n  {\n    v5 = (unsigned __int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);\n    sub_100278350(v10, v5, a3);\n    if ( *(_BYTE *)(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3272LL) + 453LL) )\n      v6 = (__m128)0x46EB1400u;\n    else\n      v6 = (__m128)0x451BA000u;\n    _mm_storel_ps(\n      v10,\n      _mm_min_ps(\n        _mm_max_ps((__m128)*(unsigned __int64 *)&v10[0], (__m128)xmmword_100A0D740),\n        _mm_insert_ps((__m128)xmmword_100A03890, v6, 16)));\n    sub_1002782D0(&v9, v10);\n    (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)a2 + 184LL))(a2, &v9);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)a2 + 1376LL))(a2);\n    GJBaseGameLayer::reorderObjectSection(*(_QWORD *)(a1 + 1440), a2);\n    isSpeedObject = GameObject::isSpeedObject(a2);\n    if ( *(_DWORD *)(a2 + 1028) == 747 )\n    {\n      v8 = *(_QWORD *)(a2 + 1848);\n      if ( v8 )\n        GJBaseGameLayer::reorderObjectSection(*(_QWORD *)(a1 + 1440), v8);\n    }\n    LevelEditorLayer::objectMoved(*(_QWORD *)(a1 + 1440), a2);\n    if ( isSpeedObject || (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1680LL))(a2) )\n      *(_BYTE *)(a1 + 869) = 1;\n  }\n}", "assembly": "; \n; EditorUI::moveObject from 0x10060e950 to 0x10060ea79 (297 bytes)\n; \n; 16 xrefs:\n; > EditorUI::repositionObjectsToCenter @ 0x1005b8173\n; > EditorUI::ccTouchMoved @ 0x10060a7fa\n; > EditorUI::ccTouchMoved @ 0x10060a875\n; > EditorUI::ccTouchEnded @ 0x10060afb0\n; > EditorUI::moveObjectCall_1 @ 0x10060e526\n; > EditorUI::moveObjectCall_1 @ 0x10060e583\n; > sub_10060F130 @ 0x10060f2d3\n; > sub_10060F300 @ 0x10060f4a3\n; > EditorUI::rotateObjects @ 0x10060f681\n; > EditorUI::transformObject @ 0x10060fe09\n; > EditorUI::scaleObjects @ 0x1006104b5\n; > EditorUI::transformObjects @ 0x100610bb0\n; > EditorUI::alignObjectsOnAxis @ 0x100610fa8\n; > EditorUI::alignObjectsOnAxis @ 0x1006110b3\n; > EditorUI::alignObjects @ 0x10061156c\n; > EditorUI::alignObjects @ 0x1006116a2\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:34:33 +0000\n; \ntest    rsi, rsi                                                       ; +0x0, 0x10060e950\njz      locret_10060EA78                                               ; +0x3, 0x10060e953\npush    rbp                                                            ; +0x9, 0x10060e959\nmov     rbp, rsp                                                       ; +0xa, 0x10060e95a\npush    r15                                                            ; +0xd, 0x10060e95d\npush    r14                                                            ; +0xf, 0x10060e95f\npush    r12                                                            ; +0x11, 0x10060e961\npush    rbx                                                            ; +0x13, 0x10060e963\nsub     rsp, 10h                                                       ; +0x14, 0x10060e964\nmov     r12, rdx                                                       ; +0x18, 0x10060e968\nmov     r14, rsi                                                       ; +0x1b, 0x10060e96b\nmov     rbx, rdi                                                       ; +0x1e, 0x10060e96e\nmov     rax, [rsi]                                                     ; +0x21, 0x10060e971\nmov     rdi, rsi                                                       ; +0x24, 0x10060e974\ncall    qword ptr [rax+0C0h]                                           ; +0x27, 0x10060e977\nlea     r15, [rbp-28h]                                                 ; +0x2d, 0x10060e97d\nmov     rdi, r15                                                       ; +0x31, 0x10060e981\nmov     rsi, rax                                                       ; +0x34, 0x10060e984\nmov     rdx, r12                                                       ; +0x37, 0x10060e987\ncall    sub_100278350                                                  ; +0x3a, 0x10060e98a\nmov     rax, [rbx+5A0h]                                                ; +0x3f, 0x10060e98f\nmov     rax, [rax+0CC8h]                                               ; +0x46, 0x10060e996\ncmp     byte ptr [rax+1C5h], 0                                         ; +0x4d, 0x10060e99d\njnz     short loc_10060E9B0                                            ; +0x54, 0x10060e9a4\nmovss   xmm0, cs:dword_100A03830                                       ; +0x56, 0x10060e9a6\njmp     short loc_10060E9B8                                            ; +0x5e, 0x10060e9ae\nmovss   xmm0, cs:dword_100A0382C                                       ; +0x60, 0x10060e9b0\nmovsd   xmm1, qword ptr [rbp-28h]                                      ; +0x68, 0x10060e9b8\nmaxps   xmm1, cs:xmmword_100A0D740                                     ; +0x6d, 0x10060e9bd\nmovaps  xmm2, cs:xmmword_100A03890                                     ; +0x74, 0x10060e9c4\ninsertps xmm2, xmm0, 10h                                               ; +0x7b, 0x10060e9cb\nminps   xmm1, xmm2                                                     ; +0x81, 0x10060e9d1\nmovlps  qword ptr [rbp-28h], xmm1                                      ; +0x84, 0x10060e9d4\nlea     r12, [rbp-30h]                                                 ; +0x88, 0x10060e9d8\nmov     rdi, r12                                                       ; +0x8c, 0x10060e9dc\nmov     rsi, r15                                                       ; +0x8f, 0x10060e9df\ncall    sub_1002782D0                                                  ; +0x92, 0x10060e9e2\nmov     rax, [r14]                                                     ; +0x97, 0x10060e9e7\nmov     rdi, r14                                                       ; +0x9a, 0x10060e9ea\nmov     rsi, r12                                                       ; +0x9d, 0x10060e9ed\ncall    qword ptr [rax+0B8h]                                           ; +0xa0, 0x10060e9f0\nmov     rax, [r14]                                                     ; +0xa6, 0x10060e9f6\nmov     rdi, r14                                                       ; +0xa9, 0x10060e9f9\ncall    qword ptr [rax+560h]                                           ; +0xac, 0x10060e9fc\nmov     rdi, [rbx+5A0h]                                                ; +0xb2, 0x10060ea02\nmov     rsi, r14                                                       ; +0xb9, 0x10060ea09\ncall    GJBaseGameLayer__reorderObjectSection                          ; +0xbc, 0x10060ea0c\nmov     rdi, r14                                                       ; +0xc1, 0x10060ea11\ncall    GameObject__isSpeedObject                                      ; +0xc4, 0x10060ea14\nmov     r15d, eax                                                      ; +0xc9, 0x10060ea19\ncmp     dword ptr [r14+404h], 2EBh                                     ; +0xcc, 0x10060ea1c\njnz     short loc_10060EA41                                            ; +0xd7, 0x10060ea27\nmov     rsi, [r14+738h]                                                ; +0xd9, 0x10060ea29\ntest    rsi, rsi                                                       ; +0xe0, 0x10060ea30\njz      short loc_10060EA41                                            ; +0xe3, 0x10060ea33\nmov     rdi, [rbx+5A0h]                                                ; +0xe5, 0x10060ea35\ncall    GJBaseGameLayer__reorderObjectSection                          ; +0xec, 0x10060ea3c\nmov     rdi, [rbx+5A0h]                                                ; +0xf1, 0x10060ea41\nmov     rsi, r14                                                       ; +0xf8, 0x10060ea48\ncall    LevelEditorLayer__objectMoved                                  ; +0xfb, 0x10060ea4b\ntest    r15b, r15b                                                     ; +0x100, 0x10060ea50\njnz     short loc_10060EA65                                            ; +0x103, 0x10060ea53\nmov     rax, [r14]                                                     ; +0x105, 0x10060ea55\nmov     rdi, r14                                                       ; +0x108, 0x10060ea58\ncall    qword ptr [rax+690h]                                           ; +0x10b, 0x10060ea5b\ntest    al, al                                                         ; +0x111, 0x10060ea61\njz      short loc_10060EA6C                                            ; +0x113, 0x10060ea63\nmov     byte ptr [rbx+365h], 1                                         ; +0x115, 0x10060ea65\nadd     rsp, 10h                                                       ; +0x11c, 0x10060ea6c\npop     rbx                                                            ; +0x120, 0x10060ea70\npop     r12                                                            ; +0x121, 0x10060ea71\npop     r14                                                            ; +0x123, 0x10060ea73\npop     r15                                                            ; +0x125, 0x10060ea75\npop     rbp                                                            ; +0x127, 0x10060ea77\nretn                                                                   ; +0x128, 0x10060ea78", "xrefs": ["EditorUI::repositionObjectsToCenter @ 0x1005b8173", "EditorUI::ccTouchMoved @ 0x10060a7fa", "EditorUI::ccTouchMoved @ 0x10060a875", "EditorUI::ccTouchEnded @ 0x10060afb0", "EditorUI::moveObjectCall_1 @ 0x10060e526", "EditorUI::moveObjectCall_1 @ 0x10060e583", "sub_10060F130 @ 0x10060f2d3", "sub_10060F300 @ 0x10060f4a3", "EditorUI::rotateObjects @ 0x10060f681", "EditorUI::transformObject @ 0x10060fe09", "EditorUI::scaleObjects @ 0x1006104b5", "EditorUI::transformObjects @ 0x100610bb0", "EditorUI::alignObjectsOnAxis @ 0x100610fa8", "EditorUI::alignObjectsOnAxis @ 0x1006110b3", "EditorUI::alignObjects @ 0x10061156c", "EditorUI::alignObjects @ 0x1006116a2"], "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"}