From f55fd84898344e04d46aa45e8cb65ab82bbdae50 Mon Sep 17 00:00:00 2001 From: dbalatoni13 Date: Fri, 15 Nov 2024 17:56:03 +0100 Subject: [PATCH] Work on Japanese dol splits --- config/GMPJ01_00/symbols.txt | 151 ++++++++++++++++++----------------- 1 file changed, 76 insertions(+), 75 deletions(-) diff --git a/config/GMPJ01_00/symbols.txt b/config/GMPJ01_00/symbols.txt index b95ad54c..e3026919 100644 --- a/config/GMPJ01_00/symbols.txt +++ b/config/GMPJ01_00/symbols.txt @@ -7,13 +7,13 @@ __flush_cache = .init:0x80003374; // type:function size:0x34 scope:global memset = .init:0x800033A8; // type:function size:0x30 scope:global __fill_mem = .init:0x800033D8; // type:function size:0xB8 scope:global memcpy = .init:0x80003490; // type:function size:0x50 scope:global -fn_800034E0 = .init:0x800034E0; // type:function size:0x30 -fn_80003510 = .init:0x80003510; // type:function size:0x24 +TRK_memset = .init:0x800034E0; // type:function size:0x30 +TRK_memcpy = .init:0x80003510; // type:function size:0x24 gTRKInterruptVectorTable = .init:0x80003534; // type:label scope:global lbl_80003800 = .init:0x80003800; // type:label lbl_80003C00 = .init:0x80003C00; // type:label lbl_80003F80 = .init:0x80003F80; // type:label -fn_80005468 = .init:0x80005468; // type:function size:0x104 +__TRK_reset = .init:0x80005468; // type:function size:0x104 gTRKInterruptVectorTableEnd = .init:0x80005468; // type:label scope:global _rom_copy_info = .init:0x8000556C; // type:object size:0x84 scope:global data:4byte _bss_init_info = .init:0x800055F0; // type:object size:0x20 scope:global data:4byte @@ -2014,15 +2014,15 @@ fn_800B3EB4 = .text:0x800B3EB4; // type:function size:0x30 PPCMfmsr = .text:0x800B3EE4; // type:function size:0x8 scope:global PPCMtmsr = .text:0x800B3EEC; // type:function size:0x8 scope:global PPCMfhid0 = .text:0x800B3EF4; // type:function size:0x8 scope:global -fn_800B3EFC = .text:0x800B3EFC; // type:function size:0x8 +PPCMthid0 = .text:0x800B3EFC; // type:function size:0x8 PPCMfl2cr = .text:0x800B3F04; // type:function size:0x8 scope:global PPCMtl2cr = .text:0x800B3F0C; // type:function size:0x8 scope:global PPCMtdec = .text:0x800B3F14; // type:function size:0x8 scope:weak -fn_800B3F1C = .text:0x800B3F1C; // type:function size:0x8 +PPCSync = .text:0x800B3F1C; // type:function size:0x8 PPCHalt = .text:0x800B3F24; // type:function size:0x14 scope:weak PPCMfhid2 = .text:0x800B3F38; // type:function size:0x8 scope:global PPCMthid2 = .text:0x800B3F40; // type:function size:0x8 scope:global -fn_800B3F48 = .text:0x800B3F48; // type:function size:0xC +PPCMfwpar = .text:0x800B3F48; // type:function size:0xC PPCMtwpar = .text:0x800B3F54; // type:function size:0x8 scope:global PPCDisableSpeculation = .text:0x800B3F5C; // type:function size:0x28 scope:global PPCSetFpNonIEEEMode = .text:0x800B3F84; // type:function size:0x8 scope:global @@ -2034,7 +2034,7 @@ OSExceptionInit = .text:0x800B44D0; // type:function size:0x280 scope:local __OSDBINTSTART = .text:0x800B4750; // type:label scope:global __OSDBIntegrator = .text:0x800B4750; // type:function size:0x24 scope:local __OSDBINTEND = .text:0x800B4774; // type:label scope:global -fn_800B4774 = .text:0x800B4774; // type:function size:0x4 +__OSDBJump = .text:0x800B4774; // type:function size:0x4 __OSDBJUMPEND = .text:0x800B4778; // type:label scope:global __OSSetExceptionHandler = .text:0x800B4778; // type:function size:0x1C scope:global __OSGetExceptionHandler = .text:0x800B4794; // type:function size:0x14 scope:global @@ -2045,23 +2045,23 @@ __OSEVSetNumber = .text:0x800B4810; // type:label scope:global data:4byte __OSEVEnd = .text:0x800B4840; // type:label scope:global OSDefaultExceptionHandler = .text:0x800B4844; // type:function size:0x58 scope:global __OSPSInit = .text:0x800B489C; // type:function size:0x38 scope:global -fn_800B48D4 = .text:0x800B48D4; // type:function size:0x14 +__OSGetDIConfig = .text:0x800B48D4; // type:function size:0x14 OSInitAlarm = .text:0x800B48E8; // type:function size:0x4C scope:global OSCreateAlarm = .text:0x800B4934; // type:function size:0xC scope:global InsertAlarm = .text:0x800B4940; // type:function size:0x250 scope:local OSSetAlarm = .text:0x800B4B90; // type:function size:0x68 scope:global -fn_800B4BF8 = .text:0x800B4BF8; // type:function size:0x11C +OSCancelAlarm = .text:0x800B4BF8; // type:function size:0x11C DecrementerExceptionCallback = .text:0x800B4D14; // type:function size:0x230 scope:local DecrementerExceptionHandler = .text:0x800B4F44; // type:function size:0x50 scope:local -fn_800B4F94 = .text:0x800B4F94; // type:function size:0xAC -fn_800B5040 = .text:0x800B5040; // type:function size:0xFC -fn_800B513C = .text:0x800B513C; // type:function size:0x284 -fn_800B53C0 = .text:0x800B53C0; // type:function size:0x7C -fn_800B543C = .text:0x800B543C; // type:function size:0x10 -fn_800B544C = .text:0x800B544C; // type:function size:0x70 -fn_800B54BC = .text:0x800B54BC; // type:function size:0x6C -fn_800B5528 = .text:0x800B5528; // type:function size:0x360 -fn_800B5888 = .text:0x800B5888; // type:function size:0x104 +DLInsert = .text:0x800B4F94; // type:function size:0xAC +OSAllocFromHeap = .text:0x800B5040; // type:function size:0xFC +OSAllocFixed = .text:0x800B513C; // type:function size:0x284 +OSFreeToHeap = .text:0x800B53C0; // type:function size:0x7C +OSSetCurrentHeap = .text:0x800B543C; // type:function size:0x10 +OSInitAlloc = .text:0x800B544C; // type:function size:0x70 +OSCreateHeap = .text:0x800B54BC; // type:function size:0x6C +OSCheckHeap = .text:0x800B5528; // type:function size:0x360 +OSDumpHeap = .text:0x800B5888; // type:function size:0x104 OSGetArenaHi = .text:0x800B598C; // type:function size:0x8 scope:global OSGetArenaLo = .text:0x800B5994; // type:function size:0x8 scope:global OSSetArenaHi = .text:0x800B599C; // type:function size:0x8 scope:global @@ -2071,99 +2071,100 @@ __OSStopAudioSystem = .text:0x800B5B68; // type:function size:0xD8 scope:global DCEnable = .text:0x800B5C40; // type:function size:0x14 scope:global DCInvalidateRange = .text:0x800B5C54; // type:function size:0x30 scope:global DCFlushRange = .text:0x800B5C84; // type:function size:0x34 scope:global -fn_800B5CB8 = .text:0x800B5CB8; // type:function size:0x34 +DCStoreRange = .text:0x800B5CB8; // type:function size:0x34 DCFlushRangeNoSync = .text:0x800B5CEC; // type:function size:0x30 scope:global -fn_800B5D1C = .text:0x800B5D1C; // type:function size:0x30 -fn_800B5D4C = .text:0x800B5D4C; // type:function size:0x30 +DCStoreRangeNoSync = .text:0x800B5D1C; // type:function size:0x30 +DCZeroRange = .text:0x800B5D4C; // type:function size:0x30 ICInvalidateRange = .text:0x800B5D7C; // type:function size:0x38 scope:global ICFlashInvalidate = .text:0x800B5DB4; // type:function size:0x10 scope:global ICEnable = .text:0x800B5DC4; // type:function size:0x14 scope:global -fn_800B5DD8 = .text:0x800B5DD8; // type:function size:0xCC -fn_800B5EA4 = .text:0x800B5EA4; // type:function size:0x38 +__LCEnable = .text:0x800B5DD8; // type:function size:0xCC scope:local +LCEnable = .text:0x800B5EA4; // type:function size:0x38 LCDisable = .text:0x800B5EDC; // type:function size:0x28 scope:global -fn_800B5F04 = .text:0x800B5F04; // type:function size:0x24 -fn_800B5F28 = .text:0x800B5F28; // type:function size:0xAC -fn_800B5FD4 = .text:0x800B5FD4; // type:function size:0x18 +LCStoreBlocks = .text:0x800B5F04; // type:function size:0x24 +LCStoreData = .text:0x800B5F28; // type:function size:0xAC +LCQueueWait = .text:0x800B5FD4; // type:function size:0x18 L2GlobalInvalidate = .text:0x800B5FEC; // type:function size:0x98 scope:global DMAErrorHandler = .text:0x800B6084; // type:function size:0x160 scope:global __OSCacheInit = .text:0x800B61E4; // type:function size:0xF4 scope:global __OSLoadFPUContext = .text:0x800B62D8; // type:function size:0x124 scope:local __OSSaveFPUContext = .text:0x800B63FC; // type:function size:0x128 scope:local OSSetCurrentContext = .text:0x800B6524; // type:function size:0x5C scope:global -fn_800B6580 = .text:0x800B6580; // type:function size:0xC -fn_800B658C = .text:0x800B658C; // type:function size:0x80 +OSGetCurrentContext = .text:0x800B6580; // type:function size:0xC +OSSaveContext = .text:0x800B658C; // type:function size:0x80 OSLoadContext = .text:0x800B660C; // type:function size:0xD8 scope:global OSClearContext = .text:0x800B66E4; // type:function size:0x24 scope:global -fn_800B6708 = .text:0x800B6708; // type:function size:0xBC +OSInitContext = .text:0x800B6708; // type:function size:0xBC OSDumpContext = .text:0x800B67C4; // type:function size:0x2A8 scope:global OSSwitchFPUContext = .text:0x800B6A6C; // type:function size:0x84 scope:local __OSContextInit = .text:0x800B6AF0; // type:function size:0x48 scope:global OSReport = .text:0x800B6B38; // type:function size:0x80 scope:global OSSetErrorHandler = .text:0x800B6BB8; // type:function size:0x1C scope:global __OSUnhandledException = .text:0x800B6BD4; // type:function size:0x200 scope:global -fn_800B6DD4 = .text:0x800B6DD4; // type:function size:0x58 +OSGetFontEncode = .text:0x800B6DD4; // type:function size:0x58 OSDisableInterrupts = .text:0x800B6E2C; // type:function size:0x14 scope:global +__RAS_OSDisableInterrupts_begin = .text:0x800B6E2C; // type:label scope:global +__RAS_OSDisableInterrupts_end = .text:0x800BE3C; // type:label scope:global OSEnableInterrupts = .text:0x800B6E40; // type:function size:0x14 scope:global OSRestoreInterrupts = .text:0x800B6E54; // type:function size:0x24 scope:global __OSSetInterruptHandler = .text:0x800B6E78; // type:function size:0x1C scope:global -fn_800B6E94 = .text:0x800B6E94; // type:function size:0x14 +__OSGetInterruptHandler = .text:0x800B6E94; // type:function size:0x14 __OSInterruptInit = .text:0x800B6EA8; // type:function size:0x74 scope:global -fn_800B6F1C = .text:0x800B6F1C; // type:function size:0x2D8 +SetInterruptMask = .text:0x800B6F1C; // type:function size:0x2D8 __OSMaskInterrupts = .text:0x800B71F4; // type:function size:0x88 scope:global __OSUnmaskInterrupts = .text:0x800B727C; // type:function size:0x88 scope:global -fn_800B7304 = .text:0x800B7304; // type:function size:0x344 +__OSDispatchInterrupt = .text:0x800B7304; // type:function size:0x344 ExternalInterruptHandler = .text:0x800B7648; // type:function size:0x50 scope:local -fn_800B7698 = .text:0x800B7698; // type:function size:0x4 -fn_800B769C = .text:0x800B769C; // type:function size:0x4 -fn_800B76A0 = .text:0x800B76A0; // type:function size:0x274 -fn_800B7914 = .text:0x800B7914; // type:function size:0x250 -fn_800B7B64 = .text:0x800B7B64; // type:function size:0x20C -fn_800B7D70 = .text:0x800B7D70; // type:function size:0x94 +OSNotifyLink = .text:0x800B7698; // type:function size:0x4 scope:weak +OSNotifyUnlink = .text:0x800B769C; // type:function size:0x4 scope:weak +Relocate = .text:0x800B76A0; // type:function size:0x274 scope:local +OSLink = .text:0x800B7914; // type:function size:0x250 +Undo = .text:0x800B7B64; // type:function size:0x20C +OSUnlink = .text:0x800B7D70; // type:function size:0x94 __OSModuleInit = .text:0x800B7E04; // type:function size:0x18 scope:global -fn_800B7E1C = .text:0x800B7E1C; // type:function size:0x60 -fn_800B7E7C = .text:0x800B7E7C; // type:function size:0xC -fn_800B7E88 = .text:0x800B7E88; // type:function size:0xC -fn_800B7E94 = .text:0x800B7E94; // type:function size:0x3C +OSInitMessageQueue = .text:0x800B7E1C; // type:function size:0x60 +OSGetPhysicalMemSize = .text:0x800B7E7C; // type:function size:0xC +OSGetConsoleSimulatedMemSize = .text:0x800B7E88; // type:function size:0xC +OnReset = .text:0x800B7E94; // type:function size:0x3C MEMIntrruptHandler = .text:0x800B7ED0; // type:function size:0x6C scope:local Config24MB = .text:0x800B7F3C; // type:function size:0x80 scope:local Config48MB = .text:0x800B7FBC; // type:function size:0x80 scope:local RealMode = .text:0x800B803C; // type:function size:0x18 scope:local __OSInitMemoryProtection = .text:0x800B8054; // type:function size:0x120 scope:global -fn_800B8174 = .text:0x800B8174; // type:function size:0x70 -fn_800B81E4 = .text:0x800B81E4; // type:function size:0x2C -fn_800B8210 = .text:0x800B8210; // type:function size:0x14 -fn_800B8224 = .text:0x800B8224; // type:function size:0xC +__OSUnlockAllMutex = .text:0x800B8174; // type:function size:0x70 +Run = .text:0x800B81E4; // type:function size:0x40 +Callback = .text:0x800B8224; // type:function size:0xC __OSReboot = .text:0x800B8230; // type:function size:0x1C0 scope:global OSRegisterResetFunction = .text:0x800B83F0; // type:function size:0x84 scope:global Reset = .text:0x800B8474; // type:function size:0x70 scope:local -fn_800B84E4 = .text:0x800B84E4; // type:function size:0x48 +__OSDoHotReset = .text:0x800B84E4; // type:function size:0x48 OSResetSystem = .text:0x800B852C; // type:function size:0x278 scope:global OSGetResetCode = .text:0x800B87A4; // type:function size:0x30 scope:global __OSResetSWInterruptHandler = .text:0x800B87D4; // type:function size:0xF4 scope:global -fn_800B88C8 = .text:0x800B88C8; // type:function size:0x298 -fn_800B8B60 = .text:0x800B8B60; // type:function size:0x60 -fn_800B8BC0 = .text:0x800B8BC0; // type:function size:0x118 +OSGetResetButtonState = .text:0x800B88C8; // type:function size:0x298 +WriteSramCallback = .text:0x800B8B60; // type:function size:0x60 +WriteSram = .text:0x800B8BC0; // type:function size:0x118 __OSInitSram = .text:0x800B8CD8; // type:function size:0x134 scope:global __OSLockSram = .text:0x800B8E0C; // type:function size:0x5C scope:global __OSLockSramEx = .text:0x800B8E68; // type:function size:0x5C scope:global -fn_800B8EC4 = .text:0x800B8EC4; // type:function size:0x308 +UnlockSram = .text:0x800B8EC4; // type:function size:0x308 __OSUnlockSram = .text:0x800B91CC; // type:function size:0x24 scope:global __OSUnlockSramEx = .text:0x800B91F0; // type:function size:0x24 scope:global __OSSyncSram = .text:0x800B9214; // type:function size:0x10 scope:global -fn_800B9224 = .text:0x800B9224; // type:function size:0x80 -fn_800B92A4 = .text:0x800B92A4; // type:function size:0xA4 -fn_800B9348 = .text:0x800B9348; // type:function size:0x70 -fn_800B93B8 = .text:0x800B93B8; // type:function size:0xA4 -fn_800B945C = .text:0x800B945C; // type:function size:0x84 -fn_800B94E0 = .text:0x800B94E0; // type:function size:0xAC -fn_800B958C = .text:0x800B958C; // type:function size:0x2C -fn_800B95B8 = .text:0x800B95B8; // type:function size:0x3C -fn_800B95F4 = .text:0x800B95F4; // type:function size:0xCC -fn_800B96C0 = .text:0x800B96C0; // type:function size:0x70 -fn_800B9730 = .text:0x800B9730; // type:function size:0x28 -fn_800B9758 = .text:0x800B9758; // type:function size:0x1A4 +OSGetSoundMode = .text:0x800B9224; // type:function size:0x80 +OSSetSoundMode = .text:0x800B92A4; // type:function size:0xA4 +OSGetProgressiveMode = .text:0x800B9348; // type:function size:0x70 +OSSetProgressiveMode = .text:0x800B93B8; // type:function size:0xA4 +OSGetWirelessID = .text:0x800B945C; // type:function size:0x84 +OSSetWirelessID = .text:0x800B94E0; // type:function size:0xAC +OSInitStopwatch = .text:0x800B958C; // type:function size:0x2C +OSStartStopwatch = .text:0x800B95B8; // type:function size:0x3C +OSStopStopwatch = .text:0x800B95F4; // type:function size:0xCC +OSCheckStopwatch = .text:0x800B96C0; // type:function size:0x70 +OSResetStopwatch = .text:0x800B9730; // type:function size:0x28 +OSDumpStopwatch = .text:0x800B9758; // type:function size:0x1A4 __OSSystemCallVectorStart = .text:0x800B98FC; // type:label scope:global -fn_800B98FC = .text:0x800B98FC; // type:function size:0x20 +SystemCallVector = .text:0x800B98FC; // type:function size:0x20 __OSSystemCallVectorEnd = .text:0x800B9918; // type:label scope:global __OSInitSystemCall = .text:0x800B991C; // type:function size:0x64 scope:global __OSThreadInit = .text:0x800B9980; // type:function size:0x128 scope:global @@ -2198,16 +2199,16 @@ fn_800BAF2C = .text:0x800BAF2C; // type:function size:0x48 __DBExceptionDestination = .text:0x800BAF74; // type:function size:0x10 scope:global __DBIsExceptionMarked = .text:0x800BAF84; // type:function size:0x1C scope:global DBPrintf = .text:0x800BAFA0; // type:function size:0x50 scope:global -fn_800BAFF0 = .text:0x800BAFF0; // type:function size:0x2C -fn_800BB01C = .text:0x800BB01C; // type:function size:0x34 -fn_800BB050 = .text:0x800BB050; // type:function size:0xCC -fn_800BB11C = .text:0x800BB11C; // type:function size:0x50 -fn_800BB16C = .text:0x800BB16C; // type:function size:0xF8 -fn_800BB264 = .text:0x800BB264; // type:function size:0xC8 -fn_800BB32C = .text:0x800BB32C; // type:function size:0x70 -fn_800BB39C = .text:0x800BB39C; // type:function size:0xA8 -fn_800BB444 = .text:0x800BB444; // type:function size:0x104 -fn_800BB548 = .text:0x800BB548; // type:function size:0x34 +PSMTXIdentity = .text:0x800BAFF0; // type:function size:0x2C +PSMTXCopy = .text:0x800BB01C; // type:function size:0x34 +PSMTXConcat = .text:0x800BB050; // type:function size:0xCC +PSMTXTranspose = .text:0x800BB11C; // type:function size:0x50 +PSMTXInverse = .text:0x800BB16C; // type:function size:0xF8 +PSMTXInvXpose = .text:0x800BB264; // type:function size:0xC8 +PSMTXRotRad = .text:0x800BB32C; // type:function size:0x70 +PSMTXRotTrig = .text:0x800BB39C; // type:function size:0xA8 +PSMTXRotAxisRad = .text:0x800BB444; // type:function size:0x104 +PSMTXTrans = .text:0x800BB548; // type:function size:0x34 fn_800BB57C = .text:0x800BB57C; // type:function size:0x28 fn_800BB5A4 = .text:0x800BB5A4; // type:function size:0xA4 fn_800BB648 = .text:0x800BB648; // type:function size:0x18C