
public class Class74_Sub1_Sub1 extends Class74_Sub1 {

   Class225_Sub36_Sub1 aClass225_Sub36_Sub1_10202;
   Class63 aClass63_10203;
   Class225_Sub36_Sub1 aClass225_Sub36_Sub1_10204;
   Class225_Sub36_Sub1 aClass225_Sub36_Sub1_10205;
   Class225_Sub36_Sub1 aClass225_Sub36_Sub1_10206;
   public Class317 aClass317_10207 = new Class317();
   Class225_Sub36_Sub1 aClass225_Sub36_Sub1_10208;
   public Class317 aClass317_10209 = new Class317();
   Class225_Sub36_Sub1 aClass225_Sub36_Sub1_10210;
   Class225_Sub36_Sub1 aClass225_Sub36_Sub1_10211;
   boolean aBool10212;
   Class225_Sub36_Sub1 aClass225_Sub36_Sub1_10213;
   Class318 aClass318_10214 = new Class318();
   public Class326 aClass326_10215 = new Class326();
   Class225_Sub36_Sub1 aClass225_Sub36_Sub1_10216;
   public int anInt10217;
   Class318 aClass318_10218 = new Class318();
   Class225_Sub36_Sub1 aClass225_Sub36_Sub1_10219;
   Class225_Sub36_Sub1 aClass225_Sub36_Sub1_10220;
   public int anInt10221;
   Class225_Sub36_Sub1 aClass225_Sub36_Sub1_10222;
   public Class318 aClass318_10223 = new Class318();
   public Class318 aClass318_10224 = new Class318();
   public int anInt10225;
   public Class326 aClass326_10226 = new Class326();
   Class318 aClass318_10227 = new Class318();
   public Class326 aClass326_10228 = new Class326();
   public int anInt10229;
   public int anInt10230;
   float aFloat10231 = 0.0F;
   boolean aBool10232;
   Class100 aClass100_10233;


   public void method15808(byte var1) {
      this.method15811((byte)95);
      this.aClass103_8163.method2007(this.aClass100_10233);
      this.aClass103_8163.method1997();
      this.aClass103_8163.method2021(this.aClass225_Sub36_Sub1_10204, 0, this.aClass63_10203.anInterface3_591, -1674776118);
      this.aClass103_8163.method2021(this.aClass225_Sub36_Sub1_10205, 1, this.aClass545_Sub2_695.method15028(), -2115720710);
      this.aClass103_8163.method2020(this.aClass225_Sub36_Sub1_10211, this.aClass317_10207, (short)6442);
      this.aClass103_8163.method2019(this.aClass225_Sub36_Sub1_10208, this.aClass317_10209, (byte)0);
      int var2 = 1 << (574143475 * this.anInt10221 & 3);
      this.aClass103_8163.method2055(this.aClass225_Sub36_Sub1_10220, this.aClass326_10228.aFloat4036, this.aClass326_10228.aFloat4037, this.aClass326_10228.aFloat4033, (float)(this.aClass545_Sub2_695.anInt9644 * var2 % '\u9c40') / 40000.0F, (byte)16);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10213, this.aClass318_10214, (short)-4452);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10202, this.aClass318_10227, (short)-21140);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10216, this.aClass318_10218, (short)-22716);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10219, this.aClass318_10223, (short)4915);
      this.aClass103_8163.method2082(this.aClass225_Sub36_Sub1_10210, this.aClass326_10215, (byte)0);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10206, this.aClass318_10224, (short)17144);
      this.aClass103_8163.method2082(this.aClass225_Sub36_Sub1_10222, this.aClass326_10226, (byte)0);
      this.aClass545_Sub2_695.method15086(Class374.aClass374_4670, this.anInt10217 * -1269157799, -1121857779 * this.anInt10225, 1548483227 * this.anInt10229, -610422731 * this.anInt10230);
   }

   void method13136(Class317 var1) {
      Class317 var2 = new Class317();
      var2.method5616(this.aFloat10231, this.aFloat10231, 1.0F, 1.0F);
      var2.method5611(var1, var2);
      super.method13141(var2);
   }

   public boolean method15809(int var1) {
      return this.aBool10212;
   }

   public void method15810() {
      this.method15811((byte)-10);
      this.aClass103_8163.method2007(this.aClass100_10233);
      this.aClass103_8163.method1997();
      this.aClass103_8163.method2021(this.aClass225_Sub36_Sub1_10204, 0, this.aClass63_10203.anInterface3_591, -55869967);
      this.aClass103_8163.method2021(this.aClass225_Sub36_Sub1_10205, 1, this.aClass545_Sub2_695.method15028(), -583204032);
      this.aClass103_8163.method2020(this.aClass225_Sub36_Sub1_10211, this.aClass317_10207, (short)10352);
      this.aClass103_8163.method2019(this.aClass225_Sub36_Sub1_10208, this.aClass317_10209, (byte)0);
      int var1 = 1 << (574143475 * this.anInt10221 & 3);
      this.aClass103_8163.method2055(this.aClass225_Sub36_Sub1_10220, this.aClass326_10228.aFloat4036, this.aClass326_10228.aFloat4037, this.aClass326_10228.aFloat4033, (float)(this.aClass545_Sub2_695.anInt9644 * var1 % '\u9c40') / 40000.0F, (byte)16);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10213, this.aClass318_10214, (short)12317);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10202, this.aClass318_10227, (short)2603);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10216, this.aClass318_10218, (short)3525);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10219, this.aClass318_10223, (short)-6945);
      this.aClass103_8163.method2082(this.aClass225_Sub36_Sub1_10210, this.aClass326_10215, (byte)0);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10206, this.aClass318_10224, (short)-12813);
      this.aClass103_8163.method2082(this.aClass225_Sub36_Sub1_10222, this.aClass326_10226, (byte)0);
      this.aClass545_Sub2_695.method15086(Class374.aClass374_4670, this.anInt10217 * -1269157799, -1121857779 * this.anInt10225, 1548483227 * this.anInt10229, -610422731 * this.anInt10230);
   }

   boolean method13131() throws Exception_Sub3 {
      if(!this.aClass63_10203.method1310()) {
         return false;
      } else {
         this.aClass225_Sub36_Sub1_10204 = this.aClass103_8163.method2030("NormalSampler", 393275377);
         this.aClass225_Sub36_Sub1_10205 = this.aClass103_8163.method2030("EnvMapSampler", 1908324221);
         this.aClass225_Sub36_Sub1_10211 = this.aClass103_8163.method2030("WVPMatrix", 1762350976);
         this.aClass225_Sub36_Sub1_10208 = this.aClass103_8163.method2030("TexCoordMatrix", -203136764);
         this.aClass225_Sub36_Sub1_10220 = this.aClass103_8163.method2030("EyePosAndTime", -842990206);
         this.aClass225_Sub36_Sub1_10213 = this.aClass103_8163.method2030("SunDirectionAndExponent", -1299354192);
         this.aClass225_Sub36_Sub1_10202 = this.aClass103_8163.method2030("SunColourAndWaveExponent", -1501550087);
         this.aClass225_Sub36_Sub1_10216 = this.aClass103_8163.method2030("WaveIntensityAndBreakWaterDepthAndOffset", 221351862);
         this.aClass225_Sub36_Sub1_10219 = this.aClass103_8163.method2030("HeightFogPlane", 1566058836);
         this.aClass225_Sub36_Sub1_10210 = this.aClass103_8163.method2030("HeightFogColour", -1333109374);
         this.aClass225_Sub36_Sub1_10206 = this.aClass103_8163.method2030("DistanceFogPlane", -777680875);
         this.aClass225_Sub36_Sub1_10222 = this.aClass103_8163.method2030("DistanceFogColour", -43517630);
         this.aClass100_10233 = this.aClass103_8163.method2000(this.aBool10232?"EnvMappedSea":"EnvMappedWater", 169964444);
         this.aClass103_8163.method2007(this.aClass100_10233);
         return true;
      }
   }

   void method15811(byte var1) {
      this.aFloat10231 = 2.4414062E-4F;
      short var2 = 256;
      float var3 = 0.3F;
      float var4 = 0.4F;
      float var5 = 0.1F;
      byte var6 = 5;
      this.aClass317_10209.method5616(this.aFloat10231, this.aFloat10231, this.aFloat10231, this.aFloat10231);
      this.aClass318_10214.method5758(-this.aClass545_Sub2_695.aFloatArray9712[0], -this.aClass545_Sub2_695.aFloatArray9712[1], -this.aClass545_Sub2_695.aFloatArray9712[2], 32.0F);
      this.aClass318_10227.method5758(this.aClass545_Sub2_695.aFloat9701, this.aClass545_Sub2_695.aFloat9702, this.aClass545_Sub2_695.aFloat9703, (float)var6);
      this.aClass318_10218.method5758(var5, var4, (float)var2, var3);
   }

   boolean method13118() throws Exception_Sub3 {
      if(!this.aClass63_10203.method1310()) {
         return false;
      } else {
         this.aClass225_Sub36_Sub1_10204 = this.aClass103_8163.method2030("NormalSampler", 582260533);
         this.aClass225_Sub36_Sub1_10205 = this.aClass103_8163.method2030("EnvMapSampler", 1768591848);
         this.aClass225_Sub36_Sub1_10211 = this.aClass103_8163.method2030("WVPMatrix", -1256403400);
         this.aClass225_Sub36_Sub1_10208 = this.aClass103_8163.method2030("TexCoordMatrix", -1315408752);
         this.aClass225_Sub36_Sub1_10220 = this.aClass103_8163.method2030("EyePosAndTime", -1466668657);
         this.aClass225_Sub36_Sub1_10213 = this.aClass103_8163.method2030("SunDirectionAndExponent", 311640149);
         this.aClass225_Sub36_Sub1_10202 = this.aClass103_8163.method2030("SunColourAndWaveExponent", -1282558469);
         this.aClass225_Sub36_Sub1_10216 = this.aClass103_8163.method2030("WaveIntensityAndBreakWaterDepthAndOffset", 1941635838);
         this.aClass225_Sub36_Sub1_10219 = this.aClass103_8163.method2030("HeightFogPlane", -933972566);
         this.aClass225_Sub36_Sub1_10210 = this.aClass103_8163.method2030("HeightFogColour", 834728017);
         this.aClass225_Sub36_Sub1_10206 = this.aClass103_8163.method2030("DistanceFogPlane", 1128714811);
         this.aClass225_Sub36_Sub1_10222 = this.aClass103_8163.method2030("DistanceFogColour", -1112295533);
         this.aClass100_10233 = this.aClass103_8163.method2000(this.aBool10232?"EnvMappedSea":"EnvMappedWater", 169964444);
         this.aClass103_8163.method2007(this.aClass100_10233);
         return true;
      }
   }

   boolean method13123() throws Exception_Sub3 {
      if(!this.aClass63_10203.method1310()) {
         return false;
      } else {
         this.aClass225_Sub36_Sub1_10204 = this.aClass103_8163.method2030("NormalSampler", 1489802655);
         this.aClass225_Sub36_Sub1_10205 = this.aClass103_8163.method2030("EnvMapSampler", 1257309220);
         this.aClass225_Sub36_Sub1_10211 = this.aClass103_8163.method2030("WVPMatrix", 593268999);
         this.aClass225_Sub36_Sub1_10208 = this.aClass103_8163.method2030("TexCoordMatrix", -1505219887);
         this.aClass225_Sub36_Sub1_10220 = this.aClass103_8163.method2030("EyePosAndTime", 867846511);
         this.aClass225_Sub36_Sub1_10213 = this.aClass103_8163.method2030("SunDirectionAndExponent", 806455385);
         this.aClass225_Sub36_Sub1_10202 = this.aClass103_8163.method2030("SunColourAndWaveExponent", 1673268517);
         this.aClass225_Sub36_Sub1_10216 = this.aClass103_8163.method2030("WaveIntensityAndBreakWaterDepthAndOffset", -819898773);
         this.aClass225_Sub36_Sub1_10219 = this.aClass103_8163.method2030("HeightFogPlane", -1430652604);
         this.aClass225_Sub36_Sub1_10210 = this.aClass103_8163.method2030("HeightFogColour", -1257675378);
         this.aClass225_Sub36_Sub1_10206 = this.aClass103_8163.method2030("DistanceFogPlane", 1231872165);
         this.aClass225_Sub36_Sub1_10222 = this.aClass103_8163.method2030("DistanceFogColour", -1151199052);
         this.aClass100_10233 = this.aClass103_8163.method2000(this.aBool10232?"EnvMappedSea":"EnvMappedWater", 169964444);
         this.aClass103_8163.method2007(this.aClass100_10233);
         return true;
      }
   }

   void method15812() {
      this.aFloat10231 = 2.4414062E-4F;
      short var1 = 256;
      float var2 = 0.3F;
      float var3 = 0.4F;
      float var4 = 0.1F;
      byte var5 = 5;
      this.aClass317_10209.method5616(this.aFloat10231, this.aFloat10231, this.aFloat10231, this.aFloat10231);
      this.aClass318_10214.method5758(-this.aClass545_Sub2_695.aFloatArray9712[0], -this.aClass545_Sub2_695.aFloatArray9712[1], -this.aClass545_Sub2_695.aFloatArray9712[2], 32.0F);
      this.aClass318_10227.method5758(this.aClass545_Sub2_695.aFloat9701, this.aClass545_Sub2_695.aFloat9702, this.aClass545_Sub2_695.aFloat9703, (float)var5);
      this.aClass318_10218.method5758(var4, var3, (float)var1, var2);
   }

   void method13134(Class317 var1) {
      Class317 var2 = new Class317();
      var2.method5616(this.aFloat10231, this.aFloat10231, 1.0F, 1.0F);
      var2.method5611(var1, var2);
      super.method13141(var2);
   }

   void method13135(Class317 var1) {
      Class317 var2 = new Class317();
      var2.method5616(this.aFloat10231, this.aFloat10231, 1.0F, 1.0F);
      var2.method5611(var1, var2);
      super.method13141(var2);
   }

   public boolean method15813() {
      return this.aBool10212;
   }

   void method13125(boolean var1) {
      float var2 = 1.0F + (1.0F - Math.abs(this.aClass545_Sub2_695.aFloatArray9712[1])) * 2.0F;
      float var3 = this.aClass545_Sub2_695.aFloat9705;
      this.aClass545_Sub2_695.aFloat9705 *= var2;
      super.method13124(var1);
      this.aClass545_Sub2_695.aFloat9705 = var3;
   }

   void method13146(boolean var1) {
      float var2 = 1.0F + (1.0F - Math.abs(this.aClass545_Sub2_695.aFloatArray9712[1])) * 2.0F;
      float var3 = this.aClass545_Sub2_695.aFloat9705;
      this.aClass545_Sub2_695.aFloat9705 *= var2;
      super.method13124(var1);
      this.aClass545_Sub2_695.aFloat9705 = var3;
   }

   public boolean method15814() {
      return this.aBool10212;
   }

   void method13124(boolean var1) {
      float var2 = 1.0F + (1.0F - Math.abs(this.aClass545_Sub2_695.aFloatArray9712[1])) * 2.0F;
      float var3 = this.aClass545_Sub2_695.aFloat9705;
      this.aClass545_Sub2_695.aFloat9705 *= var2;
      super.method13124(var1);
      this.aClass545_Sub2_695.aFloat9705 = var3;
   }

   public boolean method15815() {
      return this.aBool10212;
   }

   public void method15816() {
      this.method15811((byte)-4);
      this.aClass103_8163.method2007(this.aClass100_10233);
      this.aClass103_8163.method1997();
      this.aClass103_8163.method2021(this.aClass225_Sub36_Sub1_10204, 0, this.aClass63_10203.anInterface3_591, 96780698);
      this.aClass103_8163.method2021(this.aClass225_Sub36_Sub1_10205, 1, this.aClass545_Sub2_695.method15028(), -1758572303);
      this.aClass103_8163.method2020(this.aClass225_Sub36_Sub1_10211, this.aClass317_10207, (short)2454);
      this.aClass103_8163.method2019(this.aClass225_Sub36_Sub1_10208, this.aClass317_10209, (byte)0);
      int var1 = 1 << (574143475 * this.anInt10221 & 3);
      this.aClass103_8163.method2055(this.aClass225_Sub36_Sub1_10220, this.aClass326_10228.aFloat4036, this.aClass326_10228.aFloat4037, this.aClass326_10228.aFloat4033, (float)(this.aClass545_Sub2_695.anInt9644 * var1 % '\u9c40') / 40000.0F, (byte)16);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10213, this.aClass318_10214, (short)-440);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10202, this.aClass318_10227, (short)-22022);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10216, this.aClass318_10218, (short)-7086);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10219, this.aClass318_10223, (short)-12400);
      this.aClass103_8163.method2082(this.aClass225_Sub36_Sub1_10210, this.aClass326_10215, (byte)0);
      this.aClass103_8163.method2028(this.aClass225_Sub36_Sub1_10206, this.aClass318_10224, (short)21608);
      this.aClass103_8163.method2082(this.aClass225_Sub36_Sub1_10222, this.aClass326_10226, (byte)0);
      this.aClass545_Sub2_695.method15086(Class374.aClass374_4670, this.anInt10217 * -1269157799, -1121857779 * this.anInt10225, 1548483227 * this.anInt10229, -610422731 * this.anInt10230);
   }

   public Class74_Sub1_Sub1(Class545_Sub2 var1, Class63 var2, boolean var3) throws Exception_Sub3 {
      super(var1);
      new Class317();
      this.aClass63_10203 = var2;
      this.aBool10232 = var3;
      if(var1.method14967() && var1.method14968()) {
         this.aBool10212 = this.method13117("EnvMappedWater");
      } else {
         this.aBool10212 = false;
      }

   }

   void method13141(Class317 var1) {
      Class317 var2 = new Class317();
      var2.method5616(this.aFloat10231, this.aFloat10231, 1.0F, 1.0F);
      var2.method5611(var1, var2);
      super.method13141(var2);
   }

   void method15817() {
      this.aFloat10231 = 2.4414062E-4F;
      short var1 = 256;
      float var2 = 0.3F;
      float var3 = 0.4F;
      float var4 = 0.1F;
      byte var5 = 5;
      this.aClass317_10209.method5616(this.aFloat10231, this.aFloat10231, this.aFloat10231, this.aFloat10231);
      this.aClass318_10214.method5758(-this.aClass545_Sub2_695.aFloatArray9712[0], -this.aClass545_Sub2_695.aFloatArray9712[1], -this.aClass545_Sub2_695.aFloatArray9712[2], 32.0F);
      this.aClass318_10227.method5758(this.aClass545_Sub2_695.aFloat9701, this.aClass545_Sub2_695.aFloat9702, this.aClass545_Sub2_695.aFloat9703, (float)var5);
      this.aClass318_10218.method5758(var4, var3, (float)var1, var2);
   }

   void method15818() {
      this.aFloat10231 = 2.4414062E-4F;
      short var1 = 256;
      float var2 = 0.3F;
      float var3 = 0.4F;
      float var4 = 0.1F;
      byte var5 = 5;
      this.aClass317_10209.method5616(this.aFloat10231, this.aFloat10231, this.aFloat10231, this.aFloat10231);
      this.aClass318_10214.method5758(-this.aClass545_Sub2_695.aFloatArray9712[0], -this.aClass545_Sub2_695.aFloatArray9712[1], -this.aClass545_Sub2_695.aFloatArray9712[2], 32.0F);
      this.aClass318_10227.method5758(this.aClass545_Sub2_695.aFloat9701, this.aClass545_Sub2_695.aFloat9702, this.aClass545_Sub2_695.aFloat9703, (float)var5);
      this.aClass318_10218.method5758(var4, var3, (float)var1, var2);
   }

   static final void method15819(Class508 var0, int var1) {
      var0.anInt6003 -= 98312473;
   }
}
