Skip to content

Commit b2f05b4

Browse files
committed
48C60/485C0
1 parent beeb482 commit b2f05b4

File tree

7 files changed

+22
-3
lines changed

7 files changed

+22
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ ctx.c.m2c
2727
.vscode/*
2828
!.vscode/c_cpp_properties.json
2929
tools/vtxdis
30+
.DS_Store

src/3D140.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,5 @@ void func_80041DF4(u16 arg0);
112112
void func_80041E40(u16 arg0);
113113
u32 func_80041EF4(u16* arg0);
114114
void func_800420C0(u16* arg0);
115-
void func_80048014(void);
116115

117116
#endif // _3D140_H_

src/485C0.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#include "global.h"
22

3+
extern s32 D_800789F4;
4+
extern s32 D_800789F8;
5+
36
#pragma GLOBAL_ASM("asm/us/nonmatchings/485C0/func_800479C0.s")
47

5-
#pragma GLOBAL_ASM("asm/us/nonmatchings/485C0/func_80048014.s")
8+
void func_80048014(void) {
9+
func_800392A8(D_800789F8, 0x5A);
10+
func_800392A8(D_800789F4, 0x5A);
11+
D_800789F8 = 0;
12+
D_800789F4 = 0;
13+
}

src/485C0.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
#include "global.h"
55

66
s32 func_800479C0(s32, s32, s32);
7+
void func_80048014(void);
78

89
#endif // _485C0_H_

src/48C60.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#include "48C60.h"
2+
#include "38BB0.h"
3+
4+
extern s32 D_80078A18;
5+
extern u8 D_80078A1C;
26

37
#pragma GLOBAL_ASM("asm/us/nonmatchings/48C60/func_80048060.s")
48

5-
#pragma GLOBAL_ASM("asm/us/nonmatchings/48C60/func_80048464.s")
9+
void func_80048464(void) {
10+
if (D_80078A1C != 0) {
11+
func_800392A8(D_80078A18, (s32)D_80078A1C);
12+
}
13+
}

src/48C60.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
#include "global.h"
55

66
void func_80048060(s32, s32, s32, s32);
7+
void func_80048464(void);
78

89
#endif // _48C60_H_

src/fragments/62/fragment62_309ED0.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "src/1C720.h"
44
#include "src/373A0.h"
55
#include "src/3D140.h"
6+
#include "src/485C0.h"
67
#include "src/4BDC0.h"
78
#include "src/4F410.h"
89
#include "src/F420.h"

0 commit comments

Comments
 (0)