//
// ConfigureHSVWidget::onToggleVConst from 0x5e5620 to 0x5e566e (78 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:19 +0000
//
int __fastcall ConfigureHSVWidget::onToggleVConst(ConfigureHSVWidget *this, cocos2d::CCObject *a2)
{
float v3; // s15
int result; // r0
*((_BYTE *)this + 305) ^= 1u;
Slider::setValue(*((Slider **)this + 72), 0.5);
v3 = 0.0;
if ( !*((_BYTE *)this + 305) )
v3 = 1.0;
*((float *)this + 75) = v3;
ConfigureHSVWidget::updateLabels(this);
result = *((_DWORD *)this + 78);
if ( result )
return (*(int (__fastcall **)(int, ConfigureHSVWidget *))(*(_DWORD *)result + 4))(result, this);
return result;
}