-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstep3.c
More file actions
81 lines (80 loc) · 1.41 KB
/
step3.c
File metadata and controls
81 lines (80 loc) · 1.41 KB
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
void phase_3(char *param_1)
{
int iVar1;
char cVar2;
uint firstParam;
char secParam;
int thirdParam;
iVar1 = sscanf(param_1, "%d %c %d", &firstParam, &secParam, &thirdParam);
if (iVar1 < 3)
{
explode_bomb();
}
switch (firstParam)
{
case 0:
cVar2 = 'q';
if (thirdParam != 777)
{
explode_bomb();
}
break;
case 1:
cVar2 = 'b';
if (thirdParam != 214)
{
explode_bomb();
}
break;
case 2:
cVar2 = 'b';
if (thirdParam != 755)
{
explode_bomb();
}
break;
case 3:
cVar2 = 'k';
if (thirdParam != 251)
{
explode_bomb();
}
break;
case 4:
cVar2 = 'o';
if (thirdParam != 160)
{
explode_bomb();
}
break;
case 5:
cVar2 = 't';
if (thirdParam != 458)
{
explode_bomb();
}
break;
case 6:
cVar2 = 'v';
if (thirdParam != 780)
{
explode_bomb();
}
break;
case 7:
cVar2 = 'b';
if (thirdParam != 524)
{
explode_bomb();
}
break;
default:
cVar2 = 'x';
explode_bomb();
}
if (cVar2 != secParam)
{
explode_bomb();
}
return;
}