//
// ConfigureHSVWidget::onToggleSConst from 0x5e55cc to 0x5e561a (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::onToggleSConst(ConfigureHSVWidget *this, cocos2d::CCObject *a2)
{
float v3; // s15
int result; // r0
*((_BYTE *)this + 304) ^= 1u;
Slider::setValue(*((Slider **)this + 71), 0.5);
v3 = 0.0;
if ( !*((_BYTE *)this + 304) )
v3 = 1.0;
*((float *)this + 74) = v3;
ConfigureHSVWidget::updateLabels(this);
result = *((_DWORD *)this + 78);
if ( result )
return (*(int (__fastcall **)(int, ConfigureHSVWidget *))(*(_DWORD *)result + 4))(result, this);
return result;
}