第二节 2.4.2逆向并还原为C代码(本人解答)
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/e9b95fd1f483086749d17df34a5125eb" alt="" /><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/6999b24c379ddd66402f7e075dc9dc71" alt="" /></p>
<hr />
<hr />
<h2>完善后代码如下:</h2>
<pre><code class="language-cpp">#include <iostream>
#include<Windows.h>
#include<stdio.h>
int functionC(int a, int b)
{
return a + b;
}
int functionB(int a,int b,int c)
{
return a + b + c;
}
int functionA(int a, int b, int c, int d, int e)
{
int x, y;
x = functionB(a, b, c);
y = functionC(a, b);
return y = functionC(x, y);
}
int main()
{
int result = functionA(1, 3, 4, 6, 7);
printf("结果是:%d\n", result);
system("pause");
}</code></pre>