Skip to content

Commit

Permalink
Merge pull request #74 from dplewis/missing-declarations
Browse files Browse the repository at this point in the history
fix: Add missing function declarations
  • Loading branch information
RevoSucks authored Aug 23, 2023
2 parents aeab778 + a60f1c2 commit b273a24
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/3A80.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ extern s32 D_80068B90;
extern u8 D_80104BB0[];
extern s32 D_800A60B0;

void func_80003860(void);
s32 func_80002A40(s32, s32);
void func_80002BD0(s32, void *); // type unknown
s32 func_80007A58(void);

uintptr_t func_80002E80(uintptr_t addr) {
uintptr_t retaddr = 0x00000000;

Expand Down
14 changes: 14 additions & 0 deletions src/DDC0.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <PR/os_internal_reg.h>
#include "ultra64.h"
#include "dp_intro.h"

Expand All @@ -21,6 +22,19 @@ extern OSThread D_800A8480;

extern u8 D_800AA660[];

s32 func_800484E0(void);
void func_80009210(void);
void func_800373D8(void);
void func_8004FD44(void);
void func_8004B1CC();
void func_8004B9C4();
void func_80037340(void *);
void func_8004FCD8(s32);
void func_8003D4A0(s32);
void func_8004AF24(s32);
void func_8004FD64(s32);
void func_8004AE90(s32, s32);

void func_8000D1C0(void) {

}
Expand Down
12 changes: 12 additions & 0 deletions src/E1C0.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#include <ultra64.h>
#include <PR/os_internal_reg.h>
#include "dp_intro.h"
#include "fragments.h"
#include "intro_loader.h"
#include "dp_intro.h"

struct UnkInputStruct8000D738 {
s32 unk0;
Expand Down Expand Up @@ -37,6 +40,15 @@ void func_81206D9C(void);
void func_81206E64(void);
void func_81206F38(void);

// from 3A80.c
extern uintptr_t func_80002E80(uintptr_t addr);

void func_80005370(struct UnkStruct800AA660 *);
void func_80004454(u32, void *, void *);
char func_8000B318(char);
s32 func_800044F4(void *, void *, s32, s32);
s32 func_8000484C(s32, s32);

void func_8000D5C0(void* unused) {
void (*func)(void *) = func_80002E80(&func_81206F38);

Expand Down
1 change: 1 addition & 0 deletions src/dp_intro.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ extern struct UnkStruct800A62E0 D_800A62E0;

void func_80001474(s8, s8);
void func_800019C8(void);
void func_80001C64(void);

#endif /* _SRC_DP_INTRO_H_ */

0 comments on commit b273a24

Please sign in to comment.