SEL func_801AD490 match

This commit is contained in:
Luciano Ciccariello 2023-01-24 20:53:14 +00:00
parent dd497abf29
commit 72a0add7b5
2 changed files with 5 additions and 12 deletions

View File

@ -28,7 +28,8 @@ segments:
- [0x40, data]
- [0x176C0, rodata]
- [0x276C0, .rodata, func_801AD260]
- [0x276D8, rodata]
- [0x276D8, .rodata, 2D490]
- [0x276F0, rodata]
- [0x27AD0, rodata] # Update function
- [0x27AE4, rodata] # func_801B2E5C, func_801B3164, func_801B3A94
- [0x27B14, rodata] # func_801B3164, func_801B3A94

View File

@ -1,20 +1,13 @@
#include "sel.h"
extern const char D_801A76D8[];
extern const char D_801A76E0[];
extern const char D_801A76E8[];
// #ifndef NON_MATCHING
// INCLUDE_ASM("config/../asm/st/sel/nonmatchings/2D490", func_801AD490);
// #else
void func_801AD490(void) {
s32 i;
func_801AD260(4);
func_801B2AFC(D_801803A8, 0x34, 0xBC, 1);
func_801B2AFC(D_801803AC, 0x34, 0xCC, 1);
func_801B29C0(D_801A76D8, 0xF0, 0x20, 1);
func_801B29C0(D_801A76E0, 0x100, 0x30, 1);
func_801B29C0(D_801A76E8, 0xE8, 0x40, 1);
func_801B29C0("select", 0xF0, 0x20, 1);
func_801B29C0("your", 0x100, 0x30, 1);
func_801B29C0("destiny", 0xE8, 0x40, 1);
for (i = 0; i < 5; i++) {
POLY_GT4* temp_v0 = &D_80086FEC[D_801BAF18[i + 1].unk0];
if (i == D_801D6B0C) {
@ -24,7 +17,6 @@ void func_801AD490(void) {
}
}
}
// #endif
void func_801AD590(void) {
if (D_80097494 & 0x6000) {