Some main functions (#27)

This commit is contained in:
Allison Mackenzie 2023-09-22 14:59:46 -05:00 committed by GitHub
parent 7d6b041938
commit 1dee125f67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 5 deletions

6
include/main.h Normal file
View File

@ -0,0 +1,6 @@
#include "common.h"
extern u8 D_801CFFF8;
extern s32 D_801D0004;
extern u8 D_801D0008;
extern u8 D_801D0009;

View File

@ -1,4 +1,5 @@
#include "common.h"
#include "main.h"
INCLUDE_ASM("asm/main/nonmatchings/64D0", func_801B5CD0);
@ -80,7 +81,9 @@ INCLUDE_ASM("asm/main/nonmatchings/64D0", func_801B79B4);
INCLUDE_ASM("asm/main/nonmatchings/64D0", func_801B7A40);
INCLUDE_ASM("asm/main/nonmatchings/64D0", func_801B7AD8);
u16 func_801B7AD8(u16* arg0) {
return *arg0;
}
INCLUDE_ASM("asm/main/nonmatchings/64D0", func_801B7AE4);
@ -126,13 +129,21 @@ INCLUDE_ASM("asm/main/nonmatchings/64D0", func_801B85A4);
INCLUDE_ASM("asm/main/nonmatchings/64D0", func_801B85CC);
INCLUDE_ASM("asm/main/nonmatchings/64D0", func_801B8600);
u8 func_801B8600(void) {
return D_801CFFF8;
}
INCLUDE_ASM("asm/main/nonmatchings/64D0", func_801B8610);
u8 func_801B8610(void) {
return D_801D0008;
}
INCLUDE_ASM("asm/main/nonmatchings/64D0", func_801B8620);
u8 func_801B8620(void) {
return D_801D0009;
}
INCLUDE_ASM("asm/main/nonmatchings/64D0", func_801B8630);
s32* func_801B8630(void) {
return &D_801D0004;
}
INCLUDE_ASM("asm/main/nonmatchings/64D0", func_801B863C);