Example #1
0
 // Token: 0x060014CD RID: 5325
 // RVA: 0x0006BD54 File Offset: 0x00069F54
 public int method_1(Class201 class201_0)
 {
     int num;
     if ((num = class201_0.method_0(9)) >= 0)
     {
         int num2;
         if ((num2 = (int)this.short_0[num]) >= 0)
         {
             class201_0.method_1(num2 & 15);
             return num2 >> 4;
         }
         int num3 = -(num2 >> 4);
         int int_ = num2 & 15;
         if ((num = class201_0.method_0(int_)) >= 0)
         {
             num2 = (int)this.short_0[num3 | num >> 9];
             class201_0.method_1(num2 & 15);
             return num2 >> 4;
         }
         int num4 = class201_0.method_2();
         num = class201_0.method_0(num4);
         num2 = (int)this.short_0[num3 | num >> 9];
         if ((num2 & 15) <= num4)
         {
             class201_0.method_1(num2 & 15);
             return num2 >> 4;
         }
         return -1;
     }
     else
     {
         int num5 = class201_0.method_2();
         num = class201_0.method_0(num5);
         int num2 = (int)this.short_0[num];
         if (num2 >= 0 && (num2 & 15) <= num5)
         {
             class201_0.method_1(num2 & 15);
             return num2 >> 4;
         }
         return -1;
     }
 }
Example #2
0
 // Token: 0x060014FF RID: 5375
 // RVA: 0x0006C354 File Offset: 0x0006A554
 public int method_1(Class201 class201_0, int int_2)
 {
     int_2 = Math.Min(Math.Min(int_2, 32768 - this.int_1), class201_0.method_3());
     int num = 32768 - this.int_0;
     int num2;
     if (int_2 > num)
     {
         num2 = class201_0.method_6(this.byte_0, this.int_0, num);
         if (num2 == num)
         {
             num2 += class201_0.method_6(this.byte_0, 0, int_2 - num);
         }
     }
     else
     {
         num2 = class201_0.method_6(this.byte_0, this.int_0, int_2);
     }
     this.int_0 = (this.int_0 + num2 & 32767);
     this.int_1 += num2;
     return num2;
 }
Example #3
0
 // Token: 0x060014C6 RID: 5318
 // RVA: 0x0006B730 File Offset: 0x00069930
 public bool method_0(Class201 class201_0)
 {
     while (true)
     {
         switch (this.int_3)
         {
         case 0:
             this.int_4 = class201_0.method_0(5);
             if (this.int_4 >= 0)
             {
                 this.int_4 += 257;
                 class201_0.method_1(5);
                 this.int_3 = 1;
                 goto IL_1FD;
             }
             return false;
         case 1:
             goto IL_1FD;
         case 2:
             goto IL_1AF;
         case 3:
             goto IL_176;
         case 4:
             break;
         case 5:
             goto IL_2C;
         default:
             continue;
         }
         IL_F4:
         int num;
         while (((num = this.class198_0.method_1(class201_0)) & -16) == 0)
         {
             this.byte_1[this.int_9++] = (this.byte_2 = (byte)num);
             if (this.int_9 == this.int_7)
             {
                 return true;
             }
         }
         if (num >= 0)
         {
             if (num >= 17)
             {
                 this.byte_2 = 0;
             }
             else if (this.int_9 == 0)
             {
                 goto IL_2A6;
             }
             this.int_8 = num - 16;
             this.int_3 = 5;
             goto IL_2C;
         }
         return false;
         IL_176:
         while (this.int_9 < this.int_6)
         {
             int num2 = class201_0.method_0(3);
             if (num2 < 0)
             {
                 return false;
             }
             class201_0.method_1(3);
             this.byte_0[Class197.int_2[this.int_9]] = (byte)num2;
             this.int_9++;
         }
         this.class198_0 = new Class198(this.byte_0);
         this.byte_0 = null;
         this.int_9 = 0;
         this.int_3 = 4;
         goto IL_F4;
         IL_2C:
         int num3 = Class197.int_1[this.int_8];
         int num4 = class201_0.method_0(num3);
         if (num4 < 0)
         {
             return false;
         }
         class201_0.method_1(num3);
         num4 += Class197.int_0[this.int_8];
         if (this.int_9 + num4 > this.int_7)
         {
             break;
         }
         while (num4-- > 0)
         {
             this.byte_1[this.int_9++] = this.byte_2;
         }
         if (this.int_9 == this.int_7)
         {
             return true;
         }
         this.int_3 = 4;
         continue;
         IL_1AF:
         this.int_6 = class201_0.method_0(4);
         if (this.int_6 >= 0)
         {
             this.int_6 += 4;
             class201_0.method_1(4);
             this.byte_0 = new byte[19];
             this.int_9 = 0;
             this.int_3 = 3;
             goto IL_176;
         }
         return false;
         IL_1FD:
         this.int_5 = class201_0.method_0(5);
         if (this.int_5 >= 0)
         {
             this.int_5++;
             class201_0.method_1(5);
             this.int_7 = this.int_4 + this.int_5;
             this.byte_1 = new byte[this.int_7];
             this.int_3 = 2;
             goto IL_1AF;
         }
         return false;
     }
     throw new Exception6();
     IL_2A6:
     throw new Exception6();
 }
Example #4
0
 // Token: 0x060014B9 RID: 5305
 // RVA: 0x00012978 File Offset: 0x00010B78
 public Class196(bool bool_2)
 {
     this.bool_1 = bool_2;
     this.class181_0 = new Class181();
     this.class201_0 = new Class201();
     this.class200_0 = new Class200();
     this.int_4 = (bool_2 ? 2 : 0);
 }