diff --git a/linker_scripts/us/symbol_addrs.txt b/linker_scripts/us/symbol_addrs.txt index 328fe69..4510d49 100644 --- a/linker_scripts/us/symbol_addrs.txt +++ b/linker_scripts/us/symbol_addrs.txt @@ -316,7 +316,6 @@ pad_D_879060B4 = 0x879060B4; // size:0x8 D_879060E0 = 0x879060E0; // size:0xC D_87906100 = 0x87906100; // size:0xC D_87906110 = 0x87906110; // size:0xC -D_8140E628 = 0x8140E628; // size:0x90 D_400C800 = 0x400C800; D_400CA00 = 0x400CA00; D_400CC00 = 0x400CC00; @@ -1079,4 +1078,330 @@ D_3007010 = 0x3007010; D_3007310 = 0x3007310; D_3007610 = 0x3007610; D_843901B0 = 0x843901B0; // size:0x40 -D_84385B54 = 0x84385B54; // type:asciz \ No newline at end of file +D_84385B54 = 0x84385B54; // type:asciz +D_8438682C = 0x8438682C; // type:u8 +D_84386844 = 0x84386844; // type:u8 +D_84386848 = 0x84386848; // type:u8 +D_8438684C = 0x8438684C; // type:u8 +D_84386850 = 0x84386850; // type:u8 +D_84386854 = 0x84386854; // type:u8 +D_84386858 = 0x84386858; // type:u8 +D_8438685C = 0x8438685C; // type:u8 +D_84386860 = 0x84386860; // type:u8 +D_84386868 = 0x84386868; // type:u8 +D_8438686C = 0x8438686C; // type:u8 +D_84386870 = 0x84386870; // type:u8 +D_84386874 = 0x84386874; // type:u8 +D_84386878 = 0x84386878; // type:u8 +D_8438687C = 0x8438687C; // type:u8 +D_84386880 = 0x84386880; // type:u8 +D_84386884 = 0x84386884; // type:u8 +D_8438688C = 0x8438688C; // type:u8 +D_84386894 = 0x84386894; // type:u8 +D_84386898 = 0x84386898; // type:u8 +D_8438689C = 0x8438689C; // type:u8 +D_843868A0 = 0x843868A0; // type:u8 +D_843868A4 = 0x843868A4; // type:u8 +D_843868A8 = 0x843868A8; // type:u8 +D_843868AC = 0x843868AC; // type:u8 +D_843868B0 = 0x843868B0; // type:u8 +D_843868B4 = 0x843868B4; // type:u8 +D_843868B8 = 0x843868B8; // type:u8 +D_843868BC = 0x843868BC; // type:u8 +D_843868C0 = 0x843868C0; // type:u8 +D_843868C8 = 0x843868C8; // type:u8 +D_843868CC = 0x843868CC; // type:u8 +D_843868D0 = 0x843868D0; // type:u8 +D_843868D4 = 0x843868D4; // type:u8 +D_843868D8 = 0x843868D8; // type:u8 +D_843868DC = 0x843868DC; // type:u8 +D_843868E0 = 0x843868E0; // type:u8 +D_843868E4 = 0x843868E4; // type:u8 +D_843868E8 = 0x843868E8; // type:u8 +D_843868EC = 0x843868EC; // type:u8 +D_843868F4 = 0x843868F4; // type:u8 +D_843868F8 = 0x843868F8; // type:u8 +D_843868FC = 0x843868FC; // type:u8 +D_84386900 = 0x84386900; // type:u8 +D_84386904 = 0x84386904; // type:u8 +D_84386908 = 0x84386908; // type:u8 +D_8438690C = 0x8438690C; // type:u8 +D_84386910 = 0x84386910; // type:u8 +D_84386914 = 0x84386914; // type:u8 +D_84386918 = 0x84386918; // type:u8 +D_84386920 = 0x84386920; // type:u8 +D_84386924 = 0x84386924; // type:u8 +D_84386928 = 0x84386928; // type:u8 +D_8438692C = 0x8438692C; // type:u8 +D_84386930 = 0x84386930; // type:u8 +D_84386934 = 0x84386934; // type:u8 +D_84386938 = 0x84386938; // type:u8 +D_8438693C = 0x8438693C; // type:u8 +D_84386940 = 0x84386940; // type:u8 +D_84386944 = 0x84386944; // type:u8 +D_84386948 = 0x84386948; // type:u8 +D_8438694C = 0x8438694C; // type:u8 +D_84386950 = 0x84386950; // type:u8 +D_84386954 = 0x84386954; // type:u8 +D_84386958 = 0x84386958; // type:u8 +D_8438695C = 0x8438695C; // type:u8 +D_84386960 = 0x84386960; // type:u8 +D_84386964 = 0x84386964; // type:u8 +D_84386968 = 0x84386968; // type:u8 +D_84386970 = 0x84386970; // type:u8 +D_84386974 = 0x84386974; // type:u8 +D_84386978 = 0x84386978; // type:u8 +D_8438697C = 0x8438697C; // type:u8 +D_84386980 = 0x84386980; // type:u8 +D_84386988 = 0x84386988; // type:u8 +D_8438698C = 0x8438698C; // type:u8 +D_84386990 = 0x84386990; // type:u8 +D_84386994 = 0x84386994; // type:u8 +D_8438699C = 0x8438699C; // type:u8 +D_843869A0 = 0x843869A0; // type:u8 +D_843869A8 = 0x843869A8; // type:u8 +D_843869AC = 0x843869AC; // type:u8 +D_843869B0 = 0x843869B0; // type:u8 +D_843869B4 = 0x843869B4; // type:u8 +D_843869B8 = 0x843869B8; // type:u8 +D_843869BC = 0x843869BC; // type:u8 +D_843869C0 = 0x843869C0; // type:u8 +D_843869C4 = 0x843869C4; // type:u8 +D_843869C8 = 0x843869C8; // type:u8 +D_843869D0 = 0x843869D0; // type:u8 +D_843869D4 = 0x843869D4; // type:u8 +D_843869D8 = 0x843869D8; // type:u8 +D_843869DC = 0x843869DC; // type:u8 +D_843869E0 = 0x843869E0; // type:u8 +D_843869E8 = 0x843869E8; // type:u8 +D_843869EC = 0x843869EC; // type:u8 +D_843869F0 = 0x843869F0; // type:u8 +D_843869F8 = 0x843869F8; // type:u8 +D_843869FC = 0x843869FC; // type:u8 +D_84386A00 = 0x84386A00; // type:u8 +D_84386A04 = 0x84386A04; // type:u8 +D_84386A08 = 0x84386A08; // type:u8 +D_84386A0C = 0x84386A0C; // type:u8 +D_84386A10 = 0x84386A10; // type:u8 +D_84386A14 = 0x84386A14; // type:u8 +D_84386A18 = 0x84386A18; // type:u8 +D_84386A1C = 0x84386A1C; // type:u8 +D_84386A20 = 0x84386A20; // type:u8 +D_84386A24 = 0x84386A24; // type:u8 +D_84386A28 = 0x84386A28; // type:u8 +D_84386A2C = 0x84386A2C; // type:u8 +D_84386A30 = 0x84386A30; // type:u8 +D_84386A38 = 0x84386A38; // type:u8 +D_84386A3C = 0x84386A3C; // type:u8 +D_84386A40 = 0x84386A40; // type:u8 +D_84386A44 = 0x84386A44; // type:u8 +D_84386A48 = 0x84386A48; // type:u8 +D_84386A4C = 0x84386A4C; // type:u8 +D_84386A50 = 0x84386A50; // type:u8 +D_84386A5C = 0x84386A5C; // type:u8 +D_84386A60 = 0x84386A60; // type:u8 +D_84386A64 = 0x84386A64; // type:u8 +D_84386A68 = 0x84386A68; // type:u8 +D_84386A6C = 0x84386A6C; // type:u8 +D_84386A70 = 0x84386A70; // type:u8 +D_84386A74 = 0x84386A74; // type:u8 +D_84386A78 = 0x84386A78; // type:u8 +D_84386A7C = 0x84386A7C; // type:u8 +D_84386A80 = 0x84386A80; // type:u8 +D_84386A84 = 0x84386A84; // type:u8 +D_84386A88 = 0x84386A88; // type:u8 +D_84386A8C = 0x84386A8C; // type:u8 +D_84386A90 = 0x84386A90; // type:u8 +D_84386A94 = 0x84386A94; // type:u8 +D_84386A98 = 0x84386A98; // type:u8 +D_84386A9C = 0x84386A9C; // type:u8 +D_84386AA0 = 0x84386AA0; // type:u8 +D_84386AA4 = 0x84386AA4; // type:u8 +D_84386AA8 = 0x84386AA8; // type:u8 +D_84386AAC = 0x84386AAC; // type:u8 +D_84386AB0 = 0x84386AB0; // type:u8 +D_84386AB4 = 0x84386AB4; // type:u8 +D_84386AB8 = 0x84386AB8; // type:u8 +D_84386ABC = 0x84386ABC; // type:u8 +D_84386AC0 = 0x84386AC0; // type:u8 +D_84386AC4 = 0x84386AC4; // type:u8 +D_84386AC8 = 0x84386AC8; // type:u8 +D_84386ACC = 0x84386ACC; // type:u8 +D_84386AD0 = 0x84386AD0; // type:u8 +D_84386AD4 = 0x84386AD4; // type:u8 +D_84386AD8 = 0x84386AD8; // type:u8 +D_84386ADC = 0x84386ADC; // type:u8 +D_84386AE0 = 0x84386AE0; // type:u8 +D_84386AE4 = 0x84386AE4; // type:u8 +D_84386AE8 = 0x84386AE8; // type:u8 +D_84386AEC = 0x84386AEC; // type:u8 +D_84386AF0 = 0x84386AF0; // type:u8 +D_84386AF4 = 0x84386AF4; // type:u8 +D_84386AF8 = 0x84386AF8; // type:u8 +D_84386AFC = 0x84386AFC; // type:u8 +D_84386B00 = 0x84386B00; // type:u8 +D_84386B04 = 0x84386B04; // type:u8 +D_84386B08 = 0x84386B08; // type:u8 +D_84386B0C = 0x84386B0C; // type:u8 +D_84386B10 = 0x84386B10; // type:u8 +D_84386B14 = 0x84386B14; // type:u8 +D_84386B18 = 0x84386B18; // type:u8 +D_84386B1C = 0x84386B1C; // type:u8 +D_84386B20 = 0x84386B20; // type:u8 +D_84386B24 = 0x84386B24; // type:u8 +D_84386B28 = 0x84386B28; // type:u8 +D_84386B2C = 0x84386B2C; // type:u8 +D_84386B30 = 0x84386B30; // type:u8 +D_84386B34 = 0x84386B34; // type:u8 +D_84386B38 = 0x84386B38; // type:u8 +D_84386B3C = 0x84386B3C; // type:u8 +D_84386B40 = 0x84386B40; // type:u8 +D_84386B44 = 0x84386B44; // type:u8 +D_84386B48 = 0x84386B48; // type:u8 +D_84386B4C = 0x84386B4C; // type:u8 +D_84386B50 = 0x84386B50; // type:u8 +D_84386B54 = 0x84386B54; // type:u8 +D_84386B58 = 0x84386B58; // type:u8 +D_84386B5C = 0x84386B5C; // type:u8 +D_84386B60 = 0x84386B60; // type:u8 +D_84386B64 = 0x84386B64; // type:u8 +D_84386B68 = 0x84386B68; // type:u8 +D_84386B6C = 0x84386B6C; // type:u8 +D_84386B70 = 0x84386B70; // type:u8 +D_84386B74 = 0x84386B74; // type:u8 +D_84386B78 = 0x84386B78; // type:u8 +D_84386B7C = 0x84386B7C; // type:u8 +D_84386B80 = 0x84386B80; // type:u8 +D_84386B84 = 0x84386B84; // type:u8 +D_84386B88 = 0x84386B88; // type:u8 +D_84386B8C = 0x84386B8C; // type:u8 +D_84386B90 = 0x84386B90; // type:u8 +D_84386B94 = 0x84386B94; // type:u8 +D_84386B98 = 0x84386B98; // type:u8 +D_84386B9C = 0x84386B9C; // type:u8 +D_84386BA0 = 0x84386BA0; // type:u8 +D_84386BA4 = 0x84386BA4; // type:u8 +D_84386BA8 = 0x84386BA8; // type:u8 +D_84386BAC = 0x84386BAC; // type:u8 +D_84386BB0 = 0x84386BB0; // type:u8 +D_84386BB4 = 0x84386BB4; // type:u8 +D_84386BB8 = 0x84386BB8; // type:u8 +D_84386BBC = 0x84386BBC; // type:u8 +D_84386BC4 = 0x84386BC4; // type:u8 +D_84386BC8 = 0x84386BC8; // type:u8 +D_84386BD0 = 0x84386BD0; // type:u8 +D_84386BD4 = 0x84386BD4; // type:u8 +D_84386BD8 = 0x84386BD8; // type:u8 +D_84386BE0 = 0x84386BE0; // type:u8 +D_84386BE4 = 0x84386BE4; // type:u8 +D_84386BE8 = 0x84386BE8; // type:u8 +D_84386BEC = 0x84386BEC; // type:u8 +D_84386BF0 = 0x84386BF0; // type:u8 +D_84386C00 = 0x84386C00; // type:u8 +D_84386C04 = 0x84386C04; // type:u8 +D_84386C08 = 0x84386C08; // type:u8 +D_84386C0C = 0x84386C0C; // type:u8 +D_84386C10 = 0x84386C10; // type:u8 +D_84386C14 = 0x84386C14; // type:u8 +D_84386C18 = 0x84386C18; // type:u8 +D_84386C1C = 0x84386C1C; // type:u8 +D_84386C20 = 0x84386C20; // type:u8 +D_84386C24 = 0x84386C24; // type:u8 +D_84386C28 = 0x84386C28; // type:u8 +D_84386C34 = 0x84386C34; // type:u8 +D_84386C38 = 0x84386C38; // type:u8 +D_84386C3C = 0x84386C3C; // type:u8 +D_84386C40 = 0x84386C40; // type:u8 +D_84386C44 = 0x84386C44; // type:u8 +D_84386C48 = 0x84386C48; // type:u8 +D_84386C4C = 0x84386C4C; // type:u8 +D_84386C50 = 0x84386C50; // type:u8 +D_84386C54 = 0x84386C54; // type:u8 +D_84386C58 = 0x84386C58; // type:u8 +D_84386C5C = 0x84386C5C; // type:u8 +D_84386C64 = 0x84386C64; // type:u8 +D_84386C68 = 0x84386C68; // type:u8 +D_84386C6C = 0x84386C6C; // type:u8 +D_84386C70 = 0x84386C70; // type:u8 +D_84386C78 = 0x84386C78; // type:u8 +D_84386C7C = 0x84386C7C; // type:u8 +D_84386C80 = 0x84386C80; // type:u8 +D_84386C84 = 0x84386C84; // type:u8 +D_84386C88 = 0x84386C88; // type:u8 +D_84386C8C = 0x84386C8C; // type:u8 +D_84386C90 = 0x84386C90; // type:u8 +D_84386C94 = 0x84386C94; // type:u8 +D_84386C98 = 0x84386C98; // type:u8 +D_84386C9C = 0x84386C9C; // type:u8 +D_84386CA0 = 0x84386CA0; // type:u8 +D_84386CA4 = 0x84386CA4; // type:u8 +D_84386CA8 = 0x84386CA8; // type:u8 +D_84386CAC = 0x84386CAC; // type:u8 +D_84386CB0 = 0x84386CB0; // type:u8 +D_84386CB4 = 0x84386CB4; // type:u8 +D_84386CB8 = 0x84386CB8; // type:u8 +D_84386CBC = 0x84386CBC; // type:u8 +D_84386CC0 = 0x84386CC0; // type:u8 +D_84386CC8 = 0x84386CC8; // type:u8 +D_84386CCC = 0x84386CCC; // type:u8 +D_84386CD0 = 0x84386CD0; // type:u8 +D_84386CD4 = 0x84386CD4; // type:u8 +D_84386CD8 = 0x84386CD8; // type:u8 +D_84386CDC = 0x84386CDC; // type:u8 +D_84386CE0 = 0x84386CE0; // type:u8 +D_84386CE4 = 0x84386CE4; // type:u8 +D_84386CE8 = 0x84386CE8; // type:u8 +D_84386CEC = 0x84386CEC; // type:u8 +D_84386CF0 = 0x84386CF0; // type:u8 +D_84386CF4 = 0x84386CF4; // type:u8 +D_84386CF8 = 0x84386CF8; // type:u8 +D_84386CFC = 0x84386CFC; // type:u8 +D_84386D00 = 0x84386D00; // type:u8 +D_84386D04 = 0x84386D04; // type:u8 +D_84386D08 = 0x84386D08; // type:u8 +D_84386D0C = 0x84386D0C; // type:u8 +D_84386D10 = 0x84386D10; // type:u8 +D_84386D14 = 0x84386D14; // type:u8 +D_84386D18 = 0x84386D18; // type:u8 +D_84386D1C = 0x84386D1C; // type:u8 +D_84386D24 = 0x84386D24; // type:u8 +D_84386D2C = 0x84386D2C; // type:u8 +D_84386D30 = 0x84386D30; // type:u8 +D_84386D34 = 0x84386D34; // type:u8 +D_84386D38 = 0x84386D38; // type:u8 +D_84386D3C = 0x84386D3C; // type:u8 +D_84386D40 = 0x84386D40; // type:u8 +D_8140E628 = 0x8140E628; // size:0x8C +D_8140E720 = 0x8140E720; // size:0x4 +D_8140E724 = 0x8140E724; // size:0x4 +D_8140E728 = 0x8140E728; // size:0x4 +D_8140E72C = 0x8140E72C; // size:0x4 +D_84385E40 = 0x84385E40; // size:0x390 +D_843861D0 = 0x843861D0; // size:0x2B0 +D_8439037A = 0x8439037A; // size:0x2 +D_8439037C = 0x8439037C; // size:0x2 +D_8439037E = 0x8439037E; // size:0x2 +D_84390380 = 0x84390380; // size:0x2 +D_84390382 = 0x84390382; // size:0x2 +D_84390384 = 0x84390384; // size:0x2 +D_84390386 = 0x84390386; // size:0x2 +D_84390388 = 0x84390388; // size:0x2 +D_8439038A = 0x8439038A; // size:0x2 +D_8439038C = 0x8439038C; // size:0x2 +D_8439038E = 0x8439038E; // size:0x2 +D_84390390 = 0x84390390; // size:0x2 +D_84390392 = 0x84390392; // size:0x2 +D_84390394 = 0x84390394; // size:0x2 +D_84390396 = 0x84390396; // size:0x2 +D_84390398 = 0x84390398; // size:0x2 +D_8439039A = 0x8439039A; // size:0x2 +D_8439039C = 0x8439039C; // size:0x2 +D_8439039E = 0x8439039E; // size:0x2 +D_843903A0 = 0x843903A0; // size:0x2 +func_8432F998 = 0x8432F998; // type:func +func_843378CC = 0x843378CC; // type:func +func_8432F9A0 = 0x8432F9A0; // type:func +D_843920C0 = 0x843920C0; // size:0x400 +func_8433765C = 0x8433765C; // type:func +func_84337664 = 0x84337664; // type:func +func_843593C8 = 0x843593C8; // type:func \ No newline at end of file diff --git a/linker_scripts/us/symbol_addrs_code.txt b/linker_scripts/us/symbol_addrs_code.txt index 85921d1..a1a6fa2 100644 --- a/linker_scripts/us/symbol_addrs_code.txt +++ b/linker_scripts/us/symbol_addrs_code.txt @@ -7080,7 +7080,7 @@ func_84359348 = 0x84359348; // type:func func_84359380 = 0x84359380; // type:func func_843593B0 = 0x843593B0; // type:func func_843593B8 = 0x843593B8; // type:func -func_843593C0 = 0x843593C0; // type:func +func_843593C0 = 0x843593C0; // type:func size:0x8 func_843593D0 = 0x843593D0; // type:func func_843593F0 = 0x843593F0; // type:func func_84359410 = 0x84359410; // type:func diff --git a/src/19840.h b/src/19840.h index 67a617d..b2601bb 100644 --- a/src/19840.h +++ b/src/19840.h @@ -5,11 +5,7 @@ #include "src/3FB0.h" #include "src/F420.h" #include "src/1C720.h" - -typedef struct arg1_func_80019420 { - /* 0x00 */ s8 unk_00; - /* 0x04 */ void* unk_04; -} arg1_func_80019420; // size = 0x8 +#include "src/29BA0.h" typedef struct unk_func_80019600 { /* 0x00 */ s16 unk_00; diff --git a/src/29BA0.h b/src/29BA0.h index dc061db..e951142 100644 --- a/src/29BA0.h +++ b/src/29BA0.h @@ -6,6 +6,12 @@ #include "src/controller.h" #include "PR/leo.h" +typedef struct arg1_func_80019420 { + /* 0x00 */ s8 unk_00; + /* 0x02 */ s16 unk_02; + /* 0x04 */ void* unk_04; +} arg1_func_80019420; // size = 0x8 + typedef struct unk_D_800AE520 { /* 0x00 */ s16 unk_00; /* 0x02 */ s16 fragment_id; @@ -92,7 +98,7 @@ typedef struct unk_D_800AE540_1194 { /* 0x1D */ u8 unk_1D; /* 0x1E */ u8 unk_1E; /* 0x20 */ s32 unk_20; - /* 0x24 */ char unk24[0x4]; + /* 0x24 */ arg1_func_80019420* unk_24; } unk_D_800AE540_1194; // size = 0x28 typedef struct unk_D_800AE540 { diff --git a/src/3D140.c b/src/3D140.c index febbac8..3ec18b5 100644 --- a/src/3D140.c +++ b/src/3D140.c @@ -930,10 +930,10 @@ void func_8003DB84(s32 arg0) { } } - if (D_800FCB18[0]->unk_1C != D_800FCB18[1]->unk_1C) { - if (D_800FCB18[0]->unk_1C != D_800FCB18[1]->unk_1D) { - if ((D_800FCB18[0]->unk_1D != D_800FCB18[1]->unk_1C) && - (D_800FCB18[0]->unk_1D != D_800FCB18[1]->unk_1D)) { + if (D_800FCB18[0]->unk_16[6] != D_800FCB18[1]->unk_16[6]) { + if (D_800FCB18[0]->unk_16[6] != D_800FCB18[1]->unk_16[7]) { + if ((D_800FCB18[0]->unk_16[7] != D_800FCB18[1]->unk_16[6]) && + (D_800FCB18[0]->unk_16[7] != D_800FCB18[1]->unk_16[7])) { D_800FCCB0 = 0; func_800420C0(D_80077E18); return; diff --git a/src/3D140.h b/src/3D140.h index f463e19..b20e1c8 100644 --- a/src/3D140.h +++ b/src/3D140.h @@ -3,18 +3,44 @@ #include "global.h" +typedef struct unk_D_800FCB18_044 { + /* 0x00 */ u8 unk_00; + /* 0x01 */ char unk01[0x5]; +} unk_D_800FCB18_044; // size = 0x6 + typedef struct unk_D_800FCB18 { - /* 0x00 */ char pad00[0xC]; + /* 0x00 */ char unk00[0xB]; + /* 0x0B */ u8 unk_0B; /* 0x0C */ u16 unk_0C; - /* 0x0E */ char pad0E[0x7]; + /* 0x0E */ u16 unk_0E; + /* 0x10 */ u16 unk_10; + /* 0x12 */ u16 unk_12; + /* 0x14 */ char unk14[0x1]; /* 0x15 */ u8 unk_15; - /* 0x16 */ char pad16[0x6]; - /* 0x1C */ u8 unk_1C; - /* 0x1D */ u8 unk_1D; - /* 0x1E */ char pad1E[0x8]; + /* 0x16 */ u8 unk_16[9]; + /* 0x1F */ u8 unk_1F[4]; + /* 0x23 */ char unk23[0x3]; /* 0x26 */ u8 unk_26; /* 0x28 */ u16 unk_28; -} unk_D_800FCB18; // size >= 0x2C + /* 0x2A */ char unk2A[0x8]; + /* 0x32 */ u8 unk_32[4]; + /* 0x36 */ char unk36[0xE]; + /* 0x44 */ unk_D_800FCB18_044 unk_44; + /* 0x4A */ char unk4A[0x2]; + /* 0x4C */ u8 unk_4C; + /* 0x4D */ u8 unk_4D; + /* 0x4E */ u8 unk_4E; + /* 0x4F */ u8 unk_4F; + /* 0x50 */ char unk50[0x2]; + /* 0x52 */ u8 unk_52; + /* 0x53 */ char unk53[0x3]; + /* 0x56 */ u8 unk_56; + /* 0x57 */ char unk57[0x1]; + /* 0x58 */ u8 unk_58; + /* 0x59 */ char unk59[0x1]; + /* 0x5A */ u8 unk_5A; + /* 0x5B */ char unk5B[0x9]; +} unk_D_800FCB18; // size = 0x64 typedef struct amConfig { /* 0x00 */ u32 outputRate; @@ -42,12 +68,16 @@ void func_8003D32C(void); s32 func_8003D494(void); s32 func_8003D4A0(s32); void func_8003D68C(s32); +void func_8003D6B0(u8, u8, u8, u8); +void func_8003D828(u8, u8, u8, u8); void func_8003D918(u32 arg0, u32 arg1); void func_8003DB84(s32 arg0); +void func_8003EB40(s32, unk_D_800FCB18*); void func_8003F1AC(s32); void func_8003F4C0(s32); void func_8003F624(u32 arg0); void func_8003F660(s32); +void func_80040A70(unk_D_800FCB18* arg0, s32 arg1, s32 arg2, s32 arg3); void func_800414B8(s32); void func_8004153C(void); void func_80041688(void); diff --git a/src/4BDC0.h b/src/4BDC0.h index a33efe6..5dba1ef 100644 --- a/src/4BDC0.h +++ b/src/4BDC0.h @@ -5,6 +5,7 @@ void func_8004B9C4(s32); s32 func_8004B1CC(s32); +void func_8004BA88(s32, s32); s32 func_8004BC84(s32, u32); u32 func_8004BFB0(void); diff --git a/src/fragments/3/fragment3_119FB0.c b/src/fragments/3/fragment3_119FB0.c index e9ff221..84e9f2e 100644 --- a/src/fragments/3/fragment3_119FB0.c +++ b/src/fragments/3/fragment3_119FB0.c @@ -5,12 +5,12 @@ #include "src/12D80.h" void func_87901620(void) { - D_8140E720 = main_pool_alloc(0xF870, 0); - bzero(D_8140E720, 0xF870); + D_8140E720 = main_pool_alloc(sizeof(unk_D_8140E720) * 300, 0); + bzero(D_8140E720, sizeof(unk_D_8140E720) * 300); D_8140E72C = 0; - D_8140E728 = main_pool_alloc(0x1800, 0); - bzero(D_8140E728, 0x1800); + D_8140E728 = main_pool_alloc(sizeof(unk_D_8140E728) * 128, 0); + bzero(D_8140E728, sizeof(unk_D_8140E728) * 128); D_8140E734 = 0; } diff --git a/src/fragments/34/fragment34.h b/src/fragments/34/fragment34.h index eb8d1e5..ffa749c 100644 --- a/src/fragments/34/fragment34.h +++ b/src/fragments/34/fragment34.h @@ -3,6 +3,9 @@ #include "global.h" +struct unk_D_8140E720; +struct unk_D_8140E728_01C_004_1; + typedef void (*func_unk_D_8140E720_008)(struct unk_D_8140E720*); typedef void (*func_unk_D_8140E720_00C)(struct unk_D_8140E720*, unk_D_86002F34_00C*); typedef void (*unk_D_8140E728_01C_004_1_04)(struct unk_D_8140E720*, s32, struct unk_D_8140E728_01C_004_1*); @@ -24,7 +27,7 @@ typedef struct unk_D_8140E728_01C_004_1 { /* 0x04 */ unk_D_8140E728_01C_004_1_04 unk_04; /* 0x08 */ unk_D_8140E728_01C_004_1_08 unk_08; /* 0x0C */ unk_D_8140E728_01C_00C unk_0C; -} unk_D_8140E728_01C_004_1; // size >= 0x10 +} unk_D_8140E728_01C_004_1; // size = 0x10 typedef union unk_D_8140E728_01C_004 { unk_D_8140E728_01C_004_1* a; @@ -34,7 +37,7 @@ typedef union unk_D_8140E728_01C_004 { typedef struct unk_D_8140E728_01C { /* 0x00 */ s32 unk_00; /* unk_04: 1 = a, 3 = func */ /* 0x04 */ unk_D_8140E728_01C_004 unk_04; -} unk_D_8140E728_01C; // size = 0x10 +} unk_D_8140E728_01C; // size = 0x08 typedef struct unk_D_8140E728 { /* 0x00 */ f32 unk_00; @@ -60,7 +63,9 @@ typedef struct unk_D_8140E720_014 { /* 0x1E */ Vec3s unk_1E; /* 0x24 */ Vec3f unk_24; /* 0x30 */ Vec3f unk_30; -} unk_D_8140E720_014; // size >= 0x3C + /* 0x3C */ char unk3C[0xC]; + /* 0x48 */ s32 unk_48; +} unk_D_8140E720_014; // size >= 0x4C typedef struct unk_D_8140E720 { /* 0x00 */ struct unk_D_8140E720* next; @@ -119,6 +124,28 @@ typedef struct unk_D_8140E720 { /* 0xD0 */ s8 unk_D0; } unk_D_8140E720; // size = 0xD4 +typedef struct unk_D_8140E724_004 { + /* 0x00 */ char unk00[0x10]; +} unk_D_8140E724_004; // size >= 0x10 + +typedef struct unk_D_8140E724 { + /* 0x00 */ char unk00[0x4]; + /* 0x04 */ unk_D_8140E724_004* unk_04; + /* 0x08 */ char unk08[0x4]; + /* 0x0C */ s16 unk_0C; + /* 0x0E */ s16 unk_0E; + /* 0x10 */ s16 unk_10; + /* 0x12 */ s16 unk_12; + /* 0x14 */ u8 unk_14; + /* 0x15 */ u8 unk_15; + /* 0x16 */ u8 unk_16; + /* 0x17 */ u8 unk_17; + /* 0x18 */ u8 unk_18; + /* 0x19 */ u8 unk_19; + /* 0x1A */ u8 unk_1A; + /* 0x1B */ u8 unk_1B; +} unk_D_8140E724; // size = 0x1C + typedef struct arg1_func_8140213C { /* 0x00 */ char unk00[0x64]; /* 0x64 */ MtxF unk_64; @@ -132,7 +159,7 @@ typedef struct arg1_func_87903D64_014 { /* 0x10 */ unk_D_86002F34_000_014_010* unk_10; /* 0x14 */ unk_D_86002F34_000_014_010* unk_14; /* 0x18 */ unk_D_86002F34_000_014_010* unk_18; -} arg1_func_87903D64_014; +} arg1_func_87903D64_014; // size = 0x1C // Possibly unk_D_86002F34_alt7, unk_D_86002F34_alt8, // unk_D_86002F34_alt9 or unk_D_86002F34_alt2 @@ -217,10 +244,24 @@ typedef struct arg1_func_81407874 { /* 0x00 */ arg1_func_81407874_014* unk_14; } arg1_func_81407874; // size >= 0x18 +typedef struct unk_D_8140E634_010 { + /* 0x00 */ MtxF unk_00; + /* 0x40 */ Vec3f unk_40; + /* 0x4C */ Vec3f unk_4C; + /* 0x58 */ Vec3f unk_58; + /* 0x64 */ Vec3f unk_64; + /* 0x70 */ s16 unk_70; + /* 0x72 */ s16 unk_72; + /* 0x74 */ char unk74[0x2]; + /* 0x76 */ s16 unk_76; + /* 0x78 */ s16 unk_78; +} unk_D_8140E634_010; // size = 0x7C + typedef struct unk_D_8140E634 { /* 0x00 */ Vec3f unk_00; - /* 0x0C */ char unk0C[0x84]; -} unk_D_8140E634; // size = 0x90 + /* 0x0C */ unk_D_86002F34_00C* unk_0C; + /* 0x10 */ unk_D_8140E634_010 unk_10; +} unk_D_8140E634; // size = 0x8C extern Gfx D_8140DAE0[]; extern Gfx D_8140DB30[]; @@ -267,6 +308,7 @@ extern MtxF* D_8140E620; extern s32 D_8140E624; extern s32 D_8140E624; extern unk_D_8140E634 D_8140E628; +extern unk_D_8140E634_010* D_8140E6B4; extern u32 D_8140E6B8; extern s32 D_8140E6BC; extern s32 D_8140E6C0; @@ -293,6 +335,7 @@ extern s32 D_8140E710; extern unk_D_8140E720* D_8140E720; extern unk_D_8140E728* D_8140E728; extern s32 D_8140E72C; +extern s32 D_8140E730; extern s32 D_8140E734; void func_81400020(s32* arg0, s32 arg1); @@ -769,6 +812,58 @@ void func_8140C5BC(UNUSED unk_D_8140E720* arg0, UNUSED unk_D_86002F34_00C* arg1) void func_8140C5D0(void); void func_8140C734(void); -void func_8140D5A0(unk_D_8140E720*, u16); + +void func_8140C760(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140C78C(unk_D_8140E720* arg0, u8* texture); +void func_8140C7C0(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140C7EC(unk_D_8140E720* arg0, u8* texture); +void func_8140C820(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140C84C(unk_D_8140E720* arg0, u8* texture); +void func_8140C880(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140C8B8(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140C8F4(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140C930(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140C96C(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140C9B0(unk_D_8140E720* arg0, u8* texture); +void func_8140C9EC(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140CA30(unk_D_8140E720* arg0, u8* texture); +void func_8140CA64(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140CA90(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140CAC8(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140CB04(unk_D_8140E720* arg0, u8* texture); +void func_8140CB38(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140CB64(UNUSED unk_D_8140E720* arg0, u8* texture); +void func_8140CB90(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_8140CC04(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +s32 func_8140CC90(unk_D_8140E720* arg0, UNUSED arg1_func_8140213C* arg1); +void func_8140CD80(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_8140CDDC(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_8140CE68(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_8140CED4(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_8140CF30(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_8140CFBC(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_8140D050(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_8140D0E4(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_8140D170(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_8140D1FC(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_8140D288(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +s32 func_8140D314(unk_D_8140E720* arg0, UNUSED arg1_func_8140213C* arg1); +void func_8140D404(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_8140D4A8(u8* arg0, u16 arg1); +void func_8140D4E0(u8* arg0, u8* arg1, u16 arg2); +void func_8140D530(unk_D_8140E720* arg0, u16 arg1); +void func_8140D568(unk_D_8140E720* arg0, u16 arg1); +void func_8140D5A0(unk_D_8140E720* arg0, u16 arg1); +void func_8140D5F0(unk_D_8140E720* arg0, s16 arg1); +void func_8140D624(unk_D_8140E720* arg0, s16 arg1); +void func_8140D658(unk_D_8140E720* arg0, s16 arg1); +void func_8140D68C(unk_D_8140E720* arg0, s16 arg1); +void func_8140D6C0(unk_D_8140E720* arg0, s16 arg1); +void func_8140D708(unk_D_8140E720* arg0, s16 arg1); +void func_8140D750(unk_D_8140E720* arg0); +void func_8140D78C(unk_D_8140E720* arg0); +s32 func_8140D7C8(unk_D_8140E720* arg0, u16 arg1, u8 arg2); +s32 func_8140D868(unk_D_8140E720* arg0, u16 arg1, u8 arg2); +s32 func_8140D908(unk_D_8140E720* arg0, u16 arg1, u8 arg2); #endif // _FRAGMENT34_H_ diff --git a/src/fragments/34/fragment34_261F90.c b/src/fragments/34/fragment34_261F90.c index e3a2002..70be07e 100644 --- a/src/fragments/34/fragment34_261F90.c +++ b/src/fragments/34/fragment34_261F90.c @@ -7,6 +7,7 @@ MtxF* D_8140E620; s32 D_8140E624; s32 D_8140E624; unk_D_8140E634 D_8140E628; +unk_D_8140E634_010* D_8140E6B4; u32 D_8140E6B8; s32 D_8140E6BC; s32 D_8140E6C0; @@ -32,9 +33,10 @@ s32 D_8140E70C; s32 D_8140E710; s32 pad_D_8140E714[2]; unk_D_8140E720* D_8140E720; -s32 pad_D_8140E724; +unk_D_8140E724* D_8140E724; unk_D_8140E728* D_8140E728; s32 D_8140E72C; +s32 D_8140E730; s32 D_8140E734; void func_81400020(s32* arg0, s32 arg1) { diff --git a/src/fragments/62/fragment62.h b/src/fragments/62/fragment62.h index 5d61a81..1d7d829 100644 --- a/src/fragments/62/fragment62.h +++ b/src/fragments/62/fragment62.h @@ -3,48 +3,13 @@ #include "global.h" #include "src/29BA0.h" +#include "src/3D140.h" #include "src/6BC0.h" #include "src/stage_loader.h" #include "src/fragments/17/fragment17.h" +#include "src/fragments/34/fragment34.h" -typedef struct unk_D_84390010_654_038_044 { - /* 0x00 */ u8 unk_00; - /* 0x01 */ char unk01[0x5]; -} unk_D_84390010_654_038_044; // size = 0x6 - -typedef struct unk_D_84390010_654_038 { - /* 0x00 */ char unk00[0xB]; - /* 0x0B */ u8 unk_0B; - /* 0x0C */ u16 unk_0C; - /* 0x0E */ u16 unk_0E; - /* 0x10 */ u16 unk_10; - /* 0x12 */ u16 unk_12; - /* 0x14 */ char unk14[0x1]; - /* 0x15 */ u8 unk_15; - /* 0x16 */ u8 unk_16[9]; - /* 0x1F */ u8 unk_1F[4]; - /* 0x23 */ char unk23[0x3]; - /* 0x26 */ u8 unk_26; - /* 0x28 */ u16 unk_28; - /* 0x2A */ char unk2A[0x8]; - /* 0x32 */ u8 unk_32[4]; - /* 0x36 */ char unk36[0xE]; - /* 0x44 */ unk_D_84390010_654_038_044 unk_44; - /* 0x4A */ char unk4A[0x2]; - /* 0x4C */ u8 unk_4C; - /* 0x4D */ u8 unk_4D; - /* 0x4E */ u8 unk_4E; - /* 0x4F */ u8 unk_4F; - /* 0x50 */ char unk50[0x2]; - /* 0x52 */ u8 unk_52; - /* 0x53 */ char unk53[0x3]; - /* 0x56 */ u8 unk_56; - /* 0x57 */ char unk57[0x1]; - /* 0x58 */ u8 unk_58; - /* 0x59 */ char unk59[0x1]; - /* 0x5A */ u8 unk_5A; - /* 0x5B */ char unk5B[0x9]; -} unk_D_84390010_654_038; // size = 0x64 +typedef s32 (*func_D_84388CA8)(void); typedef struct unk_D_84390010_654_09C { /* 0x00 */ char unk00[0x10]; @@ -84,7 +49,7 @@ typedef struct unk_D_84390010_654 { /* 0x32 */ char unk32[0x2]; /* 0x34 */ u16 unk_34; /* 0x36 */ u16 unk_36; - /* 0x38 */ unk_D_84390010_654_038 unk_38; + /* 0x38 */ unk_D_800FCB18 unk_38; /* 0x9C */ unk_D_84390010_654_09C unk_9C; /* 0xAC */ unk_D_84390010_654_0AC unk_AC; /* 0xBC */ s16 unk_BC; @@ -231,7 +196,9 @@ typedef struct unk_D_8438E7B0 { /* 0xB00 */ unk_D_8438E7B0_A50 unk_B00; /* 0xB10 */ unk_D_8438E7B0_A50 unk_B10; /* 0xB20 */ unk_D_8438E7B0_A50 unk_B20; - /* 0xB30 */ char unkB30[0xB0]; + /* 0xB30 */ char unkB30[0x51]; + /* 0xB81 */ u8 unk_B81; + /* 0xB82 */ char unkB82[0x5E]; } unk_D_8438E7B0; // size = 0xBE0 typedef struct unk_D_84390240_000 { @@ -429,7 +396,6 @@ extern u8 D_843845F0; extern u8 D_843845F4; extern u8 D_843845F8; extern u8 D_843845FC[]; - extern s16 D_84384670[]; extern unk_D_843847BC D_843847BC[2]; extern unk_D_86B0C160 D_843847EC[3]; @@ -447,7 +413,13 @@ extern unk_D_84385384 D_84385384[]; extern Vec3f D_84385B90; extern Vec3f D_84385B9C; extern u32 D_84385BC0[]; - +extern unk_D_8140E728_01C D_843861D0[]; +extern func_D_84388CA8 D_84388280[]; +extern func_D_84388CA8 D_843884D8[]; +extern func_D_84388CA8 D_84388668[]; +extern func_D_84388CA8 D_843888C0[]; +extern func_D_84388CA8 D_84388A50[]; +extern func_D_84388CA8 D_84388CA8[]; extern u8 D_843C4DA4; @@ -460,8 +432,6 @@ extern u8* D_8438E778; extern u8* D_8438E77C; - - extern unk_D_84390010* D_84390010[2]; extern unk_D_84390010* D_84390018; extern unk_D_84390010* D_8439001C; @@ -487,6 +457,43 @@ extern s32 D_84390230; extern s32 D_84390234; extern unk_D_84390240 D_84390240; extern s32 D_84390288; +extern s32 D_843902A4; +extern s32 D_843902A8; +extern s16 D_843902E2; +extern s16 D_843902E4; +extern unk_D_84390010* D_843902E8; +extern unk_D_84390010* D_843902EC; +extern unk_D_84390010* D_843902F0; +extern s32 D_843902F4; +extern s32 D_843902F8; +extern func_D_84388CA8 D_84390300[8]; +extern func_D_84388CA8 D_84390320[8]; +extern s32 D_84390340; +extern Vec3f D_84390348; +extern s16 D_8439037A; +extern s16 D_8439037C; +extern s16 D_8439037E; +extern s16 D_84390380; +extern s16 D_84390382; +extern s16 D_84390384; +extern s16 D_84390386; +extern s16 D_84390388; +extern s16 D_8439038A; +extern s16 D_8439038C; +extern s16 D_8439038E; +extern s16 D_84390390; +extern s16 D_84390392; +extern s16 D_84390394; +extern s16 D_84390396; +extern s16 D_84390398; +extern s16 D_8439039A; +extern s16 D_8439039C; +extern s16 D_8439039E; +extern s16 D_843903A0; +extern f32 D_84392058[26]; +extern unk_D_86002F58_004_000_040_004* D_843920C0[256]; +extern s16 D_843924C0[0x10]; +extern arg1_func_80019420* D_843924E0[40]; s32 func_84300020(s32 arg0, GraphNode* arg1); s32 func_84300058(s32 arg0, unk_D_86002F34_alt18* arg1); @@ -704,7 +711,7 @@ void func_84308A04(unk_D_84390010* arg0, s32 arg1); s32 func_84308A4C(unk_D_84390010* arg0); s32 func_84308BD0(unk_D_84390010* arg0); s32 func_84308D54(unk_D_84390010* arg0); -u8 func_84308D90(unk_D_84390010* arg0); +u8 func_84308D90(unk_D_800AE540_0004* arg0); s32 func_84308D98(unk_D_84390010* arg0); void func_84308DB8(unk_D_84390010* arg0, unk_D_84390010* arg1, s32 arg2, s32 arg3); void func_84308ED4(unk_D_84390010* arg0, unk_D_84390010_728* arg1, s16 arg2); @@ -1220,40 +1227,428 @@ void func_8432ADD8(unk_D_86002F34_00C* arg0); s32 func_8432AEE4(s32 arg0, unk_D_86002F34_00C* arg1); -void func_8432AF70(unk_D_84390010*); -void func_8432B0E4(unk_D_84390010*); -void func_8432B13C(unk_D_84390010*); -void func_8432B1BC(unk_D_84390010*); -void func_8432B228(unk_D_84390010*); -void func_8432B38C(unk_D_84390010*); -void func_8432B448(unk_D_84390010*); +void func_8432AF70(unk_D_84390010* arg0); +void func_8432B0A4(unk_D_84390010* arg0); +void func_8432B0E4(unk_D_84390010* arg0); +void func_8432B13C(unk_D_84390010* arg0); +void func_8432B1BC(unk_D_84390010* arg0); +void func_8432B228(unk_D_84390010* arg0); +void func_8432B38C(unk_D_84390010* arg0); +void func_8432B448(unk_D_84390010* arg0); + + void func_8432B490(void); void func_8432B4B0(void); void func_8432B4D0(void); void func_8432B4F0(void); -void func_8432B510(unk_D_84390010*, s16); -void func_8432B554(unk_D_84390010*); -void func_8432B588(unk_D_84390010*); -void func_8432B5B8(unk_D_84390010*, unk_D_84390010_654_038*, s32); +void func_8432B510(unk_D_84390010* arg0, s16 arg1); +void func_8432B554(unk_D_84390010* arg0); +void func_8432B588(unk_D_84390010* arg0); +void func_8432B5B8(unk_D_84390010* arg0, unk_D_800FCB18* arg1, s32 arg2); void func_8432B604(void); void func_8432B704(void); void func_8432B808(void); void func_8432BBC0(void); -void func_8432BF88(unk_D_84390010*, s32); -void func_8432C5D4(s32, unk_D_84390010*, unk_D_84390010*, s16, s16); -void func_8432C604(s32, unk_D_84390010*, unk_D_84390010*, s16, s16); -void func_8432C654(s32, unk_D_84390010*, unk_D_84390010*, s16, s16); -void func_8432C68C(s32, unk_D_84390010*, unk_D_84390010*, s32, s32); -void func_8432C6C4(s32, unk_D_84390010*); -void func_8432C7A0(s32, unk_D_84390010*); -void func_8432C80C(s32, unk_D_84390010*); -void func_8432C958(unk_D_800AE540_1194*, s16); -void func_8432C9C0(unk_D_800AE540_1194*, s16); -void func_8432CAA8(unk_D_800AE540_1194*); -void func_8432D0D8(s32, unk_D_86002F34_00C*); +void func_8432BF88(unk_D_84390010* arg0, s32 arg1); +void func_8432C0D0(s16 arg0); +void func_8432C14C(s16 arg0); +void func_8432C194(func_D_84388CA8 arg0, func_D_84388CA8 arg1); +void func_8432C1E0(s32 arg0, s32 arg1, s32 arg2); +void func_8432C3F8(void); +void func_8432C4CC(UNUSED unk_D_86002F34_00C* arg0); +void func_8432C504(u8 arg0); +u8 func_8432C518(void); +void func_8432C524(u8 arg0); +u8 func_8432C538(void); +s16 func_8432C544(void); +void func_8432C550(s32 arg0, unk_D_84390010* arg1, unk_D_84390010* arg2, s16 arg3, s16 arg4); +void func_8432C5D4(s32 arg0, unk_D_84390010* arg1, unk_D_84390010* arg2, s16 arg3, s16 arg4); +void func_8432C604(s32 arg0, unk_D_84390010* arg1, unk_D_84390010* arg2, s16 arg3, s16 arg4); +void func_8432C654(s32 arg0, unk_D_84390010* arg1, unk_D_84390010* arg2, s16 arg3, s16 arg4); +void func_8432C68C(s32 arg0, unk_D_84390010* arg1, unk_D_84390010* arg2, s16 arg3, s16 arg4); +void func_8432C6C4(s32 arg0, unk_D_84390010* arg1); +void func_8432C714(s32 arg0, unk_D_84390010* arg1); +void func_8432C748(s32 arg0, unk_D_84390010* arg1); +void func_8432C768(s32 arg0); +void func_8432C7A0(u8 arg0, unk_D_84390010* arg1); +void func_8432C80C(u8 arg0, unk_D_84390010* arg1); +void func_8432C830(arg1_func_80019420* arg0); +void func_8432C86C(void); +void func_8432C8BC(s16 arg0); +void func_8432C958(unk_D_800AE540_1194* arg0, s16 arg1); +void func_8432C9C0(unk_D_800AE540_1194* arg0, s16 arg1); +void func_8432CA48(void); +void func_8432CAA8(unk_D_800AE540_1194* arg0); +void func_8432CAD0(void); +s32 func_8432CB60(unk_D_86002F58_004_000* arg0); +unk_D_86002F58_004_000* func_8432CB68(s32 arg0); +void func_8432CBF8(unk_D_86002F58_004_000* arg0); +unk_D_86002F58_004_000* func_8432CC54(unk_D_8140E720* arg0); +void func_8432CD14(unk_D_86002F58_004_000* arg0); +void func_8432CD70(unk_D_86002F58_004_000* arg0, s16 arg1, s16 arg2); +void func_8432CDD8(unk_D_86002F58_004_000* arg0, s16 arg1); +void func_8432CE00(unk_D_86002F58_004_000* arg0, s16 arg1); +void func_8432CE3C(unk_D_86002F58_004_000* arg0, s16 arg1); +void func_8432CE78(unk_D_86002F58_004_000* arg0, s16 arg1); +s32 func_8432CED4(unk_D_8140E720_014* arg0); +void func_8432CEF0(UNUSED unk_D_86002F34_00C* arg0); +void func_8432CF74(UNUSED s32 arg0); +void func_8432CFCC(unk_D_86002F34_00C* arg0); +s32 func_8432D0D8(s32 arg0, unk_D_86002F34_00C* arg1); +void func_8432D150(void); +void func_8432D178(void); +void func_8432D340(Vec3f* arg0, f32 arg1); +void func_8432D398(s16* arg0, s16* arg1); +void func_8432D424(s16* arg0); +void func_8432D468(s16* arg0, s16* arg1); +void func_8432D4F4(s16* arg0); +void func_8432D538(s16* arg0, s16* arg1); +void func_8432D55C(s16* arg0); +void func_8432D570(s16* arg0, s16* arg1); +void func_8432D594(s16* arg0); + + +void func_8432D5B0(void); +void func_8432E68C(void); void func_8432E8BC(void); +void func_8432E9AC(void); +s32 func_8432E9B8(void); void func_8432E9D8(s32); +void func_8432EA60(u8, unk_D_84390010* arg1); +void func_8432EB44(void); +s32 func_8432F998(void); +s32 func_8432F9A0(void); void func_8432F9B4(void); +unk_D_86002F34_00C* func_8432FD64(void); +void func_84330170(unk_D_8140E720* arg0, arg1_func_8140213C* arg1); +void func_84330300(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84330344(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84330388(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_843304AC(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84330574(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84330688(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_8433079C(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84330934(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84330AF0(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84330B18(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84330B40(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84330C70(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84330D64(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84330E58(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84330F4C(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84331094(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_843310A0(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_843311D8(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84331314(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84331450(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_8433157C(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_843316A8(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_843317D4(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_843318F8(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84331A1C(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84331B58(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84331C34(unk_D_8140E720*, unk_D_86002F34_00C*); +void func_84331D60(unk_D_8140E720*, unk_D_86002F34_00C*); +s32 func_84336B8C(void); +s32 func_84336C80(void); +s32 func_84336DD8(void); +s32 func_84336EE8(void); +s32 func_84337000(void); +s32 func_843371C0(void); +s32 func_843372D8(void); +s32 func_843374A4(void); +s32 func_843375B0(void); +s32 func_8433765C(void); +s32 func_8433766C(void); +s32 func_843378CC(void); +s32 func_843378D4(void); +s32 func_8433B290(void); +s32 func_8433B2E8(void); +s32 func_8433B374(void); +s32 func_8433B3D8(void); +s32 func_8433B4AC(void); +s32 func_8433B58C(void); +s32 func_8433B6FC(void); +s32 func_8433B7E4(void); +s32 func_8433B988(void); +s32 func_8433BAA8(void); +s32 func_8433BB78(void); +s32 func_8433BC38(void); +s32 func_8433BD08(void); +s32 func_8433BDFC(void); +s32 func_8433BECC(void); +s32 func_8433BF54(void); +s32 func_8433C06C(void); +s32 func_8433C284(void); +s32 func_8433C3A0(void); +s32 func_8433C4EC(void); +s32 func_8433C604(void); +s32 func_8433C784(void); +s32 func_8433CAFC(void); +s32 func_8433DC80(void); +s32 func_8433DECC(void); +s32 func_8433DFF4(void); +s32 func_8433E124(void); +s32 func_8433E33C(void); +s32 func_8433E46C(void); +s32 func_8433F414(void); +s32 func_8433F4CC(void); +s32 func_8433F4EC(void); +s32 func_8433F5B4(void); +s32 func_8433F5D4(void); +s32 func_8433F758(void); +s32 func_8433F974(void); +s32 func_8433FAF8(void); +s32 func_8433FD30(void); +s32 func_84340CB0(void); +s32 func_84340D14(void); +s32 func_84342808(void); +s32 func_84342908(void); +s32 func_84342CF0(void); +s32 func_84343288(void); +s32 func_84343988(void); +s32 func_84344094(void); +s32 func_84344248(void); +s32 func_843443E0(void); +s32 func_84344474(void); +s32 func_84344508(void); +s32 func_84344A4C(void); +s32 func_84344B04(void); +s32 func_84344BDC(void); +s32 func_84345038(void); +s32 func_843450B4(void); +s32 func_8434575C(void); +s32 func_84345B28(void); +s32 func_84345B84(void); +s32 func_84345D74(void); +s32 func_84345EC0(void); +s32 func_84346B58(void); +s32 func_84346BE0(void); +s32 func_84346DC4(void); +s32 func_84346E50(void); +s32 func_84346EEC(void); +s32 func_84346F40(void); +s32 func_843473BC(void); +s32 func_84347448(void); +s32 func_84348630(void); +s32 func_843489FC(void); +s32 func_84349058(void); +s32 func_843490A8(void); +s32 func_84349108(void); +s32 func_8434915C(void); +s32 func_8434917C(void); +s32 func_84349384(void); +s32 func_84349504(void); +s32 func_84349628(void); +s32 func_8434967C(void); +s32 func_84349830(void); +s32 func_843498D8(void); +s32 func_84349A14(void); +s32 func_8434A324(void); +s32 func_8434A384(void); +s32 func_8434A7DC(void); +s32 func_8434A898(void); +s32 func_8434A930(void); +s32 func_8434A9CC(void); +s32 func_8434A9EC(void); +s32 func_8434AA6C(void); +s32 func_8434AC8C(void); +s32 func_8434ACEC(void); +s32 func_8434AD1C(void); +s32 func_8434AD70(void); +s32 func_8434B000(void); +s32 func_8434B064(void); +s32 func_8434BA70(void); +s32 func_8434BCD4(void); +s32 func_8434BF2C(void); +s32 func_8434C070(void); +s32 func_8434C0C4(void); +s32 func_8434C144(void); +s32 func_8434C590(void); +s32 func_8434C5F0(void); +s32 func_8434C618(void); +s32 func_8434C720(void); +s32 func_8434CAD8(void); +s32 func_8434CC68(void); +s32 func_8434CE14(void); +s32 func_8434CF64(void); +s32 func_8434D0F8(void); +s32 func_8434D448(void); +s32 func_8434D5EC(void); +s32 func_8434D8D8(void); +s32 func_8434D938(void); +s32 func_8434DA94(void); +s32 func_8434DB40(void); +s32 func_8434DBEC(void); +s32 func_8434DD08(void); +s32 func_8434DE6C(void); +s32 func_8434E02C(void); +s32 func_8434E0CC(void); +s32 func_8434E1B8(void); +s32 func_8434E74C(void); +s32 func_8434E870(void); +s32 func_8434E8E0(void); +s32 func_8434E940(void); +s32 func_8434E9A0(void); +s32 func_8434EA10(void); +s32 func_8434EBA0(void); +s32 func_8434EC08(void); +s32 func_8434ECF4(void); +s32 func_8434ED48(void); +s32 func_8434EF68(void); +s32 func_8434EFBC(void); +s32 func_8434F010(void); +s32 func_8434F060(void); +s32 func_8434F0B8(void); +s32 func_8434F350(void); +s32 func_84355E58(void); +s32 func_84355EF0(void); +s32 func_84355F88(void); +s32 func_84356020(void); +s32 func_843560B4(void); +s32 func_84356148(void); +s32 func_843561A0(void); +s32 func_843561F8(void); +s32 func_84356254(void); +s32 func_8435643C(void); +s32 func_843565DC(void); +s32 func_8435674C(void); +s32 func_843567F4(void); +s32 func_843568C8(void); +s32 func_843569A0(void); +s32 func_84356AC8(void); +s32 func_84356AF0(void); +s32 func_84356CA4(void); +s32 func_84356D04(void); +s32 func_84356DBC(void); +s32 func_84356EF4(void); +s32 func_84356FAC(void); +s32 func_84357110(void); +s32 func_8435727C(void); +s32 func_8435742C(void); +s32 func_843574FC(void); +s32 func_84357700(void); +s32 func_8435783C(void); +s32 func_843579C0(void); +s32 func_84357A64(void); +s32 func_84357AB8(void); +s32 func_84357AE0(void); +s32 func_84357B80(void); +s32 func_84357CC8(void); +s32 func_84357E60(void); +s32 func_84357F64(void); +s32 func_84358034(void); +s32 func_8435811C(void); +s32 func_843581FC(void); +s32 func_84358288(void); +s32 func_8435839C(void); +s32 func_843584C0(void); +s32 func_84358538(void); +s32 func_84358A5C(void); +s32 func_84358DE4(void); +s32 func_84358EA0(void); +s32 func_84358EDC(void); +s32 func_84358F6C(void); +void func_843590E0(unk_D_86002F34_00C*); +void func_843592E0(void); +s32 func_843593A0(void); +s32 func_843593A8(void); +s32 func_843593B0(void); +s32 func_843593B8(void); +s32 func_843593C0(void); +s32 func_843593C8(void); +s32 func_84359684(void); +s32 func_84359684(void); +s32 func_843596DC(void); +s32 func_843596DC(void); +s32 func_843596FC(void); +s32 func_843596FC(void); +s32 func_84359750(void); +s32 func_843597AC(void); +s32 func_843597CC(void); +s32 func_84359820(void); +s32 func_8435989C(void); +s32 func_843598BC(void); +s32 func_84359910(void); +s32 func_8435998C(void); +s32 func_843599AC(void); +s32 func_84359A00(void); +s32 func_84359A6C(void); +s32 func_84359A8C(void); +s32 func_84359AE0(void); +s32 func_84359AE8(void); +s32 func_84359AF0(void); +s32 func_84359C84(void); +s32 func_84359CB8(void); +s32 func_84359D28(void); +s32 func_84359D7C(void); +s32 func_84359DF4(void); +s32 func_84359E14(void); +s32 func_84359FE0(void); +s32 func_8435A014(void); +s32 func_8435A084(void); +s32 func_8435A298(void); +s32 func_8435A2CC(void); +s32 func_8435A33C(void); +s32 func_8435A390(void); +s32 func_8435A40C(void); +s32 func_8435A42C(void); +s32 func_8435A480(void); +s32 func_8435A4F8(void); +s32 func_8435A518(void); +s32 func_8435A6F8(void); +s32 func_8435A72C(void); +s32 func_8435A79C(void); +s32 func_8435A7F0(void); +s32 func_8435A81C(void); +s32 func_8435A99C(void); +s32 func_8435A9F0(void); +s32 func_8435AA1C(void); +s32 func_8435AB9C(void); +s32 func_8435ABF0(void); +s32 func_8435AC20(void); +s32 func_8435AC40(void); +s32 func_8435AC94(void); +s32 func_8435ACC4(void); +s32 func_8435ACE4(void); +s32 func_8435AD38(void); +s32 func_8435AD68(void); +s32 func_8435AD88(void); +s32 func_8435ADDC(void); +s32 func_8435AE08(void); +s32 func_8435B048(void); +s32 func_8435B0B0(void); +s32 func_8435B0DC(void); +s32 func_8435B260(void); +s32 func_8435B2C8(void); +s32 func_8435B408(void); +s32 func_8435B454(void); +s32 func_8435B580(void); +s32 func_8435B5B4(void); +s32 func_8435B600(void); +s32 func_8435B8E8(void); +s32 func_8435B918(void); +s32 func_8435B938(void); +s32 func_8435BB64(void); +s32 func_8435BB98(void); +s32 func_8435BBEC(void); +s32 func_8435BED8(void); +s32 func_8435BF08(void); +s32 func_8435BF28(void); +s32 func_8435C220(void); +s32 func_8435C250(void); +s32 func_8435C270(void); +s32 func_8435C448(void); +s32 func_8435C478(void); +s32 func_8435C498(void); +s32 func_8435C96C(void); +s32 func_8435C9AC(void); +s32 func_8435CA08(void); + + + + + f32 func_8435E158(f32, f32, f32*); f32 func_8435FCD0(void); void func_8436EEF0(s32, s32); diff --git a/src/fragments/62/fragment62_2EC3C0.c b/src/fragments/62/fragment62_2EC3C0.c index 954ada8..c4ea760 100644 --- a/src/fragments/62/fragment62_2EC3C0.c +++ b/src/fragments/62/fragment62_2EC3C0.c @@ -178,7 +178,7 @@ void func_84301EF4(unk_D_84390010* arg0) { } void func_84301F2C(unk_D_84390010* arg0) { - unk_D_84390010_654_038* ptr = &arg0->unk_654.unk_38; + unk_D_800FCB18* ptr = &arg0->unk_654.unk_38; if (ptr->unk_5A == 0x46 || ptr->unk_5A == 0x9D || ptr->unk_5A == 0x58) { D_84390010[0]->unk_000.unk_000.unk_02 |= 2; @@ -262,7 +262,7 @@ void func_843021E8(unk_D_84390010* arg0, u16 arg1, unk_D_84390010_94C* arg2, unk s32 temp_v1_2; u8 var_a0; unk_D_80070F84* temp_s4; - unk_D_84390010_654_038* temp_s5; + unk_D_800FCB18* temp_s5; temp_s5 = &arg0->unk_654.unk_38; @@ -443,7 +443,7 @@ void func_843029D0(unk_D_84390010* arg0) { } void func_84302A78(unk_D_84390010* arg0) { - unk_D_84390010_654_038* sp24; + unk_D_800FCB18* sp24; unk_D_84390010_654* sp20; s32 idx; s16 sp2A; @@ -491,7 +491,7 @@ void func_84302A78(unk_D_84390010* arg0) { void func_84302C34(unk_D_84390010* arg0) { UNUSED s32 pad; s16 sp32 = arg0->unk_000.unk_01A - 1; - unk_D_84390010_654_038* sp24; + unk_D_800FCB18* sp24; func_84307F00(arg0); sp24 = &arg0->unk_654.unk_38; @@ -537,7 +537,7 @@ void func_84302C34(unk_D_84390010* arg0) { } void func_84302EF0(unk_D_84390010* arg0) { - unk_D_84390010_654_038* sp24 = &arg0->unk_654.unk_38; + unk_D_800FCB18* sp24 = &arg0->unk_654.unk_38; D_84390020 = &D_84384570[func_84307F00(arg0)]->unk_000[sp24->unk_5A - 1]; @@ -567,7 +567,7 @@ void func_84302EF0(unk_D_84390010* arg0) { } void func_8430305C(unk_D_84390010* arg0) { - unk_D_84390010_654_038* sp24 = &arg0->unk_654.unk_38; + unk_D_800FCB18* sp24 = &arg0->unk_654.unk_38; UNUSED s16 pad; s16 sp18; @@ -590,7 +590,7 @@ void func_8430305C(unk_D_84390010* arg0) { } void func_843031A0(unk_D_84390010* arg0) { - unk_D_84390010_654_038* temp_v1 = &arg0->unk_654.unk_38; + unk_D_800FCB18* temp_v1 = &arg0->unk_654.unk_38; D_84390020 = &D_84384570[func_84307F00(arg0)]->unk_000[temp_v1->unk_5A - 1]; @@ -639,7 +639,7 @@ void func_8430334C(unk_D_84390010* arg0) { void func_843033E0(unk_D_84390010* arg0) { unk_D_84390010_654* sp20; - unk_D_84390010_654_038* ptr; + unk_D_800FCB18* ptr; sp20 = &arg0->unk_654; ptr = &arg0->unk_654.unk_38; @@ -663,7 +663,7 @@ void func_843033E0(unk_D_84390010* arg0) { } void func_843034D8(unk_D_84390010* arg0) { - unk_D_84390010_654_038* sp20; + unk_D_800FCB18* sp20; s32 var_v0; sp20 = &arg0->unk_654.unk_38; @@ -698,7 +698,7 @@ void func_843034D8(unk_D_84390010* arg0) { } void func_84303674(unk_D_84390010* arg0) { - unk_D_84390010_654_038* sp18; + unk_D_800FCB18* sp18; s32 var_v0; sp18 = &arg0->unk_654.unk_38; @@ -739,7 +739,7 @@ void func_843037CC(unk_D_84390010* arg0) { unk_D_84390010_654* sp3C; UNUSED s32 pad2; s32 temp_v0; - unk_D_84390010_654_038* sp28; + unk_D_800FCB18* sp28; unk_D_84390010* temp_a1; sp28 = &arg0->unk_654.unk_38; @@ -789,7 +789,7 @@ void func_843037CC(unk_D_84390010* arg0) { } void func_84303A48(unk_D_84390010* arg0) { - unk_D_84390010_654_038* sp20; + unk_D_800FCB18* sp20; s32 sp28; sp20 = &arg0->unk_654.unk_38; @@ -817,7 +817,7 @@ void func_84303A48(unk_D_84390010* arg0) { } void func_84303BB8(unk_D_84390010* arg0) { - unk_D_84390010_654_038* sp20; + unk_D_800FCB18* sp20; s32 sp28; sp28 = func_84307F00(arg0) == 0; @@ -849,7 +849,7 @@ void func_84303CB4(unk_D_84390010* arg0) { } s32 func_84303D50(unk_D_84390010* arg0) { - unk_D_84390010_654_038* sp1C; + unk_D_800FCB18* sp1C; sp1C = &D_84390010[func_84307F00(arg0) == 0]->unk_654.unk_38; D_84390020 = &D_84384570[func_84307F00(arg0)]->unk_000[sp1C->unk_5A - 1]; @@ -1072,7 +1072,7 @@ void func_84304834(unk_D_84390010* arg0) { } void func_843048C8(unk_D_84390010* arg0) { - unk_D_84390010_654_038* temp_s1_2; + unk_D_800FCB18* temp_s1_2; s16 sp22; s16 temp_s1; @@ -1124,7 +1124,7 @@ void func_843049FC(unk_D_84390010* arg0) { } void func_84304ACC(unk_D_84390010* arg0) { - unk_D_84390010_654_038* ptr = &D_84390010[func_84307F00(arg0) == 0]->unk_654.unk_38; + unk_D_800FCB18* ptr = &D_84390010[func_84307F00(arg0) == 0]->unk_654.unk_38; if (ptr->unk_4C & 0x20) { if ((ptr->unk_5A == 0x14) || (ptr->unk_5A == 0x23) || (ptr->unk_5A == 0x51)) { @@ -1135,7 +1135,7 @@ void func_84304ACC(unk_D_84390010* arg0) { } void func_84304B50(unk_D_84390010* arg0) { - unk_D_84390010_654_038* sp20; + unk_D_800FCB18* sp20; s32 sp28; sp28 = func_84307F00(arg0) == 0; @@ -1151,7 +1151,7 @@ void func_84304B50(unk_D_84390010* arg0) { } void func_84304C20(unk_D_84390010* arg0) { - unk_D_84390010_654_038* sp20 = &arg0->unk_654.unk_38; + unk_D_800FCB18* sp20 = &arg0->unk_654.unk_38; if (sp20->unk_15 & 8) { func_8432BF88(arg0, 0x14); @@ -1240,7 +1240,7 @@ void func_8430506C(unk_D_84390010* arg0) { unk_D_84390010_654* sp3C; s32 pad[2]; unk_D_84390010* sp30; - unk_D_84390010_654_038* sp28; + unk_D_800FCB18* sp28; unk_D_8438E7B0* ptr2; sp48 = 0xA5; @@ -1294,8 +1294,8 @@ void func_8430506C(unk_D_84390010* arg0) { void func_843052C0(unk_D_84390010* arg0) { s32 sp2C; UNUSED s32 pad; - unk_D_84390010_654_038* sp24; - unk_D_84390010_654_038* sp1C; + unk_D_800FCB18* sp24; + unk_D_800FCB18* sp1C; sp2C = func_84307F00(arg0); sp24 = &D_84390010[sp2C == 0]->unk_654.unk_38; @@ -1320,7 +1320,7 @@ void func_843052C0(unk_D_84390010* arg0) { } s32 func_84305458(unk_D_84390010* arg0) { - unk_D_84390010_654_038* ptr = &arg0->unk_654.unk_38; + unk_D_800FCB18* ptr = &arg0->unk_654.unk_38; s32 temp_v1; temp_v1 = func_84307F00(arg0) == 0; @@ -1338,7 +1338,7 @@ s32 func_84305458(unk_D_84390010* arg0) { } void func_843054F0(unk_D_84390010* arg0) { - unk_D_84390010_654_038* ptr = &arg0->unk_654.unk_38; + unk_D_800FCB18* ptr = &arg0->unk_654.unk_38; s32 sp28; sp28 = func_84307F00(arg0) == 0; @@ -1355,7 +1355,7 @@ void func_843054F0(unk_D_84390010* arg0) { } void func_843055E0(unk_D_84390010* arg0) { - unk_D_84390010_654_038* sp20; + unk_D_800FCB18* sp20; s32 sp28; sp28 = func_84307F00(arg0) == 0; @@ -1531,7 +1531,7 @@ s32 func_84305BD8(unk_D_84390010* arg0, s32 arg1) { } s32 func_84305CAC(unk_D_84390010* arg0, s32 arg1) { - unk_D_84390010_654_038* ptr = &arg0->unk_654.unk_38; + unk_D_800FCB18* ptr = &arg0->unk_654.unk_38; unk_D_8438E7B0_A50* sp20; unk_D_8438E7B0_A50* sp1C; @@ -1911,9 +1911,9 @@ void func_84306AF0(unk_D_800AE540_1194* arg0, s32 arg1) { bzero(ptr, sizeof(unk_D_84390010)); bzero(&D_84390010[arg1]->unk_654, sizeof(unk_D_84390010_654)); - bzero(&D_84390010[arg1]->unk_654.unk_38, sizeof(unk_D_84390010_654_038)); + bzero(&D_84390010[arg1]->unk_654.unk_38, sizeof(unk_D_800FCB18)); bzero(&D_84390010[arg1]->unk_728, sizeof(unk_D_84390010_728)); - bzero(&D_84390010[arg1]->unk_654.unk_38.unk_44, sizeof(unk_D_84390010_654_038_044)); + bzero(&D_84390010[arg1]->unk_654.unk_38.unk_44, sizeof(unk_D_800FCB18_044)); bzero(&D_84390010[arg1]->unk_654.unk_9C, sizeof(unk_D_84390010_654_09C)); bzero(&D_84390010[arg1]->unk_654.unk_AC, sizeof(unk_D_84390010_654_0AC)); bzero(&D_84390010[arg1]->unk_8C4, sizeof(unk_D_84390010_8C4)); diff --git a/src/fragments/62/fragment62_2F23A0.c b/src/fragments/62/fragment62_2F23A0.c index fef4597..24a71af 100644 --- a/src/fragments/62/fragment62_2F23A0.c +++ b/src/fragments/62/fragment62_2F23A0.c @@ -445,8 +445,8 @@ s32 func_84308D54(unk_D_84390010* arg0) { return arg0->unk_720->unk_08[1]->unk_002 + arg0->unk_720->unk_08[0]->unk_002; } -u8 func_84308D90(unk_D_84390010* arg0) { - return arg0->unk_000.unk_000.unk_02; +u8 func_84308D90(unk_D_800AE540_0004* arg0) { + return arg0->unk_002; } s32 func_84308D98(unk_D_84390010* arg0) { diff --git a/src/fragments/62/fragment62_2F3CB0.c b/src/fragments/62/fragment62_2F3CB0.c index 55fdab0..d23ed9d 100644 --- a/src/fragments/62/fragment62_2F3CB0.c +++ b/src/fragments/62/fragment62_2F3CB0.c @@ -813,7 +813,7 @@ void func_8430B6F8(unk_D_84390010* arg0, unk_D_84390010* arg1) { } void func_8430B734(unk_D_84390010* arg0, unk_D_84390010* arg1) { - unk_D_84390010_654_038* temp_a0 = &arg1->unk_654.unk_38; + unk_D_800FCB18* temp_a0 = &arg1->unk_654.unk_38; s16 sp22; arg1->unk_4A8 += 0xCCC; @@ -862,7 +862,7 @@ void func_8430B950(UNUSED unk_D_84390010* arg0, unk_D_84390010* arg1) { } void func_8430B968(unk_D_84390010* arg0, unk_D_84390010* arg1) { - unk_D_84390010_654_038* ptr = &arg1->unk_654.unk_38; + unk_D_800FCB18* ptr = &arg1->unk_654.unk_38; UNUSED s32 pad; f32 temp_fs0; diff --git a/src/fragments/62/fragment62_2F74E0.c b/src/fragments/62/fragment62_2F74E0.c index 8c96b20..e914665 100644 --- a/src/fragments/62/fragment62_2F74E0.c +++ b/src/fragments/62/fragment62_2F74E0.c @@ -228,8 +228,8 @@ s32 func_8430D334(unk_D_84390010* arg0) { } void func_8430D364(void) { - unk_D_84390010_654_038* temp_a2; - unk_D_84390010_654_038* temp_a3; + unk_D_800FCB18* temp_a2; + unk_D_800FCB18* temp_a3; unk_D_84390010_654* ptr1; unk_D_84390010_654* ptr2; unk_func_80026268_arg0* ptr3; @@ -256,7 +256,7 @@ s32 func_8430D434(unk_D_84390010* arg0) { s32 i; s32 var_v1; unk_D_84390010_654* temp_v1; - unk_D_84390010_654_038* temp_v0; + unk_D_800FCB18* temp_v0; temp_v1 = &arg0->unk_654; temp_v0 = &arg0->unk_654.unk_38; @@ -286,7 +286,7 @@ s32 func_8430D434(unk_D_84390010* arg0) { } s32 func_8430D574(unk_D_84390010* arg0, s32 arg1) { - unk_D_84390010_654_038* ptr = &arg0->unk_654.unk_38; + unk_D_800FCB18* ptr = &arg0->unk_654.unk_38; if (!(ptr->unk_32[arg1] & 0x3F)) { return 1; @@ -385,7 +385,7 @@ void func_8430D814(void) { } s32 func_8430D8C4(unk_D_84390010* arg0) { - unk_D_84390010_654_038* temp_v0 = &arg0->unk_654.unk_38; + unk_D_800FCB18* temp_v0 = &arg0->unk_654.unk_38; s32 i; s32 var_v1 = 0; @@ -558,8 +558,8 @@ s32 func_8430DE20(unk_D_84390010* arg0, unk_D_84390010* arg1) { return 0; } -void func_8430DF60(UNUSED unk_D_84390010_654_038* arg0, UNUSED unk_D_84390010_654_038* arg1, - UNUSED unk_D_84390010_654* arg2, UNUSED unk_D_84390010_654* arg3, UNUSED unk_D_84390010* arg4) { +void func_8430DF60(UNUSED unk_D_800FCB18* arg0, UNUSED unk_D_800FCB18* arg1, UNUSED unk_D_84390010_654* arg2, + UNUSED unk_D_84390010_654* arg3, UNUSED unk_D_84390010* arg4) { if ((D_84390120 == 1.0f) && (D_8439013C == 0)) { D_8439013C = 1; D_84390138 = func_84383B5C(0); @@ -567,8 +567,8 @@ void func_8430DF60(UNUSED unk_D_84390010_654_038* arg0, UNUSED unk_D_84390010_65 } s32 func_8430DFCC(unk_D_84390010* arg0, unk_D_84390010* arg1) { - unk_D_84390010_654_038* sp34 = &arg0->unk_654.unk_38; - unk_D_84390010_654_038* sp30 = &arg1->unk_654.unk_38; + unk_D_800FCB18* sp34 = &arg0->unk_654.unk_38; + unk_D_800FCB18* sp30 = &arg1->unk_654.unk_38; unk_D_84390010_654* sp2C = &arg0->unk_654; unk_D_84390010_654* sp28 = &arg1->unk_654; @@ -677,7 +677,7 @@ void func_8430E1CC(unk_D_84390010* arg0) { void func_8430E490(unk_D_84390010* arg0) { unk_D_84390010_654* temp_v0 = &arg0->unk_654; - unk_D_84390010_654_038* temp_v1 = &D_84390010[func_84307F00(arg0) == 0]->unk_654.unk_38; + unk_D_800FCB18* temp_v1 = &D_84390010[func_84307F00(arg0) == 0]->unk_654.unk_38; if (temp_v1->unk_4C & 0x20) { arg0->unk_654.unk_38.unk_5A = 0xFF; @@ -834,7 +834,7 @@ void func_8430E8E8(unk_D_84390010* arg0) { void func_8430EB1C(unk_D_84390010* arg0) { unk_D_84390010_654* temp_v0 = &arg0->unk_654; - unk_D_84390010_654_038* temp_v1 = &arg0->unk_654.unk_38; + unk_D_800FCB18* temp_v1 = &arg0->unk_654.unk_38; if (arg0->unk_654.unk_14 != 4) { temp_v0->unk_0C = temp_v0->unk_14; @@ -860,7 +860,7 @@ s32 func_8430EBA8(unk_D_84390010* arg0) { s32 temp_a1; s32 var_v1; unk_D_84390010_654* temp_v0; - unk_D_84390010_654_038* temp_a0; + unk_D_800FCB18* temp_a0; Controller* cont; temp_v0 = &arg0->unk_654; @@ -908,7 +908,7 @@ s32 func_8430EBA8(unk_D_84390010* arg0) { s32 func_8430ED88(unk_D_84390010* arg0) { UNUSED s32 pad[2]; unk_D_84390010_654* sp24 = &arg0->unk_654; - unk_D_84390010_654_038* ptr = &arg0->unk_654.unk_38; + unk_D_800FCB18* ptr = &arg0->unk_654.unk_38; if (!(ptr->unk_32[sp24->unk_14] & 0x3F)) { func_8432B4F0(); @@ -1159,8 +1159,8 @@ void func_8430F500(void) { } void func_8430F598(unk_D_84390010* arg0, unk_D_84390010* arg1) { - unk_D_84390010_654_038* temp_v0 = &arg0->unk_654.unk_38; - unk_D_84390010_654_038* temp_v1 = &arg1->unk_654.unk_38; + unk_D_800FCB18* temp_v0 = &arg0->unk_654.unk_38; + unk_D_800FCB18* temp_v1 = &arg1->unk_654.unk_38; if (!(arg0->unk_654.unk_38.unk_4D & 0x60)) { temp_v0->unk_4C &= ~8; @@ -1176,8 +1176,8 @@ void func_8430F598(unk_D_84390010* arg0, unk_D_84390010* arg1) { void func_8430F5F4(void) { unk_D_84390010_654* sp24 = &D_84390010[0]->unk_654; unk_D_84390010_654* sp20 = &D_84390010[1]->unk_654; - unk_D_84390010_654_038* sp1C = &D_84390010[0]->unk_654.unk_38; - unk_D_84390010_654_038* sp18 = &D_84390010[1]->unk_654.unk_38; + unk_D_800FCB18* sp1C = &D_84390010[0]->unk_654.unk_38; + unk_D_800FCB18* sp18 = &D_84390010[1]->unk_654.unk_38; Controller* cont = &D_84390150; func_8430F500(); @@ -1228,8 +1228,8 @@ void func_8430F5F4(void) { void func_8430F794(unk_D_84390010* arg0, unk_D_84390010* arg1) { UNUSED s32 pad; - unk_D_84390010_654_038* sp20 = &arg0->unk_654.unk_38; - unk_D_84390010_654_038* sp1C = &arg1->unk_654.unk_38; + unk_D_800FCB18* sp20 = &arg0->unk_654.unk_38; + unk_D_800FCB18* sp1C = &arg1->unk_654.unk_38; if (func_8430F350(arg0, arg1) == 0) { if (!(sp20->unk_4D & 0x60)) { @@ -1264,8 +1264,8 @@ void func_8430F794(unk_D_84390010* arg0, unk_D_84390010* arg1) { void func_8430F8B8(void) { unk_D_84390010_654* sp24 = &D_84390010[0]->unk_654; unk_D_84390010_654* sp20 = &D_84390010[1]->unk_654; - unk_D_84390010_654_038* sp1C = &D_84390010[0]->unk_654.unk_38; - unk_D_84390010_654_038* sp18 = &D_84390010[1]->unk_654.unk_38; + unk_D_800FCB18* sp1C = &D_84390010[0]->unk_654.unk_38; + unk_D_800FCB18* sp18 = &D_84390010[1]->unk_654.unk_38; if (D_84390010[0]->unk_724->unk_000 & 2) { D_84390144 = D_843C4DC4; diff --git a/src/fragments/62/fragment62_2FA4D0.c b/src/fragments/62/fragment62_2FA4D0.c index fd1d4ad..9377f8f 100644 --- a/src/fragments/62/fragment62_2FA4D0.c +++ b/src/fragments/62/fragment62_2FA4D0.c @@ -997,7 +997,7 @@ void func_84313A74(unk_D_84390010* arg0, s16 arg1, s16 arg2, s32 arg3) { s32 i; s32 sp64[] = { 0, 0, 0, 0 }; u8 sp60[4]; - unk_D_84390010_654_038* temp_s0; + unk_D_800FCB18* temp_s0; unk_func_80026268_arg0* sp58; UNUSED s32 pad; diff --git a/src/fragments/62/fragment62_3020D0.c b/src/fragments/62/fragment62_3020D0.c index a1a2d00..fa35ef4 100644 --- a/src/fragments/62/fragment62_3020D0.c +++ b/src/fragments/62/fragment62_3020D0.c @@ -141,7 +141,7 @@ void func_84317B40(void) { void func_84317BDC(void) { u32 sp1C; - unk_D_84390010_654_038* sp18 = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp18 = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; sp18->unk_58 = sp18->unk_44.unk_00; @@ -213,7 +213,7 @@ void func_84317BDC(void) { void func_84317EDC(void) { u32 sp24; UNUSED s32 pad; - unk_D_84390010_654_038* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; if (func_84307AE0(sp1C->unk_5A, D_84385990, 2) != 0) { sp24 = 0; @@ -257,7 +257,7 @@ void func_843180AC(void) { s32 sp2C; s32 tmp; - unk_D_84390010_654_038* sp24; + unk_D_800FCB18* sp24; sp24 = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; diff --git a/src/fragments/62/fragment62_3055E0.c b/src/fragments/62/fragment62_3055E0.c index 5c3c2ce..8aceabf 100644 --- a/src/fragments/62/fragment62_3055E0.c +++ b/src/fragments/62/fragment62_3055E0.c @@ -635,7 +635,7 @@ s32 func_8431C8E0(unk_D_86002F34_00C* arg0, unk_D_84390010* arg1) { s16 sp4E; s16 sp4C; UNUSED s32 pad3[2]; - unk_D_84390010_654_038* temp_v1; + unk_D_800FCB18* temp_v1; temp_v1 = &D_84390010[func_84307F00(arg1) == 0]->unk_654.unk_38; diff --git a/src/fragments/62/fragment62_309ED0.c b/src/fragments/62/fragment62_309ED0.c index 210bc6e..2b6b0b1 100644 --- a/src/fragments/62/fragment62_309ED0.c +++ b/src/fragments/62/fragment62_309ED0.c @@ -275,8 +275,8 @@ s32 func_8431FAB4(void) { } void func_8431FC74(void) { - unk_D_84390010_654_038* temp_v0 = &D_84390010[0]->unk_654.unk_38; - unk_D_84390010_654_038* temp_v1 = &D_84390010[1]->unk_654.unk_38; + unk_D_800FCB18* temp_v0 = &D_84390010[0]->unk_654.unk_38; + unk_D_800FCB18* temp_v1 = &D_84390010[1]->unk_654.unk_38; if (temp_v0->unk_4F == 0) { temp_v0->unk_4C &= ~0x20; @@ -291,7 +291,7 @@ void func_8431FCC4(void) { } s32 func_8431FCCC(unk_D_84390010* arg0) { - unk_D_84390010_654_038* temp_s1 = &arg0->unk_654.unk_38; + unk_D_800FCB18* temp_s1 = &arg0->unk_654.unk_38; unk_func_80026268_arg0* temp_s2 = &arg0->unk_724->unk_01C[arg0->unk_654.unk_08]; f32 temp_fs0; UNUSED s16 pad; @@ -383,7 +383,7 @@ void func_84320108(void) { s32 sp2C; unk_D_84390010_654* temp_s0; unk_D_84390010_654* temp_s1; - unk_D_84390010_654_038* ptr; + unk_D_800FCB18* ptr; temp_s0 = &D_84390010[0]->unk_654; temp_s1 = &D_84390010[1]->unk_654; @@ -562,8 +562,8 @@ void func_84320864(void) { } void func_843208B0(void) { - unk_D_84390010_654_038* sp24; - unk_D_84390010_654_038* sp20; + unk_D_800FCB18* sp24; + unk_D_800FCB18* sp20; unk_D_84390010_654* sp1C; if (D_84390240.unk_00->unk_34 == 0) { @@ -616,7 +616,7 @@ void func_843208B0(void) { } s32 func_84320A8C(void) { - unk_D_84390010_654_038* temp_v0 = &D_84390200->unk_654.unk_38; + unk_D_800FCB18* temp_v0 = &D_84390200->unk_654.unk_38; if (((temp_v0->unk_4D & 0x80) || (temp_v0->unk_15 & 0x18)) && ((temp_v0->unk_5A & 0xF0) == 0xF0)) { func_84301F80(D_84390010[D_84390240.unk_00->unk_2C]); @@ -662,7 +662,7 @@ void func_84320C38(unk_D_86002F34_00C* arg0) { } void func_84320CEC(unk_D_86002F34_00C* arg0) { - unk_D_84390010_654_038* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; D_84390220 = func_8431FCCC(D_84390010[0]); D_84390224 = func_8431FCCC(D_84390010[1]); @@ -764,7 +764,7 @@ s32 func_8432103C(void) { s32 func_843210BC(void) { s32 idx = D_84390240.unk_00->unk_2C; - unk_D_84390010_654_038* temp_v1_2 = &D_84390010[idx]->unk_654.unk_38; + unk_D_800FCB18* temp_v1_2 = &D_84390010[idx]->unk_654.unk_38; if (((temp_v1_2->unk_4D & 0x80) || (temp_v1_2->unk_15 & 0x18)) && ((temp_v1_2->unk_5A & 0xF0) == 0xF0)) { return func_84320658(0x23); @@ -1254,7 +1254,7 @@ void func_843226A4(UNUSED unk_D_86002F34_00C* arg0) { } void func_843226E0(unk_D_86002F34_00C* arg0) { - unk_D_84390010_654_038* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; unk_D_84390010_654* sp18 = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654; s32 var_t0; @@ -1479,7 +1479,7 @@ void func_84322E70(unk_D_86002F34_00C* arg0) { } void func_843230D8(unk_D_86002F34_00C* arg0, s32 arg1) { - unk_D_84390010_654_038* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; s32 sp18; if ((D_84390240.unk_00->unk_50 != 1) && (D_84390240.unk_00->unk_50 != 4) && (D_84390240.unk_00->unk_50 != 5) && @@ -1667,7 +1667,7 @@ void func_84323740(unk_D_86002F34_00C* arg0) { void func_84323808(unk_D_86002F34_00C* arg0) { UNUSED s32 pad; - unk_D_84390010_654_038* sp18 = &D_84390204->unk_654.unk_38; + unk_D_800FCB18* sp18 = &D_84390204->unk_654.unk_38; func_84307F00(D_84390204); @@ -1837,7 +1837,7 @@ void func_84323CE4(unk_D_86002F34_00C* arg0) { } void func_84323E44(unk_D_86002F34_00C* arg0) { - unk_D_84390010_654_038* sp34 = &D_84390204->unk_654.unk_38; + unk_D_800FCB18* sp34 = &D_84390204->unk_654.unk_38; UNUSED s32 pad; UNUSED s16 pad2; s16 sp2C; @@ -1869,7 +1869,7 @@ void func_84323E44(unk_D_86002F34_00C* arg0) { } void func_84323FA0(unk_D_86002F34_00C* arg0) { - unk_D_84390010_654_038* sp24 = &D_84390200->unk_654.unk_38; + unk_D_800FCB18* sp24 = &D_84390200->unk_654.unk_38; UNUSED s32 pad; s32 sp1C; s32 temp_v0; @@ -1973,7 +1973,7 @@ void func_8432440C(void) { } void func_84324414(unk_D_86002F34_00C* arg0) { - unk_D_84390010_654_038* sp24 = &D_84390204->unk_654.unk_38; + unk_D_800FCB18* sp24 = &D_84390204->unk_654.unk_38; unk_D_8438E7B0_A50* temp_v1 = &D_84384570[func_84307F00(D_84390200)]->unk_000[sp24->unk_5A - 1]; volatile s32 sp1C; s32 temp_v0_2; @@ -2201,7 +2201,7 @@ s32 func_84324A68(void) { } void func_84324C28(unk_D_86002F34_00C* arg0) { - unk_D_84390010_654_038* sp1C = &D_84390204->unk_654.unk_38; + unk_D_800FCB18* sp1C = &D_84390204->unk_654.unk_38; unk_D_8438E7B0_A50* sp18 = &D_84384570[func_84307F00(D_84390204)]->unk_000[sp1C->unk_5A - 1]; switch (D_84390240.unk_00->unk_20) { @@ -2319,7 +2319,7 @@ void func_84325080(unk_D_86002F34_00C* arg0) { } void func_843251D4(unk_D_86002F34_00C* arg0) { - unk_D_84390010_654_038* sp1C = &D_84390200->unk_654.unk_38; + unk_D_800FCB18* sp1C = &D_84390200->unk_654.unk_38; switch (D_84390240.unk_00->unk_20) { case 0: @@ -2435,8 +2435,8 @@ void func_843255DC(unk_D_86002F34_00C* arg0) { void func_84325724(unk_D_86002F34_00C* arg0) { UNUSED s32 pad[3]; - unk_D_84390010_654_038* sp30 = &D_84390204->unk_654.unk_38; - unk_D_84390010_654_038* sp2C = &D_84390200->unk_654.unk_38; + unk_D_800FCB18* sp30 = &D_84390204->unk_654.unk_38; + unk_D_800FCB18* sp2C = &D_84390200->unk_654.unk_38; unk_D_84390010_654* sp28 = &D_84390204->unk_654; unk_D_84390010_654* sp24 = &D_84390200->unk_654; @@ -2497,7 +2497,7 @@ void func_84325724(unk_D_86002F34_00C* arg0) { } void func_84325A10(unk_D_86002F34_00C* arg0) { - unk_D_84390010_654_038* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; unk_D_84390010_654* sp18 = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654; switch (D_84390240.unk_00->unk_20) { @@ -2941,8 +2941,8 @@ void func_84326CB4(unk_D_86002F34_00C* arg0) { } void func_84326E84(unk_D_86002F34_00C* arg0) { - unk_D_84390010_654_038* sp24 = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; - unk_D_84390010_654_038* sp20 = &D_84390010[!D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp24 = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp20 = &D_84390010[!D_84390240.unk_00->unk_2C]->unk_654.unk_38; switch (D_84390240.unk_00->unk_20) { case 0: @@ -3036,8 +3036,8 @@ void func_84326E84(unk_D_86002F34_00C* arg0) { } void func_8432734C(unk_D_86002F34_00C* arg0) { - unk_D_84390010_654_038* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; - unk_D_84390010_654_038* sp18 = &D_84390010[!D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp18 = &D_84390010[!D_84390240.unk_00->unk_2C]->unk_654.unk_38; switch (D_84390240.unk_00->unk_20) { case 0: @@ -3122,8 +3122,8 @@ void func_843275F8(unk_D_86002F34_00C* arg0) { } void func_84327720(unk_D_86002F34_00C* arg0) { - unk_D_84390010_654_038* sp24 = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; - unk_D_84390010_654_038* sp20 = &D_84390010[!D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp24 = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp20 = &D_84390010[!D_84390240.unk_00->unk_2C]->unk_654.unk_38; switch (D_84390240.unk_00->unk_20) { case 0: @@ -3209,8 +3209,8 @@ void func_84327720(unk_D_86002F34_00C* arg0) { } void func_84327B90(unk_D_86002F34_00C* arg0) { - unk_D_84390010_654_038* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; - unk_D_84390010_654_038* sp18 = &D_84390010[!D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp1C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp18 = &D_84390010[!D_84390240.unk_00->unk_2C]->unk_654.unk_38; switch (D_84390240.unk_00->unk_20) { case 0: @@ -3257,7 +3257,7 @@ void func_84327D98(unk_D_84390010* arg0) { void func_84327DC0(unk_D_86002F34_00C* arg0) { unk_D_84390010_654* sp34 = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654; unk_D_84390010* temp_s0 = D_84390010[D_84390240.unk_00->unk_2C]; - unk_D_84390010_654_038* sp2C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp2C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; if (D_84390240.unk_00->unk_2C) {} @@ -3359,7 +3359,7 @@ void func_84328250(unk_D_86002F34_00C* arg0) { unk_D_84390010_654* sp38 = &D_84390010[!D_84390240.unk_00->unk_2C]->unk_654; UNUSED s32 pad; unk_D_84390010* temp_s0 = D_84390010[D_84390240.unk_00->unk_2C]; - unk_D_84390010_654_038* sp2C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; + unk_D_800FCB18* sp2C = &D_84390010[D_84390240.unk_00->unk_2C]->unk_654.unk_38; switch (D_84390240.unk_00->unk_20) { case 0: diff --git a/src/fragments/62/fragment62_315830.c b/src/fragments/62/fragment62_315830.c index fc34e9f..2dcc8e5 100644 --- a/src/fragments/62/fragment62_315830.c +++ b/src/fragments/62/fragment62_315830.c @@ -1,17 +1,119 @@ -#include "global.h" +#include "fragment62.h" +#include "src/17300.h" +#include "src/18140.h" +#include "src/1C720.h" -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315830/func_8432AF70.s") +void func_8432AF70(unk_D_84390010* arg0) { + UNUSED s32 pad[2]; + unk_func_80026268_arg0* ptr; + unk_D_84390010_654* sp2C; + unk_D_800FCB18* sp28; + unk_D_8438E7B0_A50* sp20; + s32 idx = func_84307F00(arg0); -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315830/func_8432B0A4.s") + sp28 = &arg0->unk_654.unk_38; + sp2C = &arg0->unk_654; + ptr = &arg0->unk_724->unk_01C[sp2C->unk_08]; + sp20 = &D_84384570[idx]->unk_A80; -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315830/func_8432B0E4.s") + if ((ptr->unk_05 & 0x20) && (sp2C->unk_34 & 2)) { + arg0->unk_000.unk_000.unk_02 &= ~0x20; + } -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315830/func_8432B13C.s") + if ((sp28->unk_15 & 0x20) && (ptr->unk_05 & 0x20) && !(sp2C->unk_34 & 2) && + ((arg0->unk_000.unk_040.unk_08 >> 0x10) >= 3)) { + func_8001BD04(&arg0->unk_000, sp20->unk_00); + func_80017464(&arg0->unk_000, 4); + func_8001BD9C(&arg0->unk_000, sp20->unk_01); + func_80017804(&arg0->unk_000, 3); + arg0->unk_000.unk_000.unk_02 &= ~0x20; + func_843061EC(arg0, 2); + func_8432C7A0(1, arg0); + func_8432BF88(arg0, 0x13); + } +} -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315830/func_8432B1BC.s") +void func_8432B0A4(unk_D_84390010* arg0) { + unk_D_8438E7B0_A50* ptr = &D_84384570[func_84307F00(arg0)]->unk_A50; -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315830/func_8432B228.s") + func_8001BD04(&arg0->unk_000, ptr->unk_00); +} -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315830/func_8432B38C.s") +void func_8432B0E4(unk_D_84390010* arg0) { + if (arg0->unk_654.unk_34 & 2) { + func_8432C80C(1, arg0); + arg0->unk_000.unk_000.unk_02 |= 0x20; + func_84306200(arg0, 2); + func_8432B0A4(arg0); + } +} -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315830/func_8432B448.s") +void func_8432B13C(unk_D_84390010* arg0) { + unk_func_80026268_arg0* ptr = &arg0->unk_724->unk_01C[arg0->unk_654.unk_08]; + + if (arg0->unk_654.unk_34 & 2) { + ptr->unk_05 = 0; + func_8432C80C(1, arg0); + arg0->unk_000.unk_000.unk_02 |= 0x20; + func_84306200(arg0, 2); + func_8432B0A4(arg0); + } +} + +void func_8432B1BC(unk_D_84390010* arg0) { + if ((arg0->unk_654.unk_34 & 2) && !(arg0->unk_654.unk_38.unk_15 & 0x20)) { + func_8432C80C(1, arg0); + arg0->unk_000.unk_000.unk_02 |= 0x20; + func_84306200(arg0, 2); + func_8432B0A4(arg0); + } +} + +void func_8432B228(unk_D_84390010* arg0) { + unk_D_84390010_654* sp24 = &arg0->unk_654; + unk_D_800FCB18* sp28 = &sp24->unk_38; + unk_func_80026268_arg0* sp2C = &arg0->unk_724->unk_01C[arg0->unk_654.unk_08]; + + if ((D_84390240.unk_00->unk_38 != 0xB) || (D_84390240.unk_00->unk_20 >= 6)) { + if ((sp2C->unk_05 & 7) && (sp28->unk_15 & 7) && !(arg0->unk_654.unk_34 & 1)) { + func_84305A74(arg0, 0xAF, 2); + func_8432C7A0(3, arg0); + func_8432BF88(arg0, 0x32); + func_843061EC(arg0, 1); + } + + if (!(sp2C->unk_05 & 7) && (sp24->unk_34 & 1)) { + if (D_84384570[func_84307F00(arg0)]->unk_B81 == 0xFF) { + sp24->unk_36 = 0; + func_843058C4(arg0, 0xA5); + } else { + func_84305A74(arg0, 0xB8, 1); + } + func_8432C80C(3, arg0); + func_84306200(arg0, 1); + } + } +} + +void func_8432B38C(unk_D_84390010* arg0) { + unk_func_80026268_arg0* ptr = &arg0->unk_724->unk_01C[arg0->unk_654.unk_08]; + + if (arg0->unk_654.unk_34 & 1) { + ptr->unk_05 = 0; + if (D_84384570[func_84307F00(arg0)]->unk_B81 == 0xFF) { + arg0->unk_654.unk_36 = 0; + func_843058C4(arg0, 0xA5); + } else { + func_84305A74(arg0, 0xB8, 1); + } + func_8432C80C(3, arg0); + func_84306200(arg0, 1); + } +} + +void func_8432B448(unk_D_84390010* arg0) { + if (arg0->unk_654.unk_34 & 1) { + func_8432C80C(3, arg0); + func_84306200(arg0, 1); + } +} diff --git a/src/fragments/62/fragment62_315D50.c b/src/fragments/62/fragment62_315D50.c index 6e1f678..59373ab 100644 --- a/src/fragments/62/fragment62_315D50.c +++ b/src/fragments/62/fragment62_315D50.c @@ -1,139 +1,5329 @@ -#include "global.h" +#include "fragment62.h" +#include "src/17300.h" +#include "src/19840.h" +#include "src/1C720.h" +#include "src/373A0.h" +#include "src/3D140.h" +#include "src/485C0.h" +#include "src/49790.h" +#include "src/4BDC0.h" +#include "src/4F410.h" +#include "src/F420.h" +#include "src/math_util.h" -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432B490.s") +typedef struct unk_D_84392040 { + /* 0x00 */ char unk00[0xC]; + /* 0x0C */ f32 unk_0C; + /* 0x10 */ f32 unk_10; + /* 0x14 */ char unk14[0x4]; +} unk_D_84392040; // size = 0x18 -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432B4B0.s") +s32 D_843902A0; +#include "prevent_bss_reordering.h" +s32 D_843902A4; +s32 D_843902A8; +static s32 D_843902AC; +static s32 D_843902B0; +static s32 D_843902B4; +static s32 D_843902B8; +static s32 D_843902BC; +static s32 D_843902C0; +static s32 D_843902C4; +static s32 D_843902C8; +static s32 D_843902CC; +static s32 D_843902D0; +static s32 D_843902D4; +static s32 D_843902D8; +static s32 D_843902DC; +static s8 D_843902E0; +s16 D_843902E2; +s16 D_843902E4; +static s16 D_843902E6; +unk_D_84390010* D_843902E8; +unk_D_84390010* D_843902EC; +unk_D_84390010* D_843902F0; +s32 D_843902F4; +s32 D_843902F8; +static s8 D_843902FC; +func_D_84388CA8 D_84390300[8]; +func_D_84388CA8 D_84390320[8]; +s32 D_84390340; +static f32 D_84390344; +Vec3f D_84390348; +static Vec3s D_84390354; +static Vec3f D_84390360; +static Vec3s D_8439036C; +static Vec3s D_84390374; +s16 D_8439037A; +s16 D_8439037C; +s16 D_8439037E; +s16 D_84390380; +s16 D_84390382; +s16 D_84390384; +s16 D_84390386; +s16 D_84390388; +s16 D_8439038A; +s16 D_8439038C; +s16 D_8439038E; +s16 D_84390390; +s16 D_84390392; +s16 D_84390394; +s16 D_84390396; +s16 D_84390398; +s16 D_8439039A; +s16 D_8439039C; +s16 D_8439039E; +s16 D_843903A0; +s32 pad_D_843903A8[2]; +static s32 D_843903B0; +static s32 D_843903B4; +s32 pad_D_843903B8[6]; +static unk_D_86002F58_004_000 D_843903D0[16]; +static s32 D_84391A50[16]; +static unk_D_86002F58_004_000 D_84391A90[4]; +static s32 D_84392030[4]; +static unk_D_84392040 D_84392040; +f32 D_84392058[26]; +/* +unk_D_86002F58_004_000_040_004* D_843920C0[256]; +static s16 D_843924C0[0x10]; +static arg1_func_80019420* D_843924E0[40]; +*/ +static s32 D_84385BB0[] = { 0, 0, 0, 0 }; -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432B4D0.s") +u32 D_84385BC0[] = { + 0x00000005, 0x00000006, 0x00000007, 0x00000008, 0x00000009, 0x0000000A, 0x0000000B, 0x0000000C, + 0x0000000D, 0x0000000E, 0x0000000F, 0x00000010, 0x00000011, 0x00000012, 0x00000013, 0x00000014, + 0x00000015, 0x00000016, 0x00000017, 0x00000018, 0x00000019, 0x0000001A, 0x0000001B, 0x0000001C, + 0x0000001D, 0x0000001E, 0x0000001F, 0x00000020, 0x00000021, 0x00000026, 0x00000027, 0x00000028, + 0x00000029, 0x0000002A, 0x0000002B, 0x0000002C, 0x0000002D, 0x0000002E, 0x0000002F, 0x00000030, + 0x00000031, 0x00000032, 0x00000033, 0x00000034, 0x00000035, 0x00000036, 0x00000000, 0x00000000, +}; -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432B4F0.s") +u32 D_84385C80[] = { + 0xFFC0FFC1, 0x00000000, 0x000007E0, 0xFFFFFFFF, 0x003EFFC1, 0x00000000, 0x07E007E0, 0xFFFFFFFF, + 0x003E0000, 0x00000000, 0x07E00000, 0xFFFFFFFF, 0xFFC00000, 0x00000000, 0x00000000, 0xFFFFFFFF, +}; -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432B510.s") +u32 D_84385CC0[] = { + 0xFFF00060, 0x00000000, 0x00000BE0, 0xFFFFFFFF, 0x000F0060, 0x00000000, 0x03E00BE0, 0xFFFFFFFF, + 0x000F0000, 0x00000000, 0x03E00000, 0xFFFFFFFF, 0xFFF00000, 0x00000000, 0x00000000, 0xFFFFFFFF, +}; -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432B554.s") +u32 D_84385D00[] = { + 0xFFF80060, 0x00000000, 0x00000BE0, 0xFFFFFFFF, 0x00070060, 0x00000000, 0x03E00BE0, 0xFFFFFFFF, + 0x00070000, 0x00000000, 0x03E00000, 0xFFFFFFFF, 0xFFF80000, 0x00000000, 0x00000000, 0xFFFFFFFF, +}; -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432B588.s") +u32 D_84385D40[] = { + 0xFFFC0060, 0x00000000, 0x00000BE0, 0xFFFFFFFF, 0x00030060, 0x00000000, 0x03E00BE0, 0xFFFFFFFF, + 0x00030000, 0x00000000, 0x03E00000, 0xFFFFFFFF, 0xFFFC0000, 0x00000000, 0x00000000, 0xFFFFFFFF, + 0xFF60FF88, 0x00000000, 0x00000800, 0x000078FF, 0x00A0FF88, 0x00000000, 0x08000800, 0x000078FF, + 0x00A00078, 0x00000000, 0x08000000, 0x000078FF, 0xFF600078, 0x00000000, 0x00000000, 0x000078FF, +}; -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432B5B8.s") +u32 D_84385DC0[] = { + 0xFF60FF88, 0x00000000, 0x00001000, 0x000078FF, 0x00A0FF88, 0x00000000, 0x10001000, 0x000078FF, + 0x00A00078, 0x00000000, 0x10000000, 0x000078FF, 0xFF600078, 0x00000000, 0x00000000, 0x000078FF, +}; -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432B604.s") +u32 D_84385E00[] = { + 0xFF60FF88, 0x00000000, 0x00002000, 0x000078FF, 0x00A0FF88, 0x00000000, 0x20002000, 0x000078FF, + 0x00A00078, 0x00000000, 0x20000000, 0x000078FF, 0xFF600078, 0x00000000, 0x00000000, 0x000078FF, +}; -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432B704.s") +unk_D_8140E728_01C_004_1 D_84385E40[] = { + { + 0x01, + 0x01, + 0x0000, + func_8140C880, + func_8140CB90, + &D_843920C0[4], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C930, + func_8140CDDC, + &D_843920C0[5], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C9EC, + func_8140D0E4, + &D_843920C0[20], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C9EC, + func_8140D1FC, + &D_843920C0[20], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C930, + func_8140CDDC, + &D_843920C0[5], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C930, + func_8140CE68, + &D_843920C0[5], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C9EC, + func_8140D1FC, + &D_843920C0[20], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140CA30, + func_8140D0E4, + &D_843920C0[9], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C820, + func_8140CB90, + &D_843920C0[3], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C880, + func_8140CDDC, + &D_843920C0[23], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C8B8, + func_8140CDDC, + &D_843920C0[14], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C78C, + func_8140CDDC, + &D_843920C0[17], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C880, + func_8140CDDC, + &D_843920C0[14], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C9B0, + func_8140CC04, + &D_843920C0[8], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C9B0, + func_8140CC04, + &D_843920C0[8], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C9B0, + func_8140CC90, + &D_843920C0[8], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140CA90, + func_8140D288, + &D_843920C0[18], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C78C, + func_8140CDDC, + &D_843920C0[17], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C78C, + func_8140CDDC, + &D_843920C0[17], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C930, + func_8140CDDC, + &D_843920C0[5], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140CA90, + func_8140D288, + &D_843920C0[18], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C880, + func_8140CDDC, + &D_843920C0[23], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C880, + func_8140CDDC, + &D_843920C0[13], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C8F4, + func_8140CDDC, + &D_843920C0[13], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140CAC8, + func_8140D288, + &D_843920C0[18], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C8B8, + func_8140CDDC, + &D_843920C0[23], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140CA64, + func_8140D314, + &D_843920C0[11], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C78C, + func_8140CDDC, + &D_843920C0[82], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C820, + func_8140CFBC, + &D_843920C0[16], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C7C0, + func_8140CDDC, + &D_843920C0[84], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C820, + func_8140CDDC, + &D_843920C0[169], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C820, + func_8140CDDC, + &D_843920C0[172], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C820, + func_8140CDDC, + &D_843920C0[166], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C820, + func_8140CDDC, + &D_843920C0[167], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C84C, + func_8140CDDC, + &D_843920C0[83], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C84C, + func_8140CDDC, + &D_843920C0[83], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140CB04, + func_8140D288, + &D_843920C0[89], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C7C0, + func_8140CFBC, + &D_843920C0[95], + }, + { + 0x01, + 0x01, + 0x0000, + func_8140C7C0, + func_84330170, + &D_843920C0[95], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C78C, + func_8140CDDC, + &D_843920C0[2], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C78C, + func_8140CDDC, + &D_843920C0[100], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C84C, + func_8140CF30, + &D_843920C0[83], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C84C, + func_8140CF30, + &D_843920C0[83], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C84C, + func_8140CDDC, + &D_843920C0[101], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C84C, + func_8140CDDC, + &D_843920C0[83], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140CB38, + func_8140D404, + &D_843920C0[63], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140CB64, + func_8140D404, + &D_843920C0[112], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C84C, + func_8140CED4, + &D_843920C0[83], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C7EC, + func_8140D170, + &D_843920C0[117], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C78C, + func_8140CDDC, + &D_843920C0[122], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C78C, + func_8140CDDC, + &D_843920C0[82], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C7C0, + func_8140CFBC, + &D_843920C0[95], + }, + { + 0x00, + 0x01, + 0x0001, + func_8140C78C, + func_8140CFBC, + &D_843920C0[82], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C78C, + func_8140CFBC, + &D_843920C0[82], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C84C, + func_8140CDDC, + &D_843920C0[83], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C8B8, + func_8140CDDC, + &D_843920C0[14], + }, + { + 0x00, + 0x01, + 0x0000, + func_8140C78C, + func_8140CE68, + &D_843920C0[17], + }, +}; -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432B808.s") +unk_D_8140E728_01C D_843861D0[] = { + { + 0x00000001, + &D_84385E40[0], + }, + { + 0x00000001, + &D_84385E40[1], + }, + { + 0x00000001, + &D_84385E40[2], + }, + { + 0x00000001, + &D_84385E40[3], + }, + { + 0x00000001, + &D_84385E40[4], + }, + { + 0x00000001, + &D_84385E40[7], + }, + { + 0x00000003, + func_84331094, + }, + { + 0x00000001, + &D_84385E40[8], + }, + { + 0x00000001, + &D_84385E40[9], + }, + { + 0x00000001, + &D_84385E40[10], + }, + { + 0x00000001, + &D_84385E40[55], + }, + { + 0x00000001, + &D_84385E40[11], + }, + { + 0x00000001, + &D_84385E40[12], + }, + { + 0x00000001, + &D_84385E40[13], + }, + { + 0x00000001, + &D_84385E40[14], + }, + { + 0x00000003, + func_843310A0, + }, + { + 0x00000003, + func_843311D8, + }, + { + 0x00000003, + func_84331314, + }, + { + 0x00000003, + func_84331450, + }, + { + 0x00000003, + func_8433157C, + }, + { + 0x00000003, + func_843316A8, + }, + { + 0x00000001, + &D_84385E40[16], + }, + { + 0x00000001, + &D_84385E40[22], + }, + { + 0x00000001, + &D_84385E40[23], + }, + { + 0x00000001, + &D_84385E40[17], + }, + { + 0x00000001, + &D_84385E40[18], + }, + { + 0x00000001, + &D_84385E40[56], + }, + { + 0x00000001, + &D_84385E40[5], + }, + { + 0x00000003, + func_843317D4, + }, + { + 0x00000003, + func_843318F8, + }, + { + 0x00000003, + func_84331A1C, + }, + { + 0x00000001, + &D_84385E40[19], + }, + { + 0x00000001, + &D_84385E40[20], + }, + { + 0x00000001, + &D_84385E40[24], + }, + { + 0x00000001, + &D_84385E40[21], + }, + { + 0x00000001, + &D_84385E40[25], + }, + { + 0x00000001, + &D_84385E40[26], + }, + { + 0x00000003, + func_84331D60, + }, + { + 0x00000003, + func_84331B58, + }, + { + 0x00000003, + func_84331C34, + }, + { + 0x00000003, + func_84330AF0, + }, + { + 0x00000003, + func_84330B40, + }, + { + 0x00000001, + &D_84385E40[15], + }, + { + 0x00000003, + func_84330C70, + }, + { + 0x00000003, + func_84330D64, + }, + { + 0x00000003, + func_84330E58, + }, + { + 0x00000003, + func_84330F4C, + }, + { + 0x00000003, + func_84330388, + }, + { + 0x00000003, + func_843304AC, + }, + { + 0x00000003, + func_84330574, + }, + { + 0x00000003, + func_84330688, + }, + { + 0x00000003, + func_8433079C, + }, + { + 0x00000001, + &D_84385E40[27], + }, + { + 0x00000001, + &D_84385E40[6], + }, + { + 0x00000001, + &D_84385E40[45], + }, + { + 0x00000001, + &D_84385E40[28], + }, + { + 0x00000001, + &D_84385E40[29], + }, + { + 0x00000001, + &D_84385E40[30], + }, + { + 0x00000001, + &D_84385E40[31], + }, + { + 0x00000001, + &D_84385E40[32], + }, + { + 0x00000001, + &D_84385E40[33], + }, + { + 0x00000001, + &D_84385E40[34], + }, + { + 0x00000001, + &D_84385E40[35], + }, + { + 0x00000001, + &D_84385E40[54], + }, + { + 0x00000001, + &D_84385E40[36], + }, + { + 0x00000003, + func_84330B18, + }, + { + 0x00000001, + &D_84385E40[37], + }, + { + 0x00000001, + &D_84385E40[38], + }, + { + 0x00000001, + &D_84385E40[51], + }, + { + 0x00000001, + &D_84385E40[39], + }, + { + 0x00000001, + &D_84385E40[40], + }, + { + 0x00000001, + &D_84385E40[41], + }, + { + 0x00000001, + &D_84385E40[42], + }, + { + 0x00000001, + &D_84385E40[43], + }, + { + 0x00000001, + &D_84385E40[44], + }, + { + 0x00000001, + &D_84385E40[46], + }, + { + 0x00000001, + &D_84385E40[47], + }, + { + 0x00000001, + &D_84385E40[48], + }, + { + 0x00000003, + func_84330300, + }, + { + 0x00000003, + func_84330344, + }, + { + 0x00000001, + &D_84385E40[49], + }, + { + 0x00000001, + &D_84385E40[50], + }, + { + 0x00000003, + func_84330934, + }, + { + 0x00000001, + &D_84385E40[52], + }, + { + 0x00000001, + &D_84385E40[53], + }, + { + 0x00000000, + NULL, + }, +}; -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432BBC0.s") +static func_D_84388CA8 D_84386480[] = { + func_8432F998, func_84342CF0, func_8433B2E8, func_8434DE6C, func_8433BAA8, func_8432F998, func_8433B4AC, + func_84356AC8, func_84344A4C, func_8432F998, func_843473BC, func_84357AB8, func_84343288, func_84356FAC, + func_84343988, func_8433B290, func_8435811C, func_8434A324, func_8433DC80, func_8432F998, func_843378CC, + func_8434C590, func_84336B8C, func_84336EE8, func_8434BF2C, func_8432F998, func_8433BC38, func_8432F998, + func_843443E0, func_84358DE4, func_84358F6C, func_84357E60, func_8432F998, func_8432F998, func_84345038, + func_843371C0, func_8434CE14, func_8434A898, func_84342808, func_8433BD08, func_84345D74, func_84356254, + func_8432F998, func_8432F998, func_8432F998, func_8434ED48, func_8432F998, func_8433B988, func_8433B374, + func_8434D8D8, func_84348630, func_8432F998, func_84349628, func_84344508, func_8432F998, func_84349830, + func_843579C0, func_84357B80, func_8433B6FC, func_8433E124, func_84358DE4, func_84356DBC, func_8432F998, + func_84346B58, func_84346EEC, func_84344248, func_84346F40, func_8432F998, func_84349384, func_84349504, + func_8433BDFC, func_84349058, func_84347448, func_8433E46C, func_84349108, func_84346DC4, func_84344474, + func_8433BB78, func_8433BECC, func_843498D8, func_84349A14, func_84358034, func_84348630, func_8434A7DC, + func_843374A4, func_84358288, func_84345EC0, func_8434A9EC, func_8434AA6C, func_84358A5C, func_8434AC8C, + func_8434AD1C, func_8434AD70, func_8434C618, func_8434B000, func_8434BA70, func_8434C070, func_8434C0C4, + func_8432F998, func_8434CAD8, func_8434D0F8, func_8434D448, func_8432E9B8, func_8434E0CC, func_8434E02C, + func_8434E74C, func_8434DA94, func_8434DB40, func_8435674C, func_84358EA0, func_84358EDC, func_843490A8, + func_8434ACEC, func_8434E8E0, func_8435839C, func_843584C0, func_84358538, func_84357700, func_8434EBA0, + func_8434EC08, func_8433BB78, func_8434E9A0, func_8433FD30, func_8435727C, func_8435742C, func_84344094, + func_8433765C, func_8434EF68, func_8434EFBC, func_8434F010, func_8434F060, func_8434F0B8, func_8434F350, + func_8433FAF8, func_8433F758, func_8433F5D4, func_8432F998, func_84356CA4, func_84356D04, func_8433F414, + func_8433F4CC, func_8433F4EC, func_8433F5B4, func_8433F974, func_8432F998, +}; +static func_D_84388CA8 D_843866C4[] = { + func_8432F9A0, func_8432F9A0, func_8433B58C, func_84357A64, func_84357AE0, func_84357110, func_8434575C, + func_8434A384, func_8433DECC, func_8432F9A0, func_84346BE0, func_8432F9A0, func_8432F9A0, func_84344BDC, + func_84355E58, func_843372D8, func_8434CF64, func_84342908, func_84357CC8, func_8432F9A0, func_8433BF54, + func_84345B84, func_84337000, func_843450B4, func_8432F9A0, func_8434E1B8, func_84340CB0, func_8433B7E4, + func_8433E33C, func_843375B0, func_84356EF4, func_84344B04, func_8432F9A0, func_8432F9A0, func_8433B3D8, + func_84355EF0, func_84355F88, func_84356148, func_843561A0, func_843567F4, func_8433766C, func_8434915C, + func_8435643C, func_843565DC, func_84356020, func_843568C8, func_843569A0, func_843561F8, func_8432F9A0, + func_84345B28, func_84346E50, func_8434C5F0, func_84356AF0, func_8433C3A0, func_84336DD8, func_84357F64, + func_84336C80, func_843581FC, func_8434A930, func_843378D4, func_8434C720, func_8434B064, func_8434BCD4, + func_8434C144, func_8434CC68, func_8434D5EC, func_8434D938, func_8433C06C, func_8433C284, func_8433C4EC, + func_8433C604, func_8433C784, func_8433DFF4, func_8434DD08, func_8434DBEC, func_8434A9CC, func_8434E870, + func_8434E940, func_8434967C, func_8434ECF4, func_843560B4, func_843489FC, func_843489FC, func_8434917C, + func_8434EA10, func_8435783C, func_8433CAFC, func_84340D14, func_843574FC, func_8432F9A0, +}; +static u8 D_8438682C[] = { + 0x3F, 0x00, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00, + 0x3F, 0x00, 0x00, 0x00, 0x01, 0x3F, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432BF88.s") +}; +static u8 D_84386844[] = { + 0x03, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C0D0.s") +}; +static u8 D_84386848[] = { + 0x04, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C14C.s") +}; +static u8 D_8438684C[] = { + 0x05, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C194.s") +}; +static u8 D_84386850[] = { + 0x06, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C1E0.s") +}; +static u8 D_84386854[] = { + 0x09, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C3F8.s") +}; +static u8 D_84386858[] = { + 0x0A, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C4CC.s") +}; +static u8 D_8438685C[] = { + 0x0B, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C504.s") +}; +static u8 D_84386860[] = { + 0x0C, 0x3F, 0x00, 0x00, 0x0D, 0x3F, 0x00, 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C518.s") +}; +static u8 D_84386868[] = { + 0x0E, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C524.s") +}; +static u8 D_8438686C[] = { + 0x0F, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C538.s") +}; +static u8 D_84386870[] = { + 0x10, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C544.s") +}; +static u8 D_84386874[] = { + 0x11, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C550.s") +}; +static u8 D_84386878[] = { + 0x11, + 0x3D, + 0x3F, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C5D4.s") +}; +static u8 D_8438687C[] = { + 0x12, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C604.s") +}; +static u8 D_84386880[] = { + 0x13, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C654.s") +}; +static u8 D_84386884[] = { + 0x14, 0x3F, 0x00, 0x00, 0x15, 0x3F, 0x00, 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C68C.s") +}; +static u8 D_8438688C[] = { + 0x16, 0x3F, 0x00, 0x00, 0x17, 0x3F, 0x00, 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C6C4.s") +}; +static u8 D_84386894[] = { + 0x18, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C714.s") +}; +static u8 D_84386898[] = { + 0x19, + 0x32, + 0x3F, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C748.s") +}; +static u8 D_8438689C[] = { + 0x1A, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C768.s") +}; +static u8 D_843868A0[] = { + 0x1B, + 0x27, + 0x3F, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C7A0.s") +}; +static u8 D_843868A4[] = { + 0x1C, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C80C.s") +}; +static u8 D_843868A8[] = { + 0x27, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C830.s") +}; +static u8 D_843868AC[] = { + 0x1E, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C86C.s") +}; +static u8 D_843868B0[] = { + 0x1F, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C8BC.s") +}; +static u8 D_843868B4[] = { + 0x20, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C958.s") +}; +static u8 D_843868B8[] = { + 0x21, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432C9C0.s") +}; +static u8 D_843868BC[] = { + 0x22, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CA48.s") +}; +static u8 D_843868C0[] = { + 0x23, 0x3F, 0x00, 0x00, 0x24, 0x3F, 0x00, 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CAA8.s") +}; +static u8 D_843868C8[] = { + 0x25, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CAD0.s") +}; +static u8 D_843868CC[] = { + 0x26, + 0x11, + 0x3F, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CB60.s") +}; +static u8 D_843868D0[] = { + 0x27, + 0x32, + 0x3F, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CB68.s") +}; +static u8 D_843868D4[] = { + 0x28, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CBF8.s") +}; +static u8 D_843868D8[] = { + 0x29, + 0x03, + 0x3F, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CC54.s") +}; +static u8 D_843868DC[] = { + 0x2A, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CD14.s") +}; +static u8 D_843868E0[] = { + 0x2B, + 0x11, + 0x3F, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CD70.s") +}; +static u8 D_843868E4[] = { + 0x17, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CDD8.s") +}; +static u8 D_843868E8[] = { + 0x09, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CE00.s") +}; +static u8 D_843868EC[] = { + 0x0B, 0x3F, 0x00, 0x00, 0x0E, 0x3F, 0x00, 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CE3C.s") +}; +static u8 D_843868F4[] = { + 0x14, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CE78.s") +}; +static u8 D_843868F8[] = { + 0x15, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CED4.s") +}; +static u8 D_843868FC[] = { + 0x1E, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CEF0.s") +}; +static u8 D_84386900[] = { + 0x10, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CF74.s") +}; +static u8 D_84386904[] = { + 0x14, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432CFCC.s") +}; +static u8 D_84386908[] = { + 0x0C, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432D0D8.s") +}; +static u8 D_8438690C[] = { + 0x07, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432D150.s") +}; +static u8 D_84386910[] = { + 0x36, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432D178.s") +}; +static u8 D_84386914[] = { + 0x18, + 0x0D, + 0x3F, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432D340.s") +}; +static u8 D_84386918[] = { + 0x03, 0x3F, 0x00, 0x00, 0x14, 0x3F, 0x00, 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432D398.s") +}; +static u8 D_84386920[] = { + 0x2C, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432D424.s") +}; +static u8 D_84386924[] = { + 0x2C, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432D468.s") +}; +static u8 D_84386928[] = { + 0x3C, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432D4F4.s") +}; +static u8 D_8438692C[] = { + 0x2D, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432D538.s") +}; +static u8 D_84386930[] = { + 0x08, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432D55C.s") +}; +static u8 D_84386934[] = { + 0x2E, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432D570.s") +}; +static u8 D_84386938[] = { + 0x2F, + 0x3F, + 0x00, + 0x00, -#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_315D50/func_8432D594.s") +}; +static u8 D_8438693C[] = { + 0x30, + 0x3F, + 0x00, + 0x00, + +}; +static u8 D_84386940[] = { + 0x31, + 0x3F, + 0x00, + 0x00, + +}; +static u8 D_84386944[] = { + 0x32, + 0x3F, + 0x00, + 0x00, + +}; +static u8 D_84386948[] = { + 0x33, + 0x3F, + 0x00, + 0x00, + +}; +static u8 D_8438694C[] = { + 0x34, + 0x3F, + 0x00, + 0x00, + +}; +static u8 D_84386950[] = { + 0x35, + 0x3F, + 0x00, + 0x00, + +}; +static u8 D_84386954[] = { + 0x37, + 0x3F, + 0x00, + 0x00, + +}; +static u8 D_84386958[] = { + 0x38, + 0x3F, + 0x00, + 0x00, + +}; +static u8 D_8438695C[] = { + 0x39, + 0x3F, + 0x00, + 0x00, + +}; +static u8 D_84386960[] = { + 0x3A, + 0x0B, + 0x3F, + 0x00, + +}; +static u8 D_84386964[] = { + 0x3B, + 0x2C, + 0x3F, + 0x00, + +}; +static u8 D_84386968[] = { + 0x00, 0x00, 0x00, 0x00, 0x66, 0x00, 0x00, 0x00, + +}; +static u8 D_84386970[] = { + 0x90, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386974[] = { + 0x01, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386978[] = { + 0x02, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_8438697C[] = { + 0x03, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386980[] = { + 0x66, 0x04, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, + +}; +static u8 D_84386988[] = { + 0x06, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_8438698C[] = { + 0x3A, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386990[] = { + 0x66, + 0x07, + 0x00, + 0x00, + +}; +static u8 D_84386994[] = { + 0x08, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, + +}; +static u8 D_8438699C[] = { + 0x0A, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869A0[] = { + 0x66, 0x0B, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x00, + +}; +static u8 D_843869A8[] = { + 0x0D, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869AC[] = { + 0x7B, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869B0[] = { + 0x7C, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869B4[] = { + 0x0E, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869B8[] = { + 0x0F, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869BC[] = { + 0x10, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869C0[] = { + 0x11, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869C4[] = { + 0x12, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869C8[] = { + 0x13, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, + +}; +static u8 D_843869D0[] = { + 0x15, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869D4[] = { + 0x16, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869D8[] = { + 0x17, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869DC[] = { + 0x18, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869E0[] = { + 0x19, 0x00, 0x00, 0x00, 0x1B, 0x00, 0x00, 0x00, + +}; +static u8 D_843869E8[] = { + 0x1C, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869EC[] = { + 0x4C, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869F0[] = { + 0x1D, 0x00, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, + +}; +static u8 D_843869F8[] = { + 0x1F, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_843869FC[] = { + 0x20, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A00[] = { + 0x21, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A04[] = { + 0x22, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A08[] = { + 0x23, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A0C[] = { + 0x66, + 0x24, + 0x00, + 0x00, + +}; +static u8 D_84386A10[] = { + 0x25, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A14[] = { + 0x26, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A18[] = { + 0x66, + 0x27, + 0x00, + 0x00, + +}; +static u8 D_84386A1C[] = { + 0x28, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A20[] = { + 0x29, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A24[] = { + 0x66, + 0x2A, + 0x00, + 0x00, + +}; +static u8 D_84386A28[] = { + 0x2B, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A2C[] = { + 0x2C, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A30[] = { + 0x66, 0x2D, 0x00, 0x00, 0x2E, 0x00, 0x00, 0x00, + +}; +static u8 D_84386A38[] = { + 0x66, + 0x2F, + 0x00, + 0x00, + +}; +static u8 D_84386A3C[] = { + 0x30, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A40[] = { + 0x31, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A44[] = { + 0x32, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A48[] = { + 0x52, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A4C[] = { + 0x59, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A50[] = { + 0x34, 0x00, 0x00, 0x00, 0x35, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 0x00, + +}; +static u8 D_84386A5C[] = { + 0x37, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A60[] = { + 0x35, + 0x05, + 0x00, + 0x00, + +}; +static u8 D_84386A64[] = { + 0x6A, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A68[] = { + 0x6B, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A6C[] = { + 0x1B, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A70[] = { + 0x56, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A74[] = { + 0x1E, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A78[] = { + 0x5D, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A7C[] = { + 0x1C, + 0x36, + 0x00, + 0x00, + +}; +static u8 D_84386A80[] = { + 0x0E, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A84[] = { + 0x40, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A88[] = { + 0x0C, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A8C[] = { + 0x42, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A90[] = { + 0x5F, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A94[] = { + 0x66, + 0x4E, + 0x00, + 0x00, + +}; +static u8 D_84386A98[] = { + 0x3B, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386A9C[] = { + 0x38, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AA0[] = { + 0x66, + 0x39, + 0x00, + 0x00, + +}; +static u8 D_84386AA4[] = { + 0x3D, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AA8[] = { + 0x3E, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AAC[] = { + 0x7D, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AB0[] = { + 0x7E, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AB4[] = { + 0x7F, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AB8[] = { + 0x80, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386ABC[] = { + 0x81, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AC0[] = { + 0x82, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AC4[] = { + 0x83, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AC8[] = { + 0x84, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386ACC[] = { + 0x8B, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AD0[] = { + 0x8C, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AD4[] = { + 0x8D, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AD8[] = { + 0x8E, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386ADC[] = { + 0x85, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AE0[] = { + 0x86, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AE4[] = { + 0x8F, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AE8[] = { + 0x87, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AEC[] = { + 0x88, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AF0[] = { + 0x89, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AF4[] = { + 0x8A, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AF8[] = { + 0x3F, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386AFC[] = { + 0x41, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B00[] = { + 0x43, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B04[] = { + 0x71, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B08[] = { + 0x79, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B0C[] = { + 0x44, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B10[] = { + 0x45, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B14[] = { + 0x66, + 0x46, + 0x00, + 0x00, + +}; +static u8 D_84386B18[] = { + 0x47, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B1C[] = { + 0x6F, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B20[] = { + 0x48, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B24[] = { + 0x49, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B28[] = { + 0x4A, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B2C[] = { + 0x4B, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B30[] = { + 0x66, + 0x78, + 0x00, + 0x00, + +}; +static u8 D_84386B34[] = { + 0x4F, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B38[] = { + 0x50, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B3C[] = { + 0x51, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B40[] = { + 0x53, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B44[] = { + 0x54, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B48[] = { + 0x55, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B4C[] = { + 0x72, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B50[] = { + 0x73, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B54[] = { + 0x74, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B58[] = { + 0x57, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B5C[] = { + 0x58, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B60[] = { + 0x59, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B64[] = { + 0x5A, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B68[] = { + 0x5B, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B6C[] = { + 0x5C, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B70[] = { + 0x5E, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B74[] = { + 0x60, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B78[] = { + 0x61, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B7C[] = { + 0x62, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B80[] = { + 0x63, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B84[] = { + 0x64, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B88[] = { + 0x65, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B8C[] = { + 0x66, + 0x1A, + 0x00, + 0x00, + +}; +static u8 D_84386B90[] = { + 0x67, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B94[] = { + 0x68, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B98[] = { + 0x69, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386B9C[] = { + 0x6C, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BA0[] = { + 0x6D, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BA4[] = { + 0x6E, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BA8[] = { + 0x70, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BAC[] = { + 0x75, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BB0[] = { + 0x76, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BB4[] = { + 0x77, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BB8[] = { + 0x7A, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BBC[] = { + 0x00, 0x00, 0x00, 0x00, 0x59, 0x00, 0x00, 0x00, + +}; +static u8 D_84386BC4[] = { + 0x01, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BC8[] = { + 0x30, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, + +}; +static u8 D_84386BD0[] = { + 0x04, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BD4[] = { + 0x05, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BD8[] = { + 0x58, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, + +}; +static u8 D_84386BE0[] = { + 0x07, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BE4[] = { + 0x08, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BE8[] = { + 0x48, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BEC[] = { + 0x09, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386BF0[] = { + 0x0A, 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x00, 0x0D, 0x00, 0x00, 0x00, + +}; +static u8 D_84386C00[] = { + 0x0E, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C04[] = { + 0x23, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C08[] = { + 0x24, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C0C[] = { + 0x25, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C10[] = { + 0x54, + 0x25, + 0x00, + 0x00, + +}; +static u8 D_84386C14[] = { + 0x4D, + 0x0E, + 0x00, + 0x00, + +}; +static u8 D_84386C18[] = { + 0x26, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C1C[] = { + 0x0F, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C20[] = { + 0x10, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C24[] = { + 0x11, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C28[] = { + 0x12, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, + +}; +static u8 D_84386C34[] = { + 0x15, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C38[] = { + 0x16, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C3C[] = { + 0x17, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C40[] = { + 0x18, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C44[] = { + 0x19, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C48[] = { + 0x0D, + 0x0E, + 0x00, + 0x00, + +}; +static u8 D_84386C4C[] = { + 0x03, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C50[] = { + 0x07, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C54[] = { + 0x22, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C58[] = { + 0x35, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C5C[] = { + 0x45, 0x00, 0x00, 0x00, 0x0E, 0x04, 0x00, 0x00, + +}; +static u8 D_84386C64[] = { + 0x1A, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C68[] = { + 0x09, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C6C[] = { + 0x06, + 0x0E, + 0x00, + 0x00, + +}; +static u8 D_84386C70[] = { + 0x1B, 0x00, 0x00, 0x00, 0x1C, 0x00, 0x00, 0x00, + +}; +static u8 D_84386C78[] = { + 0x1D, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C7C[] = { + 0x1E, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C80[] = { + 0x55, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C84[] = { + 0x1F, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C88[] = { + 0x20, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C8C[] = { + 0x21, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C90[] = { + 0x4F, + 0x27, + 0x00, + 0x00, + +}; +static u8 D_84386C94[] = { + 0x28, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C98[] = { + 0x29, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386C9C[] = { + 0x2A, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CA0[] = { + 0x2B, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CA4[] = { + 0x2C, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CA8[] = { + 0x2D, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CAC[] = { + 0x4F, + 0x2D, + 0x00, + 0x00, + +}; +static u8 D_84386CB0[] = { + 0x2E, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CB4[] = { + 0x2F, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CB8[] = { + 0x31, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CBC[] = { + 0x32, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CC0[] = { + 0x3F, 0x23, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, + +}; +static u8 D_84386CC8[] = { + 0x34, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CCC[] = { + 0x36, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CD0[] = { + 0x37, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CD4[] = { + 0x39, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CD8[] = { + 0x49, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CDC[] = { + 0x4A, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CE0[] = { + 0x3A, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CE4[] = { + 0x4B, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CE8[] = { + 0x3B, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CEC[] = { + 0x3C, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CF0[] = { + 0x3D, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CF4[] = { + 0x3E, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CF8[] = { + 0x40, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386CFC[] = { + 0x2D, + 0x1E, + 0x00, + 0x00, + +}; +static u8 D_84386D00[] = { + 0x41, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386D04[] = { + 0x42, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386D08[] = { + 0x43, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386D0C[] = { + 0x44, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386D10[] = { + 0x46, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386D14[] = { + 0x47, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386D18[] = { + 0x50, + 0x4C, + 0x00, + 0x00, + +}; +static u8 D_84386D1C[] = { + 0x38, 0x00, 0x00, 0x00, 0x4D, 0x00, 0x00, 0x00, + +}; +static u8 D_84386D24[] = { + 0x4E, 0x00, 0x00, 0x00, 0x4F, 0x00, 0x00, 0x00, + +}; +static u8 D_84386D2C[] = { + 0x51, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386D30[] = { + 0x52, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386D34[] = { + 0x02, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386D38[] = { + 0x56, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386D3C[] = { + 0x53, + 0x00, + 0x00, + 0x00, + +}; +static u8 D_84386D40[] = { + 0x57, + 0x23, + 0x00, + 0x00, +}; +static u8* D_84386D44[][2] = { + { + D_84386968, + D_8438682C, + }, + { + D_84386ADC, + D_84386920, + }, + { + D_84386AE0, + D_84386920, + }, + { + D_84386AE8, + D_84386924, + }, + { + D_84386AEC, + D_84386924, + }, + { + D_84386AF0, + D_8438692C, + }, + { + D_84386AF4, + D_8438682C, + }, + { + D_84386968, + D_8438682C, + }, + { + D_84386ACC, + D_84386924, + }, + { + D_843869D0, + D_84386870, + }, + { + D_84386AD0, + D_84386928, + }, + { + D_84386AD4, + D_84386928, + }, + { + D_84386AE4, + D_84386920, + }, + { + D_84386AD8, + D_84386928, + }, + { + D_84386BB8, + D_8438682C, + }, +}; +static u8* D_84386DBC[] = { + D_84386968, D_84386AAC, D_84386AB0, D_84386974, D_84386B10, D_84386AB4, + D_84386AB8, D_84386ABC, D_84386AC0, D_84386AC4, D_84386AC8, D_84386970, +}; +static u8* D_84386DEC[] = { + D_84386BBC, D_84386BC4, D_84386BEC, D_84386BC8, D_84386CB8, +}; +static u8* D_84386E00[] = { D_84386968, D_84386A2C }; +static u8* D_84386E08[][5] = { + { + D_84386968, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386968, + D_84386968, + D_84386CA4, + D_8438682C, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386CA4, + D_8438682C, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386C00, + D_8438682C, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386C04, + D_8438682C, + D_84386894, + }, + { + D_843869B8, + D_84386968, + D_84386D18, + D_84386844, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386C48, + D_8438682C, + D_843868E4, + }, + { + D_84386A9C, + D_84386968, + D_84386CCC, + D_84386874, + D_84386894, + }, + { + D_84386A20, + D_84386968, + D_84386C9C, + D_843868B0, + D_84386894, + }, + { + D_84386B24, + D_84386968, + D_84386CA0, + D_8438686C, + D_84386894, + }, + { + D_843869A8, + D_84386968, + D_84386BD4, + D_8438685C, + D_8438682C, + }, + { + D_84386B18, + D_84386968, + D_84386C98, + D_84386930, + D_84386894, + }, + { + D_84386B1C, + D_84386968, + D_84386D3C, + D_84386930, + D_84386894, + }, + { + D_8438699C, + D_84386B20, + D_84386C4C, + D_843868E8, + D_843868EC, + }, + { + D_84386B0C, + D_84386968, + D_84386BBC, + D_84386934, + D_8438682C, + }, + { + D_84386AA4, + D_84386968, + D_84386C7C, + D_8438685C, + D_8438682C, + }, + { + D_8438699C, + D_84386968, + D_84386CB4, + D_84386854, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386D40, + D_84386858, + D_84386894, + }, + { + D_8438699C, + D_84386968, + D_84386BBC, + D_84386854, + D_8438682C, + }, + { + D_84386968, + D_84386A1C, + D_84386CAC, + D_843868AC, + D_84386894, + }, + { + D_843869C8, + D_84386968, + D_84386BEC, + D_8438682C, + D_8438682C, + }, + { + D_84386968, + D_84386968, + D_84386CA8, + D_8438682C, + D_84386894, + }, + { + D_84386BAC, + D_84386968, + D_84386C80, + D_8438685C, + D_84386858, + }, + { + D_84386968, + D_84386968, + D_84386C90, + D_8438682C, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386C04, + D_8438682C, + D_84386894, + }, + { + D_84386978, + D_84386968, + D_84386D18, + D_84386844, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386CA4, + D_8438682C, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386CA4, + D_8438682C, + D_84386894, + }, + { + D_843869F8, + D_84386968, + D_84386CD0, + D_8438688C, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386C00, + D_8438682C, + D_84386894, + }, + { + D_84386BB4, + D_84386968, + D_84386C0C, + D_84386850, + D_84386894, + }, + { + D_84386BB0, + D_84386968, + D_84386CB4, + D_84386850, + D_84386894, + }, + { + D_84386B08, + D_84386968, + D_84386C10, + D_84386850, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386CA4, + D_8438682C, + D_84386894, + }, + { + D_84386B54, + D_84386968, + D_84386CAC, + D_8438682C, + D_84386894, + }, + { + D_843869C8, + D_84386968, + D_84386BEC, + D_8438682C, + D_8438682C, + }, + { + D_84386B50, + D_84386968, + D_84386CA4, + D_84386944, + D_84386894, + }, + { + D_84386B4C, + D_84386968, + D_84386CA8, + D_8438682C, + D_84386894, + }, + { + D_84386B50, + D_84386968, + D_84386CA8, + D_84386944, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386B00, + D_84386968, + D_84386C18, + D_84386850, + D_84386894, + }, + { + D_84386B00, + D_84386968, + D_84386C18, + D_84386850, + D_84386894, + }, + { + D_84386B00, + D_84386968, + D_84386C0C, + D_84386850, + D_84386894, + }, + { + D_84386B40, + D_84386968, + D_84386BBC, + D_8438693C, + D_8438682C, + }, + { + D_84386B28, + D_84386968, + D_84386C98, + D_84386930, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386968, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386A28, + D_84386968, + D_84386BBC, + D_843868B8, + D_8438682C, + }, + { + D_84386A2C, + D_84386968, + D_84386BBC, + D_843868BC, + D_8438682C, + }, + { + D_84386A30, + D_84386968, + D_84386C04, + D_843868C0, + D_84386894, + }, + { + D_84386B7C, + D_84386968, + D_84386C8C, + D_8438682C, + D_8438682C, + }, + { + D_843869C0, + D_84386968, + D_84386C50, + D_84386868, + D_8438682C, + }, + { + D_843869D4, + D_84386968, + D_84386D1C, + D_84386874, + D_84386894, + }, + { + D_843869D8, + D_84386968, + D_84386C38, + D_84386874, + D_84386894, + }, + { + D_84386A60, + D_84386968, + D_84386BBC, + D_843868F4, + D_8438682C, + }, + { + D_84386988, + D_84386968, + D_84386D34, + D_84386844, + D_84386868, + }, + { + D_8438698C, + D_84386968, + D_84386C70, + D_84386844, + D_84386868, + }, + { + D_84386A0C, + D_84386968, + D_84386C20, + D_8438689C, + D_84386844, + }, + { + D_84386A38, + D_84386968, + D_84386D08, + D_843868D8, + D_8438682C, + }, + { + D_84386A04, + D_84386968, + D_84386C3C, + D_84386898, + D_84386844, + }, + { + D_84386980, + D_84386968, + D_84386D0C, + D_8438682C, + D_843868D8, + }, + { + D_84386B30, + D_84386968, + D_84386C58, + D_8438682C, + D_843868D8, + }, + { + D_84386B8C, + D_84386968, + D_84386C5C, + D_8438682C, + D_843868D8, + }, + { + D_84386A18, + D_84386968, + D_84386D10, + D_843868A8, + D_843868D8, + }, + { + D_84386BB0, + D_84386968, + D_84386C0C, + D_84386850, + D_84386894, + }, + { + D_84386B04, + D_84386968, + D_84386C14, + D_84386850, + D_84386894, + }, + { + D_84386B9C, + D_84386968, + D_84386CB0, + D_8438682C, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386C08, + D_8438682C, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386CA4, + D_8438682C, + D_84386894, + }, + { + D_843869E0, + D_84386968, + D_84386CAC, + D_8438682C, + D_84386894, + }, + { + D_84386B2C, + D_84386968, + D_84386CBC, + D_8438687C, + D_8438682C, + }, + { + D_843869DC, + D_84386968, + D_84386C34, + D_84386880, + D_843868CC, + }, + { + D_843869DC, + D_84386968, + D_84386C34, + D_84386880, + D_843868CC, + }, + { + D_84386994, + D_84386968, + D_84386C84, + D_8438684C, + D_8438682C, + }, + { + D_84386BA0, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_843869A0, + D_84386968, + D_84386BD0, + D_84386858, + D_84386894, + }, + { + D_84386B14, + D_84386B98, + D_84386D14, + D_843868F8, + D_843868D8, + }, + { + D_84386AFC, + D_84386968, + D_84386C28, + D_843868C8, + D_84386894, + }, + { + D_84386AFC, + D_84386968, + D_84386C28, + D_843868C8, + D_84386894, + }, + { + D_84386AFC, + D_84386968, + D_84386C28, + D_843868C8, + D_84386894, + }, + { + D_84386AA0, + D_84386968, + D_84386C64, + D_84386858, + D_84386894, + }, + { + D_84386A00, + D_84386968, + D_84386C88, + D_8438682C, + D_8438682C, + }, + { + D_84386A08, + D_84386968, + D_84386C1C, + D_84386874, + D_84386894, + }, + { + D_84386B44, + D_84386968, + D_84386C78, + D_84386878, + D_84386894, + }, + { + D_84386A98, + D_84386968, + D_84386BE4, + D_8438686C, + D_8438682C, + }, + { + D_843869C4, + D_84386968, + D_84386BE4, + D_8438686C, + D_8438682C, + }, + { + D_84386A14, + D_84386968, + D_84386C24, + D_843868A4, + D_8438682C, + }, + { + D_843869C4, + D_84386968, + D_84386BE8, + D_8438686C, + D_8438682C, + }, + { + D_84386AF8, + D_84386968, + D_84386BF0, + D_8438682C, + D_8438687C, + }, + { + D_84386A10, + D_84386968, + D_84386CE4, + D_843868A0, + D_84386894, + }, + { + D_84386A10, + D_84386968, + D_84386CE0, + D_843868A0, + D_84386894, + }, + { + D_84386A50, + D_84386968, + D_84386D24, + D_843868D4, + D_84386894, + }, + { + D_843869C0, + D_84386968, + D_84386BE0, + D_84386868, + D_8438682C, + }, + { + D_84386A68, + D_84386968, + D_84386CD8, + D_843868CC, + D_84386894, + }, + { + D_84386A64, + D_84386968, + D_84386CDC, + D_843868CC, + D_84386894, + }, + { + D_84386A24, + D_84386968, + D_84386BBC, + D_843868B4, + D_8438682C, + }, + { + D_84386B74, + D_84386968, + D_84386BBC, + D_84386954, + D_8438682C, + }, + { + D_84386A6C, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386B64, + D_84386968, + D_84386CA4, + D_84386944, + D_84386894, + }, + { + D_84386B48, + D_84386968, + D_84386CA4, + D_843868CC, + D_84386894, + }, + { + D_84386A70, + D_84386968, + D_84386BBC, + D_843868FC, + D_8438682C, + }, + { + D_84386B78, + D_84386968, + D_84386CC0, + D_84386958, + D_84386894, + }, + { + D_843869F0, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386A24, + D_84386968, + D_84386BBC, + D_843868B4, + D_8438682C, + }, + { + D_84386A6C, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386BA4, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386A74, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386968, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_843869E8, + D_84386968, + D_84386BBC, + D_84386884, + D_84386894, + }, + { + D_84386A78, + D_84386968, + D_84386CEC, + D_84386900, + D_84386894, + }, + { + D_84386B68, + D_84386968, + D_84386BBC, + D_84386948, + D_8438682C, + }, + { + D_84386B58, + D_84386968, + D_84386BBC, + D_84386940, + D_84386894, + }, + { + D_843869B4, + D_84386968, + D_84386BBC, + D_84386860, + D_8438682C, + }, + { + D_843869B4, + D_84386968, + D_84386BBC, + D_84386860, + D_8438682C, + }, + { + D_84386A7C, + D_84386968, + D_84386BBC, + D_84386904, + D_8438682C, + }, + { + D_84386A80, + D_84386968, + D_84386BBC, + D_84386908, + D_8438682C, + }, + { + D_8438697C, + D_84386968, + D_84386BBC, + D_843868CC, + D_8438682C, + }, + { + D_84386B48, + D_84386968, + D_84386CA4, + D_843868CC, + D_84386894, + }, + { + D_843869FC, + D_84386968, + D_84386C40, + D_8438682C, + D_8438682C, + }, + { + D_84386968, + D_84386968, + D_84386C40, + D_8438682C, + D_8438682C, + }, + { + D_84386A44, + D_84386968, + D_84386D2C, + D_843868D0, + D_84386874, + }, + { + D_84386A84, + D_84386968, + D_84386C94, + D_8438690C, + D_84386874, + }, + { + D_84386B6C, + D_84386968, + D_84386BE0, + D_8438694C, + D_84386868, + }, + { + D_843869EC, + D_84386968, + D_84386C28, + D_84386884, + D_84386894, + }, + { + D_843869C0, + D_84386968, + D_84386BE0, + D_84386868, + D_8438682C, + }, + { + D_84386B34, + D_84386968, + D_84386C00, + D_84386938, + D_84386894, + }, + { + D_843869D8, + D_84386968, + D_84386CE8, + D_84386874, + D_84386894, + }, + { + D_84386B80, + D_84386968, + D_84386CF8, + D_8438695C, + D_84386844, + }, + { + D_84386B18, + D_84386968, + D_84386C98, + D_84386930, + D_84386894, + }, + { + D_84386990, + D_84386968, + D_84386CC8, + D_84386848, + D_84386894, + }, + { + D_84386BA8, + D_84386968, + D_84386D18, + D_84386944, + D_84386894, + }, + { + D_84386AA8, + D_84386968, + D_84386C0C, + D_84386850, + D_84386894, + }, + { + D_843869C8, + D_84386968, + D_84386C68, + D_8438682C, + D_8438682C, + }, + { + D_84386A88, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386A5C, + D_84386A2C, + D_84386BBC, + D_843868DC, + D_843868BC, + }, + { + D_84386A8C, + D_84386968, + D_84386BBC, + D_8438690C, + D_8438682C, + }, + { + D_84386B64, + D_84386968, + D_84386CA4, + D_84386944, + D_84386894, + }, + { + D_84386B40, + D_84386968, + D_84386BBC, + D_8438693C, + D_8438682C, + }, + { + D_84386A90, + D_84386968, + D_84386CF4, + D_84386910, + D_8438682C, + }, + { + D_843869E8, + D_84386968, + D_84386C28, + D_84386884, + D_84386894, + }, + { + D_84386B88, + D_84386968, + D_84386D00, + D_84386964, + D_84386894, + }, + { + D_843869DC, + D_84386968, + D_84386C34, + D_84386880, + D_843868CC, + }, + { + D_84386B70, + D_84386968, + D_84386CF0, + D_84386950, + D_8438682C, + }, + { + D_84386B90, + D_84386B94, + D_84386C44, + D_843868E0, + D_843868D8, + }, + { + D_84386B60, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386A3C, + D_84386968, + D_84386C54, + D_84386844, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386C6C, + D_8438682C, + D_84386914, + }, + { + D_84386AFC, + D_84386968, + D_84386C28, + D_843868C8, + D_84386894, + }, + { + D_843869BC, + D_84386968, + D_84386CD4, + D_8438682C, + D_84386894, + }, + { + D_84386A40, + D_84386968, + D_84386D04, + D_843868CC, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386B3C, + D_84386968, + D_84386BBC, + D_84386868, + D_84386894, + }, + { + D_84386B84, + D_84386968, + D_84386CFC, + D_84386960, + D_84386894, + }, + { + D_84386A48, + D_84386968, + D_84386D30, + D_843868D0, + D_84386874, + }, + { + D_843869B0, + D_843869AC, + D_84386BD8, + D_8438685C, + D_8438682C, + }, + { + D_84386B38, + D_84386968, + D_84386CA4, + D_84386938, + D_84386894, + }, + { + D_84386968, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386AF8, + D_84386968, + D_84386BF0, + D_8438682C, + D_8438687C, + }, + { + D_84386B28, + D_84386968, + D_84386C98, + D_84386930, + D_84386894, + }, + { + D_84386B5C, + D_84386968, + D_84386BBC, + D_84386940, + D_84386894, + }, + { + D_843869F0, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386A94, + D_84386968, + D_84386D38, + D_84386918, + D_84386894, + }, + { + D_84386B28, + D_84386968, + D_84386C98, + D_84386930, + D_84386894, + }, + { + D_843869A8, + D_84386968, + D_84386BD4, + D_8438685C, + D_8438682C, + }, + { + D_84386A4C, + D_84386968, + D_84386BBC, + D_8438682C, + D_8438682C, + }, + { + D_84386B4C, + D_84386968, + D_84386CA4, + D_8438682C, + D_84386894, + }, +}; + +/* +static func_D_84388CA8 D_84388280[] = { + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_8435BED8, func_84359684, func_843593A0, + func_84359FE0, func_843593A0, func_843593A0, func_843593A0, func_8435A7F0, func_843593A0, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_84359C84, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_8435B8E8, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_8435A298, func_843593A0, + func_843593A0, func_84359A00, func_843593A0, func_843593A0, func_8435C96C, func_843593A0, func_843593A0, + func_8435ABF0, func_8435AC94, func_8435AD38, func_8435ADDC, func_843593A0, func_8435BB64, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_84359910, func_843593A0, + func_843593A0, func_8435A9F0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_8435B0B0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_8435B2C8, func_843593A0, func_843593A0, + func_8435C448, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, + func_8435C220, func_8435B580, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, + func_8435A6F8, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, func_843593A0, + func_843593A0, func_843593A0, func_843593A0, +}; + +static func_D_84388CA8 D_843884D8[] = { + func_843593A8, func_84359750, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, + func_843593A8, func_843593A8, func_84359D7C, func_843593A8, func_843593A8, func_843593A8, func_843593A8, + func_843593A8, func_843593A8, func_84359AE0, func_843593A8, func_843593A8, func_84359820, func_843593A8, + func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, + func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_8435A390, func_8435A480, func_843593A8, + func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, + func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_84359684, + func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, + func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, + func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, + func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, + func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, + func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, + func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, func_843593A8, + func_843593A8, func_843593A8, +}; + +static func_D_84388CA8 D_84388668[] = { + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_8435BF08, func_843596DC, func_843593B0, + func_8435A014, func_843593B0, func_843593B0, func_843593B0, func_8435A81C, func_843593B0, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_84359CB8, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_8435B918, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_8435A2CC, func_843593B0, + func_843593B0, func_84359A6C, func_843593B0, func_843593B0, func_8435C9AC, func_843593B0, func_843593B0, + func_8435AC20, func_8435ACC4, func_8435AD68, func_8435AE08, func_843593B0, func_8435BB98, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_8435998C, func_843593B0, + func_843593B0, func_8435AA1C, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_8435B0DC, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_8435B408, func_843593B0, func_843593B0, + func_8435C478, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, + func_8435C250, func_8435B5B4, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, + func_8435A72C, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, func_843593B0, + func_843593B0, func_843593B0, func_843593B0, +}; + +static func_D_84388CA8 D_843888C0[] = { + func_843593B8, func_843597AC, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, + func_843593B8, func_843593B8, func_84359DF4, func_843593B8, func_843593B8, func_843593B8, func_843593B8, + func_843593B8, func_843593B8, func_84359AE8, func_843593B8, func_843593B8, func_8435989C, func_843593B8, + func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, + func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_8435A40C, func_8435A4F8, func_843593B8, + func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, + func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843596DC, + func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, + func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, + func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, + func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, + func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, + func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, + func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, func_843593B8, + func_843593B8, func_843593B8, +}; + +static func_D_84388CA8 D_84388A50[] = { + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_8435BF28, func_843596FC, func_843593C0, + func_8435A084, func_843593C0, func_843593C0, func_843593C0, func_8435A99C, func_843593C0, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_84359D28, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_8435B938, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_8435A33C, func_843593C0, + func_843593C0, func_84359A8C, func_843593C0, func_843593C0, func_8435CA08, func_843593C0, func_843593C0, + func_8435AC40, func_8435ACE4, func_8435AD88, func_8435B048, func_843593C0, func_8435BBEC, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843599AC, func_843593C0, + func_843593C0, func_8435AB9C, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_8435B260, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_8435B454, func_843593C0, func_843593C0, + func_8435C498, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, + func_8435C270, func_8435B600, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, + func_8435A79C, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, func_843593C0, + func_843593C0, func_843593C0, func_843593C0, +}; + +static func_D_84388CA8 D_84388CA8[] = { + func_843593C8, func_843597CC, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, + func_843593C8, func_843593C8, func_84359E14, func_843593C8, func_843593C8, func_843593C8, func_843593C8, + func_843593C8, func_843593C8, func_84359AF0, func_843593C8, func_843593C8, func_843598BC, func_843593C8, + func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, + func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_8435A42C, func_8435A518, func_843593C8, + func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, + func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843596FC, + func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, + func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, + func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, + func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, + func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, + func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, + func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, func_843593C8, + func_843593C8, func_843593C8, +}; +*/ + +void func_8432B490(void) { + func_80048B90(1); +} + +void func_8432B4B0(void) { + func_80048B90(2); +} + +void func_8432B4D0(void) { + func_80048B90(3); +} + +void func_8432B4F0(void) { + func_80048B90(8); +} + +void func_8432B510(unk_D_84390010* arg0, s16 arg1) { + if (func_84307B60(arg0) != 0) { + func_8004E810(0xC8, 2); + } else { + func_8004E810(arg1, 2); + } +} + +void func_8432B554(unk_D_84390010* arg0) { + s16 sp1E = arg0->unk_000.unk_01A; + + func_84307C04(arg0); + func_800367A0(0x33, sp1E, 0); +} + +void func_8432B588(unk_D_84390010* arg0) { + func_8003EB40(func_84308D98(arg0), &arg0->unk_654.unk_38); +} + +void func_8432B5B8(unk_D_84390010* arg0, unk_D_800FCB18* arg1, s32 arg2) { + func_800479C0(arg1->unk_5A, arg0->unk_000.unk_01A, arg2); + func_80040A70(arg1, arg1->unk_5A, arg0->unk_000.unk_01A, arg2); +} + +void func_8432B604(void) { + unk_D_84390010* ptr1 = D_84390010[0]; + unk_D_84390010* ptr2 = D_84390010[1]; + u8 i; + u8 sp20[4]; + + sp20[0] = 0xA; + sp20[1] = 0xA; + sp20[2] = 0xA; + sp20[3] = 0xA; + + sp20[ptr1->unk_720->unk_08[0]->unk_001] = 1; + if (ptr1->unk_720->unk_01 == 2) { + sp20[ptr1->unk_720->unk_08[1]->unk_001] = 1; + } + sp20[ptr2->unk_720->unk_08[0]->unk_001] = 2; + if (ptr2->unk_720->unk_01 == 2) { + sp20[ptr2->unk_720->unk_08[1]->unk_001] = 2; + } + + for (i = 0; i < 4; i++) { + if (sp20[i] == 0xA) { + sp20[i] = 0; + } + } + + func_8003D828(sp20[0], sp20[1], sp20[2], sp20[3]); +} + +void func_8432B704(void) { + unk_D_84390010* ptr1 = D_84390010[0]; + unk_D_84390010* ptr2 = D_84390010[1]; + u8 sp24[4]; + + sp24[0] = 0; + sp24[1] = 0; + sp24[2] = 0; + sp24[3] = 0; + + sp24[ptr1->unk_720->unk_08[0]->unk_001] = func_84308D90(ptr1->unk_720->unk_08[0]); + if (ptr1->unk_720->unk_01 == 2) { + sp24[ptr1->unk_720->unk_08[1]->unk_001] = func_84308D90(ptr1->unk_720->unk_08[1]); + } + + sp24[ptr2->unk_720->unk_08[0]->unk_001] = func_84308D90(ptr2->unk_720->unk_08[0]); + if (ptr2->unk_720->unk_01 == 2) { + sp24[ptr2->unk_720->unk_08[1]->unk_001] = func_84308D90(ptr2->unk_720->unk_08[1]); + } + func_8003D6B0(sp24[0], sp24[1], sp24[2], sp24[3]); +} + +void func_8432B808(void) { + switch (D_800AE540.unk_0000) { + case 0: + switch (D_800AE540.unk_0001) { + case 0: + func_8003D918(0, 0xE); + break; + + case 1: + func_8003D918(0, 0xA); + break; + + case 2: + func_8003D918(0, 0xB); + break; + + case 3: + func_8003D918(0, 6); + break; + + case 4: + func_8003D918(0, 5); + break; + + case 5: + func_8003D918(0, 4); + break; + + case 6: + func_8003D918(0, 0); + break; + + case 7: + func_8003D918(0, 0xC); + break; + + case 8: + func_8003D918(0, 0xC); + break; + } + break; + + case 1: + func_8003D918(D_800AE540.unk_0003, 0xA); + break; + + case 2: + func_8003D918(D_800AE540.unk_0003, 0xB); + break; + + case 3: + switch (D_800AE540.unk_0002) { + case 0: + func_8003D918(D_800AE540.unk_0003, 6); + break; + + case 1: + func_8003D918(D_800AE540.unk_0003, 7); + break; + + case 2: + func_8003D918(D_800AE540.unk_0003, 8); + break; + + case 3: + func_8003D918(D_800AE540.unk_0003, 9); + break; + } + break; + + case 4: + func_8003D918(D_800AE540.unk_0003, 5); + break; + + case 5: + func_8003D918(D_800AE540.unk_0003, 4); + break; + + case 6: + switch (D_800AE540.unk_0002) { + case 0: + func_8003D918(D_800AE540.unk_0003, 0); + break; + + case 1: + func_8003D918(D_800AE540.unk_0003, 1); + break; + + case 2: + func_8003D918(D_800AE540.unk_0003, 2); + break; + + case 3: + func_8003D918(D_800AE540.unk_0003, 3); + break; + } + break; + + case 7: + if (D_800AE540.unk_0002 == 9) { + func_8003D918(5, 0xD); + } else if (D_800AE540.unk_0002 == 8) { + func_8003D918(D_800AE540.unk_0003, 0xD); + } else { + func_8003D918((D_800AE540.unk_0002 * 4) + D_800AE540.unk_0003, 0xC); + } + break; + + case 8: + func_8003D918(D_800AE540.unk_0003, 0xF); + break; + + case 10: + switch (D_800AE540.unk_0001) { + case 0: + func_8003D918(0xFF, 0xE); + break; + + case 1: + func_8003D918(0xFF, 0xA); + break; + + case 2: + func_8003D918(0xFF, 0xB); + break; + + case 3: + func_8003D918(0xFF, 6); + break; + + case 4: + func_8003D918(0xFF, 5); + break; + + case 5: + func_8003D918(0xFF, 4); + break; + + case 6: + func_8003D918(0xFF, 0); + break; + + case 7: + func_8003D918(0xFF, 0xC); + break; + + case 8: + func_8003D918(0xFF, 0xC); + break; + } + break; + + case 9: + func_8003D918(0, 0x10); + break; + } +} + +void func_8432BBC0(void) { + switch (D_800AE540.unk_0000) { + case 16: + func_8004B1CC(1); + break; + + case 0: + switch (D_800AE540.unk_0001) { + case 0: + func_8004BA88(0, 0xE); + break; + + case 1: + func_8004BA88(0, 0xA); + break; + + case 2: + func_8004BA88(0, 0xB); + break; + + case 3: + func_8004BA88(0, 6); + break; + + case 4: + func_8004BA88(0, 5); + break; + + case 5: + func_8004BA88(0, 4); + break; + + case 6: + func_8004BA88(0, 0); + break; + + case 7: + func_8004BA88(0, 0xC); + break; + + case 8: + func_8004BA88(0, 0xC); + break; + } + break; + + case 1: + func_8004BA88(D_800AE540.unk_0003, 0xA); + break; + + case 2: + func_8004BA88(D_800AE540.unk_0003, 0xB); + break; + + case 3: + switch (D_800AE540.unk_0002) { + case 0: + func_8004BA88(D_800AE540.unk_0003, 6); + break; + + case 1: + func_8004BA88(D_800AE540.unk_0003, 7); + break; + + case 2: + func_8004BA88(D_800AE540.unk_0003, 8); + break; + + case 3: + func_8004BA88(D_800AE540.unk_0003, 9); + break; + } + break; + + case 4: + func_8004BA88(D_800AE540.unk_0003, 5); + break; + + case 5: + func_8004BA88(D_800AE540.unk_0003, 4); + break; + + case 6: + switch (D_800AE540.unk_0002) { + case 0: + func_8004BA88(D_800AE540.unk_0003, 0); + break; + + case 1: + func_8004BA88(D_800AE540.unk_0003, 1); + break; + + case 2: + func_8004BA88(D_800AE540.unk_0003, 2); + break; + + case 3: + func_8004BA88(D_800AE540.unk_0003, 3); + break; + } + break; + + case 7: + if (D_800AE540.unk_0002 == 9) { + func_8004BA88(5, 0xD); + } else if (D_800AE540.unk_0002 == 8) { + func_8004BA88(D_800AE540.unk_0003, 0xD); + } else { + func_8004BA88((D_800AE540.unk_0002 * 4) + D_800AE540.unk_0003, 0xC); + } + break; + + case 8: + func_8004BA88(D_800AE540.unk_0003, 0xF); + break; + + case 10: + switch (D_800AE540.unk_0001) { + case 0: + func_8004BA88(0xFF, 0xE); + break; + + case 1: + func_8004BA88(0xFF, 0xA); + break; + + case 2: + func_8004BA88(0xFF, 0xB); + break; + + case 3: + func_8004BA88(0xFF, 6); + break; + + case 4: + func_8004BA88(0xFF, 5); + break; + + case 5: + func_8004BA88(0xFF, 4); + break; + + case 6: + func_8004BA88(0xFF, 0); + break; + + case 7: + func_8004BA88(0xFF, 0xC); + break; + + case 8: + func_8004BA88(0xFF, 0xC); + break; + } + break; + + case 9: + func_8004BA88(0, 0x10); + break; + } +} + +void func_8432BF88(unk_D_84390010* arg0, s32 arg1) { + s16 sp1E = arg0->unk_000.unk_01A; + + if ((func_84307B60(arg0) != 0) && (arg1 == 0x32)) { + func_800367A0(0x32, 0xC8, 0); + } else if (arg1 == 0x14) { + func_800367A0(0x14, 0, 0); + } else if (arg1 == 0x12) { + func_800367A0(0x12, 0, 0); + } else if (arg1 == 0x32) { + func_800367A0(0x32, sp1E, 0); + } else if (arg1 == 0x21) { + func_800367A0(0x21, 0, 0); + } else if (arg1 == 0x13) { + func_800367A0(0x13, 0, 0); + } else if (arg1 == 0x1E) { + func_800367A0(0x1E, 0, 0); + } else if (arg1 == 0x1F) { + func_800367A0(0x1F, 0, 0); + } else if (arg1 == 0x20) { + func_800367A0(0x20, 0, 0); + } +} + +void func_8432C0D0(s16 arg0) { + D_843902E2 = D_843902E4; + D_84386480[arg0](); + if (D_843902E6 != 0xFF) { + D_843902E2 = D_843902E6; + D_84386480[arg0](); + } +} + +void func_8432C14C(s16 arg0) { + D_843902E2 = D_843902E4; + D_843866C4[arg0](); +} + +void func_8432C194(func_D_84388CA8 arg0, func_D_84388CA8 arg1) { + if (D_843902FC >= 8) { + D_843902FC = 0; + } + + if (D_84390300[D_843902FC]) {} + + D_84390300[D_843902FC] = arg0; + D_84390320[D_843902FC] = arg1; + D_843902FC++; +} + +void func_8432C1E0(s32 arg0, s32 arg1, s32 arg2) { + u8* sp2C; + + D_843902E0 = arg1; + + if (arg2 == 1) { + switch (arg1) { + case 0: + sp2C = D_84386E08[arg0][0]; + break; + + case 1: + sp2C = D_84386E08[arg0][1]; + break; + + case 3: + sp2C = D_84386D44[arg0][0]; + break; + + case 4: + sp2C = D_84386DBC[arg0]; + break; + + case 9: + sp2C = D_84386E00[arg0]; + break; + } + + while (*sp2C != 0) { + func_8432C0D0(*sp2C); + D_84388280[*sp2C](); + func_8432C194(D_84388668[*sp2C], D_84388A50[*sp2C]); + sp2C++; + } + } else { + switch (arg1) { + case 2: + sp2C = D_84386E08[arg0][2]; + break; + + case 6: + sp2C = D_84386DEC[arg0]; + break; + } + + while (*sp2C != 0) { + func_8432C14C(*sp2C); + D_843884D8[*sp2C](); + func_8432C194(D_843888C0[*sp2C], D_84388CA8[*sp2C]); + sp2C++; + } + } +} + +void func_8432C3F8(void) { + if (D_843902B0 != 0) { + func_8432EB44(); + func_8432C1E0(D_843902AC, D_843902B8, D_843902B0); + D_843902B0 = 0; + } + + if (D_843902C8 != 0) { + func_8432C1E0(D_843902CC, D_843902D0, D_843902C8); + D_843902C8 = 0; + } + + if (D_843902D4 != 0) { + func_8432C1E0(D_843902D8, D_843902DC, D_843902D4); + D_843902D4 = 0; + } + + if (D_843902C0 != 0) { + func_8432C1E0(D_843902C4, 4, D_843902C0); + D_843902C0 = 0; + } +} + +void func_8432C4CC(UNUSED unk_D_86002F34_00C* arg0) { + func_8140C5D0(); + func_8432C3F8(); + func_8432E68C(); + func_843592E0(); +} + +void func_8432C504(u8 arg0) { + D_843902B8 = arg0; +} + +u8 func_8432C518(void) { + return D_843902E0; +} + +void func_8432C524(u8 arg0) { + D_843902C4 = arg0; +} + +u8 func_8432C538(void) { + return D_843902C4; +} + +s16 func_8432C544(void) { + return D_843902AC; +} + +void func_8432C550(s32 arg0, unk_D_84390010* arg1, unk_D_84390010* arg2, s16 arg3, s16 arg4) { + func_8432C504(0); + D_843902B0 = 1; + D_843902AC = arg0; + D_843902A4 = 0; + D_843902E4 = arg3; + D_843902E6 = arg4; + D_843902E8 = arg1; + D_843902EC = arg1; + D_843902F0 = arg2; +} + +void func_8432C5D4(s32 arg0, unk_D_84390010* arg1, unk_D_84390010* arg2, s16 arg3, s16 arg4) { + func_8432C550(arg0, arg1, arg2, arg3, arg4); +} + +void func_8432C604(s32 arg0, unk_D_84390010* arg1, unk_D_84390010* arg2, s16 arg3, s16 arg4) { + func_8432C550(arg0, arg1, arg2, arg3, arg4); + func_8432C504(2); + D_843902E8 = arg2; + D_843902B0 = 2; +} + +void func_8432C654(s32 arg0, unk_D_84390010* arg1, unk_D_84390010* arg2, s16 arg3, s16 arg4) { + func_8432C550(arg0, arg1, arg2, arg3, arg4); + func_8432C504(1); +} + +void func_8432C68C(s32 arg0, unk_D_84390010* arg1, unk_D_84390010* arg2, s16 arg3, s16 arg4) { + func_8432C550(arg0, arg1, arg2, arg3, arg4); + func_8432C504(3); +} + +void func_8432C6C4(s32 arg0, unk_D_84390010* arg1) { + D_843902C8 = 2; + D_843902CC = arg0; + D_843902D0 = 6; + D_843902E4 = 0xFF; + D_843902E6 = 0xFF; + D_843902E8 = arg1; + D_843902EC = arg1; + D_843902F0 = arg1; +} + +void func_8432C714(s32 arg0, unk_D_84390010* arg1) { + func_8432C6C4(arg0, arg1); + D_843902C8 = 1; + D_843902D0 = 5; +} + +void func_8432C748(s32 arg0, unk_D_84390010* arg1) { + func_8432C6C4(arg0, arg1); +} + +void func_8432C768(s32 arg0) { + D_843902D4 = 1; + D_843902DC = 9; + D_843902D8 = arg0; + D_843902E4 = 0xFF; + D_843902E6 = 0xFF; +} + +void func_8432C7A0(u8 arg0, unk_D_84390010* arg1) { + D_843902C0 = 1; + func_8432C524(arg0); + D_843902E8 = arg1; + D_843902E4 = 0xFF; + D_843902E6 = 0xFF; + if (arg0 == 3) { + D_843902E4 = 7; + } +} + +void func_8432C80C(u8 arg0, unk_D_84390010* arg1) { + func_8432EA60(arg0, arg1); +} + +void func_8432C830(arg1_func_80019420* arg0) { + if (arg0 != NULL) { + do { + if (arg0->unk_02 != 0) { + D_843920C0[arg0->unk_02] = arg0->unk_04; + arg0++; + } + } while (arg0->unk_00 != 0); + } +} + +void func_8432C86C(void) { + s32 i; + + // clang-format off + for (i = 0; i < 256; i++) { D_843920C0[i] = 0; } + // clang-format on + + func_8432C830(func_80019EA0(0)); +} + +void func_8432C8BC(s16 arg0) { + s32 var_v0 = 0; + u8* temp_a1 = D_84386E08[arg0][3]; + + while (*temp_a1 != 0x3F) { + D_843924C0[var_v0] = *temp_a1; + temp_a1++; + var_v0++; + } + + temp_a1 = D_84386E08[arg0][4]; + while (*temp_a1 != 0x3F) { + D_843924C0[var_v0] = *temp_a1; + temp_a1++; + var_v0++; + } + + D_843924C0[var_v0] = -1; +} + +void func_8432C958(unk_D_800AE540_1194* arg0, s16 arg1) { + if (arg1 != 0xFF) { + func_8432C8BC(arg1); + arg0->unk_1D |= 0x80; + arg0->unk_20 = D_843924C0; + arg0->unk_24 = D_843924E0; + } +} + +void func_8432C9C0(unk_D_800AE540_1194* arg0, s16 arg1) { + s32 var_v0 = 0; + u8* var_v1 = D_84386D44[arg1][1]; + + while (*var_v1 != 0x3F) { + D_843924C0[var_v0] = *var_v1; + var_v1++; + var_v0++; + } + + D_843924C0[var_v0] = -1; + arg0->unk_20 = D_843924C0; + arg0->unk_1D |= 0x80; + arg0->unk_24 = D_843924E0; +} + +void func_8432CA48(void) { + s32 i = 0; + arg1_func_80019420* var_v0; + arg1_func_80019420** var_s1 = D_843924E0; + + while (*var_s1 != NULL) { + var_v0 = *var_s1; + if (i) {} + func_8432C830(var_v0); + var_s1++; + i++; + } +} + +void func_8432CAA8(unk_D_800AE540_1194* arg0) { + arg0->unk_1D &= ~0x10; + func_8432CA48(); +} + +void func_8432CAD0(void) { + s32 i; + + for (i = 0; i < 16; i++) { + func_8001BB58(&D_843903D0[i]); + D_84391A50[i] = 0; + } + + for (i = 0; i < 4; i++) { + func_8001BBC8(&D_84391A90[i]); + D_84392030[i] = 0; + } +} + +s32 func_8432CB60(unk_D_86002F58_004_000* arg0) { + return arg0->unk_000.unk_14; +} + +unk_D_86002F58_004_000* func_8432CB68(s32 arg0) { + s32 i; + s32 var_v0 = -1; + unk_D_86002F58_004_000* temp_a0; + + for (i = 0; i < 16; i++) { + if (D_84391A50[i] == 0) { + var_v0 = i; + break; + } + } + + if (var_v0 >= 0) { + temp_a0 = &D_843903D0[var_v0]; + D_84391A50[var_v0] = 1; + temp_a0->unk_000.unk_14 = arg0; + } else { + temp_a0 = NULL; + } + return temp_a0; +} + +void func_8432CBF8(unk_D_86002F58_004_000* arg0) { + s32 i; + + for (i = 0; i < 16; i++) { + if (arg0 == &D_843903D0[i]) { + break; + } + } + + if (i != 16) { + D_84391A50[i] = 0; + func_8001BCF0(arg0); + } +} + +unk_D_86002F58_004_000* func_8432CC54(unk_D_8140E720* arg0) { + s32 i; + s32 var_a2 = -1; + unk_D_86002F58_004_000* sp1C; + + for (i = 0; i < 4; i++) { + if (D_84392030[i] == 0) { + var_a2 = i; + break; + } + } + + if (var_a2 >= 0) { + sp1C = &D_84391A90[var_a2]; + D_84392030[var_a2] = 1; + func_814082B4(arg0, 0x400); + sp1C->unk_000.unk_14 = arg0; + } else { + sp1C = NULL; + } + return sp1C; +} + +void func_8432CD14(unk_D_86002F58_004_000* arg0) { + s32 i; + + for (i = 0; i < 4; i++) { + if (arg0 == &D_84391A90[i]) { + break; + } + } + + if (i != 4) { + D_84392030[i] = 0; + func_8001BCF0(arg0); + } +} + +void func_8432CD70(unk_D_86002F58_004_000* arg0, s16 arg1, s16 arg2) { + func_8001BC34(arg0, 0, 0, D_843920C0[arg1]); + func_800173DC(arg0, 0, D_843920C0[arg2], 0x10000); +} + +void func_8432CDD8(unk_D_86002F58_004_000* arg0, s16 arg1) { + func_80017464(arg0, arg1); +} + +void func_8432CE00(unk_D_86002F58_004_000* arg0, s16 arg1) { + func_8001BC34(arg0, 0, 0, D_843920C0[arg1]); +} + +void func_8432CE3C(unk_D_86002F58_004_000* arg0, s16 arg1) { + func_800173DC(arg0, 0, D_843920C0[arg1], 0x10000); +} + +void func_8432CE78(unk_D_86002F58_004_000* arg0, s16 arg1) { + func_800173DC(arg0, 0, D_843920C0[arg1], -0x10000); + func_80017464(arg0, arg0->unk_040.unk_04->unk_0A - 1); +} + +s32 func_8432CED4(unk_D_8140E720_014* arg0) { + s32 ret = 0; + + if (arg0->unk_48 == 0) { + ret = 1; + } + return ret; +} + +void func_8432CEF0(UNUSED unk_D_86002F34_00C* arg0) { + s32 i; + + for (i = 0; i < 8; i++) { + if ((D_84390300[i] != NULL) && (D_84390300[i]() != 0)) { + D_84390300[i] = NULL; + D_84390320[i] = 0; + } + } +} + +void func_8432CF74(UNUSED s32 arg0) { + s32 i; + + for (i = 0; i < 8; i++) { + if (D_84390320[i] != NULL) { + D_84390320[i](); + } + } +} + +void func_8432CFCC(unk_D_86002F34_00C* arg0) { + D_8140E628.unk_0C = arg0; + D_8140E6B4 = &D_8140E628.unk_10; + + func_8000ED4C(&D_8140E6B4->unk_00, &arg0->unk_60.mtxf); + func_81400930(&D_8140E6B4->unk_40, &arg0->unk_60.eye); + func_81400930(&D_8140E6B4->unk_4C, &arg0->unk_60.at); + func_8432D468(&D_8140E6B4->unk_70, &D_8140E6B4->unk_72); + func_8432D398(&D_8140E6B4->unk_76, &D_8140E6B4->unk_78); + func_81400F44(&D_8140E6B4->unk_58, D_8140E6B4->unk_40, D_8140E6B4->unk_4C); + func_81400F44(&D_8140E6B4->unk_64, D_8140E6B4->unk_4C, D_8140E6B4->unk_40); +} + +s32 func_8432D0D8(s32 arg0, unk_D_86002F34_00C* arg1) { + switch (arg0) { + case 1: + case 3: + case 4: + break; + + case 0: + func_8432D150(); + break; + + case 2: + func_8432CFCC(arg1); + func_8432C4CC(arg1); + func_8432CEF0(arg1); + break; + + case 5: + func_843590E0(arg1); + break; + } + + return 0; +} + +void func_8432D150(void) { + func_8432D5B0(); + func_8432D178(); +} + +void func_8432D178(void) { + s32 i; + + D_843902E8 = NULL; + D_843902BC = 0; + D_8140E628.unk_00.x = 1.0f; + D_8140E628.unk_00.y = 1.0f; + D_8140E628.unk_00.z = 1.0f; + D_843902F4 = 0; + D_84392040.unk_0C = 1.0f; + D_84392040.unk_10 = 1.0f; + D_843902FC = 0; + + for (i = 0; i < 8; i++) { + D_84390300[i] = NULL; + D_84390320[i] = NULL; + } + + D_8439037A = 0xFF; + D_8439037C = 0xFF; + D_8439037E = 0xFF; + D_84390388 = 0xFF; + D_84390382 = 0xFF; + D_84390384 = 0xFF; + D_84390386 = 0xFF; + D_8439038A = 0xFF; + D_8439038C = 0xFF; + D_8439038E = 0x64; + D_84390392 = 0; + D_84390394 = 0; + D_84390396 = 0; + D_84390344 = 1.0f; + + func_8000E88C(&D_84390360, 0.0f, 0.0f, 0.0f); + func_8000EB70(&D_8439036C, 0, 0, 0); + func_8000EB70(&D_84390374, 0, 0, 0); + func_8000E88C(&D_84390348, 0.0f, 0.0f, 0.0f); + func_8000EB70(&D_84390354, 0, 0, 0); + func_8432C86C(); + func_8432CAD0(); + D_843903B0 = 0; + D_843903B4 = 0; + func_8432E9AC(); +} + +void func_8432D340(Vec3f* arg0, f32 arg1) { + arg0->x = D_8140E6B4->unk_40.x + (arg1 * D_8140E6B4->unk_58.x); + arg0->y = D_8140E6B4->unk_40.y + (arg1 * D_8140E6B4->unk_58.y); + arg0->z = D_8140E6B4->unk_40.z + (arg1 * D_8140E6B4->unk_58.z); +} + +void func_8432D398(s16* arg0, s16* arg1) { + unk_D_86002F34_00C* temp_v0 = func_8432FD64(); + f32 sp20 = temp_v0->unk_60.eye.x - temp_v0->unk_60.at.x; + f32 sp1C = temp_v0->unk_60.eye.y - temp_v0->unk_60.at.y; + f32 sp18 = temp_v0->unk_60.eye.z - temp_v0->unk_60.at.z; + + *arg0 = MathUtil_Atan2s(sqrtf(SQ(sp20) + SQ(sp18)), sp1C); + *arg1 = MathUtil_Atan2s(sp18, sp20); +} + +void func_8432D424(s16* arg0) { + unk_D_86002F34_00C* temp_v0 = func_8432FD64(); + f32 x = temp_v0->unk_60.eye.x - temp_v0->unk_60.at.x; + f32 z = temp_v0->unk_60.eye.z - temp_v0->unk_60.at.z; + + *arg0 = MathUtil_Atan2s(z, x); +} + +void func_8432D468(s16* arg0, s16* arg1) { + unk_D_86002F34_00C* temp_v0 = func_8432FD64(); + f32 sp20 = temp_v0->unk_60.at.x - temp_v0->unk_60.eye.x; + f32 sp1C = temp_v0->unk_60.at.y - temp_v0->unk_60.eye.y; + f32 sp18 = temp_v0->unk_60.at.z - temp_v0->unk_60.eye.z; + + *arg0 = MathUtil_Atan2s(sqrtf(SQ(sp20) + SQ(sp18)), sp1C); + *arg1 = MathUtil_Atan2s(sp18, sp20); +} + +void func_8432D4F4(s16* arg0) { + unk_D_86002F34_00C* temp_v0 = func_8432FD64(); + f32 x = temp_v0->unk_60.at.x - temp_v0->unk_60.eye.x; + f32 z = temp_v0->unk_60.at.z - temp_v0->unk_60.eye.z; + + *arg0 = MathUtil_Atan2s(z, x); +} + +void func_8432D538(s16* arg0, s16* arg1) { + *arg0 = D_8140E6B4->unk_76; + *arg1 = D_8140E6B4->unk_78; +} + +void func_8432D55C(s16* arg0) { + *arg0 = D_8140E6B4->unk_78; +} + +void func_8432D570(s16* arg0, s16* arg1) { + *arg0 = D_8140E6B4->unk_70; + *arg1 = D_8140E6B4->unk_72; +} + +void func_8432D594(s16* arg0) { + *arg0 = D_8140E6B4->unk_72; +} diff --git a/src/fragments/62/fragment62_317E70.c b/src/fragments/62/fragment62_317E70.c index 7d6cabd..b6cd484 100644 --- a/src/fragments/62/fragment62_317E70.c +++ b/src/fragments/62/fragment62_317E70.c @@ -138,6 +138,10 @@ #pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_317E70/func_8432F93C.s") +#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_317E70/func_8432F998.s") + +#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_317E70/func_8432F9A0.s") + #pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_317E70/func_8432F9A8.s") #pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_317E70/func_8432F9B4.s") diff --git a/src/fragments/62/fragment62_31C660.c b/src/fragments/62/fragment62_31C660.c index c0eafdf..ddcbcb7 100644 --- a/src/fragments/62/fragment62_31C660.c +++ b/src/fragments/62/fragment62_31C660.c @@ -216,6 +216,12 @@ #pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_31C660/func_843375B0.s") +#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_31C660/func_8433765C.s") + +#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_31C660/func_84337664.s") + #pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_31C660/func_8433766C.s") +#pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_31C660/func_843378CC.s") + #pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_31C660/func_843378D4.s") diff --git a/src/fragments/62/fragment62_343BA0.c b/src/fragments/62/fragment62_343BA0.c index 9f5acc6..7c232d2 100644 --- a/src/fragments/62/fragment62_343BA0.c +++ b/src/fragments/62/fragment62_343BA0.c @@ -19,6 +19,9 @@ void func_84359340(void) { #pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_343BA0/func_843593C0.s") +void func_843593C8(void) { +} + #pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_343BA0/func_843593D0.s") #pragma GLOBAL_ASM("asm/us/nonmatchings/fragments/62/fragment62_343BA0/func_843593F0.s") diff --git a/tools/permuter_settings.toml b/tools/permuter_settings.toml index 941ea7b..125524f 100644 --- a/tools/permuter_settings.toml +++ b/tools/permuter_settings.toml @@ -31,3 +31,4 @@ SINS = "float" "tools/ido/linux/5.3/cc" = "ido5.3" "tools/ido/macos/5.3/cc" = "ido5.3" "tools/ido/windows/5.3/cc" = "ido5.3" +"./tools/preprocess.sh" = "ido7.1" diff --git a/yamls/us/rom.yaml b/yamls/us/rom.yaml index 3c21ee5..e2cf0a5 100644 --- a/yamls/us/rom.yaml +++ b/yamls/us/rom.yaml @@ -2193,7 +2193,8 @@ - [0x3702A0, .data, fragments/62/fragment62_304060] - [0x370410, .data, fragments/62/fragment62_3055E0] - [0x370430, .data, fragments/62/fragment62_309ED0] - - [0x370470, data, fragments/62/fragment62_data] + - [0x370470, .data, fragments/62/fragment62_315D50] + - [0x3723C0, data, fragments/62/fragment62_data] - [0x3759C0, .rodata, fragments/62/fragment62_2EC3C0] - [0x375A60, .rodata, fragments/62/fragment62_2F3CB0] @@ -2206,7 +2207,8 @@ - [0x376100, .rodata, fragments/62/fragment62_309ED0] - [0x3764B0, .rodata, fragments/62/fragment62_313250] - [0x3764E0, .rodata, fragments/62/fragment62_313D60] - - [0x376650, rodata, fragments/62/fragment62_rodata_376650] + - [0x376650, .rodata, fragments/62/fragment62_315D50] + - [0x376790, rodata, fragments/62/fragment62_rodata_376790] - [0x3768B0, rodata, fragments/62/fragment62_rodata_3768B0] - [0x3768E0, rodata, fragments/62/fragment62_rodata_3768E0] - [0x3769B0, rodata, fragments/62/fragment62_rodata_3769B0] @@ -2241,8 +2243,9 @@ - {vram: 0x843901B0, type: .bss, name: fragments/62/fragment62_3055E0} - {vram: 0x84390200, type: .bss, name: fragments/62/fragment62_309ED0} - {vram: 0x84390240, type: .bss, name: fragments/62/fragment62_313D60} - - {vram: 0x843902A0, type: bss, name: fragments/62/fragment62_bss2} - + - {vram: 0x843902A0, type: .bss, name: fragments/62/fragment62_315D50} + - {vram: 0x843920C0, type: bss, name: fragments/62/fragment62_bss2} + - name: fragment62_relocs type: code bss_size: 0x0