// // ConfigureHSVWidget::sliderChanged from 0x5e54f4 to 0x5e55bc (200 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::sliderChanged(ConfigureHSVWidget *this, cocos2d::CCObject *a2) { float v4; // s16 int v5; // r0 const char *v6; // r1 cocos2d::CCString *v7; // r0 float v8; // r0 float v9; // s15 cocos2d::CCString *v10; // r0 float v11; // r0 float v12; // s15 int result; // r0 v4 = COERCE_FLOAT(SliderThumb::getValue(a2)); v5 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); switch ( v5 ) { case 2: v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%0.2f", v6, v4); v8 = COERCE_FLOAT(cocos2d::CCString::floatValue(v7)); v9 = v8 + v8; if ( *((_BYTE *)this + 304) ) v9 = v9 - 1.0; *((float *)this + 74) = v9; break; case 3: v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%0.2f", v6, v4); v11 = COERCE_FLOAT(cocos2d::CCString::floatValue(v10)); v12 = v11 + v11; if ( *((_BYTE *)this + 305) ) v12 = v12 - 1.0; *((float *)this + 75) = v12; break; case 1: *((float *)this + 73) = (float)(int)(float)((float)(v4 * 360.0) - 180.0); break; } ConfigureHSVWidget::updateLabels(this); ConfigureHSVWidget::updateColorPreview((int)this); result = *((_DWORD *)this + 78); if ( result ) return (*(int (__fastcall **)(int, ConfigureHSVWidget *))(*(_DWORD *)result + 4))(result, this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source