Esempio n. 1
0
        public unsafe ulong DecryptPtr(ulong encryptedPtr)
        {
            EncryptedBlock encryptedBlock = Program.Client.ReadMemory <EncryptedBlock>(encryptedPtr);
            long           num            = encryptedBlock.data[this.decrypt_p21(encryptedBlock.data[44], encryptedBlock.data[45])];
            ulong          num2           = this.decrypt_p22(encryptedBlock.data[46], encryptedBlock.data[47]);

            return((ulong)(num ^ (long)num2));
        }
Esempio n. 2
0
        // Token: 0x0600022B RID: 555 RVA: 0x00007DB0 File Offset: 0x00005FB0
        public unsafe ulong decryptPtr(ulong encryptedPtr)
        {
            EncryptedBlock encryptedBlock = Program.Client.ReadMemory <EncryptedBlock>(encryptedPtr);
            ulong          num            = (ulong)(&encryptedBlock.data.FixedElementField)[this.decrypt_p21((&encryptedBlock.data.FixedElementField)[44], (&encryptedBlock.data.FixedElementField)[45]) * 8UL / 8UL];
            ulong          num2           = this.decrypt_p22((&encryptedBlock.data.FixedElementField)[46], (&encryptedBlock.data.FixedElementField)[47]);

            return(num ^ num2);
        }