//
// CreateParticlePopup::maxSliderValueForType from 0x1405c93f0 to 0x1405c944f (95 bytes)
//
// 3 xrefs:
// > CreateParticlePopup::updateSliderForType @ 0x1405ca28f
// > CreateParticlePopup::sliderChanged @ 0x1405ca3ed
// > ??> @ 0x14092e3ac
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:34:52 +0000
//
double __fastcall CreateParticlePopup::maxSliderValueForType(__int64 a1, int a2)
{
double result; // xmm0_8
switch ( a2 )
{
case 1:
case 5:
*(_QWORD *)&result = 1065353216;
break;
case 3:
*(_QWORD *)&result = 1008981770;
break;
case 6:
*(_QWORD *)&result = 3274964992LL;
break;
case 12:
case 13:
*(_QWORD *)&result = 3296329728LL;
break;
case 14:
case 16:
*(_QWORD *)&result = 3293052928LL;
break;
case 54:
*(_QWORD *)&result = 3283353600LL;
break;
default:
result = 0.0;
break;
}
return result;
}