From 282e4f6c67394155425e9692d629b00121d0aeba Mon Sep 17 00:00:00 2001 From: gamemasterplc Date: Fri, 29 Dec 2023 10:23:38 -0600 Subject: [PATCH] Mostly label chrman.c --- config/GMPE01_00/symbols.txt | 139 +++++++++++++++++++---------------- src/REL/bootDll/bootDll.c | 2 +- src/game/objmain.c | 2 +- 3 files changed, 76 insertions(+), 67 deletions(-) diff --git a/config/GMPE01_00/symbols.txt b/config/GMPE01_00/symbols.txt index 5a60dbdc..678fa03c 100644 --- a/config/GMPE01_00/symbols.txt +++ b/config/GMPE01_00/symbols.txt @@ -839,64 +839,64 @@ HuARDirCheck = .text:0x80049490; // type:function size:0x58 HuARDirFree = .text:0x800494E8; // type:function size:0x68 HuAR_ARAMtoMRAMFileRead = .text:0x80049550; // type:function size:0x390 ArqCallBackAMFileRead = .text:0x800498E0; // type:function size:0x10 scope:local -fn_800498F0 = .text:0x800498F0; // type:function size:0x134 -fn_80049A24 = .text:0x80049A24; // type:function size:0x1C -fn_80049A40 = .text:0x80049A40; // type:function size:0x98 -fn_80049AD8 = .text:0x80049AD8; // type:function size:0x58 -fn_80049B30 = .text:0x80049B30; // type:function size:0x428 -fn_80049F58 = .text:0x80049F58; // type:function size:0x3C -fn_80049F94 = .text:0x80049F94; // type:function size:0x180 -fn_8004A114 = .text:0x8004A114; // type:function size:0x20C -fn_8004A320 = .text:0x8004A320; // type:function size:0x173C -fn_8004BA5C = .text:0x8004BA5C; // type:function size:0xB0 -fn_8004BB0C = .text:0x8004BB0C; // type:function size:0x254 -fn_8004BD60 = .text:0x8004BD60; // type:function size:0xB0 -fn_8004BE10 = .text:0x8004BE10; // type:function size:0xB0 -fn_8004BEC0 = .text:0x8004BEC0; // type:function size:0xB0 -fn_8004BF70 = .text:0x8004BF70; // type:function size:0xB0 -fn_8004C020 = .text:0x8004C020; // type:function size:0xB0 -fn_8004C0D0 = .text:0x8004C0D0; // type:function size:0xB0 -fn_8004C180 = .text:0x8004C180; // type:function size:0x1CC -fn_8004C34C = .text:0x8004C34C; // type:function size:0x4A0 -fn_8004C7EC = .text:0x8004C7EC; // type:function size:0x1E8 -fn_8004C9D4 = .text:0x8004C9D4; // type:function size:0x344 -fn_8004CD18 = .text:0x8004CD18; // type:function size:0x1D0 -fn_8004CEE8 = .text:0x8004CEE8; // type:function size:0x88 -fn_8004CF70 = .text:0x8004CF70; // type:function size:0x9C -fn_8004D00C = .text:0x8004D00C; // type:function size:0x2B8 -fn_8004D2C4 = .text:0x8004D2C4; // type:function size:0x430 -fn_8004D6F4 = .text:0x8004D6F4; // type:function size:0x244 -fn_8004D938 = .text:0x8004D938; // type:function size:0x7C -fn_8004D9B4 = .text:0x8004D9B4; // type:function size:0x17C -fn_8004DB30 = .text:0x8004DB30; // type:function size:0x7C -fn_8004DBAC = .text:0x8004DBAC; // type:function size:0x7C -fn_8004DC28 = .text:0x8004DC28; // type:function size:0x4C -fn_8004DC74 = .text:0x8004DC74; // type:function size:0x44 -fn_8004DCB8 = .text:0x8004DCB8; // type:function size:0x44 -fn_8004DCFC = .text:0x8004DCFC; // type:function size:0x44 -fn_8004DD40 = .text:0x8004DD40; // type:function size:0x44 -fn_8004DD84 = .text:0x8004DD84; // type:function size:0x84 -fn_8004DE08 = .text:0x8004DE08; // type:function size:0x44 -fn_8004DE4C = .text:0x8004DE4C; // type:function size:0x4C -fn_8004DE98 = .text:0x8004DE98; // type:function size:0x80 -fn_8004DF18 = .text:0x8004DF18; // type:function size:0x1D4 -fn_8004E0EC = .text:0x8004E0EC; // type:function size:0x484 -fn_8004E570 = .text:0x8004E570; // type:function size:0x3FC -fn_8004E96C = .text:0x8004E96C; // type:function size:0x168 -fn_8004EAD4 = .text:0x8004EAD4; // type:function size:0x1A0 +CharManInit = .text:0x800498F0; // type:function size:0x134 +CharAMemPtrGet = .text:0x80049A24; // type:function size:0x1C +CharARAMOpen = .text:0x80049A40; // type:function size:0x98 +CharARAMClose = .text:0x80049AD8; // type:function size:0x58 +CharKill = .text:0x80049B30; // type:function size:0x428 +CharKillAll = .text:0x80049F58; // type:function size:0x3C +CharModelCreate = .text:0x80049F94; // type:function size:0x180 +UpdateChar = .text:0x8004A114; // type:function size:0x20C scope:local +UpdateCharAnim = .text:0x8004A320; // type:function size:0x173C scope:local +PlayCharVoice = .text:0x8004BA5C; // type:function size:0xB0 scope:local +InitEffect = .text:0x8004BB0C; // type:function size:0x254 scope:local +CreateEffectDust = .text:0x8004BD60; // type:function size:0xB0 scope:local +CreateEffectSmoke = .text:0x8004BE10; // type:function size:0xB0 scope:local +CreateEffectDot = .text:0x8004BEC0; // type:function size:0xB0 scope:local +CreateEffectStar = .text:0x8004BF70; // type:function size:0xB0 scope:local +CreateEffectWarn = .text:0x8004C020; // type:function size:0xB0 scope:local +CreateEffectBird = .text:0x8004C0D0; // type:function size:0xB0 scope:local +CreateEffect = .text:0x8004C180; // type:function size:0x1CC scope:local +UpdateEffect = .text:0x8004C34C; // type:function size:0x4A0 scope:local +RotateEffect = .text:0x8004C7EC; // type:function size:0x1E8 scope:local +PlayEffectSound = .text:0x8004C9D4; // type:function size:0x344 scope:local +CharMotionCreate = .text:0x8004CD18; // type:function size:0x1D0 +CharMotionSet = .text:0x8004CEE8; // type:function size:0x88 +CharMotionKill = .text:0x8004CF70; // type:function size:0x9C +CharModelKill = .text:0x8004D00C; // type:function size:0x2B8 +CharModelKillIndex = .text:0x8004D2C4; // type:function size:0x430 +CharModelKillAll = .text:0x8004D6F4; // type:function size:0x244 +CharModelMotionSet = .text:0x8004D938; // type:function size:0x7C +CharModelTexAnimSet = .text:0x8004D9B4; // type:function size:0x17C +CharModelTexNameGet = .text:0x8004DB30; // type:function size:0x7C +CharModelHookNameGet = .text:0x8004DBAC; // type:function size:0x7C +CharModelMotionTimeSet = .text:0x8004DC28; // type:function size:0x4C +CharModelMotionTimeGet = .text:0x8004DC74; // type:function size:0x44 +CharModelMotionMaxTimeGet = .text:0x8004DCB8; // type:function size:0x44 +CharModelMotionEndCheck = .text:0x8004DCFC; // type:function size:0x44 +CharModelMotionShiftIDGet = .text:0x8004DD40; // type:function size:0x44 +CharModelMotionShiftSet = .text:0x8004DD84; // type:function size:0x84 +CharModelMotionShiftTimeGet = .text:0x8004DE08; // type:function size:0x44 +CharModelMotionSpeedSet = .text:0x8004DE4C; // type:function size:0x4C +CharModelLayerSetAll = .text:0x8004DE98; // type:function size:0x80 +CharModelCreateItemHook = .text:0x8004DF18; // type:function size:0x1D4 +UpdateItemHook = .text:0x8004E0EC; // type:function size:0x484 scope:local +CharModelCreateParticle = .text:0x8004E570; // type:function size:0x3FC +OrbitEffect = .text:0x8004E96C; // type:function size:0x168 scope:local +CharModelCreateCoinParticle = .text:0x8004EAD4; // type:function size:0x1A0 fn_8004EC74 = .text:0x8004EC74; // type:function size:0x130 fn_8004EDA4 = .text:0x8004EDA4; // type:function size:0x2B4 fn_8004F058 = .text:0x8004F058; // type:function size:0xE4 fn_8004F13C = .text:0x8004F13C; // type:function size:0x2B4 -fn_8004F3F0 = .text:0x8004F3F0; // type:function size:0x80 -fn_8004F470 = .text:0x8004F470; // type:function size:0xBC +CharModelLayerSetAll2 = .text:0x8004F3F0; // type:function size:0x80 +CharModelSetVoiceEnable = .text:0x8004F470; // type:function size:0xBC fn_8004F52C = .text:0x8004F52C; // type:function size:0x4C fn_8004F578 = .text:0x8004F578; // type:function size:0xB0 fn_8004F628 = .text:0x8004F628; // type:function size:0x2CC fn_8004F8F4 = .text:0x8004F8F4; // type:function size:0x2CC fn_8004FBC0 = .text:0x8004FBC0; // type:function size:0xF80 -fn_80050B40 = .text:0x80050B40; // type:function size:0x30 -fn_80050B70 = .text:0x80050B70; // type:function size:0xEC +CharModelSetStepType = .text:0x80050B40; // type:function size:0x30 +PlayStepFX = .text:0x80050B70; // type:function size:0xEC scope:local MapWall = .text:0x80050C5C; // type:function size:0x1B8 MapWallCheck = .text:0x80050E14; // type:function size:0x110 MapPos = .text:0x80050F24; // type:function size:0x2A8 @@ -5070,11 +5070,14 @@ lbl_801306D8 = .data:0x801306D8; // type:object size:0x19 data:string lbl_801306F1 = .data:0x801306F1; // type:object size:0x14 data:string lbl_80130705 = .data:0x80130705; // type:object size:0x93 lbl_80130798 = .data:0x80130798; // type:object size:0x30 -lbl_801307C8 = .data:0x801307C8; // type:object size:0x60 -lbl_80130828 = .data:0x80130828; // type:object size:0x60 -lbl_80130888 = .data:0x80130888; // type:object size:0x168 +effectDataTbl = .data:0x801307C8; // type:object size:0x60 scope:local +charDirTbl = .data:0x80130828; // type:object size:0x60 scope:local +effectParam = .data:0x80130888; // type:object size:0x110 scope:local +lbl_801309A0 = .data:0x801309A0; // type:object size:0x20 +lbl_801309C0 = .data:0x801309C0; // type:object size:0x20 +lbl_801309E0 = .data:0x801309E0; // type:object size:0x10 jumptable_801309F0 = .data:0x801309F0; // type:object size:0x1E8 scope:local -lbl_80130BD8 = .data:0x80130BD8; // type:object size:0x40 +voiceParam = .data:0x80130BD8; // type:object size:0x40 scope:local lbl_80130C18 = .data:0x80130C18; // type:object size:0xE data:string lbl_80130C26 = .data:0x80130C26; // type:object size:0xE data:string lbl_80130C34 = .data:0x80130C34; // type:object size:0xE data:string @@ -5103,21 +5106,26 @@ lbl_80130D80 = .data:0x80130D80; // type:object size:0x18 data:string lbl_80130D98 = .data:0x80130D98; // type:object size:0xE data:string lbl_80130DA6 = .data:0x80130DA6; // type:object size:0x18 data:string lbl_80130DBE = .data:0x80130DBE; // type:object size:0x1A -lbl_80130DD8 = .data:0x80130DD8; // type:object size:0x100 +charTexNameTbl = .data:0x80130DD8; // type:object size:0x100 lbl_80130ED8 = .data:0x80130ED8; // type:object size:0xD data:string lbl_80130EE5 = .data:0x80130EE5; // type:object size:0xD data:string lbl_80130EF2 = .data:0x80130EF2; // type:object size:0xE data:string lbl_80130F00 = .data:0x80130F00; // type:object size:0xE data:string lbl_80130F0E = .data:0x80130F0E; // type:object size:0x12 -lbl_80130F20 = .data:0x80130F20; // type:object size:0xA0 -lbl_80130FC0 = .data:0x80130FC0; // type:object size:0x38 -lbl_80130FF8 = .data:0x80130FF8; // type:object size:0x38 +hookNameTbl = .data:0x80130F20; // type:object size:0xA0 scope:local +modelParticleParam = .data:0x80130FC0; // type:object size:0x38 scope:local +coinParticleParam = .data:0x80130FF8; // type:object size:0x38 scope:local lbl_80131030 = .data:0x80131030; // type:object size:0x38 lbl_80131068 = .data:0x80131068; // type:object size:0x38 lbl_801310A0 = .data:0x801310A0; // type:object size:0x1C lbl_801310BC = .data:0x801310BC; // type:object size:0x38 lbl_801310F4 = .data:0x801310F4; // type:object size:0x38 -lbl_8013112C = .data:0x8013112C; // type:object size:0xBC +lbl_8013112C = .data:0x8013112C; // type:object size:0x1A data:string +lbl_80131146 = .data:0x80131146; // type:object size:0x12 +lbl_80131158 = .data:0x80131158; // type:object size:0x24 +lbl_8013117C = .data:0x8013117C; // type:object size:0x24 +lbl_801311A0 = .data:0x801311A0; // type:object size:0x24 +lbl_801311C4 = .data:0x801311C4; // type:object size:0x24 VolumeTable = .data:0x801311E8; // type:object size:0x100 scope:local lbl_801312E8 = .data:0x801312E8; // type:object size:0x4D lbl_80131335 = .data:0x80131335; // type:object size:0x1B @@ -5465,11 +5473,12 @@ ARInfo = .bss:0x801967E0; // type:object size:0x400 data:byte arqReq = .bss:0x80196BE0; // type:object size:0x20 scope:local ARQueBuf = .bss:0x80196C00; // type:object size:0x280 scope:local preLoadBuf = .bss:0x80196E80; // type:object size:0x40 scope:local align:32 -lbl_80196EC0 = .bss:0x80196EC0; // type:object size:0x640 -lbl_80197500 = .bss:0x80197500; // type:object size:0x10 data:2byte -lbl_80197510 = .bss:0x80197510; // type:object size:0x20 -lbl_80197530 = .bss:0x80197530; // type:object size:0x80 -lbl_801975B0 = .bss:0x801975B0; // type:object size:0xA0 +charInstance = .bss:0x80196EC0; // type:object size:0x640 scope:local +effectMdl = .bss:0x80197500; // type:object size:0x10 scope:local data:2byte +particleData = .bss:0x80197510; // type:object size:0x20 scope:local +itemHookProcess = .bss:0x80197530; // type:object size:0x80 scope:local +lbl_801975B0 = .bss:0x801975B0; // type:object size:0x10 +lbl_801975C0 = .bss:0x801975C0; // type:object size:0x90 MapObject = .bss:0x80197650; // type:object size:0x40 MapMT = .bss:0x80197690; // type:object size:0x30 MapMTR = .bss:0x801976C0; // type:object size:0x30 @@ -6203,8 +6212,8 @@ cardWork = .sbss:0x801D3DFC; // type:object size:0x4 scope:local data:4byte arqIdx = .sbss:0x801D3E00; // type:object size:0x2 scope:local data:2byte arqCnt = .sbss:0x801D3E04; // type:object size:0x4 scope:local data:4byte ARBase = .sbss:0x801D3E08; // type:object size:0x8 scope:local data:4byte -lbl_801D3E10 = .sbss:0x801D3E10; // type:object size:0x4 data:4byte -lbl_801D3E14 = .sbss:0x801D3E14; // type:object size:0x4 data:4byte +effectAMemP = .sbss:0x801D3E10; // type:object size:0x4 scope:local data:4byte +skipAnimUpdate = .sbss:0x801D3E14; // type:object size:0x4 scope:local data:4byte ColisionCount = .sbss:0x801D3E18; // type:object size:0x4 data:4byte topvtx = .sbss:0x801D3E1C; // type:object size:0x4 scope:local data:4byte AttrHsf = .sbss:0x801D3E20; // type:object size:0x4 scope:local data:4byte diff --git a/src/REL/bootDll/bootDll.c b/src/REL/bootDll/bootDll.c index 699a613d..237f2d75 100644 --- a/src/REL/bootDll/bootDll.c +++ b/src/REL/bootDll/bootDll.c @@ -108,7 +108,7 @@ static void BootProc(void) WipeColorSet(255, 255, 255); if(!SystemInitF) { tick_prev = OSGetTick(); - fn_800498F0(); + CharManInit(); HuWindowInit(); MGSeqInit(); HuWinInit(1); diff --git a/src/game/objmain.c b/src/game/objmain.c index 7be27e96..afe4efb8 100644 --- a/src/game/objmain.c +++ b/src/game/objmain.c @@ -139,7 +139,7 @@ void omOvlReturnEx(s16 level, s16 arg2) void omOvlKill(s16 arg) { - fn_8004D6F4(-1); + CharModelKillAll(-1); MGSeqKillAll(); Hu3DAllKill(); HuWinAllKill();