fork/training-mode-ce

git clone https://git.julia.blue/fork/training-mode-ce

jamsEggs-ercise ASM to C rewrite (#310)305b2f6

nix
115.3 KiB2874 linesraw
1#ifndef MEX_H_MATCH
2#define MEX_H_MATCH
3
4#include "structs.h"
5#include "datatypes.h"
6#include "obj.h"
7#include "fighter.h"
8#include "stage.h"
9#include "gx.h"
10
11// Match Data definitions
12#define MATCH_TIMER_FROZEN 0
13#define MATCH_TIMER_HIDE 1
14#define MATCH_TIMER_COUNTDOWN 2
15#define MATCH_TIMER_COUNTUP 3
16#define MATCH_MATCHTYPE_TIME 0
17#define MATCH_MATCHTYPE_STOCK 1
18#define MATCH_MATCHTYPE_COIN 2
19#define MATCH_HUDPOS_NONE 0
20#define MATCH_HUDPOS_ONE 1
21#define MATCH_HUDPOS_TWO 2
22#define MATCH_HUDPOS_THREE 3
23#define MATCH_HUDPOS_FOUR 4
24#define MATCH_HUDPOS_SIX 5
25#define MATCH_HUDPOS_UNK 6
26#define MATCH_HUDPOS_FOURCOMPACT 7
27#define MATCH_PAUSEHUD_HIDE 1
28#define MATCH_MATCHTYPE_STOCK 1
29#define MATCH_MATCHTYPE_COIN 2
30#define MATCH_ITEMFREQ_OFF -1
31#define MATCH_ITEMFREQ_VERYLOW 0
32#define MATCH_ITEMFREQ_LOW 1
33#define MATCH_ITEMFREQ_MEDIUM 2
34#define MATCH_ITEMFREQ_HIGH 3
35#define MATCH_ITEMFREQ_VERYHIGH 4
36
37enum MatchState
38{
39    MATCHSTATE_INPROG,
40    MATCHSTATE_GAME,
41    MATCHSTATE_EXIT,
42};
43
44enum MatchEndKind
45{
46    MATCHENDKIND_NONE,      // hasn't ended yet?
47    MATCHENDKIND_VSTIME,    // timeout in a VS match
48    MATCHENDKIND_VSGAME,    // successful ending to a VS match
49    MATCHENDKIND_3,         //
50    MATCHENDKIND_1PLOSE,    // used for dying in 1p games
51    MATCHENDKIND_5,         //
52    MATCHENDKIND_1PWIN,     // winning a 1p game
53    MATCHENDKIND_NOCONTEST, //
54    MATCHENDKIND_RETRY,     // stadium retry
55    MATCHENDKIND_OVERRIDE,  // match end was requested by external code
56};
57
58enum MatchPLinks
59{
60    // the game whitelists p_links 0,2,16,18,19,20,21,22,24+ to run on match pause
61    MATCHPLINK_SYS,
62    MATCHPLINK_1,
63    MATCHPLINK_2,
64    MATCHPLINK_LIGHT,
65    MATCHPLINK_ZAKO,
66    MATCHPLINK_MAP,
67    MATCHPLINK_COLL,
68    MATCHPLINK_7,
69    MATCHPLINK_FIGHTER,
70    MATCHPLINK_ITEM,
71    MATCHPLINK_10,
72    MATCHPLINK_EFFECT1,
73    MATCHPLINK_EFFECT2,
74    MATCHPLINK_MAPMISC,
75    MATCHPLINK_MISC,
76    MATCHPLINK_HUD,
77    MATCHPLINK_16,
78    MATCHPLINK_17,
79    MATCHPLINK_MATCHCAM,
80    MATCHPLINK_MISCCAM,
81    MATCHPLINK_HUDCAM,
82    MATCHPLINK_COINCAM,
83    MATCHPLINK_SCREENFLASHCAM,
84    MATCHPLINK_CROWDSFX,
85    MATCHPLINK_DEVTEXT,
86};
87
88enum MatchGXLinks
89{
90    MATCHGX_LIGHT,       // fog too i think?
91    MATCHGX_POKEMONITOR, // hrc signs use this as well
92    MATCHGX_FODREFLECT,
93    MATCHGX_STAGE,
94    MATCHGX_4,
95    MATCHGX_FIGHTER,
96    MATCHGX_ITEM,
97    MATCHGX_EFFECT,   // in-game effects
98    MATCHGX_HUDPTCL,  // effects used on hud, like stock disappearing
99    MATCHGX_HUDTAGS,  // nametag jobj and text
100    MATCHGX_HUDLIGHT, // also used for coin lighting? 802ff060
101    MATCHGX_HUD,      // stocks, percent, insignia, timer, READY, etc
102    MATCHGX_12,
103    MATCHGX_13,
104    MATCHGX_14,
105    MATCHGX_COIN,
106    MATCHGX_SCREENCOLANIM,
107    MATCHGX_DEVELOPTEXT,
108};
109
110typedef enum HitAttribute // these belong to items *and* fighters so im putting them here
111{
112    HITATTR_NORMAL,
113    HITATTR_FIRE,
114    HITATTR_ELEC,
115    HITATTR_SLASH,
116    HITATTR_COIN,
117    HITATTR_ICE,
118    HITATTR_SLEEPSHORT,
119    HITATTR_SLEEPLONG,
120    HITATTR_BURY,
121    HITATTR_BURY2,
122    HITATTR_SPIN,
123    HITATTR_EMPTY,
124    HITATTR_DISABLE,
125    HITATTR_DARK,
126    HITATTR_SCREW,
127    HITATTR_FLOWER,
128    HITATTR_NULL,
129} HitAttribute;
130
131typedef enum HitSFXKind // these belong to items *and* fighters so im putting them here
132{
133    HITSFX_NONE,
134    HITSFX_PUNCH,
135    HITSFX_KICK,
136    HITSFX_SWORD,
137    HITSFX_COIN,
138    HITSFX_BAT,
139    HITSFX_FAN,
140    HITSFX_ELEC,
141    HITSFX_FIRE,
142    HITSFX_CHEW,
143    HITSFX_SHELL,
144    HITSFX_ENERGY,
145    HITSFX_PEACHITEM,
146    HITSFX_ICE,
147    HITSFX_14,
148    HITSFX_15,
149} HitSFXKind;
150
151/*** Structs ***/
152
153struct MatchInit
154{
155    // byte 0x0
156    unsigned char matchType : 3;
157    unsigned char hudPos : 3;
158    unsigned char timer : 2;
159    // byte 0x1
160    unsigned char timer_unk2 : 1;
161    unsigned char unk4 : 1;
162    unsigned char hideReady : 1;
163    unsigned char hideGo : 1;
164    unsigned char isDisableMusic : 1;
165    unsigned char unk3 : 1;
166    unsigned char timer_unk : 1;
167    unsigned char unk2 : 1;
168    // byte 0x2
169    unsigned char unk9 : 1;
170    unsigned char disableOffscreenDamage : 1;
171    unsigned char unk8 : 1;
172    unsigned char isSingleButtonMode : 1;
173    unsigned char isDisablePause : 1;
174    unsigned char unk7 : 1;
175    unsigned char isCreateHUD : 1;
176    unsigned char unk5 : 1;
177    // byte 0x3
178    unsigned char isShowScore : 1;        // 0x80
179    unsigned char isShowAnalogStick : 1;  // 0x40
180    unsigned char isCheckForZRetry : 1;   // 0x20
181    unsigned char isShowZRetry : 1;       // 0x10
182    unsigned char isCheckForLRAStart : 1; // 0x08
183    unsigned char isShowLRAStart : 1;     // 0x04
184    unsigned char isHidePauseHUD : 1;     // 0x02
185    unsigned char timerRunOnPause : 1;    // 0x01
186    // byte 0x4
187    unsigned char unk11 : 1;             // 0x80
188    unsigned char isCheckStockSteal : 1; // 0x40
189    unsigned char isRunStockLogic : 1;   // 0x20
190    unsigned char x4_10 : 1;             // 0x10
191    unsigned char x4_08 : 1;             // 0x08
192    unsigned char unk1f : 3;             // 0x1f
193    // byte 0x5
194    unsigned char no_check_end : 1;        // 0x80
195    unsigned char isSkipUnkStockCheck : 1; // 0x40
196    unsigned char no_hit : 1;              // 0x20
197    unsigned char unk12 : 5;               // 0x01
198    u8 bombRain;              // 0x6
199    u8 x7;                    // 0x7
200    u8 is_teams;              // 0x8
201    u8 use_ko_count;          // 0x9
202    u8 xa;                    // 0xA
203    s8 itemFreq;              // 0xB
204    s8 sd_penalty;            // 0xC
205    u8 xd;                    // 0xD
206    u16 stage;                // 0xE
207    int timer_seconds;        // 0x10
208    u8 timer_subseconds;      // 0x14
209    int x88;                  // 0x18
210    u64 itemSwitch;           // 0x20
211    int x28;                  // 0x28
212    float quake_mult;         // 0x2C
213    float dmg_ratio;          // 0x30
214    float match_speed;        // 0x34
215    int x38;                  // 0x38
216    int x3c;                  // 0x3C
217    int x40;                  // 0x40
218    void *onStartMelee;       // 0x44
219    int x48;                  // 0x48
220    int x4c;                  // 0x4C
221    void *onMatchEnd;         // 0x50
222    int x54;                  // 0x54
223    int x58;                  // 0x58
224    int x5c;                  // 0x5C
225
226    // player data
227    PlayerData playerData[6]; // 0x60
228};
229
230struct MatchHUDElement
231{
232    GOBJ *percent;
233    GOBJ *insignia;
234    u8 x8;
235    u8 x9;
236    u16 xa;
237    u16 xc;
238    u8 xe;
239    u8 xf;
240    unsigned char is_removed : 1; // 0x80 - 0x10, related to destruction of percent digits
241    unsigned char x10_40 : 1;     // 0x40 - 0x10, related to destruction of percent digits
242    unsigned char x10_20 : 1;     // 0x20 - 0x10
243    unsigned char x10_10 : 1;     // 0x10 - 0x10
244    unsigned char is_hidden : 1;  // 0x08 - 0x10
245    unsigned char x10_04 : 1;     // 0x04 - 0x10
246    unsigned char x10_02 : 1;     // 0x02 - 0x10,
247    unsigned char x10_01 : 1;     // 0x01 - 0x10
248    u8 x11;
249    u8 x12;
250    u8 x13;
251    float x14[3];              // 0x14
252    float percent_digitpos[4]; // 0x20, 3 digits and the percent sign
253    int x30[8];                // 0x30
254    JOBJ *x50[5];              // 0x50
255};
256struct MatchHUDStock
257{
258    GOBJ *gobj;
259    JOBJ *jobj[17];
260    int curr_coins;
261    int curr_stocks;
262};
263struct MatchHUD
264{
265    GOBJ *cam_gobj;   // 0x0
266    GOBJ *light_gobj; // 0x4
267    int x8;           // 0x8
268    // the following positions are derived from the ScInfDmg_scene_data symbol in IfAll
269    Vec3 timer_pos;                  // 0xc
270    Vec3 player_hud_pos[6];          // 0x18
271    Vec3 joint8_pos[3];              // 0x60
272    Vec3 joint11_pos[2];             // 0x84
273    void *x9c;                       // 0x9c
274    GOBJ *timer_gobj;                // 0xA0
275    u8 xa4[0x4C];                    // 0xA4
276    MatchHUDElement element_data[6]; // 0xF0
277    JOBJSet dmgnum_jobjset;          // 0x348
278    JOBJSet dmgmark_jobjset;         // 0x358
279    JOBJSet *ScnInfStc_scene_models; // 0x368
280    u8 x36c[52];                     // 0x36c
281    JOBJSet *stock_jobjset;          // 0x3a0
282    JOBJSet *kocount_jobjset;        // 0x3a4
283    MatchHUDStock stock[6];          //
284};
285
286struct CmSubject // internally CmSubject as evidenced by 80029074, formerly CameraBox
287{
288    void *alloc;            // 0x0
289    CmSubject *next;        // 0x4
290    int kind;               // 0x8 1 = disabled, 2 = only focus if close to center
291    u8 flags_x80 : 1;       // 0xC 0x80
292    u8 is_disable : 1;      // 0xC 0x40
293    Vec3 cam_pos;           // 0x10
294    Vec3 bone_pos;          // 0x1c
295    float direction;        // 0x28
296    float boundleft_curr;   // 0x2C
297    float boundright_curr;  // 0x30
298    float boundtop_curr;    // 0x34
299    float boundbottom_curr; // 0x38
300    float x3c;              // 0x3c
301    float boundleft_proj;   // 0x40
302    float boundright_proj;  // 0x44
303    float boundtop_proj;    // 0x48
304    float boundbottom_proj; // 0x4c
305    float x50;              // 0x50
306};
307struct MatchCamera
308{
309    GOBJ *gobj;                            // 0x0
310    int cam_kind;                          // 0x4
311    GXColor erase_color;                   // 0x8
312    float near;                            // 0xc
313    float far;                             // 0x10
314    Vec3 x14_current;                      // 0x14
315    Vec3 x20_projected;                    // 0x20
316    Vec3 x2c_current;                      // 0x2c
317    Vec3 x38_projected;                    // 0x38
318    float normalcam_fov;                   // 0x44
319    float x48_projected;                   // 0x48
320    Vec3 x4c_current;                      // 0x4c
321    Vec3 x58_projected;                    // 0x58
322    Vec3 x64_current;                      // 0x64
323    Vec3 x70_projected;                    // 0x70
324    float x7c_current;                     // 0x7c
325    float x80_projected;                   // 0x80
326    int x84;                               // 0x84
327    int x88;                               // 0x88
328    int x8c;                               // 0x8c
329    int x90;                               // 0x90
330    int x94;                               // 0x94
331    int x98;                               // 0x98
332    int x9c;                               // 0x9c
333    int xa0;                               // 0xa0
334    int xa4;                               // 0xa4
335    int xa8;                               // 0xa8
336    int xac;                               // 0xac
337    int xb0;                               // 0xb0
338    int xb4;                               // 0xb4
339    int xb8;                               // 0xb8
340    int xbc;                               // 0xbc
341    int xc0;                               // 0xc0
342    int xc4;                               // 0xc4
343    int xc8;                               // 0xc8
344    int xcc;                               // 0xcc
345    int xd0;                               // 0xd0
346    int xd4;                               // 0xd4
347    int xd8;                               // 0xd8
348    int xdc;                               // 0xdc
349    int xe0;                               // 0xe0
350    int xe4;                               // 0xe4
351    int xe8;                               // 0xe8
352    int xec;                               // 0xec
353    int xf0;                               // 0xf0
354    int xf4;                               // 0xf4
355    int xf8;                               // 0xf8
356    int xfc;                               // 0xfc
357    int x100;                              // 0x100
358    int x104;                              // 0x104
359    int x108;                              // 0x108
360    int x10c;                              // 0x10c
361    int x110;                              // 0x110
362    int x114;                              // 0x114
363    int x118;                              // 0x118
364    int x11c;                              // 0x11c
365    int x120;                              // 0x120
366    int x124;                              // 0x124
367    int x128;                              // 0x128
368    int x12c;                              // 0x12c
369    int x130;                              // 0x130
370    int x134;                              // 0x134
371    int x138;                              // 0x138
372    int x13c;                              // 0x13c
373    int x140;                              // 0x140
374    int x144;                              // 0x144
375    int x148;                              // 0x148
376    int x14c;                              // 0x14c
377    int x150;                              // 0x150
378    int x154;                              // 0x154
379    int x158;                              // 0x158
380    int x15c;                              // 0x15c
381    int x160;                              // 0x160
382    int x164;                              // 0x164
383    int x168;                              // 0x168
384    int x16c;                              // 0x16c
385    int x170;                              // 0x170
386    int x174;                              // 0x174
387    int x178;                              // 0x178
388    int x17c;                              // 0x17c
389    int x180;                              // 0x180
390    int x184;                              // 0x184
391    int x188;                              // 0x188
392    int x18c;                              // 0x18c
393    int x190;                              // 0x190
394    int x194;                              // 0x194
395    int x198;                              // 0x198
396    int x19c;                              // 0x19c
397    int x1a0;                              // 0x1a0
398    int x1a4;                              // 0x1a4
399    int x1a8;                              // 0x1a8
400    int x1ac;                              // 0x1ac
401    int x1b0;                              // 0x1b0
402    int x1b4;                              // 0x1b4
403    int x1b8;                              // 0x1b8
404    int x1bc;                              // 0x1bc
405    int x1c0;                              // 0x1c0
406    int x1c4;                              // 0x1c4
407    int x1c8;                              // 0x1c8
408    int x1cc;                              // 0x1cc
409    int x1d0;                              // 0x1d0
410    int x1d4;                              // 0x1d4
411    int x1d8;                              // 0x1d8
412    int x1dc;                              // 0x1dc
413    int x1e0;                              // 0x1e0
414    int x1e4;                              // 0x1e4
415    int x1e8;                              // 0x1e8
416    int x1ec;                              // 0x1ec
417    int x1f0;                              // 0x1f0
418    int x1f4;                              // 0x1f4
419    int x1f8;                              // 0x1f8
420    int x1fc;                              // 0x1fc
421    int x200;                              // 0x200
422    int x204;                              // 0x204
423    int x208;                              // 0x208
424    int x20c;                              // 0x20c
425    int x210;                              // 0x210
426    int x214;                              // 0x214
427    int x218;                              // 0x218
428    int x21c;                              // 0x21c
429    int x220;                              // 0x220
430    int x224;                              // 0x224
431    int x228;                              // 0x228
432    int x22c;                              // 0x22c
433    int x230;                              // 0x230
434    int x234;                              // 0x234
435    int x238;                              // 0x238
436    int x23c;                              // 0x23c
437    int x240;                              // 0x240
438    int x244;                              // 0x244
439    int x248;                              // 0x248
440    int x24c;                              // 0x24c
441    int x250;                              // 0x250
442    int x254;                              // 0x254
443    int x258;                              // 0x258
444    int x25c;                              // 0x25c
445    int x260;                              // 0x260
446    int x264;                              // 0x264
447    int x268;                              // 0x268
448    int x26c;                              // 0x26c
449    int x270;                              // 0x270
450    int x274;                              // 0x274
451    int x278;                              // 0x278
452    int x27c;                              // 0x27c
453    int x280;                              // 0x280
454    int x284;                              // 0x284
455    int x288;                              // 0x288
456    int x28c;                              // 0x28c
457    int x290;                              // 0x290
458    int x294;                              // 0x294
459    int x298;                              // 0x298
460    int x29c;                              // 0x29c
461    int x2a0;                              // 0x2a0
462    int x2a4;                              // 0x2a4
463    int x2a8;                              // 0x2a8
464    int x2ac;                              // 0x2ac
465    int x2b0;                              // 0x2b0
466    int x2b4;                              // 0x2b4
467    int x2b8;                              // 0x2b8
468    int x2bc;                              // 0x2bc
469    float cam_;                            // 0x2c0
470    int x2c4;                              // 0x2c4
471    int x2c8;                              // 0x2c8
472    int x2cc;                              // 0x2cc
473    int x2d0;                              // 0x2d0
474    int x2d4;                              // 0x2d4
475    int x2d8;                              // 0x2d8
476    int x2dc;                              // 0x2dc
477    int x2e0;                              // 0x2e0
478    int x2e4;                              // 0x2e4
479    int x2e8;                              // 0x2e8
480    float freecam_tilt_vertical;           // 0x2ec, uses radians
481    int x2f0;                              // 0x2f0
482    int x2f4;                              // 0x2f4
483    float freecam_zoommax;                 // 0x2f8
484    float freecam_zoommin;                 // 0x2fc
485    int x300;                              // 0x300
486    int x304;                              // 0x304
487    Vec3 freecam_pos;                      // 0x308
488    Vec3 freecam_offset;                   // 0x314                // 0x314
489    Vec2 freecam_rotate;                   // 0x320
490    Vec3 freecam_fov;                      // 0x328
491    int x334;                              // 0x334
492    int x338;                              // 0x338
493    int x33c;                              // 0x33c
494    int x340;                              // 0x340
495    int x344;                              // 0x344
496    int x348;                              // 0x348
497    int x34c;                              // 0x34c
498    int x350;                              // 0x350
499    int x354;                              // 0x354
500    int x358;                              // 0x358
501    int x35c;                              // 0x35c
502    int x360;                              // 0x360
503    int x364;                              // 0x364
504    int x368;                              // 0x368
505    int x36c;                              // 0x36c
506    int x370;                              // 0x370
507    int x374;                              // 0x374
508    int x378;                              // 0x378
509    int x37c;                              // 0x37c
510    int x380;                              // 0x380
511    int x384;                              // 0x384
512    int x388;                              // 0x388
513    int x38c;                              // 0x38c
514    int x390;                              // 0x390
515    int x394;                              // 0x394
516    unsigned char hide_fighters : 1;       // 0x398, 0x80
517    unsigned char hide_items : 1;          // 0x398, 0x40
518    unsigned char hide_stage2 : 1;         // 0x398, 0x20
519    unsigned char hide_effects : 1;        // 0x398, 0x10
520    unsigned char hide_lighting : 1;       // 0x398, 0x08
521    unsigned char hide_background : 1;     // 0x398, 0x04
522    unsigned char item_render_flags : 2;   // 0x398, 0x03
523    unsigned char map_render_flags : 2;    // 0x399, 0xC0, stage gobjs compare this to their render flags and only render if they match
524    unsigned char x399x20 : 1;             // 0x399, 0x20
525    unsigned char show_coll : 1;           // 0x399, 0x10
526    unsigned char show_cam_blastzones : 1; // 0x399, 0x08
527    unsigned char hide_stage : 1;          // 0x399, 0x04
528    unsigned char x399_02 : 1;             // 0x399, 0x02
529    unsigned char x399_01 : 1;             // 0x399, 0x01
530    unsigned char x39a_80 : 1;             // 0x39a, 0x80
531    unsigned char x39a_40 : 1;             // 0x39a, 0x40
532    unsigned char show_item_spawns : 1;    // 0x39a, 0x20
533    unsigned char x39a_10 : 1;             // 0x39a, 0x10
534    unsigned char x39a_08 : 1;             // 0x39a, 0x80
535    unsigned char x39a_04 : 1;             // 0x39a, 0x40
536    unsigned char x39a_02 : 1;             // 0x39a, 0x20
537    unsigned char x39a_01 : 1;             // 0x39a, 0x10
538    char x39b;                             // 0x39b
539    int x39c;                              // 0x39c
540    int x3a0;                              // 0x3a0
541    int x3a4;                              // 0x3a4
542    int x3a8;                              // 0x3a8
543    int x3ac;                              // 0x3ac
544    int x3b0;                              // 0x3b0
545    int x3b4;                              // 0x3b4
546    int x3b8;                              // 0x3b8
547    int x3bc;                              // 0x3bc
548    int x3c0;                              // 0x3c0
549    int x3c4;                              // 0x3c4
550    int x3c8;                              // 0x3c8
551    int x3cc;                              // 0x3cc
552    int x3d0;                              // 0x3d0
553    int x3d4;                              // 0x3d4
554    Vec3 devcam_pos;                       // 0x3d8
555    Vec3 devcam_rot;                       // 0x3e4
556    float devcam_fov;                      // 0x3f0
557    int x3f4;                              // 0x3f4
558    int x3f8;                              // 0x3f8
559    int x3fc;                              // 0x3fc
560};
561
562struct MatchLupe
563{
564    GOBJ *gobj;                 // 0x0
565    JOBJ *arrow_jobj;           // 0x4
566    _HSD_ImageDesc *image_desc; // 0x8 jobj 2 -> dobj -> next -> mobj -> tobj -> imagedesc
567    u8 is_rendred_lupe_cam : 1; // 0xC, 0x80 raised when the lupe cobj detects the fighter is offscreen and renders the low poly model
568    u8 ignore_offscreen : 1;    // 0xC, unk, set to 0 initially
569    u8 offscreen_dir : 6;       // 0xC, 0x3f. 0x2 = left, 0x4 = right
570};
571struct MatchOffscreen
572{
573    JOBJSet *lupe_jobjset; // 0x0
574    GXColor lupe_color[4]; // 0x4
575    MatchLupe lupe[6];
576};
577struct MatchNametags {
578    JOBJSet nametag_jobjset;
579    // initialized in HUD_InitNametag (802fcf38)
580    // GOBJs for the nametags / player indicators
581    GOBJ *gobjs[6];             // 0x10 all are non-null
582};
583
584struct ExclamData
585{
586    GOBJ *gobj;           // 0x0
587    int x4;               // 0x4
588    int x8;               // 0x8
589    int sfx;              // 0xc, -1 for none
590    u8 x10;               // 0x10
591    u8 x11;               // 0x11
592    u8 is_play_sfx12 : 1; // 0x12, 0x80, flags
593    u8 is_play_sfx3 : 1;  // 0x12, 0x40 flags
594    u8 is_exec_func1 : 1; // 0x12, 0x20, flags
595    u8 x12_x10 : 1;       // 0x12, flags
596    u8 x12_x08 : 1;       // 0x12, flags
597    u8 x12_x04 : 1;       // 0x12, flags
598    u8 x12_x02 : 1;       // 0x12, flags
599    u8 x12_x01 : 1;       // 0x12, flags
600    int x14;              // 0x14
601    void *on_start;       // 0x18, executes when exclam starts
602    void *on_end;         // 0x1c, executes when exclam ends
603    int sfx2;             // 0x20, -1 for none
604    int sfx3;             // 0x24, -1 for none
605};
606
607struct PlayerStandings
608{
609    u8 pkind;                 // 0x58
610    u8 ckind;                 // 0x59
611    u8 ftkind;                // 0x5a
612    u8 costume : 6;           // 0x5b costume id
613    u8 is_rumble : 1;         // 0x5b rumble flag
614    u8 is_stamina : 1;        // 0x5b stamina flag
615    u8 nametag;               // 0x5c
616    u8 placement;             // 0x5d, (0 = 1st, 1 = 2nd, etc)
617    u8 x5e;                   // 0x5e, placement again?
618    u8 team;                  // 0x5f, index of this players team
619    u8 stock_num;             // 0x60
620    u8 hp;                    // 0x61
621    u8 sd_num;                // 0x62
622    u8 fall_num;              // 0x63
623    u16 dmg_num;              // 0x64
624    u16 joystick_inputs;      // 0x66, this is weird, its multiplied by 0.9 and then 0.031. results in the number of times you inputted 28 joystick directions
625    u16 kos[6];               // 0x68, indexed per ply
626    int coins;                // 0x74
627    int x78;                  // 0x78
628    int x7c;                  // 0x7c
629    int frames_alive;         // 0x80
630    int death_time;           // 0x84, Time Player Lost All Stocks (Seconds), is 0x1 if player was the last survivor.
631    int x88;                  // 0x88
632    int x8c;                  // 0x8c
633    int hits_landed;          // 0x90, total
634    int attack_num;           // 0x94, total
635    int dmg_dealt;            // 0x98, total
636    int dmg_taken;            // 0x9c, total
637    int xa0;                  // 0xa0
638    int max_dmg_taken;        // 0xa4, per stock
639    int dist_traveled_ground; // 0xa8, only updated when player is actionable
640    int dist_traveled_air;    // 0xac, only updated when player is actionable
641    int dist_fallen;          // 0xb0
642    int dist_hit;             // 0xb4
643    int coins_collected;      // 0xb8
644    int xbc;                  // 0xbc
645    int xc0;                  // 0xc0
646    int seconds_grounded;     // 0xc4
647    int seconds_airborne;     // 0xc8
648    int xcc;                  // 0xcc
649    int xd0;                  // 0xd0
650    int xd4;                  // 0xd4
651    int xd8;                  // 0xd8
652    int xdc;                  // 0xdc
653    int xe0;                  // 0xe0
654    int ledgegrab_num;        // 0xe4
655    int xe8;                  // 0xe8
656    int xec;                  // 0xec
657    int xf0;                  // 0xf0
658    int xf4;                  // 0xf4
659    int xf8;                  // 0xf8
660    int xfc;                  // 0xfc
661};
662
663struct TeamStandings
664{
665    int death_time; // 0x0, does this contain stocks for the winning team?
666    int x4;         // 0x4
667    u8 placement;   // 0x8
668    u8 x9;          // 0x9
669    u8 xa;          // 0xa
670    u8 xb;          // 0xb
671};
672
673struct MatchStandings
674{
675    int x0;                           // 0x24c
676    u8 end_kind;                      // 0x250
677    u8 x5;                            // 0x251
678    u8 is_teams;                      // 0x252
679    int time_frames;                  // 0x254 how many frames passed in the match
680    u8 xc;                            // 0x258
681    u8 winner_num;                    // 0x259 is greater than 1 when a tie occurs
682    u8 placings[4];                   // 0x25a - 0x25d, array of player indices in order of placement
683    int x14;                          // 0x260
684    int x18;                          // 0x264
685    TeamStandings team_standings[5];  // 0x268
686    PlayerStandings ply_standings[6]; // 0x2a4
687};
688
689struct Match // static match struct @ 8046b6a0
690{
691    u8 state;                   // 0x0
692    u8 pauser;                  // 0x1
693    u8 x2;                      // 0x2
694    u8 x3;                      // 0x3
695    u8 x4;                      // 0x4
696    u8 start_exclamation_ended; // 0x5, is 1 when the initial READY GO is ended
697    u8 request_match_end;       // 0x6, will override match end logic and set kind to
698    u8 x7;                      // 0x7
699    u8 end_kind;                // 0x8
700    u8 x9;                      // 0x8
701    u8 xa;                      // 0x8
702    u8 xb;                      // 0x8
703    int xc;                     // 0xc
704    int end_sfx_announcer;      // 0x10
705    int end_sfx_crowd;          // 0x14
706    int x18;                    // 0x18
707    int x1c;                    // 0x1c
708    int x20;                    // 0x20
709    int time_frames;            // 0x24
710    int time_seconds;           // 0x28
711    u16 time_ms;                // 0x2c, counts frame 0-59
712    int x30;                    // 0x30
713    int x34;                    // 0x34
714    int x38;                    // 0x38
715    int x3c;                    // 0x3c
716    int x40;                    // 0x40
717    int x44;                    // 0x44
718    int x48;                    // 0x48
719    int x4c;                    // 0x4c
720    int x50;                    // 0x50
721    int x54;                    // 0x54
722    int x58;                    // 0x58
723    int x5c;                    // 0x5c
724    int x60;                    // 0x60
725    int x64;                    // 0x64
726    int x68;                    // 0x68
727    int x6c;                    // 0x6c
728    int x70;                    // 0x70
729    int x74;                    // 0x74
730    int x78;                    // 0x78
731    int x7c;                    // 0x7c
732    int x80;                    // 0x80
733    int x84;                    // 0x84
734    int x88;                    // 0x88
735    int x8c;                    // 0x8c
736    int x90;                    // 0x90
737    int x94;                    // 0x94
738    int x98;                    // 0x98
739    int x9c;                    // 0x9c
740    int xa0;                    // 0xa0
741    int xa4;                    // 0xa4
742    int xa8;                    // 0xa8
743    int xac;                    // 0xac
744    int xb0;                    // 0xb0
745    int xb4;                    // 0xb4
746    int xb8;                    // 0xb8
747    int xbc;                    // 0xbc
748    int xc0;                    // 0xc0
749    int xc4;                    // 0xc4
750    int xc8;                    // 0xc8
751    int xcc;                    // 0xcc
752    int xd0;                    // 0xd0
753    int xd4;                    // 0xd4
754    int xd8;                    // 0xd8
755    int xdc;                    // 0xdc
756    int xe0;                    // 0xe0
757    int xe4;                    // 0xe4
758    int xe8;                    // 0xe8
759    int xec;                    // 0xec
760    int xf0;                    // 0xf0
761    int xf4;                    // 0xf4
762    int xf8;                    // 0xf8
763    int xfc;                    // 0xfc
764    int x100;                   // 0x100
765    int x104;                   // 0x104
766    int x108;                   // 0x108
767    int x10c;                   // 0x10c
768    int x110;                   // 0x110
769    int x114;                   // 0x114
770    int x118;                   // 0x118
771    int x11c;                   // 0x11c
772    int x120;                   // 0x120
773    int x124;                   // 0x124
774    int x128;                   // 0x128
775    int x12c;                   // 0x12c
776    int x130;                   // 0x130
777    int x134;                   // 0x134
778    int x138;                   // 0x138
779    int x13c;                   // 0x13c
780    int x140;                   // 0x140
781    int x144;                   // 0x144
782    int x148;                   // 0x148
783    int x14c;                   // 0x14c
784    int x150;                   // 0x150
785    int x154;                   // 0x154
786    int x158;                   // 0x158
787    int x15c;                   // 0x15c
788    int x160;                   // 0x160
789    int x164;                   // 0x164
790    int x168;                   // 0x168
791    int x16c;                   // 0x16c
792    int x170;                   // 0x170
793    int x174;                   // 0x174
794    int x178;                   // 0x178
795    int x17c;                   // 0x17c
796    int x180;                   // 0x180
797    int x184;                   // 0x184
798    int x188;                   // 0x188
799    int x18c;                   // 0x18c
800    int x190;                   // 0x190
801    int x194;                   // 0x194
802    int x198;                   // 0x198
803    int x19c;                   // 0x19c
804    int x1a0;                   // 0x1a0
805    int x1a4;                   // 0x1a4
806    int x1a8;                   // 0x1a8
807    int x1ac;                   // 0x1ac
808    int x1b0;                   // 0x1b0
809    int x1b4;                   // 0x1b4
810    int x1b8;                   // 0x1b8
811    int x1bc;                   // 0x1bc
812    int x1c0;                   // 0x1c0
813    int x1c4;                   // 0x1c4
814    int x1c8;                   // 0x1c8
815    int x1cc;                   // 0x1cc
816    int x1d0;                   // 0x1d0
817    int x1d4;                   // 0x1d4
818    int x1d8;                   // 0x1d8
819    int x1dc;                   // 0x1dc
820    int x1e0;                   // 0x1e0
821    int x1e4;                   // 0x1e4
822    int x1e8;                   // 0x1e8
823    int x1ec;                   // 0x1ec
824    int x1f0;                   // 0x1f0
825    int x1f4;                   // 0x1f4
826    int x1f8;                   // 0x1f8
827    int x1fc;                   // 0x1fc
828    int x200;                   // 0x200
829    int x204;                   // 0x204
830    int x208;                   // 0x208
831    int x20c;                   // 0x20c
832    int x210;                   // 0x210
833    int x214;                   // 0x214
834    int x218;                   // 0x218
835    int x21c;                   // 0x21c
836    int x220;                   // 0x220
837    int x224;                   // 0x224
838    int x228;                   // 0x228
839    int x22c;                   // 0x22c
840    int x230;                   // 0x230
841    int x234;                   // 0x234
842    int x238;                   // 0x238
843    int x23c;                   // 0x23c
844    int x240;                   // 0x240
845    int x244;                   // 0x244
846    int x248;                   // 0x248
847    MatchStandings standings;   // 0x24c
848    int x694;                   // 0x694
849    int x698;                   // 0x698
850    int x69c;                   // 0x69c
851    int x6a0;                   // 0x6a0
852    int x6a4;                   // 0x6a4
853    int x6a8;                   // 0x6a8
854    int x6ac;                   // 0x6ac
855    int x6b0;                   // 0x6b0
856    int x6b4;                   // 0x6b4
857    int x6b8;                   // 0x6b8
858    int x6bc;                   // 0x6bc
859    int x6c0;                   // 0x6c0
860    int x6c4;                   // 0x6c4
861    int x6c8;                   // 0x6c8
862    int x6cc;                   // 0x6cc
863    int x6d0;                   // 0x6d0
864    int x6d4;                   // 0x6d4
865    int x6d8;                   // 0x6d8
866    int x6dc;                   // 0x6dc
867    int x6e0;                   // 0x6e0
868    int x6e4;                   // 0x6e4
869    int x6e8;                   // 0x6e8
870    int x6ec;                   // 0x6ec
871    int x6f0;                   // 0x6f0
872    int x6f4;                   // 0x6f4
873    int x6f8;                   // 0x6f8
874    int x6fc;                   // 0x6fc
875    int x700;                   // 0x700
876    int x704;                   // 0x704
877    int x708;                   // 0x708
878    int x70c;                   // 0x70c
879    int x710;                   // 0x710
880    int x714;                   // 0x714
881    int x718;                   // 0x718
882    int x71c;                   // 0x71c
883    int x720;                   // 0x720
884    int x724;                   // 0x724
885    int x728;                   // 0x728
886    int x72c;                   // 0x72c
887    int x730;                   // 0x730
888    int x734;                   // 0x734
889    int x738;                   // 0x738
890    int x73c;                   // 0x73c
891    int x740;                   // 0x740
892    int x744;                   // 0x744
893    int x748;                   // 0x748
894    int x74c;                   // 0x74c
895    int x750;                   // 0x750
896    int x754;                   // 0x754
897    int x758;                   // 0x758
898    int x75c;                   // 0x75c
899    int x760;                   // 0x760
900    int x764;                   // 0x764
901    int x768;                   // 0x768
902    int x76c;                   // 0x76c
903    int x770;                   // 0x770
904    int x774;                   // 0x774
905    int x778;                   // 0x778
906    int x77c;                   // 0x77c
907    int x780;                   // 0x780
908    int x784;                   // 0x784
909    int x788;                   // 0x788
910    int x78c;                   // 0x78c
911    int x790;                   // 0x790
912    int x794;                   // 0x794
913    int x798;                   // 0x798
914    int x79c;                   // 0x79c
915    int x7a0;                   // 0x7a0
916    int x7a4;                   // 0x7a4
917    int x7a8;                   // 0x7a8
918    int x7ac;                   // 0x7ac
919    int x7b0;                   // 0x7b0
920    int x7b4;                   // 0x7b4
921    int x7b8;                   // 0x7b8
922    int x7bc;                   // 0x7bc
923    int x7c0;                   // 0x7c0
924    int x7c4;                   // 0x7c4
925    int x7c8;                   // 0x7c8
926    int x7cc;                   // 0x7cc
927    int x7d0;                   // 0x7d0
928    int x7d4;                   // 0x7d4
929    int x7d8;                   // 0x7d8
930    int x7dc;                   // 0x7dc
931    int x7e0;                   // 0x7e0
932    int x7e4;                   // 0x7e4
933    int x7e8;                   // 0x7e8
934    int x7ec;                   // 0x7ec
935    int x7f0;                   // 0x7f0
936    int x7f4;                   // 0x7f4
937    int x7f8;                   // 0x7f8
938    int x7fc;                   // 0x7fc
939    int x800;                   // 0x800
940    int x804;                   // 0x804
941    int x808;                   // 0x808
942    int x80c;                   // 0x80c
943    int x810;                   // 0x810
944    int x814;                   // 0x814
945    int x818;                   // 0x818
946    int x81c;                   // 0x81c
947    int x820;                   // 0x820
948    int x824;                   // 0x824
949    int x828;                   // 0x828
950    int x82c;                   // 0x82c
951    int x830;                   // 0x830
952    int x834;                   // 0x834
953    int x838;                   // 0x838
954    int x83c;                   // 0x83c
955    int x840;                   // 0x840
956    int x844;                   // 0x844
957    int x848;                   // 0x848
958    int x84c;                   // 0x84c
959    int x850;                   // 0x850
960    int x854;                   // 0x854
961    int x858;                   // 0x858
962    int x85c;                   // 0x85c
963    int x860;                   // 0x860
964    int x864;                   // 0x864
965    int x868;                   // 0x868
966    int x86c;                   // 0x86c
967    int x870;                   // 0x870
968    int x874;                   // 0x874
969    int x878;                   // 0x878
970    int x87c;                   // 0x87c
971    int x880;                   // 0x880
972    int x884;                   // 0x884
973    int x888;                   // 0x888
974    int x88c;                   // 0x88c
975    int x890;                   // 0x890
976    int x894;                   // 0x894
977    int x898;                   // 0x898
978    int x89c;                   // 0x89c
979    int x8a0;                   // 0x8a0
980    int x8a4;                   // 0x8a4
981    int x8a8;                   // 0x8a8
982    int x8ac;                   // 0x8ac
983    int x8b0;                   // 0x8b0
984    int x8b4;                   // 0x8b4
985    int x8b8;                   // 0x8b8
986    int x8bc;                   // 0x8bc
987    int x8c0;                   // 0x8c0
988    int x8c4;                   // 0x8c4
989    int x8c8;                   // 0x8c8
990    int x8cc;                   // 0x8cc
991    int x8d0;                   // 0x8d0
992    int x8d4;                   // 0x8d4
993    int x8d8;                   // 0x8d8
994    int x8dc;                   // 0x8dc
995    int x8e0;                   // 0x8e0
996    int x8e4;                   // 0x8e4
997    int x8e8;                   // 0x8e8
998    int x8ec;                   // 0x8ec
999    int x8f0;                   // 0x8f0
1000    int x8f4;                   // 0x8f4
1001    int x8f8;                   // 0x8f8
1002    int x8fc;                   // 0x8fc
1003    int x900;                   // 0x900
1004    int x904;                   // 0x904
1005    int x908;                   // 0x908
1006    int x90c;                   // 0x90c
1007    int x910;                   // 0x910
1008    int x914;                   // 0x914
1009    int x918;                   // 0x918
1010    int x91c;                   // 0x91c
1011    int x920;                   // 0x920
1012    int x924;                   // 0x924
1013    int x928;                   // 0x928
1014    int x92c;                   // 0x92c
1015    int x930;                   // 0x930
1016    int x934;                   // 0x934
1017    int x938;                   // 0x938
1018    int x93c;                   // 0x93c
1019    int x940;                   // 0x940
1020    int x944;                   // 0x944
1021    int x948;                   // 0x948
1022    int x94c;                   // 0x94c
1023    int x950;                   // 0x950
1024    int x954;                   // 0x954
1025    int x958;                   // 0x958
1026    int x95c;                   // 0x95c
1027    int x960;                   // 0x960
1028    int x964;                   // 0x964
1029    int x968;                   // 0x968
1030    int x96c;                   // 0x96c
1031    int x970;                   // 0x970
1032    int x974;                   // 0x974
1033    int x978;                   // 0x978
1034    int x97c;                   // 0x97c
1035    int x980;                   // 0x980
1036    int x984;                   // 0x984
1037    int x988;                   // 0x988
1038    int x98c;                   // 0x98c
1039    int x990;                   // 0x990
1040    int x994;                   // 0x994
1041    int x998;                   // 0x998
1042    int x99c;                   // 0x99c
1043    int x9a0;                   // 0x9a0
1044    int x9a4;                   // 0x9a4
1045    int x9a8;                   // 0x9a8
1046    int x9ac;                   // 0x9ac
1047    int x9b0;                   // 0x9b0
1048    int x9b4;                   // 0x9b4
1049    int x9b8;                   // 0x9b8
1050    int x9bc;                   // 0x9bc
1051    int x9c0;                   // 0x9c0
1052    int x9c4;                   // 0x9c4
1053    int x9c8;                   // 0x9c8
1054    int x9cc;                   // 0x9cc
1055    int x9d0;                   // 0x9d0
1056    int x9d4;                   // 0x9d4
1057    int x9d8;                   // 0x9d8
1058    int x9dc;                   // 0x9dc
1059    int x9e0;                   // 0x9e0
1060    int x9e4;                   // 0x9e4
1061    int x9e8;                   // 0x9e8
1062    int x9ec;                   // 0x9ec
1063    int x9f0;                   // 0x9f0
1064    int x9f4;                   // 0x9f4
1065    int x9f8;                   // 0x9f8
1066    int x9fc;                   // 0x9fc
1067    int xa00;                   // 0xa00
1068    int xa04;                   // 0xa04
1069    int xa08;                   // 0xa08
1070    int xa0c;                   // 0xa0c
1071    int xa10;                   // 0xa10
1072    int xa14;                   // 0xa14
1073    int xa18;                   // 0xa18
1074    int xa1c;                   // 0xa1c
1075    int xa20;                   // 0xa20
1076    int xa24;                   // 0xa24
1077    int xa28;                   // 0xa28
1078    int xa2c;                   // 0xa2c
1079    int xa30;                   // 0xa30
1080    int xa34;                   // 0xa34
1081    int xa38;                   // 0xa38
1082    int xa3c;                   // 0xa3c
1083    int xa40;                   // 0xa40
1084    int xa44;                   // 0xa44
1085    int xa48;                   // 0xa48
1086    int xa4c;                   // 0xa4c
1087    int xa50;                   // 0xa50
1088    int xa54;                   // 0xa54
1089    int xa58;                   // 0xa58
1090    int xa5c;                   // 0xa5c
1091    int xa60;                   // 0xa60
1092    int xa64;                   // 0xa64
1093    int xa68;                   // 0xa68
1094    int xa6c;                   // 0xa6c
1095    int xa70;                   // 0xa70
1096    int xa74;                   // 0xa74
1097    int xa78;                   // 0xa78
1098    int xa7c;                   // 0xa7c
1099    int xa80;                   // 0xa80
1100    int xa84;                   // 0xa84
1101    int xa88;                   // 0xa88
1102    int xa8c;                   // 0xa8c
1103    int xa90;                   // 0xa90
1104    int xa94;                   // 0xa94
1105    int xa98;                   // 0xa98
1106    int xa9c;                   // 0xa9c
1107    int xaa0;                   // 0xaa0
1108    int xaa4;                   // 0xaa4
1109    int xaa8;                   // 0xaa8
1110    int xaac;                   // 0xaac
1111    int xab0;                   // 0xab0
1112    int xab4;                   // 0xab4
1113    int xab8;                   // 0xab8
1114    int xabc;                   // 0xabc
1115    int xac0;                   // 0xac0
1116    int xac4;                   // 0xac4
1117    int xac8;                   // 0xac8
1118    int xacc;                   // 0xacc
1119    int xad0;                   // 0xad0
1120    int xad4;                   // 0xad4
1121    int xad8;                   // 0xad8
1122    int xadc;                   // 0xadc
1123    int xae0;                   // 0xae0
1124    int xae4;                   // 0xae4
1125    int xae8;                   // 0xae8
1126    int xaec;                   // 0xaec
1127    int xaf0;                   // 0xaf0
1128    int xaf4;                   // 0xaf4
1129    int xaf8;                   // 0xaf8
1130    int xafc;                   // 0xafc
1131    int xb00;                   // 0xb00
1132    int xb04;                   // 0xb04
1133    int xb08;                   // 0xb08
1134    int xb0c;                   // 0xb0c
1135    int xb10;                   // 0xb10
1136    int xb14;                   // 0xb14
1137    int xb18;                   // 0xb18
1138    int xb1c;                   // 0xb1c
1139    int xb20;                   // 0xb20
1140    int xb24;                   // 0xb24
1141    int xb28;                   // 0xb28
1142    int xb2c;                   // 0xb2c
1143    int xb30;                   // 0xb30
1144    int xb34;                   // 0xb34
1145    int xb38;                   // 0xb38
1146    int xb3c;                   // 0xb3c
1147    int xb40;                   // 0xb40
1148    int xb44;                   // 0xb44
1149    int xb48;                   // 0xb48
1150    int xb4c;                   // 0xb4c
1151    int xb50;                   // 0xb50
1152    int xb54;                   // 0xb54
1153    int xb58;                   // 0xb58
1154    int xb5c;                   // 0xb5c
1155    int xb60;                   // 0xb60
1156    int xb64;                   // 0xb64
1157    int xb68;                   // 0xb68
1158    int xb6c;                   // 0xb6c
1159    int xb70;                   // 0xb70
1160    int xb74;                   // 0xb74
1161    int xb78;                   // 0xb78
1162    int xb7c;                   // 0xb7c
1163    int xb80;                   // 0xb80
1164    int xb84;                   // 0xb84
1165    int xb88;                   // 0xb88
1166    int xb8c;                   // 0xb8c
1167    int xb90;                   // 0xb90
1168    int xb94;                   // 0xb94
1169    int xb98;                   // 0xb98
1170    int xb9c;                   // 0xb9c
1171    int xba0;                   // 0xba0
1172    int xba4;                   // 0xba4
1173    int xba8;                   // 0xba8
1174    int xbac;                   // 0xbac
1175    int xbb0;                   // 0xbb0
1176    int xbb4;                   // 0xbb4
1177    int xbb8;                   // 0xbb8
1178    int xbbc;                   // 0xbbc
1179    int xbc0;                   // 0xbc0
1180    int xbc4;                   // 0xbc4
1181    int xbc8;                   // 0xbc8
1182    int xbcc;                   // 0xbcc
1183    int xbd0;                   // 0xbd0
1184    int xbd4;                   // 0xbd4
1185    int xbd8;                   // 0xbd8
1186    int xbdc;                   // 0xbdc
1187    int xbe0;                   // 0xbe0
1188    int xbe4;                   // 0xbe4
1189    int xbe8;                   // 0xbe8
1190    int xbec;                   // 0xbec
1191    int xbf0;                   // 0xbf0
1192    int xbf4;                   // 0xbf4
1193    int xbf8;                   // 0xbf8
1194    int xbfc;                   // 0xbfc
1195    int xc00;                   // 0xc00
1196    int xc04;                   // 0xc04
1197    int xc08;                   // 0xc08
1198    int xc0c;                   // 0xc0c
1199    int xc10;                   // 0xc10
1200    int xc14;                   // 0xc14
1201    int xc18;                   // 0xc18
1202    int xc1c;                   // 0xc1c
1203    int xc20;                   // 0xc20
1204    int xc24;                   // 0xc24
1205    int xc28;                   // 0xc28
1206    int xc2c;                   // 0xc2c
1207    int xc30;                   // 0xc30
1208    int xc34;                   // 0xc34
1209    int xc38;                   // 0xc38
1210    int xc3c;                   // 0xc3c
1211    int xc40;                   // 0xc40
1212    int xc44;                   // 0xc44
1213    int xc48;                   // 0xc48
1214    int xc4c;                   // 0xc4c
1215    int xc50;                   // 0xc50
1216    int xc54;                   // 0xc54
1217    int xc58;                   // 0xc58
1218    int xc5c;                   // 0xc5c
1219    int xc60;                   // 0xc60
1220    int xc64;                   // 0xc64
1221    int xc68;                   // 0xc68
1222    int xc6c;                   // 0xc6c
1223    int xc70;                   // 0xc70
1224    int xc74;                   // 0xc74
1225    int xc78;                   // 0xc78
1226    int xc7c;                   // 0xc7c
1227    int xc80;                   // 0xc80
1228    int xc84;                   // 0xc84
1229    int xc88;                   // 0xc88
1230    int xc8c;                   // 0xc8c
1231    int xc90;                   // 0xc90
1232    int xc94;                   // 0xc94
1233    int xc98;                   // 0xc98
1234    int xc9c;                   // 0xc9c
1235    int xca0;                   // 0xca0
1236    int xca4;                   // 0xca4
1237    int xca8;                   // 0xca8
1238    int xcac;                   // 0xcac
1239    int xcb0;                   // 0xcb0
1240    int xcb4;                   // 0xcb4
1241    int xcb8;                   // 0xcb8
1242    int xcbc;                   // 0xcbc
1243    int xcc0;                   // 0xcc0
1244    int xcc4;                   // 0xcc4
1245    int xcc8;                   // 0xcc8
1246    int xccc;                   // 0xccc
1247    int xcd0;                   // 0xcd0
1248    int xcd4;                   // 0xcd4
1249    int xcd8;                   // 0xcd8
1250    int xcdc;                   // 0xcdc
1251    int xce0;                   // 0xce0
1252    int xce4;                   // 0xce4
1253    int xce8;                   // 0xce8
1254    int xcec;                   // 0xcec
1255    int xcf0;                   // 0xcf0
1256    int xcf4;                   // 0xcf4
1257    int xcf8;                   // 0xcf8
1258    int xcfc;                   // 0xcfc
1259    int xd00;                   // 0xd00
1260    int xd04;                   // 0xd04
1261    int xd08;                   // 0xd08
1262    int xd0c;                   // 0xd0c
1263    int xd10;                   // 0xd10
1264    int xd14;                   // 0xd14
1265    int xd18;                   // 0xd18
1266    int xd1c;                   // 0xd1c
1267    int xd20;                   // 0xd20
1268    int xd24;                   // 0xd24
1269    int xd28;                   // 0xd28
1270    int xd2c;                   // 0xd2c
1271    int xd30;                   // 0xd30
1272    int xd34;                   // 0xd34
1273    int xd38;                   // 0xd38
1274    int xd3c;                   // 0xd3c
1275    int xd40;                   // 0xd40
1276    int xd44;                   // 0xd44
1277    int xd48;                   // 0xd48
1278    int xd4c;                   // 0xd4c
1279    int xd50;                   // 0xd50
1280    int xd54;                   // 0xd54
1281    int xd58;                   // 0xd58
1282    int xd5c;                   // 0xd5c
1283    int xd60;                   // 0xd60
1284    int xd64;                   // 0xd64
1285    int xd68;                   // 0xd68
1286    int xd6c;                   // 0xd6c
1287    int xd70;                   // 0xd70
1288    int xd74;                   // 0xd74
1289    int xd78;                   // 0xd78
1290    int xd7c;                   // 0xd7c
1291    int xd80;                   // 0xd80
1292    int xd84;                   // 0xd84
1293    int xd88;                   // 0xd88
1294    int xd8c;                   // 0xd8c
1295    int xd90;                   // 0xd90
1296    int xd94;                   // 0xd94
1297    int xd98;                   // 0xd98
1298    int xd9c;                   // 0xd9c
1299    int xda0;                   // 0xda0
1300    int xda4;                   // 0xda4
1301    int xda8;                   // 0xda8
1302    int xdac;                   // 0xdac
1303    int xdb0;                   // 0xdb0
1304    int xdb4;                   // 0xdb4
1305    int xdb8;                   // 0xdb8
1306    int xdbc;                   // 0xdbc
1307    int xdc0;                   // 0xdc0
1308    int xdc4;                   // 0xdc4
1309    int xdc8;                   // 0xdc8
1310    int xdcc;                   // 0xdcc
1311    int xdd0;                   // 0xdd0
1312    int xdd4;                   // 0xdd4
1313    int xdd8;                   // 0xdd8
1314    int xddc;                   // 0xddc
1315    int xde0;                   // 0xde0
1316    int xde4;                   // 0xde4
1317    int xde8;                   // 0xde8
1318    int xdec;                   // 0xdec
1319    int xdf0;                   // 0xdf0
1320    int xdf4;                   // 0xdf4
1321    int xdf8;                   // 0xdf8
1322    int xdfc;                   // 0xdfc
1323    int xe00;                   // 0xe00
1324    int xe04;                   // 0xe04
1325    int xe08;                   // 0xe08
1326    int xe0c;                   // 0xe0c
1327    int xe10;                   // 0xe10
1328    int xe14;                   // 0xe14
1329    int xe18;                   // 0xe18
1330    int xe1c;                   // 0xe1c
1331    int xe20;                   // 0xe20
1332    int xe24;                   // 0xe24
1333    int xe28;                   // 0xe28
1334    int xe2c;                   // 0xe2c
1335    int xe30;                   // 0xe30
1336    int xe34;                   // 0xe34
1337    int xe38;                   // 0xe38
1338    int xe3c;                   // 0xe3c
1339    int xe40;                   // 0xe40
1340    int xe44;                   // 0xe44
1341    int xe48;                   // 0xe48
1342    int xe4c;                   // 0xe4c
1343    int xe50;                   // 0xe50
1344    int xe54;                   // 0xe54
1345    int xe58;                   // 0xe58
1346    int xe5c;                   // 0xe5c
1347    int xe60;                   // 0xe60
1348    int xe64;                   // 0xe64
1349    int xe68;                   // 0xe68
1350    int xe6c;                   // 0xe6c
1351    int xe70;                   // 0xe70
1352    int xe74;                   // 0xe74
1353    int xe78;                   // 0xe78
1354    int xe7c;                   // 0xe7c
1355    int xe80;                   // 0xe80
1356    int xe84;                   // 0xe84
1357    int xe88;                   // 0xe88
1358    int xe8c;                   // 0xe8c
1359    int xe90;                   // 0xe90
1360    int xe94;                   // 0xe94
1361    int xe98;                   // 0xe98
1362    int xe9c;                   // 0xe9c
1363    int xea0;                   // 0xea0
1364    int xea4;                   // 0xea4
1365    int xea8;                   // 0xea8
1366    int xeac;                   // 0xeac
1367    int xeb0;                   // 0xeb0
1368    int xeb4;                   // 0xeb4
1369    int xeb8;                   // 0xeb8
1370    int xebc;                   // 0xebc
1371    int xec0;                   // 0xec0
1372    int xec4;                   // 0xec4
1373    int xec8;                   // 0xec8
1374    int xecc;                   // 0xecc
1375    int xed0;                   // 0xed0
1376    int xed4;                   // 0xed4
1377    int xed8;                   // 0xed8
1378    int xedc;                   // 0xedc
1379    int xee0;                   // 0xee0
1380    int xee4;                   // 0xee4
1381    int xee8;                   // 0xee8
1382    int xeec;                   // 0xeec
1383    int xef0;                   // 0xef0
1384    int xef4;                   // 0xef4
1385    int xef8;                   // 0xef8
1386    int xefc;                   // 0xefc
1387    int xf00;                   // 0xf00
1388    int xf04;                   // 0xf04
1389    int xf08;                   // 0xf08
1390    int xf0c;                   // 0xf0c
1391    int xf10;                   // 0xf10
1392    int xf14;                   // 0xf14
1393    int xf18;                   // 0xf18
1394    int xf1c;                   // 0xf1c
1395    int xf20;                   // 0xf20
1396    int xf24;                   // 0xf24
1397    int xf28;                   // 0xf28
1398    int xf2c;                   // 0xf2c
1399    int xf30;                   // 0xf30
1400    int xf34;                   // 0xf34
1401    int xf38;                   // 0xf38
1402    int xf3c;                   // 0xf3c
1403    int xf40;                   // 0xf40
1404    int xf44;                   // 0xf44
1405    int xf48;                   // 0xf48
1406    int xf4c;                   // 0xf4c
1407    int xf50;                   // 0xf50
1408    int xf54;                   // 0xf54
1409    int xf58;                   // 0xf58
1410    int xf5c;                   // 0xf5c
1411    int xf60;                   // 0xf60
1412    int xf64;                   // 0xf64
1413    int xf68;                   // 0xf68
1414    int xf6c;                   // 0xf6c
1415    int xf70;                   // 0xf70
1416    int xf74;                   // 0xf74
1417    int xf78;                   // 0xf78
1418    int xf7c;                   // 0xf7c
1419    int xf80;                   // 0xf80
1420    int xf84;                   // 0xf84
1421    int xf88;                   // 0xf88
1422    int xf8c;                   // 0xf8c
1423    int xf90;                   // 0xf90
1424    int xf94;                   // 0xf94
1425    int xf98;                   // 0xf98
1426    int xf9c;                   // 0xf9c
1427    int xfa0;                   // 0xfa0
1428    int xfa4;                   // 0xfa4
1429    int xfa8;                   // 0xfa8
1430    int xfac;                   // 0xfac
1431    int xfb0;                   // 0xfb0
1432    int xfb4;                   // 0xfb4
1433    int xfb8;                   // 0xfb8
1434    int xfbc;                   // 0xfbc
1435    int xfc0;                   // 0xfc0
1436    int xfc4;                   // 0xfc4
1437    int xfc8;                   // 0xfc8
1438    int xfcc;                   // 0xfcc
1439    int xfd0;                   // 0xfd0
1440    int xfd4;                   // 0xfd4
1441    int xfd8;                   // 0xfd8
1442    int xfdc;                   // 0xfdc
1443    int xfe0;                   // 0xfe0
1444    int xfe4;                   // 0xfe4
1445    int xfe8;                   // 0xfe8
1446    int xfec;                   // 0xfec
1447    int xff0;                   // 0xff0
1448    int xff4;                   // 0xff4
1449    int xff8;                   // 0xff8
1450    int xffc;                   // 0xffc
1451    int x1000;                  // 0x1000
1452    int x1004;                  // 0x1004
1453    int x1008;                  // 0x1008
1454    int x100c;                  // 0x100c
1455    int x1010;                  // 0x1010
1456    int x1014;                  // 0x1014
1457    int x1018;                  // 0x1018
1458    int x101c;                  // 0x101c
1459    int x1020;                  // 0x1020
1460    int x1024;                  // 0x1024
1461    int x1028;                  // 0x1028
1462    int x102c;                  // 0x102c
1463    int x1030;                  // 0x1030
1464    int x1034;                  // 0x1034
1465    int x1038;                  // 0x1038
1466    int x103c;                  // 0x103c
1467    int x1040;                  // 0x1040
1468    int x1044;                  // 0x1044
1469    int x1048;                  // 0x1048
1470    int x104c;                  // 0x104c
1471    int x1050;                  // 0x1050
1472    int x1054;                  // 0x1054
1473    int x1058;                  // 0x1058
1474    int x105c;                  // 0x105c
1475    int x1060;                  // 0x1060
1476    int x1064;                  // 0x1064
1477    int x1068;                  // 0x1068
1478    int x106c;                  // 0x106c
1479    int x1070;                  // 0x1070
1480    int x1074;                  // 0x1074
1481    int x1078;                  // 0x1078
1482    int x107c;                  // 0x107c
1483    int x1080;                  // 0x1080
1484    int x1084;                  // 0x1084
1485    int x1088;                  // 0x1088
1486    int x108c;                  // 0x108c
1487    int x1090;                  // 0x1090
1488    int x1094;                  // 0x1094
1489    int x1098;                  // 0x1098
1490    int x109c;                  // 0x109c
1491    int x10a0;                  // 0x10a0
1492    int x10a4;                  // 0x10a4
1493    int x10a8;                  // 0x10a8
1494    int x10ac;                  // 0x10ac
1495    int x10b0;                  // 0x10b0
1496    int x10b4;                  // 0x10b4
1497    int x10b8;                  // 0x10b8
1498    int x10bc;                  // 0x10bc
1499    int x10c0;                  // 0x10c0
1500    int x10c4;                  // 0x10c4
1501    int x10c8;                  // 0x10c8
1502    int x10cc;                  // 0x10cc
1503    int x10d0;                  // 0x10d0
1504    int x10d4;                  // 0x10d4
1505    int x10d8;                  // 0x10d8
1506    int x10dc;                  // 0x10dc
1507    int x10e0;                  // 0x10e0
1508    int x10e4;                  // 0x10e4
1509    int x10e8;                  // 0x10e8
1510    int x10ec;                  // 0x10ec
1511    int x10f0;                  // 0x10f0
1512    int x10f4;                  // 0x10f4
1513    int x10f8;                  // 0x10f8
1514    int x10fc;                  // 0x10fc
1515    int x1100;                  // 0x1100
1516    int x1104;                  // 0x1104
1517    int x1108;                  // 0x1108
1518    int x110c;                  // 0x110c
1519    int x1110;                  // 0x1110
1520    int x1114;                  // 0x1114
1521    int x1118;                  // 0x1118
1522    int x111c;                  // 0x111c
1523    int x1120;                  // 0x1120
1524    int x1124;                  // 0x1124
1525    int x1128;                  // 0x1128
1526    int x112c;                  // 0x112c
1527    int x1130;                  // 0x1130
1528    int x1134;                  // 0x1134
1529    int x1138;                  // 0x1138
1530    int x113c;                  // 0x113c
1531    int x1140;                  // 0x1140
1532    int x1144;                  // 0x1144
1533    int x1148;                  // 0x1148
1534    int x114c;                  // 0x114c
1535    int x1150;                  // 0x1150
1536    int x1154;                  // 0x1154
1537    int x1158;                  // 0x1158
1538    int x115c;                  // 0x115c
1539    int x1160;                  // 0x1160
1540    int x1164;                  // 0x1164
1541    int x1168;                  // 0x1168
1542    int x116c;                  // 0x116c
1543    int x1170;                  // 0x1170
1544    int x1174;                  // 0x1174
1545    int x1178;                  // 0x1178
1546    int x117c;                  // 0x117c
1547    int x1180;                  // 0x1180
1548    int x1184;                  // 0x1184
1549    int x1188;                  // 0x1188
1550    int x118c;                  // 0x118c
1551    int x1190;                  // 0x1190
1552    int x1194;                  // 0x1194
1553    int x1198;                  // 0x1198
1554    int x119c;                  // 0x119c
1555    int x11a0;                  // 0x11a0
1556    int x11a4;                  // 0x11a4
1557    int x11a8;                  // 0x11a8
1558    int x11ac;                  // 0x11ac
1559    int x11b0;                  // 0x11b0
1560    int x11b4;                  // 0x11b4
1561    int x11b8;                  // 0x11b8
1562    int x11bc;                  // 0x11bc
1563    int x11c0;                  // 0x11c0
1564    int x11c4;                  // 0x11c4
1565    int x11c8;                  // 0x11c8
1566    int x11cc;                  // 0x11cc
1567    int x11d0;                  // 0x11d0
1568    int x11d4;                  // 0x11d4
1569    int x11d8;                  // 0x11d8
1570    int x11dc;                  // 0x11dc
1571    int x11e0;                  // 0x11e0
1572    int x11e4;                  // 0x11e4
1573    int x11e8;                  // 0x11e8
1574    int x11ec;                  // 0x11ec
1575    int x11f0;                  // 0x11f0
1576    int x11f4;                  // 0x11f4
1577    int x11f8;                  // 0x11f8
1578    int x11fc;                  // 0x11fc
1579    int x1200;                  // 0x1200
1580    int x1204;                  // 0x1204
1581    int x1208;                  // 0x1208
1582    int x120c;                  // 0x120c
1583    int x1210;                  // 0x1210
1584    int x1214;                  // 0x1214
1585    int x1218;                  // 0x1218
1586    int x121c;                  // 0x121c
1587    int x1220;                  // 0x1220
1588    int x1224;                  // 0x1224
1589    int x1228;                  // 0x1228
1590    int x122c;                  // 0x122c
1591    int x1230;                  // 0x1230
1592    int x1234;                  // 0x1234
1593    int x1238;                  // 0x1238
1594    int x123c;                  // 0x123c
1595    int x1240;                  // 0x1240
1596    int x1244;                  // 0x1244
1597    int x1248;                  // 0x1248
1598    int x124c;                  // 0x124c
1599    int x1250;                  // 0x1250
1600    int x1254;                  // 0x1254
1601    int x1258;                  // 0x1258
1602    int x125c;                  // 0x125c
1603    int x1260;                  // 0x1260
1604    int x1264;                  // 0x1264
1605    int x1268;                  // 0x1268
1606    int x126c;                  // 0x126c
1607    int x1270;                  // 0x1270
1608    int x1274;                  // 0x1274
1609    int x1278;                  // 0x1278
1610    int x127c;                  // 0x127c
1611    int x1280;                  // 0x1280
1612    int x1284;                  // 0x1284
1613    int x1288;                  // 0x1288
1614    int x128c;                  // 0x128c
1615    int x1290;                  // 0x1290
1616    int x1294;                  // 0x1294
1617    int x1298;                  // 0x1298
1618    int x129c;                  // 0x129c
1619    int x12a0;                  // 0x12a0
1620    int x12a4;                  // 0x12a4
1621    int x12a8;                  // 0x12a8
1622    int x12ac;                  // 0x12ac
1623    int x12b0;                  // 0x12b0
1624    int x12b4;                  // 0x12b4
1625    int x12b8;                  // 0x12b8
1626    int x12bc;                  // 0x12bc
1627    int x12c0;                  // 0x12c0
1628    int x12c4;                  // 0x12c4
1629    int x12c8;                  // 0x12c8
1630    int x12cc;                  // 0x12cc
1631    int x12d0;                  // 0x12d0
1632    int x12d4;                  // 0x12d4
1633    int x12d8;                  // 0x12d8
1634    int x12dc;                  // 0x12dc
1635    int x12e0;                  // 0x12e0
1636    int x12e4;                  // 0x12e4
1637    int x12e8;                  // 0x12e8
1638    int x12ec;                  // 0x12ec
1639    int x12f0;                  // 0x12f0
1640    int x12f4;                  // 0x12f4
1641    int x12f8;                  // 0x12f8
1642    int x12fc;                  // 0x12fc
1643    int x1300;                  // 0x1300
1644    int x1304;                  // 0x1304
1645    int x1308;                  // 0x1308
1646    int x130c;                  // 0x130c
1647    int x1310;                  // 0x1310
1648    int x1314;                  // 0x1314
1649    int x1318;                  // 0x1318
1650    int x131c;                  // 0x131c
1651    int x1320;                  // 0x1320
1652    int x1324;                  // 0x1324
1653    int x1328;                  // 0x1328
1654    int x132c;                  // 0x132c
1655    int x1330;                  // 0x1330
1656    int x1334;                  // 0x1334
1657    int x1338;                  // 0x1338
1658    int x133c;                  // 0x133c
1659    int x1340;                  // 0x1340
1660    int x1344;                  // 0x1344
1661    int x1348;                  // 0x1348
1662    int x134c;                  // 0x134c
1663    int x1350;                  // 0x1350
1664    int x1354;                  // 0x1354
1665    int x1358;                  // 0x1358
1666    int x135c;                  // 0x135c
1667    int x1360;                  // 0x1360
1668    int x1364;                  // 0x1364
1669    int x1368;                  // 0x1368
1670    int x136c;                  // 0x136c
1671    int x1370;                  // 0x1370
1672    int x1374;                  // 0x1374
1673    int x1378;                  // 0x1378
1674    int x137c;                  // 0x137c
1675    int x1380;                  // 0x1380
1676    int x1384;                  // 0x1384
1677    int x1388;                  // 0x1388
1678    int x138c;                  // 0x138c
1679    int x1390;                  // 0x1390
1680    int x1394;                  // 0x1394
1681    int x1398;                  // 0x1398
1682    int x139c;                  // 0x139c
1683    int x13a0;                  // 0x13a0
1684    int x13a4;                  // 0x13a4
1685    int x13a8;                  // 0x13a8
1686    int x13ac;                  // 0x13ac
1687    int x13b0;                  // 0x13b0
1688    int x13b4;                  // 0x13b4
1689    int x13b8;                  // 0x13b8
1690    int x13bc;                  // 0x13bc
1691    int x13c0;                  // 0x13c0
1692    int x13c4;                  // 0x13c4
1693    int x13c8;                  // 0x13c8
1694    int x13cc;                  // 0x13cc
1695    int x13d0;                  // 0x13d0
1696    int x13d4;                  // 0x13d4
1697    int x13d8;                  // 0x13d8
1698    int x13dc;                  // 0x13dc
1699    int x13e0;                  // 0x13e0
1700    int x13e4;                  // 0x13e4
1701    int x13e8;                  // 0x13e8
1702    int x13ec;                  // 0x13ec
1703    int x13f0;                  // 0x13f0
1704    int x13f4;                  // 0x13f4
1705    int x13f8;                  // 0x13f8
1706    int x13fc;                  // 0x13fc
1707    int x1400;                  // 0x1400
1708    int x1404;                  // 0x1404
1709    int x1408;                  // 0x1408
1710    int x140c;                  // 0x140c
1711    int x1410;                  // 0x1410
1712    int x1414;                  // 0x1414
1713    int x1418;                  // 0x1418
1714    int x141c;                  // 0x141c
1715    int x1420;                  // 0x1420
1716    int x1424;                  // 0x1424
1717    int x1428;                  // 0x1428
1718    int x142c;                  // 0x142c
1719    int x1430;                  // 0x1430
1720    int x1434;                  // 0x1434
1721    int x1438;                  // 0x1438
1722    int x143c;                  // 0x143c
1723    int x1440;                  // 0x1440
1724    int x1444;                  // 0x1444
1725    int x1448;                  // 0x1448
1726    int x144c;                  // 0x144c
1727    int x1450;                  // 0x1450
1728    int x1454;                  // 0x1454
1729    int x1458;                  // 0x1458
1730    int x145c;                  // 0x145c
1731    int x1460;                  // 0x1460
1732    int x1464;                  // 0x1464
1733    int x1468;                  // 0x1468
1734    int x146c;                  // 0x146c
1735    int x1470;                  // 0x1470
1736    int x1474;                  // 0x1474
1737    int x1478;                  // 0x1478
1738    int x147c;                  // 0x147c
1739    int x1480;                  // 0x1480
1740    int x1484;                  // 0x1484
1741    int x1488;                  // 0x1488
1742    int x148c;                  // 0x148c
1743    int x1490;                  // 0x1490
1744    int x1494;                  // 0x1494
1745    int x1498;                  // 0x1498
1746    int x149c;                  // 0x149c
1747    int x14a0;                  // 0x14a0
1748    int x14a4;                  // 0x14a4
1749    int x14a8;                  // 0x14a8
1750    int x14ac;                  // 0x14ac
1751    int x14b0;                  // 0x14b0
1752    int x14b4;                  // 0x14b4
1753    int x14b8;                  // 0x14b8
1754    int x14bc;                  // 0x14bc
1755    int x14c0;                  // 0x14c0
1756    int x14c4;                  // 0x14c4
1757    int x14c8;                  // 0x14c8
1758    int x14cc;                  // 0x14cc
1759    int x14d0;                  // 0x14d0
1760    int x14d4;                  // 0x14d4
1761    int x14d8;                  // 0x14d8
1762    int x14dc;                  // 0x14dc
1763    int x14e0;                  // 0x14e0
1764    int x14e4;                  // 0x14e4
1765    int x14e8;                  // 0x14e8
1766    int x14ec;                  // 0x14ec
1767    int x14f0;                  // 0x14f0
1768    int x14f4;                  // 0x14f4
1769    int x14f8;                  // 0x14f8
1770    int x14fc;                  // 0x14fc
1771    int x1500;                  // 0x1500
1772    int x1504;                  // 0x1504
1773    int x1508;                  // 0x1508
1774    int x150c;                  // 0x150c
1775    int x1510;                  // 0x1510
1776    int x1514;                  // 0x1514
1777    int x1518;                  // 0x1518
1778    int x151c;                  // 0x151c
1779    int x1520;                  // 0x1520
1780    int x1524;                  // 0x1524
1781    int x1528;                  // 0x1528
1782    int x152c;                  // 0x152c
1783    int x1530;                  // 0x1530
1784    int x1534;                  // 0x1534
1785    int x1538;                  // 0x1538
1786    int x153c;                  // 0x153c
1787    int x1540;                  // 0x1540
1788    int x1544;                  // 0x1544
1789    int x1548;                  // 0x1548
1790    int x154c;                  // 0x154c
1791    int x1550;                  // 0x1550
1792    int x1554;                  // 0x1554
1793    int x1558;                  // 0x1558
1794    int x155c;                  // 0x155c
1795    int x1560;                  // 0x1560
1796    int x1564;                  // 0x1564
1797    int x1568;                  // 0x1568
1798    int x156c;                  // 0x156c
1799    int x1570;                  // 0x1570
1800    int x1574;                  // 0x1574
1801    int x1578;                  // 0x1578
1802    int x157c;                  // 0x157c
1803    int x1580;                  // 0x1580
1804    int x1584;                  // 0x1584
1805    int x1588;                  // 0x1588
1806    int x158c;                  // 0x158c
1807    int x1590;                  // 0x1590
1808    int x1594;                  // 0x1594
1809    int x1598;                  // 0x1598
1810    int x159c;                  // 0x159c
1811    int x15a0;                  // 0x15a0
1812    int x15a4;                  // 0x15a4
1813    int x15a8;                  // 0x15a8
1814    int x15ac;                  // 0x15ac
1815    int x15b0;                  // 0x15b0
1816    int x15b4;                  // 0x15b4
1817    int x15b8;                  // 0x15b8
1818    int x15bc;                  // 0x15bc
1819    int x15c0;                  // 0x15c0
1820    int x15c4;                  // 0x15c4
1821    int x15c8;                  // 0x15c8
1822    int x15cc;                  // 0x15cc
1823    int x15d0;                  // 0x15d0
1824    int x15d4;                  // 0x15d4
1825    int x15d8;                  // 0x15d8
1826    int x15dc;                  // 0x15dc
1827    int x15e0;                  // 0x15e0
1828    int x15e4;                  // 0x15e4
1829    int x15e8;                  // 0x15e8
1830    int x15ec;                  // 0x15ec
1831    int x15f0;                  // 0x15f0
1832    int x15f4;                  // 0x15f4
1833    int x15f8;                  // 0x15f8
1834    int x15fc;                  // 0x15fc
1835    int x1600;                  // 0x1600
1836    int x1604;                  // 0x1604
1837    int x1608;                  // 0x1608
1838    int x160c;                  // 0x160c
1839    int x1610;                  // 0x1610
1840    int x1614;                  // 0x1614
1841    int x1618;                  // 0x1618
1842    int x161c;                  // 0x161c
1843    int x1620;                  // 0x1620
1844    int x1624;                  // 0x1624
1845    int x1628;                  // 0x1628
1846    int x162c;                  // 0x162c
1847    int x1630;                  // 0x1630
1848    int x1634;                  // 0x1634
1849    int x1638;                  // 0x1638
1850    int x163c;                  // 0x163c
1851    int x1640;                  // 0x1640
1852    int x1644;                  // 0x1644
1853    int x1648;                  // 0x1648
1854    int x164c;                  // 0x164c
1855    int x1650;                  // 0x1650
1856    int x1654;                  // 0x1654
1857    int x1658;                  // 0x1658
1858    int x165c;                  // 0x165c
1859    int x1660;                  // 0x1660
1860    int x1664;                  // 0x1664
1861    int x1668;                  // 0x1668
1862    int x166c;                  // 0x166c
1863    int x1670;                  // 0x1670
1864    int x1674;                  // 0x1674
1865    int x1678;                  // 0x1678
1866    int x167c;                  // 0x167c
1867    int x1680;                  // 0x1680
1868    int x1684;                  // 0x1684
1869    int x1688;                  // 0x1688
1870    int x168c;                  // 0x168c
1871    int x1690;                  // 0x1690
1872    int x1694;                  // 0x1694
1873    int x1698;                  // 0x1698
1874    int x169c;                  // 0x169c
1875    int x16a0;                  // 0x16a0
1876    int x16a4;                  // 0x16a4
1877    int x16a8;                  // 0x16a8
1878    int x16ac;                  // 0x16ac
1879    int x16b0;                  // 0x16b0
1880    int x16b4;                  // 0x16b4
1881    int x16b8;                  // 0x16b8
1882    int x16bc;                  // 0x16bc
1883    int x16c0;                  // 0x16c0
1884    int x16c4;                  // 0x16c4
1885    int x16c8;                  // 0x16c8
1886    int x16cc;                  // 0x16cc
1887    int x16d0;                  // 0x16d0
1888    int x16d4;                  // 0x16d4
1889    int x16d8;                  // 0x16d8
1890    int x16dc;                  // 0x16dc
1891    int x16e0;                  // 0x16e0
1892    int x16e4;                  // 0x16e4
1893    int x16e8;                  // 0x16e8
1894    int x16ec;                  // 0x16ec
1895    int x16f0;                  // 0x16f0
1896    int x16f4;                  // 0x16f4
1897    int x16f8;                  // 0x16f8
1898    int x16fc;                  // 0x16fc
1899    int x1700;                  // 0x1700
1900    int x1704;                  // 0x1704
1901    int x1708;                  // 0x1708
1902    int x170c;                  // 0x170c
1903    int x1710;                  // 0x1710
1904    int x1714;                  // 0x1714
1905    int x1718;                  // 0x1718
1906    int x171c;                  // 0x171c
1907    int x1720;                  // 0x1720
1908    int x1724;                  // 0x1724
1909    int x1728;                  // 0x1728
1910    int x172c;                  // 0x172c
1911    int x1730;                  // 0x1730
1912    int x1734;                  // 0x1734
1913    int x1738;                  // 0x1738
1914    int x173c;                  // 0x173c
1915    int x1740;                  // 0x1740
1916    int x1744;                  // 0x1744
1917    int x1748;                  // 0x1748
1918    int x174c;                  // 0x174c
1919    int x1750;                  // 0x1750
1920    int x1754;                  // 0x1754
1921    int x1758;                  // 0x1758
1922    int x175c;                  // 0x175c
1923    int x1760;                  // 0x1760
1924    int x1764;                  // 0x1764
1925    int x1768;                  // 0x1768
1926    int x176c;                  // 0x176c
1927    int x1770;                  // 0x1770
1928    int x1774;                  // 0x1774
1929    int x1778;                  // 0x1778
1930    int x177c;                  // 0x177c
1931    int x1780;                  // 0x1780
1932    int x1784;                  // 0x1784
1933    int x1788;                  // 0x1788
1934    int x178c;                  // 0x178c
1935    int x1790;                  // 0x1790
1936    int x1794;                  // 0x1794
1937    int x1798;                  // 0x1798
1938    int x179c;                  // 0x179c
1939    int x17a0;                  // 0x17a0
1940    int x17a4;                  // 0x17a4
1941    int x17a8;                  // 0x17a8
1942    int x17ac;                  // 0x17ac
1943    int x17b0;                  // 0x17b0
1944    int x17b4;                  // 0x17b4
1945    int x17b8;                  // 0x17b8
1946    int x17bc;                  // 0x17bc
1947    int x17c0;                  // 0x17c0
1948    int x17c4;                  // 0x17c4
1949    int x17c8;                  // 0x17c8
1950    int x17cc;                  // 0x17cc
1951    int x17d0;                  // 0x17d0
1952    int x17d4;                  // 0x17d4
1953    int x17d8;                  // 0x17d8
1954    int x17dc;                  // 0x17dc
1955    int x17e0;                  // 0x17e0
1956    int x17e4;                  // 0x17e4
1957    int x17e8;                  // 0x17e8
1958    int x17ec;                  // 0x17ec
1959    int x17f0;                  // 0x17f0
1960    int x17f4;                  // 0x17f4
1961    int x17f8;                  // 0x17f8
1962    int x17fc;                  // 0x17fc
1963    int x1800;                  // 0x1800
1964    int x1804;                  // 0x1804
1965    int x1808;                  // 0x1808
1966    int x180c;                  // 0x180c
1967    int x1810;                  // 0x1810
1968    int x1814;                  // 0x1814
1969    int x1818;                  // 0x1818
1970    int x181c;                  // 0x181c
1971    int x1820;                  // 0x1820
1972    int x1824;                  // 0x1824
1973    int x1828;                  // 0x1828
1974    int x182c;                  // 0x182c
1975    int x1830;                  // 0x1830
1976    int x1834;                  // 0x1834
1977    int x1838;                  // 0x1838
1978    int x183c;                  // 0x183c
1979    int x1840;                  // 0x1840
1980    int x1844;                  // 0x1844
1981    int x1848;                  // 0x1848
1982    int x184c;                  // 0x184c
1983    int x1850;                  // 0x1850
1984    int x1854;                  // 0x1854
1985    int x1858;                  // 0x1858
1986    int x185c;                  // 0x185c
1987    int x1860;                  // 0x1860
1988    int x1864;                  // 0x1864
1989    int x1868;                  // 0x1868
1990    int x186c;                  // 0x186c
1991    int x1870;                  // 0x1870
1992    int x1874;                  // 0x1874
1993    int x1878;                  // 0x1878
1994    int x187c;                  // 0x187c
1995    int x1880;                  // 0x1880
1996    int x1884;                  // 0x1884
1997    int x1888;                  // 0x1888
1998    int x188c;                  // 0x188c
1999    int x1890;                  // 0x1890
2000    int x1894;                  // 0x1894
2001    int x1898;                  // 0x1898
2002    int x189c;                  // 0x189c
2003    int x18a0;                  // 0x18a0
2004    int x18a4;                  // 0x18a4
2005    int x18a8;                  // 0x18a8
2006    int x18ac;                  // 0x18ac
2007    int x18b0;                  // 0x18b0
2008    int x18b4;                  // 0x18b4
2009    int x18b8;                  // 0x18b8
2010    int x18bc;                  // 0x18bc
2011    int x18c0;                  // 0x18c0
2012    int x18c4;                  // 0x18c4
2013    int x18c8;                  // 0x18c8
2014    int x18cc;                  // 0x18cc
2015    int x18d0;                  // 0x18d0
2016    int x18d4;                  // 0x18d4
2017    int x18d8;                  // 0x18d8
2018    int x18dc;                  // 0x18dc
2019    int x18e0;                  // 0x18e0
2020    int x18e4;                  // 0x18e4
2021    int x18e8;                  // 0x18e8
2022    int x18ec;                  // 0x18ec
2023    int x18f0;                  // 0x18f0
2024    int x18f4;                  // 0x18f4
2025    int x18f8;                  // 0x18f8
2026    int x18fc;                  // 0x18fc
2027    int x1900;                  // 0x1900
2028    int x1904;                  // 0x1904
2029    int x1908;                  // 0x1908
2030    int x190c;                  // 0x190c
2031    int x1910;                  // 0x1910
2032    int x1914;                  // 0x1914
2033    int x1918;                  // 0x1918
2034    int x191c;                  // 0x191c
2035    int x1920;                  // 0x1920
2036    int x1924;                  // 0x1924
2037    int x1928;                  // 0x1928
2038    int x192c;                  // 0x192c
2039    int x1930;                  // 0x1930
2040    int x1934;                  // 0x1934
2041    int x1938;                  // 0x1938
2042    int x193c;                  // 0x193c
2043    int x1940;                  // 0x1940
2044    int x1944;                  // 0x1944
2045    int x1948;                  // 0x1948
2046    int x194c;                  // 0x194c
2047    int x1950;                  // 0x1950
2048    int x1954;                  // 0x1954
2049    int x1958;                  // 0x1958
2050    int x195c;                  // 0x195c
2051    int x1960;                  // 0x1960
2052    int x1964;                  // 0x1964
2053    int x1968;                  // 0x1968
2054    int x196c;                  // 0x196c
2055    int x1970;                  // 0x1970
2056    int x1974;                  // 0x1974
2057    int x1978;                  // 0x1978
2058    int x197c;                  // 0x197c
2059    int x1980;                  // 0x1980
2060    int x1984;                  // 0x1984
2061    int x1988;                  // 0x1988
2062    int x198c;                  // 0x198c
2063    int x1990;                  // 0x1990
2064    int x1994;                  // 0x1994
2065    int x1998;                  // 0x1998
2066    int x199c;                  // 0x199c
2067    int x19a0;                  // 0x19a0
2068    int x19a4;                  // 0x19a4
2069    int x19a8;                  // 0x19a8
2070    int x19ac;                  // 0x19ac
2071    int x19b0;                  // 0x19b0
2072    int x19b4;                  // 0x19b4
2073    int x19b8;                  // 0x19b8
2074    int x19bc;                  // 0x19bc
2075    int x19c0;                  // 0x19c0
2076    int x19c4;                  // 0x19c4
2077    int x19c8;                  // 0x19c8
2078    int x19cc;                  // 0x19cc
2079    int x19d0;                  // 0x19d0
2080    int x19d4;                  // 0x19d4
2081    int x19d8;                  // 0x19d8
2082    int x19dc;                  // 0x19dc
2083    int x19e0;                  // 0x19e0
2084    int x19e4;                  // 0x19e4
2085    int x19e8;                  // 0x19e8
2086    int x19ec;                  // 0x19ec
2087    int x19f0;                  // 0x19f0
2088    int x19f4;                  // 0x19f4
2089    int x19f8;                  // 0x19f8
2090    int x19fc;                  // 0x19fc
2091    int x1a00;                  // 0x1a00
2092    int x1a04;                  // 0x1a04
2093    int x1a08;                  // 0x1a08
2094    int x1a0c;                  // 0x1a0c
2095    int x1a10;                  // 0x1a10
2096    int x1a14;                  // 0x1a14
2097    int x1a18;                  // 0x1a18
2098    int x1a1c;                  // 0x1a1c
2099    int x1a20;                  // 0x1a20
2100    int x1a24;                  // 0x1a24
2101    int x1a28;                  // 0x1a28
2102    int x1a2c;                  // 0x1a2c
2103    int x1a30;                  // 0x1a30
2104    int x1a34;                  // 0x1a34
2105    int x1a38;                  // 0x1a38
2106    int x1a3c;                  // 0x1a3c
2107    int x1a40;                  // 0x1a40
2108    int x1a44;                  // 0x1a44
2109    int x1a48;                  // 0x1a48
2110    int x1a4c;                  // 0x1a4c
2111    int x1a50;                  // 0x1a50
2112    int x1a54;                  // 0x1a54
2113    int x1a58;                  // 0x1a58
2114    int x1a5c;                  // 0x1a5c
2115    int x1a60;                  // 0x1a60
2116    int x1a64;                  // 0x1a64
2117    int x1a68;                  // 0x1a68
2118    int x1a6c;                  // 0x1a6c
2119    int x1a70;                  // 0x1a70
2120    int x1a74;                  // 0x1a74
2121    int x1a78;                  // 0x1a78
2122    int x1a7c;                  // 0x1a7c
2123    int x1a80;                  // 0x1a80
2124    int x1a84;                  // 0x1a84
2125    int x1a88;                  // 0x1a88
2126    int x1a8c;                  // 0x1a8c
2127    int x1a90;                  // 0x1a90
2128    int x1a94;                  // 0x1a94
2129    int x1a98;                  // 0x1a98
2130    int x1a9c;                  // 0x1a9c
2131    int x1aa0;                  // 0x1aa0
2132    int x1aa4;                  // 0x1aa4
2133    int x1aa8;                  // 0x1aa8
2134    int x1aac;                  // 0x1aac
2135    int x1ab0;                  // 0x1ab0
2136    int x1ab4;                  // 0x1ab4
2137    int x1ab8;                  // 0x1ab8
2138    int x1abc;                  // 0x1abc
2139    int x1ac0;                  // 0x1ac0
2140    int x1ac4;                  // 0x1ac4
2141    int x1ac8;                  // 0x1ac8
2142    int x1acc;                  // 0x1acc
2143    int x1ad0;                  // 0x1ad0
2144    int x1ad4;                  // 0x1ad4
2145    int x1ad8;                  // 0x1ad8
2146    int x1adc;                  // 0x1adc
2147    int x1ae0;                  // 0x1ae0
2148    int x1ae4;                  // 0x1ae4
2149    int x1ae8;                  // 0x1ae8
2150    int x1aec;                  // 0x1aec
2151    int x1af0;                  // 0x1af0
2152    int x1af4;                  // 0x1af4
2153    int x1af8;                  // 0x1af8
2154    int x1afc;                  // 0x1afc
2155    int x1b00;                  // 0x1b00
2156    int x1b04;                  // 0x1b04
2157    int x1b08;                  // 0x1b08
2158    int x1b0c;                  // 0x1b0c
2159    int x1b10;                  // 0x1b10
2160    int x1b14;                  // 0x1b14
2161    int x1b18;                  // 0x1b18
2162    int x1b1c;                  // 0x1b1c
2163    int x1b20;                  // 0x1b20
2164    int x1b24;                  // 0x1b24
2165    int x1b28;                  // 0x1b28
2166    int x1b2c;                  // 0x1b2c
2167    int x1b30;                  // 0x1b30
2168    int x1b34;                  // 0x1b34
2169    int x1b38;                  // 0x1b38
2170    int x1b3c;                  // 0x1b3c
2171    int x1b40;                  // 0x1b40
2172    int x1b44;                  // 0x1b44
2173    int x1b48;                  // 0x1b48
2174    int x1b4c;                  // 0x1b4c
2175    int x1b50;                  // 0x1b50
2176    int x1b54;                  // 0x1b54
2177    int x1b58;                  // 0x1b58
2178    int x1b5c;                  // 0x1b5c
2179    int x1b60;                  // 0x1b60
2180    int x1b64;                  // 0x1b64
2181    int x1b68;                  // 0x1b68
2182    int x1b6c;                  // 0x1b6c
2183    int x1b70;                  // 0x1b70
2184    int x1b74;                  // 0x1b74
2185    int x1b78;                  // 0x1b78
2186    int x1b7c;                  // 0x1b7c
2187    int x1b80;                  // 0x1b80
2188    int x1b84;                  // 0x1b84
2189    int x1b88;                  // 0x1b88
2190    int x1b8c;                  // 0x1b8c
2191    int x1b90;                  // 0x1b90
2192    int x1b94;                  // 0x1b94
2193    int x1b98;                  // 0x1b98
2194    int x1b9c;                  // 0x1b9c
2195    int x1ba0;                  // 0x1ba0
2196    int x1ba4;                  // 0x1ba4
2197    int x1ba8;                  // 0x1ba8
2198    int x1bac;                  // 0x1bac
2199    int x1bb0;                  // 0x1bb0
2200    int x1bb4;                  // 0x1bb4
2201    int x1bb8;                  // 0x1bb8
2202    int x1bbc;                  // 0x1bbc
2203    int x1bc0;                  // 0x1bc0
2204    int x1bc4;                  // 0x1bc4
2205    int x1bc8;                  // 0x1bc8
2206    int x1bcc;                  // 0x1bcc
2207    int x1bd0;                  // 0x1bd0
2208    int x1bd4;                  // 0x1bd4
2209    int x1bd8;                  // 0x1bd8
2210    int x1bdc;                  // 0x1bdc
2211    int x1be0;                  // 0x1be0
2212    int x1be4;                  // 0x1be4
2213    int x1be8;                  // 0x1be8
2214    int x1bec;                  // 0x1bec
2215    int x1bf0;                  // 0x1bf0
2216    int x1bf4;                  // 0x1bf4
2217    int x1bf8;                  // 0x1bf8
2218    int x1bfc;                  // 0x1bfc
2219    int x1c00;                  // 0x1c00
2220    int x1c04;                  // 0x1c04
2221    int x1c08;                  // 0x1c08
2222    int x1c0c;                  // 0x1c0c
2223    int x1c10;                  // 0x1c10
2224    int x1c14;                  // 0x1c14
2225    int x1c18;                  // 0x1c18
2226    int x1c1c;                  // 0x1c1c
2227    int x1c20;                  // 0x1c20
2228    int x1c24;                  // 0x1c24
2229    int x1c28;                  // 0x1c28
2230    int x1c2c;                  // 0x1c2c
2231    int x1c30;                  // 0x1c30
2232    int x1c34;                  // 0x1c34
2233    int x1c38;                  // 0x1c38
2234    int x1c3c;                  // 0x1c3c
2235    int x1c40;                  // 0x1c40
2236    int x1c44;                  // 0x1c44
2237    int x1c48;                  // 0x1c48
2238    int x1c4c;                  // 0x1c4c
2239    int x1c50;                  // 0x1c50
2240    int x1c54;                  // 0x1c54
2241    int x1c58;                  // 0x1c58
2242    int x1c5c;                  // 0x1c5c
2243    int x1c60;                  // 0x1c60
2244    int x1c64;                  // 0x1c64
2245    int x1c68;                  // 0x1c68
2246    int x1c6c;                  // 0x1c6c
2247    int x1c70;                  // 0x1c70
2248    int x1c74;                  // 0x1c74
2249    int x1c78;                  // 0x1c78
2250    int x1c7c;                  // 0x1c7c
2251    int x1c80;                  // 0x1c80
2252    int x1c84;                  // 0x1c84
2253    int x1c88;                  // 0x1c88
2254    int x1c8c;                  // 0x1c8c
2255    int x1c90;                  // 0x1c90
2256    int x1c94;                  // 0x1c94
2257    int x1c98;                  // 0x1c98
2258    int x1c9c;                  // 0x1c9c
2259    int x1ca0;                  // 0x1ca0
2260    int x1ca4;                  // 0x1ca4
2261    int x1ca8;                  // 0x1ca8
2262    int x1cac;                  // 0x1cac
2263    int x1cb0;                  // 0x1cb0
2264    int x1cb4;                  // 0x1cb4
2265    int x1cb8;                  // 0x1cb8
2266    int x1cbc;                  // 0x1cbc
2267    int x1cc0;                  // 0x1cc0
2268    int x1cc4;                  // 0x1cc4
2269    int x1cc8;                  // 0x1cc8
2270    int x1ccc;                  // 0x1ccc
2271    int x1cd0;                  // 0x1cd0
2272    int x1cd4;                  // 0x1cd4
2273    int x1cd8;                  // 0x1cd8
2274    int x1cdc;                  // 0x1cdc
2275    int x1ce0;                  // 0x1ce0
2276    int x1ce4;                  // 0x1ce4
2277    int x1ce8;                  // 0x1ce8
2278    int x1cec;                  // 0x1cec
2279    int x1cf0;                  // 0x1cf0
2280    int x1cf4;                  // 0x1cf4
2281    int x1cf8;                  // 0x1cf8
2282    int x1cfc;                  // 0x1cfc
2283    int x1d00;                  // 0x1d00
2284    int x1d04;                  // 0x1d04
2285    int x1d08;                  // 0x1d08
2286    int x1d0c;                  // 0x1d0c
2287    int x1d10;                  // 0x1d10
2288    int x1d14;                  // 0x1d14
2289    int x1d18;                  // 0x1d18
2290    int x1d1c;                  // 0x1d1c
2291    int x1d20;                  // 0x1d20
2292    int x1d24;                  // 0x1d24
2293    int x1d28;                  // 0x1d28
2294    int x1d2c;                  // 0x1d2c
2295    int x1d30;                  // 0x1d30
2296    int x1d34;                  // 0x1d34
2297    int x1d38;                  // 0x1d38
2298    int x1d3c;                  // 0x1d3c
2299    int x1d40;                  // 0x1d40
2300    int x1d44;                  // 0x1d44
2301    int x1d48;                  // 0x1d48
2302    int x1d4c;                  // 0x1d4c
2303    int x1d50;                  // 0x1d50
2304    int x1d54;                  // 0x1d54
2305    int x1d58;                  // 0x1d58
2306    int x1d5c;                  // 0x1d5c
2307    int x1d60;                  // 0x1d60
2308    int x1d64;                  // 0x1d64
2309    int x1d68;                  // 0x1d68
2310    int x1d6c;                  // 0x1d6c
2311    int x1d70;                  // 0x1d70
2312    int x1d74;                  // 0x1d74
2313    int x1d78;                  // 0x1d78
2314    int x1d7c;                  // 0x1d7c
2315    int x1d80;                  // 0x1d80
2316    int x1d84;                  // 0x1d84
2317    int x1d88;                  // 0x1d88
2318    int x1d8c;                  // 0x1d8c
2319    int x1d90;                  // 0x1d90
2320    int x1d94;                  // 0x1d94
2321    int x1d98;                  // 0x1d98
2322    int x1d9c;                  // 0x1d9c
2323    int x1da0;                  // 0x1da0
2324    int x1da4;                  // 0x1da4
2325    int x1da8;                  // 0x1da8
2326    int x1dac;                  // 0x1dac
2327    int x1db0;                  // 0x1db0
2328    int x1db4;                  // 0x1db4
2329    int x1db8;                  // 0x1db8
2330    int x1dbc;                  // 0x1dbc
2331    int x1dc0;                  // 0x1dc0
2332    int x1dc4;                  // 0x1dc4
2333    int x1dc8;                  // 0x1dc8
2334    int x1dcc;                  // 0x1dcc
2335    int x1dd0;                  // 0x1dd0
2336    int x1dd4;                  // 0x1dd4
2337    int x1dd8;                  // 0x1dd8
2338    int x1ddc;                  // 0x1ddc
2339    int x1de0;                  // 0x1de0
2340    int x1de4;                  // 0x1de4
2341    int x1de8;                  // 0x1de8
2342    int x1dec;                  // 0x1dec
2343    int x1df0;                  // 0x1df0
2344    int x1df4;                  // 0x1df4
2345    int x1df8;                  // 0x1df8
2346    int x1dfc;                  // 0x1dfc
2347    int x1e00;                  // 0x1e00
2348    int x1e04;                  // 0x1e04
2349    int x1e08;                  // 0x1e08
2350    int x1e0c;                  // 0x1e0c
2351    int x1e10;                  // 0x1e10
2352    int x1e14;                  // 0x1e14
2353    int x1e18;                  // 0x1e18
2354    int x1e1c;                  // 0x1e1c
2355    int x1e20;                  // 0x1e20
2356    int x1e24;                  // 0x1e24
2357    int x1e28;                  // 0x1e28
2358    int x1e2c;                  // 0x1e2c
2359    int x1e30;                  // 0x1e30
2360    int x1e34;                  // 0x1e34
2361    int x1e38;                  // 0x1e38
2362    int x1e3c;                  // 0x1e3c
2363    int x1e40;                  // 0x1e40
2364    int x1e44;                  // 0x1e44
2365    int x1e48;                  // 0x1e48
2366    int x1e4c;                  // 0x1e4c
2367    int x1e50;                  // 0x1e50
2368    int x1e54;                  // 0x1e54
2369    int x1e58;                  // 0x1e58
2370    int x1e5c;                  // 0x1e5c
2371    int x1e60;                  // 0x1e60
2372    int x1e64;                  // 0x1e64
2373    int x1e68;                  // 0x1e68
2374    int x1e6c;                  // 0x1e6c
2375    int x1e70;                  // 0x1e70
2376    int x1e74;                  // 0x1e74
2377    int x1e78;                  // 0x1e78
2378    int x1e7c;                  // 0x1e7c
2379    int x1e80;                  // 0x1e80
2380    int x1e84;                  // 0x1e84
2381    int x1e88;                  // 0x1e88
2382    int x1e8c;                  // 0x1e8c
2383    int x1e90;                  // 0x1e90
2384    int x1e94;                  // 0x1e94
2385    int x1e98;                  // 0x1e98
2386    int x1e9c;                  // 0x1e9c
2387    int x1ea0;                  // 0x1ea0
2388    int x1ea4;                  // 0x1ea4
2389    int x1ea8;                  // 0x1ea8
2390    int x1eac;                  // 0x1eac
2391    int x1eb0;                  // 0x1eb0
2392    int x1eb4;                  // 0x1eb4
2393    int x1eb8;                  // 0x1eb8
2394    int x1ebc;                  // 0x1ebc
2395    int x1ec0;                  // 0x1ec0
2396    int x1ec4;                  // 0x1ec4
2397    int x1ec8;                  // 0x1ec8
2398    int x1ecc;                  // 0x1ecc
2399    int x1ed0;                  // 0x1ed0
2400    int x1ed4;                  // 0x1ed4
2401    int x1ed8;                  // 0x1ed8
2402    int x1edc;                  // 0x1edc
2403    int x1ee0;                  // 0x1ee0
2404    int x1ee4;                  // 0x1ee4
2405    int x1ee8;                  // 0x1ee8
2406    int x1eec;                  // 0x1eec
2407    int x1ef0;                  // 0x1ef0
2408    int x1ef4;                  // 0x1ef4
2409    int x1ef8;                  // 0x1ef8
2410    int x1efc;                  // 0x1efc
2411    int x1f00;                  // 0x1f00
2412    int x1f04;                  // 0x1f04
2413    int x1f08;                  // 0x1f08
2414    int x1f0c;                  // 0x1f0c
2415    int x1f10;                  // 0x1f10
2416    int x1f14;                  // 0x1f14
2417    int x1f18;                  // 0x1f18
2418    int x1f1c;                  // 0x1f1c
2419    int x1f20;                  // 0x1f20
2420    int x1f24;                  // 0x1f24
2421    int x1f28;                  // 0x1f28
2422    int x1f2c;                  // 0x1f2c
2423    int x1f30;                  // 0x1f30
2424    int x1f34;                  // 0x1f34
2425    int x1f38;                  // 0x1f38
2426    int x1f3c;                  // 0x1f3c
2427    int x1f40;                  // 0x1f40
2428    int x1f44;                  // 0x1f44
2429    int x1f48;                  // 0x1f48
2430    int x1f4c;                  // 0x1f4c
2431    int x1f50;                  // 0x1f50
2432    int x1f54;                  // 0x1f54
2433    int x1f58;                  // 0x1f58
2434    int x1f5c;                  // 0x1f5c
2435    int x1f60;                  // 0x1f60
2436    int x1f64;                  // 0x1f64
2437    int x1f68;                  // 0x1f68
2438    int x1f6c;                  // 0x1f6c
2439    int x1f70;                  // 0x1f70
2440    int x1f74;                  // 0x1f74
2441    int x1f78;                  // 0x1f78
2442    int x1f7c;                  // 0x1f7c
2443    int x1f80;                  // 0x1f80
2444    int x1f84;                  // 0x1f84
2445    int x1f88;                  // 0x1f88
2446    int x1f8c;                  // 0x1f8c
2447    int x1f90;                  // 0x1f90
2448    int x1f94;                  // 0x1f94
2449    int x1f98;                  // 0x1f98
2450    int x1f9c;                  // 0x1f9c
2451    int x1fa0;                  // 0x1fa0
2452    int x1fa4;                  // 0x1fa4
2453    int x1fa8;                  // 0x1fa8
2454    int x1fac;                  // 0x1fac
2455    int x1fb0;                  // 0x1fb0
2456    int x1fb4;                  // 0x1fb4
2457    int x1fb8;                  // 0x1fb8
2458    int x1fbc;                  // 0x1fbc
2459    int x1fc0;                  // 0x1fc0
2460    int x1fc4;                  // 0x1fc4
2461    int x1fc8;                  // 0x1fc8
2462    int x1fcc;                  // 0x1fcc
2463    int x1fd0;                  // 0x1fd0
2464    int x1fd4;                  // 0x1fd4
2465    int x1fd8;                  // 0x1fd8
2466    int x1fdc;                  // 0x1fdc
2467    int x1fe0;                  // 0x1fe0
2468    int x1fe4;                  // 0x1fe4
2469    int x1fe8;                  // 0x1fe8
2470    int x1fec;                  // 0x1fec
2471    int x1ff0;                  // 0x1ff0
2472    int x1ff4;                  // 0x1ff4
2473    int x1ff8;                  // 0x1ff8
2474    int x1ffc;                  // 0x1ffc
2475    int x2000;                  // 0x2000
2476    int x2004;                  // 0x2004
2477    int x2008;                  // 0x2008
2478    int x200c;                  // 0x200c
2479    int x2010;                  // 0x2010
2480    int x2014;                  // 0x2014
2481    int x2018;                  // 0x2018
2482    int x201c;                  // 0x201c
2483    int x2020;                  // 0x2020
2484    int x2024;                  // 0x2024
2485    int x2028;                  // 0x2028
2486    int x202c;                  // 0x202c
2487    int x2030;                  // 0x2030
2488    int x2034;                  // 0x2034
2489    int x2038;                  // 0x2038
2490    int x203c;                  // 0x203c
2491    int x2040;                  // 0x2040
2492    int x2044;                  // 0x2044
2493    int x2048;                  // 0x2048
2494    int x204c;                  // 0x204c
2495    int x2050;                  // 0x2050
2496    int x2054;                  // 0x2054
2497    int x2058;                  // 0x2058
2498    int x205c;                  // 0x205c
2499    int x2060;                  // 0x2060
2500    int x2064;                  // 0x2064
2501    int x2068;                  // 0x2068
2502    int x206c;                  // 0x206c
2503    int x2070;                  // 0x2070
2504    int x2074;                  // 0x2074
2505    int x2078;                  // 0x2078
2506    int x207c;                  // 0x207c
2507    int x2080;                  // 0x2080
2508    int x2084;                  // 0x2084
2509    int x2088;                  // 0x2088
2510    int x208c;                  // 0x208c
2511    int x2090;                  // 0x2090
2512    int x2094;                  // 0x2094
2513    int x2098;                  // 0x2098
2514    int x209c;                  // 0x209c
2515    int x20a0;                  // 0x20a0
2516    int x20a4;                  // 0x20a4
2517    int x20a8;                  // 0x20a8
2518    int x20ac;                  // 0x20ac
2519    int x20b0;                  // 0x20b0
2520    int x20b4;                  // 0x20b4
2521    int x20b8;                  // 0x20b8
2522    int x20bc;                  // 0x20bc
2523    int x20c0;                  // 0x20c0
2524    int x20c4;                  // 0x20c4
2525    int x20c8;                  // 0x20c8
2526    int x20cc;                  // 0x20cc
2527    int x20d0;                  // 0x20d0
2528    int x20d4;                  // 0x20d4
2529    int x20d8;                  // 0x20d8
2530    int x20dc;                  // 0x20dc
2531    int x20e0;                  // 0x20e0
2532    int x20e4;                  // 0x20e4
2533    int x20e8;                  // 0x20e8
2534    int x20ec;                  // 0x20ec
2535    int x20f0;                  // 0x20f0
2536    int x20f4;                  // 0x20f4
2537    int x20f8;                  // 0x20f8
2538    int x20fc;                  // 0x20fc
2539    int x2100;                  // 0x2100
2540    int x2104;                  // 0x2104
2541    int x2108;                  // 0x2108
2542    int x210c;                  // 0x210c
2543    int x2110;                  // 0x2110
2544    int x2114;                  // 0x2114
2545    int x2118;                  // 0x2118
2546    int x211c;                  // 0x211c
2547    int x2120;                  // 0x2120
2548    int x2124;                  // 0x2124
2549    int x2128;                  // 0x2128
2550    int x212c;                  // 0x212c
2551    int x2130;                  // 0x2130
2552    int x2134;                  // 0x2134
2553    int x2138;                  // 0x2138
2554    int x213c;                  // 0x213c
2555    int x2140;                  // 0x2140
2556    int x2144;                  // 0x2144
2557    int x2148;                  // 0x2148
2558    int x214c;                  // 0x214c
2559    int x2150;                  // 0x2150
2560    int x2154;                  // 0x2154
2561    int x2158;                  // 0x2158
2562    int x215c;                  // 0x215c
2563    int x2160;                  // 0x2160
2564    int x2164;                  // 0x2164
2565    int x2168;                  // 0x2168
2566    int x216c;                  // 0x216c
2567    int x2170;                  // 0x2170
2568    int x2174;                  // 0x2174
2569    int x2178;                  // 0x2178
2570    int x217c;                  // 0x217c
2571    int x2180;                  // 0x2180
2572    int x2184;                  // 0x2184
2573    int x2188;                  // 0x2188
2574    int x218c;                  // 0x218c
2575    int x2190;                  // 0x2190
2576    int x2194;                  // 0x2194
2577    int x2198;                  // 0x2198
2578    int x219c;                  // 0x219c
2579    int x21a0;                  // 0x21a0
2580    int x21a4;                  // 0x21a4
2581    int x21a8;                  // 0x21a8
2582    int x21ac;                  // 0x21ac
2583    int x21b0;                  // 0x21b0
2584    int x21b4;                  // 0x21b4
2585    int x21b8;                  // 0x21b8
2586    int x21bc;                  // 0x21bc
2587    int x21c0;                  // 0x21c0
2588    int x21c4;                  // 0x21c4
2589    int x21c8;                  // 0x21c8
2590    int x21cc;                  // 0x21cc
2591    int x21d0;                  // 0x21d0
2592    int x21d4;                  // 0x21d4
2593    int x21d8;                  // 0x21d8
2594    int x21dc;                  // 0x21dc
2595    int x21e0;                  // 0x21e0
2596    int x21e4;                  // 0x21e4
2597    int x21e8;                  // 0x21e8
2598    int x21ec;                  // 0x21ec
2599    int x21f0;                  // 0x21f0
2600    int x21f4;                  // 0x21f4
2601    int x21f8;                  // 0x21f8
2602    int x21fc;                  // 0x21fc
2603    int x2200;                  // 0x2200
2604    int x2204;                  // 0x2204
2605    int x2208;                  // 0x2208
2606    int x220c;                  // 0x220c
2607    int x2210;                  // 0x2210
2608    int x2214;                  // 0x2214
2609    int x2218;                  // 0x2218
2610    int x221c;                  // 0x221c
2611    int x2220;                  // 0x2220
2612    int x2224;                  // 0x2224
2613    int x2228;                  // 0x2228
2614    int x222c;                  // 0x222c
2615    int x2230;                  // 0x2230
2616    int x2234;                  // 0x2234
2617    int x2238;                  // 0x2238
2618    int x223c;                  // 0x223c
2619    int x2240;                  // 0x2240
2620    int x2244;                  // 0x2244
2621    int x2248;                  // 0x2248
2622    int x224c;                  // 0x224c
2623    int x2250;                  // 0x2250
2624    int x2254;                  // 0x2254
2625    int x2258;                  // 0x2258
2626    int x225c;                  // 0x225c
2627    int x2260;                  // 0x2260
2628    int x2264;                  // 0x2264
2629    int x2268;                  // 0x2268
2630    int x226c;                  // 0x226c
2631    int x2270;                  // 0x2270
2632    int x2274;                  // 0x2274
2633    int x2278;                  // 0x2278
2634    int x227c;                  // 0x227c
2635    int x2280;                  // 0x2280
2636    int x2284;                  // 0x2284
2637    int x2288;                  // 0x2288
2638    int x228c;                  // 0x228c
2639    int x2290;                  // 0x2290
2640    int x2294;                  // 0x2294
2641    int x2298;                  // 0x2298
2642    int x229c;                  // 0x229c
2643    int x22a0;                  // 0x22a0
2644    int x22a4;                  // 0x22a4
2645    int x22a8;                  // 0x22a8
2646    int x22ac;                  // 0x22ac
2647    int x22b0;                  // 0x22b0
2648    int x22b4;                  // 0x22b4
2649    int x22b8;                  // 0x22b8
2650    int x22bc;                  // 0x22bc
2651    int x22c0;                  // 0x22c0
2652    int x22c4;                  // 0x22c4
2653    int x22c8;                  // 0x22c8
2654    int x22cc;                  // 0x22cc
2655    int x22d0;                  // 0x22d0
2656    int x22d4;                  // 0x22d4
2657    int x22d8;                  // 0x22d8
2658    int x22dc;                  // 0x22dc
2659    int x22e0;                  // 0x22e0
2660    int x22e4;                  // 0x22e4
2661    int x22e8;                  // 0x22e8
2662    int x22ec;                  // 0x22ec
2663    int x22f0;                  // 0x22f0
2664    int x22f4;                  // 0x22f4
2665    int x22f8;                  // 0x22f8
2666    int x22fc;                  // 0x22fc
2667    int x2300;                  // 0x2300
2668    int x2304;                  // 0x2304
2669    int x2308;                  // 0x2308
2670    int x230c;                  // 0x230c
2671    int x2310;                  // 0x2310
2672    int x2314;                  // 0x2314
2673    int x2318;                  // 0x2318
2674    int x231c;                  // 0x231c
2675    int x2320;                  // 0x2320
2676    int x2324;                  // 0x2324
2677    int x2328;                  // 0x2328
2678    int x232c;                  // 0x232c
2679    int x2330;                  // 0x2330
2680    int x2334;                  // 0x2334
2681    int x2338;                  // 0x2338
2682    int x233c;                  // 0x233c
2683    int x2340;                  // 0x2340
2684    int x2344;                  // 0x2344
2685    int x2348;                  // 0x2348
2686    int x234c;                  // 0x234c
2687    int x2350;                  // 0x2350
2688    int x2354;                  // 0x2354
2689    int x2358;                  // 0x2358
2690    int x235c;                  // 0x235c
2691    int x2360;                  // 0x2360
2692    int x2364;                  // 0x2364
2693    int x2368;                  // 0x2368
2694    int x236c;                  // 0x236c
2695    int x2370;                  // 0x2370
2696    int x2374;                  // 0x2374
2697    int x2378;                  // 0x2378
2698    int x237c;                  // 0x237c
2699    int x2380;                  // 0x2380
2700    int x2384;                  // 0x2384
2701    int x2388;                  // 0x2388
2702    int x238c;                  // 0x238c
2703    int x2390;                  // 0x2390
2704    int x2394;                  // 0x2394
2705    int x2398;                  // 0x2398
2706    int x239c;                  // 0x239c
2707    int x23a0;                  // 0x23a0
2708    int x23a4;                  // 0x23a4
2709    int x23a8;                  // 0x23a8
2710    int x23ac;                  // 0x23ac
2711    int x23b0;                  // 0x23b0
2712    int x23b4;                  // 0x23b4
2713    int x23b8;                  // 0x23b8
2714    int x23bc;                  // 0x23bc
2715    int x23c0;                  // 0x23c0
2716    int x23c4;                  // 0x23c4
2717    int x23c8;                  // 0x23c8
2718    int x23cc;                  // 0x23cc
2719    int x23d0;                  // 0x23d0
2720    int x23d4;                  // 0x23d4
2721    int x23d8;                  // 0x23d8
2722    int x23dc;                  // 0x23dc
2723    int x23e0;                  // 0x23e0
2724    int x23e4;                  // 0x23e4
2725    int x23e8;                  // 0x23e8
2726    int x23ec;                  // 0x23ec
2727    int x23f0;                  // 0x23f0
2728    int x23f4;                  // 0x23f4
2729    int x23f8;                  // 0x23f8
2730    int x23fc;                  // 0x23fc
2731    int x2400;                  // 0x2400
2732    int x2404;                  // 0x2404
2733    int x2408;                  // 0x2408
2734    int x240c;                  // 0x240c
2735    int x2410;                  // 0x2410
2736    int x2414;                  // 0x2414
2737    int x2418;                  // 0x2418
2738    int x241c;                  // 0x241c
2739    int x2420;                  // 0x2420
2740    int x2424;                  // 0x2424
2741    int x2428;                  // 0x2428
2742    int x242c;                  // 0x242c
2743    int x2430;                  // 0x2430
2744    int x2434;                  // 0x2434
2745    int x2438;                  // 0x2438
2746    int x243c;                  // 0x243c
2747    int x2440;                  // 0x2440
2748    int x2444;                  // 0x2444
2749    int x2448;                  // 0x2448
2750    int x244c;                  // 0x244c
2751    int x2450;                  // 0x2450
2752    int x2454;                  // 0x2454
2753    int x2458;                  // 0x2458
2754    int x245c;                  // 0x245c
2755    int x2460;                  // 0x2460
2756    int x2464;                  // 0x2464
2757    int x2468;                  // 0x2468
2758    int x246c;                  // 0x246c
2759    int x2470;                  // 0x2470
2760    int x2474;                  // 0x2474
2761    int x2478;                  // 0x2478
2762    int x247c;                  // 0x247c
2763    int x2480;                  // 0x2480
2764    int x2484;                  // 0x2484
2765    int x2488;                  // 0x2488
2766    int x248c;                  // 0x248c
2767    int x2490;                  // 0x2490
2768    int x2494;                  // 0x2494
2769    int x2498;                  // 0x2498
2770    int x249c;                  // 0x249c
2771    int x24a0;                  // 0x24a0
2772    int x24a4;                  // 0x24a4
2773    int x24a8;                  // 0x24a8
2774    int x24ac;                  // 0x24ac
2775    int x24b0;                  // 0x24b0
2776    int x24b4;                  // 0x24b4
2777    int x24b8;                  // 0x24b8
2778    int x24bc;                  // 0x24bc
2779    int x24c0;                  // 0x24c0
2780    int x24c4;                  // 0x24c4
2781    MatchInit match;            // 0x24c8
2782};
2783
2784static Match *stc_match = (void *)0x8046b6a0;
2785static MatchCamera *stc_matchcam = (void *)0x80452c68;
2786static COBJ **stc_matchcam_cobj = R13_OFFSET(-0x523c);
2787static MatchHUD *stc_matchhud = (void *)0x804a0fd8;
2788static MatchOffscreen *stc_match_offscreen = (void *)0x804a1de0;
2789static MatchNametags *stc_match_nametags = (void *)0x804a1ed0;
2790static ExclamData *stc_exclam_data = (void *)0x803f9628; // 8 of these
2791static HSD_Archive **stc_ifall_archive = (void *)0x804d6d5c;
2792static CmSubject **stc_match_camera_subject = (void *)0x804d6468; // linked list of all camera boxes
2793static int *stc_match_canvas = (void *)0x804a1f58;
2794static GOBJ **stc_match_screencolor_gobj = (void *)0x804d63e0;
2795static u8 *stc_hud_is_hidden = (void *)0x804D6D6C;
2796static u8 *stc_develop_hide_hud = (void *)0x804d6d58; //
2797static float *stc_match_fgm_volume = R13_OFFSET(-0x7dbc);
2798static float *stc_match_bgm_volume = R13_OFFSET(-0x7db8);
2799static JOBJDesc **stc_intro_scene_data = R13_OFFSET(-0x50a4);
2800static HSD_Archive **stc_intro_archive = R13_OFFSET(-0x50ac);
2801static HSD_Archive **stc_viwait_archive = R13_OFFSET(-0x474c);
2802
2803/*** Functions ***/
2804CmSubject *CameraSubject_Alloc();
2805void CameraSubject_Destroy(CmSubject *cam);
2806void KOCount_Init(int updateCallback);
2807void KOCount_Update(int KOs);
2808void Stage_CameraLimitInitialization();
2809void Stage_BlastzoneInitialization();
2810Match *Match_GetMatchData();
2811void Match_SetEndGraphic(int graphic);
2812void Match_DisplayEndGraphic(void *cb);
2813void Match_EndImmediate();
2814void Match_EndVS();
2815void Match_FadeScreen(int time);
2816int Match_CheckIfTeams();
2817int Match_CheckIfStock();
2818int Match_CheckIfFriendlyFire();
2819void Match_SetPostMatchSFX(int sfx);
2820void Match_FreezeGame(int freeze_kind);
2821void Match_UnfreezeGame(int freeze_kind);
2822void Match_CreateHUD(int ply);
2823void Match_HideHUD();
2824void Match_ShowHUD();
2825void Match_HidePercents();
2826void Match_ShowPercents();
2827void Match_ShowTimer();
2828void Match_HideTimer();
2829void Match_CorrectCamera();
2830void Match_SetNormalCamera();
2831void Match_SetFreeCamera(int unk, int unk2);
2832void Match_SetZoomCamera(int unk, int unk2);
2833void Match_SetFixedCamera();
2834void Match_SetDevelopCamera();
2835void DevCam_AdjustRotate(COBJ *cobj, Vec3 *wobjpos, Vec3 *rotate, float stickX, float stickY);
2836void DevCam_AdjustPan(COBJ *cobj, float stickX, float stickY);
2837void DevCam_AdjustZoom(COBJ *cobj, float stickY);
2838void ScreenFlash_Create(int kind, int unk);
2839void ScreenRumble_Execute(int kind, Vec3 *pos);
2840void Match_StoreGoCallback(GOBJ *gobj, void *cb);
2841void Match_CreateExclamation(int exclam, int is_play_sfx, int sfx, int r6, void *cb, void *cb2);
2842void Match_AdjustSoundOnPause(int is_pause);
2843Vec3 *Match_GetPlayerHUDPos(int ply);
2844COBJ *Match_GetCObj();
2845float Match_GetDamageRatio();
2846void Match_CreateGOExclamation();
2847void Match_EnableFighterInputs();
2848void Match_ApplyScreenColAnim(int colanim_index, int unk);
2849void Match_SetStageRenderFlags(int flags);
2850u8 Match_CheckHUDHiddenDevelop();
2851void Match_ShowHUDDevelop();
2852void Match_HideHUDDevelop();
2853u8 Match_IsHUDHiddenDevelop();
2854void Match_InitCameraSubjects(int unk);
2855void Match_InitFighters(); // allocs hsd obj for fighterdata
2856void Match_InitUnk1();
2857void Match_InitUnk2();
2858void Match_InitStage();
2859void Match_LoadStage(GrExternal gr_kind, int unk);
2860void Match_LoadCommonItems();
2861void Match_LoadPdPm();
2862void Match_InitCrowdReact();
2863void Match_InitItems(); // allocs hsd obj for itemdata
2864void Match_CreateStage();
2865void Match_CreateCamera();
2866void Match_CameraThink();
2867void Match_CameraSetFOV(float fov);
2868void Match_InitEffects();
2869void Match_IndexAuxAnim(CharacterKind c_kind, HSD_Archive *archive, int anim_kind);
2870void Match_ClearAuxAnim();
2871char *Match_GetVIWaitFilename(CharacterKind c_kind);
2872
2873void MatchInfo_0x0010_store(int unk);
2874#endif