; ; ColorSelectLiveOverlay::sliderChanged from 0x140125e00 to 0x1401260f9 (761 bytes) ; ; 5 xrefs: ; > ColorSelectLiveOverlay::init @ 0x140125398 ; > ColorSelectLiveOverlay::init @ 0x140125489 ; > ColorSelectLiveOverlay::init @ 0x140125577 ; > ColorSelectLiveOverlay::init @ 0x140125665 ; > @ 0x140916964 ; ; 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 11:26:58 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x140125e00 mov [rsp+arg_10], rsi ; +0x5, 0x140125e05 mov [rsp+arg_18], rdi ; +0xa, 0x140125e0a push r14 ; +0xf, 0x140125e0f sub rsp, 80h ; +0x11, 0x140125e11 mov rsi, rcx ; +0x18, 0x140125e18 movaps [rsp+88h+var_18], xmm6 ; +0x1b, 0x140125e1b mov rcx, rdx ; +0x20, 0x140125e20 movaps [rsp+88h+var_28], xmm7 ; +0x23, 0x140125e23 mov rbx, rdx ; +0x28, 0x140125e28 call SliderThumb__getValue ; +0x2b, 0x140125e2b mov rax, [rbx] ; +0x30, 0x140125e30 mov rcx, rbx ; +0x33, 0x140125e33 movaps xmm6, xmm0 ; +0x36, 0x140125e36 call qword ptr [rax+38h] ; +0x39, 0x140125e39 sub eax, 1 ; +0x3c, 0x140125e3c jz loc_140125EC6 ; +0x3f, 0x140125e3f sub eax, 1 ; +0x45, 0x140125e45 jz short loc_140125EB5 ; +0x48, 0x140125e48 sub eax, 1 ; +0x4a, 0x140125e4a jz short loc_140125EA4 ; +0x4d, 0x140125e4d cmp eax, 1 ; +0x4f, 0x140125e4f jnz loc_140125EDD ; +0x52, 0x140125e52 cmp byte ptr [rsi+2EAh], 0 ; +0x58, 0x140125e58 movss dword ptr [rsi+2D8h], xmm6 ; +0x5f, 0x140125e5f jnz short loc_140125EDD ; +0x67, 0x140125e67 mov rax, [rsi+298h] ; +0x69, 0x140125e69 test rax, rax ; +0x70, 0x140125e70 jz short loc_140125E7F ; +0x73, 0x140125e73 movss dword ptr [rax+5C0h], xmm6 ; +0x75, 0x140125e75 jmp short loc_140125EDD ; +0x7d, 0x140125e7d cmp byte ptr [rsi+358h], 0 ; +0x7f, 0x140125e7f jz short loc_140125E96 ; +0x86, 0x140125e86 mov rax, [rsi+2B8h] ; +0x88, 0x140125e88 movss dword ptr [rax+60h], xmm6 ; +0x8f, 0x140125e8f jmp short loc_140125EDD ; +0x94, 0x140125e94 mov rax, [rsi+2B0h] ; +0x96, 0x140125e96 movss dword ptr [rax+60h], xmm6 ; +0x9d, 0x140125e9d jmp short loc_140125EDD ; +0xa2, 0x140125ea2 xorps xmm0, xmm0 ; +0xa4, 0x140125ea4 cvtss2sd xmm0, xmm6 ; +0xa7, 0x140125ea7 movsd qword ptr [rsi+348h], xmm0 ; +0xab, 0x140125eab jmp short loc_140125EDD ; +0xb3, 0x140125eb3 xorps xmm0, xmm0 ; +0xb5, 0x140125eb5 cvtss2sd xmm0, xmm6 ; +0xb8, 0x140125eb8 movsd qword ptr [rsi+340h], xmm0 ; +0xbc, 0x140125ebc jmp short loc_140125EDD ; +0xc4, 0x140125ec4 mulss xmm6, cs:Y ; +0xc6, 0x140125ec6 xorps xmm0, xmm0 ; +0xce, 0x140125ece cvtss2sd xmm0, xmm6 ; +0xd1, 0x140125ed1 movsd qword ptr [rsi+338h], xmm0 ; +0xd5, 0x140125ed5 movups xmm0, xmmword ptr [rsi+338h] ; +0xdd, 0x140125edd lea rdx, [rsp+88h+var_68] ; +0xe4, 0x140125ee4 movsd xmm1, qword ptr [rsi+348h] ; +0xe9, 0x140125ee9 lea rcx, [rsp+88h+var_48] ; +0xf1, 0x140125ef1 movaps [rsp+88h+var_68], xmm0 ; +0xf6, 0x140125ef6 movsd [rsp+88h+var_58], xmm1 ; +0xfb, 0x140125efb call cs:?RGBfromHSV@CCControlUtils@extension@cocos2d@@SA?AURGBA@23@UHSV@23@@Z; cocos2d::extension::CCControlUtils::RGBfromHSV(cocos2d::extension::HSV) ; +0x101, 0x140125f01 movsd xmm7, cs:qword_140835428 ; +0x107, 0x140125f07 lea r14, [rsi+2C6h] ; +0x10f, 0x140125f0f mov rdx, r14 ; +0x116, 0x140125f16 movups xmm1, xmmword ptr [rax] ; +0x119, 0x140125f19 movups xmm2, xmmword ptr [rax+10h] ; +0x11c, 0x140125f1c movaps xmm0, xmm1 ; +0x120, 0x140125f20 unpckhpd xmm1, xmm1 ; +0x123, 0x140125f23 mulsd xmm0, xmm7 ; +0x127, 0x140125f27 mulsd xmm1, xmm7 ; +0x12b, 0x140125f2b mulsd xmm2, xmm7 ; +0x12f, 0x140125f2f cvttsd2si eax, xmm0 ; +0x133, 0x140125f33 mov [r14], al ; +0x137, 0x140125f37 cvttsd2si eax, xmm1 ; +0x13a, 0x140125f3a mov [r14+1], al ; +0x13e, 0x140125f3e cvttsd2si eax, xmm2 ; +0x142, 0x140125f42 mov [r14+2], al ; +0x146, 0x140125f46 mov rcx, [rsi+310h] ; +0x14a, 0x140125f4a add rcx, 140h ; +0x151, 0x140125f51 mov rax, [rcx] ; +0x158, 0x140125f58 call qword ptr [rax] ; +0x15b, 0x140125f5b movsd xmm0, qword ptr [rsi+338h] ; +0x15d, 0x140125f5d lea rdx, [rsp+88h+var_68] ; +0x165, 0x140125f65 movaps xmm6, cs:xmmword_140836C50 ; +0x16a, 0x140125f6a lea rcx, [rsp+88h+var_48] ; +0x171, 0x140125f71 movsd qword ptr [rsp+88h+var_68], xmm0 ; +0x176, 0x140125f76 movups [rsp+88h+var_68+8], xmm6 ; +0x17c, 0x140125f7c call cs:?RGBfromHSV@CCControlUtils@extension@cocos2d@@SA?AURGBA@23@UHSV@23@@Z; cocos2d::extension::CCControlUtils::RGBfromHSV(cocos2d::extension::HSV) ; +0x181, 0x140125f81 mov rcx, [rsi+320h] ; +0x187, 0x140125f87 lea rdx, [rsp+88h+arg_0] ; +0x18e, 0x140125f8e add rcx, 140h ; +0x196, 0x140125f96 movups xmm1, xmmword ptr [rax] ; +0x19d, 0x140125f9d movups xmm2, xmmword ptr [rax+10h] ; +0x1a0, 0x140125fa0 movaps xmm0, xmm1 ; +0x1a4, 0x140125fa4 unpckhpd xmm1, xmm1 ; +0x1a7, 0x140125fa7 mulsd xmm0, xmm7 ; +0x1ab, 0x140125fab mulsd xmm1, xmm7 ; +0x1af, 0x140125faf mulsd xmm2, xmm7 ; +0x1b3, 0x140125fb3 cvttsd2si eax, xmm0 ; +0x1b7, 0x140125fb7 mov [rsp+88h+arg_0], al ; +0x1bb, 0x140125fbb cvttsd2si eax, xmm1 ; +0x1c2, 0x140125fc2 mov [rsp+88h+arg_1], al ; +0x1c6, 0x140125fc6 cvttsd2si eax, xmm2 ; +0x1cd, 0x140125fcd mov [rsp+88h+arg_2], al ; +0x1d1, 0x140125fd1 mov rax, [rcx] ; +0x1d8, 0x140125fd8 call qword ptr [rax] ; +0x1db, 0x140125fdb movups xmm0, xmmword ptr [rsi+338h] ; +0x1dd, 0x140125fdd lea rdx, [rsp+88h+var_68] ; +0x1e4, 0x140125fe4 lea rcx, [rsp+88h+var_48] ; +0x1e9, 0x140125fe9 movsd [rsp+88h+var_58], xmm6 ; +0x1ee, 0x140125fee movaps [rsp+88h+var_68], xmm0 ; +0x1f4, 0x140125ff4 call cs:?RGBfromHSV@CCControlUtils@extension@cocos2d@@SA?AURGBA@23@UHSV@23@@Z; cocos2d::extension::CCControlUtils::RGBfromHSV(cocos2d::extension::HSV) ; +0x1f9, 0x140125ff9 mov rcx, [rsi+328h] ; +0x1ff, 0x140125fff lea rdx, [rsp+88h+arg_0] ; +0x206, 0x140126006 add rcx, 140h ; +0x20e, 0x14012600e movups xmm1, xmmword ptr [rax] ; +0x215, 0x140126015 movups xmm2, xmmword ptr [rax+10h] ; +0x218, 0x140126018 movaps xmm0, xmm1 ; +0x21c, 0x14012601c unpckhpd xmm1, xmm1 ; +0x21f, 0x14012601f mulsd xmm0, xmm7 ; +0x223, 0x140126023 mulsd xmm1, xmm7 ; +0x227, 0x140126027 mulsd xmm2, xmm7 ; +0x22b, 0x14012602b cvttsd2si eax, xmm0 ; +0x22f, 0x14012602f mov [rsp+88h+arg_0], al ; +0x233, 0x140126033 cvttsd2si eax, xmm1 ; +0x23a, 0x14012603a mov [rsp+88h+arg_1], al ; +0x23e, 0x14012603e cvttsd2si eax, xmm2 ; +0x245, 0x140126045 mov [rsp+88h+arg_2], al ; +0x249, 0x140126049 mov rax, [rcx] ; +0x250, 0x140126050 call qword ptr [rax] ; +0x253, 0x140126053 mov rcx, [rsi+328h] ; +0x255, 0x140126055 mov rdi, [rsi+330h] ; +0x25c, 0x14012605c add rcx, 140h ; +0x263, 0x140126063 mov rax, [rcx] ; +0x26a, 0x14012606a mov rbx, [rdi+140h] ; +0x26d, 0x14012606d call qword ptr [rax+8] ; +0x274, 0x140126074 mov rdx, rax ; +0x277, 0x140126077 lea rcx, [rdi+140h] ; +0x27a, 0x14012607a call qword ptr [rbx] ; +0x281, 0x140126081 cmp byte ptr [rsi+2EAh], 0 ; +0x283, 0x140126083 jnz short loc_1401260D5 ; +0x28a, 0x14012608a mov rcx, [rsi+298h] ; +0x28c, 0x14012608c movzx eax, word ptr [r14] ; +0x293, 0x140126093 test rcx, rcx ; +0x297, 0x140126097 jz short loc_1401260B0 ; +0x29a, 0x14012609a mov [rcx+5B9h], ax ; +0x29c, 0x14012609c movzx eax, byte ptr [r14+2] ; +0x2a3, 0x1401260a3 mov [rcx+5BBh], al ; +0x2a8, 0x1401260a8 jmp short loc_1401260D5 ; +0x2ae, 0x1401260ae cmp byte ptr [rsi+358h], 0 ; +0x2b0, 0x1401260b0 jz short loc_1401260C2 ; +0x2b7, 0x1401260b7 mov rcx, [rsi+2B8h] ; +0x2b9, 0x1401260b9 jmp short loc_1401260C9 ; +0x2c0, 0x1401260c0 mov rcx, [rsi+2B0h] ; +0x2c2, 0x1401260c2 mov [rcx+48h], ax ; +0x2c9, 0x1401260c9 movzx eax, byte ptr [r14+2] ; +0x2cd, 0x1401260cd mov [rcx+4Ah], al ; +0x2d2, 0x1401260d2 movaps xmm6, [rsp+88h+var_18] ; +0x2d5, 0x1401260d5 lea r11, [rsp+88h+var_8] ; +0x2da, 0x1401260da mov rbx, [r11+18h] ; +0x2e2, 0x1401260e2 mov rsi, [r11+20h] ; +0x2e6, 0x1401260e6 mov rdi, [r11+28h] ; +0x2ea, 0x1401260ea movaps xmm7, [rsp+88h+var_28] ; +0x2ee, 0x1401260ee mov rsp, r11 ; +0x2f3, 0x1401260f3 pop r14 ; +0x2f6, 0x1401260f6 retn ; +0x2f8, 0x1401260f8