Esempio n. 1
0
        public byte[] method_4(long long_1, long long_2, int int_1)
        {
            byte[] bArr = new byte[checked (checked (int_1 - 1) + 1)];
            int    i    = 0;

            GClass22.ReadProcessMemory(int_0, checked ((int)long_1), bArr, int_1, ref i);
            return(bArr);
        }
Esempio n. 2
0
        public string method_5(int int_1, int int_2)
        {
            byte[] bArr = new byte[checked (checked (int_2 - 1) + 1)];
            int    i    = 0;

            GClass22.ReadProcessMemory(int_0, int_1, bArr, int_2, ref i);
            string[] sArr = Strings.Split(Encoding.Unicode.GetString(bArr, 0, checked ((int)bArr.Length)), "\0", -1, CompareMethod.Binary);
            return(sArr[0]);
        }
Esempio n. 3
0
        public int method_1(int[] int_1, int int_2)
        {
            byte[] bArr = new byte[checked (checked (int_2 - 1) + 1)];
            int    i1   = checked (Information.UBound(int_1, 1) - 1);

            for (int i2 = 0; i2 <= i1; i2 = checked (i2 + 1))
            {
                int i3 = 0;
                GClass22.ReadProcessMemory(int_0, checked (int_1[i2] + BitConverter.ToInt32(bArr, 0)), bArr, int_2, ref i3);
            }
            return(checked (int_1[Information.UBound(int_1, 1)] + BitConverter.ToInt32(bArr, 0)));
        }
Esempio n. 4
0
        public long method_3(int int_1, int int_2)
        {
            byte[] bArr = new byte[checked (checked (int_2 - 1) + 1)];
            int    i    = 0;

            GClass22.ReadProcessMemory(int_0, int_1, bArr, int_2, ref i);
            switch (int_2)
            {
            case 1:
                return(bArr[0]);

            case 2:
                return((long)BitConverter.ToInt16(bArr, 0));

            case 4:
                return((long)BitConverter.ToInt32(bArr, 0));

            default:
                return(0L);

            case 8:
                return(BitConverter.ToInt64(bArr, 0));
            }
        }