{"type": "func", "start": 6442489968, "end": 6442490110, "name": "cocos2d::extension::CCControlSaturationBrightnessPicker::updateDraggerWithHSV", "pseudocode": "// \n// cocos2d::extension::CCControlSaturationBrightnessPicker::updateDraggerWithHSV from 0x180009870 to 0x1800098fe (142 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180027f30\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b9b4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:15:37 +0000\n// \n\n__int64 __fastcall cocos2d::extension::CCControlSaturationBrightnessPicker::updateDraggerWithHSV(\n        __int64 a1,\n        __int64 a2)\n{\n  __int64 v3; // rax\n  char v5; // [rsp+30h] [rbp+8h] BYREF\n  char v6; // [rsp+38h] [rbp+10h] BYREF\n\n  cocos2d::CCPoint::CCPoint(\n    (cocos2d::CCPoint *)&v5,\n    (1.0 - *(double *)(a2 + 8)) * (double)*(int *)(a1 + 524) + (float)((float)*(int *)(a1 + 520) + *(float *)(a1 + 512)),\n    (float)((float)*(int *)(a1 + 520) + *(float *)(a1 + 516)) + (double)*(int *)(a1 + 524) * *(double *)(a2 + 16));\n  v3 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v6, (const struct cocos2d::CCPoint *)&v5);\n  return cocos2d::extension::CCControlSaturationBrightnessPicker::updateSliderPosition(a1, v3);\n}", "assembly": "; \n; cocos2d::extension::CCControlSaturationBrightnessPicker::updateDraggerWithHSV from 0x180009870 to 0x1800098fe (142 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180027f30\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b9b4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:15:37 +0000\n; \npush    rbx                                                            ; +0x0, 0x180009870\nsub     rsp, 20h                                                       ; +0x2, 0x180009872\nmovd    xmm5, dword ptr [rcx+208h]                                     ; +0x6, 0x180009876\nmov     rbx, rcx                                                       ; +0xe, 0x18000987e\nmovd    xmm4, dword ptr [rcx+20Ch]                                     ; +0x11, 0x180009881\nmovsd   xmm3, cs:qword_18002BBF8                                       ; +0x19, 0x180009889\nsubsd   xmm3, qword ptr [rdx+8]                                        ; +0x21, 0x180009891\ncvtdq2ps xmm5, xmm5                                                    ; +0x26, 0x180009896\ncvtdq2pd xmm4, xmm4                                                    ; +0x29, 0x180009899\nmovaps  xmm0, xmm5                                                     ; +0x2d, 0x18000989d\naddss   xmm0, dword ptr [rcx+204h]                                     ; +0x30, 0x1800098a0\naddss   xmm5, dword ptr [rcx+200h]                                     ; +0x38, 0x1800098a8\nmovaps  xmm1, xmm4                                                     ; +0x40, 0x1800098b0\nmulsd   xmm3, xmm4                                                     ; +0x43, 0x1800098b3\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x47, 0x1800098b7\nmulsd   xmm1, qword ptr [rdx+10h]                                      ; +0x4c, 0x1800098bc\ncvtps2pd xmm2, xmm0                                                    ; +0x51, 0x1800098c1\ncvtps2pd xmm0, xmm5                                                    ; +0x54, 0x1800098c4\naddsd   xmm2, xmm1                                                     ; +0x57, 0x1800098c7\naddsd   xmm3, xmm0                                                     ; +0x5b, 0x1800098cb\ncvtpd2ps xmm2, xmm2                                                    ; +0x5f, 0x1800098cf\ncvtpd2ps xmm1, xmm3                                                    ; +0x63, 0x1800098d3\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x67, 0x1800098d7\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x6d, 0x1800098dd\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x72, 0x1800098e2\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x77, 0x1800098e7\nmov     rdx, rax                                                       ; +0x7d, 0x1800098ed\nmov     rcx, rbx                                                       ; +0x80, 0x1800098f0\ncall    ?updateSliderPosition@CCControlSaturationBrightnessPicker@extension@cocos2d@@IEAAXVCCPoint@3@@Z; cocos2d::extension::CCControlSaturationBrightnessPicker::updateSliderPosition(cocos2d::CCPoint) ; +0x83, 0x1800098f3\nadd     rsp, 20h                                                       ; +0x88, 0x1800098f8\npop     rbx                                                            ; +0x8c, 0x1800098fc\nretn                                                                   ; +0x8d, 0x1800098fd", "xrefs": ["<???> @ 0x180027f30", "<???> @ 0x180032408", "<???> @ 0x18004b9b4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}