//
// CreateParticlePopup::maxSliderValueForType from 0x140433ac0 to 0x140433b1f (95 bytes)
//
// 3 xrefs:
// > CreateParticlePopup::updateSliderForType @ 0x14043495f
// > CreateParticlePopup::sliderChanged @ 0x140434abd
// > ??> @ 0x1406d9c2c
//
// 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
//
float CreateParticlePopup::maxSliderValueForType(CreateParticlePopup *a1, gjParticleValue a2)
{
float result; // xmm0_4
switch ( a2 )
{
case MaxParticles:
case Emission:
result = 1.0;
break;
case Lifetime:
result = 0.0099999998;
break;
case Angle:
result = -180.0;
break;
case GravityX:
case GravityY:
result = -1000.0;
break;
case AccelRad:
case AccelTan:
result = -800.0;
break;
case RotSec:
result = -360.0;
break;
default:
result = 0.0;
break;
}
return result;
}