
public class Class225_Sub14_Sub12 extends Class225_Sub14 {

   Class423 aClass423_10548;

   void method16216(RS2Buffer var1, int var2, int id) {
      while(true) {
         int var3 = var1.readUnsignedByte(-700559597);
         if(var3 == 0) {
            return;
         }

         this.parseVariable(var1, var3, -1628398721, id);
      }
   }

   void parseVariable(RS2Buffer var1, int var2, int var3, int id) {
      if(249 == var2) {
         int var4 = var1.readUnsignedByte(-700559597);
         int var5;
         if(null == this.aClass423_10548) {
            var5 = Class468.method7880(var4, (byte)-85);
            this.aClass423_10548 = new Class423(var5);
         }

         for(var5 = 0; var5 < var4; ++var5) {
            boolean var6 = var1.readUnsignedByte(-700559597) == 1;
            int var7 = var1.readTriByte(1257686099);
            Object var8;
            String s = null;
            int i = 0;
            if(var6) {
            	s = var1.readString((byte)-92);
               var8 = new ObjectVar(s);
            } else {
            	i = var1.readInt_(-191478573);
               var8 = new IntVar(i);
            }
            
           // if(id >= 14663)
            	//System.out.println("id: " + var7 + ", val: " + (var6 ? s : i));

            this.aClass423_10548.method7206((Class225)var8, (long)var7);
         }
      }

   }

   public int method16218(int var1, int var2, int var3) {
      if(null == this.aClass423_10548) {
         return var2;
      } else {
         IntVar var4 = (IntVar)this.aClass423_10548.method7211((long)var1);
         return null == var4?var2:var4.integer * 442885445;
      }
   }

   public String method16219(int var1, String var2, byte var3) {
      if(this.aClass423_10548 == null) {
         return var2;
      } else {
         ObjectVar var4 = (ObjectVar)this.aClass423_10548.method7211((long)var1);
         return var4 == null?var2:(String)var4.object;
      }
   }

   public String method16220(int var1, String var2) {
      if(this.aClass423_10548 == null) {
         return var2;
      } else {
         ObjectVar var3 = (ObjectVar)this.aClass423_10548.method7211((long)var1);
         return var3 == null?var2:(String)var3.object;
      }
   }

   public int method16221(int var1, int var2) {
      if(null == this.aClass423_10548) {
         return var2;
      } else {
         IntVar var3 = (IntVar)this.aClass423_10548.method7211((long)var1);
         return null == var3?var2:var3.integer * 442885445;
      }
   }

   void method16222(RS2Buffer var1, int var2) {
      if(249 == var2) {
         int var3 = var1.readUnsignedByte(-700559597);
         int var4;
         if(null == this.aClass423_10548) {
            var4 = Class468.method7880(var3, (byte)-46);
            this.aClass423_10548 = new Class423(var4);
         }

         for(var4 = 0; var4 < var3; ++var4) {
            boolean var5 = var1.readUnsignedByte(-700559597) == 1;
            int var6 = var1.readTriByte(2017645302);
            Object var7;
            if(var5) {
               var7 = new ObjectVar(var1.readString((byte)-12));
            } else {
               var7 = new IntVar(var1.readInt_(1553537575));
            }

            this.aClass423_10548.method7206((Class225)var7, (long)var6);
         }
      }

   }

   public String method16223(int var1, String var2) {
      if(this.aClass423_10548 == null) {
         return var2;
      } else {
         ObjectVar var3 = (ObjectVar)this.aClass423_10548.method7211((long)var1);
         return var3 == null?var2:(String)var3.object;
      }
   }

   public String method16224(int var1, String var2) {
      if(this.aClass423_10548 == null) {
         return var2;
      } else {
         ObjectVar var3 = (ObjectVar)this.aClass423_10548.method7211((long)var1);
         return var3 == null?var2:(String)var3.object;
      }
   }

   void method16225(RS2Buffer var1, int var2) {
      if(249 == var2) {
         int var3 = var1.readUnsignedByte(-700559597);
         int var4;
         if(null == this.aClass423_10548) {
            var4 = Class468.method7880(var3, (byte)-53);
            this.aClass423_10548 = new Class423(var4);
         }

         for(var4 = 0; var4 < var3; ++var4) {
            boolean var5 = var1.readUnsignedByte(-700559597) == 1;
            int var6 = var1.readTriByte(-461259259);
            Object var7;
            if(var5) {
               var7 = new ObjectVar(var1.readString((byte)-55));
            } else {
               var7 = new IntVar(var1.readInt_(87299278));
            }

            this.aClass423_10548.method7206((Class225)var7, (long)var6);
         }
      }

   }

   public String method16226(int var1, String var2) {
      if(this.aClass423_10548 == null) {
         return var2;
      } else {
         ObjectVar var3 = (ObjectVar)this.aClass423_10548.method7211((long)var1);
         return var3 == null?var2:(String)var3.object;
      }
   }
}
