Attempt to decompile menuRenderItemCheckbox

This commit is contained in:
Ryan Dwyer
2020-09-21 22:18:49 +10:00
parent 54a353de89
commit ce085a5efd
7 changed files with 185 additions and 66 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ u32 func0f0e2ee8(void);
Gfx *renderFilledRect(Gfx *gdl, s32 x1, s32 y1, s32 x2, s32 y2, u32 colourleft, u32 colourright);
Gfx *menuRenderCarouselArrow(Gfx *gdl, s32 x, s32 y, u32 arg3, u32 arg4, s32 arg5, u32 colour);
u32 func0f0e3324(void);
u32 func0f0e37b0(void);
Gfx *renderCheckbox(Gfx *gdl, s32 x, s32 y, s32 size, s32 checked, s32 bordercolour, s32 fillcolour);
u32 func0f0e39d0(void);
Gfx *func0f0e4190(Gfx *gdl);
void func0f0e4fd4(void);
+1 -1
View File
@@ -30,7 +30,7 @@ u32 func0f0ebec8(void);
void func0f0ec220(u16 *arg0);
Gfx *menuRenderItemCarousel(Gfx *gdl, struct menurenderthing *thing);
u32 func0f0ec4e4(void);
Gfx *menuRenderItemCheckbox(Gfx *gdl);
Gfx *menuRenderItemCheckbox(Gfx *gdl, struct menurenderthing *thing);
u32 func0f0ecbfc(void);
char *menuItemScrollableGetText(u32 type);
Gfx *menuRenderItemScrollable(Gfx *gdl, struct menurenderthing *thing);
+1 -1
View File
@@ -28,7 +28,7 @@ u32 func0f0f1ef4(void);
void func0f0f2134(struct menudialog *dialog, struct menuframe *frame, struct menu *menu);
void func0f0f2354(struct menurenderthing10 *thing10, struct menuitem *item, u32 *arg2, u32 *arg3);
bool func0f0f2534(struct menuitem *item);
bool func0f0f2588(struct menuitem *item, struct menurenderthing10 *arg1);
bool menuIsItemDisabled(struct menuitem *item, struct menurenderthing10 *arg1);
bool func0f0f2674(struct menuitem *item, struct menurenderthing10 *thing10, u32 arg2);
u32 func0f0f26fc(void);
struct menuitem *func0f0f288c(struct menuframe *frame);
+7 -7
View File
@@ -6795,9 +6795,9 @@ struct menurenderthing10 {
/*0x30*/ u32 unk30;
/*0x34*/ u32 unk34;
/*0x38*/ u32 unk38;
/*0x3c*/ u8 colour1index;
/*0x3c*/ u8 colour2index;
/*0x40*/ f32 unk40;
/*0x3c*/ u8 type; // dialog type
/*0x3c*/ u8 type2; // used when transitioning
/*0x40*/ f32 transitiontimer; // >= 0 means transitioning from one dialog type to another
/*0x44*/ u32 colourweight;
};
@@ -6823,10 +6823,10 @@ struct menucolourpalette {
/*0x0c*/ u32 unk0c;
/*0x10*/ u32 unk10;
/*0x14*/ u32 unk14;
/*0x18*/ u32 unk18;
/*0x1c*/ u32 unk1c;
/*0x20*/ u32 unk20;
/*0x24*/ u32 unk24;
/*0x18*/ u32 unfocused;
/*0x1c*/ u32 disabled;
/*0x20*/ u32 focused;
/*0x24*/ u32 checkedunfocused;
/*0x28*/ u32 unk28;
/*0x2c*/ u32 unk2c;
/*0x30*/ u32 unk30;