Exemplo n.º 1
0
 public int method_1(OGGClass3 class38_0)
 {
     int num = class38_0.method_6(32);
     if (num < 0)
     {
         this.method_2();
         return -1;
     }
     this.byte_1 = new byte[num + 1];
     class38_0.method_5(this.byte_1, num);
     this.int_2 = class38_0.method_6(32);
     if (this.int_2 < 0)
     {
         this.method_2();
         return -1;
     }
     this.byte_0 = new byte[this.int_2 + 1][];
     this.int_1 = new int[this.int_2 + 1];
     for (int i = 0; i < this.int_2; i++)
     {
         int num2 = class38_0.method_6(32);
         if (num2 < 0)
         {
             this.method_2();
             return -1;
         }
         this.int_1[i] = num2;
         this.byte_0[i] = new byte[num2 + 1];
         class38_0.method_5(this.byte_0[i], num2);
     }
     if (class38_0.method_6(1) != 1)
     {
         this.method_2();
         return -1;
     }
     return 0;
 }
Exemplo n.º 2
0
 public int method_4(Class47 class47_0, Class67 class67_0)
 {
     OGGClass3 @class = new OGGClass3();
     if (class67_0 != null)
     {
         @class.method_4(class67_0.byte_0, class67_0.int_0, class67_0.int_1);
         byte[] array = new byte[6];
         int num = @class.method_6(8);
         @class.method_5(array, 6);
         if (array[0] == 118 && array[1] == 111 && array[2] == 114 && array[3] == 98 && array[4] == 105)
         {
             if (array[5] == 115)
             {
                 switch (num)
                 {
                 case 1:
                     if (class67_0.int_2 == 0)
                     {
                         return -1;
                     }
                     if (this.int_9 != 0)
                     {
                         return -1;
                     }
                     return this.method_2(@class);
                 case 2:
                 case 4:
                     return -1;
                 case 3:
                     if (this.int_9 == 0)
                     {
                         return -1;
                     }
                     return class47_0.method_1(@class);
                 case 5:
                     if (this.int_9 != 0 && class47_0.byte_1 != null)
                     {
                         return this.method_3(@class);
                     }
                     return -1;
                 default:
                     return -1;
                 }
             }
         }
         return -1;
     }
     return -1;
 }