Skip to content

Commit

Permalink
Add missing splits for MQ-E and CE-E (#187)
Browse files Browse the repository at this point in the history
* name functions

* forgot libc

* progress

* complete dolphin splits for mq-e

* complete splits for mq-e

* dol apply

* remove useless norelocs

* small detail

* fix OS issues

* splits for ce-e

* dol apply

* fix ce-u dtors

* review
  • Loading branch information
Yanis002 authored Sep 21, 2024
1 parent 721af84 commit 1a59f97
Show file tree
Hide file tree
Showing 12 changed files with 3,352 additions and 1,911 deletions.
612 changes: 612 additions & 0 deletions config/ce-e/splits.txt

Large diffs are not rendered by default.

1,590 changes: 796 additions & 794 deletions config/ce-e/symbols.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/ce-j/splits.txt
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ runtime/__va_arg.c:

runtime/global_destructor_chain.c:
.text start:0x800CD88C end:0x800CD8D4
.dtors start:0x800D2FC0 end:0x800D2FC4
.sbss start:0x80135CB8 end:0x80135CC0

runtime/runtime.c:
Expand All @@ -701,7 +702,6 @@ runtime/runtime.c:

libc/abort_exit.c:
.text start:0x800CDFE4 end:0x800CE0F0
.dtors start:0x800D2FC0 end:0x800D2FC4
.bss start:0x80134AD8 end:0x80134CD8
.sbss start:0x80135CC0 end:0x80135CD8

Expand Down
102 changes: 51 additions & 51 deletions config/ce-j/symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,18 +175,18 @@ mcardInit = .text:0x8001947C; // type:function size:0x5C scope:global
mcardReInit = .text:0x800194D8; // type:function size:0x198 scope:global
mcardWriteGameDataReset = .text:0x80019670; // type:function size:0x68 scope:global
mcardReadGameData = .text:0x800196D8; // type:function size:0x398 scope:global
mcardWriteTimeAsynch = .text:0x80019A70; // type:function size:0x204 scope:global
mcardWriteConfigAsynch = .text:0x80019C74; // type:function size:0x1C4 scope:global
mcardReadBufferAsynch = .text:0x80019E38; // type:function size:0x1A4 scope:global
mcardWriteBufferAsynch = .text:0x80019FDC; // type:function size:0x1E4 scope:global
mcardWriteFileHeaderInitial = .text:0x8001A1C0; // type:function size:0x224 scope:global
mcardReadFileHeaderInitial = .text:0x8001A3E4; // type:function size:0x158 scope:global
mcardWriteFileHeader = .text:0x8001A53C; // type:function size:0x3BC scope:global
mcardReadFileHeader = .text:0x8001A8F8; // type:function size:0x224 scope:global
mcardWriteAnywherePartial = .text:0x8001AB1C; // type:function size:0x1AC scope:global
mcardWriteAnywhere = .text:0x8001ACC8; // type:function size:0x19C scope:global
mcardReadAnywhere = .text:0x8001AE64; // type:function size:0x170 scope:global
mcardReadyCard = .text:0x8001AFD4; // type:function size:0x194 scope:global
mcardWriteTimeAsynch = .text:0x80019A70; // type:function size:0x204 scope:local
mcardWriteConfigAsynch = .text:0x80019C74; // type:function size:0x1C4 scope:local
mcardReadBufferAsynch = .text:0x80019E38; // type:function size:0x1A4 scope:local
mcardWriteBufferAsynch = .text:0x80019FDC; // type:function size:0x1E4 scope:local
mcardWriteFileHeaderInitial = .text:0x8001A1C0; // type:function size:0x224 scope:local
mcardReadFileHeaderInitial = .text:0x8001A3E4; // type:function size:0x158 scope:local
mcardWriteFileHeader = .text:0x8001A53C; // type:function size:0x3BC scope:local
mcardReadFileHeader = .text:0x8001A8F8; // type:function size:0x224 scope:local
mcardWriteAnywherePartial = .text:0x8001AB1C; // type:function size:0x1AC scope:local
mcardWriteAnywhere = .text:0x8001ACC8; // type:function size:0x19C scope:local
mcardReadAnywhere = .text:0x8001AE64; // type:function size:0x170 scope:local
mcardReadyCard = .text:0x8001AFD4; // type:function size:0x194 scope:local
mcardPoll = .text:0x8001B168; // type:function size:0xEC scope:local
mcardVerifyChecksumFileHeader = .text:0x8001B254; // type:function size:0x22C scope:local
mcardCheckChecksumFileHeader = .text:0x8001B480; // type:function size:0x314 scope:local
Expand Down Expand Up @@ -1668,8 +1668,8 @@ __stdio_atexit = .text:0x800CED38; // type:function size:0x4 scope:global
sprintf = .text:0x800CED3C; // type:function size:0xD4 scope:global
vsprintf = .text:0x800CEE10; // type:function size:0x78 scope:global
vprintf = .text:0x800CEE88; // type:function size:0x7C scope:global
__StringWrite = .text:0x800CEF04; // type:function size:0x6C scope:global
__FileWrite = .text:0x800CEF70; // type:function size:0x58 scope:global
__StringWrite = .text:0x800CEF04; // type:function size:0x6C scope:local
__FileWrite = .text:0x800CEF70; // type:function size:0x58 scope:local
__pformatter = .text:0x800CEFC8; // type:function size:0x630 scope:local
float2str = .text:0x800CF5F8; // type:function size:0x638 scope:local
round_decimal = .text:0x800CFC30; // type:function size:0x134 scope:local
Expand Down Expand Up @@ -1757,8 +1757,8 @@ gTRKMemMap = .rodata:0x800D32C0; // type:object size:0x10 scope:global data:4byt
@238 = .rodata:0x800D32E4; // type:object size:0x14 scope:local data:4byte
@243 = .rodata:0x800D32F8; // type:object size:0x14 scope:local data:4byte
__constants = .rodata:0x800D3310; // type:object size:0x18 scope:local data:double
bit_values = .rodata:0x800D3328; // type:object size:0x48 scope:local data:double
digit_values = .rodata:0x800D3370; // type:object size:0x40 scope:local
bit_values = .rodata:0x800D3328; // type:object size:0x48 scope:global data:double
digit_values = .rodata:0x800D3370; // type:object size:0x40 scope:global
__ctype_map = .rodata:0x800D33B0; // type:object size:0x100 scope:global
__lower_map = .rodata:0x800D34B0; // type:object size:0x100 scope:global
__upper_map = .rodata:0x800D35B0; // type:object size:0x100 scope:global
Expand Down Expand Up @@ -1873,20 +1873,20 @@ VolumeTable = .data:0x800EA1E8; // type:object size:0x100 scope:global
@268 = .data:0x800EA500; // type:object size:0x1C scope:local
@42 = .data:0x800EA520; // type:object size:0x22 scope:local data:string
...data.0 = .data:0x800EA548; // type:label scope:local
D_800EA548 = .data:0x800EA548; // type:object size:0x1B scope:local
D_800EA564 = .data:0x800EA564; // type:object size:0x35 scope:local data:string
D_800EA59C = .data:0x800EA59C; // type:object size:0xB scope:local data:string
jtbl_800EA5A8 = .data:0x800EA5A8; // type:object size:0x60 scope:local
jtbl_800EA608 = .data:0x800EA608; // type:object size:0x60 scope:local
jtbl_800EA668 = .data:0x800EA668; // type:object size:0xC8 scope:local
D_800EA730 = .data:0x800EA730; // type:object size:0xF scope:local data:string
D_800EA740 = .data:0x800EA740; // type:object size:0x12 scope:local data:string
D_800EA754 = .data:0x800EA754; // type:object size:0xE scope:local data:string
D_800EA764 = .data:0x800EA764; // type:object size:0x12 scope:local data:string
D_800EA778 = .data:0x800EA778; // type:object size:0x14 scope:local data:string
D_800EA78C = .data:0x800EA78C; // type:object size:0x14 scope:local data:string
D_800EA7A0 = .data:0x800EA7A0; // type:object size:0x14 scope:local data:string
D_800EA7B4 = .data:0x800EA7B4; // type:object size:0x14 scope:local data:string
@1722 = .data:0x800EA548; // type:object size:0x1B scope:local
@1972 = .data:0x800EA564; // type:object size:0x35 scope:local data:string
@1973 = .data:0x800EA59C; // type:object size:0xB scope:local data:string
@2460 = .data:0x800EA5A8; // type:object size:0x60 scope:local
@2475 = .data:0x800EA608; // type:object size:0x60 scope:local
@2656 = .data:0x800EA668; // type:object size:0xC8 scope:local
@2695 = .data:0x800EA730; // type:object size:0xF scope:local data:string
@2816 = .data:0x800EA740; // type:object size:0x12 scope:local data:string
@2883 = .data:0x800EA754; // type:object size:0xE scope:local data:string
@3111 = .data:0x800EA764; // type:object size:0x12 scope:local data:string
@3227 = .data:0x800EA778; // type:object size:0x14 scope:local data:string
@3228 = .data:0x800EA78C; // type:object size:0x14 scope:local data:string
@3249 = .data:0x800EA7A0; // type:object size:0x14 scope:local data:string
@3311 = .data:0x800EA7B4; // type:object size:0x14 scope:local data:string
gClassCode = .data:0x800EA7C8; // type:object size:0x10 scope:global
gClassSound = .data:0x800EA7D8; // type:object size:0x10 scope:global
@316 = .data:0x800EA7E8; // type:object size:0x3E scope:local data:string
Expand Down Expand Up @@ -2526,11 +2526,11 @@ TRK_ISR_OFFSETS = .data:0x800F3AD8; // type:object size:0x3C scope:local data:4b
gDBCommTable = .data:0x800F3B18; // type:object size:0x1C scope:global data:4byte
...data.0 = .data:0x800F3B38; // type:label scope:local
__files = .data:0x800F3B38; // type:object size:0xD8 scope:global
@1009 = .data:0x800F3C10; // type:object size:0x84 scope:local
@1066 = .data:0x800F3C94; // type:object size:0x84 scope:local
@1186 = .data:0x800F3D18; // type:object size:0xD0 scope:local
@1185 = .data:0x800F3DE8; // type:object size:0x44 scope:local
@410 = .data:0x800F3E30; // type:object size:0x44 scope:local
@896 = .data:0x800F3C10; // type:object size:0x84 scope:local
@953 = .data:0x800F3C94; // type:object size:0x84 scope:local
@1073 = .data:0x800F3D18; // type:object size:0xD0 scope:local
@1072 = .data:0x800F3DE8; // type:object size:0x44 scope:local
@179 = .data:0x800F3E30; // type:object size:0x44 scope:local
__float_nan = .data:0x800F3E78; // type:object size:0x4 scope:global data:float
__float_huge = .data:0x800F3E7C; // type:object size:0x4 scope:global data:float
...data.0 = .data:0x800F3E80; // type:label scope:local
Expand Down Expand Up @@ -2737,7 +2737,7 @@ gResetBeginFlag = .sdata:0x80134D98; // type:object size:0x4 scope:global data:4
@780 = .sdata:0x80134D9C; // type:object size:0x8 scope:local data:string
@781 = .sdata:0x80134DA4; // type:object size:0x7 scope:local data:string
@75 = .sdata:0x80134DB0; // type:object size:0x4 scope:local data:string
toggle = .sdata:0x80134DB8; // type:object size:0x4 scope:local data:4byte
toggle$804 = .sdata:0x80134DB8; // type:object size:0x4 scope:local data:4byte
@33 = .sdata:0x80134DC0; // type:object size:0x5 scope:local data:string
@52 = .sdata:0x80134DC8; // type:object size:0x6 scope:local data:string
sCapture$198 = .sdata:0x80134DD0; // type:object size:0x4 scope:local data:4byte
Expand Down Expand Up @@ -3048,8 +3048,8 @@ __CARDVendorID = .sdata:0x80135558; // type:object size:0x2 scope:global data:2b
__CARDPermMask = .sdata:0x8013555A; // type:object size:0x1 scope:global data:byte
__THPVersion = .sdata:0x80135560; // type:object size:0x4 scope:global data:4byte
@wstringBase0 = .sdata:0x80135568; // type:object size:0x2 scope:local
K1 = .sdata:0x80135570; // type:object size:0x4 scope:local data:4byte
K2 = .sdata:0x80135574; // type:object size:0x4 scope:local data:4byte
K1 = .sdata:0x80135570; // type:object size:0x4 scope:global data:4byte
K2 = .sdata:0x80135574; // type:object size:0x4 scope:global data:4byte
SendCount = .sdata:0x80135578; // type:object size:0x1 scope:local data:byte
gnCountArgument = .sbss:0x80135580; // type:object size:0x4 scope:local data:4byte
gaszArgument = .sbss:0x80135584; // type:object size:0x4 scope:local data:4byte
Expand Down Expand Up @@ -3101,13 +3101,13 @@ gbReset_thpread = .sbss:0x8013564C; // type:object size:0x4 scope:global data:4b
gnTickReset_thpread = .sbss:0x80135650; // type:object size:0x4 scope:global data:4byte
VideoDecodeThreadCreated = .sbss:0x80135658; // type:object size:0x4 scope:local data:4byte
First = .sbss:0x8013565C; // type:object size:0x4 scope:local data:4byte
currentIdx = .sbss:0x80135660; // type:object size:0x4 scope:local data:4byte
yes = .sbss:0x80135664; // type:object size:0x4 scope:local data:4byte
prevMenuEntry = .sbss:0x80135668; // type:object size:0x4 scope:local data:4byte
nextMenuEntry = .sbss:0x8013566C; // type:object size:0x4 scope:local data:4byte
toggle2 = .sbss:0x80135670; // type:object size:0x4 scope:local data:4byte
checkFailCount = .sbss:0x80135674; // type:object size:0x4 scope:local data:4byte
bWrite2Card = .sbss:0x80135678; // type:object size:0x4 scope:local data:4byte
currentIdx = .sbss:0x80135660; // type:object size:0x4 scope:global data:4byte
yes$596 = .sbss:0x80135664; // type:object size:0x4 scope:local data:4byte
prevMenuEntry$597 = .sbss:0x80135668; // type:object size:0x4 scope:local data:4byte
nextMenuEntry$598 = .sbss:0x8013566C; // type:object size:0x4 scope:local data:4byte
toggle2$805 = .sbss:0x80135670; // type:object size:0x4 scope:local data:4byte
checkFailCount$1256 = .sbss:0x80135674; // type:object size:0x4 scope:local data:4byte
bWrite2Card = .sbss:0x80135678; // type:object size:0x4 scope:global data:4byte
gpBufferFunction = .sbss:0x80135680; // type:object size:0x4 scope:local data:4byte
ganDataCode = .sbss:0x80135684; // type:object size:0x4 scope:local data:4byte
gbFrameValid = .sbss:0x80135688; // type:object size:0x4 scope:local data:4byte
Expand Down Expand Up @@ -3677,12 +3677,12 @@ __GXData = .sdata2:0x80136100; // type:object size:0x4 scope:global data:4byte
@666 = .sdata2:0x8013622C; // type:object size:0x4 scope:local data:float
@667 = .sdata2:0x80136230; // type:object size:0x4 scope:local data:float
@40 = .sdata2:0x80136238; // type:object size:0x8 scope:local data:double
@268 = .sdata2:0x80136240; // type:object size:0x8 scope:local data:double
@270 = .sdata2:0x80136248; // type:object size:0x8 scope:local data:double
@272 = .sdata2:0x80136250; // type:object size:0x8 scope:local data:double
@362 = .sdata2:0x80136258; // type:object size:0x8 scope:local data:double
@363 = .sdata2:0x80136260; // type:object size:0x8 scope:local data:double
@919 = .sdata2:0x80136268; // type:object size:0x8 scope:local data:double
@145 = .sdata2:0x80136240; // type:object size:0x8 scope:local data:double
@146 = .sdata2:0x80136248; // type:object size:0x8 scope:local data:double
@147 = .sdata2:0x80136250; // type:object size:0x8 scope:local data:double
@148 = .sdata2:0x80136258; // type:object size:0x8 scope:local data:double
@149 = .sdata2:0x80136260; // type:object size:0x8 scope:local data:double
@806 = .sdata2:0x80136268; // type:object size:0x8 scope:local data:double
@302 = .sdata2:0x80136270; // type:object size:0x8 scope:local data:double
@303 = .sdata2:0x80136278; // type:object size:0x8 scope:local data:double
@304 = .sdata2:0x80136280; // type:object size:0x8 scope:local data:double
Expand Down
2 changes: 1 addition & 1 deletion config/ce-u/splits.txt
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ runtime/__va_arg.c:

runtime/global_destructor_chain.c:
.text start:0x800CD908 end:0x800CD950
.dtors start:0x800D3040 end:0x800D3044
.sbss start:0x801381B8 end:0x801381C0

runtime/runtime.c:
Expand All @@ -701,7 +702,6 @@ runtime/runtime.c:

libc/abort_exit.c:
.text start:0x800CE060 end:0x800CE16C
.dtors start:0x800D3040 end:0x800D3044
.bss start:0x80136FD8 end:0x801371D8
.sbss start:0x801381C0 end:0x801381D8

Expand Down
Loading

0 comments on commit 1a59f97

Please sign in to comment.