summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-10-11 12:27:06 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-10-11 12:27:06 -0500
commitc0ce4f82ad10178eab328cb0da3f03639c3b5b8e (patch)
tree3996e049c7bf2dcbc17c651dc24628e92e80068e /src/main.c
parentad3ef8944eb4e1291c1ac9bcf06a9f5779b20c55 (diff)
Match first C function
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c16
1 files changed, 16 insertions, 0 deletions
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;
+}