-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path[proc,script3180].cs2
55 lines (55 loc) · 1.21 KB
/
[proc,script3180].cs2
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
// 3180
[proc,script3180](int $int0, int $int1)(struct)
def_struct $struct2 = enum(int, struct, enum_2670, %varbit10032);
def_enum $enum3 = null;
def_struct $struct4 = null;
def_struct $struct5 = null;
def_int $int6 = 0;
def_int $int7 = -1;
def_int $int8 = 0;
def_int $int9 = 0;
if ($struct2 ! null) {
$enum3 = struct_param($struct2, param_870);
if ($enum3 ! null) {
$int6 = enum_getoutputcount($enum3);
if ($int0 = 1) {
return(enum(int, struct, $enum3, calc($int6 - 1)));
}
while ($int8 < $int6) {
$struct4 = enum(int, struct, $enum3, $int8);
$int7 = struct_param($struct4, param_877);
if (%var2615 < $int7) {
if ($int1 = 0) {
return($struct4);
}
return($struct5);
}
$struct5 = enum(int, struct, $enum3, $int8);
switch_int ($int8) {
case 0 :
$int9 = %varbit10049;
case 1 :
$int9 = %varbit10050;
case 2 :
$int9 = %varbit10051;
case 3 :
$int9 = %varbit10052;
case 4 :
$int9 = %varbit10053;
case 5 :
$int9 = %varbit11696;
case 6 :
$int9 = %varbit17301;
case 7 :
$int9 = %varbit17302;
case default :
$int9 = 0;
}
if ($int9 = 0) {
return($struct4);
}
$int8 = calc($int8 + 1);
}
}
}
return(null);