Start splitting menu, add AI policy
This commit is contained in:
@@ -11,6 +11,8 @@ All versions of the game are supported (with PAL as the default):
|
||||
- `SUPE01`: Rev 0 (USA)
|
||||
- `SUPK01`: Rev 0 (KOR)
|
||||
|
||||
Contributors may not use or reference source code leaks from other Nintendo, NDCube or HudsonSoft games. This also extends to the usage of AI and LLMs, as they may have information from those leaks in their training. This is designed to be a clean room project written by real people.
|
||||
|
||||
Dependencies
|
||||
============
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ fn_2_470 = .text:0x00000470; // type:function size:0x8
|
||||
_ctors = .ctors:0x00000000; // type:label scope:global data:4byte
|
||||
_dtors = .dtors:0x00000000; // type:label scope:global data:4byte
|
||||
lbl_2_rodata_0 = .rodata:0x00000000; // type:object size:0x4 data:float
|
||||
lbl_2_data_0 = .data:0x00000000; // type:object size:0xC8
|
||||
lbl_2_data_C8 = .data:0x000000C8; // type:object size:0x148
|
||||
lbl_2_data_0 = .data:0x00000000; // type:object size:0xC8 data:string_table
|
||||
lbl_2_data_C8 = .data:0x000000C8; // type:object size:0x10
|
||||
lbl_2_data_D8 = .data:0x000000D8; // type:object size:0x138
|
||||
lbl_2_bss_0 = .bss:0x00000000; // type:object size:0x4 data:4byte
|
||||
|
||||
@@ -1,7 +1,64 @@
|
||||
Sections:
|
||||
.text type:code align:32
|
||||
.text type:code align:16
|
||||
.ctors type:rodata align:32
|
||||
.dtors type:rodata align:32
|
||||
.rodata type:rodata align:32
|
||||
.data type:data align:32
|
||||
.bss type:bss align:32
|
||||
|
||||
REL/global_destructor_chain.c:
|
||||
.text start:0x00000000 end:0x00000080 align:16
|
||||
.dtors start:0x00000000 end:0x00000004
|
||||
.bss start:0x00000000 end:0x00000008
|
||||
|
||||
REL/menu/menu_1.cpp:
|
||||
.text start:0x00000080 end:0x00000490 align:16
|
||||
.rodata start:0x00000000 end:0x00000008
|
||||
.data start:0x00000000 end:0x00000078
|
||||
.bss start:0x00000008 end:0x00000010
|
||||
|
||||
REL/menu/menu_2.cpp:
|
||||
.text start:0x00000490 end:0x00004EF0 align:16
|
||||
.rodata start:0x00000008 end:0x00000018
|
||||
.data start:0x00000078 end:0x000001A0
|
||||
.bss start:0x00000010 end:0x00000028
|
||||
|
||||
REL/menu/menu_3.cpp:
|
||||
.text start:0x00004EF0 end:0x00006FA0 align:16
|
||||
.ctors start:0x00000000 end:0x00000004
|
||||
.rodata start:0x00000018 end:0x00000678
|
||||
.data start:0x000001A0 end:0x00000598
|
||||
.bss start:0x00000028 end:0x00000060
|
||||
|
||||
REL/menu/menu_4.cpp:
|
||||
.text start:0x00006FA0 end:0x0000A850 align:16
|
||||
.ctors start:0x00000004 end:0x00000008
|
||||
.data start:0x00000598 end:0x00000710
|
||||
.bss start:0x00000060 end:0x00000078
|
||||
|
||||
REL/menu/menu_5.cpp:
|
||||
.text start:0x0000A850 end:0x0000CFC0 align:16
|
||||
.rodata start:0x00000678 end:0x00000738
|
||||
.data start:0x00000710 end:0x00000B40
|
||||
.bss start:0x00000078 end:0x00000088
|
||||
|
||||
REL/menu/menu_6.cpp:
|
||||
.text start:0x0000CFC0 end:0x0000EDB0 align:16
|
||||
.rodata start:0x00000738 end:0x00000758
|
||||
.data start:0x00000B40 end:0x00000D20
|
||||
|
||||
REL/menu/menu_7.cpp:
|
||||
.text start:0x0000EDB0 end:0x0000F630 align:16
|
||||
.rodata start:0x00000758 end:0x00000778
|
||||
.data start:0x00000D20 end:0x00000E10
|
||||
|
||||
REL/menu/menu_8.cpp:
|
||||
.text start:0x0000F630 end:0x0000FDB0 align:16
|
||||
.rodata start:0x00000778 end:0x00000788
|
||||
.data start:0x00000E10 end:0x00000F68
|
||||
|
||||
REL/menu/menu_9.cpp:
|
||||
.text start:0x0000FDB0 end:0x000115C0 align:16
|
||||
.rodata start:0x00000788 end:0x00000850
|
||||
.data start:0x00000F68 end:0x00001670
|
||||
.bss start:0x00000088 end:0x00000090
|
||||
|
||||
@@ -2113,7 +2113,7 @@ fn_3_90EF0 = .text:0x00090EF0; // type:function size:0x8
|
||||
_ctors = .ctors:0x00000000; // type:label scope:global data:4byte
|
||||
_dtors = .dtors:0x00000000; // type:label scope:global data:4byte
|
||||
__destroy_global_chain_reference = .dtors:0x00000000; // type:object size:0x4 scope:global
|
||||
lbl_3_rodata_0 = .rodata:0x00000000; // type:object size:0x8 data:float
|
||||
lbl_3_rodata_0 = .rodata:0x00000000; // type:object size:0x4 data:float
|
||||
lbl_3_rodata_8 = .rodata:0x00000008; // type:object size:0x10 align:4 data:float
|
||||
lbl_3_rodata_18 = .rodata:0x00000018; // type:object size:0x10 data:4byte
|
||||
lbl_3_rodata_28 = .rodata:0x00000028; // type:object size:0x10 data:4byte
|
||||
@@ -2124,7 +2124,7 @@ lbl_3_rodata_108 = .rodata:0x00000108; // type:object size:0x150 data:4byte
|
||||
lbl_3_rodata_258 = .rodata:0x00000258; // type:object size:0x60 data:4byte
|
||||
lbl_3_rodata_2B8 = .rodata:0x000002B8; // type:object size:0x18 data:4byte
|
||||
lbl_3_rodata_2D0 = .rodata:0x000002D0; // type:object size:0x90 data:4byte
|
||||
lbl_3_rodata_360 = .rodata:0x00000360; // type:object size:0xC8
|
||||
lbl_3_rodata_360 = .rodata:0x00000360; // type:object size:0xC8 data:2byte
|
||||
lbl_3_rodata_428 = .rodata:0x00000428; // type:object size:0x20 data:4byte
|
||||
lbl_3_rodata_448 = .rodata:0x00000448; // type:object size:0x230 data:4byte
|
||||
lbl_3_rodata_678 = .rodata:0x00000678; // type:object size:0x4 align:4 data:float
|
||||
@@ -2144,18 +2144,20 @@ lbl_3_rodata_72C = .rodata:0x0000072C; // type:object size:0x4 align:4 data:floa
|
||||
lbl_3_rodata_730 = .rodata:0x00000730; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_734 = .rodata:0x00000734; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_738 = .rodata:0x00000738; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_73C = .rodata:0x0000073C; // type:object size:0x1C align:4 data:float
|
||||
lbl_3_rodata_73C = .rodata:0x0000073C; // type:object size:0x10 align:4 data:float
|
||||
lbl_3_rodata_750 = .rodata:0x00000750; // type:object size:0x8 align:8 data:double
|
||||
lbl_3_rodata_758 = .rodata:0x00000758; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_75C = .rodata:0x0000075C; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_760 = .rodata:0x00000760; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_768 = .rodata:0x00000768; // type:object size:0x8 align:8 data:double
|
||||
lbl_3_rodata_770 = .rodata:0x00000770; // type:object size:0x8 align:4 data:float
|
||||
lbl_3_rodata_778 = .rodata:0x00000778; // type:object size:0x4 data:4byte
|
||||
lbl_3_rodata_770 = .rodata:0x00000770; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_778 = .rodata:0x00000778; // type:object size:0x4 align:8 data:4byte
|
||||
lbl_3_rodata_77C = .rodata:0x0000077C; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_780 = .rodata:0x00000780; // type:object size:0x8 align:4 data:float
|
||||
lbl_3_rodata_788 = .rodata:0x00000788; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_780 = .rodata:0x00000780; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_788 = .rodata:0x00000788; // type:object size:0x4 align:8 data:float
|
||||
lbl_3_rodata_78C = .rodata:0x0000078C; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_790 = .rodata:0x00000790; // type:object size:0xC0 data:4byte
|
||||
lbl_3_rodata_790 = .rodata:0x00000790; // type:object size:0xB8 data:4byte
|
||||
lbl_3_rodata_848 = .rodata:0x00000848; // type:object size:0x8 data:float
|
||||
lbl_3_rodata_850 = .rodata:0x00000850; // type:object size:0x8 align:4 data:float
|
||||
lbl_3_rodata_858 = .rodata:0x00000858; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_85C = .rodata:0x0000085C; // type:object size:0x4 align:4 data:float
|
||||
@@ -2525,7 +2527,7 @@ lbl_3_rodata_36E0 = .rodata:0x000036E0; // type:object size:0x8 align:8 data:dou
|
||||
lbl_3_rodata_36E8 = .rodata:0x000036E8; // type:object size:0xC align:4 data:float
|
||||
lbl_3_rodata_36F4 = .rodata:0x000036F4; // type:object size:0x4 align:4 data:float
|
||||
lbl_3_rodata_36F8 = .rodata:0x000036F8; // type:object size:0x28 align:4 data:float
|
||||
lbl_3_data_0 = .data:0x00000000; // type:object size:0x68
|
||||
lbl_3_data_0 = .data:0x00000000; // type:object size:0x68 data:string_table
|
||||
lbl_3_data_68 = .data:0x00000068; // type:object size:0x10
|
||||
lbl_3_data_78 = .data:0x00000078; // type:object size:0x30
|
||||
lbl_3_data_A8 = .data:0x000000A8; // type:object size:0x14 data:string
|
||||
@@ -2634,12 +2636,14 @@ lbl_3_data_6D1 = .data:0x000006D1; // type:object size:0x1 data:byte
|
||||
lbl_3_data_6D4 = .data:0x000006D4; // type:object size:0x1A data:string
|
||||
lbl_3_data_6F0 = .data:0x000006F0; // type:object size:0x1A data:string
|
||||
lbl_3_data_710 = .data:0x00000710; // type:object size:0x30 data:4byte
|
||||
lbl_3_data_740 = .data:0x00000740; // type:object size:0x44
|
||||
lbl_3_data_740 = .data:0x00000740; // type:object size:0x44 data:string
|
||||
lbl_3_data_784 = .data:0x00000784; // type:object size:0x4 data:4byte
|
||||
lbl_3_data_788 = .data:0x00000788; // type:object size:0x348
|
||||
lbl_3_data_AD0 = .data:0x00000AD0; // type:object size:0xC
|
||||
lbl_3_data_ADC = .data:0x00000ADC; // type:object size:0x64
|
||||
lbl_3_data_B40 = .data:0x00000B40; // type:object size:0x44 data:4byte
|
||||
lbl_3_data_ADC = .data:0x00000ADC; // type:object size:0x64 data:string_table
|
||||
lbl_3_data_B40 = .data:0x00000B40; // type:object size:0x14 data:4byte
|
||||
lbl_3_data_B78 = .data:0x00000B54; // type:object size:0xC data:4byte
|
||||
lbl_3_data_B60 = .data:0x00000B60; // type:object size:0x24
|
||||
lbl_3_data_B84 = .data:0x00000B84; // type:object size:0xC data:4byte
|
||||
lbl_3_data_B90 = .data:0x00000B90; // type:object size:0xC data:4byte
|
||||
lbl_3_data_B9C = .data:0x00000B9C; // type:object size:0xC data:4byte
|
||||
@@ -2660,7 +2664,8 @@ lbl_3_data_F78 = .data:0x00000F78; // type:object size:0x13 data:string
|
||||
lbl_3_data_F8C = .data:0x00000F8C; // type:object size:0xF data:string
|
||||
lbl_3_data_F9C = .data:0x00000F9C; // type:object size:0x14 data:string
|
||||
lbl_3_data_FB0 = .data:0x00000FB0; // type:object size:0x12 data:string
|
||||
lbl_3_data_FC4 = .data:0x00000FC4; // type:object size:0x70 data:4byte
|
||||
lbl_3_data_FC4 = .data:0x00000FC4; // type:object size:0x14 data:4byte
|
||||
lbl_3_data_FD8 = .data:0x00000FD8; // type:object size:0x5C data:string_table
|
||||
lbl_3_data_1034 = .data:0x00001034; // type:object size:0x14 data:string
|
||||
lbl_3_data_1048 = .data:0x00001048; // type:object size:0xA data:string
|
||||
lbl_3_data_1054 = .data:0x00001054; // type:object size:0x4 data:4byte
|
||||
@@ -2700,7 +2705,8 @@ lbl_3_data_11D4 = .data:0x000011D4; // type:object size:0xA data:string
|
||||
lbl_3_data_11E0 = .data:0x000011E0; // type:object size:0x88 data:4byte
|
||||
lbl_3_data_1268 = .data:0x00001268; // type:object size:0xC data:string
|
||||
lbl_3_data_1274 = .data:0x00001274; // type:object size:0x36C
|
||||
lbl_3_data_15E0 = .data:0x000015E0; // type:object size:0x90
|
||||
lbl_3_data_15E0 = .data:0x000015E0; // type:object size:0x20 data:4byte
|
||||
lbl_3_data_1600 = .data:0x00001600; // type:object size:0x70 data:string_table
|
||||
lbl_3_data_1670 = .data:0x00001670; // type:object size:0xF data:string
|
||||
lbl_3_data_1680 = .data:0x00001680; // type:object size:0x13 data:string
|
||||
lbl_3_data_1694 = .data:0x00001694; // type:object size:0x12 data:string
|
||||
|
||||
14
configure.py
14
configure.py
@@ -368,6 +368,20 @@ config.libs = [
|
||||
),
|
||||
],
|
||||
},
|
||||
Rel(
|
||||
"menu",
|
||||
[
|
||||
Object(NonMatching, "REL/menu/menu_1.cpp"),
|
||||
Object(NonMatching, "REL/menu/menu_2.cpp"),
|
||||
Object(NonMatching, "REL/menu/menu_3.cpp"),
|
||||
Object(NonMatching, "REL/menu/menu_4.cpp"),
|
||||
Object(NonMatching, "REL/menu/menu_5.cpp"),
|
||||
Object(NonMatching, "REL/menu/menu_6.cpp"),
|
||||
Object(NonMatching, "REL/menu/menu_7.cpp"),
|
||||
Object(NonMatching, "REL/menu/menu_8.cpp"),
|
||||
Object(NonMatching, "REL/menu/menu_9.cpp"),
|
||||
],
|
||||
),
|
||||
]
|
||||
|
||||
if args.mode == "configure":
|
||||
|
||||
@@ -21,6 +21,4 @@ void __destroy_global_chain(void) {
|
||||
}
|
||||
}
|
||||
|
||||
#pragma section ".dtors$10"
|
||||
__declspec(section ".dtors$10") __declspec(weak)
|
||||
extern void * const __destroy_global_chain_reference = __destroy_global_chain;
|
||||
__declspec(section ".dtors") __declspec(weak) static void* const __destroy_global_chain_reference = __destroy_global_chain;
|
||||
|
||||
Reference in New Issue
Block a user