mirror of
https://github.com/MadMin3r/UnconfuserEx
synced 2026-06-23 09:25:19 +00:00
20 lines
406 B
C#
20 lines
406 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MSILEmulator.Instructions.Arithmetic
|
|
{
|
|
internal class Sub
|
|
{
|
|
public static void Emulate(Context ctx)
|
|
{
|
|
int val2 = (int)ctx.Stack.Pop();
|
|
int val1 = (int)ctx.Stack.Pop();
|
|
|
|
ctx.Stack.Push(val1 - val2);
|
|
}
|
|
}
|
|
}
|