
public class Class510_Sub2 extends Class510 {

   void method10828(RS2Buffer var1, Class225_Sub8 var2) {}

   boolean method10818(int var1) {
      return this.method13524(1058834309) != null || this.aLong6037 * 7516942996440248755L < Class339.method6240(1906112726) - 2000L;
   }

   void method10820() {
      Class225_Sub8 var1 = this.method13524(-31543736);
      if(var1 != null) {
         int var2 = this.method10814(var1, 32767, 2076352005);
         int var3 = var1.method13541((byte)0);
         if(var3 < 0) {
            var3 = 0;
         } else if(var3 > '\uffff') {
            var3 = '\uffff';
         }

         int var4 = var1.method13534(-937710807);
         if(var4 < 0) {
            var4 = 0;
         } else if(var4 > '\uffff') {
            var4 = '\uffff';
         }

         byte var5 = 0;
         if(var1.method13533(2981237) == 2) {
            var5 = 1;
         }

         Class225_Sub15 var6 = Class543.method11415(OutgoingOpcode.aClass302_3808, client.aClass180_7704.aClass433_2184, (byte)1);
         var6.buffer.writeInt1(var4 | var3 << 16, -701445004);
         var6.buffer.writeLEShortA(var2 | var5 << 15, (byte)1);
         client.aClass180_7704.method3191(var6, (byte)22);
      }

   }

   int method10812() {
      return 0;
   }

   void method10826(RS2Buffer var1, Class225_Sub8 var2, int var3) {}

   void method10821() {
      Class225_Sub8 var1 = this.method13524(1796987795);
      if(var1 != null) {
         int var2 = this.method10814(var1, 32767, 323991164);
         int var3 = var1.method13541((byte)0);
         if(var3 < 0) {
            var3 = 0;
         } else if(var3 > '\uffff') {
            var3 = '\uffff';
         }

         int var4 = var1.method13534(-937710807);
         if(var4 < 0) {
            var4 = 0;
         } else if(var4 > '\uffff') {
            var4 = '\uffff';
         }

         byte var5 = 0;
         if(var1.method13533(-1666772393) == 2) {
            var5 = 1;
         }

         Class225_Sub15 var6 = Class543.method11415(OutgoingOpcode.aClass302_3808, client.aClass180_7704.aClass433_2184, (byte)1);
         var6.buffer.writeInt1(var4 | var3 << 16, 2071401690);
         var6.buffer.writeLEShortA(var2 | var5 << 15, (byte)1);
         client.aClass180_7704.method3191(var6, (byte)-73);
      }

   }

   Class225_Sub8 method13523() {
      return (Class225_Sub8)client.aClass456_7861.method7682((byte)42);
   }

   Class225_Sub15 method10819(int var1) {
      return Class543.method11415(OutgoingOpcode.aClass302_3842, client.aClass180_7704.aClass433_2184, (byte)1);
   }

   boolean method10831() {
      return this.method13524(1690642039) != null || this.aLong6037 * 7516942996440248755L < Class339.method6240(-1409831180) - 2000L;
   }

   boolean method10823() {
      return this.method13524(-1088066872) != null || this.aLong6037 * 7516942996440248755L < Class339.method6240(-1307382557) - 2000L;
   }

   Class225_Sub15 method10824() {
      return Class543.method11415(OutgoingOpcode.aClass302_3842, client.aClass180_7704.aClass433_2184, (byte)1);
   }

   int method10825() {
      return 0;
   }

   int method10815(int var1) {
      return 0;
   }

   int method10816() {
      return 0;
   }

   void method10827(RS2Buffer var1, Class225_Sub8 var2) {}

   Class225_Sub8 method13524(int var1) {
      return (Class225_Sub8)client.aClass456_7861.method7682((byte)17);
   }

   void method10829(RS2Buffer var1, Class225_Sub8 var2) {}

   Class225_Sub8 method13525() {
      return (Class225_Sub8)client.aClass456_7861.method7682((byte)91);
   }

   void method10832(int var1) {
      Class225_Sub8 var2 = this.method13524(-1683646474);
      if(var2 != null) {
         int var3 = this.method10814(var2, 32767, -200671460);
         int var4 = var2.method13541((byte)0);
         if(var4 < 0) {
            var4 = 0;
         } else if(var4 > '\uffff') {
            var4 = '\uffff';
         }

         int var5 = var2.method13534(-937710807);
         if(var5 < 0) {
            var5 = 0;
         } else if(var5 > '\uffff') {
            var5 = '\uffff';
         }

         byte var6 = 0;
         if(var2.method13533(1444751067) == 2) {
            var6 = 1;
         }

         Class225_Sub15 var7 = Class543.method11415(OutgoingOpcode.aClass302_3808, client.aClass180_7704.aClass433_2184, (byte)1);
         var7.buffer.writeInt1(var5 | var4 << 16, 1962599178);
         var7.buffer.writeLEShortA(var3 | var6 << 15, (byte)1);
         client.aClass180_7704.method3191(var7, (byte)126);
      }

   }
}
