Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int i = 0;
- int x = 0;
- byte[] bytes = new byte[(textBox1.Text.Length) / 2];
- while (textBox1.Text.Length > i + 1)
- {
- long lngDecimal = Convert.ToInt32(textBox1.Text.Substring(i, 2), 16);
- bytes[x] = Convert.ToByte(lngDecimal);
- i = i + 2;
- ++x;
- }
- uint num;
- XboxConsole xuid = manager.OpenConsole(manager.DefaultConsole);
- xuid.DebugTarget.SetMemory(0x81CFAB1C, (uint)bytes.Length, bytes, out num);
Add Comment
Please, Sign In to add comment