//
// ConfigureHSVWidget::updateSliders from 0xa3a22c to 0xa3a34c (288 bytes)
//
// 3 xrefs:
// > ConfigureHSVWidget::textChanged @ 0xa3a3d8
// > ConfigureHSVWidget::init @ 0xa3b9e0
// > ??> @ 0x1001b0
//
// 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::updateSliders(ConfigureHSVWidget *this)
{
float v2; // s0
float v3; // s0
float v4; // s0
Slider *v5; // x0
float v6; // s0
Slider *v8; // [xsp+28h] [xbp+28h]
Slider *v9; // [xsp+28h] [xbp+28h]
Slider *v10; // [xsp+28h] [xbp+28h]
Slider *v11; // [xsp+28h] [xbp+28h]
Slider *v12; // [xsp+28h] [xbp+28h]
v8 = *((Slider **)this + 44);
cocos2d::clampf(v8, (float)(*((float *)this + 94) + 180.0) / 360.0, 0.0, 1.0);
Slider::setValue(v8, v2);
if ( !*((_BYTE *)this + 388) )
{
v11 = *((Slider **)this + 45);
cocos2d::clampf(v11, *((float *)this + 95) * 0.5, 0.0, 1.0);
Slider::setValue(v11, v6);
if ( !*((_BYTE *)this + 389) )
goto LABEL_3;
LABEL_6:
v12 = *((Slider **)this + 46);
cocos2d::clampf(v12, (float)(*((float *)this + 96) + 1.0) * 0.5, 0.0, 1.0);
v5 = v12;
return Slider::setValue(v5, v4);
}
v9 = *((Slider **)this + 45);
cocos2d::clampf(v9, (float)(*((float *)this + 95) + 1.0) * 0.5, 0.0, 1.0);
Slider::setValue(v9, v3);
if ( *((_BYTE *)this + 389) )
goto LABEL_6;
LABEL_3:
v10 = *((Slider **)this + 46);
cocos2d::clampf(v10, *((float *)this + 96) * 0.5, 0.0, 1.0);
v5 = v10;
return Slider::setValue(v5, v4);
}