// // ConfigureHSVWidget::onToggleVConst from 0x100430b30 to 0x100430b9d (109 bytes) // // 1 xrefs: // > ConfigureHSVWidget::init @ 0x1004304de // // 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; // xmm0_4 HSVWidgetDelegate *m_delegate; // rdi 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 ) ((void (__fastcall *)(HSVWidgetDelegate *, ConfigureHSVWidget *))m_delegate->hsvChanged)(m_delegate, a1); }