public BytePatch(BytePatchPattern pattern, byte origByte, byte patchByte, List <int> offsets, int group, bool isSig = false, int sigOffset = 0)
 {
     this.Pattern   = pattern;
     this.OrigByte  = origByte;
     this.PatchByte = patchByte;
     this.Offsets   = offsets;
     this.IsSig     = isSig;
     this.SigOffset = sigOffset;
     this.Group     = group;
 }
Esempio n. 2
0
        public BytePatch(BytePatchPattern pattern, byte origByteX64, byte patchByteX64, int offsetX64, byte origByteX86, byte patchByteX86, int offsetX86)
        {
            this.pattern      = pattern;
            this.origByteX64  = origByteX64;
            this.patchByteX64 = patchByteX64;
            this.offsetX64    = offsetX64;

            this.origByteX86  = origByteX86;
            this.patchByteX86 = patchByteX86;
            this.offsetX86    = offsetX86;
        }
        public BytePatch(BytePatchPattern pattern, byte origByteX64, byte patchByteX64, int offsetX64, int aoffsetX64, byte origByteX86, byte patchByteX86, int offsetX86, int aoffsetX86, int group)
        {
            this.pattern      = pattern;
            this.origByteX64  = origByteX64;
            this.patchByteX64 = patchByteX64;
            this.offsetX64    = offsetX64;
            this.aoffsetX64   = aoffsetX64;

            this.origByteX86  = origByteX86;
            this.patchByteX86 = patchByteX86;
            this.offsetX86    = offsetX86;
            this.aoffsetX86   = aoffsetX86;

            this.group = group;
        }