; ; EditorUI::moveObjectCall_1 from 0x10004a470 to 0x10004a623 (435 bytes) ; ; 3 xrefs: ; > EditorUI::moveObjectCall @ 0x10004941d ; > EditorUI::keyDown @ 0x10005058d ; > EditorUI::keyDown @ 0x1000505c1 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbp ; +0x0, 0x10004a470 mov rbp, rsp ; +0x1, 0x10004a471 push r15 ; +0x4, 0x10004a474 push r14 ; +0x6, 0x10004a476 push r13 ; +0x8, 0x10004a478 push r12 ; +0xa, 0x10004a47a push rbx ; +0xc, 0x10004a47c sub rsp, 18h ; +0xd, 0x10004a47d mov r14d, esi ; +0x11, 0x10004a481 mov rbx, rdi ; +0x14, 0x10004a484 cmp qword ptr [rdi+520h], 0 ; +0x17, 0x10004a487 jnz short loc_10004A4A5 ; +0x1f, 0x10004a48f mov rdi, [rbx+328h] ; +0x21, 0x10004a491 call sub_100720070 ; +0x28, 0x10004a498 test eax, eax ; +0x2d, 0x10004a49d jz loc_10004A614 ; +0x2f, 0x10004a49f lea rdi, [rbp+var_30] ; +0x35, 0x10004a4a5 mov rsi, rbx ; +0x39, 0x10004a4a9 mov edx, r14d ; +0x3c, 0x10004a4ac call EditorUI__moveForCommand ; +0x3f, 0x10004a4af mov rdi, [rbx+328h] ; +0x44, 0x10004a4b4 call sub_100720070 ; +0x4b, 0x10004a4bb test eax, eax ; +0x50, 0x10004a4c0 jz short loc_10004A541 ; +0x52, 0x10004a4c2 xor r14d, r14d ; +0x54, 0x10004a4c4 mov rdi, rbx ; +0x57, 0x10004a4c7 mov esi, 5 ; +0x5a, 0x10004a4ca xor edx, edx ; +0x5f, 0x10004a4cf call EditorUI__createUndoObject ; +0x61, 0x10004a4d1 mov rdi, [rbx+328h] ; +0x66, 0x10004a4d6 call sub_100720070 ; +0x6d, 0x10004a4dd test eax, eax ; +0x72, 0x10004a4e2 jz loc_10004A588 ; +0x74, 0x10004a4e4 lea r15, [rbp+var_38] ; +0x7a, 0x10004a4ea lea r12, [rbp+var_30] ; +0x7e, 0x10004a4ee nop word ptr [rax+rax+00000000h] ; +0x82, 0x10004a4f2 mov rdi, [rbx+328h] ; +0x90, 0x10004a500 mov esi, r14d ; +0x97, 0x10004a507 call sub_1007200C0 ; +0x9a, 0x10004a50a mov r13, rax ; +0x9f, 0x10004a50f mov rdi, r15 ; +0xa2, 0x10004a512 mov rsi, r12 ; +0xa5, 0x10004a515 call sub_10028CC60 ; +0xa8, 0x10004a518 mov rdi, rbx ; +0xad, 0x10004a51d mov rsi, r13 ; +0xb0, 0x10004a520 mov rdx, r15 ; +0xb3, 0x10004a523 call EditorUI__moveObject ; +0xb6, 0x10004a526 inc r14d ; +0xbb, 0x10004a52b mov rdi, [rbx+328h] ; +0xbe, 0x10004a52e call sub_100720070 ; +0xc5, 0x10004a535 cmp r14d, eax ; +0xca, 0x10004a53a jb short loc_10004A500 ; +0xcd, 0x10004a53d jmp short loc_10004A588 ; +0xcf, 0x10004a53f mov rdi, [rbx+520h] ; +0xd1, 0x10004a541 mov esi, 5 ; +0xd8, 0x10004a548 call UndoObject__create ; +0xdd, 0x10004a54d mov rdi, [rbx+4E8h] ; +0xe2, 0x10004a552 mov rsi, rax ; +0xe9, 0x10004a559 xor edx, edx ; +0xec, 0x10004a55c call LevelEditorLayer__addToUndoList ; +0xee, 0x10004a55e mov r14, [rbx+520h] ; +0xf3, 0x10004a563 lea r15, [rbp+var_38] ; +0xfa, 0x10004a56a lea rsi, [rbp+var_30] ; +0xfe, 0x10004a56e mov rdi, r15 ; +0x102, 0x10004a572 call sub_10028CC60 ; +0x105, 0x10004a575 mov rdi, rbx ; +0x10a, 0x10004a57a mov rsi, r14 ; +0x10d, 0x10004a57d mov rdx, r15 ; +0x110, 0x10004a580 call EditorUI__moveObject ; +0x113, 0x10004a583 mov rdi, [rbx+2C0h] ; +0x118, 0x10004a588 mov rax, [rdi] ; +0x11f, 0x10004a58f call qword ptr [rax+150h] ; +0x122, 0x10004a592 test al, al ; +0x128, 0x10004a598 jz short loc_10004A5DD ; +0x12a, 0x10004a59a mov r14, [rbx+2C0h] ; +0x12c, 0x10004a59c mov rax, [r14] ; +0x133, 0x10004a5a3 mov rdi, r14 ; +0x136, 0x10004a5a6 call qword ptr [rax+0C0h] ; +0x139, 0x10004a5a9 lea r15, [rbp+var_38] ; +0x13f, 0x10004a5af lea rdx, [rbp+var_30] ; +0x143, 0x10004a5b3 mov rdi, r15 ; +0x147, 0x10004a5b7 mov rsi, rax ; +0x14a, 0x10004a5ba call sub_10028CCE0 ; +0x14d, 0x10004a5bd mov rax, [r14] ; +0x152, 0x10004a5c2 mov rdi, r14 ; +0x155, 0x10004a5c5 mov rsi, r15 ; +0x158, 0x10004a5c8 call qword ptr [rax+0B8h] ; +0x15b, 0x10004a5cb mov rdi, [rbx+2C0h] ; +0x161, 0x10004a5d1 call GJTransformControl__refreshControl ; +0x168, 0x10004a5d8 mov rdi, [rbx+2A0h] ; +0x16d, 0x10004a5dd mov rax, [rdi] ; +0x174, 0x10004a5e4 call qword ptr [rax+150h] ; +0x177, 0x10004a5e7 test al, al ; +0x17d, 0x10004a5ed jz short loc_10004A600 ; +0x17f, 0x10004a5ef mov byte ptr [rbx+2B0h], 1 ; +0x181, 0x10004a5f1 mov rdi, rbx ; +0x188, 0x10004a5f8 call EditorUI__activateRotationControl ; +0x18b, 0x10004a5fb mov rax, [rbx] ; +0x190, 0x10004a600 mov rdi, rbx ; +0x193, 0x10004a603 call qword ptr [rax+530h] ; +0x196, 0x10004a606 mov rdi, rbx ; +0x19c, 0x10004a60c call EditorUI__updateButtons ; +0x19f, 0x10004a60f add rsp, 18h ; +0x1a4, 0x10004a614 pop rbx ; +0x1a8, 0x10004a618 pop r12 ; +0x1a9, 0x10004a619 pop r13 ; +0x1ab, 0x10004a61b pop r14 ; +0x1ad, 0x10004a61d pop r15 ; +0x1af, 0x10004a61f pop rbp ; +0x1b1, 0x10004a621 retn ; +0x1b2, 0x10004a622