77#include "3FB0.h"
88#include "5580.h"
99#include "util.h"
10- #include "src/gb_tower.h"
1110#include "src/fragments/1/fragment1.h"
1211
13- struct UnkStruct800AA664 {
14- /* 0x0000 */ OSThread thread ;
15- char padding1B0 [0x2030 ];
16- };
17-
18- extern UnkStruct800AA660 * D_800AA660 ;
19- extern struct UnkStruct800AA664 * D_800AA664 ;
12+ extern unk_D_800AA660 * D_800AA660 ;
13+ extern unk_D_800AA664 * D_800AA664 ;
2014extern char D_800AA668 ;
2115
2216extern u8 D_81200000 [];
2317
24- void func_8000D5C0 (void * unused ) {
18+ void func_8000D5C0 (UNUSED void * arg0 ) {
2519 void (* func )(void * ) = Util_ConvertAddrToVirtAddr (& func_81206F38 );
2620
2721 __osSetFpcCsr (0x01000C01 );
@@ -37,15 +31,15 @@ void func_8000D5C0(void* unused) {
3731 }
3832}
3933
40- void func_8000D678 (void * unused ) {
34+ void func_8000D678 (UNUSED void * arg0 ) {
4135 void (* func1 )(void * func ) = Util_ConvertAddrToVirtAddr (& func_81206D9C );
4236 void (* func2 )(void * func ) = Util_ConvertAddrToVirtAddr (& func_81206E64 );
4337
4438 __osSetFpcCsr (0x01000C01 );
4539 func_80004CC0 (D_800AA660 , 0 , 1 );
4640 func_80005328 (D_800AA660 );
4741 func1 (D_800AA660 );
48- osStartThread (D_800AA664 );
42+ osStartThread (& D_800AA664 -> thread );
4943
5044 while (1 ) {
5145 func_80004CF4 (D_800AA660 );
@@ -66,8 +60,8 @@ void func_8000D738(UnkInputStruct8000D738* arg0) {
6660 FRAGMENT_LOAD (fragment1 );
6761 temp_v0 = ASSET_LOAD2 (fonts , 1 , 1 );
6862
69- D_800AA660 -> unk_21FC = func_8000484C (temp_v0 , 0 );
70- D_800AA660 -> unk_2200 = func_8000484C (temp_v0 , 1 );
63+ D_800AA660 -> font1 = func_8000484C (temp_v0 , 0 );
64+ D_800AA660 -> font2 = func_8000484C (temp_v0 , 1 );
7165 D_800AA660 -> unk_2204 = * arg0 ;
7266 osCreateMesgQueue (& D_800AA660 -> queue2 , & D_800AA660 -> mesg , 1 );
7367 osCreateThread (& D_800AA664 -> thread , 10 , func_8000D5C0 , NULL , (u32 )D_800AA664 + 0x21E0 , 0x11 );
0 commit comments