; ; EditorUI::editHSV from 0x10003c990 to 0x10003ca7b (235 bytes) ; ; 2 xrefs: ; > EditorUI::onEditColor @ 0x10002ae58 ; > EditorUI::checkLiveColorSelect @ 0x10003c734 ; ; 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, 0x10003c990 mov rbp, rsp ; +0x1, 0x10003c991 push r15 ; +0x4, 0x10003c994 push r14 ; +0x6, 0x10003c996 push r12 ; +0x8, 0x10003c998 push rbx ; +0xa, 0x10003c99a mov rbx, rdi ; +0xb, 0x10003c99b mov rdi, [rdi+550h] ; +0xe, 0x10003c99e test rdi, rdi ; +0x15, 0x10003c9a5 jz short loc_10003C9BC ; +0x18, 0x10003c9a8 xor esi, esi ; +0x1a, 0x10003c9aa call HSVLiveOverlay__closeColorSelect ; +0x1c, 0x10003c9ac mov qword ptr [rbx+550h], 0 ; +0x21, 0x10003c9b1 mov rdi, [rbx+548h] ; +0x2c, 0x10003c9bc test rdi, rdi ; +0x33, 0x10003c9c3 jz short loc_10003C9DA ; +0x36, 0x10003c9c6 xor esi, esi ; +0x38, 0x10003c9c8 call ColorSelectLiveOverlay__closeColorSelect ; +0x3a, 0x10003c9ca mov qword ptr [rbx+548h], 0 ; +0x3f, 0x10003c9cf mov rdi, [rbx+520h] ; +0x4a, 0x10003c9da test rdi, rdi ; +0x51, 0x10003c9e1 jz short loc_10003CA2D ; +0x54, 0x10003c9e4 call GameObject__deselectObject ; +0x56, 0x10003c9e6 xor r14d, r14d ; +0x5b, 0x10003c9eb mov rdi, [rbx+520h] ; +0x5e, 0x10003c9ee mov rsi, r14 ; +0x65, 0x10003c9f5 call HSVLiveOverlay__create ; +0x68, 0x10003c9f8 mov [rbx+550h], rax ; +0x6d, 0x10003c9fd lea rcx, [rbx+1A0h] ; +0x74, 0x10003ca04 mov [rax+2A0h], rcx ; +0x7b, 0x10003ca0b mov [rax+230h], rbx ; +0x82, 0x10003ca12 mov rcx, [rax] ; +0x89, 0x10003ca19 mov rdi, rax ; +0x8c, 0x10003ca1c pop rbx ; +0x8f, 0x10003ca1f pop r12 ; +0x90, 0x10003ca20 pop r14 ; +0x92, 0x10003ca22 pop r15 ; +0x94, 0x10003ca24 pop rbp ; +0x96, 0x10003ca26 jmp qword ptr [rcx+508h] ; +0x97, 0x10003ca27 mov rdi, rbx ; +0x9d, 0x10003ca2d call EditorUI__getSelectedObjects ; +0xa0, 0x10003ca30 mov r14, rax ; +0xa5, 0x10003ca35 mov rax, [rbx+328h] ; +0xa8, 0x10003ca38 test rax, rax ; +0xaf, 0x10003ca3f jz short loc_10003C9EE ; +0xb2, 0x10003ca42 mov rax, [rax+38h] ; +0xb4, 0x10003ca44 mov ecx, [rax] ; +0xb8, 0x10003ca48 test rcx, rcx ; +0xba, 0x10003ca4a jz short loc_10003C9EE ; +0xbd, 0x10003ca4d mov r15, [rax+10h] ; +0xbf, 0x10003ca4f lea r12, [r15+rcx*8] ; +0xc3, 0x10003ca53 add r12, 0FFFFFFFFFFFFFFF8h ; +0xc7, 0x10003ca57 nop dword ptr [rax+rax+00h] ; +0xcb, 0x10003ca5b mov rdi, [r15] ; +0xd0, 0x10003ca60 test rdi, rdi ; +0xd3, 0x10003ca63 jz short loc_10003C9EE ; +0xd6, 0x10003ca66 call GameObject__deselectObject ; +0xd8, 0x10003ca68 add r15, 8 ; +0xdd, 0x10003ca6d cmp r15, r12 ; +0xe1, 0x10003ca71 jbe short loc_10003CA60 ; +0xe4, 0x10003ca74 jmp loc_10003C9EE ; +0xe6, 0x10003ca76