//
// sub_1002FDEC0 from 0x1002fdec0 to 0x1002fdf5f (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_1002FDEC0(int a1, __m128 a2, __m128 a3)
{
__int16 v3; // ax
switch ( a1 )
{
case 1:
v3 = -26881;
break;
case 2:
v3 = -206;
break;
case 3:
v3 = -206;
break;
case 4:
v3 = 255;
break;
case 5:
v3 = 25855;
break;
case 6:
v3 = -26936;
break;
case 7:
v3 = 255;
break;
case 8:
v3 = -1;
break;
case 9:
v3 = -1;
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);
}