Example #1
0
            private bool method_1()
            {
                switch (this.int_4)
                {
                case 2:
                {
                    if (this.bool_0)
                    {
                        this.int_4 = 12;
                        return(false);
                    }
                    int num = this.class4_0.method_0(3);
                    if (num < 0)
                    {
                        return(false);
                    }
                    this.class4_0.method_1(3);
                    if ((num & 1) != 0)
                    {
                        this.bool_0 = true;
                    }
                    switch (num >> 1)
                    {
                    case 0:
                        this.class4_0.method_4();
                        this.int_4 = 3;
                        break;

                    case 1:
                        this.class6_0 = Class2.Class6.class6_0;
                        this.class6_1 = Class2.Class6.class6_1;
                        this.int_4    = 7;
                        break;

                    case 2:
                        this.class7_0 = new Class2.Class7();
                        this.int_4    = 6;
                        break;
                    }
                    return(true);
                }

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

                case 4:
                    break;

                case 5:
                    goto IL_137;

                case 6:
                    if (!this.class7_0.method_0(this.class4_0))
                    {
                        return(false);
                    }
                    this.class6_0 = this.class7_0.method_1();
                    this.class6_1 = this.class7_0.method_2();
                    this.int_4    = 7;
                    goto IL_1BB;

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

                case 11:
                    return(false);

                case 12:
                    return(false);

                default:
                    return(false);
                }
                int num2 = this.class4_0.method_0(16);

                if (num2 < 0)
                {
                    return(false);
                }
                this.class4_0.method_1(16);
                this.int_4 = 5;
IL_137:
                int num3 = this.class5_0.method_3(this.class4_0, this.int_8);

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

IL_1BB:
                return(this.method_0());
            }
Example #2
0
 private bool method_1()
 {
     switch (this.int_4)
     {
     case 2:
     {
         if (this.bool_0)
         {
             this.int_4 = 12;
             return false;
         }
         int num = this.class4_0.method_0(3);
         if (num < 0)
         {
             return false;
         }
         this.class4_0.method_1(3);
         if ((num & 1) != 0)
         {
             this.bool_0 = true;
         }
         switch (num >> 1)
         {
         case 0:
             this.class4_0.method_4();
             this.int_4 = 3;
             break;
         case 1:
             this.class6_0 = Class2.Class6.class6_0;
             this.class6_1 = Class2.Class6.class6_1;
             this.int_4 = 7;
             break;
         case 2:
             this.class7_0 = new Class2.Class7();
             this.int_4 = 6;
             break;
         }
         return true;
     }
     case 3:
         if ((this.int_8 = this.class4_0.method_0(16)) < 0)
         {
             return false;
         }
         this.class4_0.method_1(16);
         this.int_4 = 4;
         break;
     case 4:
         break;
     case 5:
         goto IL_137;
     case 6:
         if (!this.class7_0.method_0(this.class4_0))
         {
             return false;
         }
         this.class6_0 = this.class7_0.method_1();
         this.class6_1 = this.class7_0.method_2();
         this.int_4 = 7;
         goto IL_1BB;
     case 7:
     case 8:
     case 9:
     case 10:
         goto IL_1BB;
     case 11:
         return false;
     case 12:
         return false;
     default:
         return false;
     }
     int num2 = this.class4_0.method_0(16);
     if (num2 < 0)
     {
         return false;
     }
     this.class4_0.method_1(16);
     this.int_4 = 5;
     IL_137:
     int num3 = this.class5_0.method_3(this.class4_0, this.int_8);
     this.int_8 -= num3;
     if (this.int_8 == 0)
     {
         this.int_4 = 2;
         return true;
     }
     return !this.class4_0.method_5();
     IL_1BB:
     return this.method_0();
 }