//HUD4
// ---- Created with 3Dmigoto v0.6.164 on Sun Mar 15 17:25:49 2026
cbuffer cb1 : register(b1)
{
  float4 cb1[21];
}

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




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


void main(
  float4 v0 : POSITION0,
  float4 v1 : COLOR0,
  float2 v2 : TEXCOORD0,
  out float4 o0 : SV_POSITION0,
  out float4 o1 : COLOR0,
  out float4 o2 : TEXCOORD0,
  out float4 o3 : TEXCOORD1)
{
  float4 r0,r1;
  uint4 bitmask, uiDest;
  float4 fDest;

  r0.xyzw = cb0[1].xyzw * v0.yyyy;
  r0.xyzw = cb0[0].xyzw * v0.xxxx + r0.xyzw;
  r0.xyzw = cb0[2].xyzw * v0.zzzz + r0.xyzw;
  r1.xyzw = cb0[3].xyzw + r0.xyzw;
  o3.xyzw = cb0[3].xyzw * v0.wwww + r0.xyzw;
  r0.xyzw = cb1[18].xyzw * r1.yyyy;
  r0.xyzw = cb1[17].xyzw * r1.xxxx + r0.xyzw;
  r0.xyzw = cb1[19].xyzw * r1.zzzz + r0.xyzw;
  o0.xyzw = cb1[20].xyzw * r1.wwww + r0.xyzw;
  o1.xyzw = v1.xyzw;
  o2.xy = v2.xy;
  
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:25:49 2026
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyzw        0     NONE   float   xyzw
// COLOR                    0   xyzw        1     NONE   float   xyzw
// TEXCOORD                 0   xy          2     NONE   float   xy
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// COLOR                    0   xyzw        1     NONE   float   xyzw
// TEXCOORD                 0   xy          2     NONE   float   xy
// TEXCOORD                 1   xyzw        3     NONE   float   xyzw
//
vs_4_0
dcl_constantbuffer CB0[4], immediateIndexed
dcl_constantbuffer CB1[21], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xyzw
dcl_input v2.xy
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xy
dcl_output o3.xyzw
dcl_temps 2
mul r0.xyzw, v0.yyyy, cb0[1].xyzw
mad r0.xyzw, cb0[0].xyzw, v0.xxxx, r0.xyzw
mad r0.xyzw, cb0[2].xyzw, v0.zzzz, r0.xyzw
add r1.xyzw, r0.xyzw, cb0[3].xyzw
mad o3.xyzw, cb0[3].xyzw, v0.wwww, r0.xyzw
mul r0.xyzw, r1.yyyy, cb1[18].xyzw
mad r0.xyzw, cb1[17].xyzw, r1.xxxx, r0.xyzw
mad r0.xyzw, cb1[19].xyzw, r1.zzzz, r0.xyzw
mad o0.xyzw, cb1[20].xyzw, r1.wwww, r0.xyzw
mov o1.xyzw, v1.xyzw
mov o2.xy, v2.xyxx
ret
// Approximately 0 instruction slots used

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