; ; cocos2d::extension::CCControlSaturationBrightnessPicker::updateWithHSV from 0x180009d30 to 0x180009db6 (134 bytes) ; ; 3 xrefs: ; > @ 0x180025960 ; > @ 0x18002fdf8 ; > @ 0x180049a74 ; ; 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 rbx ; +0x0, 0x180009d30 sub rsp, 60h ; +0x2, 0x180009d32 movsd xmm0, qword ptr [rdx] ; +0x6, 0x180009d36 mov rbx, rcx ; +0xa, 0x180009d3a movaps xmm1, cs:xmmword_1800295F0 ; +0xd, 0x180009d3d lea rdx, [rsp+68h+var_48] ; +0x14, 0x180009d44 lea rcx, [rsp+68h+var_28] ; +0x19, 0x180009d49 movsd [rsp+68h+var_48], xmm0 ; +0x1e, 0x180009d4e movups [rsp+68h+var_40], xmm1 ; +0x24, 0x180009d54 call ?RGBfromHSV@CCControlUtils@extension@cocos2d@@SA?AURGBA@23@UHSV@23@@Z; cocos2d::extension::CCControlUtils::RGBfromHSV(cocos2d::extension::HSV) ; +0x29, 0x180009d59 movsd xmm1, cs:qword_180029570 ; +0x2e, 0x180009d5e lea rdx, [rsp+68h+arg_0] ; +0x36, 0x180009d66 mov rcx, [rbx+1E0h] ; +0x3b, 0x180009d6b add rcx, 140h ; +0x42, 0x180009d72 movups xmm2, xmmword ptr [rax] ; +0x49, 0x180009d79 movups xmm3, xmmword ptr [rax+10h] ; +0x4c, 0x180009d7c movaps xmm0, xmm2 ; +0x50, 0x180009d80 unpckhpd xmm2, xmm2 ; +0x53, 0x180009d83 mulsd xmm0, xmm1 ; +0x57, 0x180009d87 mulsd xmm2, xmm1 ; +0x5b, 0x180009d8b mulsd xmm3, xmm1 ; +0x5f, 0x180009d8f cvttsd2si eax, xmm0 ; +0x63, 0x180009d93 mov [rsp+68h+arg_0], al ; +0x67, 0x180009d97 cvttsd2si eax, xmm2 ; +0x6b, 0x180009d9b mov [rsp+68h+arg_1], al ; +0x6f, 0x180009d9f cvttsd2si eax, xmm3 ; +0x73, 0x180009da3 mov [rsp+68h+arg_2], al ; +0x77, 0x180009da7 mov rax, [rcx] ; +0x7b, 0x180009dab call qword ptr [rax] ; +0x7e, 0x180009dae add rsp, 60h ; +0x80, 0x180009db0 pop rbx ; +0x84, 0x180009db4 retn ; +0x85, 0x180009db5