import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;

public abstract class Class66 {

   Class35 aClass35_629;


   public abstract void method1403(RS2Buffer var1);

   public abstract Class225_Sub29 method1404();

   public abstract boolean method1405(byte var1);

   public abstract Class326 method1406(int var1);

   public abstract Class225_Sub29 method1407(byte var1);

   public abstract void method1408(Class31 var1, int var2, int var3, int var4);

   public abstract void method1409(RS2Buffer var1, byte var2);

   public abstract void method1410(float var1, Class272 var2, int[][][] var3);

   public abstract void method1411(float var1, Class272 var2, int[][][] var3);

   public abstract void method1412(float var1, Class272 var2, int[][][] var3);

   public abstract void method1413(float var1, Class272 var2, int[][][] var3);

   public abstract boolean method1414();

   public abstract void method1415(float var1, Class272 var2, int[][][] var3, int var4);

   Class66(Class35 var1) {
      this.aClass35_629 = var1;
   }

   public abstract Class225_Sub29 method1416();

   public abstract Class225_Sub29 method1417();

   public abstract void method1418(Class31 var1, int var2, int var3);

   public abstract void method1419(Class31 var1, int var2, int var3);

   public abstract boolean method1420();

   public abstract void method1421(RS2Buffer var1);

   public abstract Class326 method1422();

   public abstract Class326 method1423();

   public abstract Class326 method1424();

   public abstract Class326 method1425();

   public static Map method1426(Class182_Sub1[] var0, int var1) {
      if(var0 != null && 0 != var0.length) {
         HashMap var2 = new HashMap();
         Class182_Sub1[] var3 = var0;

         for(int var4 = 0; var4 < var3.length; ++var4) {
            Class182_Sub1 var5 = var3[var4];
            var2.put(var5.aClass251_8995, var5);
         }

         return var2;
      } else {
         return null;
      }
   }

   public static byte[] method1427(Object var0, int var1, int var2, int var3) {
      if(var0 == null) {
         return null;
      } else if(var0 instanceof byte[]) {
         byte[] var6 = (byte[])((byte[])var0);
         return Arrays.copyOfRange(var6, var1, var2 + var1);
      } else if(var0 instanceof ByteBuffer) {
         ByteBuffer var4 = (ByteBuffer)var0;
         byte[] var5 = new byte[var2];
         var4.position(var1);
         var4.get(var5, 0, var2);
         return var5;
      } else {
         throw new IllegalArgumentException();
      }
   }
}
