// // ColorSelectPopup::sliderChanged from 0x1400911f0 to 0x1400912d1 (225 bytes) // // 3 xrefs: // > ColorSelectPopup::init @ 0x14008e36e // > ColorSelectPopup::init @ 0x14008e536 // > @ 0x1406c6fc0 // // 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 ColorSelectPopup::sliderChanged(ColorSelectPopup *a1, cocos2d::CCObject *a2) { float Value; // xmm0_4 cocos2d::CCString *v5; // rax float v6; // xmm0_4 Value = SliderThumb::getValue((SliderThumb *)a2); if ( a2->getTag(a2) == 1 ) { a1->m_fadeTime = Value * 10.0; ColorSelectPopup::updateDuration(a1); ColorSelectPopup::updateDurLabel(a1); } else if ( a2->getTag(a2) == 2 ) { v5 = cocos2d::CCString::createWithFormat("%.02f", Value); v6 = cocos2d::CCString::floatValue(v5); a1->m_opacity = v6; if ( v6 > 0.02 ) { if ( v6 >= 0.98000002 ) a1->m_opacity = 1.0; } else { a1->m_opacity = 0.0; } ColorSelectPopup::updateOpacity(a1); ColorSelectPopup::updateOpacityLabel(a1); } }