// // ConfigureHSVWidget::onToggleSConst from 0x4b6fb4 to 0x4b7002 (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::onToggleSConst(ConfigureHSVWidget *a1, cocos2d::CCObject *a2) { float v3; // s15 HSVWidgetDelegate *m_delegate; // r0 a1->m_hsv.absoluteSaturation ^= 1u; Slider::setValue(a1->m_saturationSlider, 0.5); v3 = 0.0; if ( !a1->m_hsv.absoluteSaturation ) v3 = 1.0; a1->m_hsv.s = v3; ConfigureHSVWidget::updateLabels(a1); m_delegate = a1->m_delegate; if ( m_delegate ) m_delegate->hsvChanged(m_delegate, a1); }