Last active
December 27, 2015 10:19
-
-
Save einarwh/7310457 to your computer and use it in GitHub Desktop.
Reverse engineered C# code for the IL-rewritten Add method.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static int Add(int x, int y) | |
{ | |
while (x != 0) | |
{ | |
int arg_0F_0 = x - 1; | |
y++; | |
x = arg_0F_0; | |
} | |
return y; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment