Skip to content

Commit b061987

Browse files
committed
Match all 12-byte functions
1 parent 40f5fcb commit b061987

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+41515
-37948
lines changed

asm/dolphin/gx/GXTexture.s

+1,279-1,240
Large diffs are not rendered by default.

asm/melee/db/db_2253.s

+3,341-2,432
Large diffs are not rendered by default.

asm/melee/gm/gm_1A36.s

+1,277-109
Large diffs are not rendered by default.

asm/sysdolphin/baselib/hsd_40FF.s

+33,531-33,525
Large diffs are not rendered by default.

config/GALE01/symbols.txt

+4-18
Original file line numberDiff line numberDiff line change
@@ -18309,22 +18309,8 @@ GXSetChanMatColor = .text:0x8033E3F4; // type:function size:0x168 scope:global
1830918309
GXSetNumChans = .text:0x8033E55C; // type:function size:0x4C scope:global
1831018310
GXSetChanCtrl = .text:0x8033E5A8; // type:function size:0x1E4 scope:global
1831118311
GXGetTexBufferSize = .text:0x8033E78C; // type:function size:0x15C scope:global
18312-
GXTexture_8033E7B4 = .text:0x8033E7B4; // type:label scope:global
18313-
GXTexture_8033E7C0 = .text:0x8033E7C0; // type:label scope:global
18314-
GXTexture_8033E7CC = .text:0x8033E7CC; // type:label scope:global
18315-
GXTexture_8033E7D8 = .text:0x8033E7D8; // type:label scope:global
1831618312
__GetImageTileCount = .text:0x8033E8E8; // type:function size:0xC8 scope:global
18317-
GXTexture_8033E908 = .text:0x8033E908; // type:label scope:global
18318-
GXTexture_8033E914 = .text:0x8033E914; // type:label scope:global
18319-
GXTexture_8033E920 = .text:0x8033E920; // type:label scope:global
18320-
GXTexture_8033E92C = .text:0x8033E92C; // type:label scope:global
1832118313
GXInitTexObj = .text:0x8033E9B0; // type:function size:0x274 scope:global
18322-
GXTexture_8033EB58 = .text:0x8033EB58; // type:label scope:global
18323-
GXTexture_8033EB6C = .text:0x8033EB6C; // type:label scope:global
18324-
GXTexture_8033EB80 = .text:0x8033EB80; // type:label scope:global
18325-
GXTexture_8033EB94 = .text:0x8033EB94; // type:label scope:global
18326-
GXTexture_8033EBA8 = .text:0x8033EBA8; // type:label scope:global
18327-
GXTexture_8033EBBC = .text:0x8033EBBC; // type:label scope:global
1832818314
GXInitTexObjCI = .text:0x8033EC24; // type:function size:0x48 scope:global
1832918315
GXInitTexObjLOD = .text:0x8033EC6C; // type:function size:0x194 scope:global
1833018316
GXGetTexObjWidth = .text:0x8033EE00; // type:function size:0x10 scope:global
@@ -22222,10 +22208,10 @@ gm_803DBFCC = .data:0x803DBFCC; // type:object size:0xC scope:global
2222222208
gm_803DBFD8 = .data:0x803DBFD8; // type:object size:0x10F0 scope:global
2222322209
gm_803DD0C8 = .data:0x803DD0C8; // type:object size:0x14 scope:global
2222422210
gm_803DD0DC = .data:0x803DD0DC; // type:object size:0x1E4 scope:global
22225-
gm_803DD2C0 = .data:0x803DD2C0; // type:object size:0x128 scope:global
22226-
gm_803DD3E8 = .data:0x803DD3E8; // type:object size:0x10 scope:global
22227-
gm_803DD3F8 = .data:0x803DD3F8; // type:object size:0x10 scope:global
22228-
gm_803DD408 = .data:0x803DD408; // type:object size:0x50 scope:global
22211+
gm_803DD2C0 = .data:0x803DD2C0; // type:object size:0x128 scope:global data:int
22212+
gm_803DD3E8 = .data:0x803DD3E8; // type:object size:0xD scope:global data:string
22213+
gm_803DD3F8 = .data:0x803DD3F8; // type:object size:0xF scope:global data:string
22214+
gm_803DD408 = .data:0x803DD408; // type:object size:0x50 scope:global data:string
2222922215
jumptable_803DD458 = .data:0x803DD458; // type:object size:0x5C scope:local
2223022216
gm_803DD4B4 = .data:0x803DD4B4; // type:object size:0x1C scope:global
2223122217
gm_803DD4D0 = .data:0x803DD4D0; // type:object size:0x80 scope:global data:4byte

src/dolphin/ax/AXOut.c

+11-3
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,25 @@
22

33
#include <dolphin/ax.h>
44

5-
static void (*__AXUserFrameCallback)(void);
5+
/* 4D7548 */ static void (*__AXUserFrameCallback)(void);
6+
/* 4D754C */ static int __AXDSPInitFlag;
7+
/* 4D7550 */ static int __AXDSPDoneFlag;
68

79
/// #__AXOutNewFrame
810

911
/// #__AXOutAiCallback
1012

11-
/// #__AXDSPInitCallback
13+
void __AXDSPInitCallback(void)
14+
{
15+
__AXDSPInitFlag = 1;
16+
}
1217

1318
/// #__AXDSPResumeCallback
1419

15-
/// #__AXDSPDoneCallback
20+
void __AXDSPDoneCallback(void)
21+
{
22+
__AXDSPDoneFlag = 1;
23+
}
1624

1725
/// #__AXOutInitDSP
1826

src/dolphin/ax/AXSPB.c

+15
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1+
#include <platform.h>
12

3+
#include "AXSPB.h"
4+
5+
static AXSPB __AXStudio ATTRIBUTE_ALIGN(32);
6+
7+
AXSPB* __AXGetStudio(void)
8+
{
9+
return &__AXStudio;
10+
}
11+
12+
/// #__AXPrintStudio
13+
14+
/// #__AXSPBInit
15+
16+
/// #__AXDepopVoice

src/dolphin/ax/AXSPB.h

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
#ifndef DOLPHIN_AX_AXSPB_H
2-
#define DOLPHIN_AX_AXSPB_H
1+
#ifndef GALE01_359D8C
2+
#define GALE01_359D8C
33

4-
void __AXSPBInit(void);
4+
#include <placeholder.h>
5+
#include <dolphin/ax.h>
6+
7+
/* 359D8C */ AXSPB* __AXGetStudio(void);
8+
/* 359D98 */ UNK_RET __AXPrintStudio(UNK_PARAMS);
9+
/* 35A190 */ void __AXSPBInit(void);
10+
/* 35A1BC */ UNK_RET __AXDepopVoice(UNK_PARAMS);
511

612
#endif

src/dolphin/ax/AXVPB.c

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "AXVPB.h"
22

3-
static u32 __AXNumVoices;
3+
/* 4B09E0 */ static AXPB __AXPB;
4+
/* 4D7588 */ static u32 __AXNumVoices;
45

56
u32 __AXGetNumVoices(void)
67
{
@@ -11,7 +12,10 @@ u32 __AXGetNumVoices(void)
1112

1213
/// #__AXSyncPBs
1314

14-
/// #__AXGetPBs
15+
AXPB* __AXGetPBs(void)
16+
{
17+
return &__AXPB;
18+
}
1519

1620
/// #__AXSetPBDefault
1721

src/dolphin/ax/AXVPB.h

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
#ifndef DOLPHIN_AX_AXVPB_H
2-
#define DOLPHIN_AX_AXVPB_H
1+
#ifndef GALE01_35A250
2+
#define GALE01_35A250
33

44
#include <platform.h>
55

6+
#include <placeholder.h>
67
#include <dolphin/ax.h>
78

8-
void __AXDumpVPB(AXVPB* pvpb);
9-
void __AXVPBQuit(void);
10-
119
/* 35A250 */ u32 __AXGetNumVoices(void);
1210
/* 35A258 */ void __AXServiceVPB(AXVPB* pvpb);
1311
/* 35A934 */ void __AXSyncPBs(u32 lessDspCycles);

src/dolphin/mcc/fio.c

+31
Original file line numberDiff line numberDiff line change
@@ -1 +1,32 @@
1+
#include "fio.h"
12

3+
/* 4D70DC */ static s32 gProcBusy;
4+
5+
/// #fioMccChannelEvent
6+
7+
/// #FIOInit
8+
9+
/// #FIOExit
10+
11+
/// #FIOQuery
12+
13+
/// #FIOFopen
14+
15+
/// #FIOFclose
16+
17+
/// #FIOFwrite
18+
19+
/// #fioPacketMakeHeader
20+
21+
/// #fioPacketSendPacket
22+
23+
/// #fioPacketReceiveResult
24+
25+
void fioPacketReceiveDone(void)
26+
{
27+
gProcBusy = 0;
28+
}
29+
30+
/// #fioPacketWrite
31+
32+
/// #fioPacketResultWrite

src/dolphin/mcc/fio.h

+19
Original file line numberDiff line numberDiff line change
@@ -1 +1,20 @@
1+
#ifndef DOLPHIN_MCC_FIO_H
2+
#define DOLPHIN_MCC_FIO_H
13

4+
#include <placeholder.h>
5+
6+
/* 32EA84 */ UNK_RET fioMccChannelEvent(UNK_PARAMS);
7+
/* 32EB44 */ UNK_RET FIOInit(UNK_PARAMS);
8+
/* 32EC00 */ UNK_RET FIOExit(UNK_PARAMS);
9+
/* 32EC6C */ UNK_RET FIOQuery(UNK_PARAMS);
10+
/* 32ED8C */ UNK_RET FIOFopen(UNK_PARAMS);
11+
/* 32EE94 */ UNK_RET FIOFclose(UNK_PARAMS);
12+
/* 32EF48 */ UNK_RET FIOFwrite(UNK_PARAMS);
13+
/* 32F020 */ UNK_RET fioPacketMakeHeader(UNK_PARAMS);
14+
/* 32F0E4 */ UNK_RET fioPacketSendPacket(UNK_PARAMS);
15+
/* 32F228 */ UNK_RET fioPacketReceiveResult(UNK_PARAMS);
16+
/* 32F390 */ UNK_RET fioPacketReceiveDone(UNK_PARAMS);
17+
/* 32F39C */ UNK_RET fioPacketWrite(UNK_PARAMS);
18+
/* 32F468 */ UNK_RET fioPacketResultWrite(UNK_PARAMS);
19+
20+
#endif

src/melee/db/db_2253.c

+167
Original file line numberDiff line numberDiff line change
@@ -1 +1,168 @@
1+
#include "db_2253.h"
12

3+
#include <dolphin/mtx/types.h>
4+
5+
/* 4D6B50 */ static IntVec2 lbl_804D6B50;
6+
7+
/// #db_80225374
8+
9+
/// #db_802254B8
10+
11+
/// #fn_8022558C
12+
13+
/// #fn_802255A4
14+
15+
/// #fn_802255BC
16+
17+
/// #db_802255D4
18+
19+
/// #db_802256CC
20+
21+
/// #db_80225754
22+
23+
/// #fn_80225A00
24+
25+
/// #fn_80225A54
26+
27+
/// #db_80225B0C
28+
29+
/// #db_80225B20
30+
31+
/// #db_80225B34
32+
33+
/// #fn_80225B48
34+
35+
/// #fn_80225B9C
36+
37+
/// #fn_80225BF0
38+
39+
/// #fn_80225C44
40+
41+
/// #fn_80225C8C
42+
43+
/// #fn_80225CD4
44+
45+
/// #db_80225D1C
46+
47+
/// #db_80225D2C
48+
49+
/// #db_80225D40
50+
51+
/// #db_80225D54
52+
53+
/// #db_80225D64
54+
55+
/// #fn_80225D7C
56+
57+
/// #db_80225DD8
58+
59+
/// #fn_80225E6C
60+
61+
/// #fn_80225F20
62+
63+
/// #fn_802260D4
64+
65+
/// #fn_802261BC
66+
67+
/// #fn_802262E0
68+
69+
/// #fn_802264C4
70+
71+
/// #fn_8022659C
72+
73+
/// #fn_8022666C
74+
75+
/// #fn_80226730
76+
77+
/// #fn_802267C8
78+
79+
/// #fn_802268B8
80+
81+
/// #fn_8022697C
82+
83+
/// #fn_802269C0
84+
85+
/// #fn_80226BD4
86+
87+
void fn_80226E00(void)
88+
{
89+
lbl_804D6B50.x = 0;
90+
}
91+
92+
/// #fn_80226E0C
93+
94+
/// #fn_802270C4
95+
96+
/// #fn_8022713C
97+
98+
/// #fn_80227174
99+
100+
/// #fn_80227188
101+
102+
/// #fn_80227484
103+
104+
/// #fn_802277E8
105+
106+
/// #fn_80227904
107+
108+
/// #fn_802279E8
109+
110+
/// #fn_80227B64
111+
112+
/// #fn_80227BA8
113+
114+
/// #fn_80227CAC
115+
116+
/// #fn_80227D38
117+
118+
/// #fn_80227EB0
119+
120+
/// #fn_80227FE0
121+
122+
/// #fn_80228124
123+
124+
/// #fn_80228318
125+
126+
/// #fn_802283F0
127+
128+
/// #fn_80228620
129+
130+
/// #fn_8022873C
131+
132+
/// #fn_802287C4
133+
134+
/// #fn_802287D8
135+
136+
/// #fn_80228820
137+
138+
/// #db_8022886C
139+
140+
/// #db_8022887C
141+
142+
/// #db_8022892C
143+
144+
/// #fn_802289F8
145+
146+
/// #db_80228A64
147+
148+
/// #fn_80228AB4
149+
150+
/// #fn_80228B28
151+
152+
/// #db_80228C4C
153+
154+
/// #fn_80228CF4
155+
156+
/// #fn_80228D18
157+
158+
/// #fn_80228D38
159+
160+
/// #fn_80228E54
161+
162+
/// #fn_8022900C
163+
164+
/// #fn_802291A0
165+
166+
/// #fn_80229220
167+
168+
/// #fn_80229240

0 commit comments

Comments
 (0)