{"type": "func", "start": 4299284112, "end": 4299284221, "name": "ConfigureHSVWidget::onToggleSConst", "pseudocode": "// \n// ConfigureHSVWidget::onToggleSConst from 0x10041de90 to 0x10041defd (109 bytes)\n// \n// 1 xrefs:\n// > ConfigureHSVWidget::init @ 0x10041d7f1\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:30:14 +0000\n// \n\nvoid __fastcall ConfigureHSVWidget::onToggleSConst(__int64 a1, double a2, double a3, double a4)\n{\n  float v5; // xmm0_4\n  double updated; // xmm0_8\n  __int64 v7; // rdi\n\n  *(_BYTE *)(a1 + 388) ^= 1u;\n  Slider::setValue(*(_QWORD *)(a1 + 360), 0.5);\n  v5 = 0.0;\n  if ( !*(_BYTE *)(a1 + 388) )\n    v5 = 1.0;\n  *(float *)(a1 + 380) = v5;\n  updated = ConfigureHSVWidget::updateLabels(a1, v5, a3, a4);\n  v7 = *(_QWORD *)(a1 + 400);\n  if ( v7 )\n    (*(void (__fastcall **)(__int64, __int64, double))(*(_QWORD *)v7 + 8LL))(v7, a1, updated);\n}", "assembly": "; \n; ConfigureHSVWidget::onToggleSConst from 0x10041de90 to 0x10041defd (109 bytes)\n; \n; 1 xrefs:\n; > ConfigureHSVWidget::init @ 0x10041d7f1\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:30:14 +0000\n; \npush    rbp                                                            ; +0x0, 0x10041de90\nmov     rbp, rsp                                                       ; +0x1, 0x10041de91\npush    rbx                                                            ; +0x4, 0x10041de94\npush    rax                                                            ; +0x5, 0x10041de95\nmov     rbx, rdi                                                       ; +0x6, 0x10041de96\nxor     byte ptr [rdi+184h], 1                                         ; +0x9, 0x10041de99\nmov     rdi, [rdi+168h]                                                ; +0x10, 0x10041dea0\nmovss   xmm0, cs:dword_100A03578                                       ; +0x17, 0x10041dea7\ncall    Slider__setValue                                               ; +0x1f, 0x10041deaf\ncmp     byte ptr [rbx+184h], 0                                         ; +0x24, 0x10041deb4\nxorps   xmm0, xmm0                                                     ; +0x2b, 0x10041debb\njnz     short loc_10041DEC8                                            ; +0x2e, 0x10041debe\nmovss   xmm0, cs:alpha                                                 ; +0x30, 0x10041dec0\nmovss   dword ptr [rbx+17Ch], xmm0                                     ; +0x38, 0x10041dec8\nmov     rdi, rbx                                                       ; +0x40, 0x10041ded0\ncall    ConfigureHSVWidget__updateLabels                               ; +0x43, 0x10041ded3\nmov     rdi, [rbx+190h]                                                ; +0x48, 0x10041ded8\ntest    rdi, rdi                                                       ; +0x4f, 0x10041dedf\njz      short loc_10041DEF6                                            ; +0x52, 0x10041dee2\nmov     rax, [rdi]                                                     ; +0x54, 0x10041dee4\nmov     rax, [rax+8]                                                   ; +0x57, 0x10041dee7\nmov     rsi, rbx                                                       ; +0x5b, 0x10041deeb\nadd     rsp, 8                                                         ; +0x5e, 0x10041deee\npop     rbx                                                            ; +0x62, 0x10041def2\npop     rbp                                                            ; +0x63, 0x10041def3\njmp     rax                                                            ; +0x64, 0x10041def4\nadd     rsp, 8                                                         ; +0x66, 0x10041def6\npop     rbx                                                            ; +0x6a, 0x10041defa\npop     rbp                                                            ; +0x6b, 0x10041defb\nretn                                                                   ; +0x6c, 0x10041defc", "xrefs": ["ConfigureHSVWidget::init @ 0x10041d7f1"], "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"}