summaryrefslogtreecommitdiff
path: root/include/darray.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/darray.h')
-rw-r--r--include/darray.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/darray.h b/include/darray.h
new file mode 100644
index 0000000..f20cb82
--- /dev/null
+++ b/include/darray.h
@@ -0,0 +1,25 @@
+#ifndef POKEREVO_DARRAY_H
+#define POKEREVO_DARRAY_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct DArray {
+ s32 size;
+ s32 unk4;
+ u32 elementSz;
+ s32 unkC;
+ s32 unk10;
+ char *buf;
+} DArray;
+
+void *ArrayNew(s32 p1, s32 p3, s32 p6);
+void *ArrayNth(DArray *p1, s32 p2);
+void *ArrayMapBackwards2(DArray *p1, s32 p2, s32 p3);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //POKEREVO_DARRAY_H