-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsymbol_addrs.txt
444 lines (382 loc) · 16.9 KB
/
symbol_addrs.txt
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
func_8010004C_DA693C = 0x8010004C; // rom:0xDA693C type:func
func_8010009C_DC16BC = 0x8010009C; // rom:0xDC16BC type:func
func_8010008C_E278CC = 0x8010008C; // rom:0xE278CC type:func
nnScCreateScheduler = 0x80000530;
nnScStartScheduler = 0x8000062C;
nnScGetAudioMQ = 0x800006F8;
nnScGetGfxMQ = 0x80000704;
nnScEventHandler = 0x80000710;
nnScAddClient = 0x800007d4;
nnScRemoveClient = 0x80000824;
nnScExecuteAudio = 0x80000900;
nnScExecuteGraphics = 0x80000A80;
nnScWaitTaskReady = 0x80000BB4;
RNG = 0x80022FD0; //rom:0x23BD0 type:func
calc_arctan_in_radians = 0x80023028; //rom:0x23C28 type:func
rotateCoordinatesByAngle = 0x800232F4; //rom:0x23EF4 type:func
dma_write = 0x80024260; //type:func
count_digits = 0x80024330; //type:func
UpdateBGM = 0x800267B8; //rom:0x273B8
DepthBuffer = 0x802DA800;
__osPfsPifRam = 0x80095660;
__osSiRawStartDma = 0x80046950;
__osPiDevMgr = 0x8006F420; //size:0x1c
piThread = 0x80092D50;
piThreadStack = 0x80092F00;
piEventQueue = 0x80093F00;
piEventBuf = 0x80093F18;
__osPiAccessQueueEnabled = 0x80070A10;
piAccessBuf = 0x800955E0;
__osPiAccessQueue = 0x800955E8;
__osPiRawStartDma = 0x8003D910;
__osEPiRawStartDma = 0x8003D9F0;
__osPiTable = 0x8006F43C;
bcopy = 0x8003E210;
__osSpSetStatus = 0x8003E1F0;
__osSpGetStatus = 0x8003E200;
__osSpSetPc = 0x8003E520;
__osSpRawStartDma = 0x8003E560;
__osSpDeviceBusy = 0x8003E5F0;
tmp_task = 0x80093FA0;
__osEventStateTab = 0x80093F20;
alSndpStop = 0x80039960;
alEvtqPostEvent = 0x8003FE6C;
alSndpSetVol = 0x80039A10;
__osAiDeviceBusy = 0x800426A0;
//os functions
initPFSPaks = 0x80031ACC;
__osInitialize_common = 0x80033850;
osCreatePiManager = 0x80033D80;
osCreateMesgQueue = 0x80033F10; //rom:0x34B10
osViSetEvent = 0x80033F40; //rom:0x34B40
osSetEventMesg = 0x80033FB0; //rom:0x34BB0
osRecvMesg = 0x80034020;
osSetIntMask = 0x80034160;
osSendMesg = 0x80034200;
osWritebackDCacheAll = 0x80034350;
osSpTaskYield = 0x80034380;
osSpTaskYielded = 0x800343a0;
_VirtualToPhysicalTask = 0x80034420;
osSpTaskLoad = 0x8003452c;
osSpTaskStartGo = 0x80034694;
osViBlack = 0x800346e0;
osViSwapBuffer = 0x80034750;
osViGetCurrentFramebuffer = 0x800347a0;
osCreateViManager = 0x80034840;
viMgrMain = 0x800349c8;
osViSetMode = 0x80034ba0;
osViSetSpecialFeatures = 0x80034c10;
osVirtualToPhysical = 0x80034dd0;
osWritebackDCache = 0x80034e50;
osGetTime = 0x80034ed0;
_nsqrtf = 0x80034f60;
guPositionF = 0x80034f70;
guPosition = 0x80035120;
guMtxF2L = 0x80035200; //rom:0x35E00 type:func
guMtxIdentF = 0x80035300; //rom:0x35F00 type:func
guMtxIdent = 0x80035388; //rom:0x35F88 type:func
sinf = 0x80035680; //type:func
guOrthoF = 0x80035840;
guOrtho = 0x80035994;
guPerspectiveF = 0x80035a00;
guPerspective = 0x80035c30;
guLookAtReflectF = 0x80035c90;
guLookAtReflect = 0x800360d0;
guTranslateF = 0x80036150;
guTranslate = 0x80036198;
cosf = 0x800361F0; //type:func
__CSPPostNextSeqEvent = 0x800370d0;
alSeqpGetState = 0x800390f0;
osPfsInitPak = 0x80039d90;
osMotorInit = 0x8003a4bc;
osSyncPrintf = 0x8003A7A0; //type:func
rmonPrintf = 0x8003A7BC; //type:func
osPfsFileState = 0x8003ae30;
osPfsFreeBlocks = 0x8003b120;
osPfsAllocateFile = 0x8003b270;
__osPfsDeclearPage = 0x8003b6f4;
__osClearPage = 0x8003b958;
osPfsDeleteFile = 0x8003ba20;
__osPfsReleasePages = 0x8003bd00;
__osBlockSum = 0x8003bf38;
__osPfsGetNextPage = 0x8003c030;
osPfsReadWriteFile = 0x8003c12c;
__osGetID = 0x8003C530; //type:func
osPfsNumFiles = 0x8003c790;
__osEnqueueAndYield = 0x8003d08c;
__osEnqueueThread = 0x8003d18c;
__osPopThread = 0x8003d1d4;
__osDispatchThread = 0x8003d1e4;
__osCleanupThread = 0x8003D360;
osLeoDiskInit = 0x8003D650;
__osSiGetAccess = 0x80044840;
__osSiRelAccess = 0x80044884;
__osPfsGetStatus = 0x800448b0;
__osPfsRequestOneChannel = 0x80044994;
__osPfsGetOneChannelData = 0x80044a54;
__osSumcalc = 0x80044af0;
__osIdCheckSum = 0x80044b4c;
__osPackRamReadData = 0x80045a6c;
osPfsChecker = 0x80045bb0;
corrupted_init = 0x80046274;
corrupted = 0x80046428;
osPfsIsPlug = 0x80046610;
__osPfsRequestData = 0x800467b0;
__osPfsGetInitData = 0x80046880;
osPfsFindFile = 0x80046fc0;
rspbootTextStart = 0x80049EF0; // rom:0x4AAF0 name_end:rspbootTextEnd
gspFast3DTextStart = 0x80049FC0; // rom:0x4ABC0 size:0x1430 name_end:gspFast3DTextEnd
aspMainTextStart = 0x8004B3F0; //size:0xe20 name_end:aspMainTextEnd
gspFast3DDataStart = 0x800723D0; //name_end:gspFast3DDataEnd
gThreadOutStack = 0x8031B2A0;
D_8004C270 = 0x8004C270; //type:s32 size:0x4
gMsg_Yes = 0x8004C280;
gMsg_No = 0x8004C288;
gMsg_Brian_escape_from_battle = 0x8004D250;
gMsg_Brian_won_the_battle = 0x8004D274;
D_8004D740 = 0x8004D740;
gRNG = 0x8004D748; //type:u32 size:0x4
gSaveSpawnLocationTbl = 0x80054048;
gMsg_Grand_Abbott_intro = 0x80054828;
gMsg_Shannon_Mammon_has_been_destroyed = 0x80054C04;
gPal_Ci8_Fire = 0x8005C958;
gMsg_num_zero = 0x8005F98C;
gMsg_NEW_DATA = 0x8005F9A0;
gMsg_Checking_Controller_Pak = 0x80069F90;
gMsg_Loading = 0x80069FB4;
gMsg_Saving = 0x80069FC4;
gMsg_Deleting = 0x80069FD4;
gMsg_Initializing = 0x80069FE8;
gControllerPakMessages = 0x8006A000;
gMsg_correct = 0x8006A03C;
gMsg_retry = 0x8006A048;
gMsg_Are_you_sure_you_want_to_overwrite_data = 0x8006A064;
gMsg_Are_you_sure_you_want_to_delete_data = 0x8006A094;
gMsg_Are_you_sure_you_want_to_initialize_your_Controller_Pak = 0x8006A0C4;
gMsg_Are_you_sure_you_want_to_exit_menu = 0x8006A14C;
gMsg_Please_insert_Controller_Pak = 0x8006A178;
gMsg_No_Quest_saves_found = 0x8006A1C8;
gMsg_No_data_found_on_this_Controller_Pak = 0x8006A208;
gMsg_Cannot_delete_data = 0x8006A238;
gMsg_Controller_pak_is_not_found = 0x8006A254;
gMsg_Game_note_not_found_on_current_Controller_Pak = 0x8006A2B4;
gMsg_To_continue_saving_insert_another_Controller_Pak = 0x8006A318;
gMsg_Corrupt_Controller_Pak = 0x8006A380;
gMsg_Controller_Pak_may_be_damaged = 0x8006A3F8;
gMsg_Please_reinsert_Controller_Pak = 0x8006A43C;
gMsg_No_Controller_Pak_found = 0x8006A4AC;
gMsg_There_are_not_enough_notes_or_pages_to_save_the_game = 0x8006A528;
gMsg_Cannot_create_new_note_on_this_Controller_Pak = 0x8006A5C4;
gMsg_Would_you_like_to_delete_notes_to_make_room = 0x8006A634;
gMsg_Continue_save = 0x8006A668;
gMsg_Please_reinsert_Controller_Pak_and_try_again = 0x8006A67C;
gMsg_There_is_not_enough_space_on_the_Controller_Pak = 0x8006A6D4;
gMsg_Are_you_sure_you_want_to_exit_menu_without_saving = 0x8006A85C;
gMsg_Are_you_sure_you_want_to_initialize_your_Controller_Pak_2 = 0x8006A898;
gSaveLocation_MELRODE_INN = 0x8006AAB4;
gSaveLocation_DONDORAN_INN = 0x8006AAC4;
gSaveLocation_DONDORAN_FLATS_INN = 0x8006AAD4;
gSaveLocation_WEST_CARMAGH_INN = 0x8006AAEC;
gSaveLocation_LARAPOOL_INN = 0x8006AB00;
gSaveLocation_CULL_HAZARD_COTTAGE = 0x8006AB10;
gSaveLocation_NORMOON_INN = 0x8006AB28;
gSaveLocation_LIMELIN_WHARF = 0x8006AB38;
gSaveLocation_LIMELIN_INN = 0x8006AB4C;
gSaveLocation_GREENOCH_INN = 0x8006AB5C;
gSaveLocation_DINDOM_DRIES_HUT = 0x8006AB6C;
gSaveLocation_BARAGOON_MOOR_HOUSE = 0x8006AB80;
gSaveLocation_BRANNOCH_INN = 0x8006AB98;
gSaveLocation_EPONAS_COTTAGE = 0x8006ABA8;
gSaveLocation_SEAGOING_SHIP = 0x8006ABC0;
gSaveLocation_BRANNOCH_CASTLE = 0x8006ABD4;
gSaveLocation_FLOATING_MONASTERY = 0x8006ABE8;
gSaveLocationNameTable = 0x8006AC00;
gPal_Ci4_Controller_Pak_menu_cursor = 0x8006AC70;
gTexture_Ci4_Controller_Pak_menu_cursor = 0x8006AC90;
gPal_Ci4_Controller_Pak_menu_BG = 0x8006AD00;
gTexture_Ci4_Controller_Pak_menu_BG = 0x8006AD20;
gTexture_Ci4_Controller_Pak_menu_BG_edge = 0x8006AF20;
gPal_Ci4_Controller_Pak_menu_border = 0x8006B120;
gTexture_Ci4_Controller_Pak_menu_border_UL = 0x8006B140;
gTexture_Ci4_Controller_Pak_menu_border_top_middle = 0x8006B1C0;
gTexture_Ci4_Controller_Pak_menu_border_UR = 0x8006B240;
gTexture_Ci4_Controller_Pak_menu_border_left_middle = 0x8006B2C0;
gTexture_Ci4_Controller_Pak_menu_border_middle = 0x8006B340;
gTexture_Ci4_Controller_Pak_menu_border_right_middle = 0x8006B3C0;
gTexture_Ci4_Controller_Pak_menu_border_left_middle_darker = 0x8006B440;
gTexture_Ci4_Controller_Pak_menu_border_middle_darker = 0x8006B4C0;
gTexture_Ci4_Controller_Pak_menu_border_right_middle_darker = 0x8006B540;
gTexture_Ci4_Controller_Pak_menu_border_LL = 0x8006B5C0;
gTexture_Ci4_Controller_Pak_menu_border_bottom_middle = 0x8006B650;
gTexture_Ci4_Controller_Pak_menu_border_LR = 0x8006B6E0;
__osRunQueue = 0x800709F8;
__osActiveQueue = 0x800709FC;
__osRunningThread = 0x80070A00;
__osRcpImTable = 0x80071AB0;
D_80071EA0 = 0x80071EA0;
jtbl_80071EC0 = 0x80071EC0;
gGameMode = 0x8007B2E0; //type:s16 size:0x2
gGameState = 0x8007B2E4; //type:s32 size:0x4
gMasterGfxPos = 0x8007B2FC;
gPlayerMainData = 0x8007BA80; //size:0x4C
gPlayerData1 = 0x8007BACC; //size:0x73
gNPCData = 0x8007BD30; //size:0x840
gMessageBuffer = 0x8007C570; //size:0x400
gNPCName = 0x8007C970; //size:0x20
D_8007D1A0 = 0x8007D1A0; //type:s32 size:0x4
D_80082910 = 0x80082910; //size:0x60
gNextMap = 0x80084EE4; //type:s32 size:0x4
gNextSubmap = 0x80084EE8; //type:s32 size:0x4
gCurrentMap = 0x80084EEC; //type:u32 size:0x4
gCurrentSubmap = 0x80084EF0; //type:s32 size:0x4
gAllowBattles = 0x80084F10; //type:u16 size:0x2
gMapDataPtr = 0x80084F18;
D_80085368 = 0x80085368; //size:0x18
gCurrentTime = 0x800859D0; //type:s32 size:0x4
gDayLength = 0x800859d4; //type:s32 size:0x4
D_800859D8 = 0x800859D8; //type:s32 size:0x4
gCurrentDay = 0x800859e0; //type:u16 size:0x2
gNumDustParticlesToSpawn = 0x80088420; //type:s32 size:0x4
D_80088428 = 0x80088428; //size:0x4000
D_8008C574 = 0x8008C574; //type:f32 size:0x4
D_8008C578 = 0x8008C578; //type:s16 size:0x2
gBattleState = 0x8008C592; //type:u16 size:0x2
D_8008C634 = 0x8008C634; //type:s32 size:0x4
gInventory = 0x8008CF78; //type:u8 size:0x96
D_8008FD00 = 0x8008FD00; //type:s8 size:0x4
gCurrControllerNum = 0x80092870; //type:s8 size:0x1
gPadStickX = 0x80092871; //type:s8 size:0x1
gPadStickY = 0x80092872; //type:s8 size:0x1
gPadButtonPressed = 0x80092874; //type:u16 size:0x2
gSIMessageQ = 0x80092880;
gPFS = 0x80092898;
gPad = 0x80092AA8; //size:0x05
gPakMenuScroll = 0x80092D0E; //type:u8 size:0x01
gBossVAddr = 0x802A7BC0; //size:0x4
gBossFileOffsetTbl = 0x803A9A90;
gBossData = 0x803A9AD0;
//overlay vars
gDL_PRESS_START = 0x801032E0; //rom:0xDA98D0
gTexture_Ci4_title_NEW_LOAD_DELETE = 0x80104C38; //rom:0xDAB528
gPal_Ci4_title_NEW_LOAD_DELETE = 0x80104F80; //rom:0xDAB870
gTexture_Ci4_title_cursor = 0x80105188; //rom:0xDABA78
gPal_Ci4_title_cursor = 0x801051E8; //rom:0xDABAD8
gTitleCursorCoordinatesTable = 0x8010340C; //rom:0xDA9CFC
gPal_Ci8_title_arrows = 0x80103440; //rom:0xDA9D30
gTexture_Ci8_title_arrows = 0x80103640; //rom:0xDA9F30
gPal_Ci4_title_unknown_greyscale = 0x80104A30; //rom:0xDAB320
gMsg_title_Insufficient_space = 0x801053E8; //rom:0xDABCD8
gMsg_title_No_use = 0x80105464; //rom:0xDABD54
gMsg_title_No_Controller_Pak_detected = 0x80105474; //rom:0xDABD64
gMsg_title_Please_connect_Controller_Pak_to_controller = 0x801054F0; //rom:0xDABDE0
gMsg_title_No_use_2 = 0x8010552C; //rom:0xDABE1C
gMsg_title_Yes = 0x80105538; //rom:0xDABE28
gMsg_title_No = 0x80105540; //rom:0xDABE30
gPal_title_Quest64 = 0x80105550; //rom:0xDABE40
gTexture_title_Quest64 = 0x80105750; //rom:0xDAC040
gPal_title_background = 0x80109090; //rom:0xDAF980
gTexture_title_background = 0x80109290; //rom:0xDAFB80
gPal_unk_title_mint_color = 0x8011ACA0; //rom:0xDC1590
gUnk_title_Zs = 0x8011ACB8; //rom:0xDC15A8
gTitleTimeoutTimer = 0x8011AD44;
gTitlePakMessagePtr = 0x8011AD5C;
gIntroBGTextureXPosition = 0x80166220;
osViClock = 0x8006F408;
osTvType = 0x80000300;
osAppNMIBuffer = 0x8000031C;
osClockRate = 0x8006F400; //type:u64
osResetType = 0x8000030C;
osPiRawReadIo = 0x8003D3D0;
__osSpRawWriteIo = 0x8003CA10;
__osSpRawReadIo = 0x8003C9C0;
__osSetFpcCsr = 0x8003C9B0;
__osFinalrom = 0x80092D40;
_bzero = 0x8003D430;
_Ldtob = 0x800484F0; //rom:0x488E0
_Genld = 0x80047F80; //rom:0x48B80
_Litob = 0x80047CE0;
memcpy = 0x8003FB20; //rom:0x40720
lldiv = 0x80049D60; //rom:0x4A960
ldiv = 0x80049E60; //rom:0x4AA60
_Printf = 0x8003F4D0;
_Putfld = 0x8003EE60;
strchr = 0x8003FB74;
strlen = 0x8003FB4C;
osPiStartDma = 0x80036510;
osAiSetFrequency = 0x800366C0;
osAiSetNextBuffer = 0x80037010;
osContStartQuery = 0x8003C8E0;
osContGetQuery = 0x8003C964;
__osContRamWrite = 0x80046B80;
osContStartReadData = 0x8003AC10;
osContGetReadData = 0x8003AC9C;
osContSetCh = 0x8003ABA0;
osStopThread = 0x80047A30;
__osDevMgrMain = 0x8003DC20;
osEPiRawReadIo = 0x80047BE0;
osEPiRawWriteIo = 0x80047B90;
__osGetSR = 0x8003C9A0;
osGetThreadPri = 0x8003D810;
__osDisableInt = 0x8003D4D0;
__osRestoreInt = 0x8003D4F0;
osInvalDCache = 0x80036460;
osInvalICache = 0x800363E0;
osJamMesg = 0x8003FBC0;
__createSpeedParam = 0x8003D370;
osMotorStop = 0x8003A000;
osMotorStart = 0x8003A1A0;
_MakeMotorData = 0x8003A340;
osAiGetLength = 0x80037000;
__osRepairPackId = 0x80044BB4;
__osCheckPackId = 0x80044FCC;
__osGetId = 0x80045164;
__osCheckId = 0x800453C0;
__osPfsRWInode = 0x800454BC;
__osPfsSelectBank = 0x800457DC;
__osContRamRead = 0x80045850;
osContInit = 0x8003A7E0;
__osContGetInitData = 0x8003A9D8;
__osPackRequestData = 0x8003AAA8;
osCreateThread = 0x80033AE0; //rom:0x346E0 type:func
osStartThread = 0x80033C30; //rom:0x34830 type:func
__osExceptionPreamble = 0x8003CA60;
__osProbeTLB = 0x8003EDA0;
__osResetGlobalIntMask = 0x80047B30;
__osSetCompare = 0x80047CD0;
__osSetGlobalIntMask = 0x80047C30;
__osSetSR = 0x8003C990;
osSetThreadPri = 0x8003D830;
osSetTimer = 0x80046EE0;
__osSiCreateAccessQueue = 0x800447F0;
__osPiCreateAccessQueue = 0x8003D750;
__osPiGetAccess = 0x8003D7A0;
__osPiRelAccess = 0x8003D7E4;
__osDequeueThread = 0x8003D510;
__osTimerServicesInit = 0x8003E620;
__osTimerInterrupt = 0x8003E6AC;
__osSetTimerIntr = 0x8003E824;
__osInsertTimer = 0x8003E898;
osYieldThread = 0x80047C80;
alHeapDBAlloc = 0x80036660;
alCSPNew = 0x80038190;
alSeqFileNew = 0x80038508;
alBnkfNew = 0x80038404;
alSeqpSetBank = 0x80038550;
__OSGlobalIntMask = 0x8006F410; //type:s32
__osException = 0x8003CA70;
osCartRomInit = 0x8003D550;
__CartRomHandle = 0x800954E0; //size:0x74
__osContLastCmd = 0x80095490;
__osMaxControllers = 0x80095491;
__osContDataCrc = 0x80046AB0;
__osContAddressCrc = 0x80046A00;
__ull_rshift = 0x80039AD0;
__ull_rem = 0x80039AFC;
__ull_div = 0x80039B38;
__ll_lshift = 0x80039B74;
__ll_rem = 0x80039BA0;
__ll_div = 0x80039BDC;
__ll_mul = 0x80039C38;
__ull_divremi = 0x80039C68;
__ll_mod = 0x80039CC8;
__ll_rshift = 0x80039D64;