; ; ColorSelectPopup::updateCopyColor from 0x10072b2e0 to 0x10072b3bb (219 bytes) ; ; 4 xrefs: ; > ColorSelectPopup::onToggleHSVMode @ 0x1007282a2 ; > ColorSelectPopup::onUpdateCustomColor @ 0x100728769 ; > ColorSelectPopup::textChanged @ 0x10072b02c ; > ColorSelectPopup::colorSelectClosed @ 0x10072b6b2 ; ; 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, 0x10072b2e0 mov rbp, rsp ; +0x1, 0x10072b2e1 push r15 ; +0x4, 0x10072b2e4 push r14 ; +0x6, 0x10072b2e6 push r13 ; +0x8, 0x10072b2e8 push r12 ; +0xa, 0x10072b2ea push rbx ; +0xc, 0x10072b2ec push rax ; +0xd, 0x10072b2ed mov rbx, rdi ; +0xe, 0x10072b2ee mov rdi, [rdi+290h] ; +0x11, 0x10072b2f1 test rdi, rdi ; +0x18, 0x10072b2f8 jz short loc_10072B32E ; +0x1b, 0x10072b2fb mov r14d, [rbx+450h] ; +0x1d, 0x10072b2fd call EffectGameObject__getTargetColorIndex ; +0x24, 0x10072b304 xor ecx, ecx ; +0x29, 0x10072b309 cmp eax, r14d ; +0x2b, 0x10072b30b cmovnz ecx, r14d ; +0x2e, 0x10072b30e mov rax, [rbx+290h] ; +0x32, 0x10072b312 mov [rax+65Ch], ecx ; +0x39, 0x10072b319 add rsp, 8 ; +0x3f, 0x10072b31f pop rbx ; +0x43, 0x10072b323 pop r12 ; +0x44, 0x10072b324 pop r13 ; +0x46, 0x10072b326 pop r14 ; +0x48, 0x10072b328 pop r15 ; +0x4a, 0x10072b32a pop rbp ; +0x4c, 0x10072b32c retn ; +0x4d, 0x10072b32d mov rdi, [rbx+298h] ; +0x4e, 0x10072b32e test rdi, rdi ; +0x55, 0x10072b335 jz short loc_10072B395 ; +0x58, 0x10072b338 call sub_100720070 ; +0x5a, 0x10072b33a test eax, eax ; +0x5f, 0x10072b33f jz short loc_10072B31F ; +0x61, 0x10072b341 xor r12d, r12d ; +0x63, 0x10072b343 xor r14d, r14d ; +0x66, 0x10072b346 nop dword ptr [rax+00000000h] ; +0x69, 0x10072b349 mov rdi, [rbx+298h] ; +0x70, 0x10072b350 mov esi, r14d ; +0x77, 0x10072b357 call sub_1007200C0 ; +0x7a, 0x10072b35a mov r15, rax ; +0x7f, 0x10072b35f mov r13d, [rbx+450h] ; +0x82, 0x10072b362 mov rdi, rax ; +0x89, 0x10072b369 call EffectGameObject__getTargetColorIndex ; +0x8c, 0x10072b36c cmp eax, r13d ; +0x91, 0x10072b371 cmovz r13d, r12d ; +0x94, 0x10072b374 mov [r15+65Ch], r13d ; +0x98, 0x10072b378 inc r14d ; +0x9f, 0x10072b37f mov rdi, [rbx+298h] ; +0xa2, 0x10072b382 call sub_100720070 ; +0xa9, 0x10072b389 cmp r14d, eax ; +0xae, 0x10072b38e jb short loc_10072B350 ; +0xb1, 0x10072b391 jmp short loc_10072B31F ; +0xb3, 0x10072b393 mov rax, [rbx+430h] ; +0xb5, 0x10072b395 test rax, rax ; +0xbc, 0x10072b39c jz loc_10072B31F ; +0xbf, 0x10072b39f mov ecx, [rbx+450h] ; +0xc5, 0x10072b3a5 xor edx, edx ; +0xcb, 0x10072b3ab cmp [rax+5Ch], ecx ; +0xcd, 0x10072b3ad cmovnz edx, ecx ; +0xd0, 0x10072b3b0 mov [rax+78h], edx ; +0xd3, 0x10072b3b3 jmp loc_10072B31F ; +0xd6, 0x10072b3b6