-
Notifications
You must be signed in to change notification settings - Fork 13
/
___2ec68h.c
54 lines (39 loc) · 975 Bytes
/
___2ec68h.c
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
#include "drally.h"
#include "drally_structs_fixed.h"
#if defined(DR_MULTIPLAYER)
extern __DWORD__ ___19bd60h;
#endif // DR_MULTIPLAYER
extern __BYTE__ ___1a1ef8h[];
extern __BYTE__ ___1a0a50h[];
extern __BYTE__ ___1a01e0h[];
void ___2ec68h_cdecl(void){
__DWORD__ ebx, ecx;
int n;
racer_t * s_6c;
s_6c = (racer_t *)___1a01e0h;
ecx = 4;
while(ecx&&ecx--) D(___1a0a50h+4*ecx) = 1;
#if defined(DR_MULTIPLAYER)
if(___19bd60h != 0){
ecx = 4;
while(ecx&&ecx--) D(___1a0a50h+4*ecx) = 1;
D(___1a0a50h+0xc) = 0;
}
#endif // DR_MULTIPLAYER
ebx = 0;
n = -1;
while(++n < 0x14){
if(((int)ebx < (int)s_6c[n].points)&&(n != D(___1a1ef8h))) ebx = s_6c[n].points;
}
#if defined(DR_MULTIPLAYER)
if(___19bd60h != 0){
D(___1a0a50h+0xc) = 1;
}
else {
#endif // DR_MULTIPLAYER
D(___1a0a50h+0xc) = !((int)ebx < (int)s_6c[D(___1a1ef8h)].points);
#if defined(DR_MULTIPLAYER)
}
if(___19bd60h != 0) D(___1a0a50h+0xc) = 0;
#endif // DR_MULTIPLAYER
}