//
// ConfigureHSVWidget::onToggleVConst from 0x10041df00 to 0x10041df6d (109 bytes)
//
// 1 xrefs:
// > ConfigureHSVWidget::init @ 0x10041d8b1
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:30:14 +0000
//
void __fastcall ConfigureHSVWidget::onToggleVConst(__int64 a1, double a2, double a3, double a4)
{
float v5; // xmm0_4
double updated; // xmm0_8
__int64 v7; // rdi
*(_BYTE *)(a1 + 389) ^= 1u;
Slider::setValue(*(_QWORD *)(a1 + 368), 0.5);
v5 = 0.0;
if ( !*(_BYTE *)(a1 + 389) )
v5 = 1.0;
*(float *)(a1 + 384) = v5;
updated = ConfigureHSVWidget::updateLabels(a1, v5, a3, a4);
v7 = *(_QWORD *)(a1 + 400);
if ( v7 )
(*(void (__fastcall **)(__int64, __int64, double))(*(_QWORD *)v7 + 8LL))(v7, a1, updated);
}