document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. using System;
  2. using Dexer.Core;
  3. using Dexer.Instructions;
  4.  
  5. namespace Dexer.Debug
  6. {
  7.     class Program
  8.     {
  9.         static void Main(string[] args)
  10.         {
  11.             Dex dex = Dex.Load("classes.dex");
  12.             MethodDefinition method = dex.GetClass("dexer.poc.MainActivity").GetMethod("onCreate");
  13.  
  14.             method.Body.Instructions[5].OpCode = OpCodes.Add_int;
  15.             method.Body.Instructions[7].Operand = "Dexer rocks! ";
  16.  
  17.             dex.Write("output.dex");
  18.             Console.ReadLine();
  19.         }
  20.     }
  21. }
');