Exemple #1
0
 public void method_0()
 {
     _int4  = (_bool1 ? 2 : 0);
     _long1 = 0L;
     _long0 = 0L;
     _class1870.method_7();
     _class2030.method_7();
     _class1980 = null;
     _class1970 = null;
     _class1971 = null;
     _bool0     = false;
     _class2000.vmethod_1();
 }
Exemple #2
0
        private bool method_5()
        {
            switch (_int4)
            {
            case 0:
                return(method_1());

            case 1:
                return(method_2());

            case 2:
                if (_bool0)
                {
                    if (_bool1)
                    {
                        _int4 = 12;
                        return(false);
                    }
                    _class1870.method_4();
                    _int6 = 32;
                    _int4 = 11;
                    return(true);
                }
                else
                {
                    var num = _class1870.method_0(3);
                    if (num < 0)
                    {
                        return(false);
                    }
                    _class1870.method_1(3);
                    if ((num & 1) != 0)
                    {
                        _bool0 = true;
                    }
                    switch (num >> 1)
                    {
                    case 0:
                        _class1870.method_4();
                        _int4 = 3;
                        break;

                    case 1:
                        _class1970 = Class197.Class1970;
                        _class1971 = Class197.Class1971;
                        _int4      = 7;
                        break;

                    case 2:
                        _class1980 = new Class198();
                        _int4      = 6;
                        break;

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

            case 3:
                if ((_int9 = _class1870.method_0(16)) < 0)
                {
                    return(false);
                }
                _class1870.method_1(16);
                _int4 = 4;
                break;

            case 4:
                break;

            case 5:
                goto IL_1A4;

            case 6:
                if (!_class1980.method_0(_class1870))
                {
                    return(false);
                }
                _class1970 = _class1980.method_1();
                _class1971 = _class1980.method_2();
                _int4      = 7;
                goto IL_228;

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

            case 11:
                return(method_4());

            case 12:
                return(false);

            default:
                throw new SharpZipBaseException("Inflater.Decode unknown mode");
            }
            var num2 = _class1870.method_0(16);

            if (num2 < 0)
            {
                return(false);
            }
            _class1870.method_1(16);
            if (num2 != (_int9 ^ 65535))
            {
                throw new SharpZipBaseException("broken uncompressed block");
            }
            _int4 = 5;
IL_1A4:
            var num3 = _class2030.method_3(_class1870, _int9);

            _int9 -= num3;
            if (_int9 == 0)
            {
                _int4 = 2;
                return(true);
            }
            return(!_class1870.method_5());

IL_228:
            return(method_3());
        }