From c0ce4f82ad10178eab328cb0da3f03639c3b5b8e Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Thu, 11 Oct 2018 12:27:06 -0500 Subject: Match first C function --- src/main.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 src/main.c (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c new file mode 100755 index 0000000..5855e35 --- /dev/null +++ b/src/main.c @@ -0,0 +1,16 @@ +#include "global.h" + +struct UnkStruct_200B0C0 +{ + u8 filler0[0x2]; + u8 unk2; + u8 unk3; +}; + +extern struct UnkStruct_200B0C0 gUnknown_0200B0C0; + +void sub_23C(u8 arg0) +{ + gUnknown_0200B0C0.unk2 = arg0; + gUnknown_0200B0C0.unk3 = 0; +} -- cgit v1.2.3