// // SetupOpacityPopup::sliderChanged from 0x100023a1c to 0x100023b38 (284 bytes) // // 1 xrefs: // > SetupOpacityPopup::init @ 0x1000236bc // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall SetupOpacityPopup::sliderChanged(SetupOpacityPopup *a1, cocos2d::CCObject *a2) { float Value; // s8 cocos2d::CCString *v5; // x0 float v6; // s0 float v7; // s1 cocos2d::CCString *v8; // x0 Value = SliderThumb::getValue((SliderThumb *)a2); if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 2 ) { v5 = (cocos2d::CCString *)sub_100268F4C("%.02f", Value); v6 = cocos2d::CCString::floatValue(v5); a1->m_opacity = v6; v7 = 0.0; if ( v6 <= 0.02 || (v7 = 1.0, v6 >= 0.98) ) a1->m_opacity = v7; SetupOpacityPopup::updateOpacity(a1); SetupOpacityPopup::updateOpacityLabel(a1); } else if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1 ) { v8 = (cocos2d::CCString *)sub_100268F4C("%.02f", (float)(Value * 10.0)); a1->m_fadeTime = cocos2d::CCString::floatValue(v8); SetupOpacityPopup::updateDuration(a1); SetupOpacityPopup::updateDurLabel(a1, 1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source