; ; EditorUI::undoLastAction from 0x100008120 to 0x1000081c0 (160 bytes) ; ; 2 xrefs: ; > EditorUI::handleEditorAction @ 0x10060c66d ; > EditorUI::init @ 0x100005f29 ; ; 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:18:48 +0000 ; push rbp ; +0x0, 0x100008120 mov rbp, rsp ; +0x1, 0x100008121 push rbx ; +0x4, 0x100008124 push rax ; +0x5, 0x100008125 mov rbx, rdi ; +0x6, 0x100008126 call EditorSFXManager__sharedState ; +0x9, 0x100008129 mov rdi, rax ; +0xe, 0x10000812e mov esi, 0B4h ; +0x11, 0x100008131 call EditorSFXManager__playAction_1 ; +0x16, 0x100008136 mov rdi, [rbx+5A0h] ; +0x1b, 0x10000813b call LevelEditorLayer__undoLastAction ; +0x22, 0x100008142 mov rdi, rbx ; +0x27, 0x100008147 call EditorUI__updateButtons ; +0x2a, 0x10000814a mov rdi, [rbx+2F8h] ; +0x2f, 0x10000814f mov rax, [rdi] ; +0x36, 0x100008156 call qword ptr [rax+160h] ; +0x39, 0x100008159 test al, al ; +0x3f, 0x10000815f jz short loc_100008174 ; +0x41, 0x100008161 mov byte ptr [rbx+308h], 1 ; +0x43, 0x100008163 mov rdi, rbx ; +0x4a, 0x10000816a xor esi, esi ; +0x4d, 0x10000816d call EditorUI__activateRotationControl ; +0x4f, 0x10000816f cmp qword ptr [rbx+5D8h], 0 ; +0x54, 0x100008174 jnz short loc_1000081A6 ; +0x5c, 0x10000817c mov rdi, [rbx+380h] ; +0x5e, 0x10000817e call sub_1007FEF90 ; +0x65, 0x100008185 test eax, eax ; +0x6a, 0x10000818a jnz short loc_1000081A6 ; +0x6c, 0x10000818c mov rdi, rbx ; +0x6e, 0x10000818e call EditorUI__deactivateRotationControl ; +0x71, 0x100008191 mov rdi, rbx ; +0x76, 0x100008196 call EditorUI__deactivateScaleControl ; +0x79, 0x100008199 mov rdi, rbx ; +0x7e, 0x10000819e call sub_100611790 ; +0x81, 0x1000081a1 mov rdi, rbx ; +0x86, 0x1000081a6 call EditorUI__updateObjectInfoLabel ; +0x89, 0x1000081a9 mov rax, [rbx] ; +0x8e, 0x1000081ae mov rdi, rbx ; +0x91, 0x1000081b1 add rsp, 8 ; +0x94, 0x1000081b4 pop rbx ; +0x98, 0x1000081b8 pop rbp ; +0x99, 0x1000081b9 jmp qword ptr [rax+548h] ; +0x9a, 0x1000081ba