// // ConfigureHSVWidget::updateSliders from 0x5e4b40 to 0x5e4c02 (194 bytes) // // 2 xrefs: // > ConfigureHSVWidget::textChanged @ 0x5e5036 // > ConfigureHSVWidget::init @ 0x5e5cc2 // // 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::updateSliders(ConfigureHSVWidget *this, int a2, int a3, float a4) { Slider *v5; // r5 float v6; // r0 Slider *v7; // r5 float v8; // s15 float v9; // r2 float v10; // s15 float v11; // r0 Slider *v12; // r5 float v13; // s15 float v14; // r2 float v15; // s15 float v16; // r1 v5 = *((Slider **)this + 70); v6 = COERCE_FLOAT(cocos2d::clampf(COERCE_COCOS2D_((float)(*((float *)this + 73) + 180.0) / 360.0), 0.0, 1.0, a4)); Slider::setValue(v5, v6); v7 = *((Slider **)this + 71); v8 = *((float *)this + 74); if ( *((_BYTE *)this + 304) ) { v9 = 1.0; v10 = (float)(v8 + 1.0) * 0.5; } else { v10 = v8 * 0.5; v9 = 1.0; } v11 = COERCE_FLOAT(cocos2d::clampf((cocos2d *)LODWORD(v10), 0.0, v9, COERCE_FLOAT(*((_BYTE *)this + 304)))); Slider::setValue(v7, v11); v12 = *((Slider **)this + 72); v13 = *((float *)this + 75); if ( *((_BYTE *)this + 305) ) { v14 = 1.0; v15 = (float)(v13 + 1.0) * 0.5; } else { v15 = v13 * 0.5; v14 = 1.0; } v16 = COERCE_FLOAT(cocos2d::clampf((cocos2d *)LODWORD(v15), 0.0, v14, COERCE_FLOAT(*((_BYTE *)this + 305)))); return Slider::setValue(v12, v16); }