-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from dplewis/4f7f0
Decompile 4F7F0.c
- Loading branch information
Showing
6 changed files
with
46 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#include "common.h" | ||
|
||
struct UnkArray4 { | ||
u32 unk0; | ||
u32 unk4; | ||
u16 unk8; | ||
u16 unkA; | ||
f32 unkC; | ||
u32 unk10; | ||
u32 unk14; | ||
u32 unk18; | ||
u32 unk1C; | ||
}; | ||
struct UnkStructUnk8 { | ||
char filler[0x88]; | ||
u32 unk88; | ||
}; | ||
struct UnkStruct8004EBF0 { | ||
char filler[0x8]; | ||
struct UnkStructUnk8* unk8; | ||
}; | ||
void func_80047500(void*, u8, void*, void*); | ||
struct UnkArray4* func_800495F8(); | ||
struct UnkArray4* D_80078584; | ||
|
||
void func_8004EBF0(struct UnkStruct8004EBF0* arg0, f32 arg1) { | ||
struct UnkArray4 *temp_v0; | ||
|
||
if (arg0->unk8 != NULL) { | ||
temp_v0 = func_800495F8(); | ||
if (temp_v0 != NULL) { | ||
temp_v0->unk4 = (s32) (D_80078584->unk1C + arg0->unk8->unk88); | ||
temp_v0->unk8 = 7; | ||
temp_v0->unkC = arg1; | ||
temp_v0->unk0 = 0; | ||
func_80047500(arg0->unk8, 3, temp_v0, arg0); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters