; ; EditorUI::onPasteColor from 0x1005b8690 to 0x1005b86fe (110 bytes) ; ; 2 xrefs: ; > EditorUI::handleEditorAction @ 0x10060bf26 ; > EditorUI::init @ 0x1000070b8 ; ; 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:32:42 +0000 ; push rbp ; +0x0, 0x1005b8690 mov rbp, rsp ; +0x1, 0x1005b8691 push rbx ; +0x4, 0x1005b8694 push rax ; +0x5, 0x1005b8695 mov rbx, rdi ; +0x6, 0x1005b8696 cmp qword ptr [rdi+5D8h], 0 ; +0x9, 0x1005b8699 jnz short loc_1005B86B3 ; +0x11, 0x1005b86a1 mov rdi, [rbx+380h] ; +0x13, 0x1005b86a3 call sub_1007FEF90 ; +0x1a, 0x1005b86aa test eax, eax ; +0x1f, 0x1005b86af jz short loc_1005B86F7 ; +0x21, 0x1005b86b1 call EditorSFXManager__sharedState ; +0x23, 0x1005b86b3 mov rdi, rax ; +0x28, 0x1005b86b8 mov esi, 72h ; 'r' ; +0x2b, 0x1005b86bb mov edx, 6Fh ; 'o' ; +0x30, 0x1005b86c0 call EditorSFXManager__playAction ; +0x35, 0x1005b86c5 call GameManager__sharedState ; +0x3a, 0x1005b86ca mov rdi, [rax+228h] ; +0x3f, 0x1005b86cf mov rsi, [rbx+5D8h] ; +0x46, 0x1005b86d6 mov rdx, [rbx+380h] ; +0x4d, 0x1005b86dd call LevelEditorLayer__pasteColorState ; +0x54, 0x1005b86e4 mov rdi, rbx ; +0x59, 0x1005b86e9 add rsp, 8 ; +0x5c, 0x1005b86ec pop rbx ; +0x60, 0x1005b86f0 pop rbp ; +0x61, 0x1005b86f1 jmp EditorUI__updateObjectInfoLabel ; +0x62, 0x1005b86f2 add rsp, 8 ; +0x67, 0x1005b86f7 pop rbx ; +0x6b, 0x1005b86fb pop rbp ; +0x6c, 0x1005b86fc retn ; +0x6d, 0x1005b86fd