Ejemplo n.º 1
0
 public void method_0()
 {
     this.int_4  = (this.bool_1 ? 2 : 0);
     this.long_1 = 0L;
     this.long_0 = 0L;
     this.class187_0.method_7();
     this.class203_0.method_7();
     this.class198_0 = null;
     this.class197_0 = null;
     this.class197_1 = null;
     this.bool_0     = false;
     this.class200_0.vmethod_1();
 }
Ejemplo n.º 2
0
        private bool method_5()
        {
            switch (this.int_4)
            {
            case 0:
                return(this.method_1());

            case 1:
                return(this.method_2());

            case 2:
                if (this.bool_0)
                {
                    if (this.bool_1)
                    {
                        this.int_4 = 12;
                        return(false);
                    }
                    this.class187_0.method_4();
                    this.int_6 = 32;
                    this.int_4 = 11;
                    return(true);
                }
                else
                {
                    int num = this.class187_0.method_0(3);
                    if (num < 0)
                    {
                        return(false);
                    }
                    this.class187_0.method_1(3);
                    if ((num & 1) != 0)
                    {
                        this.bool_0 = true;
                    }
                    switch (num >> 1)
                    {
                    case 0:
                        this.class187_0.method_4();
                        this.int_4 = 3;
                        break;

                    case 1:
                        this.class197_0 = Class197.class197_0;
                        this.class197_1 = Class197.class197_1;
                        this.int_4      = 7;
                        break;

                    case 2:
                        this.class198_0 = new Class198();
                        this.int_4      = 6;
                        break;

                    default:
                        throw new SharpZipBaseException("Unknown block type " + num);
                    }
                    return(true);
                }
                break;

            case 3:
                if ((this.int_9 = this.class187_0.method_0(16)) < 0)
                {
                    return(false);
                }
                this.class187_0.method_1(16);
                this.int_4 = 4;
                break;

            case 4:
                break;

            case 5:
                goto IL_1A4;

            case 6:
                if (!this.class198_0.method_0(this.class187_0))
                {
                    return(false);
                }
                this.class197_0 = this.class198_0.method_1();
                this.class197_1 = this.class198_0.method_2();
                this.int_4      = 7;
                goto IL_228;

            case 7:
            case 8:
            case 9:
            case 10:
                goto IL_228;

            case 11:
                return(this.method_4());

            case 12:
                return(false);

            default:
                throw new SharpZipBaseException("Inflater.Decode unknown mode");
            }
            int num2 = this.class187_0.method_0(16);

            if (num2 < 0)
            {
                return(false);
            }
            this.class187_0.method_1(16);
            if (num2 != (this.int_9 ^ 65535))
            {
                throw new SharpZipBaseException("broken uncompressed block");
            }
            this.int_4 = 5;
IL_1A4:
            int num3 = this.class203_0.method_3(this.class187_0, this.int_9);

            this.int_9 -= num3;
            if (this.int_9 == 0)
            {
                this.int_4 = 2;
                return(true);
            }
            return(!this.class187_0.method_5());

IL_228:
            return(this.method_3());
        }
Ejemplo n.º 3
0
 private bool method_5()
 {
     switch (this.int_4)
     {
     case 0:
         return this.method_1();
     case 1:
         return this.method_2();
     case 2:
         if (this.bool_0)
         {
             if (this.bool_1)
             {
                 this.int_4 = 12;
                 return false;
             }
             this.class187_0.method_4();
             this.int_6 = 32;
             this.int_4 = 11;
             return true;
         }
         else
         {
             int num = this.class187_0.method_0(3);
             if (num < 0)
             {
                 return false;
             }
             this.class187_0.method_1(3);
             if ((num & 1) != 0)
             {
                 this.bool_0 = true;
             }
             switch (num >> 1)
             {
             case 0:
                 this.class187_0.method_4();
                 this.int_4 = 3;
                 break;
             case 1:
                 this.class197_0 = Class197.class197_0;
                 this.class197_1 = Class197.class197_1;
                 this.int_4 = 7;
                 break;
             case 2:
                 this.class198_0 = new Class198();
                 this.int_4 = 6;
                 break;
             default:
                 throw new SharpZipBaseException("Unknown block type " + num);
             }
             return true;
         }
         break;
     case 3:
         if ((this.int_9 = this.class187_0.method_0(16)) < 0)
         {
             return false;
         }
         this.class187_0.method_1(16);
         this.int_4 = 4;
         break;
     case 4:
         break;
     case 5:
         goto IL_1A4;
     case 6:
         if (!this.class198_0.method_0(this.class187_0))
         {
             return false;
         }
         this.class197_0 = this.class198_0.method_1();
         this.class197_1 = this.class198_0.method_2();
         this.int_4 = 7;
         goto IL_228;
     case 7:
     case 8:
     case 9:
     case 10:
         goto IL_228;
     case 11:
         return this.method_4();
     case 12:
         return false;
     default:
         throw new SharpZipBaseException("Inflater.Decode unknown mode");
     }
     int num2 = this.class187_0.method_0(16);
     if (num2 < 0)
     {
         return false;
     }
     this.class187_0.method_1(16);
     if (num2 != (this.int_9 ^ 65535))
     {
         throw new SharpZipBaseException("broken uncompressed block");
     }
     this.int_4 = 5;
     IL_1A4:
     int num3 = this.class203_0.method_3(this.class187_0, this.int_9);
     this.int_9 -= num3;
     if (this.int_9 == 0)
     {
         this.int_4 = 2;
         return true;
     }
     return !this.class187_0.method_5();
     IL_228:
     return this.method_3();
 }
Ejemplo n.º 4
0
 public void method_0()
 {
     this.int_4 = (this.bool_1 ? 2 : 0);
     this.long_1 = 0L;
     this.long_0 = 0L;
     this.class187_0.method_7();
     this.class203_0.method_7();
     this.class198_0 = null;
     this.class197_0 = null;
     this.class197_1 = null;
     this.bool_0 = false;
     this.class200_0.vmethod_1();
 }