{"type": "func", "start": 5369957728, "end": 5369957844, "name": "ConfigureHSVWidget::onToggleVConst", "pseudocode": "// \n// ConfigureHSVWidget::onToggleVConst from 0x140130d60 to 0x140130dd4 (116 bytes)\n// \n// 2 xrefs:\n// > ConfigureHSVWidget::init @ 0x14013034e\n// > <???> @ 0x140916e98\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 11:27:03 +0000\n// \n\n__int64 __fastcall ConfigureHSVWidget::onToggleVConst(__int64 a1)\n{\n  int v2; // xmm0_4\n  __int64 result; // rax\n  __int64 v4; // rcx\n\n  *(_BYTE *)(a1 + 389) = *(_BYTE *)(a1 + 389) == 0;\n  Slider::setValue(*(_QWORD *)(a1 + 368), 0.5);\n  if ( *(_BYTE *)(a1 + 389) )\n    v2 = 0;\n  else\n    v2 = 1065353216;\n  *(_DWORD *)(a1 + 384) = v2;\n  result = ConfigureHSVWidget::updateLabels(a1);\n  v4 = *(_QWORD *)(a1 + 400);\n  if ( v4 )\n    return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 8LL))(v4, a1);\n  return result;\n}", "assembly": "; \n; ConfigureHSVWidget::onToggleVConst from 0x140130d60 to 0x140130dd4 (116 bytes)\n; \n; 2 xrefs:\n; > ConfigureHSVWidget::init @ 0x14013034e\n; > <???> @ 0x140916e98\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 11:27:03 +0000\n; \npush    rbx                                                            ; +0x0, 0x140130d60\nsub     rsp, 20h                                                       ; +0x2, 0x140130d62\ncmp     byte ptr [rcx+185h], 0                                         ; +0x6, 0x140130d66\nmov     rbx, rcx                                                       ; +0xd, 0x140130d6d\nmovss   xmm1, cs:dword_140834F20                                       ; +0x10, 0x140130d70\nsetz    al                                                             ; +0x18, 0x140130d78\nmov     [rcx+185h], al                                                 ; +0x1b, 0x140130d7b\nmov     rcx, [rcx+170h]                                                ; +0x21, 0x140130d81\ncall    Slider__setValue                                               ; +0x28, 0x140130d88\ncmp     byte ptr [rbx+185h], 0                                         ; +0x2d, 0x140130d8d\njz      short loc_140130D9B                                            ; +0x34, 0x140130d94\nxorps   xmm0, xmm0                                                     ; +0x36, 0x140130d96\njmp     short loc_140130DA3                                            ; +0x39, 0x140130d99\nmovss   xmm0, cs:flt_140835080                                         ; +0x3b, 0x140130d9b\nmov     rcx, rbx                                                       ; +0x43, 0x140130da3\nmovss   dword ptr [rbx+180h], xmm0                                     ; +0x46, 0x140130da6\ncall    ConfigureHSVWidget__updateLabels                               ; +0x4e, 0x140130dae\nmov     rcx, [rbx+190h]                                                ; +0x53, 0x140130db3\ntest    rcx, rcx                                                       ; +0x5a, 0x140130dba\njz      short loc_140130DCE                                            ; +0x5d, 0x140130dbd\nmov     rax, [rcx]                                                     ; +0x5f, 0x140130dbf\nmov     rdx, rbx                                                       ; +0x62, 0x140130dc2\nadd     rsp, 20h                                                       ; +0x65, 0x140130dc5\npop     rbx                                                            ; +0x69, 0x140130dc9\njmp     qword ptr [rax+8]                                              ; +0x6a, 0x140130dca\nadd     rsp, 20h                                                       ; +0x6e, 0x140130dce\npop     rbx                                                            ; +0x72, 0x140130dd2\nretn                                                                   ; +0x73, 0x140130dd3", "xrefs": ["ConfigureHSVWidget::init @ 0x14013034e", "<???> @ 0x140916e98"], "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"}