; ; ConfigureHSVWidget::sliderChanged from 0x1400979b0 to 0x140097ac2 (274 bytes) ; ; 4 xrefs: ; > ConfigureHSVWidget::init @ 0x140096ccf ; > ConfigureHSVWidget::init @ 0x140096e67 ; > ConfigureHSVWidget::init @ 0x140096fee ; > @ 0x1406c72fc ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x1400979b0 push rdi ; +0x5, 0x1400979b5 sub rsp, 30h ; +0x6, 0x1400979b6 mov rdi, rcx ; +0xa, 0x1400979ba movaps [rsp+38h+var_18], xmm6 ; +0xd, 0x1400979bd mov rcx, rdx ; +0x12, 0x1400979c2 mov rbx, rdx ; +0x15, 0x1400979c5 call SliderThumb__getValue ; +0x18, 0x1400979c8 mov rax, [rbx] ; +0x1d, 0x1400979cd mov rcx, rbx ; +0x20, 0x1400979d0 movaps xmm6, xmm0 ; +0x23, 0x1400979d3 call qword ptr [rax+38h] ; +0x26, 0x1400979d6 sub eax, 1 ; +0x29, 0x1400979d9 jz loc_140097A72 ; +0x2c, 0x1400979dc sub eax, 1 ; +0x32, 0x1400979e2 jz short loc_140097A31 ; +0x35, 0x1400979e5 cmp eax, 1 ; +0x37, 0x1400979e7 jnz loc_140097A95 ; +0x3a, 0x1400979ea xorps xmm1, xmm1 ; +0x40, 0x1400979f0 lea rcx, a02f_0; "%0.2f" ; +0x43, 0x1400979f3 cvtss2sd xmm1, xmm6 ; +0x4a, 0x1400979fa movq rdx, xmm1 ; +0x4e, 0x1400979fe call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x53, 0x140097a03 mov rcx, rax ; +0x59, 0x140097a09 call cs:?floatValue@CCString@cocos2d@@QEBAMXZ; cocos2d::CCString::floatValue(void) ; +0x5c, 0x140097a0c cmp byte ptr [rdi+185h], 0 ; +0x62, 0x140097a12 addss xmm0, xmm0 ; +0x69, 0x140097a19 jz short loc_140097A27 ; +0x6d, 0x140097a1d subss xmm0, cs:flt_140622C24 ; +0x6f, 0x140097a1f movss dword ptr [rdi+180h], xmm0 ; +0x77, 0x140097a27 jmp short loc_140097A95 ; +0x7f, 0x140097a2f xorps xmm1, xmm1 ; +0x81, 0x140097a31 lea rcx, a02f_0; "%0.2f" ; +0x84, 0x140097a34 cvtss2sd xmm1, xmm6 ; +0x8b, 0x140097a3b movq rdx, xmm1 ; +0x8f, 0x140097a3f call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x94, 0x140097a44 mov rcx, rax ; +0x9a, 0x140097a4a call cs:?floatValue@CCString@cocos2d@@QEBAMXZ; cocos2d::CCString::floatValue(void) ; +0x9d, 0x140097a4d cmp byte ptr [rdi+184h], 0 ; +0xa3, 0x140097a53 addss xmm0, xmm0 ; +0xaa, 0x140097a5a jz short loc_140097A68 ; +0xae, 0x140097a5e subss xmm0, cs:flt_140622C24 ; +0xb0, 0x140097a60 movss dword ptr [rdi+17Ch], xmm0 ; +0xb8, 0x140097a68 jmp short loc_140097A95 ; +0xc0, 0x140097a70 mulss xmm6, cs:flt_14062346C ; +0xc2, 0x140097a72 subss xmm6, cs:dword_1406233A4 ; +0xca, 0x140097a7a cvttss2si eax, xmm6 ; +0xd2, 0x140097a82 movd xmm0, eax ; +0xd6, 0x140097a86 cvtdq2ps xmm0, xmm0 ; +0xda, 0x140097a8a movss dword ptr [rdi+178h], xmm0 ; +0xdd, 0x140097a8d mov rcx, rdi ; +0xe5, 0x140097a95 call ConfigureHSVWidget__updateLabels ; +0xe8, 0x140097a98 mov rcx, [rdi+190h] ; +0xed, 0x140097a9d test rcx, rcx ; +0xf4, 0x140097aa4 jz short loc_140097AB2 ; +0xf7, 0x140097aa7 mov rax, [rcx] ; +0xf9, 0x140097aa9 mov rdx, rdi ; +0xfc, 0x140097aac call qword ptr [rax+8] ; +0xff, 0x140097aaf mov rbx, [rsp+38h+arg_0] ; +0x102, 0x140097ab2 movaps xmm6, [rsp+38h+var_18] ; +0x107, 0x140097ab7 add rsp, 30h ; +0x10c, 0x140097abc pop rdi ; +0x110, 0x140097ac0 retn ; +0x111, 0x140097ac1