//
// CreateParticlePopup::sliderChanged from 0x9c4624 to 0x9c46e4 (192 bytes)
//
// 3 xrefs:
// > ??> @ 0x2f460
// > CreateParticlePopup::createParticleSlider @ 0x9c3ad8
// > ??> @ 0x1229638
//
// 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 CreateParticlePopup::sliderChanged(CreateParticlePopup *a1, cocos2d::CCObject *a2)
{
float Value; // s8
gjParticleValue v4; // w19
float v5; // s9
float v6; // s8
float v7; // s0
Value = SliderThumb::getValue((SliderThumb *)a2);
v4 = a2->getTag(a2);
v5 = CreateParticlePopup::minSliderValueForType(a1, v4);
v6 = v5 + (float)(Value * (float)(CreateParticlePopup::maxSliderValueForType(a1, v4) - v5));
if ( CreateParticlePopup::particleValueIsInt(a1, v4) )
v7 = roundf(v6);
else
v7 = roundf(v6 * 100.0) / 100.0;
CreateParticlePopup::updateParticleValueForType(a1, v7, v4, nullptr);
CreateParticlePopup::updateSliderForType(a1, v4);
CreateParticlePopup::updateInputNodeStringForType(a1, v4);
}