Guest User

Untitled

a guest
Jun 17th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. int i = 0;
  2. int x = 0;
  3. byte[] bytes = new byte[(textBox1.Text.Length) / 2];
  4. while (textBox1.Text.Length > i + 1)
  5. {
  6. long lngDecimal = Convert.ToInt32(textBox1.Text.Substring(i, 2), 16);
  7. bytes[x] = Convert.ToByte(lngDecimal);
  8. i = i + 2;
  9. ++x;
  10. }
  11. uint num;
  12. XboxConsole xuid = manager.OpenConsole(manager.DefaultConsole);
  13. xuid.DebugTarget.SetMemory(0x81CFAB1C, (uint)bytes.Length, bytes, out num);
Add Comment
Please, Sign In to add comment