Created
January 30, 2018 16:40
-
-
Save H4niz/7dddb32fbc956e6215d5d8d63c4061cd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
int __cdecl main() | |
{ | |
int v1; // [esp+0h] [ebp-E8h] | |
char sName; // [esp+4h] [ebp-E4h] | |
char Round; // [esp+14h] [ebp-D4h] | |
[...] | |
puts("Enter your name: "); | |
cusRead(&sName); | |
[...] | |
puts("||=================||\n1.Play Game\n2.Show Scores\n3.Change Name\n4.Exit\n||=================||\nYour Choice:"); | |
__isoc99_scanf("%d", &v1); | |
switch ( v1 ) | |
{ | |
case 2: | |
ShowScore((unsigned int *)&Round); | |
break; | |
case 3: | |
puts("Enter your name: "); | |
cusRead(&sName); | |
break; | |
case 1: | |
PlayGame((int)&Round); | |
break; | |
default: | |
v4 = 0; | |
break; | |
} | |
} | |
printf("Bye!"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment