// // ConfigureHSVWidget::onToggleVConst from 0x4b7008 to 0x4b7056 (78 bytes) // // 0 xrefs: // // 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 ConfigureHSVWidget::onToggleVConst(ConfigureHSVWidget *a1, cocos2d::CCObject *a2) { float v3; // s15 HSVWidgetDelegate *m_delegate; // r0 a1->m_hsv.absoluteBrightness ^= 1u; Slider::setValue(a1->m_brightnessSlider, 0.5); v3 = 0.0; if ( !a1->m_hsv.absoluteBrightness ) v3 = 1.0; a1->m_hsv.v = v3; ConfigureHSVWidget::updateLabels(a1); m_delegate = a1->m_delegate; if ( m_delegate ) m_delegate->hsvChanged(m_delegate, a1); }