using System;
using Dexer.Core;
using Dexer.Instructions;
namespace Dexer.Debug
{
class Program
{
static void Main(string[] args)
{
Dex dex = Dex.Load("classes.dex");
MethodDefinition method = dex.GetClass("dexer.poc.MainActivity").GetMethod("onCreate");
method.Body.Instructions[5].OpCode = OpCodes.Add_int;
method.Body.Instructions[7].Operand = "Dexer rocks! ";
dex.Write("output.dex");
Console.ReadLine();
}
}
}