Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CamxxCore/576b97d64e7f3aeb1202cd63c35158fe to your computer and use it in GitHub Desktop.
Save CamxxCore/576b97d64e7f3aeb1202cd63c35158fe to your computer and use it in GitHub Desktop.
afterburner patch
#region SetupAfterburnerPatch
pattern = new Pattern("\x3C\x07\x0F\x84\x00\x00\x00\x00\x8B\x87\x00\x00\x00\x00", "xxxx????xx????");
result = pattern.Get(-155);
byte[] bytes = { 0xE9, 0x79, 0x01, 0x00, 0x00, 0x90 };
Marshal.Copy(bytes, 0, result, bytes.Length);
#endregion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment