summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAkira Akashi <rubenru09@aol.com>2021-05-16 03:36:27 +0100
committerGitHub <noreply@github.com>2021-05-16 03:36:27 +0100
commitb09a7b81d1f44adc521686d2b56d4b28c748995c (patch)
tree5245ec30ef97ba2a166c2008fcf16661a8e900cd /include
parent21ebb3b01cdd47bd7aa56affe7d2179d167453bc (diff)
parent5f4bb52fd5d93b2638c99baee82d63b4d9b9f790 (diff)
Merge pull request #375 from SethBarberee/wifi_md5_stub
WIFIMD5, RTC, and Unk0202254
Diffstat (limited to 'include')
-rw-r--r--include/WIFI_stubsmd5_dummy.h11
-rw-r--r--include/unk_02022504.h14
2 files changed, 25 insertions, 0 deletions
diff --git a/include/WIFI_stubsmd5_dummy.h b/include/WIFI_stubsmd5_dummy.h
new file mode 100644
index 00000000..d82b55c5
--- /dev/null
+++ b/include/WIFI_stubsmd5_dummy.h
@@ -0,0 +1,11 @@
+#ifndef POKEDIAMOND_WIFI_STUBSMD5_DUMMY_H
+#define POKEDIAMOND_WIFI_STUBSMD5_DUMMY_H
+
+#include "nitro/types.h"
+#include "dgt.h"
+
+void MD5Final(u8 *digest, struct DGTHash1Context *context);
+void MD5Update(struct DGTHash1Context *context, u8 *input, u32 length);
+void MD5Init(struct DGTHash1Context *context);
+
+#endif //POKEDIAMOND_WIFI_STUBSMD5_DUMMY_H
diff --git a/include/unk_02022504.h b/include/unk_02022504.h
new file mode 100644
index 00000000..aa541f85
--- /dev/null
+++ b/include/unk_02022504.h
@@ -0,0 +1,14 @@
+#ifndef POKEDIAMOND_UNK_02022504_H
+#define POKEDIAMOND_UNK_02022504_H
+
+#include "save_block_2.h"
+#include "pokemon_storage_system.h"
+
+void *FUN_02022504(struct SaveBlock2 *sav2);
+struct PCStorage *GetStoragePCPointer(struct SaveBlock2 *sav2);
+void *FUN_0202251C(struct SaveBlock2 *sav2);
+void *FUN_02022528(struct SaveBlock2 *sav2);
+u8 *LoadHallOfFame(struct SaveBlock2 *sav2, u32 heap_id, int *ret_p);
+s32 *SaveHallOfFame(struct SaveBlock2 *sav2, u8 *data);
+
+#endif //POKEDIAMOND_UNK_02022504_H