From 61776017dc42d46aa5cefcb40429d7d96984f703 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Sat, 15 May 2021 19:31:22 -0500 Subject: decomp 3 files --- include/WIFI_stubsmd5_dummy.h | 12 ++++++++++++ include/unk_02022504.h | 15 +++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 include/WIFI_stubsmd5_dummy.h create mode 100644 include/unk_02022504.h (limited to 'include') diff --git a/include/WIFI_stubsmd5_dummy.h b/include/WIFI_stubsmd5_dummy.h new file mode 100644 index 00000000..73e83e39 --- /dev/null +++ b/include/WIFI_stubsmd5_dummy.h @@ -0,0 +1,12 @@ +#ifndef POKEDIAMOND_WIFI_STUBSMD5_DUMMY_H +#define POKEDIAMOND_WIFI_STUBSMD5_DUMMY_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..3473ffff --- /dev/null +++ b/include/unk_02022504.h @@ -0,0 +1,15 @@ +#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); +int *SaveHallOfFame(struct SaveBlock2 *sav2, u8 *data); + +#endif //POKEDIAMOND_UNK_02022504_H + -- cgit v1.2.3 From 5f4bb52fd5d93b2638c99baee82d63b4d9b9f790 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Sat, 15 May 2021 20:30:26 -0500 Subject: address review comments --- include/WIFI_stubsmd5_dummy.h | 3 +-- include/unk_02022504.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/WIFI_stubsmd5_dummy.h b/include/WIFI_stubsmd5_dummy.h index 73e83e39..d82b55c5 100644 --- a/include/WIFI_stubsmd5_dummy.h +++ b/include/WIFI_stubsmd5_dummy.h @@ -1,12 +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 index 3473ffff..aa541f85 100644 --- a/include/unk_02022504.h +++ b/include/unk_02022504.h @@ -9,7 +9,6 @@ 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); -int *SaveHallOfFame(struct SaveBlock2 *sav2, u8 *data); +s32 *SaveHallOfFame(struct SaveBlock2 *sav2, u8 *data); #endif //POKEDIAMOND_UNK_02022504_H - -- cgit v1.2.3