1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
| strcpy(Buffer, "000000000000000000000"); strcpy(v4, "0 0 0 0 0 0 0"); strcpy(&v4[22], "0 0 0 00000 00000 0 0"); strcpy(v5, "0 0 0 0"); strcpy(&v5[22], "0 000 000 0 000 0 0 0"); strcpy(v6, "0 0 0 0 0 0 0 0"); strcpy(&v6[22], "0 0 0 00000 000 000 0"); strcpy(v7, "0 0 0 0 0 0 "); strcpy(&v7[22], "0 000 0 0 000 0 0 0 0"); strcpy(v8, "0 0 0 0 0 0 0 0 0"); strcpy(&v8[22], "0 00000 000 000 0 0 0"); strcpy(v9, "0 0 0 0 0"); strcpy(&v9[22], "000 0 0 0 000 0 0 0 0"); strcpy(v10, "0 0 0 0 0 0 * 0 0 0 0"); strcpy(&v10[22], "0 0000000 0 000 00000"); strcpy(v11, "@ 0 0 0"); strcpy(&v11[22], "0 0 0 0 0 00000000000"); strcpy(v12, "0 0 0 0 0"); strcpy(&v12[22], "000 0 00000 0 000 000"); strcpy(v13, "0 0 0 0 0"); strcpy(&v13[22], "000000000000000000000"); v11[4] = 48; strcpy((char *)v19, "Please to save the cat!"); memset(&v19[6], 0, 0x4Cui64); strcpy(v20, "the score is saving cat's key!\n"); memset(&v20[32], 0, 0x44ui64); qmemcpy(v21, &unk_14001D340, 0x47ui64); memset(&v21[71], 0, 729); sub_1400111F9("path\n"); v23 = 0; v24 = 0; v15 = 15; v16 = 0; v17 = 7; v18 = 20; for ( j = 0; j <= 20; ++j ) puts(&Buffer[22 * j]); sub_1400111F9("Please to save the cat!\n"); while ( v15 != v17 || v16 != v18 ) { v22 = getchar(); switch ( v22 ) { case 's': if ( Buffer[22 * v15 + 22 + v16] != 48 ) { Buffer[22 * v15++ + v16] = 32; Buffer[22 * v15 + v16] = 64; } break; case 'w': if ( Buffer[22 * v15 - 22 + v16] != 48 ) { Buffer[22 * v15-- + v16] = 32; Buffer[22 * v15 + v16] = 64; } break; case 'a': if ( Buffer[22 * v15 - 1 + v16] != 48 ) { if ( Buffer[22 * v15 - 1 + v16] == 42 ) v7[20] = 48; Buffer[22 * v15 + v16--] = 32; Buffer[22 * v15 + v16] = 64; } break; default: if ( v22 == 100 && Buffer[22 * v15 + 1 + v16] != 48 ) { Buffer[22 * v15 + v16++] = 32; Buffer[22 * v15 + v16] = 64; } break; } system("cls"); for ( j = 0; j <= 20; ++j ) puts(&Buffer[22 * j]); puts((const char *)&v19[25 * v23]); if ( v7[20] == 48 ) { v24 = sub_140011433(0i64); if ( v24 == 13376013 ) { v23 = 1; v7[20] = 32; Buffer[22 * v15 + v16] = 32; v15 = 15; v16 = 0; v11[0] = 64; ++v23; } else { sub_1400111F9("error"); } } } system("cls"); Sleep(0x1F4u); Sleep(0xBB8u); sub_140011492(); exit(0); }
|