From 67fd727a3c293215c644bb690bad1db0df67046f Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 15 Sep 2020 17:13:00 -0400 Subject: TableLookup, TableMapSafe, TableMapSafe2. Added darray.h header --- include/darray.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 include/darray.h (limited to 'include/darray.h') diff --git a/include/darray.h b/include/darray.h new file mode 100644 index 0000000..09c9db8 --- /dev/null +++ b/include/darray.h @@ -0,0 +1,25 @@ +#ifndef POKEREVO_DARRAY_H +#define POKEREVO_DARRAY_H + +#ifdef __cplusplus +extern "C" { +#endif + +// size is at least 0x18 bytes +typedef struct unkStruct2 { + s32 unk0; // TODO: number of elements in array + s32 unk4; + u32 unk8; // TODO: size of each element + s32 unkC; + s32 unk10; + char *unk14; // TODO: pointer to start of array +} unkStruct2; + + +void *ArrayNth(unkStruct2 *p1, s32 p2); + +#ifdef __cplusplus +} +#endif + +#endif //POKEREVO_DARRAY_H -- cgit v1.2.3