; ; EditorUI::onEditColor from 0x100009380 to 0x1000093d9 (89 bytes) ; ; 2 xrefs: ; > EditorUI::handleEditorAction @ 0x10060cb66 ; > EditorUI::init @ 0x100006c54 ; ; 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, 0x100009380 mov rbp, rsp ; +0x1, 0x100009381 push rbx ; +0x4, 0x100009384 push rax ; +0x5, 0x100009385 mov rbx, rdi ; +0x6, 0x100009386 cmp qword ptr [rdi+5D8h], 0 ; +0x9, 0x100009389 jnz short loc_1000093A3 ; +0x11, 0x100009391 mov rdi, [rbx+380h] ; +0x13, 0x100009393 call sub_1007FEF90 ; +0x1a, 0x10000939a test eax, eax ; +0x1f, 0x10000939f jz short loc_1000093D2 ; +0x21, 0x1000093a1 mov rdi, [rbx+450h] ; +0x23, 0x1000093a3 mov rax, [rdi] ; +0x2a, 0x1000093aa call qword ptr [rax+40h] ; +0x2d, 0x1000093ad mov rdi, rbx ; +0x30, 0x1000093b0 cmp eax, 1 ; +0x33, 0x1000093b3 jnz short loc_1000093BF ; +0x36, 0x1000093b6 call EditorUI__editHSV ; +0x38, 0x1000093b8 jmp short loc_1000093C4 ; +0x3d, 0x1000093bd call EditorUI__editColor ; +0x3f, 0x1000093bf mov rdi, rbx ; +0x44, 0x1000093c4 add rsp, 8 ; +0x47, 0x1000093c7 pop rbx ; +0x4b, 0x1000093cb pop rbp ; +0x4c, 0x1000093cc jmp EditorUI__updateEditColorButton ; +0x4d, 0x1000093cd add rsp, 8 ; +0x52, 0x1000093d2 pop rbx ; +0x56, 0x1000093d6 pop rbp ; +0x57, 0x1000093d7 retn ; +0x58, 0x1000093d8