//wrong effect
// Generated by Microsoft (R) D3D Shader Disassembler
//
//   using 3Dmigoto v0.6.164 on Sat May  9 12:00:25 2026
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// ATTRIBUTE                0   xy          0     NONE   float   xy
// SV_VertexID              0   x           1   VERTID    uint   x
// SV_InstanceID            0   x           2   INSTID    uint   x
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// PARTICLE_DYNAMIC_PARAM     1   xyzw        1     NONE   float   xyzw
// TEXCOORD                 1   xyzw        2     NONE   float   xyzw
// PARTICLE_RANDOM          0   x           3     NONE   float   x
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer CB0[71], immediateIndexed
dcl_constantbuffer CB1[5], immediateIndexed
dcl_constantbuffer CB2[2], immediateIndexed
dcl_constantbuffer CB3[32], immediateIndexed
dcl_resource_buffer (float,float,float,float) t0
dcl_resource_buffer (float,float,float,float) t1
dcl_resource_buffer (float,float,float,float) t2
dcl_resource_buffer (sint,sint,sint,sint) t3
dcl_input v0.xy
dcl_input_sgv v1.x, vertex_id
dcl_input_sgv v2.x, instance_id
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xyzw
dcl_output o3.x

dcl_resource_texture2d (float,float,float,float) t125
ld_indexable(texture2d)(float,float,float,float) r23.xyzw, l(0, 0, 0, 0), t125.xyzw

dcl_temps 25
ine r0.x, cb2[1].x, l(-1)
if_nz r0.x
  iadd r0.x, v2.x, cb2[1].x
  ld_indexable(buffer)(sint,sint,sint,sint) r0.x, r0.xxxx, t3.xyzw
else
  mov r0.x, v2.x
endif
ieq r0.yz, cb3[9].xxzx, l(0, -1, -1, 0)
if_nz r0.y
  mov r1.xyz, cb3[16].xyzx
endif
if_z r0.y
  and r0.yw, cb3[9].xxxx, l(0, 0x80000000, 0, 0x7fffffff)
  if_nz r0.y
    imad r0.y, r0.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r1.x, r0.yyyy, t2.xyzw
    iadd r2.xy, r0.wwww, l(1, 2, 0, 0)
    imad r2.xy, r2.xyxx, cb2[0].yyyy, r0.xxxx
    ld_indexable(buffer)(float,float,float,float) r1.y, r2.xxxx, t2.yxzw
    ld_indexable(buffer)(float,float,float,float) r1.z, r2.yyyy, t2.yzxw
  else
    imad r0.y, r0.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r1.x, r0.yyyy, t1.xyzw
    iadd r0.yw, r0.wwww, l(0, 1, 0, 2)
    imad r0.yw, r0.yyyw, cb2[0].yyyy, r0.xxxx
    ld_indexable(buffer)(float,float,float,float) r1.y, r0.yyyy, t1.yxzw
    ld_indexable(buffer)(float,float,float,float) r1.z, r0.wwww, t1.yzxw
  endif
endif
mul r2.xyz, r1.yyyy, cb1[1].xyzx
mad r2.xyz, cb1[0].xyzx, r1.xxxx, r2.xyzx
mad r2.xyz, cb1[2].xyzx, r1.zzzz, r2.xyzx
add r2.xyz, r2.xyzx, cb1[3].xyzx
movc r1.xyz, cb3[0].xxxx, r2.xyzx, r1.xyzx
ieq r0.yw, cb3[10].xxxz, l(0, -1, 0, -1)
if_nz r0.y
  mov r1.w, cb3[21].w
endif
if_z r0.y
  and r2.xy, cb3[10].xxxx, l(0x80000000, 0x7fffffff, 0, 0)
  if_nz r2.x
    imad r0.y, r2.y, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r1.w, r0.yyyy, t2.yzwx
  else
    imad r0.y, r2.y, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r1.w, r0.yyyy, t1.yzwx
  endif
endif
mul r0.y, r1.w, cb3[7].x
if_nz r0.w
  mov r2.xy, cb3[18].xyxx
endif
if_z r0.w
  and r2.zw, cb3[10].zzzz, l(0, 0, 0x80000000, 0x7fffffff)
  if_nz r2.z
    imad r0.w, r2.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r2.x, r0.wwww, t2.xyzw
    iadd r0.w, r2.w, l(1)
    imad r0.w, r0.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r2.y, r0.wwww, t2.yxzw
  else
    imad r0.w, r2.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r2.x, r0.wwww, t1.xyzw
    iadd r0.w, r2.w, l(1)
    imad r0.w, r0.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r2.y, r0.wwww, t1.yxzw
  endif
endif
if_nz r0.z
  mov r3.xyz, cb3[20].xyzx
endif
if_z r0.z
  and r0.zw, cb3[9].zzzz, l(0, 0, 0x80000000, 0x7fffffff)
  if_nz r0.z
    imad r0.z, r0.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r3.x, r0.zzzz, t2.xyzw
    iadd r2.zw, r0.wwww, l(0, 0, 1, 2)
    imad r2.zw, r2.zzzw, cb2[0].yyyy, r0.xxxx
    ld_indexable(buffer)(float,float,float,float) r3.y, r2.zzzz, t2.yxzw
    ld_indexable(buffer)(float,float,float,float) r3.z, r2.wwww, t2.yzxw
  else
    imad r0.z, r0.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r3.x, r0.zzzz, t1.xyzw
    iadd r0.zw, r0.wwww, l(0, 0, 1, 2)
    imad r0.zw, r0.zzzw, cb2[0].yyyy, r0.xxxx
    ld_indexable(buffer)(float,float,float,float) r3.y, r0.zzzz, t1.yxzw
    ld_indexable(buffer)(float,float,float,float) r3.z, r0.wwww, t1.yzxw
  endif
endif
mul r4.xyz, cb1[0].xyzx, cb1[4].xxxx
mul r5.xyz, cb1[1].xyzx, cb1[4].yyyy
mul r6.xyz, cb1[2].xyzx, cb1[4].zzzz
ieq r0.z, cb3[11].x, l(-1)
if_nz r0.z
  mov r0.w, cb3[25].x
endif
if_z r0.z
  and r2.zw, cb3[11].xxxx, l(0, 0, 0x80000000, 0x7fffffff)
  if_nz r2.z
    imad r0.z, r2.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r0.w, r0.zzzz, t2.yzwx
  else
    imad r0.z, r2.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r0.w, r0.zzzz, t1.yzwx
  endif
endif
ieq r2.zw, cb3[12].wwwx, l(0, 0, -1, -1)
if_nz r2.z
  mov r7.xyz, cb3[26].xyzx
endif
if_z r2.z
  and r8.xy, cb3[12].wwww, l(0x80000000, 0x7fffffff, 0, 0)
  if_nz r8.x
    imad r0.z, r8.y, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r7.x, r0.zzzz, t2.xyzw
    iadd r8.xz, r8.yyyy, l(1, 0, 2, 0)
    imad r8.xz, r8.xxzx, cb2[0].yyyy, r0.xxxx
    ld_indexable(buffer)(float,float,float,float) r7.y, r8.xxxx, t2.yxzw
    ld_indexable(buffer)(float,float,float,float) r7.z, r8.zzzz, t2.yzxw
  else
    imad r0.z, r8.y, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r7.x, r0.zzzz, t1.xyzw
    iadd r8.xy, r8.yyyy, l(1, 2, 0, 0)
    imad r8.xy, r8.xyxx, cb2[0].yyyy, r0.xxxx
    ld_indexable(buffer)(float,float,float,float) r7.y, r8.xxxx, t1.yxzw
    ld_indexable(buffer)(float,float,float,float) r7.z, r8.yyyy, t1.yzxw
  endif
endif
mul r8.xyz, r5.zxyz, r7.yyyy
mad r8.xyz, r4.zxyz, r7.xxxx, r8.xyzx
mad r8.xyz, r6.zxyz, r7.zzzz, r8.xyzx
movc r7.xyz, cb3[0].xxxx, r8.xyzx, r7.zxyz
dp3 r0.z, r7.xyzx, r7.xyzx
sqrt r0.z, r0.z
max r0.z, r0.z, l(0.000001)
div r7.xyz, r7.xyzx, r0.zzzz
ieq r0.z, cb3[13].y, l(-1)
if_nz r0.z
  mov r8.xyz, cb3[28].xyzx
endif
if_z r0.z
  and r9.xy, cb3[13].yyyy, l(0x80000000, 0x7fffffff, 0, 0)
  if_nz r9.x
    imad r0.z, r9.y, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r8.x, r0.zzzz, t2.xyzw
    iadd r9.xz, r9.yyyy, l(1, 0, 2, 0)
    imad r9.xz, r9.xxzx, cb2[0].yyyy, r0.xxxx
    ld_indexable(buffer)(float,float,float,float) r8.y, r9.xxxx, t2.yxzw
    ld_indexable(buffer)(float,float,float,float) r8.z, r9.zzzz, t2.yzxw
  else
    imad r0.z, r9.y, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r8.x, r0.zzzz, t1.xyzw
    iadd r9.xy, r9.yyyy, l(1, 2, 0, 0)
    imad r9.xy, r9.xyxx, cb2[0].yyyy, r0.xxxx
    ld_indexable(buffer)(float,float,float,float) r8.y, r9.xxxx, t1.yxzw
    ld_indexable(buffer)(float,float,float,float) r8.z, r9.yyyy, t1.yzxw
  endif
endif
ieq r9.xyz, cb3[14].wzxw, l(-1, -1, -1, 0)
if_nz r9.x
  mov r10.xy, cb3[8].xyxx
endif
if_z r9.x
  and r9.xw, cb3[14].wwww, l(0x80000000, 0, 0, 0x7fffffff)
  if_nz r9.x
    imad r0.z, r9.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r10.x, r0.zzzz, t2.xyzw
    iadd r0.z, r9.w, l(1)
    imad r0.z, r0.z, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r10.y, r0.zzzz, t2.yxzw
  else
    imad r0.z, r9.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r10.x, r0.zzzz, t1.xyzw
    iadd r0.z, r9.w, l(1)
    imad r0.z, r0.z, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r10.y, r0.zzzz, t1.yxzw
  endif
endif
if_nz r9.y
  mov r9.xw, cb3[19].xxxy
endif
if_z r9.y
  and r10.zw, cb3[14].zzzz, l(0, 0, 0x80000000, 0x7fffffff)
  if_nz r10.z
    imad r0.z, r10.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r9.x, r0.zzzz, t2.xzwy
    iadd r0.z, r10.w, l(1)
    imad r0.z, r0.z, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r9.w, r0.zzzz, t2.yzwx
  else
    imad r0.z, r10.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r9.x, r0.zzzz, t1.xzwy
    iadd r0.z, r10.w, l(1)
    imad r0.z, r0.z, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r9.w, r0.zzzz, t1.yzwx
  endif
endif
add r11.xyz, -r1.zxyz, cb0[67].zxyz
dp3 r0.z, r11.xyzx, r11.xyzx
sqrt r1.w, r0.z
max r1.w, r1.w, l(0.000001)
div r11.xyz, r11.xyzx, r1.wwww
if_nz r9.z
  mov r1.w, cb3[24].y
endif
if_z r9.z
  and r9.yz, cb3[14].xxxx, l(0, 0x80000000, 0x7fffffff, 0)
  if_nz r9.y
    imad r2.z, r9.z, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r1.w, r2.zzzz, t2.yzwx
  else
    imad r2.z, r9.z, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r1.w, r2.zzzz, t1.yzwx
  endif
endif
if_nz r2.w
  mov o1.xyzw, cb3[31].xyzw
endif
if_z r2.w
  and r2.zw, cb3[12].xxxx, l(0, 0, 0x80000000, 0x7fffffff)
  if_nz r2.z
    imad r2.z, r2.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r2.z, r2.zzzz, t2.yzxw
    iadd r12.xyz, r2.wwww, l(1, 2, 3, 0)
    imad r12.xyz, r12.xyzx, cb2[0].yyyy, r0.xxxx
    ld_indexable(buffer)(float,float,float,float) r3.w, r12.xxxx, t2.yzwx
    ld_indexable(buffer)(float,float,float,float) r4.w, r12.yyyy, t2.yzwx
    ld_indexable(buffer)(float,float,float,float) r5.w, r12.zzzz, t2.yzwx
    mov o1.x, r2.z
    mov o1.y, r3.w
    mov o1.z, r4.w
    mov o1.w, r5.w
  else
    imad r2.z, r2.w, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r2.z, r2.zzzz, t1.yzxw
    iadd r12.xyz, r2.wwww, l(1, 2, 3, 0)
    imad r12.xyz, r12.xyzx, cb2[0].yyyy, r0.xxxx
    ld_indexable(buffer)(float,float,float,float) r2.w, r12.xxxx, t1.yzwx
    ld_indexable(buffer)(float,float,float,float) r3.w, r12.yyyy, t1.yzwx
    ld_indexable(buffer)(float,float,float,float) r4.w, r12.zzzz, t1.yzwx
    mov o1.xy, r2.zwzz
    mov o1.z, r3.w
    mov o1.w, r4.w
  endif
endif
ieq r2.z, cb2[0].w, l(2)
movc r7.xyz, r2.zzzz, r7.xyzx, r11.xyzx
if_z cb2[0].z
  add r12.xyz, -cb0[62].xyzx, cb0[64].xyzx
  mad r12.xyz, cb3[5].wwww, r12.xyzx, cb0[62].xyzx
  add r13.xyz, -cb0[61].yzxy, cb0[63].yzxy
  mad r13.xyz, cb3[5].wwww, r13.xyzx, cb0[61].yzxy
  mul r14.xyz, r13.xyzx, -cb0[60].zxyz
  mad r14.xyz, -cb0[60].yzxy, r13.yzxy, -r14.xyzx
  dp3 r2.w, r14.xyzx, r14.xyzx
  sqrt r2.w, r2.w
  max r2.w, r2.w, l(0.000001)
  div r14.xyz, r14.xyzx, r2.wwww
  mul r15.xyz, r14.yzxy, -cb0[60].zxyz
  mad r15.xyz, -cb0[60].yzxy, r14.zxyz, -r15.xyzx
  mul r16.xyz, r7.xyzx, r13.xyzx
  mad r16.xyz, r7.zxyz, r13.yzxy, -r16.xyzx
  dp3 r2.w, r16.xyzx, r16.xyzx
  sqrt r2.w, r2.w
  max r2.w, r2.w, l(0.000001)
  div r16.xyz, r16.xyzx, r2.wwww
  mul r17.xyz, r7.xyzx, r16.yzxy
  mad r17.xyz, r7.zxyz, r16.zxyz, -r17.xyzx
  mul r18.xyz, r11.xyzx, l(0.000000, 1.000000, 0.000000, 0.000000)
  mad r18.xyz, r11.zxyz, l(1.000000, 0.000000, 0.000000, 0.000000), -r18.xyzx
  dp2 r2.w, r18.xyxx, r18.xyxx
  sqrt r2.w, r2.w
  max r2.w, r2.w, l(0.000001)
  div r19.xyz, r18.xyzx, r2.wwww
  mul r20.xyz, r11.xyzx, r19.yzxy
  mad r20.xyz, r11.zxyz, r19.zxyz, -r20.xyzx
  mad_sat r0.z, r0.z, cb3[5].y, -cb3[5].z
  mul r21.xyz, r11.xyzx, r18.yzxy
  mad r21.xyz, r11.zxyz, r18.zxyz, -r21.xyzx
  add r22.xyz, r12.xyzx, -r18.xyzx
  mad r18.xyz, r0.zzzz, r22.xyzx, r18.xyzx
  add r22.xyz, -r13.zxyz, -r21.xyzx
  mad r21.xyz, r0.zzzz, r22.xyzx, r21.xyzx
  ieq r9.yz, cb2[0].wwww, l(0, 4, 1, 0)
  movc r16.xyz, r2.zzzz, r16.xyzx, r19.xyzx
  movc r17.xyz, r2.zzzz, r17.xyzx, r20.xyzx
  movc r14.xyz, r9.zzzz, r14.xyzx, r16.xyzx
  movc r15.xyz, r9.zzzz, r15.xyzx, r17.xyzx
  movc r12.xyz, cb2[0].wwww, r14.xyzx, r12.xyzx
  movc r13.xyz, cb2[0].wwww, r15.xyzx, -r13.zxyz
  movc r12.xyz, r9.yyyy, r18.xyzx, r12.xyzx
  movc r13.xyz, r9.yyyy, r21.xyzx, r13.xyzx
else
  mul r14.xyz, r3.yyyy, r5.xyzx
  mad r14.xyz, r4.xyzx, r3.xxxx, r14.xyzx
  mad r14.xyz, r6.xyzx, r3.zzzz, r14.xyzx
  movc r3.xyz, cb3[0].xxxx, r14.xyzx, r3.xyzx
  mul r5.xyz, r5.xyzx, r8.yyyy
  mad r4.xyz, r4.xyzx, r8.xxxx, r5.xyzx
  mad r4.xyz, r6.xyzx, r8.zzzz, r4.xyzx
  movc r4.xyz, cb3[0].xxxx, r4.xyzx, r8.xyzx
  dp3 r0.z, r4.xyzx, r4.xyzx
  sqrt r0.z, r0.z
  max r0.z, r0.z, l(0.000001)
  div r4.xyz, r4.xyzx, r0.zzzz
  dp3 r0.z, r3.xyzx, r3.xyzx
  sqrt r0.z, r0.z
  lt r2.w, l(0.000001), r0.z
  div r3.xyz, r3.xyzx, r0.zzzz
  movc r3.xyz, r2.wwww, r3.xyzx, l(0,0,1.000000,0)
  ieq r0.z, cb2[0].z, l(2)
  and r0.z, r0.z, l(0x3f800000)
  add r4.xyz, -r3.xyzx, r4.xyzx
  mad r3.xyz, r0.zzzz, r4.xyzx, r3.xyzx
  mul r4.xyz, r3.yzxy, r7.xyzx
  mad r4.xyz, r7.zxyz, r3.zxyz, -r4.xyzx
  dp3 r0.z, r4.xyzx, r4.xyzx
  sqrt r0.z, r0.z
  max r0.z, r0.z, l(0.000001)
  div r12.xyz, r4.xyzx, r0.zzzz
  mul r4.xyz, r7.xyzx, r12.yzxy
  mad r4.xyz, r7.zxyz, r12.zxyz, -r4.xyzx
  and r0.z, r2.z, l(0x3f800000)
  add r4.xyz, r3.xyzx, r4.xyzx
  mad r13.xyz, r0.zzzz, r4.xyzx, -r3.xyzx
endif
mad r0.y, r0.y, l(0.0174532942), cb3[7].y
sincos r3.x, r4.x, r0.y
mul r3.yzw, r3.xxxx, r12.xxyz
mul r4.yzw, r4.xxxx, r12.xxyz
mad r4.yzw, r13.xxyz, r3.xxxx, r4.yyzw
mad r3.xyz, r13.xyzx, r4.xxxx, -r3.yzwy
lt r0.yz, l(0.000000, 0.000000, 0.000000, 0.000000), r2.xxyx
lt r2.zw, r2.xxxy, l(0.000000, 0.000000, 0.000000, 0.000000)
iadd r0.yz, -r0.yyzy, r2.zzwz
itof r0.yz, r0.yyzy
if_nz cb2[0].x
  ieq r2.z, cb2[0].x, l(8)
  movc r2.z, r2.z, l(7), l(3)
  and r2.z, r2.z, v1.x
  mul r2.w, cb3[4].y, cb3[4].x
  div r3.w, r0.w, r2.w
  ge r4.x, r3.w, -r3.w
  frc r3.w, |r3.w|
  movc r3.w, r4.x, r3.w, -r3.w
  mul r2.w, r2.w, r3.w
  ftou r2.w, r2.w
  mul r3.w, r0.z, r0.y
  lt r3.w, r3.w, l(0.000000)
  iadd r4.x, cb2[0].x, l(-1)
  iadd r4.x, -r2.z, r4.x
  movc r2.z, r3.w, r4.x, r2.z
  imad r2.z, r2.w, cb2[0].x, r2.z
  ld_indexable(buffer)(float,float,float,float) r2.zw, r2.zzzz, t0.zwxy
  lt r5.xy, r0.yzyy, l(0.000000, 0.000000, 0.000000, 0.000000)
  add r5.zw, -r2.zzzw, l(0.000000, 0.000000, 1.000000, 1.000000)
  movc r5.xy, r5.xyxx, r5.zwzz, r2.zwzz
else
  lt r0.yz, r0.yyzy, l(0.000000, 0.000000, 0.000000, 0.000000)
  add r5.zw, -v0.xxxy, l(0.000000, 0.000000, 1.000000, 1.000000)
  movc r2.zw, r0.yyyz, r5.zzzw, v0.xxxy
  mov r5.xy, v0.xyxx
endif
add r0.yz, r2.zzwz, l(0.000000, -0.500000, -0.500000, 0.000000)
mad r0.yz, r0.yyzy, r9.xxwx, l(0.000000, 0.500000, 0.500000, 0.000000)
add r2.zw, -r10.xxxy, r5.xxxy
mul r2.xy, r2.zwzz, |r2.xyxx|
mul r2.yzw, r3.xxyz, r2.yyyy
mad r2.xyz, r2.xxxx, r4.yzwy, r2.yzwy
mad r2.xyz, r11.yzxy, r1.wwww, r2.xyzx
add r1.xyz, r1.xyzx, r2.xyzx
frc r1.w, r0.w
add r0.w, r0.w, -r1.w
add r1.w, r0.w, l(1.000000)
div r2.x, r0.w, cb3[4].x
ge r2.y, r2.x, -r2.x
frc r2.x, |r2.x|
movc r2.x, r2.y, r2.x, -r2.x
div r2.z, r1.w, cb3[4].x
ge r2.w, r2.z, -r2.z
frc r2.z, |r2.z|
movc r2.z, r2.w, r2.z, -r2.z
mul r2.xz, r2.xxzx, cb3[4].xxxx
mul r0.w, r0.w, cb3[4].z
round_ni r2.y, r0.w
mul r0.w, r1.w, cb3[4].z
round_ni r2.w, r0.w
add r2.xy, r0.yzyy, r2.xyxx
mul o2.xy, r2.xyxx, cb3[4].zwzz
add r0.yz, r0.yyzy, r2.zzwz
mul o2.zw, r0.yyyz, cb3[4].zzzw
ieq r0.y, cb3[15].z, l(-1)
if_nz r0.y
  mov o3.x, cb3[24].x
endif
if_z r0.y
  and r0.yz, cb3[15].zzzz, l(0, 0x80000000, 0x7fffffff, 0)
  if_nz r0.y
    imad r0.y, r0.z, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r0.y, r0.yyyy, t2.yxzw
    mov o3.x, r0.y
  else
    imad r0.x, r0.z, cb2[0].y, r0.x
    ld_indexable(buffer)(float,float,float,float) r0.x, r0.xxxx, t1.xyzw
    mov o3.x, r0.x
  endif
endif
add r0.xyz, r1.xyzx, cb0[70].xyzx
mul r1.xyzw, r0.yyyy, cb0[1].xyzw
mad r1.xyzw, r0.xxxx, cb0[0].xyzw, r1.xyzw
mad r0.xyzw, r0.zzzz, cb0[2].xyzw, r1.xyzw
add o0.xyzw, r0.xyzw, cb0[3].xyzw

//add r23.y, r24.w, -r23.y
//mul r23.x, r23.x, r23.y
//add r24.x, r24.x, -r23.x
mov o0.xyzw, l(0.000000, 0.000000, 0.000000, 0.000000)

ret
// Approximately 0 instruction slots used

///////////////////////////////// HLSL Code /////////////////////////////////
// // ---- Created with 3Dmigoto v0.6.164 on Sat May  9 12:00:25 2026
// Buffer<sint4> t3 : register(t3);
//
// Buffer<float4> t2 : register(t2);
//
// Buffer<float4> t1 : register(t1);
//
// Buffer<float4> t0 : register(t0);
//
// cbuffer cb3 : register(b3)
// {
//   float4 cb3[32];
// }
//
// cbuffer cb2 : register(b2)
// {
//   float4 cb2[2];
// }
//
// cbuffer cb1 : register(b1)
// {
//   float4 cb1[5];
// }
//
// cbuffer cb0 : register(b0)
// {
//   float4 cb0[71];
// }
//
//
//
//
// // 3Dmigoto declarations
// #define cmp -
// Texture1D<float4> IniParams : register(t120);
// Texture2D<float4> StereoParams : register(t125);
//
//
// void main(
//   float2 v0 : ATTRIBUTE0,
//   uint v1 : SV_VertexID0,
//   uint v2 : SV_InstanceID0,
//   out float4 o0 : SV_POSITION0,
//   out float4 o1 : PARTICLE_DYNAMIC_PARAM1,
//   out float4 o2 : TEXCOORD1,
//   out float o3 : PARTICLE_RANDOM0)
// {
// // Needs manual fix for instruction:
// // unknown dcl_: dcl_input_sgv v1.x, vertex_id
// // Needs manual fix for instruction:
// // unknown dcl_: dcl_input_sgv v2.x, instance_id
//   float4 r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20,r21,r22;
//   uint4 bitmask, uiDest;
//   float4 fDest;
//
//   r0.x = cmp(asint(cb2[1].x) != -1);
//   if (r0.x != 0) {
//     r0.x = (int)v2.x + asint(cb2[1].x);
//     r0.x = t3.Load(r0.x).x;
//   } else {
//     r0.x = v2.x;
//   }
//   r0.yz = cmp(asint(cb3[9].xz) == int2(-1,-1));
//   if (r0.y != 0) {
//     r1.xyz = cb3[16].xyz;
//   }
//   if (r0.y == 0) {
//     r0.yw = asint(cb3[9].xx) & int2(0x80000000,0x7fffffff);
//     if (r0.y != 0) {
//       r0.y = mad((int)r0.w, asint(cb2[0].y), (int)r0.x);
//       r1.x = t2.Load(r0.y).x;
//       r2.xy = (int2)r0.ww + int2(1,2);
//       r2.xy = mad((int2)r2.xy, asint(cb2[0].yy), (int2)r0.xx);
//       r1.y = t2.Load(r2.x).x;
//       r1.z = t2.Load(r2.y).x;
//     } else {
//       r0.y = mad((int)r0.w, asint(cb2[0].y), (int)r0.x);
//       r1.x = t1.Load(r0.y).x;
//       r0.yw = (int2)r0.ww + int2(1,2);
//       r0.yw = mad((int2)r0.yw, asint(cb2[0].yy), (int2)r0.xx);
//       r1.y = t1.Load(r0.y).x;
//       r1.z = t1.Load(r0.w).x;
//     }
//   }
//   r2.xyz = cb1[1].xyz * r1.yyy;
//   r2.xyz = cb1[0].xyz * r1.xxx + r2.xyz;
//   r2.xyz = cb1[2].xyz * r1.zzz + r2.xyz;
//   r2.xyz = cb1[3].xyz + r2.xyz;
//   r1.xyz = cb3[0].xxx ? r2.xyz : r1.xyz;
//   r0.yw = cmp(asint(cb3[10].xz) == int2(-1,-1));
//   if (r0.y != 0) {
//     r1.w = cb3[21].w;
//   }
//   if (r0.y == 0) {
//     r2.xy = asint(cb3[10].xx) & int2(0x80000000,0x7fffffff);
//     if (r2.x != 0) {
//       r0.y = mad((int)r2.y, asint(cb2[0].y), (int)r0.x);
//       r1.w = t2.Load(r0.y).x;
//     } else {
//       r0.y = mad((int)r2.y, asint(cb2[0].y), (int)r0.x);
//       r1.w = t1.Load(r0.y).x;
//     }
//   }
//   r0.y = cb3[7].x * r1.w;
//   if (r0.w != 0) {
//     r2.xy = cb3[18].xy;
//   }
//   if (r0.w == 0) {
//     r2.zw = asint(cb3[10].zz) & int2(0x80000000,0x7fffffff);
//     if (r2.z != 0) {
//       r0.w = mad((int)r2.w, asint(cb2[0].y), (int)r0.x);
//       r2.x = t2.Load(r0.w).x;
//       r0.w = (int)r2.w + 1;
//       r0.w = mad((int)r0.w, asint(cb2[0].y), (int)r0.x);
//       r2.y = t2.Load(r0.w).x;
//     } else {
//       r0.w = mad((int)r2.w, asint(cb2[0].y), (int)r0.x);
//       r2.x = t1.Load(r0.w).x;
//       r0.w = (int)r2.w + 1;
//       r0.w = mad((int)r0.w, asint(cb2[0].y), (int)r0.x);
//       r2.y = t1.Load(r0.w).x;
//     }
//   }
//   if (r0.z != 0) {
//     r3.xyz = cb3[20].xyz;
//   }
//   if (r0.z == 0) {
//     r0.zw = asint(cb3[9].zz) & int2(0x80000000,0x7fffffff);
//     if (r0.z != 0) {
//       r0.z = mad((int)r0.w, asint(cb2[0].y), (int)r0.x);
//       r3.x = t2.Load(r0.z).x;
//       r2.zw = (int2)r0.ww + int2(1,2);
//       r2.zw = mad((int2)r2.zw, asint(cb2[0].yy), (int2)r0.xx);
//       r3.y = t2.Load(r2.z).x;
//       r3.z = t2.Load(r2.w).x;
//     } else {
//       r0.z = mad((int)r0.w, asint(cb2[0].y), (int)r0.x);
//       r3.x = t1.Load(r0.z).x;
//       r0.zw = (int2)r0.ww + int2(1,2);
//       r0.zw = mad((int2)r0.zw, asint(cb2[0].yy), (int2)r0.xx);
//       r3.y = t1.Load(r0.z).x;
//       r3.z = t1.Load(r0.w).x;
//     }
//   }
//   r4.xyz = cb1[4].xxx * cb1[0].xyz;
//   r5.xyz = cb1[4].yyy * cb1[1].xyz;
//   r6.xyz = cb1[4].zzz * cb1[2].xyz;
//   r0.z = cmp(asint(cb3[11].x) == -1);
//   if (r0.z != 0) {
//     r0.w = cb3[25].x;
//   }
//   if (r0.z == 0) {
//     r2.zw = asint(cb3[11].xx) & int2(0x80000000,0x7fffffff);
//     if (r2.z != 0) {
//       r0.z = mad((int)r2.w, asint(cb2[0].y), (int)r0.x);
//       r0.w = t2.Load(r0.z).x;
//     } else {
//       r0.z = mad((int)r2.w, asint(cb2[0].y), (int)r0.x);
//       r0.w = t1.Load(r0.z).x;
//     }
//   }
//   r2.zw = cmp(asint(cb3[12].wx) == int2(-1,-1));
//   if (r2.z != 0) {
//     r7.xyz = cb3[26].xyz;
//   }
//   if (r2.z == 0) {
//     r8.xy = asint(cb3[12].ww) & int2(0x80000000,0x7fffffff);
//     if (r8.x != 0) {
//       r0.z = mad((int)r8.y, asint(cb2[0].y), (int)r0.x);
//       r7.x = t2.Load(r0.z).x;
//       r8.xz = (int2)r8.yy + int2(1,2);
//       r8.xz = mad((int2)r8.xz, asint(cb2[0].yy), (int2)r0.xx);
//       r7.y = t2.Load(r8.x).x;
//       r7.z = t2.Load(r8.z).x;
//     } else {
//       r0.z = mad((int)r8.y, asint(cb2[0].y), (int)r0.x);
//       r7.x = t1.Load(r0.z).x;
//       r8.xy = (int2)r8.yy + int2(1,2);
//       r8.xy = mad((int2)r8.xy, asint(cb2[0].yy), (int2)r0.xx);
//       r7.y = t1.Load(r8.x).x;
//       r7.z = t1.Load(r8.y).x;
//     }
//   }
//   r8.xyz = r7.yyy * r5.zxy;
//   r8.xyz = r4.zxy * r7.xxx + r8.xyz;
//   r8.xyz = r6.zxy * r7.zzz + r8.xyz;
//   r7.xyz = cb3[0].xxx ? r8.xyz : r7.zxy;
//   r0.z = dot(r7.xyz, r7.xyz);
//   r0.z = sqrt(r0.z);
//   r0.z = max(9.99999997e-07, r0.z);
//   r7.xyz = r7.xyz / r0.zzz;
//   r0.z = cmp(asint(cb3[13].y) == -1);
//   if (r0.z != 0) {
//     r8.xyz = cb3[28].xyz;
//   }
//   if (r0.z == 0) {
//     r9.xy = asint(cb3[13].yy) & int2(0x80000000,0x7fffffff);
//     if (r9.x != 0) {
//       r0.z = mad((int)r9.y, asint(cb2[0].y), (int)r0.x);
//       r8.x = t2.Load(r0.z).x;
//       r9.xz = (int2)r9.yy + int2(1,2);
//       r9.xz = mad((int2)r9.xz, asint(cb2[0].yy), (int2)r0.xx);
//       r8.y = t2.Load(r9.x).x;
//       r8.z = t2.Load(r9.z).x;
//     } else {
//       r0.z = mad((int)r9.y, asint(cb2[0].y), (int)r0.x);
//       r8.x = t1.Load(r0.z).x;
//       r9.xy = (int2)r9.yy + int2(1,2);
//       r9.xy = mad((int2)r9.xy, asint(cb2[0].yy), (int2)r0.xx);
//       r8.y = t1.Load(r9.x).x;
//       r8.z = t1.Load(r9.y).x;
//     }
//   }
//   r9.xyz = cmp(asint(cb3[14].wzx) == int3(-1,-1,-1));
//   if (r9.x != 0) {
//     r10.xy = cb3[8].xy;
//   }
//   if (r9.x == 0) {
//     r9.xw = asint(cb3[14].ww) & int2(0x80000000,0x7fffffff);
//     if (r9.x != 0) {
//       r0.z = mad((int)r9.w, asint(cb2[0].y), (int)r0.x);
//       r10.x = t2.Load(r0.z).x;
//       r0.z = (int)r9.w + 1;
//       r0.z = mad((int)r0.z, asint(cb2[0].y), (int)r0.x);
//       r10.y = t2.Load(r0.z).x;
//     } else {
//       r0.z = mad((int)r9.w, asint(cb2[0].y), (int)r0.x);
//       r10.x = t1.Load(r0.z).x;
//       r0.z = (int)r9.w + 1;
//       r0.z = mad((int)r0.z, asint(cb2[0].y), (int)r0.x);
//       r10.y = t1.Load(r0.z).x;
//     }
//   }
//   if (r9.y != 0) {
//     r9.xw = cb3[19].xy;
//   }
//   if (r9.y == 0) {
//     r10.zw = asint(cb3[14].zz) & int2(0x80000000,0x7fffffff);
//     if (r10.z != 0) {
//       r0.z = mad((int)r10.w, asint(cb2[0].y), (int)r0.x);
//       r9.x = t2.Load(r0.z).x;
//       r0.z = (int)r10.w + 1;
//       r0.z = mad((int)r0.z, asint(cb2[0].y), (int)r0.x);
//       r9.w = t2.Load(r0.z).x;
//     } else {
//       r0.z = mad((int)r10.w, asint(cb2[0].y), (int)r0.x);
//       r9.x = t1.Load(r0.z).x;
//       r0.z = (int)r10.w + 1;
//       r0.z = mad((int)r0.z, asint(cb2[0].y), (int)r0.x);
//       r9.w = t1.Load(r0.z).x;
//     }
//   }
//   r11.xyz = cb0[67].zxy + -r1.zxy;
//   r0.z = dot(r11.xyz, r11.xyz);
//   r1.w = sqrt(r0.z);
//   r1.w = max(9.99999997e-07, r1.w);
//   r11.xyz = r11.xyz / r1.www;
//   if (r9.z != 0) {
//     r1.w = cb3[24].y;
//   }
//   if (r9.z == 0) {
//     r9.yz = asint(cb3[14].xx) & int2(0x80000000,0x7fffffff);
//     if (r9.y != 0) {
//       r2.z = mad((int)r9.z, asint(cb2[0].y), (int)r0.x);
//       r1.w = t2.Load(r2.z).x;
//     } else {
//       r2.z = mad((int)r9.z, asint(cb2[0].y), (int)r0.x);
//       r1.w = t1.Load(r2.z).x;
//     }
//   }
//   if (r2.w != 0) {
//     o1.xyzw = cb3[31].xyzw;
//   }
//   if (r2.w == 0) {
//     r2.zw = asint(cb3[12].xx) & int2(0x80000000,0x7fffffff);
//     if (r2.z != 0) {
//       r2.z = mad((int)r2.w, asint(cb2[0].y), (int)r0.x);
//       r2.z = t2.Load(r2.z).x;
//       r12.xyz = (int3)r2.www + int3(1,2,3);
//       r12.xyz = mad((int3)r12.xyz, asint(cb2[0].yyy), (int3)r0.xxx);
//       r3.w = t2.Load(r12.x).x;
//       r4.w = t2.Load(r12.y).x;
//       r5.w = t2.Load(r12.z).x;
//       o1.x = r2.z;
//       o1.y = r3.w;
//       o1.z = r4.w;
//       o1.w = r5.w;
//     } else {
//       r2.z = mad((int)r2.w, asint(cb2[0].y), (int)r0.x);
//       r2.z = t1.Load(r2.z).x;
//       r12.xyz = (int3)r2.www + int3(1,2,3);
//       r12.xyz = mad((int3)r12.xyz, asint(cb2[0].yyy), (int3)r0.xxx);
//       r2.w = t1.Load(r12.x).x;
//       r3.w = t1.Load(r12.y).x;
//       r4.w = t1.Load(r12.z).x;
//       o1.xy = r2.zw;
//       o1.z = r3.w;
//       o1.w = r4.w;
//     }
//   }
//   r2.z = cmp(asint(cb2[0].w) == 2);
//   r7.xyz = r2.zzz ? r7.xyz : r11.xyz;
//   if (cb2[0].z == 0) {
//     r12.xyz = cb0[64].xyz + -cb0[62].xyz;
//     r12.xyz = cb3[5].www * r12.xyz + cb0[62].xyz;
//     r13.xyz = cb0[63].yzx + -cb0[61].yzx;
//     r13.xyz = cb3[5].www * r13.xyz + cb0[61].yzx;
//     r14.xyz = -cb0[60].zxy * r13.xyz;
//     r14.xyz = -cb0[60].yzx * r13.yzx + -r14.xyz;
//     r2.w = dot(r14.xyz, r14.xyz);
//     r2.w = sqrt(r2.w);
//     r2.w = max(9.99999997e-07, r2.w);
//     r14.xyz = r14.xyz / r2.www;
//     r15.xyz = -cb0[60].zxy * r14.yzx;
//     r15.xyz = -cb0[60].yzx * r14.zxy + -r15.xyz;
//     r16.xyz = r13.xyz * r7.xyz;
//     r16.xyz = r7.zxy * r13.yzx + -r16.xyz;
//     r2.w = dot(r16.xyz, r16.xyz);
//     r2.w = sqrt(r2.w);
//     r2.w = max(9.99999997e-07, r2.w);
//     r16.xyz = r16.xyz / r2.www;
//     r17.xyz = r16.yzx * r7.xyz;
//     r17.xyz = r7.zxy * r16.zxy + -r17.xyz;
//     r18.xyz = float3(0,1,0) * r11.xyz;
//     r18.xyz = r11.zxy * float3(1,0,0) + -r18.xyz;
//     r2.w = dot(r18.xy, r18.xy);
//     r2.w = sqrt(r2.w);
//     r2.w = max(9.99999997e-07, r2.w);
//     r19.xyz = r18.xyz / r2.www;
//     r20.xyz = r19.yzx * r11.xyz;
//     r20.xyz = r11.zxy * r19.zxy + -r20.xyz;
//     r0.z = saturate(r0.z * cb3[5].y + -cb3[5].z);
//     r21.xyz = r18.yzx * r11.xyz;
//     r21.xyz = r11.zxy * r18.zxy + -r21.xyz;
//     r22.xyz = -r18.xyz + r12.xyz;
//     r18.xyz = r0.zzz * r22.xyz + r18.xyz;
//     r22.xyz = -r21.xyz + -r13.zxy;
//     r21.xyz = r0.zzz * r22.xyz + r21.xyz;
//     r9.yz = cmp(asint(cb2[0].ww) == int2(4,1));
//     r16.xyz = r2.zzz ? r16.xyz : r19.xyz;
//     r17.xyz = r2.zzz ? r17.xyz : r20.xyz;
//     r14.xyz = r9.zzz ? r14.xyz : r16.xyz;
//     r15.xyz = r9.zzz ? r15.xyz : r17.xyz;
//     r12.xyz = cb2[0].www ? r14.xyz : r12.xyz;
//     r13.xyz = cb2[0].www ? r15.xyz : -r13.zxy;
//     r12.xyz = r9.yyy ? r18.xyz : r12.xyz;
//     r13.xyz = r9.yyy ? r21.xyz : r13.xyz;
//   } else {
//     r14.xyz = r5.xyz * r3.yyy;
//     r14.xyz = r4.xyz * r3.xxx + r14.xyz;
//     r14.xyz = r6.xyz * r3.zzz + r14.xyz;
//     r3.xyz = cb3[0].xxx ? r14.xyz : r3.xyz;
//     r5.xyz = r8.yyy * r5.xyz;
//     r4.xyz = r4.xyz * r8.xxx + r5.xyz;
//     r4.xyz = r6.xyz * r8.zzz + r4.xyz;
//     r4.xyz = cb3[0].xxx ? r4.xyz : r8.xyz;
//     r0.z = dot(r4.xyz, r4.xyz);
//     r0.z = sqrt(r0.z);
//     r0.z = max(9.99999997e-07, r0.z);
//     r4.xyz = r4.xyz / r0.zzz;
//     r0.z = dot(r3.xyz, r3.xyz);
//     r0.z = sqrt(r0.z);
//     r2.w = cmp(9.99999997e-07 < r0.z);
//     r3.xyz = r3.xyz / r0.zzz;
//     r3.xyz = r2.www ? r3.xyz : float3(0,0,1);
//     r0.z = cmp(asint(cb2[0].z) == 2);
//     r0.z = r0.z ? 1.000000 : 0;
//     r4.xyz = r4.xyz + -r3.xyz;
//     r3.xyz = r0.zzz * r4.xyz + r3.xyz;
//     r4.xyz = r7.xyz * r3.yzx;
//     r4.xyz = r7.zxy * r3.zxy + -r4.xyz;
//     r0.z = dot(r4.xyz, r4.xyz);
//     r0.z = sqrt(r0.z);
//     r0.z = max(9.99999997e-07, r0.z);
//     r12.xyz = r4.xyz / r0.zzz;
//     r4.xyz = r12.yzx * r7.xyz;
//     r4.xyz = r7.zxy * r12.zxy + -r4.xyz;
//     r0.z = r2.z ? 1.000000 : 0;
//     r4.xyz = r4.xyz + r3.xyz;
//     r13.xyz = r0.zzz * r4.xyz + -r3.xyz;
//   }
//   r0.y = r0.y * 0.0174532942 + cb3[7].y;
//   sincos(r0.y, r3.x, r4.x);
//   r3.yzw = r12.xyz * r3.xxx;
//   r4.yzw = r12.xyz * r4.xxx;
//   r4.yzw = r13.xyz * r3.xxx + r4.yzw;
//   r3.xyz = r13.xyz * r4.xxx + -r3.yzw;
//   r0.yz = cmp(float2(0,0) < r2.xy);
//   r2.zw = cmp(r2.xy < float2(0,0));
//   r0.yz = (int2)-r0.yz + (int2)r2.zw;
//   r0.yz = (int2)r0.yz;
//   if (cb2[0].x != 0) {
//     r2.z = cmp(asint(cb2[0].x) == 8);
//     r2.z = r2.z ? 7 : 3;
//     r2.z = (int)r2.z & (int)v1.x;
//     r2.w = cb3[4].x * cb3[4].y;
//     r3.w = r0.w / r2.w;
//     r4.x = cmp(r3.w >= -r3.w);
//     r3.w = frac(abs(r3.w));
//     r3.w = r4.x ? r3.w : -r3.w;
//     r2.w = r3.w * r2.w;
//     r2.w = (uint)r2.w;
//     r3.w = r0.y * r0.z;
//     r3.w = cmp(r3.w < 0);
//     r4.x = asint(cb2[0].x) + -1;
//     r4.x = (int)-r2.z + (int)r4.x;
//     r2.z = r3.w ? r4.x : r2.z;
//     r2.z = mad((int)r2.w, asint(cb2[0].x), (int)r2.z);
//     r2.zw = t0.Load(r2.z).xy;
//     r5.xy = cmp(r0.yz < float2(0,0));
//     r5.zw = float2(1,1) + -r2.zw;
//     r5.xy = r5.xy ? r5.zw : r2.zw;
//   } else {
//     r0.yz = cmp(r0.yz < float2(0,0));
//     r5.zw = float2(1,1) + -v0.xy;
//     r2.zw = r0.yz ? r5.zw : v0.xy;
//     r5.xy = v0.xy;
//   }
//   r0.yz = float2(-0.5,-0.5) + r2.zw;
//   r0.yz = r0.yz * r9.xw + float2(0.5,0.5);
//   r2.zw = r5.xy + -r10.xy;
//   r2.xy = abs(r2.xy) * r2.zw;
//   r2.yzw = r2.yyy * r3.xyz;
//   r2.xyz = r2.xxx * r4.yzw + r2.yzw;
//   r2.xyz = r11.yzx * r1.www + r2.xyz;
//   r1.xyz = r2.xyz + r1.xyz;
//   r1.w = frac(r0.w);
//   r0.w = -r1.w + r0.w;
//   r1.w = 1 + r0.w;
//   r2.x = r0.w / cb3[4].x;
//   r2.y = cmp(r2.x >= -r2.x);
//   r2.x = frac(abs(r2.x));
//   r2.x = r2.y ? r2.x : -r2.x;
//   r2.z = r1.w / cb3[4].x;
//   r2.w = cmp(r2.z >= -r2.z);
//   r2.z = frac(abs(r2.z));
//   r2.z = r2.w ? r2.z : -r2.z;
//   r2.xz = cb3[4].xx * r2.xz;
//   r0.w = cb3[4].z * r0.w;
//   r2.y = floor(r0.w);
//   r0.w = cb3[4].z * r1.w;
//   r2.w = floor(r0.w);
//   r2.xy = r2.xy + r0.yz;
//   o2.xy = cb3[4].zw * r2.xy;
//   r0.yz = r2.zw + r0.yz;
//   o2.zw = cb3[4].zw * r0.yz;
//   r0.y = cmp(asint(cb3[15].z) == -1);
//   if (r0.y != 0) {
//     o3.x = cb3[24].x;
//   }
//   if (r0.y == 0) {
//     r0.yz = asint(cb3[15].zz) & int2(0x80000000,0x7fffffff);
//     if (r0.y != 0) {
//       r0.y = mad((int)r0.z, asint(cb2[0].y), (int)r0.x);
//       r0.y = t2.Load(r0.y).x;
//       o3.x = r0.y;
//     } else {
//       r0.x = mad((int)r0.z, asint(cb2[0].y), (int)r0.x);
//       r0.x = t1.Load(r0.x).x;
//       o3.x = r0.x;
//     }
//   }
//   r0.xyz = cb0[70].xyz + r1.xyz;
//   r1.xyzw = cb0[1].xyzw * r0.yyyy;
//   r1.xyzw = r0.xxxx * cb0[0].xyzw + r1.xyzw;
//   r0.xyzw = r0.zzzz * cb0[2].xyzw + r1.xyzw;
//   o0.xyzw = cb0[3].xyzw + r0.xyzw;
//   return;
// }
//////////////////////////////// HLSL Errors ////////////////////////////////
// A:\southofmidnight\midnight\binaries\win64\ShaderFixes\18595a74b249c687-vs_replace.txt(2,8-12): error X3000: syntax error: unexpected token 'sint4'
/////////////////////////////////////////////////////////////////////////////
