Ejemplo n.º 1
0
 .GotoNext(MoveType.AfterLabel,
           x => x.MatchCallOrCallvirt(runGetInstance),
           x => x.MatchCallOrCallvirt(runGetSelectedDifficulty),
           x => x.MatchLdcI4(5),
           x => x.MatchBlt(out label)
           ).Br_(label);
Ejemplo n.º 2
0
 .GotoNext(MoveType.AfterLabel,
           x => x.MatchCallOrCallvirt(typeof(Run).GetProperty("instance").GetGetMethod()),
           x => x.MatchCallOrCallvirt(typeof(Run).GetProperty("selectedDifficulty").GetGetMethod()),
           x => x.MatchLdcI4(10),
           x => x.MatchBlt(out label)
           ).Br_(label)
Ejemplo n.º 3
0
 .GotoNext(MoveType.AfterLabel,
           x => x.MatchLdarg(0),
           x => x.MatchLdfld(typeof(HealthComponent).GetField("ospTimer", BF.NonPublic | BF.Public | BF.Instance)),
           x => x.MatchLdcR4(out _),
           x => x.MatchBleUn(out lab)
           ).RemoveRange(5)