mirror of
https://github.com/Zypherion-Technologies/UnConfuserEx
synced 2026-06-23 09:25:30 +00:00
21 lines
451 B
C#
21 lines
451 B
C#
using dnlib.DotNet.Emit;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MSILEmulator.Instructions.Arithmetic
|
|
{
|
|
internal class Add
|
|
{
|
|
public static void Emulate(Context ctx)
|
|
{
|
|
int val2 = (int)ctx.Stack.Pop();
|
|
int val1 = (int)ctx.Stack.Pop();
|
|
|
|
ctx.Stack.Push(val1 + val2);
|
|
}
|
|
}
|
|
}
|