-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsymbol_addrs.txt
More file actions
192 lines (159 loc) · 5.17 KB
/
symbol_addrs.txt
File metadata and controls
192 lines (159 loc) · 5.17 KB
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
HuDecode = 0x8000B000;
GetRandomByte = 0x8000B16C;
ReadMainFS = 0x80009C10;
FreeMainFS = 0x80009E6C;
HuMemInit = 0x80019980;
HuMemAlloc = 0x800199F8;
HuMemAllocTag = 0x80019A14;
HuMemFree = 0x80019A98;
HuMemBlockFree = 0x80019AF0;
HuMemFreeAllWithTag = 0x80019B34;
HuMemSetDirty = 0x80019CDC;
HuMemFreeAll = 0x80019CEC;
HuMemCleanUp = 0x80019D64;
HuMemGetSizeTag = 0x80019DB0;
HuMemGetSize = 0x80019E04;
HuMemSetTag = 0x80019E40;
HuMemDebugCheck = 0x80019E84;
// heap.c
MakeHeap = 0x800360D0;
Malloc = 0x800360F0;
Free = 0x80036188;
Realloc = 0x80036248;
GetAllocatedHeapSize = 0x80036310;
GetUsedMemoryBlockCount = 0x80036344;
GetMemoryAllocSize = 0x8003636C;
// heap_permanent.c
MakePermHeap = 0x80035840;
MallocPerm = 0x80035864;
FreePerm = 0x80035888;
ReallocPerm = 0x800358A4;
GetAllocatedPermHeapSize = 0x800358D0;
GetUsedMemoryBlockCountPerm = 0x800358F0;
// heap_temporary.c
MakeTempHeap = 0x80035910;
MallocTemp = 0x80035934;
FreeTemp = 0x80035958;
ReallocTemp = 0x80035974;
GetAllocatedTempHeapSize = 0x800359A0;
GetUsedMemoryBlockCountTemp = 0x800359C0;
// 47D60.c
InitObjSys = 0x80047160;
InitProcess = 0x80047EA0;
EndProcess = 0x80048008;
HuStartDma = 0x8004D9F8;
HuRomDmaRead = 0x8004DA40;
HuRomDmaCodeRead = 0x8004DB14;
// process.c
InitProcessSys = 0x8004EB20;
LinkProcess = 0x8004EB34;
UnlinkProcess = 0x8004EBC8;
CreateProcess = 0x8004EC04;
LinkChildProcess = 0x8004ED30;
UnlinkChildProcess = 0x8004ED84;
CreateChildProcess = 0x8004EDD4;
WaitForChildProcess = 0x8004EE18;
GetCurrentProcess = 0x8004EE68;
GetChildProcess = 0x8004EE74;
SetKillStatusProcess = 0x8004EE94;
KillProcess = 0x8004EED8;
KillChildProcess = 0x8004EF0C;
TerminateProcess = 0x8004EF6C;
ExitProcess = 0x8004EFD4;
SleepProcess = 0x8004F010;
SleepVProcess = 0x8004F074;
WakeupProcess = 0x8004F090;
SetProcessDestructor = 0x8004F098;
SetCurrentProcessDestructor = 0x8004F0A0;
CallProcess = 0x8004F0D0;
AllocProcessMemory = 0x8004F23C;
FreeProcessMemory = 0x8004F26C;
InitFadeIn = 0x80061FE8;
InitFadeOut = 0x80062050;
GetFadeStatus = 0x800620BC;
setjmp = 0x80066500;
longjmp = 0x80066564;
osEepromWrite = 0x80072020;
__osPackEepWriteData = 0x800721D4;
__osEepStatus = 0x8007227C;
osCreatePiManager = 0x800726A0;
__osEPiRawStartDma = 0x80072950;
osEPiStartDma = 0x80072B40;
osCartRomInit = 0x80072BE0;
osInvalDCache = 0x80078BA0;
osInvalICache = 0x80078C50;
osWritebackDCache = 0x80078CD0;
osWritebackDCacheAll = 0x80078D50;
osVirtualToPhysical = 0x800792D0;
cosf = 0x80079330;
sinf = 0x8007B530;
bcopy = 0x8007B970;
bzero = 0x8007BC90;
osInitRdb = 0x8007B8F0;
strchr = 0x8007BD30;
strlen = 0x8007BD70;
memcpy = 0x8007BD94;
rmonPrintf_func_8007BE50 = 0x8007BE50;
osSyncPrintf = 0x8007BE80;
osSyncPrintf_func_8007BEC0 = 0x8007BEC0;
osCreateMesgQueue = 0x8007BF00;
osJamMesg = 0x8007BF30;
osRecvMesg = 0x8007C070;
osSendMesg = 0x8007C1A0;
osGetThreadPri = 0x8007C9F0;
osSetThreadPri = 0x8007CA10;
osStartThread = 0x8007CAE0;
osGetTime = 0x8007CC90;
osSetTimer = 0x8007CD20;
__osProbeTLB = 0x8007D210;
__osEnqueueAndYield = 0x8008061C;
__osPopThread = 0x80080774;
__osDisableInt = 0x80080940;
__osRestoreInt = 0x800809B0;
sqrtf = 0x80081240;
_Printf = 0x80081A40;
osGetCount = 0x800830A0;
gHuMemIsDirty = 0x800A08A0;
// 824C0.s, some issue with disassembly of this symbol.
.L800CD1A0 = 0x800CD1A0;
func_800CD1A0 = 0x800CD1A0;
gLastMallocBlock = 0x800D03F4;
gFreeFunc = 0x800D135C;
gLastFreedBlock = 0x800D1238;
gMallocFunc = 0x800D556C;
gFirstMallocBlock = 0x800D6B68;
// ROM addresses
bin_hvq_ROM_START = 0x128CC60; // type:data rom:0x128CC60
bin_strings_jp_ROM_START = 0x1209850; // type:data rom:0x1209850
bin_strings_en_ROM_START = 0x121CAA0; // type:data rom:0x121CAA0
bin_strings_fr_ROM_START = 0x124D440; // type:data rom:0x124D440
bin_strings_de_ROM_START = 0x12355C0; // type:data rom:0x12355C0
bin_strings_es_ROM_START = 0x12765F0; // type:data rom:0x12765F0
bin_strings_it_ROM_START = 0x1261F90; // type:data rom:0x1261F90
// Broken symbols like `jtbl_80111170_overlays/overlay42` are created unless we define these.
// Seems like a bug in either the disassembler or splat.
jtbl_80111170_overlays_overlay42 = 0x80111170;
jtbl_8010C5D8_overlays_overlay68 = 0x8010C5D8;
jtbl_8010CFE8_overlays_overlay69 = 0x8010CFE8;
jtbl_801114D0_overlays_overlay124 = 0x801114D0;
// shared_board/F5070
PlayerHasEmptyItemSlot = 0x800E49DC; // type:func rom:0xF85FC
FixUpPlayerItemSlots = 0x800E4A08; // type:func rom:0xF8628
GetSpaceData = 0x800EB160; // type:func rom:0xFED80
GetAbsSpaceIndexFromChainSpaceIndex = 0x800EB184; // type:func rom:0xFEDA4
GetChainLength = 0x800EB1B0; // type:func rom:0xFEDD0
GetChainSpaceIndexFromAbsSpaceIndex = 0x800EB1CC;
SetSpaceType = 0x800EB7F0;
SetCurrentSpaceIndex = 0x800EBCBC; // type:func rom:0xFF8DC
GetCurrentSpaceIndex = 0x800EBCC8; // type:func rom:0xFF8E8
// shared_board/1006F0
SetPlayerOntoChain = 0x800ED91C; // type:func rom:0x10153C
SetNextChainAndSpace = 0x800ED998;
SetPrevChainAndSpace = 0x800ED9F8;
// shared_board/105D50
GetCurrentPlayerIndex = 0x800F2130; // type:func rom:0x105D50
GetPlayerStruct = 0x800F213C; // type:func rom:0x105D5C
PlayerIsCurrent = 0x800F217C;
PlayerIsCPU = 0x800F2198; // type:func rom:0x105DB8
AdjustPlayerCoins = 0x800F21C0; // type:func rom:0x105DE0
PlayerHasCoins = 0x800F2230; // type:func rom:0x105E50