// // ColorSelectPopup::sliderChanged from 0x73c238 to 0x73c320 (232 bytes) // // 4 xrefs: // > @ 0x4a808 // > ColorSelectPopup::init @ 0x73d730 // > ColorSelectPopup::init @ 0x73f3d4 // > @ 0x122a610 // // 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; // s8 const char *v5; // x1 cocos2d::CCString *v6; // x0 float v7; // s0 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 ) { v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v5, Value); v7 = cocos2d::CCString::floatValue(v6); if ( v7 > 0.02 ) { if ( v7 >= 0.98 ) v7 = 1.0; a1->m_opacity = v7; } else { a1->m_opacity = 0.0; } ColorSelectPopup::updateOpacity(a1); ColorSelectPopup::updateOpacityLabel(a1); } }