mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-30 07:44:34 -04:00
Decompile menuInitItemScrollable
This commit is contained in:
@@ -9637,14 +9637,11 @@ glabel menuTickItemScrollable
|
||||
/* f0ed510: 24020001 */ addiu $v0,$zero,0x1
|
||||
);
|
||||
|
||||
GLOBAL_ASM(
|
||||
glabel menuInitItemScrollable
|
||||
/* f0ed514: 240effff */ addiu $t6,$zero,-1
|
||||
/* f0ed518: 240ffff6 */ addiu $t7,$zero,-10
|
||||
/* f0ed51c: a48e0006 */ sh $t6,0x6($a0)
|
||||
/* f0ed520: 03e00008 */ jr $ra
|
||||
/* f0ed524: a48f0000 */ sh $t7,0x0($a0)
|
||||
);
|
||||
void menuInitItemScrollable(union menuitemtickdata *data)
|
||||
{
|
||||
data->scrollable.unk06 = -1;
|
||||
data->scrollable.unk00 = -10;
|
||||
}
|
||||
|
||||
GLOBAL_ASM(
|
||||
glabel menuRenderItemMarquee
|
||||
|
||||
@@ -3261,6 +3261,13 @@ struct menuitemtickdata_ranking {
|
||||
u16 unk00;
|
||||
};
|
||||
|
||||
struct menuitemtickdata_scrollable {
|
||||
s16 unk00;
|
||||
u16 unk02;
|
||||
u16 unk04;
|
||||
s16 unk06;
|
||||
};
|
||||
|
||||
struct menuitemtickdata_slider {
|
||||
u16 unk00;
|
||||
};
|
||||
@@ -3268,6 +3275,7 @@ struct menuitemtickdata_slider {
|
||||
union menuitemtickdata {
|
||||
struct menuitemtickdata_marquee marquee;
|
||||
struct menuitemtickdata_ranking ranking;
|
||||
struct menuitemtickdata_scrollable scrollable;
|
||||
struct menuitemtickdata_slider slider;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user