Decompile menuInitItemDropdown

This commit is contained in:
Ryan Dwyer
2020-09-25 00:07:26 +10:00
parent a12c1ace54
commit 312f92294c
4 changed files with 55 additions and 76 deletions
+2
View File
@@ -1098,8 +1098,10 @@
#define MENUOP_GETTEXT 17
#define MENUOP_SETTEXT 18
#define MENUOP_19 19
#define MENUOP_20 20
#define MENUOP_GETCOLOUR 22
#define MENUOP_CHECKHIDDEN 24
#define MENUOP_25 25
#define MENUOP_OPEN 100
#define MENUOP_CLOSE 101
#define MENUOP_TICK 102
+2 -2
View File
@@ -4,12 +4,12 @@
#include "types.h"
u32 func0f0e5d2c(void);
u32 func0f0e5ef8(void);
s32 func0f0e5ef8(s16 arg0, struct menuitem *item);
u32 func0f0e6038(void);
Gfx *func0f0e6298(Gfx *gdl, s16 x, s16 y, s16 x2, s16 y2);
Gfx *menuRenderItemCustom(Gfx *gdl);
bool menuTickItemCustom(struct menuitem *item, void *arg1, u32 arg2, union menuitemtickdata *data);
void func0f0e7998(struct menuitem *item, union menuitemtickdata *data);
void menuInitItemDropdown(struct menuitem *item, union menuitemtickdata *data);
Gfx *menuRenderItemDropdown(Gfx *gdl);
bool menuTickItemDropdown(struct menuitem *item, void *arg1, void *arg2, u32 arg3, union menuitemtickdata *data);
Gfx *func0f0e8290(Gfx *gdl, s16 x, s16 y, s16 x2, s16 y2, struct menuitem *item, u32 arg6, u32 arg7);
+7 -3
View File
@@ -3259,9 +3259,12 @@ struct menuitemtickdata_controller {
};
struct menuitemtickdata_dropdown {
u32 unk00;
u32 unk04;
u32 unk08;
u16 unk00;
u16 unk02;
s16 unk04;
u16 unk06;
u16 unk08;
u16 unk0a;
u16 unk0c;
};
@@ -3323,6 +3326,7 @@ struct handlerdata_custom {
struct handlerdata_dropdown {
u32 value;
u32 unk04;
};
struct handlerdata_keyboard {