//
// sub_1002FDF90 from 0x1002fdf90 to 0x1002fe02f (159 bytes)
//
// 0 xrefs:
//
// 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
//
__m128 __fastcall sub_1002FDF90(int a1, __m128 a2, __m128 a3)
{
__int16 v3; // ax
switch ( a1 )
{
case 1:
v3 = 255;
break;
case 2:
v3 = -27136;
break;
case 3:
v3 = -256;
break;
case 4:
v3 = 100;
break;
case 5:
v3 = 200;
break;
case 6:
v3 = 12950;
break;
case 7:
v3 = 150;
break;
case 8:
v3 = 25700;
break;
case 10:
v3 = 150;
break;
default:
v3 = -1;
break;
}
a2.f32[0] = (float)(unsigned __int8)v3 / 255.0;
a3.f32[0] = (float)HIBYTE(v3) / 255.0;
return _mm_insert_ps(a2, a3, 16);
}