papermario/undefined_syms.txt

263 lines
6.0 KiB
Plaintext
Raw Normal View History

2020-10-14 19:36:34 +02:00
osTvType = 0x80000300;
2020-08-01 20:08:48 +02:00
gGameStatusPtr = 0x8007419C;
2020-09-14 01:03:22 +02:00
gRandSeed = 0x80074410;
2020-08-09 04:17:37 +02:00
gUIStatus = 0x8010EF58;
2020-08-06 07:00:11 +02:00
gPlayerData = 0x8010F290;
gPlayerActionState = 0x8010F07C;
gPlayerAnimation = 0x8010F080;
2020-09-22 05:10:53 +02:00
gPlayerStatusPtr = 0x800F7B30;
gPlayerStatus = 0x8010EFC8;
2020-08-09 07:00:08 +02:00
gItemTable = 0x800878E0;
2020-08-14 16:25:33 +02:00
gWorldScriptList = 0x802DA490;
gBattleScriptList = 0x802DA690;
2020-08-22 09:43:30 +02:00
gNumScripts = 0x802DA488;
2020-08-14 16:25:33 +02:00
gCurrentScriptListPtr = 0x802DA890;
gPlayerNpcPtr = 0x802D9D20;
D_80147574 = 0x80147574;
2020-08-20 20:43:45 +02:00
D_8010EBB0 = 0x8010EBB0;
D_8010F250 = 0x8010F250;
2020-09-18 22:07:15 +02:00
D_80159D50 = 0x80159D50;
2020-08-01 20:08:48 +02:00
2020-10-13 03:28:01 +02:00
gWorldMapVars = 0x802DBCA8;
gBattleMapVars = 0x802DBCE8;
gWorldMapFlags = 0x802DBC70;
gBattleMapFlags = 0x802DBD34;
2020-08-01 20:08:48 +02:00
gMapTransitionAlpha = 0x800A0940;
2020-10-15 00:22:43 +02:00
D_800A0940 = 0x800A0940;
D_800A0942 = 0x800A0942;
D_800A0944 = 0x800A0944;
D_800A0954 = 0x800A0954;
D_800A0956 = 0x800A0956;
D_800A0958 = 0x800A0958;
D_800A095A = 0x800A095A;
D_800A095B = 0x800A095B;
D_800A095C = 0x800A095C;
D_800A095D = 0x800A095D;
D_800A095E = 0x800A095E;
D_800A095F = 0x800A095D;
D_800A0960 = 0x800A0960;
D_800A0963 = 0x800A0963;
D_800A0964 = 0x800A0964;
2020-08-17 14:40:21 +02:00
D_800E92D8 = 0x800E92D8;
D_80147474 = 0x80147474;
D_80109270 = 0x80109270;
D_80108558 = 0x80108558;
2020-10-15 00:22:43 +02:00
D_800779B0 = 0x800779B0;
2020-08-09 06:20:53 +02:00
D_8010CD10 = 0x8010CD10;
D_8010CD12 = 0x8010CD12;
2020-09-25 23:18:09 +02:00
D_8010CD20 = 0x8010CD20;
2020-09-26 04:49:59 +02:00
D_8010EF08 = 0x8010EF08;
2020-09-25 23:18:09 +02:00
D_8010F094 = 0x8010F094;
2020-08-09 06:20:53 +02:00
2020-10-02 08:07:54 +02:00
D_800D9620 = 0x800D9620;
2020-10-17 05:47:10 +02:00
gSpeakingActorPrintCtx = 0x8029FA60;
gSpeakingActorPrintIsDone = 0x8029FA68;
gSpeakingActorTalkAnim = 0x8029FA6C;
gSpeakingActorIdleAnim = 0x8029FA70;
gSpeakingActor = 0x8029FA74;
gSpeakingActorPart = 0x8029FA7C;
gBattleDmaDest = 0x80284000;
2020-10-16 22:29:55 +02:00
gBattleState = 0x800DC068;
2020-09-22 02:56:17 +02:00
gBattleStatus = 0x800DC070;
2020-10-18 04:27:25 +02:00
gPauseMenuStrings = 0x8026F778;
2020-09-22 02:56:17 +02:00
2020-10-14 03:55:04 +02:00
mapScriptLibStart = 0x7E0E80;
mapScriptLibEnd = 0x7E73A0;
mapScriptLibVram = 0x80280000;
2020-07-31 22:38:29 +02:00
D_000759B0 = 0x000759B0;
D_000759B0_end = 0x000A5DD0;
D_000A5DD0 = 0x000A5DD0;
D_000A5DD0_end = 0x000E79B0;
D_000E79B0 = 0x000E79B0;
D_000E79B0_end = 0x000FEE30;
D_000FEE30 = 0x000FEE30;
D_000FEE30_end = 0x00102610;
D_00102610 = 0x00102610;
D_00102610_end = 0x0010CC10;
D_0010CC10 = 0x0010CC10;
D_0010CC10_end = 0x0010F1B0;
D_80074021 = 0x80074021;
2020-09-18 22:48:52 +02:00
2020-09-21 06:37:52 +02:00
gCurrentCameraID = 0x80077410;
2020-09-18 22:48:52 +02:00
D_80093BA0 = 0x80093BA0;
FrameBuf = 0x80093BA8;
rdpstateinit_dl = 0x80093BB8;
nuContPakCompanyCode = 0x80093CA0;
nuContPakGameCode = 0x80093CA4;
nuContCallBack = 0x80093CD0;
2020-09-21 06:37:52 +02:00
nuContRmbSearchTime = 0x80093CE0;
nuContRmbCallBack = 0x80093D00;
2020-09-18 22:48:52 +02:00
nuGfxFunc = 0x80093D10;
nuGfxPreNMIFunc = 0x80093D14;
2020-10-14 19:36:34 +02:00
osViModeTable = 0x800946A0;
2020-08-02 06:29:52 +02:00
D_800959D4 = 0x800959D4;
2020-10-14 19:36:34 +02:00
D_8009A5B0 = 0x8009A5B0;
2020-07-31 22:38:29 +02:00
D_8009A5D8 = 0x8009A5D8;
2020-09-18 22:48:52 +02:00
nuGfxZBuffer = 0x8009A5DC;
nuGfxDisplay = 0x8009A5F8;
2020-09-06 17:53:48 +02:00
gGameState = 0x8009A600;
2020-09-18 22:48:52 +02:00
D_8009A610 = 0x8009A610;
nuGfxTaskSpool = 0x8009A618;
carthandle = 0x8009A638;
2020-07-31 22:38:29 +02:00
D_8009A650 = 0x8009A650;
2020-10-14 18:11:59 +02:00
D_8009A6A0 = 0x8009A6A0;
D_8009A6A2 = 0x8009A6A2;
D_8009A6A4 = 0x8009A6A4;
D_8009A6A6 = 0x8009A6A6;
2020-09-27 20:13:50 +02:00
2020-10-15 01:16:44 +02:00
gCurtainScale = 0x8009BA90;
gCurtainScaleGoal = 0x8009BA94;
gCurtainFade = 0x8009BA98;
gCurtainFadeGoal = 0x8009BA9C;
gCurtainDrawCallback = 0x8009BAA0;
2020-09-27 20:13:50 +02:00
D_800A0900 = 0x800A0900;
2020-10-14 19:36:34 +02:00
nuScStack = 0x800A65D0;
nuScAudioStack = 0x800A85D0;
nuScGraphicsStack = 0x800AA5D0;
2020-09-18 22:48:52 +02:00
D_800AC5D0 = 0x800AC5D0;
D_800AC5E8 = 0x800AC5E8;
2020-09-21 06:37:52 +02:00
2020-09-06 17:53:48 +02:00
gCurrentEncounter = 0x800B0F10;
2020-09-21 06:37:52 +02:00
nuContRmbCtl = 0x800B1d40;
2020-09-18 22:48:52 +02:00
nuContData = 0x800B1D68;
gCameras = 0x800B1D80;
2020-10-13 02:32:15 +02:00
2020-09-28 04:42:51 +02:00
nusched = 0x800DA440;
2020-09-21 06:37:52 +02:00
nuContPfs = 0x800DAAD8;
nuSiMesgQ = 0x800DAC78;
2020-10-13 02:32:15 +02:00
2020-09-06 17:53:48 +02:00
gCurrentCameraID = 0x80077410;
2020-10-08 21:03:58 +02:00
SCRIPT_NpcDefeat = 0x80077E38;
2020-10-13 02:32:15 +02:00
2020-07-31 22:38:29 +02:00
D_800DC500 = 0x800DC500;
D_8010F6D0 = 0x8010F6D0;
2020-09-21 06:37:52 +02:00
gBackgroundImage = 0x80200000;
2020-07-31 22:38:29 +02:00
D_802C3000 = 0x802C3000;
D_802DBD40 = 0x802DBD40;
gCurrentPrintContext = 0x802DB260;
2020-09-26 03:51:54 +02:00
D_802DB264 = 0x802DB264;
D_802DB268 = 0x802DB268;
2020-07-31 22:38:29 +02:00
D_802E0D90 = 0x802E0D90;
D_802EB3D0 = 0x802EB3D0;
2020-08-01 05:39:33 +02:00
D_80268000 = 0x80268000;
2020-09-27 03:02:29 +02:00
D_80286540 = 0x80286540;
2020-08-01 05:39:33 +02:00
D_802FB800 = 0x802FB800;
D_803DA800 = 0x803DA800;
2020-07-18 06:11:08 +02:00
D_003169F0 = 0x003169F0;
D_00316A70 = 0x00316A70;
D_00316C00 = 0x00316C00;
D_00316D90 = 0x00316D90;
D_00316F30 = 0x00316F30;
2020-08-04 00:32:21 +02:00
D_8010D000 = 0x8010D000;
2020-05-12 06:56:46 +02:00
D_8014F140 = 0x8014F140;
D_80151308 = 0x80151308;
2020-09-27 03:02:29 +02:00
D_80151310 = 0x80151310;
2020-07-18 02:47:33 +02:00
D_80151328 = 0x80151328;
gCurrentDoorSoundsSet = 0x80151340;
2020-08-13 07:03:47 +02:00
gTriggerCount = 0x80151334;
Decomp func_8013A854 from code_d0a70_len_4fe0 and add UnkStructFromfunc8013A854 (#78) * inisital docs of asm logic and mips_to_c output * add temp unknown struct for this func * remove comments from asm, will keep them local only. * moved UnkSructFromfunc8013A854 to common_sructs.h * added it's pointer to undefined_syms * fixed struct pointer and size * this is a new struct, no others that are `0x7C` in size * pulled upstream. testing more code. * fix func_8013A854 to represent latest upstream * remove unknown struct from common structs to this func * this is a void func * unknown struct should be an array with size based on mipstoc outpute a0 < 0x5A * correct number of lines of asm output from diff, but all code does not match * fix data types in UnkStructFromfunc8013A854 * temp_v0's logical shift needs to go after UnkStructFromfunc8013A854 * remove unneeded variables * remove unneeded variables and adding inline sll multiple calc * add UnkStructFromfunc8013A854 back to common structs * add UnkStructFromfunc8013A854 back to common structs * pull latest n64 splat * analyzing func_8013AA9C to construct UnkStructFromfunc8013A854 * may need unions to represent sub structs in this unk * roll back struct changes and focus on regalloc * not an array of pointers looks like there's an array of 90 structs, each struct of size 0x7C * got OK, now need to cleanup code * Merge branch 'master' of https://github.com/ethteck/papermario into code_d0a70_len_4fe0-func_8013A854 # Conflicts: # tools/n64splat * fix comment * remove func_8013AA9C comment used during debug * add placeholders unks in UnkStructFromfunc8013A854 based on func_8013AA9C * add first 6 unks in D_80156954 * update todo, add some padding * adding padding * adjusting padding * finished first implementation of padding for UnkStructFromfunc8013A854 * run ./coverage.py --delete-matched * git checkout -f master && git pull for tools/star-rod * several changes to UnkStruct8013A854: * change name from UnkStructFromfunc8013A854 to UnkStruct8013A854 * only include known member data * add list typedef since this is any arracy of structs * fix UNKSTRUCT8013A854_SIZE const * fix スプラトゥーン n64splat * implement UnkStruct8013A854List to track which array we are pointing to in this unknown struct * resolve PR feedback. todo resolve splat, review alex optimization: * move unkstruct extern, struct, and size to code_d0a70_len_4fe0.c * format void func_8013A854 variable spacing * add unknown symbol D_80156954;0x80156954 to tools/symbol_addrs.txt * try fix スプラトn64 with git checkout master && git pull * fix lint * move var declaration to inside if and format code * remove todo comment Co-authored-by: sonicspiral <> Co-authored-by: sonicspiral <mru@plusultra.localdomain>
2020-10-19 06:15:04 +02:00
D_80156954 = 0x80156954;
2020-08-13 07:03:47 +02:00
gTriggerList1 = 0x80159190;
gTriggerList2 = 0x80159290;
gCurrentTriggerListPtr = 0x80159390;
D_801595A0 = 0x801595A0;
D_80159AE2 = 0x80159AE2;
D_80159AE4 = 0x80159AE4;
2020-10-03 22:04:49 +02:00
gCollisionStatus = 0x8015A55A0;
2020-05-12 06:56:46 +02:00
D_8015C7C0 = 0x8015C7C0;
2020-10-08 21:03:58 +02:00
gLastCreatedEntityIndex = 0x801512EC;
2020-06-24 23:12:58 +02:00
2020-08-17 14:40:21 +02:00
gWorldModelList = 0x80151770;
gBattleModelList = 0x80151B70;
gCurrentModelListPtr = 0x801512CC;
gWorldModelSpecialDls = 0x8015F90;
gBattleModelSpecialDls = 0x80152010;
gCurrentModelSpecialDlsPtr = 0x801512E8;
gWorldEntityList = 0x80151380;
2020-09-18 07:51:36 +02:00
gBattleEntityList = 0x801513F8;
2020-08-17 14:40:21 +02:00
gCurrentEntityListPtr = 0x80151470;
gWorldShadowList = 0x80151478;
gBattleShadowList = 0x80151568;
gCurrentShadowListPtr = 0x80151658;
2020-09-25 23:18:09 +02:00
gWorldNpcList = 0x800A0990;
gBattleNpcList = 0x800A0A90;
gCurrentNpcListPtr = 0x800A0B90;
2020-10-16 08:09:20 +02:00
gMoveScriptTable = 0x80293E80;
2020-08-17 14:40:21 +02:00
gMainGameState = 0x80151700;
gCurrentUpdateFunction = 0x8015170C;
gWorldDynamicEntityList = 0x801543A0;
gBattleDynamicEntityList = 0x801543E0;
gCurrentDynamicEntityListPtr = 0x80154420;
2020-10-13 03:28:01 +02:00
gScriptIndexList = 0x802DA898;
gScriptIdList = 0x802DAA98;
2020-09-08 15:06:17 +02:00
gScriptListCount = 0x802DAC98;
2020-08-17 14:40:21 +02:00
2020-09-19 17:16:02 +02:00
gCurrentSaveFile = 0x800DACC0;
gMapFlags = 0x802DA480;
gMapVars = 0x802DA484;
2020-10-16 00:11:56 +02:00
gEffectTable = 0x8007F214;
2020-10-16 04:05:04 +02:00
gPauseMenuStrings = 0x8026F778;
2020-10-19 23:58:57 +02:00
EnterWalk = 0x80285960;
ExitWalk = 0x80285CF4;
2020-10-15 06:43:07 +02:00
MarioEnterStage = 0x80284A40;
PeachEnterStage = 0x80284D04;
HandleEvent_Player = 0x802852D4;
PlayerScriptDispatcher = 0x80284EBC;
PeachScriptDispatcher = 0x80285010;
BtlBringPartnerOut = 0x80280B6C;
BtlPutPartnerAway = 0x80280A34;
RegainAbility = 0x80289110;
DoDizzyAttack = 0x8028907C;
DoDizzyHit = 0x802945FC;
DoFreezeHit = 0x8029466C;
DoImmune = 0x8029AC70;
DoJumpBack = 0x8029BD70;
DoNormalHit = 0x80299044;
DoNpcDefeat = 0x8004462C;
DoParalyzeHit = 0x80294618;
DoPoisonHit = 0x80294634;
DoRecover = 0x8029BFA0;
DoReturnHome = 0x8029BEB8;
DoScareAway = 0x8029B22C;
DoShinkHit = 0x802946B8;
DoShockHit = 0x8029A6FC;
DoSleepHit = 0x802945E0;
DoSpinSmashHit = 0x8029B998;
DoStopHit = 0x80294650;
ShakeCam1 = 0x802D9CB0;
ShakeCamX = 0x802D9CE8;
2020-10-20 08:33:40 +02:00
EnemyNpcHit = 0x80077F70;
EnemyNpcDefeat = 0x8007809C;