//HUD2
// ---- Created with 3Dmigoto v0.6.164 on Sun Mar 15 17:21:55 2026
cbuffer cb3 : register(b3)
{
  float4 cb3[21];
}

cbuffer cb2 : register(b2)
{
  float4 cb2[7];
}

cbuffer cb1 : register(b1)
{
  float4 cb1[7];
}

cbuffer cb0 : register(b0)
{
  float4 cb0[30];
}




// 3Dmigoto declarations
#define cmp -
Texture1D<float4> IniParams : register(t120);
Texture2D<float4> StereoParams : register(t125);


void main(
  float4 v0 : POSITION0,
  float3 v1 : NORMAL0,
  float4 v2 : COLOR0,
  float4 v3 : TEXCOORD0,
  float2 v4 : TEXCOORD1,
  out float4 o0 : SV_POSITION0,
  out float4 o1 : COLOR0,
  out float4 o2 : COLOR1,
  out float4 o3 : TEXCOORD0,
  out float4 o4 : TEXCOORD1,
  out float4 o5 : TEXCOORD2)
{
  float4 r0,r1,r2,r3,r4;
  uint4 bitmask, uiDest;
  float4 fDest;

  r0.xy = cb0[23].zw + v0.xy;
  r1.xyzw = cb2[1].xyzw * r0.yyyy;
  r1.xyzw = cb2[0].xyzw * r0.xxxx + r1.xyzw;
  r1.xyzw = cb2[2].xyzw * v0.zzzz + r1.xyzw;
  r2.xyzw = cb2[3].xyzw + r1.xyzw;
  r1.xyz = cb2[3].xyz * v0.www + r1.xyz;
  r1.xyz = cb1[4].xyz + -r1.xyz;
  r3.xyzw = cb3[18].xyzw * r2.yyyy;
  r3.xyzw = cb3[17].xyzw * r2.xxxx + r3.xyzw;
  r3.xyzw = cb3[19].xyzw * r2.zzzz + r3.xyzw;
  r2.xyzw = cb3[20].xyzw * r2.wwww + r3.xyzw;
  o0.xyzw = r2.xyzw;
  r3.xyzw = cb0[3].xyzw * v2.xyzw;
  r3.xyz = r3.xyz * r3.www;
  o1.xyzw = r3.xyzw;
  r4.w = cb0[5].w * v2.w;
  r4.xyz = cb0[5].xyz * r4.www;
  r4.xyzw = r4.xyzw + -r3.xyzw;
  r0.z = dot(r1.xyz, r1.xyz);
  r0.z = rsqrt(r0.z);
  r1.xyz = r1.xyz * r0.zzz;
  r2.x = dot(v1.xyz, cb2[4].xyz);
  r2.y = dot(v1.xyz, cb2[5].xyz);
  r2.z = dot(v1.xyz, cb2[6].xyz);
  r0.z = dot(r2.xyz, r2.xyz);
  r0.z = rsqrt(r0.z);
  r2.xyz = r2.xyz * r0.zzz;
  r0.z = dot(r2.xyz, r1.xyz);
  r1.xy = cb3[6].xy * cb1[6].yy;
  r1.xy = cb3[5].xy * cb1[6].xx + r1.xy;
  r1.xy = cb0[28].yz * abs(r1.xy);
  r1.xy = r2.ww / r1.xy;
  r0.w = dot(r1.xy, r1.xy);
  r1.xy = cb0[27].xy * float2(0.25,0.25) + r1.xy;
  o5.zw = float2(0.25,0.25) / r1.xy;
  r0.w = rsqrt(r0.w);
  r1.x = cb0[28].x * abs(v4.y);
  r1.y = 1 + cb0[29].x;
  r1.x = r1.x * r1.y;
  r1.y = r1.x * r0.w;
  r1.z = 1 + -cb0[28].w;
  r1.z = abs(r1.y) * r1.z;
  r0.w = r0.w * r1.x + -r1.z;
  r0.z = abs(r0.z) * r0.w + r1.z;
  r0.w = cmp(cb3[8].w == 0.000000);
  r0.z = r0.w ? r0.z : r1.y;
  r0.w = cb0[22].w * cb0[4].y;
  r0.w = r0.w * r0.z + 1;
  r1.x = r0.z / r0.w;
  r0.z = cb0[22].w * cb0[6].x;
  r0.z = 0.5 * r0.z;
  r0.w = r0.z * r1.x;
  r0.w = r0.w + r0.w;
  r0.w = min(1, r0.w);
  r0.w = sqrt(r0.w);
  o2.xyzw = r0.wwww * r4.xyzw + r3.xyzw;
  r2.xyzw = max(float4(-2e+10,-2e+10,-2e+10,-2e+10), cb0[26].xyzw);
  r2.xyzw = min(float4(2e+10,2e+10,2e+10,2e+10), r2.xyzw);
  r1.yz = -r2.xy + r0.xy;
  r0.xy = r0.xy * float2(2,2) + -r2.xy;
  o5.xy = r0.xy + -r2.zw;
  r0.xy = r2.zw + -r2.xy;
  o3.zw = r1.yz / r0.xy;
  o3.xy = v3.xy;
  r0.x = cmp(0 >= v4.y);
  r0.x = r0.x ? 1.000000 : 0;
  r0.y = cb0[22].z + -cb0[22].y;
  r0.x = r0.x * r0.y + cb0[22].y;
  r0.x = r0.x * 0.25 + cb0[4].x;
  r0.x = cb0[22].w * r0.x;
  r0.x = -r0.x * 0.5 + 0.5;
  r1.w = r0.x * r1.x + -0.5;
  o4.y = -r0.z * r1.x + r1.w;
  o4.z = r0.z * r1.x + r1.w;
  o4.xw = r1.xw;
  
  
float4 s = StereoParams.Load(0);
float4 params = IniParams.Load(0);
float4 testeo = IniParams.Load(int2(90,0));
float BoxShowing = IniParams[89].x;
float Tittle = IniParams[89].y;
 

if (!Tittle){

	if (BoxShowing){
	o0.x += s.x * -0.1;}
	
	else {
	
	if (o0.w == 1) {
		o0.x += s.x * (1 - s.y * 0.0033);
		}
	}

}
else
o0.x += s.x * -0.1;
  
  return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v0.6.164 on Sun Mar 15 17:21:55 2026
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyzw        0     NONE   float   xyzw
// NORMAL                   0   xyz         1     NONE   float   xyz
// COLOR                    0   xyzw        2     NONE   float   xyzw
// TEXCOORD                 0   xy          3     NONE   float   xy
// TEXCOORD                 1   xy          4     NONE   float    y
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// COLOR                    0   xyzw        1     NONE   float   xyzw
// COLOR                    1   xyzw        2     NONE   float   xyzw
// TEXCOORD                 0   xyzw        3     NONE   float   xyzw
// TEXCOORD                 1   xyzw        4     NONE   float   xyzw
// TEXCOORD                 2   xyzw        5     NONE   float   xyzw
//
vs_4_0
dcl_constantbuffer CB0[30], immediateIndexed
dcl_constantbuffer CB1[7], immediateIndexed
dcl_constantbuffer CB2[7], immediateIndexed
dcl_constantbuffer CB3[21], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xyz
dcl_input v2.xyzw
dcl_input v3.xy
dcl_input v4.y
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xyzw
dcl_output o3.xyzw
dcl_output o4.xyzw
dcl_output o5.xyzw
dcl_temps 5
add r0.xy, v0.xyxx, cb0[23].zwzz
mul r1.xyzw, r0.yyyy, cb2[1].xyzw
mad r1.xyzw, cb2[0].xyzw, r0.xxxx, r1.xyzw
mad r1.xyzw, cb2[2].xyzw, v0.zzzz, r1.xyzw
add r2.xyzw, r1.xyzw, cb2[3].xyzw
mad r1.xyz, cb2[3].xyzx, v0.wwww, r1.xyzx
add r1.xyz, -r1.xyzx, cb1[4].xyzx
mul r3.xyzw, r2.yyyy, cb3[18].xyzw
mad r3.xyzw, cb3[17].xyzw, r2.xxxx, r3.xyzw
mad r3.xyzw, cb3[19].xyzw, r2.zzzz, r3.xyzw
mad r2.xyzw, cb3[20].xyzw, r2.wwww, r3.xyzw
mov o0.xyzw, r2.xyzw
mul r3.xyzw, v2.xyzw, cb0[3].xyzw
mul r3.xyz, r3.wwww, r3.xyzx
mov o1.xyzw, r3.xyzw
mul r4.w, v2.w, cb0[5].w
mul r4.xyz, r4.wwww, cb0[5].xyzx
add r4.xyzw, -r3.xyzw, r4.xyzw
dp3 r0.z, r1.xyzx, r1.xyzx
rsq r0.z, r0.z
mul r1.xyz, r0.zzzz, r1.xyzx
dp3 r2.x, v1.xyzx, cb2[4].xyzx
dp3 r2.y, v1.xyzx, cb2[5].xyzx
dp3 r2.z, v1.xyzx, cb2[6].xyzx
dp3 r0.z, r2.xyzx, r2.xyzx
rsq r0.z, r0.z
mul r2.xyz, r0.zzzz, r2.xyzx
dp3 r0.z, r2.xyzx, r1.xyzx
mul r1.xy, cb1[6].yyyy, cb3[6].xyxx
mad r1.xy, cb3[5].xyxx, cb1[6].xxxx, r1.xyxx
mul r1.xy, |r1.xyxx|, cb0[28].yzyy
div r1.xy, r2.wwww, r1.xyxx
dp2 r0.w, r1.xyxx, r1.xyxx
mad r1.xy, cb0[27].xyxx, l(0.250000, 0.250000, 0.000000, 0.000000), r1.xyxx
div o5.zw, l(0.000000, 0.000000, 0.250000, 0.250000), r1.xxxy
rsq r0.w, r0.w
mul r1.x, |v4.y|, cb0[28].x
add r1.y, cb0[29].x, l(1.000000)
mul r1.x, r1.y, r1.x
mul r1.y, r0.w, r1.x
add r1.z, -cb0[28].w, l(1.000000)
mul r1.z, r1.z, |r1.y|
mad r0.w, r0.w, r1.x, -r1.z
mad r0.z, |r0.z|, r0.w, r1.z
eq r0.w, cb3[8].w, l(0.000000)
movc r0.z, r0.w, r0.z, r1.y
mul r0.w, cb0[4].y, cb0[22].w
mad r0.w, r0.w, r0.z, l(1.000000)
div r1.x, r0.z, r0.w
mul r0.z, cb0[6].x, cb0[22].w
mul r0.z, r0.z, l(0.500000)
mul r0.w, r1.x, r0.z
add r0.w, r0.w, r0.w
min r0.w, r0.w, l(1.000000)
sqrt r0.w, r0.w
mad o2.xyzw, r0.wwww, r4.xyzw, r3.xyzw
max r2.xyzw, cb0[26].xyzw, l(-20000000000.000000, -20000000000.000000, -20000000000.000000, -20000000000.000000)
min r2.xyzw, r2.xyzw, l(20000000000.000000, 20000000000.000000, 20000000000.000000, 20000000000.000000)
add r1.yz, r0.xxyx, -r2.xxyx
mad r0.xy, r0.xyxx, l(2.000000, 2.000000, 0.000000, 0.000000), -r2.xyxx
add o5.xy, -r2.zwzz, r0.xyxx
add r0.xy, -r2.xyxx, r2.zwzz
div o3.zw, r1.yyyz, r0.xxxy
mov o3.xy, v3.xyxx
ge r0.x, l(0.000000), v4.y
and r0.x, r0.x, l(0x3f800000)
add r0.y, -cb0[22].y, cb0[22].z
mad r0.x, r0.x, r0.y, cb0[22].y
mad r0.x, r0.x, l(0.250000), cb0[4].x
mul r0.x, r0.x, cb0[22].w
mad r0.x, -r0.x, l(0.500000), l(0.500000)
mad r1.w, r0.x, r1.x, l(-0.500000)
mad o4.y, -r0.z, r1.x, r1.w
mad o4.z, r0.z, r1.x, r1.w
mov o4.xw, r1.xxxw
ret
// Approximately 0 instruction slots used

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
