//
// ConfigureHSVWidget::onToggleSConst from 0xa3b208 to 0xa3b270 (104 bytes)
//
// 3 xrefs:
// > ??> @ 0x92968
// > ConfigureHSVWidget::init @ 0xa3b7fc
// > ??> @ 0x1543ee8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:59:53 +0000
//
__int64 __fastcall ConfigureHSVWidget::onToggleSConst(ConfigureHSVWidget *this, cocos2d::CCObject *a2)
{
char v3; // w1
Slider *v4; // x0
float v5; // s0
__int64 result; // x0
v3 = *((_BYTE *)this + 388);
v4 = *((Slider **)this + 45);
*((_BYTE *)this + 388) = v3 ^ 1;
Slider::setValue(v4, 0.5);
v5 = 0.0;
if ( !*((_BYTE *)this + 388) )
v5 = 1.0;
*((float *)this + 95) = v5;
ConfigureHSVWidget::updateLabels(this);
result = *((_QWORD *)this + 50);
if ( result )
return (*(__int64 (__fastcall **)(__int64, ConfigureHSVWidget *))(*(_QWORD *)result + 8LL))(result, this);
return result;
}