Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // local variable allocation has failed, the output may be wrong!
- int __cdecl main(int argc, const char **argv, const char **envp)
- {
- char *v3; // rsi
- char v5; // [rsp+Bh] [rbp-15h]
- int v6; // [rsp+Ch] [rbp-14h]
- char s; // [rsp+10h] [rbp-10h]
- unsigned __int64 v8; // [rsp+18h] [rbp-8h]
- v8 = __readfsqword(0x28u);
- v5 = 121;
- strcpy(goodbye, "Goodbye ");
- init(*(_QWORD *)&argc, argv, envp);
- puts("What's your name?");
- fgets(&s, 8, stdin);
- strtok(&s, "\n");
- strcat(goodbye, &s);
- puts("Describe yourself, we want to know if you'll fit at our table...\n");
- v3 = (char *)32;
- fgets(buffer, 32, stdin);
- do
- {
- while ( 1 )
- {
- printf("Do you want to edit your description? (y/n): ", v3);
- v3 = &v5;
- __isoc99_scanf(" %c", &v5);
- if ( v5 != 121 )
- break;
- puts("What do you want to change?");
- __isoc99_scanf(" %d", &v6);
- getchar();
- puts("Give me something to replace that with");
- v3 = (char *)32;
- fgets(&buffer[v6], 32, stdin);
- }
- }
- while ( v5 != 110 );
- puts(goodbye);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement