@@ -968,4 +968,61 @@ struct ground_bg {
968968};
969969ASSERT_SIZE (struct ground_bg , 1372 );
970970
971+ struct link_shop {
972+ int8_t window_id_0x0 ;
973+ int8_t portrait_window_id ; // 0x1
974+ int8_t window_id_0x2 ;
975+ int8_t window_id_0x3 ;
976+ int8_t window_id_0x4 ;
977+ int8_t window_id_0x5 ;
978+ int8_t window_id_0x6 ;
979+ int8_t window_id_0x7 ;
980+ int8_t window_id_0x8 ;
981+ int8_t scroll_box_window_id ; // 0x9
982+ int8_t window_id_0xa ;
983+ int8_t window_id_0xb ;
984+ int8_t window_id_0xc ;
985+ int8_t window_id_0xd ;
986+ int8_t window_id_0xe ;
987+ int8_t window_id_0xf ;
988+ bool unk_0x10 ;
989+ undefined padding_0x11 [3 ];
990+ struct preprocessor_args preprocessor_args ; // 0x14
991+ struct portrait_params portrait_params ; // 0x64
992+ undefined4
993+ unk_0x74 ; // Potentially also some state value; used in a switch in LinkShopMainManager.
994+ uint32_t state ; // 0x78: Current state of the link shop menu; used in a switch in
995+ // LinkShopMainManager. Could be an enum.
996+ undefined4
997+ unk_0x7c ; // Potentially also some state value; used in a switch in LinkShopMainManager.
998+ uint32_t next_state ; // 0x80: Next value for state.
999+ undefined4 unk_0x84 ;
1000+ undefined4 unk_0x88 ;
1001+ undefined2 unk_0x8c ;
1002+ undefined2 padding_0x8e ;
1003+ struct window_extra_info extra_info_1 ; // 0x90
1004+ struct window_extra_info extra_info_2 ; // 0x128
1005+ struct window_extra_info extra_info_3 ; // 0x1C0
1006+ struct window_extra_info extra_info_4 ; // 0x258
1007+ struct window_extra_info extra_info_5 ; // 0x2F0
1008+ undefined2 unk_0x388 ;
1009+ undefined2 unk_0x38a ;
1010+ int16_t member_idx ; // 0x38C: Index in TEAM_MEMBER_TABLE for the selected monster.
1011+ undefined2 padding_0x38e ;
1012+ undefined4 unk_0x390 ;
1013+ uint8_t unk_0x394 [8 ];
1014+ undefined4 unk_0x39c ;
1015+ undefined4 unk_0x3a0 ;
1016+ undefined2 unk_0x3a4 ;
1017+ undefined1 unk_0x3a6 ; // This through 0x3AD is filled with a memcpy; may be a smaller struct.
1018+ undefined1 unk_0x3a7 ; // Could not find direct use of this; may be padding.
1019+ undefined2 unk_0x3a8 ;
1020+ undefined2 unk_0x3aa ;
1021+ undefined1 unk_0x3ac ;
1022+ undefined1 unk_0x3ad ;
1023+ char name [10 ]; // 0x3AE: Name of the selected monster.
1024+ undefined unk_0x3b8 [12 ]; // Could not find direct use of this, probably not padding though.
1025+ };
1026+ ASSERT_SIZE (struct link_shop , 964 );
1027+
9711028#endif
0 commit comments