示例#1
0
 private static int smethod_0(ArrayList A_0, int A_1)
 {
     for (int i = 0; i < A_0.Count; i++)
     {
         Class739 class2 = (Class739)A_0[i];
         if (class2.int_0 == A_1)
         {
             return(class2.int_1);
         }
     }
     return(-1);
 }
示例#2
0
 public Class520(Guid A_0, BinaryReader A_1) : this(A_0)
 {
     long position = A_1.BaseStream.Position;
     A_1.ReadInt32();
     int       num2 = A_1.ReadInt32();
     ArrayList list = new ArrayList();
     for (int i = 0; i < num2; i++)
     {
         list.Add(new Class739(A_1));
     }
     this.int_7 = 0x4e4;
     int num4 = smethod_0(list, 1);
     if (num4 != -1)
     {
         A_1.BaseStream.Position = position + num4;
         object obj2 = smethod_3(A_1, 0);
         if (obj2 is short)
         {
             short num5 = (short)obj2;
             this.int_7 = num5 & 0xffff;
         }
     }
     Hashtable hashtable = new Hashtable();
     int       num6      = smethod_0(list, 0);
     if (num6 != -1)
     {
         A_1.BaseStream.Position = position + num6;
         smethod_1(A_1, hashtable, this.int_7);
     }
     for (int j = 0; j < list.Count; j++)
     {
         Class739 class2 = (Class739)list[j];
         long     num8   = class2.int_0 & 0xfffffffL;
         if ((num8 >= 2L) && (num8 <= 0x7fffffffL))
         {
             A_1.BaseStream.Position = position + class2.int_1;
             object obj3 = smethod_3(A_1, this.int_7);
             if (obj3 != null)
             {
                 string str = (string)hashtable[class2.int_0];
                 this.class566_0.method_5(new Class521(class2.int_0, str, obj3));
             }
         }
     }
 }