forked from zeldaret/oot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.h
3868 lines (3860 loc) · 88.6 KB
/
variables.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#ifndef _VARIABLES_H_
#define _VARIABLES_H_
#include <z64.h>
#include <segment_symbols.h>
extern u8 D_00113070[];
extern u8 D_001579A0[];
extern u8 D_02000000[];
extern u8 D_02000400[];
extern u8 D_02000500[];
extern u8 D_02000900[];
extern u8 D_02000A00[][0x400];
extern u8 D_02001E00[];
extern u8 D_02001F00[];
extern u8 D_02002FC0[];
extern u8 D_02002000[];
extern u8 D_02002100[];
extern u8 D_02002500[];
extern u8 D_02002580[];
extern u8 D_02002600[];
extern u8 D_02002900[];
//extern ? D_02002E40;
extern u8 D_02003040[][0x80];
extern u8 D_020035C0[][0x40];
extern u8 D_020038C0[];
extern u8 D_02003940[];
extern u8 D_02003AC0[];
extern u32 D_0201DA50;
extern u32 D_0300AA48;
extern u32 D_03012B20;
//extern ? D_040020D0;
//extern ? D_04002160;
//extern ? D_04002280;
//extern ? D_04003238;
extern u32 D_04004298;
//extern ? D_04006020;
extern Gfx D_0400C820[];
extern u32 D_0400CB70;
extern u32 D_04010130;
//extern ? D_04015720;
//extern ? D_04015760;
//extern ? D_0401A0B0;
extern u32 D_0401E370;
//extern ? D_0402CF30;
//extern ? D_04037730;
//extern ? D_04038F00;
//extern ? D_04038FB0;
extern u32 D_0403B030;
extern u32 D_0403BBA0;
extern u32 D_0403BCD8;
extern u32 D_0403F070;
extern u32 D_04042440;
//extern ? D_04048160;
extern u32 D_04048180;
extern Gfx D_04049210[];
extern u32 D_04049AD0;
//extern ? D_0404D1C0;
extern u32 D_0404D450;
//extern ? D_0500CA70;
//extern ? D_06006CC0;
//extern ? D_06016118;
//extern ? D_06025218;
//extern ? D_060252D8;
//extern ? D_06025438;
//extern ? D_06025598;
//extern ? D_06025658;
//extern ? D_060257B8;
//extern ? D_0602A738;
//extern ? D_0602CB48;
//extern ? D_070380D4;
//extern ? D_0703811C;
extern u8 D_080895C0[];
//extern ? D_80000004;
//extern ? D_80000008;
//extern ? D_8000000C;
//extern ? D_80000010;
//extern ? D_80000020;
extern u32 osTvType;
extern u32 osRomBase;
extern u32 osResetType;
extern u32 osMemSize;
extern u8 osAppNmiBuffer[];
extern u8 D_80009320[];
extern u8 D_800093F0[];
extern u8 D_80009430;
extern volatile u8 gViConfigUseDefault;
extern u8 gViConfigAdditionalScanLines;
extern u32 gViConfigFeatures;
extern f32 gViConfigXScale;
extern f32 gViConfigYScale;
extern OSPiHandle* gCartHandle;
extern u32 gCurrentRegion;
extern u32 __osPiAccessQueueEnabled;
extern OSViMode osViModePalLan1;
extern u64 osClockRate;
extern u32 osViClock;
extern u32 __osShutdown;
extern u32 __OSGlobalIntMask;
extern __osHwInt __osHwIntTable[];
extern OSThread* __osThreadTail[];
extern OSThread *__osRunQueue;
extern OSThread *__osActiveQueue;
extern OSThread *__osRunningThread;
extern OSThread* __osFaultedThread;
extern OSMgrArgs __osPiDevMgr;
extern OSPiHandle* __osPiTable;
extern OSPiHandle* __osCurrentHandle[];
extern OSTimer* __osTimerList;
extern OSViMode osViModeNtscLan1;
extern OSViMode osViModeMpalLan1;
extern OSViContext* __osViCurr;
extern OSViContext* __osViNext;
extern OSViMode osViModeFpalLan1;
extern u32 __additional_scanline;
extern u8 gBuildTeam[];
extern u8 gBuildDate[];
extern u8 gBuildMakeOption[];
extern OSMesgQueue gPiMgrCmdQ;
extern OSViMode gViConfigMode;
extern u8 D_80013960;
extern OSMesg piAccessBuf;
extern OSMesgQueue __osPiAccessQueue;
extern OSPiHandle __Dom1SpeedParam;
extern OSPiHandle __Dom2SpeedParam;
extern OSThread __osThreadSave;
extern __OSEventState __osEventStateTab[];
extern OSTimer __osBaseTimer;
extern OSTime __osCurrentTime;
extern u32 __osBaseCounter;
extern u32 __osViIntrCount;
extern u32 __osTimerCounter;
extern OSPiHandle __CartRomHandle;
extern DmaEntry gDmaDataTable[0x60C];
//extern ? D_800D7288;
extern u8 D_801120C0[];
extern u8 D_80113070[];
extern u8 D_80114930[];
//extern ? D_80115440;
//extern ? D_80115760;
//extern ? D_80115770;
//extern ? D_8011578C;
//extern ? D_8011579C;
//extern ? D_801157AC;
//extern ? D_801157BC;
//extern ? D_801157CC;
//extern ? D_801157DC;
//extern ? D_801157EC;
//extern ? D_801157FC;
//extern ? D_80115810;
//extern ? D_80115860;
//extern ? D_80115868;
//extern ? D_8011587C;
//extern ? D_801158A4;
extern EffectTableInfo EffectSS2Info; // 801158B0
//extern ? D_801158B4;
//extern u32 D_801158B8;
//extern ? D_801158C0;
//extern ? D_801158CC;
//extern ? D_801158D0;
//extern ? D_801158D4;
//extern ? D_801158D8;
//extern ? D_801158DC;
//extern ? D_801158E0;
//extern ? D_801158E4;
//extern ? D_801158E8;
//extern ? D_801158EC;
//extern ? D_801158F0;
//extern ? D_801158F4;
//extern ? D_801158F8;
//extern ? D_801158FC;
//extern ? D_80115908;
//extern ? D_80115914;
//extern ? D_80115920;
//extern ? D_8011592C;
//extern ? D_801159A4;
//extern ? D_801159A6;
//extern ? D_801159A8;
//extern ? D_801159A9;
//extern ? D_801159AA;
//extern ? D_801159C0;
//extern ? D_801159CC;
//extern ? D_80115DC0;
//extern ? D_80115F68;
//extern ? D_80115F6C;
//extern ? D_80115F70;
extern Gfx D_80116280[];
extern ActorOverlay gActorOverlayTable[471]; // original name: "actor_dlftbls" 801162A0
extern s32 gMaxProfile;
//extern ? D_80119E2C;
//extern ? D_80119E52;
//extern ? D_80119E54;
//extern ? D_80119E94;
//extern ? D_80119EAC;
//extern ? D_80119EE0;
//extern ? D_80119F4C;
//extern ? D_80119F50;
//extern ? D_80119F88;
//extern ? D_80119F8C;
//extern ? D_8011A2A4;
//extern ? D_8011D064;
//extern ? D_8011D390;
extern s32 D_8011D394;
//extern ? D_8011D398;
//extern ? D_8011D39C;
//extern ? D_8011D3A0;
//extern ? D_8011D3A2;
//extern ? D_8011D3A4;
//extern ? D_8011D3A8;
extern s32 D_8011D3AC;
//extern ? D_8011D3E8;
//extern ? D_8011D3F0;
//extern ? D_8011D3F4;
//extern ? D_8011D3F8;
//extern ? D_8011D658;
//extern ? D_8011D678;
//extern ? D_8011D6A8;
//extern ? D_8011D6AC;
//extern ? D_8011D6D8;
//extern ? D_8011D724;
//extern ? D_8011D79C;
//extern ? D_8011D83C;
//extern ? D_8011D88C;
//extern ? D_8011D8DC;
//extern ? D_8011D954;
//extern ? D_8011D9F4;
//extern ? D_8011DA6C;
//extern ? D_8011DA9C;
//extern ? D_8011DB08;
//extern ? D_8011DB0C;
//extern ? D_8011DB10;
//extern ? D_8011DB14;
//extern ? D_8011DB20;
//extern ? D_8011DE00;
//extern ? D_8011DE18;
//extern ? D_8011DE20;
//extern ? D_8011DE2C;
//extern ? D_8011DE54;
//extern ? D_8011DE6C;
//extern ? D_8011DE78;
//extern ? D_8011DEAC;
//extern ? D_8011DEEC;
//extern ? D_8011DF5C;
//extern ? D_8011DF6C;
//extern ? D_8011DFAC;
//extern ? D_8011DFEC;
//extern ? D_8011E008;
//extern ? D_8011E028;
//extern ? D_8011E02A;
//extern ? D_8011E02C;
//extern ? D_8011E02E;
//extern ? D_8011E056;
//extern ? D_8011E058;
//extern ? D_8011E05A;
//extern ? D_8011E068;
//extern ? D_8011E06A;
//extern ? D_8011E06C;
//extern ? D_8011E06E;
//extern ? D_8011E096;
//extern ? D_8011E098;
//extern ? D_8011E09A;
extern s16 D_8011E0B0;
extern Color_RGBA8 D_8011E0B4[];
//extern ? D_8011E0D4;
extern GameStateOverlay gGameStateOverlayTable[6];
//extern ? D_8011FAF0;
extern u8 D_8011FB30;
//extern ? D_8011FB34;
extern u8 D_8011FB38;
//extern ? D_8011FB3C;
extern u16 D_8011FB40;
//extern ? D_8011FB44;
//extern ? D_8011FB48;
//extern ? D_8011FC1C;
//extern ? D_8011FD3C;
//extern ? D_8011FDCC;
//extern ? D_8011FDD0;
//extern ? D_8011FE00;
//extern ? D_8011FE20;
//extern ? D_8011FE48;
//extern ? D_8011FE70;
//extern ? D_8011FE7C;
//extern ? D_8011FE88;
//extern ? D_8011FE94;
//extern ? D_8011FEC4;
//extern ? D_8011FED0;
//extern ? D_80120030;
extern s32 gZeldaArenaLogSeverity;
extern s16 D_80120130;
//extern ? D_80120134;
//extern ? D_80120138;
//extern ? D_8012013C;
//extern ? D_8012021C;
//extern ? D_801202FC;
//extern ? D_80120300;
//extern ? D_80120304;
//extern ? D_80120308;
//extern ? D_80120398;
//extern ? D_8012042C;
//extern ? D_80120430;
//extern ? D_80120434;
//extern ? D_801204D4;
//extern ? D_801205B4;
//extern ? D_80120694;
//extern ? D_80120698;
//extern ? D_8012069C;
//extern ? D_801206A0;
//extern ? D_80120760;
//extern ? D_80120820;
//extern ? D_801208E4;
//extern ? D_801208E8;
//extern ? D_801208EC;
//extern ? D_801208FC;
//extern ? D_80120908;
//extern ? D_80120930;
//extern ? D_80120964;
//extern ? D_80120974;
//extern ? D_80120980;
//extern ? D_801209B4;
//extern ? D_801209C4;
//extern ? D_801209D0;
//extern ? D_801209EC;
//extern ? D_801209F8;
//extern ? D_80120A54;
//extern ? D_80120ACC;
//extern ? D_80120B94;
//extern ? D_80120D4C;
//extern ? D_80120E64;
//extern ? D_80120FA4;
//extern ? D_80121094;
//extern ? D_8012110C;
//extern ? D_80121184;
//extern ? D_801211A0;
//extern ? D_801211D4;
//extern ? D_80121224;
//extern ? D_80121314;
//extern ? D_8012133C;
//extern ? D_80121358;
//extern ? D_801213B4;
//extern ? D_8012147C;
//extern ? D_8012151C;
//extern ? D_8012156C;
//extern ? D_801215BC;
//extern ? D_801215E4;
//extern ? D_80121774;
//extern ? D_80121814;
//extern ? D_801218B4;
//extern ? D_80121904;
//extern ? D_80121954;
//extern ? D_80121A44;
//extern ? D_80121C24;
//extern ? D_80121C34;
//extern ? D_80121C40;
//extern ? D_80121D3C;
//extern ? D_80121DB4;
//extern ? D_80121F1C;
//extern ? D_80121F2C;
//extern ? D_80121F38;
//extern ? D_80121FBC;
//extern ? D_80121FCC;
//extern ? D_80121FD8;
//extern ? D_8012205C;
//extern ? D_801220D4;
//extern ? D_801220E4;
//extern ? D_801220F0;
//extern ? D_8012219C;
//extern ? D_801222B4;
//extern ? D_8012237C;
//extern ? D_801223CC;
//extern ? D_801224BC;
//extern ? D_801225D4;
//extern ? D_8012269C;
//extern ? D_80122714;
//extern ? D_801227B4;
//extern ? D_801228A4;
//extern ? D_8012296C;
//extern ? D_80122A0C;
//extern ? D_80122A5C;
//extern ? D_80122B9C;
//extern ? D_80122C14;
//extern ? D_80122C3C;
//extern ? D_80122C64;
//extern ? D_80122C8C;
//extern ? D_80122CB4;
//extern ? D_80122D04;
//extern ? D_80122D54;
//extern ? D_80122DCC;
//extern ? D_80122E44;
//extern ? D_80123074;
//extern ? D_8012313C;
//extern ? D_801231B4;
//extern ? D_8012323C;
//extern ? D_80123248;
//extern ? D_80123254;
//extern ? D_80123264;
//extern ? D_80123270;
//extern ? D_8012328C;
//extern ? D_80123298;
//extern ? D_801232A4;
//extern ? D_801232B4;
//extern ? D_801232C0;
//extern ? D_801232CC;
//extern ? D_80123394;
//extern ? D_8012345C;
//extern ? D_801234FC;
//extern ? D_801235C4;
//extern ? D_8012368C;
//extern ? D_8012372C;
//extern ? D_801237CC;
//extern ? D_80123894;
//extern ? D_801238A4;
//extern ? D_801238B0;
//extern ? D_8012390C;
//extern ? D_8012391C;
//extern ? D_80123928;
//extern ? D_8012395C;
//extern ? D_8012396C;
//extern ? D_80123978;
//extern ? D_801239D4;
extern MapData gMapDataTable;
//extern ? D_80125870;
extern s16 gSpoilingItems[3];
extern s16 gSpoilingItemReverts[3];
//extern ? D_80125B78;
//extern ? D_80125C88;
//extern ? D_80125C98;
//extern ? D_80125D68;
//extern ? D_80125E08;
//extern ? D_80125E18;
//extern ? D_80125E58;
//extern ? D_80125F40;
//extern ? D_80125F98;
//extern ? D_80126008;
//extern ? D_80126014;
//extern ? D_8012601C;
//extern ? D_8012602C;
//extern ? D_80126038;
//extern ? D_80126070;
//extern ? D_80126080;
//extern ? D_8012608C;
//extern ? D_80126098;
//extern ? D_801260A4;
//extern ? D_801260B0;
//extern ? D_801260BC;
//extern ? D_801260C8;
//extern ? D_801260D4;
//extern ? D_80126100;
//extern ? D_80126128;
//extern ? D_80126134;
//extern ? D_80126154;
//extern ? D_80126184;
//extern ? D_80126190;
//extern ? D_8012619C;
//extern ? D_801261CC;
//extern ? D_801261D8;
//extern ? D_801261E0;
//extern ? D_80126200;
//extern ? D_80126210;
//extern ? D_80126218;
//extern ? D_80126228;
//extern ? D_80126234;
//extern ? D_80126240;
//extern ? D_80126250;
//extern ? D_80126254;
extern Gfx gEmptyDL[];
extern u32 gBitFlags[32];
extern u16 gEquipMasks[4];
extern u16 gEquipNegMasks[4];
extern u32 gUpgradeMasks[8];
extern u32 gUpgradeNegMasks[8];
extern u8 gEquipShifts[4];
extern u8 gUpgradeShifts[8];
extern u16 gUpgradeCapacities[8][4];
extern u32 gItemIcons[0x82];
extern u8 gItemSlots[56];
extern void (*gSceneCmdHandlers[26])(GlobalContext*, SceneCmd*);
extern s16 gLinkObjectIds[2];
extern u32 gObjectTableSize;
extern RomFile gObjectTable[402];
extern EntranceInfo gEntranceTable[1556];
extern Scene gSceneTable[110];
//extern ? D_8012A4A0;
//extern ? D_8012A4E0;
//extern ? D_8012A4EC;
//extern ? D_8012A4F8;
//extern ? D_8012A544;
//extern ? D_8012A550;
//extern ? D_8012A5B0;
//extern ? D_8012A5B4;
//extern ? D_8012A600;
//extern ? D_8012A60C;
//extern ? D_8012A66C;
//extern ? D_8012A690;
//extern ? D_8012A69C;
//extern ? D_8012A6A4;
//extern ? D_8012A704;
//extern ? D_8012A71C;
extern u8 gLetterTLUT[4][32]; // original name: "moji_tlut"
extern u8 gFontFF[]; // original name: "font_ff"
//extern ? D_8012AC90;
//extern ? D_8012ACA0;
//extern ? D_8012AD20;
//extern ? D_8012AD2C;
//extern ? D_8012AD40;
//extern ? D_8012ADC0;
//extern ? D_8012ADD8;
//extern ? D_8012AE18;
//extern ? D_8012AE24;
//extern ? D_8012AE30;
//extern ? D_8012AE3C;
//extern ? D_8012AEBC;
//extern ? D_8012AF0C;
//extern ? D_8012B000;
//extern ? D_8012B030;
//extern ? D_8012B060;
//extern ? D_8012BA90;
//extern ? D_8012BBA8;
//extern ? D_8012BFA8;
//extern ? D_8012C3A8;
//extern ? D_8012C7A8;
//extern ? D_8012CDC8;
//extern ? D_8012CEA0;
//extern ? D_8012CED0;
//extern ? D_8012CED4;
//extern ? D_8012CED8;
//extern ? D_8012CEE0;
//extern ? D_8012CEE4;
//extern ? D_8012CEE8;
//extern ? D_8012CEEC;
//extern ? D_8012CEF0;
//extern ? D_8012CEF4;
//extern ? D_8012CEF8;
//extern ? D_8012CF04;
//extern ? D_8012CF08;
//extern ? D_8012CF0C;
//extern ? D_8012CF10;
//extern ? D_8012CF14;
//extern ? D_8012CF18;
//extern ? D_8012CF24;
//extern ? D_8012CF30;
//extern ? D_8012CF34;
//extern ? D_8012CF38;
//extern ? D_8012CF3C;
//extern ? D_8012CF40;
//extern ? D_8012CF44;
//extern ? D_8012CF48;
//extern ? D_8012CF4C;
//extern ? D_8012CF50;
//extern ? D_8012CF60;
//extern ? D_8012CF64;
//extern ? D_8012CF68;
//extern ? D_8012CF6C;
//extern ? D_8012CF70;
//extern ? D_8012CF74;
//extern ? D_8012CF78;
//extern ? D_8012CF7C;
//extern ? D_8012CF80;
//extern ? D_8012CF84;
//extern ? D_8012CF88;
//extern ? D_8012CF94;
//extern ? D_8012CF98;
//extern ? D_8012CF9C;
//extern ? D_8012CFA4;
//extern ? D_8012CFA8;
//extern ? D_8012CFAC;
//extern ? D_8012CFB0;
//extern ? D_8012CFB4;
//extern ? D_8012CFBC;
//extern ? D_8012CFC4;
//extern ? D_8012CFD0;
//extern ? D_8012CFE4;
//extern ? D_8012CFF8;
//extern ? D_8012D00C;
//extern ? D_8012D020;
//extern ? D_8012D034;
//extern ? D_8012D05C;
//extern ? D_8012D066;
//extern ? D_8012D070;
//extern ? D_8012D079;
//extern ? D_8012D084;
//extern ? D_8012D08E;
//extern ? D_8012D0AC;
//extern ? D_8012D0C0;
//extern ? D_8012D0CA;
//extern ? D_8012D0D4;
//extern ? D_8012D0DB;
//extern ? D_8012D0DC;
//extern ? D_8012D0E4;
//extern ? D_8012D0EE;
//extern ? D_8012D0EF;
//extern ? D_8012D0F8;
//extern ? D_8012D102;
//extern ? D_8012D103;
//extern ? D_8012D10C;
//extern ? D_8012D110;
//extern ? D_8012D114;
//extern ? D_8012D11E;
//extern ? D_8012D128;
//extern ? D_8012D132;
//extern ? D_8012D13C;
//extern ? D_8012D14C;
//extern ? D_8012D158;
//extern ? D_8012D170;
//extern ? D_8012D172;
//extern ? D_8012D180;
//extern ? D_8012D184;
//extern ? D_8012D188;
//extern ? D_8012D198;
extern KaleidoManagerOvl gKaleidoMgrOverlayTable[KALEIDO_OVL_COUNT];
extern KaleidoManagerOvl* gKaleidoMgrCurOvl;
extern void* D_8012D1F0;
//extern ? D_8012D200;
//extern ? D_8012D207;
//extern ? D_8012D210;
//extern ? D_8012D230;
//extern ? D_8012D248;
//extern ? D_8012D260;
//extern ? D_8012D264;
extern s32 gScreenWidth;
extern s32 gScreenHeight;
extern u32 gSystemHeapSize;
extern volatile u32 D_8012D290;
//extern ? D_8012D2A0;
extern Mtx gMtxClear;
extern MtxF gMtxFClear;
extern u8 D_8012DBB0;
extern u32 D_8012DBC0;
extern volatile u32 gIrqMgrResetStatus;
extern u32 D_8012DBA0;
extern u32 D_8012DBA4;
extern s32 gDebugArenaLogSeverity;
//extern ? D_8012DCA0;
//extern ? D_8012DCF8;
//extern ? D_8012DD1C;
//extern ? D_8012DDDC;
//extern ? D_8012DE1C;
//extern ? D_8012E02C;
extern s16* gWaveSamples[6];
//extern ? D_8012F098;
//extern ? D_8012F0B0;
//extern ? D_8012F8B4;
//extern ? D_8012FAB4;
//extern ? D_8012FAC4;
//extern ? D_8012FAD4;
extern NoteSubEu gZeroNoteSub;
extern NoteSubEu gDefaultNoteSub;
extern u16 gHeadsetPanQuantization[0x10];
extern f32 gHeadsetPanVolume[128];
extern f32 gStereoPanVolume[128];
//extern ? D_8012FBAA;
//extern ? D_8012FFFF;
//extern ? D_80130001;
//extern ? D_80130002;
//extern ? D_80130004;
//extern ? D_80130006;
extern f32 gDefaultPanVolume[128];
//extern ? D_80130228;
//extern ? D_80130328;
//extern ? D_801304A0;
//extern ? D_801304AC;
//extern ? D_801304C0;
//extern ? D_801304D0;
//extern ? D_801304D8;
//extern ? D_801304DC;
//extern ? D_801304E0;
//extern ? D_801304E4;
//extern ? D_801304E8;
//extern ? D_801304EC;
//extern ? D_801304F0;
//extern ? D_80130500;
//extern ? D_80130514;
//extern ? D_80130570;
//extern ? D_80130578;
//extern ? D_801305B0;
//extern ? D_801305B4;
//extern ? D_801305B8;
//extern ? D_801305BC;
//extern ? D_801305C0;
//extern ? D_801305CC;
//extern ? D_801305E0;
//extern ? D_801305F4;
//extern ? D_801305FF;
//extern ? D_80130600;
//extern ? D_80130604;
//extern ? D_80130608;
//extern ? D_8013060C;
//extern ? D_80130610;
//extern ? D_80130614;
//extern ? D_80130618;
//extern ? D_8013061C;
//extern ? D_80130624;
//extern ? D_80130628;
//extern ? D_8013062C;
//extern ? D_80130630;
//extern ? D_80130634;
//extern ? D_80130638;
//extern ? D_8013063C;
//extern ? D_80130640;
//extern ? D_80130644;
//extern ? D_80130648;
//extern ? D_8013064C;
//extern ? D_80130650;
//extern ? D_80130654;
//extern ? D_80130658;
//extern ? D_801306DC;
//extern ? D_80130EFC;
//extern ? D_80130F00;
//extern ? D_80130F04;
//extern ? D_80130F08;
//extern ? D_80130F0C;
//extern ? D_80130F10;
//extern ? D_80130F14;
//extern ? D_80130F18;
//extern ? D_80130F1C;
//extern ? D_80130F20;
//extern ? D_80130F24;
//extern ? D_80130F28;
//extern ? D_80130F2C;
//extern ? D_80130F30;
//extern ? D_80130F34;
//extern ? D_80130F38;
//extern ? D_80130F3C;
//extern ? D_80130F3E;
//extern ? D_80130F40;
//extern ? D_80130F44;
//extern ? D_80130F48;
//extern ? D_80130F4C;
//extern ? D_80130F50;
//extern ? D_80130F54;
//extern ? D_80130F58;
//extern ? D_80130F5C;
//extern ? D_80130F60;
//extern ? D_80130F64;
//extern ? D_80130F68;
//extern ? D_80130F6C;
//extern ? D_80130F74;
//extern ? D_80130F78;
//extern ? D_80130F80;
//extern ? D_80131100;
//extern ? D_8013170C;
//extern ? D_80131840;
//extern ? D_80131858;
//extern ? D_8013185C;
//extern ? D_80131860;
//extern ? D_80131864;
//extern ? D_80131868;
//extern ? D_8013186C;
//extern ? D_80131870;
//extern ? D_80131874;
//extern ? D_80131878;
//extern ? D_8013187C;
//extern ? D_80131880;
//extern ? D_80131884;
//extern ? D_8013188C;
//extern ? D_80131BE4;
//extern ? D_80131BE8;
//extern ? D_80131BEC;
//extern ? D_80131BF0;
//extern ? D_80131C00;
//extern ? D_80131C80;
//extern ? D_80131C84;
//extern ? D_80131C88;
//extern ? D_80131C90;
//extern ? D_80131C94;
//extern ? D_80131C98;
//extern ? D_80131C9C;
//extern ? D_80131CA0;
//extern ? D_80131CA4;
//extern ? D_80131CA8;
//extern ? D_80131CAC;
//extern ? D_80131E08;
//extern ? D_80131E14;
//extern ? D_80131E20;
//extern ? D_80131E24;
//extern ? D_80131E38;
//extern ? D_80131E43;
//extern ? D_80131E59;
//extern ? D_80131E64;
//extern ? D_80131E6F;
//extern ? D_80131E7A;
//extern ? D_80131E88;
//extern ? D_80131EBC;
//extern ? D_80131EC0;
//extern ? D_80131EC4;
//extern ? D_80131EC8;
//extern ? D_80131ED0;
//extern ? D_80131ED4;
//extern ? D_80131ED8;
//extern ? D_80131EDC;
//extern ? D_80131EE0;
//extern ? D_80131EE4;
//extern ? D_80131EEE;
//extern ? D_80131EFC;
//extern ? D_80131F00;
//extern ? D_80131F04;
//extern ? D_80131F08;
//extern ? D_80131F0C;
//extern ? D_80131F18;
//extern ? D_80131F1C;
//extern ? D_80131F20;
//extern ? D_80131F28;
//extern ? D_80131F2C;
//extern ? D_80131F30;
//extern ? D_80131F44;
//extern ? D_80131F4C;
//extern ? D_80131F50;
//extern ? D_80131F54;
//extern ? D_80131F64;
//extern ? D_80131F68;
//extern ? D_80131F6C;
//extern ? D_8013331C;
//extern ? D_80133340;
//extern ? D_80133344;
//extern ? D_80133390;
//extern ? D_80133398;
//extern ? D_801333A0;
//extern ? D_801333A4;
//extern ? D_801333A8;
//extern ? D_801333C4;
//extern ? D_801333CC;
//extern ? D_801333D0;
extern Vec3f D_801333D4;
extern u32 D_801333E0;
extern u32 D_801333E8;
//extern ? D_801333F0;
//extern ? D_801333F4;
//extern ? D_801333F8;
//extern ? D_80133400;
//extern ? D_80133404;
//extern ? D_80133408;
//extern ? D_8013340C;
//extern ? D_80133414;
//extern ? D_80133418;
//extern ? D_801337C8;
extern s32 gOverlayLogSeverity;
//extern ? D_80134480;
//extern ? D_80134484;
extern s32 gSystemArenaLogSeverity;
//extern ? D_801344C0;
//extern u32 gOsSiAccessQueueCreated = 0;
//extern u32 gOsContInitialized = 0;
//extern ? D_80134CF0;
//extern ? D_80134CF4;
extern s32 D_80134D20;
//extern ? D_80135130;
//extern ? D_80135158;
extern char D_80135180[];
extern char D_80135194[];
//extern ? D_801351A8;
//extern ? D_801351BC;
//extern ? D_801351F8;
//extern ? D_8013520C;
//extern ? D_80135220;
//extern ? D_80135230;
//extern ? D_80135244;
//extern ? D_80135264;
//extern ? D_80135278;
//extern ? D_801352B8;
//extern ? D_801352CC;
//extern ? D_801352E0;
//extern ? D_801352F4;
//extern ? D_80135308;
//extern ? D_8013531C;
//extern ? D_80135330;
//extern ? D_80135344;
//extern ? D_80135358;
//extern ? D_801353A4;
//extern ? D_801353B8;
//extern ? D_801353E0;
//extern ? D_801353F4;
//extern ? D_80135418;
//extern ? D_80135450;
//extern ? D_80135458;
//extern ? D_80135494;
//extern ? D_80135498;
//extern ? D_801354B4;
//extern ? D_801354E0;
//extern ? D_80135504;
//extern ? D_80135518;
//extern ? D_80135548;
//extern ? D_8013555C;
//extern ? D_80135594;
//extern ? D_801355C0;
//extern ? D_801355D4;
//extern ? D_801355E8;
//extern ? D_801355FC;
//extern ? D_80135610;
//extern ? D_80135624;
//extern ? D_80135638;
//extern ? D_8013564C;
//extern ? D_80135660;
//extern ? D_80135674;
//extern ? D_80135688;
//extern ? D_8013569C;
//extern ? D_801356C0;
//extern ? D_801356F8;
//extern ? D_8013571C;
//extern ? D_80135730;
//extern ? D_80135750;
//extern ? D_80135780;
//extern ? D_8013579C;
//extern ? D_801357C0;
extern char D_801357DC[];
//extern ? D_801357F8;
//extern ? D_8013581C;
//extern ? D_80135838;
//extern ? D_80135878;
//extern ? D_80135894;
//extern ? D_8013589C;
//extern ? D_80135958;
//extern ? D_8013595C;
//extern ? D_80135964;
//extern ? D_801359AC;
//extern ? D_801359B0;
//extern ? D_80135A4C;
//extern ? D_80135A54;
//extern ? D_80135ADC;
//extern ? D_80135AE8;
//extern ? D_80135BB4;
//extern ? D_80135BBC;
//extern ? D_80135BF4;
//extern ? D_80135C00;
//extern ? D_80135C24;
//extern ? D_80135FD8;
//extern ? D_80135FE8;
//extern ? D_80135FF0;
//extern ? D_80135FF4;
//extern ? D_80136010;
//extern ? D_80136028;
//extern ? D_80136040;
//extern ? D_80136048;
//extern ? D_80136078;
//extern ? D_8013607C;
//extern ? D_80136080;
//extern ? D_80136090;
//extern ? D_801360A0;
//extern ? D_801360B0;
//extern ? D_801360C0;
//extern ? D_801360D0;
//extern ? D_801360E0;
//extern ? D_801360F0;
//extern ? D_80136100;
//extern ? D_80136110;
//extern ? D_80136130;
//extern ? D_80136140;
//extern ? D_80136150;
//extern ? D_80136160;
//extern ? D_80136170;
//extern ? D_80136180;
//extern ? D_80136184;
//extern ? D_801361B8;
extern char D_80136208[];
extern char D_80136218[];
extern char D_80136228[];
extern char D_80136238[];
//extern ? D_8013627C;
//extern ? D_8013628C;
//extern ? D_8013629C;
//extern ? D_801362AC;
//extern ? D_801362BC;
//extern ? D_801362CC;
//extern ? D_801362E4;
//extern ? D_801362F4;
//extern ? D_80136304;
//extern ? D_80136340;
//extern ? D_80136354;
//extern ? D_80136358;
//extern ? D_80136374;
//extern ? D_80136384;
//extern ? D_80136398;
//extern ? D_801363A4;
//extern ? D_801363B4;
//extern ? D_801363C4;
//extern ? D_801363D4;
//extern ? D_801363E4;
//extern ? D_801363F4;
//extern ? D_80136408;
//extern ? D_80136434;
//extern ? D_80136458;
//extern ? D_80136480;
//extern ? D_80136490;
//extern ? D_801364A0;
//extern ? D_801364B4;
//extern ? D_801364C4;
//extern ? D_801364D4;
//extern ? D_801364D8;
//extern ? D_80136508;
//extern ? D_80136518;
//extern ? D_8013653C;
//extern ? D_8013654C;
//extern ? D_8013657C;
//extern ? D_80136598;
//extern ? D_801365BC;
//extern ? D_801365D4;
//extern ? D_801365E4;
//extern ? D_80136610;