//
// ConfigureHSVWidget::onToggleVConst from 0x1000ffcdc to 0x1000ffd50 (116 bytes)
//
// 1 xrefs:
// > ConfigureHSVWidget::init @ 0x1000ff764
//
// 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
//
void __fastcall ConfigureHSVWidget::onToggleVConst(ConfigureHSVWidget *a1, cocos2d::CCObject *a2)
{
float v3; // s0
HSVWidgetDelegate *m_delegate; // x0
a1->m_hsv.absoluteBrightness ^= 1u;
Slider::setValue(a1->m_brightnessSlider, 0.5);
v3 = 1.0;
if ( a1->m_hsv.absoluteBrightness )
v3 = 0.0;
a1->m_hsv.v = v3;
ConfigureHSVWidget::updateLabels(a1);
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(HSVWidgetDelegate *, ConfigureHSVWidget *))m_delegate->hsvChanged)(m_delegate, a1);
}