; ; ColorSelectPopup::updateCustomColorIdx from 0x100809bb0 to 0x100809c31 (129 bytes) ; ; 0 xrefs: ; ; 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:36:41 +0000 ; push rbp ; +0x0, 0x100809bb0 mov rbp, rsp ; +0x1, 0x100809bb1 push r14 ; +0x4, 0x100809bb4 push rbx ; +0x6, 0x100809bb6 mov ecx, [rdi+490h] ; +0x7, 0x100809bb7 cmp ecx, 2 ; +0xd, 0x100809bbd mov eax, 1 ; +0x10, 0x100809bc0 cmovge eax, ecx ; +0x15, 0x100809bc5 mov [rdi+490h], eax ; +0x18, 0x100809bc8 mov rcx, [rdi+2A8h] ; +0x1e, 0x100809bce test rcx, rcx ; +0x25, 0x100809bd5 jz short loc_100809BE5 ; +0x28, 0x100809bd8 mov [rcx+400h], eax ; +0x2a, 0x100809bda pop rbx ; +0x30, 0x100809be0 pop r14 ; +0x31, 0x100809be1 pop rbp ; +0x33, 0x100809be3 retn ; +0x34, 0x100809be4 mov rbx, rdi ; +0x35, 0x100809be5 mov rdi, [rdi+2B0h] ; +0x38, 0x100809be8 test rdi, rdi ; +0x3f, 0x100809bef jz short loc_100809BE0 ; +0x42, 0x100809bf2 call sub_1007FEF90 ; +0x44, 0x100809bf4 test eax, eax ; +0x49, 0x100809bf9 jz short loc_100809BE0 ; +0x4b, 0x100809bfb xor r14d, r14d ; +0x4d, 0x100809bfd mov rdi, [rbx+2B0h] ; +0x50, 0x100809c00 mov esi, r14d ; +0x57, 0x100809c07 call sub_1007FEFE0 ; +0x5a, 0x100809c0a mov ecx, [rbx+490h] ; +0x5f, 0x100809c0f mov [rax+400h], ecx ; +0x65, 0x100809c15 inc r14d ; +0x6b, 0x100809c1b mov rdi, [rbx+2B0h] ; +0x6e, 0x100809c1e call sub_1007FEF90 ; +0x75, 0x100809c25 cmp r14d, eax ; +0x7a, 0x100809c2a jb short loc_100809C00 ; +0x7d, 0x100809c2d jmp short loc_100809BE0 ; +0x7f, 0x100809c2f