-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path___24548h.c
116 lines (106 loc) · 5.11 KB
/
___24548h.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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
#include "drally.h"
#include "drally_structs_fixed.h"
#include "assets.h"
extern __BYTE__ ___1a1edch[];
extern __BYTE__ ___1a1ecch[];
extern __BYTE__ ___1a1ee8h[];
extern __BYTE__ ___1a1ef8h[];
extern __BYTE__ ___1a1ee0h[];
extern __BYTE__ ___1a1eech[];
extern __BYTE__ ___1a1ec0h[];
extern __BYTE__ ___1a1ec8h[];
extern __BYTE__ ___1a1ed0h[];
extern __BYTE__ ___1a01e0h[];
extern __BYTE__ ___1a1ec4h[];
extern __BYTE__ ___1a1ee4h[];
extern __POINTER__ ___1a1124h__VESA101h_ScreenBufferA;
extern __POINTER__ ___1a10e4h__VESA101h_DefaultScreenBufferA;
extern __POINTER__ ___1a1e80h;
extern __POINTER__ ___1a1e74h;
extern __POINTER__ ___1a1e84h;
extern __POINTER__ ___1a1e60h;
extern __POINTER__ ___1a1ed4h;
extern __POINTER__ ___1a1e90h;
extern __POINTER__ ___1a10b0h;
extern __POINTER__ ___1a1eb0h;
extern __POINTER__ ___1a1e78h;
extern __POINTER__ ___1a1eb8h;
extern __POINTER__ ___1a01b8h[6];
extern __POINTER__ ___1a0180h;
extern __POINTER__ ___1a01a8h[4];
extern __POINTER__ ___1a0198h[4];
extern __POINTER__ ___1a01d0h[4];
extern __POINTER__ ___1a1e8ch;
extern __POINTER__ ___1a1ea0h;
extern __POINTER__ ___1a1e7ch;
extern __POINTER__ ___1a1ebch;
extern __POINTER__ ___1a1eb4h;
extern __POINTER__ ___1a1e88h;
extern __POINTER__ ___1a1ea4h;
extern __POINTER__ ___1a1ea8h;
extern __POINTER__ ___1a1e6ch;
extern __POINTER__ ___1a1e98h;
extern __POINTER__ ___1a1e5ch;
extern __POINTER__ ___1a1e58h;
extern __POINTER__ ___1a1e54h;
extern __POINTER__ ___1a1e64h;
__POINTER__ ___3f71ch__allocateMemory(__DWORD__);
static __DWORD__ max_5(__DWORD__ val){ return (val < 5) ? val : 5; }
void ___24548h(void){
racer_t * s_6c;
s_6c = (racer_t *)___1a01e0h;
D(___1a1edch) = 0x64;
D(___1a1ecch) = 0;
D(___1a1ee8h) = 0;
D(___1a1ee0h) = 0;
D(___1a1eech) = 0;
D(___1a1ec0h) = 0;
D(___1a1ec8h) = 0;
D(___1a1ed0h) = 0;
D(___1a1ec4h) = 5;
D(___1a1ee4h) = max_5(s_6c[D(___1a1ef8h)].car+1);
___1a1124h__VESA101h_ScreenBufferA = ___1a10e4h__VESA101h_DefaultScreenBufferA = ___3f71ch__allocateMemory(0x4b000);
___1a1e7ch = ___3f71ch__allocateMemory(0x1800);
___1a01b8h[0] = dRally_Assets_loadRaw("MENU.BPA", "kupla.bpk", 0x1af00);
___1a01b8h[1] = dRally_Assets_loadRaw("MENU.BPA", "pickup.bpk", 0x1a77b);
___1a01b8h[2] = dRally_Assets_loadRaw("MENU.BPA", "sedan.bpk", 0x18f14);
___1a01b8h[3] = dRally_Assets_loadRaw("MENU.BPA", "camaro.bpk", 0x18f51);
___1a01b8h[4] = dRally_Assets_loadRaw("MENU.BPA", "porsche.bpk", 0x1a060);
___1a01b8h[5] = dRally_Assets_loadRaw("MENU.BPA", "lotus.bpk", 0x1bea2);
___1a01a8h[0] = dRally_Assets_loadRaw("MENU.BPA", "engi1.bpk", 0xa235);
___1a01a8h[1] = dRally_Assets_loadRaw("MENU.BPA", "engi2.bpk", 0xae36);
___1a01a8h[2] = dRally_Assets_loadRaw("MENU.BPA", "engi3.bpk", 0xb413);
___1a01a8h[3] = dRally_Assets_loadRaw("MENU.BPA", "engi4.bpk", 0xd788);
___1a0198h[0] = dRally_Assets_loadRaw("MENU.BPA", "tire1.bpk", 0x511c);
___1a0198h[1] = dRally_Assets_loadRaw("MENU.BPA", "tire2.bpk", 0x52b8);
___1a0198h[2] = dRally_Assets_loadRaw("MENU.BPA", "tire3.bpk", 0x5724);
___1a0198h[3] = dRally_Assets_loadRaw("MENU.BPA", "tire4.bpk", 0x5f1e);
___1a01d0h[0] = dRally_Assets_loadRaw("MENU.BPA", "armor1.bpk", 0x5ffb);
___1a01d0h[1] = dRally_Assets_loadRaw("MENU.BPA", "armor2.bpk", 0x6dd9);
___1a01d0h[2] = dRally_Assets_loadRaw("MENU.BPA", "armor3.bpk", 0x7922);
___1a01d0h[3] = dRally_Assets_loadRaw("MENU.BPA", "armor4.bpk", 0x7801);
___1a1e8ch = dRally_Assets_loadRaw("MENU.BPA", "repaani.bpk", 0x878b);
___1a1ea0h = dRally_Assets_loadRaw("MENU.BPA", "contani.bpk", 0x8ae9);
___1a1ed4h = dRally_Assets_loadDecode("MENU.BPA", "statbas7.bpk", 0x5400);
___1a1e90h = dRally_Assets_loadDecode("MENU.BPA", "statpop4.bpk", 0x4b0);
___1a10b0h = dRally_Assets_loadDecode("MENU.BPA", "f-sma3f.bpk", 0x8f0);
___1a1e6ch = dRally_Assets_loadDecode("MENU.BPA", "carbas2.bpk", 0x2400);
___1a1e74h = dRally_Assets_loadDecode("MENU.BPA", "spons1b.bpk", 0x3400);
___1a1e80h = dRally_Assets_loadDecode("MENU.BPA", "drugdeal.bpk", 0x3400);
___1a1e84h = dRally_Assets_loadDecode("MENU.BPA", "event_2.bpk", 0x3400);
___1a1e60h = dRally_Assets_loadDecode("MENU.BPA", "reaper_x.bpk", 0x3400);
___1a1e54h = dRally_Assets_loadDecode("MENU.BPA", "blacktx1.bpk", 0x2800);
___1a1e64h = dRally_Assets_loadDecode("MENU.BPA", "blacktx2.bpk", 0x2800);
___1a1e58h = dRally_Assets_loadDecode("MENU.BPA", "dealer2b.bpk", 0x2400);
___1a1e5ch = dRally_Assets_loadDecode("MENU.BPA", "market1e.bpk", 0x1b000);
___1a1e98h = dRally_Assets_loadDecode("MENU.BPA", "bases4.bpk", 0xb400);
___1a0180h = dRally_Assets_loadDecode("MENU.BPA", "scenecar.bpk", 0x9000);
___1a1eb0h = dRally_Assets_loadDecode("MENU.BPA", "choo2.bpk", 0x900);
___1a1e78h = dRally_Assets_loadDecode("MENU.BPA", "arrows1d.bpk", 0x1000);
___1a1eb8h = dRally_Assets_loadDecode("MENU.BPA", "maxi1f.bpk", 0x12000);
___1a1ea8h = dRally_Assets_loadDecode("MENU.BPA", "carname.bpk", 0x2400);
___1a1ea4h = dRally_Assets_loadDecode("MENU.BPA", "slidmus2.bpk", 0x1020);
___1a1eb4h = dRally_Assets_loadDecode("MENU.BPA", "slidcur3.bpk", 0xf0);
___1a1ebch = dRally_Assets_loadDecode("MENU.BPA", "volcur2.bpk", 0xf0);
___1a1e88h = dRally_Assets_loadDecode("MENU.BPA", "slidcop2.bpk", 0x1260);
}