From bad7f7f688253c87c2cb2d063ea57c884cb6adff Mon Sep 17 00:00:00 2001 From: Dennis Date: Sat, 17 Jul 2021 18:45:13 +0200 Subject: More item related decomp (#45) * decompile sub_80918EC * some more item related functions * more item functions * more decomp, fix types in other places * more small functions * more item related decomp * one more weird branching item function * fix global.h includes * figured out branch pattern * decompile sub_8090F58 * make temporary struct for function * :crab: items.s is gone :crab: * some renaming * rename some obvious item related constants * fix spelling error --- include/code_8092334.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/code_8092334.h (limited to 'include/code_8092334.h') diff --git a/include/code_8092334.h b/include/code_8092334.h new file mode 100644 index 0000000..6f7fcae --- /dev/null +++ b/include/code_8092334.h @@ -0,0 +1,21 @@ +#ifndef GUARD_CODE_8092334_H +#define GUARD_CODE_8092334_H + + +struct unkStruct_8094924 +{ + // size: 0x10? + u8 *unk0; // head? + u8 *unk4; // tail? + u32 unk8; + u32 unkC; +}; + +void sub_809486C(struct unkStruct_8094924 *r0, u8 *r1, s32 size); +void nullsub_102(struct unkStruct_8094924 *r0); +void sub_809488C(struct unkStruct_8094924 *r0, u8 *r1, s32 size); +void sub_809485C(struct unkStruct_8094924 *r0, u8 *r1, s32 size); +void sub_80948E4(struct unkStruct_8094924 *r0, u8 *r1, s32 size); +void sub_8094924(struct unkStruct_8094924 *r0, u8 *r1, s32 size); + +#endif \ No newline at end of file -- cgit v1.2.3