Add in headers.

This commit is contained in:
luckytyphlosion 2022-12-23 14:05:03 -05:00
parent ea716561e3
commit 46f6dc3bf4
2907 changed files with 49816 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_CONST_020E4C40_H
#define POKEPLATINUM_CONST_020E4C40_H
extern const u8 Unk_020E4C40;
#endif // POKEPLATINUM_CONST_020E4C40_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_CONST_020E4C44_H
#define POKEPLATINUM_CONST_020E4C44_H
extern const u8 Unk_020E4C44;
#endif // POKEPLATINUM_CONST_020E4C44_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_CONST_020E582C_H
#define POKEPLATINUM_CONST_020E582C_H
extern const int Unk_020E582C;
#endif // POKEPLATINUM_CONST_020E582C_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_CONST_020E5830_H
#define POKEPLATINUM_CONST_020E5830_H
extern const int Unk_020E5830;
#endif // POKEPLATINUM_CONST_020E5830_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020E5834_H
#define POKEPLATINUM_CONST_020E5834_H
#include "struct_defs/struct_02025340.h"
extern const UnkStruct_02025340 Unk_020E5834[];
#endif // POKEPLATINUM_CONST_020E5834_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020E5894_H
#define POKEPLATINUM_CONST_020E5894_H
#include "struct_defs/struct_020251A4.h"
extern const UnkStruct_020251A4 Unk_020E5894[];
#endif // POKEPLATINUM_CONST_020E5894_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_CONST_020EA02C_H
#define POKEPLATINUM_CONST_020EA02C_H
extern const u8 Unk_020EA02C[];
#endif // POKEPLATINUM_CONST_020EA02C_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020EA10C_H
#define POKEPLATINUM_CONST_020EA10C_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020EA10C;
#endif // POKEPLATINUM_CONST_020EA10C_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020EA11C_H
#define POKEPLATINUM_CONST_020EA11C_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020EA11C;
#endif // POKEPLATINUM_CONST_020EA11C_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020EA328_H
#define POKEPLATINUM_CONST_020EA328_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020EA328;
#endif // POKEPLATINUM_CONST_020EA328_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020EA358_H
#define POKEPLATINUM_CONST_020EA358_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020EA358;
#endif // POKEPLATINUM_CONST_020EA358_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_CONST_020EAB80_H
#define POKEPLATINUM_CONST_020EAB80_H
extern const u32 Unk_020EAB80;
#endif // POKEPLATINUM_CONST_020EAB80_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020EAC58_H
#define POKEPLATINUM_CONST_020EAC58_H
#include "functypes/funcptr_0203E724.h"
extern const UnkFuncPtr_0203E724 Unk_020EAC58[];
#endif // POKEPLATINUM_CONST_020EAC58_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_CONST_020ED570_H
#define POKEPLATINUM_CONST_020ED570_H
extern const u16 Unk_020ED570[];
#endif // POKEPLATINUM_CONST_020ED570_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_CONST_020EE31C_H
#define POKEPLATINUM_CONST_020EE31C_H
extern const int * const Unk_020EE31C[];
#endif // POKEPLATINUM_CONST_020EE31C_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020EE3A8_H
#define POKEPLATINUM_CONST_020EE3A8_H
#include "struct_defs/struct_020EDF0C.h"
extern const UnkStruct_020EDF0C * const Unk_020EE3A8[];
#endif // POKEPLATINUM_CONST_020EE3A8_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020EE4B8_H
#define POKEPLATINUM_CONST_020EE4B8_H
#include "struct_decls/struct_02061AB4_decl.h"
extern int(*const * const Unk_020EE4B8[0x9a])(UnkStruct_02061AB4 *);
#endif // POKEPLATINUM_CONST_020EE4B8_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F1E88_H
#define POKEPLATINUM_CONST_020F1E88_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F1E88;
#endif // POKEPLATINUM_CONST_020F1E88_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F2DAC_H
#define POKEPLATINUM_CONST_020F2DAC_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F2DAC;
#endif // POKEPLATINUM_CONST_020F2DAC_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F2DBC_H
#define POKEPLATINUM_CONST_020F2DBC_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F2DBC;
#endif // POKEPLATINUM_CONST_020F2DBC_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F2FCC_H
#define POKEPLATINUM_CONST_020F2FCC_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F2FCC;
#endif // POKEPLATINUM_CONST_020F2FCC_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F3050_H
#define POKEPLATINUM_CONST_020F3050_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F3050;
#endif // POKEPLATINUM_CONST_020F3050_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F3060_H
#define POKEPLATINUM_CONST_020F3060_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F3060;
#endif // POKEPLATINUM_CONST_020F3060_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F410C_H
#define POKEPLATINUM_CONST_020F410C_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F410C;
#endif // POKEPLATINUM_CONST_020F410C_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F55DC_H
#define POKEPLATINUM_CONST_020F55DC_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F55DC;
#endif // POKEPLATINUM_CONST_020F55DC_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F55EC_H
#define POKEPLATINUM_CONST_020F55EC_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F55EC;
#endif // POKEPLATINUM_CONST_020F55EC_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F560C_H
#define POKEPLATINUM_CONST_020F560C_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F560C;
#endif // POKEPLATINUM_CONST_020F560C_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F561C_H
#define POKEPLATINUM_CONST_020F561C_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F561C;
#endif // POKEPLATINUM_CONST_020F561C_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F64C0_H
#define POKEPLATINUM_CONST_020F64C0_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F64C0;
#endif // POKEPLATINUM_CONST_020F64C0_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F67FC_H
#define POKEPLATINUM_CONST_020F67FC_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F67FC;
#endif // POKEPLATINUM_CONST_020F67FC_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F6824_H
#define POKEPLATINUM_CONST_020F6824_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F6824;
#endif // POKEPLATINUM_CONST_020F6824_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F6890_H
#define POKEPLATINUM_CONST_020F6890_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F6890;
#endif // POKEPLATINUM_CONST_020F6890_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_020F8BE0_H
#define POKEPLATINUM_CONST_020F8BE0_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_020F8BE0;
#endif // POKEPLATINUM_CONST_020F8BE0_H

8
include/data_02100844.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_DATA_02100844_H
#define POKEPLATINUM_DATA_02100844_H
#include <nitro/gx.h>
extern GXBufferMode Unk_02100844;
#endif

8
include/data_021BF67C.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_DATA_021BF67C_H
#define POKEPLATINUM_DATA_021BF67C_H
#include "struct_defs/struct_021BF67C.h"
extern UnkStruct_021BF67C Unk_021BF67C;
#endif // POKEPLATINUM_DATA_021BF67C_H

388
include/enums.h Normal file
View File

@ -0,0 +1,388 @@
#ifndef POKEPLATINUM_ENUMS_H
#define POKEPLATINUM_ENUMS_H
typedef enum {
UnkEnum_0202F510_00,
UnkEnum_0202F510_01,
UnkEnum_0202F510_02,
UnkEnum_0202F510_03,
UnkEnum_0202F510_04,
UnkEnum_0202F510_05,
UnkEnum_0202F510_06,
UnkEnum_0202F510_07,
UnkEnum_0202F510_08,
UnkEnum_0202F510_09,
UnkEnum_0202F510_10,
UnkEnum_0202F510_11,
UnkEnum_0202F510_12,
UnkEnum_0202F510_13,
UnkEnum_0202F510_14,
UnkEnum_0202F510_15,
UnkEnum_0202F510_16,
UnkEnum_0202F510_17,
UnkEnum_0202F510_18,
UnkEnum_0202F510_19,
UnkEnum_0202F510_20,
UnkEnum_0202F510_21,
UnkEnum_0202F510_22,
UnkEnum_0202F510_23,
UnkEnum_0202F510_24,
UnkEnum_0202F510_25,
UnkEnum_0202F510_26,
UnkEnum_0202F510_27,
UnkEnum_0202F510_28,
UnkEnum_0202F510_29,
UnkEnum_0202F510_30,
UnkEnum_0202F510_31,
UnkEnum_0202F510_32,
UnkEnum_0202F510_33 = 0xfa,
UnkEnum_0202F510_34 = 0xfb,
UnkEnum_0202F510_35 = 0xfc,
UnkEnum_0202F510_36 = 0xfd,
UnkEnum_0202F510_37 = 0xfe,
UnkEnum_0202F510_38 = 0xff,
} UnkEnum_0202F510;
typedef enum {
UnkEnum_021DFB94_00,
UnkEnum_021DFB94_01,
UnkEnum_021DFB94_02,
UnkEnum_021DFB94_03,
UnkEnum_021DFB94_04,
UnkEnum_021DFB94_05,
UnkEnum_021DFB94_06,
UnkEnum_021DFB94_07,
UnkEnum_021DFB94_08,
UnkEnum_021DFB94_09,
UnkEnum_021DFB94_10,
UnkEnum_021DFB94_11,
UnkEnum_021DFB94_12,
UnkEnum_021DFB94_13,
UnkEnum_021DFB94_14,
UnkEnum_021DFB94_15,
UnkEnum_021DFB94_16,
UnkEnum_021DFB94_17,
UnkEnum_021DFB94_18,
UnkEnum_021DFB94_19,
UnkEnum_021DFB94_20,
UnkEnum_021DFB94_21,
UnkEnum_021DFB94_22,
UnkEnum_021DFB94_23,
UnkEnum_021DFB94_24,
UnkEnum_021DFB94_25,
UnkEnum_021DFB94_26,
UnkEnum_021DFB94_27,
UnkEnum_021DFB94_28,
UnkEnum_021DFB94_29,
UnkEnum_021DFB94_30,
UnkEnum_021DFB94_31,
UnkEnum_021DFB94_32,
UnkEnum_021DFB94_33,
UnkEnum_021DFB94_34,
UnkEnum_021DFB94_35,
UnkEnum_021DFB94_36,
UnkEnum_021DFB94_37,
UnkEnum_021DFB94_38,
UnkEnum_021DFB94_39,
UnkEnum_021DFB94_40,
UnkEnum_021DFB94_41,
UnkEnum_021DFB94_42,
UnkEnum_021DFB94_43,
UnkEnum_021DFB94_44,
UnkEnum_021DFB94_45,
UnkEnum_021DFB94_46,
UnkEnum_021DFB94_47,
UnkEnum_021DFB94_48,
UnkEnum_021DFB94_49,
UnkEnum_021DFB94_50,
UnkEnum_021DFB94_51,
UnkEnum_021DFB94_52,
UnkEnum_021DFB94_53,
UnkEnum_021DFB94_54,
UnkEnum_021DFB94_55,
UnkEnum_021DFB94_56,
UnkEnum_021DFB94_57,
UnkEnum_021DFB94_58,
UnkEnum_021DFB94_59,
UnkEnum_021DFB94_60,
UnkEnum_021DFB94_61,
} UnkEnum_021DFB94;
typedef enum {
UnkEnum_ov87_021D12C0_0,
UnkEnum_ov87_021D12C0_1,
} UnkEnum_ov87_021D12C0;
typedef enum {
UnkEnum_02098EAC_0,
UnkEnum_02098EAC_1,
UnkEnum_02098EAC_2,
} UnkEnum_02098EAC;
typedef enum {
UnkEnum_ov101_021D9688_00 = 0,
UnkEnum_ov101_021D9688_01,
UnkEnum_ov101_021D9688_02,
UnkEnum_ov101_021D9688_03,
UnkEnum_ov101_021D9688_04,
UnkEnum_ov101_021D9688_05,
UnkEnum_ov101_021D9688_06,
} UnkEnum_ov101_021D9688;
typedef enum {
UnkEnum_ov101_021D2BDC_00,
UnkEnum_ov101_021D2BDC_01,
UnkEnum_ov101_021D2BDC_02,
UnkEnum_ov101_021D2BDC_03,
} UnkEnum_ov101_021D2BDC;
typedef enum {
UnkEnum_ov101_021D4F58_00 = 0,
UnkEnum_ov101_021D4F58_01,
UnkEnum_ov101_021D4F58_02,
UnkEnum_ov101_021D4F58_03,
UnkEnum_ov101_021D4F58_04,
UnkEnum_ov101_021D4F58_05,
} UnkEnum_ov101_021D4F58;
typedef enum {
UnkEnum_ov101_021D394C_00 = 0,
UnkEnum_ov101_021D394C_01,
UnkEnum_ov101_021D394C_02,
} UnkEnum_ov101_021D394C;
typedef enum {
UnkEnum_ov101_021D5814_00 = 0,
UnkEnum_ov101_021D5814_01,
UnkEnum_ov101_021D5814_02,
UnkEnum_ov101_021D5814_03,
UnkEnum_ov101_021D5814_04,
UnkEnum_ov101_021D5814_05,
} UnkEnum_ov101_021D5814;
typedef enum {
UnkEnum_ov101_021D5D90_00 = 0,
UnkEnum_ov101_021D5D90_01,
UnkEnum_ov101_021D5D90_02,
UnkEnum_ov101_021D5D90_03,
UnkEnum_ov101_021D5D90_04,
UnkEnum_ov101_021D5D90_05,
UnkEnum_ov101_021D5D90_06,
UnkEnum_ov101_021D5D90_07,
} UnkEnum_ov101_021D5D90;
typedef enum {
UnkEnum_ov101_021D6764_00 = 0,
UnkEnum_ov101_021D6764_01,
UnkEnum_ov101_021D6764_02,
UnkEnum_ov101_021D6764_03,
} UnkEnum_ov101_021D6764;
typedef enum {
UnkEnum_ov101_021D679C_00,
UnkEnum_ov101_021D679C_01,
UnkEnum_ov101_021D679C_02,
UnkEnum_ov101_021D679C_03,
UnkEnum_ov101_021D679C_04,
UnkEnum_ov101_021D679C_05,
UnkEnum_ov101_021D679C_06,
UnkEnum_ov101_021D679C_07,
UnkEnum_ov101_021D679C_08,
UnkEnum_ov101_021D679C_09,
} UnkEnum_ov101_021D679C;
typedef enum {
UnkEnum_ov101_021D4550_00 = 0,
UnkEnum_ov101_021D4550_01,
UnkEnum_ov101_021D4550_02,
UnkEnum_ov101_021D4550_03,
} UnkEnum_ov101_021D4550;
typedef enum {
UnkEnum_ov101_021D77E4_00 = 0,
UnkEnum_ov101_021D77E4_01,
} UnkEnum_ov101_021D77E4;
typedef enum {
UnkEnum_ov101_021D9934_00 = 0,
UnkEnum_ov101_021D9934_01,
UnkEnum_ov101_021D9934_02,
UnkEnum_ov101_021D9934_03,
UnkEnum_ov101_021D9934_04,
UnkEnum_ov101_021D9934_05,
UnkEnum_ov101_021D9934_06,
} UnkEnum_ov101_021D9934;
typedef enum {
UnkEnum_ov101_021D9934_1_00 = 0,
UnkEnum_ov101_021D9934_1_01,
UnkEnum_ov101_021D9934_1_02,
UnkEnum_ov101_021D9934_1_03,
} UnkEnum_ov101_021D9934_1;
typedef enum {
UnkEnum_ov101_021D9AE4_00 = 0,
UnkEnum_ov101_021D9AE4_01 = 5,
UnkEnum_ov101_021D9AE4_02 = 15,
UnkEnum_ov101_021D9AE4_03 = 25,
UnkEnum_ov101_021D9AE4_04 = 35,
UnkEnum_ov101_021D9AE4_05 = 45,
UnkEnum_ov101_021D9AE4_06 = 55,
UnkEnum_ov101_021D9AE4_07 = 65,
UnkEnum_ov101_021D9AE4_08 = 75,
UnkEnum_ov101_021D9AE4_09 = 9,
} UnkEnum_ov101_021D9AE4;
typedef enum {
UnkEnum_ov101_021D1894_00,
UnkEnum_ov101_021D1894_01,
UnkEnum_ov101_021D1894_02,
UnkEnum_ov101_021D1894_03,
} UnkEnum_ov101_021D1894;
typedef enum {
UnkEnum_ov66_02231E54_00 = 0,
UnkEnum_ov66_02231E54_01 = 1 << 0,
UnkEnum_ov66_02231E54_02 = 1 << 1,
} UnkEnum_ov66_02231E54;
typedef enum {
UnkEnum_ov66_02231E6C_00,
UnkEnum_ov66_02231E6C_01,
UnkEnum_ov66_02231E6C_02,
} UnkEnum_ov66_02231E6C;
typedef enum {
UnkEnum_ov66_022324D0_00,
UnkEnum_ov66_022324D0_01,
UnkEnum_ov66_022324D0_02,
UnkEnum_ov66_022324D0_03,
UnkEnum_ov66_022324D0_04,
UnkEnum_ov66_022324D0_05,
UnkEnum_ov66_022324D0_06,
UnkEnum_ov66_022324D0_07,
UnkEnum_ov66_022324D0_08,
UnkEnum_ov66_022324D0_09,
UnkEnum_ov66_022324D0_10,
UnkEnum_ov66_022324D0_11,
UnkEnum_ov66_022324D0_12 = UnkEnum_ov66_022324D0_02 + 1,
} UnkEnum_ov66_022324D0;
typedef enum {
UnkEnum_ov16_0226D194_00,
UnkEnum_ov16_0226D194_01,
} UnkEnum_ov16_0226D194;
typedef enum {
UnkEnum_ov16_0226D220_00,
UnkEnum_ov16_0226D220_01,
} UnkEnum_ov16_0226D220;
typedef enum {
UnkEnum_ov16_0226D194_1_00,
UnkEnum_ov16_0226D194_1_01,
} UnkEnum_ov16_0226D194_1;
typedef enum {
UnkEnum_ov16_0226D194_2_00,
UnkEnum_ov16_0226D194_2_01,
} UnkEnum_ov16_0226D194_2;
typedef enum {
UnkEnum_ov16_0226D194_3_00,
UnkEnum_ov16_0226D194_3_01,
UnkEnum_ov16_0226D194_3_02,
} UnkEnum_ov16_0226D194_3;
enum {
GX_BLEND_BGALL = GX_BLEND_PLANEMASK_BG0 | GX_BLEND_PLANEMASK_BG1 | GX_BLEND_PLANEMASK_BG2 | GX_BLEND_PLANEMASK_BG3,
GX_BLEND_ALL = GX_BLEND_BGALL | GX_BLEND_PLANEMASK_OBJ | GX_BLEND_PLANEMASK_BD,
};
enum {
GX_WND_PLANEMASK_BGALL = GX_WND_PLANEMASK_BG0 | GX_WND_PLANEMASK_BG1 | GX_WND_PLANEMASK_BG2 | GX_WND_PLANEMASK_BG3,
GX_WND_PLANEMASK_ALL = GX_WND_PLANEMASK_BGALL | GX_WND_PLANEMASK_OBJ,
};
typedef enum {
UnkEnum_ov66_0223287C_00,
UnkEnum_ov66_0223287C_01,
UnkEnum_ov66_0223287C_02,
UnkEnum_ov66_0223287C_03,
UnkEnum_ov66_0223287C_04
} UnkEnum_ov66_0223287C;
typedef enum {
UnkEnum_ov66_02232BEC_00,
UnkEnum_ov66_02232BEC_01,
UnkEnum_ov66_02232BEC_02,
UnkEnum_ov66_02232BEC_03,
UnkEnum_ov66_02232BEC_04,
UnkEnum_ov66_02232BEC_05,
UnkEnum_ov66_02232BEC_06,
UnkEnum_ov66_02232BEC_07,
UnkEnum_ov66_02232BEC_08,
} UnkEnum_ov66_02232BEC;
typedef enum {
UnkEnum_ov66_022336B8_00,
UnkEnum_ov66_022336B8_01,
UnkEnum_ov66_022336B8_02,
UnkEnum_ov66_022336B8_03,
UnkEnum_ov66_022336B8_04,
} UnkEnum_ov66_022336B8;
typedef enum {
UnkEnum_ov66_02232A84_00,
UnkEnum_ov66_02232A84_01,
UnkEnum_ov66_02232A84_02,
} UnkEnum_ov66_02232A84;
typedef enum {
UnkEnum_ov66_02232F38_00,
UnkEnum_ov66_02232F38_01,
UnkEnum_ov66_02232F38_02,
UnkEnum_ov66_02232F38_03,
} UnkEnum_ov66_02232F38;
typedef enum {
UnkEnum_ov66_02233434_00,
UnkEnum_ov66_02233434_01,
UnkEnum_ov66_02233434_02,
UnkEnum_ov66_02233434_03,
} UnkEnum_ov66_02233434;
typedef enum {
UnkEnum_ov66_02233454_00,
UnkEnum_ov66_02233454_01,
UnkEnum_ov66_02233454_02,
UnkEnum_ov66_02233454_03,
UnkEnum_ov66_02233454_04,
UnkEnum_ov66_02233454_05,
UnkEnum_ov66_02233454_06,
UnkEnum_ov66_02233454_07,
UnkEnum_ov66_02233454_08,
UnkEnum_ov66_02233454_09,
UnkEnum_ov66_02233454_10,
UnkEnum_ov66_02233454_11,
} UnkEnum_ov66_02233454;
typedef enum {
UnkEnum_ov66_02233538_00,
UnkEnum_ov66_02233538_01,
UnkEnum_ov66_02233538_02,
UnkEnum_ov66_02233538_03,
UnkEnum_ov66_02233538_04,
UnkEnum_ov66_02233538_05,
UnkEnum_ov66_02233538_06,
UnkEnum_ov66_02233538_07,
UnkEnum_ov66_02233538_08,
} UnkEnum_ov66_02233538;
typedef enum {
UnkEnum_ov66_022335C0_00,
UnkEnum_ov66_022335C0_01,
UnkEnum_ov66_022335C0_02,
} UnkEnum_ov66_022335C0;
#endif // POKEPLATINUM_ENUMS_H

View File

@ -0,0 +1,9 @@
#ifndef POKEPLATINUM_FUNCPTR_02007C34_H
#define POKEPLATINUM_FUNCPTR_02007C34_H
#include "struct_decls/struct_02007C7C_decl.h"
#include "struct_defs/struct_02007C7C_sub1.h"
typedef void (UnkFuncPtr_02007C34)(UnkStruct_02007C7C *, UnkStruct_02007C7C_sub1 *);
#endif // POKEPLATINUM_FUNCPTR_02007C34_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_0200F634_H
#define POKEPLATINUM_FUNCPTR_0200F634_H
typedef void (* UnkFuncPtr_0200F634)(void *);
#endif // POKEPLATINUM_FUNCPTR_0200F634_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_0200F6D8_H
#define POKEPLATINUM_FUNCPTR_0200F6D8_H
#include "struct_defs/struct_0200F7A0.h"
typedef BOOL (* UnkFuncPtr_0200F6D8)(UnkStruct_0200F7A0 *);
#endif // POKEPLATINUM_FUNCPTR_0200F6D8_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_02014014_H
#define POKEPLATINUM_FUNCPTR_02014014_H
typedef u32 (* UnkFuncPtr_02014014)(u32, BOOL);
#endif // POKEPLATINUM_FUNCPTR_02014014_H

View File

@ -0,0 +1,9 @@
#ifndef POKEPLATINUM_FUNCPTR_020146F4_H
#define POKEPLATINUM_FUNCPTR_020146F4_H
#include "library/spl.h"
typedef void (* UnkFuncPtr_020146F4)(UnkSPLStruct6 *);
#endif // POKEPLATINUM_FUNCPTR_020146F4_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_02017798_H
#define POKEPLATINUM_FUNCPTR_02017798_H
typedef void (* UnkFuncPtr_02017798)(void *);
#endif // POKEPLATINUM_FUNCPTR_02017798_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_0201CE28_H
#define POKEPLATINUM_FUNCPTR_0201CE28_H
#include "struct_decls/struct_0201CD38_decl.h"
typedef void (* UnkFuncPtr_0201CE28)(UnkStruct_0201CD38 *, void *);
#endif // POKEPLATINUM_FUNCPTR_0201CE28_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_0201D834_H
#define POKEPLATINUM_FUNCPTR_0201D834_H
#include "struct_defs/struct_0201D738.h"
typedef BOOL (* UnkFuncPtr_0201D834)(UnkStruct_0201D738 *, u16);
#endif // POKEPLATINUM_FUNCPTR_0201D834_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_02021444_H
#define POKEPLATINUM_FUNCPTR_02021444_H
#include "struct_decls/struct_020216E0_decl.h"
typedef void (* UnkFuncPtr_02021444)(UnkStruct_020216E0 *, void *);
#endif // POKEPLATINUM_FUNCPTR_02021444_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_02023FCC_H
#define POKEPLATINUM_FUNCPTR_02023FCC_H
typedef void (* UnkFuncPtr_02023FCC)(u32, u32, void *);
#endif // POKEPLATINUM_FUNCPTR_02023FCC_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_02024220_H
#define POKEPLATINUM_FUNCPTR_02024220_H
typedef void (* UnkFuncPtr_02024220)(void);
#endif // POKEPLATINUM_FUNCPTR_02024220_H

View File

@ -0,0 +1,9 @@
#ifndef POKEPLATINUM_FUNCPTR_020312B8_H
#define POKEPLATINUM_FUNCPTR_020312B8_H
#include <nitro/wm.h>
typedef void (* UnkFuncPtr_020312B8)(WMBssDesc *);
#endif // POKEPLATINUM_FUNCPTR_020312B8_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_02031E6C_H
#define POKEPLATINUM_FUNCPTR_02031E6C_H
typedef void (* UnkFuncPtr_02031E6C)(u16, u16 *, u16);
#endif // POKEPLATINUM_FUNCPTR_02031E6C_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_02031E9C_H
#define POKEPLATINUM_FUNCPTR_02031E9C_H
typedef void (* UnkFuncPtr_02031E9C)(BOOL);
#endif // POKEPLATINUM_FUNCPTR_02031E9C_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_020320FC_H
#define POKEPLATINUM_FUNCPTR_020320FC_H
typedef void (* UnkFuncPtr_020320FC)(u32, int);
#endif // POKEPLATINUM_FUNCPTR_020320FC_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_02032110_H
#define POKEPLATINUM_FUNCPTR_02032110_H
typedef void (* UnkFuncPtr_02032110)(int);
#endif // POKEPLATINUM_FUNCPTR_02032110_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_02032868_H
#define POKEPLATINUM_FUNCPTR_02032868_H
typedef int (* UnkFuncPtr_02032868)(void);
#endif // POKEPLATINUM_FUNCPTR_02032868_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_0203290C_H
#define POKEPLATINUM_FUNCPTR_0203290C_H
typedef u8 *(* UnkFuncPtr_0203290C)(int, void *, int);
#endif // POKEPLATINUM_FUNCPTR_0203290C_H

View File

@ -0,0 +1,9 @@
#ifndef POKEPLATINUM_FUNCPTR_0203B7C0_H
#define POKEPLATINUM_FUNCPTR_0203B7C0_H
#include "struct_decls/struct_02070950_decl.h"
#include "struct_decls/struct_020709CC_decl.h"
typedef void (* UnkFuncPtr_0203B7C0)(UnkStruct_020709CC *, const UnkStruct_02070950 *);
#endif // POKEPLATINUM_FUNCPTR_0203B7C0_H

View File

@ -0,0 +1,9 @@
#ifndef POKEPLATINUM_FUNCPTR_0203BC5C_H
#define POKEPLATINUM_FUNCPTR_0203BC5C_H
#include "struct_defs/struct_020684D0.h"
#include "struct_defs/struct_02068630.h"
typedef void (* UnkFuncPtr_0203BC5C)(UnkStruct_02068630 *, const UnkStruct_020684D0 *);
#endif // POKEPLATINUM_FUNCPTR_0203BC5C_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_0203E724_H
#define POKEPLATINUM_FUNCPTR_0203E724_H
#include "struct_decls/struct_0203E724_decl.h"
typedef BOOL (* UnkFuncPtr_0203E724)(UnkStruct_0203E724 *);
#endif // POKEPLATINUM_FUNCPTR_0203E724_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_02050904_H
#define POKEPLATINUM_FUNCPTR_02050904_H
#include "struct_decls/struct_020508D4_decl.h"
typedef BOOL (* UnkFuncPtr_02050904)(UnkStruct_020508D4 *);
#endif // POKEPLATINUM_FUNCPTR_02050904_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_020598EC_H
#define POKEPLATINUM_FUNCPTR_020598EC_H
typedef void (* UnkFuncPtr_020598EC)(void);
#endif // POKEPLATINUM_FUNCPTR_020598EC_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_0205AB10_H
#define POKEPLATINUM_FUNCPTR_0205AB10_H
#include "struct_decls/struct_02079FF4_decl.h"
typedef void (UnkFuncPtr_0205AB10)(BOOL, const UnkStruct_02079FF4 *);
#endif // POKEPLATINUM_FUNCPTR_0205AB10_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_02069238_H
#define POKEPLATINUM_FUNCPTR_02069238_H
#include "struct_defs/struct_020684D0.h"
typedef u32 (* UnkFuncPtr_02069238)(const UnkStruct_020684D0 *);
#endif // POKEPLATINUM_FUNCPTR_02069238_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_02071330_H
#define POKEPLATINUM_FUNCPTR_02071330_H
#include "overlay101/struct_ov101_021D5D90_decl.h"
typedef int (* UnkFuncPtr_02071330)(UnkStruct_ov101_021D5D90 *, void *);
#endif // POKEPLATINUM_FUNCPTR_02071330_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_02071330_1_H
#define POKEPLATINUM_FUNCPTR_02071330_1_H
#include "overlay101/struct_ov101_021D5D90_decl.h"
typedef void (* UnkFuncPtr_02071330_1)(UnkStruct_ov101_021D5D90 *, void *);
#endif // POKEPLATINUM_FUNCPTR_02071330_1_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_02071330_2_H
#define POKEPLATINUM_FUNCPTR_02071330_2_H
#include "overlay101/struct_ov101_021D5D90_decl.h"
typedef void (* UnkFuncPtr_02071330_2)(UnkStruct_ov101_021D5D90 *, void *);
#endif // POKEPLATINUM_FUNCPTR_02071330_2_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_02071330_3_H
#define POKEPLATINUM_FUNCPTR_02071330_3_H
#include "overlay101/struct_ov101_021D5D90_decl.h"
typedef void (* UnkFuncPtr_02071330_3)(UnkStruct_ov101_021D5D90 *, void *);
#endif // POKEPLATINUM_FUNCPTR_02071330_3_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_02071330_4_H
#define POKEPLATINUM_FUNCPTR_02071330_4_H
#include "overlay101/struct_ov101_021D5D90_decl.h"
typedef void (* UnkFuncPtr_02071330_4)(UnkStruct_ov101_021D5D90 *, void *);
#endif // POKEPLATINUM_FUNCPTR_02071330_4_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_02071330_5_H
#define POKEPLATINUM_FUNCPTR_02071330_5_H
#include "overlay101/struct_ov101_021D5D90_decl.h"
typedef void (* UnkFuncPtr_02071330_5)(UnkStruct_ov101_021D5D90 *, void *);
#endif // POKEPLATINUM_FUNCPTR_02071330_5_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_0207E634_H
#define POKEPLATINUM_FUNCPTR_0207E634_H
#include "struct_defs/struct_0207F248.h"
typedef void (* UnkFuncPtr_0207E634)(UnkStruct_0207F248 *, int *);
#endif // POKEPLATINUM_FUNCPTR_0207E634_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_0207F248_H
#define POKEPLATINUM_FUNCPTR_0207F248_H
typedef int (* UnkFuncPtr_0207F248)(void *);
#endif // POKEPLATINUM_FUNCPTR_0207F248_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_02084808_H
#define POKEPLATINUM_FUNCPTR_02084808_H
#include "struct_decls/struct_02070950_decl.h"
typedef int (* UnkFuncPtr_02084808)(const UnkStruct_02070950 *);
#endif // POKEPLATINUM_FUNCPTR_02084808_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_0209B988_H
#define POKEPLATINUM_FUNCPTR_0209B988_H
typedef void (* UnkFuncPtr_0209B988)(void *);
#endif // POKEPLATINUM_FUNCPTR_0209B988_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_020E5894_H
#define POKEPLATINUM_FUNCPTR_020E5894_H
typedef int (* UnkFuncPtr_020E5894)(void);
#endif // POKEPLATINUM_FUNCPTR_020E5894_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_020E5894_1_H
#define POKEPLATINUM_FUNCPTR_020E5894_1_H
typedef void (* UnkFuncPtr_020E5894_1)(void *);
#endif // POKEPLATINUM_FUNCPTR_020E5894_1_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_020EC560_H
#define POKEPLATINUM_FUNCPTR_020EC560_H
#include "struct_decls/struct_020508D4_decl.h"
typedef BOOL (* UnkFuncPtr_020EC560)(UnkStruct_020508D4 *);
#endif // POKEPLATINUM_FUNCPTR_020EC560_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_020EC57C_H
#define POKEPLATINUM_FUNCPTR_020EC57C_H
#include "struct_decls/struct_0203CDB0_decl.h"
typedef void (* UnkFuncPtr_020EC57C)(UnkStruct_0203CDB0 *);
#endif // POKEPLATINUM_FUNCPTR_020EC57C_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_020EDF0C_H
#define POKEPLATINUM_FUNCPTR_020EDF0C_H
#include "struct_decls/struct_02061AB4_decl.h"
typedef void (* UnkFuncPtr_020EDF0C)(UnkStruct_02061AB4 *);
#endif // POKEPLATINUM_FUNCPTR_020EDF0C_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_020EDF0C_1_H
#define POKEPLATINUM_FUNCPTR_020EDF0C_1_H
#include "struct_decls/struct_02061AB4_decl.h"
typedef void (* UnkFuncPtr_020EDF0C_1)(UnkStruct_02061AB4 *);
#endif // POKEPLATINUM_FUNCPTR_020EDF0C_1_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_020EDF0C_2_H
#define POKEPLATINUM_FUNCPTR_020EDF0C_2_H
#include "struct_decls/struct_02061AB4_decl.h"
typedef void (* UnkFuncPtr_020EDF0C_2)(UnkStruct_02061AB4 *);
#endif // POKEPLATINUM_FUNCPTR_020EDF0C_2_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_020EDF0C_3_H
#define POKEPLATINUM_FUNCPTR_020EDF0C_3_H
#include "struct_decls/struct_02061AB4_decl.h"
typedef void (* UnkFuncPtr_020EDF0C_3)(UnkStruct_02061AB4 *);
#endif // POKEPLATINUM_FUNCPTR_020EDF0C_3_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_020EF718_H
#define POKEPLATINUM_FUNCPTR_020EF718_H
#include "struct_decls/struct_0203CDB0_decl.h"
typedef void (* UnkFuncPtr_020EF718)(UnkStruct_0203CDB0 *);
#endif // POKEPLATINUM_FUNCPTR_020EF718_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_020EF744_H
#define POKEPLATINUM_FUNCPTR_020EF744_H
#include "struct_decls/struct_0203CDB0_decl.h"
typedef void (* UnkFuncPtr_020EF744)(UnkStruct_0203CDB0 *);
#endif // POKEPLATINUM_FUNCPTR_020EF744_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_FUNCPTR_020EF770_H
#define POKEPLATINUM_FUNCPTR_020EF770_H
#include "struct_decls/struct_0203CDB0_decl.h"
typedef BOOL (* UnkFuncPtr_020EF770)(UnkStruct_0203CDB0 *, const int, const int, const fx32, BOOL *);
#endif // POKEPLATINUM_FUNCPTR_020EF770_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_020F8E60_H
#define POKEPLATINUM_FUNCPTR_020F8E60_H
typedef void (* UnkFuncPtr_020F8E60)(int, int, void *, void *);
#endif // POKEPLATINUM_FUNCPTR_020F8E60_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_STRUCT_0207F248_1_H
#define POKEPLATINUM_STRUCT_0207F248_1_H
typedef int (* UnkStruct_0207F248_1)(void *);
#endif // POKEPLATINUM_STRUCT_0207F248_1_H

281
include/inlines.h Normal file
View File

@ -0,0 +1,281 @@
#ifndef POKEPLATINUM_INLINES_H
#define POKEPLATINUM_INLINES_H
#include <nitro/rtc.h>
#include "struct_decls/struct_02006C24_decl.h"
#include "struct_decls/struct_0201CD38_decl.h"
#include "struct_decls/struct_0203A790_decl.h"
#include "struct_decls/struct_020507E4_decl.h"
#include "struct_decls/struct_0203E724_decl.h"
#include "struct_defs/struct_0203CDB0.h"
#include "struct_defs/struct_0203E724_t.h"
#include "struct_defs/struct_02049FA8.h"
#include "overlay061/struct_ov61_0222C3B0.h"
#include "assert.h"
#include "unk_02002F38.h"
#include "unk_02006E3C.h"
#include "unk_0200D9E8.h"
#include "unk_02017E74.h"
#include "unk_0201D15C.h"
#include "unk_0203A024.h"
#include "unk_0203A6DC.h"
#include "unk_0203E724.h"
#include "unk_0203E880.h"
#include "unk_0206A8DC.h"
static inline void inline_ov61_0222C3B0_sub_1(UnkStruct_ov61_0222C3B0 *);
static inline void inline_ov61_0222C3B0_sub(UnkStruct_0201CD38 *, void *);
static inline void inline_ov61_0222C3B0 (UnkStruct_ov61_0222C3B0 * param0, UnkStruct_02006C24 * param1, int param2, int param3)
{
NNSG2dPaletteData * v0;
void * v1;
MI_CpuClear8(param0, sizeof(UnkStruct_ov61_0222C3B0));
v1 = sub_020071EC(param1, param2, &v0, param3);
MI_CpuCopy16(&((u16 *)(v0->pRawData))[0 * 16], param0->unk_08, 4 * 0x20);
MI_CpuCopy16(&((u16 *)(v0->pRawData))[0 * 16], param0->unk_88, 4 * 0x20);
sub_020181C4(v1);
inline_ov61_0222C3B0_sub_1(param0);
param0->unk_04 = 1;
param0->unk_00 = sub_0200DA04(inline_ov61_0222C3B0_sub, param0, 20);
}
static inline void inline_ov61_0222C160 (UnkStruct_ov61_0222C3B0 * param0)
{
if (param0->unk_00 != NULL) {
sub_0200DA58(param0->unk_00);
param0->unk_00 = NULL;
param0->unk_04 = 0;
}
}
static inline void inline_ov61_0222C0F8 (UnkStruct_ov61_0222C3B0 * param0)
{
return;
}
static inline void inline_ov61_0222C1FC (UnkStruct_ov61_0222C3B0 * param0)
{
return;
}
static inline void inline_ov96_0223BDEC (UnkStruct_ov61_0222C3B0 * param0, BOOL param1)
{
param0->unk_04 = param1;
}
static inline void inline_ov61_0222C3B0_sub_1 (UnkStruct_ov61_0222C3B0 * param0)
{
int v0, v1, v2, v3, v4, v5;
v1 = 0;
for (v0 = 0; v0 < 4 - 1; v0++) {
v2 = v0 + 1;
v3 = 0;
v5 = 0;
do {
GF_ASSERT(v1 < (((16 << 8) / 0x300 + 2) * (4 - 1)));
for (v4 = 1; v4 < 1 + 15; v4++) {
sub_0200393C(&param0->unk_08[v0][v4], &param0->unk_88[v1][v4], 1, v3 >> 8, param0->unk_08[v2][v4]);
}
v1++;
if (v5 == 1) {
break;
}
v3 += 0x300;
if (v3 >= (16 << 8)) {
v3 = (16 << 8);
v5 = 1;
}
} while (1);
}
DC_FlushRange(param0->unk_88, (((16 << 8) / 0x300 + 2) * (4 - 1)) * 16 * sizeof(u16));
}
static inline void inline_ov61_0222C3B0_sub (UnkStruct_0201CD38 * param0, void * param1)
{
UnkStruct_ov61_0222C3B0 * v0 = param1;
if (v0->unk_04 == 0) {
return;
}
v0->unk_32B ^= 1;
if (v0->unk_32B & 1) {
return;
}
GX_LoadBGPltt((const void *)v0->unk_88[v0->unk_328], 0 * 0x20, 1 * 0x20);
GXS_LoadBGPltt((const void *)v0->unk_88[v0->unk_328], 0 * 0x20, 1 * 0x20);
if (v0->unk_32A == 0) {
v0->unk_328++;
if (v0->unk_328 >= (((16 << 8) / 0x300 + 2) * (4 - 1))) {
v0->unk_328 = (((16 << 8) / 0x300 + 2) * (4 - 1)) - 2;
v0->unk_32A ^= 1;
}
} else {
v0->unk_328--;
if (v0->unk_328 < 0) {
v0->unk_328 = 1;
v0->unk_32A ^= 1;
}
}
}
static inline void inline_ov47_0225621C_sub (UnkStruct_0203CDB0 * param0, int * param1, int * param2)
{
UnkStruct_0203A790 * v0 = sub_0203A790(param0->unk_0C);
UnkStruct_02049FA8 * v1 = sub_0203A72C(v0);
if (sub_0203A24C(param0->unk_1C->unk_00)) {
*param1 = param0->unk_1C->unk_08;
*param2 = param0->unk_1C->unk_0C;
} else {
*param1 = v1->unk_08;
*param2 = v1->unk_0C;
}
}
static inline void inline_ov47_0225621C (UnkStruct_0203CDB0 * param0, int * param1, int * param2)
{
inline_ov47_0225621C_sub(param0, param1, param2);
*param1 /= 32;
*param2 /= 32;
}
static inline void inline_02049FA8 (UnkStruct_02049FA8 * param0, int param1, int param2, int param3, int param4, int param5)
{
param0->unk_00 = param1;
param0->unk_04 = param2;
param0->unk_08 = param3;
param0->unk_0C = param4;
param0->unk_10 = param5;
}
static inline u16 * inline_0204FCAC (UnkStruct_0203E724 * param0)
{
return sub_0203F118(param0->unk_34, sub_0203E838(param0));
}
static inline u16 inline_02049538 (UnkStruct_0203E724 * param0)
{
return sub_0203F150(param0->unk_34, sub_0203E838(param0));
}
static inline void inline_0204E650 (UnkStruct_020507E4 * param0)
{
sub_0206AEAC(param0, 1);
}
static inline void inline_0204E650_1 (UnkStruct_020507E4 * param0)
{
sub_0206AEAC(param0, 0);
}
static inline BOOL inline_0204E650_2 (UnkStruct_020507E4 * param0)
{
return sub_0206AEAC(param0, 2);
}
static inline void inline_02044528 (UnkStruct_020507E4 * param0)
{
sub_0206AF2C(param0, 1);
}
static inline BOOL inline_020535E8 (UnkStruct_020507E4 * param0)
{
return sub_0206AF2C(param0, 2);
}
static inline void inline_0203A8E8 (UnkStruct_020507E4 * param0, u32 param1)
{
sub_0206AF3C(param0, 1, param1);
}
static inline BOOL inline_0208BE68 (UnkStruct_020507E4 * param0, u32 param1)
{
return sub_0206AF3C(param0, 2, param1);
}
inline u16 inline_020564D0 (const u16 param0)
{
GF_ASSERT(param0 != 0);
if (param0 <= 1) {
return 0;
} else {
u16 v0;
u16 v1;
v0 = (0xffff / param0) + 1;
v1 = sub_0201D2E8() / v0;
GF_ASSERT((v1 < param0));
return v1;
}
}
static inline u32 inline_0202D4B0_sub1 (u32 param0, u32 param1, u32 param2, int param3)
{
return (param0 << 24) | ((param1 & 0xff) << 16) | ((param2 & 0xff) << 8) | param3;
}
static inline u32 inline_0202D4B0 (RTCDate * param0)
{
return inline_0202D4B0_sub1(param0->year, param0->month, param0->day, param0->week);
}
static inline u8 inline_0202D558_sub1 (u32 param0)
{
return param0 >> 24;
}
static inline u8 inline_0202D558_sub2 (u32 param0)
{
return (param0 >> 16) & 0xff;
}
static inline u8 inline_0202D558_sub3 (u32 param0)
{
return (param0 >> 8) & 0xff;
}
static inline u8 inline_0202D558_sub4 (u32 param0)
{
return param0 & 0xff;
}
static inline void inline_0202D558 (u32 param0, RTCDate * param1)
{
param1->year = inline_0202D558_sub1(param0);
param1->month = inline_0202D558_sub2(param0);
param1->day = inline_0202D558_sub3(param0);
param1->week = inline_0202D558_sub4(param0);
}
static inline BOOL inline_0203A944 (u32 param0)
{
if (((param0 % 4 == 0) && (param0 % 100 != 0)) || (param0 % 400 == 0)) {
return 1;
} else {
return 0;
}
}
static inline BOOL inline_ov12_02235998 (int param0, int param1)
{
if ((param0 & param1) == param1) {
return 1;
}
return 0;
}
#endif // POKEPLATINUM_INLINES_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_OV4_021D1104_H
#define POKEPLATINUM_FUNCPTR_OV4_021D1104_H
typedef void (* UnkFuncPtr_ov4_021D1104) (u16, u16 *, u16);
#endif // POKEPLATINUM_FUNCPTR_OV4_021D1104_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_OV4_021D1120_H
#define POKEPLATINUM_FUNCPTR_OV4_021D1120_H
typedef void (* UnkFuncPtr_ov4_021D1120) (u16, void *);
#endif // POKEPLATINUM_FUNCPTR_OV4_021D1120_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_OV4_021D113C_H
#define POKEPLATINUM_FUNCPTR_OV4_021D113C_H
typedef BOOL (* UnkFuncPtr_ov4_021D113C) (int);
#endif // POKEPLATINUM_FUNCPTR_OV4_021D113C_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_FUNCPTR_OV4_021D1150_H
#define POKEPLATINUM_FUNCPTR_OV4_021D1150_H
typedef void (* UnkFuncPtr_ov4_021D1150) (u16, void *);
#endif // POKEPLATINUM_FUNCPTR_OV4_021D1150_H

View File

@ -0,0 +1,55 @@
#ifndef POKEPLATINUM_OV4_021D0D80_H
#define POKEPLATINUM_OV4_021D0D80_H
#include "struct_decls/struct_021C0794_decl.h"
#include "overlay004/funcptr_ov4_021D1104.h"
#include "overlay004/funcptr_ov4_021D1120.h"
#include "overlay004/funcptr_ov4_021D113C.h"
#include "overlay004/funcptr_ov4_021D1150.h"
#include <dwc.h>
int ov4_021D0D80(UnkStruct_021C0794 * param0, int param1, int param2, int param3);
void ov4_021D0F68();
int ov4_021D0FEC();
void ov4_021D1104(UnkFuncPtr_ov4_021D1104 param0, UnkFuncPtr_ov4_021D1104 param1);
void ov4_021D1120(UnkFuncPtr_ov4_021D1120 param0, void * param1);
void ov4_021D113C(UnkFuncPtr_ov4_021D113C param0);
void ov4_021D1150(UnkFuncPtr_ov4_021D1150 param0, void * param1);
int ov4_021D116C(u8 * param0, int param1, BOOL param2, u32 param3);
int ov4_021D12D4(int param0);
BOOL ov4_021D1404();
int ov4_021D142C(void * param0, int param1);
int ov4_021D14D4(void * param0, int param1);
int ov4_021D1590(void * param0, int param1);
void * ov4_021D1AA0(DWCAllocType param0, u32 param1, int param2);
void ov4_021D1B04(DWCAllocType param0, void * param1, u32 param2);
int ov4_021D1B5C(void);
int ov4_021D1E30();
void ov4_021D1E74(int param0);
void ov4_021D1F18(void);
int ov4_021D1F3C(int param0, int param1);
int ov4_021D20B0(int param0);
int ov4_021D2134();
void ov4_021D2170(void (* func)(int));
void ov4_021D2184(void);
void ov4_021D2198(void * param0, int param1);
BOOL ov4_021D222C(const void * param0, int param1);
u8 ov4_021D2234(int param0);
int ov4_021D2248(int param0, int param1, BOOL param2);
int ov4_021D2388();
void ov4_021D24D8();
BOOL ov4_021D2544(void);
BOOL ov4_021D254C(void);
int ov4_021D2568(void);
void ov4_021D2584(BOOL param0);
void ov4_021D2598(BOOL param0);
int ov4_021D25C0(void);
void ov4_021D25FC(void);
int ov4_021D2610(void);
void ov4_021D2618(BOOL param0, int param1);
void ov4_021D26EC(BOOL param0);
u8 ov4_021D27E0(void);
void ov4_021D27F4(void);
#endif // POKEPLATINUM_OV4_021D0D80_H

View File

@ -0,0 +1,15 @@
#ifndef POKEPLATINUM_OV4_021D2808_H
#define POKEPLATINUM_OV4_021D2808_H
void ov4_021D2B28();
BOOL ov4_021D2C70(int param0, void * param1, int param2);
void ov4_021D2CC0(int param0, int param1, int param2);
void ov4_021D2EA4();
void ov4_021D2EF4(void (* func)());
void ov4_021D2F08(void);
BOOL ov4_021D2F7C(void);
void ov4_021D2FA4();
void ov4_021D2FB8();
BOOL ov4_021D2FCC(int param0, int param1);
#endif // POKEPLATINUM_OV4_021D2808_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_OV5_021F89B0_H
#define POKEPLATINUM_CONST_OV5_021F89B0_H
#include "struct_defs/struct_0208BE5C.h"
extern const UnkStruct_0208BE5C Unk_ov5_021F89B0;
#endif // POKEPLATINUM_CONST_OV5_021F89B0_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_CONST_OV5_021FAF40_H
#define POKEPLATINUM_CONST_OV5_021FAF40_H
extern const int Unk_ov5_021FAF40[];
#endif // POKEPLATINUM_CONST_OV5_021FAF40_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_CONST_OV5_021FAF48_H
#define POKEPLATINUM_CONST_OV5_021FAF48_H
extern const int Unk_ov5_021FAF48[];
#endif // POKEPLATINUM_CONST_OV5_021FAF48_H

View File

@ -0,0 +1,6 @@
#ifndef POKEPLATINUM_CONST_OV5_021FAF50_H
#define POKEPLATINUM_CONST_OV5_021FAF50_H
extern const int Unk_ov5_021FAF50[];
#endif // POKEPLATINUM_CONST_OV5_021FAF50_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_OV5_021FB470_H
#define POKEPLATINUM_CONST_OV5_021FB470_H
#include "overlay005/struct_ov5_021FB0F0.h"
extern const UnkStruct_ov5_021FB0F0 Unk_ov5_021FB470;
#endif // POKEPLATINUM_CONST_OV5_021FB470_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_OV5_021FB484_H
#define POKEPLATINUM_CONST_OV5_021FB484_H
#include "overlay005/struct_ov5_021ED2D0.h"
extern const UnkStruct_ov5_021ED2D0 Unk_ov5_021FB484[];
#endif // POKEPLATINUM_CONST_OV5_021FB484_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_OV5_021FB51C_H
#define POKEPLATINUM_CONST_OV5_021FB51C_H
#include "overlay005/struct_ov5_021EC700.h"
extern const UnkStruct_ov5_021EC700 Unk_ov5_021FB51C[];
#endif // POKEPLATINUM_CONST_OV5_021FB51C_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_OV5_021FB5BC_H
#define POKEPLATINUM_CONST_OV5_021FB5BC_H
#include "overlay005/struct_ov5_021ED2D0.h"
extern const UnkStruct_ov5_021ED2D0 Unk_ov5_021FB5BC[];
#endif // POKEPLATINUM_CONST_OV5_021FB5BC_H

View File

@ -0,0 +1,8 @@
#ifndef POKEPLATINUM_CONST_OV5_021FB67C_H
#define POKEPLATINUM_CONST_OV5_021FB67C_H
#include "overlay005/struct_ov5_021FB67C.h"
extern const UnkStruct_ov5_021FB67C Unk_ov5_021FB67C[];
#endif // POKEPLATINUM_CONST_OV5_021FB67C_H

Some files were not shown because too many files have changed in this diff Show More