示例#1
0
 // Token: 0x0600009B RID: 155 RVA: 0x0000A764 File Offset: 0x00008964
 public void method_8(byte[] byte_0, Action action_0 = null)
 {
     if (this.intptr_0 == IntPtr.Zero)
     {
         throw new InvalidOperationException("Cannot scan process memory regions. No process loaded.");
     }
     if (byte_0.Length != 0)
     {
         this.list_0.Clear();
         this.method_6();
         this.method_7(0);
         int num = 0;
         foreach (IntPtr intPtr in this.dictionary_0.Keys)
         {
             foreach (int offset in GClass0.smethod_5(this.dictionary_0[intPtr], byte_0))
             {
                 this.list_0.Add(new GClass4(IntPtr.Add(intPtr, offset), byte_0));
             }
             num++;
             this.method_7(num / this.dictionary_0.Count * 100);
         }
         this.method_7(100);
         if (action_0 != null)
         {
             action_0();
         }
         return;
     }
     throw new ArgumentOutOfRangeException("Buffer cannot be of length 0.");
 }