public static byte[] ReadMem(int addr, int size) { byte[] array = new byte[size]; Mem.ReadProcessMemory((int)Mem.m_pProcessHandle, addr, array, size, ref Mem.m_iNumberOfBytesRead); return(array); }