Ejemplo n.º 1
0
 /// <summary>
 /// Read bytes from memory of target process.
 /// Returns read bytes into bytes array.
 /// Returns false if failed.
 /// </summary>
 public bool GetBytes(ulong address, ref byte[] bytes)
 {
     try
     {
         bytes = PS4.ReadMemory(p.pid, address + baseAdd, bytes.Length);
         return(true);
     }
     catch
     {
         return(false);
     }
 }