From c7a383997f079628a7f154d3c76240f07b81d41c Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Mon, 11 Jan 2021 18:34:10 +0900 Subject: [PATCH] Remaining segments --- Makefile | 2 +- .../code_EA0900/func_80240000_EA0900.s | 89 +++ .../code_EA0900/func_80240124_EA0A24.s | 144 ++++ .../code_EA0C10/func_80240310_EA0C10.s | 32 + .../code_EA0C10/func_8024037C_EA0C7C.s | 33 + .../code_EA0C10/func_802403EC_EA0CEC.s | 60 ++ .../code_EA0C10/func_802404C4_EA0DC4.s | 26 + .../code_EA0C10/func_80240518_EA0E18.s | 119 +++ .../code_EA0C10/func_802406CC_EA0FCC.s | 184 +++++ .../code_EA0C10/func_8024097C_EA127C.s | 195 +++++ .../code_EA0C10/func_80240C5C_EA155C.s | 33 + .../code_EA0C10/func_80240CC8_EA15C8.s | 68 ++ .../code_EA0C10/func_80240DC4_EA16C4.s | 688 ++++++++++++++++++ .../code_EA0C10/func_80241804_EA2104.s | 42 ++ .../code_EA0C10/func_80241894_EA2194.s | 71 ++ .../code_EA0C10/func_80241994_EA2294.s | 29 + .../code_EA0C10/func_802419F4_EA22F4.s | 65 ++ .../code_EA0C10/func_80241AE0_EA23E0.s | 180 +++++ .../code_EA0C10/func_80241D68_EA2668.s | 35 + .../code_EA0C10/func_80241DE4_EA26E4.s | 86 +++ .../code_EA0C10/func_80241F18_EA2818.s | 97 +++ .../code_EA0C10/func_8024207C_EA297C.s | 38 + .../code_EA0C10/func_802420FC_EA29FC.s | 312 ++++++++ .../code_EA0C10/func_80242568_EA2E68.s | 22 + .../code_EA0C10/func_802425B0_EA2EB0.s | 27 + .../code_EA0C10/func_80242608_EA2F08.s | 35 + .../code_EA0C10/func_8024267C_EA2F7C.s | 53 ++ .../code_EA0C10/func_80242730_EA3030.s | 29 + .../code_EA0C10/func_80242794_EA3094.s | 28 + .../code_EA0C10/func_802427F0_EA30F0.s | 122 ++++ .../code_EA0C10/func_802429C0_EA32C0.s | 28 + .../code_EA0C10/func_80242A14_EA3314.s | 18 + .../code_EA0C10/func_80242A4C_EA334C.s | 48 ++ .../code_EA0C10/func_80242AE8_EA33E8.s | 64 ++ .../code_EA0C10/func_80242BD8_EA34D8.s | 103 +++ .../code_EA0C10/func_80242D64_EA3664.s | 21 + .../code_EA0C10/func_80242DA8_EA36A8.s | 18 + .../code_EA36E0/func_80242DE0_EA36E0.s | 12 + .../code_EA36E0/func_80242E00_EA3700.s | 17 + .../code_EA36E0/func_80242E2C_EA372C.s | 43 ++ .../code_EA36E0/func_80242EC4_EA37C4.s | 45 ++ .../code_EA36E0/func_80242F64_EA3864.s | 18 + .../code_EA36E0/func_80242F9C_EA389C.s | 50 ++ .../code_EA36E0/func_80243054_EA3954.s | 41 ++ .../code_EA36E0/func_802430E4_EA39E4.s | 43 ++ .../code_EA6FD0/func_80240000_EA6FD0.s | 21 + .../code_EA7010/func_80240040_EA7010.s | 89 +++ .../code_EA7010/func_80240164_EA7134.s | 144 ++++ .../code_EA7320/func_80240350_EA7320.s | 11 + .../code_EA7320/func_8024036C_EA733C.s | 11 + .../code_EA7320/func_80240388_EA7358.s | 18 + .../code_EA8AE0/func_80240000_EA8AE0.s | 89 +++ .../code_EA8AE0/func_80240124_EA8C04.s | 143 ++++ .../code_EA8AE0/func_8024030C_EA8DEC.s | 23 + .../code_EA8AE0/func_80240358_EA8E38.s | 93 +++ .../code_EA8AE0/func_802404B8_EA8F98.s | 272 +++++++ .../code_EA8AE0/func_802408C8_EA93A8.s | 20 + .../code_EA8AE0/func_80240908_EA93E8.s | 72 ++ .../code_EA8AE0/func_80240A14_EA94F4.s | 64 ++ .../code_EA8AE0/func_80240B00_EA95E0.s | 58 ++ .../code_EA8AE0/func_80240BD4_EA96B4.s | 69 ++ .../code_EA8AE0/func_80240CD8_EA97B8.s | 55 ++ .../code_EA8AE0/func_80240DA4_EA9884.s | 38 + .../code_EA8AE0/func_80240E2C_EA990C.s | 385 ++++++++++ .../code_EA8AE0/func_802413C0_EA9EA0.s | 19 + .../code_EA8AE0/func_802413FC_EA9EDC.s | 8 + .../code_EA8AE0/func_8024140C_EA9EEC.s | 27 + .../code_EA8AE0/func_80241468_EA9F48.s | 53 ++ .../code_EA8AE0/func_8024151C_EA9FFC.s | 29 + .../code_EA8AE0/func_80241580_EAA060.s | 28 + .../code_EA8AE0/func_802415DC_EAA0BC.s | 122 ++++ .../code_EA8AE0/func_802417AC_EAA28C.s | 28 + .../code_EA8AE0/func_80241800_EAA2E0.s | 18 + .../code_EA8AE0/func_80241838_EAA318.s | 48 ++ .../code_EA8AE0/func_802418D4_EAA3B4.s | 64 ++ .../code_EA8AE0/func_802419C4_EAA4A4.s | 103 +++ .../code_EA8AE0/func_80241B50_EAA630.s | 21 + .../code_EA8AE0/func_80241B94_EAA674.s | 15 + .../code_EA8AE0/func_80241BC0_EAA6A0.s | 103 +++ .../code_EB0E60/func_80240000_EB0E60.s | 89 +++ .../code_EB0E60/func_80240124_EB0F84.s | 144 ++++ .../code_EB1170/func_80240310_EB1170.s | 53 ++ .../code_EB1170/func_802403C4_EB1224.s | 29 + .../code_EB1170/func_80240428_EB1288.s | 28 + .../code_EB1170/func_80240484_EB12E4.s | 122 ++++ .../code_EB1170/func_80240654_EB14B4.s | 28 + .../code_EB1170/func_802406A8_EB1508.s | 18 + .../code_EB1170/func_802406E0_EB1540.s | 48 ++ .../code_EB1170/func_8024077C_EB15DC.s | 64 ++ .../code_EB1170/func_8024086C_EB16CC.s | 103 +++ .../code_EB1170/func_802409F8_EB1858.s | 21 + .../code_EB1170/func_80240A3C_EB189C.s | 15 + .../code_EB1170/func_80240A68_EB18C8.s | 13 + .../code_EB1170/func_80240A8C_EB18EC.s | 17 + .../code_EB5130/func_80240000_EB5130.s | 89 +++ .../code_EB5130/func_80240124_EB5254.s | 143 ++++ .../code_EB5130/func_8024030C_EB543C.s | 17 + .../code_EB5470/func_80240340_EB5470.s | 15 + .../code_EB5470/func_8024036C_EB549C.s | 13 + .../code_EB7230/func_80240000_EB7230.s | 89 +++ .../code_EB7230/func_80240124_EB7354.s | 144 ++++ .../code_EB7540/func_80240310_EB7540.s | 54 ++ .../code_EB7540/func_802403D8_EB7608.s | 44 ++ .../code_EB7540/func_80240478_EB76A8.s | 39 + .../code_EB7540/func_80240504_EB7734.s | 11 + .../code_EB7540/func_80240520_EB7750.s | 69 ++ .../code_EB8E50/func_80240000_EB8E50.s | 20 + .../code_EB8E90/func_80240040_EB8E90.s | 95 +++ .../code_EB8E90/func_80240198_EB8FE8.s | 183 +++++ .../code_EB8E90/func_80240440_EB9290.s | 52 ++ .../code_EB8E90/func_80240500_EB9350.s | 120 +++ .../code_EB8E90/func_802406BC_EB950C.s | 52 ++ .../code_EB8E90/func_80240770_EB95C0.s | 33 + .../code_EB8E90/func_802407E4_EB9634.s | 35 + .../code_EB8E90/func_8024085C_EB96AC.s | 82 +++ .../code_EB8E90/func_8024098C_EB97DC.s | 80 ++ .../code_EB8E90/func_80240AAC_EB98FC.s | 32 + .../code_EB8E90/func_80240B14_EB9964.s | 55 ++ .../code_EB8E90/func_80240BD4_EB9A24.s | 213 ++++++ .../code_EB8E90/func_80240EFC_EB9D4C.s | 21 + .../code_EB9D90/func_80240F40_EB9D90.s | 32 + .../code_EB9D90/func_80240FB0_EB9E00.s | 81 +++ .../code_EB9D90/func_802410E4_EB9F34.s | 82 +++ .../code_EB9D90/func_8024121C_EBA06C.s | 105 +++ .../code_EB9D90/func_802413AC_EBA1FC.s | 12 + .../code_EB9D90/func_802413CC_EBA21C.s | 12 + .../code_EB9D90/func_802413EC_EBA23C.s | 13 + .../code_EC2200/func_80240000_EC2200.s | 20 + .../code_EC2240/func_80240040_EC2240.s | 53 ++ .../code_EC2240/func_802400F4_EC22F4.s | 29 + .../code_EC2240/func_80240158_EC2358.s | 188 +++++ .../code_EC2610/func_80240410_EC2610.s | 32 + .../code_EC2610/func_80240480_EC2680.s | 122 ++++ .../code_EC71B0/func_80240000_EC71B0.s | 89 +++ .../code_EC71B0/func_80240124_EC72D4.s | 143 ++++ .../code_EC71B0/func_8024030C_EC74BC.s | 18 + .../code_EC71B0/func_80240344_EC74F4.s | 43 ++ .../code_EC7590/func_802403E0_EC7590.s | 32 + .../code_EC7590/func_80240450_EC7600.s | 121 +++ .../code_EC7590/func_8024061C_EC77CC.s | 53 ++ .../code_EC7590/func_802406D0_EC7880.s | 32 + .../code_EC9D00/func_80240000_EC9D00.s | 11 + .../code_EC9D00/func_8024001C_EC9D1C.s | 12 + .../code_EC9D00/func_8024003C_EC9D3C.s | 15 + .../code_EC9D00/func_80240068_EC9D68.s | 31 + .../code_EC9D00/func_802400D4_EC9DD4.s | 25 + .../code_EC9D00/func_80240120_EC9E20.s | 50 ++ .../code_EC9D00/func_802401CC_EC9ECC.s | 163 +++++ .../code_EC9D00/func_8024041C_ECA11C.s | 15 + .../code_EC9D00/func_80240448_ECA148.s | 18 + .../code_EC9D00/func_80240480_ECA180.s | 40 + .../code_EC9D00/func_80240510_ECA210.s | 17 + .../code_EC9D00/func_80240544_ECA244.s | 29 + .../code_EC9D00/func_802405A8_ECA2A8.s | 26 + .../code_EC9D00/func_80240600_ECA300.s | 356 +++++++++ .../code_EC9D00/func_80240B38_ECA838.s | 92 +++ .../code_EC9D00/func_80240C78_ECA978.s | 22 + .../code_EC9D00/func_80240CC0_ECA9C0.s | 22 + .../code_EC9D00/func_80240D08_ECAA08.s | 19 + .../code_ECAA40/func_80240D40_ECAA40.s | 20 + .../code_ECAA80/func_80240D80_ECAA80.s | 401 ++++++++++ .../code_ECAA80/func_80241364_ECB064.s | 100 +++ .../code_ECAA80/func_802414C8_ECB1C8.s | 22 + .../code_ECAA80/func_8024150C_ECB20C.s | 162 +++++ .../code_ECAA80/func_80241770_ECB470.s | 28 + .../code_ECAA80/func_802417CC_ECB4CC.s | 122 ++++ .../code_ECAA80/func_8024199C_ECB69C.s | 28 + .../code_ECAA80/func_802419F0_ECB6F0.s | 18 + .../code_ECAA80/func_80241A28_ECB728.s | 48 ++ .../code_ECAA80/func_80241AC4_ECB7C4.s | 53 ++ .../code_ECAA80/func_80241B88_ECB888.s | 35 + .../code_ECAA80/func_80241BF8_ECB8F8.s | 19 + .../code_ECB930/func_80241C30_ECB930.s | 32 + .../code_ECB930/func_80241CA0_ECB9A0.s | 122 ++++ .../code_ECBB70/func_80241E70_ECBB70.s | 45 ++ .../code_ECFFF0/func_80240000_ECFFF0.s | 20 + .../code_ED0030/func_80240040_ED0030.s | 45 ++ .../code_ED00D0/func_802400E0_ED00D0.s | 32 + .../code_ED00D0/func_80240150_ED0140.s | 122 ++++ .../code_ED0310/func_80240320_ED0310.s | 116 +++ .../code_ED0310/func_802404D0_ED04C0.s | 418 +++++++++++ .../code_ED0310/func_80240AF8_ED0AE8.s | 52 ++ .../code_ED0310/func_80240BB8_ED0BA8.s | 225 ++++++ .../code_ED0310/func_80240EFC_ED0EEC.s | 34 + .../code_ED0310/func_80240F74_ED0F64.s | 32 + .../code_ED0310/func_80240FE0_ED0FD0.s | 83 +++ .../code_ED0310/func_80241114_ED1104.s | 31 + .../code_ED0310/func_80241178_ED1168.s | 243 +++++++ .../code_ED0310/func_80241508_ED14F8.s | 79 ++ .../code_ED0310/func_8024162C_ED161C.s | 145 ++++ .../code_ED4220/func_80240000_ED4220.s | 21 + .../code_ED4260/func_80240040_ED4260.s | 20 + .../code_ED42A0/func_80240080_ED42A0.s | 53 ++ .../code_ED42A0/func_80240134_ED4354.s | 29 + .../code_ED42A0/func_80240198_ED43B8.s | 89 +++ .../code_ED42A0/func_802402BC_ED44DC.s | 146 ++++ .../code_ED46D0/func_802404B0_ED46D0.s | 430 +++++++++++ .../code_ED46D0/func_80240B10_ED4D30.s | 540 ++++++++++++++ .../code_ED5540/func_80241320_ED5540.s | 32 + .../code_ED5540/func_80241390_ED55B0.s | 122 ++++ .../code_ED8E20/func_80240000_ED8E20.s | 12 + .../code_ED8E20/func_80240020_ED8E40.s | 9 + .../code_ED8E20/func_80240034_ED8E54.s | 56 ++ .../code_ED8E20/func_802400F0_ED8F10.s | 74 ++ .../code_ED8E20/func_80240208_ED9028.s | 31 + .../code_ED8E20/func_80240274_ED9094.s | 45 ++ .../code_ED8E20/func_80240318_ED9138.s | 18 + .../code_EDBFE0/func_80240000_EDBFE0.s | 20 + .../code_EDC020/func_80240040_EDC020.s | 32 + .../code_EDC020/func_802400B0_EDC090.s | 121 +++ .../code_EDC020/func_8024027C_EDC25C.s | 53 ++ .../code_EDC020/func_80240330_EDC310.s | 29 + .../code_EDC020/func_80240394_EDC374.s | 28 + .../code_EDC020/func_802403F0_EDC3D0.s | 122 ++++ .../code_EDC020/func_802405C0_EDC5A0.s | 28 + .../code_EDC020/func_80240614_EDC5F4.s | 18 + .../code_EDC020/func_8024064C_EDC62C.s | 50 ++ .../code_EDE9C0/func_80240000_EDE9C0.s | 20 + .../code_EDEA00/func_80240040_EDEA00.s | 109 +++ .../code_EDEA00/func_802401C4_EDEB84.s | 116 +++ .../code_EDEA00/func_80240374_EDED34.s | 418 +++++++++++ .../code_EDEA00/func_8024099C_EDF35C.s | 52 ++ .../code_EDEA00/func_80240A5C_EDF41C.s | 225 ++++++ .../code_EDEA00/func_80240DA0_EDF760.s | 34 + .../code_EDEA00/func_80240E18_EDF7D8.s | 32 + .../code_EDEA00/func_80240E84_EDF844.s | 83 +++ .../code_EDEA00/func_80240FB8_EDF978.s | 31 + .../code_EDEA00/func_8024101C_EDF9DC.s | 243 +++++++ .../code_EDEA00/func_802413AC_EDFD6C.s | 79 ++ .../code_EDEA00/func_802414D0_EDFE90.s | 142 ++++ .../code_EDEA00/func_802416E8_EE00A8.s | 25 + .../code_EDEA00/func_80241730_EE00F0.s | 295 ++++++++ .../code_EDEA00/func_80241B94_EE0554.s | 156 ++++ .../code_EDEA00/func_80241DE4_EE07A4.s | 352 +++++++++ .../code_EDEA00/func_802422F0_EE0CB0.s | 35 + .../code_EDEA00/func_8024236C_EE0D2C.s | 86 +++ .../code_EDEA00/func_802424A0_EE0E60.s | 97 +++ .../code_EDEA00/func_80242604_EE0FC4.s | 38 + .../code_EDEA00/func_80242684_EE1044.s | 312 ++++++++ .../code_EDEA00/func_80242AF0_EE14B0.s | 627 ++++++++++++++++ .../code_EDEA00/func_80243470_EE1E30.s | 75 ++ .../code_EDEA00/func_80243584_EE1F44.s | 69 ++ .../pause_interp_text_scroll_EE1DD8.s | 26 + .../code_EE2040/func_80243680_EE2040.s | 44 ++ .../code_EE65B0/func_80240000_EE65B0.s | 89 +++ .../code_EE65B0/func_80240124_EE66D4.s | 143 ++++ .../code_EE65B0/func_8024030C_EE68BC.s | 17 + .../code_EE65B0/func_80240340_EE68F0.s | 42 ++ .../code_EE65B0/func_802403D4_EE6984.s | 28 + .../code_EE65B0/func_8024042C_EE69DC.s | 20 + .../code_EE65B0/func_8024046C_EE6A1C.s | 42 ++ .../code_EE65B0/func_80240504_EE6AB4.s | 184 +++++ .../code_EE65B0/func_802407D4_EE6D84.s | 221 ++++++ .../code_EE70C0/func_80240B10_EE70C0.s | 116 +++ .../code_EE70C0/func_80240CC0_EE7270.s | 418 +++++++++++ .../code_EE70C0/func_802412E8_EE7898.s | 52 ++ .../code_EE70C0/func_802413A8_EE7958.s | 225 ++++++ .../code_EE70C0/func_802416EC_EE7C9C.s | 34 + .../code_EE70C0/func_80241764_EE7D14.s | 32 + .../code_EE70C0/func_802417D0_EE7D80.s | 83 +++ .../code_EE70C0/func_80241904_EE7EB4.s | 31 + .../code_EE70C0/func_80241968_EE7F18.s | 243 +++++++ .../code_EE70C0/func_80241CF8_EE82A8.s | 79 ++ .../code_EE70C0/func_80241E1C_EE83CC.s | 142 ++++ .../code_EE70C0/func_80242034_EE85E4.s | 28 + .../code_EE70C0/func_80242090_EE8640.s | 122 ++++ .../code_EE70C0/func_80242260_EE8810.s | 28 + .../code_EE70C0/func_802422B4_EE8864.s | 18 + .../code_EE70C0/func_802422EC_EE889C.s | 50 ++ .../code_EE8940/func_80242390_EE8940.s | 16 + .../code_EED100/func_80240000_EED100.s | 20 + .../code_EED140/func_80240040_EED140.s | 45 ++ .../code_EED1E0/func_802400E0_EED1E0.s | 11 + .../code_EED1E0/func_802400FC_EED1FC.s | 12 + .../code_EED1E0/func_8024011C_EED21C.s | 15 + .../code_EED1E0/func_80240148_EED248.s | 31 + .../code_EED1E0/func_802401B4_EED2B4.s | 25 + .../code_EED1E0/func_80240200_EED300.s | 50 ++ .../code_EED1E0/func_802402AC_EED3AC.s | 163 +++++ .../code_EED1E0/func_802404FC_EED5FC.s | 15 + .../code_EED1E0/func_80240528_EED628.s | 18 + .../code_EED1E0/func_80240560_EED660.s | 40 + .../code_EED1E0/func_802405F0_EED6F0.s | 17 + .../code_EED1E0/func_80240624_EED724.s | 29 + .../code_EED1E0/func_80240688_EED788.s | 26 + .../code_EED1E0/func_802406E0_EED7E0.s | 356 +++++++++ .../code_EED1E0/func_80240C18_EEDD18.s | 92 +++ .../code_EED1E0/func_80240D58_EEDE58.s | 22 + .../code_EED1E0/func_80240DA0_EEDEA0.s | 22 + .../code_EED1E0/func_80240DE8_EEDEE8.s | 17 + .../code_EED1E0/func_80240E18_EEDF18.s | 20 + .../code_EEDF50/func_80240E50_EEDF50.s | 116 +++ .../code_EEDF50/func_80241000_EEE100.s | 418 +++++++++++ .../code_EEDF50/func_80241628_EEE728.s | 52 ++ .../code_EEDF50/func_802416E8_EEE7E8.s | 225 ++++++ .../code_EEDF50/func_80241A2C_EEEB2C.s | 34 + .../code_EEDF50/func_80241AA4_EEEBA4.s | 32 + .../code_EEDF50/func_80241B10_EEEC10.s | 83 +++ .../code_EEDF50/func_80241C44_EEED44.s | 31 + .../code_EEDF50/func_80241CA8_EEEDA8.s | 243 +++++++ .../code_EEDF50/func_80242038_EEF138.s | 79 ++ .../code_EEDF50/func_8024215C_EEF25C.s | 142 ++++ .../code_EEDF50/func_80242374_EEF474.s | 82 +++ .../code_EEDF50/func_802424A4_EEF5A4.s | 172 +++++ .../code_EEDF50/func_80242724_EEF824.s | 28 + .../code_EEDF50/func_80242780_EEF880.s | 144 ++++ .../code_EEFAA0/func_802429A0_EEFAA0.s | 18 + .../code_EF2610/func_80240000_EF2610.s | 20 + .../code_EF2650/func_80240040_EF2650.s | 16 + .../code_EF2680/func_80240070_EF2680.s | 116 +++ .../code_EF2680/func_80240220_EF2830.s | 418 +++++++++++ .../code_EF2680/func_80240848_EF2E58.s | 52 ++ .../code_EF2680/func_80240908_EF2F18.s | 225 ++++++ .../code_EF2680/func_80240C4C_EF325C.s | 34 + .../code_EF2680/func_80240CC4_EF32D4.s | 32 + .../code_EF2680/func_80240D30_EF3340.s | 83 +++ .../code_EF2680/func_80240E64_EF3474.s | 31 + .../code_EF2680/func_80240EC8_EF34D8.s | 243 +++++++ .../code_EF2680/func_80241258_EF3868.s | 79 ++ .../code_EF2680/func_8024137C_EF398C.s | 142 ++++ .../code_EF2680/func_80241594_EF3BA4.s | 25 + .../code_EF2680/func_802415DC_EF3BEC.s | 295 ++++++++ .../code_EF2680/func_80241A40_EF4050.s | 156 ++++ .../code_EF2680/func_80241C90_EF42A0.s | 352 +++++++++ .../code_EF2680/func_8024219C_EF47AC.s | 35 + .../code_EF2680/func_80242218_EF4828.s | 86 +++ .../code_EF2680/func_8024234C_EF495C.s | 97 +++ .../code_EF2680/func_802424B0_EF4AC0.s | 38 + .../code_EF2680/func_80242530_EF4B40.s | 312 ++++++++ .../code_EF2680/func_8024299C_EF4FAC.s | 630 ++++++++++++++++ .../code_EF7A80/func_80240000_EF7A80.s | 89 +++ .../code_EF7A80/func_80240124_EF7BA4.s | 143 ++++ .../code_EF7A80/func_8024030C_EF7D8C.s | 17 + .../code_EF7A80/func_80240340_EF7DC0.s | 25 + .../code_EF7A80/func_80240394_EF7E14.s | 108 +++ .../code_EF7FB0/func_80240530_EF7FB0.s | 28 + .../code_EF8010/func_80240590_EF8010.s | 32 + .../code_EF8010/func_80240600_EF8080.s | 122 ++++ .../code_EFEB00/func_80240000_EFEB00.s | 89 +++ .../code_EFEB00/func_80240124_EFEC24.s | 143 ++++ .../code_EFEB00/func_8024030C_EFEE0C.s | 17 + .../code_EFEB00/func_80240340_EFEE40.s | 105 +++ .../code_EFEB00/func_802404D0_EFEFD0.s | 32 + .../code_EFEB00/func_80240540_EFF040.s | 76 ++ .../code_EFEB00/func_80240660_EFF160.s | 77 ++ .../code_EFEB00/func_80240784_EFF284.s | 15 + .../code_EFEB00/func_802407B0_EFF2B0.s | 105 +++ src/code_EA0900.c | 5 + src/code_EA0C10.c | 69 ++ src/code_EA36E0.c | 17 + src/code_EA6FD0.c | 3 + src/code_EA7010.c | 5 + src/code_EA7320.c | 7 + src/code_EA8AE0.c | 57 ++ src/code_EB0E60.c | 5 + src/code_EB1170.c | 27 + src/code_EB5130.c | 7 + src/code_EB5470.c | 5 + src/code_EB7230.c | 5 + src/code_EB7540.c | 11 + src/code_EB8E50.c | 3 + src/code_EB8E90.c | 27 + src/code_EB9D90.c | 15 + src/code_EC2200.c | 3 + src/code_EC2240.c | 7 + src/code_EC2610.c | 5 + src/code_EC71B0.c | 9 + src/code_EC7590.c | 9 + src/code_EC9D00.c | 37 + src/code_ECAA40.c | 3 + src/code_ECAA80.c | 25 + src/code_ECB930.c | 5 + src/code_ECBB70.c | 3 + src/code_ECFFF0.c | 3 + src/code_ED0030.c | 3 + src/code_ED00D0.c | 5 + src/code_ED0310.c | 23 + src/code_ED4220.c | 3 + src/code_ED4260.c | 3 + src/code_ED42A0.c | 9 + src/code_ED46D0.c | 5 + src/code_ED5540.c | 5 + src/code_ED8E20.c | 15 + src/code_EDBFE0.c | 3 + src/code_EDC020.c | 19 + src/code_EDE9C0.c | 3 + src/code_EDEA00.c | 51 ++ src/code_EE2040.c | 3 + src/code_EE65B0.c | 19 + src/code_EE70C0.c | 33 + src/code_EE8940.c | 3 + src/code_EED100.c | 3 + src/code_EED140.c | 3 + src/code_EED1E0.c | 39 + src/code_EEDF50.c | 31 + src/code_EEFAA0.c | 3 + src/code_EF2610.c | 3 + src/code_EF2650.c | 3 + src/code_EF2680.c | 43 ++ src/code_EF7A80.c | 11 + src/code_EF7FB0.c | 3 + src/code_EF8010.c | 5 + src/code_EFEB00.c | 19 + tools/splat.yaml | 252 +++++-- undefined_funcs_auto.txt | 100 +++ undefined_syms_auto.txt | 119 ++- 406 files changed, 31040 insertions(+), 89 deletions(-) create mode 100644 asm/nonmatchings/code_EA0900/func_80240000_EA0900.s create mode 100644 asm/nonmatchings/code_EA0900/func_80240124_EA0A24.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80240310_EA0C10.s create mode 100644 asm/nonmatchings/code_EA0C10/func_8024037C_EA0C7C.s create mode 100644 asm/nonmatchings/code_EA0C10/func_802403EC_EA0CEC.s create mode 100644 asm/nonmatchings/code_EA0C10/func_802404C4_EA0DC4.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80240518_EA0E18.s create mode 100644 asm/nonmatchings/code_EA0C10/func_802406CC_EA0FCC.s create mode 100644 asm/nonmatchings/code_EA0C10/func_8024097C_EA127C.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80240C5C_EA155C.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80240CC8_EA15C8.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80240DC4_EA16C4.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80241804_EA2104.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80241894_EA2194.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80241994_EA2294.s create mode 100644 asm/nonmatchings/code_EA0C10/func_802419F4_EA22F4.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80241AE0_EA23E0.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80241D68_EA2668.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80241DE4_EA26E4.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80241F18_EA2818.s create mode 100644 asm/nonmatchings/code_EA0C10/func_8024207C_EA297C.s create mode 100644 asm/nonmatchings/code_EA0C10/func_802420FC_EA29FC.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80242568_EA2E68.s create mode 100644 asm/nonmatchings/code_EA0C10/func_802425B0_EA2EB0.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80242608_EA2F08.s create mode 100644 asm/nonmatchings/code_EA0C10/func_8024267C_EA2F7C.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80242730_EA3030.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80242794_EA3094.s create mode 100644 asm/nonmatchings/code_EA0C10/func_802427F0_EA30F0.s create mode 100644 asm/nonmatchings/code_EA0C10/func_802429C0_EA32C0.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80242A14_EA3314.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80242A4C_EA334C.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80242AE8_EA33E8.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80242BD8_EA34D8.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80242D64_EA3664.s create mode 100644 asm/nonmatchings/code_EA0C10/func_80242DA8_EA36A8.s create mode 100644 asm/nonmatchings/code_EA36E0/func_80242DE0_EA36E0.s create mode 100644 asm/nonmatchings/code_EA36E0/func_80242E00_EA3700.s create mode 100644 asm/nonmatchings/code_EA36E0/func_80242E2C_EA372C.s create mode 100644 asm/nonmatchings/code_EA36E0/func_80242EC4_EA37C4.s create mode 100644 asm/nonmatchings/code_EA36E0/func_80242F64_EA3864.s create mode 100644 asm/nonmatchings/code_EA36E0/func_80242F9C_EA389C.s create mode 100644 asm/nonmatchings/code_EA36E0/func_80243054_EA3954.s create mode 100644 asm/nonmatchings/code_EA36E0/func_802430E4_EA39E4.s create mode 100644 asm/nonmatchings/code_EA6FD0/func_80240000_EA6FD0.s create mode 100644 asm/nonmatchings/code_EA7010/func_80240040_EA7010.s create mode 100644 asm/nonmatchings/code_EA7010/func_80240164_EA7134.s create mode 100644 asm/nonmatchings/code_EA7320/func_80240350_EA7320.s create mode 100644 asm/nonmatchings/code_EA7320/func_8024036C_EA733C.s create mode 100644 asm/nonmatchings/code_EA7320/func_80240388_EA7358.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80240000_EA8AE0.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80240124_EA8C04.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_8024030C_EA8DEC.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80240358_EA8E38.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_802404B8_EA8F98.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_802408C8_EA93A8.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80240908_EA93E8.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80240A14_EA94F4.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80240B00_EA95E0.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80240BD4_EA96B4.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80240CD8_EA97B8.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80240DA4_EA9884.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80240E2C_EA990C.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_802413C0_EA9EA0.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_802413FC_EA9EDC.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_8024140C_EA9EEC.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80241468_EA9F48.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_8024151C_EA9FFC.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80241580_EAA060.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_802415DC_EAA0BC.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_802417AC_EAA28C.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80241800_EAA2E0.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80241838_EAA318.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_802418D4_EAA3B4.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_802419C4_EAA4A4.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80241B50_EAA630.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80241B94_EAA674.s create mode 100644 asm/nonmatchings/code_EA8AE0/func_80241BC0_EAA6A0.s create mode 100644 asm/nonmatchings/code_EB0E60/func_80240000_EB0E60.s create mode 100644 asm/nonmatchings/code_EB0E60/func_80240124_EB0F84.s create mode 100644 asm/nonmatchings/code_EB1170/func_80240310_EB1170.s create mode 100644 asm/nonmatchings/code_EB1170/func_802403C4_EB1224.s create mode 100644 asm/nonmatchings/code_EB1170/func_80240428_EB1288.s create mode 100644 asm/nonmatchings/code_EB1170/func_80240484_EB12E4.s create mode 100644 asm/nonmatchings/code_EB1170/func_80240654_EB14B4.s create mode 100644 asm/nonmatchings/code_EB1170/func_802406A8_EB1508.s create mode 100644 asm/nonmatchings/code_EB1170/func_802406E0_EB1540.s create mode 100644 asm/nonmatchings/code_EB1170/func_8024077C_EB15DC.s create mode 100644 asm/nonmatchings/code_EB1170/func_8024086C_EB16CC.s create mode 100644 asm/nonmatchings/code_EB1170/func_802409F8_EB1858.s create mode 100644 asm/nonmatchings/code_EB1170/func_80240A3C_EB189C.s create mode 100644 asm/nonmatchings/code_EB1170/func_80240A68_EB18C8.s create mode 100644 asm/nonmatchings/code_EB1170/func_80240A8C_EB18EC.s create mode 100644 asm/nonmatchings/code_EB5130/func_80240000_EB5130.s create mode 100644 asm/nonmatchings/code_EB5130/func_80240124_EB5254.s create mode 100644 asm/nonmatchings/code_EB5130/func_8024030C_EB543C.s create mode 100644 asm/nonmatchings/code_EB5470/func_80240340_EB5470.s create mode 100644 asm/nonmatchings/code_EB5470/func_8024036C_EB549C.s create mode 100644 asm/nonmatchings/code_EB7230/func_80240000_EB7230.s create mode 100644 asm/nonmatchings/code_EB7230/func_80240124_EB7354.s create mode 100644 asm/nonmatchings/code_EB7540/func_80240310_EB7540.s create mode 100644 asm/nonmatchings/code_EB7540/func_802403D8_EB7608.s create mode 100644 asm/nonmatchings/code_EB7540/func_80240478_EB76A8.s create mode 100644 asm/nonmatchings/code_EB7540/func_80240504_EB7734.s create mode 100644 asm/nonmatchings/code_EB7540/func_80240520_EB7750.s create mode 100644 asm/nonmatchings/code_EB8E50/func_80240000_EB8E50.s create mode 100644 asm/nonmatchings/code_EB8E90/func_80240040_EB8E90.s create mode 100644 asm/nonmatchings/code_EB8E90/func_80240198_EB8FE8.s create mode 100644 asm/nonmatchings/code_EB8E90/func_80240440_EB9290.s create mode 100644 asm/nonmatchings/code_EB8E90/func_80240500_EB9350.s create mode 100644 asm/nonmatchings/code_EB8E90/func_802406BC_EB950C.s create mode 100644 asm/nonmatchings/code_EB8E90/func_80240770_EB95C0.s create mode 100644 asm/nonmatchings/code_EB8E90/func_802407E4_EB9634.s create mode 100644 asm/nonmatchings/code_EB8E90/func_8024085C_EB96AC.s create mode 100644 asm/nonmatchings/code_EB8E90/func_8024098C_EB97DC.s create mode 100644 asm/nonmatchings/code_EB8E90/func_80240AAC_EB98FC.s create mode 100644 asm/nonmatchings/code_EB8E90/func_80240B14_EB9964.s create mode 100644 asm/nonmatchings/code_EB8E90/func_80240BD4_EB9A24.s create mode 100644 asm/nonmatchings/code_EB8E90/func_80240EFC_EB9D4C.s create mode 100644 asm/nonmatchings/code_EB9D90/func_80240F40_EB9D90.s create mode 100644 asm/nonmatchings/code_EB9D90/func_80240FB0_EB9E00.s create mode 100644 asm/nonmatchings/code_EB9D90/func_802410E4_EB9F34.s create mode 100644 asm/nonmatchings/code_EB9D90/func_8024121C_EBA06C.s create mode 100644 asm/nonmatchings/code_EB9D90/func_802413AC_EBA1FC.s create mode 100644 asm/nonmatchings/code_EB9D90/func_802413CC_EBA21C.s create mode 100644 asm/nonmatchings/code_EB9D90/func_802413EC_EBA23C.s create mode 100644 asm/nonmatchings/code_EC2200/func_80240000_EC2200.s create mode 100644 asm/nonmatchings/code_EC2240/func_80240040_EC2240.s create mode 100644 asm/nonmatchings/code_EC2240/func_802400F4_EC22F4.s create mode 100644 asm/nonmatchings/code_EC2240/func_80240158_EC2358.s create mode 100644 asm/nonmatchings/code_EC2610/func_80240410_EC2610.s create mode 100644 asm/nonmatchings/code_EC2610/func_80240480_EC2680.s create mode 100644 asm/nonmatchings/code_EC71B0/func_80240000_EC71B0.s create mode 100644 asm/nonmatchings/code_EC71B0/func_80240124_EC72D4.s create mode 100644 asm/nonmatchings/code_EC71B0/func_8024030C_EC74BC.s create mode 100644 asm/nonmatchings/code_EC71B0/func_80240344_EC74F4.s create mode 100644 asm/nonmatchings/code_EC7590/func_802403E0_EC7590.s create mode 100644 asm/nonmatchings/code_EC7590/func_80240450_EC7600.s create mode 100644 asm/nonmatchings/code_EC7590/func_8024061C_EC77CC.s create mode 100644 asm/nonmatchings/code_EC7590/func_802406D0_EC7880.s create mode 100644 asm/nonmatchings/code_EC9D00/func_80240000_EC9D00.s create mode 100644 asm/nonmatchings/code_EC9D00/func_8024001C_EC9D1C.s create mode 100644 asm/nonmatchings/code_EC9D00/func_8024003C_EC9D3C.s create mode 100644 asm/nonmatchings/code_EC9D00/func_80240068_EC9D68.s create mode 100644 asm/nonmatchings/code_EC9D00/func_802400D4_EC9DD4.s create mode 100644 asm/nonmatchings/code_EC9D00/func_80240120_EC9E20.s create mode 100644 asm/nonmatchings/code_EC9D00/func_802401CC_EC9ECC.s create mode 100644 asm/nonmatchings/code_EC9D00/func_8024041C_ECA11C.s create mode 100644 asm/nonmatchings/code_EC9D00/func_80240448_ECA148.s create mode 100644 asm/nonmatchings/code_EC9D00/func_80240480_ECA180.s create mode 100644 asm/nonmatchings/code_EC9D00/func_80240510_ECA210.s create mode 100644 asm/nonmatchings/code_EC9D00/func_80240544_ECA244.s create mode 100644 asm/nonmatchings/code_EC9D00/func_802405A8_ECA2A8.s create mode 100644 asm/nonmatchings/code_EC9D00/func_80240600_ECA300.s create mode 100644 asm/nonmatchings/code_EC9D00/func_80240B38_ECA838.s create mode 100644 asm/nonmatchings/code_EC9D00/func_80240C78_ECA978.s create mode 100644 asm/nonmatchings/code_EC9D00/func_80240CC0_ECA9C0.s create mode 100644 asm/nonmatchings/code_EC9D00/func_80240D08_ECAA08.s create mode 100644 asm/nonmatchings/code_ECAA40/func_80240D40_ECAA40.s create mode 100644 asm/nonmatchings/code_ECAA80/func_80240D80_ECAA80.s create mode 100644 asm/nonmatchings/code_ECAA80/func_80241364_ECB064.s create mode 100644 asm/nonmatchings/code_ECAA80/func_802414C8_ECB1C8.s create mode 100644 asm/nonmatchings/code_ECAA80/func_8024150C_ECB20C.s create mode 100644 asm/nonmatchings/code_ECAA80/func_80241770_ECB470.s create mode 100644 asm/nonmatchings/code_ECAA80/func_802417CC_ECB4CC.s create mode 100644 asm/nonmatchings/code_ECAA80/func_8024199C_ECB69C.s create mode 100644 asm/nonmatchings/code_ECAA80/func_802419F0_ECB6F0.s create mode 100644 asm/nonmatchings/code_ECAA80/func_80241A28_ECB728.s create mode 100644 asm/nonmatchings/code_ECAA80/func_80241AC4_ECB7C4.s create mode 100644 asm/nonmatchings/code_ECAA80/func_80241B88_ECB888.s create mode 100644 asm/nonmatchings/code_ECAA80/func_80241BF8_ECB8F8.s create mode 100644 asm/nonmatchings/code_ECB930/func_80241C30_ECB930.s create mode 100644 asm/nonmatchings/code_ECB930/func_80241CA0_ECB9A0.s create mode 100644 asm/nonmatchings/code_ECBB70/func_80241E70_ECBB70.s create mode 100644 asm/nonmatchings/code_ECFFF0/func_80240000_ECFFF0.s create mode 100644 asm/nonmatchings/code_ED0030/func_80240040_ED0030.s create mode 100644 asm/nonmatchings/code_ED00D0/func_802400E0_ED00D0.s create mode 100644 asm/nonmatchings/code_ED00D0/func_80240150_ED0140.s create mode 100644 asm/nonmatchings/code_ED0310/func_80240320_ED0310.s create mode 100644 asm/nonmatchings/code_ED0310/func_802404D0_ED04C0.s create mode 100644 asm/nonmatchings/code_ED0310/func_80240AF8_ED0AE8.s create mode 100644 asm/nonmatchings/code_ED0310/func_80240BB8_ED0BA8.s create mode 100644 asm/nonmatchings/code_ED0310/func_80240EFC_ED0EEC.s create mode 100644 asm/nonmatchings/code_ED0310/func_80240F74_ED0F64.s create mode 100644 asm/nonmatchings/code_ED0310/func_80240FE0_ED0FD0.s create mode 100644 asm/nonmatchings/code_ED0310/func_80241114_ED1104.s create mode 100644 asm/nonmatchings/code_ED0310/func_80241178_ED1168.s create mode 100644 asm/nonmatchings/code_ED0310/func_80241508_ED14F8.s create mode 100644 asm/nonmatchings/code_ED0310/func_8024162C_ED161C.s create mode 100644 asm/nonmatchings/code_ED4220/func_80240000_ED4220.s create mode 100644 asm/nonmatchings/code_ED4260/func_80240040_ED4260.s create mode 100644 asm/nonmatchings/code_ED42A0/func_80240080_ED42A0.s create mode 100644 asm/nonmatchings/code_ED42A0/func_80240134_ED4354.s create mode 100644 asm/nonmatchings/code_ED42A0/func_80240198_ED43B8.s create mode 100644 asm/nonmatchings/code_ED42A0/func_802402BC_ED44DC.s create mode 100644 asm/nonmatchings/code_ED46D0/func_802404B0_ED46D0.s create mode 100644 asm/nonmatchings/code_ED46D0/func_80240B10_ED4D30.s create mode 100644 asm/nonmatchings/code_ED5540/func_80241320_ED5540.s create mode 100644 asm/nonmatchings/code_ED5540/func_80241390_ED55B0.s create mode 100644 asm/nonmatchings/code_ED8E20/func_80240000_ED8E20.s create mode 100644 asm/nonmatchings/code_ED8E20/func_80240020_ED8E40.s create mode 100644 asm/nonmatchings/code_ED8E20/func_80240034_ED8E54.s create mode 100644 asm/nonmatchings/code_ED8E20/func_802400F0_ED8F10.s create mode 100644 asm/nonmatchings/code_ED8E20/func_80240208_ED9028.s create mode 100644 asm/nonmatchings/code_ED8E20/func_80240274_ED9094.s create mode 100644 asm/nonmatchings/code_ED8E20/func_80240318_ED9138.s create mode 100644 asm/nonmatchings/code_EDBFE0/func_80240000_EDBFE0.s create mode 100644 asm/nonmatchings/code_EDC020/func_80240040_EDC020.s create mode 100644 asm/nonmatchings/code_EDC020/func_802400B0_EDC090.s create mode 100644 asm/nonmatchings/code_EDC020/func_8024027C_EDC25C.s create mode 100644 asm/nonmatchings/code_EDC020/func_80240330_EDC310.s create mode 100644 asm/nonmatchings/code_EDC020/func_80240394_EDC374.s create mode 100644 asm/nonmatchings/code_EDC020/func_802403F0_EDC3D0.s create mode 100644 asm/nonmatchings/code_EDC020/func_802405C0_EDC5A0.s create mode 100644 asm/nonmatchings/code_EDC020/func_80240614_EDC5F4.s create mode 100644 asm/nonmatchings/code_EDC020/func_8024064C_EDC62C.s create mode 100644 asm/nonmatchings/code_EDE9C0/func_80240000_EDE9C0.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80240040_EDEA00.s create mode 100644 asm/nonmatchings/code_EDEA00/func_802401C4_EDEB84.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80240374_EDED34.s create mode 100644 asm/nonmatchings/code_EDEA00/func_8024099C_EDF35C.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80240A5C_EDF41C.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80240DA0_EDF760.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80240E18_EDF7D8.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80240E84_EDF844.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80240FB8_EDF978.s create mode 100644 asm/nonmatchings/code_EDEA00/func_8024101C_EDF9DC.s create mode 100644 asm/nonmatchings/code_EDEA00/func_802413AC_EDFD6C.s create mode 100644 asm/nonmatchings/code_EDEA00/func_802414D0_EDFE90.s create mode 100644 asm/nonmatchings/code_EDEA00/func_802416E8_EE00A8.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80241730_EE00F0.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80241B94_EE0554.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80241DE4_EE07A4.s create mode 100644 asm/nonmatchings/code_EDEA00/func_802422F0_EE0CB0.s create mode 100644 asm/nonmatchings/code_EDEA00/func_8024236C_EE0D2C.s create mode 100644 asm/nonmatchings/code_EDEA00/func_802424A0_EE0E60.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80242604_EE0FC4.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80242684_EE1044.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80242AF0_EE14B0.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80243470_EE1E30.s create mode 100644 asm/nonmatchings/code_EDEA00/func_80243584_EE1F44.s create mode 100644 asm/nonmatchings/code_EDEA00/pause_interp_text_scroll_EE1DD8.s create mode 100644 asm/nonmatchings/code_EE2040/func_80243680_EE2040.s create mode 100644 asm/nonmatchings/code_EE65B0/func_80240000_EE65B0.s create mode 100644 asm/nonmatchings/code_EE65B0/func_80240124_EE66D4.s create mode 100644 asm/nonmatchings/code_EE65B0/func_8024030C_EE68BC.s create mode 100644 asm/nonmatchings/code_EE65B0/func_80240340_EE68F0.s create mode 100644 asm/nonmatchings/code_EE65B0/func_802403D4_EE6984.s create mode 100644 asm/nonmatchings/code_EE65B0/func_8024042C_EE69DC.s create mode 100644 asm/nonmatchings/code_EE65B0/func_8024046C_EE6A1C.s create mode 100644 asm/nonmatchings/code_EE65B0/func_80240504_EE6AB4.s create mode 100644 asm/nonmatchings/code_EE65B0/func_802407D4_EE6D84.s create mode 100644 asm/nonmatchings/code_EE70C0/func_80240B10_EE70C0.s create mode 100644 asm/nonmatchings/code_EE70C0/func_80240CC0_EE7270.s create mode 100644 asm/nonmatchings/code_EE70C0/func_802412E8_EE7898.s create mode 100644 asm/nonmatchings/code_EE70C0/func_802413A8_EE7958.s create mode 100644 asm/nonmatchings/code_EE70C0/func_802416EC_EE7C9C.s create mode 100644 asm/nonmatchings/code_EE70C0/func_80241764_EE7D14.s create mode 100644 asm/nonmatchings/code_EE70C0/func_802417D0_EE7D80.s create mode 100644 asm/nonmatchings/code_EE70C0/func_80241904_EE7EB4.s create mode 100644 asm/nonmatchings/code_EE70C0/func_80241968_EE7F18.s create mode 100644 asm/nonmatchings/code_EE70C0/func_80241CF8_EE82A8.s create mode 100644 asm/nonmatchings/code_EE70C0/func_80241E1C_EE83CC.s create mode 100644 asm/nonmatchings/code_EE70C0/func_80242034_EE85E4.s create mode 100644 asm/nonmatchings/code_EE70C0/func_80242090_EE8640.s create mode 100644 asm/nonmatchings/code_EE70C0/func_80242260_EE8810.s create mode 100644 asm/nonmatchings/code_EE70C0/func_802422B4_EE8864.s create mode 100644 asm/nonmatchings/code_EE70C0/func_802422EC_EE889C.s create mode 100644 asm/nonmatchings/code_EE8940/func_80242390_EE8940.s create mode 100644 asm/nonmatchings/code_EED100/func_80240000_EED100.s create mode 100644 asm/nonmatchings/code_EED140/func_80240040_EED140.s create mode 100644 asm/nonmatchings/code_EED1E0/func_802400E0_EED1E0.s create mode 100644 asm/nonmatchings/code_EED1E0/func_802400FC_EED1FC.s create mode 100644 asm/nonmatchings/code_EED1E0/func_8024011C_EED21C.s create mode 100644 asm/nonmatchings/code_EED1E0/func_80240148_EED248.s create mode 100644 asm/nonmatchings/code_EED1E0/func_802401B4_EED2B4.s create mode 100644 asm/nonmatchings/code_EED1E0/func_80240200_EED300.s create mode 100644 asm/nonmatchings/code_EED1E0/func_802402AC_EED3AC.s create mode 100644 asm/nonmatchings/code_EED1E0/func_802404FC_EED5FC.s create mode 100644 asm/nonmatchings/code_EED1E0/func_80240528_EED628.s create mode 100644 asm/nonmatchings/code_EED1E0/func_80240560_EED660.s create mode 100644 asm/nonmatchings/code_EED1E0/func_802405F0_EED6F0.s create mode 100644 asm/nonmatchings/code_EED1E0/func_80240624_EED724.s create mode 100644 asm/nonmatchings/code_EED1E0/func_80240688_EED788.s create mode 100644 asm/nonmatchings/code_EED1E0/func_802406E0_EED7E0.s create mode 100644 asm/nonmatchings/code_EED1E0/func_80240C18_EEDD18.s create mode 100644 asm/nonmatchings/code_EED1E0/func_80240D58_EEDE58.s create mode 100644 asm/nonmatchings/code_EED1E0/func_80240DA0_EEDEA0.s create mode 100644 asm/nonmatchings/code_EED1E0/func_80240DE8_EEDEE8.s create mode 100644 asm/nonmatchings/code_EED1E0/func_80240E18_EEDF18.s create mode 100644 asm/nonmatchings/code_EEDF50/func_80240E50_EEDF50.s create mode 100644 asm/nonmatchings/code_EEDF50/func_80241000_EEE100.s create mode 100644 asm/nonmatchings/code_EEDF50/func_80241628_EEE728.s create mode 100644 asm/nonmatchings/code_EEDF50/func_802416E8_EEE7E8.s create mode 100644 asm/nonmatchings/code_EEDF50/func_80241A2C_EEEB2C.s create mode 100644 asm/nonmatchings/code_EEDF50/func_80241AA4_EEEBA4.s create mode 100644 asm/nonmatchings/code_EEDF50/func_80241B10_EEEC10.s create mode 100644 asm/nonmatchings/code_EEDF50/func_80241C44_EEED44.s create mode 100644 asm/nonmatchings/code_EEDF50/func_80241CA8_EEEDA8.s create mode 100644 asm/nonmatchings/code_EEDF50/func_80242038_EEF138.s create mode 100644 asm/nonmatchings/code_EEDF50/func_8024215C_EEF25C.s create mode 100644 asm/nonmatchings/code_EEDF50/func_80242374_EEF474.s create mode 100644 asm/nonmatchings/code_EEDF50/func_802424A4_EEF5A4.s create mode 100644 asm/nonmatchings/code_EEDF50/func_80242724_EEF824.s create mode 100644 asm/nonmatchings/code_EEDF50/func_80242780_EEF880.s create mode 100644 asm/nonmatchings/code_EEFAA0/func_802429A0_EEFAA0.s create mode 100644 asm/nonmatchings/code_EF2610/func_80240000_EF2610.s create mode 100644 asm/nonmatchings/code_EF2650/func_80240040_EF2650.s create mode 100644 asm/nonmatchings/code_EF2680/func_80240070_EF2680.s create mode 100644 asm/nonmatchings/code_EF2680/func_80240220_EF2830.s create mode 100644 asm/nonmatchings/code_EF2680/func_80240848_EF2E58.s create mode 100644 asm/nonmatchings/code_EF2680/func_80240908_EF2F18.s create mode 100644 asm/nonmatchings/code_EF2680/func_80240C4C_EF325C.s create mode 100644 asm/nonmatchings/code_EF2680/func_80240CC4_EF32D4.s create mode 100644 asm/nonmatchings/code_EF2680/func_80240D30_EF3340.s create mode 100644 asm/nonmatchings/code_EF2680/func_80240E64_EF3474.s create mode 100644 asm/nonmatchings/code_EF2680/func_80240EC8_EF34D8.s create mode 100644 asm/nonmatchings/code_EF2680/func_80241258_EF3868.s create mode 100644 asm/nonmatchings/code_EF2680/func_8024137C_EF398C.s create mode 100644 asm/nonmatchings/code_EF2680/func_80241594_EF3BA4.s create mode 100644 asm/nonmatchings/code_EF2680/func_802415DC_EF3BEC.s create mode 100644 asm/nonmatchings/code_EF2680/func_80241A40_EF4050.s create mode 100644 asm/nonmatchings/code_EF2680/func_80241C90_EF42A0.s create mode 100644 asm/nonmatchings/code_EF2680/func_8024219C_EF47AC.s create mode 100644 asm/nonmatchings/code_EF2680/func_80242218_EF4828.s create mode 100644 asm/nonmatchings/code_EF2680/func_8024234C_EF495C.s create mode 100644 asm/nonmatchings/code_EF2680/func_802424B0_EF4AC0.s create mode 100644 asm/nonmatchings/code_EF2680/func_80242530_EF4B40.s create mode 100644 asm/nonmatchings/code_EF2680/func_8024299C_EF4FAC.s create mode 100644 asm/nonmatchings/code_EF7A80/func_80240000_EF7A80.s create mode 100644 asm/nonmatchings/code_EF7A80/func_80240124_EF7BA4.s create mode 100644 asm/nonmatchings/code_EF7A80/func_8024030C_EF7D8C.s create mode 100644 asm/nonmatchings/code_EF7A80/func_80240340_EF7DC0.s create mode 100644 asm/nonmatchings/code_EF7A80/func_80240394_EF7E14.s create mode 100644 asm/nonmatchings/code_EF7FB0/func_80240530_EF7FB0.s create mode 100644 asm/nonmatchings/code_EF8010/func_80240590_EF8010.s create mode 100644 asm/nonmatchings/code_EF8010/func_80240600_EF8080.s create mode 100644 asm/nonmatchings/code_EFEB00/func_80240000_EFEB00.s create mode 100644 asm/nonmatchings/code_EFEB00/func_80240124_EFEC24.s create mode 100644 asm/nonmatchings/code_EFEB00/func_8024030C_EFEE0C.s create mode 100644 asm/nonmatchings/code_EFEB00/func_80240340_EFEE40.s create mode 100644 asm/nonmatchings/code_EFEB00/func_802404D0_EFEFD0.s create mode 100644 asm/nonmatchings/code_EFEB00/func_80240540_EFF040.s create mode 100644 asm/nonmatchings/code_EFEB00/func_80240660_EFF160.s create mode 100644 asm/nonmatchings/code_EFEB00/func_80240784_EFF284.s create mode 100644 asm/nonmatchings/code_EFEB00/func_802407B0_EFF2B0.s create mode 100644 src/code_EA0900.c create mode 100644 src/code_EA0C10.c create mode 100644 src/code_EA36E0.c create mode 100644 src/code_EA6FD0.c create mode 100644 src/code_EA7010.c create mode 100644 src/code_EA7320.c create mode 100644 src/code_EA8AE0.c create mode 100644 src/code_EB0E60.c create mode 100644 src/code_EB1170.c create mode 100644 src/code_EB5130.c create mode 100644 src/code_EB5470.c create mode 100644 src/code_EB7230.c create mode 100644 src/code_EB7540.c create mode 100644 src/code_EB8E50.c create mode 100644 src/code_EB8E90.c create mode 100644 src/code_EB9D90.c create mode 100644 src/code_EC2200.c create mode 100644 src/code_EC2240.c create mode 100644 src/code_EC2610.c create mode 100644 src/code_EC71B0.c create mode 100644 src/code_EC7590.c create mode 100644 src/code_EC9D00.c create mode 100644 src/code_ECAA40.c create mode 100644 src/code_ECAA80.c create mode 100644 src/code_ECB930.c create mode 100644 src/code_ECBB70.c create mode 100644 src/code_ECFFF0.c create mode 100644 src/code_ED0030.c create mode 100644 src/code_ED00D0.c create mode 100644 src/code_ED0310.c create mode 100644 src/code_ED4220.c create mode 100644 src/code_ED4260.c create mode 100644 src/code_ED42A0.c create mode 100644 src/code_ED46D0.c create mode 100644 src/code_ED5540.c create mode 100644 src/code_ED8E20.c create mode 100644 src/code_EDBFE0.c create mode 100644 src/code_EDC020.c create mode 100644 src/code_EDE9C0.c create mode 100644 src/code_EDEA00.c create mode 100644 src/code_EE2040.c create mode 100644 src/code_EE65B0.c create mode 100644 src/code_EE70C0.c create mode 100644 src/code_EE8940.c create mode 100644 src/code_EED100.c create mode 100644 src/code_EED140.c create mode 100644 src/code_EED1E0.c create mode 100644 src/code_EEDF50.c create mode 100644 src/code_EEFAA0.c create mode 100644 src/code_EF2610.c create mode 100644 src/code_EF2650.c create mode 100644 src/code_EF2680.c create mode 100644 src/code_EF7A80.c create mode 100644 src/code_EF7FB0.c create mode 100644 src/code_EF8010.c create mode 100644 src/code_EFEB00.c diff --git a/Makefile b/Makefile index 17dd97f8a3..eee8d5d55a 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,7 @@ CPPFLAGS := -Iinclude -Isrc -D _LANGUAGE_C -D _FINALROM -ffreestanding -DF3DEX ASFLAGS := -EB -Iinclude -march=vr4300 -mtune=vr4300 OLDASFLAGS := -EB -Iinclude -G 0 CFLAGS := -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300 -mips3 -mgp32 -mfp32 -Wimplicit -Wuninitialized -Wshadow -LDFLAGS := -T undefined_syms.txt -T undefined_syms_auto.txt -T undefined_funcs.txt -T $(BUILD_DIR)/$(LD_SCRIPT) -Map $(LD_MAP) --no-check-sections +LDFLAGS := -T undefined_syms.txt -T undefined_syms_auto.txt -T undefined_funcs.txt -T undefined_funcs_auto.txt -T $(BUILD_DIR)/$(LD_SCRIPT) -Map $(LD_MAP) --no-check-sections ifeq ($(WATCH_INCLUDES),1) CPPMFLAGS = -MP -MD -MF $@.mk -MT $(BUILD_DIR)/$*.d diff --git a/asm/nonmatchings/code_EA0900/func_80240000_EA0900.s b/asm/nonmatchings/code_EA0900/func_80240000_EA0900.s new file mode 100644 index 0000000000..495dd2f5ea --- /dev/null +++ b/asm/nonmatchings/code_EA0900/func_80240000_EA0900.s @@ -0,0 +1,89 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EA0900 +/* EA0900 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA0904 80240004 AFB00010 */ sw $s0, 0x10($sp) +/* EA0908 80240008 0080802D */ daddu $s0, $a0, $zero +/* EA090C 8024000C AFBF0014 */ sw $ra, 0x14($sp) +/* EA0910 80240010 8E0300A8 */ lw $v1, 0xa8($s0) +/* EA0914 80240014 8E020088 */ lw $v0, 0x88($s0) +/* EA0918 80240018 00621821 */ addu $v1, $v1, $v0 +/* EA091C 8024001C 04610004 */ bgez $v1, .L80240030 +/* EA0920 80240020 AE0300A8 */ sw $v1, 0xa8($s0) +/* EA0924 80240024 3C020002 */ lui $v0, 2 +/* EA0928 80240028 08090010 */ j .L80240040 +/* EA092C 8024002C 00621021 */ addu $v0, $v1, $v0 +.L80240030: +/* EA0930 80240030 3C040002 */ lui $a0, 2 +/* EA0934 80240034 0083102A */ slt $v0, $a0, $v1 +/* EA0938 80240038 10400002 */ beqz $v0, .L80240044 +/* EA093C 8024003C 00641023 */ subu $v0, $v1, $a0 +.L80240040: +/* EA0940 80240040 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240044: +/* EA0944 80240044 8E0300AC */ lw $v1, 0xac($s0) +/* EA0948 80240048 8E02008C */ lw $v0, 0x8c($s0) +/* EA094C 8024004C 00621821 */ addu $v1, $v1, $v0 +/* EA0950 80240050 04610004 */ bgez $v1, .L80240064 +/* EA0954 80240054 AE0300AC */ sw $v1, 0xac($s0) +/* EA0958 80240058 3C020002 */ lui $v0, 2 +/* EA095C 8024005C 0809001D */ j .L80240074 +/* EA0960 80240060 00621021 */ addu $v0, $v1, $v0 +.L80240064: +/* EA0964 80240064 3C040002 */ lui $a0, 2 +/* EA0968 80240068 0083102A */ slt $v0, $a0, $v1 +/* EA096C 8024006C 10400002 */ beqz $v0, .L80240078 +/* EA0970 80240070 00641023 */ subu $v0, $v1, $a0 +.L80240074: +/* EA0974 80240074 AE0200AC */ sw $v0, 0xac($s0) +.L80240078: +/* EA0978 80240078 8E0300B0 */ lw $v1, 0xb0($s0) +/* EA097C 8024007C 8E020090 */ lw $v0, 0x90($s0) +/* EA0980 80240080 00621821 */ addu $v1, $v1, $v0 +/* EA0984 80240084 04610004 */ bgez $v1, .L80240098 +/* EA0988 80240088 AE0300B0 */ sw $v1, 0xb0($s0) +/* EA098C 8024008C 3C020002 */ lui $v0, 2 +/* EA0990 80240090 0809002A */ j .L802400A8 +/* EA0994 80240094 00621021 */ addu $v0, $v1, $v0 +.L80240098: +/* EA0998 80240098 3C040002 */ lui $a0, 2 +/* EA099C 8024009C 0083102A */ slt $v0, $a0, $v1 +/* EA09A0 802400A0 10400002 */ beqz $v0, .L802400AC +/* EA09A4 802400A4 00641023 */ subu $v0, $v1, $a0 +.L802400A8: +/* EA09A8 802400A8 AE0200B0 */ sw $v0, 0xb0($s0) +.L802400AC: +/* EA09AC 802400AC 8E0300B4 */ lw $v1, 0xb4($s0) +/* EA09B0 802400B0 8E020094 */ lw $v0, 0x94($s0) +/* EA09B4 802400B4 00621821 */ addu $v1, $v1, $v0 +/* EA09B8 802400B8 04610004 */ bgez $v1, .L802400CC +/* EA09BC 802400BC AE0300B4 */ sw $v1, 0xb4($s0) +/* EA09C0 802400C0 3C020002 */ lui $v0, 2 +/* EA09C4 802400C4 08090037 */ j .L802400DC +/* EA09C8 802400C8 00621021 */ addu $v0, $v1, $v0 +.L802400CC: +/* EA09CC 802400CC 3C040002 */ lui $a0, 2 +/* EA09D0 802400D0 0083102A */ slt $v0, $a0, $v1 +/* EA09D4 802400D4 10400002 */ beqz $v0, .L802400E0 +/* EA09D8 802400D8 00641023 */ subu $v0, $v1, $a0 +.L802400DC: +/* EA09DC 802400DC AE0200B4 */ sw $v0, 0xb4($s0) +.L802400E0: +/* EA09E0 802400E0 8E040084 */ lw $a0, 0x84($s0) +/* EA09E4 802400E4 0C049819 */ jal func_80126064 +/* EA09E8 802400E8 8E0500A8 */ lw $a1, 0xa8($s0) +/* EA09EC 802400EC 8E040084 */ lw $a0, 0x84($s0) +/* EA09F0 802400F0 0C04981F */ jal func_8012607C +/* EA09F4 802400F4 8E0500AC */ lw $a1, 0xac($s0) +/* EA09F8 802400F8 8E040084 */ lw $a0, 0x84($s0) +/* EA09FC 802400FC 0C049825 */ jal func_80126094 +/* EA0A00 80240100 8E0500B0 */ lw $a1, 0xb0($s0) +/* EA0A04 80240104 8E040084 */ lw $a0, 0x84($s0) +/* EA0A08 80240108 0C04982B */ jal func_801260AC +/* EA0A0C 8024010C 8E0500B4 */ lw $a1, 0xb4($s0) +/* EA0A10 80240110 8FBF0014 */ lw $ra, 0x14($sp) +/* EA0A14 80240114 8FB00010 */ lw $s0, 0x10($sp) +/* EA0A18 80240118 0000102D */ daddu $v0, $zero, $zero +/* EA0A1C 8024011C 03E00008 */ jr $ra +/* EA0A20 80240120 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA0900/func_80240124_EA0A24.s b/asm/nonmatchings/code_EA0900/func_80240124_EA0A24.s new file mode 100644 index 0000000000..3d2b81981e --- /dev/null +++ b/asm/nonmatchings/code_EA0900/func_80240124_EA0A24.s @@ -0,0 +1,144 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240124_EA0A24 +/* EA0A24 80240124 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA0A28 80240128 AFB00010 */ sw $s0, 0x10($sp) +/* EA0A2C 8024012C 0080802D */ daddu $s0, $a0, $zero +/* EA0A30 80240130 10A00005 */ beqz $a1, .L80240148 +/* EA0A34 80240134 AFBF0014 */ sw $ra, 0x14($sp) +/* EA0A38 80240138 AE000070 */ sw $zero, 0x70($s0) +/* EA0A3C 8024013C AE000074 */ sw $zero, 0x74($s0) +/* EA0A40 80240140 AE000078 */ sw $zero, 0x78($s0) +/* EA0A44 80240144 AE00007C */ sw $zero, 0x7c($s0) +.L80240148: +/* EA0A48 80240148 8E020070 */ lw $v0, 0x70($s0) +/* EA0A4C 8024014C 1440000E */ bnez $v0, .L80240188 +/* EA0A50 80240150 00000000 */ nop +/* EA0A54 80240154 8E0300A8 */ lw $v1, 0xa8($s0) +/* EA0A58 80240158 8E020088 */ lw $v0, 0x88($s0) +/* EA0A5C 8024015C 00621821 */ addu $v1, $v1, $v0 +/* EA0A60 80240160 04610004 */ bgez $v1, .L80240174 +/* EA0A64 80240164 AE0300A8 */ sw $v1, 0xa8($s0) +/* EA0A68 80240168 3C020002 */ lui $v0, 2 +/* EA0A6C 8024016C 08090061 */ j .L80240184 +/* EA0A70 80240170 00621021 */ addu $v0, $v1, $v0 +.L80240174: +/* EA0A74 80240174 3C040002 */ lui $a0, 2 +/* EA0A78 80240178 0083102A */ slt $v0, $a0, $v1 +/* EA0A7C 8024017C 10400002 */ beqz $v0, .L80240188 +/* EA0A80 80240180 00641023 */ subu $v0, $v1, $a0 +.L80240184: +/* EA0A84 80240184 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240188: +/* EA0A88 80240188 8E020074 */ lw $v0, 0x74($s0) +/* EA0A8C 8024018C 1440000E */ bnez $v0, .L802401C8 +/* EA0A90 80240190 00000000 */ nop +/* EA0A94 80240194 8E0300AC */ lw $v1, 0xac($s0) +/* EA0A98 80240198 8E02008C */ lw $v0, 0x8c($s0) +/* EA0A9C 8024019C 00621821 */ addu $v1, $v1, $v0 +/* EA0AA0 802401A0 04610004 */ bgez $v1, .L802401B4 +/* EA0AA4 802401A4 AE0300AC */ sw $v1, 0xac($s0) +/* EA0AA8 802401A8 3C020002 */ lui $v0, 2 +/* EA0AAC 802401AC 08090071 */ j .L802401C4 +/* EA0AB0 802401B0 00621021 */ addu $v0, $v1, $v0 +.L802401B4: +/* EA0AB4 802401B4 3C040002 */ lui $a0, 2 +/* EA0AB8 802401B8 0083102A */ slt $v0, $a0, $v1 +/* EA0ABC 802401BC 10400002 */ beqz $v0, .L802401C8 +/* EA0AC0 802401C0 00641023 */ subu $v0, $v1, $a0 +.L802401C4: +/* EA0AC4 802401C4 AE0200AC */ sw $v0, 0xac($s0) +.L802401C8: +/* EA0AC8 802401C8 8E020078 */ lw $v0, 0x78($s0) +/* EA0ACC 802401CC 1440000E */ bnez $v0, .L80240208 +/* EA0AD0 802401D0 00000000 */ nop +/* EA0AD4 802401D4 8E0300B0 */ lw $v1, 0xb0($s0) +/* EA0AD8 802401D8 8E020090 */ lw $v0, 0x90($s0) +/* EA0ADC 802401DC 00621821 */ addu $v1, $v1, $v0 +/* EA0AE0 802401E0 04610004 */ bgez $v1, .L802401F4 +/* EA0AE4 802401E4 AE0300B0 */ sw $v1, 0xb0($s0) +/* EA0AE8 802401E8 3C020002 */ lui $v0, 2 +/* EA0AEC 802401EC 08090081 */ j .L80240204 +/* EA0AF0 802401F0 00621021 */ addu $v0, $v1, $v0 +.L802401F4: +/* EA0AF4 802401F4 3C040002 */ lui $a0, 2 +/* EA0AF8 802401F8 0083102A */ slt $v0, $a0, $v1 +/* EA0AFC 802401FC 10400002 */ beqz $v0, .L80240208 +/* EA0B00 80240200 00641023 */ subu $v0, $v1, $a0 +.L80240204: +/* EA0B04 80240204 AE0200B0 */ sw $v0, 0xb0($s0) +.L80240208: +/* EA0B08 80240208 8E02007C */ lw $v0, 0x7c($s0) +/* EA0B0C 8024020C 1440000E */ bnez $v0, .L80240248 +/* EA0B10 80240210 00000000 */ nop +/* EA0B14 80240214 8E0300B4 */ lw $v1, 0xb4($s0) +/* EA0B18 80240218 8E020094 */ lw $v0, 0x94($s0) +/* EA0B1C 8024021C 00621821 */ addu $v1, $v1, $v0 +/* EA0B20 80240220 04610004 */ bgez $v1, .L80240234 +/* EA0B24 80240224 AE0300B4 */ sw $v1, 0xb4($s0) +/* EA0B28 80240228 3C020002 */ lui $v0, 2 +/* EA0B2C 8024022C 08090091 */ j .L80240244 +/* EA0B30 80240230 00621021 */ addu $v0, $v1, $v0 +.L80240234: +/* EA0B34 80240234 3C040002 */ lui $a0, 2 +/* EA0B38 80240238 0083102A */ slt $v0, $a0, $v1 +/* EA0B3C 8024023C 10400002 */ beqz $v0, .L80240248 +/* EA0B40 80240240 00641023 */ subu $v0, $v1, $a0 +.L80240244: +/* EA0B44 80240244 AE0200B4 */ sw $v0, 0xb4($s0) +.L80240248: +/* EA0B48 80240248 8E040084 */ lw $a0, 0x84($s0) +/* EA0B4C 8024024C 0C049819 */ jal func_80126064 +/* EA0B50 80240250 8E0500A8 */ lw $a1, 0xa8($s0) +/* EA0B54 80240254 8E040084 */ lw $a0, 0x84($s0) +/* EA0B58 80240258 0C04981F */ jal func_8012607C +/* EA0B5C 8024025C 8E0500AC */ lw $a1, 0xac($s0) +/* EA0B60 80240260 8E040084 */ lw $a0, 0x84($s0) +/* EA0B64 80240264 0C049825 */ jal func_80126094 +/* EA0B68 80240268 8E0500B0 */ lw $a1, 0xb0($s0) +/* EA0B6C 8024026C 8E040084 */ lw $a0, 0x84($s0) +/* EA0B70 80240270 0C04982B */ jal func_801260AC +/* EA0B74 80240274 8E0500B4 */ lw $a1, 0xb4($s0) +/* EA0B78 80240278 8E020070 */ lw $v0, 0x70($s0) +/* EA0B7C 8024027C 8E030078 */ lw $v1, 0x78($s0) +/* EA0B80 80240280 8E040098 */ lw $a0, 0x98($s0) +/* EA0B84 80240284 24420001 */ addiu $v0, $v0, 1 +/* EA0B88 80240288 AE020070 */ sw $v0, 0x70($s0) +/* EA0B8C 8024028C 8E020074 */ lw $v0, 0x74($s0) +/* EA0B90 80240290 24630001 */ addiu $v1, $v1, 1 +/* EA0B94 80240294 AE030078 */ sw $v1, 0x78($s0) +/* EA0B98 80240298 8E030070 */ lw $v1, 0x70($s0) +/* EA0B9C 8024029C 24420001 */ addiu $v0, $v0, 1 +/* EA0BA0 802402A0 AE020074 */ sw $v0, 0x74($s0) +/* EA0BA4 802402A4 8E02007C */ lw $v0, 0x7c($s0) +/* EA0BA8 802402A8 0064182A */ slt $v1, $v1, $a0 +/* EA0BAC 802402AC 24420001 */ addiu $v0, $v0, 1 +/* EA0BB0 802402B0 14600002 */ bnez $v1, .L802402BC +/* EA0BB4 802402B4 AE02007C */ sw $v0, 0x7c($s0) +/* EA0BB8 802402B8 AE000070 */ sw $zero, 0x70($s0) +.L802402BC: +/* EA0BBC 802402BC 8E020074 */ lw $v0, 0x74($s0) +/* EA0BC0 802402C0 8E03009C */ lw $v1, 0x9c($s0) +/* EA0BC4 802402C4 0043102A */ slt $v0, $v0, $v1 +/* EA0BC8 802402C8 50400001 */ beql $v0, $zero, .L802402D0 +/* EA0BCC 802402CC AE000074 */ sw $zero, 0x74($s0) +.L802402D0: +/* EA0BD0 802402D0 8E020078 */ lw $v0, 0x78($s0) +/* EA0BD4 802402D4 8E0300A0 */ lw $v1, 0xa0($s0) +/* EA0BD8 802402D8 0043102A */ slt $v0, $v0, $v1 +/* EA0BDC 802402DC 50400001 */ beql $v0, $zero, .L802402E4 +/* EA0BE0 802402E0 AE000078 */ sw $zero, 0x78($s0) +.L802402E4: +/* EA0BE4 802402E4 8E02007C */ lw $v0, 0x7c($s0) +/* EA0BE8 802402E8 8E0300A4 */ lw $v1, 0xa4($s0) +/* EA0BEC 802402EC 0043102A */ slt $v0, $v0, $v1 +/* EA0BF0 802402F0 50400001 */ beql $v0, $zero, .L802402F8 +/* EA0BF4 802402F4 AE00007C */ sw $zero, 0x7c($s0) +.L802402F8: +/* EA0BF8 802402F8 8FBF0014 */ lw $ra, 0x14($sp) +/* EA0BFC 802402FC 8FB00010 */ lw $s0, 0x10($sp) +/* EA0C00 80240300 0000102D */ daddu $v0, $zero, $zero +/* EA0C04 80240304 03E00008 */ jr $ra +/* EA0C08 80240308 27BD0018 */ addiu $sp, $sp, 0x18 +/* EA0C0C 8024030C 00000000 */ nop diff --git a/asm/nonmatchings/code_EA0C10/func_80240310_EA0C10.s b/asm/nonmatchings/code_EA0C10/func_80240310_EA0C10.s new file mode 100644 index 0000000000..cb9a736977 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80240310_EA0C10.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240310_EA0C10 +/* EA0C10 80240310 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA0C14 80240314 AFB10014 */ sw $s1, 0x14($sp) +/* EA0C18 80240318 0080882D */ daddu $s1, $a0, $zero +/* EA0C1C 8024031C AFBF0018 */ sw $ra, 0x18($sp) +/* EA0C20 80240320 AFB00010 */ sw $s0, 0x10($sp) +/* EA0C24 80240324 8E300148 */ lw $s0, 0x148($s1) +/* EA0C28 80240328 0C00F92F */ jal func_8003E4BC +/* EA0C2C 8024032C 86040008 */ lh $a0, 8($s0) +/* EA0C30 80240330 24030001 */ addiu $v1, $zero, 1 +/* EA0C34 80240334 0040202D */ daddu $a0, $v0, $zero +/* EA0C38 80240338 AE03006C */ sw $v1, 0x6c($s0) +/* EA0C3C 8024033C 8482008C */ lh $v0, 0x8c($a0) +/* EA0C40 80240340 14400009 */ bnez $v0, .L80240368 +/* EA0C44 80240344 24020002 */ addiu $v0, $zero, 2 +/* EA0C48 80240348 96030072 */ lhu $v1, 0x72($s0) +/* EA0C4C 8024034C AE02006C */ sw $v0, 0x6c($s0) +/* EA0C50 80240350 A483008E */ sh $v1, 0x8e($a0) +/* EA0C54 80240354 8E0200CC */ lw $v0, 0xcc($s0) +/* EA0C58 80240358 8C420020 */ lw $v0, 0x20($v0) +/* EA0C5C 8024035C AC820028 */ sw $v0, 0x28($a0) +/* EA0C60 80240360 2402001F */ addiu $v0, $zero, 0x1f +/* EA0C64 80240364 AE220070 */ sw $v0, 0x70($s1) +.L80240368: +/* EA0C68 80240368 8FBF0018 */ lw $ra, 0x18($sp) +/* EA0C6C 8024036C 8FB10014 */ lw $s1, 0x14($sp) +/* EA0C70 80240370 8FB00010 */ lw $s0, 0x10($sp) +/* EA0C74 80240374 03E00008 */ jr $ra +/* EA0C78 80240378 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_8024037C_EA0C7C.s b/asm/nonmatchings/code_EA0C10/func_8024037C_EA0C7C.s new file mode 100644 index 0000000000..4ebf473a83 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_8024037C_EA0C7C.s @@ -0,0 +1,33 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024037C_EA0C7C +/* EA0C7C 8024037C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA0C80 80240380 AFB10014 */ sw $s1, 0x14($sp) +/* EA0C84 80240384 0080882D */ daddu $s1, $a0, $zero +/* EA0C88 80240388 AFBF0018 */ sw $ra, 0x18($sp) +/* EA0C8C 8024038C AFB00010 */ sw $s0, 0x10($sp) +/* EA0C90 80240390 8E300148 */ lw $s0, 0x148($s1) +/* EA0C94 80240394 0C00F92F */ jal func_8003E4BC +/* EA0C98 80240398 86040008 */ lh $a0, 8($s0) +/* EA0C9C 8024039C 0040202D */ daddu $a0, $v0, $zero +/* EA0CA0 802403A0 9482008E */ lhu $v0, 0x8e($a0) +/* EA0CA4 802403A4 2442FFFF */ addiu $v0, $v0, -1 +/* EA0CA8 802403A8 A482008E */ sh $v0, 0x8e($a0) +/* EA0CAC 802403AC 00021400 */ sll $v0, $v0, 0x10 +/* EA0CB0 802403B0 1C400009 */ bgtz $v0, .L802403D8 +/* EA0CB4 802403B4 24020003 */ addiu $v0, $zero, 3 +/* EA0CB8 802403B8 96030076 */ lhu $v1, 0x76($s0) +/* EA0CBC 802403BC AE02006C */ sw $v0, 0x6c($s0) +/* EA0CC0 802403C0 A483008E */ sh $v1, 0x8e($a0) +/* EA0CC4 802403C4 8E0200CC */ lw $v0, 0xcc($s0) +/* EA0CC8 802403C8 8C420024 */ lw $v0, 0x24($v0) +/* EA0CCC 802403CC AC820028 */ sw $v0, 0x28($a0) +/* EA0CD0 802403D0 24020020 */ addiu $v0, $zero, 0x20 +/* EA0CD4 802403D4 AE220070 */ sw $v0, 0x70($s1) +.L802403D8: +/* EA0CD8 802403D8 8FBF0018 */ lw $ra, 0x18($sp) +/* EA0CDC 802403DC 8FB10014 */ lw $s1, 0x14($sp) +/* EA0CE0 802403E0 8FB00010 */ lw $s0, 0x10($sp) +/* EA0CE4 802403E4 03E00008 */ jr $ra +/* EA0CE8 802403E8 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_802403EC_EA0CEC.s b/asm/nonmatchings/code_EA0C10/func_802403EC_EA0CEC.s new file mode 100644 index 0000000000..be17d45685 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_802403EC_EA0CEC.s @@ -0,0 +1,60 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802403EC_EA0CEC +/* EA0CEC 802403EC 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* EA0CF0 802403F0 AFB10034 */ sw $s1, 0x34($sp) +/* EA0CF4 802403F4 0080882D */ daddu $s1, $a0, $zero +/* EA0CF8 802403F8 AFBF0038 */ sw $ra, 0x38($sp) +/* EA0CFC 802403FC AFB00030 */ sw $s0, 0x30($sp) +/* EA0D00 80240400 8E300148 */ lw $s0, 0x148($s1) +/* EA0D04 80240404 0C00F92F */ jal func_8003E4BC +/* EA0D08 80240408 86040008 */ lh $a0, 8($s0) +/* EA0D0C 8024040C 0040282D */ daddu $a1, $v0, $zero +/* EA0D10 80240410 94A2008E */ lhu $v0, 0x8e($a1) +/* EA0D14 80240414 2442FFFF */ addiu $v0, $v0, -1 +/* EA0D18 80240418 A4A2008E */ sh $v0, 0x8e($a1) +/* EA0D1C 8024041C 00021400 */ sll $v0, $v0, 0x10 +/* EA0D20 80240420 1C400023 */ bgtz $v0, .L802404B0 +/* EA0D24 80240424 24020004 */ addiu $v0, $zero, 4 +/* EA0D28 80240428 8E0300CC */ lw $v1, 0xcc($s0) +/* EA0D2C 8024042C AE02006C */ sw $v0, 0x6c($s0) +/* EA0D30 80240430 8C620000 */ lw $v0, ($v1) +/* EA0D34 80240434 ACA20028 */ sw $v0, 0x28($a1) +/* EA0D38 80240438 9602007A */ lhu $v0, 0x7a($s0) +/* EA0D3C 8024043C A4A2008E */ sh $v0, 0x8e($a1) +/* EA0D40 80240440 8E020078 */ lw $v0, 0x78($s0) +/* EA0D44 80240444 28420008 */ slti $v0, $v0, 8 +/* EA0D48 80240448 14400018 */ bnez $v0, .L802404AC +/* EA0D4C 8024044C 24020021 */ addiu $v0, $zero, 0x21 +/* EA0D50 80240450 24040003 */ addiu $a0, $zero, 3 +/* EA0D54 80240454 27A30028 */ addiu $v1, $sp, 0x28 +/* EA0D58 80240458 84A700A8 */ lh $a3, 0xa8($a1) +/* EA0D5C 8024045C 3C013F80 */ lui $at, 0x3f80 +/* EA0D60 80240460 44810000 */ mtc1 $at, $f0 +/* EA0D64 80240464 3C014000 */ lui $at, 0x4000 +/* EA0D68 80240468 44811000 */ mtc1 $at, $f2 +/* EA0D6C 8024046C 3C01C1A0 */ lui $at, 0xc1a0 +/* EA0D70 80240470 44812000 */ mtc1 $at, $f4 +/* EA0D74 80240474 44873000 */ mtc1 $a3, $f6 +/* EA0D78 80240478 00000000 */ nop +/* EA0D7C 8024047C 468031A0 */ cvt.s.w $f6, $f6 +/* EA0D80 80240480 E7A00010 */ swc1 $f0, 0x10($sp) +/* EA0D84 80240484 E7A20014 */ swc1 $f2, 0x14($sp) +/* EA0D88 80240488 E7A40018 */ swc1 $f4, 0x18($sp) +/* EA0D8C 8024048C 8E020078 */ lw $v0, 0x78($s0) +/* EA0D90 80240490 44073000 */ mfc1 $a3, $f6 +/* EA0D94 80240494 0000302D */ daddu $a2, $zero, $zero +/* EA0D98 80240498 AFA30020 */ sw $v1, 0x20($sp) +/* EA0D9C 8024049C 2442FFFF */ addiu $v0, $v0, -1 +/* EA0DA0 802404A0 0C01D444 */ jal func_80075110 +/* EA0DA4 802404A4 AFA2001C */ sw $v0, 0x1c($sp) +/* EA0DA8 802404A8 24020021 */ addiu $v0, $zero, 0x21 +.L802404AC: +/* EA0DAC 802404AC AE220070 */ sw $v0, 0x70($s1) +.L802404B0: +/* EA0DB0 802404B0 8FBF0038 */ lw $ra, 0x38($sp) +/* EA0DB4 802404B4 8FB10034 */ lw $s1, 0x34($sp) +/* EA0DB8 802404B8 8FB00030 */ lw $s0, 0x30($sp) +/* EA0DBC 802404BC 03E00008 */ jr $ra +/* EA0DC0 802404C0 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/asm/nonmatchings/code_EA0C10/func_802404C4_EA0DC4.s b/asm/nonmatchings/code_EA0C10/func_802404C4_EA0DC4.s new file mode 100644 index 0000000000..868a44213d --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_802404C4_EA0DC4.s @@ -0,0 +1,26 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802404C4_EA0DC4 +/* EA0DC4 802404C4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA0DC8 802404C8 AFB10014 */ sw $s1, 0x14($sp) +/* EA0DCC 802404CC 0080882D */ daddu $s1, $a0, $zero +/* EA0DD0 802404D0 AFBF0018 */ sw $ra, 0x18($sp) +/* EA0DD4 802404D4 AFB00010 */ sw $s0, 0x10($sp) +/* EA0DD8 802404D8 8E300148 */ lw $s0, 0x148($s1) +/* EA0DDC 802404DC 0C00F92F */ jal func_8003E4BC +/* EA0DE0 802404E0 86040008 */ lh $a0, 8($s0) +/* EA0DE4 802404E4 9443008E */ lhu $v1, 0x8e($v0) +/* EA0DE8 802404E8 2463FFFF */ addiu $v1, $v1, -1 +/* EA0DEC 802404EC A443008E */ sh $v1, 0x8e($v0) +/* EA0DF0 802404F0 00031C00 */ sll $v1, $v1, 0x10 +/* EA0DF4 802404F4 1C600003 */ bgtz $v1, .L80240504 +/* EA0DF8 802404F8 2402000C */ addiu $v0, $zero, 0xc +/* EA0DFC 802404FC AE00006C */ sw $zero, 0x6c($s0) +/* EA0E00 80240500 AE220070 */ sw $v0, 0x70($s1) +.L80240504: +/* EA0E04 80240504 8FBF0018 */ lw $ra, 0x18($sp) +/* EA0E08 80240508 8FB10014 */ lw $s1, 0x14($sp) +/* EA0E0C 8024050C 8FB00010 */ lw $s0, 0x10($sp) +/* EA0E10 80240510 03E00008 */ jr $ra +/* EA0E14 80240514 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_80240518_EA0E18.s b/asm/nonmatchings/code_EA0C10/func_80240518_EA0E18.s new file mode 100644 index 0000000000..451fc11fad --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80240518_EA0E18.s @@ -0,0 +1,119 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240518_EA0E18 +/* EA0E18 80240518 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EA0E1C 8024051C AFBF0024 */ sw $ra, 0x24($sp) +/* EA0E20 80240520 AFB40020 */ sw $s4, 0x20($sp) +/* EA0E24 80240524 AFB3001C */ sw $s3, 0x1c($sp) +/* EA0E28 80240528 AFB20018 */ sw $s2, 0x18($sp) +/* EA0E2C 8024052C AFB10014 */ sw $s1, 0x14($sp) +/* EA0E30 80240530 AFB00010 */ sw $s0, 0x10($sp) +/* EA0E34 80240534 F7B40028 */ sdc1 $f20, 0x28($sp) +/* EA0E38 80240538 8C900148 */ lw $s0, 0x148($a0) +/* EA0E3C 8024053C 86040008 */ lh $a0, 8($s0) +/* EA0E40 80240540 0C00F92F */ jal func_8003E4BC +/* EA0E44 80240544 24110001 */ addiu $s1, $zero, 1 +/* EA0E48 80240548 86040008 */ lh $a0, 8($s0) +/* EA0E4C 8024054C 0040802D */ daddu $s0, $v0, $zero +/* EA0E50 80240550 3C05800C */ lui $a1, %hi(D_800B8D80) +/* EA0E54 80240554 24A58D80 */ addiu $a1, $a1, %lo(D_800B8D80) +/* EA0E58 80240558 3C03800A */ lui $v1, %hi(D_800A158C) +/* EA0E5C 8024055C 8463158C */ lh $v1, %lo(D_800A158C)($v1) +/* EA0E60 80240560 00912021 */ addu $a0, $a0, $s1 +/* EA0E64 80240564 00031080 */ sll $v0, $v1, 2 +/* EA0E68 80240568 00431021 */ addu $v0, $v0, $v1 +/* EA0E6C 8024056C 00021080 */ sll $v0, $v0, 2 +/* EA0E70 80240570 00431023 */ subu $v0, $v0, $v1 +/* EA0E74 80240574 000218C0 */ sll $v1, $v0, 3 +/* EA0E78 80240578 00431021 */ addu $v0, $v0, $v1 +/* EA0E7C 8024057C 000210C0 */ sll $v0, $v0, 3 +/* EA0E80 80240580 0C010ABD */ jal func_80042AF4 +/* EA0E84 80240584 00459021 */ addu $s2, $v0, $a1 +/* EA0E88 80240588 3C148010 */ lui $s4, %hi(D_800FFC90) +/* EA0E8C 8024058C 2694FC90 */ addiu $s4, $s4, %lo(D_800FFC90) +/* EA0E90 80240590 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EA0E94 80240594 8E830000 */ lw $v1, ($s4) +/* EA0E98 80240598 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EA0E9C 8024059C 8C660028 */ lw $a2, 0x28($v1) +/* EA0EA0 802405A0 8C670030 */ lw $a3, 0x30($v1) +/* EA0EA4 802405A4 0C00AC71 */ jal func_8002B1C4 +/* EA0EA8 802405A8 0040982D */ daddu $s3, $v0, $zero +/* EA0EAC 802405AC C6620074 */ lwc1 $f2, 0x74($s3) +/* EA0EB0 802405B0 468010A0 */ cvt.s.w $f2, $f2 +/* EA0EB4 802405B4 4600103C */ c.lt.s $f2, $f0 +/* EA0EB8 802405B8 00000000 */ nop +/* EA0EBC 802405BC 45030001 */ bc1tl .L802405C4 +/* EA0EC0 802405C0 0000882D */ daddu $s1, $zero, $zero +.L802405C4: +/* EA0EC4 802405C4 C64C006C */ lwc1 $f12, 0x6c($s2) +/* EA0EC8 802405C8 C60E000C */ lwc1 $f14, 0xc($s0) +/* EA0ECC 802405CC 3C014387 */ lui $at, 0x4387 +/* EA0ED0 802405D0 4481A000 */ mtc1 $at, $f20 +/* EA0ED4 802405D4 0C00ABC6 */ jal func_8002AF18 +/* EA0ED8 802405D8 00000000 */ nop +/* EA0EDC 802405DC 0C00AB85 */ jal func_8002AE14 +/* EA0EE0 802405E0 46000306 */ mov.s $f12, $f0 +/* EA0EE4 802405E4 3C018024 */ lui $at, %hi(D_80246480) +/* EA0EE8 802405E8 D4226480 */ ldc1 $f2, %lo(D_80246480)($at) +/* EA0EEC 802405EC 46000021 */ cvt.d.s $f0, $f0 +/* EA0EF0 802405F0 4622003C */ c.lt.d $f0, $f2 +/* EA0EF4 802405F4 00000000 */ nop +/* EA0EF8 802405F8 45000003 */ bc1f .L80240608 +/* EA0EFC 802405FC 00000000 */ nop +/* EA0F00 80240600 3C0142B4 */ lui $at, 0x42b4 +/* EA0F04 80240604 4481A000 */ mtc1 $at, $f20 +.L80240608: +/* EA0F08 80240608 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EA0F0C 8024060C 8E820000 */ lw $v0, ($s4) +/* EA0F10 80240610 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EA0F14 80240614 8C460028 */ lw $a2, 0x28($v0) +/* EA0F18 80240618 0C00ABDC */ jal fio_validate_header_checksums +/* EA0F1C 8024061C 8C470030 */ lw $a3, 0x30($v0) +/* EA0F20 80240620 4600A306 */ mov.s $f12, $f20 +/* EA0F24 80240624 0C00ABC6 */ jal func_8002AF18 +/* EA0F28 80240628 46000386 */ mov.s $f14, $f0 +/* EA0F2C 8024062C C6620078 */ lwc1 $f2, 0x78($s3) +/* EA0F30 80240630 468010A0 */ cvt.s.w $f2, $f2 +/* EA0F34 80240634 46000005 */ abs.s $f0, $f0 +/* EA0F38 80240638 4600103C */ c.lt.s $f2, $f0 +/* EA0F3C 8024063C 00000000 */ nop +/* EA0F40 80240640 45030001 */ bc1tl .L80240648 +/* EA0F44 80240644 0000882D */ daddu $s1, $zero, $zero +.L80240648: +/* EA0F48 80240648 8E820000 */ lw $v0, ($s4) +/* EA0F4C 8024064C C600003C */ lwc1 $f0, 0x3c($s0) +/* EA0F50 80240650 C442002C */ lwc1 $f2, 0x2c($v0) +/* EA0F54 80240654 860200A8 */ lh $v0, 0xa8($s0) +/* EA0F58 80240658 46020001 */ sub.s $f0, $f0, $f2 +/* EA0F5C 8024065C 44821000 */ mtc1 $v0, $f2 +/* EA0F60 80240660 00000000 */ nop +/* EA0F64 80240664 468010A1 */ cvt.d.w $f2, $f2 +/* EA0F68 80240668 46221080 */ add.d $f2, $f2, $f2 +/* EA0F6C 8024066C 46000005 */ abs.s $f0, $f0 +/* EA0F70 80240670 46000021 */ cvt.d.s $f0, $f0 +/* EA0F74 80240674 4620103E */ c.le.d $f2, $f0 +/* EA0F78 80240678 00000000 */ nop +/* EA0F7C 8024067C 45030001 */ bc1tl .L80240684 +/* EA0F80 80240680 0000882D */ daddu $s1, $zero, $zero +.L80240684: +/* EA0F84 80240684 3C038011 */ lui $v1, %hi(D_80117163) +/* EA0F88 80240688 80637163 */ lb $v1, %lo(D_80117163)($v1) +/* EA0F8C 8024068C 24020009 */ addiu $v0, $zero, 9 +/* EA0F90 80240690 50620001 */ beql $v1, $v0, .L80240698 +/* EA0F94 80240694 0000882D */ daddu $s1, $zero, $zero +.L80240698: +/* EA0F98 80240698 24020007 */ addiu $v0, $zero, 7 +/* EA0F9C 8024069C 50620001 */ beql $v1, $v0, .L802406A4 +/* EA0FA0 802406A0 0000882D */ daddu $s1, $zero, $zero +.L802406A4: +/* EA0FA4 802406A4 0220102D */ daddu $v0, $s1, $zero +/* EA0FA8 802406A8 8FBF0024 */ lw $ra, 0x24($sp) +/* EA0FAC 802406AC 8FB40020 */ lw $s4, 0x20($sp) +/* EA0FB0 802406B0 8FB3001C */ lw $s3, 0x1c($sp) +/* EA0FB4 802406B4 8FB20018 */ lw $s2, 0x18($sp) +/* EA0FB8 802406B8 8FB10014 */ lw $s1, 0x14($sp) +/* EA0FBC 802406BC 8FB00010 */ lw $s0, 0x10($sp) +/* EA0FC0 802406C0 D7B40028 */ ldc1 $f20, 0x28($sp) +/* EA0FC4 802406C4 03E00008 */ jr $ra +/* EA0FC8 802406C8 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_EA0C10/func_802406CC_EA0FCC.s b/asm/nonmatchings/code_EA0C10/func_802406CC_EA0FCC.s new file mode 100644 index 0000000000..1852060d78 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_802406CC_EA0FCC.s @@ -0,0 +1,184 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802406CC_EA0FCC +/* EA0FCC 802406CC 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EA0FD0 802406D0 AFB40028 */ sw $s4, 0x28($sp) +/* EA0FD4 802406D4 0080A02D */ daddu $s4, $a0, $zero +/* EA0FD8 802406D8 AFBF002C */ sw $ra, 0x2c($sp) +/* EA0FDC 802406DC AFB30024 */ sw $s3, 0x24($sp) +/* EA0FE0 802406E0 AFB20020 */ sw $s2, 0x20($sp) +/* EA0FE4 802406E4 AFB1001C */ sw $s1, 0x1c($sp) +/* EA0FE8 802406E8 AFB00018 */ sw $s0, 0x18($sp) +/* EA0FEC 802406EC 8E910148 */ lw $s1, 0x148($s4) +/* EA0FF0 802406F0 86240008 */ lh $a0, 8($s1) +/* EA0FF4 802406F4 0C00F92F */ jal func_8003E4BC +/* EA0FF8 802406F8 00A0802D */ daddu $s0, $a1, $zero +/* EA0FFC 802406FC 0040902D */ daddu $s2, $v0, $zero +/* EA1000 80240700 C6400038 */ lwc1 $f0, 0x38($s2) +/* EA1004 80240704 E6200108 */ swc1 $f0, 0x108($s1) +/* EA1008 80240708 C640003C */ lwc1 $f0, 0x3c($s2) +/* EA100C 8024070C E620010C */ swc1 $f0, 0x10c($s1) +/* EA1010 80240710 3C0138D1 */ lui $at, 0x38d1 +/* EA1014 80240714 3421B717 */ ori $at, $at, 0xb717 +/* EA1018 80240718 44810000 */ mtc1 $at, $f0 +/* EA101C 8024071C C6420040 */ lwc1 $f2, 0x40($s2) +/* EA1020 80240720 E6200114 */ swc1 $f0, 0x114($s1) +/* EA1024 80240724 E6200118 */ swc1 $f0, 0x118($s1) +/* EA1028 80240728 16000005 */ bnez $s0, .L80240740 +/* EA102C 8024072C E6220110 */ swc1 $f2, 0x110($s1) +/* EA1030 80240730 8E2200B0 */ lw $v0, 0xb0($s1) +/* EA1034 80240734 30420004 */ andi $v0, $v0, 4 +/* EA1038 80240738 10400015 */ beqz $v0, .L80240790 +/* EA103C 8024073C 00000000 */ nop +.L80240740: +/* EA1040 80240740 AE800070 */ sw $zero, 0x70($s4) +/* EA1044 80240744 8E420000 */ lw $v0, ($s2) +/* EA1048 80240748 3C031F30 */ lui $v1, 0x1f30 +/* EA104C 8024074C A640008E */ sh $zero, 0x8e($s2) +/* EA1050 80240750 34420102 */ ori $v0, $v0, 0x102 +/* EA1054 80240754 AE420000 */ sw $v0, ($s2) +/* EA1058 80240758 8E220000 */ lw $v0, ($s1) +/* EA105C 8024075C 3C01C47A */ lui $at, 0xc47a +/* EA1060 80240760 44810000 */ mtc1 $at, $f0 +/* EA1064 80240764 00431025 */ or $v0, $v0, $v1 +/* EA1068 80240768 AE220000 */ sw $v0, ($s1) +/* EA106C 8024076C AE400038 */ sw $zero, 0x38($s2) +/* EA1070 80240770 E640003C */ swc1 $f0, 0x3c($s2) +/* EA1074 80240774 AE400040 */ sw $zero, 0x40($s2) +/* EA1078 80240778 8E2300B0 */ lw $v1, 0xb0($s1) +/* EA107C 8024077C 30620004 */ andi $v0, $v1, 4 +/* EA1080 80240780 10400003 */ beqz $v0, .L80240790 +/* EA1084 80240784 2402FFFB */ addiu $v0, $zero, -5 +/* EA1088 80240788 00621024 */ and $v0, $v1, $v0 +/* EA108C 8024078C AE2200B0 */ sw $v0, 0xb0($s1) +.L80240790: +/* EA1090 80240790 8E930070 */ lw $s3, 0x70($s4) +/* EA1094 80240794 12600005 */ beqz $s3, .L802407AC +/* EA1098 80240798 24020001 */ addiu $v0, $zero, 1 +/* EA109C 8024079C 12620048 */ beq $s3, $v0, .L802408C0 +/* EA10A0 802407A0 00000000 */ nop +/* EA10A4 802407A4 0809024D */ j .L80240934 +/* EA10A8 802407A8 00000000 */ nop +.L802407AC: +/* EA10AC 802407AC 86240008 */ lh $a0, 8($s1) +/* EA10B0 802407B0 0C010ABD */ jal func_80042AF4 +/* EA10B4 802407B4 2484FFFF */ addiu $a0, $a0, -1 +/* EA10B8 802407B8 0040802D */ daddu $s0, $v0, $zero +/* EA10BC 802407BC 0C00F92F */ jal func_8003E4BC +/* EA10C0 802407C0 86040008 */ lh $a0, 8($s0) +/* EA10C4 802407C4 24030001 */ addiu $v1, $zero, 1 +/* EA10C8 802407C8 0040982D */ daddu $s3, $v0, $zero +/* EA10CC 802407CC A2230007 */ sb $v1, 7($s1) +/* EA10D0 802407D0 8E03006C */ lw $v1, 0x6c($s0) +/* EA10D4 802407D4 24020003 */ addiu $v0, $zero, 3 +/* EA10D8 802407D8 14620056 */ bne $v1, $v0, .L80240934 +/* EA10DC 802407DC 00000000 */ nop +/* EA10E0 802407E0 8E2500A8 */ lw $a1, 0xa8($s1) +/* EA10E4 802407E4 10A00003 */ beqz $a1, .L802407F4 +/* EA10E8 802407E8 0260202D */ daddu $a0, $s3, $zero +/* EA10EC 802407EC 0C013600 */ jal func_8004D800 +/* EA10F0 802407F0 0000302D */ daddu $a2, $zero, $zero +.L802407F4: +/* EA10F4 802407F4 27A40010 */ addiu $a0, $sp, 0x10 +/* EA10F8 802407F8 C6280070 */ lwc1 $f8, 0x70($s1) +/* EA10FC 802407FC 46804220 */ cvt.s.w $f8, $f8 +/* EA1100 80240800 C6620034 */ lwc1 $f2, 0x34($s3) +/* EA1104 80240804 3C014387 */ lui $at, 0x4387 +/* EA1108 80240808 44810000 */ mtc1 $at, $f0 +/* EA110C 8024080C 44064000 */ mfc1 $a2, $f8 +/* EA1110 80240810 46020001 */ sub.s $f0, $f0, $f2 +/* EA1114 80240814 C6660038 */ lwc1 $f6, 0x38($s3) +/* EA1118 80240818 C6640040 */ lwc1 $f4, 0x40($s3) +/* EA111C 8024081C 44070000 */ mfc1 $a3, $f0 +/* EA1120 80240820 27A50014 */ addiu $a1, $sp, 0x14 +/* EA1124 80240824 E7A60010 */ swc1 $f6, 0x10($sp) +/* EA1128 80240828 0C00ACA3 */ jal func_8002B28C +/* EA112C 8024082C E7A40014 */ swc1 $f4, 0x14($sp) +/* EA1130 80240830 C7A00010 */ lwc1 $f0, 0x10($sp) +/* EA1134 80240834 4600020D */ trunc.w.s $f8, $f0 +/* EA1138 80240838 44024000 */ mfc1 $v0, $f8 +/* EA113C 8024083C E6400038 */ swc1 $f0, 0x38($s2) +/* EA1140 80240840 A6220010 */ sh $v0, 0x10($s1) +/* EA1144 80240844 C660003C */ lwc1 $f0, 0x3c($s3) +/* EA1148 80240848 C622006C */ lwc1 $f2, 0x6c($s1) +/* EA114C 8024084C 468010A0 */ cvt.s.w $f2, $f2 +/* EA1150 80240850 46020000 */ add.s $f0, $f0, $f2 +/* EA1154 80240854 3C038010 */ lui $v1, %hi(D_800FFC90) +/* EA1158 80240858 8C63FC90 */ lw $v1, %lo(D_800FFC90)($v1) +/* EA115C 8024085C E640003C */ swc1 $f0, 0x3c($s2) +/* EA1160 80240860 C7A20014 */ lwc1 $f2, 0x14($sp) +/* EA1164 80240864 4600020D */ trunc.w.s $f8, $f0 +/* EA1168 80240868 44024000 */ mfc1 $v0, $f8 +/* EA116C 8024086C 00000000 */ nop +/* EA1170 80240870 A6220012 */ sh $v0, 0x12($s1) +/* EA1174 80240874 4600120D */ trunc.w.s $f8, $f2 +/* EA1178 80240878 44024000 */ mfc1 $v0, $f8 +/* EA117C 8024087C E6420040 */ swc1 $f2, 0x40($s2) +/* EA1180 80240880 A6220014 */ sh $v0, 0x14($s1) +/* EA1184 80240884 8C660028 */ lw $a2, 0x28($v1) +/* EA1188 80240888 8C670030 */ lw $a3, 0x30($v1) +/* EA118C 8024088C C64C0038 */ lwc1 $f12, 0x38($s2) +/* EA1190 80240890 0C00ABDC */ jal fio_validate_header_checksums +/* EA1194 80240894 C64E0040 */ lwc1 $f14, 0x40($s2) +/* EA1198 80240898 3C03E0EF */ lui $v1, 0xe0ef +/* EA119C 8024089C E640000C */ swc1 $f0, 0xc($s2) +/* EA11A0 802408A0 8E220000 */ lw $v0, ($s1) +/* EA11A4 802408A4 3463FFFF */ ori $v1, $v1, 0xffff +/* EA11A8 802408A8 00431024 */ and $v0, $v0, $v1 +/* EA11AC 802408AC AE220000 */ sw $v0, ($s1) +/* EA11B0 802408B0 24020001 */ addiu $v0, $zero, 1 +/* EA11B4 802408B4 A640008E */ sh $zero, 0x8e($s2) +/* EA11B8 802408B8 0809024D */ j .L80240934 +/* EA11BC 802408BC AE820070 */ sw $v0, 0x70($s4) +.L802408C0: +/* EA11C0 802408C0 86240008 */ lh $a0, 8($s1) +/* EA11C4 802408C4 0C010ABD */ jal func_80042AF4 +/* EA11C8 802408C8 2484FFFF */ addiu $a0, $a0, -1 +/* EA11CC 802408CC 0040802D */ daddu $s0, $v0, $zero +/* EA11D0 802408D0 0C00F92F */ jal func_8003E4BC +/* EA11D4 802408D4 86040008 */ lh $a0, 8($s0) +/* EA11D8 802408D8 9642008E */ lhu $v0, 0x8e($s2) +/* EA11DC 802408DC 24420001 */ addiu $v0, $v0, 1 +/* EA11E0 802408E0 A642008E */ sh $v0, 0x8e($s2) +/* EA11E4 802408E4 00021400 */ sll $v0, $v0, 0x10 +/* EA11E8 802408E8 8E23007C */ lw $v1, 0x7c($s1) +/* EA11EC 802408EC 00021403 */ sra $v0, $v0, 0x10 +/* EA11F0 802408F0 0043102A */ slt $v0, $v0, $v1 +/* EA11F4 802408F4 50400001 */ beql $v0, $zero, .L802408FC +/* EA11F8 802408F8 A2200007 */ sb $zero, 7($s1) +.L802408FC: +/* EA11FC 802408FC 8E03006C */ lw $v1, 0x6c($s0) +/* EA1200 80240900 24020004 */ addiu $v0, $zero, 4 +/* EA1204 80240904 1462000B */ bne $v1, $v0, .L80240934 +/* EA1208 80240908 3C021F10 */ lui $v0, 0x1f10 +/* EA120C 8024090C 8E230000 */ lw $v1, ($s1) +/* EA1210 80240910 3C01C47A */ lui $at, 0xc47a +/* EA1214 80240914 44810000 */ mtc1 $at, $f0 +/* EA1218 80240918 00621825 */ or $v1, $v1, $v0 +/* EA121C 8024091C AE230000 */ sw $v1, ($s1) +/* EA1220 80240920 AE400038 */ sw $zero, 0x38($s2) +/* EA1224 80240924 E640003C */ swc1 $f0, 0x3c($s2) +/* EA1228 80240928 AE400040 */ sw $zero, 0x40($s2) +/* EA122C 8024092C A2330007 */ sb $s3, 7($s1) +/* EA1230 80240930 AE800070 */ sw $zero, 0x70($s4) +.L80240934: +/* EA1234 80240934 82220007 */ lb $v0, 7($s1) +/* EA1238 80240938 10400007 */ beqz $v0, .L80240958 +/* EA123C 8024093C 00000000 */ nop +/* EA1240 80240940 3C0140E0 */ lui $at, 0x40e0 +/* EA1244 80240944 44810000 */ mtc1 $at, $f0 +/* EA1248 80240948 3C013F80 */ lui $at, 0x3f80 +/* EA124C 8024094C 44811000 */ mtc1 $at, $f2 +/* EA1250 80240950 E6200114 */ swc1 $f0, 0x114($s1) +/* EA1254 80240954 E6220118 */ swc1 $f2, 0x118($s1) +.L80240958: +/* EA1258 80240958 8FBF002C */ lw $ra, 0x2c($sp) +/* EA125C 8024095C 8FB40028 */ lw $s4, 0x28($sp) +/* EA1260 80240960 8FB30024 */ lw $s3, 0x24($sp) +/* EA1264 80240964 8FB20020 */ lw $s2, 0x20($sp) +/* EA1268 80240968 8FB1001C */ lw $s1, 0x1c($sp) +/* EA126C 8024096C 8FB00018 */ lw $s0, 0x18($sp) +/* EA1270 80240970 0000102D */ daddu $v0, $zero, $zero +/* EA1274 80240974 03E00008 */ jr $ra +/* EA1278 80240978 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_EA0C10/func_8024097C_EA127C.s b/asm/nonmatchings/code_EA0C10/func_8024097C_EA127C.s new file mode 100644 index 0000000000..9dc9fbfc6e --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_8024097C_EA127C.s @@ -0,0 +1,195 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024097C_EA127C +/* EA127C 8024097C 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EA1280 80240980 AFB3003C */ sw $s3, 0x3c($sp) +/* EA1284 80240984 0080982D */ daddu $s3, $a0, $zero +/* EA1288 80240988 AFBF0048 */ sw $ra, 0x48($sp) +/* EA128C 8024098C AFB50044 */ sw $s5, 0x44($sp) +/* EA1290 80240990 AFB40040 */ sw $s4, 0x40($sp) +/* EA1294 80240994 AFB20038 */ sw $s2, 0x38($sp) +/* EA1298 80240998 AFB10034 */ sw $s1, 0x34($sp) +/* EA129C 8024099C AFB00030 */ sw $s0, 0x30($sp) +/* EA12A0 802409A0 8E710148 */ lw $s1, 0x148($s3) +/* EA12A4 802409A4 86240008 */ lh $a0, 8($s1) +/* EA12A8 802409A8 0C00F92F */ jal func_8003E4BC +/* EA12AC 802409AC 00A0802D */ daddu $s0, $a1, $zero +/* EA12B0 802409B0 8E63000C */ lw $v1, 0xc($s3) +/* EA12B4 802409B4 0260202D */ daddu $a0, $s3, $zero +/* EA12B8 802409B8 8C650000 */ lw $a1, ($v1) +/* EA12BC 802409BC 0C0B53A3 */ jal func_802D4E8C +/* EA12C0 802409C0 0040902D */ daddu $s2, $v0, $zero +/* EA12C4 802409C4 AFA00010 */ sw $zero, 0x10($sp) +/* EA12C8 802409C8 8E2300D0 */ lw $v1, 0xd0($s1) +/* EA12CC 802409CC 8C630030 */ lw $v1, 0x30($v1) +/* EA12D0 802409D0 AFA30014 */ sw $v1, 0x14($sp) +/* EA12D4 802409D4 8E2300D0 */ lw $v1, 0xd0($s1) +/* EA12D8 802409D8 8C63001C */ lw $v1, 0x1c($v1) +/* EA12DC 802409DC AFA30018 */ sw $v1, 0x18($sp) +/* EA12E0 802409E0 8E2300D0 */ lw $v1, 0xd0($s1) +/* EA12E4 802409E4 8C630024 */ lw $v1, 0x24($v1) +/* EA12E8 802409E8 AFA3001C */ sw $v1, 0x1c($sp) +/* EA12EC 802409EC 8E2300D0 */ lw $v1, 0xd0($s1) +/* EA12F0 802409F0 8C630028 */ lw $v1, 0x28($v1) +/* EA12F4 802409F4 AFA30020 */ sw $v1, 0x20($sp) +/* EA12F8 802409F8 8E2300D0 */ lw $v1, 0xd0($s1) +/* EA12FC 802409FC 3C014282 */ lui $at, 0x4282 +/* EA1300 80240A00 44810000 */ mtc1 $at, $f0 +/* EA1304 80240A04 8C63002C */ lw $v1, 0x2c($v1) +/* EA1308 80240A08 E7A00028 */ swc1 $f0, 0x28($sp) +/* EA130C 80240A0C A7A0002C */ sh $zero, 0x2c($sp) +/* EA1310 80240A10 AFA30024 */ sw $v1, 0x24($sp) +/* EA1314 80240A14 C6400038 */ lwc1 $f0, 0x38($s2) +/* EA1318 80240A18 E6200108 */ swc1 $f0, 0x108($s1) +/* EA131C 80240A1C C640003C */ lwc1 $f0, 0x3c($s2) +/* EA1320 80240A20 27B50010 */ addiu $s5, $sp, 0x10 +/* EA1324 80240A24 E620010C */ swc1 $f0, 0x10c($s1) +/* EA1328 80240A28 3C0138D1 */ lui $at, 0x38d1 +/* EA132C 80240A2C 3421B717 */ ori $at, $at, 0xb717 +/* EA1330 80240A30 44810000 */ mtc1 $at, $f0 +/* EA1334 80240A34 C6420040 */ lwc1 $f2, 0x40($s2) +/* EA1338 80240A38 0040A02D */ daddu $s4, $v0, $zero +/* EA133C 80240A3C E6200114 */ swc1 $f0, 0x114($s1) +/* EA1340 80240A40 E6200118 */ swc1 $f0, 0x118($s1) +/* EA1344 80240A44 16000005 */ bnez $s0, .L80240A5C +/* EA1348 80240A48 E6220110 */ swc1 $f2, 0x110($s1) +/* EA134C 80240A4C 8E2200B0 */ lw $v0, 0xb0($s1) +/* EA1350 80240A50 30420004 */ andi $v0, $v0, 4 +/* EA1354 80240A54 10400020 */ beqz $v0, .L80240AD8 +/* EA1358 80240A58 00000000 */ nop +.L80240A5C: +/* EA135C 80240A5C 2404F7FF */ addiu $a0, $zero, -0x801 +/* EA1360 80240A60 AE600070 */ sw $zero, 0x70($s3) +/* EA1364 80240A64 A640008E */ sh $zero, 0x8e($s2) +/* EA1368 80240A68 8E2200CC */ lw $v0, 0xcc($s1) +/* EA136C 80240A6C 8E430000 */ lw $v1, ($s2) +/* EA1370 80240A70 8C420000 */ lw $v0, ($v0) +/* EA1374 80240A74 00641824 */ and $v1, $v1, $a0 +/* EA1378 80240A78 AE430000 */ sw $v1, ($s2) +/* EA137C 80240A7C AE420028 */ sw $v0, 0x28($s2) +/* EA1380 80240A80 8E2200D0 */ lw $v0, 0xd0($s1) +/* EA1384 80240A84 8C420034 */ lw $v0, 0x34($v0) +/* EA1388 80240A88 54400005 */ bnel $v0, $zero, .L80240AA0 +/* EA138C 80240A8C 2402FDFF */ addiu $v0, $zero, -0x201 +/* EA1390 80240A90 34620200 */ ori $v0, $v1, 0x200 +/* EA1394 80240A94 2403FFF7 */ addiu $v1, $zero, -9 +/* EA1398 80240A98 080902AA */ j .L80240AA8 +/* EA139C 80240A9C 00431024 */ and $v0, $v0, $v1 +.L80240AA0: +/* EA13A0 80240AA0 00621024 */ and $v0, $v1, $v0 +/* EA13A4 80240AA4 34420008 */ ori $v0, $v0, 8 +.L80240AA8: +/* EA13A8 80240AA8 AE420000 */ sw $v0, ($s2) +/* EA13AC 80240AAC 8E2200B0 */ lw $v0, 0xb0($s1) +/* EA13B0 80240AB0 30420004 */ andi $v0, $v0, 4 +/* EA13B4 80240AB4 10400007 */ beqz $v0, .L80240AD4 +/* EA13B8 80240AB8 24020063 */ addiu $v0, $zero, 0x63 +/* EA13BC 80240ABC AE620070 */ sw $v0, 0x70($s3) +/* EA13C0 80240AC0 AE600074 */ sw $zero, 0x74($s3) +/* EA13C4 80240AC4 8E2200B0 */ lw $v0, 0xb0($s1) +/* EA13C8 80240AC8 2403FFFB */ addiu $v1, $zero, -5 +/* EA13CC 80240ACC 00431024 */ and $v0, $v0, $v1 +/* EA13D0 80240AD0 AE2200B0 */ sw $v0, 0xb0($s1) +.L80240AD4: +/* EA13D4 80240AD4 AE20006C */ sw $zero, 0x6c($s1) +.L80240AD8: +/* EA13D8 80240AD8 8E620070 */ lw $v0, 0x70($s3) +/* EA13DC 80240ADC 2842001E */ slti $v0, $v0, 0x1e +/* EA13E0 80240AE0 10400009 */ beqz $v0, .L80240B08 +/* EA13E4 80240AE4 00000000 */ nop +/* EA13E8 80240AE8 8E22006C */ lw $v0, 0x6c($s1) +/* EA13EC 80240AEC 14400006 */ bnez $v0, .L80240B08 +/* EA13F0 80240AF0 00000000 */ nop +/* EA13F4 80240AF4 0C090146 */ jal func_80240518_EA0E18 +/* EA13F8 80240AF8 0260202D */ daddu $a0, $s3, $zero +/* EA13FC 80240AFC 10400002 */ beqz $v0, .L80240B08 +/* EA1400 80240B00 2402001E */ addiu $v0, $zero, 0x1e +/* EA1404 80240B04 AE620070 */ sw $v0, 0x70($s3) +.L80240B08: +/* EA1408 80240B08 8E630070 */ lw $v1, 0x70($s3) +/* EA140C 80240B0C 2C620064 */ sltiu $v0, $v1, 0x64 +/* EA1410 80240B10 10400048 */ beqz $v0, .L80240C34 +/* EA1414 80240B14 00031080 */ sll $v0, $v1, 2 +/* EA1418 80240B18 3C018024 */ lui $at, %hi(D_80246488) +/* EA141C 80240B1C 00220821 */ addu $at, $at, $v0 +/* EA1420 80240B20 8C226488 */ lw $v0, %lo(D_80246488)($at) +/* EA1424 80240B24 00400008 */ jr $v0 +/* EA1428 80240B28 00000000 */ nop +/* EA142C 80240B2C 0260202D */ daddu $a0, $s3, $zero +/* EA1430 80240B30 0280282D */ daddu $a1, $s4, $zero +/* EA1434 80240B34 0C013670 */ jal func_8004D9C0 +/* EA1438 80240B38 02A0302D */ daddu $a2, $s5, $zero +/* EA143C 80240B3C 0260202D */ daddu $a0, $s3, $zero +/* EA1440 80240B40 0280282D */ daddu $a1, $s4, $zero +/* EA1444 80240B44 0C0136B6 */ jal func_8004DAD8 +/* EA1448 80240B48 02A0302D */ daddu $a2, $s5, $zero +/* EA144C 80240B4C 0809030D */ j .L80240C34 +/* EA1450 80240B50 00000000 */ nop +/* EA1454 80240B54 0260202D */ daddu $a0, $s3, $zero +/* EA1458 80240B58 0280282D */ daddu $a1, $s4, $zero +/* EA145C 80240B5C 0C0137D9 */ jal func_8004DF64 +/* EA1460 80240B60 02A0302D */ daddu $a2, $s5, $zero +/* EA1464 80240B64 0260202D */ daddu $a0, $s3, $zero +/* EA1468 80240B68 0280282D */ daddu $a1, $s4, $zero +/* EA146C 80240B6C 0C013809 */ jal func_8004E024 +/* EA1470 80240B70 02A0302D */ daddu $a2, $s5, $zero +/* EA1474 80240B74 0809030D */ j .L80240C34 +/* EA1478 80240B78 00000000 */ nop +/* EA147C 80240B7C 0260202D */ daddu $a0, $s3, $zero +/* EA1480 80240B80 0280282D */ daddu $a1, $s4, $zero +/* EA1484 80240B84 0C013897 */ jal func_8004E25C +/* EA1488 80240B88 02A0302D */ daddu $a2, $s5, $zero +/* EA148C 80240B8C 0260202D */ daddu $a0, $s3, $zero +/* EA1490 80240B90 0280282D */ daddu $a1, $s4, $zero +/* EA1494 80240B94 0C0138BB */ jal func_8004E2EC +/* EA1498 80240B98 02A0302D */ daddu $a2, $s5, $zero +/* EA149C 80240B9C 0809030D */ j .L80240C34 +/* EA14A0 80240BA0 00000000 */ nop +/* EA14A4 80240BA4 0260202D */ daddu $a0, $s3, $zero +/* EA14A8 80240BA8 0280282D */ daddu $a1, $s4, $zero +/* EA14AC 80240BAC 0C0138E7 */ jal func_8004E39C +/* EA14B0 80240BB0 02A0302D */ daddu $a2, $s5, $zero +/* EA14B4 80240BB4 0260202D */ daddu $a0, $s3, $zero +/* EA14B8 80240BB8 0280282D */ daddu $a1, $s4, $zero +/* EA14BC 80240BBC 0C013951 */ jal func_8004E544 +/* EA14C0 80240BC0 02A0302D */ daddu $a2, $s5, $zero +/* EA14C4 80240BC4 0809030D */ j .L80240C34 +/* EA14C8 80240BC8 00000000 */ nop +/* EA14CC 80240BCC 0260202D */ daddu $a0, $s3, $zero +/* EA14D0 80240BD0 0280282D */ daddu $a1, $s4, $zero +/* EA14D4 80240BD4 0C013A02 */ jal func_8004E808 +/* EA14D8 80240BD8 02A0302D */ daddu $a2, $s5, $zero +/* EA14DC 80240BDC 0809030D */ j .L80240C34 +/* EA14E0 80240BE0 00000000 */ nop +/* EA14E4 80240BE4 0C0900C4 */ jal func_80240310_EA0C10 +/* EA14E8 80240BE8 0260202D */ daddu $a0, $s3, $zero +/* EA14EC 80240BEC 0C0900DF */ jal func_8024037C_EA0C7C +/* EA14F0 80240BF0 0260202D */ daddu $a0, $s3, $zero +/* EA14F4 80240BF4 8E630070 */ lw $v1, 0x70($s3) +/* EA14F8 80240BF8 24020020 */ addiu $v0, $zero, 0x20 +/* EA14FC 80240BFC 1462000D */ bne $v1, $v0, .L80240C34 +/* EA1500 80240C00 00000000 */ nop +/* EA1504 80240C04 0C0900FB */ jal func_802403EC_EA0CEC +/* EA1508 80240C08 0260202D */ daddu $a0, $s3, $zero +/* EA150C 80240C0C 8E630070 */ lw $v1, 0x70($s3) +/* EA1510 80240C10 24020021 */ addiu $v0, $zero, 0x21 +/* EA1514 80240C14 14620007 */ bne $v1, $v0, .L80240C34 +/* EA1518 80240C18 00000000 */ nop +/* EA151C 80240C1C 0C090131 */ jal func_802404C4_EA0DC4 +/* EA1520 80240C20 0260202D */ daddu $a0, $s3, $zero +/* EA1524 80240C24 0809030D */ j .L80240C34 +/* EA1528 80240C28 00000000 */ nop +/* EA152C 80240C2C 0C013AE3 */ jal func_8004EB8C +/* EA1530 80240C30 0260202D */ daddu $a0, $s3, $zero +.L80240C34: +/* EA1534 80240C34 8FBF0048 */ lw $ra, 0x48($sp) +/* EA1538 80240C38 8FB50044 */ lw $s5, 0x44($sp) +/* EA153C 80240C3C 8FB40040 */ lw $s4, 0x40($sp) +/* EA1540 80240C40 8FB3003C */ lw $s3, 0x3c($sp) +/* EA1544 80240C44 8FB20038 */ lw $s2, 0x38($sp) +/* EA1548 80240C48 8FB10034 */ lw $s1, 0x34($sp) +/* EA154C 80240C4C 8FB00030 */ lw $s0, 0x30($sp) +/* EA1550 80240C50 0000102D */ daddu $v0, $zero, $zero +/* EA1554 80240C54 03E00008 */ jr $ra +/* EA1558 80240C58 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EA0C10/func_80240C5C_EA155C.s b/asm/nonmatchings/code_EA0C10/func_80240C5C_EA155C.s new file mode 100644 index 0000000000..5def1cadb5 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80240C5C_EA155C.s @@ -0,0 +1,33 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240C5C_EA155C +/* EA155C 80240C5C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA1560 80240C60 AFB10014 */ sw $s1, 0x14($sp) +/* EA1564 80240C64 0080882D */ daddu $s1, $a0, $zero +/* EA1568 80240C68 AFBF0018 */ sw $ra, 0x18($sp) +/* EA156C 80240C6C AFB00010 */ sw $s0, 0x10($sp) +/* EA1570 80240C70 8E300148 */ lw $s0, 0x148($s1) +/* EA1574 80240C74 0C00F92F */ jal func_8003E4BC +/* EA1578 80240C78 86040008 */ lh $a0, 8($s0) +/* EA157C 80240C7C 0040202D */ daddu $a0, $v0, $zero +/* EA1580 80240C80 8482008E */ lh $v0, 0x8e($a0) +/* EA1584 80240C84 9483008E */ lhu $v1, 0x8e($a0) +/* EA1588 80240C88 18400003 */ blez $v0, .L80240C98 +/* EA158C 80240C8C 2462FFFF */ addiu $v0, $v1, -1 +/* EA1590 80240C90 0809032D */ j .L80240CB4 +/* EA1594 80240C94 A482008E */ sh $v0, 0x8e($a0) +.L80240C98: +/* EA1598 80240C98 8E0200CC */ lw $v0, 0xcc($s0) +/* EA159C 80240C9C AE00006C */ sw $zero, 0x6c($s0) +/* EA15A0 80240CA0 8C420000 */ lw $v0, ($v0) +/* EA15A4 80240CA4 AC820028 */ sw $v0, 0x28($a0) +/* EA15A8 80240CA8 24020001 */ addiu $v0, $zero, 1 +/* EA15AC 80240CAC AE200074 */ sw $zero, 0x74($s1) +/* EA15B0 80240CB0 AE220070 */ sw $v0, 0x70($s1) +.L80240CB4: +/* EA15B4 80240CB4 8FBF0018 */ lw $ra, 0x18($sp) +/* EA15B8 80240CB8 8FB10014 */ lw $s1, 0x14($sp) +/* EA15BC 80240CBC 8FB00010 */ lw $s0, 0x10($sp) +/* EA15C0 80240CC0 03E00008 */ jr $ra +/* EA15C4 80240CC4 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_80240CC8_EA15C8.s b/asm/nonmatchings/code_EA0C10/func_80240CC8_EA15C8.s new file mode 100644 index 0000000000..a20b7cbbfe --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80240CC8_EA15C8.s @@ -0,0 +1,68 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240CC8_EA15C8 +/* EA15C8 80240CC8 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EA15CC 80240CCC AFB3003C */ sw $s3, 0x3c($sp) +/* EA15D0 80240CD0 0080982D */ daddu $s3, $a0, $zero +/* EA15D4 80240CD4 AFBF0040 */ sw $ra, 0x40($sp) +/* EA15D8 80240CD8 AFB20038 */ sw $s2, 0x38($sp) +/* EA15DC 80240CDC AFB10034 */ sw $s1, 0x34($sp) +/* EA15E0 80240CE0 AFB00030 */ sw $s0, 0x30($sp) +/* EA15E4 80240CE4 8E720148 */ lw $s2, 0x148($s3) +/* EA15E8 80240CE8 00A0882D */ daddu $s1, $a1, $zero +/* EA15EC 80240CEC 86440008 */ lh $a0, 8($s2) +/* EA15F0 80240CF0 0C00F92F */ jal func_8003E4BC +/* EA15F4 80240CF4 00C0802D */ daddu $s0, $a2, $zero +/* EA15F8 80240CF8 0200202D */ daddu $a0, $s0, $zero +/* EA15FC 80240CFC 0240282D */ daddu $a1, $s2, $zero +/* EA1600 80240D00 AFA00010 */ sw $zero, 0x10($sp) +/* EA1604 80240D04 8E26000C */ lw $a2, 0xc($s1) +/* EA1608 80240D08 8E270010 */ lw $a3, 0x10($s1) +/* EA160C 80240D0C 0C013469 */ jal func_8004D1A4 +/* EA1610 80240D10 0040882D */ daddu $s1, $v0, $zero +/* EA1614 80240D14 10400024 */ beqz $v0, .L80240DA8 +/* EA1618 80240D18 0220202D */ daddu $a0, $s1, $zero +/* EA161C 80240D1C 24050322 */ addiu $a1, $zero, 0x322 +/* EA1620 80240D20 0C013600 */ jal func_8004D800 +/* EA1624 80240D24 0000302D */ daddu $a2, $zero, $zero +/* EA1628 80240D28 0000202D */ daddu $a0, $zero, $zero +/* EA162C 80240D2C 0220282D */ daddu $a1, $s1, $zero +/* EA1630 80240D30 0000302D */ daddu $a2, $zero, $zero +/* EA1634 80240D34 2410000A */ addiu $s0, $zero, 0xa +/* EA1638 80240D38 862300A8 */ lh $v1, 0xa8($s1) +/* EA163C 80240D3C 3C013F80 */ lui $at, 0x3f80 +/* EA1640 80240D40 44810000 */ mtc1 $at, $f0 +/* EA1644 80240D44 3C014000 */ lui $at, 0x4000 +/* EA1648 80240D48 44811000 */ mtc1 $at, $f2 +/* EA164C 80240D4C 3C01C1A0 */ lui $at, 0xc1a0 +/* EA1650 80240D50 44812000 */ mtc1 $at, $f4 +/* EA1654 80240D54 44833000 */ mtc1 $v1, $f6 +/* EA1658 80240D58 00000000 */ nop +/* EA165C 80240D5C 468031A0 */ cvt.s.w $f6, $f6 +/* EA1660 80240D60 44073000 */ mfc1 $a3, $f6 +/* EA1664 80240D64 27A20028 */ addiu $v0, $sp, 0x28 +/* EA1668 80240D68 AFB0001C */ sw $s0, 0x1c($sp) +/* EA166C 80240D6C AFA20020 */ sw $v0, 0x20($sp) +/* EA1670 80240D70 E7A00010 */ swc1 $f0, 0x10($sp) +/* EA1674 80240D74 E7A20014 */ swc1 $f2, 0x14($sp) +/* EA1678 80240D78 0C01D444 */ jal func_80075110 +/* EA167C 80240D7C E7A40018 */ swc1 $f4, 0x18($sp) +/* EA1680 80240D80 0220202D */ daddu $a0, $s1, $zero +/* EA1684 80240D84 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EA1688 80240D88 0C013600 */ jal func_8004D800 +/* EA168C 80240D8C 3C060020 */ lui $a2, 0x20 +/* EA1690 80240D90 8E4200CC */ lw $v0, 0xcc($s2) +/* EA1694 80240D94 8C420020 */ lw $v0, 0x20($v0) +/* EA1698 80240D98 AE220028 */ sw $v0, 0x28($s1) +/* EA169C 80240D9C 9642008E */ lhu $v0, 0x8e($s2) +/* EA16A0 80240DA0 A622008E */ sh $v0, 0x8e($s1) +/* EA16A4 80240DA4 AE700070 */ sw $s0, 0x70($s3) +.L80240DA8: +/* EA16A8 80240DA8 8FBF0040 */ lw $ra, 0x40($sp) +/* EA16AC 80240DAC 8FB3003C */ lw $s3, 0x3c($sp) +/* EA16B0 80240DB0 8FB20038 */ lw $s2, 0x38($sp) +/* EA16B4 80240DB4 8FB10034 */ lw $s1, 0x34($sp) +/* EA16B8 80240DB8 8FB00030 */ lw $s0, 0x30($sp) +/* EA16BC 80240DBC 03E00008 */ jr $ra +/* EA16C0 80240DC0 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EA0C10/func_80240DC4_EA16C4.s b/asm/nonmatchings/code_EA0C10/func_80240DC4_EA16C4.s new file mode 100644 index 0000000000..03e00d6430 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80240DC4_EA16C4.s @@ -0,0 +1,688 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240DC4_EA16C4 +/* EA16C4 80240DC4 27BDFF80 */ addiu $sp, $sp, -0x80 +/* EA16C8 80240DC8 AFBF0064 */ sw $ra, 0x64($sp) +/* EA16CC 80240DCC AFBE0060 */ sw $fp, 0x60($sp) +/* EA16D0 80240DD0 AFB7005C */ sw $s7, 0x5c($sp) +/* EA16D4 80240DD4 AFB60058 */ sw $s6, 0x58($sp) +/* EA16D8 80240DD8 AFB50054 */ sw $s5, 0x54($sp) +/* EA16DC 80240DDC AFB40050 */ sw $s4, 0x50($sp) +/* EA16E0 80240DE0 AFB3004C */ sw $s3, 0x4c($sp) +/* EA16E4 80240DE4 AFB20048 */ sw $s2, 0x48($sp) +/* EA16E8 80240DE8 AFB10044 */ sw $s1, 0x44($sp) +/* EA16EC 80240DEC AFB00040 */ sw $s0, 0x40($sp) +/* EA16F0 80240DF0 F7B80078 */ sdc1 $f24, 0x78($sp) +/* EA16F4 80240DF4 F7B60070 */ sdc1 $f22, 0x70($sp) +/* EA16F8 80240DF8 F7B40068 */ sdc1 $f20, 0x68($sp) +/* EA16FC 80240DFC AFA40080 */ sw $a0, 0x80($sp) +/* EA1700 80240E00 8C960148 */ lw $s6, 0x148($a0) +/* EA1704 80240E04 00C0902D */ daddu $s2, $a2, $zero +/* EA1708 80240E08 86C40008 */ lh $a0, 8($s6) +/* EA170C 80240E0C 0C00F92F */ jal func_8003E4BC +/* EA1710 80240E10 0000B82D */ daddu $s7, $zero, $zero +/* EA1714 80240E14 0040882D */ daddu $s1, $v0, $zero +/* EA1718 80240E18 9622008E */ lhu $v0, 0x8e($s1) +/* EA171C 80240E1C 2442FFFF */ addiu $v0, $v0, -1 +/* EA1720 80240E20 A622008E */ sh $v0, 0x8e($s1) +/* EA1724 80240E24 00021400 */ sll $v0, $v0, 0x10 +/* EA1728 80240E28 8EC30090 */ lw $v1, 0x90($s6) +/* EA172C 80240E2C 00021403 */ sra $v0, $v0, 0x10 +/* EA1730 80240E30 0062182A */ slt $v1, $v1, $v0 +/* EA1734 80240E34 14600005 */ bnez $v1, .L80240E4C +/* EA1738 80240E38 02E0F02D */ daddu $fp, $s7, $zero +/* EA173C 80240E3C 8EC20000 */ lw $v0, ($s6) +/* EA1740 80240E40 3C031F10 */ lui $v1, 0x1f10 +/* EA1744 80240E44 00431025 */ or $v0, $v0, $v1 +/* EA1748 80240E48 AEC20000 */ sw $v0, ($s6) +.L80240E4C: +/* EA174C 80240E4C 8622008E */ lh $v0, 0x8e($s1) +/* EA1750 80240E50 1440025D */ bnez $v0, .L802417C8 +/* EA1754 80240E54 00000000 */ nop +/* EA1758 80240E58 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EA175C 80240E5C 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EA1760 80240E60 0C00AB85 */ jal func_8002AE14 +/* EA1764 80240E64 C44C00A8 */ lwc1 $f12, 0xa8($v0) +/* EA1768 80240E68 3C014334 */ lui $at, 0x4334 +/* EA176C 80240E6C 44811000 */ mtc1 $at, $f2 +/* EA1770 80240E70 00000000 */ nop +/* EA1774 80240E74 4602003C */ c.lt.s $f0, $f2 +/* EA1778 80240E78 00000000 */ nop +/* EA177C 80240E7C 45000011 */ bc1f .L80240EC4 +/* EA1780 80240E80 00000000 */ nop +/* EA1784 80240E84 3C038008 */ lui $v1, %hi(D_8007C760) +/* EA1788 80240E88 8C63C760 */ lw $v1, %lo(D_8007C760)($v1) +/* EA178C 80240E8C 3C0142B4 */ lui $at, 0x42b4 +/* EA1790 80240E90 44816000 */ mtc1 $at, $f12 +/* EA1794 80240E94 00031080 */ sll $v0, $v1, 2 +/* EA1798 80240E98 00431021 */ addu $v0, $v0, $v1 +/* EA179C 80240E9C 00021080 */ sll $v0, $v0, 2 +/* EA17A0 80240EA0 00431023 */ subu $v0, $v0, $v1 +/* EA17A4 80240EA4 000218C0 */ sll $v1, $v0, 3 +/* EA17A8 80240EA8 00431021 */ addu $v0, $v0, $v1 +/* EA17AC 80240EAC 000210C0 */ sll $v0, $v0, 3 +/* EA17B0 80240EB0 3C01800C */ lui $at, %hi(D_800B8DEC) +/* EA17B4 80240EB4 00220821 */ addu $at, $at, $v0 +/* EA17B8 80240EB8 C4208DEC */ lwc1 $f0, %lo(D_800B8DEC)($at) +/* EA17BC 80240EBC 080903C0 */ j .L80240F00 +/* EA17C0 80240EC0 460C0301 */ sub.s $f12, $f0, $f12 +.L80240EC4: +/* EA17C4 80240EC4 3C038008 */ lui $v1, %hi(D_8007C760) +/* EA17C8 80240EC8 8C63C760 */ lw $v1, %lo(D_8007C760)($v1) +/* EA17CC 80240ECC 3C0142B4 */ lui $at, 0x42b4 +/* EA17D0 80240ED0 44816000 */ mtc1 $at, $f12 +/* EA17D4 80240ED4 00031080 */ sll $v0, $v1, 2 +/* EA17D8 80240ED8 00431021 */ addu $v0, $v0, $v1 +/* EA17DC 80240EDC 00021080 */ sll $v0, $v0, 2 +/* EA17E0 80240EE0 00431023 */ subu $v0, $v0, $v1 +/* EA17E4 80240EE4 000218C0 */ sll $v1, $v0, 3 +/* EA17E8 80240EE8 00431021 */ addu $v0, $v0, $v1 +/* EA17EC 80240EEC 000210C0 */ sll $v0, $v0, 3 +/* EA17F0 80240EF0 3C01800C */ lui $at, %hi(D_800B8DEC) +/* EA17F4 80240EF4 00220821 */ addu $at, $at, $v0 +/* EA17F8 80240EF8 C4208DEC */ lwc1 $f0, %lo(D_800B8DEC)($at) +/* EA17FC 80240EFC 460C0300 */ add.s $f12, $f0, $f12 +.L80240F00: +/* EA1800 80240F00 0C00AB85 */ jal func_8002AE14 +/* EA1804 80240F04 00000000 */ nop +/* EA1808 80240F08 46000586 */ mov.s $f22, $f0 +/* EA180C 80240F0C 3C014334 */ lui $at, 0x4334 +/* EA1810 80240F10 44816000 */ mtc1 $at, $f12 +/* EA1814 80240F14 0C00AB85 */ jal func_8002AE14 +/* EA1818 80240F18 460CB300 */ add.s $f12, $f22, $f12 +/* EA181C 80240F1C 8EC20088 */ lw $v0, 0x88($s6) +/* EA1820 80240F20 14400010 */ bnez $v0, .L80240F64 +/* EA1824 80240F24 46000606 */ mov.s $f24, $f0 +/* EA1828 80240F28 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EA182C 80240F2C 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EA1830 80240F30 804300B4 */ lb $v1, 0xb4($v0) +/* EA1834 80240F34 3C014200 */ lui $at, 0x4200 +/* EA1838 80240F38 4481A000 */ mtc1 $at, $f20 +/* EA183C 80240F3C 10600016 */ beqz $v1, .L80240F98 +/* EA1840 80240F40 24020001 */ addiu $v0, $zero, 1 +/* EA1844 80240F44 3C0142C8 */ lui $at, 0x42c8 +/* EA1848 80240F48 4481A000 */ mtc1 $at, $f20 +/* EA184C 80240F4C 14620013 */ bne $v1, $v0, .L80240F9C +/* EA1850 80240F50 26300038 */ addiu $s0, $s1, 0x38 +/* EA1854 80240F54 3C0142B4 */ lui $at, 0x42b4 +/* EA1858 80240F58 4481A000 */ mtc1 $at, $f20 +/* EA185C 80240F5C 080903E8 */ j .L80240FA0 +/* EA1860 80240F60 0200202D */ daddu $a0, $s0, $zero +.L80240F64: +/* EA1864 80240F64 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EA1868 80240F68 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EA186C 80240F6C 804300B4 */ lb $v1, 0xb4($v0) +/* EA1870 80240F70 3C014218 */ lui $at, 0x4218 +/* EA1874 80240F74 4481A000 */ mtc1 $at, $f20 +/* EA1878 80240F78 10600007 */ beqz $v1, .L80240F98 +/* EA187C 80240F7C 24020001 */ addiu $v0, $zero, 1 +/* EA1880 80240F80 3C0142B4 */ lui $at, 0x42b4 +/* EA1884 80240F84 4481A000 */ mtc1 $at, $f20 +/* EA1888 80240F88 14620004 */ bne $v1, $v0, .L80240F9C +/* EA188C 80240F8C 26300038 */ addiu $s0, $s1, 0x38 +/* EA1890 80240F90 3C014296 */ lui $at, 0x4296 +/* EA1894 80240F94 4481A000 */ mtc1 $at, $f20 +.L80240F98: +/* EA1898 80240F98 26300038 */ addiu $s0, $s1, 0x38 +.L80240F9C: +/* EA189C 80240F9C 0200202D */ daddu $a0, $s0, $zero +.L80240FA0: +/* EA18A0 80240FA0 3C158010 */ lui $s5, %hi(D_800FFC90) +/* EA18A4 80240FA4 26B5FC90 */ addiu $s5, $s5, %lo(D_800FFC90) +/* EA18A8 80240FA8 4407C000 */ mfc1 $a3, $f24 +/* EA18AC 80240FAC 862200A6 */ lh $v0, 0xa6($s1) +/* EA18B0 80240FB0 8EA30000 */ lw $v1, ($s5) +/* EA18B4 80240FB4 44824000 */ mtc1 $v0, $f8 +/* EA18B8 80240FB8 00000000 */ nop +/* EA18BC 80240FBC 46804220 */ cvt.s.w $f8, $f8 +/* EA18C0 80240FC0 C4600028 */ lwc1 $f0, 0x28($v1) +/* EA18C4 80240FC4 44064000 */ mfc1 $a2, $f8 +/* EA18C8 80240FC8 26330040 */ addiu $s3, $s1, 0x40 +/* EA18CC 80240FCC E6200038 */ swc1 $f0, 0x38($s1) +/* EA18D0 80240FD0 C4600030 */ lwc1 $f0, 0x30($v1) +/* EA18D4 80240FD4 0260282D */ daddu $a1, $s3, $zero +/* EA18D8 80240FD8 0C00ACA3 */ jal func_8002B28C +/* EA18DC 80240FDC E6200040 */ swc1 $f0, 0x40($s1) +/* EA18E0 80240FE0 862200A6 */ lh $v0, 0xa6($s1) +/* EA18E4 80240FE4 44820000 */ mtc1 $v0, $f0 +/* EA18E8 80240FE8 00000000 */ nop +/* EA18EC 80240FEC 46800020 */ cvt.s.w $f0, $f0 +/* EA18F0 80240FF0 4600A000 */ add.s $f0, $f20, $f0 +/* EA18F4 80240FF4 4406B000 */ mfc1 $a2, $f22 +/* EA18F8 80240FF8 44050000 */ mfc1 $a1, $f0 +/* EA18FC 80240FFC 0C00F909 */ jal func_8003E424 +/* EA1900 80241000 0220202D */ daddu $a0, $s1, $zero +/* EA1904 80241004 8EC20088 */ lw $v0, 0x88($s6) +/* EA1908 80241008 1440005D */ bnez $v0, .L80241180 +/* EA190C 8024100C 00000000 */ nop +/* EA1910 80241010 C6200038 */ lwc1 $f0, 0x38($s1) +/* EA1914 80241014 3C018024 */ lui $at, %hi(D_80246618) +/* EA1918 80241018 D4246618 */ ldc1 $f4, %lo(D_80246618)($at) +/* EA191C 8024101C 46000021 */ cvt.d.s $f0, $f0 +/* EA1920 80241020 4620203C */ c.lt.d $f4, $f0 +/* EA1924 80241024 00000000 */ nop +/* EA1928 80241028 45000005 */ bc1f .L80241040 +/* EA192C 8024102C 00000000 */ nop +/* EA1930 80241030 3C0143BE */ lui $at, 0x43be +/* EA1934 80241034 44810000 */ mtc1 $at, $f0 +/* EA1938 80241038 00000000 */ nop +/* EA193C 8024103C E6200038 */ swc1 $f0, 0x38($s1) +.L80241040: +/* EA1940 80241040 C6200038 */ lwc1 $f0, 0x38($s1) +/* EA1944 80241044 3C018024 */ lui $at, %hi(D_80246620) +/* EA1948 80241048 D4226620 */ ldc1 $f2, %lo(D_80246620)($at) +/* EA194C 8024104C 46000021 */ cvt.d.s $f0, $f0 +/* EA1950 80241050 4622003C */ c.lt.d $f0, $f2 +/* EA1954 80241054 00000000 */ nop +/* EA1958 80241058 45000005 */ bc1f .L80241070 +/* EA195C 8024105C 00000000 */ nop +/* EA1960 80241060 3C01C3BE */ lui $at, 0xc3be +/* EA1964 80241064 44810000 */ mtc1 $at, $f0 +/* EA1968 80241068 00000000 */ nop +/* EA196C 8024106C E6200038 */ swc1 $f0, 0x38($s1) +.L80241070: +/* EA1970 80241070 C6200040 */ lwc1 $f0, 0x40($s1) +/* EA1974 80241074 46000021 */ cvt.d.s $f0, $f0 +/* EA1978 80241078 4620203C */ c.lt.d $f4, $f0 +/* EA197C 8024107C 00000000 */ nop +/* EA1980 80241080 45000005 */ bc1f .L80241098 +/* EA1984 80241084 00000000 */ nop +/* EA1988 80241088 3C0143BE */ lui $at, 0x43be +/* EA198C 8024108C 44810000 */ mtc1 $at, $f0 +/* EA1990 80241090 00000000 */ nop +/* EA1994 80241094 E6200040 */ swc1 $f0, 0x40($s1) +.L80241098: +/* EA1998 80241098 C6200040 */ lwc1 $f0, 0x40($s1) +/* EA199C 8024109C 46000021 */ cvt.d.s $f0, $f0 +/* EA19A0 802410A0 4622003C */ c.lt.d $f0, $f2 +/* EA19A4 802410A4 00000000 */ nop +/* EA19A8 802410A8 45000005 */ bc1f .L802410C0 +/* EA19AC 802410AC 00000000 */ nop +/* EA19B0 802410B0 3C01C3BE */ lui $at, 0xc3be +/* EA19B4 802410B4 44810000 */ mtc1 $at, $f0 +/* EA19B8 802410B8 00000000 */ nop +/* EA19BC 802410BC E6200040 */ swc1 $f0, 0x40($s1) +.L802410C0: +/* EA19C0 802410C0 C6220038 */ lwc1 $f2, 0x38($s1) +/* EA19C4 802410C4 46021082 */ mul.s $f2, $f2, $f2 +/* EA19C8 802410C8 00000000 */ nop +/* EA19CC 802410CC C6200040 */ lwc1 $f0, 0x40($s1) +/* EA19D0 802410D0 46000002 */ mul.s $f0, $f0, $f0 +/* EA19D4 802410D4 00000000 */ nop +/* EA19D8 802410D8 46001300 */ add.s $f12, $f2, $f0 +/* EA19DC 802410DC 46006004 */ sqrt.s $f0, $f12 +/* EA19E0 802410E0 46000032 */ c.eq.s $f0, $f0 +/* EA19E4 802410E4 00000000 */ nop +/* EA19E8 802410E8 45010003 */ bc1t .L802410F8 +/* EA19EC 802410EC 00000000 */ nop +/* EA19F0 802410F0 0C019C10 */ jal func_80067040 +/* EA19F4 802410F4 00000000 */ nop +.L802410F8: +/* EA19F8 802410F8 8E260038 */ lw $a2, 0x38($s1) +/* EA19FC 802410FC 8E270040 */ lw $a3, 0x40($s1) +/* EA1A00 80241100 4480A000 */ mtc1 $zero, $f20 +/* EA1A04 80241104 E7A00038 */ swc1 $f0, 0x38($sp) +/* EA1A08 80241108 4600A306 */ mov.s $f12, $f20 +/* EA1A0C 8024110C 0C00ABDC */ jal fio_validate_header_checksums +/* EA1A10 80241110 4600A386 */ mov.s $f14, $f20 +/* EA1A14 80241114 46000586 */ mov.s $f22, $f0 +/* EA1A18 80241118 C7A20038 */ lwc1 $f2, 0x38($sp) +/* EA1A1C 8024111C 3C018024 */ lui $at, %hi(D_80246628) +/* EA1A20 80241120 D4206628 */ ldc1 $f0, %lo(D_80246628)($at) +/* EA1A24 80241124 460010A1 */ cvt.d.s $f2, $f2 +/* EA1A28 80241128 4620103C */ c.lt.d $f2, $f0 +/* EA1A2C 8024112C 00000000 */ nop +/* EA1A30 80241130 45000004 */ bc1f .L80241144 +/* EA1A34 80241134 0200202D */ daddu $a0, $s0, $zero +/* EA1A38 80241138 3C064398 */ lui $a2, 0x4398 +/* EA1A3C 8024113C 08090459 */ j .L80241164 +/* EA1A40 80241140 34C68000 */ ori $a2, $a2, 0x8000 +.L80241144: +/* EA1A44 80241144 3C018024 */ lui $at, %hi(D_80246630) +/* EA1A48 80241148 D4206630 */ ldc1 $f0, %lo(D_80246630)($at) +/* EA1A4C 8024114C 4622003C */ c.lt.d $f0, $f2 +/* EA1A50 80241150 00000000 */ nop +/* EA1A54 80241154 450000FA */ bc1f .L80241540 +/* EA1A58 80241158 00000000 */ nop +/* EA1A5C 8024115C 3C0643BB */ lui $a2, 0x43bb +/* EA1A60 80241160 34C68000 */ ori $a2, $a2, 0x8000 +.L80241164: +/* EA1A64 80241164 4407B000 */ mfc1 $a3, $f22 +/* EA1A68 80241168 0260282D */ daddu $a1, $s3, $zero +/* EA1A6C 8024116C E6340038 */ swc1 $f20, 0x38($s1) +/* EA1A70 80241170 0C00ACA3 */ jal func_8002B28C +/* EA1A74 80241174 E6340040 */ swc1 $f20, 0x40($s1) +/* EA1A78 80241178 08090550 */ j .L80241540 +/* EA1A7C 8024117C 00000000 */ nop +.L80241180: +/* EA1A80 80241180 8E220000 */ lw $v0, ($s1) +/* EA1A84 80241184 30420040 */ andi $v0, $v0, 0x40 +/* EA1A88 80241188 144000B0 */ bnez $v0, .L8024144C +/* EA1A8C 8024118C 27A50020 */ addiu $a1, $sp, 0x20 +/* EA1A90 80241190 27B40020 */ addiu $s4, $sp, 0x20 +/* EA1A94 80241194 0280282D */ daddu $a1, $s4, $zero +/* EA1A98 80241198 27B30024 */ addiu $s3, $sp, 0x24 +/* EA1A9C 8024119C 8EA20000 */ lw $v0, ($s5) +/* EA1AA0 802411A0 3C014032 */ lui $at, 0x4032 +/* EA1AA4 802411A4 44811800 */ mtc1 $at, $f3 +/* EA1AA8 802411A8 44801000 */ mtc1 $zero, $f2 +/* EA1AAC 802411AC C440002C */ lwc1 $f0, 0x2c($v0) +/* EA1AB0 802411B0 C4460028 */ lwc1 $f6, 0x28($v0) +/* EA1AB4 802411B4 C4440030 */ lwc1 $f4, 0x30($v0) +/* EA1AB8 802411B8 46000021 */ cvt.d.s $f0, $f0 +/* EA1ABC 802411BC 46220000 */ add.d $f0, $f0, $f2 +/* EA1AC0 802411C0 E7A60020 */ swc1 $f6, 0x20($sp) +/* EA1AC4 802411C4 E7A40028 */ swc1 $f4, 0x28($sp) +/* EA1AC8 802411C8 46200020 */ cvt.s.d $f0, $f0 +/* EA1ACC 802411CC E7A00024 */ swc1 $f0, 0x24($sp) +/* EA1AD0 802411D0 E7B40010 */ swc1 $f20, 0x10($sp) +/* EA1AD4 802411D4 E7B60014 */ swc1 $f22, 0x14($sp) +/* EA1AD8 802411D8 862200A8 */ lh $v0, 0xa8($s1) +/* EA1ADC 802411DC 0260302D */ daddu $a2, $s3, $zero +/* EA1AE0 802411E0 44820000 */ mtc1 $v0, $f0 +/* EA1AE4 802411E4 00000000 */ nop +/* EA1AE8 802411E8 46800020 */ cvt.s.w $f0, $f0 +/* EA1AEC 802411EC E7A00018 */ swc1 $f0, 0x18($sp) +/* EA1AF0 802411F0 862200A6 */ lh $v0, 0xa6($s1) +/* EA1AF4 802411F4 27B00028 */ addiu $s0, $sp, 0x28 +/* EA1AF8 802411F8 44820000 */ mtc1 $v0, $f0 +/* EA1AFC 802411FC 00000000 */ nop +/* EA1B00 80241200 46800020 */ cvt.s.w $f0, $f0 +/* EA1B04 80241204 E7A0001C */ swc1 $f0, 0x1c($sp) +/* EA1B08 80241208 8E240080 */ lw $a0, 0x80($s1) +/* EA1B0C 8024120C 0C0394C1 */ jal func_800E5304 +/* EA1B10 80241210 0200382D */ daddu $a3, $s0, $zero +/* EA1B14 80241214 104000CA */ beqz $v0, .L80241540 +/* EA1B18 80241218 0280282D */ daddu $a1, $s4, $zero +/* EA1B1C 8024121C 8EA20000 */ lw $v0, ($s5) +/* EA1B20 80241220 3C018024 */ lui $at, %hi(D_80246638) +/* EA1B24 80241224 D4226638 */ ldc1 $f2, %lo(D_80246638)($at) +/* EA1B28 80241228 C440002C */ lwc1 $f0, 0x2c($v0) +/* EA1B2C 8024122C C4460028 */ lwc1 $f6, 0x28($v0) +/* EA1B30 80241230 C4440030 */ lwc1 $f4, 0x30($v0) +/* EA1B34 80241234 46000021 */ cvt.d.s $f0, $f0 +/* EA1B38 80241238 46220000 */ add.d $f0, $f0, $f2 +/* EA1B3C 8024123C E7A60020 */ swc1 $f6, 0x20($sp) +/* EA1B40 80241240 E7A40028 */ swc1 $f4, 0x28($sp) +/* EA1B44 80241244 46200020 */ cvt.s.d $f0, $f0 +/* EA1B48 80241248 E7A00024 */ swc1 $f0, 0x24($sp) +/* EA1B4C 8024124C E7B40010 */ swc1 $f20, 0x10($sp) +/* EA1B50 80241250 E7B60014 */ swc1 $f22, 0x14($sp) +/* EA1B54 80241254 862200A8 */ lh $v0, 0xa8($s1) +/* EA1B58 80241258 44820000 */ mtc1 $v0, $f0 +/* EA1B5C 8024125C 00000000 */ nop +/* EA1B60 80241260 46800020 */ cvt.s.w $f0, $f0 +/* EA1B64 80241264 E7A00018 */ swc1 $f0, 0x18($sp) +/* EA1B68 80241268 862200A6 */ lh $v0, 0xa6($s1) +/* EA1B6C 8024126C 0260302D */ daddu $a2, $s3, $zero +/* EA1B70 80241270 44820000 */ mtc1 $v0, $f0 +/* EA1B74 80241274 00000000 */ nop +/* EA1B78 80241278 46800020 */ cvt.s.w $f0, $f0 +/* EA1B7C 8024127C E7A0001C */ swc1 $f0, 0x1c($sp) +/* EA1B80 80241280 8E240080 */ lw $a0, 0x80($s1) +/* EA1B84 80241284 0C0394C1 */ jal func_800E5304 +/* EA1B88 80241288 0200382D */ daddu $a3, $s0, $zero +/* EA1B8C 8024128C 27A5002C */ addiu $a1, $sp, 0x2c +/* EA1B90 80241290 27A60030 */ addiu $a2, $sp, 0x30 +/* EA1B94 80241294 27A70034 */ addiu $a3, $sp, 0x34 +/* EA1B98 80241298 27A30038 */ addiu $v1, $sp, 0x38 +/* EA1B9C 8024129C C6220038 */ lwc1 $f2, 0x38($s1) +/* EA1BA0 802412A0 C620003C */ lwc1 $f0, 0x3c($s1) +/* EA1BA4 802412A4 3C014348 */ lui $at, 0x4348 +/* EA1BA8 802412A8 44813000 */ mtc1 $at, $f6 +/* EA1BAC 802412AC 46000021 */ cvt.d.s $f0, $f0 +/* EA1BB0 802412B0 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EA1BB4 802412B4 3C014059 */ lui $at, 0x4059 +/* EA1BB8 802412B8 44811800 */ mtc1 $at, $f3 +/* EA1BBC 802412BC 44801000 */ mtc1 $zero, $f2 +/* EA1BC0 802412C0 C6240040 */ lwc1 $f4, 0x40($s1) +/* EA1BC4 802412C4 46220000 */ add.d $f0, $f0, $f2 +/* EA1BC8 802412C8 E7A60038 */ swc1 $f6, 0x38($sp) +/* EA1BCC 802412CC E7A40034 */ swc1 $f4, 0x34($sp) +/* EA1BD0 802412D0 46200020 */ cvt.s.d $f0, $f0 +/* EA1BD4 802412D4 E7A00030 */ swc1 $f0, 0x30($sp) +/* EA1BD8 802412D8 AFA30010 */ sw $v1, 0x10($sp) +/* EA1BDC 802412DC 8E240080 */ lw $a0, 0x80($s1) +/* EA1BE0 802412E0 0C03908F */ jal func_800E423C +/* EA1BE4 802412E4 0040802D */ daddu $s0, $v0, $zero +/* EA1BE8 802412E8 1600001C */ bnez $s0, .L8024135C +/* EA1BEC 802412EC 00000000 */ nop +/* EA1BF0 802412F0 1040001A */ beqz $v0, .L8024135C +/* EA1BF4 802412F4 00000000 */ nop +/* EA1BF8 802412F8 C7A20038 */ lwc1 $f2, 0x38($sp) +/* EA1BFC 802412FC 3C014054 */ lui $at, 0x4054 +/* EA1C00 80241300 44810800 */ mtc1 $at, $f1 +/* EA1C04 80241304 44800000 */ mtc1 $zero, $f0 +/* EA1C08 80241308 460010A1 */ cvt.d.s $f2, $f2 +/* EA1C0C 8024130C 4622003C */ c.lt.d $f0, $f2 +/* EA1C10 80241310 00000000 */ nop +/* EA1C14 80241314 45000011 */ bc1f .L8024135C +/* EA1C18 80241318 00000000 */ nop +/* EA1C1C 8024131C 3C01405E */ lui $at, 0x405e +/* EA1C20 80241320 44810800 */ mtc1 $at, $f1 +/* EA1C24 80241324 44800000 */ mtc1 $zero, $f0 +/* EA1C28 80241328 00000000 */ nop +/* EA1C2C 8024132C 4620103C */ c.lt.d $f2, $f0 +/* EA1C30 80241330 00000000 */ nop +/* EA1C34 80241334 45000009 */ bc1f .L8024135C +/* EA1C38 80241338 00000000 */ nop +/* EA1C3C 8024133C C622003C */ lwc1 $f2, 0x3c($s1) +/* EA1C40 80241340 C7A00030 */ lwc1 $f0, 0x30($sp) +/* EA1C44 80241344 46001032 */ c.eq.s $f2, $f0 +/* EA1C48 80241348 00000000 */ nop +/* EA1C4C 8024134C 45010003 */ bc1t .L8024135C +/* EA1C50 80241350 00000000 */ nop +/* EA1C54 80241354 08090550 */ j .L80241540 +/* EA1C58 80241358 241E0001 */ addiu $fp, $zero, 1 +.L8024135C: +/* EA1C5C 8024135C 3C108010 */ lui $s0, %hi(D_800FFC90) +/* EA1C60 80241360 2610FC90 */ addiu $s0, $s0, %lo(D_800FFC90) +/* EA1C64 80241364 8E020000 */ lw $v0, ($s0) +/* EA1C68 80241368 3C014024 */ lui $at, 0x4024 +/* EA1C6C 8024136C 44811800 */ mtc1 $at, $f3 +/* EA1C70 80241370 44801000 */ mtc1 $zero, $f2 +/* EA1C74 80241374 C440002C */ lwc1 $f0, 0x2c($v0) +/* EA1C78 80241378 C4460028 */ lwc1 $f6, 0x28($v0) +/* EA1C7C 8024137C C4440030 */ lwc1 $f4, 0x30($v0) +/* EA1C80 80241380 46000021 */ cvt.d.s $f0, $f0 +/* EA1C84 80241384 46220000 */ add.d $f0, $f0, $f2 +/* EA1C88 80241388 E7A60020 */ swc1 $f6, 0x20($sp) +/* EA1C8C 8024138C E7A40028 */ swc1 $f4, 0x28($sp) +/* EA1C90 80241390 46200020 */ cvt.s.d $f0, $f0 +/* EA1C94 80241394 E7A00024 */ swc1 $f0, 0x24($sp) +/* EA1C98 80241398 E7B40010 */ swc1 $f20, 0x10($sp) +/* EA1C9C 8024139C E7B60014 */ swc1 $f22, 0x14($sp) +/* EA1CA0 802413A0 862200A8 */ lh $v0, 0xa8($s1) +/* EA1CA4 802413A4 27A50020 */ addiu $a1, $sp, 0x20 +/* EA1CA8 802413A8 44820000 */ mtc1 $v0, $f0 +/* EA1CAC 802413AC 00000000 */ nop +/* EA1CB0 802413B0 46800020 */ cvt.s.w $f0, $f0 +/* EA1CB4 802413B4 E7A00018 */ swc1 $f0, 0x18($sp) +/* EA1CB8 802413B8 862200A6 */ lh $v0, 0xa6($s1) +/* EA1CBC 802413BC 27A60024 */ addiu $a2, $sp, 0x24 +/* EA1CC0 802413C0 44820000 */ mtc1 $v0, $f0 +/* EA1CC4 802413C4 00000000 */ nop +/* EA1CC8 802413C8 46800020 */ cvt.s.w $f0, $f0 +/* EA1CCC 802413CC E7A0001C */ swc1 $f0, 0x1c($sp) +/* EA1CD0 802413D0 8E240080 */ lw $a0, 0x80($s1) +/* EA1CD4 802413D4 0C0394C1 */ jal func_800E5304 +/* EA1CD8 802413D8 27A70028 */ addiu $a3, $sp, 0x28 +/* EA1CDC 802413DC 8FA60020 */ lw $a2, 0x20($sp) +/* EA1CE0 802413E0 8E020000 */ lw $v0, ($s0) +/* EA1CE4 802413E4 8FA70028 */ lw $a3, 0x28($sp) +/* EA1CE8 802413E8 C44C0028 */ lwc1 $f12, 0x28($v0) +/* EA1CEC 802413EC C44E0030 */ lwc1 $f14, 0x30($v0) +/* EA1CF0 802413F0 0C00AC71 */ jal func_8002B1C4 +/* EA1CF4 802413F4 24170001 */ addiu $s7, $zero, 1 +/* EA1CF8 802413F8 46000506 */ mov.s $f20, $f0 +/* EA1CFC 802413FC 8E030000 */ lw $v1, ($s0) +/* EA1D00 80241400 862200A6 */ lh $v0, 0xa6($s1) +/* EA1D04 80241404 4407C000 */ mfc1 $a3, $f24 +/* EA1D08 80241408 44824000 */ mtc1 $v0, $f8 +/* EA1D0C 8024140C 00000000 */ nop +/* EA1D10 80241410 46804220 */ cvt.s.w $f8, $f8 +/* EA1D14 80241414 C4600028 */ lwc1 $f0, 0x28($v1) +/* EA1D18 80241418 44064000 */ mfc1 $a2, $f8 +/* EA1D1C 8024141C 26240038 */ addiu $a0, $s1, 0x38 +/* EA1D20 80241420 E6200038 */ swc1 $f0, 0x38($s1) +/* EA1D24 80241424 C4600030 */ lwc1 $f0, 0x30($v1) +/* EA1D28 80241428 26250040 */ addiu $a1, $s1, 0x40 +/* EA1D2C 8024142C 0C00ACA3 */ jal func_8002B28C +/* EA1D30 80241430 E6200040 */ swc1 $f0, 0x40($s1) +/* EA1D34 80241434 862200A6 */ lh $v0, 0xa6($s1) +/* EA1D38 80241438 44820000 */ mtc1 $v0, $f0 +/* EA1D3C 8024143C 00000000 */ nop +/* EA1D40 80241440 46800020 */ cvt.s.w $f0, $f0 +/* EA1D44 80241444 0809054C */ j .L80241530 +/* EA1D48 80241448 4600A500 */ add.s $f20, $f20, $f0 +.L8024144C: +/* EA1D4C 8024144C 8EA20000 */ lw $v0, ($s5) +/* EA1D50 80241450 3C014032 */ lui $at, 0x4032 +/* EA1D54 80241454 44811800 */ mtc1 $at, $f3 +/* EA1D58 80241458 44801000 */ mtc1 $zero, $f2 +/* EA1D5C 8024145C C440002C */ lwc1 $f0, 0x2c($v0) +/* EA1D60 80241460 C4460028 */ lwc1 $f6, 0x28($v0) +/* EA1D64 80241464 C4440030 */ lwc1 $f4, 0x30($v0) +/* EA1D68 80241468 46000021 */ cvt.d.s $f0, $f0 +/* EA1D6C 8024146C 46220000 */ add.d $f0, $f0, $f2 +/* EA1D70 80241470 E7A60020 */ swc1 $f6, 0x20($sp) +/* EA1D74 80241474 E7A40028 */ swc1 $f4, 0x28($sp) +/* EA1D78 80241478 46200020 */ cvt.s.d $f0, $f0 +/* EA1D7C 8024147C E7A00024 */ swc1 $f0, 0x24($sp) +/* EA1D80 80241480 E7B40010 */ swc1 $f20, 0x10($sp) +/* EA1D84 80241484 E7B60014 */ swc1 $f22, 0x14($sp) +/* EA1D88 80241488 862200A8 */ lh $v0, 0xa8($s1) +/* EA1D8C 8024148C 44820000 */ mtc1 $v0, $f0 +/* EA1D90 80241490 00000000 */ nop +/* EA1D94 80241494 46800020 */ cvt.s.w $f0, $f0 +/* EA1D98 80241498 E7A00018 */ swc1 $f0, 0x18($sp) +/* EA1D9C 8024149C 862200A6 */ lh $v0, 0xa6($s1) +/* EA1DA0 802414A0 27A60024 */ addiu $a2, $sp, 0x24 +/* EA1DA4 802414A4 44820000 */ mtc1 $v0, $f0 +/* EA1DA8 802414A8 00000000 */ nop +/* EA1DAC 802414AC 46800020 */ cvt.s.w $f0, $f0 +/* EA1DB0 802414B0 E7A0001C */ swc1 $f0, 0x1c($sp) +/* EA1DB4 802414B4 8E240080 */ lw $a0, 0x80($s1) +/* EA1DB8 802414B8 0C0394C1 */ jal func_800E5304 +/* EA1DBC 802414BC 27A70028 */ addiu $a3, $sp, 0x28 +/* EA1DC0 802414C0 1040001F */ beqz $v0, .L80241540 +/* EA1DC4 802414C4 00000000 */ nop +/* EA1DC8 802414C8 8FA60020 */ lw $a2, 0x20($sp) +/* EA1DCC 802414CC 8EA20000 */ lw $v0, ($s5) +/* EA1DD0 802414D0 8FA70028 */ lw $a3, 0x28($sp) +/* EA1DD4 802414D4 C44C0028 */ lwc1 $f12, 0x28($v0) +/* EA1DD8 802414D8 0C00AC71 */ jal func_8002B1C4 +/* EA1DDC 802414DC C44E0030 */ lwc1 $f14, 0x30($v0) +/* EA1DE0 802414E0 46000506 */ mov.s $f20, $f0 +/* EA1DE4 802414E4 8EA30000 */ lw $v1, ($s5) +/* EA1DE8 802414E8 862200A6 */ lh $v0, 0xa6($s1) +/* EA1DEC 802414EC 4407C000 */ mfc1 $a3, $f24 +/* EA1DF0 802414F0 44824000 */ mtc1 $v0, $f8 +/* EA1DF4 802414F4 00000000 */ nop +/* EA1DF8 802414F8 46804220 */ cvt.s.w $f8, $f8 +/* EA1DFC 802414FC C4600028 */ lwc1 $f0, 0x28($v1) +/* EA1E00 80241500 44064000 */ mfc1 $a2, $f8 +/* EA1E04 80241504 0200202D */ daddu $a0, $s0, $zero +/* EA1E08 80241508 E6200038 */ swc1 $f0, 0x38($s1) +/* EA1E0C 8024150C C4600030 */ lwc1 $f0, 0x30($v1) +/* EA1E10 80241510 0260282D */ daddu $a1, $s3, $zero +/* EA1E14 80241514 0C00ACA3 */ jal func_8002B28C +/* EA1E18 80241518 E6200040 */ swc1 $f0, 0x40($s1) +/* EA1E1C 8024151C 862200A6 */ lh $v0, 0xa6($s1) +/* EA1E20 80241520 44820000 */ mtc1 $v0, $f0 +/* EA1E24 80241524 00000000 */ nop +/* EA1E28 80241528 46800020 */ cvt.s.w $f0, $f0 +/* EA1E2C 8024152C 4600A500 */ add.s $f20, $f20, $f0 +.L80241530: +/* EA1E30 80241530 4406B000 */ mfc1 $a2, $f22 +/* EA1E34 80241534 4405A000 */ mfc1 $a1, $f20 +/* EA1E38 80241538 0C00F909 */ jal func_8003E424 +/* EA1E3C 8024153C 0220202D */ daddu $a0, $s1, $zero +.L80241540: +/* EA1E40 80241540 C6400008 */ lwc1 $f0, 8($s2) +/* EA1E44 80241544 46800020 */ cvt.s.w $f0, $f0 +/* EA1E48 80241548 44050000 */ mfc1 $a1, $f0 +/* EA1E4C 8024154C C640000C */ lwc1 $f0, 0xc($s2) +/* EA1E50 80241550 46800020 */ cvt.s.w $f0, $f0 +/* EA1E54 80241554 44060000 */ mfc1 $a2, $f0 +/* EA1E58 80241558 C6200040 */ lwc1 $f0, 0x40($s1) +/* EA1E5C 8024155C 26300038 */ addiu $s0, $s1, 0x38 +/* EA1E60 80241560 E7A00010 */ swc1 $f0, 0x10($sp) +/* EA1E64 80241564 C6400010 */ lwc1 $f0, 0x10($s2) +/* EA1E68 80241568 46800020 */ cvt.s.w $f0, $f0 +/* EA1E6C 8024156C E7A00014 */ swc1 $f0, 0x14($sp) +/* EA1E70 80241570 C6400014 */ lwc1 $f0, 0x14($s2) +/* EA1E74 80241574 46800020 */ cvt.s.w $f0, $f0 +/* EA1E78 80241578 E7A00018 */ swc1 $f0, 0x18($sp) +/* EA1E7C 8024157C 8E440004 */ lw $a0, 4($s2) +/* EA1E80 80241580 8E270038 */ lw $a3, 0x38($s1) +/* EA1E84 80241584 0C013431 */ jal func_8004D0C4 +/* EA1E88 80241588 26330040 */ addiu $s3, $s1, 0x40 +/* EA1E8C 8024158C 1040005A */ beqz $v0, .L802416F8 +/* EA1E90 80241590 00000000 */ nop +/* EA1E94 80241594 8E430004 */ lw $v1, 4($s2) +/* EA1E98 80241598 10600005 */ beqz $v1, .L802415B0 +/* EA1E9C 8024159C 24020001 */ addiu $v0, $zero, 1 +/* EA1EA0 802415A0 10620029 */ beq $v1, $v0, .L80241648 +/* EA1EA4 802415A4 00000000 */ nop +/* EA1EA8 802415A8 080905BE */ j .L802416F8 +/* EA1EAC 802415AC 00000000 */ nop +.L802415B0: +/* EA1EB0 802415B0 C6480008 */ lwc1 $f8, 8($s2) +/* EA1EB4 802415B4 46804220 */ cvt.s.w $f8, $f8 +/* EA1EB8 802415B8 44064000 */ mfc1 $a2, $f8 +/* EA1EBC 802415BC C648000C */ lwc1 $f8, 0xc($s2) +/* EA1EC0 802415C0 46804220 */ cvt.s.w $f8, $f8 +/* EA1EC4 802415C4 C62C0038 */ lwc1 $f12, 0x38($s1) +/* EA1EC8 802415C8 C62E0040 */ lwc1 $f14, 0x40($s1) +/* EA1ECC 802415CC 44074000 */ mfc1 $a3, $f8 +/* EA1ED0 802415D0 0C00AC71 */ jal func_8002B1C4 +/* EA1ED4 802415D4 00000000 */ nop +/* EA1ED8 802415D8 C6420010 */ lwc1 $f2, 0x10($s2) +/* EA1EDC 802415DC 468010A0 */ cvt.s.w $f2, $f2 +/* EA1EE0 802415E0 4600103C */ c.lt.s $f2, $f0 +/* EA1EE4 802415E4 00000000 */ nop +/* EA1EE8 802415E8 45000043 */ bc1f .L802416F8 +/* EA1EEC 802415EC E7A00038 */ swc1 $f0, 0x38($sp) +/* EA1EF0 802415F0 C64C0008 */ lwc1 $f12, 8($s2) +/* EA1EF4 802415F4 46806320 */ cvt.s.w $f12, $f12 +/* EA1EF8 802415F8 8E260038 */ lw $a2, 0x38($s1) +/* EA1EFC 802415FC 8E270040 */ lw $a3, 0x40($s1) +/* EA1F00 80241600 C64E000C */ lwc1 $f14, 0xc($s2) +/* EA1F04 80241604 0C00ABDC */ jal fio_validate_header_checksums +/* EA1F08 80241608 468073A0 */ cvt.s.w $f14, $f14 +/* EA1F0C 8024160C 0200202D */ daddu $a0, $s0, $zero +/* EA1F10 80241610 44070000 */ mfc1 $a3, $f0 +/* EA1F14 80241614 C6400008 */ lwc1 $f0, 8($s2) +/* EA1F18 80241618 46800020 */ cvt.s.w $f0, $f0 +/* EA1F1C 8024161C E6200038 */ swc1 $f0, 0x38($s1) +/* EA1F20 80241620 C640000C */ lwc1 $f0, 0xc($s2) +/* EA1F24 80241624 46800020 */ cvt.s.w $f0, $f0 +/* EA1F28 80241628 E6200040 */ swc1 $f0, 0x40($s1) +/* EA1F2C 8024162C C6480010 */ lwc1 $f8, 0x10($s2) +/* EA1F30 80241630 46804220 */ cvt.s.w $f8, $f8 +/* EA1F34 80241634 44064000 */ mfc1 $a2, $f8 +/* EA1F38 80241638 0C00ACA3 */ jal func_8002B28C +/* EA1F3C 8024163C 0260282D */ daddu $a1, $s3, $zero +/* EA1F40 80241640 080905BE */ j .L802416F8 +/* EA1F44 80241644 00000000 */ nop +.L80241648: +/* EA1F48 80241648 8E420008 */ lw $v0, 8($s2) +/* EA1F4C 8024164C 8E430010 */ lw $v1, 0x10($s2) +/* EA1F50 80241650 C6200038 */ lwc1 $f0, 0x38($s1) +/* EA1F54 80241654 00431021 */ addu $v0, $v0, $v1 +/* EA1F58 80241658 44821000 */ mtc1 $v0, $f2 +/* EA1F5C 8024165C 00000000 */ nop +/* EA1F60 80241660 468010A0 */ cvt.s.w $f2, $f2 +/* EA1F64 80241664 4600103C */ c.lt.s $f2, $f0 +/* EA1F68 80241668 00000000 */ nop +/* EA1F6C 8024166C 45030001 */ bc1tl .L80241674 +/* EA1F70 80241670 E6220038 */ swc1 $f2, 0x38($s1) +.L80241674: +/* EA1F74 80241674 8E420008 */ lw $v0, 8($s2) +/* EA1F78 80241678 8E430010 */ lw $v1, 0x10($s2) +/* EA1F7C 8024167C C6200038 */ lwc1 $f0, 0x38($s1) +/* EA1F80 80241680 00431023 */ subu $v0, $v0, $v1 +/* EA1F84 80241684 44821000 */ mtc1 $v0, $f2 +/* EA1F88 80241688 00000000 */ nop +/* EA1F8C 8024168C 468010A0 */ cvt.s.w $f2, $f2 +/* EA1F90 80241690 4602003C */ c.lt.s $f0, $f2 +/* EA1F94 80241694 00000000 */ nop +/* EA1F98 80241698 45030001 */ bc1tl .L802416A0 +/* EA1F9C 8024169C E6220038 */ swc1 $f2, 0x38($s1) +.L802416A0: +/* EA1FA0 802416A0 8E42000C */ lw $v0, 0xc($s2) +/* EA1FA4 802416A4 8E430014 */ lw $v1, 0x14($s2) +/* EA1FA8 802416A8 C6200040 */ lwc1 $f0, 0x40($s1) +/* EA1FAC 802416AC 00431021 */ addu $v0, $v0, $v1 +/* EA1FB0 802416B0 44821000 */ mtc1 $v0, $f2 +/* EA1FB4 802416B4 00000000 */ nop +/* EA1FB8 802416B8 468010A0 */ cvt.s.w $f2, $f2 +/* EA1FBC 802416BC 4600103C */ c.lt.s $f2, $f0 +/* EA1FC0 802416C0 00000000 */ nop +/* EA1FC4 802416C4 45030001 */ bc1tl .L802416CC +/* EA1FC8 802416C8 E6220040 */ swc1 $f2, 0x40($s1) +.L802416CC: +/* EA1FCC 802416CC 8E42000C */ lw $v0, 0xc($s2) +/* EA1FD0 802416D0 8E430014 */ lw $v1, 0x14($s2) +/* EA1FD4 802416D4 C6200040 */ lwc1 $f0, 0x40($s1) +/* EA1FD8 802416D8 00431023 */ subu $v0, $v0, $v1 +/* EA1FDC 802416DC 44821000 */ mtc1 $v0, $f2 +/* EA1FE0 802416E0 00000000 */ nop +/* EA1FE4 802416E4 468010A0 */ cvt.s.w $f2, $f2 +/* EA1FE8 802416E8 4602003C */ c.lt.s $f0, $f2 +/* EA1FEC 802416EC 00000000 */ nop +/* EA1FF0 802416F0 45030001 */ bc1tl .L802416F8 +/* EA1FF4 802416F4 E6220040 */ swc1 $f2, 0x40($s1) +.L802416F8: +/* EA1FF8 802416F8 16E0001F */ bnez $s7, .L80241778 +/* EA1FFC 802416FC 00000000 */ nop +/* EA2000 80241700 8E220000 */ lw $v0, ($s1) +/* EA2004 80241704 30420008 */ andi $v0, $v0, 8 +/* EA2008 80241708 10400003 */ beqz $v0, .L80241718 +/* EA200C 8024170C 27A50020 */ addiu $a1, $sp, 0x20 +/* EA2010 80241710 13C00019 */ beqz $fp, .L80241778 +/* EA2014 80241714 00000000 */ nop +.L80241718: +/* EA2018 80241718 27A60024 */ addiu $a2, $sp, 0x24 +/* EA201C 8024171C 27A20038 */ addiu $v0, $sp, 0x38 +/* EA2020 80241720 C6220038 */ lwc1 $f2, 0x38($s1) +/* EA2024 80241724 C620003C */ lwc1 $f0, 0x3c($s1) +/* EA2028 80241728 3C0143C8 */ lui $at, 0x43c8 +/* EA202C 8024172C 44813000 */ mtc1 $at, $f6 +/* EA2030 80241730 46000021 */ cvt.d.s $f0, $f0 +/* EA2034 80241734 E7A20020 */ swc1 $f2, 0x20($sp) +/* EA2038 80241738 3C018024 */ lui $at, %hi(D_80246640) +/* EA203C 8024173C D4226640 */ ldc1 $f2, %lo(D_80246640)($at) +/* EA2040 80241740 C6240040 */ lwc1 $f4, 0x40($s1) +/* EA2044 80241744 46220000 */ add.d $f0, $f0, $f2 +/* EA2048 80241748 E7A60038 */ swc1 $f6, 0x38($sp) +/* EA204C 8024174C E7A40028 */ swc1 $f4, 0x28($sp) +/* EA2050 80241750 46200020 */ cvt.s.d $f0, $f0 +/* EA2054 80241754 E7A00024 */ swc1 $f0, 0x24($sp) +/* EA2058 80241758 AFA20010 */ sw $v0, 0x10($sp) +/* EA205C 8024175C 8E240080 */ lw $a0, 0x80($s1) +/* EA2060 80241760 0C03908F */ jal func_800E423C +/* EA2064 80241764 27A70028 */ addiu $a3, $sp, 0x28 +/* EA2068 80241768 10400003 */ beqz $v0, .L80241778 +/* EA206C 8024176C 00000000 */ nop +/* EA2070 80241770 C7A00024 */ lwc1 $f0, 0x24($sp) +/* EA2074 80241774 E620003C */ swc1 $f0, 0x3c($s1) +.L80241778: +/* EA2078 80241778 C62C0038 */ lwc1 $f12, 0x38($s1) +/* EA207C 8024177C 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EA2080 80241780 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EA2084 80241784 C62E0040 */ lwc1 $f14, 0x40($s1) +/* EA2088 80241788 8C460028 */ lw $a2, 0x28($v0) +/* EA208C 8024178C 0C00ABDC */ jal fio_validate_header_checksums +/* EA2090 80241790 8C470030 */ lw $a3, 0x30($v0) +/* EA2094 80241794 0220202D */ daddu $a0, $s1, $zero +/* EA2098 80241798 24050321 */ addiu $a1, $zero, 0x321 +/* EA209C 8024179C 0000302D */ daddu $a2, $zero, $zero +/* EA20A0 802417A0 0C013600 */ jal func_8004D800 +/* EA20A4 802417A4 E620000C */ swc1 $f0, 0xc($s1) +/* EA20A8 802417A8 8EC200CC */ lw $v0, 0xcc($s6) +/* EA20AC 802417AC 8C420024 */ lw $v0, 0x24($v0) +/* EA20B0 802417B0 AE220028 */ sw $v0, 0x28($s1) +/* EA20B4 802417B4 96C20096 */ lhu $v0, 0x96($s6) +/* EA20B8 802417B8 A622008E */ sh $v0, 0x8e($s1) +/* EA20BC 802417BC 8FA80080 */ lw $t0, 0x80($sp) +/* EA20C0 802417C0 2402000B */ addiu $v0, $zero, 0xb +/* EA20C4 802417C4 AD020070 */ sw $v0, 0x70($t0) +.L802417C8: +/* EA20C8 802417C8 8FBF0064 */ lw $ra, 0x64($sp) +/* EA20CC 802417CC 8FBE0060 */ lw $fp, 0x60($sp) +/* EA20D0 802417D0 8FB7005C */ lw $s7, 0x5c($sp) +/* EA20D4 802417D4 8FB60058 */ lw $s6, 0x58($sp) +/* EA20D8 802417D8 8FB50054 */ lw $s5, 0x54($sp) +/* EA20DC 802417DC 8FB40050 */ lw $s4, 0x50($sp) +/* EA20E0 802417E0 8FB3004C */ lw $s3, 0x4c($sp) +/* EA20E4 802417E4 8FB20048 */ lw $s2, 0x48($sp) +/* EA20E8 802417E8 8FB10044 */ lw $s1, 0x44($sp) +/* EA20EC 802417EC 8FB00040 */ lw $s0, 0x40($sp) +/* EA20F0 802417F0 D7B80078 */ ldc1 $f24, 0x78($sp) +/* EA20F4 802417F4 D7B60070 */ ldc1 $f22, 0x70($sp) +/* EA20F8 802417F8 D7B40068 */ ldc1 $f20, 0x68($sp) +/* EA20FC 802417FC 03E00008 */ jr $ra +/* EA2100 80241800 27BD0080 */ addiu $sp, $sp, 0x80 diff --git a/asm/nonmatchings/code_EA0C10/func_80241804_EA2104.s b/asm/nonmatchings/code_EA0C10/func_80241804_EA2104.s new file mode 100644 index 0000000000..6a51f13591 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80241804_EA2104.s @@ -0,0 +1,42 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241804_EA2104 +/* EA2104 80241804 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA2108 80241808 AFB10014 */ sw $s1, 0x14($sp) +/* EA210C 8024180C 0080882D */ daddu $s1, $a0, $zero +/* EA2110 80241810 AFBF0018 */ sw $ra, 0x18($sp) +/* EA2114 80241814 AFB00010 */ sw $s0, 0x10($sp) +/* EA2118 80241818 8E300148 */ lw $s0, 0x148($s1) +/* EA211C 8024181C 0C00F92F */ jal func_8003E4BC +/* EA2120 80241820 86040008 */ lh $a0, 8($s0) +/* EA2124 80241824 0040202D */ daddu $a0, $v0, $zero +/* EA2128 80241828 9482008E */ lhu $v0, 0x8e($a0) +/* EA212C 8024182C 2442FFFF */ addiu $v0, $v0, -1 +/* EA2130 80241830 A482008E */ sh $v0, 0x8e($a0) +/* EA2134 80241834 00021400 */ sll $v0, $v0, 0x10 +/* EA2138 80241838 8E030098 */ lw $v1, 0x98($s0) +/* EA213C 8024183C 00021403 */ sra $v0, $v0, 0x10 +/* EA2140 80241840 0062182A */ slt $v1, $v1, $v0 +/* EA2144 80241844 14600005 */ bnez $v1, .L8024185C +/* EA2148 80241848 3C03E0EF */ lui $v1, 0xe0ef +/* EA214C 8024184C 8E020000 */ lw $v0, ($s0) +/* EA2150 80241850 3463FFFF */ ori $v1, $v1, 0xffff +/* EA2154 80241854 00431024 */ and $v0, $v0, $v1 +/* EA2158 80241858 AE020000 */ sw $v0, ($s0) +.L8024185C: +/* EA215C 8024185C 8482008E */ lh $v0, 0x8e($a0) +/* EA2160 80241860 14400007 */ bnez $v0, .L80241880 +/* EA2164 80241864 00000000 */ nop +/* EA2168 80241868 8E0200CC */ lw $v0, 0xcc($s0) +/* EA216C 8024186C 8C420028 */ lw $v0, 0x28($v0) +/* EA2170 80241870 A480008E */ sh $zero, 0x8e($a0) +/* EA2174 80241874 AC820028 */ sw $v0, 0x28($a0) +/* EA2178 80241878 2402000C */ addiu $v0, $zero, 0xc +/* EA217C 8024187C AE220070 */ sw $v0, 0x70($s1) +.L80241880: +/* EA2180 80241880 8FBF0018 */ lw $ra, 0x18($sp) +/* EA2184 80241884 8FB10014 */ lw $s1, 0x14($sp) +/* EA2188 80241888 8FB00010 */ lw $s0, 0x10($sp) +/* EA218C 8024188C 03E00008 */ jr $ra +/* EA2190 80241890 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_80241894_EA2194.s b/asm/nonmatchings/code_EA0C10/func_80241894_EA2194.s new file mode 100644 index 0000000000..529670ecbf --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80241894_EA2194.s @@ -0,0 +1,71 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241894_EA2194 +/* EA2194 80241894 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* EA2198 80241898 AFB10034 */ sw $s1, 0x34($sp) +/* EA219C 8024189C 0080882D */ daddu $s1, $a0, $zero +/* EA21A0 802418A0 AFBF0038 */ sw $ra, 0x38($sp) +/* EA21A4 802418A4 AFB00030 */ sw $s0, 0x30($sp) +/* EA21A8 802418A8 8E300148 */ lw $s0, 0x148($s1) +/* EA21AC 802418AC 0C00F92F */ jal func_8003E4BC +/* EA21B0 802418B0 86040008 */ lh $a0, 8($s0) +/* EA21B4 802418B4 0040282D */ daddu $a1, $v0, $zero +/* EA21B8 802418B8 94A2008E */ lhu $v0, 0x8e($a1) +/* EA21BC 802418BC 24420001 */ addiu $v0, $v0, 1 +/* EA21C0 802418C0 A4A2008E */ sh $v0, 0x8e($a1) +/* EA21C4 802418C4 00021400 */ sll $v0, $v0, 0x10 +/* EA21C8 802418C8 8E0300A0 */ lw $v1, 0xa0($s0) +/* EA21CC 802418CC 00021403 */ sra $v0, $v0, 0x10 +/* EA21D0 802418D0 14430004 */ bne $v0, $v1, .L802418E4 +/* EA21D4 802418D4 00000000 */ nop +/* EA21D8 802418D8 8E0200CC */ lw $v0, 0xcc($s0) +/* EA21DC 802418DC 8C42002C */ lw $v0, 0x2c($v0) +/* EA21E0 802418E0 ACA20028 */ sw $v0, 0x28($a1) +.L802418E4: +/* EA21E4 802418E4 84A3008E */ lh $v1, 0x8e($a1) +/* EA21E8 802418E8 8E0200A4 */ lw $v0, 0xa4($s0) +/* EA21EC 802418EC 14620002 */ bne $v1, $v0, .L802418F8 +/* EA21F0 802418F0 24020003 */ addiu $v0, $zero, 3 +/* EA21F4 802418F4 AE02006C */ sw $v0, 0x6c($s0) +.L802418F8: +/* EA21F8 802418F8 84A2008E */ lh $v0, 0x8e($a1) +/* EA21FC 802418FC 8E03009C */ lw $v1, 0x9c($s0) +/* EA2200 80241900 0043102A */ slt $v0, $v0, $v1 +/* EA2204 80241904 1440001E */ bnez $v0, .L80241980 +/* EA2208 80241908 24020004 */ addiu $v0, $zero, 4 +/* EA220C 8024190C AE02006C */ sw $v0, 0x6c($s0) +/* EA2210 80241910 24020008 */ addiu $v0, $zero, 8 +/* EA2214 80241914 24040003 */ addiu $a0, $zero, 3 +/* EA2218 80241918 A4A2008E */ sh $v0, 0x8e($a1) +/* EA221C 8024191C 8E0200CC */ lw $v0, 0xcc($s0) +/* EA2220 80241920 84A300A8 */ lh $v1, 0xa8($a1) +/* EA2224 80241924 3C013F80 */ lui $at, 0x3f80 +/* EA2228 80241928 44810000 */ mtc1 $at, $f0 +/* EA222C 8024192C 3C014000 */ lui $at, 0x4000 +/* EA2230 80241930 44811000 */ mtc1 $at, $f2 +/* EA2234 80241934 3C01C1A0 */ lui $at, 0xc1a0 +/* EA2238 80241938 44812000 */ mtc1 $at, $f4 +/* EA223C 8024193C 44833000 */ mtc1 $v1, $f6 +/* EA2240 80241940 00000000 */ nop +/* EA2244 80241944 468031A0 */ cvt.s.w $f6, $f6 +/* EA2248 80241948 8C420000 */ lw $v0, ($v0) +/* EA224C 8024194C 44073000 */ mfc1 $a3, $f6 +/* EA2250 80241950 0000302D */ daddu $a2, $zero, $zero +/* EA2254 80241954 ACA20028 */ sw $v0, 0x28($a1) +/* EA2258 80241958 2402000A */ addiu $v0, $zero, 0xa +/* EA225C 8024195C AFA2001C */ sw $v0, 0x1c($sp) +/* EA2260 80241960 27A20028 */ addiu $v0, $sp, 0x28 +/* EA2264 80241964 E7A00010 */ swc1 $f0, 0x10($sp) +/* EA2268 80241968 E7A20014 */ swc1 $f2, 0x14($sp) +/* EA226C 8024196C E7A40018 */ swc1 $f4, 0x18($sp) +/* EA2270 80241970 0C01D444 */ jal func_80075110 +/* EA2274 80241974 AFA20020 */ sw $v0, 0x20($sp) +/* EA2278 80241978 2402000D */ addiu $v0, $zero, 0xd +/* EA227C 8024197C AE220070 */ sw $v0, 0x70($s1) +.L80241980: +/* EA2280 80241980 8FBF0038 */ lw $ra, 0x38($sp) +/* EA2284 80241984 8FB10034 */ lw $s1, 0x34($sp) +/* EA2288 80241988 8FB00030 */ lw $s0, 0x30($sp) +/* EA228C 8024198C 03E00008 */ jr $ra +/* EA2290 80241990 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/asm/nonmatchings/code_EA0C10/func_80241994_EA2294.s b/asm/nonmatchings/code_EA0C10/func_80241994_EA2294.s new file mode 100644 index 0000000000..1b03b8d1a0 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80241994_EA2294.s @@ -0,0 +1,29 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241994_EA2294 +/* EA2294 80241994 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA2298 80241998 AFB10014 */ sw $s1, 0x14($sp) +/* EA229C 8024199C 0080882D */ daddu $s1, $a0, $zero +/* EA22A0 802419A0 AFBF0018 */ sw $ra, 0x18($sp) +/* EA22A4 802419A4 AFB00010 */ sw $s0, 0x10($sp) +/* EA22A8 802419A8 8E300148 */ lw $s0, 0x148($s1) +/* EA22AC 802419AC 0C00F92F */ jal func_8003E4BC +/* EA22B0 802419B0 86040008 */ lh $a0, 8($s0) +/* EA22B4 802419B4 0040182D */ daddu $v1, $v0, $zero +/* EA22B8 802419B8 9462008E */ lhu $v0, 0x8e($v1) +/* EA22BC 802419BC 2442FFFF */ addiu $v0, $v0, -1 +/* EA22C0 802419C0 A462008E */ sh $v0, 0x8e($v1) +/* EA22C4 802419C4 00021400 */ sll $v0, $v0, 0x10 +/* EA22C8 802419C8 14400005 */ bnez $v0, .L802419E0 +/* EA22CC 802419CC 00000000 */ nop +/* EA22D0 802419D0 960200AA */ lhu $v0, 0xaa($s0) +/* EA22D4 802419D4 A462008E */ sh $v0, 0x8e($v1) +/* EA22D8 802419D8 2402000E */ addiu $v0, $zero, 0xe +/* EA22DC 802419DC AE220070 */ sw $v0, 0x70($s1) +.L802419E0: +/* EA22E0 802419E0 8FBF0018 */ lw $ra, 0x18($sp) +/* EA22E4 802419E4 8FB10014 */ lw $s1, 0x14($sp) +/* EA22E8 802419E8 8FB00010 */ lw $s0, 0x10($sp) +/* EA22EC 802419EC 03E00008 */ jr $ra +/* EA22F0 802419F0 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_802419F4_EA22F4.s b/asm/nonmatchings/code_EA0C10/func_802419F4_EA22F4.s new file mode 100644 index 0000000000..eb450ae738 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_802419F4_EA22F4.s @@ -0,0 +1,65 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802419F4_EA22F4 +/* EA22F4 802419F4 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EA22F8 802419F8 AFB40040 */ sw $s4, 0x40($sp) +/* EA22FC 802419FC 0080A02D */ daddu $s4, $a0, $zero +/* EA2300 80241A00 AFBF0044 */ sw $ra, 0x44($sp) +/* EA2304 80241A04 AFB3003C */ sw $s3, 0x3c($sp) +/* EA2308 80241A08 AFB20038 */ sw $s2, 0x38($sp) +/* EA230C 80241A0C AFB10034 */ sw $s1, 0x34($sp) +/* EA2310 80241A10 AFB00030 */ sw $s0, 0x30($sp) +/* EA2314 80241A14 8E910148 */ lw $s1, 0x148($s4) +/* EA2318 80241A18 00A0902D */ daddu $s2, $a1, $zero +/* EA231C 80241A1C 86240008 */ lh $a0, 8($s1) +/* EA2320 80241A20 0C00F92F */ jal func_8003E4BC +/* EA2324 80241A24 00C0982D */ daddu $s3, $a2, $zero +/* EA2328 80241A28 0040802D */ daddu $s0, $v0, $zero +/* EA232C 80241A2C 9602008E */ lhu $v0, 0x8e($s0) +/* EA2330 80241A30 2442FFFF */ addiu $v0, $v0, -1 +/* EA2334 80241A34 A602008E */ sh $v0, 0x8e($s0) +/* EA2338 80241A38 00021400 */ sll $v0, $v0, 0x10 +/* EA233C 80241A3C 14400020 */ bnez $v0, .L80241AC0 +/* EA2340 80241A40 0260202D */ daddu $a0, $s3, $zero +/* EA2344 80241A44 AFA00010 */ sw $zero, 0x10($sp) +/* EA2348 80241A48 8E46000C */ lw $a2, 0xc($s2) +/* EA234C 80241A4C 8E470010 */ lw $a3, 0x10($s2) +/* EA2350 80241A50 0C013469 */ jal func_8004D1A4 +/* EA2354 80241A54 0220282D */ daddu $a1, $s1, $zero +/* EA2358 80241A58 54400018 */ bnel $v0, $zero, .L80241ABC +/* EA235C 80241A5C A600008E */ sh $zero, 0x8e($s0) +/* EA2360 80241A60 24040002 */ addiu $a0, $zero, 2 +/* EA2364 80241A64 0200282D */ daddu $a1, $s0, $zero +/* EA2368 80241A68 0000302D */ daddu $a2, $zero, $zero +/* EA236C 80241A6C 860300A8 */ lh $v1, 0xa8($s0) +/* EA2370 80241A70 3C013F80 */ lui $at, 0x3f80 +/* EA2374 80241A74 44810000 */ mtc1 $at, $f0 +/* EA2378 80241A78 3C014000 */ lui $at, 0x4000 +/* EA237C 80241A7C 44811000 */ mtc1 $at, $f2 +/* EA2380 80241A80 3C01C1A0 */ lui $at, 0xc1a0 +/* EA2384 80241A84 44812000 */ mtc1 $at, $f4 +/* EA2388 80241A88 2402000F */ addiu $v0, $zero, 0xf +/* EA238C 80241A8C AFA2001C */ sw $v0, 0x1c($sp) +/* EA2390 80241A90 44833000 */ mtc1 $v1, $f6 +/* EA2394 80241A94 00000000 */ nop +/* EA2398 80241A98 468031A0 */ cvt.s.w $f6, $f6 +/* EA239C 80241A9C 44073000 */ mfc1 $a3, $f6 +/* EA23A0 80241AA0 27A20028 */ addiu $v0, $sp, 0x28 +/* EA23A4 80241AA4 AFA20020 */ sw $v0, 0x20($sp) +/* EA23A8 80241AA8 E7A00010 */ swc1 $f0, 0x10($sp) +/* EA23AC 80241AAC E7A20014 */ swc1 $f2, 0x14($sp) +/* EA23B0 80241AB0 0C01D444 */ jal func_80075110 +/* EA23B4 80241AB4 E7A40018 */ swc1 $f4, 0x18($sp) +/* EA23B8 80241AB8 A600008E */ sh $zero, 0x8e($s0) +.L80241ABC: +/* EA23BC 80241ABC AE800070 */ sw $zero, 0x70($s4) +.L80241AC0: +/* EA23C0 80241AC0 8FBF0044 */ lw $ra, 0x44($sp) +/* EA23C4 80241AC4 8FB40040 */ lw $s4, 0x40($sp) +/* EA23C8 80241AC8 8FB3003C */ lw $s3, 0x3c($sp) +/* EA23CC 80241ACC 8FB20038 */ lw $s2, 0x38($sp) +/* EA23D0 80241AD0 8FB10034 */ lw $s1, 0x34($sp) +/* EA23D4 80241AD4 8FB00030 */ lw $s0, 0x30($sp) +/* EA23D8 80241AD8 03E00008 */ jr $ra +/* EA23DC 80241ADC 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EA0C10/func_80241AE0_EA23E0.s b/asm/nonmatchings/code_EA0C10/func_80241AE0_EA23E0.s new file mode 100644 index 0000000000..57efd36da9 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80241AE0_EA23E0.s @@ -0,0 +1,180 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241AE0_EA23E0 +/* EA23E0 80241AE0 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EA23E4 80241AE4 AFB10034 */ sw $s1, 0x34($sp) +/* EA23E8 80241AE8 0080882D */ daddu $s1, $a0, $zero +/* EA23EC 80241AEC AFBF0048 */ sw $ra, 0x48($sp) +/* EA23F0 80241AF0 AFB50044 */ sw $s5, 0x44($sp) +/* EA23F4 80241AF4 AFB40040 */ sw $s4, 0x40($sp) +/* EA23F8 80241AF8 AFB3003C */ sw $s3, 0x3c($sp) +/* EA23FC 80241AFC AFB20038 */ sw $s2, 0x38($sp) +/* EA2400 80241B00 AFB00030 */ sw $s0, 0x30($sp) +/* EA2404 80241B04 8E300148 */ lw $s0, 0x148($s1) +/* EA2408 80241B08 86040008 */ lh $a0, 8($s0) +/* EA240C 80241B0C 0C00F92F */ jal func_8003E4BC +/* EA2410 80241B10 00A0A82D */ daddu $s5, $a1, $zero +/* EA2414 80241B14 8E23000C */ lw $v1, 0xc($s1) +/* EA2418 80241B18 0220202D */ daddu $a0, $s1, $zero +/* EA241C 80241B1C 8C650000 */ lw $a1, ($v1) +/* EA2420 80241B20 0C0B53A3 */ jal func_802D4E8C +/* EA2424 80241B24 0040A02D */ daddu $s4, $v0, $zero +/* EA2428 80241B28 AFA00010 */ sw $zero, 0x10($sp) +/* EA242C 80241B2C 8E0300D0 */ lw $v1, 0xd0($s0) +/* EA2430 80241B30 8C630030 */ lw $v1, 0x30($v1) +/* EA2434 80241B34 AFA30014 */ sw $v1, 0x14($sp) +/* EA2438 80241B38 8E0300D0 */ lw $v1, 0xd0($s0) +/* EA243C 80241B3C 8C63001C */ lw $v1, 0x1c($v1) +/* EA2440 80241B40 AFA30018 */ sw $v1, 0x18($sp) +/* EA2444 80241B44 8E0300D0 */ lw $v1, 0xd0($s0) +/* EA2448 80241B48 8C630024 */ lw $v1, 0x24($v1) +/* EA244C 80241B4C AFA3001C */ sw $v1, 0x1c($sp) +/* EA2450 80241B50 8E0300D0 */ lw $v1, 0xd0($s0) +/* EA2454 80241B54 8C630028 */ lw $v1, 0x28($v1) +/* EA2458 80241B58 0200202D */ daddu $a0, $s0, $zero +/* EA245C 80241B5C AFA30020 */ sw $v1, 0x20($sp) +/* EA2460 80241B60 8E0300D0 */ lw $v1, 0xd0($s0) +/* EA2464 80241B64 3C014348 */ lui $at, 0x4348 +/* EA2468 80241B68 44810000 */ mtc1 $at, $f0 +/* EA246C 80241B6C 8C63002C */ lw $v1, 0x2c($v1) +/* EA2470 80241B70 0040902D */ daddu $s2, $v0, $zero +/* EA2474 80241B74 E7A00028 */ swc1 $f0, 0x28($sp) +/* EA2478 80241B78 A7A0002C */ sh $zero, 0x2c($sp) +/* EA247C 80241B7C 0C013638 */ jal func_8004D8E0 +/* EA2480 80241B80 AFA30024 */ sw $v1, 0x24($sp) +/* EA2484 80241B84 8E020000 */ lw $v0, ($s0) +/* EA2488 80241B88 3C030010 */ lui $v1, 0x10 +/* EA248C 80241B8C 00431024 */ and $v0, $v0, $v1 +/* EA2490 80241B90 10400008 */ beqz $v0, .L80241BB4 +/* EA2494 80241B94 27B30010 */ addiu $s3, $sp, 0x10 +/* EA2498 80241B98 3C014120 */ lui $at, 0x4120 +/* EA249C 80241B9C 44810000 */ mtc1 $at, $f0 +/* EA24A0 80241BA0 3C013F33 */ lui $at, 0x3f33 +/* EA24A4 80241BA4 34213333 */ ori $at, $at, 0x3333 +/* EA24A8 80241BA8 44811000 */ mtc1 $at, $f2 +/* EA24AC 80241BAC E6000114 */ swc1 $f0, 0x114($s0) +/* EA24B0 80241BB0 E6020118 */ swc1 $f2, 0x118($s0) +.L80241BB4: +/* EA24B4 80241BB4 56A00006 */ bnel $s5, $zero, .L80241BD0 +/* EA24B8 80241BB8 AE200070 */ sw $zero, 0x70($s1) +/* EA24BC 80241BBC 8E0200B0 */ lw $v0, 0xb0($s0) +/* EA24C0 80241BC0 30420004 */ andi $v0, $v0, 4 +/* EA24C4 80241BC4 10400011 */ beqz $v0, .L80241C0C +/* EA24C8 80241BC8 00000000 */ nop +/* EA24CC 80241BCC AE200070 */ sw $zero, 0x70($s1) +.L80241BD0: +/* EA24D0 80241BD0 A680008E */ sh $zero, 0x8e($s4) +/* EA24D4 80241BD4 8E0200CC */ lw $v0, 0xcc($s0) +/* EA24D8 80241BD8 8C420000 */ lw $v0, ($v0) +/* EA24DC 80241BDC AE820028 */ sw $v0, 0x28($s4) +/* EA24E0 80241BE0 8E0200B0 */ lw $v0, 0xb0($s0) +/* EA24E4 80241BE4 30420004 */ andi $v0, $v0, 4 +/* EA24E8 80241BE8 10400008 */ beqz $v0, .L80241C0C +/* EA24EC 80241BEC AE00006C */ sw $zero, 0x6c($s0) +/* EA24F0 80241BF0 24020063 */ addiu $v0, $zero, 0x63 +/* EA24F4 80241BF4 AE220070 */ sw $v0, 0x70($s1) +/* EA24F8 80241BF8 AE200074 */ sw $zero, 0x74($s1) +/* EA24FC 80241BFC 8E0200B0 */ lw $v0, 0xb0($s0) +/* EA2500 80241C00 2403FFFB */ addiu $v1, $zero, -5 +/* EA2504 80241C04 00431024 */ and $v0, $v0, $v1 +/* EA2508 80241C08 AE0200B0 */ sw $v0, 0xb0($s0) +.L80241C0C: +/* EA250C 80241C0C 8E230070 */ lw $v1, 0x70($s1) +/* EA2510 80241C10 2410000B */ addiu $s0, $zero, 0xb +/* EA2514 80241C14 1070002A */ beq $v1, $s0, .L80241CC0 +/* EA2518 80241C18 2862000C */ slti $v0, $v1, 0xc +/* EA251C 80241C1C 1040000D */ beqz $v0, .L80241C54 +/* EA2520 80241C20 24020001 */ addiu $v0, $zero, 1 +/* EA2524 80241C24 1062001A */ beq $v1, $v0, .L80241C90 +/* EA2528 80241C28 28620002 */ slti $v0, $v1, 2 +/* EA252C 80241C2C 10400005 */ beqz $v0, .L80241C44 +/* EA2530 80241C30 2402000A */ addiu $v0, $zero, 0xa +/* EA2534 80241C34 10600013 */ beqz $v1, .L80241C84 +/* EA2538 80241C38 0220202D */ daddu $a0, $s1, $zero +/* EA253C 80241C3C 08090750 */ j .L80241D40 +/* EA2540 80241C40 00000000 */ nop +.L80241C44: +/* EA2544 80241C44 10620018 */ beq $v1, $v0, .L80241CA8 +/* EA2548 80241C48 0220202D */ daddu $a0, $s1, $zero +/* EA254C 80241C4C 08090750 */ j .L80241D40 +/* EA2550 80241C50 00000000 */ nop +.L80241C54: +/* EA2554 80241C54 2402000D */ addiu $v0, $zero, 0xd +/* EA2558 80241C58 10620029 */ beq $v1, $v0, .L80241D00 +/* EA255C 80241C5C 0062102A */ slt $v0, $v1, $v0 +/* EA2560 80241C60 14400020 */ bnez $v0, .L80241CE4 +/* EA2564 80241C64 0220202D */ daddu $a0, $s1, $zero +/* EA2568 80241C68 2402000E */ addiu $v0, $zero, 0xe +/* EA256C 80241C6C 1062002D */ beq $v1, $v0, .L80241D24 +/* EA2570 80241C70 24020063 */ addiu $v0, $zero, 0x63 +/* EA2574 80241C74 10620030 */ beq $v1, $v0, .L80241D38 +/* EA2578 80241C78 00000000 */ nop +/* EA257C 80241C7C 08090750 */ j .L80241D40 +/* EA2580 80241C80 00000000 */ nop +.L80241C84: +/* EA2584 80241C84 0240282D */ daddu $a1, $s2, $zero +/* EA2588 80241C88 0C090317 */ jal func_80240C5C_EA155C +/* EA258C 80241C8C 0260302D */ daddu $a2, $s3, $zero +.L80241C90: +/* EA2590 80241C90 0220202D */ daddu $a0, $s1, $zero +/* EA2594 80241C94 0240282D */ daddu $a1, $s2, $zero +/* EA2598 80241C98 0C090332 */ jal func_80240CC8_EA15C8 +/* EA259C 80241C9C 0260302D */ daddu $a2, $s3, $zero +/* EA25A0 80241CA0 08090750 */ j .L80241D40 +/* EA25A4 80241CA4 00000000 */ nop +.L80241CA8: +/* EA25A8 80241CA8 0240282D */ daddu $a1, $s2, $zero +/* EA25AC 80241CAC 0C090371 */ jal func_80240DC4_EA16C4 +/* EA25B0 80241CB0 0260302D */ daddu $a2, $s3, $zero +/* EA25B4 80241CB4 8E220070 */ lw $v0, 0x70($s1) +/* EA25B8 80241CB8 14500021 */ bne $v0, $s0, .L80241D40 +/* EA25BC 80241CBC 00000000 */ nop +.L80241CC0: +/* EA25C0 80241CC0 0220202D */ daddu $a0, $s1, $zero +/* EA25C4 80241CC4 0240282D */ daddu $a1, $s2, $zero +/* EA25C8 80241CC8 0C090601 */ jal func_80241804_EA2104 +/* EA25CC 80241CCC 0260302D */ daddu $a2, $s3, $zero +/* EA25D0 80241CD0 8E230070 */ lw $v1, 0x70($s1) +/* EA25D4 80241CD4 2402000C */ addiu $v0, $zero, 0xc +/* EA25D8 80241CD8 14620019 */ bne $v1, $v0, .L80241D40 +/* EA25DC 80241CDC 00000000 */ nop +/* EA25E0 80241CE0 0220202D */ daddu $a0, $s1, $zero +.L80241CE4: +/* EA25E4 80241CE4 0240282D */ daddu $a1, $s2, $zero +/* EA25E8 80241CE8 0C090625 */ jal func_80241894_EA2194 +/* EA25EC 80241CEC 0260302D */ daddu $a2, $s3, $zero +/* EA25F0 80241CF0 8E230070 */ lw $v1, 0x70($s1) +/* EA25F4 80241CF4 2402000D */ addiu $v0, $zero, 0xd +/* EA25F8 80241CF8 14620011 */ bne $v1, $v0, .L80241D40 +/* EA25FC 80241CFC 00000000 */ nop +.L80241D00: +/* EA2600 80241D00 0220202D */ daddu $a0, $s1, $zero +/* EA2604 80241D04 0240282D */ daddu $a1, $s2, $zero +/* EA2608 80241D08 0C090665 */ jal func_80241994_EA2294 +/* EA260C 80241D0C 0260302D */ daddu $a2, $s3, $zero +/* EA2610 80241D10 8E230070 */ lw $v1, 0x70($s1) +/* EA2614 80241D14 2402000E */ addiu $v0, $zero, 0xe +/* EA2618 80241D18 14620009 */ bne $v1, $v0, .L80241D40 +/* EA261C 80241D1C 00000000 */ nop +/* EA2620 80241D20 0220202D */ daddu $a0, $s1, $zero +.L80241D24: +/* EA2624 80241D24 0240282D */ daddu $a1, $s2, $zero +/* EA2628 80241D28 0C09067D */ jal func_802419F4_EA22F4 +/* EA262C 80241D2C 0260302D */ daddu $a2, $s3, $zero +/* EA2630 80241D30 08090750 */ j .L80241D40 +/* EA2634 80241D34 00000000 */ nop +.L80241D38: +/* EA2638 80241D38 0C013AE3 */ jal func_8004EB8C +/* EA263C 80241D3C 0220202D */ daddu $a0, $s1, $zero +.L80241D40: +/* EA2640 80241D40 8FBF0048 */ lw $ra, 0x48($sp) +/* EA2644 80241D44 8FB50044 */ lw $s5, 0x44($sp) +/* EA2648 80241D48 8FB40040 */ lw $s4, 0x40($sp) +/* EA264C 80241D4C 8FB3003C */ lw $s3, 0x3c($sp) +/* EA2650 80241D50 8FB20038 */ lw $s2, 0x38($sp) +/* EA2654 80241D54 8FB10034 */ lw $s1, 0x34($sp) +/* EA2658 80241D58 8FB00030 */ lw $s0, 0x30($sp) +/* EA265C 80241D5C 0000102D */ daddu $v0, $zero, $zero +/* EA2660 80241D60 03E00008 */ jr $ra +/* EA2664 80241D64 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EA0C10/func_80241D68_EA2668.s b/asm/nonmatchings/code_EA0C10/func_80241D68_EA2668.s new file mode 100644 index 0000000000..2a169f5305 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80241D68_EA2668.s @@ -0,0 +1,35 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241D68_EA2668 +/* EA2668 80241D68 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA266C 80241D6C AFB20018 */ sw $s2, 0x18($sp) +/* EA2670 80241D70 0080902D */ daddu $s2, $a0, $zero +/* EA2674 80241D74 AFBF001C */ sw $ra, 0x1c($sp) +/* EA2678 80241D78 AFB10014 */ sw $s1, 0x14($sp) +/* EA267C 80241D7C AFB00010 */ sw $s0, 0x10($sp) +/* EA2680 80241D80 8E510148 */ lw $s1, 0x148($s2) +/* EA2684 80241D84 0C00F92F */ jal func_8003E4BC +/* EA2688 80241D88 86240008 */ lh $a0, 8($s1) +/* EA268C 80241D8C 0040802D */ daddu $s0, $v0, $zero +/* EA2690 80241D90 8E2300CC */ lw $v1, 0xcc($s1) +/* EA2694 80241D94 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EA2698 80241D98 8C630020 */ lw $v1, 0x20($v1) +/* EA269C 80241D9C AE030028 */ sw $v1, 0x28($s0) +/* EA26A0 80241DA0 96220076 */ lhu $v0, 0x76($s1) +/* EA26A4 80241DA4 A602008E */ sh $v0, 0x8e($s0) +/* EA26A8 80241DA8 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EA26AC 80241DAC 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EA26B0 80241DB0 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EA26B4 80241DB4 8C460028 */ lw $a2, 0x28($v0) +/* EA26B8 80241DB8 0C00ABDC */ jal fio_validate_header_checksums +/* EA26BC 80241DBC 8C470030 */ lw $a3, 0x30($v0) +/* EA26C0 80241DC0 2402000D */ addiu $v0, $zero, 0xd +/* EA26C4 80241DC4 E600000C */ swc1 $f0, 0xc($s0) +/* EA26C8 80241DC8 AE420070 */ sw $v0, 0x70($s2) +/* EA26CC 80241DCC 8FBF001C */ lw $ra, 0x1c($sp) +/* EA26D0 80241DD0 8FB20018 */ lw $s2, 0x18($sp) +/* EA26D4 80241DD4 8FB10014 */ lw $s1, 0x14($sp) +/* EA26D8 80241DD8 8FB00010 */ lw $s0, 0x10($sp) +/* EA26DC 80241DDC 03E00008 */ jr $ra +/* EA26E0 80241DE0 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_80241DE4_EA26E4.s b/asm/nonmatchings/code_EA0C10/func_80241DE4_EA26E4.s new file mode 100644 index 0000000000..502a85d895 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80241DE4_EA26E4.s @@ -0,0 +1,86 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241DE4_EA26E4 +/* EA26E4 80241DE4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EA26E8 80241DE8 AFB3001C */ sw $s3, 0x1c($sp) +/* EA26EC 80241DEC 0080982D */ daddu $s3, $a0, $zero +/* EA26F0 80241DF0 AFBF0020 */ sw $ra, 0x20($sp) +/* EA26F4 80241DF4 AFB20018 */ sw $s2, 0x18($sp) +/* EA26F8 80241DF8 AFB10014 */ sw $s1, 0x14($sp) +/* EA26FC 80241DFC AFB00010 */ sw $s0, 0x10($sp) +/* EA2700 80241E00 8E710148 */ lw $s1, 0x148($s3) +/* EA2704 80241E04 86240008 */ lh $a0, 8($s1) +/* EA2708 80241E08 0C00F92F */ jal func_8003E4BC +/* EA270C 80241E0C 00A0902D */ daddu $s2, $a1, $zero +/* EA2710 80241E10 0040802D */ daddu $s0, $v0, $zero +/* EA2714 80241E14 8602008E */ lh $v0, 0x8e($s0) +/* EA2718 80241E18 9603008E */ lhu $v1, 0x8e($s0) +/* EA271C 80241E1C 18400005 */ blez $v0, .L80241E34 +/* EA2720 80241E20 2462FFFF */ addiu $v0, $v1, -1 +/* EA2724 80241E24 A602008E */ sh $v0, 0x8e($s0) +/* EA2728 80241E28 00021400 */ sll $v0, $v0, 0x10 +/* EA272C 80241E2C 1C400033 */ bgtz $v0, .L80241EFC +/* EA2730 80241E30 00000000 */ nop +.L80241E34: +/* EA2734 80241E34 8602008C */ lh $v0, 0x8c($s0) +/* EA2738 80241E38 14400030 */ bnez $v0, .L80241EFC +/* EA273C 80241E3C 00000000 */ nop +/* EA2740 80241E40 8E2200CC */ lw $v0, 0xcc($s1) +/* EA2744 80241E44 8C420024 */ lw $v0, 0x24($v0) +/* EA2748 80241E48 AE020028 */ sw $v0, 0x28($s0) +/* EA274C 80241E4C C6400018 */ lwc1 $f0, 0x18($s2) +/* EA2750 80241E50 E6000018 */ swc1 $f0, 0x18($s0) +/* EA2754 80241E54 8E230088 */ lw $v1, 0x88($s1) +/* EA2758 80241E58 24020005 */ addiu $v0, $zero, 5 +/* EA275C 80241E5C 10620005 */ beq $v1, $v0, .L80241E74 +/* EA2760 80241E60 00000000 */ nop +/* EA2764 80241E64 10600003 */ beqz $v1, .L80241E74 +/* EA2768 80241E68 24020001 */ addiu $v0, $zero, 1 +/* EA276C 80241E6C 14620006 */ bne $v1, $v0, .L80241E88 +/* EA2770 80241E70 00000000 */ nop +.L80241E74: +/* EA2774 80241E74 8E220084 */ lw $v0, 0x84($s1) +/* EA2778 80241E78 00021FC2 */ srl $v1, $v0, 0x1f +/* EA277C 80241E7C 00431021 */ addu $v0, $v0, $v1 +/* EA2780 80241E80 00021043 */ sra $v0, $v0, 1 +/* EA2784 80241E84 A60200A8 */ sh $v0, 0xa8($s0) +.L80241E88: +/* EA2788 80241E88 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EA278C 80241E8C 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EA2790 80241E90 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EA2794 80241E94 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EA2798 80241E98 8C460028 */ lw $a2, 0x28($v0) +/* EA279C 80241E9C 0C00AC71 */ jal func_8002B1C4 +/* EA27A0 80241EA0 8C470030 */ lw $a3, 0x30($v0) +/* EA27A4 80241EA4 C6020018 */ lwc1 $f2, 0x18($s0) +/* EA27A8 80241EA8 46020003 */ div.s $f0, $f0, $f2 +/* EA27AC 80241EAC 3C018024 */ lui $at, %hi(D_80246648) +/* EA27B0 80241EB0 D4226648 */ ldc1 $f2, %lo(D_80246648)($at) +/* EA27B4 80241EB4 46000021 */ cvt.d.s $f0, $f0 +/* EA27B8 80241EB8 46220000 */ add.d $f0, $f0, $f2 +/* EA27BC 80241EBC 4620010D */ trunc.w.d $f4, $f0 +/* EA27C0 80241EC0 44022000 */ mfc1 $v0, $f4 +/* EA27C4 80241EC4 00000000 */ nop +/* EA27C8 80241EC8 A602008E */ sh $v0, 0x8e($s0) +/* EA27CC 80241ECC 00021400 */ sll $v0, $v0, 0x10 +/* EA27D0 80241ED0 8E230078 */ lw $v1, 0x78($s1) +/* EA27D4 80241ED4 00021403 */ sra $v0, $v0, 0x10 +/* EA27D8 80241ED8 0043102A */ slt $v0, $v0, $v1 +/* EA27DC 80241EDC 10400003 */ beqz $v0, .L80241EEC +/* EA27E0 80241EE0 00000000 */ nop +/* EA27E4 80241EE4 9622007A */ lhu $v0, 0x7a($s1) +/* EA27E8 80241EE8 A602008E */ sh $v0, 0x8e($s0) +.L80241EEC: +/* EA27EC 80241EEC 8602008E */ lh $v0, 0x8e($s0) +/* EA27F0 80241EF0 AE22007C */ sw $v0, 0x7c($s1) +/* EA27F4 80241EF4 2402000E */ addiu $v0, $zero, 0xe +/* EA27F8 80241EF8 AE620070 */ sw $v0, 0x70($s3) +.L80241EFC: +/* EA27FC 80241EFC 8FBF0020 */ lw $ra, 0x20($sp) +/* EA2800 80241F00 8FB3001C */ lw $s3, 0x1c($sp) +/* EA2804 80241F04 8FB20018 */ lw $s2, 0x18($sp) +/* EA2808 80241F08 8FB10014 */ lw $s1, 0x14($sp) +/* EA280C 80241F0C 8FB00010 */ lw $s0, 0x10($sp) +/* EA2810 80241F10 03E00008 */ jr $ra +/* EA2814 80241F14 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EA0C10/func_80241F18_EA2818.s b/asm/nonmatchings/code_EA0C10/func_80241F18_EA2818.s new file mode 100644 index 0000000000..1c60a2746a --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80241F18_EA2818.s @@ -0,0 +1,97 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241F18_EA2818 +/* EA2818 80241F18 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EA281C 80241F1C AFB3003C */ sw $s3, 0x3c($sp) +/* EA2820 80241F20 0080982D */ daddu $s3, $a0, $zero +/* EA2824 80241F24 AFBF0040 */ sw $ra, 0x40($sp) +/* EA2828 80241F28 AFB20038 */ sw $s2, 0x38($sp) +/* EA282C 80241F2C AFB10034 */ sw $s1, 0x34($sp) +/* EA2830 80241F30 AFB00030 */ sw $s0, 0x30($sp) +/* EA2834 80241F34 8E710148 */ lw $s1, 0x148($s3) +/* EA2838 80241F38 0C00F92F */ jal func_8003E4BC +/* EA283C 80241F3C 86240008 */ lh $a0, 8($s1) +/* EA2840 80241F40 0040802D */ daddu $s0, $v0, $zero +/* EA2844 80241F44 8E22007C */ lw $v0, 0x7c($s1) +/* EA2848 80241F48 8603008E */ lh $v1, 0x8e($s0) +/* EA284C 80241F4C 2442FFFF */ addiu $v0, $v0, -1 +/* EA2850 80241F50 14620012 */ bne $v1, $v0, .L80241F9C +/* EA2854 80241F54 00000000 */ nop +/* EA2858 80241F58 C6000038 */ lwc1 $f0, 0x38($s0) +/* EA285C 80241F5C 4600020D */ trunc.w.s $f8, $f0 +/* EA2860 80241F60 44024000 */ mfc1 $v0, $f8 +/* EA2864 80241F64 00000000 */ nop +/* EA2868 80241F68 A6220010 */ sh $v0, 0x10($s1) +/* EA286C 80241F6C C600003C */ lwc1 $f0, 0x3c($s0) +/* EA2870 80241F70 4600020D */ trunc.w.s $f8, $f0 +/* EA2874 80241F74 44024000 */ mfc1 $v0, $f8 +/* EA2878 80241F78 00000000 */ nop +/* EA287C 80241F7C A6220012 */ sh $v0, 0x12($s1) +/* EA2880 80241F80 C6000040 */ lwc1 $f0, 0x40($s0) +/* EA2884 80241F84 24020001 */ addiu $v0, $zero, 1 +/* EA2888 80241F88 A2220007 */ sb $v0, 7($s1) +/* EA288C 80241F8C 4600020D */ trunc.w.s $f8, $f0 +/* EA2890 80241F90 44024000 */ mfc1 $v0, $f8 +/* EA2894 80241F94 00000000 */ nop +/* EA2898 80241F98 A6220014 */ sh $v0, 0x14($s1) +.L80241F9C: +/* EA289C 80241F9C C6000038 */ lwc1 $f0, 0x38($s0) +/* EA28A0 80241FA0 C602003C */ lwc1 $f2, 0x3c($s0) +/* EA28A4 80241FA4 C6040040 */ lwc1 $f4, 0x40($s0) +/* EA28A8 80241FA8 C6060018 */ lwc1 $f6, 0x18($s0) +/* EA28AC 80241FAC E7A00020 */ swc1 $f0, 0x20($sp) +/* EA28B0 80241FB0 E7A20024 */ swc1 $f2, 0x24($sp) +/* EA28B4 80241FB4 E7A40028 */ swc1 $f4, 0x28($sp) +/* EA28B8 80241FB8 E7A60010 */ swc1 $f6, 0x10($sp) +/* EA28BC 80241FBC C600000C */ lwc1 $f0, 0xc($s0) +/* EA28C0 80241FC0 E7A00014 */ swc1 $f0, 0x14($sp) +/* EA28C4 80241FC4 860200A8 */ lh $v0, 0xa8($s0) +/* EA28C8 80241FC8 27A50020 */ addiu $a1, $sp, 0x20 +/* EA28CC 80241FCC 44820000 */ mtc1 $v0, $f0 +/* EA28D0 80241FD0 00000000 */ nop +/* EA28D4 80241FD4 46800020 */ cvt.s.w $f0, $f0 +/* EA28D8 80241FD8 E7A00018 */ swc1 $f0, 0x18($sp) +/* EA28DC 80241FDC 860200A6 */ lh $v0, 0xa6($s0) +/* EA28E0 80241FE0 27A60024 */ addiu $a2, $sp, 0x24 +/* EA28E4 80241FE4 44820000 */ mtc1 $v0, $f0 +/* EA28E8 80241FE8 00000000 */ nop +/* EA28EC 80241FEC 46800020 */ cvt.s.w $f0, $f0 +/* EA28F0 80241FF0 E7A0001C */ swc1 $f0, 0x1c($sp) +/* EA28F4 80241FF4 8E040080 */ lw $a0, 0x80($s0) +/* EA28F8 80241FF8 0C0394C1 */ jal func_800E5304 +/* EA28FC 80241FFC 27A70028 */ addiu $a3, $sp, 0x28 +/* EA2900 80242000 0040902D */ daddu $s2, $v0, $zero +/* EA2904 80242004 16400005 */ bnez $s2, .L8024201C +/* EA2908 80242008 00000000 */ nop +/* EA290C 8024200C 8E050018 */ lw $a1, 0x18($s0) +/* EA2910 80242010 8E06000C */ lw $a2, 0xc($s0) +/* EA2914 80242014 0C00F909 */ jal func_8003E424 +/* EA2918 80242018 0200202D */ daddu $a0, $s0, $zero +.L8024201C: +/* EA291C 8024201C 8602008E */ lh $v0, 0x8e($s0) +/* EA2920 80242020 9603008E */ lhu $v1, 0x8e($s0) +/* EA2924 80242024 18400007 */ blez $v0, .L80242044 +/* EA2928 80242028 2462FFFF */ addiu $v0, $v1, -1 +/* EA292C 8024202C A602008E */ sh $v0, 0x8e($s0) +/* EA2930 80242030 00021400 */ sll $v0, $v0, 0x10 +/* EA2934 80242034 18400003 */ blez $v0, .L80242044 +/* EA2938 80242038 00000000 */ nop +/* EA293C 8024203C 12400008 */ beqz $s2, .L80242060 +/* EA2940 80242040 00000000 */ nop +.L80242044: +/* EA2944 80242044 8E2200CC */ lw $v0, 0xcc($s1) +/* EA2948 80242048 A2200007 */ sb $zero, 7($s1) +/* EA294C 8024204C 8C420028 */ lw $v0, 0x28($v0) +/* EA2950 80242050 A600008E */ sh $zero, 0x8e($s0) +/* EA2954 80242054 AE020028 */ sw $v0, 0x28($s0) +/* EA2958 80242058 2402000F */ addiu $v0, $zero, 0xf +/* EA295C 8024205C AE620070 */ sw $v0, 0x70($s3) +.L80242060: +/* EA2960 80242060 8FBF0040 */ lw $ra, 0x40($sp) +/* EA2964 80242064 8FB3003C */ lw $s3, 0x3c($sp) +/* EA2968 80242068 8FB20038 */ lw $s2, 0x38($sp) +/* EA296C 8024206C 8FB10034 */ lw $s1, 0x34($sp) +/* EA2970 80242070 8FB00030 */ lw $s0, 0x30($sp) +/* EA2974 80242074 03E00008 */ jr $ra +/* EA2978 80242078 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EA0C10/func_8024207C_EA297C.s b/asm/nonmatchings/code_EA0C10/func_8024207C_EA297C.s new file mode 100644 index 0000000000..e33cb54597 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_8024207C_EA297C.s @@ -0,0 +1,38 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024207C_EA297C +/* EA297C 8024207C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA2980 80242080 AFB10014 */ sw $s1, 0x14($sp) +/* EA2984 80242084 0080882D */ daddu $s1, $a0, $zero +/* EA2988 80242088 AFBF0018 */ sw $ra, 0x18($sp) +/* EA298C 8024208C AFB00010 */ sw $s0, 0x10($sp) +/* EA2990 80242090 8E300148 */ lw $s0, 0x148($s1) +/* EA2994 80242094 0C00F92F */ jal func_8003E4BC +/* EA2998 80242098 86040008 */ lh $a0, 8($s0) +/* EA299C 8024209C 0040202D */ daddu $a0, $v0, $zero +/* EA29A0 802420A0 9482008E */ lhu $v0, 0x8e($a0) +/* EA29A4 802420A4 24030003 */ addiu $v1, $zero, 3 +/* EA29A8 802420A8 24420001 */ addiu $v0, $v0, 1 +/* EA29AC 802420AC A482008E */ sh $v0, 0x8e($a0) +/* EA29B0 802420B0 00021400 */ sll $v0, $v0, 0x10 +/* EA29B4 802420B4 00021403 */ sra $v0, $v0, 0x10 +/* EA29B8 802420B8 14430003 */ bne $v0, $v1, .L802420C8 +/* EA29BC 802420BC 00000000 */ nop +/* EA29C0 802420C0 96020086 */ lhu $v0, 0x86($s0) +/* EA29C4 802420C4 A48200A8 */ sh $v0, 0xa8($a0) +.L802420C8: +/* EA29C8 802420C8 8482008E */ lh $v0, 0x8e($a0) +/* EA29CC 802420CC 8E030080 */ lw $v1, 0x80($s0) +/* EA29D0 802420D0 0043102A */ slt $v0, $v0, $v1 +/* EA29D4 802420D4 14400004 */ bnez $v0, .L802420E8 +/* EA29D8 802420D8 00000000 */ nop +/* EA29DC 802420DC 96020086 */ lhu $v0, 0x86($s0) +/* EA29E0 802420E0 A48200A8 */ sh $v0, 0xa8($a0) +/* EA29E4 802420E4 AE200070 */ sw $zero, 0x70($s1) +.L802420E8: +/* EA29E8 802420E8 8FBF0018 */ lw $ra, 0x18($sp) +/* EA29EC 802420EC 8FB10014 */ lw $s1, 0x14($sp) +/* EA29F0 802420F0 8FB00010 */ lw $s0, 0x10($sp) +/* EA29F4 802420F4 03E00008 */ jr $ra +/* EA29F8 802420F8 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_802420FC_EA29FC.s b/asm/nonmatchings/code_EA0C10/func_802420FC_EA29FC.s new file mode 100644 index 0000000000..9789a48d10 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_802420FC_EA29FC.s @@ -0,0 +1,312 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802420FC_EA29FC +/* EA29FC 802420FC 27BDFF90 */ addiu $sp, $sp, -0x70 +/* EA2A00 80242100 AFB3005C */ sw $s3, 0x5c($sp) +/* EA2A04 80242104 0080982D */ daddu $s3, $a0, $zero +/* EA2A08 80242108 AFBF0068 */ sw $ra, 0x68($sp) +/* EA2A0C 8024210C AFB50064 */ sw $s5, 0x64($sp) +/* EA2A10 80242110 AFB40060 */ sw $s4, 0x60($sp) +/* EA2A14 80242114 AFB20058 */ sw $s2, 0x58($sp) +/* EA2A18 80242118 AFB10054 */ sw $s1, 0x54($sp) +/* EA2A1C 8024211C AFB00050 */ sw $s0, 0x50($sp) +/* EA2A20 80242120 8E710148 */ lw $s1, 0x148($s3) +/* EA2A24 80242124 86240008 */ lh $a0, 8($s1) +/* EA2A28 80242128 0C00F92F */ jal func_8003E4BC +/* EA2A2C 8024212C 00A0802D */ daddu $s0, $a1, $zero +/* EA2A30 80242130 8E63000C */ lw $v1, 0xc($s3) +/* EA2A34 80242134 0260202D */ daddu $a0, $s3, $zero +/* EA2A38 80242138 8C650000 */ lw $a1, ($v1) +/* EA2A3C 8024213C 0C0B53A3 */ jal func_802D4E8C +/* EA2A40 80242140 0040902D */ daddu $s2, $v0, $zero +/* EA2A44 80242144 AFA00028 */ sw $zero, 0x28($sp) +/* EA2A48 80242148 8E2300D0 */ lw $v1, 0xd0($s1) +/* EA2A4C 8024214C 8C630030 */ lw $v1, 0x30($v1) +/* EA2A50 80242150 AFA3002C */ sw $v1, 0x2c($sp) +/* EA2A54 80242154 8E2300D0 */ lw $v1, 0xd0($s1) +/* EA2A58 80242158 8C63001C */ lw $v1, 0x1c($v1) +/* EA2A5C 8024215C AFA30030 */ sw $v1, 0x30($sp) +/* EA2A60 80242160 8E2300D0 */ lw $v1, 0xd0($s1) +/* EA2A64 80242164 8C630024 */ lw $v1, 0x24($v1) +/* EA2A68 80242168 AFA30034 */ sw $v1, 0x34($sp) +/* EA2A6C 8024216C 8E2300D0 */ lw $v1, 0xd0($s1) +/* EA2A70 80242170 8C630028 */ lw $v1, 0x28($v1) +/* EA2A74 80242174 AFA30038 */ sw $v1, 0x38($sp) +/* EA2A78 80242178 8E2300D0 */ lw $v1, 0xd0($s1) +/* EA2A7C 8024217C 3C0142C8 */ lui $at, 0x42c8 +/* EA2A80 80242180 44810000 */ mtc1 $at, $f0 +/* EA2A84 80242184 8C63002C */ lw $v1, 0x2c($v1) +/* EA2A88 80242188 E7A00040 */ swc1 $f0, 0x40($sp) +/* EA2A8C 8024218C A7A00044 */ sh $zero, 0x44($sp) +/* EA2A90 80242190 AFA3003C */ sw $v1, 0x3c($sp) +/* EA2A94 80242194 C6400038 */ lwc1 $f0, 0x38($s2) +/* EA2A98 80242198 E6200108 */ swc1 $f0, 0x108($s1) +/* EA2A9C 8024219C C640003C */ lwc1 $f0, 0x3c($s2) +/* EA2AA0 802421A0 27B50028 */ addiu $s5, $sp, 0x28 +/* EA2AA4 802421A4 E620010C */ swc1 $f0, 0x10c($s1) +/* EA2AA8 802421A8 3C013C23 */ lui $at, 0x3c23 +/* EA2AAC 802421AC 3421D70A */ ori $at, $at, 0xd70a +/* EA2AB0 802421B0 44810000 */ mtc1 $at, $f0 +/* EA2AB4 802421B4 C6420040 */ lwc1 $f2, 0x40($s2) +/* EA2AB8 802421B8 0040A02D */ daddu $s4, $v0, $zero +/* EA2ABC 802421BC E6200114 */ swc1 $f0, 0x114($s1) +/* EA2AC0 802421C0 E6200118 */ swc1 $f0, 0x118($s1) +/* EA2AC4 802421C4 12000009 */ beqz $s0, .L802421EC +/* EA2AC8 802421C8 E6220110 */ swc1 $f2, 0x110($s1) +/* EA2ACC 802421CC 864300A8 */ lh $v1, 0xa8($s2) +/* EA2AD0 802421D0 8E2200B0 */ lw $v0, 0xb0($s1) +/* EA2AD4 802421D4 AE20008C */ sw $zero, 0x8c($s1) +/* EA2AD8 802421D8 A22000B5 */ sb $zero, 0xb5($s1) +/* EA2ADC 802421DC 34420008 */ ori $v0, $v0, 8 +/* EA2AE0 802421E0 AE230084 */ sw $v1, 0x84($s1) +/* EA2AE4 802421E4 0809087F */ j .L802421FC +/* EA2AE8 802421E8 AE2200B0 */ sw $v0, 0xb0($s1) +.L802421EC: +/* EA2AEC 802421EC 8E2200B0 */ lw $v0, 0xb0($s1) +/* EA2AF0 802421F0 30420004 */ andi $v0, $v0, 4 +/* EA2AF4 802421F4 10400047 */ beqz $v0, .L80242314 +/* EA2AF8 802421F8 00000000 */ nop +.L802421FC: +/* EA2AFC 802421FC AE600070 */ sw $zero, 0x70($s3) +/* EA2B00 80242200 A640008E */ sh $zero, 0x8e($s2) +/* EA2B04 80242204 8E2300CC */ lw $v1, 0xcc($s1) +/* EA2B08 80242208 2404F7FF */ addiu $a0, $zero, -0x801 +/* EA2B0C 8024220C A2200007 */ sb $zero, 7($s1) +/* EA2B10 80242210 8E420000 */ lw $v0, ($s2) +/* EA2B14 80242214 8C630000 */ lw $v1, ($v1) +/* EA2B18 80242218 00441024 */ and $v0, $v0, $a0 +/* EA2B1C 8024221C AE420000 */ sw $v0, ($s2) +/* EA2B20 80242220 AE430028 */ sw $v1, 0x28($s2) +/* EA2B24 80242224 96220086 */ lhu $v0, 0x86($s1) +/* EA2B28 80242228 A64200A8 */ sh $v0, 0xa8($s2) +/* EA2B2C 8024222C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EA2B30 80242230 AE200090 */ sw $zero, 0x90($s1) +/* EA2B34 80242234 8C420034 */ lw $v0, 0x34($v0) +/* EA2B38 80242238 14400006 */ bnez $v0, .L80242254 +/* EA2B3C 8024223C 2403FDFF */ addiu $v1, $zero, -0x201 +/* EA2B40 80242240 8E420000 */ lw $v0, ($s2) +/* EA2B44 80242244 2403FFF7 */ addiu $v1, $zero, -9 +/* EA2B48 80242248 34420200 */ ori $v0, $v0, 0x200 +/* EA2B4C 8024224C 08090898 */ j .L80242260 +/* EA2B50 80242250 00431024 */ and $v0, $v0, $v1 +.L80242254: +/* EA2B54 80242254 8E420000 */ lw $v0, ($s2) +/* EA2B58 80242258 00431024 */ and $v0, $v0, $v1 +/* EA2B5C 8024225C 34420008 */ ori $v0, $v0, 8 +.L80242260: +/* EA2B60 80242260 AE420000 */ sw $v0, ($s2) +/* EA2B64 80242264 8E2200B0 */ lw $v0, 0xb0($s1) +/* EA2B68 80242268 30420004 */ andi $v0, $v0, 4 +/* EA2B6C 8024226C 1040001E */ beqz $v0, .L802422E8 +/* EA2B70 80242270 24040002 */ addiu $a0, $zero, 2 +/* EA2B74 80242274 0240282D */ daddu $a1, $s2, $zero +/* EA2B78 80242278 0000302D */ daddu $a2, $zero, $zero +/* EA2B7C 8024227C 24020063 */ addiu $v0, $zero, 0x63 +/* EA2B80 80242280 AE620070 */ sw $v0, 0x70($s3) +/* EA2B84 80242284 AE600074 */ sw $zero, 0x74($s3) +/* EA2B88 80242288 864300A8 */ lh $v1, 0xa8($s2) +/* EA2B8C 8024228C 3C013F80 */ lui $at, 0x3f80 +/* EA2B90 80242290 44810000 */ mtc1 $at, $f0 +/* EA2B94 80242294 3C014000 */ lui $at, 0x4000 +/* EA2B98 80242298 44811000 */ mtc1 $at, $f2 +/* EA2B9C 8024229C 3C01C1A0 */ lui $at, 0xc1a0 +/* EA2BA0 802422A0 44812000 */ mtc1 $at, $f4 +/* EA2BA4 802422A4 24020028 */ addiu $v0, $zero, 0x28 +/* EA2BA8 802422A8 AFA2001C */ sw $v0, 0x1c($sp) +/* EA2BAC 802422AC 44833000 */ mtc1 $v1, $f6 +/* EA2BB0 802422B0 00000000 */ nop +/* EA2BB4 802422B4 468031A0 */ cvt.s.w $f6, $f6 +/* EA2BB8 802422B8 44073000 */ mfc1 $a3, $f6 +/* EA2BBC 802422BC 27A20048 */ addiu $v0, $sp, 0x48 +/* EA2BC0 802422C0 AFA20020 */ sw $v0, 0x20($sp) +/* EA2BC4 802422C4 E7A00010 */ swc1 $f0, 0x10($sp) +/* EA2BC8 802422C8 E7A20014 */ swc1 $f2, 0x14($sp) +/* EA2BCC 802422CC 0C01D444 */ jal func_80075110 +/* EA2BD0 802422D0 E7A40018 */ swc1 $f4, 0x18($sp) +/* EA2BD4 802422D4 8E2200B0 */ lw $v0, 0xb0($s1) +/* EA2BD8 802422D8 2403FFFB */ addiu $v1, $zero, -5 +/* EA2BDC 802422DC 00431024 */ and $v0, $v0, $v1 +/* EA2BE0 802422E0 080908C5 */ j .L80242314 +/* EA2BE4 802422E4 AE2200B0 */ sw $v0, 0xb0($s1) +.L802422E8: +/* EA2BE8 802422E8 8E220000 */ lw $v0, ($s1) +/* EA2BEC 802422EC 3C034000 */ lui $v1, 0x4000 +/* EA2BF0 802422F0 00431024 */ and $v0, $v0, $v1 +/* EA2BF4 802422F4 10400007 */ beqz $v0, .L80242314 +/* EA2BF8 802422F8 3C03BFFF */ lui $v1, 0xbfff +/* EA2BFC 802422FC 2402000C */ addiu $v0, $zero, 0xc +/* EA2C00 80242300 AE620070 */ sw $v0, 0x70($s3) +/* EA2C04 80242304 8E220000 */ lw $v0, ($s1) +/* EA2C08 80242308 3463FFFF */ ori $v1, $v1, 0xffff +/* EA2C0C 8024230C 00431024 */ and $v0, $v0, $v1 +/* EA2C10 80242310 AE220000 */ sw $v0, ($s1) +.L80242314: +/* EA2C14 80242314 8E220090 */ lw $v0, 0x90($s1) +/* EA2C18 80242318 1840000C */ blez $v0, .L8024234C +/* EA2C1C 8024231C 2442FFFF */ addiu $v0, $v0, -1 +/* EA2C20 80242320 14400087 */ bnez $v0, .L80242540 +/* EA2C24 80242324 AE220090 */ sw $v0, 0x90($s1) +/* EA2C28 80242328 3C03FFAA */ lui $v1, 0xffaa +/* EA2C2C 8024232C 8E420028 */ lw $v0, 0x28($s2) +/* EA2C30 80242330 3463FFD2 */ ori $v1, $v1, 0xffd2 +/* EA2C34 80242334 00431021 */ addu $v0, $v0, $v1 +/* EA2C38 80242338 2C420002 */ sltiu $v0, $v0, 2 +/* EA2C3C 8024233C 10400003 */ beqz $v0, .L8024234C +/* EA2C40 80242340 3C020055 */ lui $v0, 0x55 +/* EA2C44 80242344 3442000C */ ori $v0, $v0, 0xc +/* EA2C48 80242348 AE420028 */ sw $v0, 0x28($s2) +.L8024234C: +/* EA2C4C 8024234C 8E630070 */ lw $v1, 0x70($s3) +/* EA2C50 80242350 2402000C */ addiu $v0, $zero, 0xc +/* EA2C54 80242354 10620048 */ beq $v1, $v0, .L80242478 +/* EA2C58 80242358 2862000D */ slti $v0, $v1, 0xd +/* EA2C5C 8024235C 1040000F */ beqz $v0, .L8024239C +/* EA2C60 80242360 24100001 */ addiu $s0, $zero, 1 +/* EA2C64 80242364 1070001E */ beq $v1, $s0, .L802423E0 +/* EA2C68 80242368 28620002 */ slti $v0, $v1, 2 +/* EA2C6C 8024236C 10400005 */ beqz $v0, .L80242384 +/* EA2C70 80242370 24020002 */ addiu $v0, $zero, 2 +/* EA2C74 80242374 10600015 */ beqz $v1, .L802423CC +/* EA2C78 80242378 0260202D */ daddu $a0, $s3, $zero +/* EA2C7C 8024237C 08090935 */ j .L802424D4 +/* EA2C80 80242380 00000000 */ nop +.L80242384: +/* EA2C84 80242384 1062001C */ beq $v1, $v0, .L802423F8 +/* EA2C88 80242388 24020003 */ addiu $v0, $zero, 3 +/* EA2C8C 8024238C 10620035 */ beq $v1, $v0, .L80242464 +/* EA2C90 80242390 0260202D */ daddu $a0, $s3, $zero +/* EA2C94 80242394 08090935 */ j .L802424D4 +/* EA2C98 80242398 00000000 */ nop +.L8024239C: +/* EA2C9C 8024239C 2402000E */ addiu $v0, $zero, 0xe +/* EA2CA0 802423A0 1062003F */ beq $v1, $v0, .L802424A0 +/* EA2CA4 802423A4 0062102A */ slt $v0, $v1, $v0 +/* EA2CA8 802423A8 14400038 */ bnez $v0, .L8024248C +/* EA2CAC 802423AC 0260202D */ daddu $a0, $s3, $zero +/* EA2CB0 802423B0 2402000F */ addiu $v0, $zero, 0xf +/* EA2CB4 802423B4 10620040 */ beq $v1, $v0, .L802424B8 +/* EA2CB8 802423B8 24020063 */ addiu $v0, $zero, 0x63 +/* EA2CBC 802423BC 10620043 */ beq $v1, $v0, .L802424CC +/* EA2CC0 802423C0 00000000 */ nop +/* EA2CC4 802423C4 08090935 */ j .L802424D4 +/* EA2CC8 802423C8 00000000 */ nop +.L802423CC: +/* EA2CCC 802423CC 0280282D */ daddu $a1, $s4, $zero +/* EA2CD0 802423D0 0C013670 */ jal func_8004D9C0 +/* EA2CD4 802423D4 02A0302D */ daddu $a2, $s5, $zero +/* EA2CD8 802423D8 96220086 */ lhu $v0, 0x86($s1) +/* EA2CDC 802423DC A64200A8 */ sh $v0, 0xa8($s2) +.L802423E0: +/* EA2CE0 802423E0 0260202D */ daddu $a0, $s3, $zero +/* EA2CE4 802423E4 0280282D */ daddu $a1, $s4, $zero +/* EA2CE8 802423E8 0C0136B6 */ jal func_8004DAD8 +/* EA2CEC 802423EC 02A0302D */ daddu $a2, $s5, $zero +/* EA2CF0 802423F0 08090935 */ j .L802424D4 +/* EA2CF4 802423F4 00000000 */ nop +.L802423F8: +/* EA2CF8 802423F8 0260202D */ daddu $a0, $s3, $zero +/* EA2CFC 802423FC 0280282D */ daddu $a1, $s4, $zero +/* EA2D00 80242400 0C0137D9 */ jal func_8004DF64 +/* EA2D04 80242404 02A0302D */ daddu $a2, $s5, $zero +/* EA2D08 80242408 8E230088 */ lw $v1, 0x88($s1) +/* EA2D0C 8024240C 24020006 */ addiu $v0, $zero, 6 +/* EA2D10 80242410 14620014 */ bne $v1, $v0, .L80242464 +/* EA2D14 80242414 0260202D */ daddu $a0, $s3, $zero +/* EA2D18 80242418 0C00AB3B */ jal func_8002ACEC +/* EA2D1C 8024241C 24040064 */ addiu $a0, $zero, 0x64 +/* EA2D20 80242420 28420021 */ slti $v0, $v0, 0x21 +/* EA2D24 80242424 5040000F */ beql $v0, $zero, .L80242464 +/* EA2D28 80242428 0260202D */ daddu $a0, $s3, $zero +/* EA2D2C 8024242C 8E22008C */ lw $v0, 0x8c($s1) +/* EA2D30 80242430 10400005 */ beqz $v0, .L80242448 +/* EA2D34 80242434 3C020055 */ lui $v0, 0x55 +/* EA2D38 80242438 3442002F */ ori $v0, $v0, 0x2f +/* EA2D3C 8024243C AE20008C */ sw $zero, 0x8c($s1) +/* EA2D40 80242440 08090915 */ j .L80242454 +/* EA2D44 80242444 A22000B5 */ sb $zero, 0xb5($s1) +.L80242448: +/* EA2D48 80242448 3442002E */ ori $v0, $v0, 0x2e +/* EA2D4C 8024244C AE30008C */ sw $s0, 0x8c($s1) +/* EA2D50 80242450 A23000B5 */ sb $s0, 0xb5($s1) +.L80242454: +/* EA2D54 80242454 AE420028 */ sw $v0, 0x28($s2) +/* EA2D58 80242458 24020007 */ addiu $v0, $zero, 7 +/* EA2D5C 8024245C 08090950 */ j .L80242540 +/* EA2D60 80242460 AE220090 */ sw $v0, 0x90($s1) +.L80242464: +/* EA2D64 80242464 0280282D */ daddu $a1, $s4, $zero +/* EA2D68 80242468 0C013809 */ jal func_8004E024 +/* EA2D6C 8024246C 02A0302D */ daddu $a2, $s5, $zero +/* EA2D70 80242470 08090935 */ j .L802424D4 +/* EA2D74 80242474 00000000 */ nop +.L80242478: +/* EA2D78 80242478 0260202D */ daddu $a0, $s3, $zero +/* EA2D7C 8024247C 0280282D */ daddu $a1, $s4, $zero +/* EA2D80 80242480 0C09075A */ jal func_80241D68_EA2668 +/* EA2D84 80242484 02A0302D */ daddu $a2, $s5, $zero +/* EA2D88 80242488 0260202D */ daddu $a0, $s3, $zero +.L8024248C: +/* EA2D8C 8024248C 0280282D */ daddu $a1, $s4, $zero +/* EA2D90 80242490 0C090779 */ jal func_80241DE4_EA26E4 +/* EA2D94 80242494 02A0302D */ daddu $a2, $s5, $zero +/* EA2D98 80242498 08090935 */ j .L802424D4 +/* EA2D9C 8024249C 00000000 */ nop +.L802424A0: +/* EA2DA0 802424A0 0260202D */ daddu $a0, $s3, $zero +/* EA2DA4 802424A4 0280282D */ daddu $a1, $s4, $zero +/* EA2DA8 802424A8 0C0907C6 */ jal func_80241F18_EA2818 +/* EA2DAC 802424AC 02A0302D */ daddu $a2, $s5, $zero +/* EA2DB0 802424B0 08090935 */ j .L802424D4 +/* EA2DB4 802424B4 00000000 */ nop +.L802424B8: +/* EA2DB8 802424B8 0280282D */ daddu $a1, $s4, $zero +/* EA2DBC 802424BC 0C09081F */ jal func_8024207C_EA297C +/* EA2DC0 802424C0 02A0302D */ daddu $a2, $s5, $zero +/* EA2DC4 802424C4 08090935 */ j .L802424D4 +/* EA2DC8 802424C8 00000000 */ nop +.L802424CC: +/* EA2DCC 802424CC 0C013AE3 */ jal func_8004EB8C +/* EA2DD0 802424D0 0260202D */ daddu $a0, $s3, $zero +.L802424D4: +/* EA2DD4 802424D4 8E230088 */ lw $v1, 0x88($s1) +/* EA2DD8 802424D8 24020006 */ addiu $v0, $zero, 6 +/* EA2DDC 802424DC 14620019 */ bne $v1, $v0, .L80242544 +/* EA2DE0 802424E0 0000102D */ daddu $v0, $zero, $zero +/* EA2DE4 802424E4 8E22008C */ lw $v0, 0x8c($s1) +/* EA2DE8 802424E8 10400003 */ beqz $v0, .L802424F8 +/* EA2DEC 802424EC 24020001 */ addiu $v0, $zero, 1 +/* EA2DF0 802424F0 0809093F */ j .L802424FC +/* EA2DF4 802424F4 A22200B5 */ sb $v0, 0xb5($s1) +.L802424F8: +/* EA2DF8 802424F8 A22000B5 */ sb $zero, 0xb5($s1) +.L802424FC: +/* EA2DFC 802424FC 8E22008C */ lw $v0, 0x8c($s1) +/* EA2E00 80242500 1040000F */ beqz $v0, .L80242540 +/* EA2E04 80242504 3C03FFAA */ lui $v1, 0xffaa +/* EA2E08 80242508 8E420028 */ lw $v0, 0x28($s2) +/* EA2E0C 8024250C 3463FFFC */ ori $v1, $v1, 0xfffc +/* EA2E10 80242510 00431821 */ addu $v1, $v0, $v1 +/* EA2E14 80242514 2C620015 */ sltiu $v0, $v1, 0x15 +/* EA2E18 80242518 10400009 */ beqz $v0, .L80242540 +/* EA2E1C 8024251C 00031080 */ sll $v0, $v1, 2 +/* EA2E20 80242520 3C018024 */ lui $at, %hi(D_80246650) +/* EA2E24 80242524 00220821 */ addu $at, $at, $v0 +/* EA2E28 80242528 8C226650 */ lw $v0, %lo(D_80246650)($at) +/* EA2E2C 8024252C 00400008 */ jr $v0 +/* EA2E30 80242530 00000000 */ nop +/* EA2E34 80242534 8E420028 */ lw $v0, 0x28($s2) +/* EA2E38 80242538 24420001 */ addiu $v0, $v0, 1 +/* EA2E3C 8024253C AE420028 */ sw $v0, 0x28($s2) +.L80242540: +/* EA2E40 80242540 0000102D */ daddu $v0, $zero, $zero +.L80242544: +/* EA2E44 80242544 8FBF0068 */ lw $ra, 0x68($sp) +/* EA2E48 80242548 8FB50064 */ lw $s5, 0x64($sp) +/* EA2E4C 8024254C 8FB40060 */ lw $s4, 0x60($sp) +/* EA2E50 80242550 8FB3005C */ lw $s3, 0x5c($sp) +/* EA2E54 80242554 8FB20058 */ lw $s2, 0x58($sp) +/* EA2E58 80242558 8FB10054 */ lw $s1, 0x54($sp) +/* EA2E5C 8024255C 8FB00050 */ lw $s0, 0x50($sp) +/* EA2E60 80242560 03E00008 */ jr $ra +/* EA2E64 80242564 27BD0070 */ addiu $sp, $sp, 0x70 diff --git a/asm/nonmatchings/code_EA0C10/func_80242568_EA2E68.s b/asm/nonmatchings/code_EA0C10/func_80242568_EA2E68.s new file mode 100644 index 0000000000..78f9d3e50b --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80242568_EA2E68.s @@ -0,0 +1,22 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242568_EA2E68 +/* EA2E68 80242568 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA2E6C 8024256C AFBF0010 */ sw $ra, 0x10($sp) +/* EA2E70 80242570 0C00F94D */ jal func_8003E534 +/* EA2E74 80242574 8C84014C */ lw $a0, 0x14c($a0) +/* EA2E78 80242578 0040182D */ daddu $v1, $v0, $zero +/* EA2E7C 8024257C 846200A8 */ lh $v0, 0xa8($v1) +/* EA2E80 80242580 C462003C */ lwc1 $f2, 0x3c($v1) +/* EA2E84 80242584 906400A9 */ lbu $a0, 0xa9($v1) +/* EA2E88 80242588 44820000 */ mtc1 $v0, $f0 +/* EA2E8C 8024258C 00000000 */ nop +/* EA2E90 80242590 46800020 */ cvt.s.w $f0, $f0 +/* EA2E94 80242594 46001081 */ sub.s $f2, $f2, $f0 +/* EA2E98 80242598 A06400AB */ sb $a0, 0xab($v1) +/* EA2E9C 8024259C E462003C */ swc1 $f2, 0x3c($v1) +/* EA2EA0 802425A0 8FBF0010 */ lw $ra, 0x10($sp) +/* EA2EA4 802425A4 24020002 */ addiu $v0, $zero, 2 +/* EA2EA8 802425A8 03E00008 */ jr $ra +/* EA2EAC 802425AC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA0C10/func_802425B0_EA2EB0.s b/asm/nonmatchings/code_EA0C10/func_802425B0_EA2EB0.s new file mode 100644 index 0000000000..121028c538 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_802425B0_EA2EB0.s @@ -0,0 +1,27 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802425B0_EA2EB0 +/* EA2EB0 802425B0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA2EB4 802425B4 AFBF0010 */ sw $ra, 0x10($sp) +/* EA2EB8 802425B8 0C00F94D */ jal func_8003E534 +/* EA2EBC 802425BC 8C84014C */ lw $a0, 0x14c($a0) +/* EA2EC0 802425C0 3C038011 */ lui $v1, %hi(D_80117578) +/* EA2EC4 802425C4 24637578 */ addiu $v1, $v1, %lo(D_80117578) +/* EA2EC8 802425C8 C44C0038 */ lwc1 $f12, 0x38($v0) +/* EA2ECC 802425CC C44E0040 */ lwc1 $f14, 0x40($v0) +/* EA2ED0 802425D0 8C660028 */ lw $a2, 0x28($v1) +/* EA2ED4 802425D4 0C00AC71 */ jal func_8002B1C4 +/* EA2ED8 802425D8 8C670030 */ lw $a3, 0x30($v1) +/* EA2EDC 802425DC 3C014248 */ lui $at, 0x4248 +/* EA2EE0 802425E0 44811000 */ mtc1 $at, $f2 +/* EA2EE4 802425E4 00000000 */ nop +/* EA2EE8 802425E8 4602003C */ c.lt.s $f0, $f2 +/* EA2EEC 802425EC 00000000 */ nop +/* EA2EF0 802425F0 45010002 */ bc1t .L802425FC +/* EA2EF4 802425F4 24020002 */ addiu $v0, $zero, 2 +/* EA2EF8 802425F8 0000102D */ daddu $v0, $zero, $zero +.L802425FC: +/* EA2EFC 802425FC 8FBF0010 */ lw $ra, 0x10($sp) +/* EA2F00 80242600 03E00008 */ jr $ra +/* EA2F04 80242604 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA0C10/func_80242608_EA2F08.s b/asm/nonmatchings/code_EA0C10/func_80242608_EA2F08.s new file mode 100644 index 0000000000..155df154c7 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80242608_EA2F08.s @@ -0,0 +1,35 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242608_EA2F08 +/* EA2F08 80242608 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA2F0C 8024260C 0080102D */ daddu $v0, $a0, $zero +/* EA2F10 80242610 AFB00010 */ sw $s0, 0x10($sp) +/* EA2F14 80242614 AFBF0018 */ sw $ra, 0x18($sp) +/* EA2F18 80242618 AFB10014 */ sw $s1, 0x14($sp) +/* EA2F1C 8024261C 8C44014C */ lw $a0, 0x14c($v0) +/* EA2F20 80242620 8C510148 */ lw $s1, 0x148($v0) +/* EA2F24 80242624 0C00F94D */ jal func_8003E534 +/* EA2F28 80242628 00A0802D */ daddu $s0, $a1, $zero +/* EA2F2C 8024262C 56000001 */ bnel $s0, $zero, .L80242634 +/* EA2F30 80242630 A04000AB */ sb $zero, 0xab($v0) +.L80242634: +/* EA2F34 80242634 8C420000 */ lw $v0, ($v0) +/* EA2F38 80242638 30421000 */ andi $v0, $v0, 0x1000 +/* EA2F3C 8024263C 1040000A */ beqz $v0, .L80242668 +/* EA2F40 80242640 0000102D */ daddu $v0, $zero, $zero +/* EA2F44 80242644 82220004 */ lb $v0, 4($s1) +/* EA2F48 80242648 3C03800B */ lui $v1, %hi(D_800B7EF0) +/* EA2F4C 8024264C 24637EF0 */ addiu $v1, $v1, %lo(D_800B7EF0) +/* EA2F50 80242650 00021080 */ sll $v0, $v0, 2 +/* EA2F54 80242654 00431021 */ addu $v0, $v0, $v1 +/* EA2F58 80242658 8C440028 */ lw $a0, 0x28($v0) +/* EA2F5C 8024265C 9623006E */ lhu $v1, 0x6e($s1) +/* EA2F60 80242660 24020002 */ addiu $v0, $zero, 2 +/* EA2F64 80242664 A4830044 */ sh $v1, 0x44($a0) +.L80242668: +/* EA2F68 80242668 8FBF0018 */ lw $ra, 0x18($sp) +/* EA2F6C 8024266C 8FB10014 */ lw $s1, 0x14($sp) +/* EA2F70 80242670 8FB00010 */ lw $s0, 0x10($sp) +/* EA2F74 80242674 03E00008 */ jr $ra +/* EA2F78 80242678 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_8024267C_EA2F7C.s b/asm/nonmatchings/code_EA0C10/func_8024267C_EA2F7C.s new file mode 100644 index 0000000000..e38d8d9966 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_8024267C_EA2F7C.s @@ -0,0 +1,53 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024267C_EA2F7C +/* EA2F7C 8024267C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA2F80 80242680 AFB00010 */ sw $s0, 0x10($sp) +/* EA2F84 80242684 3C108024 */ lui $s0, %hi(D_80244154) +/* EA2F88 80242688 26104154 */ addiu $s0, $s0, %lo(D_80244154) +/* EA2F8C 8024268C AFBF0018 */ sw $ra, 0x18($sp) +/* EA2F90 80242690 AFB10014 */ sw $s1, 0x14($sp) +/* EA2F94 80242694 8E020000 */ lw $v0, ($s0) +/* EA2F98 80242698 14400010 */ bnez $v0, .L802426DC +/* EA2F9C 8024269C 0080882D */ daddu $s1, $a0, $zero +/* EA2FA0 802426A0 0C00AFF5 */ jal func_8002BFD4 +/* EA2FA4 802426A4 24040040 */ addiu $a0, $zero, 0x40 +/* EA2FA8 802426A8 AE020000 */ sw $v0, ($s0) +/* EA2FAC 802426AC 0000182D */ daddu $v1, $zero, $zero +/* EA2FB0 802426B0 0040282D */ daddu $a1, $v0, $zero +/* EA2FB4 802426B4 0220202D */ daddu $a0, $s1, $zero +.L802426B8: +/* EA2FB8 802426B8 8C820084 */ lw $v0, 0x84($a0) +/* EA2FBC 802426BC 24840004 */ addiu $a0, $a0, 4 +/* EA2FC0 802426C0 24630001 */ addiu $v1, $v1, 1 +/* EA2FC4 802426C4 ACA20000 */ sw $v0, ($a1) +/* EA2FC8 802426C8 28620010 */ slti $v0, $v1, 0x10 +/* EA2FCC 802426CC 1440FFFA */ bnez $v0, .L802426B8 +/* EA2FD0 802426D0 24A50004 */ addiu $a1, $a1, 4 +/* EA2FD4 802426D4 080909C6 */ j .L80242718 +/* EA2FD8 802426D8 00000000 */ nop +.L802426DC: +/* EA2FDC 802426DC 0000182D */ daddu $v1, $zero, $zero +/* EA2FE0 802426E0 0040282D */ daddu $a1, $v0, $zero +/* EA2FE4 802426E4 0220202D */ daddu $a0, $s1, $zero +.L802426E8: +/* EA2FE8 802426E8 8CA20000 */ lw $v0, ($a1) +/* EA2FEC 802426EC 24A50004 */ addiu $a1, $a1, 4 +/* EA2FF0 802426F0 24630001 */ addiu $v1, $v1, 1 +/* EA2FF4 802426F4 AC820084 */ sw $v0, 0x84($a0) +/* EA2FF8 802426F8 28620010 */ slti $v0, $v1, 0x10 +/* EA2FFC 802426FC 1440FFFA */ bnez $v0, .L802426E8 +/* EA3000 80242700 24840004 */ addiu $a0, $a0, 4 +/* EA3004 80242704 3C108024 */ lui $s0, %hi(D_80244154) +/* EA3008 80242708 26104154 */ addiu $s0, $s0, %lo(D_80244154) +/* EA300C 8024270C 0C00B007 */ jal func_8002C01C +/* EA3010 80242710 8E040000 */ lw $a0, ($s0) +/* EA3014 80242714 AE000000 */ sw $zero, ($s0) +.L80242718: +/* EA3018 80242718 8FBF0018 */ lw $ra, 0x18($sp) +/* EA301C 8024271C 8FB10014 */ lw $s1, 0x14($sp) +/* EA3020 80242720 8FB00010 */ lw $s0, 0x10($sp) +/* EA3024 80242724 24020002 */ addiu $v0, $zero, 2 +/* EA3028 80242728 03E00008 */ jr $ra +/* EA302C 8024272C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_80242730_EA3030.s b/asm/nonmatchings/code_EA0C10/func_80242730_EA3030.s new file mode 100644 index 0000000000..5b49def3a2 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80242730_EA3030.s @@ -0,0 +1,29 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242730_EA3030 +/* EA3030 80242730 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA3034 80242734 AFB00010 */ sw $s0, 0x10($sp) +/* EA3038 80242738 0080802D */ daddu $s0, $a0, $zero +/* EA303C 8024273C AFBF0018 */ sw $ra, 0x18($sp) +/* EA3040 80242740 AFB10014 */ sw $s1, 0x14($sp) +/* EA3044 80242744 8E02000C */ lw $v0, 0xc($s0) +/* EA3048 80242748 8C510000 */ lw $s1, ($v0) +/* EA304C 8024274C 0C0B53A3 */ jal func_802D4E8C +/* EA3050 80242750 0220282D */ daddu $a1, $s1, $zero +/* EA3054 80242754 3C03FFF0 */ lui $v1, 0xfff0 +/* EA3058 80242758 3463FFFF */ ori $v1, $v1, 0xffff +/* EA305C 8024275C 0200202D */ daddu $a0, $s0, $zero +/* EA3060 80242760 00431024 */ and $v0, $v0, $v1 +/* EA3064 80242764 00021140 */ sll $v0, $v0, 5 +/* EA3068 80242768 3C068009 */ lui $a2, %hi(D_8008D2C0) +/* EA306C 8024276C 00C23021 */ addu $a2, $a2, $v0 +/* EA3070 80242770 8CC6D2C0 */ lw $a2, %lo(D_8008D2C0)($a2) +/* EA3074 80242774 0C0B551A */ jal func_802D5468 +/* EA3078 80242778 0220282D */ daddu $a1, $s1, $zero +/* EA307C 8024277C 8FBF0018 */ lw $ra, 0x18($sp) +/* EA3080 80242780 8FB10014 */ lw $s1, 0x14($sp) +/* EA3084 80242784 8FB00010 */ lw $s0, 0x10($sp) +/* EA3088 80242788 24020002 */ addiu $v0, $zero, 2 +/* EA308C 8024278C 03E00008 */ jr $ra +/* EA3090 80242790 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_80242794_EA3094.s b/asm/nonmatchings/code_EA0C10/func_80242794_EA3094.s new file mode 100644 index 0000000000..b434d2780d --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80242794_EA3094.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242794_EA3094 +/* EA3094 80242794 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA3098 80242798 AFB10014 */ sw $s1, 0x14($sp) +/* EA309C 8024279C 0080882D */ daddu $s1, $a0, $zero +/* EA30A0 802427A0 AFBF0018 */ sw $ra, 0x18($sp) +/* EA30A4 802427A4 AFB00010 */ sw $s0, 0x10($sp) +/* EA30A8 802427A8 8E30000C */ lw $s0, 0xc($s1) +/* EA30AC 802427AC 8E050000 */ lw $a1, ($s0) +/* EA30B0 802427B0 0C0B53A3 */ jal func_802D4E8C +/* EA30B4 802427B4 26100004 */ addiu $s0, $s0, 4 +/* EA30B8 802427B8 0C00F94D */ jal func_8003E534 +/* EA30BC 802427BC 0040202D */ daddu $a0, $v0, $zero +/* EA30C0 802427C0 10400005 */ beqz $v0, .L802427D8 +/* EA30C4 802427C4 00000000 */ nop +/* EA30C8 802427C8 8E050000 */ lw $a1, ($s0) +/* EA30CC 802427CC 844600A8 */ lh $a2, 0xa8($v0) +/* EA30D0 802427D0 0C0B551A */ jal func_802D5468 +/* EA30D4 802427D4 0220202D */ daddu $a0, $s1, $zero +.L802427D8: +/* EA30D8 802427D8 8FBF0018 */ lw $ra, 0x18($sp) +/* EA30DC 802427DC 8FB10014 */ lw $s1, 0x14($sp) +/* EA30E0 802427E0 8FB00010 */ lw $s0, 0x10($sp) +/* EA30E4 802427E4 24020002 */ addiu $v0, $zero, 2 +/* EA30E8 802427E8 03E00008 */ jr $ra +/* EA30EC 802427EC 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_802427F0_EA30F0.s b/asm/nonmatchings/code_EA0C10/func_802427F0_EA30F0.s new file mode 100644 index 0000000000..921eac345a --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_802427F0_EA30F0.s @@ -0,0 +1,122 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802427F0_EA30F0 +/* EA30F0 802427F0 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EA30F4 802427F4 AFB10014 */ sw $s1, 0x14($sp) +/* EA30F8 802427F8 0080882D */ daddu $s1, $a0, $zero +/* EA30FC 802427FC AFBF0024 */ sw $ra, 0x24($sp) +/* EA3100 80242800 AFB40020 */ sw $s4, 0x20($sp) +/* EA3104 80242804 AFB3001C */ sw $s3, 0x1c($sp) +/* EA3108 80242808 AFB20018 */ sw $s2, 0x18($sp) +/* EA310C 8024280C AFB00010 */ sw $s0, 0x10($sp) +/* EA3110 80242810 F7BC0048 */ sdc1 $f28, 0x48($sp) +/* EA3114 80242814 F7BA0040 */ sdc1 $f26, 0x40($sp) +/* EA3118 80242818 F7B80038 */ sdc1 $f24, 0x38($sp) +/* EA311C 8024281C F7B60030 */ sdc1 $f22, 0x30($sp) +/* EA3120 80242820 F7B40028 */ sdc1 $f20, 0x28($sp) +/* EA3124 80242824 8E30000C */ lw $s0, 0xc($s1) +/* EA3128 80242828 8E130000 */ lw $s3, ($s0) +/* EA312C 8024282C 26100004 */ addiu $s0, $s0, 4 +/* EA3130 80242830 0C0B53A3 */ jal func_802D4E8C +/* EA3134 80242834 0260282D */ daddu $a1, $s3, $zero +/* EA3138 80242838 4482E000 */ mtc1 $v0, $f28 +/* EA313C 8024283C 00000000 */ nop +/* EA3140 80242840 4680E720 */ cvt.s.w $f28, $f28 +/* EA3144 80242844 8E140000 */ lw $s4, ($s0) +/* EA3148 80242848 26100004 */ addiu $s0, $s0, 4 +/* EA314C 8024284C 0220202D */ daddu $a0, $s1, $zero +/* EA3150 80242850 0C0B53A3 */ jal func_802D4E8C +/* EA3154 80242854 0280282D */ daddu $a1, $s4, $zero +/* EA3158 80242858 4482D000 */ mtc1 $v0, $f26 +/* EA315C 8024285C 00000000 */ nop +/* EA3160 80242860 4680D6A0 */ cvt.s.w $f26, $f26 +/* EA3164 80242864 8E100000 */ lw $s0, ($s0) +/* EA3168 80242868 0220202D */ daddu $a0, $s1, $zero +/* EA316C 8024286C 0C0B53A3 */ jal func_802D4E8C +/* EA3170 80242870 0200282D */ daddu $a1, $s0, $zero +/* EA3174 80242874 4482C000 */ mtc1 $v0, $f24 +/* EA3178 80242878 00000000 */ nop +/* EA317C 8024287C 4680C620 */ cvt.s.w $f24, $f24 +/* EA3180 80242880 3C128011 */ lui $s2, %hi(D_80117578) +/* EA3184 80242884 26527578 */ addiu $s2, $s2, %lo(D_80117578) +/* EA3188 80242888 3C038008 */ lui $v1, %hi(D_8007C760) +/* EA318C 8024288C 8C63C760 */ lw $v1, %lo(D_8007C760)($v1) +/* EA3190 80242890 C64200A8 */ lwc1 $f2, 0xa8($s2) +/* EA3194 80242894 44800000 */ mtc1 $zero, $f0 +/* EA3198 80242898 00031080 */ sll $v0, $v1, 2 +/* EA319C 8024289C 00431021 */ addu $v0, $v0, $v1 +/* EA31A0 802428A0 00021080 */ sll $v0, $v0, 2 +/* EA31A4 802428A4 00431023 */ subu $v0, $v0, $v1 +/* EA31A8 802428A8 000218C0 */ sll $v1, $v0, 3 +/* EA31AC 802428AC 00431021 */ addu $v0, $v0, $v1 +/* EA31B0 802428B0 000210C0 */ sll $v0, $v0, 3 +/* EA31B4 802428B4 46001032 */ c.eq.s $f2, $f0 +/* EA31B8 802428B8 3C01800C */ lui $at, %hi(D_800B8DEC) +/* EA31BC 802428BC 00220821 */ addu $at, $at, $v0 +/* EA31C0 802428C0 C4368DEC */ lwc1 $f22, %lo(D_800B8DEC)($at) +/* EA31C4 802428C4 45000005 */ bc1f .L802428DC +/* EA31C8 802428C8 00000000 */ nop +/* EA31CC 802428CC 3C0142C8 */ lui $at, 0x42c8 +/* EA31D0 802428D0 44810000 */ mtc1 $at, $f0 +/* EA31D4 802428D4 08090A3B */ j .L802428EC +/* EA31D8 802428D8 4600B581 */ sub.s $f22, $f22, $f0 +.L802428DC: +/* EA31DC 802428DC 3C0142C8 */ lui $at, 0x42c8 +/* EA31E0 802428E0 44810000 */ mtc1 $at, $f0 +/* EA31E4 802428E4 00000000 */ nop +/* EA31E8 802428E8 4600B580 */ add.s $f22, $f22, $f0 +.L802428EC: +/* EA31EC 802428EC 0C00AB85 */ jal func_8002AE14 +/* EA31F0 802428F0 4600B306 */ mov.s $f12, $f22 +/* EA31F4 802428F4 46000586 */ mov.s $f22, $f0 +/* EA31F8 802428F8 3C014170 */ lui $at, 0x4170 +/* EA31FC 802428FC 4481A000 */ mtc1 $at, $f20 +/* EA3200 80242900 0C00AD77 */ jal func_8002B5DC +/* EA3204 80242904 4600B306 */ mov.s $f12, $f22 +/* EA3208 80242908 46140002 */ mul.s $f0, $f0, $f20 +/* EA320C 8024290C 00000000 */ nop +/* EA3210 80242910 864200B0 */ lh $v0, 0xb0($s2) +/* EA3214 80242914 3C013F00 */ lui $at, 0x3f00 +/* EA3218 80242918 44812000 */ mtc1 $at, $f4 +/* EA321C 8024291C 44821000 */ mtc1 $v0, $f2 +/* EA3220 80242920 00000000 */ nop +/* EA3224 80242924 468010A0 */ cvt.s.w $f2, $f2 +/* EA3228 80242928 46041082 */ mul.s $f2, $f2, $f4 +/* EA322C 8024292C 00000000 */ nop +/* EA3230 80242930 4600E700 */ add.s $f28, $f28, $f0 +/* EA3234 80242934 4602D680 */ add.s $f26, $f26, $f2 +/* EA3238 80242938 0C00AD90 */ jal func_8002B640 +/* EA323C 8024293C 4600B306 */ mov.s $f12, $f22 +/* EA3240 80242940 46140002 */ mul.s $f0, $f0, $f20 +/* EA3244 80242944 00000000 */ nop +/* EA3248 80242948 0220202D */ daddu $a0, $s1, $zero +/* EA324C 8024294C 0260282D */ daddu $a1, $s3, $zero +/* EA3250 80242950 4600E18D */ trunc.w.s $f6, $f28 +/* EA3254 80242954 44063000 */ mfc1 $a2, $f6 +/* EA3258 80242958 0C0B551A */ jal func_802D5468 +/* EA325C 8024295C 4600C601 */ sub.s $f24, $f24, $f0 +/* EA3260 80242960 0220202D */ daddu $a0, $s1, $zero +/* EA3264 80242964 4600D18D */ trunc.w.s $f6, $f26 +/* EA3268 80242968 44063000 */ mfc1 $a2, $f6 +/* EA326C 8024296C 0C0B551A */ jal func_802D5468 +/* EA3270 80242970 0280282D */ daddu $a1, $s4, $zero +/* EA3274 80242974 0220202D */ daddu $a0, $s1, $zero +/* EA3278 80242978 4600C18D */ trunc.w.s $f6, $f24 +/* EA327C 8024297C 44063000 */ mfc1 $a2, $f6 +/* EA3280 80242980 0C0B551A */ jal func_802D5468 +/* EA3284 80242984 0200282D */ daddu $a1, $s0, $zero +/* EA3288 80242988 8FBF0024 */ lw $ra, 0x24($sp) +/* EA328C 8024298C 8FB40020 */ lw $s4, 0x20($sp) +/* EA3290 80242990 8FB3001C */ lw $s3, 0x1c($sp) +/* EA3294 80242994 8FB20018 */ lw $s2, 0x18($sp) +/* EA3298 80242998 8FB10014 */ lw $s1, 0x14($sp) +/* EA329C 8024299C 8FB00010 */ lw $s0, 0x10($sp) +/* EA32A0 802429A0 D7BC0048 */ ldc1 $f28, 0x48($sp) +/* EA32A4 802429A4 D7BA0040 */ ldc1 $f26, 0x40($sp) +/* EA32A8 802429A8 D7B80038 */ ldc1 $f24, 0x38($sp) +/* EA32AC 802429AC D7B60030 */ ldc1 $f22, 0x30($sp) +/* EA32B0 802429B0 D7B40028 */ ldc1 $f20, 0x28($sp) +/* EA32B4 802429B4 24020002 */ addiu $v0, $zero, 2 +/* EA32B8 802429B8 03E00008 */ jr $ra +/* EA32BC 802429BC 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EA0C10/func_802429C0_EA32C0.s b/asm/nonmatchings/code_EA0C10/func_802429C0_EA32C0.s new file mode 100644 index 0000000000..fea5569dcd --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_802429C0_EA32C0.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802429C0_EA32C0 +/* EA32C0 802429C0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA32C4 802429C4 AFBF0010 */ sw $ra, 0x10($sp) +/* EA32C8 802429C8 10A00003 */ beqz $a1, .L802429D8 +/* EA32CC 802429CC 8C86000C */ lw $a2, 0xc($a0) +/* EA32D0 802429D0 3C018024 */ lui $at, %hi(D_802441B8) +/* EA32D4 802429D4 AC2041B8 */ sw $zero, %lo(D_802441B8)($at) +.L802429D8: +/* EA32D8 802429D8 3C038024 */ lui $v1, %hi(D_802441B8) +/* EA32DC 802429DC 246341B8 */ addiu $v1, $v1, %lo(D_802441B8) +/* EA32E0 802429E0 8C620000 */ lw $v0, ($v1) +/* EA32E4 802429E4 54400003 */ bnel $v0, $zero, .L802429F4 +/* EA32E8 802429E8 AC600000 */ sw $zero, ($v1) +/* EA32EC 802429EC 08090A82 */ j .L80242A08 +/* EA32F0 802429F0 0000102D */ daddu $v0, $zero, $zero +.L802429F4: +/* EA32F4 802429F4 8CC50000 */ lw $a1, ($a2) +/* EA32F8 802429F8 3C068024 */ lui $a2, %hi(D_802441BC) +/* EA32FC 802429FC 0C0B551A */ jal func_802D5468 +/* EA3300 80242A00 8CC641BC */ lw $a2, %lo(D_802441BC)($a2) +/* EA3304 80242A04 24020002 */ addiu $v0, $zero, 2 +.L80242A08: +/* EA3308 80242A08 8FBF0010 */ lw $ra, 0x10($sp) +/* EA330C 80242A0C 03E00008 */ jr $ra +/* EA3310 80242A10 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA0C10/func_80242A14_EA3314.s b/asm/nonmatchings/code_EA0C10/func_80242A14_EA3314.s new file mode 100644 index 0000000000..72a482003f --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80242A14_EA3314.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242A14_EA3314 +/* EA3314 80242A14 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA3318 80242A18 AFBF0010 */ sw $ra, 0x10($sp) +/* EA331C 80242A1C 8C82000C */ lw $v0, 0xc($a0) +/* EA3320 80242A20 0C0B53A3 */ jal func_802D4E8C +/* EA3324 80242A24 8C450000 */ lw $a1, ($v0) +/* EA3328 80242A28 3C018024 */ lui $at, %hi(D_802441BC) +/* EA332C 80242A2C AC2241BC */ sw $v0, %lo(D_802441BC)($at) +/* EA3330 80242A30 24020002 */ addiu $v0, $zero, 2 +/* EA3334 80242A34 8FBF0010 */ lw $ra, 0x10($sp) +/* EA3338 80242A38 24030001 */ addiu $v1, $zero, 1 +/* EA333C 80242A3C 3C018024 */ lui $at, %hi(D_802441B8) +/* EA3340 80242A40 AC2341B8 */ sw $v1, %lo(D_802441B8)($at) +/* EA3344 80242A44 03E00008 */ jr $ra +/* EA3348 80242A48 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA0C10/func_80242A4C_EA334C.s b/asm/nonmatchings/code_EA0C10/func_80242A4C_EA334C.s new file mode 100644 index 0000000000..15cd9086b4 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80242A4C_EA334C.s @@ -0,0 +1,48 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242A4C_EA334C +/* EA334C 80242A4C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA3350 80242A50 AFBF0010 */ sw $ra, 0x10($sp) +/* EA3354 80242A54 8C82000C */ lw $v0, 0xc($a0) +/* EA3358 80242A58 0C0B53A3 */ jal func_802D4E8C +/* EA335C 80242A5C 8C450000 */ lw $a1, ($v0) +/* EA3360 80242A60 0040182D */ daddu $v1, $v0, $zero +/* EA3364 80242A64 10600012 */ beqz $v1, .L80242AB0 +/* EA3368 80242A68 0000202D */ daddu $a0, $zero, $zero +/* EA336C 80242A6C 8C620000 */ lw $v0, ($v1) +/* EA3370 80242A70 5040000A */ beql $v0, $zero, .L80242A9C +/* EA3374 80242A74 00041080 */ sll $v0, $a0, 2 +/* EA3378 80242A78 3C058024 */ lui $a1, %hi(D_802466D0) +/* EA337C 80242A7C 24A566D0 */ addiu $a1, $a1, %lo(D_802466D0) +.L80242A80: +/* EA3380 80242A80 24630004 */ addiu $v1, $v1, 4 +/* EA3384 80242A84 24840001 */ addiu $a0, $a0, 1 +/* EA3388 80242A88 ACA20000 */ sw $v0, ($a1) +/* EA338C 80242A8C 8C620000 */ lw $v0, ($v1) +/* EA3390 80242A90 1440FFFB */ bnez $v0, .L80242A80 +/* EA3394 80242A94 24A50004 */ addiu $a1, $a1, 4 +/* EA3398 80242A98 00041080 */ sll $v0, $a0, 2 +.L80242A9C: +/* EA339C 80242A9C 3C018024 */ lui $at, %hi(D_802466D0) +/* EA33A0 80242AA0 00220821 */ addu $at, $at, $v0 +/* EA33A4 80242AA4 AC2066D0 */ sw $zero, %lo(D_802466D0)($at) +/* EA33A8 80242AA8 08090AB6 */ j .L80242AD8 +/* EA33AC 80242AAC 00000000 */ nop +.L80242AB0: +/* EA33B0 80242AB0 3C038024 */ lui $v1, %hi(D_802466D0) +/* EA33B4 80242AB4 246366D0 */ addiu $v1, $v1, %lo(D_802466D0) +/* EA33B8 80242AB8 0060282D */ daddu $a1, $v1, $zero +.L80242ABC: +/* EA33BC 80242ABC 24820010 */ addiu $v0, $a0, 0x10 +/* EA33C0 80242AC0 AC620000 */ sw $v0, ($v1) +/* EA33C4 80242AC4 24630004 */ addiu $v1, $v1, 4 +/* EA33C8 80242AC8 24840001 */ addiu $a0, $a0, 1 +/* EA33CC 80242ACC 28820070 */ slti $v0, $a0, 0x70 +/* EA33D0 80242AD0 1440FFFA */ bnez $v0, .L80242ABC +/* EA33D4 80242AD4 ACA001C0 */ sw $zero, 0x1c0($a1) +.L80242AD8: +/* EA33D8 80242AD8 8FBF0010 */ lw $ra, 0x10($sp) +/* EA33DC 80242ADC 24020002 */ addiu $v0, $zero, 2 +/* EA33E0 80242AE0 03E00008 */ jr $ra +/* EA33E4 80242AE4 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA0C10/func_80242AE8_EA33E8.s b/asm/nonmatchings/code_EA0C10/func_80242AE8_EA33E8.s new file mode 100644 index 0000000000..aae2c4d786 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80242AE8_EA33E8.s @@ -0,0 +1,64 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242AE8_EA33E8 +/* EA33E8 80242AE8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA33EC 80242AEC AFB10014 */ sw $s1, 0x14($sp) +/* EA33F0 80242AF0 0080882D */ daddu $s1, $a0, $zero +/* EA33F4 80242AF4 AFBF0018 */ sw $ra, 0x18($sp) +/* EA33F8 80242AF8 AFB00010 */ sw $s0, 0x10($sp) +/* EA33FC 80242AFC 8E30000C */ lw $s0, 0xc($s1) +/* EA3400 80242B00 8E050000 */ lw $a1, ($s0) +/* EA3404 80242B04 0C0B53A3 */ jal func_802D4E8C +/* EA3408 80242B08 26100004 */ addiu $s0, $s0, 4 +/* EA340C 80242B0C AE22008C */ sw $v0, 0x8c($s1) +/* EA3410 80242B10 8E050000 */ lw $a1, ($s0) +/* EA3414 80242B14 26100004 */ addiu $s0, $s0, 4 +/* EA3418 80242B18 0C0B53A3 */ jal func_802D4E8C +/* EA341C 80242B1C 0220202D */ daddu $a0, $s1, $zero +/* EA3420 80242B20 AE220090 */ sw $v0, 0x90($s1) +/* EA3424 80242B24 8E050000 */ lw $a1, ($s0) +/* EA3428 80242B28 26100004 */ addiu $s0, $s0, 4 +/* EA342C 80242B2C 0C0B53A3 */ jal func_802D4E8C +/* EA3430 80242B30 0220202D */ daddu $a0, $s1, $zero +/* EA3434 80242B34 AE220094 */ sw $v0, 0x94($s1) +/* EA3438 80242B38 8E050000 */ lw $a1, ($s0) +/* EA343C 80242B3C 26100004 */ addiu $s0, $s0, 4 +/* EA3440 80242B40 0C0B53A3 */ jal func_802D4E8C +/* EA3444 80242B44 0220202D */ daddu $a0, $s1, $zero +/* EA3448 80242B48 AE220098 */ sw $v0, 0x98($s1) +/* EA344C 80242B4C 8E050000 */ lw $a1, ($s0) +/* EA3450 80242B50 26100004 */ addiu $s0, $s0, 4 +/* EA3454 80242B54 0C0B53A3 */ jal func_802D4E8C +/* EA3458 80242B58 0220202D */ daddu $a0, $s1, $zero +/* EA345C 80242B5C AE22009C */ sw $v0, 0x9c($s1) +/* EA3460 80242B60 8E050000 */ lw $a1, ($s0) +/* EA3464 80242B64 26100004 */ addiu $s0, $s0, 4 +/* EA3468 80242B68 0C0B53A3 */ jal func_802D4E8C +/* EA346C 80242B6C 0220202D */ daddu $a0, $s1, $zero +/* EA3470 80242B70 AE2200A0 */ sw $v0, 0xa0($s1) +/* EA3474 80242B74 8E050000 */ lw $a1, ($s0) +/* EA3478 80242B78 26100004 */ addiu $s0, $s0, 4 +/* EA347C 80242B7C 0C0B53A3 */ jal func_802D4E8C +/* EA3480 80242B80 0220202D */ daddu $a0, $s1, $zero +/* EA3484 80242B84 AE2200A4 */ sw $v0, 0xa4($s1) +/* EA3488 80242B88 8E050000 */ lw $a1, ($s0) +/* EA348C 80242B8C 26100004 */ addiu $s0, $s0, 4 +/* EA3490 80242B90 0C0B53A3 */ jal func_802D4E8C +/* EA3494 80242B94 0220202D */ daddu $a0, $s1, $zero +/* EA3498 80242B98 AE2200A8 */ sw $v0, 0xa8($s1) +/* EA349C 80242B9C 8E050000 */ lw $a1, ($s0) +/* EA34A0 80242BA0 26100004 */ addiu $s0, $s0, 4 +/* EA34A4 80242BA4 0C0B53A3 */ jal func_802D4E8C +/* EA34A8 80242BA8 0220202D */ daddu $a0, $s1, $zero +/* EA34AC 80242BAC AE2200AC */ sw $v0, 0xac($s1) +/* EA34B0 80242BB0 8E050000 */ lw $a1, ($s0) +/* EA34B4 80242BB4 0C0B53A3 */ jal func_802D4E8C +/* EA34B8 80242BB8 0220202D */ daddu $a0, $s1, $zero +/* EA34BC 80242BBC AE2200B0 */ sw $v0, 0xb0($s1) +/* EA34C0 80242BC0 8FBF0018 */ lw $ra, 0x18($sp) +/* EA34C4 80242BC4 8FB10014 */ lw $s1, 0x14($sp) +/* EA34C8 80242BC8 8FB00010 */ lw $s0, 0x10($sp) +/* EA34CC 80242BCC 24020002 */ addiu $v0, $zero, 2 +/* EA34D0 80242BD0 03E00008 */ jr $ra +/* EA34D4 80242BD4 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA0C10/func_80242BD8_EA34D8.s b/asm/nonmatchings/code_EA0C10/func_80242BD8_EA34D8.s new file mode 100644 index 0000000000..b5eaaba8c6 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80242BD8_EA34D8.s @@ -0,0 +1,103 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242BD8_EA34D8 +/* EA34D8 80242BD8 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EA34DC 80242BDC AFB1001C */ sw $s1, 0x1c($sp) +/* EA34E0 80242BE0 0080882D */ daddu $s1, $a0, $zero +/* EA34E4 80242BE4 AFBF0034 */ sw $ra, 0x34($sp) +/* EA34E8 80242BE8 AFB60030 */ sw $s6, 0x30($sp) +/* EA34EC 80242BEC AFB5002C */ sw $s5, 0x2c($sp) +/* EA34F0 80242BF0 AFB40028 */ sw $s4, 0x28($sp) +/* EA34F4 80242BF4 AFB30024 */ sw $s3, 0x24($sp) +/* EA34F8 80242BF8 AFB20020 */ sw $s2, 0x20($sp) +/* EA34FC 80242BFC AFB00018 */ sw $s0, 0x18($sp) +/* EA3500 80242C00 F7B60040 */ sdc1 $f22, 0x40($sp) +/* EA3504 80242C04 F7B40038 */ sdc1 $f20, 0x38($sp) +/* EA3508 80242C08 8E30000C */ lw $s0, 0xc($s1) +/* EA350C 80242C0C 8E160000 */ lw $s6, ($s0) +/* EA3510 80242C10 26100004 */ addiu $s0, $s0, 4 +/* EA3514 80242C14 0C0B53A3 */ jal func_802D4E8C +/* EA3518 80242C18 02C0282D */ daddu $a1, $s6, $zero +/* EA351C 80242C1C 44820000 */ mtc1 $v0, $f0 +/* EA3520 80242C20 00000000 */ nop +/* EA3524 80242C24 46800020 */ cvt.s.w $f0, $f0 +/* EA3528 80242C28 E7A00010 */ swc1 $f0, 0x10($sp) +/* EA352C 80242C2C 8E140000 */ lw $s4, ($s0) +/* EA3530 80242C30 26100004 */ addiu $s0, $s0, 4 +/* EA3534 80242C34 0220202D */ daddu $a0, $s1, $zero +/* EA3538 80242C38 0C0B53A3 */ jal func_802D4E8C +/* EA353C 80242C3C 0280282D */ daddu $a1, $s4, $zero +/* EA3540 80242C40 0220202D */ daddu $a0, $s1, $zero +/* EA3544 80242C44 8E150000 */ lw $s5, ($s0) +/* EA3548 80242C48 4482B000 */ mtc1 $v0, $f22 +/* EA354C 80242C4C 00000000 */ nop +/* EA3550 80242C50 4680B5A0 */ cvt.s.w $f22, $f22 +/* EA3554 80242C54 0C0B53A3 */ jal func_802D4E8C +/* EA3558 80242C58 02A0282D */ daddu $a1, $s5, $zero +/* EA355C 80242C5C 2404FFFC */ addiu $a0, $zero, -4 +/* EA3560 80242C60 44820000 */ mtc1 $v0, $f0 +/* EA3564 80242C64 00000000 */ nop +/* EA3568 80242C68 46800020 */ cvt.s.w $f0, $f0 +/* EA356C 80242C6C 0C00F92F */ jal func_8003E4BC +/* EA3570 80242C70 E7A00014 */ swc1 $f0, 0x14($sp) +/* EA3574 80242C74 3C048008 */ lui $a0, %hi(D_8007C760) +/* EA3578 80242C78 8C84C760 */ lw $a0, %lo(D_8007C760)($a0) +/* EA357C 80242C7C 3C014334 */ lui $at, 0x4334 +/* EA3580 80242C80 44816000 */ mtc1 $at, $f12 +/* EA3584 80242C84 00041880 */ sll $v1, $a0, 2 +/* EA3588 80242C88 00641821 */ addu $v1, $v1, $a0 +/* EA358C 80242C8C 00031880 */ sll $v1, $v1, 2 +/* EA3590 80242C90 00641823 */ subu $v1, $v1, $a0 +/* EA3594 80242C94 000320C0 */ sll $a0, $v1, 3 +/* EA3598 80242C98 00641821 */ addu $v1, $v1, $a0 +/* EA359C 80242C9C 000318C0 */ sll $v1, $v1, 3 +/* EA35A0 80242CA0 3C01800C */ lui $at, %hi(D_800B8DEC) +/* EA35A4 80242CA4 00230821 */ addu $at, $at, $v1 +/* EA35A8 80242CA8 C4208DEC */ lwc1 $f0, %lo(D_800B8DEC)($at) +/* EA35AC 80242CAC 460C0300 */ add.s $f12, $f0, $f12 +/* EA35B0 80242CB0 0C00AB85 */ jal func_8002AE14 +/* EA35B4 80242CB4 0040982D */ daddu $s3, $v0, $zero +/* EA35B8 80242CB8 27B00010 */ addiu $s0, $sp, 0x10 +/* EA35BC 80242CBC 0200202D */ daddu $a0, $s0, $zero +/* EA35C0 80242CC0 27B20014 */ addiu $s2, $sp, 0x14 +/* EA35C4 80242CC4 0240282D */ daddu $a1, $s2, $zero +/* EA35C8 80242CC8 3C064170 */ lui $a2, 0x4170 +/* EA35CC 80242CCC 8E67000C */ lw $a3, 0xc($s3) +/* EA35D0 80242CD0 0C00ACA3 */ jal func_8002B28C +/* EA35D4 80242CD4 46000506 */ mov.s $f20, $f0 +/* EA35D8 80242CD8 0200202D */ daddu $a0, $s0, $zero +/* EA35DC 80242CDC 3C064120 */ lui $a2, 0x4120 +/* EA35E0 80242CE0 4407A000 */ mfc1 $a3, $f20 +/* EA35E4 80242CE4 0C00ACA3 */ jal func_8002B28C +/* EA35E8 80242CE8 0240282D */ daddu $a1, $s2, $zero +/* EA35EC 80242CEC 0220202D */ daddu $a0, $s1, $zero +/* EA35F0 80242CF0 C7A00010 */ lwc1 $f0, 0x10($sp) +/* EA35F4 80242CF4 4600008D */ trunc.w.s $f2, $f0 +/* EA35F8 80242CF8 44061000 */ mfc1 $a2, $f2 +/* EA35FC 80242CFC 0C0B551A */ jal func_802D5468 +/* EA3600 80242D00 02C0282D */ daddu $a1, $s6, $zero +/* EA3604 80242D04 0220202D */ daddu $a0, $s1, $zero +/* EA3608 80242D08 4600B08D */ trunc.w.s $f2, $f22 +/* EA360C 80242D0C 44061000 */ mfc1 $a2, $f2 +/* EA3610 80242D10 0C0B551A */ jal func_802D5468 +/* EA3614 80242D14 0280282D */ daddu $a1, $s4, $zero +/* EA3618 80242D18 0220202D */ daddu $a0, $s1, $zero +/* EA361C 80242D1C C7A00014 */ lwc1 $f0, 0x14($sp) +/* EA3620 80242D20 4600008D */ trunc.w.s $f2, $f0 +/* EA3624 80242D24 44061000 */ mfc1 $a2, $f2 +/* EA3628 80242D28 0C0B551A */ jal func_802D5468 +/* EA362C 80242D2C 02A0282D */ daddu $a1, $s5, $zero +/* EA3630 80242D30 8FBF0034 */ lw $ra, 0x34($sp) +/* EA3634 80242D34 8FB60030 */ lw $s6, 0x30($sp) +/* EA3638 80242D38 8FB5002C */ lw $s5, 0x2c($sp) +/* EA363C 80242D3C 8FB40028 */ lw $s4, 0x28($sp) +/* EA3640 80242D40 8FB30024 */ lw $s3, 0x24($sp) +/* EA3644 80242D44 8FB20020 */ lw $s2, 0x20($sp) +/* EA3648 80242D48 8FB1001C */ lw $s1, 0x1c($sp) +/* EA364C 80242D4C 8FB00018 */ lw $s0, 0x18($sp) +/* EA3650 80242D50 D7B60040 */ ldc1 $f22, 0x40($sp) +/* EA3654 80242D54 D7B40038 */ ldc1 $f20, 0x38($sp) +/* EA3658 80242D58 24020002 */ addiu $v0, $zero, 2 +/* EA365C 80242D5C 03E00008 */ jr $ra +/* EA3660 80242D60 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EA0C10/func_80242D64_EA3664.s b/asm/nonmatchings/code_EA0C10/func_80242D64_EA3664.s new file mode 100644 index 0000000000..49c4ca9592 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80242D64_EA3664.s @@ -0,0 +1,21 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242D64_EA3664 +/* EA3664 80242D64 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA3668 80242D68 AFB00010 */ sw $s0, 0x10($sp) +/* EA366C 80242D6C 0080802D */ daddu $s0, $a0, $zero +/* EA3670 80242D70 AFBF0014 */ sw $ra, 0x14($sp) +/* EA3674 80242D74 0C00F92F */ jal func_8003E4BC +/* EA3678 80242D78 8E04008C */ lw $a0, 0x8c($s0) +/* EA367C 80242D7C 0040282D */ daddu $a1, $v0, $zero +/* EA3680 80242D80 8E040094 */ lw $a0, 0x94($s0) +/* EA3684 80242D84 8CA30028 */ lw $v1, 0x28($a1) +/* EA3688 80242D88 ACA40028 */ sw $a0, 0x28($a1) +/* EA368C 80242D8C 8FBF0014 */ lw $ra, 0x14($sp) +/* EA3690 80242D90 8FB00010 */ lw $s0, 0x10($sp) +/* EA3694 80242D94 24020002 */ addiu $v0, $zero, 2 +/* EA3698 80242D98 3C018024 */ lui $at, %hi(D_80246894) +/* EA369C 80242D9C AC236894 */ sw $v1, %lo(D_80246894)($at) +/* EA36A0 80242DA0 03E00008 */ jr $ra +/* EA36A4 80242DA4 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA0C10/func_80242DA8_EA36A8.s b/asm/nonmatchings/code_EA0C10/func_80242DA8_EA36A8.s new file mode 100644 index 0000000000..ca33f84d79 --- /dev/null +++ b/asm/nonmatchings/code_EA0C10/func_80242DA8_EA36A8.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242DA8_EA36A8 +/* EA36A8 80242DA8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA36AC 80242DAC AFBF0010 */ sw $ra, 0x10($sp) +/* EA36B0 80242DB0 0C00F92F */ jal func_8003E4BC +/* EA36B4 80242DB4 8C84008C */ lw $a0, 0x8c($a0) +/* EA36B8 80242DB8 3C038024 */ lui $v1, %hi(D_80246894) +/* EA36BC 80242DBC 8C636894 */ lw $v1, %lo(D_80246894)($v1) +/* EA36C0 80242DC0 AC430028 */ sw $v1, 0x28($v0) +/* EA36C4 80242DC4 8FBF0010 */ lw $ra, 0x10($sp) +/* EA36C8 80242DC8 24020002 */ addiu $v0, $zero, 2 +/* EA36CC 80242DCC 03E00008 */ jr $ra +/* EA36D0 80242DD0 27BD0018 */ addiu $sp, $sp, 0x18 +/* EA36D4 80242DD4 00000000 */ nop +/* EA36D8 80242DD8 00000000 */ nop +/* EA36DC 80242DDC 00000000 */ nop diff --git a/asm/nonmatchings/code_EA36E0/func_80242DE0_EA36E0.s b/asm/nonmatchings/code_EA36E0/func_80242DE0_EA36E0.s new file mode 100644 index 0000000000..1d85d1d3d4 --- /dev/null +++ b/asm/nonmatchings/code_EA36E0/func_80242DE0_EA36E0.s @@ -0,0 +1,12 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242DE0_EA36E0 +/* EA36E0 80242DE0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA36E4 80242DE4 AFBF0010 */ sw $ra, 0x10($sp) +/* EA36E8 80242DE8 0C03C7BE */ jal func_800F1EF8 +/* EA36EC 80242DEC 24040001 */ addiu $a0, $zero, 1 +/* EA36F0 80242DF0 8FBF0010 */ lw $ra, 0x10($sp) +/* EA36F4 80242DF4 24020002 */ addiu $v0, $zero, 2 +/* EA36F8 80242DF8 03E00008 */ jr $ra +/* EA36FC 80242DFC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA36E0/func_80242E00_EA3700.s b/asm/nonmatchings/code_EA36E0/func_80242E00_EA3700.s new file mode 100644 index 0000000000..bc4d39c466 --- /dev/null +++ b/asm/nonmatchings/code_EA36E0/func_80242E00_EA3700.s @@ -0,0 +1,17 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242E00_EA3700 +/* EA3700 80242E00 3C038011 */ lui $v1, %hi(D_80117160) +/* EA3704 80242E04 24637160 */ addiu $v1, $v1, %lo(D_80117160) +/* EA3708 80242E08 80620000 */ lb $v0, ($v1) +/* EA370C 80242E0C 10400004 */ beqz $v0, .L80242E20 +/* EA3710 80242E10 2402FFFF */ addiu $v0, $zero, -1 +/* EA3714 80242E14 80620003 */ lb $v0, 3($v1) +/* EA3718 80242E18 08090B89 */ j .L80242E24 +/* EA371C 80242E1C AC820084 */ sw $v0, 0x84($a0) +.L80242E20: +/* EA3720 80242E20 AC820084 */ sw $v0, 0x84($a0) +.L80242E24: +/* EA3724 80242E24 03E00008 */ jr $ra +/* EA3728 80242E28 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EA36E0/func_80242E2C_EA372C.s b/asm/nonmatchings/code_EA36E0/func_80242E2C_EA372C.s new file mode 100644 index 0000000000..38689fd1ed --- /dev/null +++ b/asm/nonmatchings/code_EA36E0/func_80242E2C_EA372C.s @@ -0,0 +1,43 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242E2C_EA372C +/* EA372C 80242E2C 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EA3730 80242E30 AFB00028 */ sw $s0, 0x28($sp) +/* EA3734 80242E34 0080802D */ daddu $s0, $a0, $zero +/* EA3738 80242E38 AFBF002C */ sw $ra, 0x2c($sp) +/* EA373C 80242E3C C6000084 */ lwc1 $f0, 0x84($s0) +/* EA3740 80242E40 46800020 */ cvt.s.w $f0, $f0 +/* EA3744 80242E44 E7A00018 */ swc1 $f0, 0x18($sp) +/* EA3748 80242E48 C600008C */ lwc1 $f0, 0x8c($s0) +/* EA374C 80242E4C 46800020 */ cvt.s.w $f0, $f0 +/* EA3750 80242E50 27A20024 */ addiu $v0, $sp, 0x24 +/* EA3754 80242E54 3C040001 */ lui $a0, 1 +/* EA3758 80242E58 27A50018 */ addiu $a1, $sp, 0x18 +/* EA375C 80242E5C 27A6001C */ addiu $a2, $sp, 0x1c +/* EA3760 80242E60 3C0144FA */ lui $at, 0x44fa +/* EA3764 80242E64 44811000 */ mtc1 $at, $f2 +/* EA3768 80242E68 27A70020 */ addiu $a3, $sp, 0x20 +/* EA376C 80242E6C E7A0001C */ swc1 $f0, 0x1c($sp) +/* EA3770 80242E70 AFA00020 */ sw $zero, 0x20($sp) +/* EA3774 80242E74 E7A20024 */ swc1 $f2, 0x24($sp) +/* EA3778 80242E78 0C03908F */ jal func_800E423C +/* EA377C 80242E7C AFA20010 */ sw $v0, 0x10($sp) +/* EA3780 80242E80 1040000B */ beqz $v0, .L80242EB0 +/* EA3784 80242E84 00000000 */ nop +/* EA3788 80242E88 C7A2001C */ lwc1 $f2, 0x1c($sp) +/* EA378C 80242E8C 3C01425C */ lui $at, 0x425c +/* EA3790 80242E90 44810000 */ mtc1 $at, $f0 +/* EA3794 80242E94 00000000 */ nop +/* EA3798 80242E98 46001080 */ add.s $f2, $f2, $f0 +/* EA379C 80242E9C C7A00018 */ lwc1 $f0, 0x18($sp) +/* EA37A0 80242EA0 4600010D */ trunc.w.s $f4, $f0 +/* EA37A4 80242EA4 E6040084 */ swc1 $f4, 0x84($s0) +/* EA37A8 80242EA8 4600110D */ trunc.w.s $f4, $f2 +/* EA37AC 80242EAC E604008C */ swc1 $f4, 0x8c($s0) +.L80242EB0: +/* EA37B0 80242EB0 8FBF002C */ lw $ra, 0x2c($sp) +/* EA37B4 80242EB4 8FB00028 */ lw $s0, 0x28($sp) +/* EA37B8 80242EB8 24020002 */ addiu $v0, $zero, 2 +/* EA37BC 80242EBC 03E00008 */ jr $ra +/* EA37C0 80242EC0 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_EA36E0/func_80242EC4_EA37C4.s b/asm/nonmatchings/code_EA36E0/func_80242EC4_EA37C4.s new file mode 100644 index 0000000000..dd9de03225 --- /dev/null +++ b/asm/nonmatchings/code_EA36E0/func_80242EC4_EA37C4.s @@ -0,0 +1,45 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242EC4_EA37C4 +/* EA37C4 80242EC4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA37C8 80242EC8 AFB00010 */ sw $s0, 0x10($sp) +/* EA37CC 80242ECC 0080802D */ daddu $s0, $a0, $zero +/* EA37D0 80242ED0 3C028011 */ lui $v0, %hi(D_80117578) +/* EA37D4 80242ED4 24427578 */ addiu $v0, $v0, %lo(D_80117578) +/* EA37D8 80242ED8 AFBF0014 */ sw $ra, 0x14($sp) +/* EA37DC 80242EDC C4400028 */ lwc1 $f0, 0x28($v0) +/* EA37E0 80242EE0 C6020084 */ lwc1 $f2, 0x84($s0) +/* EA37E4 80242EE4 468010A0 */ cvt.s.w $f2, $f2 +/* EA37E8 80242EE8 46001081 */ sub.s $f2, $f2, $f0 +/* EA37EC 80242EEC 46021082 */ mul.s $f2, $f2, $f2 +/* EA37F0 80242EF0 00000000 */ nop +/* EA37F4 80242EF4 C440002C */ lwc1 $f0, 0x2c($v0) +/* EA37F8 80242EF8 C604008C */ lwc1 $f4, 0x8c($s0) +/* EA37FC 80242EFC 46802120 */ cvt.s.w $f4, $f4 +/* EA3800 80242F00 46002101 */ sub.s $f4, $f4, $f0 +/* EA3804 80242F04 46042102 */ mul.s $f4, $f4, $f4 +/* EA3808 80242F08 00000000 */ nop +/* EA380C 80242F0C C4460030 */ lwc1 $f6, 0x30($v0) +/* EA3810 80242F10 44800000 */ mtc1 $zero, $f0 +/* EA3814 80242F14 00000000 */ nop +/* EA3818 80242F18 46060001 */ sub.s $f0, $f0, $f6 +/* EA381C 80242F1C 46000002 */ mul.s $f0, $f0, $f0 +/* EA3820 80242F20 00000000 */ nop +/* EA3824 80242F24 46041080 */ add.s $f2, $f2, $f4 +/* EA3828 80242F28 46001300 */ add.s $f12, $f2, $f0 +/* EA382C 80242F2C 46006004 */ sqrt.s $f0, $f12 +/* EA3830 80242F30 46000032 */ c.eq.s $f0, $f0 +/* EA3834 80242F34 00000000 */ nop +/* EA3838 80242F38 45010003 */ bc1t .L80242F48 +/* EA383C 80242F3C 00000000 */ nop +/* EA3840 80242F40 0C019C10 */ jal func_80067040 +/* EA3844 80242F44 00000000 */ nop +.L80242F48: +/* EA3848 80242F48 4600020D */ trunc.w.s $f8, $f0 +/* EA384C 80242F4C E6080094 */ swc1 $f8, 0x94($s0) +/* EA3850 80242F50 8FBF0014 */ lw $ra, 0x14($sp) +/* EA3854 80242F54 8FB00010 */ lw $s0, 0x10($sp) +/* EA3858 80242F58 24020002 */ addiu $v0, $zero, 2 +/* EA385C 80242F5C 03E00008 */ jr $ra +/* EA3860 80242F60 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA36E0/func_80242F64_EA3864.s b/asm/nonmatchings/code_EA36E0/func_80242F64_EA3864.s new file mode 100644 index 0000000000..8ea66e07ad --- /dev/null +++ b/asm/nonmatchings/code_EA36E0/func_80242F64_EA3864.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242F64_EA3864 +/* EA3864 80242F64 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA3868 80242F68 AFBF0010 */ sw $ra, 0x10($sp) +/* EA386C 80242F6C 8C82000C */ lw $v0, 0xc($a0) +/* EA3870 80242F70 0C0B53A3 */ jal func_802D4E8C +/* EA3874 80242F74 8C450000 */ lw $a1, ($v0) +/* EA3878 80242F78 44820000 */ mtc1 $v0, $f0 +/* EA387C 80242F7C 00000000 */ nop +/* EA3880 80242F80 46800020 */ cvt.s.w $f0, $f0 +/* EA3884 80242F84 8FBF0010 */ lw $ra, 0x10($sp) +/* EA3888 80242F88 24020002 */ addiu $v0, $zero, 2 +/* EA388C 80242F8C 3C018011 */ lui $at, %hi(D_80117604) +/* EA3890 80242F90 E4207604 */ swc1 $f0, %lo(D_80117604)($at) +/* EA3894 80242F94 03E00008 */ jr $ra +/* EA3898 80242F98 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA36E0/func_80242F9C_EA389C.s b/asm/nonmatchings/code_EA36E0/func_80242F9C_EA389C.s new file mode 100644 index 0000000000..38cc553c6a --- /dev/null +++ b/asm/nonmatchings/code_EA36E0/func_80242F9C_EA389C.s @@ -0,0 +1,50 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242F9C_EA389C +/* EA389C 80242F9C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA38A0 80242FA0 AFB00010 */ sw $s0, 0x10($sp) +/* EA38A4 80242FA4 0080802D */ daddu $s0, $a0, $zero +/* EA38A8 80242FA8 AFBF0014 */ sw $ra, 0x14($sp) +/* EA38AC 80242FAC F7B40018 */ sdc1 $f20, 0x18($sp) +/* EA38B0 80242FB0 C60C0090 */ lwc1 $f12, 0x90($s0) +/* EA38B4 80242FB4 46806320 */ cvt.s.w $f12, $f12 +/* EA38B8 80242FB8 3C018024 */ lui $at, %hi(D_802466B0) +/* EA38BC 80242FBC D43466B0 */ ldc1 $f20, %lo(D_802466B0)($at) +/* EA38C0 80242FC0 46006307 */ neg.s $f12, $f12 +/* EA38C4 80242FC4 46006321 */ cvt.d.s $f12, $f12 +/* EA38C8 80242FC8 46346301 */ sub.d $f12, $f12, $f20 +/* EA38CC 80242FCC 0C00AD90 */ jal func_8002B640 +/* EA38D0 80242FD0 46206320 */ cvt.s.d $f12, $f12 +/* EA38D4 80242FD4 3C014008 */ lui $at, 0x4008 +/* EA38D8 80242FD8 44811800 */ mtc1 $at, $f3 +/* EA38DC 80242FDC 44801000 */ mtc1 $zero, $f2 +/* EA38E0 80242FE0 46000021 */ cvt.d.s $f0, $f0 +/* EA38E4 80242FE4 46220002 */ mul.d $f0, $f0, $f2 +/* EA38E8 80242FE8 00000000 */ nop +/* EA38EC 80242FEC C60C0090 */ lwc1 $f12, 0x90($s0) +/* EA38F0 80242FF0 46806320 */ cvt.s.w $f12, $f12 +/* EA38F4 80242FF4 46006307 */ neg.s $f12, $f12 +/* EA38F8 80242FF8 46006321 */ cvt.d.s $f12, $f12 +/* EA38FC 80242FFC 46346301 */ sub.d $f12, $f12, $f20 +/* EA3900 80243000 3C018024 */ lui $at, %hi(D_802466B8) +/* EA3904 80243004 D42266B8 */ ldc1 $f2, %lo(D_802466B8)($at) +/* EA3908 80243008 46220001 */ sub.d $f0, $f0, $f2 +/* EA390C 8024300C 4620010D */ trunc.w.d $f4, $f0 +/* EA3910 80243010 E6040098 */ swc1 $f4, 0x98($s0) +/* EA3914 80243014 0C00AD77 */ jal func_8002B5DC +/* EA3918 80243018 46206320 */ cvt.s.d $f12, $f12 +/* EA391C 8024301C 3C014014 */ lui $at, 0x4014 +/* EA3920 80243020 44811800 */ mtc1 $at, $f3 +/* EA3924 80243024 44801000 */ mtc1 $zero, $f2 +/* EA3928 80243028 46000021 */ cvt.d.s $f0, $f0 +/* EA392C 8024302C 46220002 */ mul.d $f0, $f0, $f2 +/* EA3930 80243030 00000000 */ nop +/* EA3934 80243034 4620010D */ trunc.w.d $f4, $f0 +/* EA3938 80243038 E604009C */ swc1 $f4, 0x9c($s0) +/* EA393C 8024303C 8FBF0014 */ lw $ra, 0x14($sp) +/* EA3940 80243040 8FB00010 */ lw $s0, 0x10($sp) +/* EA3944 80243044 D7B40018 */ ldc1 $f20, 0x18($sp) +/* EA3948 80243048 24020002 */ addiu $v0, $zero, 2 +/* EA394C 8024304C 03E00008 */ jr $ra +/* EA3950 80243050 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA36E0/func_80243054_EA3954.s b/asm/nonmatchings/code_EA36E0/func_80243054_EA3954.s new file mode 100644 index 0000000000..d2141ff614 --- /dev/null +++ b/asm/nonmatchings/code_EA36E0/func_80243054_EA3954.s @@ -0,0 +1,41 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80243054_EA3954 +/* EA3954 80243054 3C018024 */ lui $at, %hi(D_802466C0) +/* EA3958 80243058 D42266C0 */ ldc1 $f2, %lo(D_802466C0)($at) +/* EA395C 8024305C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA3960 80243060 AFB00010 */ sw $s0, 0x10($sp) +/* EA3964 80243064 0080802D */ daddu $s0, $a0, $zero +/* EA3968 80243068 AFBF0014 */ sw $ra, 0x14($sp) +/* EA396C 8024306C C6000084 */ lwc1 $f0, 0x84($s0) +/* EA3970 80243070 46800021 */ cvt.d.w $f0, $f0 +/* EA3974 80243074 46201081 */ sub.d $f2, $f2, $f0 +/* EA3978 80243078 462010A0 */ cvt.s.d $f2, $f2 +/* EA397C 8024307C 46021082 */ mul.s $f2, $f2, $f2 +/* EA3980 80243080 00000000 */ nop +/* EA3984 80243084 3C018024 */ lui $at, %hi(D_802466C8) +/* EA3988 80243088 D42066C8 */ ldc1 $f0, %lo(D_802466C8)($at) +/* EA398C 8024308C C604008C */ lwc1 $f4, 0x8c($s0) +/* EA3990 80243090 46802121 */ cvt.d.w $f4, $f4 +/* EA3994 80243094 46240001 */ sub.d $f0, $f0, $f4 +/* EA3998 80243098 46200020 */ cvt.s.d $f0, $f0 +/* EA399C 8024309C 46000002 */ mul.s $f0, $f0, $f0 +/* EA39A0 802430A0 00000000 */ nop +/* EA39A4 802430A4 46001300 */ add.s $f12, $f2, $f0 +/* EA39A8 802430A8 46006004 */ sqrt.s $f0, $f12 +/* EA39AC 802430AC 46000032 */ c.eq.s $f0, $f0 +/* EA39B0 802430B0 00000000 */ nop +/* EA39B4 802430B4 45030004 */ bc1tl .L802430C8 +/* EA39B8 802430B8 46000007 */ neg.s $f0, $f0 +/* EA39BC 802430BC 0C019C10 */ jal func_80067040 +/* EA39C0 802430C0 00000000 */ nop +/* EA39C4 802430C4 46000007 */ neg.s $f0, $f0 +.L802430C8: +/* EA39C8 802430C8 4600018D */ trunc.w.s $f6, $f0 +/* EA39CC 802430CC E6060090 */ swc1 $f6, 0x90($s0) +/* EA39D0 802430D0 8FBF0014 */ lw $ra, 0x14($sp) +/* EA39D4 802430D4 8FB00010 */ lw $s0, 0x10($sp) +/* EA39D8 802430D8 24020002 */ addiu $v0, $zero, 2 +/* EA39DC 802430DC 03E00008 */ jr $ra +/* EA39E0 802430E0 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA36E0/func_802430E4_EA39E4.s b/asm/nonmatchings/code_EA36E0/func_802430E4_EA39E4.s new file mode 100644 index 0000000000..4f2898a77f --- /dev/null +++ b/asm/nonmatchings/code_EA36E0/func_802430E4_EA39E4.s @@ -0,0 +1,43 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802430E4_EA39E4 +/* EA39E4 802430E4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EA39E8 802430E8 AFB1001C */ sw $s1, 0x1c($sp) +/* EA39EC 802430EC 0080882D */ daddu $s1, $a0, $zero +/* EA39F0 802430F0 AFBF0020 */ sw $ra, 0x20($sp) +/* EA39F4 802430F4 AFB00018 */ sw $s0, 0x18($sp) +/* EA39F8 802430F8 8E30000C */ lw $s0, 0xc($s1) +/* EA39FC 802430FC 8E050000 */ lw $a1, ($s0) +/* EA3A00 80243100 0C0B53A3 */ jal func_802D4E8C +/* EA3A04 80243104 26100004 */ addiu $s0, $s0, 4 +/* EA3A08 80243108 AE220070 */ sw $v0, 0x70($s1) +/* EA3A0C 8024310C 8E050000 */ lw $a1, ($s0) +/* EA3A10 80243110 26100004 */ addiu $s0, $s0, 4 +/* EA3A14 80243114 0C0B53A3 */ jal func_802D4E8C +/* EA3A18 80243118 0220202D */ daddu $a0, $s1, $zero +/* EA3A1C 8024311C AE220074 */ sw $v0, 0x74($s1) +/* EA3A20 80243120 8E050000 */ lw $a1, ($s0) +/* EA3A24 80243124 0C0B53A3 */ jal func_802D4E8C +/* EA3A28 80243128 0220202D */ daddu $a0, $s1, $zero +/* EA3A2C 8024312C 24040052 */ addiu $a0, $zero, 0x52 +/* EA3A30 80243130 0000282D */ daddu $a1, $zero, $zero +/* EA3A34 80243134 C6200070 */ lwc1 $f0, 0x70($s1) +/* EA3A38 80243138 46800020 */ cvt.s.w $f0, $f0 +/* EA3A3C 8024313C C6220074 */ lwc1 $f2, 0x74($s1) +/* EA3A40 80243140 468010A0 */ cvt.s.w $f2, $f2 +/* EA3A44 80243144 44060000 */ mfc1 $a2, $f0 +/* EA3A48 80243148 44071000 */ mfc1 $a3, $f2 +/* EA3A4C 8024314C 44820000 */ mtc1 $v0, $f0 +/* EA3A50 80243150 00000000 */ nop +/* EA3A54 80243154 46800020 */ cvt.s.w $f0, $f0 +/* EA3A58 80243158 AE220078 */ sw $v0, 0x78($s1) +/* EA3A5C 8024315C 0C055C13 */ jal func_8015704C +/* EA3A60 80243160 E7A00010 */ swc1 $f0, 0x10($sp) +/* EA3A64 80243164 8FBF0020 */ lw $ra, 0x20($sp) +/* EA3A68 80243168 8FB1001C */ lw $s1, 0x1c($sp) +/* EA3A6C 8024316C 8FB00018 */ lw $s0, 0x18($sp) +/* EA3A70 80243170 24020002 */ addiu $v0, $zero, 2 +/* EA3A74 80243174 03E00008 */ jr $ra +/* EA3A78 80243178 27BD0028 */ addiu $sp, $sp, 0x28 +/* EA3A7C 8024317C 00000000 */ nop diff --git a/asm/nonmatchings/code_EA6FD0/func_80240000_EA6FD0.s b/asm/nonmatchings/code_EA6FD0/func_80240000_EA6FD0.s new file mode 100644 index 0000000000..b59f1dfa7e --- /dev/null +++ b/asm/nonmatchings/code_EA6FD0/func_80240000_EA6FD0.s @@ -0,0 +1,21 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EA6FD0 +/* EA6FD0 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA6FD4 80240004 AFBF0010 */ sw $ra, 0x10($sp) +/* EA6FD8 80240008 3C05F5DE */ lui $a1, 0xf5de +/* EA6FDC 8024000C 34A50180 */ ori $a1, $a1, 0x180 +/* EA6FE0 80240010 0C0B53A3 */ jal func_802D4E8C +/* EA6FE4 80240014 0000202D */ daddu $a0, $zero, $zero +/* EA6FE8 80240018 28430027 */ slti $v1, $v0, 0x27 +/* EA6FEC 8024001C 3C020019 */ lui $v0, 0x19 +/* EA6FF0 80240020 14600003 */ bnez $v1, .L80240030 +/* EA6FF4 80240024 3442010F */ ori $v0, $v0, 0x10f +/* EA6FF8 80240028 3C020019 */ lui $v0, 0x19 +/* EA6FFC 8024002C 34420110 */ ori $v0, $v0, 0x110 +.L80240030: +/* EA7000 80240030 8FBF0010 */ lw $ra, 0x10($sp) +/* EA7004 80240034 03E00008 */ jr $ra +/* EA7008 80240038 27BD0018 */ addiu $sp, $sp, 0x18 +/* EA700C 8024003C 00000000 */ nop diff --git a/asm/nonmatchings/code_EA7010/func_80240040_EA7010.s b/asm/nonmatchings/code_EA7010/func_80240040_EA7010.s new file mode 100644 index 0000000000..55b8ad19d6 --- /dev/null +++ b/asm/nonmatchings/code_EA7010/func_80240040_EA7010.s @@ -0,0 +1,89 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240040_EA7010 +/* EA7010 80240040 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA7014 80240044 AFB00010 */ sw $s0, 0x10($sp) +/* EA7018 80240048 0080802D */ daddu $s0, $a0, $zero +/* EA701C 8024004C AFBF0014 */ sw $ra, 0x14($sp) +/* EA7020 80240050 8E0300A8 */ lw $v1, 0xa8($s0) +/* EA7024 80240054 8E020088 */ lw $v0, 0x88($s0) +/* EA7028 80240058 00621821 */ addu $v1, $v1, $v0 +/* EA702C 8024005C 04610004 */ bgez $v1, .L80240070 +/* EA7030 80240060 AE0300A8 */ sw $v1, 0xa8($s0) +/* EA7034 80240064 3C020002 */ lui $v0, 2 +/* EA7038 80240068 08090020 */ j .L80240080 +/* EA703C 8024006C 00621021 */ addu $v0, $v1, $v0 +.L80240070: +/* EA7040 80240070 3C040002 */ lui $a0, 2 +/* EA7044 80240074 0083102A */ slt $v0, $a0, $v1 +/* EA7048 80240078 10400002 */ beqz $v0, .L80240084 +/* EA704C 8024007C 00641023 */ subu $v0, $v1, $a0 +.L80240080: +/* EA7050 80240080 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240084: +/* EA7054 80240084 8E0300AC */ lw $v1, 0xac($s0) +/* EA7058 80240088 8E02008C */ lw $v0, 0x8c($s0) +/* EA705C 8024008C 00621821 */ addu $v1, $v1, $v0 +/* EA7060 80240090 04610004 */ bgez $v1, .L802400A4 +/* EA7064 80240094 AE0300AC */ sw $v1, 0xac($s0) +/* EA7068 80240098 3C020002 */ lui $v0, 2 +/* EA706C 8024009C 0809002D */ j .L802400B4 +/* EA7070 802400A0 00621021 */ addu $v0, $v1, $v0 +.L802400A4: +/* EA7074 802400A4 3C040002 */ lui $a0, 2 +/* EA7078 802400A8 0083102A */ slt $v0, $a0, $v1 +/* EA707C 802400AC 10400002 */ beqz $v0, .L802400B8 +/* EA7080 802400B0 00641023 */ subu $v0, $v1, $a0 +.L802400B4: +/* EA7084 802400B4 AE0200AC */ sw $v0, 0xac($s0) +.L802400B8: +/* EA7088 802400B8 8E0300B0 */ lw $v1, 0xb0($s0) +/* EA708C 802400BC 8E020090 */ lw $v0, 0x90($s0) +/* EA7090 802400C0 00621821 */ addu $v1, $v1, $v0 +/* EA7094 802400C4 04610004 */ bgez $v1, .L802400D8 +/* EA7098 802400C8 AE0300B0 */ sw $v1, 0xb0($s0) +/* EA709C 802400CC 3C020002 */ lui $v0, 2 +/* EA70A0 802400D0 0809003A */ j .L802400E8 +/* EA70A4 802400D4 00621021 */ addu $v0, $v1, $v0 +.L802400D8: +/* EA70A8 802400D8 3C040002 */ lui $a0, 2 +/* EA70AC 802400DC 0083102A */ slt $v0, $a0, $v1 +/* EA70B0 802400E0 10400002 */ beqz $v0, .L802400EC +/* EA70B4 802400E4 00641023 */ subu $v0, $v1, $a0 +.L802400E8: +/* EA70B8 802400E8 AE0200B0 */ sw $v0, 0xb0($s0) +.L802400EC: +/* EA70BC 802400EC 8E0300B4 */ lw $v1, 0xb4($s0) +/* EA70C0 802400F0 8E020094 */ lw $v0, 0x94($s0) +/* EA70C4 802400F4 00621821 */ addu $v1, $v1, $v0 +/* EA70C8 802400F8 04610004 */ bgez $v1, .L8024010C +/* EA70CC 802400FC AE0300B4 */ sw $v1, 0xb4($s0) +/* EA70D0 80240100 3C020002 */ lui $v0, 2 +/* EA70D4 80240104 08090047 */ j .L8024011C +/* EA70D8 80240108 00621021 */ addu $v0, $v1, $v0 +.L8024010C: +/* EA70DC 8024010C 3C040002 */ lui $a0, 2 +/* EA70E0 80240110 0083102A */ slt $v0, $a0, $v1 +/* EA70E4 80240114 10400002 */ beqz $v0, .L80240120 +/* EA70E8 80240118 00641023 */ subu $v0, $v1, $a0 +.L8024011C: +/* EA70EC 8024011C AE0200B4 */ sw $v0, 0xb4($s0) +.L80240120: +/* EA70F0 80240120 8E040084 */ lw $a0, 0x84($s0) +/* EA70F4 80240124 0C049819 */ jal func_80126064 +/* EA70F8 80240128 8E0500A8 */ lw $a1, 0xa8($s0) +/* EA70FC 8024012C 8E040084 */ lw $a0, 0x84($s0) +/* EA7100 80240130 0C04981F */ jal func_8012607C +/* EA7104 80240134 8E0500AC */ lw $a1, 0xac($s0) +/* EA7108 80240138 8E040084 */ lw $a0, 0x84($s0) +/* EA710C 8024013C 0C049825 */ jal func_80126094 +/* EA7110 80240140 8E0500B0 */ lw $a1, 0xb0($s0) +/* EA7114 80240144 8E040084 */ lw $a0, 0x84($s0) +/* EA7118 80240148 0C04982B */ jal func_801260AC +/* EA711C 8024014C 8E0500B4 */ lw $a1, 0xb4($s0) +/* EA7120 80240150 8FBF0014 */ lw $ra, 0x14($sp) +/* EA7124 80240154 8FB00010 */ lw $s0, 0x10($sp) +/* EA7128 80240158 0000102D */ daddu $v0, $zero, $zero +/* EA712C 8024015C 03E00008 */ jr $ra +/* EA7130 80240160 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA7010/func_80240164_EA7134.s b/asm/nonmatchings/code_EA7010/func_80240164_EA7134.s new file mode 100644 index 0000000000..87b9a770e7 --- /dev/null +++ b/asm/nonmatchings/code_EA7010/func_80240164_EA7134.s @@ -0,0 +1,144 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240164_EA7134 +/* EA7134 80240164 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA7138 80240168 AFB00010 */ sw $s0, 0x10($sp) +/* EA713C 8024016C 0080802D */ daddu $s0, $a0, $zero +/* EA7140 80240170 10A00005 */ beqz $a1, .L80240188 +/* EA7144 80240174 AFBF0014 */ sw $ra, 0x14($sp) +/* EA7148 80240178 AE000070 */ sw $zero, 0x70($s0) +/* EA714C 8024017C AE000074 */ sw $zero, 0x74($s0) +/* EA7150 80240180 AE000078 */ sw $zero, 0x78($s0) +/* EA7154 80240184 AE00007C */ sw $zero, 0x7c($s0) +.L80240188: +/* EA7158 80240188 8E020070 */ lw $v0, 0x70($s0) +/* EA715C 8024018C 1440000E */ bnez $v0, .L802401C8 +/* EA7160 80240190 00000000 */ nop +/* EA7164 80240194 8E0300A8 */ lw $v1, 0xa8($s0) +/* EA7168 80240198 8E020088 */ lw $v0, 0x88($s0) +/* EA716C 8024019C 00621821 */ addu $v1, $v1, $v0 +/* EA7170 802401A0 04610004 */ bgez $v1, .L802401B4 +/* EA7174 802401A4 AE0300A8 */ sw $v1, 0xa8($s0) +/* EA7178 802401A8 3C020002 */ lui $v0, 2 +/* EA717C 802401AC 08090071 */ j .L802401C4 +/* EA7180 802401B0 00621021 */ addu $v0, $v1, $v0 +.L802401B4: +/* EA7184 802401B4 3C040002 */ lui $a0, 2 +/* EA7188 802401B8 0083102A */ slt $v0, $a0, $v1 +/* EA718C 802401BC 10400002 */ beqz $v0, .L802401C8 +/* EA7190 802401C0 00641023 */ subu $v0, $v1, $a0 +.L802401C4: +/* EA7194 802401C4 AE0200A8 */ sw $v0, 0xa8($s0) +.L802401C8: +/* EA7198 802401C8 8E020074 */ lw $v0, 0x74($s0) +/* EA719C 802401CC 1440000E */ bnez $v0, .L80240208 +/* EA71A0 802401D0 00000000 */ nop +/* EA71A4 802401D4 8E0300AC */ lw $v1, 0xac($s0) +/* EA71A8 802401D8 8E02008C */ lw $v0, 0x8c($s0) +/* EA71AC 802401DC 00621821 */ addu $v1, $v1, $v0 +/* EA71B0 802401E0 04610004 */ bgez $v1, .L802401F4 +/* EA71B4 802401E4 AE0300AC */ sw $v1, 0xac($s0) +/* EA71B8 802401E8 3C020002 */ lui $v0, 2 +/* EA71BC 802401EC 08090081 */ j .L80240204 +/* EA71C0 802401F0 00621021 */ addu $v0, $v1, $v0 +.L802401F4: +/* EA71C4 802401F4 3C040002 */ lui $a0, 2 +/* EA71C8 802401F8 0083102A */ slt $v0, $a0, $v1 +/* EA71CC 802401FC 10400002 */ beqz $v0, .L80240208 +/* EA71D0 80240200 00641023 */ subu $v0, $v1, $a0 +.L80240204: +/* EA71D4 80240204 AE0200AC */ sw $v0, 0xac($s0) +.L80240208: +/* EA71D8 80240208 8E020078 */ lw $v0, 0x78($s0) +/* EA71DC 8024020C 1440000E */ bnez $v0, .L80240248 +/* EA71E0 80240210 00000000 */ nop +/* EA71E4 80240214 8E0300B0 */ lw $v1, 0xb0($s0) +/* EA71E8 80240218 8E020090 */ lw $v0, 0x90($s0) +/* EA71EC 8024021C 00621821 */ addu $v1, $v1, $v0 +/* EA71F0 80240220 04610004 */ bgez $v1, .L80240234 +/* EA71F4 80240224 AE0300B0 */ sw $v1, 0xb0($s0) +/* EA71F8 80240228 3C020002 */ lui $v0, 2 +/* EA71FC 8024022C 08090091 */ j .L80240244 +/* EA7200 80240230 00621021 */ addu $v0, $v1, $v0 +.L80240234: +/* EA7204 80240234 3C040002 */ lui $a0, 2 +/* EA7208 80240238 0083102A */ slt $v0, $a0, $v1 +/* EA720C 8024023C 10400002 */ beqz $v0, .L80240248 +/* EA7210 80240240 00641023 */ subu $v0, $v1, $a0 +.L80240244: +/* EA7214 80240244 AE0200B0 */ sw $v0, 0xb0($s0) +.L80240248: +/* EA7218 80240248 8E02007C */ lw $v0, 0x7c($s0) +/* EA721C 8024024C 1440000E */ bnez $v0, .L80240288 +/* EA7220 80240250 00000000 */ nop +/* EA7224 80240254 8E0300B4 */ lw $v1, 0xb4($s0) +/* EA7228 80240258 8E020094 */ lw $v0, 0x94($s0) +/* EA722C 8024025C 00621821 */ addu $v1, $v1, $v0 +/* EA7230 80240260 04610004 */ bgez $v1, .L80240274 +/* EA7234 80240264 AE0300B4 */ sw $v1, 0xb4($s0) +/* EA7238 80240268 3C020002 */ lui $v0, 2 +/* EA723C 8024026C 080900A1 */ j .L80240284 +/* EA7240 80240270 00621021 */ addu $v0, $v1, $v0 +.L80240274: +/* EA7244 80240274 3C040002 */ lui $a0, 2 +/* EA7248 80240278 0083102A */ slt $v0, $a0, $v1 +/* EA724C 8024027C 10400002 */ beqz $v0, .L80240288 +/* EA7250 80240280 00641023 */ subu $v0, $v1, $a0 +.L80240284: +/* EA7254 80240284 AE0200B4 */ sw $v0, 0xb4($s0) +.L80240288: +/* EA7258 80240288 8E040084 */ lw $a0, 0x84($s0) +/* EA725C 8024028C 0C049819 */ jal func_80126064 +/* EA7260 80240290 8E0500A8 */ lw $a1, 0xa8($s0) +/* EA7264 80240294 8E040084 */ lw $a0, 0x84($s0) +/* EA7268 80240298 0C04981F */ jal func_8012607C +/* EA726C 8024029C 8E0500AC */ lw $a1, 0xac($s0) +/* EA7270 802402A0 8E040084 */ lw $a0, 0x84($s0) +/* EA7274 802402A4 0C049825 */ jal func_80126094 +/* EA7278 802402A8 8E0500B0 */ lw $a1, 0xb0($s0) +/* EA727C 802402AC 8E040084 */ lw $a0, 0x84($s0) +/* EA7280 802402B0 0C04982B */ jal func_801260AC +/* EA7284 802402B4 8E0500B4 */ lw $a1, 0xb4($s0) +/* EA7288 802402B8 8E020070 */ lw $v0, 0x70($s0) +/* EA728C 802402BC 8E030078 */ lw $v1, 0x78($s0) +/* EA7290 802402C0 8E040098 */ lw $a0, 0x98($s0) +/* EA7294 802402C4 24420001 */ addiu $v0, $v0, 1 +/* EA7298 802402C8 AE020070 */ sw $v0, 0x70($s0) +/* EA729C 802402CC 8E020074 */ lw $v0, 0x74($s0) +/* EA72A0 802402D0 24630001 */ addiu $v1, $v1, 1 +/* EA72A4 802402D4 AE030078 */ sw $v1, 0x78($s0) +/* EA72A8 802402D8 8E030070 */ lw $v1, 0x70($s0) +/* EA72AC 802402DC 24420001 */ addiu $v0, $v0, 1 +/* EA72B0 802402E0 AE020074 */ sw $v0, 0x74($s0) +/* EA72B4 802402E4 8E02007C */ lw $v0, 0x7c($s0) +/* EA72B8 802402E8 0064182A */ slt $v1, $v1, $a0 +/* EA72BC 802402EC 24420001 */ addiu $v0, $v0, 1 +/* EA72C0 802402F0 14600002 */ bnez $v1, .L802402FC +/* EA72C4 802402F4 AE02007C */ sw $v0, 0x7c($s0) +/* EA72C8 802402F8 AE000070 */ sw $zero, 0x70($s0) +.L802402FC: +/* EA72CC 802402FC 8E020074 */ lw $v0, 0x74($s0) +/* EA72D0 80240300 8E03009C */ lw $v1, 0x9c($s0) +/* EA72D4 80240304 0043102A */ slt $v0, $v0, $v1 +/* EA72D8 80240308 50400001 */ beql $v0, $zero, .L80240310 +/* EA72DC 8024030C AE000074 */ sw $zero, 0x74($s0) +.L80240310: +/* EA72E0 80240310 8E020078 */ lw $v0, 0x78($s0) +/* EA72E4 80240314 8E0300A0 */ lw $v1, 0xa0($s0) +/* EA72E8 80240318 0043102A */ slt $v0, $v0, $v1 +/* EA72EC 8024031C 50400001 */ beql $v0, $zero, .L80240324 +/* EA72F0 80240320 AE000078 */ sw $zero, 0x78($s0) +.L80240324: +/* EA72F4 80240324 8E02007C */ lw $v0, 0x7c($s0) +/* EA72F8 80240328 8E0300A4 */ lw $v1, 0xa4($s0) +/* EA72FC 8024032C 0043102A */ slt $v0, $v0, $v1 +/* EA7300 80240330 50400001 */ beql $v0, $zero, .L80240338 +/* EA7304 80240334 AE00007C */ sw $zero, 0x7c($s0) +.L80240338: +/* EA7308 80240338 8FBF0014 */ lw $ra, 0x14($sp) +/* EA730C 8024033C 8FB00010 */ lw $s0, 0x10($sp) +/* EA7310 80240340 0000102D */ daddu $v0, $zero, $zero +/* EA7314 80240344 03E00008 */ jr $ra +/* EA7318 80240348 27BD0018 */ addiu $sp, $sp, 0x18 +/* EA731C 8024034C 00000000 */ nop diff --git a/asm/nonmatchings/code_EA7320/func_80240350_EA7320.s b/asm/nonmatchings/code_EA7320/func_80240350_EA7320.s new file mode 100644 index 0000000000..966255235c --- /dev/null +++ b/asm/nonmatchings/code_EA7320/func_80240350_EA7320.s @@ -0,0 +1,11 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240350_EA7320 +/* EA7320 80240350 3C03800C */ lui $v1, %hi(D_800B8D80) +/* EA7324 80240354 24638D80 */ addiu $v1, $v1, %lo(D_800B8D80) +/* EA7328 80240358 94620000 */ lhu $v0, ($v1) +/* EA732C 8024035C 34421000 */ ori $v0, $v0, 0x1000 +/* EA7330 80240360 A4620000 */ sh $v0, ($v1) +/* EA7334 80240364 03E00008 */ jr $ra +/* EA7338 80240368 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EA7320/func_8024036C_EA733C.s b/asm/nonmatchings/code_EA7320/func_8024036C_EA733C.s new file mode 100644 index 0000000000..0aef17f78e --- /dev/null +++ b/asm/nonmatchings/code_EA7320/func_8024036C_EA733C.s @@ -0,0 +1,11 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024036C_EA733C +/* EA733C 8024036C 3C03800C */ lui $v1, %hi(D_800B8D80) +/* EA7340 80240370 24638D80 */ addiu $v1, $v1, %lo(D_800B8D80) +/* EA7344 80240374 94620000 */ lhu $v0, ($v1) +/* EA7348 80240378 3042EFFF */ andi $v0, $v0, 0xefff +/* EA734C 8024037C A4620000 */ sh $v0, ($v1) +/* EA7350 80240380 03E00008 */ jr $ra +/* EA7354 80240384 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EA7320/func_80240388_EA7358.s b/asm/nonmatchings/code_EA7320/func_80240388_EA7358.s new file mode 100644 index 0000000000..801dddddbb --- /dev/null +++ b/asm/nonmatchings/code_EA7320/func_80240388_EA7358.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240388_EA7358 +/* EA7358 80240388 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA735C 8024038C AFBF0010 */ sw $ra, 0x10($sp) +/* EA7360 80240390 8C82000C */ lw $v0, 0xc($a0) +/* EA7364 80240394 3C068017 */ lui $a2, %hi(D_80169B12) +/* EA7368 80240398 84C69B12 */ lh $a2, %lo(D_80169B12)($a2) +/* EA736C 8024039C 0C0B551A */ jal func_802D5468 +/* EA7370 802403A0 8C450000 */ lw $a1, ($v0) +/* EA7374 802403A4 8FBF0010 */ lw $ra, 0x10($sp) +/* EA7378 802403A8 24020002 */ addiu $v0, $zero, 2 +/* EA737C 802403AC 03E00008 */ jr $ra +/* EA7380 802403B0 27BD0018 */ addiu $sp, $sp, 0x18 +/* EA7384 802403B4 00000000 */ nop +/* EA7388 802403B8 00000000 */ nop +/* EA738C 802403BC 00000000 */ nop diff --git a/asm/nonmatchings/code_EA8AE0/func_80240000_EA8AE0.s b/asm/nonmatchings/code_EA8AE0/func_80240000_EA8AE0.s new file mode 100644 index 0000000000..3b400880fe --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80240000_EA8AE0.s @@ -0,0 +1,89 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EA8AE0 +/* EA8AE0 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA8AE4 80240004 AFB00010 */ sw $s0, 0x10($sp) +/* EA8AE8 80240008 0080802D */ daddu $s0, $a0, $zero +/* EA8AEC 8024000C AFBF0014 */ sw $ra, 0x14($sp) +/* EA8AF0 80240010 8E0300A8 */ lw $v1, 0xa8($s0) +/* EA8AF4 80240014 8E020088 */ lw $v0, 0x88($s0) +/* EA8AF8 80240018 00621821 */ addu $v1, $v1, $v0 +/* EA8AFC 8024001C 04610004 */ bgez $v1, .L80240030 +/* EA8B00 80240020 AE0300A8 */ sw $v1, 0xa8($s0) +/* EA8B04 80240024 3C020002 */ lui $v0, 2 +/* EA8B08 80240028 08090010 */ j .L80240040 +/* EA8B0C 8024002C 00621021 */ addu $v0, $v1, $v0 +.L80240030: +/* EA8B10 80240030 3C040002 */ lui $a0, 2 +/* EA8B14 80240034 0083102A */ slt $v0, $a0, $v1 +/* EA8B18 80240038 10400002 */ beqz $v0, .L80240044 +/* EA8B1C 8024003C 00641023 */ subu $v0, $v1, $a0 +.L80240040: +/* EA8B20 80240040 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240044: +/* EA8B24 80240044 8E0300AC */ lw $v1, 0xac($s0) +/* EA8B28 80240048 8E02008C */ lw $v0, 0x8c($s0) +/* EA8B2C 8024004C 00621821 */ addu $v1, $v1, $v0 +/* EA8B30 80240050 04610004 */ bgez $v1, .L80240064 +/* EA8B34 80240054 AE0300AC */ sw $v1, 0xac($s0) +/* EA8B38 80240058 3C020002 */ lui $v0, 2 +/* EA8B3C 8024005C 0809001D */ j .L80240074 +/* EA8B40 80240060 00621021 */ addu $v0, $v1, $v0 +.L80240064: +/* EA8B44 80240064 3C040002 */ lui $a0, 2 +/* EA8B48 80240068 0083102A */ slt $v0, $a0, $v1 +/* EA8B4C 8024006C 10400002 */ beqz $v0, .L80240078 +/* EA8B50 80240070 00641023 */ subu $v0, $v1, $a0 +.L80240074: +/* EA8B54 80240074 AE0200AC */ sw $v0, 0xac($s0) +.L80240078: +/* EA8B58 80240078 8E0300B0 */ lw $v1, 0xb0($s0) +/* EA8B5C 8024007C 8E020090 */ lw $v0, 0x90($s0) +/* EA8B60 80240080 00621821 */ addu $v1, $v1, $v0 +/* EA8B64 80240084 04610004 */ bgez $v1, .L80240098 +/* EA8B68 80240088 AE0300B0 */ sw $v1, 0xb0($s0) +/* EA8B6C 8024008C 3C020002 */ lui $v0, 2 +/* EA8B70 80240090 0809002A */ j .L802400A8 +/* EA8B74 80240094 00621021 */ addu $v0, $v1, $v0 +.L80240098: +/* EA8B78 80240098 3C040002 */ lui $a0, 2 +/* EA8B7C 8024009C 0083102A */ slt $v0, $a0, $v1 +/* EA8B80 802400A0 10400002 */ beqz $v0, .L802400AC +/* EA8B84 802400A4 00641023 */ subu $v0, $v1, $a0 +.L802400A8: +/* EA8B88 802400A8 AE0200B0 */ sw $v0, 0xb0($s0) +.L802400AC: +/* EA8B8C 802400AC 8E0300B4 */ lw $v1, 0xb4($s0) +/* EA8B90 802400B0 8E020094 */ lw $v0, 0x94($s0) +/* EA8B94 802400B4 00621821 */ addu $v1, $v1, $v0 +/* EA8B98 802400B8 04610004 */ bgez $v1, .L802400CC +/* EA8B9C 802400BC AE0300B4 */ sw $v1, 0xb4($s0) +/* EA8BA0 802400C0 3C020002 */ lui $v0, 2 +/* EA8BA4 802400C4 08090037 */ j .L802400DC +/* EA8BA8 802400C8 00621021 */ addu $v0, $v1, $v0 +.L802400CC: +/* EA8BAC 802400CC 3C040002 */ lui $a0, 2 +/* EA8BB0 802400D0 0083102A */ slt $v0, $a0, $v1 +/* EA8BB4 802400D4 10400002 */ beqz $v0, .L802400E0 +/* EA8BB8 802400D8 00641023 */ subu $v0, $v1, $a0 +.L802400DC: +/* EA8BBC 802400DC AE0200B4 */ sw $v0, 0xb4($s0) +.L802400E0: +/* EA8BC0 802400E0 8E040084 */ lw $a0, 0x84($s0) +/* EA8BC4 802400E4 0C049819 */ jal func_80126064 +/* EA8BC8 802400E8 8E0500A8 */ lw $a1, 0xa8($s0) +/* EA8BCC 802400EC 8E040084 */ lw $a0, 0x84($s0) +/* EA8BD0 802400F0 0C04981F */ jal func_8012607C +/* EA8BD4 802400F4 8E0500AC */ lw $a1, 0xac($s0) +/* EA8BD8 802400F8 8E040084 */ lw $a0, 0x84($s0) +/* EA8BDC 802400FC 0C049825 */ jal func_80126094 +/* EA8BE0 80240100 8E0500B0 */ lw $a1, 0xb0($s0) +/* EA8BE4 80240104 8E040084 */ lw $a0, 0x84($s0) +/* EA8BE8 80240108 0C04982B */ jal func_801260AC +/* EA8BEC 8024010C 8E0500B4 */ lw $a1, 0xb4($s0) +/* EA8BF0 80240110 8FBF0014 */ lw $ra, 0x14($sp) +/* EA8BF4 80240114 8FB00010 */ lw $s0, 0x10($sp) +/* EA8BF8 80240118 0000102D */ daddu $v0, $zero, $zero +/* EA8BFC 8024011C 03E00008 */ jr $ra +/* EA8C00 80240120 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA8AE0/func_80240124_EA8C04.s b/asm/nonmatchings/code_EA8AE0/func_80240124_EA8C04.s new file mode 100644 index 0000000000..53bcd20291 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80240124_EA8C04.s @@ -0,0 +1,143 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240124_EA8C04 +/* EA8C04 80240124 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA8C08 80240128 AFB00010 */ sw $s0, 0x10($sp) +/* EA8C0C 8024012C 0080802D */ daddu $s0, $a0, $zero +/* EA8C10 80240130 10A00005 */ beqz $a1, .L80240148 +/* EA8C14 80240134 AFBF0014 */ sw $ra, 0x14($sp) +/* EA8C18 80240138 AE000070 */ sw $zero, 0x70($s0) +/* EA8C1C 8024013C AE000074 */ sw $zero, 0x74($s0) +/* EA8C20 80240140 AE000078 */ sw $zero, 0x78($s0) +/* EA8C24 80240144 AE00007C */ sw $zero, 0x7c($s0) +.L80240148: +/* EA8C28 80240148 8E020070 */ lw $v0, 0x70($s0) +/* EA8C2C 8024014C 1440000E */ bnez $v0, .L80240188 +/* EA8C30 80240150 00000000 */ nop +/* EA8C34 80240154 8E0300A8 */ lw $v1, 0xa8($s0) +/* EA8C38 80240158 8E020088 */ lw $v0, 0x88($s0) +/* EA8C3C 8024015C 00621821 */ addu $v1, $v1, $v0 +/* EA8C40 80240160 04610004 */ bgez $v1, .L80240174 +/* EA8C44 80240164 AE0300A8 */ sw $v1, 0xa8($s0) +/* EA8C48 80240168 3C020002 */ lui $v0, 2 +/* EA8C4C 8024016C 08090061 */ j .L80240184 +/* EA8C50 80240170 00621021 */ addu $v0, $v1, $v0 +.L80240174: +/* EA8C54 80240174 3C040002 */ lui $a0, 2 +/* EA8C58 80240178 0083102A */ slt $v0, $a0, $v1 +/* EA8C5C 8024017C 10400002 */ beqz $v0, .L80240188 +/* EA8C60 80240180 00641023 */ subu $v0, $v1, $a0 +.L80240184: +/* EA8C64 80240184 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240188: +/* EA8C68 80240188 8E020074 */ lw $v0, 0x74($s0) +/* EA8C6C 8024018C 1440000E */ bnez $v0, .L802401C8 +/* EA8C70 80240190 00000000 */ nop +/* EA8C74 80240194 8E0300AC */ lw $v1, 0xac($s0) +/* EA8C78 80240198 8E02008C */ lw $v0, 0x8c($s0) +/* EA8C7C 8024019C 00621821 */ addu $v1, $v1, $v0 +/* EA8C80 802401A0 04610004 */ bgez $v1, .L802401B4 +/* EA8C84 802401A4 AE0300AC */ sw $v1, 0xac($s0) +/* EA8C88 802401A8 3C020002 */ lui $v0, 2 +/* EA8C8C 802401AC 08090071 */ j .L802401C4 +/* EA8C90 802401B0 00621021 */ addu $v0, $v1, $v0 +.L802401B4: +/* EA8C94 802401B4 3C040002 */ lui $a0, 2 +/* EA8C98 802401B8 0083102A */ slt $v0, $a0, $v1 +/* EA8C9C 802401BC 10400002 */ beqz $v0, .L802401C8 +/* EA8CA0 802401C0 00641023 */ subu $v0, $v1, $a0 +.L802401C4: +/* EA8CA4 802401C4 AE0200AC */ sw $v0, 0xac($s0) +.L802401C8: +/* EA8CA8 802401C8 8E020078 */ lw $v0, 0x78($s0) +/* EA8CAC 802401CC 1440000E */ bnez $v0, .L80240208 +/* EA8CB0 802401D0 00000000 */ nop +/* EA8CB4 802401D4 8E0300B0 */ lw $v1, 0xb0($s0) +/* EA8CB8 802401D8 8E020090 */ lw $v0, 0x90($s0) +/* EA8CBC 802401DC 00621821 */ addu $v1, $v1, $v0 +/* EA8CC0 802401E0 04610004 */ bgez $v1, .L802401F4 +/* EA8CC4 802401E4 AE0300B0 */ sw $v1, 0xb0($s0) +/* EA8CC8 802401E8 3C020002 */ lui $v0, 2 +/* EA8CCC 802401EC 08090081 */ j .L80240204 +/* EA8CD0 802401F0 00621021 */ addu $v0, $v1, $v0 +.L802401F4: +/* EA8CD4 802401F4 3C040002 */ lui $a0, 2 +/* EA8CD8 802401F8 0083102A */ slt $v0, $a0, $v1 +/* EA8CDC 802401FC 10400002 */ beqz $v0, .L80240208 +/* EA8CE0 80240200 00641023 */ subu $v0, $v1, $a0 +.L80240204: +/* EA8CE4 80240204 AE0200B0 */ sw $v0, 0xb0($s0) +.L80240208: +/* EA8CE8 80240208 8E02007C */ lw $v0, 0x7c($s0) +/* EA8CEC 8024020C 1440000E */ bnez $v0, .L80240248 +/* EA8CF0 80240210 00000000 */ nop +/* EA8CF4 80240214 8E0300B4 */ lw $v1, 0xb4($s0) +/* EA8CF8 80240218 8E020094 */ lw $v0, 0x94($s0) +/* EA8CFC 8024021C 00621821 */ addu $v1, $v1, $v0 +/* EA8D00 80240220 04610004 */ bgez $v1, .L80240234 +/* EA8D04 80240224 AE0300B4 */ sw $v1, 0xb4($s0) +/* EA8D08 80240228 3C020002 */ lui $v0, 2 +/* EA8D0C 8024022C 08090091 */ j .L80240244 +/* EA8D10 80240230 00621021 */ addu $v0, $v1, $v0 +.L80240234: +/* EA8D14 80240234 3C040002 */ lui $a0, 2 +/* EA8D18 80240238 0083102A */ slt $v0, $a0, $v1 +/* EA8D1C 8024023C 10400002 */ beqz $v0, .L80240248 +/* EA8D20 80240240 00641023 */ subu $v0, $v1, $a0 +.L80240244: +/* EA8D24 80240244 AE0200B4 */ sw $v0, 0xb4($s0) +.L80240248: +/* EA8D28 80240248 8E040084 */ lw $a0, 0x84($s0) +/* EA8D2C 8024024C 0C049819 */ jal func_80126064 +/* EA8D30 80240250 8E0500A8 */ lw $a1, 0xa8($s0) +/* EA8D34 80240254 8E040084 */ lw $a0, 0x84($s0) +/* EA8D38 80240258 0C04981F */ jal func_8012607C +/* EA8D3C 8024025C 8E0500AC */ lw $a1, 0xac($s0) +/* EA8D40 80240260 8E040084 */ lw $a0, 0x84($s0) +/* EA8D44 80240264 0C049825 */ jal func_80126094 +/* EA8D48 80240268 8E0500B0 */ lw $a1, 0xb0($s0) +/* EA8D4C 8024026C 8E040084 */ lw $a0, 0x84($s0) +/* EA8D50 80240270 0C04982B */ jal func_801260AC +/* EA8D54 80240274 8E0500B4 */ lw $a1, 0xb4($s0) +/* EA8D58 80240278 8E020070 */ lw $v0, 0x70($s0) +/* EA8D5C 8024027C 8E030078 */ lw $v1, 0x78($s0) +/* EA8D60 80240280 8E040098 */ lw $a0, 0x98($s0) +/* EA8D64 80240284 24420001 */ addiu $v0, $v0, 1 +/* EA8D68 80240288 AE020070 */ sw $v0, 0x70($s0) +/* EA8D6C 8024028C 8E020074 */ lw $v0, 0x74($s0) +/* EA8D70 80240290 24630001 */ addiu $v1, $v1, 1 +/* EA8D74 80240294 AE030078 */ sw $v1, 0x78($s0) +/* EA8D78 80240298 8E030070 */ lw $v1, 0x70($s0) +/* EA8D7C 8024029C 24420001 */ addiu $v0, $v0, 1 +/* EA8D80 802402A0 AE020074 */ sw $v0, 0x74($s0) +/* EA8D84 802402A4 8E02007C */ lw $v0, 0x7c($s0) +/* EA8D88 802402A8 0064182A */ slt $v1, $v1, $a0 +/* EA8D8C 802402AC 24420001 */ addiu $v0, $v0, 1 +/* EA8D90 802402B0 14600002 */ bnez $v1, .L802402BC +/* EA8D94 802402B4 AE02007C */ sw $v0, 0x7c($s0) +/* EA8D98 802402B8 AE000070 */ sw $zero, 0x70($s0) +.L802402BC: +/* EA8D9C 802402BC 8E020074 */ lw $v0, 0x74($s0) +/* EA8DA0 802402C0 8E03009C */ lw $v1, 0x9c($s0) +/* EA8DA4 802402C4 0043102A */ slt $v0, $v0, $v1 +/* EA8DA8 802402C8 50400001 */ beql $v0, $zero, .L802402D0 +/* EA8DAC 802402CC AE000074 */ sw $zero, 0x74($s0) +.L802402D0: +/* EA8DB0 802402D0 8E020078 */ lw $v0, 0x78($s0) +/* EA8DB4 802402D4 8E0300A0 */ lw $v1, 0xa0($s0) +/* EA8DB8 802402D8 0043102A */ slt $v0, $v0, $v1 +/* EA8DBC 802402DC 50400001 */ beql $v0, $zero, .L802402E4 +/* EA8DC0 802402E0 AE000078 */ sw $zero, 0x78($s0) +.L802402E4: +/* EA8DC4 802402E4 8E02007C */ lw $v0, 0x7c($s0) +/* EA8DC8 802402E8 8E0300A4 */ lw $v1, 0xa4($s0) +/* EA8DCC 802402EC 0043102A */ slt $v0, $v0, $v1 +/* EA8DD0 802402F0 50400001 */ beql $v0, $zero, .L802402F8 +/* EA8DD4 802402F4 AE00007C */ sw $zero, 0x7c($s0) +.L802402F8: +/* EA8DD8 802402F8 8FBF0014 */ lw $ra, 0x14($sp) +/* EA8DDC 802402FC 8FB00010 */ lw $s0, 0x10($sp) +/* EA8DE0 80240300 0000102D */ daddu $v0, $zero, $zero +/* EA8DE4 80240304 03E00008 */ jr $ra +/* EA8DE8 80240308 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA8AE0/func_8024030C_EA8DEC.s b/asm/nonmatchings/code_EA8AE0/func_8024030C_EA8DEC.s new file mode 100644 index 0000000000..349246c06a --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_8024030C_EA8DEC.s @@ -0,0 +1,23 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024030C_EA8DEC +/* EA8DEC 8024030C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA8DF0 80240310 AFBF001C */ sw $ra, 0x1c($sp) +/* EA8DF4 80240314 AFB00018 */ sw $s0, 0x18($sp) +/* EA8DF8 80240318 8C900084 */ lw $s0, 0x84($a0) +/* EA8DFC 8024031C C6000008 */ lwc1 $f0, 8($s0) +/* EA8E00 80240320 240400A2 */ addiu $a0, $zero, 0xa2 +/* EA8E04 80240324 E7A00010 */ swc1 $f0, 0x10($sp) +/* EA8E08 80240328 8E060000 */ lw $a2, ($s0) +/* EA8E0C 8024032C 8E070004 */ lw $a3, 4($s0) +/* EA8E10 80240330 0C055C13 */ jal func_8015704C +/* EA8E14 80240334 0000282D */ daddu $a1, $zero, $zero +/* EA8E18 80240338 86020044 */ lh $v0, 0x44($s0) +/* EA8E1C 8024033C 8FBF001C */ lw $ra, 0x1c($sp) +/* EA8E20 80240340 8FB00018 */ lw $s0, 0x18($sp) +/* EA8E24 80240344 28420002 */ slti $v0, $v0, 2 +/* EA8E28 80240348 38420001 */ xori $v0, $v0, 1 +/* EA8E2C 8024034C 00021040 */ sll $v0, $v0, 1 +/* EA8E30 80240350 03E00008 */ jr $ra +/* EA8E34 80240354 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA8AE0/func_80240358_EA8E38.s b/asm/nonmatchings/code_EA8AE0/func_80240358_EA8E38.s new file mode 100644 index 0000000000..d49950d5bc --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80240358_EA8E38.s @@ -0,0 +1,93 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240358_EA8E38 +/* EA8E38 80240358 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EA8E3C 8024035C AFB20020 */ sw $s2, 0x20($sp) +/* EA8E40 80240360 0080902D */ daddu $s2, $a0, $zero +/* EA8E44 80240364 AFBF0024 */ sw $ra, 0x24($sp) +/* EA8E48 80240368 AFB1001C */ sw $s1, 0x1c($sp) +/* EA8E4C 8024036C AFB00018 */ sw $s0, 0x18($sp) +/* EA8E50 80240370 10A0004A */ beqz $a1, .L8024049C +/* EA8E54 80240374 8E51000C */ lw $s1, 0xc($s2) +/* EA8E58 80240378 0C00AFF5 */ jal func_8002BFD4 +/* EA8E5C 8024037C 24040058 */ addiu $a0, $zero, 0x58 +/* EA8E60 80240380 0000202D */ daddu $a0, $zero, $zero +/* EA8E64 80240384 3C05FD05 */ lui $a1, 0xfd05 +/* EA8E68 80240388 34A50F81 */ ori $a1, $a1, 0xf81 +/* EA8E6C 8024038C 0040802D */ daddu $s0, $v0, $zero +/* EA8E70 80240390 0200302D */ daddu $a2, $s0, $zero +/* EA8E74 80240394 0C0B551A */ jal func_802D5468 +/* EA8E78 80240398 AE500084 */ sw $s0, 0x84($s2) +/* EA8E7C 8024039C 8E250000 */ lw $a1, ($s1) +/* EA8E80 802403A0 26310004 */ addiu $s1, $s1, 4 +/* EA8E84 802403A4 0C0B53A3 */ jal func_802D4E8C +/* EA8E88 802403A8 0240202D */ daddu $a0, $s2, $zero +/* EA8E8C 802403AC AE020038 */ sw $v0, 0x38($s0) +/* EA8E90 802403B0 8E250000 */ lw $a1, ($s1) +/* EA8E94 802403B4 26310004 */ addiu $s1, $s1, 4 +/* EA8E98 802403B8 0C0B53A3 */ jal func_802D4E8C +/* EA8E9C 802403BC 0240202D */ daddu $a0, $s2, $zero +/* EA8EA0 802403C0 AE02003C */ sw $v0, 0x3c($s0) +/* EA8EA4 802403C4 8E250000 */ lw $a1, ($s1) +/* EA8EA8 802403C8 26310004 */ addiu $s1, $s1, 4 +/* EA8EAC 802403CC 0C0B55FF */ jal func_802D57FC +/* EA8EB0 802403D0 0240202D */ daddu $a0, $s2, $zero +/* EA8EB4 802403D4 E600000C */ swc1 $f0, 0xc($s0) +/* EA8EB8 802403D8 8E250000 */ lw $a1, ($s1) +/* EA8EBC 802403DC 26310004 */ addiu $s1, $s1, 4 +/* EA8EC0 802403E0 0C0B55FF */ jal func_802D57FC +/* EA8EC4 802403E4 0240202D */ daddu $a0, $s2, $zero +/* EA8EC8 802403E8 E6000010 */ swc1 $f0, 0x10($s0) +/* EA8ECC 802403EC 8E250000 */ lw $a1, ($s1) +/* EA8ED0 802403F0 26310004 */ addiu $s1, $s1, 4 +/* EA8ED4 802403F4 0C0B55FF */ jal func_802D57FC +/* EA8ED8 802403F8 0240202D */ daddu $a0, $s2, $zero +/* EA8EDC 802403FC E6000014 */ swc1 $f0, 0x14($s0) +/* EA8EE0 80240400 8E250000 */ lw $a1, ($s1) +/* EA8EE4 80240404 26310004 */ addiu $s1, $s1, 4 +/* EA8EE8 80240408 0C0B55FF */ jal func_802D57FC +/* EA8EEC 8024040C 0240202D */ daddu $a0, $s2, $zero +/* EA8EF0 80240410 E6000018 */ swc1 $f0, 0x18($s0) +/* EA8EF4 80240414 8E250000 */ lw $a1, ($s1) +/* EA8EF8 80240418 26310004 */ addiu $s1, $s1, 4 +/* EA8EFC 8024041C 0C0B55FF */ jal func_802D57FC +/* EA8F00 80240420 0240202D */ daddu $a0, $s2, $zero +/* EA8F04 80240424 E600001C */ swc1 $f0, 0x1c($s0) +/* EA8F08 80240428 8E250000 */ lw $a1, ($s1) +/* EA8F0C 8024042C 26310004 */ addiu $s1, $s1, 4 +/* EA8F10 80240430 0C0B55FF */ jal func_802D57FC +/* EA8F14 80240434 0240202D */ daddu $a0, $s2, $zero +/* EA8F18 80240438 E6000020 */ swc1 $f0, 0x20($s0) +/* EA8F1C 8024043C 8E250000 */ lw $a1, ($s1) +/* EA8F20 80240440 26310004 */ addiu $s1, $s1, 4 +/* EA8F24 80240444 0C0B55FF */ jal func_802D57FC +/* EA8F28 80240448 0240202D */ daddu $a0, $s2, $zero +/* EA8F2C 8024044C E6000024 */ swc1 $f0, 0x24($s0) +/* EA8F30 80240450 8E250000 */ lw $a1, ($s1) +/* EA8F34 80240454 0C0B55FF */ jal func_802D57FC +/* EA8F38 80240458 0240202D */ daddu $a0, $s2, $zero +/* EA8F3C 8024045C 3C013F80 */ lui $at, 0x3f80 +/* EA8F40 80240460 44811000 */ mtc1 $at, $f2 +/* EA8F44 80240464 E6000028 */ swc1 $f0, 0x28($s0) +/* EA8F48 80240468 AFA00014 */ sw $zero, 0x14($sp) +/* EA8F4C 8024046C E7A20010 */ swc1 $f2, 0x10($sp) +/* EA8F50 80240470 8E05000C */ lw $a1, 0xc($s0) +/* EA8F54 80240474 8E060010 */ lw $a2, 0x10($s0) +/* EA8F58 80240478 8E070014 */ lw $a3, 0x14($s0) +/* EA8F5C 8024047C 0C01DF0C */ jal func_80077C30 +/* EA8F60 80240480 24040002 */ addiu $a0, $zero, 2 +/* EA8F64 80240484 AE020050 */ sw $v0, 0x50($s0) +/* EA8F68 80240488 A600004E */ sh $zero, 0x4e($s0) +/* EA8F6C 8024048C A6000048 */ sh $zero, 0x48($s0) +/* EA8F70 80240490 A600004A */ sh $zero, 0x4a($s0) +/* EA8F74 80240494 A6000044 */ sh $zero, 0x44($s0) +/* EA8F78 80240498 A6000046 */ sh $zero, 0x46($s0) +.L8024049C: +/* EA8F7C 8024049C 8FBF0024 */ lw $ra, 0x24($sp) +/* EA8F80 802404A0 8FB20020 */ lw $s2, 0x20($sp) +/* EA8F84 802404A4 8FB1001C */ lw $s1, 0x1c($sp) +/* EA8F88 802404A8 8FB00018 */ lw $s0, 0x18($sp) +/* EA8F8C 802404AC 24020002 */ addiu $v0, $zero, 2 +/* EA8F90 802404B0 03E00008 */ jr $ra +/* EA8F94 802404B4 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EA8AE0/func_802404B8_EA8F98.s b/asm/nonmatchings/code_EA8AE0/func_802404B8_EA8F98.s new file mode 100644 index 0000000000..1cd835d628 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_802404B8_EA8F98.s @@ -0,0 +1,272 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802404B8_EA8F98 +/* EA8F98 802404B8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EA8F9C 802404BC AFBF0020 */ sw $ra, 0x20($sp) +/* EA8FA0 802404C0 AFB1001C */ sw $s1, 0x1c($sp) +/* EA8FA4 802404C4 AFB00018 */ sw $s0, 0x18($sp) +/* EA8FA8 802404C8 8C910084 */ lw $s1, 0x84($a0) +/* EA8FAC 802404CC 86230044 */ lh $v1, 0x44($s1) +/* EA8FB0 802404D0 3C108011 */ lui $s0, %hi(D_80117578) +/* EA8FB4 802404D4 26107578 */ addiu $s0, $s0, %lo(D_80117578) +/* EA8FB8 802404D8 2C620005 */ sltiu $v0, $v1, 5 +/* EA8FBC 802404DC 1040008A */ beqz $v0, .L80240708 +/* EA8FC0 802404E0 00031080 */ sll $v0, $v1, 2 +/* EA8FC4 802404E4 3C018025 */ lui $at, %hi(D_80248340) +/* EA8FC8 802404E8 00220821 */ addu $at, $at, $v0 +/* EA8FCC 802404EC 8C228340 */ lw $v0, %lo(D_80248340)($at) +/* EA8FD0 802404F0 00400008 */ jr $v0 +/* EA8FD4 802404F4 00000000 */ nop +/* EA8FD8 802404F8 8E22003C */ lw $v0, 0x3c($s1) +/* EA8FDC 802404FC 86270046 */ lh $a3, 0x46($s1) +/* EA8FE0 80240500 AFA20010 */ sw $v0, 0x10($sp) +/* EA8FE4 80240504 8E250010 */ lw $a1, 0x10($s1) +/* EA8FE8 80240508 8E26001C */ lw $a2, 0x1c($s1) +/* EA8FEC 8024050C 0C00ADA9 */ jal func_8002B6A4 +/* EA8FF0 80240510 24040005 */ addiu $a0, $zero, 5 +/* EA8FF4 80240514 86270046 */ lh $a3, 0x46($s1) +/* EA8FF8 80240518 8E22003C */ lw $v0, 0x3c($s1) +/* EA8FFC 8024051C E6200004 */ swc1 $f0, 4($s1) +/* EA9000 80240520 AFA20010 */ sw $v0, 0x10($sp) +/* EA9004 80240524 8E25000C */ lw $a1, 0xc($s1) +/* EA9008 80240528 8E260018 */ lw $a2, 0x18($s1) +/* EA900C 8024052C 0C00ADA9 */ jal func_8002B6A4 +/* EA9010 80240530 0000202D */ daddu $a0, $zero, $zero +/* EA9014 80240534 86270046 */ lh $a3, 0x46($s1) +/* EA9018 80240538 8E22003C */ lw $v0, 0x3c($s1) +/* EA901C 8024053C E6200000 */ swc1 $f0, ($s1) +/* EA9020 80240540 AFA20010 */ sw $v0, 0x10($sp) +/* EA9024 80240544 8E250014 */ lw $a1, 0x14($s1) +/* EA9028 80240548 8E260020 */ lw $a2, 0x20($s1) +/* EA902C 8024054C 0C00ADA9 */ jal func_8002B6A4 +/* EA9030 80240550 0000202D */ daddu $a0, $zero, $zero +/* EA9034 80240554 8E220050 */ lw $v0, 0x50($s1) +/* EA9038 80240558 E6200008 */ swc1 $f0, 8($s1) +/* EA903C 8024055C C6200000 */ lwc1 $f0, ($s1) +/* EA9040 80240560 8C42000C */ lw $v0, 0xc($v0) +/* EA9044 80240564 E4400008 */ swc1 $f0, 8($v0) +/* EA9048 80240568 8E220050 */ lw $v0, 0x50($s1) +/* EA904C 8024056C C6200004 */ lwc1 $f0, 4($s1) +/* EA9050 80240570 8C42000C */ lw $v0, 0xc($v0) +/* EA9054 80240574 E440000C */ swc1 $f0, 0xc($v0) +/* EA9058 80240578 8E220050 */ lw $v0, 0x50($s1) +/* EA905C 8024057C C6200008 */ lwc1 $f0, 8($s1) +/* EA9060 80240580 8C42000C */ lw $v0, 0xc($v0) +/* EA9064 80240584 E4400010 */ swc1 $f0, 0x10($v0) +/* EA9068 80240588 96220046 */ lhu $v0, 0x46($s1) +/* EA906C 8024058C 8E23003C */ lw $v1, 0x3c($s1) +/* EA9070 80240590 24420001 */ addiu $v0, $v0, 1 +/* EA9074 80240594 A6220046 */ sh $v0, 0x46($s1) +/* EA9078 80240598 00021400 */ sll $v0, $v0, 0x10 +/* EA907C 8024059C 00021403 */ sra $v0, $v0, 0x10 +/* EA9080 802405A0 0043102A */ slt $v0, $v0, $v1 +/* EA9084 802405A4 14400058 */ bnez $v0, .L80240708 +/* EA9088 802405A8 24020001 */ addiu $v0, $zero, 1 +/* EA908C 802405AC A6220044 */ sh $v0, 0x44($s1) +/* EA9090 802405B0 080901C2 */ j .L80240708 +/* EA9094 802405B4 A6200046 */ sh $zero, 0x46($s1) +/* EA9098 802405B8 96220046 */ lhu $v0, 0x46($s1) +/* EA909C 802405BC 24420001 */ addiu $v0, $v0, 1 +/* EA90A0 802405C0 A6220046 */ sh $v0, 0x46($s1) +/* EA90A4 802405C4 00021400 */ sll $v0, $v0, 0x10 +/* EA90A8 802405C8 00021403 */ sra $v0, $v0, 0x10 +/* EA90AC 802405CC 2842003C */ slti $v0, $v0, 0x3c +/* EA90B0 802405D0 1440004D */ bnez $v0, .L80240708 +/* EA90B4 802405D4 24020002 */ addiu $v0, $zero, 2 +/* EA90B8 802405D8 8E230050 */ lw $v1, 0x50($s1) +/* EA90BC 802405DC A6220044 */ sh $v0, 0x44($s1) +/* EA90C0 802405E0 A6200046 */ sh $zero, 0x46($s1) +/* EA90C4 802405E4 8C63000C */ lw $v1, 0xc($v1) +/* EA90C8 802405E8 24020001 */ addiu $v0, $zero, 1 +/* EA90CC 802405EC AC620070 */ sw $v0, 0x70($v1) +/* EA90D0 802405F0 8E220050 */ lw $v0, 0x50($s1) +/* EA90D4 802405F4 8C42000C */ lw $v0, 0xc($v0) +/* EA90D8 802405F8 080901C2 */ j .L80240708 +/* EA90DC 802405FC AC400074 */ sw $zero, 0x74($v0) +/* EA90E0 80240600 96220046 */ lhu $v0, 0x46($s1) +/* EA90E4 80240604 24420001 */ addiu $v0, $v0, 1 +/* EA90E8 80240608 A6220046 */ sh $v0, 0x46($s1) +/* EA90EC 8024060C 00021400 */ sll $v0, $v0, 0x10 +/* EA90F0 80240610 00021403 */ sra $v0, $v0, 0x10 +/* EA90F4 80240614 2842003C */ slti $v0, $v0, 0x3c +/* EA90F8 80240618 1440003B */ bnez $v0, .L80240708 +/* EA90FC 8024061C 00000000 */ nop +/* EA9100 80240620 3C013F80 */ lui $at, 0x3f80 +/* EA9104 80240624 44810000 */ mtc1 $at, $f0 +/* EA9108 80240628 AFA00014 */ sw $zero, 0x14($sp) +/* EA910C 8024062C E7A00010 */ swc1 $f0, 0x10($sp) +/* EA9110 80240630 8E250018 */ lw $a1, 0x18($s1) +/* EA9114 80240634 8E26001C */ lw $a2, 0x1c($s1) +/* EA9118 80240638 8E270020 */ lw $a3, 0x20($s1) +/* EA911C 8024063C 0C01DE4C */ jal func_80077930 +/* EA9120 80240640 24040001 */ addiu $a0, $zero, 1 +/* EA9124 80240644 AE220054 */ sw $v0, 0x54($s1) +/* EA9128 80240648 8C43000C */ lw $v1, 0xc($v0) +/* EA912C 8024064C 9222003B */ lbu $v0, 0x3b($s1) +/* EA9130 80240650 A0620034 */ sb $v0, 0x34($v1) +/* EA9134 80240654 8E220054 */ lw $v0, 0x54($s1) +/* EA9138 80240658 8C42000C */ lw $v0, 0xc($v0) +/* EA913C 8024065C AC400020 */ sw $zero, 0x20($v0) +/* EA9140 80240660 8E250018 */ lw $a1, 0x18($s1) +/* EA9144 80240664 8E260028 */ lw $a2, 0x28($s1) +/* EA9148 80240668 8E270020 */ lw $a3, 0x20($s1) +/* EA914C 8024066C 0C046AAD */ jal func_8011AAB4 +/* EA9150 80240670 0000202D */ daddu $a0, $zero, $zero +/* EA9154 80240674 3C014210 */ lui $at, 0x4210 +/* EA9158 80240678 44810000 */ mtc1 $at, $f0 +/* EA915C 8024067C AE220040 */ sw $v0, 0x40($s1) +/* EA9160 80240680 24020003 */ addiu $v0, $zero, 3 +/* EA9164 80240684 A6220044 */ sh $v0, 0x44($s1) +/* EA9168 80240688 24020001 */ addiu $v0, $zero, 1 +/* EA916C 8024068C A6200046 */ sh $zero, 0x46($s1) +/* EA9170 80240690 AE20002C */ sw $zero, 0x2c($s1) +/* EA9174 80240694 A6220048 */ sh $v0, 0x48($s1) +/* EA9178 80240698 080901C2 */ j .L80240708 +/* EA917C 8024069C E6200030 */ swc1 $f0, 0x30($s1) +/* EA9180 802406A0 0000202D */ daddu $a0, $zero, $zero +/* EA9184 802406A4 3C054210 */ lui $a1, 0x4210 +/* EA9188 802406A8 3C064198 */ lui $a2, 0x4198 +/* EA918C 802406AC 86270046 */ lh $a3, 0x46($s1) +/* EA9190 802406B0 24020078 */ addiu $v0, $zero, 0x78 +/* EA9194 802406B4 0C00ADA9 */ jal func_8002B6A4 +/* EA9198 802406B8 AFA20010 */ sw $v0, 0x10($sp) +/* EA919C 802406BC 96220046 */ lhu $v0, 0x46($s1) +/* EA91A0 802406C0 E6200030 */ swc1 $f0, 0x30($s1) +/* EA91A4 802406C4 24420001 */ addiu $v0, $v0, 1 +/* EA91A8 802406C8 A6220046 */ sh $v0, 0x46($s1) +/* EA91AC 802406CC 00021400 */ sll $v0, $v0, 0x10 +/* EA91B0 802406D0 00021403 */ sra $v0, $v0, 0x10 +/* EA91B4 802406D4 28420078 */ slti $v0, $v0, 0x78 +/* EA91B8 802406D8 1440000B */ bnez $v0, .L80240708 +/* EA91BC 802406DC 24030001 */ addiu $v1, $zero, 1 +/* EA91C0 802406E0 C620002C */ lwc1 $f0, 0x2c($s1) +/* EA91C4 802406E4 24020002 */ addiu $v0, $zero, 2 +/* EA91C8 802406E8 A6220048 */ sh $v0, 0x48($s1) +/* EA91CC 802406EC 24020004 */ addiu $v0, $zero, 4 +/* EA91D0 802406F0 A620004C */ sh $zero, 0x4c($s1) +/* EA91D4 802406F4 A623004A */ sh $v1, 0x4a($s1) +/* EA91D8 802406F8 A623004E */ sh $v1, 0x4e($s1) +/* EA91DC 802406FC A6220044 */ sh $v0, 0x44($s1) +/* EA91E0 80240700 A6200046 */ sh $zero, 0x46($s1) +/* EA91E4 80240704 E6200034 */ swc1 $f0, 0x34($s1) +.L80240708: +/* EA91E8 80240708 8623004A */ lh $v1, 0x4a($s1) +/* EA91EC 8024070C 24020001 */ addiu $v0, $zero, 1 +/* EA91F0 80240710 10620005 */ beq $v1, $v0, .L80240728 +/* EA91F4 80240714 24020002 */ addiu $v0, $zero, 2 +/* EA91F8 80240718 1062001E */ beq $v1, $v0, .L80240794 +/* EA91FC 8024071C 00000000 */ nop +/* EA9200 80240720 0809020F */ j .L8024083C +/* EA9204 80240724 00000000 */ nop +.L80240728: +/* EA9208 80240728 8627004C */ lh $a3, 0x4c($s1) +/* EA920C 8024072C 24100078 */ addiu $s0, $zero, 0x78 +/* EA9210 80240730 AFB00010 */ sw $s0, 0x10($sp) +/* EA9214 80240734 8E250034 */ lw $a1, 0x34($s1) +/* EA9218 80240738 3C0644B4 */ lui $a2, 0x44b4 +/* EA921C 8024073C 0C00ADA9 */ jal func_8002B6A4 +/* EA9220 80240740 24040004 */ addiu $a0, $zero, 4 +/* EA9224 80240744 8627004C */ lh $a3, 0x4c($s1) +/* EA9228 80240748 E620002C */ swc1 $f0, 0x2c($s1) +/* EA922C 8024074C AFB00010 */ sw $s0, 0x10($sp) +/* EA9230 80240750 8E25001C */ lw $a1, 0x1c($s1) +/* EA9234 80240754 8E260024 */ lw $a2, 0x24($s1) +/* EA9238 80240758 0C00ADA9 */ jal func_8002B6A4 +/* EA923C 8024075C 2404000A */ addiu $a0, $zero, 0xa +/* EA9240 80240760 9622004C */ lhu $v0, 0x4c($s1) +/* EA9244 80240764 E6200004 */ swc1 $f0, 4($s1) +/* EA9248 80240768 24420001 */ addiu $v0, $v0, 1 +/* EA924C 8024076C A622004C */ sh $v0, 0x4c($s1) +/* EA9250 80240770 00021400 */ sll $v0, $v0, 0x10 +/* EA9254 80240774 00021403 */ sra $v0, $v0, 0x10 +/* EA9258 80240778 0050102A */ slt $v0, $v0, $s0 +/* EA925C 8024077C 1440002F */ bnez $v0, .L8024083C +/* EA9260 80240780 2402010E */ addiu $v0, $zero, 0x10e +/* EA9264 80240784 A622004C */ sh $v0, 0x4c($s1) +/* EA9268 80240788 24020002 */ addiu $v0, $zero, 2 +/* EA926C 8024078C 0809020E */ j .L80240838 +/* EA9270 80240790 A622004A */ sh $v0, 0x4a($s1) +.L80240794: +/* EA9274 80240794 8622004C */ lh $v0, 0x4c($s1) +/* EA9278 80240798 44826000 */ mtc1 $v0, $f12 +/* EA927C 8024079C 00000000 */ nop +/* EA9280 802407A0 0C00AD77 */ jal func_8002B5DC +/* EA9284 802407A4 46806320 */ cvt.s.w $f12, $f12 +/* EA9288 802407A8 3C013F80 */ lui $at, 0x3f80 +/* EA928C 802407AC 44811000 */ mtc1 $at, $f2 +/* EA9290 802407B0 00000000 */ nop +/* EA9294 802407B4 46020000 */ add.s $f0, $f0, $f2 +/* EA9298 802407B8 46000000 */ add.s $f0, $f0, $f0 +/* EA929C 802407BC C6220024 */ lwc1 $f2, 0x24($s1) +/* EA92A0 802407C0 8622004C */ lh $v0, 0x4c($s1) +/* EA92A4 802407C4 46001080 */ add.s $f2, $f2, $f0 +/* EA92A8 802407C8 24420008 */ addiu $v0, $v0, 8 +/* EA92AC 802407CC 44826000 */ mtc1 $v0, $f12 +/* EA92B0 802407D0 00000000 */ nop +/* EA92B4 802407D4 46806320 */ cvt.s.w $f12, $f12 +/* EA92B8 802407D8 0C00AB85 */ jal func_8002AE14 +/* EA92BC 802407DC E6220004 */ swc1 $f2, 4($s1) +/* EA92C0 802407E0 4600010D */ trunc.w.s $f4, $f0 +/* EA92C4 802407E4 44022000 */ mfc1 $v0, $f4 +/* EA92C8 802407E8 C6200004 */ lwc1 $f0, 4($s1) +/* EA92CC 802407EC A622004C */ sh $v0, 0x4c($s1) +/* EA92D0 802407F0 C60C0028 */ lwc1 $f12, 0x28($s0) +/* EA92D4 802407F4 8E060030 */ lw $a2, 0x30($s0) +/* EA92D8 802407F8 3C0141A0 */ lui $at, 0x41a0 +/* EA92DC 802407FC 44817000 */ mtc1 $at, $f14 +/* EA92E0 80240800 E7A00010 */ swc1 $f0, 0x10($sp) +/* EA92E4 80240804 C602002C */ lwc1 $f2, 0x2c($s0) +/* EA92E8 80240808 C6200008 */ lwc1 $f0, 8($s1) +/* EA92EC 8024080C E7A00014 */ swc1 $f0, 0x14($sp) +/* EA92F0 80240810 8E270000 */ lw $a3, ($s1) +/* EA92F4 80240814 0C00AC87 */ jal func_8002B21C +/* EA92F8 80240818 460E1380 */ add.s $f14, $f2, $f14 +/* EA92FC 8024081C 3C0141F0 */ lui $at, 0x41f0 +/* EA9300 80240820 44811000 */ mtc1 $at, $f2 +/* EA9304 80240824 00000000 */ nop +/* EA9308 80240828 4600103C */ c.lt.s $f2, $f0 +/* EA930C 8024082C 00000000 */ nop +/* EA9310 80240830 45010002 */ bc1t .L8024083C +/* EA9314 80240834 24020003 */ addiu $v0, $zero, 3 +.L80240838: +/* EA9318 80240838 A622004E */ sh $v0, 0x4e($s1) +.L8024083C: +/* EA931C 8024083C 86230048 */ lh $v1, 0x48($s1) +/* EA9320 80240840 24020001 */ addiu $v0, $zero, 1 +/* EA9324 80240844 10620005 */ beq $v1, $v0, .L8024085C +/* EA9328 80240848 24020002 */ addiu $v0, $zero, 2 +/* EA932C 8024084C 10620008 */ beq $v1, $v0, .L80240870 +/* EA9330 80240850 00000000 */ nop +/* EA9334 80240854 0809022C */ j .L802408B0 +/* EA9338 80240858 00000000 */ nop +.L8024085C: +/* EA933C 8024085C C620002C */ lwc1 $f0, 0x2c($s1) +/* EA9340 80240860 C62C0030 */ lwc1 $f12, 0x30($s1) +/* EA9344 80240864 0C00AB85 */ jal func_8002AE14 +/* EA9348 80240868 460C0300 */ add.s $f12, $f0, $f12 +/* EA934C 8024086C E620002C */ swc1 $f0, 0x2c($s1) +.L80240870: +/* EA9350 80240870 8E220054 */ lw $v0, 0x54($s1) +/* EA9354 80240874 C620002C */ lwc1 $f0, 0x2c($s1) +/* EA9358 80240878 8C42000C */ lw $v0, 0xc($v0) +/* EA935C 8024087C E4400024 */ swc1 $f0, 0x24($v0) +/* EA9360 80240880 8E220054 */ lw $v0, 0x54($s1) +/* EA9364 80240884 C6200018 */ lwc1 $f0, 0x18($s1) +/* EA9368 80240888 8C42000C */ lw $v0, 0xc($v0) +/* EA936C 8024088C E4400004 */ swc1 $f0, 4($v0) +/* EA9370 80240890 8E220054 */ lw $v0, 0x54($s1) +/* EA9374 80240894 C6200004 */ lwc1 $f0, 4($s1) +/* EA9378 80240898 8C42000C */ lw $v0, 0xc($v0) +/* EA937C 8024089C E4400008 */ swc1 $f0, 8($v0) +/* EA9380 802408A0 8E220054 */ lw $v0, 0x54($s1) +/* EA9384 802408A4 C6200020 */ lwc1 $f0, 0x20($s1) +/* EA9388 802408A8 8C42000C */ lw $v0, 0xc($v0) +/* EA938C 802408AC E440000C */ swc1 $f0, 0xc($v0) +.L802408B0: +/* EA9390 802408B0 8FBF0020 */ lw $ra, 0x20($sp) +/* EA9394 802408B4 8FB1001C */ lw $s1, 0x1c($sp) +/* EA9398 802408B8 8FB00018 */ lw $s0, 0x18($sp) +/* EA939C 802408BC 0000102D */ daddu $v0, $zero, $zero +/* EA93A0 802408C0 03E00008 */ jr $ra +/* EA93A4 802408C4 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EA8AE0/func_802408C8_EA93A8.s b/asm/nonmatchings/code_EA8AE0/func_802408C8_EA93A8.s new file mode 100644 index 0000000000..7c75c5a06c --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_802408C8_EA93A8.s @@ -0,0 +1,20 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802408C8_EA93A8 +/* EA93A8 802408C8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA93AC 802408CC AFB00010 */ sw $s0, 0x10($sp) +/* EA93B0 802408D0 0080802D */ daddu $s0, $a0, $zero +/* EA93B4 802408D4 AFBF0014 */ sw $ra, 0x14($sp) +/* EA93B8 802408D8 8E02000C */ lw $v0, 0xc($s0) +/* EA93BC 802408DC 0C0B53A3 */ jal func_802D4E8C +/* EA93C0 802408E0 8C450000 */ lw $a1, ($v0) +/* EA93C4 802408E4 8E030084 */ lw $v1, 0x84($s0) +/* EA93C8 802408E8 8FBF0014 */ lw $ra, 0x14($sp) +/* EA93CC 802408EC 8463004E */ lh $v1, 0x4e($v1) +/* EA93D0 802408F0 8FB00010 */ lw $s0, 0x10($sp) +/* EA93D4 802408F4 00621826 */ xor $v1, $v1, $v0 +/* EA93D8 802408F8 2C630001 */ sltiu $v1, $v1, 1 +/* EA93DC 802408FC 00031040 */ sll $v0, $v1, 1 +/* EA93E0 80240900 03E00008 */ jr $ra +/* EA93E4 80240904 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA8AE0/func_80240908_EA93E8.s b/asm/nonmatchings/code_EA8AE0/func_80240908_EA93E8.s new file mode 100644 index 0000000000..f4a63de96c --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80240908_EA93E8.s @@ -0,0 +1,72 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240908_EA93E8 +/* EA93E8 80240908 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EA93EC 8024090C AFB20020 */ sw $s2, 0x20($sp) +/* EA93F0 80240910 0080902D */ daddu $s2, $a0, $zero +/* EA93F4 80240914 AFBF0024 */ sw $ra, 0x24($sp) +/* EA93F8 80240918 AFB1001C */ sw $s1, 0x1c($sp) +/* EA93FC 8024091C AFB00018 */ sw $s0, 0x18($sp) +/* EA9400 80240920 10A00035 */ beqz $a1, .L802409F8 +/* EA9404 80240924 8E51000C */ lw $s1, 0xc($s2) +/* EA9408 80240928 0C00AFF5 */ jal func_8002BFD4 +/* EA940C 8024092C 24040058 */ addiu $a0, $zero, 0x58 +/* EA9410 80240930 0040802D */ daddu $s0, $v0, $zero +/* EA9414 80240934 AE500084 */ sw $s0, 0x84($s2) +/* EA9418 80240938 8E250000 */ lw $a1, ($s1) +/* EA941C 8024093C 26310004 */ addiu $s1, $s1, 4 +/* EA9420 80240940 0C0B53A3 */ jal func_802D4E8C +/* EA9424 80240944 0240202D */ daddu $a0, $s2, $zero +/* EA9428 80240948 AE020038 */ sw $v0, 0x38($s0) +/* EA942C 8024094C 8E250000 */ lw $a1, ($s1) +/* EA9430 80240950 26310004 */ addiu $s1, $s1, 4 +/* EA9434 80240954 0C0B55FF */ jal func_802D57FC +/* EA9438 80240958 0240202D */ daddu $a0, $s2, $zero +/* EA943C 8024095C E6000018 */ swc1 $f0, 0x18($s0) +/* EA9440 80240960 8E250000 */ lw $a1, ($s1) +/* EA9444 80240964 26310004 */ addiu $s1, $s1, 4 +/* EA9448 80240968 0C0B55FF */ jal func_802D57FC +/* EA944C 8024096C 0240202D */ daddu $a0, $s2, $zero +/* EA9450 80240970 E6000024 */ swc1 $f0, 0x24($s0) +/* EA9454 80240974 8E250000 */ lw $a1, ($s1) +/* EA9458 80240978 26310004 */ addiu $s1, $s1, 4 +/* EA945C 8024097C 0C0B55FF */ jal func_802D57FC +/* EA9460 80240980 0240202D */ daddu $a0, $s2, $zero +/* EA9464 80240984 E6000020 */ swc1 $f0, 0x20($s0) +/* EA9468 80240988 8E250000 */ lw $a1, ($s1) +/* EA946C 8024098C 0C0B55FF */ jal func_802D57FC +/* EA9470 80240990 0240202D */ daddu $a0, $s2, $zero +/* EA9474 80240994 3C013F80 */ lui $at, 0x3f80 +/* EA9478 80240998 44811000 */ mtc1 $at, $f2 +/* EA947C 8024099C E6000028 */ swc1 $f0, 0x28($s0) +/* EA9480 802409A0 AFA00014 */ sw $zero, 0x14($sp) +/* EA9484 802409A4 E7A20010 */ swc1 $f2, 0x10($sp) +/* EA9488 802409A8 8E050018 */ lw $a1, 0x18($s0) +/* EA948C 802409AC 8E060024 */ lw $a2, 0x24($s0) +/* EA9490 802409B0 8E070020 */ lw $a3, 0x20($s0) +/* EA9494 802409B4 0C01DE4C */ jal func_80077930 +/* EA9498 802409B8 24040001 */ addiu $a0, $zero, 1 +/* EA949C 802409BC AE020054 */ sw $v0, 0x54($s0) +/* EA94A0 802409C0 8C43000C */ lw $v1, 0xc($v0) +/* EA94A4 802409C4 9202003B */ lbu $v0, 0x3b($s0) +/* EA94A8 802409C8 A0620034 */ sb $v0, 0x34($v1) +/* EA94AC 802409CC 8E020054 */ lw $v0, 0x54($s0) +/* EA94B0 802409D0 8C42000C */ lw $v0, 0xc($v0) +/* EA94B4 802409D4 AC400020 */ sw $zero, 0x20($v0) +/* EA94B8 802409D8 8E050018 */ lw $a1, 0x18($s0) +/* EA94BC 802409DC 8E060028 */ lw $a2, 0x28($s0) +/* EA94C0 802409E0 8E070020 */ lw $a3, 0x20($s0) +/* EA94C4 802409E4 0C046AAD */ jal func_8011AAB4 +/* EA94C8 802409E8 0000202D */ daddu $a0, $zero, $zero +/* EA94CC 802409EC AE020040 */ sw $v0, 0x40($s0) +/* EA94D0 802409F0 2402010E */ addiu $v0, $zero, 0x10e +/* EA94D4 802409F4 A602004C */ sh $v0, 0x4c($s0) +.L802409F8: +/* EA94D8 802409F8 8FBF0024 */ lw $ra, 0x24($sp) +/* EA94DC 802409FC 8FB20020 */ lw $s2, 0x20($sp) +/* EA94E0 80240A00 8FB1001C */ lw $s1, 0x1c($sp) +/* EA94E4 80240A04 8FB00018 */ lw $s0, 0x18($sp) +/* EA94E8 80240A08 24020002 */ addiu $v0, $zero, 2 +/* EA94EC 80240A0C 03E00008 */ jr $ra +/* EA94F0 80240A10 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EA8AE0/func_80240A14_EA94F4.s b/asm/nonmatchings/code_EA8AE0/func_80240A14_EA94F4.s new file mode 100644 index 0000000000..343f567749 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80240A14_EA94F4.s @@ -0,0 +1,64 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240A14_EA94F4 +/* EA94F4 80240A14 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA94F8 80240A18 AFBF0014 */ sw $ra, 0x14($sp) +/* EA94FC 80240A1C AFB00010 */ sw $s0, 0x10($sp) +/* EA9500 80240A20 8C900084 */ lw $s0, 0x84($a0) +/* EA9504 80240A24 8602004C */ lh $v0, 0x4c($s0) +/* EA9508 80240A28 44826000 */ mtc1 $v0, $f12 +/* EA950C 80240A2C 00000000 */ nop +/* EA9510 80240A30 0C00AD77 */ jal func_8002B5DC +/* EA9514 80240A34 46806320 */ cvt.s.w $f12, $f12 +/* EA9518 80240A38 3C013F80 */ lui $at, 0x3f80 +/* EA951C 80240A3C 44811000 */ mtc1 $at, $f2 +/* EA9520 80240A40 00000000 */ nop +/* EA9524 80240A44 46020000 */ add.s $f0, $f0, $f2 +/* EA9528 80240A48 46000000 */ add.s $f0, $f0, $f0 +/* EA952C 80240A4C C6020024 */ lwc1 $f2, 0x24($s0) +/* EA9530 80240A50 8602004C */ lh $v0, 0x4c($s0) +/* EA9534 80240A54 46001080 */ add.s $f2, $f2, $f0 +/* EA9538 80240A58 24420008 */ addiu $v0, $v0, 8 +/* EA953C 80240A5C 44826000 */ mtc1 $v0, $f12 +/* EA9540 80240A60 00000000 */ nop +/* EA9544 80240A64 46806320 */ cvt.s.w $f12, $f12 +/* EA9548 80240A68 0C00AB85 */ jal func_8002AE14 +/* EA954C 80240A6C E6020004 */ swc1 $f2, 4($s0) +/* EA9550 80240A70 4600010D */ trunc.w.s $f4, $f0 +/* EA9554 80240A74 44022000 */ mfc1 $v0, $f4 +/* EA9558 80240A78 00000000 */ nop +/* EA955C 80240A7C A602004C */ sh $v0, 0x4c($s0) +/* EA9560 80240A80 3C028011 */ lui $v0, %hi(D_80117578) +/* EA9564 80240A84 24427578 */ addiu $v0, $v0, %lo(D_80117578) +/* EA9568 80240A88 C44C0028 */ lwc1 $f12, 0x28($v0) +/* EA956C 80240A8C C44E0030 */ lwc1 $f14, 0x30($v0) +/* EA9570 80240A90 8E060018 */ lw $a2, 0x18($s0) +/* EA9574 80240A94 0C00AC71 */ jal func_8002B1C4 +/* EA9578 80240A98 8E070020 */ lw $a3, 0x20($s0) +/* EA957C 80240A9C 3C0141F0 */ lui $at, 0x41f0 +/* EA9580 80240AA0 44811000 */ mtc1 $at, $f2 +/* EA9584 80240AA4 00000000 */ nop +/* EA9588 80240AA8 4602003E */ c.le.s $f0, $f2 +/* EA958C 80240AAC 00000000 */ nop +/* EA9590 80240AB0 45000002 */ bc1f .L80240ABC +/* EA9594 80240AB4 24020003 */ addiu $v0, $zero, 3 +/* EA9598 80240AB8 A602004E */ sh $v0, 0x4e($s0) +.L80240ABC: +/* EA959C 80240ABC 8E020054 */ lw $v0, 0x54($s0) +/* EA95A0 80240AC0 C6000018 */ lwc1 $f0, 0x18($s0) +/* EA95A4 80240AC4 8C42000C */ lw $v0, 0xc($v0) +/* EA95A8 80240AC8 E4400004 */ swc1 $f0, 4($v0) +/* EA95AC 80240ACC 8E020054 */ lw $v0, 0x54($s0) +/* EA95B0 80240AD0 C6000004 */ lwc1 $f0, 4($s0) +/* EA95B4 80240AD4 8C42000C */ lw $v0, 0xc($v0) +/* EA95B8 80240AD8 E4400008 */ swc1 $f0, 8($v0) +/* EA95BC 80240ADC 8E020054 */ lw $v0, 0x54($s0) +/* EA95C0 80240AE0 C6000020 */ lwc1 $f0, 0x20($s0) +/* EA95C4 80240AE4 8C42000C */ lw $v0, 0xc($v0) +/* EA95C8 80240AE8 E440000C */ swc1 $f0, 0xc($v0) +/* EA95CC 80240AEC 8FBF0014 */ lw $ra, 0x14($sp) +/* EA95D0 80240AF0 8FB00010 */ lw $s0, 0x10($sp) +/* EA95D4 80240AF4 0000102D */ daddu $v0, $zero, $zero +/* EA95D8 80240AF8 03E00008 */ jr $ra +/* EA95DC 80240AFC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA8AE0/func_80240B00_EA95E0.s b/asm/nonmatchings/code_EA8AE0/func_80240B00_EA95E0.s new file mode 100644 index 0000000000..9105d4998a --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80240B00_EA95E0.s @@ -0,0 +1,58 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240B00_EA95E0 +/* EA95E0 80240B00 27BDFE60 */ addiu $sp, $sp, -0x1a0 +/* EA95E4 80240B04 AFB30194 */ sw $s3, 0x194($sp) +/* EA95E8 80240B08 0080982D */ daddu $s3, $a0, $zero +/* EA95EC 80240B0C AFB1018C */ sw $s1, 0x18c($sp) +/* EA95F0 80240B10 27B10010 */ addiu $s1, $sp, 0x10 +/* EA95F4 80240B14 0220202D */ daddu $a0, $s1, $zero +/* EA95F8 80240B18 24050001 */ addiu $a1, $zero, 1 +/* EA95FC 80240B1C AFBF0198 */ sw $ra, 0x198($sp) +/* EA9600 80240B20 AFB20190 */ sw $s2, 0x190($sp) +/* EA9604 80240B24 AFB00188 */ sw $s0, 0x188($sp) +/* EA9608 80240B28 8E630090 */ lw $v1, 0x90($s3) +/* EA960C 80240B2C 0000902D */ daddu $s2, $zero, $zero +/* EA9610 80240B30 AFB3017C */ sw $s3, 0x17c($sp) +/* EA9614 80240B34 00A31004 */ sllv $v0, $v1, $a1 +/* EA9618 80240B38 00431021 */ addu $v0, $v0, $v1 +/* EA961C 80240B3C AFA20178 */ sw $v0, 0x178($sp) +/* EA9620 80240B40 8E630090 */ lw $v1, 0x90($s3) +/* EA9624 80240B44 27A20178 */ addiu $v0, $sp, 0x178 +/* EA9628 80240B48 AFA00184 */ sw $zero, 0x184($sp) +/* EA962C 80240B4C AFA2001C */ sw $v0, 0x1c($sp) +/* EA9630 80240B50 0C0B8AA0 */ jal func_802E2A80 +/* EA9634 80240B54 AFA30180 */ sw $v1, 0x180($sp) +/* EA9638 80240B58 0260802D */ daddu $s0, $s3, $zero +.L80240B5C: +/* EA963C 80240B5C 0220202D */ daddu $a0, $s1, $zero +/* EA9640 80240B60 0C0B8ADD */ jal func_802E2B74 +/* EA9644 80240B64 24050001 */ addiu $a1, $zero, 1 +/* EA9648 80240B68 0220202D */ daddu $a0, $s1, $zero +/* EA964C 80240B6C 3C05FE36 */ lui $a1, 0xfe36 +/* EA9650 80240B70 0C0B55FF */ jal func_802D57FC +/* EA9654 80240B74 34A53C81 */ ori $a1, $a1, 0x3c81 +/* EA9658 80240B78 0220202D */ daddu $a0, $s1, $zero +/* EA965C 80240B7C 3C05FE36 */ lui $a1, 0xfe36 +/* EA9660 80240B80 34A53C82 */ ori $a1, $a1, 0x3c82 +/* EA9664 80240B84 0C0B55FF */ jal func_802D57FC +/* EA9668 80240B88 E6000098 */ swc1 $f0, 0x98($s0) +/* EA966C 80240B8C 0220202D */ daddu $a0, $s1, $zero +/* EA9670 80240B90 3C05FE36 */ lui $a1, 0xfe36 +/* EA9674 80240B94 34A53C83 */ ori $a1, $a1, 0x3c83 +/* EA9678 80240B98 0C0B55FF */ jal func_802D57FC +/* EA967C 80240B9C E600009C */ swc1 $f0, 0x9c($s0) +/* EA9680 80240BA0 E60000A0 */ swc1 $f0, 0xa0($s0) +/* EA9684 80240BA4 2610000C */ addiu $s0, $s0, 0xc +/* EA9688 80240BA8 8E220084 */ lw $v0, 0x84($s1) +/* EA968C 80240BAC 1440FFEB */ bnez $v0, .L80240B5C +/* EA9690 80240BB0 26520001 */ addiu $s2, $s2, 1 +/* EA9694 80240BB4 AE7201DC */ sw $s2, 0x1dc($s3) +/* EA9698 80240BB8 8FBF0198 */ lw $ra, 0x198($sp) +/* EA969C 80240BBC 8FB30194 */ lw $s3, 0x194($sp) +/* EA96A0 80240BC0 8FB20190 */ lw $s2, 0x190($sp) +/* EA96A4 80240BC4 8FB1018C */ lw $s1, 0x18c($sp) +/* EA96A8 80240BC8 8FB00188 */ lw $s0, 0x188($sp) +/* EA96AC 80240BCC 03E00008 */ jr $ra +/* EA96B0 80240BD0 27BD01A0 */ addiu $sp, $sp, 0x1a0 diff --git a/asm/nonmatchings/code_EA8AE0/func_80240BD4_EA96B4.s b/asm/nonmatchings/code_EA8AE0/func_80240BD4_EA96B4.s new file mode 100644 index 0000000000..142ae02659 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80240BD4_EA96B4.s @@ -0,0 +1,69 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240BD4_EA96B4 +/* EA96B4 80240BD4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EA96B8 80240BD8 AFB10014 */ sw $s1, 0x14($sp) +/* EA96BC 80240BDC 0080882D */ daddu $s1, $a0, $zero +/* EA96C0 80240BE0 AFBF0024 */ sw $ra, 0x24($sp) +/* EA96C4 80240BE4 AFB40020 */ sw $s4, 0x20($sp) +/* EA96C8 80240BE8 AFB3001C */ sw $s3, 0x1c($sp) +/* EA96CC 80240BEC AFB20018 */ sw $s2, 0x18($sp) +/* EA96D0 80240BF0 AFB00010 */ sw $s0, 0x10($sp) +/* EA96D4 80240BF4 8E30000C */ lw $s0, 0xc($s1) +/* EA96D8 80240BF8 8E050000 */ lw $a1, ($s0) +/* EA96DC 80240BFC 0C0B53A3 */ jal func_802D4E8C +/* EA96E0 80240C00 26100004 */ addiu $s0, $s0, 4 +/* EA96E4 80240C04 8E050000 */ lw $a1, ($s0) +/* EA96E8 80240C08 26100004 */ addiu $s0, $s0, 4 +/* EA96EC 80240C0C 0220202D */ daddu $a0, $s1, $zero +/* EA96F0 80240C10 0C0B53A3 */ jal func_802D4E8C +/* EA96F4 80240C14 0040982D */ daddu $s3, $v0, $zero +/* EA96F8 80240C18 8E050000 */ lw $a1, ($s0) +/* EA96FC 80240C1C 26100004 */ addiu $s0, $s0, 4 +/* EA9700 80240C20 0220202D */ daddu $a0, $s1, $zero +/* EA9704 80240C24 0C0B53A3 */ jal func_802D4E8C +/* EA9708 80240C28 0040902D */ daddu $s2, $v0, $zero +/* EA970C 80240C2C 8E050000 */ lw $a1, ($s0) +/* EA9710 80240C30 26100004 */ addiu $s0, $s0, 4 +/* EA9714 80240C34 0220202D */ daddu $a0, $s1, $zero +/* EA9718 80240C38 0C0B53A3 */ jal func_802D4E8C +/* EA971C 80240C3C 0040A02D */ daddu $s4, $v0, $zero +/* EA9720 80240C40 0220202D */ daddu $a0, $s1, $zero +/* EA9724 80240C44 8E050000 */ lw $a1, ($s0) +/* EA9728 80240C48 0C0B53A3 */ jal func_802D4E8C +/* EA972C 80240C4C 0040882D */ daddu $s1, $v0, $zero +/* EA9730 80240C50 0000202D */ daddu $a0, $zero, $zero +/* EA9734 80240C54 3C05FD05 */ lui $a1, 0xfd05 +/* EA9738 80240C58 34A50F80 */ ori $a1, $a1, 0xf80 +/* EA973C 80240C5C 0C0B53A3 */ jal func_802D4E8C +/* EA9740 80240C60 0040802D */ daddu $s0, $v0, $zero +/* EA9744 80240C64 00131900 */ sll $v1, $s3, 4 +/* EA9748 80240C68 00731823 */ subu $v1, $v1, $s3 +/* EA974C 80240C6C 00031940 */ sll $v1, $v1, 5 +/* EA9750 80240C70 00432021 */ addu $a0, $v0, $v1 +/* EA9754 80240C74 24020002 */ addiu $v0, $zero, 2 +/* EA9758 80240C78 00121840 */ sll $v1, $s2, 1 +/* EA975C 80240C7C 00721821 */ addu $v1, $v1, $s2 +/* EA9760 80240C80 00431804 */ sllv $v1, $v1, $v0 +/* EA9764 80240C84 00832021 */ addu $a0, $a0, $v1 +/* EA9768 80240C88 44940000 */ mtc1 $s4, $f0 +/* EA976C 80240C8C 00000000 */ nop +/* EA9770 80240C90 46800020 */ cvt.s.w $f0, $f0 +/* EA9774 80240C94 E4800000 */ swc1 $f0, ($a0) +/* EA9778 80240C98 44910000 */ mtc1 $s1, $f0 +/* EA977C 80240C9C 00000000 */ nop +/* EA9780 80240CA0 46800020 */ cvt.s.w $f0, $f0 +/* EA9784 80240CA4 E4800004 */ swc1 $f0, 4($a0) +/* EA9788 80240CA8 44900000 */ mtc1 $s0, $f0 +/* EA978C 80240CAC 00000000 */ nop +/* EA9790 80240CB0 46800020 */ cvt.s.w $f0, $f0 +/* EA9794 80240CB4 E4800008 */ swc1 $f0, 8($a0) +/* EA9798 80240CB8 8FBF0024 */ lw $ra, 0x24($sp) +/* EA979C 80240CBC 8FB40020 */ lw $s4, 0x20($sp) +/* EA97A0 80240CC0 8FB3001C */ lw $s3, 0x1c($sp) +/* EA97A4 80240CC4 8FB20018 */ lw $s2, 0x18($sp) +/* EA97A8 80240CC8 8FB10014 */ lw $s1, 0x14($sp) +/* EA97AC 80240CCC 8FB00010 */ lw $s0, 0x10($sp) +/* EA97B0 80240CD0 03E00008 */ jr $ra +/* EA97B4 80240CD4 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EA8AE0/func_80240CD8_EA97B8.s b/asm/nonmatchings/code_EA8AE0/func_80240CD8_EA97B8.s new file mode 100644 index 0000000000..a4a5988231 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80240CD8_EA97B8.s @@ -0,0 +1,55 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240CD8_EA97B8 +/* EA97B8 80240CD8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EA97BC 80240CDC AFB10014 */ sw $s1, 0x14($sp) +/* EA97C0 80240CE0 0080882D */ daddu $s1, $a0, $zero +/* EA97C4 80240CE4 AFBF0020 */ sw $ra, 0x20($sp) +/* EA97C8 80240CE8 AFB3001C */ sw $s3, 0x1c($sp) +/* EA97CC 80240CEC AFB20018 */ sw $s2, 0x18($sp) +/* EA97D0 80240CF0 AFB00010 */ sw $s0, 0x10($sp) +/* EA97D4 80240CF4 8E30000C */ lw $s0, 0xc($s1) +/* EA97D8 80240CF8 8E050000 */ lw $a1, ($s0) +/* EA97DC 80240CFC 0C0B53A3 */ jal func_802D4E8C +/* EA97E0 80240D00 26100004 */ addiu $s0, $s0, 4 +/* EA97E4 80240D04 8E050000 */ lw $a1, ($s0) +/* EA97E8 80240D08 26100004 */ addiu $s0, $s0, 4 +/* EA97EC 80240D0C 0220202D */ daddu $a0, $s1, $zero +/* EA97F0 80240D10 0C0B53A3 */ jal func_802D4E8C +/* EA97F4 80240D14 0040982D */ daddu $s3, $v0, $zero +/* EA97F8 80240D18 8E050000 */ lw $a1, ($s0) +/* EA97FC 80240D1C 26100004 */ addiu $s0, $s0, 4 +/* EA9800 80240D20 0220202D */ daddu $a0, $s1, $zero +/* EA9804 80240D24 0C0B53A3 */ jal func_802D4E8C +/* EA9808 80240D28 0040902D */ daddu $s2, $v0, $zero +/* EA980C 80240D2C 8E050000 */ lw $a1, ($s0) +/* EA9810 80240D30 26100004 */ addiu $s0, $s0, 4 +/* EA9814 80240D34 0C0B53A3 */ jal func_802D4E8C +/* EA9818 80240D38 0220202D */ daddu $a0, $s1, $zero +/* EA981C 80240D3C 8E050000 */ lw $a1, ($s0) +/* EA9820 80240D40 0C0B53A3 */ jal func_802D4E8C +/* EA9824 80240D44 0220202D */ daddu $a0, $s1, $zero +/* EA9828 80240D48 0000202D */ daddu $a0, $zero, $zero +/* EA982C 80240D4C 3C05FD05 */ lui $a1, 0xfd05 +/* EA9830 80240D50 34A50F80 */ ori $a1, $a1, 0xf80 +/* EA9834 80240D54 0C0B53A3 */ jal func_802D4E8C +/* EA9838 80240D58 0040802D */ daddu $s0, $v0, $zero +/* EA983C 80240D5C 00131900 */ sll $v1, $s3, 4 +/* EA9840 80240D60 00731823 */ subu $v1, $v1, $s3 +/* EA9844 80240D64 00031940 */ sll $v1, $v1, 5 +/* EA9848 80240D68 00431821 */ addu $v1, $v0, $v1 +/* EA984C 80240D6C 24020002 */ addiu $v0, $zero, 2 +/* EA9850 80240D70 00529004 */ sllv $s2, $s2, $v0 +/* EA9854 80240D74 00721821 */ addu $v1, $v1, $s2 +/* EA9858 80240D78 44900000 */ mtc1 $s0, $f0 +/* EA985C 80240D7C 00000000 */ nop +/* EA9860 80240D80 46800020 */ cvt.s.w $f0, $f0 +/* EA9864 80240D84 E460006C */ swc1 $f0, 0x6c($v1) +/* EA9868 80240D88 8FBF0020 */ lw $ra, 0x20($sp) +/* EA986C 80240D8C 8FB3001C */ lw $s3, 0x1c($sp) +/* EA9870 80240D90 8FB20018 */ lw $s2, 0x18($sp) +/* EA9874 80240D94 8FB10014 */ lw $s1, 0x14($sp) +/* EA9878 80240D98 8FB00010 */ lw $s0, 0x10($sp) +/* EA987C 80240D9C 03E00008 */ jr $ra +/* EA9880 80240DA0 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EA8AE0/func_80240DA4_EA9884.s b/asm/nonmatchings/code_EA8AE0/func_80240DA4_EA9884.s new file mode 100644 index 0000000000..c32c542018 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80240DA4_EA9884.s @@ -0,0 +1,38 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240DA4_EA9884 +/* EA9884 80240DA4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA9888 80240DA8 AFB10014 */ sw $s1, 0x14($sp) +/* EA988C 80240DAC 0080882D */ daddu $s1, $a0, $zero +/* EA9890 80240DB0 AFBF0018 */ sw $ra, 0x18($sp) +/* EA9894 80240DB4 AFB00010 */ sw $s0, 0x10($sp) +/* EA9898 80240DB8 8E30000C */ lw $s0, 0xc($s1) +/* EA989C 80240DBC 8E050000 */ lw $a1, ($s0) +/* EA98A0 80240DC0 0C0B53A3 */ jal func_802D4E8C +/* EA98A4 80240DC4 26100004 */ addiu $s0, $s0, 4 +/* EA98A8 80240DC8 8E050000 */ lw $a1, ($s0) +/* EA98AC 80240DCC 26100004 */ addiu $s0, $s0, 4 +/* EA98B0 80240DD0 0C0B53A3 */ jal func_802D4E8C +/* EA98B4 80240DD4 0220202D */ daddu $a0, $s1, $zero +/* EA98B8 80240DD8 8E050000 */ lw $a1, ($s0) +/* EA98BC 80240DDC 26100004 */ addiu $s0, $s0, 4 +/* EA98C0 80240DE0 0C0B53A3 */ jal func_802D4E8C +/* EA98C4 80240DE4 0220202D */ daddu $a0, $s1, $zero +/* EA98C8 80240DE8 8E050000 */ lw $a1, ($s0) +/* EA98CC 80240DEC 26100004 */ addiu $s0, $s0, 4 +/* EA98D0 80240DF0 0C0B53A3 */ jal func_802D4E8C +/* EA98D4 80240DF4 0220202D */ daddu $a0, $s1, $zero +/* EA98D8 80240DF8 8E050000 */ lw $a1, ($s0) +/* EA98DC 80240DFC 0C0B53A3 */ jal func_802D4E8C +/* EA98E0 80240E00 0220202D */ daddu $a0, $s1, $zero +/* EA98E4 80240E04 0000202D */ daddu $a0, $zero, $zero +/* EA98E8 80240E08 3C05FD05 */ lui $a1, 0xfd05 +/* EA98EC 80240E0C 0C0B53A3 */ jal func_802D4E8C +/* EA98F0 80240E10 34A50F80 */ ori $a1, $a1, 0xf80 +/* EA98F4 80240E14 8FBF0018 */ lw $ra, 0x18($sp) +/* EA98F8 80240E18 8FB10014 */ lw $s1, 0x14($sp) +/* EA98FC 80240E1C 8FB00010 */ lw $s0, 0x10($sp) +/* EA9900 80240E20 24020002 */ addiu $v0, $zero, 2 +/* EA9904 80240E24 03E00008 */ jr $ra +/* EA9908 80240E28 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA8AE0/func_80240E2C_EA990C.s b/asm/nonmatchings/code_EA8AE0/func_80240E2C_EA990C.s new file mode 100644 index 0000000000..d6fbe7ee40 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80240E2C_EA990C.s @@ -0,0 +1,385 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240E2C_EA990C +/* EA990C 80240E2C 27BDFF70 */ addiu $sp, $sp, -0x90 +/* EA9910 80240E30 3C038025 */ lui $v1, %hi(D_80248380) +/* EA9914 80240E34 8C638380 */ lw $v1, %lo(D_80248380)($v1) +/* EA9918 80240E38 2402FFFF */ addiu $v0, $zero, -1 +/* EA991C 80240E3C AFBF005C */ sw $ra, 0x5c($sp) +/* EA9920 80240E40 AFBE0058 */ sw $fp, 0x58($sp) +/* EA9924 80240E44 AFB70054 */ sw $s7, 0x54($sp) +/* EA9928 80240E48 AFB60050 */ sw $s6, 0x50($sp) +/* EA992C 80240E4C AFB5004C */ sw $s5, 0x4c($sp) +/* EA9930 80240E50 AFB40048 */ sw $s4, 0x48($sp) +/* EA9934 80240E54 AFB30044 */ sw $s3, 0x44($sp) +/* EA9938 80240E58 AFB20040 */ sw $s2, 0x40($sp) +/* EA993C 80240E5C AFB1003C */ sw $s1, 0x3c($sp) +/* EA9940 80240E60 AFB00038 */ sw $s0, 0x38($sp) +/* EA9944 80240E64 F7BE0088 */ sdc1 $f30, 0x88($sp) +/* EA9948 80240E68 F7BC0080 */ sdc1 $f28, 0x80($sp) +/* EA994C 80240E6C F7BA0078 */ sdc1 $f26, 0x78($sp) +/* EA9950 80240E70 F7B80070 */ sdc1 $f24, 0x70($sp) +/* EA9954 80240E74 F7B60068 */ sdc1 $f22, 0x68($sp) +/* EA9958 80240E78 1062013F */ beq $v1, $v0, .L80241378 +/* EA995C 80240E7C F7B40060 */ sdc1 $f20, 0x60($sp) +/* EA9960 80240E80 1460005E */ bnez $v1, .L80240FFC +/* EA9964 80240E84 0000382D */ daddu $a3, $zero, $zero +/* EA9968 80240E88 00E0802D */ daddu $s0, $a3, $zero +/* EA996C 80240E8C 3C0142B4 */ lui $at, 0x42b4 +/* EA9970 80240E90 4481E000 */ mtc1 $at, $f28 +/* EA9974 80240E94 3C014334 */ lui $at, 0x4334 +/* EA9978 80240E98 4481D000 */ mtc1 $at, $f26 +/* EA997C 80240E9C 3C0143B4 */ lui $at, 0x43b4 +/* EA9980 80240EA0 4481A000 */ mtc1 $at, $f20 +/* EA9984 80240EA4 3C01C334 */ lui $at, 0xc334 +/* EA9988 80240EA8 4481B000 */ mtc1 $at, $f22 +.L80240EAC: +/* EA998C 80240EAC 0000202D */ daddu $a0, $zero, $zero +/* EA9990 80240EB0 3C05FD05 */ lui $a1, 0xfd05 +/* EA9994 80240EB4 34A50F80 */ ori $a1, $a1, 0xf80 +/* EA9998 80240EB8 0C0B53A3 */ jal func_802D4E8C +/* EA999C 80240EBC AFA70030 */ sw $a3, 0x30($sp) +/* EA99A0 80240EC0 00502021 */ addu $a0, $v0, $s0 +/* EA99A4 80240EC4 8FA70030 */ lw $a3, 0x30($sp) +/* EA99A8 80240EC8 24020001 */ addiu $v0, $zero, 1 +/* EA99AC 80240ECC 10E20011 */ beq $a3, $v0, .L80240F14 +/* EA99B0 80240ED0 28E20002 */ slti $v0, $a3, 2 +/* EA99B4 80240ED4 50400005 */ beql $v0, $zero, .L80240EEC +/* EA99B8 80240ED8 24020002 */ addiu $v0, $zero, 2 +/* EA99BC 80240EDC 10E00009 */ beqz $a3, .L80240F04 +/* EA99C0 80240EE0 00000000 */ nop +/* EA99C4 80240EE4 080904DE */ j .L80241378 +/* EA99C8 80240EE8 00000000 */ nop +.L80240EEC: +/* EA99CC 80240EEC 10E2000B */ beq $a3, $v0, .L80240F1C +/* EA99D0 80240EF0 24020003 */ addiu $v0, $zero, 3 +/* EA99D4 80240EF4 10E2000A */ beq $a3, $v0, .L80240F20 +/* EA99D8 80240EF8 24140005 */ addiu $s4, $zero, 5 +/* EA99DC 80240EFC 080904DE */ j .L80241378 +/* EA99E0 80240F00 00000000 */ nop +.L80240F04: +/* EA99E4 80240F04 3C014120 */ lui $at, 0x4120 +/* EA99E8 80240F08 4481C000 */ mtc1 $at, $f24 +/* EA99EC 80240F0C 080903CA */ j .L80240F28 +/* EA99F0 80240F10 24140009 */ addiu $s4, $zero, 9 +.L80240F14: +/* EA99F4 80240F14 080903C8 */ j .L80240F20 +/* EA99F8 80240F18 24140007 */ addiu $s4, $zero, 7 +.L80240F1C: +/* EA99FC 80240F1C 24140007 */ addiu $s4, $zero, 7 +.L80240F20: +/* EA9A00 80240F20 3C014100 */ lui $at, 0x4100 +/* EA9A04 80240F24 4481C000 */ mtc1 $at, $f24 +.L80240F28: +/* EA9A08 80240F28 0000882D */ daddu $s1, $zero, $zero +/* EA9A0C 80240F2C AC940090 */ sw $s4, 0x90($a0) +/* EA9A10 80240F30 1A800027 */ blez $s4, .L80240FD0 +/* EA9A14 80240F34 E4980094 */ swc1 $f24, 0x94($a0) +/* EA9A18 80240F38 2686FFFF */ addiu $a2, $s4, -1 +/* EA9A1C 80240F3C 0080182D */ daddu $v1, $a0, $zero +/* EA9A20 80240F40 24050004 */ addiu $a1, $zero, 4 +/* EA9A24 80240F44 3C013FE0 */ lui $at, 0x3fe0 +/* EA9A28 80240F48 44814800 */ mtc1 $at, $f9 +/* EA9A2C 80240F4C 44804000 */ mtc1 $zero, $f8 +/* EA9A30 80240F50 3C018025 */ lui $at, %hi(D_80248370) +/* EA9A34 80240F54 D4268370 */ ldc1 $f6, %lo(D_80248370)($at) +.L80240F58: +/* EA9A38 80240F58 16260004 */ bne $s1, $a2, .L80240F6C +/* EA9A3C 80240F5C 00851021 */ addu $v0, $a0, $a1 +/* EA9A40 80240F60 C460006C */ lwc1 $f0, 0x6c($v1) +/* EA9A44 80240F64 080903EE */ j .L80240FB8 +/* EA9A48 80240F68 461C0000 */ add.s $f0, $f0, $f28 +.L80240F6C: +/* EA9A4C 80240F6C C460006C */ lwc1 $f0, 0x6c($v1) +/* EA9A50 80240F70 C444006C */ lwc1 $f4, 0x6c($v0) +/* EA9A54 80240F74 46002081 */ sub.s $f2, $f4, $f0 +/* EA9A58 80240F78 4602D03C */ c.lt.s $f26, $f2 +/* EA9A5C 80240F7C 00000000 */ nop +/* EA9A60 80240F80 45000003 */ bc1f .L80240F90 +/* EA9A64 80240F84 00000000 */ nop +/* EA9A68 80240F88 080903E8 */ j .L80240FA0 +/* EA9A6C 80240F8C 46140000 */ add.s $f0, $f0, $f20 +.L80240F90: +/* EA9A70 80240F90 4616103C */ c.lt.s $f2, $f22 +/* EA9A74 80240F94 00000000 */ nop +/* EA9A78 80240F98 45030001 */ bc1tl .L80240FA0 +/* EA9A7C 80240F9C 46142100 */ add.s $f4, $f4, $f20 +.L80240FA0: +/* EA9A80 80240FA0 46040000 */ add.s $f0, $f0, $f4 +/* EA9A84 80240FA4 46000021 */ cvt.d.s $f0, $f0 +/* EA9A88 80240FA8 46280002 */ mul.d $f0, $f0, $f8 +/* EA9A8C 80240FAC 00000000 */ nop +/* EA9A90 80240FB0 46260000 */ add.d $f0, $f0, $f6 +/* EA9A94 80240FB4 46200020 */ cvt.s.d $f0, $f0 +.L80240FB8: +/* EA9A98 80240FB8 E460006C */ swc1 $f0, 0x6c($v1) +/* EA9A9C 80240FBC 24630004 */ addiu $v1, $v1, 4 +/* EA9AA0 80240FC0 26310001 */ addiu $s1, $s1, 1 +/* EA9AA4 80240FC4 0234102A */ slt $v0, $s1, $s4 +/* EA9AA8 80240FC8 1440FFE3 */ bnez $v0, .L80240F58 +/* EA9AAC 80240FCC 24A50004 */ addiu $a1, $a1, 4 +.L80240FD0: +/* EA9AB0 80240FD0 0C0902C0 */ jal func_80240B00_EA95E0 +/* EA9AB4 80240FD4 AFA70030 */ sw $a3, 0x30($sp) +/* EA9AB8 80240FD8 8FA70030 */ lw $a3, 0x30($sp) +/* EA9ABC 80240FDC 24E70001 */ addiu $a3, $a3, 1 +/* EA9AC0 80240FE0 28E20004 */ slti $v0, $a3, 4 +/* EA9AC4 80240FE4 1440FFB1 */ bnez $v0, .L80240EAC +/* EA9AC8 80240FE8 261001E0 */ addiu $s0, $s0, 0x1e0 +/* EA9ACC 80240FEC 24020001 */ addiu $v0, $zero, 1 +/* EA9AD0 80240FF0 3C018025 */ lui $at, %hi(D_80248380) +/* EA9AD4 80240FF4 AC228380 */ sw $v0, %lo(D_80248380)($at) +/* EA9AD8 80240FF8 0000382D */ daddu $a3, $zero, $zero +.L80240FFC: +/* EA9ADC 80240FFC 3C02800A */ lui $v0, %hi(D_800A15C4) +/* EA9AE0 80241000 244215C4 */ addiu $v0, $v0, %lo(D_800A15C4) +/* EA9AE4 80241004 0040402D */ daddu $t0, $v0, $zero +/* EA9AE8 80241008 3C090100 */ lui $t1, 0x100 +/* EA9AEC 8024100C 35294008 */ ori $t1, $t1, 0x4008 +/* EA9AF0 80241010 AFA90018 */ sw $t1, 0x18($sp) +/* EA9AF4 80241014 3C090602 */ lui $t1, 0x602 +/* EA9AF8 80241018 35290004 */ ori $t1, $t1, 4 +/* EA9AFC 8024101C AFA9001C */ sw $t1, 0x1c($sp) +/* EA9B00 80241020 AFA00020 */ sw $zero, 0x20($sp) +/* EA9B04 80241024 8D030000 */ lw $v1, ($t0) +/* EA9B08 80241028 3C02E700 */ lui $v0, 0xe700 +/* EA9B0C 8024102C 0060202D */ daddu $a0, $v1, $zero +/* EA9B10 80241030 24630008 */ addiu $v1, $v1, 8 +/* EA9B14 80241034 AD030000 */ sw $v1, ($t0) +/* EA9B18 80241038 AC820000 */ sw $v0, ($a0) +/* EA9B1C 8024103C 24620008 */ addiu $v0, $v1, 8 +/* EA9B20 80241040 AC800004 */ sw $zero, 4($a0) +/* EA9B24 80241044 AD020000 */ sw $v0, ($t0) +/* EA9B28 80241048 3C02DE00 */ lui $v0, 0xde00 +/* EA9B2C 8024104C AC620000 */ sw $v0, ($v1) +/* EA9B30 80241050 3C028024 */ lui $v0, %hi(D_80243AD8) +/* EA9B34 80241054 24423AD8 */ addiu $v0, $v0, %lo(D_80243AD8) +/* EA9B38 80241058 AC620004 */ sw $v0, 4($v1) +.L8024105C: +/* EA9B3C 8024105C 0000202D */ daddu $a0, $zero, $zero +/* EA9B40 80241060 3C05FD05 */ lui $a1, 0xfd05 +/* EA9B44 80241064 34A50F80 */ ori $a1, $a1, 0xf80 +/* EA9B48 80241068 AFA70030 */ sw $a3, 0x30($sp) +/* EA9B4C 8024106C 0C0B53A3 */ jal func_802D4E8C +/* EA9B50 80241070 AFA80034 */ sw $t0, 0x34($sp) +/* EA9B54 80241074 0000882D */ daddu $s1, $zero, $zero +/* EA9B58 80241078 8FA90020 */ lw $t1, 0x20($sp) +/* EA9B5C 8024107C 8FA80034 */ lw $t0, 0x34($sp) +/* EA9B60 80241080 0049A821 */ addu $s5, $v0, $t1 +/* EA9B64 80241084 3C02DE01 */ lui $v0, 0xde01 +/* EA9B68 80241088 C6B80094 */ lwc1 $f24, 0x94($s5) +/* EA9B6C 8024108C 8D040000 */ lw $a0, ($t0) +/* EA9B70 80241090 8EB40090 */ lw $s4, 0x90($s5) +/* EA9B74 80241094 24890008 */ addiu $t1, $a0, 8 +/* EA9B78 80241098 AFA90010 */ sw $t1, 0x10($sp) +/* EA9B7C 8024109C 8EA601DC */ lw $a2, 0x1dc($s5) +/* EA9B80 802410A0 AC820000 */ sw $v0, ($a0) +/* EA9B84 802410A4 00061940 */ sll $v1, $a2, 5 +/* EA9B88 802410A8 24620008 */ addiu $v0, $v1, 8 +/* EA9B8C 802410AC 00821021 */ addu $v0, $a0, $v0 +/* EA9B90 802410B0 01231821 */ addu $v1, $t1, $v1 +/* EA9B94 802410B4 AC820004 */ sw $v0, 4($a0) +/* EA9B98 802410B8 AD030000 */ sw $v1, ($t0) +/* EA9B9C 802410BC 8FA70030 */ lw $a3, 0x30($sp) +/* EA9BA0 802410C0 18C00088 */ blez $a2, .L802412E4 +/* EA9BA4 802410C4 0120982D */ daddu $s3, $t1, $zero +/* EA9BA8 802410C8 2682FFFF */ addiu $v0, $s4, -1 +/* EA9BAC 802410CC 00021080 */ sll $v0, $v0, 2 +/* EA9BB0 802410D0 02A21021 */ addu $v0, $s5, $v0 +/* EA9BB4 802410D4 AFA20014 */ sw $v0, 0x14($sp) +/* EA9BB8 802410D8 0220282D */ daddu $a1, $s1, $zero +/* EA9BBC 802410DC 0220F02D */ daddu $fp, $s1, $zero +/* EA9BC0 802410E0 0220B82D */ daddu $s7, $s1, $zero +/* EA9BC4 802410E4 0220B02D */ daddu $s6, $s1, $zero +/* EA9BC8 802410E8 02A0902D */ daddu $s2, $s5, $zero +/* EA9BCC 802410EC 24900016 */ addiu $s0, $a0, 0x16 +.L802410F0: +/* EA9BD0 802410F0 44911000 */ mtc1 $s1, $f2 +/* EA9BD4 802410F4 00000000 */ nop +/* EA9BD8 802410F8 468010A0 */ cvt.s.w $f2, $f2 +/* EA9BDC 802410FC 44940000 */ mtc1 $s4, $f0 +/* EA9BE0 80241100 00000000 */ nop +/* EA9BE4 80241104 46800020 */ cvt.s.w $f0, $f0 +/* EA9BE8 80241108 46001082 */ mul.s $f2, $f2, $f0 +/* EA9BEC 8024110C 00000000 */ nop +/* EA9BF0 80241110 44860000 */ mtc1 $a2, $f0 +/* EA9BF4 80241114 00000000 */ nop +/* EA9BF8 80241118 46800020 */ cvt.s.w $f0, $f0 +/* EA9BFC 8024111C C65A0098 */ lwc1 $f26, 0x98($s2) +/* EA9C00 80241120 C65C009C */ lwc1 $f28, 0x9c($s2) +/* EA9C04 80241124 C65E00A0 */ lwc1 $f30, 0xa0($s2) +/* EA9C08 80241128 46001083 */ div.s $f2, $f2, $f0 +/* EA9C0C 8024112C 4600128D */ trunc.w.s $f10, $f2 +/* EA9C10 80241130 44045000 */ mfc1 $a0, $f10 +/* EA9C14 80241134 00000000 */ nop +/* EA9C18 80241138 44840000 */ mtc1 $a0, $f0 +/* EA9C1C 8024113C 00000000 */ nop +/* EA9C20 80241140 46800020 */ cvt.s.w $f0, $f0 +/* EA9C24 80241144 24830001 */ addiu $v1, $a0, 1 +/* EA9C28 80241148 0074102A */ slt $v0, $v1, $s4 +/* EA9C2C 8024114C 14400005 */ bnez $v0, .L80241164 +/* EA9C30 80241150 46001181 */ sub.s $f6, $f2, $f0 +/* EA9C34 80241154 8FA90014 */ lw $t1, 0x14($sp) +/* EA9C38 80241158 C536006C */ lwc1 $f22, 0x6c($t1) +/* EA9C3C 8024115C 0809047C */ j .L802411F0 +/* EA9C40 80241160 4600B306 */ mov.s $f12, $f22 +.L80241164: +/* EA9C44 80241164 00031080 */ sll $v0, $v1, 2 +/* EA9C48 80241168 02A21021 */ addu $v0, $s5, $v0 +/* EA9C4C 8024116C C444006C */ lwc1 $f4, 0x6c($v0) +/* EA9C50 80241170 00041080 */ sll $v0, $a0, 2 +/* EA9C54 80241174 02A21021 */ addu $v0, $s5, $v0 +/* EA9C58 80241178 C44C006C */ lwc1 $f12, 0x6c($v0) +/* EA9C5C 8024117C 460C2081 */ sub.s $f2, $f4, $f12 +/* EA9C60 80241180 3C014334 */ lui $at, 0x4334 +/* EA9C64 80241184 44810000 */ mtc1 $at, $f0 +/* EA9C68 80241188 00000000 */ nop +/* EA9C6C 8024118C 4602003C */ c.lt.s $f0, $f2 +/* EA9C70 80241190 00000000 */ nop +/* EA9C74 80241194 45000006 */ bc1f .L802411B0 +/* EA9C78 80241198 00000000 */ nop +/* EA9C7C 8024119C 3C0143B4 */ lui $at, 0x43b4 +/* EA9C80 802411A0 44815000 */ mtc1 $at, $f10 +/* EA9C84 802411A4 00000000 */ nop +/* EA9C88 802411A8 460A2101 */ sub.s $f4, $f4, $f10 +/* EA9C8C 802411AC 460C2081 */ sub.s $f2, $f4, $f12 +.L802411B0: +/* EA9C90 802411B0 3C01C334 */ lui $at, 0xc334 +/* EA9C94 802411B4 44810000 */ mtc1 $at, $f0 +/* EA9C98 802411B8 00000000 */ nop +/* EA9C9C 802411BC 4600103C */ c.lt.s $f2, $f0 +/* EA9CA0 802411C0 00000000 */ nop +/* EA9CA4 802411C4 45020006 */ bc1fl .L802411E0 +/* EA9CA8 802411C8 460C2001 */ sub.s $f0, $f4, $f12 +/* EA9CAC 802411CC 3C0143B4 */ lui $at, 0x43b4 +/* EA9CB0 802411D0 44815000 */ mtc1 $at, $f10 +/* EA9CB4 802411D4 00000000 */ nop +/* EA9CB8 802411D8 460A2100 */ add.s $f4, $f4, $f10 +/* EA9CBC 802411DC 460C2001 */ sub.s $f0, $f4, $f12 +.L802411E0: +/* EA9CC0 802411E0 46060002 */ mul.s $f0, $f0, $f6 +/* EA9CC4 802411E4 00000000 */ nop +/* EA9CC8 802411E8 460C0580 */ add.s $f22, $f0, $f12 +/* EA9CCC 802411EC 4600B306 */ mov.s $f12, $f22 +.L802411F0: +/* EA9CD0 802411F0 AFA50028 */ sw $a1, 0x28($sp) +/* EA9CD4 802411F4 AFA6002C */ sw $a2, 0x2c($sp) +/* EA9CD8 802411F8 AFA70030 */ sw $a3, 0x30($sp) +/* EA9CDC 802411FC 0C00AD77 */ jal func_8002B5DC +/* EA9CE0 80241200 AFA80034 */ sw $t0, 0x34($sp) +/* EA9CE4 80241204 46180502 */ mul.s $f20, $f0, $f24 +/* EA9CE8 80241208 00000000 */ nop +/* EA9CEC 8024120C 0C00AD90 */ jal func_8002B640 +/* EA9CF0 80241210 4600B306 */ mov.s $f12, $f22 +/* EA9CF4 80241214 46000007 */ neg.s $f0, $f0 +/* EA9CF8 80241218 46180002 */ mul.s $f0, $f0, $f24 +/* EA9CFC 8024121C 00000000 */ nop +/* EA9D00 80241220 4614D100 */ add.s $f4, $f26, $f20 +/* EA9D04 80241224 4600E080 */ add.s $f2, $f28, $f0 +/* EA9D08 80241228 4614D501 */ sub.s $f20, $f26, $f20 +/* EA9D0C 8024122C 2652000C */ addiu $s2, $s2, 0xc +/* EA9D10 80241230 26310001 */ addiu $s1, $s1, 1 +/* EA9D14 80241234 4600E001 */ sub.s $f0, $f28, $f0 +/* EA9D18 80241238 4600228D */ trunc.w.s $f10, $f4 +/* EA9D1C 8024123C 44025000 */ mfc1 $v0, $f10 +/* EA9D20 80241240 00000000 */ nop +/* EA9D24 80241244 A6620000 */ sh $v0, ($s3) +/* EA9D28 80241248 4600128D */ trunc.w.s $f10, $f2 +/* EA9D2C 8024124C 44025000 */ mfc1 $v0, $f10 +/* EA9D30 80241250 4600F28D */ trunc.w.s $f10, $f30 +/* EA9D34 80241254 44035000 */ mfc1 $v1, $f10 +/* EA9D38 80241258 26730010 */ addiu $s3, $s3, 0x10 +/* EA9D3C 8024125C A602FFF4 */ sh $v0, -0xc($s0) +/* EA9D40 80241260 A603FFF6 */ sh $v1, -0xa($s0) +/* EA9D44 80241264 A616FFFA */ sh $s6, -6($s0) +/* EA9D48 80241268 A600FFFC */ sh $zero, -4($s0) +/* EA9D4C 8024126C A217FFFE */ sb $s7, -2($s0) +/* EA9D50 80241270 A21EFFFF */ sb $fp, -1($s0) +/* EA9D54 80241274 8FA50028 */ lw $a1, 0x28($sp) +/* EA9D58 80241278 4600A28D */ trunc.w.s $f10, $f20 +/* EA9D5C 8024127C 44025000 */ mfc1 $v0, $f10 +/* EA9D60 80241280 A2050000 */ sb $a1, ($s0) +/* EA9D64 80241284 26100010 */ addiu $s0, $s0, 0x10 +/* EA9D68 80241288 A6620000 */ sh $v0, ($s3) +/* EA9D6C 8024128C 4600028D */ trunc.w.s $f10, $f0 +/* EA9D70 80241290 44025000 */ mfc1 $v0, $f10 +/* EA9D74 80241294 00000000 */ nop +/* EA9D78 80241298 A602FFF4 */ sh $v0, -0xc($s0) +/* EA9D7C 8024129C 24020400 */ addiu $v0, $zero, 0x400 +/* EA9D80 802412A0 A603FFF6 */ sh $v1, -0xa($s0) +/* EA9D84 802412A4 A616FFFA */ sh $s6, -6($s0) +/* EA9D88 802412A8 A602FFFC */ sh $v0, -4($s0) +/* EA9D8C 802412AC A217FFFE */ sb $s7, -2($s0) +/* EA9D90 802412B0 A21EFFFF */ sb $fp, -1($s0) +/* EA9D94 802412B4 A2050000 */ sb $a1, ($s0) +/* EA9D98 802412B8 26100010 */ addiu $s0, $s0, 0x10 +/* EA9D9C 802412BC 26730010 */ addiu $s3, $s3, 0x10 +/* EA9DA0 802412C0 24A5001E */ addiu $a1, $a1, 0x1e +/* EA9DA4 802412C4 27DE0078 */ addiu $fp, $fp, 0x78 +/* EA9DA8 802412C8 26F70032 */ addiu $s7, $s7, 0x32 +/* EA9DAC 802412CC 8FA6002C */ lw $a2, 0x2c($sp) +/* EA9DB0 802412D0 8FA70030 */ lw $a3, 0x30($sp) +/* EA9DB4 802412D4 8FA80034 */ lw $t0, 0x34($sp) +/* EA9DB8 802412D8 0226102A */ slt $v0, $s1, $a2 +/* EA9DBC 802412DC 1440FF84 */ bnez $v0, .L802410F0 +/* EA9DC0 802412E0 26D60140 */ addiu $s6, $s6, 0x140 +.L802412E4: +/* EA9DC4 802412E4 24C5FFFF */ addiu $a1, $a2, -1 +/* EA9DC8 802412E8 18A00014 */ blez $a1, .L8024133C +/* EA9DCC 802412EC 0000882D */ daddu $s1, $zero, $zero +/* EA9DD0 802412F0 3C060002 */ lui $a2, 2 +/* EA9DD4 802412F4 34C60406 */ ori $a2, $a2, 0x406 +/* EA9DD8 802412F8 8FA40010 */ lw $a0, 0x10($sp) +.L802412FC: +/* EA9DDC 802412FC 8D030000 */ lw $v1, ($t0) +/* EA9DE0 80241300 26310001 */ addiu $s1, $s1, 1 +/* EA9DE4 80241304 0060102D */ daddu $v0, $v1, $zero +/* EA9DE8 80241308 24630008 */ addiu $v1, $v1, 8 +/* EA9DEC 8024130C AC440004 */ sw $a0, 4($v0) +/* EA9DF0 80241310 AD030000 */ sw $v1, ($t0) +/* EA9DF4 80241314 8FA90018 */ lw $t1, 0x18($sp) +/* EA9DF8 80241318 24840020 */ addiu $a0, $a0, 0x20 +/* EA9DFC 8024131C AC490000 */ sw $t1, ($v0) +/* EA9E00 80241320 24620008 */ addiu $v0, $v1, 8 +/* EA9E04 80241324 AD020000 */ sw $v0, ($t0) +/* EA9E08 80241328 8FA9001C */ lw $t1, 0x1c($sp) +/* EA9E0C 8024132C 0225102A */ slt $v0, $s1, $a1 +/* EA9E10 80241330 AC660004 */ sw $a2, 4($v1) +/* EA9E14 80241334 1440FFF1 */ bnez $v0, .L802412FC +/* EA9E18 80241338 AC690000 */ sw $t1, ($v1) +.L8024133C: +/* EA9E1C 8024133C 24E70001 */ addiu $a3, $a3, 1 +/* EA9E20 80241340 8FA90020 */ lw $t1, 0x20($sp) +/* EA9E24 80241344 28E20004 */ slti $v0, $a3, 4 +/* EA9E28 80241348 252901E0 */ addiu $t1, $t1, 0x1e0 +/* EA9E2C 8024134C 1440FF43 */ bnez $v0, .L8024105C +/* EA9E30 80241350 AFA90020 */ sw $t1, 0x20($sp) +/* EA9E34 80241354 3C03800A */ lui $v1, %hi(D_800A15C4) +/* EA9E38 80241358 246315C4 */ addiu $v1, $v1, %lo(D_800A15C4) +/* EA9E3C 8024135C 8C620000 */ lw $v0, ($v1) +/* EA9E40 80241360 0040202D */ daddu $a0, $v0, $zero +/* EA9E44 80241364 24420008 */ addiu $v0, $v0, 8 +/* EA9E48 80241368 AC620000 */ sw $v0, ($v1) +/* EA9E4C 8024136C 3C02E700 */ lui $v0, 0xe700 +/* EA9E50 80241370 AC820000 */ sw $v0, ($a0) +/* EA9E54 80241374 AC800004 */ sw $zero, 4($a0) +.L80241378: +/* EA9E58 80241378 8FBF005C */ lw $ra, 0x5c($sp) +/* EA9E5C 8024137C 8FBE0058 */ lw $fp, 0x58($sp) +/* EA9E60 80241380 8FB70054 */ lw $s7, 0x54($sp) +/* EA9E64 80241384 8FB60050 */ lw $s6, 0x50($sp) +/* EA9E68 80241388 8FB5004C */ lw $s5, 0x4c($sp) +/* EA9E6C 8024138C 8FB40048 */ lw $s4, 0x48($sp) +/* EA9E70 80241390 8FB30044 */ lw $s3, 0x44($sp) +/* EA9E74 80241394 8FB20040 */ lw $s2, 0x40($sp) +/* EA9E78 80241398 8FB1003C */ lw $s1, 0x3c($sp) +/* EA9E7C 8024139C 8FB00038 */ lw $s0, 0x38($sp) +/* EA9E80 802413A0 D7BE0088 */ ldc1 $f30, 0x88($sp) +/* EA9E84 802413A4 D7BC0080 */ ldc1 $f28, 0x80($sp) +/* EA9E88 802413A8 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* EA9E8C 802413AC D7B80070 */ ldc1 $f24, 0x70($sp) +/* EA9E90 802413B0 D7B60068 */ ldc1 $f22, 0x68($sp) +/* EA9E94 802413B4 D7B40060 */ ldc1 $f20, 0x60($sp) +/* EA9E98 802413B8 03E00008 */ jr $ra +/* EA9E9C 802413BC 27BD0090 */ addiu $sp, $sp, 0x90 diff --git a/asm/nonmatchings/code_EA8AE0/func_802413C0_EA9EA0.s b/asm/nonmatchings/code_EA8AE0/func_802413C0_EA9EA0.s new file mode 100644 index 0000000000..563016e8ea --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_802413C0_EA9EA0.s @@ -0,0 +1,19 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802413C0_EA9EA0 +/* EA9EA0 802413C0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EA9EA4 802413C4 3C028024 */ lui $v0, %hi(func_80240E2C_EA990C) +/* EA9EA8 802413C8 24420E2C */ addiu $v0, $v0, %lo(func_80240E2C_EA990C) +/* EA9EAC 802413CC AFA2001C */ sw $v0, 0x1c($sp) +/* EA9EB0 802413D0 2402000A */ addiu $v0, $zero, 0xa +/* EA9EB4 802413D4 AFA20014 */ sw $v0, 0x14($sp) +/* EA9EB8 802413D8 24020001 */ addiu $v0, $zero, 1 +/* EA9EBC 802413DC 27A40010 */ addiu $a0, $sp, 0x10 +/* EA9EC0 802413E0 AFBF0020 */ sw $ra, 0x20($sp) +/* EA9EC4 802413E4 AFA00018 */ sw $zero, 0x18($sp) +/* EA9EC8 802413E8 0C04A144 */ jal func_80128510 +/* EA9ECC 802413EC AFA20010 */ sw $v0, 0x10($sp) +/* EA9ED0 802413F0 8FBF0020 */ lw $ra, 0x20($sp) +/* EA9ED4 802413F4 03E00008 */ jr $ra +/* EA9ED8 802413F8 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EA8AE0/func_802413FC_EA9EDC.s b/asm/nonmatchings/code_EA8AE0/func_802413FC_EA9EDC.s new file mode 100644 index 0000000000..b06c7bd309 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_802413FC_EA9EDC.s @@ -0,0 +1,8 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802413FC_EA9EDC +/* EA9EDC 802413FC 3C018025 */ lui $at, %hi(D_80248380) +/* EA9EE0 80241400 AC208380 */ sw $zero, %lo(D_80248380)($at) +/* EA9EE4 80241404 03E00008 */ jr $ra +/* EA9EE8 80241408 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EA8AE0/func_8024140C_EA9EEC.s b/asm/nonmatchings/code_EA8AE0/func_8024140C_EA9EEC.s new file mode 100644 index 0000000000..2b995cd028 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_8024140C_EA9EEC.s @@ -0,0 +1,27 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024140C_EA9EEC +/* EA9EEC 8024140C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EA9EF0 80241410 AFB00010 */ sw $s0, 0x10($sp) +/* EA9EF4 80241414 0080802D */ daddu $s0, $a0, $zero +/* EA9EF8 80241418 AFBF0014 */ sw $ra, 0x14($sp) +/* EA9EFC 8024141C 0C00AFF5 */ jal func_8002BFD4 +/* EA9F00 80241420 24040780 */ addiu $a0, $zero, 0x780 +/* EA9F04 80241424 0200202D */ daddu $a0, $s0, $zero +/* EA9F08 80241428 3C05FD05 */ lui $a1, 0xfd05 +/* EA9F0C 8024142C 34A50F80 */ ori $a1, $a1, 0xf80 +/* EA9F10 80241430 0C0B551A */ jal func_802D5468 +/* EA9F14 80241434 0040302D */ daddu $a2, $v0, $zero +/* EA9F18 80241438 2402FFFF */ addiu $v0, $zero, -1 +/* EA9F1C 8024143C 3C058024 */ lui $a1, %hi(func_802413C0_EA9EA0) +/* EA9F20 80241440 24A513C0 */ addiu $a1, $a1, %lo(func_802413C0_EA9EA0) +/* EA9F24 80241444 3C018025 */ lui $at, %hi(D_80248380) +/* EA9F28 80241448 AC228380 */ sw $v0, %lo(D_80248380)($at) +/* EA9F2C 8024144C 0C04B7FA */ jal func_8012DFE8 +/* EA9F30 80241450 0000202D */ daddu $a0, $zero, $zero +/* EA9F34 80241454 8FBF0014 */ lw $ra, 0x14($sp) +/* EA9F38 80241458 8FB00010 */ lw $s0, 0x10($sp) +/* EA9F3C 8024145C 24020002 */ addiu $v0, $zero, 2 +/* EA9F40 80241460 03E00008 */ jr $ra +/* EA9F44 80241464 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA8AE0/func_80241468_EA9F48.s b/asm/nonmatchings/code_EA8AE0/func_80241468_EA9F48.s new file mode 100644 index 0000000000..3dee9a2865 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80241468_EA9F48.s @@ -0,0 +1,53 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241468_EA9F48 +/* EA9F48 80241468 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EA9F4C 8024146C AFB00010 */ sw $s0, 0x10($sp) +/* EA9F50 80241470 3C108024 */ lui $s0, %hi(D_80243D74) +/* EA9F54 80241474 26103D74 */ addiu $s0, $s0, %lo(D_80243D74) +/* EA9F58 80241478 AFBF0018 */ sw $ra, 0x18($sp) +/* EA9F5C 8024147C AFB10014 */ sw $s1, 0x14($sp) +/* EA9F60 80241480 8E020000 */ lw $v0, ($s0) +/* EA9F64 80241484 14400010 */ bnez $v0, .L802414C8 +/* EA9F68 80241488 0080882D */ daddu $s1, $a0, $zero +/* EA9F6C 8024148C 0C00AFF5 */ jal func_8002BFD4 +/* EA9F70 80241490 24040040 */ addiu $a0, $zero, 0x40 +/* EA9F74 80241494 AE020000 */ sw $v0, ($s0) +/* EA9F78 80241498 0000182D */ daddu $v1, $zero, $zero +/* EA9F7C 8024149C 0040282D */ daddu $a1, $v0, $zero +/* EA9F80 802414A0 0220202D */ daddu $a0, $s1, $zero +.L802414A4: +/* EA9F84 802414A4 8C820084 */ lw $v0, 0x84($a0) +/* EA9F88 802414A8 24840004 */ addiu $a0, $a0, 4 +/* EA9F8C 802414AC 24630001 */ addiu $v1, $v1, 1 +/* EA9F90 802414B0 ACA20000 */ sw $v0, ($a1) +/* EA9F94 802414B4 28620010 */ slti $v0, $v1, 0x10 +/* EA9F98 802414B8 1440FFFA */ bnez $v0, .L802414A4 +/* EA9F9C 802414BC 24A50004 */ addiu $a1, $a1, 4 +/* EA9FA0 802414C0 08090541 */ j .L80241504 +/* EA9FA4 802414C4 00000000 */ nop +.L802414C8: +/* EA9FA8 802414C8 0000182D */ daddu $v1, $zero, $zero +/* EA9FAC 802414CC 0040282D */ daddu $a1, $v0, $zero +/* EA9FB0 802414D0 0220202D */ daddu $a0, $s1, $zero +.L802414D4: +/* EA9FB4 802414D4 8CA20000 */ lw $v0, ($a1) +/* EA9FB8 802414D8 24A50004 */ addiu $a1, $a1, 4 +/* EA9FBC 802414DC 24630001 */ addiu $v1, $v1, 1 +/* EA9FC0 802414E0 AC820084 */ sw $v0, 0x84($a0) +/* EA9FC4 802414E4 28620010 */ slti $v0, $v1, 0x10 +/* EA9FC8 802414E8 1440FFFA */ bnez $v0, .L802414D4 +/* EA9FCC 802414EC 24840004 */ addiu $a0, $a0, 4 +/* EA9FD0 802414F0 3C108024 */ lui $s0, %hi(D_80243D74) +/* EA9FD4 802414F4 26103D74 */ addiu $s0, $s0, %lo(D_80243D74) +/* EA9FD8 802414F8 0C00B007 */ jal func_8002C01C +/* EA9FDC 802414FC 8E040000 */ lw $a0, ($s0) +/* EA9FE0 80241500 AE000000 */ sw $zero, ($s0) +.L80241504: +/* EA9FE4 80241504 8FBF0018 */ lw $ra, 0x18($sp) +/* EA9FE8 80241508 8FB10014 */ lw $s1, 0x14($sp) +/* EA9FEC 8024150C 8FB00010 */ lw $s0, 0x10($sp) +/* EA9FF0 80241510 24020002 */ addiu $v0, $zero, 2 +/* EA9FF4 80241514 03E00008 */ jr $ra +/* EA9FF8 80241518 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA8AE0/func_8024151C_EA9FFC.s b/asm/nonmatchings/code_EA8AE0/func_8024151C_EA9FFC.s new file mode 100644 index 0000000000..4d0a83fa38 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_8024151C_EA9FFC.s @@ -0,0 +1,29 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024151C_EA9FFC +/* EA9FFC 8024151C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EAA000 80241520 AFB00010 */ sw $s0, 0x10($sp) +/* EAA004 80241524 0080802D */ daddu $s0, $a0, $zero +/* EAA008 80241528 AFBF0018 */ sw $ra, 0x18($sp) +/* EAA00C 8024152C AFB10014 */ sw $s1, 0x14($sp) +/* EAA010 80241530 8E02000C */ lw $v0, 0xc($s0) +/* EAA014 80241534 8C510000 */ lw $s1, ($v0) +/* EAA018 80241538 0C0B53A3 */ jal func_802D4E8C +/* EAA01C 8024153C 0220282D */ daddu $a1, $s1, $zero +/* EAA020 80241540 3C03FFF0 */ lui $v1, 0xfff0 +/* EAA024 80241544 3463FFFF */ ori $v1, $v1, 0xffff +/* EAA028 80241548 0200202D */ daddu $a0, $s0, $zero +/* EAA02C 8024154C 00431024 */ and $v0, $v0, $v1 +/* EAA030 80241550 00021140 */ sll $v0, $v0, 5 +/* EAA034 80241554 3C068009 */ lui $a2, %hi(D_8008D2C0) +/* EAA038 80241558 00C23021 */ addu $a2, $a2, $v0 +/* EAA03C 8024155C 8CC6D2C0 */ lw $a2, %lo(D_8008D2C0)($a2) +/* EAA040 80241560 0C0B551A */ jal func_802D5468 +/* EAA044 80241564 0220282D */ daddu $a1, $s1, $zero +/* EAA048 80241568 8FBF0018 */ lw $ra, 0x18($sp) +/* EAA04C 8024156C 8FB10014 */ lw $s1, 0x14($sp) +/* EAA050 80241570 8FB00010 */ lw $s0, 0x10($sp) +/* EAA054 80241574 24020002 */ addiu $v0, $zero, 2 +/* EAA058 80241578 03E00008 */ jr $ra +/* EAA05C 8024157C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA8AE0/func_80241580_EAA060.s b/asm/nonmatchings/code_EA8AE0/func_80241580_EAA060.s new file mode 100644 index 0000000000..840e9233a6 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80241580_EAA060.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241580_EAA060 +/* EAA060 80241580 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EAA064 80241584 AFB10014 */ sw $s1, 0x14($sp) +/* EAA068 80241588 0080882D */ daddu $s1, $a0, $zero +/* EAA06C 8024158C AFBF0018 */ sw $ra, 0x18($sp) +/* EAA070 80241590 AFB00010 */ sw $s0, 0x10($sp) +/* EAA074 80241594 8E30000C */ lw $s0, 0xc($s1) +/* EAA078 80241598 8E050000 */ lw $a1, ($s0) +/* EAA07C 8024159C 0C0B53A3 */ jal func_802D4E8C +/* EAA080 802415A0 26100004 */ addiu $s0, $s0, 4 +/* EAA084 802415A4 0C00F94D */ jal func_8003E534 +/* EAA088 802415A8 0040202D */ daddu $a0, $v0, $zero +/* EAA08C 802415AC 10400005 */ beqz $v0, .L802415C4 +/* EAA090 802415B0 00000000 */ nop +/* EAA094 802415B4 8E050000 */ lw $a1, ($s0) +/* EAA098 802415B8 844600A8 */ lh $a2, 0xa8($v0) +/* EAA09C 802415BC 0C0B551A */ jal func_802D5468 +/* EAA0A0 802415C0 0220202D */ daddu $a0, $s1, $zero +.L802415C4: +/* EAA0A4 802415C4 8FBF0018 */ lw $ra, 0x18($sp) +/* EAA0A8 802415C8 8FB10014 */ lw $s1, 0x14($sp) +/* EAA0AC 802415CC 8FB00010 */ lw $s0, 0x10($sp) +/* EAA0B0 802415D0 24020002 */ addiu $v0, $zero, 2 +/* EAA0B4 802415D4 03E00008 */ jr $ra +/* EAA0B8 802415D8 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA8AE0/func_802415DC_EAA0BC.s b/asm/nonmatchings/code_EA8AE0/func_802415DC_EAA0BC.s new file mode 100644 index 0000000000..f21bdef38d --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_802415DC_EAA0BC.s @@ -0,0 +1,122 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802415DC_EAA0BC +/* EAA0BC 802415DC 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EAA0C0 802415E0 AFB10014 */ sw $s1, 0x14($sp) +/* EAA0C4 802415E4 0080882D */ daddu $s1, $a0, $zero +/* EAA0C8 802415E8 AFBF0024 */ sw $ra, 0x24($sp) +/* EAA0CC 802415EC AFB40020 */ sw $s4, 0x20($sp) +/* EAA0D0 802415F0 AFB3001C */ sw $s3, 0x1c($sp) +/* EAA0D4 802415F4 AFB20018 */ sw $s2, 0x18($sp) +/* EAA0D8 802415F8 AFB00010 */ sw $s0, 0x10($sp) +/* EAA0DC 802415FC F7BC0048 */ sdc1 $f28, 0x48($sp) +/* EAA0E0 80241600 F7BA0040 */ sdc1 $f26, 0x40($sp) +/* EAA0E4 80241604 F7B80038 */ sdc1 $f24, 0x38($sp) +/* EAA0E8 80241608 F7B60030 */ sdc1 $f22, 0x30($sp) +/* EAA0EC 8024160C F7B40028 */ sdc1 $f20, 0x28($sp) +/* EAA0F0 80241610 8E30000C */ lw $s0, 0xc($s1) +/* EAA0F4 80241614 8E130000 */ lw $s3, ($s0) +/* EAA0F8 80241618 26100004 */ addiu $s0, $s0, 4 +/* EAA0FC 8024161C 0C0B53A3 */ jal func_802D4E8C +/* EAA100 80241620 0260282D */ daddu $a1, $s3, $zero +/* EAA104 80241624 4482E000 */ mtc1 $v0, $f28 +/* EAA108 80241628 00000000 */ nop +/* EAA10C 8024162C 4680E720 */ cvt.s.w $f28, $f28 +/* EAA110 80241630 8E140000 */ lw $s4, ($s0) +/* EAA114 80241634 26100004 */ addiu $s0, $s0, 4 +/* EAA118 80241638 0220202D */ daddu $a0, $s1, $zero +/* EAA11C 8024163C 0C0B53A3 */ jal func_802D4E8C +/* EAA120 80241640 0280282D */ daddu $a1, $s4, $zero +/* EAA124 80241644 4482D000 */ mtc1 $v0, $f26 +/* EAA128 80241648 00000000 */ nop +/* EAA12C 8024164C 4680D6A0 */ cvt.s.w $f26, $f26 +/* EAA130 80241650 8E100000 */ lw $s0, ($s0) +/* EAA134 80241654 0220202D */ daddu $a0, $s1, $zero +/* EAA138 80241658 0C0B53A3 */ jal func_802D4E8C +/* EAA13C 8024165C 0200282D */ daddu $a1, $s0, $zero +/* EAA140 80241660 4482C000 */ mtc1 $v0, $f24 +/* EAA144 80241664 00000000 */ nop +/* EAA148 80241668 4680C620 */ cvt.s.w $f24, $f24 +/* EAA14C 8024166C 3C128011 */ lui $s2, %hi(D_80117578) +/* EAA150 80241670 26527578 */ addiu $s2, $s2, %lo(D_80117578) +/* EAA154 80241674 3C038008 */ lui $v1, %hi(D_8007C760) +/* EAA158 80241678 8C63C760 */ lw $v1, %lo(D_8007C760)($v1) +/* EAA15C 8024167C C64200A8 */ lwc1 $f2, 0xa8($s2) +/* EAA160 80241680 44800000 */ mtc1 $zero, $f0 +/* EAA164 80241684 00031080 */ sll $v0, $v1, 2 +/* EAA168 80241688 00431021 */ addu $v0, $v0, $v1 +/* EAA16C 8024168C 00021080 */ sll $v0, $v0, 2 +/* EAA170 80241690 00431023 */ subu $v0, $v0, $v1 +/* EAA174 80241694 000218C0 */ sll $v1, $v0, 3 +/* EAA178 80241698 00431021 */ addu $v0, $v0, $v1 +/* EAA17C 8024169C 000210C0 */ sll $v0, $v0, 3 +/* EAA180 802416A0 46001032 */ c.eq.s $f2, $f0 +/* EAA184 802416A4 3C01800C */ lui $at, %hi(D_800B8DEC) +/* EAA188 802416A8 00220821 */ addu $at, $at, $v0 +/* EAA18C 802416AC C4368DEC */ lwc1 $f22, %lo(D_800B8DEC)($at) +/* EAA190 802416B0 45000005 */ bc1f .L802416C8 +/* EAA194 802416B4 00000000 */ nop +/* EAA198 802416B8 3C0142C8 */ lui $at, 0x42c8 +/* EAA19C 802416BC 44810000 */ mtc1 $at, $f0 +/* EAA1A0 802416C0 080905B6 */ j .L802416D8 +/* EAA1A4 802416C4 4600B581 */ sub.s $f22, $f22, $f0 +.L802416C8: +/* EAA1A8 802416C8 3C0142C8 */ lui $at, 0x42c8 +/* EAA1AC 802416CC 44810000 */ mtc1 $at, $f0 +/* EAA1B0 802416D0 00000000 */ nop +/* EAA1B4 802416D4 4600B580 */ add.s $f22, $f22, $f0 +.L802416D8: +/* EAA1B8 802416D8 0C00AB85 */ jal func_8002AE14 +/* EAA1BC 802416DC 4600B306 */ mov.s $f12, $f22 +/* EAA1C0 802416E0 46000586 */ mov.s $f22, $f0 +/* EAA1C4 802416E4 3C014170 */ lui $at, 0x4170 +/* EAA1C8 802416E8 4481A000 */ mtc1 $at, $f20 +/* EAA1CC 802416EC 0C00AD77 */ jal func_8002B5DC +/* EAA1D0 802416F0 4600B306 */ mov.s $f12, $f22 +/* EAA1D4 802416F4 46140002 */ mul.s $f0, $f0, $f20 +/* EAA1D8 802416F8 00000000 */ nop +/* EAA1DC 802416FC 864200B0 */ lh $v0, 0xb0($s2) +/* EAA1E0 80241700 3C013F00 */ lui $at, 0x3f00 +/* EAA1E4 80241704 44812000 */ mtc1 $at, $f4 +/* EAA1E8 80241708 44821000 */ mtc1 $v0, $f2 +/* EAA1EC 8024170C 00000000 */ nop +/* EAA1F0 80241710 468010A0 */ cvt.s.w $f2, $f2 +/* EAA1F4 80241714 46041082 */ mul.s $f2, $f2, $f4 +/* EAA1F8 80241718 00000000 */ nop +/* EAA1FC 8024171C 4600E700 */ add.s $f28, $f28, $f0 +/* EAA200 80241720 4602D680 */ add.s $f26, $f26, $f2 +/* EAA204 80241724 0C00AD90 */ jal func_8002B640 +/* EAA208 80241728 4600B306 */ mov.s $f12, $f22 +/* EAA20C 8024172C 46140002 */ mul.s $f0, $f0, $f20 +/* EAA210 80241730 00000000 */ nop +/* EAA214 80241734 0220202D */ daddu $a0, $s1, $zero +/* EAA218 80241738 0260282D */ daddu $a1, $s3, $zero +/* EAA21C 8024173C 4600E18D */ trunc.w.s $f6, $f28 +/* EAA220 80241740 44063000 */ mfc1 $a2, $f6 +/* EAA224 80241744 0C0B551A */ jal func_802D5468 +/* EAA228 80241748 4600C601 */ sub.s $f24, $f24, $f0 +/* EAA22C 8024174C 0220202D */ daddu $a0, $s1, $zero +/* EAA230 80241750 4600D18D */ trunc.w.s $f6, $f26 +/* EAA234 80241754 44063000 */ mfc1 $a2, $f6 +/* EAA238 80241758 0C0B551A */ jal func_802D5468 +/* EAA23C 8024175C 0280282D */ daddu $a1, $s4, $zero +/* EAA240 80241760 0220202D */ daddu $a0, $s1, $zero +/* EAA244 80241764 4600C18D */ trunc.w.s $f6, $f24 +/* EAA248 80241768 44063000 */ mfc1 $a2, $f6 +/* EAA24C 8024176C 0C0B551A */ jal func_802D5468 +/* EAA250 80241770 0200282D */ daddu $a1, $s0, $zero +/* EAA254 80241774 8FBF0024 */ lw $ra, 0x24($sp) +/* EAA258 80241778 8FB40020 */ lw $s4, 0x20($sp) +/* EAA25C 8024177C 8FB3001C */ lw $s3, 0x1c($sp) +/* EAA260 80241780 8FB20018 */ lw $s2, 0x18($sp) +/* EAA264 80241784 8FB10014 */ lw $s1, 0x14($sp) +/* EAA268 80241788 8FB00010 */ lw $s0, 0x10($sp) +/* EAA26C 8024178C D7BC0048 */ ldc1 $f28, 0x48($sp) +/* EAA270 80241790 D7BA0040 */ ldc1 $f26, 0x40($sp) +/* EAA274 80241794 D7B80038 */ ldc1 $f24, 0x38($sp) +/* EAA278 80241798 D7B60030 */ ldc1 $f22, 0x30($sp) +/* EAA27C 8024179C D7B40028 */ ldc1 $f20, 0x28($sp) +/* EAA280 802417A0 24020002 */ addiu $v0, $zero, 2 +/* EAA284 802417A4 03E00008 */ jr $ra +/* EAA288 802417A8 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EA8AE0/func_802417AC_EAA28C.s b/asm/nonmatchings/code_EA8AE0/func_802417AC_EAA28C.s new file mode 100644 index 0000000000..ffd2423a68 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_802417AC_EAA28C.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802417AC_EAA28C +/* EAA28C 802417AC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EAA290 802417B0 AFBF0010 */ sw $ra, 0x10($sp) +/* EAA294 802417B4 10A00003 */ beqz $a1, .L802417C4 +/* EAA298 802417B8 8C86000C */ lw $a2, 0xc($a0) +/* EAA29C 802417BC 3C018024 */ lui $at, %hi(D_80243DD8) +/* EAA2A0 802417C0 AC203DD8 */ sw $zero, %lo(D_80243DD8)($at) +.L802417C4: +/* EAA2A4 802417C4 3C038024 */ lui $v1, %hi(D_80243DD8) +/* EAA2A8 802417C8 24633DD8 */ addiu $v1, $v1, %lo(D_80243DD8) +/* EAA2AC 802417CC 8C620000 */ lw $v0, ($v1) +/* EAA2B0 802417D0 54400003 */ bnel $v0, $zero, .L802417E0 +/* EAA2B4 802417D4 AC600000 */ sw $zero, ($v1) +/* EAA2B8 802417D8 080905FD */ j .L802417F4 +/* EAA2BC 802417DC 0000102D */ daddu $v0, $zero, $zero +.L802417E0: +/* EAA2C0 802417E0 8CC50000 */ lw $a1, ($a2) +/* EAA2C4 802417E4 3C068024 */ lui $a2, %hi(D_80243DDC) +/* EAA2C8 802417E8 0C0B551A */ jal func_802D5468 +/* EAA2CC 802417EC 8CC63DDC */ lw $a2, %lo(D_80243DDC)($a2) +/* EAA2D0 802417F0 24020002 */ addiu $v0, $zero, 2 +.L802417F4: +/* EAA2D4 802417F4 8FBF0010 */ lw $ra, 0x10($sp) +/* EAA2D8 802417F8 03E00008 */ jr $ra +/* EAA2DC 802417FC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA8AE0/func_80241800_EAA2E0.s b/asm/nonmatchings/code_EA8AE0/func_80241800_EAA2E0.s new file mode 100644 index 0000000000..3957b01a63 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80241800_EAA2E0.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241800_EAA2E0 +/* EAA2E0 80241800 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EAA2E4 80241804 AFBF0010 */ sw $ra, 0x10($sp) +/* EAA2E8 80241808 8C82000C */ lw $v0, 0xc($a0) +/* EAA2EC 8024180C 0C0B53A3 */ jal func_802D4E8C +/* EAA2F0 80241810 8C450000 */ lw $a1, ($v0) +/* EAA2F4 80241814 3C018024 */ lui $at, %hi(D_80243DDC) +/* EAA2F8 80241818 AC223DDC */ sw $v0, %lo(D_80243DDC)($at) +/* EAA2FC 8024181C 24020002 */ addiu $v0, $zero, 2 +/* EAA300 80241820 8FBF0010 */ lw $ra, 0x10($sp) +/* EAA304 80241824 24030001 */ addiu $v1, $zero, 1 +/* EAA308 80241828 3C018024 */ lui $at, %hi(D_80243DD8) +/* EAA30C 8024182C AC233DD8 */ sw $v1, %lo(D_80243DD8)($at) +/* EAA310 80241830 03E00008 */ jr $ra +/* EAA314 80241834 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA8AE0/func_80241838_EAA318.s b/asm/nonmatchings/code_EA8AE0/func_80241838_EAA318.s new file mode 100644 index 0000000000..75ac870e46 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80241838_EAA318.s @@ -0,0 +1,48 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241838_EAA318 +/* EAA318 80241838 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EAA31C 8024183C AFBF0010 */ sw $ra, 0x10($sp) +/* EAA320 80241840 8C82000C */ lw $v0, 0xc($a0) +/* EAA324 80241844 0C0B53A3 */ jal func_802D4E8C +/* EAA328 80241848 8C450000 */ lw $a1, ($v0) +/* EAA32C 8024184C 0040182D */ daddu $v1, $v0, $zero +/* EAA330 80241850 10600012 */ beqz $v1, .L8024189C +/* EAA334 80241854 0000202D */ daddu $a0, $zero, $zero +/* EAA338 80241858 8C620000 */ lw $v0, ($v1) +/* EAA33C 8024185C 5040000A */ beql $v0, $zero, .L80241888 +/* EAA340 80241860 00041080 */ sll $v0, $a0, 2 +/* EAA344 80241864 3C058025 */ lui $a1, %hi(D_80248388) +/* EAA348 80241868 24A58388 */ addiu $a1, $a1, %lo(D_80248388) +.L8024186C: +/* EAA34C 8024186C 24630004 */ addiu $v1, $v1, 4 +/* EAA350 80241870 24840001 */ addiu $a0, $a0, 1 +/* EAA354 80241874 ACA20000 */ sw $v0, ($a1) +/* EAA358 80241878 8C620000 */ lw $v0, ($v1) +/* EAA35C 8024187C 1440FFFB */ bnez $v0, .L8024186C +/* EAA360 80241880 24A50004 */ addiu $a1, $a1, 4 +/* EAA364 80241884 00041080 */ sll $v0, $a0, 2 +.L80241888: +/* EAA368 80241888 3C018025 */ lui $at, %hi(D_80248388) +/* EAA36C 8024188C 00220821 */ addu $at, $at, $v0 +/* EAA370 80241890 AC208388 */ sw $zero, %lo(D_80248388)($at) +/* EAA374 80241894 08090631 */ j .L802418C4 +/* EAA378 80241898 00000000 */ nop +.L8024189C: +/* EAA37C 8024189C 3C038025 */ lui $v1, %hi(D_80248388) +/* EAA380 802418A0 24638388 */ addiu $v1, $v1, %lo(D_80248388) +/* EAA384 802418A4 0060282D */ daddu $a1, $v1, $zero +.L802418A8: +/* EAA388 802418A8 24820010 */ addiu $v0, $a0, 0x10 +/* EAA38C 802418AC AC620000 */ sw $v0, ($v1) +/* EAA390 802418B0 24630004 */ addiu $v1, $v1, 4 +/* EAA394 802418B4 24840001 */ addiu $a0, $a0, 1 +/* EAA398 802418B8 28820070 */ slti $v0, $a0, 0x70 +/* EAA39C 802418BC 1440FFFA */ bnez $v0, .L802418A8 +/* EAA3A0 802418C0 ACA001C0 */ sw $zero, 0x1c0($a1) +.L802418C4: +/* EAA3A4 802418C4 8FBF0010 */ lw $ra, 0x10($sp) +/* EAA3A8 802418C8 24020002 */ addiu $v0, $zero, 2 +/* EAA3AC 802418CC 03E00008 */ jr $ra +/* EAA3B0 802418D0 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA8AE0/func_802418D4_EAA3B4.s b/asm/nonmatchings/code_EA8AE0/func_802418D4_EAA3B4.s new file mode 100644 index 0000000000..364f45c1f2 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_802418D4_EAA3B4.s @@ -0,0 +1,64 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802418D4_EAA3B4 +/* EAA3B4 802418D4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EAA3B8 802418D8 AFB10014 */ sw $s1, 0x14($sp) +/* EAA3BC 802418DC 0080882D */ daddu $s1, $a0, $zero +/* EAA3C0 802418E0 AFBF0018 */ sw $ra, 0x18($sp) +/* EAA3C4 802418E4 AFB00010 */ sw $s0, 0x10($sp) +/* EAA3C8 802418E8 8E30000C */ lw $s0, 0xc($s1) +/* EAA3CC 802418EC 8E050000 */ lw $a1, ($s0) +/* EAA3D0 802418F0 0C0B53A3 */ jal func_802D4E8C +/* EAA3D4 802418F4 26100004 */ addiu $s0, $s0, 4 +/* EAA3D8 802418F8 AE22008C */ sw $v0, 0x8c($s1) +/* EAA3DC 802418FC 8E050000 */ lw $a1, ($s0) +/* EAA3E0 80241900 26100004 */ addiu $s0, $s0, 4 +/* EAA3E4 80241904 0C0B53A3 */ jal func_802D4E8C +/* EAA3E8 80241908 0220202D */ daddu $a0, $s1, $zero +/* EAA3EC 8024190C AE220090 */ sw $v0, 0x90($s1) +/* EAA3F0 80241910 8E050000 */ lw $a1, ($s0) +/* EAA3F4 80241914 26100004 */ addiu $s0, $s0, 4 +/* EAA3F8 80241918 0C0B53A3 */ jal func_802D4E8C +/* EAA3FC 8024191C 0220202D */ daddu $a0, $s1, $zero +/* EAA400 80241920 AE220094 */ sw $v0, 0x94($s1) +/* EAA404 80241924 8E050000 */ lw $a1, ($s0) +/* EAA408 80241928 26100004 */ addiu $s0, $s0, 4 +/* EAA40C 8024192C 0C0B53A3 */ jal func_802D4E8C +/* EAA410 80241930 0220202D */ daddu $a0, $s1, $zero +/* EAA414 80241934 AE220098 */ sw $v0, 0x98($s1) +/* EAA418 80241938 8E050000 */ lw $a1, ($s0) +/* EAA41C 8024193C 26100004 */ addiu $s0, $s0, 4 +/* EAA420 80241940 0C0B53A3 */ jal func_802D4E8C +/* EAA424 80241944 0220202D */ daddu $a0, $s1, $zero +/* EAA428 80241948 AE22009C */ sw $v0, 0x9c($s1) +/* EAA42C 8024194C 8E050000 */ lw $a1, ($s0) +/* EAA430 80241950 26100004 */ addiu $s0, $s0, 4 +/* EAA434 80241954 0C0B53A3 */ jal func_802D4E8C +/* EAA438 80241958 0220202D */ daddu $a0, $s1, $zero +/* EAA43C 8024195C AE2200A0 */ sw $v0, 0xa0($s1) +/* EAA440 80241960 8E050000 */ lw $a1, ($s0) +/* EAA444 80241964 26100004 */ addiu $s0, $s0, 4 +/* EAA448 80241968 0C0B53A3 */ jal func_802D4E8C +/* EAA44C 8024196C 0220202D */ daddu $a0, $s1, $zero +/* EAA450 80241970 AE2200A4 */ sw $v0, 0xa4($s1) +/* EAA454 80241974 8E050000 */ lw $a1, ($s0) +/* EAA458 80241978 26100004 */ addiu $s0, $s0, 4 +/* EAA45C 8024197C 0C0B53A3 */ jal func_802D4E8C +/* EAA460 80241980 0220202D */ daddu $a0, $s1, $zero +/* EAA464 80241984 AE2200A8 */ sw $v0, 0xa8($s1) +/* EAA468 80241988 8E050000 */ lw $a1, ($s0) +/* EAA46C 8024198C 26100004 */ addiu $s0, $s0, 4 +/* EAA470 80241990 0C0B53A3 */ jal func_802D4E8C +/* EAA474 80241994 0220202D */ daddu $a0, $s1, $zero +/* EAA478 80241998 AE2200AC */ sw $v0, 0xac($s1) +/* EAA47C 8024199C 8E050000 */ lw $a1, ($s0) +/* EAA480 802419A0 0C0B53A3 */ jal func_802D4E8C +/* EAA484 802419A4 0220202D */ daddu $a0, $s1, $zero +/* EAA488 802419A8 AE2200B0 */ sw $v0, 0xb0($s1) +/* EAA48C 802419AC 8FBF0018 */ lw $ra, 0x18($sp) +/* EAA490 802419B0 8FB10014 */ lw $s1, 0x14($sp) +/* EAA494 802419B4 8FB00010 */ lw $s0, 0x10($sp) +/* EAA498 802419B8 24020002 */ addiu $v0, $zero, 2 +/* EAA49C 802419BC 03E00008 */ jr $ra +/* EAA4A0 802419C0 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EA8AE0/func_802419C4_EAA4A4.s b/asm/nonmatchings/code_EA8AE0/func_802419C4_EAA4A4.s new file mode 100644 index 0000000000..6b68e3354c --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_802419C4_EAA4A4.s @@ -0,0 +1,103 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802419C4_EAA4A4 +/* EAA4A4 802419C4 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EAA4A8 802419C8 AFB1001C */ sw $s1, 0x1c($sp) +/* EAA4AC 802419CC 0080882D */ daddu $s1, $a0, $zero +/* EAA4B0 802419D0 AFBF0034 */ sw $ra, 0x34($sp) +/* EAA4B4 802419D4 AFB60030 */ sw $s6, 0x30($sp) +/* EAA4B8 802419D8 AFB5002C */ sw $s5, 0x2c($sp) +/* EAA4BC 802419DC AFB40028 */ sw $s4, 0x28($sp) +/* EAA4C0 802419E0 AFB30024 */ sw $s3, 0x24($sp) +/* EAA4C4 802419E4 AFB20020 */ sw $s2, 0x20($sp) +/* EAA4C8 802419E8 AFB00018 */ sw $s0, 0x18($sp) +/* EAA4CC 802419EC F7B60040 */ sdc1 $f22, 0x40($sp) +/* EAA4D0 802419F0 F7B40038 */ sdc1 $f20, 0x38($sp) +/* EAA4D4 802419F4 8E30000C */ lw $s0, 0xc($s1) +/* EAA4D8 802419F8 8E160000 */ lw $s6, ($s0) +/* EAA4DC 802419FC 26100004 */ addiu $s0, $s0, 4 +/* EAA4E0 80241A00 0C0B53A3 */ jal func_802D4E8C +/* EAA4E4 80241A04 02C0282D */ daddu $a1, $s6, $zero +/* EAA4E8 80241A08 44820000 */ mtc1 $v0, $f0 +/* EAA4EC 80241A0C 00000000 */ nop +/* EAA4F0 80241A10 46800020 */ cvt.s.w $f0, $f0 +/* EAA4F4 80241A14 E7A00010 */ swc1 $f0, 0x10($sp) +/* EAA4F8 80241A18 8E140000 */ lw $s4, ($s0) +/* EAA4FC 80241A1C 26100004 */ addiu $s0, $s0, 4 +/* EAA500 80241A20 0220202D */ daddu $a0, $s1, $zero +/* EAA504 80241A24 0C0B53A3 */ jal func_802D4E8C +/* EAA508 80241A28 0280282D */ daddu $a1, $s4, $zero +/* EAA50C 80241A2C 0220202D */ daddu $a0, $s1, $zero +/* EAA510 80241A30 8E150000 */ lw $s5, ($s0) +/* EAA514 80241A34 4482B000 */ mtc1 $v0, $f22 +/* EAA518 80241A38 00000000 */ nop +/* EAA51C 80241A3C 4680B5A0 */ cvt.s.w $f22, $f22 +/* EAA520 80241A40 0C0B53A3 */ jal func_802D4E8C +/* EAA524 80241A44 02A0282D */ daddu $a1, $s5, $zero +/* EAA528 80241A48 2404FFFC */ addiu $a0, $zero, -4 +/* EAA52C 80241A4C 44820000 */ mtc1 $v0, $f0 +/* EAA530 80241A50 00000000 */ nop +/* EAA534 80241A54 46800020 */ cvt.s.w $f0, $f0 +/* EAA538 80241A58 0C00F92F */ jal func_8003E4BC +/* EAA53C 80241A5C E7A00014 */ swc1 $f0, 0x14($sp) +/* EAA540 80241A60 3C048008 */ lui $a0, %hi(D_8007C760) +/* EAA544 80241A64 8C84C760 */ lw $a0, %lo(D_8007C760)($a0) +/* EAA548 80241A68 3C014334 */ lui $at, 0x4334 +/* EAA54C 80241A6C 44816000 */ mtc1 $at, $f12 +/* EAA550 80241A70 00041880 */ sll $v1, $a0, 2 +/* EAA554 80241A74 00641821 */ addu $v1, $v1, $a0 +/* EAA558 80241A78 00031880 */ sll $v1, $v1, 2 +/* EAA55C 80241A7C 00641823 */ subu $v1, $v1, $a0 +/* EAA560 80241A80 000320C0 */ sll $a0, $v1, 3 +/* EAA564 80241A84 00641821 */ addu $v1, $v1, $a0 +/* EAA568 80241A88 000318C0 */ sll $v1, $v1, 3 +/* EAA56C 80241A8C 3C01800C */ lui $at, %hi(D_800B8DEC) +/* EAA570 80241A90 00230821 */ addu $at, $at, $v1 +/* EAA574 80241A94 C4208DEC */ lwc1 $f0, %lo(D_800B8DEC)($at) +/* EAA578 80241A98 460C0300 */ add.s $f12, $f0, $f12 +/* EAA57C 80241A9C 0C00AB85 */ jal func_8002AE14 +/* EAA580 80241AA0 0040982D */ daddu $s3, $v0, $zero +/* EAA584 80241AA4 27B00010 */ addiu $s0, $sp, 0x10 +/* EAA588 80241AA8 0200202D */ daddu $a0, $s0, $zero +/* EAA58C 80241AAC 27B20014 */ addiu $s2, $sp, 0x14 +/* EAA590 80241AB0 0240282D */ daddu $a1, $s2, $zero +/* EAA594 80241AB4 3C064170 */ lui $a2, 0x4170 +/* EAA598 80241AB8 8E67000C */ lw $a3, 0xc($s3) +/* EAA59C 80241ABC 0C00ACA3 */ jal func_8002B28C +/* EAA5A0 80241AC0 46000506 */ mov.s $f20, $f0 +/* EAA5A4 80241AC4 0200202D */ daddu $a0, $s0, $zero +/* EAA5A8 80241AC8 3C064120 */ lui $a2, 0x4120 +/* EAA5AC 80241ACC 4407A000 */ mfc1 $a3, $f20 +/* EAA5B0 80241AD0 0C00ACA3 */ jal func_8002B28C +/* EAA5B4 80241AD4 0240282D */ daddu $a1, $s2, $zero +/* EAA5B8 80241AD8 0220202D */ daddu $a0, $s1, $zero +/* EAA5BC 80241ADC C7A00010 */ lwc1 $f0, 0x10($sp) +/* EAA5C0 80241AE0 4600008D */ trunc.w.s $f2, $f0 +/* EAA5C4 80241AE4 44061000 */ mfc1 $a2, $f2 +/* EAA5C8 80241AE8 0C0B551A */ jal func_802D5468 +/* EAA5CC 80241AEC 02C0282D */ daddu $a1, $s6, $zero +/* EAA5D0 80241AF0 0220202D */ daddu $a0, $s1, $zero +/* EAA5D4 80241AF4 4600B08D */ trunc.w.s $f2, $f22 +/* EAA5D8 80241AF8 44061000 */ mfc1 $a2, $f2 +/* EAA5DC 80241AFC 0C0B551A */ jal func_802D5468 +/* EAA5E0 80241B00 0280282D */ daddu $a1, $s4, $zero +/* EAA5E4 80241B04 0220202D */ daddu $a0, $s1, $zero +/* EAA5E8 80241B08 C7A00014 */ lwc1 $f0, 0x14($sp) +/* EAA5EC 80241B0C 4600008D */ trunc.w.s $f2, $f0 +/* EAA5F0 80241B10 44061000 */ mfc1 $a2, $f2 +/* EAA5F4 80241B14 0C0B551A */ jal func_802D5468 +/* EAA5F8 80241B18 02A0282D */ daddu $a1, $s5, $zero +/* EAA5FC 80241B1C 8FBF0034 */ lw $ra, 0x34($sp) +/* EAA600 80241B20 8FB60030 */ lw $s6, 0x30($sp) +/* EAA604 80241B24 8FB5002C */ lw $s5, 0x2c($sp) +/* EAA608 80241B28 8FB40028 */ lw $s4, 0x28($sp) +/* EAA60C 80241B2C 8FB30024 */ lw $s3, 0x24($sp) +/* EAA610 80241B30 8FB20020 */ lw $s2, 0x20($sp) +/* EAA614 80241B34 8FB1001C */ lw $s1, 0x1c($sp) +/* EAA618 80241B38 8FB00018 */ lw $s0, 0x18($sp) +/* EAA61C 80241B3C D7B60040 */ ldc1 $f22, 0x40($sp) +/* EAA620 80241B40 D7B40038 */ ldc1 $f20, 0x38($sp) +/* EAA624 80241B44 24020002 */ addiu $v0, $zero, 2 +/* EAA628 80241B48 03E00008 */ jr $ra +/* EAA62C 80241B4C 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EA8AE0/func_80241B50_EAA630.s b/asm/nonmatchings/code_EA8AE0/func_80241B50_EAA630.s new file mode 100644 index 0000000000..c2b698edd8 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80241B50_EAA630.s @@ -0,0 +1,21 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241B50_EAA630 +/* EAA630 80241B50 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EAA634 80241B54 AFB00010 */ sw $s0, 0x10($sp) +/* EAA638 80241B58 0080802D */ daddu $s0, $a0, $zero +/* EAA63C 80241B5C AFBF0014 */ sw $ra, 0x14($sp) +/* EAA640 80241B60 0C00F92F */ jal func_8003E4BC +/* EAA644 80241B64 8E04008C */ lw $a0, 0x8c($s0) +/* EAA648 80241B68 0040282D */ daddu $a1, $v0, $zero +/* EAA64C 80241B6C 8E040094 */ lw $a0, 0x94($s0) +/* EAA650 80241B70 8CA30028 */ lw $v1, 0x28($a1) +/* EAA654 80241B74 ACA40028 */ sw $a0, 0x28($a1) +/* EAA658 80241B78 8FBF0014 */ lw $ra, 0x14($sp) +/* EAA65C 80241B7C 8FB00010 */ lw $s0, 0x10($sp) +/* EAA660 80241B80 24020002 */ addiu $v0, $zero, 2 +/* EAA664 80241B84 3C018025 */ lui $at, %hi(D_8024854C) +/* EAA668 80241B88 AC23854C */ sw $v1, %lo(D_8024854C)($at) +/* EAA66C 80241B8C 03E00008 */ jr $ra +/* EAA670 80241B90 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA8AE0/func_80241B94_EAA674.s b/asm/nonmatchings/code_EA8AE0/func_80241B94_EAA674.s new file mode 100644 index 0000000000..55c6b35245 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80241B94_EAA674.s @@ -0,0 +1,15 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241B94_EAA674 +/* EAA674 80241B94 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EAA678 80241B98 AFBF0010 */ sw $ra, 0x10($sp) +/* EAA67C 80241B9C 0C00F92F */ jal func_8003E4BC +/* EAA680 80241BA0 8C84008C */ lw $a0, 0x8c($a0) +/* EAA684 80241BA4 3C038025 */ lui $v1, %hi(D_8024854C) +/* EAA688 80241BA8 8C63854C */ lw $v1, %lo(D_8024854C)($v1) +/* EAA68C 80241BAC AC430028 */ sw $v1, 0x28($v0) +/* EAA690 80241BB0 8FBF0010 */ lw $ra, 0x10($sp) +/* EAA694 80241BB4 24020002 */ addiu $v0, $zero, 2 +/* EAA698 80241BB8 03E00008 */ jr $ra +/* EAA69C 80241BBC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EA8AE0/func_80241BC0_EAA6A0.s b/asm/nonmatchings/code_EA8AE0/func_80241BC0_EAA6A0.s new file mode 100644 index 0000000000..e1fe9b8c29 --- /dev/null +++ b/asm/nonmatchings/code_EA8AE0/func_80241BC0_EAA6A0.s @@ -0,0 +1,103 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241BC0_EAA6A0 +/* EAA6A0 80241BC0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EAA6A4 80241BC4 AFB10014 */ sw $s1, 0x14($sp) +/* EAA6A8 80241BC8 0080882D */ daddu $s1, $a0, $zero +/* EAA6AC 80241BCC AFBF0018 */ sw $ra, 0x18($sp) +/* EAA6B0 80241BD0 AFB00010 */ sw $s0, 0x10($sp) +/* EAA6B4 80241BD4 8E30000C */ lw $s0, 0xc($s1) +/* EAA6B8 80241BD8 8E050000 */ lw $a1, ($s0) +/* EAA6BC 80241BDC 0C0B53A3 */ jal func_802D4E8C +/* EAA6C0 80241BE0 26100004 */ addiu $s0, $s0, 4 +/* EAA6C4 80241BE4 0220202D */ daddu $a0, $s1, $zero +/* EAA6C8 80241BE8 8E050000 */ lw $a1, ($s0) +/* EAA6CC 80241BEC 0C0B53A3 */ jal func_802D4E8C +/* EAA6D0 80241BF0 0040802D */ daddu $s0, $v0, $zero +/* EAA6D4 80241BF4 0040202D */ daddu $a0, $v0, $zero +/* EAA6D8 80241BF8 24020001 */ addiu $v0, $zero, 1 +/* EAA6DC 80241BFC 12020019 */ beq $s0, $v0, .L80241C64 +/* EAA6E0 80241C00 2A020002 */ slti $v0, $s0, 2 +/* EAA6E4 80241C04 10400005 */ beqz $v0, .L80241C1C +/* EAA6E8 80241C08 24020002 */ addiu $v0, $zero, 2 +/* EAA6EC 80241C0C 12000009 */ beqz $s0, .L80241C34 +/* EAA6F0 80241C10 00041840 */ sll $v1, $a0, 1 +/* EAA6F4 80241C14 08090743 */ j .L80241D0C +/* EAA6F8 80241C18 00000000 */ nop +.L80241C1C: +/* EAA6FC 80241C1C 1202001F */ beq $s0, $v0, .L80241C9C +/* EAA700 80241C20 24020003 */ addiu $v0, $zero, 3 +/* EAA704 80241C24 1202002B */ beq $s0, $v0, .L80241CD4 +/* EAA708 80241C28 3C068020 */ lui $a2, 0x8020 +/* EAA70C 80241C2C 08090743 */ j .L80241D0C +/* EAA710 80241C30 00000000 */ nop +.L80241C34: +/* EAA714 80241C34 3C028024 */ lui $v0, %hi(D_80243BB8) +/* EAA718 80241C38 24423BB8 */ addiu $v0, $v0, %lo(D_80243BB8) +/* EAA71C 80241C3C 00641821 */ addu $v1, $v1, $a0 +/* EAA720 80241C40 00032080 */ sll $a0, $v1, 2 +/* EAA724 80241C44 00822021 */ addu $a0, $a0, $v0 +/* EAA728 80241C48 24630001 */ addiu $v1, $v1, 1 +/* EAA72C 80241C4C 00031880 */ sll $v1, $v1, 2 +/* EAA730 80241C50 00621821 */ addu $v1, $v1, $v0 +/* EAA734 80241C54 8C840000 */ lw $a0, ($a0) +/* EAA738 80241C58 8C650000 */ lw $a1, ($v1) +/* EAA73C 80241C5C 08090741 */ j .L80241D04 +/* EAA740 80241C60 3C068020 */ lui $a2, 0x8020 +.L80241C64: +/* EAA744 80241C64 3C068020 */ lui $a2, 0x8020 +/* EAA748 80241C68 3C028024 */ lui $v0, %hi(D_80243BB8) +/* EAA74C 80241C6C 24423BB8 */ addiu $v0, $v0, %lo(D_80243BB8) +/* EAA750 80241C70 00041840 */ sll $v1, $a0, 1 +/* EAA754 80241C74 00641821 */ addu $v1, $v1, $a0 +/* EAA758 80241C78 00032080 */ sll $a0, $v1, 2 +/* EAA75C 80241C7C 00822021 */ addu $a0, $a0, $v0 +/* EAA760 80241C80 24630001 */ addiu $v1, $v1, 1 +/* EAA764 80241C84 00031880 */ sll $v1, $v1, 2 +/* EAA768 80241C88 00621821 */ addu $v1, $v1, $v0 +/* EAA76C 80241C8C 8C840000 */ lw $a0, ($a0) +/* EAA770 80241C90 8C650000 */ lw $a1, ($v1) +/* EAA774 80241C94 08090741 */ j .L80241D04 +/* EAA778 80241C98 34C64000 */ ori $a2, $a2, 0x4000 +.L80241C9C: +/* EAA77C 80241C9C 3C068020 */ lui $a2, 0x8020 +/* EAA780 80241CA0 3C028024 */ lui $v0, %hi(D_80243BB8) +/* EAA784 80241CA4 24423BB8 */ addiu $v0, $v0, %lo(D_80243BB8) +/* EAA788 80241CA8 00041840 */ sll $v1, $a0, 1 +/* EAA78C 80241CAC 00641821 */ addu $v1, $v1, $a0 +/* EAA790 80241CB0 00032080 */ sll $a0, $v1, 2 +/* EAA794 80241CB4 00822021 */ addu $a0, $a0, $v0 +/* EAA798 80241CB8 24630001 */ addiu $v1, $v1, 1 +/* EAA79C 80241CBC 00031880 */ sll $v1, $v1, 2 +/* EAA7A0 80241CC0 00621821 */ addu $v1, $v1, $v0 +/* EAA7A4 80241CC4 8C840000 */ lw $a0, ($a0) +/* EAA7A8 80241CC8 8C650000 */ lw $a1, ($v1) +/* EAA7AC 80241CCC 08090741 */ j .L80241D04 +/* EAA7B0 80241CD0 34C67000 */ ori $a2, $a2, 0x7000 +.L80241CD4: +/* EAA7B4 80241CD4 3C028024 */ lui $v0, %hi(D_80243BB8) +/* EAA7B8 80241CD8 24423BB8 */ addiu $v0, $v0, %lo(D_80243BB8) +/* EAA7BC 80241CDC 00041840 */ sll $v1, $a0, 1 +/* EAA7C0 80241CE0 00641821 */ addu $v1, $v1, $a0 +/* EAA7C4 80241CE4 00032080 */ sll $a0, $v1, 2 +/* EAA7C8 80241CE8 00822021 */ addu $a0, $a0, $v0 +/* EAA7CC 80241CEC 24630001 */ addiu $v1, $v1, 1 +/* EAA7D0 80241CF0 00031880 */ sll $v1, $v1, 2 +/* EAA7D4 80241CF4 00621821 */ addu $v1, $v1, $v0 +/* EAA7D8 80241CF8 8C840000 */ lw $a0, ($a0) +/* EAA7DC 80241CFC 8C650000 */ lw $a1, ($v1) +/* EAA7E0 80241D00 34C6A000 */ ori $a2, $a2, 0xa000 +.L80241D04: +/* EAA7E4 80241D04 0C00AA8B */ jal func_8002AA2C +/* EAA7E8 80241D08 00000000 */ nop +.L80241D0C: +/* EAA7EC 80241D0C 8FBF0018 */ lw $ra, 0x18($sp) +/* EAA7F0 80241D10 8FB10014 */ lw $s1, 0x14($sp) +/* EAA7F4 80241D14 8FB00010 */ lw $s0, 0x10($sp) +/* EAA7F8 80241D18 24020002 */ addiu $v0, $zero, 2 +/* EAA7FC 80241D1C 03E00008 */ jr $ra +/* EAA800 80241D20 27BD0020 */ addiu $sp, $sp, 0x20 +/* EAA804 80241D24 00000000 */ nop +/* EAA808 80241D28 00000000 */ nop +/* EAA80C 80241D2C 00000000 */ nop diff --git a/asm/nonmatchings/code_EB0E60/func_80240000_EB0E60.s b/asm/nonmatchings/code_EB0E60/func_80240000_EB0E60.s new file mode 100644 index 0000000000..1116c25b2c --- /dev/null +++ b/asm/nonmatchings/code_EB0E60/func_80240000_EB0E60.s @@ -0,0 +1,89 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EB0E60 +/* EB0E60 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB0E64 80240004 AFB00010 */ sw $s0, 0x10($sp) +/* EB0E68 80240008 0080802D */ daddu $s0, $a0, $zero +/* EB0E6C 8024000C AFBF0014 */ sw $ra, 0x14($sp) +/* EB0E70 80240010 8E0300A8 */ lw $v1, 0xa8($s0) +/* EB0E74 80240014 8E020088 */ lw $v0, 0x88($s0) +/* EB0E78 80240018 00621821 */ addu $v1, $v1, $v0 +/* EB0E7C 8024001C 04610004 */ bgez $v1, .L80240030 +/* EB0E80 80240020 AE0300A8 */ sw $v1, 0xa8($s0) +/* EB0E84 80240024 3C020002 */ lui $v0, 2 +/* EB0E88 80240028 08090010 */ j .L80240040 +/* EB0E8C 8024002C 00621021 */ addu $v0, $v1, $v0 +.L80240030: +/* EB0E90 80240030 3C040002 */ lui $a0, 2 +/* EB0E94 80240034 0083102A */ slt $v0, $a0, $v1 +/* EB0E98 80240038 10400002 */ beqz $v0, .L80240044 +/* EB0E9C 8024003C 00641023 */ subu $v0, $v1, $a0 +.L80240040: +/* EB0EA0 80240040 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240044: +/* EB0EA4 80240044 8E0300AC */ lw $v1, 0xac($s0) +/* EB0EA8 80240048 8E02008C */ lw $v0, 0x8c($s0) +/* EB0EAC 8024004C 00621821 */ addu $v1, $v1, $v0 +/* EB0EB0 80240050 04610004 */ bgez $v1, .L80240064 +/* EB0EB4 80240054 AE0300AC */ sw $v1, 0xac($s0) +/* EB0EB8 80240058 3C020002 */ lui $v0, 2 +/* EB0EBC 8024005C 0809001D */ j .L80240074 +/* EB0EC0 80240060 00621021 */ addu $v0, $v1, $v0 +.L80240064: +/* EB0EC4 80240064 3C040002 */ lui $a0, 2 +/* EB0EC8 80240068 0083102A */ slt $v0, $a0, $v1 +/* EB0ECC 8024006C 10400002 */ beqz $v0, .L80240078 +/* EB0ED0 80240070 00641023 */ subu $v0, $v1, $a0 +.L80240074: +/* EB0ED4 80240074 AE0200AC */ sw $v0, 0xac($s0) +.L80240078: +/* EB0ED8 80240078 8E0300B0 */ lw $v1, 0xb0($s0) +/* EB0EDC 8024007C 8E020090 */ lw $v0, 0x90($s0) +/* EB0EE0 80240080 00621821 */ addu $v1, $v1, $v0 +/* EB0EE4 80240084 04610004 */ bgez $v1, .L80240098 +/* EB0EE8 80240088 AE0300B0 */ sw $v1, 0xb0($s0) +/* EB0EEC 8024008C 3C020002 */ lui $v0, 2 +/* EB0EF0 80240090 0809002A */ j .L802400A8 +/* EB0EF4 80240094 00621021 */ addu $v0, $v1, $v0 +.L80240098: +/* EB0EF8 80240098 3C040002 */ lui $a0, 2 +/* EB0EFC 8024009C 0083102A */ slt $v0, $a0, $v1 +/* EB0F00 802400A0 10400002 */ beqz $v0, .L802400AC +/* EB0F04 802400A4 00641023 */ subu $v0, $v1, $a0 +.L802400A8: +/* EB0F08 802400A8 AE0200B0 */ sw $v0, 0xb0($s0) +.L802400AC: +/* EB0F0C 802400AC 8E0300B4 */ lw $v1, 0xb4($s0) +/* EB0F10 802400B0 8E020094 */ lw $v0, 0x94($s0) +/* EB0F14 802400B4 00621821 */ addu $v1, $v1, $v0 +/* EB0F18 802400B8 04610004 */ bgez $v1, .L802400CC +/* EB0F1C 802400BC AE0300B4 */ sw $v1, 0xb4($s0) +/* EB0F20 802400C0 3C020002 */ lui $v0, 2 +/* EB0F24 802400C4 08090037 */ j .L802400DC +/* EB0F28 802400C8 00621021 */ addu $v0, $v1, $v0 +.L802400CC: +/* EB0F2C 802400CC 3C040002 */ lui $a0, 2 +/* EB0F30 802400D0 0083102A */ slt $v0, $a0, $v1 +/* EB0F34 802400D4 10400002 */ beqz $v0, .L802400E0 +/* EB0F38 802400D8 00641023 */ subu $v0, $v1, $a0 +.L802400DC: +/* EB0F3C 802400DC AE0200B4 */ sw $v0, 0xb4($s0) +.L802400E0: +/* EB0F40 802400E0 8E040084 */ lw $a0, 0x84($s0) +/* EB0F44 802400E4 0C049819 */ jal func_80126064 +/* EB0F48 802400E8 8E0500A8 */ lw $a1, 0xa8($s0) +/* EB0F4C 802400EC 8E040084 */ lw $a0, 0x84($s0) +/* EB0F50 802400F0 0C04981F */ jal func_8012607C +/* EB0F54 802400F4 8E0500AC */ lw $a1, 0xac($s0) +/* EB0F58 802400F8 8E040084 */ lw $a0, 0x84($s0) +/* EB0F5C 802400FC 0C049825 */ jal func_80126094 +/* EB0F60 80240100 8E0500B0 */ lw $a1, 0xb0($s0) +/* EB0F64 80240104 8E040084 */ lw $a0, 0x84($s0) +/* EB0F68 80240108 0C04982B */ jal func_801260AC +/* EB0F6C 8024010C 8E0500B4 */ lw $a1, 0xb4($s0) +/* EB0F70 80240110 8FBF0014 */ lw $ra, 0x14($sp) +/* EB0F74 80240114 8FB00010 */ lw $s0, 0x10($sp) +/* EB0F78 80240118 0000102D */ daddu $v0, $zero, $zero +/* EB0F7C 8024011C 03E00008 */ jr $ra +/* EB0F80 80240120 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB0E60/func_80240124_EB0F84.s b/asm/nonmatchings/code_EB0E60/func_80240124_EB0F84.s new file mode 100644 index 0000000000..a7fae4bee7 --- /dev/null +++ b/asm/nonmatchings/code_EB0E60/func_80240124_EB0F84.s @@ -0,0 +1,144 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240124_EB0F84 +/* EB0F84 80240124 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB0F88 80240128 AFB00010 */ sw $s0, 0x10($sp) +/* EB0F8C 8024012C 0080802D */ daddu $s0, $a0, $zero +/* EB0F90 80240130 10A00005 */ beqz $a1, .L80240148 +/* EB0F94 80240134 AFBF0014 */ sw $ra, 0x14($sp) +/* EB0F98 80240138 AE000070 */ sw $zero, 0x70($s0) +/* EB0F9C 8024013C AE000074 */ sw $zero, 0x74($s0) +/* EB0FA0 80240140 AE000078 */ sw $zero, 0x78($s0) +/* EB0FA4 80240144 AE00007C */ sw $zero, 0x7c($s0) +.L80240148: +/* EB0FA8 80240148 8E020070 */ lw $v0, 0x70($s0) +/* EB0FAC 8024014C 1440000E */ bnez $v0, .L80240188 +/* EB0FB0 80240150 00000000 */ nop +/* EB0FB4 80240154 8E0300A8 */ lw $v1, 0xa8($s0) +/* EB0FB8 80240158 8E020088 */ lw $v0, 0x88($s0) +/* EB0FBC 8024015C 00621821 */ addu $v1, $v1, $v0 +/* EB0FC0 80240160 04610004 */ bgez $v1, .L80240174 +/* EB0FC4 80240164 AE0300A8 */ sw $v1, 0xa8($s0) +/* EB0FC8 80240168 3C020002 */ lui $v0, 2 +/* EB0FCC 8024016C 08090061 */ j .L80240184 +/* EB0FD0 80240170 00621021 */ addu $v0, $v1, $v0 +.L80240174: +/* EB0FD4 80240174 3C040002 */ lui $a0, 2 +/* EB0FD8 80240178 0083102A */ slt $v0, $a0, $v1 +/* EB0FDC 8024017C 10400002 */ beqz $v0, .L80240188 +/* EB0FE0 80240180 00641023 */ subu $v0, $v1, $a0 +.L80240184: +/* EB0FE4 80240184 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240188: +/* EB0FE8 80240188 8E020074 */ lw $v0, 0x74($s0) +/* EB0FEC 8024018C 1440000E */ bnez $v0, .L802401C8 +/* EB0FF0 80240190 00000000 */ nop +/* EB0FF4 80240194 8E0300AC */ lw $v1, 0xac($s0) +/* EB0FF8 80240198 8E02008C */ lw $v0, 0x8c($s0) +/* EB0FFC 8024019C 00621821 */ addu $v1, $v1, $v0 +/* EB1000 802401A0 04610004 */ bgez $v1, .L802401B4 +/* EB1004 802401A4 AE0300AC */ sw $v1, 0xac($s0) +/* EB1008 802401A8 3C020002 */ lui $v0, 2 +/* EB100C 802401AC 08090071 */ j .L802401C4 +/* EB1010 802401B0 00621021 */ addu $v0, $v1, $v0 +.L802401B4: +/* EB1014 802401B4 3C040002 */ lui $a0, 2 +/* EB1018 802401B8 0083102A */ slt $v0, $a0, $v1 +/* EB101C 802401BC 10400002 */ beqz $v0, .L802401C8 +/* EB1020 802401C0 00641023 */ subu $v0, $v1, $a0 +.L802401C4: +/* EB1024 802401C4 AE0200AC */ sw $v0, 0xac($s0) +.L802401C8: +/* EB1028 802401C8 8E020078 */ lw $v0, 0x78($s0) +/* EB102C 802401CC 1440000E */ bnez $v0, .L80240208 +/* EB1030 802401D0 00000000 */ nop +/* EB1034 802401D4 8E0300B0 */ lw $v1, 0xb0($s0) +/* EB1038 802401D8 8E020090 */ lw $v0, 0x90($s0) +/* EB103C 802401DC 00621821 */ addu $v1, $v1, $v0 +/* EB1040 802401E0 04610004 */ bgez $v1, .L802401F4 +/* EB1044 802401E4 AE0300B0 */ sw $v1, 0xb0($s0) +/* EB1048 802401E8 3C020002 */ lui $v0, 2 +/* EB104C 802401EC 08090081 */ j .L80240204 +/* EB1050 802401F0 00621021 */ addu $v0, $v1, $v0 +.L802401F4: +/* EB1054 802401F4 3C040002 */ lui $a0, 2 +/* EB1058 802401F8 0083102A */ slt $v0, $a0, $v1 +/* EB105C 802401FC 10400002 */ beqz $v0, .L80240208 +/* EB1060 80240200 00641023 */ subu $v0, $v1, $a0 +.L80240204: +/* EB1064 80240204 AE0200B0 */ sw $v0, 0xb0($s0) +.L80240208: +/* EB1068 80240208 8E02007C */ lw $v0, 0x7c($s0) +/* EB106C 8024020C 1440000E */ bnez $v0, .L80240248 +/* EB1070 80240210 00000000 */ nop +/* EB1074 80240214 8E0300B4 */ lw $v1, 0xb4($s0) +/* EB1078 80240218 8E020094 */ lw $v0, 0x94($s0) +/* EB107C 8024021C 00621821 */ addu $v1, $v1, $v0 +/* EB1080 80240220 04610004 */ bgez $v1, .L80240234 +/* EB1084 80240224 AE0300B4 */ sw $v1, 0xb4($s0) +/* EB1088 80240228 3C020002 */ lui $v0, 2 +/* EB108C 8024022C 08090091 */ j .L80240244 +/* EB1090 80240230 00621021 */ addu $v0, $v1, $v0 +.L80240234: +/* EB1094 80240234 3C040002 */ lui $a0, 2 +/* EB1098 80240238 0083102A */ slt $v0, $a0, $v1 +/* EB109C 8024023C 10400002 */ beqz $v0, .L80240248 +/* EB10A0 80240240 00641023 */ subu $v0, $v1, $a0 +.L80240244: +/* EB10A4 80240244 AE0200B4 */ sw $v0, 0xb4($s0) +.L80240248: +/* EB10A8 80240248 8E040084 */ lw $a0, 0x84($s0) +/* EB10AC 8024024C 0C049819 */ jal func_80126064 +/* EB10B0 80240250 8E0500A8 */ lw $a1, 0xa8($s0) +/* EB10B4 80240254 8E040084 */ lw $a0, 0x84($s0) +/* EB10B8 80240258 0C04981F */ jal func_8012607C +/* EB10BC 8024025C 8E0500AC */ lw $a1, 0xac($s0) +/* EB10C0 80240260 8E040084 */ lw $a0, 0x84($s0) +/* EB10C4 80240264 0C049825 */ jal func_80126094 +/* EB10C8 80240268 8E0500B0 */ lw $a1, 0xb0($s0) +/* EB10CC 8024026C 8E040084 */ lw $a0, 0x84($s0) +/* EB10D0 80240270 0C04982B */ jal func_801260AC +/* EB10D4 80240274 8E0500B4 */ lw $a1, 0xb4($s0) +/* EB10D8 80240278 8E020070 */ lw $v0, 0x70($s0) +/* EB10DC 8024027C 8E030078 */ lw $v1, 0x78($s0) +/* EB10E0 80240280 8E040098 */ lw $a0, 0x98($s0) +/* EB10E4 80240284 24420001 */ addiu $v0, $v0, 1 +/* EB10E8 80240288 AE020070 */ sw $v0, 0x70($s0) +/* EB10EC 8024028C 8E020074 */ lw $v0, 0x74($s0) +/* EB10F0 80240290 24630001 */ addiu $v1, $v1, 1 +/* EB10F4 80240294 AE030078 */ sw $v1, 0x78($s0) +/* EB10F8 80240298 8E030070 */ lw $v1, 0x70($s0) +/* EB10FC 8024029C 24420001 */ addiu $v0, $v0, 1 +/* EB1100 802402A0 AE020074 */ sw $v0, 0x74($s0) +/* EB1104 802402A4 8E02007C */ lw $v0, 0x7c($s0) +/* EB1108 802402A8 0064182A */ slt $v1, $v1, $a0 +/* EB110C 802402AC 24420001 */ addiu $v0, $v0, 1 +/* EB1110 802402B0 14600002 */ bnez $v1, .L802402BC +/* EB1114 802402B4 AE02007C */ sw $v0, 0x7c($s0) +/* EB1118 802402B8 AE000070 */ sw $zero, 0x70($s0) +.L802402BC: +/* EB111C 802402BC 8E020074 */ lw $v0, 0x74($s0) +/* EB1120 802402C0 8E03009C */ lw $v1, 0x9c($s0) +/* EB1124 802402C4 0043102A */ slt $v0, $v0, $v1 +/* EB1128 802402C8 50400001 */ beql $v0, $zero, .L802402D0 +/* EB112C 802402CC AE000074 */ sw $zero, 0x74($s0) +.L802402D0: +/* EB1130 802402D0 8E020078 */ lw $v0, 0x78($s0) +/* EB1134 802402D4 8E0300A0 */ lw $v1, 0xa0($s0) +/* EB1138 802402D8 0043102A */ slt $v0, $v0, $v1 +/* EB113C 802402DC 50400001 */ beql $v0, $zero, .L802402E4 +/* EB1140 802402E0 AE000078 */ sw $zero, 0x78($s0) +.L802402E4: +/* EB1144 802402E4 8E02007C */ lw $v0, 0x7c($s0) +/* EB1148 802402E8 8E0300A4 */ lw $v1, 0xa4($s0) +/* EB114C 802402EC 0043102A */ slt $v0, $v0, $v1 +/* EB1150 802402F0 50400001 */ beql $v0, $zero, .L802402F8 +/* EB1154 802402F4 AE00007C */ sw $zero, 0x7c($s0) +.L802402F8: +/* EB1158 802402F8 8FBF0014 */ lw $ra, 0x14($sp) +/* EB115C 802402FC 8FB00010 */ lw $s0, 0x10($sp) +/* EB1160 80240300 0000102D */ daddu $v0, $zero, $zero +/* EB1164 80240304 03E00008 */ jr $ra +/* EB1168 80240308 27BD0018 */ addiu $sp, $sp, 0x18 +/* EB116C 8024030C 00000000 */ nop diff --git a/asm/nonmatchings/code_EB1170/func_80240310_EB1170.s b/asm/nonmatchings/code_EB1170/func_80240310_EB1170.s new file mode 100644 index 0000000000..1d3d78602e --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_80240310_EB1170.s @@ -0,0 +1,53 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240310_EB1170 +/* EB1170 80240310 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EB1174 80240314 AFB00010 */ sw $s0, 0x10($sp) +/* EB1178 80240318 3C108024 */ lui $s0, %hi(func_80241780_E13EE0) +/* EB117C 8024031C 26101780 */ addiu $s0, $s0, %lo(func_80241780_E13EE0) +/* EB1180 80240320 AFBF0018 */ sw $ra, 0x18($sp) +/* EB1184 80240324 AFB10014 */ sw $s1, 0x14($sp) +/* EB1188 80240328 8E020000 */ lw $v0, ($s0) +/* EB118C 8024032C 14400010 */ bnez $v0, .L80240370 +/* EB1190 80240330 0080882D */ daddu $s1, $a0, $zero +/* EB1194 80240334 0C00AFF5 */ jal func_8002BFD4 +/* EB1198 80240338 24040040 */ addiu $a0, $zero, 0x40 +/* EB119C 8024033C AE020000 */ sw $v0, ($s0) +/* EB11A0 80240340 0000182D */ daddu $v1, $zero, $zero +/* EB11A4 80240344 0040282D */ daddu $a1, $v0, $zero +/* EB11A8 80240348 0220202D */ daddu $a0, $s1, $zero +.L8024034C: +/* EB11AC 8024034C 8C820084 */ lw $v0, 0x84($a0) +/* EB11B0 80240350 24840004 */ addiu $a0, $a0, 4 +/* EB11B4 80240354 24630001 */ addiu $v1, $v1, 1 +/* EB11B8 80240358 ACA20000 */ sw $v0, ($a1) +/* EB11BC 8024035C 28620010 */ slti $v0, $v1, 0x10 +/* EB11C0 80240360 1440FFFA */ bnez $v0, .L8024034C +/* EB11C4 80240364 24A50004 */ addiu $a1, $a1, 4 +/* EB11C8 80240368 080900EB */ j .L802403AC +/* EB11CC 8024036C 00000000 */ nop +.L80240370: +/* EB11D0 80240370 0000182D */ daddu $v1, $zero, $zero +/* EB11D4 80240374 0040282D */ daddu $a1, $v0, $zero +/* EB11D8 80240378 0220202D */ daddu $a0, $s1, $zero +.L8024037C: +/* EB11DC 8024037C 8CA20000 */ lw $v0, ($a1) +/* EB11E0 80240380 24A50004 */ addiu $a1, $a1, 4 +/* EB11E4 80240384 24630001 */ addiu $v1, $v1, 1 +/* EB11E8 80240388 AC820084 */ sw $v0, 0x84($a0) +/* EB11EC 8024038C 28620010 */ slti $v0, $v1, 0x10 +/* EB11F0 80240390 1440FFFA */ bnez $v0, .L8024037C +/* EB11F4 80240394 24840004 */ addiu $a0, $a0, 4 +/* EB11F8 80240398 3C108024 */ lui $s0, %hi(func_80241780_E13EE0) +/* EB11FC 8024039C 26101780 */ addiu $s0, $s0, %lo(func_80241780_E13EE0) +/* EB1200 802403A0 0C00B007 */ jal func_8002C01C +/* EB1204 802403A4 8E040000 */ lw $a0, ($s0) +/* EB1208 802403A8 AE000000 */ sw $zero, ($s0) +.L802403AC: +/* EB120C 802403AC 8FBF0018 */ lw $ra, 0x18($sp) +/* EB1210 802403B0 8FB10014 */ lw $s1, 0x14($sp) +/* EB1214 802403B4 8FB00010 */ lw $s0, 0x10($sp) +/* EB1218 802403B8 24020002 */ addiu $v0, $zero, 2 +/* EB121C 802403BC 03E00008 */ jr $ra +/* EB1220 802403C0 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EB1170/func_802403C4_EB1224.s b/asm/nonmatchings/code_EB1170/func_802403C4_EB1224.s new file mode 100644 index 0000000000..edfe3cbebb --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_802403C4_EB1224.s @@ -0,0 +1,29 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802403C4_EB1224 +/* EB1224 802403C4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EB1228 802403C8 AFB00010 */ sw $s0, 0x10($sp) +/* EB122C 802403CC 0080802D */ daddu $s0, $a0, $zero +/* EB1230 802403D0 AFBF0018 */ sw $ra, 0x18($sp) +/* EB1234 802403D4 AFB10014 */ sw $s1, 0x14($sp) +/* EB1238 802403D8 8E02000C */ lw $v0, 0xc($s0) +/* EB123C 802403DC 8C510000 */ lw $s1, ($v0) +/* EB1240 802403E0 0C0B53A3 */ jal func_802D4E8C +/* EB1244 802403E4 0220282D */ daddu $a1, $s1, $zero +/* EB1248 802403E8 3C03FFF0 */ lui $v1, 0xfff0 +/* EB124C 802403EC 3463FFFF */ ori $v1, $v1, 0xffff +/* EB1250 802403F0 0200202D */ daddu $a0, $s0, $zero +/* EB1254 802403F4 00431024 */ and $v0, $v0, $v1 +/* EB1258 802403F8 00021140 */ sll $v0, $v0, 5 +/* EB125C 802403FC 3C068009 */ lui $a2, %hi(D_8008D2C0) +/* EB1260 80240400 00C23021 */ addu $a2, $a2, $v0 +/* EB1264 80240404 8CC6D2C0 */ lw $a2, %lo(D_8008D2C0)($a2) +/* EB1268 80240408 0C0B551A */ jal func_802D5468 +/* EB126C 8024040C 0220282D */ daddu $a1, $s1, $zero +/* EB1270 80240410 8FBF0018 */ lw $ra, 0x18($sp) +/* EB1274 80240414 8FB10014 */ lw $s1, 0x14($sp) +/* EB1278 80240418 8FB00010 */ lw $s0, 0x10($sp) +/* EB127C 8024041C 24020002 */ addiu $v0, $zero, 2 +/* EB1280 80240420 03E00008 */ jr $ra +/* EB1284 80240424 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EB1170/func_80240428_EB1288.s b/asm/nonmatchings/code_EB1170/func_80240428_EB1288.s new file mode 100644 index 0000000000..e06e790214 --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_80240428_EB1288.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240428_EB1288 +/* EB1288 80240428 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EB128C 8024042C AFB10014 */ sw $s1, 0x14($sp) +/* EB1290 80240430 0080882D */ daddu $s1, $a0, $zero +/* EB1294 80240434 AFBF0018 */ sw $ra, 0x18($sp) +/* EB1298 80240438 AFB00010 */ sw $s0, 0x10($sp) +/* EB129C 8024043C 8E30000C */ lw $s0, 0xc($s1) +/* EB12A0 80240440 8E050000 */ lw $a1, ($s0) +/* EB12A4 80240444 0C0B53A3 */ jal func_802D4E8C +/* EB12A8 80240448 26100004 */ addiu $s0, $s0, 4 +/* EB12AC 8024044C 0C00F94D */ jal func_8003E534 +/* EB12B0 80240450 0040202D */ daddu $a0, $v0, $zero +/* EB12B4 80240454 10400005 */ beqz $v0, .L8024046C +/* EB12B8 80240458 00000000 */ nop +/* EB12BC 8024045C 8E050000 */ lw $a1, ($s0) +/* EB12C0 80240460 844600A8 */ lh $a2, 0xa8($v0) +/* EB12C4 80240464 0C0B551A */ jal func_802D5468 +/* EB12C8 80240468 0220202D */ daddu $a0, $s1, $zero +.L8024046C: +/* EB12CC 8024046C 8FBF0018 */ lw $ra, 0x18($sp) +/* EB12D0 80240470 8FB10014 */ lw $s1, 0x14($sp) +/* EB12D4 80240474 8FB00010 */ lw $s0, 0x10($sp) +/* EB12D8 80240478 24020002 */ addiu $v0, $zero, 2 +/* EB12DC 8024047C 03E00008 */ jr $ra +/* EB12E0 80240480 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EB1170/func_80240484_EB12E4.s b/asm/nonmatchings/code_EB1170/func_80240484_EB12E4.s new file mode 100644 index 0000000000..0e1de0f903 --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_80240484_EB12E4.s @@ -0,0 +1,122 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240484_EB12E4 +/* EB12E4 80240484 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EB12E8 80240488 AFB10014 */ sw $s1, 0x14($sp) +/* EB12EC 8024048C 0080882D */ daddu $s1, $a0, $zero +/* EB12F0 80240490 AFBF0024 */ sw $ra, 0x24($sp) +/* EB12F4 80240494 AFB40020 */ sw $s4, 0x20($sp) +/* EB12F8 80240498 AFB3001C */ sw $s3, 0x1c($sp) +/* EB12FC 8024049C AFB20018 */ sw $s2, 0x18($sp) +/* EB1300 802404A0 AFB00010 */ sw $s0, 0x10($sp) +/* EB1304 802404A4 F7BC0048 */ sdc1 $f28, 0x48($sp) +/* EB1308 802404A8 F7BA0040 */ sdc1 $f26, 0x40($sp) +/* EB130C 802404AC F7B80038 */ sdc1 $f24, 0x38($sp) +/* EB1310 802404B0 F7B60030 */ sdc1 $f22, 0x30($sp) +/* EB1314 802404B4 F7B40028 */ sdc1 $f20, 0x28($sp) +/* EB1318 802404B8 8E30000C */ lw $s0, 0xc($s1) +/* EB131C 802404BC 8E130000 */ lw $s3, ($s0) +/* EB1320 802404C0 26100004 */ addiu $s0, $s0, 4 +/* EB1324 802404C4 0C0B53A3 */ jal func_802D4E8C +/* EB1328 802404C8 0260282D */ daddu $a1, $s3, $zero +/* EB132C 802404CC 4482E000 */ mtc1 $v0, $f28 +/* EB1330 802404D0 00000000 */ nop +/* EB1334 802404D4 4680E720 */ cvt.s.w $f28, $f28 +/* EB1338 802404D8 8E140000 */ lw $s4, ($s0) +/* EB133C 802404DC 26100004 */ addiu $s0, $s0, 4 +/* EB1340 802404E0 0220202D */ daddu $a0, $s1, $zero +/* EB1344 802404E4 0C0B53A3 */ jal func_802D4E8C +/* EB1348 802404E8 0280282D */ daddu $a1, $s4, $zero +/* EB134C 802404EC 4482D000 */ mtc1 $v0, $f26 +/* EB1350 802404F0 00000000 */ nop +/* EB1354 802404F4 4680D6A0 */ cvt.s.w $f26, $f26 +/* EB1358 802404F8 8E100000 */ lw $s0, ($s0) +/* EB135C 802404FC 0220202D */ daddu $a0, $s1, $zero +/* EB1360 80240500 0C0B53A3 */ jal func_802D4E8C +/* EB1364 80240504 0200282D */ daddu $a1, $s0, $zero +/* EB1368 80240508 4482C000 */ mtc1 $v0, $f24 +/* EB136C 8024050C 00000000 */ nop +/* EB1370 80240510 4680C620 */ cvt.s.w $f24, $f24 +/* EB1374 80240514 3C128011 */ lui $s2, %hi(D_80117578) +/* EB1378 80240518 26527578 */ addiu $s2, $s2, %lo(D_80117578) +/* EB137C 8024051C 3C038008 */ lui $v1, %hi(D_8007C760) +/* EB1380 80240520 8C63C760 */ lw $v1, %lo(D_8007C760)($v1) +/* EB1384 80240524 C64200A8 */ lwc1 $f2, 0xa8($s2) +/* EB1388 80240528 44800000 */ mtc1 $zero, $f0 +/* EB138C 8024052C 00031080 */ sll $v0, $v1, 2 +/* EB1390 80240530 00431021 */ addu $v0, $v0, $v1 +/* EB1394 80240534 00021080 */ sll $v0, $v0, 2 +/* EB1398 80240538 00431023 */ subu $v0, $v0, $v1 +/* EB139C 8024053C 000218C0 */ sll $v1, $v0, 3 +/* EB13A0 80240540 00431021 */ addu $v0, $v0, $v1 +/* EB13A4 80240544 000210C0 */ sll $v0, $v0, 3 +/* EB13A8 80240548 46001032 */ c.eq.s $f2, $f0 +/* EB13AC 8024054C 3C01800C */ lui $at, %hi(D_800B8DEC) +/* EB13B0 80240550 00220821 */ addu $at, $at, $v0 +/* EB13B4 80240554 C4368DEC */ lwc1 $f22, %lo(D_800B8DEC)($at) +/* EB13B8 80240558 45000005 */ bc1f .L80240570 +/* EB13BC 8024055C 00000000 */ nop +/* EB13C0 80240560 3C0142C8 */ lui $at, 0x42c8 +/* EB13C4 80240564 44810000 */ mtc1 $at, $f0 +/* EB13C8 80240568 08090160 */ j .L80240580 +/* EB13CC 8024056C 4600B581 */ sub.s $f22, $f22, $f0 +.L80240570: +/* EB13D0 80240570 3C0142C8 */ lui $at, 0x42c8 +/* EB13D4 80240574 44810000 */ mtc1 $at, $f0 +/* EB13D8 80240578 00000000 */ nop +/* EB13DC 8024057C 4600B580 */ add.s $f22, $f22, $f0 +.L80240580: +/* EB13E0 80240580 0C00AB85 */ jal func_8002AE14 +/* EB13E4 80240584 4600B306 */ mov.s $f12, $f22 +/* EB13E8 80240588 46000586 */ mov.s $f22, $f0 +/* EB13EC 8024058C 3C014170 */ lui $at, 0x4170 +/* EB13F0 80240590 4481A000 */ mtc1 $at, $f20 +/* EB13F4 80240594 0C00AD77 */ jal func_8002B5DC +/* EB13F8 80240598 4600B306 */ mov.s $f12, $f22 +/* EB13FC 8024059C 46140002 */ mul.s $f0, $f0, $f20 +/* EB1400 802405A0 00000000 */ nop +/* EB1404 802405A4 864200B0 */ lh $v0, 0xb0($s2) +/* EB1408 802405A8 3C013F00 */ lui $at, 0x3f00 +/* EB140C 802405AC 44812000 */ mtc1 $at, $f4 +/* EB1410 802405B0 44821000 */ mtc1 $v0, $f2 +/* EB1414 802405B4 00000000 */ nop +/* EB1418 802405B8 468010A0 */ cvt.s.w $f2, $f2 +/* EB141C 802405BC 46041082 */ mul.s $f2, $f2, $f4 +/* EB1420 802405C0 00000000 */ nop +/* EB1424 802405C4 4600E700 */ add.s $f28, $f28, $f0 +/* EB1428 802405C8 4602D680 */ add.s $f26, $f26, $f2 +/* EB142C 802405CC 0C00AD90 */ jal func_8002B640 +/* EB1430 802405D0 4600B306 */ mov.s $f12, $f22 +/* EB1434 802405D4 46140002 */ mul.s $f0, $f0, $f20 +/* EB1438 802405D8 00000000 */ nop +/* EB143C 802405DC 0220202D */ daddu $a0, $s1, $zero +/* EB1440 802405E0 0260282D */ daddu $a1, $s3, $zero +/* EB1444 802405E4 4600E18D */ trunc.w.s $f6, $f28 +/* EB1448 802405E8 44063000 */ mfc1 $a2, $f6 +/* EB144C 802405EC 0C0B551A */ jal func_802D5468 +/* EB1450 802405F0 4600C601 */ sub.s $f24, $f24, $f0 +/* EB1454 802405F4 0220202D */ daddu $a0, $s1, $zero +/* EB1458 802405F8 4600D18D */ trunc.w.s $f6, $f26 +/* EB145C 802405FC 44063000 */ mfc1 $a2, $f6 +/* EB1460 80240600 0C0B551A */ jal func_802D5468 +/* EB1464 80240604 0280282D */ daddu $a1, $s4, $zero +/* EB1468 80240608 0220202D */ daddu $a0, $s1, $zero +/* EB146C 8024060C 4600C18D */ trunc.w.s $f6, $f24 +/* EB1470 80240610 44063000 */ mfc1 $a2, $f6 +/* EB1474 80240614 0C0B551A */ jal func_802D5468 +/* EB1478 80240618 0200282D */ daddu $a1, $s0, $zero +/* EB147C 8024061C 8FBF0024 */ lw $ra, 0x24($sp) +/* EB1480 80240620 8FB40020 */ lw $s4, 0x20($sp) +/* EB1484 80240624 8FB3001C */ lw $s3, 0x1c($sp) +/* EB1488 80240628 8FB20018 */ lw $s2, 0x18($sp) +/* EB148C 8024062C 8FB10014 */ lw $s1, 0x14($sp) +/* EB1490 80240630 8FB00010 */ lw $s0, 0x10($sp) +/* EB1494 80240634 D7BC0048 */ ldc1 $f28, 0x48($sp) +/* EB1498 80240638 D7BA0040 */ ldc1 $f26, 0x40($sp) +/* EB149C 8024063C D7B80038 */ ldc1 $f24, 0x38($sp) +/* EB14A0 80240640 D7B60030 */ ldc1 $f22, 0x30($sp) +/* EB14A4 80240644 D7B40028 */ ldc1 $f20, 0x28($sp) +/* EB14A8 80240648 24020002 */ addiu $v0, $zero, 2 +/* EB14AC 8024064C 03E00008 */ jr $ra +/* EB14B0 80240650 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EB1170/func_80240654_EB14B4.s b/asm/nonmatchings/code_EB1170/func_80240654_EB14B4.s new file mode 100644 index 0000000000..632ee21bab --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_80240654_EB14B4.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240654_EB14B4 +/* EB14B4 80240654 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB14B8 80240658 AFBF0010 */ sw $ra, 0x10($sp) +/* EB14BC 8024065C 10A00003 */ beqz $a1, .L8024066C +/* EB14C0 80240660 8C86000C */ lw $a2, 0xc($a0) +/* EB14C4 80240664 3C018024 */ lui $at, %hi(D_802417E4) +/* EB14C8 80240668 AC2017E4 */ sw $zero, %lo(D_802417E4)($at) +.L8024066C: +/* EB14CC 8024066C 3C038024 */ lui $v1, %hi(D_802417E4) +/* EB14D0 80240670 246317E4 */ addiu $v1, $v1, %lo(D_802417E4) +/* EB14D4 80240674 8C620000 */ lw $v0, ($v1) +/* EB14D8 80240678 54400003 */ bnel $v0, $zero, .L80240688 +/* EB14DC 8024067C AC600000 */ sw $zero, ($v1) +/* EB14E0 80240680 080901A7 */ j .L8024069C +/* EB14E4 80240684 0000102D */ daddu $v0, $zero, $zero +.L80240688: +/* EB14E8 80240688 8CC50000 */ lw $a1, ($a2) +/* EB14EC 8024068C 3C068024 */ lui $a2, %hi(D_802417E8) +/* EB14F0 80240690 0C0B551A */ jal func_802D5468 +/* EB14F4 80240694 8CC617E8 */ lw $a2, %lo(D_802417E8)($a2) +/* EB14F8 80240698 24020002 */ addiu $v0, $zero, 2 +.L8024069C: +/* EB14FC 8024069C 8FBF0010 */ lw $ra, 0x10($sp) +/* EB1500 802406A0 03E00008 */ jr $ra +/* EB1504 802406A4 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB1170/func_802406A8_EB1508.s b/asm/nonmatchings/code_EB1170/func_802406A8_EB1508.s new file mode 100644 index 0000000000..aeaeb9d6e2 --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_802406A8_EB1508.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802406A8_EB1508 +/* EB1508 802406A8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB150C 802406AC AFBF0010 */ sw $ra, 0x10($sp) +/* EB1510 802406B0 8C82000C */ lw $v0, 0xc($a0) +/* EB1514 802406B4 0C0B53A3 */ jal func_802D4E8C +/* EB1518 802406B8 8C450000 */ lw $a1, ($v0) +/* EB151C 802406BC 3C018024 */ lui $at, %hi(D_802417E8) +/* EB1520 802406C0 AC2217E8 */ sw $v0, %lo(D_802417E8)($at) +/* EB1524 802406C4 24020002 */ addiu $v0, $zero, 2 +/* EB1528 802406C8 8FBF0010 */ lw $ra, 0x10($sp) +/* EB152C 802406CC 24030001 */ addiu $v1, $zero, 1 +/* EB1530 802406D0 3C018024 */ lui $at, %hi(D_802417E4) +/* EB1534 802406D4 AC2317E4 */ sw $v1, %lo(D_802417E4)($at) +/* EB1538 802406D8 03E00008 */ jr $ra +/* EB153C 802406DC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB1170/func_802406E0_EB1540.s b/asm/nonmatchings/code_EB1170/func_802406E0_EB1540.s new file mode 100644 index 0000000000..32bb8c9d33 --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_802406E0_EB1540.s @@ -0,0 +1,48 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802406E0_EB1540 +/* EB1540 802406E0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB1544 802406E4 AFBF0010 */ sw $ra, 0x10($sp) +/* EB1548 802406E8 8C82000C */ lw $v0, 0xc($a0) +/* EB154C 802406EC 0C0B53A3 */ jal func_802D4E8C +/* EB1550 802406F0 8C450000 */ lw $a1, ($v0) +/* EB1554 802406F4 0040182D */ daddu $v1, $v0, $zero +/* EB1558 802406F8 10600012 */ beqz $v1, .L80240744 +/* EB155C 802406FC 0000202D */ daddu $a0, $zero, $zero +/* EB1560 80240700 8C620000 */ lw $v0, ($v1) +/* EB1564 80240704 5040000A */ beql $v0, $zero, .L80240730 +/* EB1568 80240708 00041080 */ sll $v0, $a0, 2 +/* EB156C 8024070C 3C058024 */ lui $a1, %hi(D_802442D0) +/* EB1570 80240710 24A542D0 */ addiu $a1, $a1, %lo(D_802442D0) +.L80240714: +/* EB1574 80240714 24630004 */ addiu $v1, $v1, 4 +/* EB1578 80240718 24840001 */ addiu $a0, $a0, 1 +/* EB157C 8024071C ACA20000 */ sw $v0, ($a1) +/* EB1580 80240720 8C620000 */ lw $v0, ($v1) +/* EB1584 80240724 1440FFFB */ bnez $v0, .L80240714 +/* EB1588 80240728 24A50004 */ addiu $a1, $a1, 4 +/* EB158C 8024072C 00041080 */ sll $v0, $a0, 2 +.L80240730: +/* EB1590 80240730 3C018024 */ lui $at, %hi(D_802442D0) +/* EB1594 80240734 00220821 */ addu $at, $at, $v0 +/* EB1598 80240738 AC2042D0 */ sw $zero, %lo(D_802442D0)($at) +/* EB159C 8024073C 080901DB */ j .L8024076C +/* EB15A0 80240740 00000000 */ nop +.L80240744: +/* EB15A4 80240744 3C038024 */ lui $v1, %hi(D_802442D0) +/* EB15A8 80240748 246342D0 */ addiu $v1, $v1, %lo(D_802442D0) +/* EB15AC 8024074C 0060282D */ daddu $a1, $v1, $zero +.L80240750: +/* EB15B0 80240750 24820010 */ addiu $v0, $a0, 0x10 +/* EB15B4 80240754 AC620000 */ sw $v0, ($v1) +/* EB15B8 80240758 24630004 */ addiu $v1, $v1, 4 +/* EB15BC 8024075C 24840001 */ addiu $a0, $a0, 1 +/* EB15C0 80240760 28820070 */ slti $v0, $a0, 0x70 +/* EB15C4 80240764 1440FFFA */ bnez $v0, .L80240750 +/* EB15C8 80240768 ACA001C0 */ sw $zero, 0x1c0($a1) +.L8024076C: +/* EB15CC 8024076C 8FBF0010 */ lw $ra, 0x10($sp) +/* EB15D0 80240770 24020002 */ addiu $v0, $zero, 2 +/* EB15D4 80240774 03E00008 */ jr $ra +/* EB15D8 80240778 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB1170/func_8024077C_EB15DC.s b/asm/nonmatchings/code_EB1170/func_8024077C_EB15DC.s new file mode 100644 index 0000000000..db7da8a2c5 --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_8024077C_EB15DC.s @@ -0,0 +1,64 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024077C_EB15DC +/* EB15DC 8024077C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EB15E0 80240780 AFB10014 */ sw $s1, 0x14($sp) +/* EB15E4 80240784 0080882D */ daddu $s1, $a0, $zero +/* EB15E8 80240788 AFBF0018 */ sw $ra, 0x18($sp) +/* EB15EC 8024078C AFB00010 */ sw $s0, 0x10($sp) +/* EB15F0 80240790 8E30000C */ lw $s0, 0xc($s1) +/* EB15F4 80240794 8E050000 */ lw $a1, ($s0) +/* EB15F8 80240798 0C0B53A3 */ jal func_802D4E8C +/* EB15FC 8024079C 26100004 */ addiu $s0, $s0, 4 +/* EB1600 802407A0 AE22008C */ sw $v0, 0x8c($s1) +/* EB1604 802407A4 8E050000 */ lw $a1, ($s0) +/* EB1608 802407A8 26100004 */ addiu $s0, $s0, 4 +/* EB160C 802407AC 0C0B53A3 */ jal func_802D4E8C +/* EB1610 802407B0 0220202D */ daddu $a0, $s1, $zero +/* EB1614 802407B4 AE220090 */ sw $v0, 0x90($s1) +/* EB1618 802407B8 8E050000 */ lw $a1, ($s0) +/* EB161C 802407BC 26100004 */ addiu $s0, $s0, 4 +/* EB1620 802407C0 0C0B53A3 */ jal func_802D4E8C +/* EB1624 802407C4 0220202D */ daddu $a0, $s1, $zero +/* EB1628 802407C8 AE220094 */ sw $v0, 0x94($s1) +/* EB162C 802407CC 8E050000 */ lw $a1, ($s0) +/* EB1630 802407D0 26100004 */ addiu $s0, $s0, 4 +/* EB1634 802407D4 0C0B53A3 */ jal func_802D4E8C +/* EB1638 802407D8 0220202D */ daddu $a0, $s1, $zero +/* EB163C 802407DC AE220098 */ sw $v0, 0x98($s1) +/* EB1640 802407E0 8E050000 */ lw $a1, ($s0) +/* EB1644 802407E4 26100004 */ addiu $s0, $s0, 4 +/* EB1648 802407E8 0C0B53A3 */ jal func_802D4E8C +/* EB164C 802407EC 0220202D */ daddu $a0, $s1, $zero +/* EB1650 802407F0 AE22009C */ sw $v0, 0x9c($s1) +/* EB1654 802407F4 8E050000 */ lw $a1, ($s0) +/* EB1658 802407F8 26100004 */ addiu $s0, $s0, 4 +/* EB165C 802407FC 0C0B53A3 */ jal func_802D4E8C +/* EB1660 80240800 0220202D */ daddu $a0, $s1, $zero +/* EB1664 80240804 AE2200A0 */ sw $v0, 0xa0($s1) +/* EB1668 80240808 8E050000 */ lw $a1, ($s0) +/* EB166C 8024080C 26100004 */ addiu $s0, $s0, 4 +/* EB1670 80240810 0C0B53A3 */ jal func_802D4E8C +/* EB1674 80240814 0220202D */ daddu $a0, $s1, $zero +/* EB1678 80240818 AE2200A4 */ sw $v0, 0xa4($s1) +/* EB167C 8024081C 8E050000 */ lw $a1, ($s0) +/* EB1680 80240820 26100004 */ addiu $s0, $s0, 4 +/* EB1684 80240824 0C0B53A3 */ jal func_802D4E8C +/* EB1688 80240828 0220202D */ daddu $a0, $s1, $zero +/* EB168C 8024082C AE2200A8 */ sw $v0, 0xa8($s1) +/* EB1690 80240830 8E050000 */ lw $a1, ($s0) +/* EB1694 80240834 26100004 */ addiu $s0, $s0, 4 +/* EB1698 80240838 0C0B53A3 */ jal func_802D4E8C +/* EB169C 8024083C 0220202D */ daddu $a0, $s1, $zero +/* EB16A0 80240840 AE2200AC */ sw $v0, 0xac($s1) +/* EB16A4 80240844 8E050000 */ lw $a1, ($s0) +/* EB16A8 80240848 0C0B53A3 */ jal func_802D4E8C +/* EB16AC 8024084C 0220202D */ daddu $a0, $s1, $zero +/* EB16B0 80240850 AE2200B0 */ sw $v0, 0xb0($s1) +/* EB16B4 80240854 8FBF0018 */ lw $ra, 0x18($sp) +/* EB16B8 80240858 8FB10014 */ lw $s1, 0x14($sp) +/* EB16BC 8024085C 8FB00010 */ lw $s0, 0x10($sp) +/* EB16C0 80240860 24020002 */ addiu $v0, $zero, 2 +/* EB16C4 80240864 03E00008 */ jr $ra +/* EB16C8 80240868 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EB1170/func_8024086C_EB16CC.s b/asm/nonmatchings/code_EB1170/func_8024086C_EB16CC.s new file mode 100644 index 0000000000..11914719a9 --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_8024086C_EB16CC.s @@ -0,0 +1,103 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024086C_EB16CC +/* EB16CC 8024086C 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EB16D0 80240870 AFB1001C */ sw $s1, 0x1c($sp) +/* EB16D4 80240874 0080882D */ daddu $s1, $a0, $zero +/* EB16D8 80240878 AFBF0034 */ sw $ra, 0x34($sp) +/* EB16DC 8024087C AFB60030 */ sw $s6, 0x30($sp) +/* EB16E0 80240880 AFB5002C */ sw $s5, 0x2c($sp) +/* EB16E4 80240884 AFB40028 */ sw $s4, 0x28($sp) +/* EB16E8 80240888 AFB30024 */ sw $s3, 0x24($sp) +/* EB16EC 8024088C AFB20020 */ sw $s2, 0x20($sp) +/* EB16F0 80240890 AFB00018 */ sw $s0, 0x18($sp) +/* EB16F4 80240894 F7B60040 */ sdc1 $f22, 0x40($sp) +/* EB16F8 80240898 F7B40038 */ sdc1 $f20, 0x38($sp) +/* EB16FC 8024089C 8E30000C */ lw $s0, 0xc($s1) +/* EB1700 802408A0 8E160000 */ lw $s6, ($s0) +/* EB1704 802408A4 26100004 */ addiu $s0, $s0, 4 +/* EB1708 802408A8 0C0B53A3 */ jal func_802D4E8C +/* EB170C 802408AC 02C0282D */ daddu $a1, $s6, $zero +/* EB1710 802408B0 44820000 */ mtc1 $v0, $f0 +/* EB1714 802408B4 00000000 */ nop +/* EB1718 802408B8 46800020 */ cvt.s.w $f0, $f0 +/* EB171C 802408BC E7A00010 */ swc1 $f0, 0x10($sp) +/* EB1720 802408C0 8E140000 */ lw $s4, ($s0) +/* EB1724 802408C4 26100004 */ addiu $s0, $s0, 4 +/* EB1728 802408C8 0220202D */ daddu $a0, $s1, $zero +/* EB172C 802408CC 0C0B53A3 */ jal func_802D4E8C +/* EB1730 802408D0 0280282D */ daddu $a1, $s4, $zero +/* EB1734 802408D4 0220202D */ daddu $a0, $s1, $zero +/* EB1738 802408D8 8E150000 */ lw $s5, ($s0) +/* EB173C 802408DC 4482B000 */ mtc1 $v0, $f22 +/* EB1740 802408E0 00000000 */ nop +/* EB1744 802408E4 4680B5A0 */ cvt.s.w $f22, $f22 +/* EB1748 802408E8 0C0B53A3 */ jal func_802D4E8C +/* EB174C 802408EC 02A0282D */ daddu $a1, $s5, $zero +/* EB1750 802408F0 2404FFFC */ addiu $a0, $zero, -4 +/* EB1754 802408F4 44820000 */ mtc1 $v0, $f0 +/* EB1758 802408F8 00000000 */ nop +/* EB175C 802408FC 46800020 */ cvt.s.w $f0, $f0 +/* EB1760 80240900 0C00F92F */ jal func_8003E4BC +/* EB1764 80240904 E7A00014 */ swc1 $f0, 0x14($sp) +/* EB1768 80240908 3C048008 */ lui $a0, %hi(D_8007C760) +/* EB176C 8024090C 8C84C760 */ lw $a0, %lo(D_8007C760)($a0) +/* EB1770 80240910 3C014334 */ lui $at, 0x4334 +/* EB1774 80240914 44816000 */ mtc1 $at, $f12 +/* EB1778 80240918 00041880 */ sll $v1, $a0, 2 +/* EB177C 8024091C 00641821 */ addu $v1, $v1, $a0 +/* EB1780 80240920 00031880 */ sll $v1, $v1, 2 +/* EB1784 80240924 00641823 */ subu $v1, $v1, $a0 +/* EB1788 80240928 000320C0 */ sll $a0, $v1, 3 +/* EB178C 8024092C 00641821 */ addu $v1, $v1, $a0 +/* EB1790 80240930 000318C0 */ sll $v1, $v1, 3 +/* EB1794 80240934 3C01800C */ lui $at, %hi(D_800B8DEC) +/* EB1798 80240938 00230821 */ addu $at, $at, $v1 +/* EB179C 8024093C C4208DEC */ lwc1 $f0, %lo(D_800B8DEC)($at) +/* EB17A0 80240940 460C0300 */ add.s $f12, $f0, $f12 +/* EB17A4 80240944 0C00AB85 */ jal func_8002AE14 +/* EB17A8 80240948 0040982D */ daddu $s3, $v0, $zero +/* EB17AC 8024094C 27B00010 */ addiu $s0, $sp, 0x10 +/* EB17B0 80240950 0200202D */ daddu $a0, $s0, $zero +/* EB17B4 80240954 27B20014 */ addiu $s2, $sp, 0x14 +/* EB17B8 80240958 0240282D */ daddu $a1, $s2, $zero +/* EB17BC 8024095C 3C064170 */ lui $a2, 0x4170 +/* EB17C0 80240960 8E67000C */ lw $a3, 0xc($s3) +/* EB17C4 80240964 0C00ACA3 */ jal func_8002B28C +/* EB17C8 80240968 46000506 */ mov.s $f20, $f0 +/* EB17CC 8024096C 0200202D */ daddu $a0, $s0, $zero +/* EB17D0 80240970 3C064120 */ lui $a2, 0x4120 +/* EB17D4 80240974 4407A000 */ mfc1 $a3, $f20 +/* EB17D8 80240978 0C00ACA3 */ jal func_8002B28C +/* EB17DC 8024097C 0240282D */ daddu $a1, $s2, $zero +/* EB17E0 80240980 0220202D */ daddu $a0, $s1, $zero +/* EB17E4 80240984 C7A00010 */ lwc1 $f0, 0x10($sp) +/* EB17E8 80240988 4600008D */ trunc.w.s $f2, $f0 +/* EB17EC 8024098C 44061000 */ mfc1 $a2, $f2 +/* EB17F0 80240990 0C0B551A */ jal func_802D5468 +/* EB17F4 80240994 02C0282D */ daddu $a1, $s6, $zero +/* EB17F8 80240998 0220202D */ daddu $a0, $s1, $zero +/* EB17FC 8024099C 4600B08D */ trunc.w.s $f2, $f22 +/* EB1800 802409A0 44061000 */ mfc1 $a2, $f2 +/* EB1804 802409A4 0C0B551A */ jal func_802D5468 +/* EB1808 802409A8 0280282D */ daddu $a1, $s4, $zero +/* EB180C 802409AC 0220202D */ daddu $a0, $s1, $zero +/* EB1810 802409B0 C7A00014 */ lwc1 $f0, 0x14($sp) +/* EB1814 802409B4 4600008D */ trunc.w.s $f2, $f0 +/* EB1818 802409B8 44061000 */ mfc1 $a2, $f2 +/* EB181C 802409BC 0C0B551A */ jal func_802D5468 +/* EB1820 802409C0 02A0282D */ daddu $a1, $s5, $zero +/* EB1824 802409C4 8FBF0034 */ lw $ra, 0x34($sp) +/* EB1828 802409C8 8FB60030 */ lw $s6, 0x30($sp) +/* EB182C 802409CC 8FB5002C */ lw $s5, 0x2c($sp) +/* EB1830 802409D0 8FB40028 */ lw $s4, 0x28($sp) +/* EB1834 802409D4 8FB30024 */ lw $s3, 0x24($sp) +/* EB1838 802409D8 8FB20020 */ lw $s2, 0x20($sp) +/* EB183C 802409DC 8FB1001C */ lw $s1, 0x1c($sp) +/* EB1840 802409E0 8FB00018 */ lw $s0, 0x18($sp) +/* EB1844 802409E4 D7B60040 */ ldc1 $f22, 0x40($sp) +/* EB1848 802409E8 D7B40038 */ ldc1 $f20, 0x38($sp) +/* EB184C 802409EC 24020002 */ addiu $v0, $zero, 2 +/* EB1850 802409F0 03E00008 */ jr $ra +/* EB1854 802409F4 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EB1170/func_802409F8_EB1858.s b/asm/nonmatchings/code_EB1170/func_802409F8_EB1858.s new file mode 100644 index 0000000000..016cc5d969 --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_802409F8_EB1858.s @@ -0,0 +1,21 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802409F8_EB1858 +/* EB1858 802409F8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB185C 802409FC AFB00010 */ sw $s0, 0x10($sp) +/* EB1860 80240A00 0080802D */ daddu $s0, $a0, $zero +/* EB1864 80240A04 AFBF0014 */ sw $ra, 0x14($sp) +/* EB1868 80240A08 0C00F92F */ jal func_8003E4BC +/* EB186C 80240A0C 8E04008C */ lw $a0, 0x8c($s0) +/* EB1870 80240A10 0040282D */ daddu $a1, $v0, $zero +/* EB1874 80240A14 8E040094 */ lw $a0, 0x94($s0) +/* EB1878 80240A18 8CA30028 */ lw $v1, 0x28($a1) +/* EB187C 80240A1C ACA40028 */ sw $a0, 0x28($a1) +/* EB1880 80240A20 8FBF0014 */ lw $ra, 0x14($sp) +/* EB1884 80240A24 8FB00010 */ lw $s0, 0x10($sp) +/* EB1888 80240A28 24020002 */ addiu $v0, $zero, 2 +/* EB188C 80240A2C 3C018024 */ lui $at, %hi(D_80244494) +/* EB1890 80240A30 AC234494 */ sw $v1, %lo(D_80244494)($at) +/* EB1894 80240A34 03E00008 */ jr $ra +/* EB1898 80240A38 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB1170/func_80240A3C_EB189C.s b/asm/nonmatchings/code_EB1170/func_80240A3C_EB189C.s new file mode 100644 index 0000000000..a1e25e015d --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_80240A3C_EB189C.s @@ -0,0 +1,15 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240A3C_EB189C +/* EB189C 80240A3C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB18A0 80240A40 AFBF0010 */ sw $ra, 0x10($sp) +/* EB18A4 80240A44 0C00F92F */ jal func_8003E4BC +/* EB18A8 80240A48 8C84008C */ lw $a0, 0x8c($a0) +/* EB18AC 80240A4C 3C038024 */ lui $v1, %hi(D_80244494) +/* EB18B0 80240A50 8C634494 */ lw $v1, %lo(D_80244494)($v1) +/* EB18B4 80240A54 AC430028 */ sw $v1, 0x28($v0) +/* EB18B8 80240A58 8FBF0010 */ lw $ra, 0x10($sp) +/* EB18BC 80240A5C 24020002 */ addiu $v0, $zero, 2 +/* EB18C0 80240A60 03E00008 */ jr $ra +/* EB18C4 80240A64 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB1170/func_80240A68_EB18C8.s b/asm/nonmatchings/code_EB1170/func_80240A68_EB18C8.s new file mode 100644 index 0000000000..45974f736e --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_80240A68_EB18C8.s @@ -0,0 +1,13 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240A68_EB18C8 +/* EB18C8 80240A68 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB18CC 80240A6C 0000202D */ daddu $a0, $zero, $zero +/* EB18D0 80240A70 AFBF0010 */ sw $ra, 0x10($sp) +/* EB18D4 80240A74 0C0166B2 */ jal func_80059AC8 +/* EB18D8 80240A78 24050001 */ addiu $a1, $zero, 1 +/* EB18DC 80240A7C 8FBF0010 */ lw $ra, 0x10($sp) +/* EB18E0 80240A80 24020002 */ addiu $v0, $zero, 2 +/* EB18E4 80240A84 03E00008 */ jr $ra +/* EB18E8 80240A88 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB1170/func_80240A8C_EB18EC.s b/asm/nonmatchings/code_EB1170/func_80240A8C_EB18EC.s new file mode 100644 index 0000000000..209a6b9d78 --- /dev/null +++ b/asm/nonmatchings/code_EB1170/func_80240A8C_EB18EC.s @@ -0,0 +1,17 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240A8C_EB18EC +/* EB18EC 80240A8C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB18F0 80240A90 AFBF0010 */ sw $ra, 0x10($sp) +/* EB18F4 80240A94 8C82000C */ lw $v0, 0xc($a0) +/* EB18F8 80240A98 3C068017 */ lui $a2, %hi(D_80169B12) +/* EB18FC 80240A9C 84C69B12 */ lh $a2, %lo(D_80169B12)($a2) +/* EB1900 80240AA0 0C0B551A */ jal func_802D5468 +/* EB1904 80240AA4 8C450000 */ lw $a1, ($v0) +/* EB1908 80240AA8 8FBF0010 */ lw $ra, 0x10($sp) +/* EB190C 80240AAC 24020002 */ addiu $v0, $zero, 2 +/* EB1910 80240AB0 03E00008 */ jr $ra +/* EB1914 80240AB4 27BD0018 */ addiu $sp, $sp, 0x18 +/* EB1918 80240AB8 00000000 */ nop +/* EB191C 80240ABC 00000000 */ nop diff --git a/asm/nonmatchings/code_EB5130/func_80240000_EB5130.s b/asm/nonmatchings/code_EB5130/func_80240000_EB5130.s new file mode 100644 index 0000000000..56566d2aeb --- /dev/null +++ b/asm/nonmatchings/code_EB5130/func_80240000_EB5130.s @@ -0,0 +1,89 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EB5130 +/* EB5130 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB5134 80240004 AFB00010 */ sw $s0, 0x10($sp) +/* EB5138 80240008 0080802D */ daddu $s0, $a0, $zero +/* EB513C 8024000C AFBF0014 */ sw $ra, 0x14($sp) +/* EB5140 80240010 8E0300A8 */ lw $v1, 0xa8($s0) +/* EB5144 80240014 8E020088 */ lw $v0, 0x88($s0) +/* EB5148 80240018 00621821 */ addu $v1, $v1, $v0 +/* EB514C 8024001C 04610004 */ bgez $v1, .L80240030 +/* EB5150 80240020 AE0300A8 */ sw $v1, 0xa8($s0) +/* EB5154 80240024 3C020002 */ lui $v0, 2 +/* EB5158 80240028 08090010 */ j .L80240040 +/* EB515C 8024002C 00621021 */ addu $v0, $v1, $v0 +.L80240030: +/* EB5160 80240030 3C040002 */ lui $a0, 2 +/* EB5164 80240034 0083102A */ slt $v0, $a0, $v1 +/* EB5168 80240038 10400002 */ beqz $v0, .L80240044 +/* EB516C 8024003C 00641023 */ subu $v0, $v1, $a0 +.L80240040: +/* EB5170 80240040 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240044: +/* EB5174 80240044 8E0300AC */ lw $v1, 0xac($s0) +/* EB5178 80240048 8E02008C */ lw $v0, 0x8c($s0) +/* EB517C 8024004C 00621821 */ addu $v1, $v1, $v0 +/* EB5180 80240050 04610004 */ bgez $v1, .L80240064 +/* EB5184 80240054 AE0300AC */ sw $v1, 0xac($s0) +/* EB5188 80240058 3C020002 */ lui $v0, 2 +/* EB518C 8024005C 0809001D */ j .L80240074 +/* EB5190 80240060 00621021 */ addu $v0, $v1, $v0 +.L80240064: +/* EB5194 80240064 3C040002 */ lui $a0, 2 +/* EB5198 80240068 0083102A */ slt $v0, $a0, $v1 +/* EB519C 8024006C 10400002 */ beqz $v0, .L80240078 +/* EB51A0 80240070 00641023 */ subu $v0, $v1, $a0 +.L80240074: +/* EB51A4 80240074 AE0200AC */ sw $v0, 0xac($s0) +.L80240078: +/* EB51A8 80240078 8E0300B0 */ lw $v1, 0xb0($s0) +/* EB51AC 8024007C 8E020090 */ lw $v0, 0x90($s0) +/* EB51B0 80240080 00621821 */ addu $v1, $v1, $v0 +/* EB51B4 80240084 04610004 */ bgez $v1, .L80240098 +/* EB51B8 80240088 AE0300B0 */ sw $v1, 0xb0($s0) +/* EB51BC 8024008C 3C020002 */ lui $v0, 2 +/* EB51C0 80240090 0809002A */ j .L802400A8 +/* EB51C4 80240094 00621021 */ addu $v0, $v1, $v0 +.L80240098: +/* EB51C8 80240098 3C040002 */ lui $a0, 2 +/* EB51CC 8024009C 0083102A */ slt $v0, $a0, $v1 +/* EB51D0 802400A0 10400002 */ beqz $v0, .L802400AC +/* EB51D4 802400A4 00641023 */ subu $v0, $v1, $a0 +.L802400A8: +/* EB51D8 802400A8 AE0200B0 */ sw $v0, 0xb0($s0) +.L802400AC: +/* EB51DC 802400AC 8E0300B4 */ lw $v1, 0xb4($s0) +/* EB51E0 802400B0 8E020094 */ lw $v0, 0x94($s0) +/* EB51E4 802400B4 00621821 */ addu $v1, $v1, $v0 +/* EB51E8 802400B8 04610004 */ bgez $v1, .L802400CC +/* EB51EC 802400BC AE0300B4 */ sw $v1, 0xb4($s0) +/* EB51F0 802400C0 3C020002 */ lui $v0, 2 +/* EB51F4 802400C4 08090037 */ j .L802400DC +/* EB51F8 802400C8 00621021 */ addu $v0, $v1, $v0 +.L802400CC: +/* EB51FC 802400CC 3C040002 */ lui $a0, 2 +/* EB5200 802400D0 0083102A */ slt $v0, $a0, $v1 +/* EB5204 802400D4 10400002 */ beqz $v0, .L802400E0 +/* EB5208 802400D8 00641023 */ subu $v0, $v1, $a0 +.L802400DC: +/* EB520C 802400DC AE0200B4 */ sw $v0, 0xb4($s0) +.L802400E0: +/* EB5210 802400E0 8E040084 */ lw $a0, 0x84($s0) +/* EB5214 802400E4 0C049819 */ jal func_80126064 +/* EB5218 802400E8 8E0500A8 */ lw $a1, 0xa8($s0) +/* EB521C 802400EC 8E040084 */ lw $a0, 0x84($s0) +/* EB5220 802400F0 0C04981F */ jal func_8012607C +/* EB5224 802400F4 8E0500AC */ lw $a1, 0xac($s0) +/* EB5228 802400F8 8E040084 */ lw $a0, 0x84($s0) +/* EB522C 802400FC 0C049825 */ jal func_80126094 +/* EB5230 80240100 8E0500B0 */ lw $a1, 0xb0($s0) +/* EB5234 80240104 8E040084 */ lw $a0, 0x84($s0) +/* EB5238 80240108 0C04982B */ jal func_801260AC +/* EB523C 8024010C 8E0500B4 */ lw $a1, 0xb4($s0) +/* EB5240 80240110 8FBF0014 */ lw $ra, 0x14($sp) +/* EB5244 80240114 8FB00010 */ lw $s0, 0x10($sp) +/* EB5248 80240118 0000102D */ daddu $v0, $zero, $zero +/* EB524C 8024011C 03E00008 */ jr $ra +/* EB5250 80240120 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB5130/func_80240124_EB5254.s b/asm/nonmatchings/code_EB5130/func_80240124_EB5254.s new file mode 100644 index 0000000000..f44e380db0 --- /dev/null +++ b/asm/nonmatchings/code_EB5130/func_80240124_EB5254.s @@ -0,0 +1,143 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240124_EB5254 +/* EB5254 80240124 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB5258 80240128 AFB00010 */ sw $s0, 0x10($sp) +/* EB525C 8024012C 0080802D */ daddu $s0, $a0, $zero +/* EB5260 80240130 10A00005 */ beqz $a1, .L80240148 +/* EB5264 80240134 AFBF0014 */ sw $ra, 0x14($sp) +/* EB5268 80240138 AE000070 */ sw $zero, 0x70($s0) +/* EB526C 8024013C AE000074 */ sw $zero, 0x74($s0) +/* EB5270 80240140 AE000078 */ sw $zero, 0x78($s0) +/* EB5274 80240144 AE00007C */ sw $zero, 0x7c($s0) +.L80240148: +/* EB5278 80240148 8E020070 */ lw $v0, 0x70($s0) +/* EB527C 8024014C 1440000E */ bnez $v0, .L80240188 +/* EB5280 80240150 00000000 */ nop +/* EB5284 80240154 8E0300A8 */ lw $v1, 0xa8($s0) +/* EB5288 80240158 8E020088 */ lw $v0, 0x88($s0) +/* EB528C 8024015C 00621821 */ addu $v1, $v1, $v0 +/* EB5290 80240160 04610004 */ bgez $v1, .L80240174 +/* EB5294 80240164 AE0300A8 */ sw $v1, 0xa8($s0) +/* EB5298 80240168 3C020002 */ lui $v0, 2 +/* EB529C 8024016C 08090061 */ j .L80240184 +/* EB52A0 80240170 00621021 */ addu $v0, $v1, $v0 +.L80240174: +/* EB52A4 80240174 3C040002 */ lui $a0, 2 +/* EB52A8 80240178 0083102A */ slt $v0, $a0, $v1 +/* EB52AC 8024017C 10400002 */ beqz $v0, .L80240188 +/* EB52B0 80240180 00641023 */ subu $v0, $v1, $a0 +.L80240184: +/* EB52B4 80240184 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240188: +/* EB52B8 80240188 8E020074 */ lw $v0, 0x74($s0) +/* EB52BC 8024018C 1440000E */ bnez $v0, .L802401C8 +/* EB52C0 80240190 00000000 */ nop +/* EB52C4 80240194 8E0300AC */ lw $v1, 0xac($s0) +/* EB52C8 80240198 8E02008C */ lw $v0, 0x8c($s0) +/* EB52CC 8024019C 00621821 */ addu $v1, $v1, $v0 +/* EB52D0 802401A0 04610004 */ bgez $v1, .L802401B4 +/* EB52D4 802401A4 AE0300AC */ sw $v1, 0xac($s0) +/* EB52D8 802401A8 3C020002 */ lui $v0, 2 +/* EB52DC 802401AC 08090071 */ j .L802401C4 +/* EB52E0 802401B0 00621021 */ addu $v0, $v1, $v0 +.L802401B4: +/* EB52E4 802401B4 3C040002 */ lui $a0, 2 +/* EB52E8 802401B8 0083102A */ slt $v0, $a0, $v1 +/* EB52EC 802401BC 10400002 */ beqz $v0, .L802401C8 +/* EB52F0 802401C0 00641023 */ subu $v0, $v1, $a0 +.L802401C4: +/* EB52F4 802401C4 AE0200AC */ sw $v0, 0xac($s0) +.L802401C8: +/* EB52F8 802401C8 8E020078 */ lw $v0, 0x78($s0) +/* EB52FC 802401CC 1440000E */ bnez $v0, .L80240208 +/* EB5300 802401D0 00000000 */ nop +/* EB5304 802401D4 8E0300B0 */ lw $v1, 0xb0($s0) +/* EB5308 802401D8 8E020090 */ lw $v0, 0x90($s0) +/* EB530C 802401DC 00621821 */ addu $v1, $v1, $v0 +/* EB5310 802401E0 04610004 */ bgez $v1, .L802401F4 +/* EB5314 802401E4 AE0300B0 */ sw $v1, 0xb0($s0) +/* EB5318 802401E8 3C020002 */ lui $v0, 2 +/* EB531C 802401EC 08090081 */ j .L80240204 +/* EB5320 802401F0 00621021 */ addu $v0, $v1, $v0 +.L802401F4: +/* EB5324 802401F4 3C040002 */ lui $a0, 2 +/* EB5328 802401F8 0083102A */ slt $v0, $a0, $v1 +/* EB532C 802401FC 10400002 */ beqz $v0, .L80240208 +/* EB5330 80240200 00641023 */ subu $v0, $v1, $a0 +.L80240204: +/* EB5334 80240204 AE0200B0 */ sw $v0, 0xb0($s0) +.L80240208: +/* EB5338 80240208 8E02007C */ lw $v0, 0x7c($s0) +/* EB533C 8024020C 1440000E */ bnez $v0, .L80240248 +/* EB5340 80240210 00000000 */ nop +/* EB5344 80240214 8E0300B4 */ lw $v1, 0xb4($s0) +/* EB5348 80240218 8E020094 */ lw $v0, 0x94($s0) +/* EB534C 8024021C 00621821 */ addu $v1, $v1, $v0 +/* EB5350 80240220 04610004 */ bgez $v1, .L80240234 +/* EB5354 80240224 AE0300B4 */ sw $v1, 0xb4($s0) +/* EB5358 80240228 3C020002 */ lui $v0, 2 +/* EB535C 8024022C 08090091 */ j .L80240244 +/* EB5360 80240230 00621021 */ addu $v0, $v1, $v0 +.L80240234: +/* EB5364 80240234 3C040002 */ lui $a0, 2 +/* EB5368 80240238 0083102A */ slt $v0, $a0, $v1 +/* EB536C 8024023C 10400002 */ beqz $v0, .L80240248 +/* EB5370 80240240 00641023 */ subu $v0, $v1, $a0 +.L80240244: +/* EB5374 80240244 AE0200B4 */ sw $v0, 0xb4($s0) +.L80240248: +/* EB5378 80240248 8E040084 */ lw $a0, 0x84($s0) +/* EB537C 8024024C 0C049819 */ jal func_80126064 +/* EB5380 80240250 8E0500A8 */ lw $a1, 0xa8($s0) +/* EB5384 80240254 8E040084 */ lw $a0, 0x84($s0) +/* EB5388 80240258 0C04981F */ jal func_8012607C +/* EB538C 8024025C 8E0500AC */ lw $a1, 0xac($s0) +/* EB5390 80240260 8E040084 */ lw $a0, 0x84($s0) +/* EB5394 80240264 0C049825 */ jal func_80126094 +/* EB5398 80240268 8E0500B0 */ lw $a1, 0xb0($s0) +/* EB539C 8024026C 8E040084 */ lw $a0, 0x84($s0) +/* EB53A0 80240270 0C04982B */ jal func_801260AC +/* EB53A4 80240274 8E0500B4 */ lw $a1, 0xb4($s0) +/* EB53A8 80240278 8E020070 */ lw $v0, 0x70($s0) +/* EB53AC 8024027C 8E030078 */ lw $v1, 0x78($s0) +/* EB53B0 80240280 8E040098 */ lw $a0, 0x98($s0) +/* EB53B4 80240284 24420001 */ addiu $v0, $v0, 1 +/* EB53B8 80240288 AE020070 */ sw $v0, 0x70($s0) +/* EB53BC 8024028C 8E020074 */ lw $v0, 0x74($s0) +/* EB53C0 80240290 24630001 */ addiu $v1, $v1, 1 +/* EB53C4 80240294 AE030078 */ sw $v1, 0x78($s0) +/* EB53C8 80240298 8E030070 */ lw $v1, 0x70($s0) +/* EB53CC 8024029C 24420001 */ addiu $v0, $v0, 1 +/* EB53D0 802402A0 AE020074 */ sw $v0, 0x74($s0) +/* EB53D4 802402A4 8E02007C */ lw $v0, 0x7c($s0) +/* EB53D8 802402A8 0064182A */ slt $v1, $v1, $a0 +/* EB53DC 802402AC 24420001 */ addiu $v0, $v0, 1 +/* EB53E0 802402B0 14600002 */ bnez $v1, .L802402BC +/* EB53E4 802402B4 AE02007C */ sw $v0, 0x7c($s0) +/* EB53E8 802402B8 AE000070 */ sw $zero, 0x70($s0) +.L802402BC: +/* EB53EC 802402BC 8E020074 */ lw $v0, 0x74($s0) +/* EB53F0 802402C0 8E03009C */ lw $v1, 0x9c($s0) +/* EB53F4 802402C4 0043102A */ slt $v0, $v0, $v1 +/* EB53F8 802402C8 50400001 */ beql $v0, $zero, .L802402D0 +/* EB53FC 802402CC AE000074 */ sw $zero, 0x74($s0) +.L802402D0: +/* EB5400 802402D0 8E020078 */ lw $v0, 0x78($s0) +/* EB5404 802402D4 8E0300A0 */ lw $v1, 0xa0($s0) +/* EB5408 802402D8 0043102A */ slt $v0, $v0, $v1 +/* EB540C 802402DC 50400001 */ beql $v0, $zero, .L802402E4 +/* EB5410 802402E0 AE000078 */ sw $zero, 0x78($s0) +.L802402E4: +/* EB5414 802402E4 8E02007C */ lw $v0, 0x7c($s0) +/* EB5418 802402E8 8E0300A4 */ lw $v1, 0xa4($s0) +/* EB541C 802402EC 0043102A */ slt $v0, $v0, $v1 +/* EB5420 802402F0 50400001 */ beql $v0, $zero, .L802402F8 +/* EB5424 802402F4 AE00007C */ sw $zero, 0x7c($s0) +.L802402F8: +/* EB5428 802402F8 8FBF0014 */ lw $ra, 0x14($sp) +/* EB542C 802402FC 8FB00010 */ lw $s0, 0x10($sp) +/* EB5430 80240300 0000102D */ daddu $v0, $zero, $zero +/* EB5434 80240304 03E00008 */ jr $ra +/* EB5438 80240308 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB5130/func_8024030C_EB543C.s b/asm/nonmatchings/code_EB5130/func_8024030C_EB543C.s new file mode 100644 index 0000000000..3a5e7dafca --- /dev/null +++ b/asm/nonmatchings/code_EB5130/func_8024030C_EB543C.s @@ -0,0 +1,17 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024030C_EB543C +/* EB543C 8024030C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB5440 80240310 AFBF0010 */ sw $ra, 0x10($sp) +/* EB5444 80240314 8C82000C */ lw $v0, 0xc($a0) +/* EB5448 80240318 3C068017 */ lui $a2, %hi(D_80169B12) +/* EB544C 8024031C 84C69B12 */ lh $a2, %lo(D_80169B12)($a2) +/* EB5450 80240320 0C0B551A */ jal func_802D5468 +/* EB5454 80240324 8C450000 */ lw $a1, ($v0) +/* EB5458 80240328 8FBF0010 */ lw $ra, 0x10($sp) +/* EB545C 8024032C 24020002 */ addiu $v0, $zero, 2 +/* EB5460 80240330 03E00008 */ jr $ra +/* EB5464 80240334 27BD0018 */ addiu $sp, $sp, 0x18 +/* EB5468 80240338 00000000 */ nop +/* EB546C 8024033C 00000000 */ nop diff --git a/asm/nonmatchings/code_EB5470/func_80240340_EB5470.s b/asm/nonmatchings/code_EB5470/func_80240340_EB5470.s new file mode 100644 index 0000000000..e61d007737 --- /dev/null +++ b/asm/nonmatchings/code_EB5470/func_80240340_EB5470.s @@ -0,0 +1,15 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240340_EB5470 +/* EB5470 80240340 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB5474 80240344 AFBF0010 */ sw $ra, 0x10($sp) +/* EB5478 80240348 8C82000C */ lw $v0, 0xc($a0) +/* EB547C 8024034C 3C068017 */ lui $a2, %hi(D_80169B12) +/* EB5480 80240350 84C69B12 */ lh $a2, %lo(D_80169B12)($a2) +/* EB5484 80240354 0C0B551A */ jal func_802D5468 +/* EB5488 80240358 8C450000 */ lw $a1, ($v0) +/* EB548C 8024035C 8FBF0010 */ lw $ra, 0x10($sp) +/* EB5490 80240360 24020002 */ addiu $v0, $zero, 2 +/* EB5494 80240364 03E00008 */ jr $ra +/* EB5498 80240368 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB5470/func_8024036C_EB549C.s b/asm/nonmatchings/code_EB5470/func_8024036C_EB549C.s new file mode 100644 index 0000000000..bab5464c5f --- /dev/null +++ b/asm/nonmatchings/code_EB5470/func_8024036C_EB549C.s @@ -0,0 +1,13 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024036C_EB549C +/* EB549C 8024036C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB54A0 80240370 0000202D */ daddu $a0, $zero, $zero +/* EB54A4 80240374 AFBF0010 */ sw $ra, 0x10($sp) +/* EB54A8 80240378 0C0166B2 */ jal func_80059AC8 +/* EB54AC 8024037C 24050001 */ addiu $a1, $zero, 1 +/* EB54B0 80240380 8FBF0010 */ lw $ra, 0x10($sp) +/* EB54B4 80240384 24020002 */ addiu $v0, $zero, 2 +/* EB54B8 80240388 03E00008 */ jr $ra +/* EB54BC 8024038C 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB7230/func_80240000_EB7230.s b/asm/nonmatchings/code_EB7230/func_80240000_EB7230.s new file mode 100644 index 0000000000..9c67687457 --- /dev/null +++ b/asm/nonmatchings/code_EB7230/func_80240000_EB7230.s @@ -0,0 +1,89 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EB7230 +/* EB7230 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB7234 80240004 AFB00010 */ sw $s0, 0x10($sp) +/* EB7238 80240008 0080802D */ daddu $s0, $a0, $zero +/* EB723C 8024000C AFBF0014 */ sw $ra, 0x14($sp) +/* EB7240 80240010 8E0300A8 */ lw $v1, 0xa8($s0) +/* EB7244 80240014 8E020088 */ lw $v0, 0x88($s0) +/* EB7248 80240018 00621821 */ addu $v1, $v1, $v0 +/* EB724C 8024001C 04610004 */ bgez $v1, .L80240030 +/* EB7250 80240020 AE0300A8 */ sw $v1, 0xa8($s0) +/* EB7254 80240024 3C020002 */ lui $v0, 2 +/* EB7258 80240028 08090010 */ j .L80240040 +/* EB725C 8024002C 00621021 */ addu $v0, $v1, $v0 +.L80240030: +/* EB7260 80240030 3C040002 */ lui $a0, 2 +/* EB7264 80240034 0083102A */ slt $v0, $a0, $v1 +/* EB7268 80240038 10400002 */ beqz $v0, .L80240044 +/* EB726C 8024003C 00641023 */ subu $v0, $v1, $a0 +.L80240040: +/* EB7270 80240040 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240044: +/* EB7274 80240044 8E0300AC */ lw $v1, 0xac($s0) +/* EB7278 80240048 8E02008C */ lw $v0, 0x8c($s0) +/* EB727C 8024004C 00621821 */ addu $v1, $v1, $v0 +/* EB7280 80240050 04610004 */ bgez $v1, .L80240064 +/* EB7284 80240054 AE0300AC */ sw $v1, 0xac($s0) +/* EB7288 80240058 3C020002 */ lui $v0, 2 +/* EB728C 8024005C 0809001D */ j .L80240074 +/* EB7290 80240060 00621021 */ addu $v0, $v1, $v0 +.L80240064: +/* EB7294 80240064 3C040002 */ lui $a0, 2 +/* EB7298 80240068 0083102A */ slt $v0, $a0, $v1 +/* EB729C 8024006C 10400002 */ beqz $v0, .L80240078 +/* EB72A0 80240070 00641023 */ subu $v0, $v1, $a0 +.L80240074: +/* EB72A4 80240074 AE0200AC */ sw $v0, 0xac($s0) +.L80240078: +/* EB72A8 80240078 8E0300B0 */ lw $v1, 0xb0($s0) +/* EB72AC 8024007C 8E020090 */ lw $v0, 0x90($s0) +/* EB72B0 80240080 00621821 */ addu $v1, $v1, $v0 +/* EB72B4 80240084 04610004 */ bgez $v1, .L80240098 +/* EB72B8 80240088 AE0300B0 */ sw $v1, 0xb0($s0) +/* EB72BC 8024008C 3C020002 */ lui $v0, 2 +/* EB72C0 80240090 0809002A */ j .L802400A8 +/* EB72C4 80240094 00621021 */ addu $v0, $v1, $v0 +.L80240098: +/* EB72C8 80240098 3C040002 */ lui $a0, 2 +/* EB72CC 8024009C 0083102A */ slt $v0, $a0, $v1 +/* EB72D0 802400A0 10400002 */ beqz $v0, .L802400AC +/* EB72D4 802400A4 00641023 */ subu $v0, $v1, $a0 +.L802400A8: +/* EB72D8 802400A8 AE0200B0 */ sw $v0, 0xb0($s0) +.L802400AC: +/* EB72DC 802400AC 8E0300B4 */ lw $v1, 0xb4($s0) +/* EB72E0 802400B0 8E020094 */ lw $v0, 0x94($s0) +/* EB72E4 802400B4 00621821 */ addu $v1, $v1, $v0 +/* EB72E8 802400B8 04610004 */ bgez $v1, .L802400CC +/* EB72EC 802400BC AE0300B4 */ sw $v1, 0xb4($s0) +/* EB72F0 802400C0 3C020002 */ lui $v0, 2 +/* EB72F4 802400C4 08090037 */ j .L802400DC +/* EB72F8 802400C8 00621021 */ addu $v0, $v1, $v0 +.L802400CC: +/* EB72FC 802400CC 3C040002 */ lui $a0, 2 +/* EB7300 802400D0 0083102A */ slt $v0, $a0, $v1 +/* EB7304 802400D4 10400002 */ beqz $v0, .L802400E0 +/* EB7308 802400D8 00641023 */ subu $v0, $v1, $a0 +.L802400DC: +/* EB730C 802400DC AE0200B4 */ sw $v0, 0xb4($s0) +.L802400E0: +/* EB7310 802400E0 8E040084 */ lw $a0, 0x84($s0) +/* EB7314 802400E4 0C049819 */ jal func_80126064 +/* EB7318 802400E8 8E0500A8 */ lw $a1, 0xa8($s0) +/* EB731C 802400EC 8E040084 */ lw $a0, 0x84($s0) +/* EB7320 802400F0 0C04981F */ jal func_8012607C +/* EB7324 802400F4 8E0500AC */ lw $a1, 0xac($s0) +/* EB7328 802400F8 8E040084 */ lw $a0, 0x84($s0) +/* EB732C 802400FC 0C049825 */ jal func_80126094 +/* EB7330 80240100 8E0500B0 */ lw $a1, 0xb0($s0) +/* EB7334 80240104 8E040084 */ lw $a0, 0x84($s0) +/* EB7338 80240108 0C04982B */ jal func_801260AC +/* EB733C 8024010C 8E0500B4 */ lw $a1, 0xb4($s0) +/* EB7340 80240110 8FBF0014 */ lw $ra, 0x14($sp) +/* EB7344 80240114 8FB00010 */ lw $s0, 0x10($sp) +/* EB7348 80240118 0000102D */ daddu $v0, $zero, $zero +/* EB734C 8024011C 03E00008 */ jr $ra +/* EB7350 80240120 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB7230/func_80240124_EB7354.s b/asm/nonmatchings/code_EB7230/func_80240124_EB7354.s new file mode 100644 index 0000000000..c43776a2b6 --- /dev/null +++ b/asm/nonmatchings/code_EB7230/func_80240124_EB7354.s @@ -0,0 +1,144 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240124_EB7354 +/* EB7354 80240124 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB7358 80240128 AFB00010 */ sw $s0, 0x10($sp) +/* EB735C 8024012C 0080802D */ daddu $s0, $a0, $zero +/* EB7360 80240130 10A00005 */ beqz $a1, .L80240148 +/* EB7364 80240134 AFBF0014 */ sw $ra, 0x14($sp) +/* EB7368 80240138 AE000070 */ sw $zero, 0x70($s0) +/* EB736C 8024013C AE000074 */ sw $zero, 0x74($s0) +/* EB7370 80240140 AE000078 */ sw $zero, 0x78($s0) +/* EB7374 80240144 AE00007C */ sw $zero, 0x7c($s0) +.L80240148: +/* EB7378 80240148 8E020070 */ lw $v0, 0x70($s0) +/* EB737C 8024014C 1440000E */ bnez $v0, .L80240188 +/* EB7380 80240150 00000000 */ nop +/* EB7384 80240154 8E0300A8 */ lw $v1, 0xa8($s0) +/* EB7388 80240158 8E020088 */ lw $v0, 0x88($s0) +/* EB738C 8024015C 00621821 */ addu $v1, $v1, $v0 +/* EB7390 80240160 04610004 */ bgez $v1, .L80240174 +/* EB7394 80240164 AE0300A8 */ sw $v1, 0xa8($s0) +/* EB7398 80240168 3C020002 */ lui $v0, 2 +/* EB739C 8024016C 08090061 */ j .L80240184 +/* EB73A0 80240170 00621021 */ addu $v0, $v1, $v0 +.L80240174: +/* EB73A4 80240174 3C040002 */ lui $a0, 2 +/* EB73A8 80240178 0083102A */ slt $v0, $a0, $v1 +/* EB73AC 8024017C 10400002 */ beqz $v0, .L80240188 +/* EB73B0 80240180 00641023 */ subu $v0, $v1, $a0 +.L80240184: +/* EB73B4 80240184 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240188: +/* EB73B8 80240188 8E020074 */ lw $v0, 0x74($s0) +/* EB73BC 8024018C 1440000E */ bnez $v0, .L802401C8 +/* EB73C0 80240190 00000000 */ nop +/* EB73C4 80240194 8E0300AC */ lw $v1, 0xac($s0) +/* EB73C8 80240198 8E02008C */ lw $v0, 0x8c($s0) +/* EB73CC 8024019C 00621821 */ addu $v1, $v1, $v0 +/* EB73D0 802401A0 04610004 */ bgez $v1, .L802401B4 +/* EB73D4 802401A4 AE0300AC */ sw $v1, 0xac($s0) +/* EB73D8 802401A8 3C020002 */ lui $v0, 2 +/* EB73DC 802401AC 08090071 */ j .L802401C4 +/* EB73E0 802401B0 00621021 */ addu $v0, $v1, $v0 +.L802401B4: +/* EB73E4 802401B4 3C040002 */ lui $a0, 2 +/* EB73E8 802401B8 0083102A */ slt $v0, $a0, $v1 +/* EB73EC 802401BC 10400002 */ beqz $v0, .L802401C8 +/* EB73F0 802401C0 00641023 */ subu $v0, $v1, $a0 +.L802401C4: +/* EB73F4 802401C4 AE0200AC */ sw $v0, 0xac($s0) +.L802401C8: +/* EB73F8 802401C8 8E020078 */ lw $v0, 0x78($s0) +/* EB73FC 802401CC 1440000E */ bnez $v0, .L80240208 +/* EB7400 802401D0 00000000 */ nop +/* EB7404 802401D4 8E0300B0 */ lw $v1, 0xb0($s0) +/* EB7408 802401D8 8E020090 */ lw $v0, 0x90($s0) +/* EB740C 802401DC 00621821 */ addu $v1, $v1, $v0 +/* EB7410 802401E0 04610004 */ bgez $v1, .L802401F4 +/* EB7414 802401E4 AE0300B0 */ sw $v1, 0xb0($s0) +/* EB7418 802401E8 3C020002 */ lui $v0, 2 +/* EB741C 802401EC 08090081 */ j .L80240204 +/* EB7420 802401F0 00621021 */ addu $v0, $v1, $v0 +.L802401F4: +/* EB7424 802401F4 3C040002 */ lui $a0, 2 +/* EB7428 802401F8 0083102A */ slt $v0, $a0, $v1 +/* EB742C 802401FC 10400002 */ beqz $v0, .L80240208 +/* EB7430 80240200 00641023 */ subu $v0, $v1, $a0 +.L80240204: +/* EB7434 80240204 AE0200B0 */ sw $v0, 0xb0($s0) +.L80240208: +/* EB7438 80240208 8E02007C */ lw $v0, 0x7c($s0) +/* EB743C 8024020C 1440000E */ bnez $v0, .L80240248 +/* EB7440 80240210 00000000 */ nop +/* EB7444 80240214 8E0300B4 */ lw $v1, 0xb4($s0) +/* EB7448 80240218 8E020094 */ lw $v0, 0x94($s0) +/* EB744C 8024021C 00621821 */ addu $v1, $v1, $v0 +/* EB7450 80240220 04610004 */ bgez $v1, .L80240234 +/* EB7454 80240224 AE0300B4 */ sw $v1, 0xb4($s0) +/* EB7458 80240228 3C020002 */ lui $v0, 2 +/* EB745C 8024022C 08090091 */ j .L80240244 +/* EB7460 80240230 00621021 */ addu $v0, $v1, $v0 +.L80240234: +/* EB7464 80240234 3C040002 */ lui $a0, 2 +/* EB7468 80240238 0083102A */ slt $v0, $a0, $v1 +/* EB746C 8024023C 10400002 */ beqz $v0, .L80240248 +/* EB7470 80240240 00641023 */ subu $v0, $v1, $a0 +.L80240244: +/* EB7474 80240244 AE0200B4 */ sw $v0, 0xb4($s0) +.L80240248: +/* EB7478 80240248 8E040084 */ lw $a0, 0x84($s0) +/* EB747C 8024024C 0C049819 */ jal func_80126064 +/* EB7480 80240250 8E0500A8 */ lw $a1, 0xa8($s0) +/* EB7484 80240254 8E040084 */ lw $a0, 0x84($s0) +/* EB7488 80240258 0C04981F */ jal func_8012607C +/* EB748C 8024025C 8E0500AC */ lw $a1, 0xac($s0) +/* EB7490 80240260 8E040084 */ lw $a0, 0x84($s0) +/* EB7494 80240264 0C049825 */ jal func_80126094 +/* EB7498 80240268 8E0500B0 */ lw $a1, 0xb0($s0) +/* EB749C 8024026C 8E040084 */ lw $a0, 0x84($s0) +/* EB74A0 80240270 0C04982B */ jal func_801260AC +/* EB74A4 80240274 8E0500B4 */ lw $a1, 0xb4($s0) +/* EB74A8 80240278 8E020070 */ lw $v0, 0x70($s0) +/* EB74AC 8024027C 8E030078 */ lw $v1, 0x78($s0) +/* EB74B0 80240280 8E040098 */ lw $a0, 0x98($s0) +/* EB74B4 80240284 24420001 */ addiu $v0, $v0, 1 +/* EB74B8 80240288 AE020070 */ sw $v0, 0x70($s0) +/* EB74BC 8024028C 8E020074 */ lw $v0, 0x74($s0) +/* EB74C0 80240290 24630001 */ addiu $v1, $v1, 1 +/* EB74C4 80240294 AE030078 */ sw $v1, 0x78($s0) +/* EB74C8 80240298 8E030070 */ lw $v1, 0x70($s0) +/* EB74CC 8024029C 24420001 */ addiu $v0, $v0, 1 +/* EB74D0 802402A0 AE020074 */ sw $v0, 0x74($s0) +/* EB74D4 802402A4 8E02007C */ lw $v0, 0x7c($s0) +/* EB74D8 802402A8 0064182A */ slt $v1, $v1, $a0 +/* EB74DC 802402AC 24420001 */ addiu $v0, $v0, 1 +/* EB74E0 802402B0 14600002 */ bnez $v1, .L802402BC +/* EB74E4 802402B4 AE02007C */ sw $v0, 0x7c($s0) +/* EB74E8 802402B8 AE000070 */ sw $zero, 0x70($s0) +.L802402BC: +/* EB74EC 802402BC 8E020074 */ lw $v0, 0x74($s0) +/* EB74F0 802402C0 8E03009C */ lw $v1, 0x9c($s0) +/* EB74F4 802402C4 0043102A */ slt $v0, $v0, $v1 +/* EB74F8 802402C8 50400001 */ beql $v0, $zero, .L802402D0 +/* EB74FC 802402CC AE000074 */ sw $zero, 0x74($s0) +.L802402D0: +/* EB7500 802402D0 8E020078 */ lw $v0, 0x78($s0) +/* EB7504 802402D4 8E0300A0 */ lw $v1, 0xa0($s0) +/* EB7508 802402D8 0043102A */ slt $v0, $v0, $v1 +/* EB750C 802402DC 50400001 */ beql $v0, $zero, .L802402E4 +/* EB7510 802402E0 AE000078 */ sw $zero, 0x78($s0) +.L802402E4: +/* EB7514 802402E4 8E02007C */ lw $v0, 0x7c($s0) +/* EB7518 802402E8 8E0300A4 */ lw $v1, 0xa4($s0) +/* EB751C 802402EC 0043102A */ slt $v0, $v0, $v1 +/* EB7520 802402F0 50400001 */ beql $v0, $zero, .L802402F8 +/* EB7524 802402F4 AE00007C */ sw $zero, 0x7c($s0) +.L802402F8: +/* EB7528 802402F8 8FBF0014 */ lw $ra, 0x14($sp) +/* EB752C 802402FC 8FB00010 */ lw $s0, 0x10($sp) +/* EB7530 80240300 0000102D */ daddu $v0, $zero, $zero +/* EB7534 80240304 03E00008 */ jr $ra +/* EB7538 80240308 27BD0018 */ addiu $sp, $sp, 0x18 +/* EB753C 8024030C 00000000 */ nop diff --git a/asm/nonmatchings/code_EB7540/func_80240310_EB7540.s b/asm/nonmatchings/code_EB7540/func_80240310_EB7540.s new file mode 100644 index 0000000000..eb2e819d94 --- /dev/null +++ b/asm/nonmatchings/code_EB7540/func_80240310_EB7540.s @@ -0,0 +1,54 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240310_EB7540 +/* EB7540 80240310 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* EB7544 80240314 AFB10014 */ sw $s1, 0x14($sp) +/* EB7548 80240318 0080882D */ daddu $s1, $a0, $zero +/* EB754C 8024031C AFBF001C */ sw $ra, 0x1c($sp) +/* EB7550 80240320 AFB20018 */ sw $s2, 0x18($sp) +/* EB7554 80240324 AFB00010 */ sw $s0, 0x10($sp) +/* EB7558 80240328 F7B80030 */ sdc1 $f24, 0x30($sp) +/* EB755C 8024032C F7B60028 */ sdc1 $f22, 0x28($sp) +/* EB7560 80240330 F7B40020 */ sdc1 $f20, 0x20($sp) +/* EB7564 80240334 8E30000C */ lw $s0, 0xc($s1) +/* EB7568 80240338 8E050000 */ lw $a1, ($s0) +/* EB756C 8024033C 0C0B53A3 */ jal func_802D4E8C +/* EB7570 80240340 26100004 */ addiu $s0, $s0, 4 +/* EB7574 80240344 8E050000 */ lw $a1, ($s0) +/* EB7578 80240348 26100004 */ addiu $s0, $s0, 4 +/* EB757C 8024034C 0220202D */ daddu $a0, $s1, $zero +/* EB7580 80240350 0C0B53A3 */ jal func_802D4E8C +/* EB7584 80240354 0040902D */ daddu $s2, $v0, $zero +/* EB7588 80240358 8E050000 */ lw $a1, ($s0) +/* EB758C 8024035C 26100004 */ addiu $s0, $s0, 4 +/* EB7590 80240360 4482C000 */ mtc1 $v0, $f24 +/* EB7594 80240364 00000000 */ nop +/* EB7598 80240368 4680C620 */ cvt.s.w $f24, $f24 +/* EB759C 8024036C 0C0B53A3 */ jal func_802D4E8C +/* EB75A0 80240370 0220202D */ daddu $a0, $s1, $zero +/* EB75A4 80240374 8E050000 */ lw $a1, ($s0) +/* EB75A8 80240378 4482B000 */ mtc1 $v0, $f22 +/* EB75AC 8024037C 00000000 */ nop +/* EB75B0 80240380 4680B5A0 */ cvt.s.w $f22, $f22 +/* EB75B4 80240384 0C0B53A3 */ jal func_802D4E8C +/* EB75B8 80240388 0220202D */ daddu $a0, $s1, $zero +/* EB75BC 8024038C 4482A000 */ mtc1 $v0, $f20 +/* EB75C0 80240390 00000000 */ nop +/* EB75C4 80240394 4680A520 */ cvt.s.w $f20, $f20 +/* EB75C8 80240398 0C0462EC */ jal func_80118BB0 +/* EB75CC 8024039C 0240202D */ daddu $a0, $s2, $zero +/* EB75D0 802403A0 0040182D */ daddu $v1, $v0, $zero +/* EB75D4 802403A4 E4780048 */ swc1 $f24, 0x48($v1) +/* EB75D8 802403A8 E476004C */ swc1 $f22, 0x4c($v1) +/* EB75DC 802403AC E4740050 */ swc1 $f20, 0x50($v1) +/* EB75E0 802403B0 8FBF001C */ lw $ra, 0x1c($sp) +/* EB75E4 802403B4 8FB20018 */ lw $s2, 0x18($sp) +/* EB75E8 802403B8 8FB10014 */ lw $s1, 0x14($sp) +/* EB75EC 802403BC 8FB00010 */ lw $s0, 0x10($sp) +/* EB75F0 802403C0 D7B80030 */ ldc1 $f24, 0x30($sp) +/* EB75F4 802403C4 D7B60028 */ ldc1 $f22, 0x28($sp) +/* EB75F8 802403C8 D7B40020 */ ldc1 $f20, 0x20($sp) +/* EB75FC 802403CC 24020002 */ addiu $v0, $zero, 2 +/* EB7600 802403D0 03E00008 */ jr $ra +/* EB7604 802403D4 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_EB7540/func_802403D8_EB7608.s b/asm/nonmatchings/code_EB7540/func_802403D8_EB7608.s new file mode 100644 index 0000000000..df9c3ea302 --- /dev/null +++ b/asm/nonmatchings/code_EB7540/func_802403D8_EB7608.s @@ -0,0 +1,44 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802403D8_EB7608 +/* EB7608 802403D8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EB760C 802403DC AFB20018 */ sw $s2, 0x18($sp) +/* EB7610 802403E0 0080902D */ daddu $s2, $a0, $zero +/* EB7614 802403E4 AFBF001C */ sw $ra, 0x1c($sp) +/* EB7618 802403E8 AFB10014 */ sw $s1, 0x14($sp) +/* EB761C 802403EC AFB00010 */ sw $s0, 0x10($sp) +/* EB7620 802403F0 8E50000C */ lw $s0, 0xc($s2) +/* EB7624 802403F4 8E050000 */ lw $a1, ($s0) +/* EB7628 802403F8 0C0B53A3 */ jal func_802D4E8C +/* EB762C 802403FC 26100004 */ addiu $s0, $s0, 4 +/* EB7630 80240400 0C0462EC */ jal func_80118BB0 +/* EB7634 80240404 0040202D */ daddu $a0, $v0, $zero +/* EB7638 80240408 8E050000 */ lw $a1, ($s0) +/* EB763C 8024040C 26100004 */ addiu $s0, $s0, 4 +/* EB7640 80240410 0040882D */ daddu $s1, $v0, $zero +/* EB7644 80240414 C6200048 */ lwc1 $f0, 0x48($s1) +/* EB7648 80240418 4600008D */ trunc.w.s $f2, $f0 +/* EB764C 8024041C 44061000 */ mfc1 $a2, $f2 +/* EB7650 80240420 0C0B551A */ jal func_802D5468 +/* EB7654 80240424 0240202D */ daddu $a0, $s2, $zero +/* EB7658 80240428 8E050000 */ lw $a1, ($s0) +/* EB765C 8024042C 26100004 */ addiu $s0, $s0, 4 +/* EB7660 80240430 C620004C */ lwc1 $f0, 0x4c($s1) +/* EB7664 80240434 4600008D */ trunc.w.s $f2, $f0 +/* EB7668 80240438 44061000 */ mfc1 $a2, $f2 +/* EB766C 8024043C 0C0B551A */ jal func_802D5468 +/* EB7670 80240440 0240202D */ daddu $a0, $s2, $zero +/* EB7674 80240444 C6200050 */ lwc1 $f0, 0x50($s1) +/* EB7678 80240448 8E050000 */ lw $a1, ($s0) +/* EB767C 8024044C 4600008D */ trunc.w.s $f2, $f0 +/* EB7680 80240450 44061000 */ mfc1 $a2, $f2 +/* EB7684 80240454 0C0B551A */ jal func_802D5468 +/* EB7688 80240458 0240202D */ daddu $a0, $s2, $zero +/* EB768C 8024045C 8FBF001C */ lw $ra, 0x1c($sp) +/* EB7690 80240460 8FB20018 */ lw $s2, 0x18($sp) +/* EB7694 80240464 8FB10014 */ lw $s1, 0x14($sp) +/* EB7698 80240468 8FB00010 */ lw $s0, 0x10($sp) +/* EB769C 8024046C 24020002 */ addiu $v0, $zero, 2 +/* EB76A0 80240470 03E00008 */ jr $ra +/* EB76A4 80240474 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EB7540/func_80240478_EB76A8.s b/asm/nonmatchings/code_EB7540/func_80240478_EB76A8.s new file mode 100644 index 0000000000..6f8846da97 --- /dev/null +++ b/asm/nonmatchings/code_EB7540/func_80240478_EB76A8.s @@ -0,0 +1,39 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240478_EB76A8 +/* EB76A8 80240478 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EB76AC 8024047C AFB10014 */ sw $s1, 0x14($sp) +/* EB76B0 80240480 0080882D */ daddu $s1, $a0, $zero +/* EB76B4 80240484 AFBF0018 */ sw $ra, 0x18($sp) +/* EB76B8 80240488 AFB00010 */ sw $s0, 0x10($sp) +/* EB76BC 8024048C F7B60028 */ sdc1 $f22, 0x28($sp) +/* EB76C0 80240490 F7B40020 */ sdc1 $f20, 0x20($sp) +/* EB76C4 80240494 8E30000C */ lw $s0, 0xc($s1) +/* EB76C8 80240498 8E050000 */ lw $a1, ($s0) +/* EB76CC 8024049C 0C0B55FF */ jal func_802D57FC +/* EB76D0 802404A0 26100004 */ addiu $s0, $s0, 4 +/* EB76D4 802404A4 8E050000 */ lw $a1, ($s0) +/* EB76D8 802404A8 26100004 */ addiu $s0, $s0, 4 +/* EB76DC 802404AC 0220202D */ daddu $a0, $s1, $zero +/* EB76E0 802404B0 0C0B55FF */ jal func_802D57FC +/* EB76E4 802404B4 46000586 */ mov.s $f22, $f0 +/* EB76E8 802404B8 0220202D */ daddu $a0, $s1, $zero +/* EB76EC 802404BC 8E050000 */ lw $a1, ($s0) +/* EB76F0 802404C0 0C0B55FF */ jal func_802D57FC +/* EB76F4 802404C4 46000506 */ mov.s $f20, $f0 +/* EB76F8 802404C8 8E2300BC */ lw $v1, 0xbc($s1) +/* EB76FC 802404CC 8C62000C */ lw $v0, 0xc($v1) +/* EB7700 802404D0 E4560038 */ swc1 $f22, 0x38($v0) +/* EB7704 802404D4 8C62000C */ lw $v0, 0xc($v1) +/* EB7708 802404D8 E454003C */ swc1 $f20, 0x3c($v0) +/* EB770C 802404DC 8C62000C */ lw $v0, 0xc($v1) +/* EB7710 802404E0 E4400040 */ swc1 $f0, 0x40($v0) +/* EB7714 802404E4 8FBF0018 */ lw $ra, 0x18($sp) +/* EB7718 802404E8 8FB10014 */ lw $s1, 0x14($sp) +/* EB771C 802404EC 8FB00010 */ lw $s0, 0x10($sp) +/* EB7720 802404F0 D7B60028 */ ldc1 $f22, 0x28($sp) +/* EB7724 802404F4 D7B40020 */ ldc1 $f20, 0x20($sp) +/* EB7728 802404F8 24020002 */ addiu $v0, $zero, 2 +/* EB772C 802404FC 03E00008 */ jr $ra +/* EB7730 80240500 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_EB7540/func_80240504_EB7734.s b/asm/nonmatchings/code_EB7540/func_80240504_EB7734.s new file mode 100644 index 0000000000..5d059bde3a --- /dev/null +++ b/asm/nonmatchings/code_EB7540/func_80240504_EB7734.s @@ -0,0 +1,11 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240504_EB7734 +/* EB7734 80240504 3C03800C */ lui $v1, %hi(D_800B8D80) +/* EB7738 80240508 24638D80 */ addiu $v1, $v1, %lo(D_800B8D80) +/* EB773C 8024050C 94620002 */ lhu $v0, 2($v1) +/* EB7740 80240510 3042FFFE */ andi $v0, $v0, 0xfffe +/* EB7744 80240514 A4620002 */ sh $v0, 2($v1) +/* EB7748 80240518 03E00008 */ jr $ra +/* EB774C 8024051C 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EB7540/func_80240520_EB7750.s b/asm/nonmatchings/code_EB7540/func_80240520_EB7750.s new file mode 100644 index 0000000000..47f65441c5 --- /dev/null +++ b/asm/nonmatchings/code_EB7540/func_80240520_EB7750.s @@ -0,0 +1,69 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240520_EB7750 +/* EB7750 80240520 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EB7754 80240524 AFB20018 */ sw $s2, 0x18($sp) +/* EB7758 80240528 0080902D */ daddu $s2, $a0, $zero +/* EB775C 8024052C AFBF001C */ sw $ra, 0x1c($sp) +/* EB7760 80240530 AFB10014 */ sw $s1, 0x14($sp) +/* EB7764 80240534 AFB00010 */ sw $s0, 0x10($sp) +/* EB7768 80240538 8E4400AC */ lw $a0, 0xac($s2) +/* EB776C 8024053C 0C0462EC */ jal func_80118BB0 +/* EB7770 80240540 00A0802D */ daddu $s0, $a1, $zero +/* EB7774 80240544 12000004 */ beqz $s0, .L80240558 +/* EB7778 80240548 0040882D */ daddu $s1, $v0, $zero +/* EB777C 8024054C 2402003C */ addiu $v0, $zero, 0x3c +/* EB7780 80240550 AE400070 */ sw $zero, 0x70($s2) +/* EB7784 80240554 AE420074 */ sw $v0, 0x74($s2) +.L80240558: +/* EB7788 80240558 C6400074 */ lwc1 $f0, 0x74($s2) +/* EB778C 8024055C 46800020 */ cvt.s.w $f0, $f0 +/* EB7790 80240560 3C014270 */ lui $at, 0x4270 +/* EB7794 80240564 44811000 */ mtc1 $at, $f2 +/* EB7798 80240568 3C014049 */ lui $at, 0x4049 +/* EB779C 8024056C 34210FD8 */ ori $at, $at, 0xfd8 +/* EB77A0 80240570 44816000 */ mtc1 $at, $f12 +/* EB77A4 80240574 46020003 */ div.s $f0, $f0, $f2 +/* EB77A8 80240578 E6200054 */ swc1 $f0, 0x54($s1) +/* EB77AC 8024057C C6400074 */ lwc1 $f0, 0x74($s2) +/* EB77B0 80240580 46800020 */ cvt.s.w $f0, $f0 +/* EB77B4 80240584 46020003 */ div.s $f0, $f0, $f2 +/* EB77B8 80240588 460C0302 */ mul.s $f12, $f0, $f12 +/* EB77BC 8024058C 00000000 */ nop +/* EB77C0 80240590 E6200058 */ swc1 $f0, 0x58($s1) +/* EB77C4 80240594 C6400074 */ lwc1 $f0, 0x74($s2) +/* EB77C8 80240598 46800020 */ cvt.s.w $f0, $f0 +/* EB77CC 8024059C 46020003 */ div.s $f0, $f0, $f2 +/* EB77D0 802405A0 0C00AD30 */ jal func_8002B4C0 +/* EB77D4 802405A4 E620005C */ swc1 $f0, 0x5c($s1) +/* EB77D8 802405A8 3C013F80 */ lui $at, 0x3f80 +/* EB77DC 802405AC 44811000 */ mtc1 $at, $f2 +/* EB77E0 802405B0 00000000 */ nop +/* EB77E4 802405B4 46001081 */ sub.s $f2, $f2, $f0 +/* EB77E8 802405B8 3C018024 */ lui $at, %hi(D_80241C10) +/* EB77EC 802405BC D4201C10 */ ldc1 $f0, %lo(D_80241C10)($at) +/* EB77F0 802405C0 460010A1 */ cvt.d.s $f2, $f2 +/* EB77F4 802405C4 46201082 */ mul.d $f2, $f2, $f0 +/* EB77F8 802405C8 00000000 */ nop +/* EB77FC 802405CC 3C013FE0 */ lui $at, 0x3fe0 +/* EB7800 802405D0 44810800 */ mtc1 $at, $f1 +/* EB7804 802405D4 44800000 */ mtc1 $zero, $f0 +/* EB7808 802405D8 00000000 */ nop +/* EB780C 802405DC 46201082 */ mul.d $f2, $f2, $f0 +/* EB7810 802405E0 00000000 */ nop +/* EB7814 802405E4 462010A0 */ cvt.s.d $f2, $f2 +/* EB7818 802405E8 E6220064 */ swc1 $f2, 0x64($s1) +/* EB781C 802405EC 8E430074 */ lw $v1, 0x74($s2) +/* EB7820 802405F0 2463FFFF */ addiu $v1, $v1, -1 +/* EB7824 802405F4 00031027 */ nor $v0, $zero, $v1 +/* EB7828 802405F8 2C420001 */ sltiu $v0, $v0, 1 +/* EB782C 802405FC AE430074 */ sw $v1, 0x74($s2) +/* EB7830 80240600 8FBF001C */ lw $ra, 0x1c($sp) +/* EB7834 80240604 8FB20018 */ lw $s2, 0x18($sp) +/* EB7838 80240608 8FB10014 */ lw $s1, 0x14($sp) +/* EB783C 8024060C 8FB00010 */ lw $s0, 0x10($sp) +/* EB7840 80240610 00021040 */ sll $v0, $v0, 1 +/* EB7844 80240614 03E00008 */ jr $ra +/* EB7848 80240618 27BD0020 */ addiu $sp, $sp, 0x20 +/* EB784C 8024061C 00000000 */ nop diff --git a/asm/nonmatchings/code_EB8E50/func_80240000_EB8E50.s b/asm/nonmatchings/code_EB8E50/func_80240000_EB8E50.s new file mode 100644 index 0000000000..5b521e69ea --- /dev/null +++ b/asm/nonmatchings/code_EB8E50/func_80240000_EB8E50.s @@ -0,0 +1,20 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EB8E50 +/* EB8E50 80240000 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EB8E54 80240004 0000202D */ daddu $a0, $zero, $zero +/* EB8E58 80240008 0080282D */ daddu $a1, $a0, $zero +/* EB8E5C 8024000C 0080302D */ daddu $a2, $a0, $zero +/* EB8E60 80240010 0080382D */ daddu $a3, $a0, $zero +/* EB8E64 80240014 AFBF0018 */ sw $ra, 0x18($sp) +/* EB8E68 80240018 AFA00010 */ sw $zero, 0x10($sp) +/* EB8E6C 8024001C 0C01DEF4 */ jal func_80077BD0 +/* EB8E70 80240020 AFA00014 */ sw $zero, 0x14($sp) +/* EB8E74 80240024 8FBF0018 */ lw $ra, 0x18($sp) +/* EB8E78 80240028 24020002 */ addiu $v0, $zero, 2 +/* EB8E7C 8024002C 03E00008 */ jr $ra +/* EB8E80 80240030 27BD0020 */ addiu $sp, $sp, 0x20 +/* EB8E84 80240034 00000000 */ nop +/* EB8E88 80240038 00000000 */ nop +/* EB8E8C 8024003C 00000000 */ nop diff --git a/asm/nonmatchings/code_EB8E90/func_80240040_EB8E90.s b/asm/nonmatchings/code_EB8E90/func_80240040_EB8E90.s new file mode 100644 index 0000000000..089d752c24 --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_80240040_EB8E90.s @@ -0,0 +1,95 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240040_EB8E90 +/* EB8E90 80240040 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EB8E94 80240044 AFB50024 */ sw $s5, 0x24($sp) +/* EB8E98 80240048 0080A82D */ daddu $s5, $a0, $zero +/* EB8E9C 8024004C AFBF002C */ sw $ra, 0x2c($sp) +/* EB8EA0 80240050 AFB60028 */ sw $s6, 0x28($sp) +/* EB8EA4 80240054 AFB40020 */ sw $s4, 0x20($sp) +/* EB8EA8 80240058 AFB3001C */ sw $s3, 0x1c($sp) +/* EB8EAC 8024005C AFB20018 */ sw $s2, 0x18($sp) +/* EB8EB0 80240060 AFB10014 */ sw $s1, 0x14($sp) +/* EB8EB4 80240064 AFB00010 */ sw $s0, 0x10($sp) +/* EB8EB8 80240068 F7B80040 */ sdc1 $f24, 0x40($sp) +/* EB8EBC 8024006C F7B60038 */ sdc1 $f22, 0x38($sp) +/* EB8EC0 80240070 F7B40030 */ sdc1 $f20, 0x30($sp) +/* EB8EC4 80240074 8EB30148 */ lw $s3, 0x148($s5) +/* EB8EC8 80240078 86640008 */ lh $a0, 8($s3) +/* EB8ECC 8024007C 0C00F92F */ jal func_8003E4BC +/* EB8ED0 80240080 00A0B02D */ daddu $s6, $a1, $zero +/* EB8ED4 80240084 0040A02D */ daddu $s4, $v0, $zero +/* EB8ED8 80240088 AEA00074 */ sw $zero, 0x74($s5) +/* EB8EDC 8024008C C6980038 */ lwc1 $f24, 0x38($s4) +/* EB8EE0 80240090 C6960040 */ lwc1 $f22, 0x40($s4) +/* EB8EE4 80240094 0000902D */ daddu $s2, $zero, $zero +/* EB8EE8 80240098 AEA00078 */ sw $zero, 0x78($s5) +/* EB8EEC 8024009C 8E6300D0 */ lw $v1, 0xd0($s3) +/* EB8EF0 802400A0 8C620000 */ lw $v0, ($v1) +/* EB8EF4 802400A4 3C0146FF */ lui $at, 0x46ff +/* EB8EF8 802400A8 3421FE00 */ ori $at, $at, 0xfe00 +/* EB8EFC 802400AC 4481A000 */ mtc1 $at, $f20 +/* EB8F00 802400B0 18400018 */ blez $v0, .L80240114 +/* EB8F04 802400B4 0240802D */ daddu $s0, $s2, $zero +/* EB8F08 802400B8 0240882D */ daddu $s1, $s2, $zero +.L802400BC: +/* EB8F0C 802400BC 02231021 */ addu $v0, $s1, $v1 +/* EB8F10 802400C0 4600C306 */ mov.s $f12, $f24 +/* EB8F14 802400C4 C4440004 */ lwc1 $f4, 4($v0) +/* EB8F18 802400C8 46802120 */ cvt.s.w $f4, $f4 +/* EB8F1C 802400CC 44062000 */ mfc1 $a2, $f4 +/* EB8F20 802400D0 C444000C */ lwc1 $f4, 0xc($v0) +/* EB8F24 802400D4 46802120 */ cvt.s.w $f4, $f4 +/* EB8F28 802400D8 44072000 */ mfc1 $a3, $f4 +/* EB8F2C 802400DC 0C00AC71 */ jal func_8002B1C4 +/* EB8F30 802400E0 4600B386 */ mov.s $f14, $f22 +/* EB8F34 802400E4 4614003C */ c.lt.s $f0, $f20 +/* EB8F38 802400E8 00000000 */ nop +/* EB8F3C 802400EC 45000003 */ bc1f .L802400FC +/* EB8F40 802400F0 2631000C */ addiu $s1, $s1, 0xc +/* EB8F44 802400F4 46000506 */ mov.s $f20, $f0 +/* EB8F48 802400F8 AEB20078 */ sw $s2, 0x78($s5) +.L802400FC: +/* EB8F4C 802400FC 8E6300D0 */ lw $v1, 0xd0($s3) +/* EB8F50 80240100 26100001 */ addiu $s0, $s0, 1 +/* EB8F54 80240104 8C620000 */ lw $v0, ($v1) +/* EB8F58 80240108 0202102A */ slt $v0, $s0, $v0 +/* EB8F5C 8024010C 1440FFEB */ bnez $v0, .L802400BC +/* EB8F60 80240110 26520001 */ addiu $s2, $s2, 1 +.L80240114: +/* EB8F64 80240114 8E6200CC */ lw $v0, 0xcc($s3) +/* EB8F68 80240118 8C420004 */ lw $v0, 4($v0) +/* EB8F6C 8024011C AE820028 */ sw $v0, 0x28($s4) +/* EB8F70 80240120 8E6200D0 */ lw $v0, 0xd0($s3) +/* EB8F74 80240124 8C42007C */ lw $v0, 0x7c($v0) +/* EB8F78 80240128 04410004 */ bgez $v0, .L8024013C +/* EB8F7C 8024012C 00000000 */ nop +/* EB8F80 80240130 C6C00000 */ lwc1 $f0, ($s6) +/* EB8F84 80240134 08090057 */ j .L8024015C +/* EB8F88 80240138 E6800018 */ swc1 $f0, 0x18($s4) +.L8024013C: +/* EB8F8C 8024013C 3C018025 */ lui $at, %hi(D_802491F0) +/* EB8F90 80240140 D42291F0 */ ldc1 $f2, %lo(D_802491F0)($at) +/* EB8F94 80240144 44820000 */ mtc1 $v0, $f0 +/* EB8F98 80240148 00000000 */ nop +/* EB8F9C 8024014C 46800021 */ cvt.d.w $f0, $f0 +/* EB8FA0 80240150 46220003 */ div.d $f0, $f0, $f2 +/* EB8FA4 80240154 46200020 */ cvt.s.d $f0, $f0 +/* EB8FA8 80240158 E6800018 */ swc1 $f0, 0x18($s4) +.L8024015C: +/* EB8FAC 8024015C 24020001 */ addiu $v0, $zero, 1 +/* EB8FB0 80240160 AEA20070 */ sw $v0, 0x70($s5) +/* EB8FB4 80240164 8FBF002C */ lw $ra, 0x2c($sp) +/* EB8FB8 80240168 8FB60028 */ lw $s6, 0x28($sp) +/* EB8FBC 8024016C 8FB50024 */ lw $s5, 0x24($sp) +/* EB8FC0 80240170 8FB40020 */ lw $s4, 0x20($sp) +/* EB8FC4 80240174 8FB3001C */ lw $s3, 0x1c($sp) +/* EB8FC8 80240178 8FB20018 */ lw $s2, 0x18($sp) +/* EB8FCC 8024017C 8FB10014 */ lw $s1, 0x14($sp) +/* EB8FD0 80240180 8FB00010 */ lw $s0, 0x10($sp) +/* EB8FD4 80240184 D7B80040 */ ldc1 $f24, 0x40($sp) +/* EB8FD8 80240188 D7B60038 */ ldc1 $f22, 0x38($sp) +/* EB8FDC 8024018C D7B40030 */ ldc1 $f20, 0x30($sp) +/* EB8FE0 80240190 03E00008 */ jr $ra +/* EB8FE4 80240194 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EB8E90/func_80240198_EB8FE8.s b/asm/nonmatchings/code_EB8E90/func_80240198_EB8FE8.s new file mode 100644 index 0000000000..a000f487af --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_80240198_EB8FE8.s @@ -0,0 +1,183 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240198_EB8FE8 +/* EB8FE8 80240198 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* EB8FEC 8024019C AFB20038 */ sw $s2, 0x38($sp) +/* EB8FF0 802401A0 0080902D */ daddu $s2, $a0, $zero +/* EB8FF4 802401A4 AFBF0044 */ sw $ra, 0x44($sp) +/* EB8FF8 802401A8 AFB40040 */ sw $s4, 0x40($sp) +/* EB8FFC 802401AC AFB3003C */ sw $s3, 0x3c($sp) +/* EB9000 802401B0 AFB10034 */ sw $s1, 0x34($sp) +/* EB9004 802401B4 AFB00030 */ sw $s0, 0x30($sp) +/* EB9008 802401B8 F7B60050 */ sdc1 $f22, 0x50($sp) +/* EB900C 802401BC F7B40048 */ sdc1 $f20, 0x48($sp) +/* EB9010 802401C0 8E510148 */ lw $s1, 0x148($s2) +/* EB9014 802401C4 00A0982D */ daddu $s3, $a1, $zero +/* EB9018 802401C8 86240008 */ lh $a0, 8($s1) +/* EB901C 802401CC 0C00F92F */ jal func_8003E4BC +/* EB9020 802401D0 00C0A02D */ daddu $s4, $a2, $zero +/* EB9024 802401D4 8E630014 */ lw $v1, 0x14($s3) +/* EB9028 802401D8 04600030 */ bltz $v1, .L8024029C +/* EB902C 802401DC 0040802D */ daddu $s0, $v0, $zero +/* EB9030 802401E0 8E420074 */ lw $v0, 0x74($s2) +/* EB9034 802401E4 1C40002C */ bgtz $v0, .L80240298 +/* EB9038 802401E8 2442FFFF */ addiu $v0, $v0, -1 +/* EB903C 802401EC 0280202D */ daddu $a0, $s4, $zero +/* EB9040 802401F0 AE430074 */ sw $v1, 0x74($s2) +/* EB9044 802401F4 AFA00010 */ sw $zero, 0x10($sp) +/* EB9048 802401F8 8E66000C */ lw $a2, 0xc($s3) +/* EB904C 802401FC 8E670010 */ lw $a3, 0x10($s3) +/* EB9050 80240200 0C013469 */ jal func_8004D1A4 +/* EB9054 80240204 0220282D */ daddu $a1, $s1, $zero +/* EB9058 80240208 10400021 */ beqz $v0, .L80240290 +/* EB905C 8024020C 0000202D */ daddu $a0, $zero, $zero +/* EB9060 80240210 0200282D */ daddu $a1, $s0, $zero +/* EB9064 80240214 0000302D */ daddu $a2, $zero, $zero +/* EB9068 80240218 860300A8 */ lh $v1, 0xa8($s0) +/* EB906C 8024021C 3C013F80 */ lui $at, 0x3f80 +/* EB9070 80240220 44810000 */ mtc1 $at, $f0 +/* EB9074 80240224 3C014000 */ lui $at, 0x4000 +/* EB9078 80240228 44811000 */ mtc1 $at, $f2 +/* EB907C 8024022C 3C01C1A0 */ lui $at, 0xc1a0 +/* EB9080 80240230 44812000 */ mtc1 $at, $f4 +/* EB9084 80240234 2402000F */ addiu $v0, $zero, 0xf +/* EB9088 80240238 AFA2001C */ sw $v0, 0x1c($sp) +/* EB908C 8024023C 44833000 */ mtc1 $v1, $f6 +/* EB9090 80240240 00000000 */ nop +/* EB9094 80240244 468031A0 */ cvt.s.w $f6, $f6 +/* EB9098 80240248 44073000 */ mfc1 $a3, $f6 +/* EB909C 8024024C 27A20028 */ addiu $v0, $sp, 0x28 +/* EB90A0 80240250 AFA20020 */ sw $v0, 0x20($sp) +/* EB90A4 80240254 E7A00010 */ swc1 $f0, 0x10($sp) +/* EB90A8 80240258 E7A20014 */ swc1 $f2, 0x14($sp) +/* EB90AC 8024025C 0C01D444 */ jal func_80075110 +/* EB90B0 80240260 E7A40018 */ swc1 $f4, 0x18($sp) +/* EB90B4 80240264 0200202D */ daddu $a0, $s0, $zero +/* EB90B8 80240268 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EB90BC 8024026C 0C013600 */ jal func_8004D800 +/* EB90C0 80240270 3C060020 */ lui $a2, 0x20 +/* EB90C4 80240274 8E220018 */ lw $v0, 0x18($s1) +/* EB90C8 80240278 9442002A */ lhu $v0, 0x2a($v0) +/* EB90CC 8024027C 30420001 */ andi $v0, $v0, 1 +/* EB90D0 80240280 14400064 */ bnez $v0, .L80240414 +/* EB90D4 80240284 2402000A */ addiu $v0, $zero, 0xa +/* EB90D8 80240288 08090105 */ j .L80240414 +/* EB90DC 8024028C 2402000C */ addiu $v0, $zero, 0xc +.L80240290: +/* EB90E0 80240290 8E420074 */ lw $v0, 0x74($s2) +/* EB90E4 80240294 2442FFFF */ addiu $v0, $v0, -1 +.L80240298: +/* EB90E8 80240298 AE420074 */ sw $v0, 0x74($s2) +.L8024029C: +/* EB90EC 8024029C 8602008C */ lh $v0, 0x8c($s0) +/* EB90F0 802402A0 1440005D */ bnez $v0, .L80240418 +/* EB90F4 802402A4 00000000 */ nop +/* EB90F8 802402A8 C6000018 */ lwc1 $f0, 0x18($s0) +/* EB90FC 802402AC 3C014010 */ lui $at, 0x4010 +/* EB9100 802402B0 44811800 */ mtc1 $at, $f3 +/* EB9104 802402B4 44801000 */ mtc1 $zero, $f2 +/* EB9108 802402B8 46000021 */ cvt.d.s $f0, $f0 +/* EB910C 802402BC 4622003C */ c.lt.d $f0, $f2 +/* EB9110 802402C0 00000000 */ nop +/* EB9114 802402C4 45000003 */ bc1f .L802402D4 +/* EB9118 802402C8 0200202D */ daddu $a0, $s0, $zero +/* EB911C 802402CC 080900B6 */ j .L802402D8 +/* EB9120 802402D0 0000282D */ daddu $a1, $zero, $zero +.L802402D4: +/* EB9124 802402D4 24050001 */ addiu $a1, $zero, 1 +.L802402D8: +/* EB9128 802402D8 0C010420 */ jal func_80041080 +/* EB912C 802402DC 00000000 */ nop +/* EB9130 802402E0 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EB9134 802402E4 8E430078 */ lw $v1, 0x78($s2) +/* EB9138 802402E8 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EB913C 802402EC 00031040 */ sll $v0, $v1, 1 +/* EB9140 802402F0 00431021 */ addu $v0, $v0, $v1 +/* EB9144 802402F4 8E2300D0 */ lw $v1, 0xd0($s1) +/* EB9148 802402F8 00021080 */ sll $v0, $v0, 2 +/* EB914C 802402FC 00431021 */ addu $v0, $v0, $v1 +/* EB9150 80240300 C4560004 */ lwc1 $f22, 4($v0) +/* EB9154 80240304 4680B5A0 */ cvt.s.w $f22, $f22 +/* EB9158 80240308 C454000C */ lwc1 $f20, 0xc($v0) +/* EB915C 8024030C 4680A520 */ cvt.s.w $f20, $f20 +/* EB9160 80240310 4406B000 */ mfc1 $a2, $f22 +/* EB9164 80240314 4407A000 */ mfc1 $a3, $f20 +/* EB9168 80240318 0C00ABDC */ jal fio_validate_header_checksums +/* EB916C 8024031C 00000000 */ nop +/* EB9170 80240320 8E050018 */ lw $a1, 0x18($s0) +/* EB9174 80240324 44060000 */ mfc1 $a2, $f0 +/* EB9178 80240328 0200202D */ daddu $a0, $s0, $zero +/* EB917C 8024032C 0C00F909 */ jal func_8003E424 +/* EB9180 80240330 AE06000C */ sw $a2, 0xc($s0) +/* EB9184 80240334 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EB9188 80240338 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EB918C 8024033C 4406B000 */ mfc1 $a2, $f22 +/* EB9190 80240340 4407A000 */ mfc1 $a3, $f20 +/* EB9194 80240344 0C00AC71 */ jal func_8002B1C4 +/* EB9198 80240348 00000000 */ nop +/* EB919C 8024034C C6020018 */ lwc1 $f2, 0x18($s0) +/* EB91A0 80240350 4602003E */ c.le.s $f0, $f2 +/* EB91A4 80240354 00000000 */ nop +/* EB91A8 80240358 4500002F */ bc1f .L80240418 +/* EB91AC 8024035C 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EB91B0 80240360 24020002 */ addiu $v0, $zero, 2 +/* EB91B4 80240364 0C00AB3B */ jal func_8002ACEC +/* EB91B8 80240368 AE420070 */ sw $v0, 0x70($s2) +/* EB91BC 8024036C 3C035555 */ lui $v1, 0x5555 +/* EB91C0 80240370 34635556 */ ori $v1, $v1, 0x5556 +/* EB91C4 80240374 00430018 */ mult $v0, $v1 +/* EB91C8 80240378 000227C3 */ sra $a0, $v0, 0x1f +/* EB91CC 8024037C 00004010 */ mfhi $t0 +/* EB91D0 80240380 01042023 */ subu $a0, $t0, $a0 +/* EB91D4 80240384 00041840 */ sll $v1, $a0, 1 +/* EB91D8 80240388 00641821 */ addu $v1, $v1, $a0 +/* EB91DC 8024038C 00431023 */ subu $v0, $v0, $v1 +/* EB91E0 80240390 24430002 */ addiu $v1, $v0, 2 +/* EB91E4 80240394 AE430074 */ sw $v1, 0x74($s2) +/* EB91E8 80240398 8E62002C */ lw $v0, 0x2c($s3) +/* EB91EC 8024039C 18400009 */ blez $v0, .L802403C4 +/* EB91F0 802403A0 24020004 */ addiu $v0, $zero, 4 +/* EB91F4 802403A4 8E620004 */ lw $v0, 4($s3) +/* EB91F8 802403A8 18400006 */ blez $v0, .L802403C4 +/* EB91FC 802403AC 24020004 */ addiu $v0, $zero, 4 +/* EB9200 802403B0 8E620008 */ lw $v0, 8($s3) +/* EB9204 802403B4 18400003 */ blez $v0, .L802403C4 +/* EB9208 802403B8 24020004 */ addiu $v0, $zero, 4 +/* EB920C 802403BC 14600002 */ bnez $v1, .L802403C8 +/* EB9210 802403C0 00000000 */ nop +.L802403C4: +/* EB9214 802403C4 AE420070 */ sw $v0, 0x70($s2) +.L802403C8: +/* EB9218 802403C8 0C00AB3B */ jal func_8002ACEC +/* EB921C 802403CC 24042710 */ addiu $a0, $zero, 0x2710 +/* EB9220 802403D0 3C0351EB */ lui $v1, 0x51eb +/* EB9224 802403D4 3463851F */ ori $v1, $v1, 0x851f +/* EB9228 802403D8 00430018 */ mult $v0, $v1 +/* EB922C 802403DC 00021FC3 */ sra $v1, $v0, 0x1f +/* EB9230 802403E0 00004010 */ mfhi $t0 +/* EB9234 802403E4 00082143 */ sra $a0, $t0, 5 +/* EB9238 802403E8 00832023 */ subu $a0, $a0, $v1 +/* EB923C 802403EC 00041840 */ sll $v1, $a0, 1 +/* EB9240 802403F0 00641821 */ addu $v1, $v1, $a0 +/* EB9244 802403F4 000318C0 */ sll $v1, $v1, 3 +/* EB9248 802403F8 00641821 */ addu $v1, $v1, $a0 +/* EB924C 802403FC 00031880 */ sll $v1, $v1, 2 +/* EB9250 80240400 8E640004 */ lw $a0, 4($s3) +/* EB9254 80240404 00431023 */ subu $v0, $v0, $v1 +/* EB9258 80240408 0044102A */ slt $v0, $v0, $a0 +/* EB925C 8024040C 10400002 */ beqz $v0, .L80240418 +/* EB9260 80240410 24020004 */ addiu $v0, $zero, 4 +.L80240414: +/* EB9264 80240414 AE420070 */ sw $v0, 0x70($s2) +.L80240418: +/* EB9268 80240418 8FBF0044 */ lw $ra, 0x44($sp) +/* EB926C 8024041C 8FB40040 */ lw $s4, 0x40($sp) +/* EB9270 80240420 8FB3003C */ lw $s3, 0x3c($sp) +/* EB9274 80240424 8FB20038 */ lw $s2, 0x38($sp) +/* EB9278 80240428 8FB10034 */ lw $s1, 0x34($sp) +/* EB927C 8024042C 8FB00030 */ lw $s0, 0x30($sp) +/* EB9280 80240430 D7B60050 */ ldc1 $f22, 0x50($sp) +/* EB9284 80240434 D7B40048 */ ldc1 $f20, 0x48($sp) +/* EB9288 80240438 03E00008 */ jr $ra +/* EB928C 8024043C 27BD0058 */ addiu $sp, $sp, 0x58 diff --git a/asm/nonmatchings/code_EB8E90/func_80240440_EB9290.s b/asm/nonmatchings/code_EB8E90/func_80240440_EB9290.s new file mode 100644 index 0000000000..1f5db35ee2 --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_80240440_EB9290.s @@ -0,0 +1,52 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240440_EB9290 +/* EB9290 80240440 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EB9294 80240444 AFB3001C */ sw $s3, 0x1c($sp) +/* EB9298 80240448 0080982D */ daddu $s3, $a0, $zero +/* EB929C 8024044C AFBF0020 */ sw $ra, 0x20($sp) +/* EB92A0 80240450 AFB20018 */ sw $s2, 0x18($sp) +/* EB92A4 80240454 AFB10014 */ sw $s1, 0x14($sp) +/* EB92A8 80240458 AFB00010 */ sw $s0, 0x10($sp) +/* EB92AC 8024045C 8E720148 */ lw $s2, 0x148($s3) +/* EB92B0 80240460 86440008 */ lh $a0, 8($s2) +/* EB92B4 80240464 0C00F92F */ jal func_8003E4BC +/* EB92B8 80240468 00A0882D */ daddu $s1, $a1, $zero +/* EB92BC 8024046C 8E240008 */ lw $a0, 8($s1) +/* EB92C0 80240470 0040802D */ daddu $s0, $v0, $zero +/* EB92C4 80240474 00041FC2 */ srl $v1, $a0, 0x1f +/* EB92C8 80240478 00832021 */ addu $a0, $a0, $v1 +/* EB92CC 8024047C 00042043 */ sra $a0, $a0, 1 +/* EB92D0 80240480 0C00AB3B */ jal func_8002ACEC +/* EB92D4 80240484 24840001 */ addiu $a0, $a0, 1 +/* EB92D8 80240488 8E230008 */ lw $v1, 8($s1) +/* EB92DC 8024048C 240400B4 */ addiu $a0, $zero, 0xb4 +/* EB92E0 80240490 00032FC2 */ srl $a1, $v1, 0x1f +/* EB92E4 80240494 00651821 */ addu $v1, $v1, $a1 +/* EB92E8 80240498 00031843 */ sra $v1, $v1, 1 +/* EB92EC 8024049C 00621821 */ addu $v1, $v1, $v0 +/* EB92F0 802404A0 0C00AB3B */ jal func_8002ACEC +/* EB92F4 802404A4 A603008E */ sh $v1, 0x8e($s0) +/* EB92F8 802404A8 C60C000C */ lwc1 $f12, 0xc($s0) +/* EB92FC 802404AC 44820000 */ mtc1 $v0, $f0 +/* EB9300 802404B0 00000000 */ nop +/* EB9304 802404B4 46800020 */ cvt.s.w $f0, $f0 +/* EB9308 802404B8 46006300 */ add.s $f12, $f12, $f0 +/* EB930C 802404BC 3C0142B4 */ lui $at, 0x42b4 +/* EB9310 802404C0 44810000 */ mtc1 $at, $f0 +/* EB9314 802404C4 0C00AB85 */ jal func_8002AE14 +/* EB9318 802404C8 46006301 */ sub.s $f12, $f12, $f0 +/* EB931C 802404CC E600000C */ swc1 $f0, 0xc($s0) +/* EB9320 802404D0 8E4200CC */ lw $v0, 0xcc($s2) +/* EB9324 802404D4 8C420000 */ lw $v0, ($v0) +/* EB9328 802404D8 AE020028 */ sw $v0, 0x28($s0) +/* EB932C 802404DC 24020003 */ addiu $v0, $zero, 3 +/* EB9330 802404E0 AE620070 */ sw $v0, 0x70($s3) +/* EB9334 802404E4 8FBF0020 */ lw $ra, 0x20($sp) +/* EB9338 802404E8 8FB3001C */ lw $s3, 0x1c($sp) +/* EB933C 802404EC 8FB20018 */ lw $s2, 0x18($sp) +/* EB9340 802404F0 8FB10014 */ lw $s1, 0x14($sp) +/* EB9344 802404F4 8FB00010 */ lw $s0, 0x10($sp) +/* EB9348 802404F8 03E00008 */ jr $ra +/* EB934C 802404FC 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EB8E90/func_80240500_EB9350.s b/asm/nonmatchings/code_EB8E90/func_80240500_EB9350.s new file mode 100644 index 0000000000..7008719bb0 --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_80240500_EB9350.s @@ -0,0 +1,120 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240500_EB9350 +/* EB9350 80240500 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EB9354 80240504 AFB40040 */ sw $s4, 0x40($sp) +/* EB9358 80240508 0080A02D */ daddu $s4, $a0, $zero +/* EB935C 8024050C AFBF0044 */ sw $ra, 0x44($sp) +/* EB9360 80240510 AFB3003C */ sw $s3, 0x3c($sp) +/* EB9364 80240514 AFB20038 */ sw $s2, 0x38($sp) +/* EB9368 80240518 AFB10034 */ sw $s1, 0x34($sp) +/* EB936C 8024051C AFB00030 */ sw $s0, 0x30($sp) +/* EB9370 80240520 8E910148 */ lw $s1, 0x148($s4) +/* EB9374 80240524 00A0902D */ daddu $s2, $a1, $zero +/* EB9378 80240528 86240008 */ lh $a0, 8($s1) +/* EB937C 8024052C 0C00F92F */ jal func_8003E4BC +/* EB9380 80240530 00C0982D */ daddu $s3, $a2, $zero +/* EB9384 80240534 8E430014 */ lw $v1, 0x14($s2) +/* EB9388 80240538 04600031 */ bltz $v1, .L80240600 +/* EB938C 8024053C 0040802D */ daddu $s0, $v0, $zero +/* EB9390 80240540 0260202D */ daddu $a0, $s3, $zero +/* EB9394 80240544 AFA00010 */ sw $zero, 0x10($sp) +/* EB9398 80240548 8E460024 */ lw $a2, 0x24($s2) +/* EB939C 8024054C 8E470028 */ lw $a3, 0x28($s2) +/* EB93A0 80240550 0C013469 */ jal func_8004D1A4 +/* EB93A4 80240554 0220282D */ daddu $a1, $s1, $zero +/* EB93A8 80240558 10400029 */ beqz $v0, .L80240600 +/* EB93AC 8024055C 0000202D */ daddu $a0, $zero, $zero +/* EB93B0 80240560 0200282D */ daddu $a1, $s0, $zero +/* EB93B4 80240564 0000302D */ daddu $a2, $zero, $zero +/* EB93B8 80240568 860300A8 */ lh $v1, 0xa8($s0) +/* EB93BC 8024056C 3C013F80 */ lui $at, 0x3f80 +/* EB93C0 80240570 44810000 */ mtc1 $at, $f0 +/* EB93C4 80240574 3C014000 */ lui $at, 0x4000 +/* EB93C8 80240578 44811000 */ mtc1 $at, $f2 +/* EB93CC 8024057C 3C01C1A0 */ lui $at, 0xc1a0 +/* EB93D0 80240580 44812000 */ mtc1 $at, $f4 +/* EB93D4 80240584 2402000F */ addiu $v0, $zero, 0xf +/* EB93D8 80240588 AFA2001C */ sw $v0, 0x1c($sp) +/* EB93DC 8024058C 44833000 */ mtc1 $v1, $f6 +/* EB93E0 80240590 00000000 */ nop +/* EB93E4 80240594 468031A0 */ cvt.s.w $f6, $f6 +/* EB93E8 80240598 44073000 */ mfc1 $a3, $f6 +/* EB93EC 8024059C 27A20028 */ addiu $v0, $sp, 0x28 +/* EB93F0 802405A0 AFA20020 */ sw $v0, 0x20($sp) +/* EB93F4 802405A4 E7A00010 */ swc1 $f0, 0x10($sp) +/* EB93F8 802405A8 E7A20014 */ swc1 $f2, 0x14($sp) +/* EB93FC 802405AC 0C01D444 */ jal func_80075110 +/* EB9400 802405B0 E7A40018 */ swc1 $f4, 0x18($sp) +/* EB9404 802405B4 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EB9408 802405B8 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EB940C 802405BC C60C0038 */ lwc1 $f12, 0x38($s0) +/* EB9410 802405C0 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EB9414 802405C4 8C460028 */ lw $a2, 0x28($v0) +/* EB9418 802405C8 0C00ABDC */ jal fio_validate_header_checksums +/* EB941C 802405CC 8C470030 */ lw $a3, 0x30($v0) +/* EB9420 802405D0 0200202D */ daddu $a0, $s0, $zero +/* EB9424 802405D4 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EB9428 802405D8 3C060020 */ lui $a2, 0x20 +/* EB942C 802405DC 0C013600 */ jal func_8004D800 +/* EB9430 802405E0 E480000C */ swc1 $f0, 0xc($a0) +/* EB9434 802405E4 8E220018 */ lw $v0, 0x18($s1) +/* EB9438 802405E8 9442002A */ lhu $v0, 0x2a($v0) +/* EB943C 802405EC 30420001 */ andi $v0, $v0, 1 +/* EB9440 802405F0 14400029 */ bnez $v0, .L80240698 +/* EB9444 802405F4 2402000A */ addiu $v0, $zero, 0xa +/* EB9448 802405F8 080901A6 */ j .L80240698 +/* EB944C 802405FC 2402000C */ addiu $v0, $zero, 0xc +.L80240600: +/* EB9450 80240600 8602008C */ lh $v0, 0x8c($s0) +/* EB9454 80240604 14400025 */ bnez $v0, .L8024069C +/* EB9458 80240608 00000000 */ nop +/* EB945C 8024060C 9602008E */ lhu $v0, 0x8e($s0) +/* EB9460 80240610 2442FFFF */ addiu $v0, $v0, -1 +/* EB9464 80240614 A602008E */ sh $v0, 0x8e($s0) +/* EB9468 80240618 00021400 */ sll $v0, $v0, 0x10 +/* EB946C 8024061C 1440001F */ bnez $v0, .L8024069C +/* EB9470 80240620 00000000 */ nop +/* EB9474 80240624 8E820074 */ lw $v0, 0x74($s4) +/* EB9478 80240628 2442FFFF */ addiu $v0, $v0, -1 +/* EB947C 8024062C 10400019 */ beqz $v0, .L80240694 +/* EB9480 80240630 AE820074 */ sw $v0, 0x74($s4) +/* EB9484 80240634 8E220018 */ lw $v0, 0x18($s1) +/* EB9488 80240638 9442002A */ lhu $v0, 0x2a($v0) +/* EB948C 8024063C 30420010 */ andi $v0, $v0, 0x10 +/* EB9490 80240640 14400007 */ bnez $v0, .L80240660 +/* EB9494 80240644 00000000 */ nop +/* EB9498 80240648 C600000C */ lwc1 $f0, 0xc($s0) +/* EB949C 8024064C 3C014334 */ lui $at, 0x4334 +/* EB94A0 80240650 44816000 */ mtc1 $at, $f12 +/* EB94A4 80240654 0C00AB85 */ jal func_8002AE14 +/* EB94A8 80240658 460C0300 */ add.s $f12, $f0, $f12 +/* EB94AC 8024065C E600000C */ swc1 $f0, 0xc($s0) +.L80240660: +/* EB94B0 80240660 8E440008 */ lw $a0, 8($s2) +/* EB94B4 80240664 000417C2 */ srl $v0, $a0, 0x1f +/* EB94B8 80240668 00822021 */ addu $a0, $a0, $v0 +/* EB94BC 8024066C 00042043 */ sra $a0, $a0, 1 +/* EB94C0 80240670 0C00AB3B */ jal func_8002ACEC +/* EB94C4 80240674 24840001 */ addiu $a0, $a0, 1 +/* EB94C8 80240678 8E430008 */ lw $v1, 8($s2) +/* EB94CC 8024067C 000327C2 */ srl $a0, $v1, 0x1f +/* EB94D0 80240680 00641821 */ addu $v1, $v1, $a0 +/* EB94D4 80240684 00031843 */ sra $v1, $v1, 1 +/* EB94D8 80240688 00621821 */ addu $v1, $v1, $v0 +/* EB94DC 8024068C 080901A7 */ j .L8024069C +/* EB94E0 80240690 A603008E */ sh $v1, 0x8e($s0) +.L80240694: +/* EB94E4 80240694 24020004 */ addiu $v0, $zero, 4 +.L80240698: +/* EB94E8 80240698 AE820070 */ sw $v0, 0x70($s4) +.L8024069C: +/* EB94EC 8024069C 8FBF0044 */ lw $ra, 0x44($sp) +/* EB94F0 802406A0 8FB40040 */ lw $s4, 0x40($sp) +/* EB94F4 802406A4 8FB3003C */ lw $s3, 0x3c($sp) +/* EB94F8 802406A8 8FB20038 */ lw $s2, 0x38($sp) +/* EB94FC 802406AC 8FB10034 */ lw $s1, 0x34($sp) +/* EB9500 802406B0 8FB00030 */ lw $s0, 0x30($sp) +/* EB9504 802406B4 03E00008 */ jr $ra +/* EB9508 802406B8 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EB8E90/func_802406BC_EB950C.s b/asm/nonmatchings/code_EB8E90/func_802406BC_EB950C.s new file mode 100644 index 0000000000..71e752e427 --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_802406BC_EB950C.s @@ -0,0 +1,52 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802406BC_EB950C +/* EB950C 802406BC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EB9510 802406C0 AFB10014 */ sw $s1, 0x14($sp) +/* EB9514 802406C4 0080882D */ daddu $s1, $a0, $zero +/* EB9518 802406C8 AFBF001C */ sw $ra, 0x1c($sp) +/* EB951C 802406CC AFB20018 */ sw $s2, 0x18($sp) +/* EB9520 802406D0 AFB00010 */ sw $s0, 0x10($sp) +/* EB9524 802406D4 8E300148 */ lw $s0, 0x148($s1) +/* EB9528 802406D8 86040008 */ lh $a0, 8($s0) +/* EB952C 802406DC 0C00F92F */ jal func_8003E4BC +/* EB9530 802406E0 00A0902D */ daddu $s2, $a1, $zero +/* EB9534 802406E4 8E230078 */ lw $v1, 0x78($s1) +/* EB9538 802406E8 24630001 */ addiu $v1, $v1, 1 +/* EB953C 802406EC AE230078 */ sw $v1, 0x78($s1) +/* EB9540 802406F0 8E0400D0 */ lw $a0, 0xd0($s0) +/* EB9544 802406F4 8C840000 */ lw $a0, ($a0) +/* EB9548 802406F8 0064182A */ slt $v1, $v1, $a0 +/* EB954C 802406FC 14600002 */ bnez $v1, .L80240708 +/* EB9550 80240700 0040282D */ daddu $a1, $v0, $zero +/* EB9554 80240704 AE200078 */ sw $zero, 0x78($s1) +.L80240708: +/* EB9558 80240708 8E0200CC */ lw $v0, 0xcc($s0) +/* EB955C 8024070C 8C420004 */ lw $v0, 4($v0) +/* EB9560 80240710 ACA20028 */ sw $v0, 0x28($a1) +/* EB9564 80240714 8E0200D0 */ lw $v0, 0xd0($s0) +/* EB9568 80240718 8C42007C */ lw $v0, 0x7c($v0) +/* EB956C 8024071C 04410004 */ bgez $v0, .L80240730 +/* EB9570 80240720 00000000 */ nop +/* EB9574 80240724 C6400000 */ lwc1 $f0, ($s2) +/* EB9578 80240728 080901D4 */ j .L80240750 +/* EB957C 8024072C E4A00018 */ swc1 $f0, 0x18($a1) +.L80240730: +/* EB9580 80240730 3C018025 */ lui $at, %hi(D_802491F8) +/* EB9584 80240734 D42291F8 */ ldc1 $f2, %lo(D_802491F8)($at) +/* EB9588 80240738 44820000 */ mtc1 $v0, $f0 +/* EB958C 8024073C 00000000 */ nop +/* EB9590 80240740 46800021 */ cvt.d.w $f0, $f0 +/* EB9594 80240744 46220003 */ div.d $f0, $f0, $f2 +/* EB9598 80240748 46200020 */ cvt.s.d $f0, $f0 +/* EB959C 8024074C E4A00018 */ swc1 $f0, 0x18($a1) +.L80240750: +/* EB95A0 80240750 24020001 */ addiu $v0, $zero, 1 +/* EB95A4 80240754 AE220070 */ sw $v0, 0x70($s1) +/* EB95A8 80240758 8FBF001C */ lw $ra, 0x1c($sp) +/* EB95AC 8024075C 8FB20018 */ lw $s2, 0x18($sp) +/* EB95B0 80240760 8FB10014 */ lw $s1, 0x14($sp) +/* EB95B4 80240764 8FB00010 */ lw $s0, 0x10($sp) +/* EB95B8 80240768 03E00008 */ jr $ra +/* EB95BC 8024076C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EB8E90/func_80240770_EB95C0.s b/asm/nonmatchings/code_EB8E90/func_80240770_EB95C0.s new file mode 100644 index 0000000000..cb575e94ca --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_80240770_EB95C0.s @@ -0,0 +1,33 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240770_EB95C0 +/* EB95C0 80240770 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EB95C4 80240774 AFB10014 */ sw $s1, 0x14($sp) +/* EB95C8 80240778 0080882D */ daddu $s1, $a0, $zero +/* EB95CC 8024077C AFBF0018 */ sw $ra, 0x18($sp) +/* EB95D0 80240780 AFB00010 */ sw $s0, 0x10($sp) +/* EB95D4 80240784 8E300148 */ lw $s0, 0x148($s1) +/* EB95D8 80240788 0C00F92F */ jal func_8003E4BC +/* EB95DC 8024078C 86040008 */ lh $a0, 8($s0) +/* EB95E0 80240790 8E0300CC */ lw $v1, 0xcc($s0) +/* EB95E4 80240794 3C014120 */ lui $at, 0x4120 +/* EB95E8 80240798 44812000 */ mtc1 $at, $f4 +/* EB95EC 8024079C 3C014000 */ lui $at, 0x4000 +/* EB95F0 802407A0 44810000 */ mtc1 $at, $f0 +/* EB95F4 802407A4 C442003C */ lwc1 $f2, 0x3c($v0) +/* EB95F8 802407A8 8C640010 */ lw $a0, 0x10($v1) +/* EB95FC 802407AC 8C430000 */ lw $v1, ($v0) +/* EB9600 802407B0 E444001C */ swc1 $f4, 0x1c($v0) +/* EB9604 802407B4 E4400014 */ swc1 $f0, 0x14($v0) +/* EB9608 802407B8 E4420064 */ swc1 $f2, 0x64($v0) +/* EB960C 802407BC 34630800 */ ori $v1, $v1, 0x800 +/* EB9610 802407C0 AC430000 */ sw $v1, ($v0) +/* EB9614 802407C4 AC440028 */ sw $a0, 0x28($v0) +/* EB9618 802407C8 2402000B */ addiu $v0, $zero, 0xb +/* EB961C 802407CC AE220070 */ sw $v0, 0x70($s1) +/* EB9620 802407D0 8FBF0018 */ lw $ra, 0x18($sp) +/* EB9624 802407D4 8FB10014 */ lw $s1, 0x14($sp) +/* EB9628 802407D8 8FB00010 */ lw $s0, 0x10($sp) +/* EB962C 802407DC 03E00008 */ jr $ra +/* EB9630 802407E0 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EB8E90/func_802407E4_EB9634.s b/asm/nonmatchings/code_EB8E90/func_802407E4_EB9634.s new file mode 100644 index 0000000000..88ccb736f7 --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_802407E4_EB9634.s @@ -0,0 +1,35 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802407E4_EB9634 +/* EB9634 802407E4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB9638 802407E8 AFB00010 */ sw $s0, 0x10($sp) +/* EB963C 802407EC 0080802D */ daddu $s0, $a0, $zero +/* EB9640 802407F0 AFBF0014 */ sw $ra, 0x14($sp) +/* EB9644 802407F4 8E020148 */ lw $v0, 0x148($s0) +/* EB9648 802407F8 0C00F92F */ jal func_8003E4BC +/* EB964C 802407FC 84440008 */ lh $a0, 8($v0) +/* EB9650 80240800 0040202D */ daddu $a0, $v0, $zero +/* EB9654 80240804 C482003C */ lwc1 $f2, 0x3c($a0) +/* EB9658 80240808 C480001C */ lwc1 $f0, 0x1c($a0) +/* EB965C 8024080C 46001080 */ add.s $f2, $f2, $f0 +/* EB9660 80240810 C4840014 */ lwc1 $f4, 0x14($a0) +/* EB9664 80240814 46040001 */ sub.s $f0, $f0, $f4 +/* EB9668 80240818 C4840064 */ lwc1 $f4, 0x64($a0) +/* EB966C 8024081C 4602203C */ c.lt.s $f4, $f2 +/* EB9670 80240820 E482003C */ swc1 $f2, 0x3c($a0) +/* EB9674 80240824 45010009 */ bc1t .L8024084C +/* EB9678 80240828 E480001C */ swc1 $f0, 0x1c($a0) +/* EB967C 8024082C 8C820000 */ lw $v0, ($a0) +/* EB9680 80240830 2403F7FF */ addiu $v1, $zero, -0x801 +/* EB9684 80240834 E484003C */ swc1 $f4, 0x3c($a0) +/* EB9688 80240838 AC80001C */ sw $zero, 0x1c($a0) +/* EB968C 8024083C 00431024 */ and $v0, $v0, $v1 +/* EB9690 80240840 AC820000 */ sw $v0, ($a0) +/* EB9694 80240844 2402000C */ addiu $v0, $zero, 0xc +/* EB9698 80240848 AE020070 */ sw $v0, 0x70($s0) +.L8024084C: +/* EB969C 8024084C 8FBF0014 */ lw $ra, 0x14($sp) +/* EB96A0 80240850 8FB00010 */ lw $s0, 0x10($sp) +/* EB96A4 80240854 03E00008 */ jr $ra +/* EB96A8 80240858 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB8E90/func_8024085C_EB96AC.s b/asm/nonmatchings/code_EB8E90/func_8024085C_EB96AC.s new file mode 100644 index 0000000000..cdfcb2605f --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_8024085C_EB96AC.s @@ -0,0 +1,82 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024085C_EB96AC +/* EB96AC 8024085C 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EB96B0 80240860 AFB3001C */ sw $s3, 0x1c($sp) +/* EB96B4 80240864 0080982D */ daddu $s3, $a0, $zero +/* EB96B8 80240868 AFBF0020 */ sw $ra, 0x20($sp) +/* EB96BC 8024086C AFB20018 */ sw $s2, 0x18($sp) +/* EB96C0 80240870 AFB10014 */ sw $s1, 0x14($sp) +/* EB96C4 80240874 AFB00010 */ sw $s0, 0x10($sp) +/* EB96C8 80240878 F7B40028 */ sdc1 $f20, 0x28($sp) +/* EB96CC 8024087C 8E710148 */ lw $s1, 0x148($s3) +/* EB96D0 80240880 86240008 */ lh $a0, 8($s1) +/* EB96D4 80240884 0C00F92F */ jal func_8003E4BC +/* EB96D8 80240888 00A0802D */ daddu $s0, $a1, $zero +/* EB96DC 8024088C 8E040020 */ lw $a0, 0x20($s0) +/* EB96E0 80240890 0040902D */ daddu $s2, $v0, $zero +/* EB96E4 80240894 00041FC2 */ srl $v1, $a0, 0x1f +/* EB96E8 80240898 00832021 */ addu $a0, $a0, $v1 +/* EB96EC 8024089C 00042043 */ sra $a0, $a0, 1 +/* EB96F0 802408A0 0C00AB3B */ jal func_8002ACEC +/* EB96F4 802408A4 24840001 */ addiu $a0, $a0, 1 +/* EB96F8 802408A8 8E030020 */ lw $v1, 0x20($s0) +/* EB96FC 802408AC C64C0038 */ lwc1 $f12, 0x38($s2) +/* EB9700 802408B0 000327C2 */ srl $a0, $v1, 0x1f +/* EB9704 802408B4 00641821 */ addu $v1, $v1, $a0 +/* EB9708 802408B8 00031843 */ sra $v1, $v1, 1 +/* EB970C 802408BC 00621821 */ addu $v1, $v1, $v0 +/* EB9710 802408C0 A643008E */ sh $v1, 0x8e($s2) +/* EB9714 802408C4 8E2200CC */ lw $v0, 0xcc($s1) +/* EB9718 802408C8 C64E0040 */ lwc1 $f14, 0x40($s2) +/* EB971C 802408CC 8C42000C */ lw $v0, 0xc($v0) +/* EB9720 802408D0 AE420028 */ sw $v0, 0x28($s2) +/* EB9724 802408D4 C6000018 */ lwc1 $f0, 0x18($s0) +/* EB9728 802408D8 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EB972C 802408DC 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EB9730 802408E0 E6400018 */ swc1 $f0, 0x18($s2) +/* EB9734 802408E4 8C460028 */ lw $a2, 0x28($v0) +/* EB9738 802408E8 0C00ABDC */ jal fio_validate_header_checksums +/* EB973C 802408EC 8C470030 */ lw $a3, 0x30($v0) +/* EB9740 802408F0 46000506 */ mov.s $f20, $f0 +/* EB9744 802408F4 C64C000C */ lwc1 $f12, 0xc($s2) +/* EB9748 802408F8 0C00ABC6 */ jal func_8002AF18 +/* EB974C 802408FC 4600A386 */ mov.s $f14, $f20 +/* EB9750 80240900 46000086 */ mov.s $f2, $f0 +/* EB9754 80240904 8E02001C */ lw $v0, 0x1c($s0) +/* EB9758 80240908 46001005 */ abs.s $f0, $f2 +/* EB975C 8024090C 44822000 */ mtc1 $v0, $f4 +/* EB9760 80240910 00000000 */ nop +/* EB9764 80240914 46802120 */ cvt.s.w $f4, $f4 +/* EB9768 80240918 4600203C */ c.lt.s $f4, $f0 +/* EB976C 8024091C 00000000 */ nop +/* EB9770 80240920 4500000D */ bc1f .L80240958 +/* EB9774 80240924 00000000 */ nop +/* EB9778 80240928 44800000 */ mtc1 $zero, $f0 +/* EB977C 8024092C C654000C */ lwc1 $f20, 0xc($s2) +/* EB9780 80240930 4600103C */ c.lt.s $f2, $f0 +/* EB9784 80240934 00000000 */ nop +/* EB9788 80240938 45000006 */ bc1f .L80240954 +/* EB978C 8024093C 00021023 */ negu $v0, $v0 +/* EB9790 80240940 44820000 */ mtc1 $v0, $f0 +/* EB9794 80240944 00000000 */ nop +/* EB9798 80240948 46800020 */ cvt.s.w $f0, $f0 +/* EB979C 8024094C 08090256 */ j .L80240958 +/* EB97A0 80240950 4600A500 */ add.s $f20, $f20, $f0 +.L80240954: +/* EB97A4 80240954 4604A500 */ add.s $f20, $f20, $f4 +.L80240958: +/* EB97A8 80240958 0C00AB85 */ jal func_8002AE14 +/* EB97AC 8024095C 4600A306 */ mov.s $f12, $f20 +/* EB97B0 80240960 2402000D */ addiu $v0, $zero, 0xd +/* EB97B4 80240964 E640000C */ swc1 $f0, 0xc($s2) +/* EB97B8 80240968 AE620070 */ sw $v0, 0x70($s3) +/* EB97BC 8024096C 8FBF0020 */ lw $ra, 0x20($sp) +/* EB97C0 80240970 8FB3001C */ lw $s3, 0x1c($sp) +/* EB97C4 80240974 8FB20018 */ lw $s2, 0x18($sp) +/* EB97C8 80240978 8FB10014 */ lw $s1, 0x14($sp) +/* EB97CC 8024097C 8FB00010 */ lw $s0, 0x10($sp) +/* EB97D0 80240980 D7B40028 */ ldc1 $f20, 0x28($sp) +/* EB97D4 80240984 03E00008 */ jr $ra +/* EB97D8 80240988 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_EB8E90/func_8024098C_EB97DC.s b/asm/nonmatchings/code_EB8E90/func_8024098C_EB97DC.s new file mode 100644 index 0000000000..4bd2280d43 --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_8024098C_EB97DC.s @@ -0,0 +1,80 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024098C_EB97DC +/* EB97DC 8024098C 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EB97E0 80240990 AFB3003C */ sw $s3, 0x3c($sp) +/* EB97E4 80240994 0080982D */ daddu $s3, $a0, $zero +/* EB97E8 80240998 AFBF0040 */ sw $ra, 0x40($sp) +/* EB97EC 8024099C AFB20038 */ sw $s2, 0x38($sp) +/* EB97F0 802409A0 AFB10034 */ sw $s1, 0x34($sp) +/* EB97F4 802409A4 AFB00030 */ sw $s0, 0x30($sp) +/* EB97F8 802409A8 8E720148 */ lw $s2, 0x148($s3) +/* EB97FC 802409AC 00A0882D */ daddu $s1, $a1, $zero +/* EB9800 802409B0 86440008 */ lh $a0, 8($s2) +/* EB9804 802409B4 0C00F92F */ jal func_8003E4BC +/* EB9808 802409B8 00C0802D */ daddu $s0, $a2, $zero +/* EB980C 802409BC 0200202D */ daddu $a0, $s0, $zero +/* EB9810 802409C0 0240282D */ daddu $a1, $s2, $zero +/* EB9814 802409C4 24030001 */ addiu $v1, $zero, 1 +/* EB9818 802409C8 AFA30010 */ sw $v1, 0x10($sp) +/* EB981C 802409CC 8E260024 */ lw $a2, 0x24($s1) +/* EB9820 802409D0 8E270028 */ lw $a3, 0x28($s1) +/* EB9824 802409D4 0C013469 */ jal func_8004D1A4 +/* EB9828 802409D8 0040802D */ daddu $s0, $v0, $zero +/* EB982C 802409DC 1440001E */ bnez $v0, .L80240A58 +/* EB9830 802409E0 0200202D */ daddu $a0, $s0, $zero +/* EB9834 802409E4 24040002 */ addiu $a0, $zero, 2 +/* EB9838 802409E8 0200282D */ daddu $a1, $s0, $zero +/* EB983C 802409EC 0000302D */ daddu $a2, $zero, $zero +/* EB9840 802409F0 860300A8 */ lh $v1, 0xa8($s0) +/* EB9844 802409F4 3C013F80 */ lui $at, 0x3f80 +/* EB9848 802409F8 44810000 */ mtc1 $at, $f0 +/* EB984C 802409FC 3C014000 */ lui $at, 0x4000 +/* EB9850 80240A00 44811000 */ mtc1 $at, $f2 +/* EB9854 80240A04 3C01C1A0 */ lui $at, 0xc1a0 +/* EB9858 80240A08 44812000 */ mtc1 $at, $f4 +/* EB985C 80240A0C 2402000F */ addiu $v0, $zero, 0xf +/* EB9860 80240A10 AFA2001C */ sw $v0, 0x1c($sp) +/* EB9864 80240A14 44833000 */ mtc1 $v1, $f6 +/* EB9868 80240A18 00000000 */ nop +/* EB986C 80240A1C 468031A0 */ cvt.s.w $f6, $f6 +/* EB9870 80240A20 44073000 */ mfc1 $a3, $f6 +/* EB9874 80240A24 27A20028 */ addiu $v0, $sp, 0x28 +/* EB9878 80240A28 AFA20020 */ sw $v0, 0x20($sp) +/* EB987C 80240A2C E7A00010 */ swc1 $f0, 0x10($sp) +/* EB9880 80240A30 E7A20014 */ swc1 $f2, 0x14($sp) +/* EB9884 80240A34 0C01D444 */ jal func_80075110 +/* EB9888 80240A38 E7A40018 */ swc1 $f4, 0x18($sp) +/* EB988C 80240A3C 8E4200CC */ lw $v0, 0xcc($s2) +/* EB9890 80240A40 8C430000 */ lw $v1, ($v0) +/* EB9894 80240A44 24020019 */ addiu $v0, $zero, 0x19 +/* EB9898 80240A48 A602008E */ sh $v0, 0x8e($s0) +/* EB989C 80240A4C 2402000E */ addiu $v0, $zero, 0xe +/* EB98A0 80240A50 080902A3 */ j .L80240A8C +/* EB98A4 80240A54 AE030028 */ sw $v1, 0x28($s0) +.L80240A58: +/* EB98A8 80240A58 0C010420 */ jal func_80041080 +/* EB98AC 80240A5C 24050001 */ addiu $a1, $zero, 1 +/* EB98B0 80240A60 8E050018 */ lw $a1, 0x18($s0) +/* EB98B4 80240A64 8E06000C */ lw $a2, 0xc($s0) +/* EB98B8 80240A68 0C00F909 */ jal func_8003E424 +/* EB98BC 80240A6C 0200202D */ daddu $a0, $s0, $zero +/* EB98C0 80240A70 8602008E */ lh $v0, 0x8e($s0) +/* EB98C4 80240A74 9603008E */ lhu $v1, 0x8e($s0) +/* EB98C8 80240A78 18400003 */ blez $v0, .L80240A88 +/* EB98CC 80240A7C 2462FFFF */ addiu $v0, $v1, -1 +/* EB98D0 80240A80 080902A4 */ j .L80240A90 +/* EB98D4 80240A84 A602008E */ sh $v0, 0x8e($s0) +.L80240A88: +/* EB98D8 80240A88 2402000C */ addiu $v0, $zero, 0xc +.L80240A8C: +/* EB98DC 80240A8C AE620070 */ sw $v0, 0x70($s3) +.L80240A90: +/* EB98E0 80240A90 8FBF0040 */ lw $ra, 0x40($sp) +/* EB98E4 80240A94 8FB3003C */ lw $s3, 0x3c($sp) +/* EB98E8 80240A98 8FB20038 */ lw $s2, 0x38($sp) +/* EB98EC 80240A9C 8FB10034 */ lw $s1, 0x34($sp) +/* EB98F0 80240AA0 8FB00030 */ lw $s0, 0x30($sp) +/* EB98F4 80240AA4 03E00008 */ jr $ra +/* EB98F8 80240AA8 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EB8E90/func_80240AAC_EB98FC.s b/asm/nonmatchings/code_EB8E90/func_80240AAC_EB98FC.s new file mode 100644 index 0000000000..dc95b7425f --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_80240AAC_EB98FC.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240AAC_EB98FC +/* EB98FC 80240AAC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EB9900 80240AB0 AFB10014 */ sw $s1, 0x14($sp) +/* EB9904 80240AB4 0080882D */ daddu $s1, $a0, $zero +/* EB9908 80240AB8 AFBF0018 */ sw $ra, 0x18($sp) +/* EB990C 80240ABC AFB00010 */ sw $s0, 0x10($sp) +/* EB9910 80240AC0 8E300148 */ lw $s0, 0x148($s1) +/* EB9914 80240AC4 0C00F92F */ jal func_8003E4BC +/* EB9918 80240AC8 86040008 */ lh $a0, 8($s0) +/* EB991C 80240ACC 9443008E */ lhu $v1, 0x8e($v0) +/* EB9920 80240AD0 2463FFFF */ addiu $v1, $v1, -1 +/* EB9924 80240AD4 A443008E */ sh $v1, 0x8e($v0) +/* EB9928 80240AD8 00031C00 */ sll $v1, $v1, 0x10 +/* EB992C 80240ADC 14600008 */ bnez $v1, .L80240B00 +/* EB9930 80240AE0 00000000 */ nop +/* EB9934 80240AE4 8E0200B0 */ lw $v0, 0xb0($s0) +/* EB9938 80240AE8 30420080 */ andi $v0, $v0, 0x80 +/* EB993C 80240AEC 10400003 */ beqz $v0, .L80240AFC +/* EB9940 80240AF0 2402000F */ addiu $v0, $zero, 0xf +/* EB9944 80240AF4 080902C0 */ j .L80240B00 +/* EB9948 80240AF8 AE220070 */ sw $v0, 0x70($s1) +.L80240AFC: +/* EB994C 80240AFC AE200070 */ sw $zero, 0x70($s1) +.L80240B00: +/* EB9950 80240B00 8FBF0018 */ lw $ra, 0x18($sp) +/* EB9954 80240B04 8FB10014 */ lw $s1, 0x14($sp) +/* EB9958 80240B08 8FB00010 */ lw $s0, 0x10($sp) +/* EB995C 80240B0C 03E00008 */ jr $ra +/* EB9960 80240B10 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EB8E90/func_80240B14_EB9964.s b/asm/nonmatchings/code_EB8E90/func_80240B14_EB9964.s new file mode 100644 index 0000000000..ee5063a24e --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_80240B14_EB9964.s @@ -0,0 +1,55 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240B14_EB9964 +/* EB9964 80240B14 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EB9968 80240B18 AFB10014 */ sw $s1, 0x14($sp) +/* EB996C 80240B1C 0080882D */ daddu $s1, $a0, $zero +/* EB9970 80240B20 AFBF001C */ sw $ra, 0x1c($sp) +/* EB9974 80240B24 AFB20018 */ sw $s2, 0x18($sp) +/* EB9978 80240B28 AFB00010 */ sw $s0, 0x10($sp) +/* EB997C 80240B2C 8E300148 */ lw $s0, 0x148($s1) +/* EB9980 80240B30 86040008 */ lh $a0, 8($s0) +/* EB9984 80240B34 0C00F92F */ jal func_8003E4BC +/* EB9988 80240B38 00A0902D */ daddu $s2, $a1, $zero +/* EB998C 80240B3C 8E0300D0 */ lw $v1, 0xd0($s0) +/* EB9990 80240B40 8E240078 */ lw $a0, 0x78($s1) +/* EB9994 80240B44 8C630000 */ lw $v1, ($v1) +/* EB9998 80240B48 0083182A */ slt $v1, $a0, $v1 +/* EB999C 80240B4C 10600013 */ beqz $v1, .L80240B9C +/* EB99A0 80240B50 0040302D */ daddu $a2, $v0, $zero +/* EB99A4 80240B54 00041040 */ sll $v0, $a0, 1 +/* EB99A8 80240B58 00441021 */ addu $v0, $v0, $a0 +/* EB99AC 80240B5C 00022880 */ sll $a1, $v0, 2 +.L80240B60: +/* EB99B0 80240B60 8E0300D0 */ lw $v1, 0xd0($s0) +/* EB99B4 80240B64 C4C2003C */ lwc1 $f2, 0x3c($a2) +/* EB99B8 80240B68 00A31021 */ addu $v0, $a1, $v1 +/* EB99BC 80240B6C C4400008 */ lwc1 $f0, 8($v0) +/* EB99C0 80240B70 46800020 */ cvt.s.w $f0, $f0 +/* EB99C4 80240B74 4602003E */ c.le.s $f0, $f2 +/* EB99C8 80240B78 00000000 */ nop +/* EB99CC 80240B7C 45020003 */ bc1fl .L80240B8C +/* EB99D0 80240B80 24840001 */ addiu $a0, $a0, 1 +/* EB99D4 80240B84 080902E7 */ j .L80240B9C +/* EB99D8 80240B88 AE240078 */ sw $a0, 0x78($s1) +.L80240B8C: +/* EB99DC 80240B8C 8C620000 */ lw $v0, ($v1) +/* EB99E0 80240B90 0082102A */ slt $v0, $a0, $v0 +/* EB99E4 80240B94 1440FFF2 */ bnez $v0, .L80240B60 +/* EB99E8 80240B98 24A5000C */ addiu $a1, $a1, 0xc +.L80240B9C: +/* EB99EC 80240B9C C6400000 */ lwc1 $f0, ($s2) +/* EB99F0 80240BA0 E4C00018 */ swc1 $f0, 0x18($a2) +/* EB99F4 80240BA4 8E0200CC */ lw $v0, 0xcc($s0) +/* EB99F8 80240BA8 8C420004 */ lw $v0, 4($v0) +/* EB99FC 80240BAC ACC20028 */ sw $v0, 0x28($a2) +/* EB9A00 80240BB0 24020001 */ addiu $v0, $zero, 1 +/* EB9A04 80240BB4 AE200074 */ sw $zero, 0x74($s1) +/* EB9A08 80240BB8 AE220070 */ sw $v0, 0x70($s1) +/* EB9A0C 80240BBC 8FBF001C */ lw $ra, 0x1c($sp) +/* EB9A10 80240BC0 8FB20018 */ lw $s2, 0x18($sp) +/* EB9A14 80240BC4 8FB10014 */ lw $s1, 0x14($sp) +/* EB9A18 80240BC8 8FB00010 */ lw $s0, 0x10($sp) +/* EB9A1C 80240BCC 03E00008 */ jr $ra +/* EB9A20 80240BD0 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EB8E90/func_80240BD4_EB9A24.s b/asm/nonmatchings/code_EB8E90/func_80240BD4_EB9A24.s new file mode 100644 index 0000000000..92dfaaf572 --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_80240BD4_EB9A24.s @@ -0,0 +1,213 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240BD4_EB9A24 +/* EB9A24 80240BD4 27BDFF98 */ addiu $sp, $sp, -0x68 +/* EB9A28 80240BD8 AFB5005C */ sw $s5, 0x5c($sp) +/* EB9A2C 80240BDC 0080A82D */ daddu $s5, $a0, $zero +/* EB9A30 80240BE0 AFBF0060 */ sw $ra, 0x60($sp) +/* EB9A34 80240BE4 AFB40058 */ sw $s4, 0x58($sp) +/* EB9A38 80240BE8 AFB30054 */ sw $s3, 0x54($sp) +/* EB9A3C 80240BEC AFB20050 */ sw $s2, 0x50($sp) +/* EB9A40 80240BF0 AFB1004C */ sw $s1, 0x4c($sp) +/* EB9A44 80240BF4 AFB00048 */ sw $s0, 0x48($sp) +/* EB9A48 80240BF8 8EB10148 */ lw $s1, 0x148($s5) +/* EB9A4C 80240BFC 86240008 */ lh $a0, 8($s1) +/* EB9A50 80240C00 0C00F92F */ jal func_8003E4BC +/* EB9A54 80240C04 00A0802D */ daddu $s0, $a1, $zero +/* EB9A58 80240C08 8EA3000C */ lw $v1, 0xc($s5) +/* EB9A5C 80240C0C 02A0202D */ daddu $a0, $s5, $zero +/* EB9A60 80240C10 8C650000 */ lw $a1, ($v1) +/* EB9A64 80240C14 0C0B53A3 */ jal func_802D4E8C +/* EB9A68 80240C18 0040902D */ daddu $s2, $v0, $zero +/* EB9A6C 80240C1C AFA00018 */ sw $zero, 0x18($sp) +/* EB9A70 80240C20 8E2300D0 */ lw $v1, 0xd0($s1) +/* EB9A74 80240C24 8C630094 */ lw $v1, 0x94($v1) +/* EB9A78 80240C28 AFA3001C */ sw $v1, 0x1c($sp) +/* EB9A7C 80240C2C 8E2300D0 */ lw $v1, 0xd0($s1) +/* EB9A80 80240C30 8C630080 */ lw $v1, 0x80($v1) +/* EB9A84 80240C34 AFA30020 */ sw $v1, 0x20($sp) +/* EB9A88 80240C38 8E2300D0 */ lw $v1, 0xd0($s1) +/* EB9A8C 80240C3C 8C630088 */ lw $v1, 0x88($v1) +/* EB9A90 80240C40 AFA30024 */ sw $v1, 0x24($sp) +/* EB9A94 80240C44 8E2300D0 */ lw $v1, 0xd0($s1) +/* EB9A98 80240C48 8C63008C */ lw $v1, 0x8c($v1) +/* EB9A9C 80240C4C AFA30028 */ sw $v1, 0x28($sp) +/* EB9AA0 80240C50 8E2300D0 */ lw $v1, 0xd0($s1) +/* EB9AA4 80240C54 3C014282 */ lui $at, 0x4282 +/* EB9AA8 80240C58 44810000 */ mtc1 $at, $f0 +/* EB9AAC 80240C5C 8C630090 */ lw $v1, 0x90($v1) +/* EB9AB0 80240C60 E7A00030 */ swc1 $f0, 0x30($sp) +/* EB9AB4 80240C64 A7A00034 */ sh $zero, 0x34($sp) +/* EB9AB8 80240C68 AFA3002C */ sw $v1, 0x2c($sp) +/* EB9ABC 80240C6C C6400038 */ lwc1 $f0, 0x38($s2) +/* EB9AC0 80240C70 E6200108 */ swc1 $f0, 0x108($s1) +/* EB9AC4 80240C74 C640003C */ lwc1 $f0, 0x3c($s2) +/* EB9AC8 80240C78 27B40018 */ addiu $s4, $sp, 0x18 +/* EB9ACC 80240C7C E620010C */ swc1 $f0, 0x10c($s1) +/* EB9AD0 80240C80 3C0138D1 */ lui $at, 0x38d1 +/* EB9AD4 80240C84 3421B717 */ ori $at, $at, 0xb717 +/* EB9AD8 80240C88 44810000 */ mtc1 $at, $f0 +/* EB9ADC 80240C8C C6420040 */ lwc1 $f2, 0x40($s2) +/* EB9AE0 80240C90 0040982D */ daddu $s3, $v0, $zero +/* EB9AE4 80240C94 E6200114 */ swc1 $f0, 0x114($s1) +/* EB9AE8 80240C98 E6200118 */ swc1 $f0, 0x118($s1) +/* EB9AEC 80240C9C 16000005 */ bnez $s0, .L80240CB4 +/* EB9AF0 80240CA0 E6220110 */ swc1 $f2, 0x110($s1) +/* EB9AF4 80240CA4 8E2200B0 */ lw $v0, 0xb0($s1) +/* EB9AF8 80240CA8 30420004 */ andi $v0, $v0, 4 +/* EB9AFC 80240CAC 10400044 */ beqz $v0, .L80240DC0 +/* EB9B00 80240CB0 00000000 */ nop +.L80240CB4: +/* EB9B04 80240CB4 2404F7FF */ addiu $a0, $zero, -0x801 +/* EB9B08 80240CB8 AEA00070 */ sw $zero, 0x70($s5) +/* EB9B0C 80240CBC A640008E */ sh $zero, 0x8e($s2) +/* EB9B10 80240CC0 8E2200CC */ lw $v0, 0xcc($s1) +/* EB9B14 80240CC4 8E430000 */ lw $v1, ($s2) +/* EB9B18 80240CC8 8C420000 */ lw $v0, ($v0) +/* EB9B1C 80240CCC 00641824 */ and $v1, $v1, $a0 +/* EB9B20 80240CD0 AE430000 */ sw $v1, ($s2) +/* EB9B24 80240CD4 AE420028 */ sw $v0, 0x28($s2) +/* EB9B28 80240CD8 8E2200D0 */ lw $v0, 0xd0($s1) +/* EB9B2C 80240CDC 8C420098 */ lw $v0, 0x98($v0) +/* EB9B30 80240CE0 54400005 */ bnel $v0, $zero, .L80240CF8 +/* EB9B34 80240CE4 2402FDFF */ addiu $v0, $zero, -0x201 +/* EB9B38 80240CE8 34620200 */ ori $v0, $v1, 0x200 +/* EB9B3C 80240CEC 2403FFF7 */ addiu $v1, $zero, -9 +/* EB9B40 80240CF0 08090340 */ j .L80240D00 +/* EB9B44 80240CF4 00431024 */ and $v0, $v0, $v1 +.L80240CF8: +/* EB9B48 80240CF8 00621024 */ and $v0, $v1, $v0 +/* EB9B4C 80240CFC 34420008 */ ori $v0, $v0, 8 +.L80240D00: +/* EB9B50 80240D00 AE420000 */ sw $v0, ($s2) +/* EB9B54 80240D04 8E2200B0 */ lw $v0, 0xb0($s1) +/* EB9B58 80240D08 30420004 */ andi $v0, $v0, 4 +/* EB9B5C 80240D0C 10400008 */ beqz $v0, .L80240D30 +/* EB9B60 80240D10 24020063 */ addiu $v0, $zero, 0x63 +/* EB9B64 80240D14 AEA20070 */ sw $v0, 0x70($s5) +/* EB9B68 80240D18 AEA00074 */ sw $zero, 0x74($s5) +/* EB9B6C 80240D1C 8E2200B0 */ lw $v0, 0xb0($s1) +/* EB9B70 80240D20 2403FFFB */ addiu $v1, $zero, -5 +/* EB9B74 80240D24 00431024 */ and $v0, $v0, $v1 +/* EB9B78 80240D28 08090357 */ j .L80240D5C +/* EB9B7C 80240D2C AE2200B0 */ sw $v0, 0xb0($s1) +.L80240D30: +/* EB9B80 80240D30 8E220000 */ lw $v0, ($s1) +/* EB9B84 80240D34 3C034000 */ lui $v1, 0x4000 +/* EB9B88 80240D38 00431024 */ and $v0, $v0, $v1 +/* EB9B8C 80240D3C 10400007 */ beqz $v0, .L80240D5C +/* EB9B90 80240D40 3C03BFFF */ lui $v1, 0xbfff +/* EB9B94 80240D44 2402000C */ addiu $v0, $zero, 0xc +/* EB9B98 80240D48 AEA20070 */ sw $v0, 0x70($s5) +/* EB9B9C 80240D4C 8E220000 */ lw $v0, ($s1) +/* EB9BA0 80240D50 3463FFFF */ ori $v1, $v1, 0xffff +/* EB9BA4 80240D54 00431024 */ and $v0, $v0, $v1 +/* EB9BA8 80240D58 AE220000 */ sw $v0, ($s1) +.L80240D5C: +/* EB9BAC 80240D5C 27A50038 */ addiu $a1, $sp, 0x38 +/* EB9BB0 80240D60 27A6003C */ addiu $a2, $sp, 0x3c +/* EB9BB4 80240D64 C6400038 */ lwc1 $f0, 0x38($s2) +/* EB9BB8 80240D68 864200A8 */ lh $v0, 0xa8($s2) +/* EB9BBC 80240D6C 3C0142C8 */ lui $at, 0x42c8 +/* EB9BC0 80240D70 44812000 */ mtc1 $at, $f4 +/* EB9BC4 80240D74 44823000 */ mtc1 $v0, $f6 +/* EB9BC8 80240D78 00000000 */ nop +/* EB9BCC 80240D7C 468031A0 */ cvt.s.w $f6, $f6 +/* EB9BD0 80240D80 27A20044 */ addiu $v0, $sp, 0x44 +/* EB9BD4 80240D84 E7A00038 */ swc1 $f0, 0x38($sp) +/* EB9BD8 80240D88 C640003C */ lwc1 $f0, 0x3c($s2) +/* EB9BDC 80240D8C C6420040 */ lwc1 $f2, 0x40($s2) +/* EB9BE0 80240D90 46060000 */ add.s $f0, $f0, $f6 +/* EB9BE4 80240D94 E7A40044 */ swc1 $f4, 0x44($sp) +/* EB9BE8 80240D98 E7A20040 */ swc1 $f2, 0x40($sp) +/* EB9BEC 80240D9C E7A0003C */ swc1 $f0, 0x3c($sp) +/* EB9BF0 80240DA0 AFA20010 */ sw $v0, 0x10($sp) +/* EB9BF4 80240DA4 8E440080 */ lw $a0, 0x80($s2) +/* EB9BF8 80240DA8 0C03908F */ jal func_800E423C +/* EB9BFC 80240DAC 27A70040 */ addiu $a3, $sp, 0x40 +/* EB9C00 80240DB0 10400003 */ beqz $v0, .L80240DC0 +/* EB9C04 80240DB4 00000000 */ nop +/* EB9C08 80240DB8 C7A0003C */ lwc1 $f0, 0x3c($sp) +/* EB9C0C 80240DBC E640003C */ swc1 $f0, 0x3c($s2) +.L80240DC0: +/* EB9C10 80240DC0 8EA30070 */ lw $v1, 0x70($s5) +/* EB9C14 80240DC4 2C620064 */ sltiu $v0, $v1, 0x64 +/* EB9C18 80240DC8 10400042 */ beqz $v0, .L80240ED4 +/* EB9C1C 80240DCC 00031080 */ sll $v0, $v1, 2 +/* EB9C20 80240DD0 3C018025 */ lui $at, %hi(D_80249200) +/* EB9C24 80240DD4 00220821 */ addu $at, $at, $v0 +/* EB9C28 80240DD8 8C229200 */ lw $v0, %lo(D_80249200)($at) +/* EB9C2C 80240DDC 00400008 */ jr $v0 +/* EB9C30 80240DE0 00000000 */ nop +/* EB9C34 80240DE4 02A0202D */ daddu $a0, $s5, $zero +/* EB9C38 80240DE8 0260282D */ daddu $a1, $s3, $zero +/* EB9C3C 80240DEC 0C090010 */ jal func_80240040_EB8E90 +/* EB9C40 80240DF0 0280302D */ daddu $a2, $s4, $zero +/* EB9C44 80240DF4 02A0202D */ daddu $a0, $s5, $zero +/* EB9C48 80240DF8 0260282D */ daddu $a1, $s3, $zero +/* EB9C4C 80240DFC 0C090066 */ jal func_80240198_EB8FE8 +/* EB9C50 80240E00 0280302D */ daddu $a2, $s4, $zero +/* EB9C54 80240E04 080903B5 */ j .L80240ED4 +/* EB9C58 80240E08 00000000 */ nop +/* EB9C5C 80240E0C 02A0202D */ daddu $a0, $s5, $zero +/* EB9C60 80240E10 0260282D */ daddu $a1, $s3, $zero +/* EB9C64 80240E14 0C090110 */ jal func_80240440_EB9290 +/* EB9C68 80240E18 0280302D */ daddu $a2, $s4, $zero +/* EB9C6C 80240E1C 02A0202D */ daddu $a0, $s5, $zero +/* EB9C70 80240E20 0260282D */ daddu $a1, $s3, $zero +/* EB9C74 80240E24 0C090140 */ jal func_80240500_EB9350 +/* EB9C78 80240E28 0280302D */ daddu $a2, $s4, $zero +/* EB9C7C 80240E2C 080903B5 */ j .L80240ED4 +/* EB9C80 80240E30 00000000 */ nop +/* EB9C84 80240E34 02A0202D */ daddu $a0, $s5, $zero +/* EB9C88 80240E38 0260282D */ daddu $a1, $s3, $zero +/* EB9C8C 80240E3C 0C0901AF */ jal func_802406BC_EB950C +/* EB9C90 80240E40 0280302D */ daddu $a2, $s4, $zero +/* EB9C94 80240E44 080903B5 */ j .L80240ED4 +/* EB9C98 80240E48 00000000 */ nop +/* EB9C9C 80240E4C 02A0202D */ daddu $a0, $s5, $zero +/* EB9CA0 80240E50 0260282D */ daddu $a1, $s3, $zero +/* EB9CA4 80240E54 0C0901DC */ jal func_80240770_EB95C0 +/* EB9CA8 80240E58 0280302D */ daddu $a2, $s4, $zero +/* EB9CAC 80240E5C 02A0202D */ daddu $a0, $s5, $zero +/* EB9CB0 80240E60 0260282D */ daddu $a1, $s3, $zero +/* EB9CB4 80240E64 0C0901F9 */ jal func_802407E4_EB9634 +/* EB9CB8 80240E68 0280302D */ daddu $a2, $s4, $zero +/* EB9CBC 80240E6C 080903B5 */ j .L80240ED4 +/* EB9CC0 80240E70 00000000 */ nop +/* EB9CC4 80240E74 02A0202D */ daddu $a0, $s5, $zero +/* EB9CC8 80240E78 0260282D */ daddu $a1, $s3, $zero +/* EB9CCC 80240E7C 0C090217 */ jal func_8024085C_EB96AC +/* EB9CD0 80240E80 0280302D */ daddu $a2, $s4, $zero +/* EB9CD4 80240E84 02A0202D */ daddu $a0, $s5, $zero +/* EB9CD8 80240E88 0260282D */ daddu $a1, $s3, $zero +/* EB9CDC 80240E8C 0C090263 */ jal func_8024098C_EB97DC +/* EB9CE0 80240E90 0280302D */ daddu $a2, $s4, $zero +/* EB9CE4 80240E94 080903B5 */ j .L80240ED4 +/* EB9CE8 80240E98 00000000 */ nop +/* EB9CEC 80240E9C 02A0202D */ daddu $a0, $s5, $zero +/* EB9CF0 80240EA0 0260282D */ daddu $a1, $s3, $zero +/* EB9CF4 80240EA4 0C0902AB */ jal func_80240AAC_EB98FC +/* EB9CF8 80240EA8 0280302D */ daddu $a2, $s4, $zero +/* EB9CFC 80240EAC 080903B5 */ j .L80240ED4 +/* EB9D00 80240EB0 00000000 */ nop +/* EB9D04 80240EB4 02A0202D */ daddu $a0, $s5, $zero +/* EB9D08 80240EB8 0260282D */ daddu $a1, $s3, $zero +/* EB9D0C 80240EBC 0C0902C5 */ jal func_80240B14_EB9964 +/* EB9D10 80240EC0 0280302D */ daddu $a2, $s4, $zero +/* EB9D14 80240EC4 080903B5 */ j .L80240ED4 +/* EB9D18 80240EC8 00000000 */ nop +/* EB9D1C 80240ECC 0C013AE3 */ jal func_8004EB8C +/* EB9D20 80240ED0 02A0202D */ daddu $a0, $s5, $zero +.L80240ED4: +/* EB9D24 80240ED4 8FBF0060 */ lw $ra, 0x60($sp) +/* EB9D28 80240ED8 8FB5005C */ lw $s5, 0x5c($sp) +/* EB9D2C 80240EDC 8FB40058 */ lw $s4, 0x58($sp) +/* EB9D30 80240EE0 8FB30054 */ lw $s3, 0x54($sp) +/* EB9D34 80240EE4 8FB20050 */ lw $s2, 0x50($sp) +/* EB9D38 80240EE8 8FB1004C */ lw $s1, 0x4c($sp) +/* EB9D3C 80240EEC 8FB00048 */ lw $s0, 0x48($sp) +/* EB9D40 80240EF0 0000102D */ daddu $v0, $zero, $zero +/* EB9D44 80240EF4 03E00008 */ jr $ra +/* EB9D48 80240EF8 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/asm/nonmatchings/code_EB8E90/func_80240EFC_EB9D4C.s b/asm/nonmatchings/code_EB8E90/func_80240EFC_EB9D4C.s new file mode 100644 index 0000000000..5df9367987 --- /dev/null +++ b/asm/nonmatchings/code_EB8E90/func_80240EFC_EB9D4C.s @@ -0,0 +1,21 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240EFC_EB9D4C +/* EB9D4C 80240EFC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EB9D50 80240F00 AFBF0010 */ sw $ra, 0x10($sp) +/* EB9D54 80240F04 0C03C767 */ jal func_800F1D9C +/* EB9D58 80240F08 24040006 */ addiu $a0, $zero, 6 +/* EB9D5C 80240F0C 3C028011 */ lui $v0, %hi(D_80117840) +/* EB9D60 80240F10 24427840 */ addiu $v0, $v0, %lo(D_80117840) +/* EB9D64 80240F14 90430003 */ lbu $v1, 3($v0) +/* EB9D68 80240F18 90440006 */ lbu $a0, 6($v0) +/* EB9D6C 80240F1C A0430002 */ sb $v1, 2($v0) +/* EB9D70 80240F20 0C03C5CC */ jal func_800F1730 +/* EB9D74 80240F24 A0440005 */ sb $a0, 5($v0) +/* EB9D78 80240F28 8FBF0010 */ lw $ra, 0x10($sp) +/* EB9D7C 80240F2C 24020002 */ addiu $v0, $zero, 2 +/* EB9D80 80240F30 03E00008 */ jr $ra +/* EB9D84 80240F34 27BD0018 */ addiu $sp, $sp, 0x18 +/* EB9D88 80240F38 00000000 */ nop +/* EB9D8C 80240F3C 00000000 */ nop diff --git a/asm/nonmatchings/code_EB9D90/func_80240F40_EB9D90.s b/asm/nonmatchings/code_EB9D90/func_80240F40_EB9D90.s new file mode 100644 index 0000000000..01eb264b81 --- /dev/null +++ b/asm/nonmatchings/code_EB9D90/func_80240F40_EB9D90.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240F40_EB9D90 +/* EB9D90 80240F40 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EB9D94 80240F44 AFB00010 */ sw $s0, 0x10($sp) +/* EB9D98 80240F48 0080802D */ daddu $s0, $a0, $zero +/* EB9D9C 80240F4C AFB20018 */ sw $s2, 0x18($sp) +/* EB9DA0 80240F50 3C128011 */ lui $s2, %hi(D_80117578) +/* EB9DA4 80240F54 26527578 */ addiu $s2, $s2, %lo(D_80117578) +/* EB9DA8 80240F58 AFBF001C */ sw $ra, 0x1c($sp) +/* EB9DAC 80240F5C AFB10014 */ sw $s1, 0x14($sp) +/* EB9DB0 80240F60 C64000A8 */ lwc1 $f0, 0xa8($s2) +/* EB9DB4 80240F64 8E02000C */ lw $v0, 0xc($s0) +/* EB9DB8 80240F68 4600008D */ trunc.w.s $f2, $f0 +/* EB9DBC 80240F6C 44061000 */ mfc1 $a2, $f2 +/* EB9DC0 80240F70 8C450000 */ lw $a1, ($v0) +/* EB9DC4 80240F74 0C0B551A */ jal func_802D5468 +/* EB9DC8 80240F78 8C510004 */ lw $s1, 4($v0) +/* EB9DCC 80240F7C 0200202D */ daddu $a0, $s0, $zero +/* EB9DD0 80240F80 C6400080 */ lwc1 $f0, 0x80($s2) +/* EB9DD4 80240F84 4600008D */ trunc.w.s $f2, $f0 +/* EB9DD8 80240F88 44061000 */ mfc1 $a2, $f2 +/* EB9DDC 80240F8C 0C0B551A */ jal func_802D5468 +/* EB9DE0 80240F90 0220282D */ daddu $a1, $s1, $zero +/* EB9DE4 80240F94 8FBF001C */ lw $ra, 0x1c($sp) +/* EB9DE8 80240F98 8FB20018 */ lw $s2, 0x18($sp) +/* EB9DEC 80240F9C 8FB10014 */ lw $s1, 0x14($sp) +/* EB9DF0 80240FA0 8FB00010 */ lw $s0, 0x10($sp) +/* EB9DF4 80240FA4 24020002 */ addiu $v0, $zero, 2 +/* EB9DF8 80240FA8 03E00008 */ jr $ra +/* EB9DFC 80240FAC 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EB9D90/func_80240FB0_EB9E00.s b/asm/nonmatchings/code_EB9D90/func_80240FB0_EB9E00.s new file mode 100644 index 0000000000..d7643dbc3b --- /dev/null +++ b/asm/nonmatchings/code_EB9D90/func_80240FB0_EB9E00.s @@ -0,0 +1,81 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240FB0_EB9E00 +/* EB9E00 80240FB0 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* EB9E04 80240FB4 AFB00010 */ sw $s0, 0x10($sp) +/* EB9E08 80240FB8 0080802D */ daddu $s0, $a0, $zero +/* EB9E0C 80240FBC AFBF0018 */ sw $ra, 0x18($sp) +/* EB9E10 80240FC0 AFB10014 */ sw $s1, 0x14($sp) +/* EB9E14 80240FC4 F7BA0038 */ sdc1 $f26, 0x38($sp) +/* EB9E18 80240FC8 F7B80030 */ sdc1 $f24, 0x30($sp) +/* EB9E1C 80240FCC F7B60028 */ sdc1 $f22, 0x28($sp) +/* EB9E20 80240FD0 F7B40020 */ sdc1 $f20, 0x20($sp) +/* EB9E24 80240FD4 8E05008C */ lw $a1, 0x8c($s0) +/* EB9E28 80240FD8 0C0B53A3 */ jal func_802D4E8C +/* EB9E2C 80240FDC 0000202D */ daddu $a0, $zero, $zero +/* EB9E30 80240FE0 C60200A8 */ lwc1 $f2, 0xa8($s0) +/* EB9E34 80240FE4 468010A0 */ cvt.s.w $f2, $f2 +/* EB9E38 80240FE8 44061000 */ mfc1 $a2, $f2 +/* EB9E3C 80240FEC C60200B0 */ lwc1 $f2, 0xb0($s0) +/* EB9E40 80240FF0 468010A0 */ cvt.s.w $f2, $f2 +/* EB9E44 80240FF4 4482A000 */ mtc1 $v0, $f20 +/* EB9E48 80240FF8 00000000 */ nop +/* EB9E4C 80240FFC 4680A520 */ cvt.s.w $f20, $f20 +/* EB9E50 80241000 3C01C2A6 */ lui $at, 0xc2a6 +/* EB9E54 80241004 4481C000 */ mtc1 $at, $f24 +/* EB9E58 80241008 3C0142AE */ lui $at, 0x42ae +/* EB9E5C 8024100C 4481D000 */ mtc1 $at, $f26 +/* EB9E60 80241010 44071000 */ mfc1 $a3, $f2 +/* EB9E64 80241014 4600C306 */ mov.s $f12, $f24 +/* EB9E68 80241018 0C00AC71 */ jal func_8002B1C4 +/* EB9E6C 8024101C 4600D386 */ mov.s $f14, $f26 +/* EB9E70 80241020 4600C306 */ mov.s $f12, $f24 +/* EB9E74 80241024 4600D386 */ mov.s $f14, $f26 +/* EB9E78 80241028 C60200A8 */ lwc1 $f2, 0xa8($s0) +/* EB9E7C 8024102C 468010A0 */ cvt.s.w $f2, $f2 +/* EB9E80 80241030 44061000 */ mfc1 $a2, $f2 +/* EB9E84 80241034 C60200B0 */ lwc1 $f2, 0xb0($s0) +/* EB9E88 80241038 468010A0 */ cvt.s.w $f2, $f2 +/* EB9E8C 8024103C 44071000 */ mfc1 $a3, $f2 +/* EB9E90 80241040 0C00ABDC */ jal fio_validate_header_checksums +/* EB9E94 80241044 46000586 */ mov.s $f22, $f0 +/* EB9E98 80241048 0C00AB85 */ jal func_8002AE14 +/* EB9E9C 8024104C 46140301 */ sub.s $f12, $f0, $f20 +/* EB9EA0 80241050 46000506 */ mov.s $f20, $f0 +/* EB9EA4 80241054 0C00AD77 */ jal func_8002B5DC +/* EB9EA8 80241058 4600A306 */ mov.s $f12, $f20 +/* EB9EAC 8024105C 4600B002 */ mul.s $f0, $f22, $f0 +/* EB9EB0 80241060 00000000 */ nop +/* EB9EB4 80241064 46180000 */ add.s $f0, $f0, $f24 +/* EB9EB8 80241068 3C118011 */ lui $s1, %hi(D_80117578) +/* EB9EBC 8024106C 26317578 */ addiu $s1, $s1, %lo(D_80117578) +/* EB9EC0 80241070 E6200028 */ swc1 $f0, 0x28($s1) +/* EB9EC4 80241074 8E0500AC */ lw $a1, 0xac($s0) +/* EB9EC8 80241078 0C0B53A3 */ jal func_802D4E8C +/* EB9ECC 8024107C 0000202D */ daddu $a0, $zero, $zero +/* EB9ED0 80241080 0000202D */ daddu $a0, $zero, $zero +/* EB9ED4 80241084 8E050090 */ lw $a1, 0x90($s0) +/* EB9ED8 80241088 0C0B53A3 */ jal func_802D4E8C +/* EB9EDC 8024108C 0040802D */ daddu $s0, $v0, $zero +/* EB9EE0 80241090 4600A306 */ mov.s $f12, $f20 +/* EB9EE4 80241094 02028021 */ addu $s0, $s0, $v0 +/* EB9EE8 80241098 44900000 */ mtc1 $s0, $f0 +/* EB9EEC 8024109C 00000000 */ nop +/* EB9EF0 802410A0 46800020 */ cvt.s.w $f0, $f0 +/* EB9EF4 802410A4 0C00AD90 */ jal func_8002B640 +/* EB9EF8 802410A8 E620002C */ swc1 $f0, 0x2c($s1) +/* EB9EFC 802410AC 4600B582 */ mul.s $f22, $f22, $f0 +/* EB9F00 802410B0 00000000 */ nop +/* EB9F04 802410B4 4616D681 */ sub.s $f26, $f26, $f22 +/* EB9F08 802410B8 E63A0030 */ swc1 $f26, 0x30($s1) +/* EB9F0C 802410BC 8FBF0018 */ lw $ra, 0x18($sp) +/* EB9F10 802410C0 8FB10014 */ lw $s1, 0x14($sp) +/* EB9F14 802410C4 8FB00010 */ lw $s0, 0x10($sp) +/* EB9F18 802410C8 D7BA0038 */ ldc1 $f26, 0x38($sp) +/* EB9F1C 802410CC D7B80030 */ ldc1 $f24, 0x30($sp) +/* EB9F20 802410D0 D7B60028 */ ldc1 $f22, 0x28($sp) +/* EB9F24 802410D4 D7B40020 */ ldc1 $f20, 0x20($sp) +/* EB9F28 802410D8 24020002 */ addiu $v0, $zero, 2 +/* EB9F2C 802410DC 03E00008 */ jr $ra +/* EB9F30 802410E0 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/asm/nonmatchings/code_EB9D90/func_802410E4_EB9F34.s b/asm/nonmatchings/code_EB9D90/func_802410E4_EB9F34.s new file mode 100644 index 0000000000..793aefd153 --- /dev/null +++ b/asm/nonmatchings/code_EB9D90/func_802410E4_EB9F34.s @@ -0,0 +1,82 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802410E4_EB9F34 +/* EB9F34 802410E4 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* EB9F38 802410E8 AFB00010 */ sw $s0, 0x10($sp) +/* EB9F3C 802410EC 0080802D */ daddu $s0, $a0, $zero +/* EB9F40 802410F0 AFBF0018 */ sw $ra, 0x18($sp) +/* EB9F44 802410F4 AFB10014 */ sw $s1, 0x14($sp) +/* EB9F48 802410F8 F7BA0038 */ sdc1 $f26, 0x38($sp) +/* EB9F4C 802410FC F7B80030 */ sdc1 $f24, 0x30($sp) +/* EB9F50 80241100 F7B60028 */ sdc1 $f22, 0x28($sp) +/* EB9F54 80241104 F7B40020 */ sdc1 $f20, 0x20($sp) +/* EB9F58 80241108 0C00F10F */ jal func_8003C43C +/* EB9F5C 8024110C 0000202D */ daddu $a0, $zero, $zero +/* EB9F60 80241110 0000202D */ daddu $a0, $zero, $zero +/* EB9F64 80241114 8E05008C */ lw $a1, 0x8c($s0) +/* EB9F68 80241118 0C0B53A3 */ jal func_802D4E8C +/* EB9F6C 8024111C 0040882D */ daddu $s1, $v0, $zero +/* EB9F70 80241120 C60200B4 */ lwc1 $f2, 0xb4($s0) +/* EB9F74 80241124 468010A0 */ cvt.s.w $f2, $f2 +/* EB9F78 80241128 44061000 */ mfc1 $a2, $f2 +/* EB9F7C 8024112C C60200BC */ lwc1 $f2, 0xbc($s0) +/* EB9F80 80241130 468010A0 */ cvt.s.w $f2, $f2 +/* EB9F84 80241134 4482A000 */ mtc1 $v0, $f20 +/* EB9F88 80241138 00000000 */ nop +/* EB9F8C 8024113C 4680A520 */ cvt.s.w $f20, $f20 +/* EB9F90 80241140 3C01C2A6 */ lui $at, 0xc2a6 +/* EB9F94 80241144 4481C000 */ mtc1 $at, $f24 +/* EB9F98 80241148 3C0142AE */ lui $at, 0x42ae +/* EB9F9C 8024114C 4481D000 */ mtc1 $at, $f26 +/* EB9FA0 80241150 44071000 */ mfc1 $a3, $f2 +/* EB9FA4 80241154 4600C306 */ mov.s $f12, $f24 +/* EB9FA8 80241158 0C00AC71 */ jal func_8002B1C4 +/* EB9FAC 8024115C 4600D386 */ mov.s $f14, $f26 +/* EB9FB0 80241160 4600C306 */ mov.s $f12, $f24 +/* EB9FB4 80241164 4600D386 */ mov.s $f14, $f26 +/* EB9FB8 80241168 C60200B4 */ lwc1 $f2, 0xb4($s0) +/* EB9FBC 8024116C 468010A0 */ cvt.s.w $f2, $f2 +/* EB9FC0 80241170 44061000 */ mfc1 $a2, $f2 +/* EB9FC4 80241174 C60200BC */ lwc1 $f2, 0xbc($s0) +/* EB9FC8 80241178 468010A0 */ cvt.s.w $f2, $f2 +/* EB9FCC 8024117C 44071000 */ mfc1 $a3, $f2 +/* EB9FD0 80241180 0C00ABDC */ jal fio_validate_header_checksums +/* EB9FD4 80241184 46000586 */ mov.s $f22, $f0 +/* EB9FD8 80241188 0C00AB85 */ jal func_8002AE14 +/* EB9FDC 8024118C 46140301 */ sub.s $f12, $f0, $f20 +/* EB9FE0 80241190 46000506 */ mov.s $f20, $f0 +/* EB9FE4 80241194 0C00AD77 */ jal func_8002B5DC +/* EB9FE8 80241198 4600A306 */ mov.s $f12, $f20 +/* EB9FEC 8024119C 4600B002 */ mul.s $f0, $f22, $f0 +/* EB9FF0 802411A0 00000000 */ nop +/* EB9FF4 802411A4 46180000 */ add.s $f0, $f0, $f24 +/* EB9FF8 802411A8 E6200038 */ swc1 $f0, 0x38($s1) +/* EB9FFC 802411AC 8E0500B8 */ lw $a1, 0xb8($s0) +/* EBA000 802411B0 0C0B53A3 */ jal func_802D4E8C +/* EBA004 802411B4 0000202D */ daddu $a0, $zero, $zero +/* EBA008 802411B8 0000202D */ daddu $a0, $zero, $zero +/* EBA00C 802411BC 8E050090 */ lw $a1, 0x90($s0) +/* EBA010 802411C0 0C0B53A3 */ jal func_802D4E8C +/* EBA014 802411C4 0040802D */ daddu $s0, $v0, $zero +/* EBA018 802411C8 4600A306 */ mov.s $f12, $f20 +/* EBA01C 802411CC 02028021 */ addu $s0, $s0, $v0 +/* EBA020 802411D0 44900000 */ mtc1 $s0, $f0 +/* EBA024 802411D4 00000000 */ nop +/* EBA028 802411D8 46800020 */ cvt.s.w $f0, $f0 +/* EBA02C 802411DC 0C00AD90 */ jal func_8002B640 +/* EBA030 802411E0 E620003C */ swc1 $f0, 0x3c($s1) +/* EBA034 802411E4 4600B582 */ mul.s $f22, $f22, $f0 +/* EBA038 802411E8 00000000 */ nop +/* EBA03C 802411EC 4616D681 */ sub.s $f26, $f26, $f22 +/* EBA040 802411F0 E63A0040 */ swc1 $f26, 0x40($s1) +/* EBA044 802411F4 8FBF0018 */ lw $ra, 0x18($sp) +/* EBA048 802411F8 8FB10014 */ lw $s1, 0x14($sp) +/* EBA04C 802411FC 8FB00010 */ lw $s0, 0x10($sp) +/* EBA050 80241200 D7BA0038 */ ldc1 $f26, 0x38($sp) +/* EBA054 80241204 D7B80030 */ ldc1 $f24, 0x30($sp) +/* EBA058 80241208 D7B60028 */ ldc1 $f22, 0x28($sp) +/* EBA05C 8024120C D7B40020 */ ldc1 $f20, 0x20($sp) +/* EBA060 80241210 24020002 */ addiu $v0, $zero, 2 +/* EBA064 80241214 03E00008 */ jr $ra +/* EBA068 80241218 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/asm/nonmatchings/code_EB9D90/func_8024121C_EBA06C.s b/asm/nonmatchings/code_EB9D90/func_8024121C_EBA06C.s new file mode 100644 index 0000000000..dcab90b2c3 --- /dev/null +++ b/asm/nonmatchings/code_EB9D90/func_8024121C_EBA06C.s @@ -0,0 +1,105 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024121C_EBA06C +/* EBA06C 8024121C 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EBA070 80241220 AFB20018 */ sw $s2, 0x18($sp) +/* EBA074 80241224 0080902D */ daddu $s2, $a0, $zero +/* EBA078 80241228 AFBF0028 */ sw $ra, 0x28($sp) +/* EBA07C 8024122C AFB50024 */ sw $s5, 0x24($sp) +/* EBA080 80241230 AFB40020 */ sw $s4, 0x20($sp) +/* EBA084 80241234 AFB3001C */ sw $s3, 0x1c($sp) +/* EBA088 80241238 AFB10014 */ sw $s1, 0x14($sp) +/* EBA08C 8024123C AFB00010 */ sw $s0, 0x10($sp) +/* EBA090 80241240 F7B80040 */ sdc1 $f24, 0x40($sp) +/* EBA094 80241244 F7B60038 */ sdc1 $f22, 0x38($sp) +/* EBA098 80241248 F7B40030 */ sdc1 $f20, 0x30($sp) +/* EBA09C 8024124C 8E50000C */ lw $s0, 0xc($s2) +/* EBA0A0 80241250 8E140000 */ lw $s4, ($s0) +/* EBA0A4 80241254 26100004 */ addiu $s0, $s0, 4 +/* EBA0A8 80241258 0C0B53A3 */ jal func_802D4E8C +/* EBA0AC 8024125C 0280282D */ daddu $a1, $s4, $zero +/* EBA0B0 80241260 0040982D */ daddu $s3, $v0, $zero +/* EBA0B4 80241264 8E150000 */ lw $s5, ($s0) +/* EBA0B8 80241268 26100004 */ addiu $s0, $s0, 4 +/* EBA0BC 8024126C 8E050000 */ lw $a1, ($s0) +/* EBA0C0 80241270 26100004 */ addiu $s0, $s0, 4 +/* EBA0C4 80241274 0C0B55FF */ jal func_802D57FC +/* EBA0C8 80241278 0240202D */ daddu $a0, $s2, $zero +/* EBA0CC 8024127C 8E050000 */ lw $a1, ($s0) +/* EBA0D0 80241280 26100004 */ addiu $s0, $s0, 4 +/* EBA0D4 80241284 0240202D */ daddu $a0, $s2, $zero +/* EBA0D8 80241288 0C0B55FF */ jal func_802D57FC +/* EBA0DC 8024128C 46000606 */ mov.s $f24, $f0 +/* EBA0E0 80241290 8E050000 */ lw $a1, ($s0) +/* EBA0E4 80241294 26100004 */ addiu $s0, $s0, 4 +/* EBA0E8 80241298 0240202D */ daddu $a0, $s2, $zero +/* EBA0EC 8024129C 0C0B53A3 */ jal func_802D4E8C +/* EBA0F0 802412A0 46000506 */ mov.s $f20, $f0 +/* EBA0F4 802412A4 8E050000 */ lw $a1, ($s0) +/* EBA0F8 802412A8 26100004 */ addiu $s0, $s0, 4 +/* EBA0FC 802412AC 0240202D */ daddu $a0, $s2, $zero +/* EBA100 802412B0 0C0B53A3 */ jal func_802D4E8C +/* EBA104 802412B4 0040882D */ daddu $s1, $v0, $zero +/* EBA108 802412B8 0240202D */ daddu $a0, $s2, $zero +/* EBA10C 802412BC 8E050000 */ lw $a1, ($s0) +/* EBA110 802412C0 0C0B55FF */ jal func_802D57FC +/* EBA114 802412C4 0040802D */ daddu $s0, $v0, $zero +/* EBA118 802412C8 3C014334 */ lui $at, 0x4334 +/* EBA11C 802412CC 44811000 */ mtc1 $at, $f2 +/* EBA120 802412D0 3C014049 */ lui $at, 0x4049 +/* EBA124 802412D4 34210FD8 */ ori $at, $at, 0xfd8 +/* EBA128 802412D8 44812000 */ mtc1 $at, $f4 +/* EBA12C 802412DC 46020003 */ div.s $f0, $f0, $f2 +/* EBA130 802412E0 46040582 */ mul.s $f22, $f0, $f4 +/* EBA134 802412E4 00000000 */ nop +/* EBA138 802412E8 4618A501 */ sub.s $f20, $f20, $f24 +/* EBA13C 802412EC 3C013F00 */ lui $at, 0x3f00 +/* EBA140 802412F0 44810000 */ mtc1 $at, $f0 +/* EBA144 802412F4 00000000 */ nop +/* EBA148 802412F8 4600A502 */ mul.s $f20, $f20, $f0 +/* EBA14C 802412FC 00000000 */ nop +/* EBA150 80241300 12000007 */ beqz $s0, .L80241320 +/* EBA154 80241304 0233102A */ slt $v0, $s1, $s3 +/* EBA158 80241308 10400005 */ beqz $v0, .L80241320 +/* EBA15C 8024130C 0240202D */ daddu $a0, $s2, $zero +/* EBA160 80241310 0220982D */ daddu $s3, $s1, $zero +/* EBA164 80241314 0280282D */ daddu $a1, $s4, $zero +/* EBA168 80241318 0C0B551A */ jal func_802D5468 +/* EBA16C 8024131C 0220302D */ daddu $a2, $s1, $zero +.L80241320: +/* EBA170 80241320 3C014049 */ lui $at, 0x4049 +/* EBA174 80241324 34210FD8 */ ori $at, $at, 0xfd8 +/* EBA178 80241328 44810000 */ mtc1 $at, $f0 +/* EBA17C 8024132C 44936000 */ mtc1 $s3, $f12 +/* EBA180 80241330 00000000 */ nop +/* EBA184 80241334 46806320 */ cvt.s.w $f12, $f12 +/* EBA188 80241338 46006302 */ mul.s $f12, $f12, $f0 +/* EBA18C 8024133C 00000000 */ nop +/* EBA190 80241340 44910000 */ mtc1 $s1, $f0 +/* EBA194 80241344 00000000 */ nop +/* EBA198 80241348 46800020 */ cvt.s.w $f0, $f0 +/* EBA19C 8024134C 46006303 */ div.s $f12, $f12, $f0 +/* EBA1A0 80241350 0C00AD30 */ jal func_8002B4C0 +/* EBA1A4 80241354 46166300 */ add.s $f12, $f12, $f22 +/* EBA1A8 80241358 4600A002 */ mul.s $f0, $f20, $f0 +/* EBA1AC 8024135C 00000000 */ nop +/* EBA1B0 80241360 4614C080 */ add.s $f2, $f24, $f20 +/* EBA1B4 80241364 46001081 */ sub.s $f2, $f2, $f0 +/* EBA1B8 80241368 0240202D */ daddu $a0, $s2, $zero +/* EBA1BC 8024136C 44061000 */ mfc1 $a2, $f2 +/* EBA1C0 80241370 0C0B5684 */ jal func_802D5A10 +/* EBA1C4 80241374 02A0282D */ daddu $a1, $s5, $zero +/* EBA1C8 80241378 8FBF0028 */ lw $ra, 0x28($sp) +/* EBA1CC 8024137C 8FB50024 */ lw $s5, 0x24($sp) +/* EBA1D0 80241380 8FB40020 */ lw $s4, 0x20($sp) +/* EBA1D4 80241384 8FB3001C */ lw $s3, 0x1c($sp) +/* EBA1D8 80241388 8FB20018 */ lw $s2, 0x18($sp) +/* EBA1DC 8024138C 8FB10014 */ lw $s1, 0x14($sp) +/* EBA1E0 80241390 8FB00010 */ lw $s0, 0x10($sp) +/* EBA1E4 80241394 D7B80040 */ ldc1 $f24, 0x40($sp) +/* EBA1E8 80241398 D7B60038 */ ldc1 $f22, 0x38($sp) +/* EBA1EC 8024139C D7B40030 */ ldc1 $f20, 0x30($sp) +/* EBA1F0 802413A0 24020002 */ addiu $v0, $zero, 2 +/* EBA1F4 802413A4 03E00008 */ jr $ra +/* EBA1F8 802413A8 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EB9D90/func_802413AC_EBA1FC.s b/asm/nonmatchings/code_EB9D90/func_802413AC_EBA1FC.s new file mode 100644 index 0000000000..5ddb988fb5 --- /dev/null +++ b/asm/nonmatchings/code_EB9D90/func_802413AC_EBA1FC.s @@ -0,0 +1,12 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802413AC_EBA1FC +/* EBA1FC 802413AC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EBA200 802413B0 AFBF0010 */ sw $ra, 0x10($sp) +/* EBA204 802413B4 0C03C5CC */ jal func_800F1730 +/* EBA208 802413B8 00000000 */ nop +/* EBA20C 802413BC 8FBF0010 */ lw $ra, 0x10($sp) +/* EBA210 802413C0 24020002 */ addiu $v0, $zero, 2 +/* EBA214 802413C4 03E00008 */ jr $ra +/* EBA218 802413C8 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB9D90/func_802413CC_EBA21C.s b/asm/nonmatchings/code_EB9D90/func_802413CC_EBA21C.s new file mode 100644 index 0000000000..e428d8c90f --- /dev/null +++ b/asm/nonmatchings/code_EB9D90/func_802413CC_EBA21C.s @@ -0,0 +1,12 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802413CC_EBA21C +/* EBA21C 802413CC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EBA220 802413D0 AFBF0010 */ sw $ra, 0x10($sp) +/* EBA224 802413D4 0C03C5C6 */ jal func_800F1718 +/* EBA228 802413D8 00000000 */ nop +/* EBA22C 802413DC 8FBF0010 */ lw $ra, 0x10($sp) +/* EBA230 802413E0 24020002 */ addiu $v0, $zero, 2 +/* EBA234 802413E4 03E00008 */ jr $ra +/* EBA238 802413E8 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EB9D90/func_802413EC_EBA23C.s b/asm/nonmatchings/code_EB9D90/func_802413EC_EBA23C.s new file mode 100644 index 0000000000..6844ce9c2f --- /dev/null +++ b/asm/nonmatchings/code_EB9D90/func_802413EC_EBA23C.s @@ -0,0 +1,13 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802413EC_EBA23C +/* EBA23C 802413EC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EBA240 802413F0 AFBF0010 */ sw $ra, 0x10($sp) +/* EBA244 802413F4 0C03C5BD */ jal func_800F16F4 +/* EBA248 802413F8 00000000 */ nop +/* EBA24C 802413FC 8FBF0010 */ lw $ra, 0x10($sp) +/* EBA250 80241400 24020002 */ addiu $v0, $zero, 2 +/* EBA254 80241404 03E00008 */ jr $ra +/* EBA258 80241408 27BD0018 */ addiu $sp, $sp, 0x18 +/* EBA25C 8024140C 00000000 */ nop diff --git a/asm/nonmatchings/code_EC2200/func_80240000_EC2200.s b/asm/nonmatchings/code_EC2200/func_80240000_EC2200.s new file mode 100644 index 0000000000..d828fead3b --- /dev/null +++ b/asm/nonmatchings/code_EC2200/func_80240000_EC2200.s @@ -0,0 +1,20 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EC2200 +/* EC2200 80240000 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EC2204 80240004 24040001 */ addiu $a0, $zero, 1 +/* EC2208 80240008 0000282D */ daddu $a1, $zero, $zero +/* EC220C 8024000C 00A0302D */ daddu $a2, $a1, $zero +/* EC2210 80240010 00A0382D */ daddu $a3, $a1, $zero +/* EC2214 80240014 AFBF0018 */ sw $ra, 0x18($sp) +/* EC2218 80240018 AFA00010 */ sw $zero, 0x10($sp) +/* EC221C 8024001C 0C01DEF4 */ jal func_80077BD0 +/* EC2220 80240020 AFA00014 */ sw $zero, 0x14($sp) +/* EC2224 80240024 8FBF0018 */ lw $ra, 0x18($sp) +/* EC2228 80240028 24020002 */ addiu $v0, $zero, 2 +/* EC222C 8024002C 03E00008 */ jr $ra +/* EC2230 80240030 27BD0020 */ addiu $sp, $sp, 0x20 +/* EC2234 80240034 00000000 */ nop +/* EC2238 80240038 00000000 */ nop +/* EC223C 8024003C 00000000 */ nop diff --git a/asm/nonmatchings/code_EC2240/func_80240040_EC2240.s b/asm/nonmatchings/code_EC2240/func_80240040_EC2240.s new file mode 100644 index 0000000000..18e43008a1 --- /dev/null +++ b/asm/nonmatchings/code_EC2240/func_80240040_EC2240.s @@ -0,0 +1,53 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240040_EC2240 +/* EC2240 80240040 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EC2244 80240044 AFB00010 */ sw $s0, 0x10($sp) +/* EC2248 80240048 3C108024 */ lui $s0, %hi(D_80240F28) +/* EC224C 8024004C 26100F28 */ addiu $s0, $s0, %lo(D_80240F28) +/* EC2250 80240050 AFBF0018 */ sw $ra, 0x18($sp) +/* EC2254 80240054 AFB10014 */ sw $s1, 0x14($sp) +/* EC2258 80240058 8E020000 */ lw $v0, ($s0) +/* EC225C 8024005C 14400010 */ bnez $v0, .L802400A0 +/* EC2260 80240060 0080882D */ daddu $s1, $a0, $zero +/* EC2264 80240064 0C00AFF5 */ jal func_8002BFD4 +/* EC2268 80240068 24040040 */ addiu $a0, $zero, 0x40 +/* EC226C 8024006C AE020000 */ sw $v0, ($s0) +/* EC2270 80240070 0000182D */ daddu $v1, $zero, $zero +/* EC2274 80240074 0040282D */ daddu $a1, $v0, $zero +/* EC2278 80240078 0220202D */ daddu $a0, $s1, $zero +.L8024007C: +/* EC227C 8024007C 8C820084 */ lw $v0, 0x84($a0) +/* EC2280 80240080 24840004 */ addiu $a0, $a0, 4 +/* EC2284 80240084 24630001 */ addiu $v1, $v1, 1 +/* EC2288 80240088 ACA20000 */ sw $v0, ($a1) +/* EC228C 8024008C 28620010 */ slti $v0, $v1, 0x10 +/* EC2290 80240090 1440FFFA */ bnez $v0, .L8024007C +/* EC2294 80240094 24A50004 */ addiu $a1, $a1, 4 +/* EC2298 80240098 08090037 */ j .L802400DC +/* EC229C 8024009C 00000000 */ nop +.L802400A0: +/* EC22A0 802400A0 0000182D */ daddu $v1, $zero, $zero +/* EC22A4 802400A4 0040282D */ daddu $a1, $v0, $zero +/* EC22A8 802400A8 0220202D */ daddu $a0, $s1, $zero +.L802400AC: +/* EC22AC 802400AC 8CA20000 */ lw $v0, ($a1) +/* EC22B0 802400B0 24A50004 */ addiu $a1, $a1, 4 +/* EC22B4 802400B4 24630001 */ addiu $v1, $v1, 1 +/* EC22B8 802400B8 AC820084 */ sw $v0, 0x84($a0) +/* EC22BC 802400BC 28620010 */ slti $v0, $v1, 0x10 +/* EC22C0 802400C0 1440FFFA */ bnez $v0, .L802400AC +/* EC22C4 802400C4 24840004 */ addiu $a0, $a0, 4 +/* EC22C8 802400C8 3C108024 */ lui $s0, %hi(D_80240F28) +/* EC22CC 802400CC 26100F28 */ addiu $s0, $s0, %lo(D_80240F28) +/* EC22D0 802400D0 0C00B007 */ jal func_8002C01C +/* EC22D4 802400D4 8E040000 */ lw $a0, ($s0) +/* EC22D8 802400D8 AE000000 */ sw $zero, ($s0) +.L802400DC: +/* EC22DC 802400DC 8FBF0018 */ lw $ra, 0x18($sp) +/* EC22E0 802400E0 8FB10014 */ lw $s1, 0x14($sp) +/* EC22E4 802400E4 8FB00010 */ lw $s0, 0x10($sp) +/* EC22E8 802400E8 24020002 */ addiu $v0, $zero, 2 +/* EC22EC 802400EC 03E00008 */ jr $ra +/* EC22F0 802400F0 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EC2240/func_802400F4_EC22F4.s b/asm/nonmatchings/code_EC2240/func_802400F4_EC22F4.s new file mode 100644 index 0000000000..880ec5c595 --- /dev/null +++ b/asm/nonmatchings/code_EC2240/func_802400F4_EC22F4.s @@ -0,0 +1,29 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802400F4_EC22F4 +/* EC22F4 802400F4 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EC22F8 802400F8 AFB00010 */ sw $s0, 0x10($sp) +/* EC22FC 802400FC 0080802D */ daddu $s0, $a0, $zero +/* EC2300 80240100 AFBF0018 */ sw $ra, 0x18($sp) +/* EC2304 80240104 AFB10014 */ sw $s1, 0x14($sp) +/* EC2308 80240108 8E02000C */ lw $v0, 0xc($s0) +/* EC230C 8024010C 8C510000 */ lw $s1, ($v0) +/* EC2310 80240110 0C0B53A3 */ jal func_802D4E8C +/* EC2314 80240114 0220282D */ daddu $a1, $s1, $zero +/* EC2318 80240118 3C03FFF0 */ lui $v1, 0xfff0 +/* EC231C 8024011C 3463FFFF */ ori $v1, $v1, 0xffff +/* EC2320 80240120 0200202D */ daddu $a0, $s0, $zero +/* EC2324 80240124 00431024 */ and $v0, $v0, $v1 +/* EC2328 80240128 00021140 */ sll $v0, $v0, 5 +/* EC232C 8024012C 3C068009 */ lui $a2, %hi(D_8008D2C0) +/* EC2330 80240130 00C23021 */ addu $a2, $a2, $v0 +/* EC2334 80240134 8CC6D2C0 */ lw $a2, %lo(D_8008D2C0)($a2) +/* EC2338 80240138 0C0B551A */ jal func_802D5468 +/* EC233C 8024013C 0220282D */ daddu $a1, $s1, $zero +/* EC2340 80240140 8FBF0018 */ lw $ra, 0x18($sp) +/* EC2344 80240144 8FB10014 */ lw $s1, 0x14($sp) +/* EC2348 80240148 8FB00010 */ lw $s0, 0x10($sp) +/* EC234C 8024014C 24020002 */ addiu $v0, $zero, 2 +/* EC2350 80240150 03E00008 */ jr $ra +/* EC2354 80240154 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EC2240/func_80240158_EC2358.s b/asm/nonmatchings/code_EC2240/func_80240158_EC2358.s new file mode 100644 index 0000000000..8c13cfab9c --- /dev/null +++ b/asm/nonmatchings/code_EC2240/func_80240158_EC2358.s @@ -0,0 +1,188 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240158_EC2358 +/* EC2358 80240158 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EC235C 8024015C AFBF0020 */ sw $ra, 0x20($sp) +/* EC2360 80240160 AFB1001C */ sw $s1, 0x1c($sp) +/* EC2364 80240164 AFB00018 */ sw $s0, 0x18($sp) +/* EC2368 80240168 F7BA0040 */ sdc1 $f26, 0x40($sp) +/* EC236C 8024016C F7B80038 */ sdc1 $f24, 0x38($sp) +/* EC2370 80240170 F7B60030 */ sdc1 $f22, 0x30($sp) +/* EC2374 80240174 F7B40028 */ sdc1 $f20, 0x28($sp) +/* EC2378 80240178 8C910148 */ lw $s1, 0x148($a0) +/* EC237C 8024017C 0C00F92F */ jal func_8003E4BC +/* EC2380 80240180 86240008 */ lh $a0, 8($s1) +/* EC2384 80240184 3C038011 */ lui $v1, %hi(D_80117578) +/* EC2388 80240188 24637578 */ addiu $v1, $v1, %lo(D_80117578) +/* EC238C 8024018C 0040802D */ daddu $s0, $v0, $zero +/* EC2390 80240190 3C01C352 */ lui $at, 0xc352 +/* EC2394 80240194 4481B000 */ mtc1 $at, $f22 +/* EC2398 80240198 3C01C337 */ lui $at, 0xc337 +/* EC239C 8024019C 4481C000 */ mtc1 $at, $f24 +/* EC23A0 802401A0 8C660028 */ lw $a2, 0x28($v1) +/* EC23A4 802401A4 8C670030 */ lw $a3, 0x30($v1) +/* EC23A8 802401A8 3C014334 */ lui $at, 0x4334 +/* EC23AC 802401AC 4481D000 */ mtc1 $at, $f26 +/* EC23B0 802401B0 4600B306 */ mov.s $f12, $f22 +/* EC23B4 802401B4 0C00ABDC */ jal fio_validate_header_checksums +/* EC23B8 802401B8 4600C386 */ mov.s $f14, $f24 +/* EC23BC 802401BC 0C00AB85 */ jal func_8002AE14 +/* EC23C0 802401C0 461A0300 */ add.s $f12, $f0, $f26 +/* EC23C4 802401C4 27A40010 */ addiu $a0, $sp, 0x10 +/* EC23C8 802401C8 3C064238 */ lui $a2, 0x4238 +/* EC23CC 802401CC 44070000 */ mfc1 $a3, $f0 +/* EC23D0 802401D0 27A50014 */ addiu $a1, $sp, 0x14 +/* EC23D4 802401D4 E7B60010 */ swc1 $f22, 0x10($sp) +/* EC23D8 802401D8 0C00ACA3 */ jal func_8002B28C +/* EC23DC 802401DC E7B80014 */ swc1 $f24, 0x14($sp) +/* EC23E0 802401E0 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EC23E4 802401E4 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EC23E8 802401E8 8FA60010 */ lw $a2, 0x10($sp) +/* EC23EC 802401EC 0C00AC71 */ jal func_8002B1C4 +/* EC23F0 802401F0 8FA70014 */ lw $a3, 0x14($sp) +/* EC23F4 802401F4 3C014000 */ lui $at, 0x4000 +/* EC23F8 802401F8 44811800 */ mtc1 $at, $f3 +/* EC23FC 802401FC 44801000 */ mtc1 $zero, $f2 +/* EC2400 80240200 46000121 */ cvt.d.s $f4, $f0 +/* EC2404 80240204 4624103C */ c.lt.d $f2, $f4 +/* EC2408 80240208 00000000 */ nop +/* EC240C 8024020C 45000058 */ bc1f .L80240370 +/* EC2410 80240210 4600B306 */ mov.s $f12, $f22 +/* EC2414 80240214 8E060038 */ lw $a2, 0x38($s0) +/* EC2418 80240218 8E070040 */ lw $a3, 0x40($s0) +/* EC241C 8024021C 0C00ABDC */ jal fio_validate_header_checksums +/* EC2420 80240220 4600C386 */ mov.s $f14, $f24 +/* EC2424 80240224 0C00AB85 */ jal func_8002AE14 +/* EC2428 80240228 46000306 */ mov.s $f12, $f0 +/* EC242C 8024022C 4600B306 */ mov.s $f12, $f22 +/* EC2430 80240230 4600C386 */ mov.s $f14, $f24 +/* EC2434 80240234 8FA60010 */ lw $a2, 0x10($sp) +/* EC2438 80240238 8FA70014 */ lw $a3, 0x14($sp) +/* EC243C 8024023C 0C00ABDC */ jal fio_validate_header_checksums +/* EC2440 80240240 46000506 */ mov.s $f20, $f0 +/* EC2444 80240244 0C00AB85 */ jal func_8002AE14 +/* EC2448 80240248 46000306 */ mov.s $f12, $f0 +/* EC244C 8024024C 4600A101 */ sub.s $f4, $f20, $f0 +/* EC2450 80240250 4600218D */ trunc.w.s $f6, $f4 +/* EC2454 80240254 44023000 */ mfc1 $v0, $f6 +/* EC2458 80240258 00000000 */ nop +/* EC245C 8024025C 04420001 */ bltzl $v0, .L80240264 +/* EC2460 80240260 00021023 */ negu $v0, $v0 +.L80240264: +/* EC2464 80240264 28420015 */ slti $v0, $v0, 0x15 +/* EC2468 80240268 14400032 */ bnez $v0, .L80240334 +/* EC246C 8024026C 00000000 */ nop +/* EC2470 80240270 4604D03E */ c.le.s $f26, $f4 +/* EC2474 80240274 00000000 */ nop +/* EC2478 80240278 45000005 */ bc1f .L80240290 +/* EC247C 8024027C 46002086 */ mov.s $f2, $f4 +/* EC2480 80240280 3C0143B4 */ lui $at, 0x43b4 +/* EC2484 80240284 44810000 */ mtc1 $at, $f0 +/* EC2488 80240288 00000000 */ nop +/* EC248C 8024028C 46002081 */ sub.s $f2, $f4, $f0 +.L80240290: +/* EC2490 80240290 3C01C334 */ lui $at, 0xc334 +/* EC2494 80240294 44810000 */ mtc1 $at, $f0 +/* EC2498 80240298 00000000 */ nop +/* EC249C 8024029C 4600103E */ c.le.s $f2, $f0 +/* EC24A0 802402A0 00000000 */ nop +/* EC24A4 802402A4 45000005 */ bc1f .L802402BC +/* EC24A8 802402A8 00000000 */ nop +/* EC24AC 802402AC 3C0143B4 */ lui $at, 0x43b4 +/* EC24B0 802402B0 44810000 */ mtc1 $at, $f0 +/* EC24B4 802402B4 00000000 */ nop +/* EC24B8 802402B8 46001080 */ add.s $f2, $f2, $f0 +.L802402BC: +/* EC24BC 802402BC 46022032 */ c.eq.s $f4, $f2 +/* EC24C0 802402C0 00000000 */ nop +/* EC24C4 802402C4 45000018 */ bc1f .L80240328 +/* EC24C8 802402C8 00000000 */ nop +/* EC24CC 802402CC 44800000 */ mtc1 $zero, $f0 +/* EC24D0 802402D0 E7B60010 */ swc1 $f22, 0x10($sp) +/* EC24D4 802402D4 4604003E */ c.le.s $f0, $f4 +/* EC24D8 802402D8 00000000 */ nop +/* EC24DC 802402DC 45000005 */ bc1f .L802402F4 +/* EC24E0 802402E0 E7B80014 */ swc1 $f24, 0x14($sp) +/* EC24E4 802402E4 3C0141A0 */ lui $at, 0x41a0 +/* EC24E8 802402E8 44816000 */ mtc1 $at, $f12 +/* EC24EC 802402EC 080900C1 */ j .L80240304 +/* EC24F0 802402F0 460CA301 */ sub.s $f12, $f20, $f12 +.L802402F4: +/* EC24F4 802402F4 3C0141A0 */ lui $at, 0x41a0 +/* EC24F8 802402F8 44816000 */ mtc1 $at, $f12 +/* EC24FC 802402FC 00000000 */ nop +/* EC2500 80240300 460CA300 */ add.s $f12, $f20, $f12 +.L80240304: +/* EC2504 80240304 0C00AB85 */ jal func_8002AE14 +/* EC2508 80240308 00000000 */ nop +/* EC250C 8024030C 27A40010 */ addiu $a0, $sp, 0x10 +/* EC2510 80240310 3C064238 */ lui $a2, 0x4238 +/* EC2514 80240314 44070000 */ mfc1 $a3, $f0 +/* EC2518 80240318 0C00ACA3 */ jal func_8002B28C +/* EC251C 8024031C 27A50014 */ addiu $a1, $sp, 0x14 +/* EC2520 80240320 080900CD */ j .L80240334 +/* EC2524 80240324 00000000 */ nop +.L80240328: +/* EC2528 80240328 3C048024 */ lui $a0, %hi(D_80244F88) +/* EC252C 8024032C 0C00973F */ jal func_80025CFC +/* EC2530 80240330 24844F88 */ addiu $a0, $a0, %lo(D_80244F88) +.L80240334: +/* EC2534 80240334 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EC2538 80240338 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EC253C 8024033C 8FA60010 */ lw $a2, 0x10($sp) +/* EC2540 80240340 8E2200CC */ lw $v0, 0xcc($s1) +/* EC2544 80240344 8FA70014 */ lw $a3, 0x14($sp) +/* EC2548 80240348 8C420008 */ lw $v0, 8($v0) +/* EC254C 8024034C 0C00ABDC */ jal fio_validate_header_checksums +/* EC2550 80240350 AE020028 */ sw $v0, 0x28($s0) +/* EC2554 80240354 3C054000 */ lui $a1, 0x4000 +/* EC2558 80240358 44060000 */ mfc1 $a2, $f0 +/* EC255C 8024035C 0200202D */ daddu $a0, $s0, $zero +/* EC2560 80240360 0C00F909 */ jal func_8003E424 +/* EC2564 80240364 AC86000C */ sw $a2, 0xc($a0) +/* EC2568 80240368 080900F7 */ j .L802403DC +/* EC256C 8024036C 00000000 */ nop +.L80240370: +/* EC2570 80240370 3C018024 */ lui $at, %hi(D_80244F90) +/* EC2574 80240374 D4204F90 */ ldc1 $f0, %lo(D_80244F90)($at) +/* EC2578 80240378 4624003C */ c.lt.d $f0, $f4 +/* EC257C 8024037C 00000000 */ nop +/* EC2580 80240380 4500000F */ bc1f .L802403C0 +/* EC2584 80240384 00000000 */ nop +/* EC2588 80240388 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EC258C 8024038C C60E0040 */ lwc1 $f14, 0x40($s0) +/* EC2590 80240390 8FA60010 */ lw $a2, 0x10($sp) +/* EC2594 80240394 0C00ABDC */ jal fio_validate_header_checksums +/* EC2598 80240398 8FA70014 */ lw $a3, 0x14($sp) +/* EC259C 8024039C C7A20010 */ lwc1 $f2, 0x10($sp) +/* EC25A0 802403A0 C7A40014 */ lwc1 $f4, 0x14($sp) +/* EC25A4 802403A4 E600000C */ swc1 $f0, 0xc($s0) +/* EC25A8 802403A8 E6020038 */ swc1 $f2, 0x38($s0) +/* EC25AC 802403AC E6040040 */ swc1 $f4, 0x40($s0) +/* EC25B0 802403B0 8E2200CC */ lw $v0, 0xcc($s1) +/* EC25B4 802403B4 8C420004 */ lw $v0, 4($v0) +/* EC25B8 802403B8 080900F7 */ j .L802403DC +/* EC25BC 802403BC AE020028 */ sw $v0, 0x28($s0) +.L802403C0: +/* EC25C0 802403C0 C7A00010 */ lwc1 $f0, 0x10($sp) +/* EC25C4 802403C4 C7A20014 */ lwc1 $f2, 0x14($sp) +/* EC25C8 802403C8 E6000038 */ swc1 $f0, 0x38($s0) +/* EC25CC 802403CC E6020040 */ swc1 $f2, 0x40($s0) +/* EC25D0 802403D0 8E2200CC */ lw $v0, 0xcc($s1) +/* EC25D4 802403D4 8C420000 */ lw $v0, ($v0) +/* EC25D8 802403D8 AE020028 */ sw $v0, 0x28($s0) +.L802403DC: +/* EC25DC 802403DC 8FBF0020 */ lw $ra, 0x20($sp) +/* EC25E0 802403E0 8FB1001C */ lw $s1, 0x1c($sp) +/* EC25E4 802403E4 8FB00018 */ lw $s0, 0x18($sp) +/* EC25E8 802403E8 D7BA0040 */ ldc1 $f26, 0x40($sp) +/* EC25EC 802403EC D7B80038 */ ldc1 $f24, 0x38($sp) +/* EC25F0 802403F0 D7B60030 */ ldc1 $f22, 0x30($sp) +/* EC25F4 802403F4 D7B40028 */ ldc1 $f20, 0x28($sp) +/* EC25F8 802403F8 0000102D */ daddu $v0, $zero, $zero +/* EC25FC 802403FC 03E00008 */ jr $ra +/* EC2600 80240400 27BD0048 */ addiu $sp, $sp, 0x48 +/* EC2604 80240404 00000000 */ nop +/* EC2608 80240408 00000000 */ nop +/* EC260C 8024040C 00000000 */ nop diff --git a/asm/nonmatchings/code_EC2610/func_80240410_EC2610.s b/asm/nonmatchings/code_EC2610/func_80240410_EC2610.s new file mode 100644 index 0000000000..44e7bfbd73 --- /dev/null +++ b/asm/nonmatchings/code_EC2610/func_80240410_EC2610.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240410_EC2610 +/* EC2610 80240410 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EC2614 80240414 F7B40018 */ sdc1 $f20, 0x18($sp) +/* EC2618 80240418 4485A000 */ mtc1 $a1, $f20 +/* EC261C 8024041C F7B60020 */ sdc1 $f22, 0x20($sp) +/* EC2620 80240420 4486B000 */ mtc1 $a2, $f22 +/* EC2624 80240424 AFB00010 */ sw $s0, 0x10($sp) +/* EC2628 80240428 F7B80028 */ sdc1 $f24, 0x28($sp) +/* EC262C 8024042C 4487C000 */ mtc1 $a3, $f24 +/* EC2630 80240430 AFBF0014 */ sw $ra, 0x14($sp) +/* EC2634 80240434 0C01B198 */ jal osGetCause +/* EC2638 80240438 0080802D */ daddu $s0, $a0, $zero +/* EC263C 8024043C 4616A582 */ mul.s $f22, $f20, $f22 +/* EC2640 80240440 00000000 */ nop +/* EC2644 80240444 4618A502 */ mul.s $f20, $f20, $f24 +/* EC2648 80240448 00000000 */ nop +/* EC264C 8024044C 3C013F80 */ lui $at, 0x3f80 +/* EC2650 80240450 44810000 */ mtc1 $at, $f0 +/* EC2654 80240454 00000000 */ nop +/* EC2658 80240458 E6000014 */ swc1 $f0, 0x14($s0) +/* EC265C 8024045C E6160010 */ swc1 $f22, 0x10($s0) +/* EC2660 80240460 E6140018 */ swc1 $f20, 0x18($s0) +/* EC2664 80240464 8FBF0014 */ lw $ra, 0x14($sp) +/* EC2668 80240468 8FB00010 */ lw $s0, 0x10($sp) +/* EC266C 8024046C D7B80028 */ ldc1 $f24, 0x28($sp) +/* EC2670 80240470 D7B60020 */ ldc1 $f22, 0x20($sp) +/* EC2674 80240474 D7B40018 */ ldc1 $f20, 0x18($sp) +/* EC2678 80240478 03E00008 */ jr $ra +/* EC267C 8024047C 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_EC2610/func_80240480_EC2680.s b/asm/nonmatchings/code_EC2610/func_80240480_EC2680.s new file mode 100644 index 0000000000..fec61707e1 --- /dev/null +++ b/asm/nonmatchings/code_EC2610/func_80240480_EC2680.s @@ -0,0 +1,122 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240480_EC2680 +/* EC2680 80240480 27BDFF78 */ addiu $sp, $sp, -0x88 +/* EC2684 80240484 AFB10054 */ sw $s1, 0x54($sp) +/* EC2688 80240488 0080882D */ daddu $s1, $a0, $zero +/* EC268C 8024048C AFBF005C */ sw $ra, 0x5c($sp) +/* EC2690 80240490 AFB20058 */ sw $s2, 0x58($sp) +/* EC2694 80240494 AFB00050 */ sw $s0, 0x50($sp) +/* EC2698 80240498 F7BC0080 */ sdc1 $f28, 0x80($sp) +/* EC269C 8024049C F7BA0078 */ sdc1 $f26, 0x78($sp) +/* EC26A0 802404A0 F7B80070 */ sdc1 $f24, 0x70($sp) +/* EC26A4 802404A4 F7B60068 */ sdc1 $f22, 0x68($sp) +/* EC26A8 802404A8 F7B40060 */ sdc1 $f20, 0x60($sp) +/* EC26AC 802404AC 8E30000C */ lw $s0, 0xc($s1) +/* EC26B0 802404B0 8E050000 */ lw $a1, ($s0) +/* EC26B4 802404B4 0C0B53A3 */ jal func_802D4E8C +/* EC26B8 802404B8 26100004 */ addiu $s0, $s0, 4 +/* EC26BC 802404BC 0C04949C */ jal func_80125270 +/* EC26C0 802404C0 0040202D */ daddu $a0, $v0, $zero +/* EC26C4 802404C4 8E050000 */ lw $a1, ($s0) +/* EC26C8 802404C8 26100004 */ addiu $s0, $s0, 4 +/* EC26CC 802404CC 0220202D */ daddu $a0, $s1, $zero +/* EC26D0 802404D0 0C0B55FF */ jal func_802D57FC +/* EC26D4 802404D4 0040902D */ daddu $s2, $v0, $zero +/* EC26D8 802404D8 8E050000 */ lw $a1, ($s0) +/* EC26DC 802404DC 26100004 */ addiu $s0, $s0, 4 +/* EC26E0 802404E0 0220202D */ daddu $a0, $s1, $zero +/* EC26E4 802404E4 0C0B55FF */ jal func_802D57FC +/* EC26E8 802404E8 46000706 */ mov.s $f28, $f0 +/* EC26EC 802404EC 8E050000 */ lw $a1, ($s0) +/* EC26F0 802404F0 26100004 */ addiu $s0, $s0, 4 +/* EC26F4 802404F4 0220202D */ daddu $a0, $s1, $zero +/* EC26F8 802404F8 0C0B55FF */ jal func_802D57FC +/* EC26FC 802404FC 46000686 */ mov.s $f26, $f0 +/* EC2700 80240500 0220202D */ daddu $a0, $s1, $zero +/* EC2704 80240504 8E050000 */ lw $a1, ($s0) +/* EC2708 80240508 0C0B55FF */ jal func_802D57FC +/* EC270C 8024050C 46000586 */ mov.s $f22, $f0 +/* EC2710 80240510 0240202D */ daddu $a0, $s2, $zero +/* EC2714 80240514 0C0493D1 */ jal func_80124F44 +/* EC2718 80240518 46000606 */ mov.s $f24, $f0 +/* EC271C 8024051C 0040882D */ daddu $s1, $v0, $zero +/* EC2720 80240520 96220000 */ lhu $v0, ($s1) +/* EC2724 80240524 30420400 */ andi $v0, $v0, 0x400 +/* EC2728 80240528 1440001E */ bnez $v0, .L802405A4 +/* EC272C 8024052C 26300058 */ addiu $s0, $s1, 0x58 +/* EC2730 80240530 4480A000 */ mtc1 $zero, $f20 +/* EC2734 80240534 4406B000 */ mfc1 $a2, $f22 +/* EC2738 80240538 4405A000 */ mfc1 $a1, $f20 +/* EC273C 8024053C 4407A000 */ mfc1 $a3, $f20 +/* EC2740 80240540 0C01B2B0 */ jal func_8006CAC0 +/* EC2744 80240544 0200202D */ daddu $a0, $s0, $zero +/* EC2748 80240548 4405E000 */ mfc1 $a1, $f28 +/* EC274C 8024054C 4406D000 */ mfc1 $a2, $f26 +/* EC2750 80240550 4407C000 */ mfc1 $a3, $f24 +/* EC2754 80240554 0C090104 */ jal func_80240410_EC2610 +/* EC2758 80240558 27A40010 */ addiu $a0, $sp, 0x10 +/* EC275C 8024055C 27A40010 */ addiu $a0, $sp, 0x10 +/* EC2760 80240560 0200282D */ daddu $a1, $s0, $zero +/* EC2764 80240564 0C01B1F0 */ jal osSiRawReadIo +/* EC2768 80240568 0200302D */ daddu $a2, $s0, $zero +/* EC276C 8024056C 27A40010 */ addiu $a0, $sp, 0x10 +/* EC2770 80240570 4600B587 */ neg.s $f22, $f22 +/* EC2774 80240574 4405A000 */ mfc1 $a1, $f20 +/* EC2778 80240578 4406B000 */ mfc1 $a2, $f22 +/* EC277C 8024057C 0C01B2B0 */ jal func_8006CAC0 +/* EC2780 80240580 00A0382D */ daddu $a3, $a1, $zero +/* EC2784 80240584 27A40010 */ addiu $a0, $sp, 0x10 +/* EC2788 80240588 0200282D */ daddu $a1, $s0, $zero +/* EC278C 8024058C 0C01B1F0 */ jal osSiRawReadIo +/* EC2790 80240590 00A0302D */ daddu $a2, $a1, $zero +/* EC2794 80240594 96220000 */ lhu $v0, ($s1) +/* EC2798 80240598 34421400 */ ori $v0, $v0, 0x1400 +/* EC279C 8024059C 08090187 */ j .L8024061C +/* EC27A0 802405A0 A6220000 */ sh $v0, ($s1) +.L802405A4: +/* EC27A4 802405A4 4480A000 */ mtc1 $zero, $f20 +/* EC27A8 802405A8 4406B000 */ mfc1 $a2, $f22 +/* EC27AC 802405AC 4405A000 */ mfc1 $a1, $f20 +/* EC27B0 802405B0 4407A000 */ mfc1 $a3, $f20 +/* EC27B4 802405B4 0C01B2B0 */ jal func_8006CAC0 +/* EC27B8 802405B8 27A40010 */ addiu $a0, $sp, 0x10 +/* EC27BC 802405BC 27A40010 */ addiu $a0, $sp, 0x10 +/* EC27C0 802405C0 26300058 */ addiu $s0, $s1, 0x58 +/* EC27C4 802405C4 0200282D */ daddu $a1, $s0, $zero +/* EC27C8 802405C8 0C01B1F0 */ jal osSiRawReadIo +/* EC27CC 802405CC 0200302D */ daddu $a2, $s0, $zero +/* EC27D0 802405D0 4405E000 */ mfc1 $a1, $f28 +/* EC27D4 802405D4 4406D000 */ mfc1 $a2, $f26 +/* EC27D8 802405D8 4407C000 */ mfc1 $a3, $f24 +/* EC27DC 802405DC 0C090104 */ jal func_80240410_EC2610 +/* EC27E0 802405E0 27A40010 */ addiu $a0, $sp, 0x10 +/* EC27E4 802405E4 27A40010 */ addiu $a0, $sp, 0x10 +/* EC27E8 802405E8 0200282D */ daddu $a1, $s0, $zero +/* EC27EC 802405EC 0C01B1F0 */ jal osSiRawReadIo +/* EC27F0 802405F0 0200302D */ daddu $a2, $s0, $zero +/* EC27F4 802405F4 27A40010 */ addiu $a0, $sp, 0x10 +/* EC27F8 802405F8 4600B587 */ neg.s $f22, $f22 +/* EC27FC 802405FC 4405A000 */ mfc1 $a1, $f20 +/* EC2800 80240600 4406B000 */ mfc1 $a2, $f22 +/* EC2804 80240604 0C01B2B0 */ jal func_8006CAC0 +/* EC2808 80240608 00A0382D */ daddu $a3, $a1, $zero +/* EC280C 8024060C 27A40010 */ addiu $a0, $sp, 0x10 +/* EC2810 80240610 0200282D */ daddu $a1, $s0, $zero +/* EC2814 80240614 0C01B1F0 */ jal osSiRawReadIo +/* EC2818 80240618 00A0302D */ daddu $a2, $a1, $zero +.L8024061C: +/* EC281C 8024061C 8FBF005C */ lw $ra, 0x5c($sp) +/* EC2820 80240620 8FB20058 */ lw $s2, 0x58($sp) +/* EC2824 80240624 8FB10054 */ lw $s1, 0x54($sp) +/* EC2828 80240628 8FB00050 */ lw $s0, 0x50($sp) +/* EC282C 8024062C D7BC0080 */ ldc1 $f28, 0x80($sp) +/* EC2830 80240630 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* EC2834 80240634 D7B80070 */ ldc1 $f24, 0x70($sp) +/* EC2838 80240638 D7B60068 */ ldc1 $f22, 0x68($sp) +/* EC283C 8024063C D7B40060 */ ldc1 $f20, 0x60($sp) +/* EC2840 80240640 24020002 */ addiu $v0, $zero, 2 +/* EC2844 80240644 03E00008 */ jr $ra +/* EC2848 80240648 27BD0088 */ addiu $sp, $sp, 0x88 +/* EC284C 8024064C 00000000 */ nop diff --git a/asm/nonmatchings/code_EC71B0/func_80240000_EC71B0.s b/asm/nonmatchings/code_EC71B0/func_80240000_EC71B0.s new file mode 100644 index 0000000000..bbbce02e86 --- /dev/null +++ b/asm/nonmatchings/code_EC71B0/func_80240000_EC71B0.s @@ -0,0 +1,89 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EC71B0 +/* EC71B0 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EC71B4 80240004 AFB00010 */ sw $s0, 0x10($sp) +/* EC71B8 80240008 0080802D */ daddu $s0, $a0, $zero +/* EC71BC 8024000C AFBF0014 */ sw $ra, 0x14($sp) +/* EC71C0 80240010 8E0300A8 */ lw $v1, 0xa8($s0) +/* EC71C4 80240014 8E020088 */ lw $v0, 0x88($s0) +/* EC71C8 80240018 00621821 */ addu $v1, $v1, $v0 +/* EC71CC 8024001C 04610004 */ bgez $v1, .L80240030 +/* EC71D0 80240020 AE0300A8 */ sw $v1, 0xa8($s0) +/* EC71D4 80240024 3C020002 */ lui $v0, 2 +/* EC71D8 80240028 08090010 */ j .L80240040 +/* EC71DC 8024002C 00621021 */ addu $v0, $v1, $v0 +.L80240030: +/* EC71E0 80240030 3C040002 */ lui $a0, 2 +/* EC71E4 80240034 0083102A */ slt $v0, $a0, $v1 +/* EC71E8 80240038 10400002 */ beqz $v0, .L80240044 +/* EC71EC 8024003C 00641023 */ subu $v0, $v1, $a0 +.L80240040: +/* EC71F0 80240040 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240044: +/* EC71F4 80240044 8E0300AC */ lw $v1, 0xac($s0) +/* EC71F8 80240048 8E02008C */ lw $v0, 0x8c($s0) +/* EC71FC 8024004C 00621821 */ addu $v1, $v1, $v0 +/* EC7200 80240050 04610004 */ bgez $v1, .L80240064 +/* EC7204 80240054 AE0300AC */ sw $v1, 0xac($s0) +/* EC7208 80240058 3C020002 */ lui $v0, 2 +/* EC720C 8024005C 0809001D */ j .L80240074 +/* EC7210 80240060 00621021 */ addu $v0, $v1, $v0 +.L80240064: +/* EC7214 80240064 3C040002 */ lui $a0, 2 +/* EC7218 80240068 0083102A */ slt $v0, $a0, $v1 +/* EC721C 8024006C 10400002 */ beqz $v0, .L80240078 +/* EC7220 80240070 00641023 */ subu $v0, $v1, $a0 +.L80240074: +/* EC7224 80240074 AE0200AC */ sw $v0, 0xac($s0) +.L80240078: +/* EC7228 80240078 8E0300B0 */ lw $v1, 0xb0($s0) +/* EC722C 8024007C 8E020090 */ lw $v0, 0x90($s0) +/* EC7230 80240080 00621821 */ addu $v1, $v1, $v0 +/* EC7234 80240084 04610004 */ bgez $v1, .L80240098 +/* EC7238 80240088 AE0300B0 */ sw $v1, 0xb0($s0) +/* EC723C 8024008C 3C020002 */ lui $v0, 2 +/* EC7240 80240090 0809002A */ j .L802400A8 +/* EC7244 80240094 00621021 */ addu $v0, $v1, $v0 +.L80240098: +/* EC7248 80240098 3C040002 */ lui $a0, 2 +/* EC724C 8024009C 0083102A */ slt $v0, $a0, $v1 +/* EC7250 802400A0 10400002 */ beqz $v0, .L802400AC +/* EC7254 802400A4 00641023 */ subu $v0, $v1, $a0 +.L802400A8: +/* EC7258 802400A8 AE0200B0 */ sw $v0, 0xb0($s0) +.L802400AC: +/* EC725C 802400AC 8E0300B4 */ lw $v1, 0xb4($s0) +/* EC7260 802400B0 8E020094 */ lw $v0, 0x94($s0) +/* EC7264 802400B4 00621821 */ addu $v1, $v1, $v0 +/* EC7268 802400B8 04610004 */ bgez $v1, .L802400CC +/* EC726C 802400BC AE0300B4 */ sw $v1, 0xb4($s0) +/* EC7270 802400C0 3C020002 */ lui $v0, 2 +/* EC7274 802400C4 08090037 */ j .L802400DC +/* EC7278 802400C8 00621021 */ addu $v0, $v1, $v0 +.L802400CC: +/* EC727C 802400CC 3C040002 */ lui $a0, 2 +/* EC7280 802400D0 0083102A */ slt $v0, $a0, $v1 +/* EC7284 802400D4 10400002 */ beqz $v0, .L802400E0 +/* EC7288 802400D8 00641023 */ subu $v0, $v1, $a0 +.L802400DC: +/* EC728C 802400DC AE0200B4 */ sw $v0, 0xb4($s0) +.L802400E0: +/* EC7290 802400E0 8E040084 */ lw $a0, 0x84($s0) +/* EC7294 802400E4 0C049819 */ jal func_80126064 +/* EC7298 802400E8 8E0500A8 */ lw $a1, 0xa8($s0) +/* EC729C 802400EC 8E040084 */ lw $a0, 0x84($s0) +/* EC72A0 802400F0 0C04981F */ jal func_8012607C +/* EC72A4 802400F4 8E0500AC */ lw $a1, 0xac($s0) +/* EC72A8 802400F8 8E040084 */ lw $a0, 0x84($s0) +/* EC72AC 802400FC 0C049825 */ jal func_80126094 +/* EC72B0 80240100 8E0500B0 */ lw $a1, 0xb0($s0) +/* EC72B4 80240104 8E040084 */ lw $a0, 0x84($s0) +/* EC72B8 80240108 0C04982B */ jal func_801260AC +/* EC72BC 8024010C 8E0500B4 */ lw $a1, 0xb4($s0) +/* EC72C0 80240110 8FBF0014 */ lw $ra, 0x14($sp) +/* EC72C4 80240114 8FB00010 */ lw $s0, 0x10($sp) +/* EC72C8 80240118 0000102D */ daddu $v0, $zero, $zero +/* EC72CC 8024011C 03E00008 */ jr $ra +/* EC72D0 80240120 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EC71B0/func_80240124_EC72D4.s b/asm/nonmatchings/code_EC71B0/func_80240124_EC72D4.s new file mode 100644 index 0000000000..8860dfa860 --- /dev/null +++ b/asm/nonmatchings/code_EC71B0/func_80240124_EC72D4.s @@ -0,0 +1,143 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240124_EC72D4 +/* EC72D4 80240124 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EC72D8 80240128 AFB00010 */ sw $s0, 0x10($sp) +/* EC72DC 8024012C 0080802D */ daddu $s0, $a0, $zero +/* EC72E0 80240130 10A00005 */ beqz $a1, .L80240148 +/* EC72E4 80240134 AFBF0014 */ sw $ra, 0x14($sp) +/* EC72E8 80240138 AE000070 */ sw $zero, 0x70($s0) +/* EC72EC 8024013C AE000074 */ sw $zero, 0x74($s0) +/* EC72F0 80240140 AE000078 */ sw $zero, 0x78($s0) +/* EC72F4 80240144 AE00007C */ sw $zero, 0x7c($s0) +.L80240148: +/* EC72F8 80240148 8E020070 */ lw $v0, 0x70($s0) +/* EC72FC 8024014C 1440000E */ bnez $v0, .L80240188 +/* EC7300 80240150 00000000 */ nop +/* EC7304 80240154 8E0300A8 */ lw $v1, 0xa8($s0) +/* EC7308 80240158 8E020088 */ lw $v0, 0x88($s0) +/* EC730C 8024015C 00621821 */ addu $v1, $v1, $v0 +/* EC7310 80240160 04610004 */ bgez $v1, .L80240174 +/* EC7314 80240164 AE0300A8 */ sw $v1, 0xa8($s0) +/* EC7318 80240168 3C020002 */ lui $v0, 2 +/* EC731C 8024016C 08090061 */ j .L80240184 +/* EC7320 80240170 00621021 */ addu $v0, $v1, $v0 +.L80240174: +/* EC7324 80240174 3C040002 */ lui $a0, 2 +/* EC7328 80240178 0083102A */ slt $v0, $a0, $v1 +/* EC732C 8024017C 10400002 */ beqz $v0, .L80240188 +/* EC7330 80240180 00641023 */ subu $v0, $v1, $a0 +.L80240184: +/* EC7334 80240184 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240188: +/* EC7338 80240188 8E020074 */ lw $v0, 0x74($s0) +/* EC733C 8024018C 1440000E */ bnez $v0, .L802401C8 +/* EC7340 80240190 00000000 */ nop +/* EC7344 80240194 8E0300AC */ lw $v1, 0xac($s0) +/* EC7348 80240198 8E02008C */ lw $v0, 0x8c($s0) +/* EC734C 8024019C 00621821 */ addu $v1, $v1, $v0 +/* EC7350 802401A0 04610004 */ bgez $v1, .L802401B4 +/* EC7354 802401A4 AE0300AC */ sw $v1, 0xac($s0) +/* EC7358 802401A8 3C020002 */ lui $v0, 2 +/* EC735C 802401AC 08090071 */ j .L802401C4 +/* EC7360 802401B0 00621021 */ addu $v0, $v1, $v0 +.L802401B4: +/* EC7364 802401B4 3C040002 */ lui $a0, 2 +/* EC7368 802401B8 0083102A */ slt $v0, $a0, $v1 +/* EC736C 802401BC 10400002 */ beqz $v0, .L802401C8 +/* EC7370 802401C0 00641023 */ subu $v0, $v1, $a0 +.L802401C4: +/* EC7374 802401C4 AE0200AC */ sw $v0, 0xac($s0) +.L802401C8: +/* EC7378 802401C8 8E020078 */ lw $v0, 0x78($s0) +/* EC737C 802401CC 1440000E */ bnez $v0, .L80240208 +/* EC7380 802401D0 00000000 */ nop +/* EC7384 802401D4 8E0300B0 */ lw $v1, 0xb0($s0) +/* EC7388 802401D8 8E020090 */ lw $v0, 0x90($s0) +/* EC738C 802401DC 00621821 */ addu $v1, $v1, $v0 +/* EC7390 802401E0 04610004 */ bgez $v1, .L802401F4 +/* EC7394 802401E4 AE0300B0 */ sw $v1, 0xb0($s0) +/* EC7398 802401E8 3C020002 */ lui $v0, 2 +/* EC739C 802401EC 08090081 */ j .L80240204 +/* EC73A0 802401F0 00621021 */ addu $v0, $v1, $v0 +.L802401F4: +/* EC73A4 802401F4 3C040002 */ lui $a0, 2 +/* EC73A8 802401F8 0083102A */ slt $v0, $a0, $v1 +/* EC73AC 802401FC 10400002 */ beqz $v0, .L80240208 +/* EC73B0 80240200 00641023 */ subu $v0, $v1, $a0 +.L80240204: +/* EC73B4 80240204 AE0200B0 */ sw $v0, 0xb0($s0) +.L80240208: +/* EC73B8 80240208 8E02007C */ lw $v0, 0x7c($s0) +/* EC73BC 8024020C 1440000E */ bnez $v0, .L80240248 +/* EC73C0 80240210 00000000 */ nop +/* EC73C4 80240214 8E0300B4 */ lw $v1, 0xb4($s0) +/* EC73C8 80240218 8E020094 */ lw $v0, 0x94($s0) +/* EC73CC 8024021C 00621821 */ addu $v1, $v1, $v0 +/* EC73D0 80240220 04610004 */ bgez $v1, .L80240234 +/* EC73D4 80240224 AE0300B4 */ sw $v1, 0xb4($s0) +/* EC73D8 80240228 3C020002 */ lui $v0, 2 +/* EC73DC 8024022C 08090091 */ j .L80240244 +/* EC73E0 80240230 00621021 */ addu $v0, $v1, $v0 +.L80240234: +/* EC73E4 80240234 3C040002 */ lui $a0, 2 +/* EC73E8 80240238 0083102A */ slt $v0, $a0, $v1 +/* EC73EC 8024023C 10400002 */ beqz $v0, .L80240248 +/* EC73F0 80240240 00641023 */ subu $v0, $v1, $a0 +.L80240244: +/* EC73F4 80240244 AE0200B4 */ sw $v0, 0xb4($s0) +.L80240248: +/* EC73F8 80240248 8E040084 */ lw $a0, 0x84($s0) +/* EC73FC 8024024C 0C049819 */ jal func_80126064 +/* EC7400 80240250 8E0500A8 */ lw $a1, 0xa8($s0) +/* EC7404 80240254 8E040084 */ lw $a0, 0x84($s0) +/* EC7408 80240258 0C04981F */ jal func_8012607C +/* EC740C 8024025C 8E0500AC */ lw $a1, 0xac($s0) +/* EC7410 80240260 8E040084 */ lw $a0, 0x84($s0) +/* EC7414 80240264 0C049825 */ jal func_80126094 +/* EC7418 80240268 8E0500B0 */ lw $a1, 0xb0($s0) +/* EC741C 8024026C 8E040084 */ lw $a0, 0x84($s0) +/* EC7420 80240270 0C04982B */ jal func_801260AC +/* EC7424 80240274 8E0500B4 */ lw $a1, 0xb4($s0) +/* EC7428 80240278 8E020070 */ lw $v0, 0x70($s0) +/* EC742C 8024027C 8E030078 */ lw $v1, 0x78($s0) +/* EC7430 80240280 8E040098 */ lw $a0, 0x98($s0) +/* EC7434 80240284 24420001 */ addiu $v0, $v0, 1 +/* EC7438 80240288 AE020070 */ sw $v0, 0x70($s0) +/* EC743C 8024028C 8E020074 */ lw $v0, 0x74($s0) +/* EC7440 80240290 24630001 */ addiu $v1, $v1, 1 +/* EC7444 80240294 AE030078 */ sw $v1, 0x78($s0) +/* EC7448 80240298 8E030070 */ lw $v1, 0x70($s0) +/* EC744C 8024029C 24420001 */ addiu $v0, $v0, 1 +/* EC7450 802402A0 AE020074 */ sw $v0, 0x74($s0) +/* EC7454 802402A4 8E02007C */ lw $v0, 0x7c($s0) +/* EC7458 802402A8 0064182A */ slt $v1, $v1, $a0 +/* EC745C 802402AC 24420001 */ addiu $v0, $v0, 1 +/* EC7460 802402B0 14600002 */ bnez $v1, .L802402BC +/* EC7464 802402B4 AE02007C */ sw $v0, 0x7c($s0) +/* EC7468 802402B8 AE000070 */ sw $zero, 0x70($s0) +.L802402BC: +/* EC746C 802402BC 8E020074 */ lw $v0, 0x74($s0) +/* EC7470 802402C0 8E03009C */ lw $v1, 0x9c($s0) +/* EC7474 802402C4 0043102A */ slt $v0, $v0, $v1 +/* EC7478 802402C8 50400001 */ beql $v0, $zero, .L802402D0 +/* EC747C 802402CC AE000074 */ sw $zero, 0x74($s0) +.L802402D0: +/* EC7480 802402D0 8E020078 */ lw $v0, 0x78($s0) +/* EC7484 802402D4 8E0300A0 */ lw $v1, 0xa0($s0) +/* EC7488 802402D8 0043102A */ slt $v0, $v0, $v1 +/* EC748C 802402DC 50400001 */ beql $v0, $zero, .L802402E4 +/* EC7490 802402E0 AE000078 */ sw $zero, 0x78($s0) +.L802402E4: +/* EC7494 802402E4 8E02007C */ lw $v0, 0x7c($s0) +/* EC7498 802402E8 8E0300A4 */ lw $v1, 0xa4($s0) +/* EC749C 802402EC 0043102A */ slt $v0, $v0, $v1 +/* EC74A0 802402F0 50400001 */ beql $v0, $zero, .L802402F8 +/* EC74A4 802402F4 AE00007C */ sw $zero, 0x7c($s0) +.L802402F8: +/* EC74A8 802402F8 8FBF0014 */ lw $ra, 0x14($sp) +/* EC74AC 802402FC 8FB00010 */ lw $s0, 0x10($sp) +/* EC74B0 80240300 0000102D */ daddu $v0, $zero, $zero +/* EC74B4 80240304 03E00008 */ jr $ra +/* EC74B8 80240308 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EC71B0/func_8024030C_EC74BC.s b/asm/nonmatchings/code_EC71B0/func_8024030C_EC74BC.s new file mode 100644 index 0000000000..65c762411b --- /dev/null +++ b/asm/nonmatchings/code_EC71B0/func_8024030C_EC74BC.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024030C_EC74BC +/* EC74BC 8024030C 44800000 */ mtc1 $zero, $f0 +/* EC74C0 80240310 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EC74C4 80240314 44050000 */ mfc1 $a1, $f0 +/* EC74C8 80240318 0000202D */ daddu $a0, $zero, $zero +/* EC74CC 8024031C AFBF0018 */ sw $ra, 0x18($sp) +/* EC74D0 80240320 AFA00014 */ sw $zero, 0x14($sp) +/* EC74D4 80240324 E7A00010 */ swc1 $f0, 0x10($sp) +/* EC74D8 80240328 00A0302D */ daddu $a2, $a1, $zero +/* EC74DC 8024032C 0C01DEF4 */ jal func_80077BD0 +/* EC74E0 80240330 00A0382D */ daddu $a3, $a1, $zero +/* EC74E4 80240334 8FBF0018 */ lw $ra, 0x18($sp) +/* EC74E8 80240338 24020002 */ addiu $v0, $zero, 2 +/* EC74EC 8024033C 03E00008 */ jr $ra +/* EC74F0 80240340 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EC71B0/func_80240344_EC74F4.s b/asm/nonmatchings/code_EC71B0/func_80240344_EC74F4.s new file mode 100644 index 0000000000..7f9f47be72 --- /dev/null +++ b/asm/nonmatchings/code_EC71B0/func_80240344_EC74F4.s @@ -0,0 +1,43 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240344_EC74F4 +/* EC74F4 80240344 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EC74F8 80240348 24020008 */ addiu $v0, $zero, 8 +/* EC74FC 8024034C 3C014348 */ lui $at, 0x4348 +/* EC7500 80240350 44810000 */ mtc1 $at, $f0 +/* EC7504 80240354 3C0142F0 */ lui $at, 0x42f0 +/* EC7508 80240358 44811000 */ mtc1 $at, $f2 +/* EC750C 8024035C 3C014080 */ lui $at, 0x4080 +/* EC7510 80240360 44812000 */ mtc1 $at, $f4 +/* EC7514 80240364 3C05C388 */ lui $a1, 0xc388 +/* EC7518 80240368 3C0642A0 */ lui $a2, 0x42a0 +/* EC751C 8024036C 3C0741A0 */ lui $a3, 0x41a0 +/* EC7520 80240370 24040003 */ addiu $a0, $zero, 3 +/* EC7524 80240374 AFBF0028 */ sw $ra, 0x28($sp) +/* EC7528 80240378 AFA2001C */ sw $v0, 0x1c($sp) +/* EC752C 8024037C AFA00020 */ sw $zero, 0x20($sp) +/* EC7530 80240380 E7A00010 */ swc1 $f0, 0x10($sp) +/* EC7534 80240384 E7A20014 */ swc1 $f2, 0x14($sp) +/* EC7538 80240388 0C01DD74 */ jal func_800775D0 +/* EC753C 8024038C E7A40018 */ swc1 $f4, 0x18($sp) +/* EC7540 80240390 8C43000C */ lw $v1, 0xc($v0) +/* EC7544 80240394 240500F0 */ addiu $a1, $zero, 0xf0 +/* EC7548 80240398 AC650038 */ sw $a1, 0x38($v1) +/* EC754C 8024039C 8C43000C */ lw $v1, 0xc($v0) +/* EC7550 802403A0 AC65003C */ sw $a1, 0x3c($v1) +/* EC7554 802403A4 8C43000C */ lw $v1, 0xc($v0) +/* EC7558 802403A8 AC650040 */ sw $a1, 0x40($v1) +/* EC755C 802403AC 8C43000C */ lw $v1, 0xc($v0) +/* EC7560 802403B0 240400E6 */ addiu $a0, $zero, 0xe6 +/* EC7564 802403B4 AC640048 */ sw $a0, 0x48($v1) +/* EC7568 802403B8 8C43000C */ lw $v1, 0xc($v0) +/* EC756C 802403BC AC64004C */ sw $a0, 0x4c($v1) +/* EC7570 802403C0 8C43000C */ lw $v1, 0xc($v0) +/* EC7574 802403C4 AC650050 */ sw $a1, 0x50($v1) +/* EC7578 802403C8 8FBF0028 */ lw $ra, 0x28($sp) +/* EC757C 802403CC 24020002 */ addiu $v0, $zero, 2 +/* EC7580 802403D0 03E00008 */ jr $ra +/* EC7584 802403D4 27BD0030 */ addiu $sp, $sp, 0x30 +/* EC7588 802403D8 00000000 */ nop +/* EC758C 802403DC 00000000 */ nop diff --git a/asm/nonmatchings/code_EC7590/func_802403E0_EC7590.s b/asm/nonmatchings/code_EC7590/func_802403E0_EC7590.s new file mode 100644 index 0000000000..40d74a5e4c --- /dev/null +++ b/asm/nonmatchings/code_EC7590/func_802403E0_EC7590.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802403E0_EC7590 +/* EC7590 802403E0 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EC7594 802403E4 F7B40018 */ sdc1 $f20, 0x18($sp) +/* EC7598 802403E8 4485A000 */ mtc1 $a1, $f20 +/* EC759C 802403EC F7B60020 */ sdc1 $f22, 0x20($sp) +/* EC75A0 802403F0 4486B000 */ mtc1 $a2, $f22 +/* EC75A4 802403F4 AFB00010 */ sw $s0, 0x10($sp) +/* EC75A8 802403F8 F7B80028 */ sdc1 $f24, 0x28($sp) +/* EC75AC 802403FC 4487C000 */ mtc1 $a3, $f24 +/* EC75B0 80240400 AFBF0014 */ sw $ra, 0x14($sp) +/* EC75B4 80240404 0C01B198 */ jal osGetCause +/* EC75B8 80240408 0080802D */ daddu $s0, $a0, $zero +/* EC75BC 8024040C 4616A582 */ mul.s $f22, $f20, $f22 +/* EC75C0 80240410 00000000 */ nop +/* EC75C4 80240414 4618A502 */ mul.s $f20, $f20, $f24 +/* EC75C8 80240418 00000000 */ nop +/* EC75CC 8024041C 3C013F80 */ lui $at, 0x3f80 +/* EC75D0 80240420 44810000 */ mtc1 $at, $f0 +/* EC75D4 80240424 00000000 */ nop +/* EC75D8 80240428 E6000014 */ swc1 $f0, 0x14($s0) +/* EC75DC 8024042C E6160010 */ swc1 $f22, 0x10($s0) +/* EC75E0 80240430 E6140018 */ swc1 $f20, 0x18($s0) +/* EC75E4 80240434 8FBF0014 */ lw $ra, 0x14($sp) +/* EC75E8 80240438 8FB00010 */ lw $s0, 0x10($sp) +/* EC75EC 8024043C D7B80028 */ ldc1 $f24, 0x28($sp) +/* EC75F0 80240440 D7B60020 */ ldc1 $f22, 0x20($sp) +/* EC75F4 80240444 D7B40018 */ ldc1 $f20, 0x18($sp) +/* EC75F8 80240448 03E00008 */ jr $ra +/* EC75FC 8024044C 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_EC7590/func_80240450_EC7600.s b/asm/nonmatchings/code_EC7590/func_80240450_EC7600.s new file mode 100644 index 0000000000..462574a6b9 --- /dev/null +++ b/asm/nonmatchings/code_EC7590/func_80240450_EC7600.s @@ -0,0 +1,121 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240450_EC7600 +/* EC7600 80240450 27BDFF78 */ addiu $sp, $sp, -0x88 +/* EC7604 80240454 AFB10054 */ sw $s1, 0x54($sp) +/* EC7608 80240458 0080882D */ daddu $s1, $a0, $zero +/* EC760C 8024045C AFBF005C */ sw $ra, 0x5c($sp) +/* EC7610 80240460 AFB20058 */ sw $s2, 0x58($sp) +/* EC7614 80240464 AFB00050 */ sw $s0, 0x50($sp) +/* EC7618 80240468 F7BC0080 */ sdc1 $f28, 0x80($sp) +/* EC761C 8024046C F7BA0078 */ sdc1 $f26, 0x78($sp) +/* EC7620 80240470 F7B80070 */ sdc1 $f24, 0x70($sp) +/* EC7624 80240474 F7B60068 */ sdc1 $f22, 0x68($sp) +/* EC7628 80240478 F7B40060 */ sdc1 $f20, 0x60($sp) +/* EC762C 8024047C 8E30000C */ lw $s0, 0xc($s1) +/* EC7630 80240480 8E050000 */ lw $a1, ($s0) +/* EC7634 80240484 0C0B53A3 */ jal func_802D4E8C +/* EC7638 80240488 26100004 */ addiu $s0, $s0, 4 +/* EC763C 8024048C 0C04949C */ jal func_80125270 +/* EC7640 80240490 0040202D */ daddu $a0, $v0, $zero +/* EC7644 80240494 8E050000 */ lw $a1, ($s0) +/* EC7648 80240498 26100004 */ addiu $s0, $s0, 4 +/* EC764C 8024049C 0220202D */ daddu $a0, $s1, $zero +/* EC7650 802404A0 0C0B55FF */ jal func_802D57FC +/* EC7654 802404A4 0040902D */ daddu $s2, $v0, $zero +/* EC7658 802404A8 8E050000 */ lw $a1, ($s0) +/* EC765C 802404AC 26100004 */ addiu $s0, $s0, 4 +/* EC7660 802404B0 0220202D */ daddu $a0, $s1, $zero +/* EC7664 802404B4 0C0B55FF */ jal func_802D57FC +/* EC7668 802404B8 46000706 */ mov.s $f28, $f0 +/* EC766C 802404BC 8E050000 */ lw $a1, ($s0) +/* EC7670 802404C0 26100004 */ addiu $s0, $s0, 4 +/* EC7674 802404C4 0220202D */ daddu $a0, $s1, $zero +/* EC7678 802404C8 0C0B55FF */ jal func_802D57FC +/* EC767C 802404CC 46000686 */ mov.s $f26, $f0 +/* EC7680 802404D0 0220202D */ daddu $a0, $s1, $zero +/* EC7684 802404D4 8E050000 */ lw $a1, ($s0) +/* EC7688 802404D8 0C0B55FF */ jal func_802D57FC +/* EC768C 802404DC 46000586 */ mov.s $f22, $f0 +/* EC7690 802404E0 0240202D */ daddu $a0, $s2, $zero +/* EC7694 802404E4 0C0493D1 */ jal func_80124F44 +/* EC7698 802404E8 46000606 */ mov.s $f24, $f0 +/* EC769C 802404EC 0040882D */ daddu $s1, $v0, $zero +/* EC76A0 802404F0 96220000 */ lhu $v0, ($s1) +/* EC76A4 802404F4 30420400 */ andi $v0, $v0, 0x400 +/* EC76A8 802404F8 1440001E */ bnez $v0, .L80240574 +/* EC76AC 802404FC 26300058 */ addiu $s0, $s1, 0x58 +/* EC76B0 80240500 4480A000 */ mtc1 $zero, $f20 +/* EC76B4 80240504 4406B000 */ mfc1 $a2, $f22 +/* EC76B8 80240508 4405A000 */ mfc1 $a1, $f20 +/* EC76BC 8024050C 4407A000 */ mfc1 $a3, $f20 +/* EC76C0 80240510 0C01B2B0 */ jal func_8006CAC0 +/* EC76C4 80240514 0200202D */ daddu $a0, $s0, $zero +/* EC76C8 80240518 4405E000 */ mfc1 $a1, $f28 +/* EC76CC 8024051C 4406D000 */ mfc1 $a2, $f26 +/* EC76D0 80240520 4407C000 */ mfc1 $a3, $f24 +/* EC76D4 80240524 0C0900F8 */ jal func_802403E0_EC7590 +/* EC76D8 80240528 27A40010 */ addiu $a0, $sp, 0x10 +/* EC76DC 8024052C 27A40010 */ addiu $a0, $sp, 0x10 +/* EC76E0 80240530 0200282D */ daddu $a1, $s0, $zero +/* EC76E4 80240534 0C01B1F0 */ jal osSiRawReadIo +/* EC76E8 80240538 0200302D */ daddu $a2, $s0, $zero +/* EC76EC 8024053C 27A40010 */ addiu $a0, $sp, 0x10 +/* EC76F0 80240540 4600B587 */ neg.s $f22, $f22 +/* EC76F4 80240544 4405A000 */ mfc1 $a1, $f20 +/* EC76F8 80240548 4406B000 */ mfc1 $a2, $f22 +/* EC76FC 8024054C 0C01B2B0 */ jal func_8006CAC0 +/* EC7700 80240550 00A0382D */ daddu $a3, $a1, $zero +/* EC7704 80240554 27A40010 */ addiu $a0, $sp, 0x10 +/* EC7708 80240558 0200282D */ daddu $a1, $s0, $zero +/* EC770C 8024055C 0C01B1F0 */ jal osSiRawReadIo +/* EC7710 80240560 00A0302D */ daddu $a2, $a1, $zero +/* EC7714 80240564 96220000 */ lhu $v0, ($s1) +/* EC7718 80240568 34421400 */ ori $v0, $v0, 0x1400 +/* EC771C 8024056C 0809017B */ j .L802405EC +/* EC7720 80240570 A6220000 */ sh $v0, ($s1) +.L80240574: +/* EC7724 80240574 4480A000 */ mtc1 $zero, $f20 +/* EC7728 80240578 4406B000 */ mfc1 $a2, $f22 +/* EC772C 8024057C 4405A000 */ mfc1 $a1, $f20 +/* EC7730 80240580 4407A000 */ mfc1 $a3, $f20 +/* EC7734 80240584 0C01B2B0 */ jal func_8006CAC0 +/* EC7738 80240588 27A40010 */ addiu $a0, $sp, 0x10 +/* EC773C 8024058C 27A40010 */ addiu $a0, $sp, 0x10 +/* EC7740 80240590 26300058 */ addiu $s0, $s1, 0x58 +/* EC7744 80240594 0200282D */ daddu $a1, $s0, $zero +/* EC7748 80240598 0C01B1F0 */ jal osSiRawReadIo +/* EC774C 8024059C 0200302D */ daddu $a2, $s0, $zero +/* EC7750 802405A0 4405E000 */ mfc1 $a1, $f28 +/* EC7754 802405A4 4406D000 */ mfc1 $a2, $f26 +/* EC7758 802405A8 4407C000 */ mfc1 $a3, $f24 +/* EC775C 802405AC 0C0900F8 */ jal func_802403E0_EC7590 +/* EC7760 802405B0 27A40010 */ addiu $a0, $sp, 0x10 +/* EC7764 802405B4 27A40010 */ addiu $a0, $sp, 0x10 +/* EC7768 802405B8 0200282D */ daddu $a1, $s0, $zero +/* EC776C 802405BC 0C01B1F0 */ jal osSiRawReadIo +/* EC7770 802405C0 0200302D */ daddu $a2, $s0, $zero +/* EC7774 802405C4 27A40010 */ addiu $a0, $sp, 0x10 +/* EC7778 802405C8 4600B587 */ neg.s $f22, $f22 +/* EC777C 802405CC 4405A000 */ mfc1 $a1, $f20 +/* EC7780 802405D0 4406B000 */ mfc1 $a2, $f22 +/* EC7784 802405D4 0C01B2B0 */ jal func_8006CAC0 +/* EC7788 802405D8 00A0382D */ daddu $a3, $a1, $zero +/* EC778C 802405DC 27A40010 */ addiu $a0, $sp, 0x10 +/* EC7790 802405E0 0200282D */ daddu $a1, $s0, $zero +/* EC7794 802405E4 0C01B1F0 */ jal osSiRawReadIo +/* EC7798 802405E8 00A0302D */ daddu $a2, $a1, $zero +.L802405EC: +/* EC779C 802405EC 8FBF005C */ lw $ra, 0x5c($sp) +/* EC77A0 802405F0 8FB20058 */ lw $s2, 0x58($sp) +/* EC77A4 802405F4 8FB10054 */ lw $s1, 0x54($sp) +/* EC77A8 802405F8 8FB00050 */ lw $s0, 0x50($sp) +/* EC77AC 802405FC D7BC0080 */ ldc1 $f28, 0x80($sp) +/* EC77B0 80240600 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* EC77B4 80240604 D7B80070 */ ldc1 $f24, 0x70($sp) +/* EC77B8 80240608 D7B60068 */ ldc1 $f22, 0x68($sp) +/* EC77BC 8024060C D7B40060 */ ldc1 $f20, 0x60($sp) +/* EC77C0 80240610 24020002 */ addiu $v0, $zero, 2 +/* EC77C4 80240614 03E00008 */ jr $ra +/* EC77C8 80240618 27BD0088 */ addiu $sp, $sp, 0x88 diff --git a/asm/nonmatchings/code_EC7590/func_8024061C_EC77CC.s b/asm/nonmatchings/code_EC7590/func_8024061C_EC77CC.s new file mode 100644 index 0000000000..74ebc5e716 --- /dev/null +++ b/asm/nonmatchings/code_EC7590/func_8024061C_EC77CC.s @@ -0,0 +1,53 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024061C_EC77CC +/* EC77CC 8024061C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EC77D0 80240620 AFB00010 */ sw $s0, 0x10($sp) +/* EC77D4 80240624 3C108024 */ lui $s0, %hi(D_80241BB0) +/* EC77D8 80240628 26101BB0 */ addiu $s0, $s0, %lo(D_80241BB0) +/* EC77DC 8024062C AFBF0018 */ sw $ra, 0x18($sp) +/* EC77E0 80240630 AFB10014 */ sw $s1, 0x14($sp) +/* EC77E4 80240634 8E020000 */ lw $v0, ($s0) +/* EC77E8 80240638 14400010 */ bnez $v0, .L8024067C +/* EC77EC 8024063C 0080882D */ daddu $s1, $a0, $zero +/* EC77F0 80240640 0C00AFF5 */ jal func_8002BFD4 +/* EC77F4 80240644 24040040 */ addiu $a0, $zero, 0x40 +/* EC77F8 80240648 AE020000 */ sw $v0, ($s0) +/* EC77FC 8024064C 0000182D */ daddu $v1, $zero, $zero +/* EC7800 80240650 0040282D */ daddu $a1, $v0, $zero +/* EC7804 80240654 0220202D */ daddu $a0, $s1, $zero +.L80240658: +/* EC7808 80240658 8C820084 */ lw $v0, 0x84($a0) +/* EC780C 8024065C 24840004 */ addiu $a0, $a0, 4 +/* EC7810 80240660 24630001 */ addiu $v1, $v1, 1 +/* EC7814 80240664 ACA20000 */ sw $v0, ($a1) +/* EC7818 80240668 28620010 */ slti $v0, $v1, 0x10 +/* EC781C 8024066C 1440FFFA */ bnez $v0, .L80240658 +/* EC7820 80240670 24A50004 */ addiu $a1, $a1, 4 +/* EC7824 80240674 080901AE */ j .L802406B8 +/* EC7828 80240678 00000000 */ nop +.L8024067C: +/* EC782C 8024067C 0000182D */ daddu $v1, $zero, $zero +/* EC7830 80240680 0040282D */ daddu $a1, $v0, $zero +/* EC7834 80240684 0220202D */ daddu $a0, $s1, $zero +.L80240688: +/* EC7838 80240688 8CA20000 */ lw $v0, ($a1) +/* EC783C 8024068C 24A50004 */ addiu $a1, $a1, 4 +/* EC7840 80240690 24630001 */ addiu $v1, $v1, 1 +/* EC7844 80240694 AC820084 */ sw $v0, 0x84($a0) +/* EC7848 80240698 28620010 */ slti $v0, $v1, 0x10 +/* EC784C 8024069C 1440FFFA */ bnez $v0, .L80240688 +/* EC7850 802406A0 24840004 */ addiu $a0, $a0, 4 +/* EC7854 802406A4 3C108024 */ lui $s0, %hi(D_80241BB0) +/* EC7858 802406A8 26101BB0 */ addiu $s0, $s0, %lo(D_80241BB0) +/* EC785C 802406AC 0C00B007 */ jal func_8002C01C +/* EC7860 802406B0 8E040000 */ lw $a0, ($s0) +/* EC7864 802406B4 AE000000 */ sw $zero, ($s0) +.L802406B8: +/* EC7868 802406B8 8FBF0018 */ lw $ra, 0x18($sp) +/* EC786C 802406BC 8FB10014 */ lw $s1, 0x14($sp) +/* EC7870 802406C0 8FB00010 */ lw $s0, 0x10($sp) +/* EC7874 802406C4 24020002 */ addiu $v0, $zero, 2 +/* EC7878 802406C8 03E00008 */ jr $ra +/* EC787C 802406CC 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EC7590/func_802406D0_EC7880.s b/asm/nonmatchings/code_EC7590/func_802406D0_EC7880.s new file mode 100644 index 0000000000..c8661fe6b5 --- /dev/null +++ b/asm/nonmatchings/code_EC7590/func_802406D0_EC7880.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802406D0_EC7880 +/* EC7880 802406D0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EC7884 802406D4 AFB00010 */ sw $s0, 0x10($sp) +/* EC7888 802406D8 0080802D */ daddu $s0, $a0, $zero +/* EC788C 802406DC AFBF0018 */ sw $ra, 0x18($sp) +/* EC7890 802406E0 AFB10014 */ sw $s1, 0x14($sp) +/* EC7894 802406E4 8E02000C */ lw $v0, 0xc($s0) +/* EC7898 802406E8 8C510000 */ lw $s1, ($v0) +/* EC789C 802406EC 0C0B53A3 */ jal func_802D4E8C +/* EC78A0 802406F0 0220282D */ daddu $a1, $s1, $zero +/* EC78A4 802406F4 3C03FFF0 */ lui $v1, 0xfff0 +/* EC78A8 802406F8 3463FFFF */ ori $v1, $v1, 0xffff +/* EC78AC 802406FC 0200202D */ daddu $a0, $s0, $zero +/* EC78B0 80240700 00431024 */ and $v0, $v0, $v1 +/* EC78B4 80240704 00021140 */ sll $v0, $v0, 5 +/* EC78B8 80240708 3C068009 */ lui $a2, %hi(D_8008D2C0) +/* EC78BC 8024070C 00C23021 */ addu $a2, $a2, $v0 +/* EC78C0 80240710 8CC6D2C0 */ lw $a2, %lo(D_8008D2C0)($a2) +/* EC78C4 80240714 0C0B551A */ jal func_802D5468 +/* EC78C8 80240718 0220282D */ daddu $a1, $s1, $zero +/* EC78CC 8024071C 8FBF0018 */ lw $ra, 0x18($sp) +/* EC78D0 80240720 8FB10014 */ lw $s1, 0x14($sp) +/* EC78D4 80240724 8FB00010 */ lw $s0, 0x10($sp) +/* EC78D8 80240728 24020002 */ addiu $v0, $zero, 2 +/* EC78DC 8024072C 03E00008 */ jr $ra +/* EC78E0 80240730 27BD0020 */ addiu $sp, $sp, 0x20 +/* EC78E4 80240734 00000000 */ nop +/* EC78E8 80240738 00000000 */ nop +/* EC78EC 8024073C 00000000 */ nop diff --git a/asm/nonmatchings/code_EC9D00/func_80240000_EC9D00.s b/asm/nonmatchings/code_EC9D00/func_80240000_EC9D00.s new file mode 100644 index 0000000000..8383675774 --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_80240000_EC9D00.s @@ -0,0 +1,11 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EC9D00 +/* EC9D00 80240000 3C03800A */ lui $v1, %hi(D_800A15A8) +/* EC9D04 80240004 246315A8 */ addiu $v1, $v1, %lo(D_800A15A8) +/* EC9D08 80240008 8C620000 */ lw $v0, ($v1) +/* EC9D0C 8024000C 34420040 */ ori $v0, $v0, 0x40 +/* EC9D10 80240010 AC620000 */ sw $v0, ($v1) +/* EC9D14 80240014 03E00008 */ jr $ra +/* EC9D18 80240018 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EC9D00/func_8024001C_EC9D1C.s b/asm/nonmatchings/code_EC9D00/func_8024001C_EC9D1C.s new file mode 100644 index 0000000000..84a8d3e0d4 --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_8024001C_EC9D1C.s @@ -0,0 +1,12 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024001C_EC9D1C +/* EC9D1C 8024001C 3C02800A */ lui $v0, %hi(D_800A15A8) +/* EC9D20 80240020 244215A8 */ addiu $v0, $v0, %lo(D_800A15A8) +/* EC9D24 80240024 8C430000 */ lw $v1, ($v0) +/* EC9D28 80240028 2404FFBF */ addiu $a0, $zero, -0x41 +/* EC9D2C 8024002C 00641824 */ and $v1, $v1, $a0 +/* EC9D30 80240030 AC430000 */ sw $v1, ($v0) +/* EC9D34 80240034 03E00008 */ jr $ra +/* EC9D38 80240038 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EC9D00/func_8024003C_EC9D3C.s b/asm/nonmatchings/code_EC9D00/func_8024003C_EC9D3C.s new file mode 100644 index 0000000000..d5bedd5795 --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_8024003C_EC9D3C.s @@ -0,0 +1,15 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024003C_EC9D3C +/* EC9D3C 8024003C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EC9D40 80240040 AFBF0010 */ sw $ra, 0x10($sp) +/* EC9D44 80240044 8C82000C */ lw $v0, 0xc($a0) +/* EC9D48 80240048 0C0B53A3 */ jal func_802D4E8C +/* EC9D4C 8024004C 8C450000 */ lw $a1, ($v0) +/* EC9D50 80240050 0C0BCEC0 */ jal func_802F3B00 +/* EC9D54 80240054 0040202D */ daddu $a0, $v0, $zero +/* EC9D58 80240058 8FBF0010 */ lw $ra, 0x10($sp) +/* EC9D5C 8024005C 24020002 */ addiu $v0, $zero, 2 +/* EC9D60 80240060 03E00008 */ jr $ra +/* EC9D64 80240064 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EC9D00/func_80240068_EC9D68.s b/asm/nonmatchings/code_EC9D00/func_80240068_EC9D68.s new file mode 100644 index 0000000000..344553a260 --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_80240068_EC9D68.s @@ -0,0 +1,31 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240068_EC9D68 +/* EC9D68 80240068 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EC9D6C 8024006C AFB00010 */ sw $s0, 0x10($sp) +/* EC9D70 80240070 0080802D */ daddu $s0, $a0, $zero +/* EC9D74 80240074 AFBF0018 */ sw $ra, 0x18($sp) +/* EC9D78 80240078 AFB10014 */ sw $s1, 0x14($sp) +/* EC9D7C 8024007C 8E11000C */ lw $s1, 0xc($s0) +/* EC9D80 80240080 8E250000 */ lw $a1, ($s1) +/* EC9D84 80240084 0C0B53A3 */ jal func_802D4E8C +/* EC9D88 80240088 26310004 */ addiu $s1, $s1, 4 +/* EC9D8C 8024008C 0200202D */ daddu $a0, $s0, $zero +/* EC9D90 80240090 3C038011 */ lui $v1, %hi(D_80117840) +/* EC9D94 80240094 24637840 */ addiu $v1, $v1, %lo(D_80117840) +/* EC9D98 80240098 000210C0 */ sll $v0, $v0, 3 +/* EC9D9C 8024009C 00431021 */ addu $v0, $v0, $v1 +/* EC9DA0 802400A0 90460015 */ lbu $a2, 0x15($v0) +/* EC9DA4 802400A4 8E250000 */ lw $a1, ($s1) +/* EC9DA8 802400A8 24C60001 */ addiu $a2, $a2, 1 +/* EC9DAC 802400AC A0460015 */ sb $a2, 0x15($v0) +/* EC9DB0 802400B0 00063600 */ sll $a2, $a2, 0x18 +/* EC9DB4 802400B4 0C0B551A */ jal func_802D5468 +/* EC9DB8 802400B8 00063603 */ sra $a2, $a2, 0x18 +/* EC9DBC 802400BC 8FBF0018 */ lw $ra, 0x18($sp) +/* EC9DC0 802400C0 8FB10014 */ lw $s1, 0x14($sp) +/* EC9DC4 802400C4 8FB00010 */ lw $s0, 0x10($sp) +/* EC9DC8 802400C8 24020002 */ addiu $v0, $zero, 2 +/* EC9DCC 802400CC 03E00008 */ jr $ra +/* EC9DD0 802400D0 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EC9D00/func_802400D4_EC9DD4.s b/asm/nonmatchings/code_EC9D00/func_802400D4_EC9DD4.s new file mode 100644 index 0000000000..489249bdff --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_802400D4_EC9DD4.s @@ -0,0 +1,25 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802400D4_EC9DD4 +/* EC9DD4 802400D4 3C028011 */ lui $v0, %hi(D_80117840) +/* EC9DD8 802400D8 24427840 */ addiu $v0, $v0, %lo(D_80117840) +/* EC9DDC 802400DC 000420C0 */ sll $a0, $a0, 3 +/* EC9DE0 802400E0 00822021 */ addu $a0, $a0, $v0 +/* EC9DE4 802400E4 90820014 */ lbu $v0, 0x14($a0) +/* EC9DE8 802400E8 10400009 */ beqz $v0, .L80240110 +/* EC9DEC 802400EC 00000000 */ nop +/* EC9DF0 802400F0 90820015 */ lbu $v0, 0x15($a0) +/* EC9DF4 802400F4 00022600 */ sll $a0, $v0, 0x18 +/* EC9DF8 802400F8 00041E03 */ sra $v1, $a0, 0x18 +/* EC9DFC 802400FC 00051400 */ sll $v0, $a1, 0x10 +/* EC9E00 80240100 00021403 */ sra $v0, $v0, 0x10 +/* EC9E04 80240104 0043102A */ slt $v0, $v0, $v1 +/* EC9E08 80240108 10400003 */ beqz $v0, .L80240118 +/* EC9E0C 8024010C 00000000 */ nop +.L80240110: +/* EC9E10 80240110 03E00008 */ jr $ra +/* EC9E14 80240114 2402FFFF */ addiu $v0, $zero, -1 +.L80240118: +/* EC9E18 80240118 03E00008 */ jr $ra +/* EC9E1C 8024011C 00041603 */ sra $v0, $a0, 0x18 diff --git a/asm/nonmatchings/code_EC9D00/func_80240120_EC9E20.s b/asm/nonmatchings/code_EC9D00/func_80240120_EC9E20.s new file mode 100644 index 0000000000..aa2d327e9f --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_80240120_EC9E20.s @@ -0,0 +1,50 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240120_EC9E20 +/* EC9E20 80240120 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EC9E24 80240124 AFB3001C */ sw $s3, 0x1c($sp) +/* EC9E28 80240128 0080982D */ daddu $s3, $a0, $zero +/* EC9E2C 8024012C AFB00010 */ sw $s0, 0x10($sp) +/* EC9E30 80240130 24100001 */ addiu $s0, $zero, 1 +/* EC9E34 80240134 AFB40020 */ sw $s4, 0x20($sp) +/* EC9E38 80240138 2414FFFF */ addiu $s4, $zero, -1 +/* EC9E3C 8024013C AFB50024 */ sw $s5, 0x24($sp) +/* EC9E40 80240140 0200A82D */ daddu $s5, $s0, $zero +/* EC9E44 80240144 AFB10014 */ sw $s1, 0x14($sp) +/* EC9E48 80240148 3C118011 */ lui $s1, %hi(D_80117848) +/* EC9E4C 8024014C 26317848 */ addiu $s1, $s1, %lo(D_80117848) +/* EC9E50 80240150 AFBF0028 */ sw $ra, 0x28($sp) +/* EC9E54 80240154 AFB20018 */ sw $s2, 0x18($sp) +/* EC9E58 80240158 8E6200B4 */ lw $v0, 0xb4($s3) +/* EC9E5C 8024015C 0280182D */ daddu $v1, $s4, $zero +/* EC9E60 80240160 AE630084 */ sw $v1, 0x84($s3) +/* EC9E64 80240164 00021027 */ nor $v0, $zero, $v0 +/* EC9E68 80240168 000217C2 */ srl $v0, $v0, 0x1f +/* EC9E6C 8024016C 00029400 */ sll $s2, $v0, 0x10 +.L80240170: +/* EC9E70 80240170 92220014 */ lbu $v0, 0x14($s1) +/* EC9E74 80240174 50400008 */ beql $v0, $zero, .L80240198 +/* EC9E78 80240178 26100001 */ addiu $s0, $s0, 1 +/* EC9E7C 8024017C 0200202D */ daddu $a0, $s0, $zero +/* EC9E80 80240180 0C090035 */ jal func_802400D4_EC9DD4 +/* EC9E84 80240184 00122C03 */ sra $a1, $s2, 0x10 +/* EC9E88 80240188 10540003 */ beq $v0, $s4, .L80240198 +/* EC9E8C 8024018C 26100001 */ addiu $s0, $s0, 1 +/* EC9E90 80240190 08090069 */ j .L802401A4 +/* EC9E94 80240194 AE750084 */ sw $s5, 0x84($s3) +.L80240198: +/* EC9E98 80240198 2A02000C */ slti $v0, $s0, 0xc +/* EC9E9C 8024019C 1440FFF4 */ bnez $v0, .L80240170 +/* EC9EA0 802401A0 26310008 */ addiu $s1, $s1, 8 +.L802401A4: +/* EC9EA4 802401A4 8FBF0028 */ lw $ra, 0x28($sp) +/* EC9EA8 802401A8 8FB50024 */ lw $s5, 0x24($sp) +/* EC9EAC 802401AC 8FB40020 */ lw $s4, 0x20($sp) +/* EC9EB0 802401B0 8FB3001C */ lw $s3, 0x1c($sp) +/* EC9EB4 802401B4 8FB20018 */ lw $s2, 0x18($sp) +/* EC9EB8 802401B8 8FB10014 */ lw $s1, 0x14($sp) +/* EC9EBC 802401BC 8FB00010 */ lw $s0, 0x10($sp) +/* EC9EC0 802401C0 24020002 */ addiu $v0, $zero, 2 +/* EC9EC4 802401C4 03E00008 */ jr $ra +/* EC9EC8 802401C8 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_EC9D00/func_802401CC_EC9ECC.s b/asm/nonmatchings/code_EC9D00/func_802401CC_EC9ECC.s new file mode 100644 index 0000000000..75a9db4e6b --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_802401CC_EC9ECC.s @@ -0,0 +1,163 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802401CC_EC9ECC +/* EC9ECC 802401CC 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* EC9ED0 802401D0 AFB5002C */ sw $s5, 0x2c($sp) +/* EC9ED4 802401D4 0080A82D */ daddu $s5, $a0, $zero +/* EC9ED8 802401D8 AFBE0038 */ sw $fp, 0x38($sp) +/* EC9EDC 802401DC 3C1E8011 */ lui $fp, %hi(D_80117840) +/* EC9EE0 802401E0 27DE7840 */ addiu $fp, $fp, %lo(D_80117840) +/* EC9EE4 802401E4 AFBF003C */ sw $ra, 0x3c($sp) +/* EC9EE8 802401E8 AFB70034 */ sw $s7, 0x34($sp) +/* EC9EEC 802401EC AFB60030 */ sw $s6, 0x30($sp) +/* EC9EF0 802401F0 AFB40028 */ sw $s4, 0x28($sp) +/* EC9EF4 802401F4 AFB30024 */ sw $s3, 0x24($sp) +/* EC9EF8 802401F8 AFB20020 */ sw $s2, 0x20($sp) +/* EC9EFC 802401FC AFB1001C */ sw $s1, 0x1c($sp) +/* EC9F00 80240200 10A0004F */ beqz $a1, .L80240340 +/* EC9F04 80240204 AFB00018 */ sw $s0, 0x18($sp) +/* EC9F08 80240208 0C00AFF5 */ jal func_8002BFD4 +/* EC9F0C 8024020C 24040330 */ addiu $a0, $zero, 0x330 +/* EC9F10 80240210 0040982D */ daddu $s3, $v0, $zero +/* EC9F14 80240214 0000B02D */ daddu $s6, $zero, $zero +/* EC9F18 80240218 02C0902D */ daddu $s2, $s6, $zero +/* EC9F1C 8024021C 3C148024 */ lui $s4, %hi(func_80241FE8_D3C5B8) +/* EC9F20 80240220 26941FE8 */ addiu $s4, $s4, %lo(func_80241FE8_D3C5B8) +/* EC9F24 80240224 0260882D */ daddu $s1, $s3, $zero +/* EC9F28 80240228 8EA200B4 */ lw $v0, 0xb4($s5) +/* EC9F2C 8024022C 3C038024 */ lui $v1, %hi(D_80241FE0) +/* EC9F30 80240230 24631FE0 */ addiu $v1, $v1, %lo(D_80241FE0) +/* EC9F34 80240234 AEB30078 */ sw $s3, 0x78($s5) +/* EC9F38 80240238 00021027 */ nor $v0, $zero, $v0 +/* EC9F3C 8024023C 0002BFC2 */ srl $s7, $v0, 0x1f +/* EC9F40 80240240 00171080 */ sll $v0, $s7, 2 +/* EC9F44 80240244 00431021 */ addu $v0, $v0, $v1 +/* EC9F48 80240248 AFA20010 */ sw $v0, 0x10($sp) +.L8024024C: +/* EC9F4C 8024024C 86900000 */ lh $s0, ($s4) +/* EC9F50 80240250 001010C0 */ sll $v0, $s0, 3 +/* EC9F54 80240254 03C21021 */ addu $v0, $fp, $v0 +/* EC9F58 80240258 90420014 */ lbu $v0, 0x14($v0) +/* EC9F5C 8024025C 5040002E */ beql $v0, $zero, .L80240318 +/* EC9F60 80240260 26520001 */ addiu $s2, $s2, 1 +/* EC9F64 80240264 00101100 */ sll $v0, $s0, 4 +/* EC9F68 80240268 3C068009 */ lui $a2, %hi(D_80094900) +/* EC9F6C 8024026C 24C64900 */ addiu $a2, $a2, %lo(D_80094900) +/* EC9F70 80240270 00461021 */ addu $v0, $v0, $a2 +/* EC9F74 80240274 0200202D */ daddu $a0, $s0, $zero +/* EC9F78 80240278 AE300108 */ sw $s0, 0x108($s1) +/* EC9F7C 8024027C 8C420000 */ lw $v0, ($v0) +/* EC9F80 80240280 02E0282D */ daddu $a1, $s7, $zero +/* EC9F84 80240284 0C090035 */ jal func_802400D4_EC9DD4 +/* EC9F88 80240288 AE220084 */ sw $v0, 0x84($s1) +/* EC9F8C 8024028C 0040202D */ daddu $a0, $v0, $zero +/* EC9F90 80240290 04800011 */ bltz $a0, .L802402D8 +/* EC9F94 80240294 00101080 */ sll $v0, $s0, 2 +/* EC9F98 80240298 3C068010 */ lui $a2, %hi(D_80100060) +/* EC9F9C 8024029C 24C60060 */ addiu $a2, $a2, %lo(D_80100060) +/* EC9FA0 802402A0 00461021 */ addu $v0, $v0, $a2 +/* EC9FA4 802402A4 8C430000 */ lw $v1, ($v0) +/* EC9FA8 802402A8 24020001 */ addiu $v0, $zero, 1 +/* EC9FAC 802402AC AE22018C */ sw $v0, 0x18c($s1) +/* EC9FB0 802402B0 00041080 */ sll $v0, $a0, 2 +/* EC9FB4 802402B4 3C068024 */ lui $a2, %hi(func_80241FF8_C41DA8) +/* EC9FB8 802402B8 24C61FF8 */ addiu $a2, $a2, %lo(func_80241FF8_C41DA8) +/* EC9FBC 802402BC AE230000 */ sw $v1, ($s1) +/* EC9FC0 802402C0 001218C0 */ sll $v1, $s2, 3 +/* EC9FC4 802402C4 00431021 */ addu $v0, $v0, $v1 +/* EC9FC8 802402C8 00461021 */ addu $v0, $v0, $a2 +/* EC9FCC 802402CC 8C420000 */ lw $v0, ($v0) +/* EC9FD0 802402D0 080900BF */ j .L802402FC +/* EC9FD4 802402D4 AE220294 */ sw $v0, 0x294($s1) +.L802402D8: +/* EC9FD8 802402D8 3C068010 */ lui $a2, %hi(D_801000A0) +/* EC9FDC 802402DC 24C600A0 */ addiu $a2, $a2, %lo(D_801000A0) +/* EC9FE0 802402E0 00461021 */ addu $v0, $v0, $a2 +/* EC9FE4 802402E4 8C420000 */ lw $v0, ($v0) +/* EC9FE8 802402E8 AE20018C */ sw $zero, 0x18c($s1) +/* EC9FEC 802402EC AE220000 */ sw $v0, ($s1) +/* EC9FF0 802402F0 8FA60010 */ lw $a2, 0x10($sp) +/* EC9FF4 802402F4 8CC20000 */ lw $v0, ($a2) +/* EC9FF8 802402F8 AE220294 */ sw $v0, 0x294($s1) +.L802402FC: +/* EC9FFC 802402FC 001010C0 */ sll $v0, $s0, 3 +/* ECA000 80240300 03C21021 */ addu $v0, $fp, $v0 +/* ECA004 80240304 80420015 */ lb $v0, 0x15($v0) +/* ECA008 80240308 26D60001 */ addiu $s6, $s6, 1 +/* ECA00C 8024030C AE220210 */ sw $v0, 0x210($s1) +/* ECA010 80240310 26310004 */ addiu $s1, $s1, 4 +/* ECA014 80240314 26520001 */ addiu $s2, $s2, 1 +.L80240318: +/* ECA018 80240318 2A420008 */ slti $v0, $s2, 8 +/* ECA01C 8024031C 1440FFCB */ bnez $v0, .L8024024C +/* ECA020 80240320 26940002 */ addiu $s4, $s4, 2 +/* ECA024 80240324 0260202D */ daddu $a0, $s3, $zero +/* ECA028 80240328 24020004 */ addiu $v0, $zero, 4 +/* ECA02C 8024032C AC820318 */ sw $v0, 0x318($a0) +/* ECA030 80240330 AC960324 */ sw $s6, 0x324($a0) +/* ECA034 80240334 0C03F343 */ jal func_800FCD0C +/* ECA038 80240338 AC800328 */ sw $zero, 0x328($a0) +/* ECA03C 8024033C AEA00070 */ sw $zero, 0x70($s5) +.L80240340: +/* ECA040 80240340 8EA20070 */ lw $v0, 0x70($s5) +/* ECA044 80240344 8EB30078 */ lw $s3, 0x78($s5) +/* ECA048 80240348 14400008 */ bnez $v0, .L8024036C +/* ECA04C 8024034C 24420001 */ addiu $v0, $v0, 1 +/* ECA050 80240350 8662032C */ lh $v0, 0x32c($s3) +/* ECA054 80240354 10400009 */ beqz $v0, .L8024037C +/* ECA058 80240358 AEA20074 */ sw $v0, 0x74($s5) +/* ECA05C 8024035C 0C03E498 */ jal func_800F9260 +/* ECA060 80240360 00000000 */ nop +/* ECA064 80240364 8EA20070 */ lw $v0, 0x70($s5) +/* ECA068 80240368 24420001 */ addiu $v0, $v0, 1 +.L8024036C: +/* ECA06C 8024036C AEA20070 */ sw $v0, 0x70($s5) +/* ECA070 80240370 2842000F */ slti $v0, $v0, 0xf +/* ECA074 80240374 10400003 */ beqz $v0, .L80240384 +/* ECA078 80240378 00000000 */ nop +.L8024037C: +/* ECA07C 8024037C 080900FB */ j .L802403EC +/* ECA080 80240380 0000102D */ daddu $v0, $zero, $zero +.L80240384: +/* ECA084 80240384 0C03E4FA */ jal func_800F93E8 +/* ECA088 80240388 00000000 */ nop +/* ECA08C 8024038C 8EA30074 */ lw $v1, 0x74($s5) +/* ECA090 80240390 240200FF */ addiu $v0, $zero, 0xff +/* ECA094 80240394 10620010 */ beq $v1, $v0, .L802403D8 +/* ECA098 80240398 2462FFFF */ addiu $v0, $v1, -1 +/* ECA09C 8024039C 00021080 */ sll $v0, $v0, 2 +/* ECA0A0 802403A0 02621021 */ addu $v0, $s3, $v0 +/* ECA0A4 802403A4 8C420108 */ lw $v0, 0x108($v0) +/* ECA0A8 802403A8 00021100 */ sll $v0, $v0, 4 +/* ECA0AC 802403AC 3C038009 */ lui $v1, %hi(D_80094900) +/* ECA0B0 802403B0 00621821 */ addu $v1, $v1, $v0 +/* ECA0B4 802403B4 8C634900 */ lw $v1, %lo(D_80094900)($v1) +/* ECA0B8 802403B8 8EA20074 */ lw $v0, 0x74($s5) +/* ECA0BC 802403BC 2442FFFF */ addiu $v0, $v0, -1 +/* ECA0C0 802403C0 00021080 */ sll $v0, $v0, 2 +/* ECA0C4 802403C4 02621021 */ addu $v0, $s3, $v0 +/* ECA0C8 802403C8 AEA30084 */ sw $v1, 0x84($s5) +/* ECA0CC 802403CC 8C420108 */ lw $v0, 0x108($v0) +/* ECA0D0 802403D0 080900F8 */ j .L802403E0 +/* ECA0D4 802403D4 AEA20088 */ sw $v0, 0x88($s5) +.L802403D8: +/* ECA0D8 802403D8 2402FFFF */ addiu $v0, $zero, -1 +/* ECA0DC 802403DC AEA20084 */ sw $v0, 0x84($s5) +.L802403E0: +/* ECA0E0 802403E0 0C00B007 */ jal func_8002C01C +/* ECA0E4 802403E4 8EA40078 */ lw $a0, 0x78($s5) +/* ECA0E8 802403E8 24020002 */ addiu $v0, $zero, 2 +.L802403EC: +/* ECA0EC 802403EC 8FBF003C */ lw $ra, 0x3c($sp) +/* ECA0F0 802403F0 8FBE0038 */ lw $fp, 0x38($sp) +/* ECA0F4 802403F4 8FB70034 */ lw $s7, 0x34($sp) +/* ECA0F8 802403F8 8FB60030 */ lw $s6, 0x30($sp) +/* ECA0FC 802403FC 8FB5002C */ lw $s5, 0x2c($sp) +/* ECA100 80240400 8FB40028 */ lw $s4, 0x28($sp) +/* ECA104 80240404 8FB30024 */ lw $s3, 0x24($sp) +/* ECA108 80240408 8FB20020 */ lw $s2, 0x20($sp) +/* ECA10C 8024040C 8FB1001C */ lw $s1, 0x1c($sp) +/* ECA110 80240410 8FB00018 */ lw $s0, 0x18($sp) +/* ECA114 80240414 03E00008 */ jr $ra +/* ECA118 80240418 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/asm/nonmatchings/code_EC9D00/func_8024041C_ECA11C.s b/asm/nonmatchings/code_EC9D00/func_8024041C_ECA11C.s new file mode 100644 index 0000000000..9418c6be94 --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_8024041C_ECA11C.s @@ -0,0 +1,15 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024041C_ECA11C +/* ECA11C 8024041C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ECA120 80240420 AFBF0010 */ sw $ra, 0x10($sp) +/* ECA124 80240424 8C82000C */ lw $v0, 0xc($a0) +/* ECA128 80240428 0C0B53A3 */ jal func_802D4E8C +/* ECA12C 8024042C 8C450000 */ lw $a1, ($v0) +/* ECA130 80240430 0C03CB57 */ jal func_800F2D5C +/* ECA134 80240434 0040202D */ daddu $a0, $v0, $zero +/* ECA138 80240438 8FBF0010 */ lw $ra, 0x10($sp) +/* ECA13C 8024043C 24020002 */ addiu $v0, $zero, 2 +/* ECA140 80240440 03E00008 */ jr $ra +/* ECA144 80240444 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EC9D00/func_80240448_ECA148.s b/asm/nonmatchings/code_EC9D00/func_80240448_ECA148.s new file mode 100644 index 0000000000..1335208e53 --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_80240448_ECA148.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240448_ECA148 +/* ECA148 80240448 3C028011 */ lui $v0, %hi(D_80117852) +/* ECA14C 8024044C 80427852 */ lb $v0, %lo(D_80117852)($v0) +/* ECA150 80240450 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ECA154 80240454 AFBF0010 */ sw $ra, 0x10($sp) +/* ECA158 80240458 00021100 */ sll $v0, $v0, 4 +/* ECA15C 8024045C 3C048009 */ lui $a0, %hi(D_80094900) +/* ECA160 80240460 00822021 */ addu $a0, $a0, $v0 +/* ECA164 80240464 8C844900 */ lw $a0, %lo(D_80094900)($a0) +/* ECA168 80240468 0C04C31D */ jal func_80130C74 +/* ECA16C 8024046C 0000282D */ daddu $a1, $zero, $zero +/* ECA170 80240470 8FBF0010 */ lw $ra, 0x10($sp) +/* ECA174 80240474 24020002 */ addiu $v0, $zero, 2 +/* ECA178 80240478 03E00008 */ jr $ra +/* ECA17C 8024047C 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EC9D00/func_80240480_ECA180.s b/asm/nonmatchings/code_EC9D00/func_80240480_ECA180.s new file mode 100644 index 0000000000..68452e2cb6 --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_80240480_ECA180.s @@ -0,0 +1,40 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240480_ECA180 +/* ECA180 80240480 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* ECA184 80240484 AFB1001C */ sw $s1, 0x1c($sp) +/* ECA188 80240488 0080882D */ daddu $s1, $a0, $zero +/* ECA18C 8024048C AFBF0020 */ sw $ra, 0x20($sp) +/* ECA190 80240490 AFB00018 */ sw $s0, 0x18($sp) +/* ECA194 80240494 8E30000C */ lw $s0, 0xc($s1) +/* ECA198 80240498 8E050000 */ lw $a1, ($s0) +/* ECA19C 8024049C 0C0B53A3 */ jal func_802D4E8C +/* ECA1A0 802404A0 26100004 */ addiu $s0, $s0, 4 +/* ECA1A4 802404A4 0C0462EC */ jal func_80118BB0 +/* ECA1A8 802404A8 0040202D */ daddu $a0, $v0, $zero +/* ECA1AC 802404AC 8E100000 */ lw $s0, ($s0) +/* ECA1B0 802404B0 C444004C */ lwc1 $f4, 0x4c($v0) +/* ECA1B4 802404B4 3C014148 */ lui $at, 0x4148 +/* ECA1B8 802404B8 44810000 */ mtc1 $at, $f0 +/* ECA1BC 802404BC 3C013F33 */ lui $at, 0x3f33 +/* ECA1C0 802404C0 34213333 */ ori $at, $at, 0x3333 +/* ECA1C4 802404C4 44811000 */ mtc1 $at, $f2 +/* ECA1C8 802404C8 AFA00014 */ sw $zero, 0x14($sp) +/* ECA1CC 802404CC 46002100 */ add.s $f4, $f4, $f0 +/* ECA1D0 802404D0 E7A20010 */ swc1 $f2, 0x10($sp) +/* ECA1D4 802404D4 8C450048 */ lw $a1, 0x48($v0) +/* ECA1D8 802404D8 8C470050 */ lw $a3, 0x50($v0) +/* ECA1DC 802404DC 44062000 */ mfc1 $a2, $f4 +/* ECA1E0 802404E0 0C01DA74 */ jal func_800769D0 +/* ECA1E4 802404E4 0000202D */ daddu $a0, $zero, $zero +/* ECA1E8 802404E8 0220202D */ daddu $a0, $s1, $zero +/* ECA1EC 802404EC 0200282D */ daddu $a1, $s0, $zero +/* ECA1F0 802404F0 0C0B551A */ jal func_802D5468 +/* ECA1F4 802404F4 0040302D */ daddu $a2, $v0, $zero +/* ECA1F8 802404F8 8FBF0020 */ lw $ra, 0x20($sp) +/* ECA1FC 802404FC 8FB1001C */ lw $s1, 0x1c($sp) +/* ECA200 80240500 8FB00018 */ lw $s0, 0x18($sp) +/* ECA204 80240504 24020002 */ addiu $v0, $zero, 2 +/* ECA208 80240508 03E00008 */ jr $ra +/* ECA20C 8024050C 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EC9D00/func_80240510_ECA210.s b/asm/nonmatchings/code_EC9D00/func_80240510_ECA210.s new file mode 100644 index 0000000000..3ad5cef6ae --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_80240510_ECA210.s @@ -0,0 +1,17 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240510_ECA210 +/* ECA210 80240510 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ECA214 80240514 AFBF0010 */ sw $ra, 0x10($sp) +/* ECA218 80240518 8C82000C */ lw $v0, 0xc($a0) +/* ECA21C 8024051C 0C0B53A3 */ jal func_802D4E8C +/* ECA220 80240520 8C450000 */ lw $a1, ($v0) +/* ECA224 80240524 0040202D */ daddu $a0, $v0, $zero +/* ECA228 80240528 8C830000 */ lw $v1, ($a0) +/* ECA22C 8024052C 34630010 */ ori $v1, $v1, 0x10 +/* ECA230 80240530 AC830000 */ sw $v1, ($a0) +/* ECA234 80240534 8FBF0010 */ lw $ra, 0x10($sp) +/* ECA238 80240538 24020002 */ addiu $v0, $zero, 2 +/* ECA23C 8024053C 03E00008 */ jr $ra +/* ECA240 80240540 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EC9D00/func_80240544_ECA244.s b/asm/nonmatchings/code_EC9D00/func_80240544_ECA244.s new file mode 100644 index 0000000000..1890938b42 --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_80240544_ECA244.s @@ -0,0 +1,29 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240544_ECA244 +/* ECA244 80240544 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ECA248 80240548 AFBF0018 */ sw $ra, 0x18($sp) +/* ECA24C 8024054C 8C82000C */ lw $v0, 0xc($a0) +/* ECA250 80240550 0C0B53A3 */ jal func_802D4E8C +/* ECA254 80240554 8C450000 */ lw $a1, ($v0) +/* ECA258 80240558 0C0462EC */ jal func_80118BB0 +/* ECA25C 8024055C 0040202D */ daddu $a0, $v0, $zero +/* ECA260 80240560 3C013F80 */ lui $at, 0x3f80 +/* ECA264 80240564 44810000 */ mtc1 $at, $f0 +/* ECA268 80240568 C442004C */ lwc1 $f2, 0x4c($v0) +/* ECA26C 8024056C E7A00010 */ swc1 $f0, 0x10($sp) +/* ECA270 80240570 3C014148 */ lui $at, 0x4148 +/* ECA274 80240574 44810000 */ mtc1 $at, $f0 +/* ECA278 80240578 2403004B */ addiu $v1, $zero, 0x4b +/* ECA27C 8024057C AFA30014 */ sw $v1, 0x14($sp) +/* ECA280 80240580 46001080 */ add.s $f2, $f2, $f0 +/* ECA284 80240584 8C450048 */ lw $a1, 0x48($v0) +/* ECA288 80240588 8C470050 */ lw $a3, 0x50($v0) +/* ECA28C 8024058C 44061000 */ mfc1 $a2, $f2 +/* ECA290 80240590 0C01D78C */ jal func_80075E30 +/* ECA294 80240594 24040004 */ addiu $a0, $zero, 4 +/* ECA298 80240598 8FBF0018 */ lw $ra, 0x18($sp) +/* ECA29C 8024059C 24020002 */ addiu $v0, $zero, 2 +/* ECA2A0 802405A0 03E00008 */ jr $ra +/* ECA2A4 802405A4 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EC9D00/func_802405A8_ECA2A8.s b/asm/nonmatchings/code_EC9D00/func_802405A8_ECA2A8.s new file mode 100644 index 0000000000..ae28d41b98 --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_802405A8_ECA2A8.s @@ -0,0 +1,26 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802405A8_ECA2A8 +/* ECA2A8 802405A8 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ECA2AC 802405AC AFBF0018 */ sw $ra, 0x18($sp) +/* ECA2B0 802405B0 0C00F94D */ jal func_8003E534 +/* ECA2B4 802405B4 2404FFFC */ addiu $a0, $zero, -4 +/* ECA2B8 802405B8 C444003C */ lwc1 $f4, 0x3c($v0) +/* ECA2BC 802405BC 3C014148 */ lui $at, 0x4148 +/* ECA2C0 802405C0 44811000 */ mtc1 $at, $f2 +/* ECA2C4 802405C4 3C013F80 */ lui $at, 0x3f80 +/* ECA2C8 802405C8 44810000 */ mtc1 $at, $f0 +/* ECA2CC 802405CC 2403001E */ addiu $v1, $zero, 0x1e +/* ECA2D0 802405D0 AFA30014 */ sw $v1, 0x14($sp) +/* ECA2D4 802405D4 46022100 */ add.s $f4, $f4, $f2 +/* ECA2D8 802405D8 E7A00010 */ swc1 $f0, 0x10($sp) +/* ECA2DC 802405DC 8C450038 */ lw $a1, 0x38($v0) +/* ECA2E0 802405E0 8C470040 */ lw $a3, 0x40($v0) +/* ECA2E4 802405E4 44062000 */ mfc1 $a2, $f4 +/* ECA2E8 802405E8 0C01D78C */ jal func_80075E30 +/* ECA2EC 802405EC 24040009 */ addiu $a0, $zero, 9 +/* ECA2F0 802405F0 8FBF0018 */ lw $ra, 0x18($sp) +/* ECA2F4 802405F4 24020002 */ addiu $v0, $zero, 2 +/* ECA2F8 802405F8 03E00008 */ jr $ra +/* ECA2FC 802405FC 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EC9D00/func_80240600_ECA300.s b/asm/nonmatchings/code_EC9D00/func_80240600_ECA300.s new file mode 100644 index 0000000000..7dddd58d2d --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_80240600_ECA300.s @@ -0,0 +1,356 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240600_ECA300 +/* ECA300 80240600 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* ECA304 80240604 AFB60040 */ sw $s6, 0x40($sp) +/* ECA308 80240608 0080B02D */ daddu $s6, $a0, $zero +/* ECA30C 8024060C AFB00028 */ sw $s0, 0x28($sp) +/* ECA310 80240610 00A0802D */ daddu $s0, $a1, $zero +/* ECA314 80240614 AFBF0044 */ sw $ra, 0x44($sp) +/* ECA318 80240618 AFB5003C */ sw $s5, 0x3c($sp) +/* ECA31C 8024061C AFB40038 */ sw $s4, 0x38($sp) +/* ECA320 80240620 AFB30034 */ sw $s3, 0x34($sp) +/* ECA324 80240624 AFB20030 */ sw $s2, 0x30($sp) +/* ECA328 80240628 AFB1002C */ sw $s1, 0x2c($sp) +/* ECA32C 8024062C F7B80058 */ sdc1 $f24, 0x58($sp) +/* ECA330 80240630 F7B60050 */ sdc1 $f22, 0x50($sp) +/* ECA334 80240634 F7B40048 */ sdc1 $f20, 0x48($sp) +/* ECA338 80240638 8ED3000C */ lw $s3, 0xc($s6) +/* ECA33C 8024063C 0C00F94D */ jal func_8003E534 +/* ECA340 80240640 2404FFFC */ addiu $a0, $zero, -4 +/* ECA344 80240644 27A50018 */ addiu $a1, $sp, 0x18 +/* ECA348 80240648 3C048008 */ lui $a0, %hi(D_8007C760) +/* ECA34C 8024064C 8C84C760 */ lw $a0, %lo(D_8007C760)($a0) +/* ECA350 80240650 27A6001C */ addiu $a2, $sp, 0x1c +/* ECA354 80240654 00041880 */ sll $v1, $a0, 2 +/* ECA358 80240658 00641821 */ addu $v1, $v1, $a0 +/* ECA35C 8024065C 00031880 */ sll $v1, $v1, 2 +/* ECA360 80240660 00641823 */ subu $v1, $v1, $a0 +/* ECA364 80240664 000320C0 */ sll $a0, $v1, 3 +/* ECA368 80240668 00641821 */ addu $v1, $v1, $a0 +/* ECA36C 8024066C 000318C0 */ sll $v1, $v1, 3 +/* ECA370 80240670 3C01800C */ lui $at, %hi(D_800B8DEC) +/* ECA374 80240674 00230821 */ addu $at, $at, $v1 +/* ECA378 80240678 C42C8DEC */ lwc1 $f12, %lo(D_800B8DEC)($at) +/* ECA37C 8024067C 0C00AD49 */ jal func_8002B524 +/* ECA380 80240680 0040A82D */ daddu $s5, $v0, $zero +/* ECA384 80240684 1200005D */ beqz $s0, .L802407FC +/* ECA388 80240688 00000000 */ nop +/* ECA38C 8024068C 0C00AFC6 */ jal func_8002BF18 +/* ECA390 80240690 24040068 */ addiu $a0, $zero, 0x68 +/* ECA394 80240694 0040902D */ daddu $s2, $v0, $zero +/* ECA398 80240698 02C0202D */ daddu $a0, $s6, $zero +/* ECA39C 8024069C 0000882D */ daddu $s1, $zero, $zero +/* ECA3A0 802406A0 2414FFFF */ addiu $s4, $zero, -1 +/* ECA3A4 802406A4 AED20060 */ sw $s2, 0x60($s6) +/* ECA3A8 802406A8 8E650000 */ lw $a1, ($s3) +/* ECA3AC 802406AC 3C014148 */ lui $at, 0x4148 +/* ECA3B0 802406B0 4481C000 */ mtc1 $at, $f24 +/* ECA3B4 802406B4 3C013F80 */ lui $at, 0x3f80 +/* ECA3B8 802406B8 4481B000 */ mtc1 $at, $f22 +/* ECA3BC 802406BC 4480A000 */ mtc1 $zero, $f20 +/* ECA3C0 802406C0 0C0B53A3 */ jal func_802D4E8C +/* ECA3C4 802406C4 0240802D */ daddu $s0, $s2, $zero +/* ECA3C8 802406C8 0C0462EC */ jal func_80118BB0 +/* ECA3CC 802406CC 0040202D */ daddu $a0, $v0, $zero +/* ECA3D0 802406D0 AE42005C */ sw $v0, 0x5c($s2) +.L802406D4: +/* ECA3D4 802406D4 8E42005C */ lw $v0, 0x5c($s2) +/* ECA3D8 802406D8 C440004C */ lwc1 $f0, 0x4c($v0) +/* ECA3DC 802406DC 0000202D */ daddu $a0, $zero, $zero +/* ECA3E0 802406E0 E7B60010 */ swc1 $f22, 0x10($sp) +/* ECA3E4 802406E4 AFB40014 */ sw $s4, 0x14($sp) +/* ECA3E8 802406E8 46180000 */ add.s $f0, $f0, $f24 +/* ECA3EC 802406EC 8C450048 */ lw $a1, 0x48($v0) +/* ECA3F0 802406F0 8C470050 */ lw $a3, 0x50($v0) +/* ECA3F4 802406F4 44060000 */ mfc1 $a2, $f0 +/* ECA3F8 802406F8 0C01DA5C */ jal func_80076970 +/* ECA3FC 802406FC 26310001 */ addiu $s1, $s1, 1 +/* ECA400 80240700 AE020008 */ sw $v0, 8($s0) +/* ECA404 80240704 E614002C */ swc1 $f20, 0x2c($s0) +/* ECA408 80240708 E6140020 */ swc1 $f20, 0x20($s0) +/* ECA40C 8024070C E6140014 */ swc1 $f20, 0x14($s0) +/* ECA410 80240710 E6140050 */ swc1 $f20, 0x50($s0) +/* ECA414 80240714 E6140044 */ swc1 $f20, 0x44($s0) +/* ECA418 80240718 E6140038 */ swc1 $f20, 0x38($s0) +/* ECA41C 8024071C 2A220003 */ slti $v0, $s1, 3 +/* ECA420 80240720 1440FFEC */ bnez $v0, .L802406D4 +/* ECA424 80240724 26100004 */ addiu $s0, $s0, 4 +/* ECA428 80240728 0000882D */ daddu $s1, $zero, $zero +/* ECA42C 8024072C 0240802D */ daddu $s0, $s2, $zero +/* ECA430 80240730 3C148024 */ lui $s4, %hi(func_80242038_CD3E68) +/* ECA434 80240734 26942038 */ addiu $s4, $s4, %lo(func_80242038_CD3E68) +/* ECA438 80240738 3C014248 */ lui $at, 0x4248 +/* ECA43C 8024073C 4481A000 */ mtc1 $at, $f20 +/* ECA440 80240740 24130044 */ addiu $s3, $zero, 0x44 +/* ECA444 80240744 AE400000 */ sw $zero, ($s2) +/* ECA448 80240748 AE400004 */ sw $zero, 4($s2) +/* ECA44C 8024074C AE400060 */ sw $zero, 0x60($s2) +/* ECA450 80240750 AE400064 */ sw $zero, 0x64($s2) +.L80240754: +/* ECA454 80240754 27A40020 */ addiu $a0, $sp, 0x20 +/* ECA458 80240758 4406A000 */ mfc1 $a2, $f20 +/* ECA45C 8024075C 8E870000 */ lw $a3, ($s4) +/* ECA460 80240760 02532821 */ addu $a1, $s2, $s3 +/* ECA464 80240764 0C00ACA3 */ jal func_8002B28C +/* ECA468 80240768 AFA00020 */ sw $zero, 0x20($sp) +/* ECA46C 8024076C C7A2001C */ lwc1 $f2, 0x1c($sp) +/* ECA470 80240770 C7A40020 */ lwc1 $f4, 0x20($sp) +/* ECA474 80240774 46041082 */ mul.s $f2, $f2, $f4 +/* ECA478 80240778 00000000 */ nop +/* ECA47C 8024077C C7A00018 */ lwc1 $f0, 0x18($sp) +/* ECA480 80240780 46040002 */ mul.s $f0, $f0, $f4 +/* ECA484 80240784 00000000 */ nop +/* ECA488 80240788 E6020038 */ swc1 $f2, 0x38($s0) +/* ECA48C 8024078C E6000050 */ swc1 $f0, 0x50($s0) +/* ECA490 80240790 8E42005C */ lw $v0, 0x5c($s2) +/* ECA494 80240794 C6000038 */ lwc1 $f0, 0x38($s0) +/* ECA498 80240798 C4420048 */ lwc1 $f2, 0x48($v0) +/* ECA49C 8024079C 46001080 */ add.s $f2, $f2, $f0 +/* ECA4A0 802407A0 C6A00038 */ lwc1 $f0, 0x38($s5) +/* ECA4A4 802407A4 46020001 */ sub.s $f0, $f0, $f2 +/* ECA4A8 802407A8 E6000038 */ swc1 $f0, 0x38($s0) +/* ECA4AC 802407AC 8E42005C */ lw $v0, 0x5c($s2) +/* ECA4B0 802407B0 C6000044 */ lwc1 $f0, 0x44($s0) +/* ECA4B4 802407B4 C442004C */ lwc1 $f2, 0x4c($v0) +/* ECA4B8 802407B8 46001080 */ add.s $f2, $f2, $f0 +/* ECA4BC 802407BC C6A0003C */ lwc1 $f0, 0x3c($s5) +/* ECA4C0 802407C0 46020001 */ sub.s $f0, $f0, $f2 +/* ECA4C4 802407C4 E6000044 */ swc1 $f0, 0x44($s0) +/* ECA4C8 802407C8 8E42005C */ lw $v0, 0x5c($s2) +/* ECA4CC 802407CC C6000050 */ lwc1 $f0, 0x50($s0) +/* ECA4D0 802407D0 C4420050 */ lwc1 $f2, 0x50($v0) +/* ECA4D4 802407D4 26940004 */ addiu $s4, $s4, 4 +/* ECA4D8 802407D8 46001080 */ add.s $f2, $f2, $f0 +/* ECA4DC 802407DC C6A00040 */ lwc1 $f0, 0x40($s5) +/* ECA4E0 802407E0 26730004 */ addiu $s3, $s3, 4 +/* ECA4E4 802407E4 46020001 */ sub.s $f0, $f0, $f2 +/* ECA4E8 802407E8 26310001 */ addiu $s1, $s1, 1 +/* ECA4EC 802407EC 2A220003 */ slti $v0, $s1, 3 +/* ECA4F0 802407F0 E6000050 */ swc1 $f0, 0x50($s0) +/* ECA4F4 802407F4 1440FFD7 */ bnez $v0, .L80240754 +/* ECA4F8 802407F8 26100004 */ addiu $s0, $s0, 4 +.L802407FC: +/* ECA4FC 802407FC 8ED20060 */ lw $s2, 0x60($s6) +/* ECA500 80240800 8E430000 */ lw $v1, ($s2) +/* ECA504 80240804 24020001 */ addiu $v0, $zero, 1 +/* ECA508 80240808 10620038 */ beq $v1, $v0, .L802408EC +/* ECA50C 8024080C 28620002 */ slti $v0, $v1, 2 +/* ECA510 80240810 50400005 */ beql $v0, $zero, .L80240828 +/* ECA514 80240814 24020002 */ addiu $v0, $zero, 2 +/* ECA518 80240818 10600007 */ beqz $v1, .L80240838 +/* ECA51C 8024081C 24040005 */ addiu $a0, $zero, 5 +/* ECA520 80240820 08090274 */ j .L802409D0 +/* ECA524 80240824 00000000 */ nop +.L80240828: +/* ECA528 80240828 10620058 */ beq $v1, $v0, .L8024098C +/* ECA52C 8024082C 00000000 */ nop +/* ECA530 80240830 08090274 */ j .L802409D0 +/* ECA534 80240834 00000000 */ nop +.L80240838: +/* ECA538 80240838 0000882D */ daddu $s1, $zero, $zero +/* ECA53C 8024083C 3C148024 */ lui $s4, %hi(func_80242038_CD3E68) +/* ECA540 80240840 26942038 */ addiu $s4, $s4, %lo(func_80242038_CD3E68) +/* ECA544 80240844 24130020 */ addiu $s3, $zero, 0x20 +/* ECA548 80240848 3C064248 */ lui $a2, 0x4248 +/* ECA54C 8024084C 44800000 */ mtc1 $zero, $f0 +/* ECA550 80240850 24020014 */ addiu $v0, $zero, 0x14 +/* ECA554 80240854 AFA20010 */ sw $v0, 0x10($sp) +/* ECA558 80240858 44050000 */ mfc1 $a1, $f0 +/* ECA55C 8024085C 8E470060 */ lw $a3, 0x60($s2) +/* ECA560 80240860 4485B000 */ mtc1 $a1, $f22 +/* ECA564 80240864 0C00ADA9 */ jal func_8002B6A4 +/* ECA568 80240868 0240802D */ daddu $s0, $s2, $zero +/* ECA56C 8024086C 46000506 */ mov.s $f20, $f0 +.L80240870: +/* ECA570 80240870 4406A000 */ mfc1 $a2, $f20 +/* ECA574 80240874 27A40020 */ addiu $a0, $sp, 0x20 +/* ECA578 80240878 E6160020 */ swc1 $f22, 0x20($s0) +/* ECA57C 8024087C 8E870000 */ lw $a3, ($s4) +/* ECA580 80240880 02532821 */ addu $a1, $s2, $s3 +/* ECA584 80240884 0C00ACA3 */ jal func_8002B28C +/* ECA588 80240888 E7B60020 */ swc1 $f22, 0x20($sp) +/* ECA58C 8024088C C7A4001C */ lwc1 $f4, 0x1c($sp) +/* ECA590 80240890 C7A00020 */ lwc1 $f0, 0x20($sp) +/* ECA594 80240894 46002102 */ mul.s $f4, $f4, $f0 +/* ECA598 80240898 00000000 */ nop +/* ECA59C 8024089C C7A20018 */ lwc1 $f2, 0x18($sp) +/* ECA5A0 802408A0 26940004 */ addiu $s4, $s4, 4 +/* ECA5A4 802408A4 46001082 */ mul.s $f2, $f2, $f0 +/* ECA5A8 802408A8 00000000 */ nop +/* ECA5AC 802408AC 26730004 */ addiu $s3, $s3, 4 +/* ECA5B0 802408B0 26310001 */ addiu $s1, $s1, 1 +/* ECA5B4 802408B4 2A220003 */ slti $v0, $s1, 3 +/* ECA5B8 802408B8 E6040014 */ swc1 $f4, 0x14($s0) +/* ECA5BC 802408BC E602002C */ swc1 $f2, 0x2c($s0) +/* ECA5C0 802408C0 1440FFEB */ bnez $v0, .L80240870 +/* ECA5C4 802408C4 26100004 */ addiu $s0, $s0, 4 +/* ECA5C8 802408C8 8E420060 */ lw $v0, 0x60($s2) +/* ECA5CC 802408CC 24420001 */ addiu $v0, $v0, 1 +/* ECA5D0 802408D0 AE420060 */ sw $v0, 0x60($s2) +/* ECA5D4 802408D4 28420015 */ slti $v0, $v0, 0x15 +/* ECA5D8 802408D8 1440003D */ bnez $v0, .L802409D0 +/* ECA5DC 802408DC 24020001 */ addiu $v0, $zero, 1 +/* ECA5E0 802408E0 AE420000 */ sw $v0, ($s2) +/* ECA5E4 802408E4 08090274 */ j .L802409D0 +/* ECA5E8 802408E8 AE400060 */ sw $zero, 0x60($s2) +.L802408EC: +/* ECA5EC 802408EC 0000882D */ daddu $s1, $zero, $zero +/* ECA5F0 802408F0 3C148024 */ lui $s4, %hi(func_80242038_CD3E68) +/* ECA5F4 802408F4 26942038 */ addiu $s4, $s4, %lo(func_80242038_CD3E68) +/* ECA5F8 802408F8 24130020 */ addiu $s3, $zero, 0x20 +/* ECA5FC 802408FC 0240802D */ daddu $s0, $s2, $zero +/* ECA600 80240900 3C014248 */ lui $at, 0x4248 +/* ECA604 80240904 4481A000 */ mtc1 $at, $f20 +/* ECA608 80240908 4480B000 */ mtc1 $zero, $f22 +.L8024090C: +/* ECA60C 8024090C 4406A000 */ mfc1 $a2, $f20 +/* ECA610 80240910 27A40020 */ addiu $a0, $sp, 0x20 +/* ECA614 80240914 E6160020 */ swc1 $f22, 0x20($s0) +/* ECA618 80240918 8E870000 */ lw $a3, ($s4) +/* ECA61C 8024091C 02532821 */ addu $a1, $s2, $s3 +/* ECA620 80240920 0C00ACA3 */ jal func_8002B28C +/* ECA624 80240924 E7B60020 */ swc1 $f22, 0x20($sp) +/* ECA628 80240928 C7A4001C */ lwc1 $f4, 0x1c($sp) +/* ECA62C 8024092C C7A00020 */ lwc1 $f0, 0x20($sp) +/* ECA630 80240930 46002102 */ mul.s $f4, $f4, $f0 +/* ECA634 80240934 00000000 */ nop +/* ECA638 80240938 C7A20018 */ lwc1 $f2, 0x18($sp) +/* ECA63C 8024093C 26940004 */ addiu $s4, $s4, 4 +/* ECA640 80240940 46001082 */ mul.s $f2, $f2, $f0 +/* ECA644 80240944 00000000 */ nop +/* ECA648 80240948 26730004 */ addiu $s3, $s3, 4 +/* ECA64C 8024094C 26310001 */ addiu $s1, $s1, 1 +/* ECA650 80240950 2A220003 */ slti $v0, $s1, 3 +/* ECA654 80240954 E6040014 */ swc1 $f4, 0x14($s0) +/* ECA658 80240958 E602002C */ swc1 $f2, 0x2c($s0) +/* ECA65C 8024095C 1440FFEB */ bnez $v0, .L8024090C +/* ECA660 80240960 26100004 */ addiu $s0, $s0, 4 +/* ECA664 80240964 8E420060 */ lw $v0, 0x60($s2) +/* ECA668 80240968 24420001 */ addiu $v0, $v0, 1 +/* ECA66C 8024096C AE420060 */ sw $v0, 0x60($s2) +/* ECA670 80240970 28420010 */ slti $v0, $v0, 0x10 +/* ECA674 80240974 14400016 */ bnez $v0, .L802409D0 +/* ECA678 80240978 2402000F */ addiu $v0, $zero, 0xf +/* ECA67C 8024097C AE420060 */ sw $v0, 0x60($s2) +/* ECA680 80240980 24020002 */ addiu $v0, $zero, 2 +/* ECA684 80240984 08090274 */ j .L802409D0 +/* ECA688 80240988 AE420000 */ sw $v0, ($s2) +.L8024098C: +/* ECA68C 8024098C 8E420060 */ lw $v0, 0x60($s2) +/* ECA690 80240990 24420001 */ addiu $v0, $v0, 1 +/* ECA694 80240994 AE420060 */ sw $v0, 0x60($s2) +/* ECA698 80240998 2842001F */ slti $v0, $v0, 0x1f +/* ECA69C 8024099C 1440000C */ bnez $v0, .L802409D0 +/* ECA6A0 802409A0 0000882D */ daddu $s1, $zero, $zero +/* ECA6A4 802409A4 0240282D */ daddu $a1, $s2, $zero +.L802409A8: +/* ECA6A8 802409A8 8CA20008 */ lw $v0, 8($a1) +/* ECA6AC 802409AC 8C430000 */ lw $v1, ($v0) +/* ECA6B0 802409B0 26310001 */ addiu $s1, $s1, 1 +/* ECA6B4 802409B4 34630010 */ ori $v1, $v1, 0x10 +/* ECA6B8 802409B8 AC430000 */ sw $v1, ($v0) +/* ECA6BC 802409BC 2A220003 */ slti $v0, $s1, 3 +/* ECA6C0 802409C0 1440FFF9 */ bnez $v0, .L802409A8 +/* ECA6C4 802409C4 24A50004 */ addiu $a1, $a1, 4 +/* ECA6C8 802409C8 080902C1 */ j .L80240B04 +/* ECA6CC 802409CC 24020002 */ addiu $v0, $zero, 2 +.L802409D0: +/* ECA6D0 802409D0 8E430004 */ lw $v1, 4($s2) +/* ECA6D4 802409D4 10600005 */ beqz $v1, .L802409EC +/* ECA6D8 802409D8 24020001 */ addiu $v0, $zero, 1 +/* ECA6DC 802409DC 1062000B */ beq $v1, $v0, .L80240A0C +/* ECA6E0 802409E0 0000882D */ daddu $s1, $zero, $zero +/* ECA6E4 802409E4 080902B0 */ j .L80240AC0 +/* ECA6E8 802409E8 0240282D */ daddu $a1, $s2, $zero +.L802409EC: +/* ECA6EC 802409EC 8E420064 */ lw $v0, 0x64($s2) +/* ECA6F0 802409F0 24420001 */ addiu $v0, $v0, 1 +/* ECA6F4 802409F4 AE420064 */ sw $v0, 0x64($s2) +/* ECA6F8 802409F8 28420010 */ slti $v0, $v0, 0x10 +/* ECA6FC 802409FC 1440002F */ bnez $v0, .L80240ABC +/* ECA700 80240A00 0000882D */ daddu $s1, $zero, $zero +/* ECA704 80240A04 080902AC */ j .L80240AB0 +/* ECA708 80240A08 24020001 */ addiu $v0, $zero, 1 +.L80240A0C: +/* ECA70C 80240A0C 4480A000 */ mtc1 $zero, $f20 +/* ECA710 80240A10 24130014 */ addiu $s3, $zero, 0x14 +/* ECA714 80240A14 0240802D */ daddu $s0, $s2, $zero +.L80240A18: +/* ECA718 80240A18 4405A000 */ mfc1 $a1, $f20 +/* ECA71C 80240A1C AFB30010 */ sw $s3, 0x10($sp) +/* ECA720 80240A20 8E060038 */ lw $a2, 0x38($s0) +/* ECA724 80240A24 8E470064 */ lw $a3, 0x64($s2) +/* ECA728 80240A28 0C00ADA9 */ jal func_8002B6A4 +/* ECA72C 80240A2C 24040001 */ addiu $a0, $zero, 1 +/* ECA730 80240A30 C6020014 */ lwc1 $f2, 0x14($s0) +/* ECA734 80240A34 46001080 */ add.s $f2, $f2, $f0 +/* ECA738 80240A38 4405A000 */ mfc1 $a1, $f20 +/* ECA73C 80240A3C E6020014 */ swc1 $f2, 0x14($s0) +/* ECA740 80240A40 AFB30010 */ sw $s3, 0x10($sp) +/* ECA744 80240A44 8E060044 */ lw $a2, 0x44($s0) +/* ECA748 80240A48 8E470064 */ lw $a3, 0x64($s2) +/* ECA74C 80240A4C 0C00ADA9 */ jal func_8002B6A4 +/* ECA750 80240A50 24040001 */ addiu $a0, $zero, 1 +/* ECA754 80240A54 C6020020 */ lwc1 $f2, 0x20($s0) +/* ECA758 80240A58 46001080 */ add.s $f2, $f2, $f0 +/* ECA75C 80240A5C 4405A000 */ mfc1 $a1, $f20 +/* ECA760 80240A60 E6020020 */ swc1 $f2, 0x20($s0) +/* ECA764 80240A64 AFB30010 */ sw $s3, 0x10($sp) +/* ECA768 80240A68 8E060050 */ lw $a2, 0x50($s0) +/* ECA76C 80240A6C 8E470064 */ lw $a3, 0x64($s2) +/* ECA770 80240A70 0C00ADA9 */ jal func_8002B6A4 +/* ECA774 80240A74 24040001 */ addiu $a0, $zero, 1 +/* ECA778 80240A78 C602002C */ lwc1 $f2, 0x2c($s0) +/* ECA77C 80240A7C 46001080 */ add.s $f2, $f2, $f0 +/* ECA780 80240A80 26310001 */ addiu $s1, $s1, 1 +/* ECA784 80240A84 2A220003 */ slti $v0, $s1, 3 +/* ECA788 80240A88 E602002C */ swc1 $f2, 0x2c($s0) +/* ECA78C 80240A8C 1440FFE2 */ bnez $v0, .L80240A18 +/* ECA790 80240A90 26100004 */ addiu $s0, $s0, 4 +/* ECA794 80240A94 8E420064 */ lw $v0, 0x64($s2) +/* ECA798 80240A98 24420001 */ addiu $v0, $v0, 1 +/* ECA79C 80240A9C AE420064 */ sw $v0, 0x64($s2) +/* ECA7A0 80240AA0 28420015 */ slti $v0, $v0, 0x15 +/* ECA7A4 80240AA4 14400005 */ bnez $v0, .L80240ABC +/* ECA7A8 80240AA8 0000882D */ daddu $s1, $zero, $zero +/* ECA7AC 80240AAC 24020002 */ addiu $v0, $zero, 2 +.L80240AB0: +/* ECA7B0 80240AB0 AE420004 */ sw $v0, 4($s2) +/* ECA7B4 80240AB4 AE400064 */ sw $zero, 0x64($s2) +/* ECA7B8 80240AB8 0000882D */ daddu $s1, $zero, $zero +.L80240ABC: +/* ECA7BC 80240ABC 0240282D */ daddu $a1, $s2, $zero +.L80240AC0: +/* ECA7C0 80240AC0 8CA20008 */ lw $v0, 8($a1) +/* ECA7C4 80240AC4 C4A00014 */ lwc1 $f0, 0x14($a1) +/* ECA7C8 80240AC8 8C42000C */ lw $v0, 0xc($v0) +/* ECA7CC 80240ACC E4400010 */ swc1 $f0, 0x10($v0) +/* ECA7D0 80240AD0 8CA20008 */ lw $v0, 8($a1) +/* ECA7D4 80240AD4 C4A00020 */ lwc1 $f0, 0x20($a1) +/* ECA7D8 80240AD8 8C42000C */ lw $v0, 0xc($v0) +/* ECA7DC 80240ADC 26310001 */ addiu $s1, $s1, 1 +/* ECA7E0 80240AE0 E4400014 */ swc1 $f0, 0x14($v0) +/* ECA7E4 80240AE4 8CA20008 */ lw $v0, 8($a1) +/* ECA7E8 80240AE8 C4A0002C */ lwc1 $f0, 0x2c($a1) +/* ECA7EC 80240AEC 8C42000C */ lw $v0, 0xc($v0) +/* ECA7F0 80240AF0 E4400018 */ swc1 $f0, 0x18($v0) +/* ECA7F4 80240AF4 2A220003 */ slti $v0, $s1, 3 +/* ECA7F8 80240AF8 1440FFF1 */ bnez $v0, .L80240AC0 +/* ECA7FC 80240AFC 24A50004 */ addiu $a1, $a1, 4 +/* ECA800 80240B00 0000102D */ daddu $v0, $zero, $zero +.L80240B04: +/* ECA804 80240B04 8FBF0044 */ lw $ra, 0x44($sp) +/* ECA808 80240B08 8FB60040 */ lw $s6, 0x40($sp) +/* ECA80C 80240B0C 8FB5003C */ lw $s5, 0x3c($sp) +/* ECA810 80240B10 8FB40038 */ lw $s4, 0x38($sp) +/* ECA814 80240B14 8FB30034 */ lw $s3, 0x34($sp) +/* ECA818 80240B18 8FB20030 */ lw $s2, 0x30($sp) +/* ECA81C 80240B1C 8FB1002C */ lw $s1, 0x2c($sp) +/* ECA820 80240B20 8FB00028 */ lw $s0, 0x28($sp) +/* ECA824 80240B24 D7B80058 */ ldc1 $f24, 0x58($sp) +/* ECA828 80240B28 D7B60050 */ ldc1 $f22, 0x50($sp) +/* ECA82C 80240B2C D7B40048 */ ldc1 $f20, 0x48($sp) +/* ECA830 80240B30 03E00008 */ jr $ra +/* ECA834 80240B34 27BD0060 */ addiu $sp, $sp, 0x60 diff --git a/asm/nonmatchings/code_EC9D00/func_80240B38_ECA838.s b/asm/nonmatchings/code_EC9D00/func_80240B38_ECA838.s new file mode 100644 index 0000000000..843e51e98b --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_80240B38_ECA838.s @@ -0,0 +1,92 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240B38_ECA838 +/* ECA838 80240B38 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ECA83C 80240B3C AFB10014 */ sw $s1, 0x14($sp) +/* ECA840 80240B40 0080882D */ daddu $s1, $a0, $zero +/* ECA844 80240B44 AFB20018 */ sw $s2, 0x18($sp) +/* ECA848 80240B48 AFBF001C */ sw $ra, 0x1c($sp) +/* ECA84C 80240B4C AFB00010 */ sw $s0, 0x10($sp) +/* ECA850 80240B50 8E30000C */ lw $s0, 0xc($s1) +/* ECA854 80240B54 10A00010 */ beqz $a1, .L80240B98 +/* ECA858 80240B58 0000902D */ daddu $s2, $zero, $zero +/* ECA85C 80240B5C 8E050000 */ lw $a1, ($s0) +/* ECA860 80240B60 0C0B53A3 */ jal func_802D4E8C +/* ECA864 80240B64 26100004 */ addiu $s0, $s0, 4 +/* ECA868 80240B68 AE220084 */ sw $v0, 0x84($s1) +/* ECA86C 80240B6C 8E050000 */ lw $a1, ($s0) +/* ECA870 80240B70 0C0B53A3 */ jal func_802D4E8C +/* ECA874 80240B74 0220202D */ daddu $a0, $s1, $zero +/* ECA878 80240B78 0240202D */ daddu $a0, $s2, $zero +/* ECA87C 80240B7C 240500D0 */ addiu $a1, $zero, 0xd0 +/* ECA880 80240B80 00A0302D */ daddu $a2, $a1, $zero +/* ECA884 80240B84 00A0382D */ daddu $a3, $a1, $zero +/* ECA888 80240B88 AE220088 */ sw $v0, 0x88($s1) +/* ECA88C 80240B8C AE200070 */ sw $zero, 0x70($s1) +/* ECA890 80240B90 0C051080 */ jal func_80144200 +/* ECA894 80240B94 AE200074 */ sw $zero, 0x74($s1) +.L80240B98: +/* ECA898 80240B98 8E230070 */ lw $v1, 0x70($s1) +/* ECA89C 80240B9C 24040001 */ addiu $a0, $zero, 1 +/* ECA8A0 80240BA0 10640019 */ beq $v1, $a0, .L80240C08 +/* ECA8A4 80240BA4 28620002 */ slti $v0, $v1, 2 +/* ECA8A8 80240BA8 10400005 */ beqz $v0, .L80240BC0 +/* ECA8AC 80240BAC 24020002 */ addiu $v0, $zero, 2 +/* ECA8B0 80240BB0 10600007 */ beqz $v1, .L80240BD0 +/* ECA8B4 80240BB4 240500FF */ addiu $a1, $zero, 0xff +/* ECA8B8 80240BB8 08090312 */ j .L80240C48 +/* ECA8BC 80240BBC 00000000 */ nop +.L80240BC0: +/* ECA8C0 80240BC0 10620019 */ beq $v1, $v0, .L80240C28 +/* ECA8C4 80240BC4 00000000 */ nop +/* ECA8C8 80240BC8 08090312 */ j .L80240C48 +/* ECA8CC 80240BCC 00000000 */ nop +.L80240BD0: +/* ECA8D0 80240BD0 8E220074 */ lw $v0, 0x74($s1) +/* ECA8D4 80240BD4 14450004 */ bne $v0, $a1, .L80240BE8 +/* ECA8D8 80240BD8 00000000 */ nop +/* ECA8DC 80240BDC AE240070 */ sw $a0, 0x70($s1) +/* ECA8E0 80240BE0 AE200078 */ sw $zero, 0x78($s1) +/* ECA8E4 80240BE4 8E220074 */ lw $v0, 0x74($s1) +.L80240BE8: +/* ECA8E8 80240BE8 8E230084 */ lw $v1, 0x84($s1) +/* ECA8EC 80240BEC 00431021 */ addu $v0, $v0, $v1 +/* ECA8F0 80240BF0 AE220074 */ sw $v0, 0x74($s1) +/* ECA8F4 80240BF4 28420100 */ slti $v0, $v0, 0x100 +/* ECA8F8 80240BF8 50400013 */ beql $v0, $zero, .L80240C48 +/* ECA8FC 80240BFC AE250074 */ sw $a1, 0x74($s1) +/* ECA900 80240C00 08090312 */ j .L80240C48 +/* ECA904 80240C04 00000000 */ nop +.L80240C08: +/* ECA908 80240C08 8E220078 */ lw $v0, 0x78($s1) +/* ECA90C 80240C0C 24420001 */ addiu $v0, $v0, 1 +/* ECA910 80240C10 AE220078 */ sw $v0, 0x78($s1) +/* ECA914 80240C14 28420002 */ slti $v0, $v0, 2 +/* ECA918 80240C18 1440000B */ bnez $v0, .L80240C48 +/* ECA91C 80240C1C 24020002 */ addiu $v0, $zero, 2 +/* ECA920 80240C20 08090312 */ j .L80240C48 +/* ECA924 80240C24 AE220070 */ sw $v0, 0x70($s1) +.L80240C28: +/* ECA928 80240C28 8E230074 */ lw $v1, 0x74($s1) +/* ECA92C 80240C2C 50600001 */ beql $v1, $zero, .L80240C34 +/* ECA930 80240C30 24120001 */ addiu $s2, $zero, 1 +.L80240C34: +/* ECA934 80240C34 8E220088 */ lw $v0, 0x88($s1) +/* ECA938 80240C38 00621023 */ subu $v0, $v1, $v0 +/* ECA93C 80240C3C 04410002 */ bgez $v0, .L80240C48 +/* ECA940 80240C40 AE220074 */ sw $v0, 0x74($s1) +/* ECA944 80240C44 AE200074 */ sw $zero, 0x74($s1) +.L80240C48: +/* ECA948 80240C48 C6200074 */ lwc1 $f0, 0x74($s1) +/* ECA94C 80240C4C 46800020 */ cvt.s.w $f0, $f0 +/* ECA950 80240C50 44050000 */ mfc1 $a1, $f0 +/* ECA954 80240C54 0C05105E */ jal func_80144178 +/* ECA958 80240C58 24040001 */ addiu $a0, $zero, 1 +/* ECA95C 80240C5C 0240102D */ daddu $v0, $s2, $zero +/* ECA960 80240C60 8FBF001C */ lw $ra, 0x1c($sp) +/* ECA964 80240C64 8FB20018 */ lw $s2, 0x18($sp) +/* ECA968 80240C68 8FB10014 */ lw $s1, 0x14($sp) +/* ECA96C 80240C6C 8FB00010 */ lw $s0, 0x10($sp) +/* ECA970 80240C70 03E00008 */ jr $ra +/* ECA974 80240C74 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EC9D00/func_80240C78_ECA978.s b/asm/nonmatchings/code_EC9D00/func_80240C78_ECA978.s new file mode 100644 index 0000000000..1e5a332d65 --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_80240C78_ECA978.s @@ -0,0 +1,22 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240C78_ECA978 +/* ECA978 80240C78 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ECA97C 80240C7C AFBF0018 */ sw $ra, 0x18($sp) +/* ECA980 80240C80 0C00F94D */ jal func_8003E534 +/* ECA984 80240C84 2404FFFC */ addiu $a0, $zero, -4 +/* ECA988 80240C88 3C0141F0 */ lui $at, 0x41f0 +/* ECA98C 80240C8C 44810000 */ mtc1 $at, $f0 +/* ECA990 80240C90 C442003C */ lwc1 $f2, 0x3c($v0) +/* ECA994 80240C94 46001080 */ add.s $f2, $f2, $f0 +/* ECA998 80240C98 E7A00010 */ swc1 $f0, 0x10($sp) +/* ECA99C 80240C9C 8C450038 */ lw $a1, 0x38($v0) +/* ECA9A0 80240CA0 8C470040 */ lw $a3, 0x40($v0) +/* ECA9A4 80240CA4 44061000 */ mfc1 $a2, $f2 +/* ECA9A8 80240CA8 0C01D45C */ jal func_80075170 +/* ECA9AC 80240CAC 24040002 */ addiu $a0, $zero, 2 +/* ECA9B0 80240CB0 8FBF0018 */ lw $ra, 0x18($sp) +/* ECA9B4 80240CB4 24020002 */ addiu $v0, $zero, 2 +/* ECA9B8 80240CB8 03E00008 */ jr $ra +/* ECA9BC 80240CBC 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EC9D00/func_80240CC0_ECA9C0.s b/asm/nonmatchings/code_EC9D00/func_80240CC0_ECA9C0.s new file mode 100644 index 0000000000..ac54321e90 --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_80240CC0_ECA9C0.s @@ -0,0 +1,22 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240CC0_ECA9C0 +/* ECA9C0 80240CC0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ECA9C4 80240CC4 AFBF0018 */ sw $ra, 0x18($sp) +/* ECA9C8 80240CC8 0C00F94D */ jal func_8003E534 +/* ECA9CC 80240CCC 2404FFFC */ addiu $a0, $zero, -4 +/* ECA9D0 80240CD0 3C0141F0 */ lui $at, 0x41f0 +/* ECA9D4 80240CD4 44810000 */ mtc1 $at, $f0 +/* ECA9D8 80240CD8 C442003C */ lwc1 $f2, 0x3c($v0) +/* ECA9DC 80240CDC 46001080 */ add.s $f2, $f2, $f0 +/* ECA9E0 80240CE0 E7A00010 */ swc1 $f0, 0x10($sp) +/* ECA9E4 80240CE4 8C450038 */ lw $a1, 0x38($v0) +/* ECA9E8 80240CE8 8C470040 */ lw $a3, 0x40($v0) +/* ECA9EC 80240CEC 44061000 */ mfc1 $a2, $f2 +/* ECA9F0 80240CF0 0C01D45C */ jal func_80075170 +/* ECA9F4 80240CF4 24040004 */ addiu $a0, $zero, 4 +/* ECA9F8 80240CF8 8FBF0018 */ lw $ra, 0x18($sp) +/* ECA9FC 80240CFC 24020002 */ addiu $v0, $zero, 2 +/* ECAA00 80240D00 03E00008 */ jr $ra +/* ECAA04 80240D04 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EC9D00/func_80240D08_ECAA08.s b/asm/nonmatchings/code_EC9D00/func_80240D08_ECAA08.s new file mode 100644 index 0000000000..1bab2da743 --- /dev/null +++ b/asm/nonmatchings/code_EC9D00/func_80240D08_ECAA08.s @@ -0,0 +1,19 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240D08_ECAA08 +/* ECAA08 80240D08 3C038011 */ lui $v1, %hi(D_80117160) +/* ECAA0C 80240D0C 24637160 */ addiu $v1, $v1, %lo(D_80117160) +/* ECAA10 80240D10 AC800084 */ sw $zero, 0x84($a0) +/* ECAA14 80240D14 80620000 */ lb $v0, ($v1) +/* ECAA18 80240D18 10400005 */ beqz $v0, .L80240D30 +/* ECAA1C 80240D1C 24020003 */ addiu $v0, $zero, 3 +/* ECAA20 80240D20 80630003 */ lb $v1, 3($v1) +/* ECAA24 80240D24 14620002 */ bne $v1, $v0, .L80240D30 +/* ECAA28 80240D28 24020001 */ addiu $v0, $zero, 1 +/* ECAA2C 80240D2C AC820084 */ sw $v0, 0x84($a0) +.L80240D30: +/* ECAA30 80240D30 03E00008 */ jr $ra +/* ECAA34 80240D34 24020002 */ addiu $v0, $zero, 2 +/* ECAA38 80240D38 00000000 */ nop +/* ECAA3C 80240D3C 00000000 */ nop diff --git a/asm/nonmatchings/code_ECAA40/func_80240D40_ECAA40.s b/asm/nonmatchings/code_ECAA40/func_80240D40_ECAA40.s new file mode 100644 index 0000000000..cb682689d6 --- /dev/null +++ b/asm/nonmatchings/code_ECAA40/func_80240D40_ECAA40.s @@ -0,0 +1,20 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240D40_ECAA40 +/* ECAA40 80240D40 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ECAA44 80240D44 24040001 */ addiu $a0, $zero, 1 +/* ECAA48 80240D48 0000282D */ daddu $a1, $zero, $zero +/* ECAA4C 80240D4C 00A0302D */ daddu $a2, $a1, $zero +/* ECAA50 80240D50 00A0382D */ daddu $a3, $a1, $zero +/* ECAA54 80240D54 AFBF0018 */ sw $ra, 0x18($sp) +/* ECAA58 80240D58 AFA00010 */ sw $zero, 0x10($sp) +/* ECAA5C 80240D5C 0C01DEF4 */ jal func_80077BD0 +/* ECAA60 80240D60 AFA00014 */ sw $zero, 0x14($sp) +/* ECAA64 80240D64 8FBF0018 */ lw $ra, 0x18($sp) +/* ECAA68 80240D68 24020002 */ addiu $v0, $zero, 2 +/* ECAA6C 80240D6C 03E00008 */ jr $ra +/* ECAA70 80240D70 27BD0020 */ addiu $sp, $sp, 0x20 +/* ECAA74 80240D74 00000000 */ nop +/* ECAA78 80240D78 00000000 */ nop +/* ECAA7C 80240D7C 00000000 */ nop diff --git a/asm/nonmatchings/code_ECAA80/func_80240D80_ECAA80.s b/asm/nonmatchings/code_ECAA80/func_80240D80_ECAA80.s new file mode 100644 index 0000000000..8483c2025a --- /dev/null +++ b/asm/nonmatchings/code_ECAA80/func_80240D80_ECAA80.s @@ -0,0 +1,401 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240D80_ECAA80 +/* ECAA80 80240D80 27BDFF68 */ addiu $sp, $sp, -0x98 +/* ECAA84 80240D84 AFB60060 */ sw $s6, 0x60($sp) +/* ECAA88 80240D88 0080B02D */ daddu $s6, $a0, $zero +/* ECAA8C 80240D8C AFBF0064 */ sw $ra, 0x64($sp) +/* ECAA90 80240D90 AFB5005C */ sw $s5, 0x5c($sp) +/* ECAA94 80240D94 AFB40058 */ sw $s4, 0x58($sp) +/* ECAA98 80240D98 AFB30054 */ sw $s3, 0x54($sp) +/* ECAA9C 80240D9C AFB20050 */ sw $s2, 0x50($sp) +/* ECAAA0 80240DA0 AFB1004C */ sw $s1, 0x4c($sp) +/* ECAAA4 80240DA4 AFB00048 */ sw $s0, 0x48($sp) +/* ECAAA8 80240DA8 F7BE0090 */ sdc1 $f30, 0x90($sp) +/* ECAAAC 80240DAC F7BC0088 */ sdc1 $f28, 0x88($sp) +/* ECAAB0 80240DB0 F7BA0080 */ sdc1 $f26, 0x80($sp) +/* ECAAB4 80240DB4 F7B80078 */ sdc1 $f24, 0x78($sp) +/* ECAAB8 80240DB8 F7B60070 */ sdc1 $f22, 0x70($sp) +/* ECAABC 80240DBC F7B40068 */ sdc1 $f20, 0x68($sp) +/* ECAAC0 80240DC0 8ED20148 */ lw $s2, 0x148($s6) +/* ECAAC4 80240DC4 00A0882D */ daddu $s1, $a1, $zero +/* ECAAC8 80240DC8 86440008 */ lh $a0, 8($s2) +/* ECAACC 80240DCC 0C00F92F */ jal func_8003E4BC +/* ECAAD0 80240DD0 00C0A82D */ daddu $s5, $a2, $zero +/* ECAAD4 80240DD4 8E240020 */ lw $a0, 0x20($s1) +/* ECAAD8 80240DD8 0040802D */ daddu $s0, $v0, $zero +/* ECAADC 80240DDC 00041FC2 */ srl $v1, $a0, 0x1f +/* ECAAE0 80240DE0 00832021 */ addu $a0, $a0, $v1 +/* ECAAE4 80240DE4 00042043 */ sra $a0, $a0, 1 +/* ECAAE8 80240DE8 0C00AB3B */ jal func_8002ACEC +/* ECAAEC 80240DEC 24840001 */ addiu $a0, $a0, 1 +/* ECAAF0 80240DF0 8E230020 */ lw $v1, 0x20($s1) +/* ECAAF4 80240DF4 C60C0038 */ lwc1 $f12, 0x38($s0) +/* ECAAF8 80240DF8 000327C2 */ srl $a0, $v1, 0x1f +/* ECAAFC 80240DFC 00641821 */ addu $v1, $v1, $a0 +/* ECAB00 80240E00 00031843 */ sra $v1, $v1, 1 +/* ECAB04 80240E04 00621821 */ addu $v1, $v1, $v0 +/* ECAB08 80240E08 A603008E */ sh $v1, 0x8e($s0) +/* ECAB0C 80240E0C 8E4200CC */ lw $v0, 0xcc($s2) +/* ECAB10 80240E10 C60E0040 */ lwc1 $f14, 0x40($s0) +/* ECAB14 80240E14 8C42000C */ lw $v0, 0xc($v0) +/* ECAB18 80240E18 AE020028 */ sw $v0, 0x28($s0) +/* ECAB1C 80240E1C C6200018 */ lwc1 $f0, 0x18($s1) +/* ECAB20 80240E20 3C028010 */ lui $v0, %hi(D_800FFC90) +/* ECAB24 80240E24 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* ECAB28 80240E28 E6000018 */ swc1 $f0, 0x18($s0) +/* ECAB2C 80240E2C 8C460028 */ lw $a2, 0x28($v0) +/* ECAB30 80240E30 8C470030 */ lw $a3, 0x30($v0) +/* ECAB34 80240E34 0C00ABDC */ jal fio_validate_header_checksums +/* ECAB38 80240E38 0000982D */ daddu $s3, $zero, $zero +/* ECAB3C 80240E3C 3C014334 */ lui $at, 0x4334 +/* ECAB40 80240E40 44816000 */ mtc1 $at, $f12 +/* ECAB44 80240E44 0C00AB85 */ jal func_8002AE14 +/* ECAB48 80240E48 460C0300 */ add.s $f12, $f0, $f12 +/* ECAB4C 80240E4C 46000506 */ mov.s $f20, $f0 +/* ECAB50 80240E50 C60C000C */ lwc1 $f12, 0xc($s0) +/* ECAB54 80240E54 0C00ABC6 */ jal func_8002AF18 +/* ECAB58 80240E58 4600A386 */ mov.s $f14, $f20 +/* ECAB5C 80240E5C 46000086 */ mov.s $f2, $f0 +/* ECAB60 80240E60 8E22001C */ lw $v0, 0x1c($s1) +/* ECAB64 80240E64 46001005 */ abs.s $f0, $f2 +/* ECAB68 80240E68 44822000 */ mtc1 $v0, $f4 +/* ECAB6C 80240E6C 00000000 */ nop +/* ECAB70 80240E70 46802120 */ cvt.s.w $f4, $f4 +/* ECAB74 80240E74 4600203C */ c.lt.s $f4, $f0 +/* ECAB78 80240E78 00000000 */ nop +/* ECAB7C 80240E7C 4500000D */ bc1f .L80240EB4 +/* ECAB80 80240E80 00000000 */ nop +/* ECAB84 80240E84 44800000 */ mtc1 $zero, $f0 +/* ECAB88 80240E88 C614000C */ lwc1 $f20, 0xc($s0) +/* ECAB8C 80240E8C 4600103C */ c.lt.s $f2, $f0 +/* ECAB90 80240E90 00000000 */ nop +/* ECAB94 80240E94 45000006 */ bc1f .L80240EB0 +/* ECAB98 80240E98 00021023 */ negu $v0, $v0 +/* ECAB9C 80240E9C 44820000 */ mtc1 $v0, $f0 +/* ECABA0 80240EA0 00000000 */ nop +/* ECABA4 80240EA4 46800020 */ cvt.s.w $f0, $f0 +/* ECABA8 80240EA8 080903AD */ j .L80240EB4 +/* ECABAC 80240EAC 4600A500 */ add.s $f20, $f20, $f0 +.L80240EB0: +/* ECABB0 80240EB0 4604A500 */ add.s $f20, $f20, $f4 +.L80240EB4: +/* ECABB4 80240EB4 0C00AB85 */ jal func_8002AE14 +/* ECABB8 80240EB8 4600A306 */ mov.s $f12, $f20 +/* ECABBC 80240EBC 3C148010 */ lui $s4, %hi(D_800FFC90) +/* ECABC0 80240EC0 2694FC90 */ addiu $s4, $s4, %lo(D_800FFC90) +/* ECABC4 80240EC4 C60C0038 */ lwc1 $f12, 0x38($s0) +/* ECABC8 80240EC8 C60E0040 */ lwc1 $f14, 0x40($s0) +/* ECABCC 80240ECC 8E820000 */ lw $v0, ($s4) +/* ECABD0 80240ED0 C602003C */ lwc1 $f2, 0x3c($s0) +/* ECABD4 80240ED4 E600000C */ swc1 $f0, 0xc($s0) +/* ECABD8 80240ED8 46006006 */ mov.s $f0, $f12 +/* ECABDC 80240EDC 8C460028 */ lw $a2, 0x28($v0) +/* ECABE0 80240EE0 8C470030 */ lw $a3, 0x30($v0) +/* ECABE4 80240EE4 46007106 */ mov.s $f4, $f14 +/* ECABE8 80240EE8 E7A00020 */ swc1 $f0, 0x20($sp) +/* ECABEC 80240EEC E7A20024 */ swc1 $f2, 0x24($sp) +/* ECABF0 80240EF0 0C00ABDC */ jal fio_validate_header_checksums +/* ECABF4 80240EF4 E7A40028 */ swc1 $f4, 0x28($sp) +/* ECABF8 80240EF8 3C014334 */ lui $at, 0x4334 +/* ECABFC 80240EFC 44816000 */ mtc1 $at, $f12 +/* ECAC00 80240F00 0C00AB85 */ jal func_8002AE14 +/* ECAC04 80240F04 460C0300 */ add.s $f12, $f0, $f12 +/* ECAC08 80240F08 C6020018 */ lwc1 $f2, 0x18($s0) +/* ECAC0C 80240F0C 3C014012 */ lui $at, 0x4012 +/* ECAC10 80240F10 4481E800 */ mtc1 $at, $f29 +/* ECAC14 80240F14 4480E000 */ mtc1 $zero, $f28 +/* ECAC18 80240F18 460010A1 */ cvt.d.s $f2, $f2 +/* ECAC1C 80240F1C 463C1082 */ mul.d $f2, $f2, $f28 +/* ECAC20 80240F20 00000000 */ nop +/* ECAC24 80240F24 46000506 */ mov.s $f20, $f0 +/* ECAC28 80240F28 27A50020 */ addiu $a1, $sp, 0x20 +/* ECAC2C 80240F2C 27A60024 */ addiu $a2, $sp, 0x24 +/* ECAC30 80240F30 27A70028 */ addiu $a3, $sp, 0x28 +/* ECAC34 80240F34 E7B40014 */ swc1 $f20, 0x14($sp) +/* ECAC38 80240F38 462010A0 */ cvt.s.d $f2, $f2 +/* ECAC3C 80240F3C E7A20010 */ swc1 $f2, 0x10($sp) +/* ECAC40 80240F40 860200A8 */ lh $v0, 0xa8($s0) +/* ECAC44 80240F44 4480B000 */ mtc1 $zero, $f22 +/* ECAC48 80240F48 44820000 */ mtc1 $v0, $f0 +/* ECAC4C 80240F4C 00000000 */ nop +/* ECAC50 80240F50 46800020 */ cvt.s.w $f0, $f0 +/* ECAC54 80240F54 E7A00018 */ swc1 $f0, 0x18($sp) +/* ECAC58 80240F58 860200A6 */ lh $v0, 0xa6($s0) +/* ECAC5C 80240F5C 4600B606 */ mov.s $f24, $f22 +/* ECAC60 80240F60 44820000 */ mtc1 $v0, $f0 +/* ECAC64 80240F64 00000000 */ nop +/* ECAC68 80240F68 46800020 */ cvt.s.w $f0, $f0 +/* ECAC6C 80240F6C E7A0001C */ swc1 $f0, 0x1c($sp) +/* ECAC70 80240F70 8E040080 */ lw $a0, 0x80($s0) +/* ECAC74 80240F74 0C0394EB */ jal func_800E53AC +/* ECAC78 80240F78 4600C686 */ mov.s $f26, $f24 +/* ECAC7C 80240F7C 104000E1 */ beqz $v0, .L80241304 +/* ECAC80 80240F80 00000000 */ nop +/* ECAC84 80240F84 C60C0038 */ lwc1 $f12, 0x38($s0) +/* ECAC88 80240F88 C60E0040 */ lwc1 $f14, 0x40($s0) +/* ECAC8C 80240F8C 8FA60020 */ lw $a2, 0x20($sp) +/* ECAC90 80240F90 0C00AC71 */ jal func_8002B1C4 +/* ECAC94 80240F94 8FA70028 */ lw $a3, 0x28($sp) +/* ECAC98 80240F98 46000586 */ mov.s $f22, $f0 +/* ECAC9C 80240F9C C6020038 */ lwc1 $f2, 0x38($s0) +/* ECACA0 80240FA0 C604003C */ lwc1 $f4, 0x3c($s0) +/* ECACA4 80240FA4 3C01420C */ lui $at, 0x420c +/* ECACA8 80240FA8 4481F000 */ mtc1 $at, $f30 +/* ECACAC 80240FAC C6000040 */ lwc1 $f0, 0x40($s0) +/* ECACB0 80240FB0 461EA300 */ add.s $f12, $f20, $f30 +/* ECACB4 80240FB4 E7A2002C */ swc1 $f2, 0x2c($sp) +/* ECACB8 80240FB8 E7A40030 */ swc1 $f4, 0x30($sp) +/* ECACBC 80240FBC 0C00AB85 */ jal func_8002AE14 +/* ECACC0 80240FC0 E7A00034 */ swc1 $f0, 0x34($sp) +/* ECACC4 80240FC4 C6020018 */ lwc1 $f2, 0x18($s0) +/* ECACC8 80240FC8 460010A1 */ cvt.d.s $f2, $f2 +/* ECACCC 80240FCC 463C1082 */ mul.d $f2, $f2, $f28 +/* ECACD0 80240FD0 00000000 */ nop +/* ECACD4 80240FD4 E7A00014 */ swc1 $f0, 0x14($sp) +/* ECACD8 80240FD8 462010A0 */ cvt.s.d $f2, $f2 +/* ECACDC 80240FDC E7A20010 */ swc1 $f2, 0x10($sp) +/* ECACE0 80240FE0 860200A8 */ lh $v0, 0xa8($s0) +/* ECACE4 80240FE4 27A5002C */ addiu $a1, $sp, 0x2c +/* ECACE8 80240FE8 44820000 */ mtc1 $v0, $f0 +/* ECACEC 80240FEC 00000000 */ nop +/* ECACF0 80240FF0 46800020 */ cvt.s.w $f0, $f0 +/* ECACF4 80240FF4 E7A00018 */ swc1 $f0, 0x18($sp) +/* ECACF8 80240FF8 860200A6 */ lh $v0, 0xa6($s0) +/* ECACFC 80240FFC 27A60030 */ addiu $a2, $sp, 0x30 +/* ECAD00 80241000 44820000 */ mtc1 $v0, $f0 +/* ECAD04 80241004 00000000 */ nop +/* ECAD08 80241008 46800020 */ cvt.s.w $f0, $f0 +/* ECAD0C 8024100C E7A0001C */ swc1 $f0, 0x1c($sp) +/* ECAD10 80241010 8E040080 */ lw $a0, 0x80($s0) +/* ECAD14 80241014 0C0394EB */ jal func_800E53AC +/* ECAD18 80241018 27A70034 */ addiu $a3, $sp, 0x34 +/* ECAD1C 8024101C 10400007 */ beqz $v0, .L8024103C +/* ECAD20 80241020 00000000 */ nop +/* ECAD24 80241024 C60C0038 */ lwc1 $f12, 0x38($s0) +/* ECAD28 80241028 C60E0040 */ lwc1 $f14, 0x40($s0) +/* ECAD2C 8024102C 8FA6002C */ lw $a2, 0x2c($sp) +/* ECAD30 80241030 0C00AC71 */ jal func_8002B1C4 +/* ECAD34 80241034 8FA70034 */ lw $a3, 0x34($sp) +/* ECAD38 80241038 46000606 */ mov.s $f24, $f0 +.L8024103C: +/* ECAD3C 8024103C C6000038 */ lwc1 $f0, 0x38($s0) +/* ECAD40 80241040 C602003C */ lwc1 $f2, 0x3c($s0) +/* ECAD44 80241044 C6040040 */ lwc1 $f4, 0x40($s0) +/* ECAD48 80241048 461EA301 */ sub.s $f12, $f20, $f30 +/* ECAD4C 8024104C E7A00038 */ swc1 $f0, 0x38($sp) +/* ECAD50 80241050 E7A2003C */ swc1 $f2, 0x3c($sp) +/* ECAD54 80241054 0C00AB85 */ jal func_8002AE14 +/* ECAD58 80241058 E7A40040 */ swc1 $f4, 0x40($sp) +/* ECAD5C 8024105C C6020018 */ lwc1 $f2, 0x18($s0) +/* ECAD60 80241060 460010A1 */ cvt.d.s $f2, $f2 +/* ECAD64 80241064 463C1082 */ mul.d $f2, $f2, $f28 +/* ECAD68 80241068 00000000 */ nop +/* ECAD6C 8024106C E7A00014 */ swc1 $f0, 0x14($sp) +/* ECAD70 80241070 462010A0 */ cvt.s.d $f2, $f2 +/* ECAD74 80241074 E7A20010 */ swc1 $f2, 0x10($sp) +/* ECAD78 80241078 860200A8 */ lh $v0, 0xa8($s0) +/* ECAD7C 8024107C 27A50038 */ addiu $a1, $sp, 0x38 +/* ECAD80 80241080 44820000 */ mtc1 $v0, $f0 +/* ECAD84 80241084 00000000 */ nop +/* ECAD88 80241088 46800020 */ cvt.s.w $f0, $f0 +/* ECAD8C 8024108C E7A00018 */ swc1 $f0, 0x18($sp) +/* ECAD90 80241090 860200A6 */ lh $v0, 0xa6($s0) +/* ECAD94 80241094 27A6003C */ addiu $a2, $sp, 0x3c +/* ECAD98 80241098 44820000 */ mtc1 $v0, $f0 +/* ECAD9C 8024109C 00000000 */ nop +/* ECADA0 802410A0 46800020 */ cvt.s.w $f0, $f0 +/* ECADA4 802410A4 E7A0001C */ swc1 $f0, 0x1c($sp) +/* ECADA8 802410A8 8E040080 */ lw $a0, 0x80($s0) +/* ECADAC 802410AC 0C0394EB */ jal func_800E53AC +/* ECADB0 802410B0 27A70040 */ addiu $a3, $sp, 0x40 +/* ECADB4 802410B4 10400007 */ beqz $v0, .L802410D4 +/* ECADB8 802410B8 00000000 */ nop +/* ECADBC 802410BC C60C0038 */ lwc1 $f12, 0x38($s0) +/* ECADC0 802410C0 C60E0040 */ lwc1 $f14, 0x40($s0) +/* ECADC4 802410C4 8FA60038 */ lw $a2, 0x38($sp) +/* ECADC8 802410C8 0C00AC71 */ jal func_8002B1C4 +/* ECADCC 802410CC 8FA70040 */ lw $a3, 0x40($sp) +/* ECADD0 802410D0 46000686 */ mov.s $f26, $f0 +.L802410D4: +/* ECADD4 802410D4 C60C0038 */ lwc1 $f12, 0x38($s0) +/* ECADD8 802410D8 8E820000 */ lw $v0, ($s4) +/* ECADDC 802410DC C60E0040 */ lwc1 $f14, 0x40($s0) +/* ECADE0 802410E0 8C460028 */ lw $a2, 0x28($v0) +/* ECADE4 802410E4 0C00AC71 */ jal func_8002B1C4 +/* ECADE8 802410E8 8C470030 */ lw $a3, 0x30($v0) +/* ECADEC 802410EC C6000018 */ lwc1 $f0, 0x18($s0) +/* ECADF0 802410F0 3C013FF8 */ lui $at, 0x3ff8 +/* ECADF4 802410F4 44811800 */ mtc1 $at, $f3 +/* ECADF8 802410F8 44801000 */ mtc1 $zero, $f2 +/* ECADFC 802410FC 46000021 */ cvt.d.s $f0, $f0 +/* ECAE00 80241100 46220082 */ mul.d $f2, $f0, $f2 +/* ECAE04 80241104 00000000 */ nop +/* ECAE08 80241108 4600B021 */ cvt.d.s $f0, $f22 +/* ECAE0C 8024110C 4622003C */ c.lt.d $f0, $f2 +/* ECAE10 80241110 00000000 */ nop +/* ECAE14 80241114 45000012 */ bc1f .L80241160 +/* ECAE18 80241118 00000000 */ nop +/* ECAE1C 8024111C 4600C021 */ cvt.d.s $f0, $f24 +/* ECAE20 80241120 4622003C */ c.lt.d $f0, $f2 +/* ECAE24 80241124 00000000 */ nop +/* ECAE28 80241128 4500000D */ bc1f .L80241160 +/* ECAE2C 8024112C 00000000 */ nop +/* ECAE30 80241130 4600D021 */ cvt.d.s $f0, $f26 +/* ECAE34 80241134 4622003C */ c.lt.d $f0, $f2 +/* ECAE38 80241138 00000000 */ nop +/* ECAE3C 8024113C 45000008 */ bc1f .L80241160 +/* ECAE40 80241140 02A0202D */ daddu $a0, $s5, $zero +/* ECAE44 80241144 AFA00010 */ sw $zero, 0x10($sp) +/* ECAE48 80241148 8E26000C */ lw $a2, 0xc($s1) +/* ECAE4C 8024114C 8E270010 */ lw $a3, 0x10($s1) +/* ECAE50 80241150 0C013469 */ jal func_8004D1A4 +/* ECAE54 80241154 0240282D */ daddu $a1, $s2, $zero +/* ECAE58 80241158 54400001 */ bnel $v0, $zero, .L80241160 +/* ECAE5C 8024115C 24130001 */ addiu $s3, $zero, 1 +.L80241160: +/* ECAE60 80241160 1660006A */ bnez $s3, .L8024130C +/* ECAE64 80241164 2402000A */ addiu $v0, $zero, 0xa +/* ECAE68 80241168 4616C03C */ c.lt.s $f24, $f22 +/* ECAE6C 8024116C 00000000 */ nop +/* ECAE70 80241170 4500000C */ bc1f .L802411A4 +/* ECAE74 80241174 00000000 */ nop +/* ECAE78 80241178 4618D03C */ c.lt.s $f26, $f24 +/* ECAE7C 8024117C 00000000 */ nop +/* ECAE80 80241180 45000006 */ bc1f .L8024119C +/* ECAE84 80241184 00000000 */ nop +/* ECAE88 80241188 C60C0038 */ lwc1 $f12, 0x38($s0) +/* ECAE8C 8024118C C60E0040 */ lwc1 $f14, 0x40($s0) +/* ECAE90 80241190 8FA60020 */ lw $a2, 0x20($sp) +/* ECAE94 80241194 080904A2 */ j .L80241288 +/* ECAE98 80241198 8FA70028 */ lw $a3, 0x28($sp) +.L8024119C: +/* ECAE9C 8024119C 4616C03C */ c.lt.s $f24, $f22 +/* ECAEA0 802411A0 00000000 */ nop +.L802411A4: +/* ECAEA4 802411A4 4500000A */ bc1f .L802411D0 +/* ECAEA8 802411A8 00000000 */ nop +/* ECAEAC 802411AC 461AC03C */ c.lt.s $f24, $f26 +/* ECAEB0 802411B0 00000000 */ nop +/* ECAEB4 802411B4 45000006 */ bc1f .L802411D0 +/* ECAEB8 802411B8 00000000 */ nop +/* ECAEBC 802411BC C60C0038 */ lwc1 $f12, 0x38($s0) +/* ECAEC0 802411C0 C60E0040 */ lwc1 $f14, 0x40($s0) +/* ECAEC4 802411C4 8FA60020 */ lw $a2, 0x20($sp) +/* ECAEC8 802411C8 080904A2 */ j .L80241288 +/* ECAECC 802411CC 8FA70028 */ lw $a3, 0x28($sp) +.L802411D0: +/* ECAED0 802411D0 4618B03C */ c.lt.s $f22, $f24 +/* ECAED4 802411D4 00000000 */ nop +/* ECAED8 802411D8 4500000A */ bc1f .L80241204 +/* ECAEDC 802411DC 00000000 */ nop +/* ECAEE0 802411E0 4616D03C */ c.lt.s $f26, $f22 +/* ECAEE4 802411E4 00000000 */ nop +/* ECAEE8 802411E8 45000006 */ bc1f .L80241204 +/* ECAEEC 802411EC 00000000 */ nop +/* ECAEF0 802411F0 C60C0038 */ lwc1 $f12, 0x38($s0) +/* ECAEF4 802411F4 C60E0040 */ lwc1 $f14, 0x40($s0) +/* ECAEF8 802411F8 8FA6002C */ lw $a2, 0x2c($sp) +/* ECAEFC 802411FC 080904A2 */ j .L80241288 +/* ECAF00 80241200 8FA70034 */ lw $a3, 0x34($sp) +.L80241204: +/* ECAF04 80241204 4618D03C */ c.lt.s $f26, $f24 +/* ECAF08 80241208 00000000 */ nop +/* ECAF0C 8024120C 4500000A */ bc1f .L80241238 +/* ECAF10 80241210 00000000 */ nop +/* ECAF14 80241214 461AB03C */ c.lt.s $f22, $f26 +/* ECAF18 80241218 00000000 */ nop +/* ECAF1C 8024121C 45000008 */ bc1f .L80241240 +/* ECAF20 80241220 00000000 */ nop +/* ECAF24 80241224 C60C0038 */ lwc1 $f12, 0x38($s0) +/* ECAF28 80241228 C60E0040 */ lwc1 $f14, 0x40($s0) +/* ECAF2C 8024122C 8FA6002C */ lw $a2, 0x2c($sp) +/* ECAF30 80241230 080904A2 */ j .L80241288 +/* ECAF34 80241234 8FA70034 */ lw $a3, 0x34($sp) +.L80241238: +/* ECAF38 80241238 461AB03C */ c.lt.s $f22, $f26 +/* ECAF3C 8024123C 00000000 */ nop +.L80241240: +/* ECAF40 80241240 45000005 */ bc1f .L80241258 +/* ECAF44 80241244 00000000 */ nop +/* ECAF48 80241248 4616C03C */ c.lt.s $f24, $f22 +/* ECAF4C 8024124C 00000000 */ nop +/* ECAF50 80241250 45010009 */ bc1t .L80241278 +/* ECAF54 80241254 00000000 */ nop +.L80241258: +/* ECAF58 80241258 461AC03C */ c.lt.s $f24, $f26 +/* ECAF5C 8024125C 00000000 */ nop +/* ECAF60 80241260 4500000C */ bc1f .L80241294 +/* ECAF64 80241264 00000000 */ nop +/* ECAF68 80241268 4618B03C */ c.lt.s $f22, $f24 +/* ECAF6C 8024126C 00000000 */ nop +/* ECAF70 80241270 45000008 */ bc1f .L80241294 +/* ECAF74 80241274 00000000 */ nop +.L80241278: +/* ECAF78 80241278 C60C0038 */ lwc1 $f12, 0x38($s0) +/* ECAF7C 8024127C C60E0040 */ lwc1 $f14, 0x40($s0) +/* ECAF80 80241280 8FA60038 */ lw $a2, 0x38($sp) +/* ECAF84 80241284 8FA70040 */ lw $a3, 0x40($sp) +.L80241288: +/* ECAF88 80241288 0C00ABDC */ jal fio_validate_header_checksums +/* ECAF8C 8024128C 00000000 */ nop +/* ECAF90 80241290 46000506 */ mov.s $f20, $f0 +.L80241294: +/* ECAF94 80241294 C60C000C */ lwc1 $f12, 0xc($s0) +/* ECAF98 80241298 0C00ABC6 */ jal func_8002AF18 +/* ECAF9C 8024129C 4600A386 */ mov.s $f14, $f20 +/* ECAFA0 802412A0 46000086 */ mov.s $f2, $f0 +/* ECAFA4 802412A4 8E22001C */ lw $v0, 0x1c($s1) +/* ECAFA8 802412A8 46001005 */ abs.s $f0, $f2 +/* ECAFAC 802412AC 44822000 */ mtc1 $v0, $f4 +/* ECAFB0 802412B0 00000000 */ nop +/* ECAFB4 802412B4 46802120 */ cvt.s.w $f4, $f4 +/* ECAFB8 802412B8 4600203C */ c.lt.s $f4, $f0 +/* ECAFBC 802412BC 00000000 */ nop +/* ECAFC0 802412C0 4500000D */ bc1f .L802412F8 +/* ECAFC4 802412C4 00000000 */ nop +/* ECAFC8 802412C8 44800000 */ mtc1 $zero, $f0 +/* ECAFCC 802412CC C614000C */ lwc1 $f20, 0xc($s0) +/* ECAFD0 802412D0 4600103C */ c.lt.s $f2, $f0 +/* ECAFD4 802412D4 00000000 */ nop +/* ECAFD8 802412D8 45000006 */ bc1f .L802412F4 +/* ECAFDC 802412DC 00021023 */ negu $v0, $v0 +/* ECAFE0 802412E0 44820000 */ mtc1 $v0, $f0 +/* ECAFE4 802412E4 00000000 */ nop +/* ECAFE8 802412E8 46800020 */ cvt.s.w $f0, $f0 +/* ECAFEC 802412EC 080904BE */ j .L802412F8 +/* ECAFF0 802412F0 4600A500 */ add.s $f20, $f20, $f0 +.L802412F4: +/* ECAFF4 802412F4 4604A500 */ add.s $f20, $f20, $f4 +.L802412F8: +/* ECAFF8 802412F8 0C00AB85 */ jal func_8002AE14 +/* ECAFFC 802412FC 4600A306 */ mov.s $f12, $f20 +/* ECB000 80241300 E600000C */ swc1 $f0, 0xc($s0) +.L80241304: +/* ECB004 80241304 12600005 */ beqz $s3, .L8024131C +/* ECB008 80241308 2402000A */ addiu $v0, $zero, 0xa +.L8024130C: +/* ECB00C 8024130C A602008E */ sh $v0, 0x8e($s0) +/* ECB010 80241310 8E4200CC */ lw $v0, 0xcc($s2) +/* ECB014 80241314 8C420020 */ lw $v0, 0x20($v0) +/* ECB018 80241318 AE020028 */ sw $v0, 0x28($s0) +.L8024131C: +/* ECB01C 8024131C 2402000D */ addiu $v0, $zero, 0xd +/* ECB020 80241320 AEC20070 */ sw $v0, 0x70($s6) +/* ECB024 80241324 8FBF0064 */ lw $ra, 0x64($sp) +/* ECB028 80241328 8FB60060 */ lw $s6, 0x60($sp) +/* ECB02C 8024132C 8FB5005C */ lw $s5, 0x5c($sp) +/* ECB030 80241330 8FB40058 */ lw $s4, 0x58($sp) +/* ECB034 80241334 8FB30054 */ lw $s3, 0x54($sp) +/* ECB038 80241338 8FB20050 */ lw $s2, 0x50($sp) +/* ECB03C 8024133C 8FB1004C */ lw $s1, 0x4c($sp) +/* ECB040 80241340 8FB00048 */ lw $s0, 0x48($sp) +/* ECB044 80241344 D7BE0090 */ ldc1 $f30, 0x90($sp) +/* ECB048 80241348 D7BC0088 */ ldc1 $f28, 0x88($sp) +/* ECB04C 8024134C D7BA0080 */ ldc1 $f26, 0x80($sp) +/* ECB050 80241350 D7B80078 */ ldc1 $f24, 0x78($sp) +/* ECB054 80241354 D7B60070 */ ldc1 $f22, 0x70($sp) +/* ECB058 80241358 D7B40068 */ ldc1 $f20, 0x68($sp) +/* ECB05C 8024135C 03E00008 */ jr $ra +/* ECB060 80241360 27BD0098 */ addiu $sp, $sp, 0x98 diff --git a/asm/nonmatchings/code_ECAA80/func_80241364_ECB064.s b/asm/nonmatchings/code_ECAA80/func_80241364_ECB064.s new file mode 100644 index 0000000000..9fe0b4a40f --- /dev/null +++ b/asm/nonmatchings/code_ECAA80/func_80241364_ECB064.s @@ -0,0 +1,100 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241364_ECB064 +/* ECB064 80241364 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* ECB068 80241368 AFB3003C */ sw $s3, 0x3c($sp) +/* ECB06C 8024136C 0080982D */ daddu $s3, $a0, $zero +/* ECB070 80241370 AFBF0040 */ sw $ra, 0x40($sp) +/* ECB074 80241374 AFB20038 */ sw $s2, 0x38($sp) +/* ECB078 80241378 AFB10034 */ sw $s1, 0x34($sp) +/* ECB07C 8024137C AFB00030 */ sw $s0, 0x30($sp) +/* ECB080 80241380 8E720148 */ lw $s2, 0x148($s3) +/* ECB084 80241384 00A0882D */ daddu $s1, $a1, $zero +/* ECB088 80241388 86440008 */ lh $a0, 8($s2) +/* ECB08C 8024138C 0C00F92F */ jal func_8003E4BC +/* ECB090 80241390 00C0802D */ daddu $s0, $a2, $zero +/* ECB094 80241394 0200202D */ daddu $a0, $s0, $zero +/* ECB098 80241398 0240282D */ daddu $a1, $s2, $zero +/* ECB09C 8024139C 24030001 */ addiu $v1, $zero, 1 +/* ECB0A0 802413A0 AFA30010 */ sw $v1, 0x10($sp) +/* ECB0A4 802413A4 8E260024 */ lw $a2, 0x24($s1) +/* ECB0A8 802413A8 8E270028 */ lw $a3, 0x28($s1) +/* ECB0AC 802413AC 0C013469 */ jal func_8004D1A4 +/* ECB0B0 802413B0 0040802D */ daddu $s0, $v0, $zero +/* ECB0B4 802413B4 1440001D */ bnez $v0, .L8024142C +/* ECB0B8 802413B8 24040002 */ addiu $a0, $zero, 2 +/* ECB0BC 802413BC 0200282D */ daddu $a1, $s0, $zero +/* ECB0C0 802413C0 0000302D */ daddu $a2, $zero, $zero +/* ECB0C4 802413C4 860300A8 */ lh $v1, 0xa8($s0) +/* ECB0C8 802413C8 3C013F80 */ lui $at, 0x3f80 +/* ECB0CC 802413CC 44810000 */ mtc1 $at, $f0 +/* ECB0D0 802413D0 3C014000 */ lui $at, 0x4000 +/* ECB0D4 802413D4 44811000 */ mtc1 $at, $f2 +/* ECB0D8 802413D8 3C01C1A0 */ lui $at, 0xc1a0 +/* ECB0DC 802413DC 44812000 */ mtc1 $at, $f4 +/* ECB0E0 802413E0 2402000F */ addiu $v0, $zero, 0xf +/* ECB0E4 802413E4 AFA2001C */ sw $v0, 0x1c($sp) +/* ECB0E8 802413E8 44833000 */ mtc1 $v1, $f6 +/* ECB0EC 802413EC 00000000 */ nop +/* ECB0F0 802413F0 468031A0 */ cvt.s.w $f6, $f6 +/* ECB0F4 802413F4 44073000 */ mfc1 $a3, $f6 +/* ECB0F8 802413F8 27A20028 */ addiu $v0, $sp, 0x28 +/* ECB0FC 802413FC AFA20020 */ sw $v0, 0x20($sp) +/* ECB100 80241400 E7A00010 */ swc1 $f0, 0x10($sp) +/* ECB104 80241404 E7A20014 */ swc1 $f2, 0x14($sp) +/* ECB108 80241408 0C01D444 */ jal func_80075110 +/* ECB10C 8024140C E7A40018 */ swc1 $f4, 0x18($sp) +/* ECB110 80241410 8E4200CC */ lw $v0, 0xcc($s2) +/* ECB114 80241414 8C430000 */ lw $v1, ($v0) +/* ECB118 80241418 24020019 */ addiu $v0, $zero, 0x19 +/* ECB11C 8024141C A602008E */ sh $v0, 0x8e($s0) +/* ECB120 80241420 2402000E */ addiu $v0, $zero, 0xe +/* ECB124 80241424 0809052A */ j .L802414A8 +/* ECB128 80241428 AE030028 */ sw $v1, 0x28($s0) +.L8024142C: +/* ECB12C 8024142C 8E4200CC */ lw $v0, 0xcc($s2) +/* ECB130 80241430 8E030028 */ lw $v1, 0x28($s0) +/* ECB134 80241434 8C420020 */ lw $v0, 0x20($v0) +/* ECB138 80241438 10620014 */ beq $v1, $v0, .L8024148C +/* ECB13C 8024143C 00000000 */ nop +/* ECB140 80241440 C6000018 */ lwc1 $f0, 0x18($s0) +/* ECB144 80241444 3C014010 */ lui $at, 0x4010 +/* ECB148 80241448 44811800 */ mtc1 $at, $f3 +/* ECB14C 8024144C 44801000 */ mtc1 $zero, $f2 +/* ECB150 80241450 46000021 */ cvt.d.s $f0, $f0 +/* ECB154 80241454 4622003C */ c.lt.d $f0, $f2 +/* ECB158 80241458 00000000 */ nop +/* ECB15C 8024145C 45000003 */ bc1f .L8024146C +/* ECB160 80241460 0000282D */ daddu $a1, $zero, $zero +/* ECB164 80241464 0809051D */ j .L80241474 +/* ECB168 80241468 0200202D */ daddu $a0, $s0, $zero +.L8024146C: +/* ECB16C 8024146C 0200202D */ daddu $a0, $s0, $zero +/* ECB170 80241470 24050001 */ addiu $a1, $zero, 1 +.L80241474: +/* ECB174 80241474 0C010420 */ jal func_80041080 +/* ECB178 80241478 00000000 */ nop +/* ECB17C 8024147C 8E050018 */ lw $a1, 0x18($s0) +/* ECB180 80241480 8E06000C */ lw $a2, 0xc($s0) +/* ECB184 80241484 0C00F909 */ jal func_8003E424 +/* ECB188 80241488 0200202D */ daddu $a0, $s0, $zero +.L8024148C: +/* ECB18C 8024148C 8602008E */ lh $v0, 0x8e($s0) +/* ECB190 80241490 9603008E */ lhu $v1, 0x8e($s0) +/* ECB194 80241494 18400003 */ blez $v0, .L802414A4 +/* ECB198 80241498 2462FFFF */ addiu $v0, $v1, -1 +/* ECB19C 8024149C 0809052B */ j .L802414AC +/* ECB1A0 802414A0 A602008E */ sh $v0, 0x8e($s0) +.L802414A4: +/* ECB1A4 802414A4 2402000C */ addiu $v0, $zero, 0xc +.L802414A8: +/* ECB1A8 802414A8 AE620070 */ sw $v0, 0x70($s3) +.L802414AC: +/* ECB1AC 802414AC 8FBF0040 */ lw $ra, 0x40($sp) +/* ECB1B0 802414B0 8FB3003C */ lw $s3, 0x3c($sp) +/* ECB1B4 802414B4 8FB20038 */ lw $s2, 0x38($sp) +/* ECB1B8 802414B8 8FB10034 */ lw $s1, 0x34($sp) +/* ECB1BC 802414BC 8FB00030 */ lw $s0, 0x30($sp) +/* ECB1C0 802414C0 03E00008 */ jr $ra +/* ECB1C4 802414C4 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_ECAA80/func_802414C8_ECB1C8.s b/asm/nonmatchings/code_ECAA80/func_802414C8_ECB1C8.s new file mode 100644 index 0000000000..2afde5ef7f --- /dev/null +++ b/asm/nonmatchings/code_ECAA80/func_802414C8_ECB1C8.s @@ -0,0 +1,22 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802414C8_ECB1C8 +/* ECB1C8 802414C8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ECB1CC 802414CC AFB00010 */ sw $s0, 0x10($sp) +/* ECB1D0 802414D0 0080802D */ daddu $s0, $a0, $zero +/* ECB1D4 802414D4 AFBF0014 */ sw $ra, 0x14($sp) +/* ECB1D8 802414D8 8E020148 */ lw $v0, 0x148($s0) +/* ECB1DC 802414DC 0C00F92F */ jal func_8003E4BC +/* ECB1E0 802414E0 84440008 */ lh $a0, 8($v0) +/* ECB1E4 802414E4 9443008E */ lhu $v1, 0x8e($v0) +/* ECB1E8 802414E8 2463FFFF */ addiu $v1, $v1, -1 +/* ECB1EC 802414EC A443008E */ sh $v1, 0x8e($v0) +/* ECB1F0 802414F0 00031C00 */ sll $v1, $v1, 0x10 +/* ECB1F4 802414F4 50600001 */ beql $v1, $zero, .L802414FC +/* ECB1F8 802414F8 AE000070 */ sw $zero, 0x70($s0) +.L802414FC: +/* ECB1FC 802414FC 8FBF0014 */ lw $ra, 0x14($sp) +/* ECB200 80241500 8FB00010 */ lw $s0, 0x10($sp) +/* ECB204 80241504 03E00008 */ jr $ra +/* ECB208 80241508 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_ECAA80/func_8024150C_ECB20C.s b/asm/nonmatchings/code_ECAA80/func_8024150C_ECB20C.s new file mode 100644 index 0000000000..c2739d3d5f --- /dev/null +++ b/asm/nonmatchings/code_ECAA80/func_8024150C_ECB20C.s @@ -0,0 +1,162 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024150C_ECB20C +/* ECB20C 8024150C 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* ECB210 80241510 AFB50044 */ sw $s5, 0x44($sp) +/* ECB214 80241514 0080A82D */ daddu $s5, $a0, $zero +/* ECB218 80241518 AFBF0048 */ sw $ra, 0x48($sp) +/* ECB21C 8024151C AFB40040 */ sw $s4, 0x40($sp) +/* ECB220 80241520 AFB3003C */ sw $s3, 0x3c($sp) +/* ECB224 80241524 AFB20038 */ sw $s2, 0x38($sp) +/* ECB228 80241528 AFB10034 */ sw $s1, 0x34($sp) +/* ECB22C 8024152C AFB00030 */ sw $s0, 0x30($sp) +/* ECB230 80241530 8EB10148 */ lw $s1, 0x148($s5) +/* ECB234 80241534 86240008 */ lh $a0, 8($s1) +/* ECB238 80241538 0C00F92F */ jal func_8003E4BC +/* ECB23C 8024153C 00A0802D */ daddu $s0, $a1, $zero +/* ECB240 80241540 8EA3000C */ lw $v1, 0xc($s5) +/* ECB244 80241544 02A0202D */ daddu $a0, $s5, $zero +/* ECB248 80241548 8C650000 */ lw $a1, ($v1) +/* ECB24C 8024154C 0C0B53A3 */ jal func_802D4E8C +/* ECB250 80241550 0040902D */ daddu $s2, $v0, $zero +/* ECB254 80241554 AFA00010 */ sw $zero, 0x10($sp) +/* ECB258 80241558 8E2300D0 */ lw $v1, 0xd0($s1) +/* ECB25C 8024155C 8C630030 */ lw $v1, 0x30($v1) +/* ECB260 80241560 AFA30014 */ sw $v1, 0x14($sp) +/* ECB264 80241564 8E2300D0 */ lw $v1, 0xd0($s1) +/* ECB268 80241568 8C63001C */ lw $v1, 0x1c($v1) +/* ECB26C 8024156C AFA30018 */ sw $v1, 0x18($sp) +/* ECB270 80241570 8E2300D0 */ lw $v1, 0xd0($s1) +/* ECB274 80241574 8C630024 */ lw $v1, 0x24($v1) +/* ECB278 80241578 AFA3001C */ sw $v1, 0x1c($sp) +/* ECB27C 8024157C 8E2300D0 */ lw $v1, 0xd0($s1) +/* ECB280 80241580 8C630028 */ lw $v1, 0x28($v1) +/* ECB284 80241584 AFA30020 */ sw $v1, 0x20($sp) +/* ECB288 80241588 8E2300D0 */ lw $v1, 0xd0($s1) +/* ECB28C 8024158C 3C0142C8 */ lui $at, 0x42c8 +/* ECB290 80241590 44810000 */ mtc1 $at, $f0 +/* ECB294 80241594 8C63002C */ lw $v1, 0x2c($v1) +/* ECB298 80241598 E7A00028 */ swc1 $f0, 0x28($sp) +/* ECB29C 8024159C A7A0002C */ sh $zero, 0x2c($sp) +/* ECB2A0 802415A0 AFA30024 */ sw $v1, 0x24($sp) +/* ECB2A4 802415A4 C6400038 */ lwc1 $f0, 0x38($s2) +/* ECB2A8 802415A8 E6200108 */ swc1 $f0, 0x108($s1) +/* ECB2AC 802415AC C640003C */ lwc1 $f0, 0x3c($s2) +/* ECB2B0 802415B0 27B40010 */ addiu $s4, $sp, 0x10 +/* ECB2B4 802415B4 E620010C */ swc1 $f0, 0x10c($s1) +/* ECB2B8 802415B8 3C013C23 */ lui $at, 0x3c23 +/* ECB2BC 802415BC 3421D70A */ ori $at, $at, 0xd70a +/* ECB2C0 802415C0 44810000 */ mtc1 $at, $f0 +/* ECB2C4 802415C4 C6420040 */ lwc1 $f2, 0x40($s2) +/* ECB2C8 802415C8 0040982D */ daddu $s3, $v0, $zero +/* ECB2CC 802415CC E6200114 */ swc1 $f0, 0x114($s1) +/* ECB2D0 802415D0 E6200118 */ swc1 $f0, 0x118($s1) +/* ECB2D4 802415D4 16000005 */ bnez $s0, .L802415EC +/* ECB2D8 802415D8 E6220110 */ swc1 $f2, 0x110($s1) +/* ECB2DC 802415DC 8E2200B0 */ lw $v0, 0xb0($s1) +/* ECB2E0 802415E0 30420004 */ andi $v0, $v0, 4 +/* ECB2E4 802415E4 1040001F */ beqz $v0, .L80241664 +/* ECB2E8 802415E8 00000000 */ nop +.L802415EC: +/* ECB2EC 802415EC 2404F7FF */ addiu $a0, $zero, -0x801 +/* ECB2F0 802415F0 AEA00070 */ sw $zero, 0x70($s5) +/* ECB2F4 802415F4 A640008E */ sh $zero, 0x8e($s2) +/* ECB2F8 802415F8 8E2200CC */ lw $v0, 0xcc($s1) +/* ECB2FC 802415FC 8E430000 */ lw $v1, ($s2) +/* ECB300 80241600 8C420000 */ lw $v0, ($v0) +/* ECB304 80241604 00641824 */ and $v1, $v1, $a0 +/* ECB308 80241608 AE430000 */ sw $v1, ($s2) +/* ECB30C 8024160C AE420028 */ sw $v0, 0x28($s2) +/* ECB310 80241610 8E2200D0 */ lw $v0, 0xd0($s1) +/* ECB314 80241614 8C420034 */ lw $v0, 0x34($v0) +/* ECB318 80241618 54400005 */ bnel $v0, $zero, .L80241630 +/* ECB31C 8024161C 2402FDFF */ addiu $v0, $zero, -0x201 +/* ECB320 80241620 34620200 */ ori $v0, $v1, 0x200 +/* ECB324 80241624 2403FFF7 */ addiu $v1, $zero, -9 +/* ECB328 80241628 0809058E */ j .L80241638 +/* ECB32C 8024162C 00431024 */ and $v0, $v0, $v1 +.L80241630: +/* ECB330 80241630 00621024 */ and $v0, $v1, $v0 +/* ECB334 80241634 34420008 */ ori $v0, $v0, 8 +.L80241638: +/* ECB338 80241638 AE420000 */ sw $v0, ($s2) +/* ECB33C 8024163C 8E2200B0 */ lw $v0, 0xb0($s1) +/* ECB340 80241640 30420004 */ andi $v0, $v0, 4 +/* ECB344 80241644 10400007 */ beqz $v0, .L80241664 +/* ECB348 80241648 24020063 */ addiu $v0, $zero, 0x63 +/* ECB34C 8024164C AEA20070 */ sw $v0, 0x70($s5) +/* ECB350 80241650 AEA00074 */ sw $zero, 0x74($s5) +/* ECB354 80241654 8E2200B0 */ lw $v0, 0xb0($s1) +/* ECB358 80241658 2403FFFB */ addiu $v1, $zero, -5 +/* ECB35C 8024165C 00431024 */ and $v0, $v0, $v1 +/* ECB360 80241660 AE2200B0 */ sw $v0, 0xb0($s1) +.L80241664: +/* ECB364 80241664 8EA30070 */ lw $v1, 0x70($s5) +/* ECB368 80241668 2C620064 */ sltiu $v0, $v1, 0x64 +/* ECB36C 8024166C 10400036 */ beqz $v0, .L80241748 +/* ECB370 80241670 00031080 */ sll $v0, $v1, 2 +/* ECB374 80241674 3C018024 */ lui $at, %hi(D_80246160) +/* ECB378 80241678 00220821 */ addu $at, $at, $v0 +/* ECB37C 8024167C 8C226160 */ lw $v0, %lo(D_80246160)($at) +/* ECB380 80241680 00400008 */ jr $v0 +/* ECB384 80241684 00000000 */ nop +/* ECB388 80241688 02A0202D */ daddu $a0, $s5, $zero +/* ECB38C 8024168C 0260282D */ daddu $a1, $s3, $zero +/* ECB390 80241690 0C013670 */ jal func_8004D9C0 +/* ECB394 80241694 0280302D */ daddu $a2, $s4, $zero +/* ECB398 80241698 02A0202D */ daddu $a0, $s5, $zero +/* ECB39C 8024169C 0260282D */ daddu $a1, $s3, $zero +/* ECB3A0 802416A0 0C0136B6 */ jal func_8004DAD8 +/* ECB3A4 802416A4 0280302D */ daddu $a2, $s4, $zero +/* ECB3A8 802416A8 080905D2 */ j .L80241748 +/* ECB3AC 802416AC 00000000 */ nop +/* ECB3B0 802416B0 02A0202D */ daddu $a0, $s5, $zero +/* ECB3B4 802416B4 0260282D */ daddu $a1, $s3, $zero +/* ECB3B8 802416B8 0C0137D9 */ jal func_8004DF64 +/* ECB3BC 802416BC 0280302D */ daddu $a2, $s4, $zero +/* ECB3C0 802416C0 02A0202D */ daddu $a0, $s5, $zero +/* ECB3C4 802416C4 0260282D */ daddu $a1, $s3, $zero +/* ECB3C8 802416C8 0C013809 */ jal func_8004E024 +/* ECB3CC 802416CC 0280302D */ daddu $a2, $s4, $zero +/* ECB3D0 802416D0 080905D2 */ j .L80241748 +/* ECB3D4 802416D4 00000000 */ nop +/* ECB3D8 802416D8 02A0202D */ daddu $a0, $s5, $zero +/* ECB3DC 802416DC 0260282D */ daddu $a1, $s3, $zero +/* ECB3E0 802416E0 0C013897 */ jal func_8004E25C +/* ECB3E4 802416E4 0280302D */ daddu $a2, $s4, $zero +/* ECB3E8 802416E8 02A0202D */ daddu $a0, $s5, $zero +/* ECB3EC 802416EC 0260282D */ daddu $a1, $s3, $zero +/* ECB3F0 802416F0 0C0138BB */ jal func_8004E2EC +/* ECB3F4 802416F4 0280302D */ daddu $a2, $s4, $zero +/* ECB3F8 802416F8 080905D2 */ j .L80241748 +/* ECB3FC 802416FC 00000000 */ nop +/* ECB400 80241700 02A0202D */ daddu $a0, $s5, $zero +/* ECB404 80241704 0260282D */ daddu $a1, $s3, $zero +/* ECB408 80241708 0C090360 */ jal func_80240D80_ECAA80 +/* ECB40C 8024170C 0280302D */ daddu $a2, $s4, $zero +/* ECB410 80241710 02A0202D */ daddu $a0, $s5, $zero +/* ECB414 80241714 0260282D */ daddu $a1, $s3, $zero +/* ECB418 80241718 0C0904D9 */ jal func_80241364_ECB064 +/* ECB41C 8024171C 0280302D */ daddu $a2, $s4, $zero +/* ECB420 80241720 080905D2 */ j .L80241748 +/* ECB424 80241724 00000000 */ nop +/* ECB428 80241728 02A0202D */ daddu $a0, $s5, $zero +/* ECB42C 8024172C 0260282D */ daddu $a1, $s3, $zero +/* ECB430 80241730 0C090532 */ jal func_802414C8_ECB1C8 +/* ECB434 80241734 0280302D */ daddu $a2, $s4, $zero +/* ECB438 80241738 080905D2 */ j .L80241748 +/* ECB43C 8024173C 00000000 */ nop +/* ECB440 80241740 0C013AE3 */ jal func_8004EB8C +/* ECB444 80241744 02A0202D */ daddu $a0, $s5, $zero +.L80241748: +/* ECB448 80241748 8FBF0048 */ lw $ra, 0x48($sp) +/* ECB44C 8024174C 8FB50044 */ lw $s5, 0x44($sp) +/* ECB450 80241750 8FB40040 */ lw $s4, 0x40($sp) +/* ECB454 80241754 8FB3003C */ lw $s3, 0x3c($sp) +/* ECB458 80241758 8FB20038 */ lw $s2, 0x38($sp) +/* ECB45C 8024175C 8FB10034 */ lw $s1, 0x34($sp) +/* ECB460 80241760 8FB00030 */ lw $s0, 0x30($sp) +/* ECB464 80241764 0000102D */ daddu $v0, $zero, $zero +/* ECB468 80241768 03E00008 */ jr $ra +/* ECB46C 8024176C 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_ECAA80/func_80241770_ECB470.s b/asm/nonmatchings/code_ECAA80/func_80241770_ECB470.s new file mode 100644 index 0000000000..25da94c706 --- /dev/null +++ b/asm/nonmatchings/code_ECAA80/func_80241770_ECB470.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241770_ECB470 +/* ECB470 80241770 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ECB474 80241774 AFB10014 */ sw $s1, 0x14($sp) +/* ECB478 80241778 0080882D */ daddu $s1, $a0, $zero +/* ECB47C 8024177C AFBF0018 */ sw $ra, 0x18($sp) +/* ECB480 80241780 AFB00010 */ sw $s0, 0x10($sp) +/* ECB484 80241784 8E30000C */ lw $s0, 0xc($s1) +/* ECB488 80241788 8E050000 */ lw $a1, ($s0) +/* ECB48C 8024178C 0C0B53A3 */ jal func_802D4E8C +/* ECB490 80241790 26100004 */ addiu $s0, $s0, 4 +/* ECB494 80241794 0C00F94D */ jal func_8003E534 +/* ECB498 80241798 0040202D */ daddu $a0, $v0, $zero +/* ECB49C 8024179C 10400005 */ beqz $v0, .L802417B4 +/* ECB4A0 802417A0 00000000 */ nop +/* ECB4A4 802417A4 8E050000 */ lw $a1, ($s0) +/* ECB4A8 802417A8 844600A8 */ lh $a2, 0xa8($v0) +/* ECB4AC 802417AC 0C0B551A */ jal func_802D5468 +/* ECB4B0 802417B0 0220202D */ daddu $a0, $s1, $zero +.L802417B4: +/* ECB4B4 802417B4 8FBF0018 */ lw $ra, 0x18($sp) +/* ECB4B8 802417B8 8FB10014 */ lw $s1, 0x14($sp) +/* ECB4BC 802417BC 8FB00010 */ lw $s0, 0x10($sp) +/* ECB4C0 802417C0 24020002 */ addiu $v0, $zero, 2 +/* ECB4C4 802417C4 03E00008 */ jr $ra +/* ECB4C8 802417C8 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_ECAA80/func_802417CC_ECB4CC.s b/asm/nonmatchings/code_ECAA80/func_802417CC_ECB4CC.s new file mode 100644 index 0000000000..b94e84127f --- /dev/null +++ b/asm/nonmatchings/code_ECAA80/func_802417CC_ECB4CC.s @@ -0,0 +1,122 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802417CC_ECB4CC +/* ECB4CC 802417CC 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* ECB4D0 802417D0 AFB10014 */ sw $s1, 0x14($sp) +/* ECB4D4 802417D4 0080882D */ daddu $s1, $a0, $zero +/* ECB4D8 802417D8 AFBF0024 */ sw $ra, 0x24($sp) +/* ECB4DC 802417DC AFB40020 */ sw $s4, 0x20($sp) +/* ECB4E0 802417E0 AFB3001C */ sw $s3, 0x1c($sp) +/* ECB4E4 802417E4 AFB20018 */ sw $s2, 0x18($sp) +/* ECB4E8 802417E8 AFB00010 */ sw $s0, 0x10($sp) +/* ECB4EC 802417EC F7BC0048 */ sdc1 $f28, 0x48($sp) +/* ECB4F0 802417F0 F7BA0040 */ sdc1 $f26, 0x40($sp) +/* ECB4F4 802417F4 F7B80038 */ sdc1 $f24, 0x38($sp) +/* ECB4F8 802417F8 F7B60030 */ sdc1 $f22, 0x30($sp) +/* ECB4FC 802417FC F7B40028 */ sdc1 $f20, 0x28($sp) +/* ECB500 80241800 8E30000C */ lw $s0, 0xc($s1) +/* ECB504 80241804 8E130000 */ lw $s3, ($s0) +/* ECB508 80241808 26100004 */ addiu $s0, $s0, 4 +/* ECB50C 8024180C 0C0B53A3 */ jal func_802D4E8C +/* ECB510 80241810 0260282D */ daddu $a1, $s3, $zero +/* ECB514 80241814 4482E000 */ mtc1 $v0, $f28 +/* ECB518 80241818 00000000 */ nop +/* ECB51C 8024181C 4680E720 */ cvt.s.w $f28, $f28 +/* ECB520 80241820 8E140000 */ lw $s4, ($s0) +/* ECB524 80241824 26100004 */ addiu $s0, $s0, 4 +/* ECB528 80241828 0220202D */ daddu $a0, $s1, $zero +/* ECB52C 8024182C 0C0B53A3 */ jal func_802D4E8C +/* ECB530 80241830 0280282D */ daddu $a1, $s4, $zero +/* ECB534 80241834 4482D000 */ mtc1 $v0, $f26 +/* ECB538 80241838 00000000 */ nop +/* ECB53C 8024183C 4680D6A0 */ cvt.s.w $f26, $f26 +/* ECB540 80241840 8E100000 */ lw $s0, ($s0) +/* ECB544 80241844 0220202D */ daddu $a0, $s1, $zero +/* ECB548 80241848 0C0B53A3 */ jal func_802D4E8C +/* ECB54C 8024184C 0200282D */ daddu $a1, $s0, $zero +/* ECB550 80241850 4482C000 */ mtc1 $v0, $f24 +/* ECB554 80241854 00000000 */ nop +/* ECB558 80241858 4680C620 */ cvt.s.w $f24, $f24 +/* ECB55C 8024185C 3C128011 */ lui $s2, %hi(D_80117578) +/* ECB560 80241860 26527578 */ addiu $s2, $s2, %lo(D_80117578) +/* ECB564 80241864 3C038008 */ lui $v1, %hi(D_8007C760) +/* ECB568 80241868 8C63C760 */ lw $v1, %lo(D_8007C760)($v1) +/* ECB56C 8024186C C64200A8 */ lwc1 $f2, 0xa8($s2) +/* ECB570 80241870 44800000 */ mtc1 $zero, $f0 +/* ECB574 80241874 00031080 */ sll $v0, $v1, 2 +/* ECB578 80241878 00431021 */ addu $v0, $v0, $v1 +/* ECB57C 8024187C 00021080 */ sll $v0, $v0, 2 +/* ECB580 80241880 00431023 */ subu $v0, $v0, $v1 +/* ECB584 80241884 000218C0 */ sll $v1, $v0, 3 +/* ECB588 80241888 00431021 */ addu $v0, $v0, $v1 +/* ECB58C 8024188C 000210C0 */ sll $v0, $v0, 3 +/* ECB590 80241890 46001032 */ c.eq.s $f2, $f0 +/* ECB594 80241894 3C01800C */ lui $at, %hi(D_800B8DEC) +/* ECB598 80241898 00220821 */ addu $at, $at, $v0 +/* ECB59C 8024189C C4368DEC */ lwc1 $f22, %lo(D_800B8DEC)($at) +/* ECB5A0 802418A0 45000005 */ bc1f .L802418B8 +/* ECB5A4 802418A4 00000000 */ nop +/* ECB5A8 802418A8 3C0142C8 */ lui $at, 0x42c8 +/* ECB5AC 802418AC 44810000 */ mtc1 $at, $f0 +/* ECB5B0 802418B0 08090632 */ j .L802418C8 +/* ECB5B4 802418B4 4600B581 */ sub.s $f22, $f22, $f0 +.L802418B8: +/* ECB5B8 802418B8 3C0142C8 */ lui $at, 0x42c8 +/* ECB5BC 802418BC 44810000 */ mtc1 $at, $f0 +/* ECB5C0 802418C0 00000000 */ nop +/* ECB5C4 802418C4 4600B580 */ add.s $f22, $f22, $f0 +.L802418C8: +/* ECB5C8 802418C8 0C00AB85 */ jal func_8002AE14 +/* ECB5CC 802418CC 4600B306 */ mov.s $f12, $f22 +/* ECB5D0 802418D0 46000586 */ mov.s $f22, $f0 +/* ECB5D4 802418D4 3C014170 */ lui $at, 0x4170 +/* ECB5D8 802418D8 4481A000 */ mtc1 $at, $f20 +/* ECB5DC 802418DC 0C00AD77 */ jal func_8002B5DC +/* ECB5E0 802418E0 4600B306 */ mov.s $f12, $f22 +/* ECB5E4 802418E4 46140002 */ mul.s $f0, $f0, $f20 +/* ECB5E8 802418E8 00000000 */ nop +/* ECB5EC 802418EC 864200B0 */ lh $v0, 0xb0($s2) +/* ECB5F0 802418F0 3C013F00 */ lui $at, 0x3f00 +/* ECB5F4 802418F4 44812000 */ mtc1 $at, $f4 +/* ECB5F8 802418F8 44821000 */ mtc1 $v0, $f2 +/* ECB5FC 802418FC 00000000 */ nop +/* ECB600 80241900 468010A0 */ cvt.s.w $f2, $f2 +/* ECB604 80241904 46041082 */ mul.s $f2, $f2, $f4 +/* ECB608 80241908 00000000 */ nop +/* ECB60C 8024190C 4600E700 */ add.s $f28, $f28, $f0 +/* ECB610 80241910 4602D680 */ add.s $f26, $f26, $f2 +/* ECB614 80241914 0C00AD90 */ jal func_8002B640 +/* ECB618 80241918 4600B306 */ mov.s $f12, $f22 +/* ECB61C 8024191C 46140002 */ mul.s $f0, $f0, $f20 +/* ECB620 80241920 00000000 */ nop +/* ECB624 80241924 0220202D */ daddu $a0, $s1, $zero +/* ECB628 80241928 0260282D */ daddu $a1, $s3, $zero +/* ECB62C 8024192C 4600E18D */ trunc.w.s $f6, $f28 +/* ECB630 80241930 44063000 */ mfc1 $a2, $f6 +/* ECB634 80241934 0C0B551A */ jal func_802D5468 +/* ECB638 80241938 4600C601 */ sub.s $f24, $f24, $f0 +/* ECB63C 8024193C 0220202D */ daddu $a0, $s1, $zero +/* ECB640 80241940 4600D18D */ trunc.w.s $f6, $f26 +/* ECB644 80241944 44063000 */ mfc1 $a2, $f6 +/* ECB648 80241948 0C0B551A */ jal func_802D5468 +/* ECB64C 8024194C 0280282D */ daddu $a1, $s4, $zero +/* ECB650 80241950 0220202D */ daddu $a0, $s1, $zero +/* ECB654 80241954 4600C18D */ trunc.w.s $f6, $f24 +/* ECB658 80241958 44063000 */ mfc1 $a2, $f6 +/* ECB65C 8024195C 0C0B551A */ jal func_802D5468 +/* ECB660 80241960 0200282D */ daddu $a1, $s0, $zero +/* ECB664 80241964 8FBF0024 */ lw $ra, 0x24($sp) +/* ECB668 80241968 8FB40020 */ lw $s4, 0x20($sp) +/* ECB66C 8024196C 8FB3001C */ lw $s3, 0x1c($sp) +/* ECB670 80241970 8FB20018 */ lw $s2, 0x18($sp) +/* ECB674 80241974 8FB10014 */ lw $s1, 0x14($sp) +/* ECB678 80241978 8FB00010 */ lw $s0, 0x10($sp) +/* ECB67C 8024197C D7BC0048 */ ldc1 $f28, 0x48($sp) +/* ECB680 80241980 D7BA0040 */ ldc1 $f26, 0x40($sp) +/* ECB684 80241984 D7B80038 */ ldc1 $f24, 0x38($sp) +/* ECB688 80241988 D7B60030 */ ldc1 $f22, 0x30($sp) +/* ECB68C 8024198C D7B40028 */ ldc1 $f20, 0x28($sp) +/* ECB690 80241990 24020002 */ addiu $v0, $zero, 2 +/* ECB694 80241994 03E00008 */ jr $ra +/* ECB698 80241998 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_ECAA80/func_8024199C_ECB69C.s b/asm/nonmatchings/code_ECAA80/func_8024199C_ECB69C.s new file mode 100644 index 0000000000..0f4733fe2a --- /dev/null +++ b/asm/nonmatchings/code_ECAA80/func_8024199C_ECB69C.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024199C_ECB69C +/* ECB69C 8024199C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ECB6A0 802419A0 AFBF0010 */ sw $ra, 0x10($sp) +/* ECB6A4 802419A4 10A00003 */ beqz $a1, .L802419B4 +/* ECB6A8 802419A8 8C86000C */ lw $a2, 0xc($a0) +/* ECB6AC 802419AC 3C018024 */ lui $at, %hi(func_802430B8_8B3128) +/* ECB6B0 802419B0 AC2030B8 */ sw $zero, %lo(func_802430B8_8B3128)($at) +.L802419B4: +/* ECB6B4 802419B4 3C038024 */ lui $v1, %hi(func_802430B8_8B3128) +/* ECB6B8 802419B8 246330B8 */ addiu $v1, $v1, %lo(func_802430B8_8B3128) +/* ECB6BC 802419BC 8C620000 */ lw $v0, ($v1) +/* ECB6C0 802419C0 54400003 */ bnel $v0, $zero, .L802419D0 +/* ECB6C4 802419C4 AC600000 */ sw $zero, ($v1) +/* ECB6C8 802419C8 08090679 */ j .L802419E4 +/* ECB6CC 802419CC 0000102D */ daddu $v0, $zero, $zero +.L802419D0: +/* ECB6D0 802419D0 8CC50000 */ lw $a1, ($a2) +/* ECB6D4 802419D4 3C068024 */ lui $a2, %hi(D_802430BC) +/* ECB6D8 802419D8 0C0B551A */ jal func_802D5468 +/* ECB6DC 802419DC 8CC630BC */ lw $a2, %lo(D_802430BC)($a2) +/* ECB6E0 802419E0 24020002 */ addiu $v0, $zero, 2 +.L802419E4: +/* ECB6E4 802419E4 8FBF0010 */ lw $ra, 0x10($sp) +/* ECB6E8 802419E8 03E00008 */ jr $ra +/* ECB6EC 802419EC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_ECAA80/func_802419F0_ECB6F0.s b/asm/nonmatchings/code_ECAA80/func_802419F0_ECB6F0.s new file mode 100644 index 0000000000..b578a2de49 --- /dev/null +++ b/asm/nonmatchings/code_ECAA80/func_802419F0_ECB6F0.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802419F0_ECB6F0 +/* ECB6F0 802419F0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ECB6F4 802419F4 AFBF0010 */ sw $ra, 0x10($sp) +/* ECB6F8 802419F8 8C82000C */ lw $v0, 0xc($a0) +/* ECB6FC 802419FC 0C0B53A3 */ jal func_802D4E8C +/* ECB700 80241A00 8C450000 */ lw $a1, ($v0) +/* ECB704 80241A04 3C018024 */ lui $at, %hi(D_802430BC) +/* ECB708 80241A08 AC2230BC */ sw $v0, %lo(D_802430BC)($at) +/* ECB70C 80241A0C 24020002 */ addiu $v0, $zero, 2 +/* ECB710 80241A10 8FBF0010 */ lw $ra, 0x10($sp) +/* ECB714 80241A14 24030001 */ addiu $v1, $zero, 1 +/* ECB718 80241A18 3C018024 */ lui $at, %hi(func_802430B8_8B3128) +/* ECB71C 80241A1C AC2330B8 */ sw $v1, %lo(func_802430B8_8B3128)($at) +/* ECB720 80241A20 03E00008 */ jr $ra +/* ECB724 80241A24 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_ECAA80/func_80241A28_ECB728.s b/asm/nonmatchings/code_ECAA80/func_80241A28_ECB728.s new file mode 100644 index 0000000000..c34bb073a5 --- /dev/null +++ b/asm/nonmatchings/code_ECAA80/func_80241A28_ECB728.s @@ -0,0 +1,48 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241A28_ECB728 +/* ECB728 80241A28 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ECB72C 80241A2C AFBF0010 */ sw $ra, 0x10($sp) +/* ECB730 80241A30 8C82000C */ lw $v0, 0xc($a0) +/* ECB734 80241A34 0C0B53A3 */ jal func_802D4E8C +/* ECB738 80241A38 8C450000 */ lw $a1, ($v0) +/* ECB73C 80241A3C 0040182D */ daddu $v1, $v0, $zero +/* ECB740 80241A40 10600012 */ beqz $v1, .L80241A8C +/* ECB744 80241A44 0000202D */ daddu $a0, $zero, $zero +/* ECB748 80241A48 8C620000 */ lw $v0, ($v1) +/* ECB74C 80241A4C 5040000A */ beql $v0, $zero, .L80241A78 +/* ECB750 80241A50 00041080 */ sll $v0, $a0, 2 +/* ECB754 80241A54 3C058024 */ lui $a1, %hi(D_802462F0) +/* ECB758 80241A58 24A562F0 */ addiu $a1, $a1, %lo(D_802462F0) +.L80241A5C: +/* ECB75C 80241A5C 24630004 */ addiu $v1, $v1, 4 +/* ECB760 80241A60 24840001 */ addiu $a0, $a0, 1 +/* ECB764 80241A64 ACA20000 */ sw $v0, ($a1) +/* ECB768 80241A68 8C620000 */ lw $v0, ($v1) +/* ECB76C 80241A6C 1440FFFB */ bnez $v0, .L80241A5C +/* ECB770 80241A70 24A50004 */ addiu $a1, $a1, 4 +/* ECB774 80241A74 00041080 */ sll $v0, $a0, 2 +.L80241A78: +/* ECB778 80241A78 3C018024 */ lui $at, %hi(D_802462F0) +/* ECB77C 80241A7C 00220821 */ addu $at, $at, $v0 +/* ECB780 80241A80 AC2062F0 */ sw $zero, %lo(D_802462F0)($at) +/* ECB784 80241A84 080906AD */ j .L80241AB4 +/* ECB788 80241A88 00000000 */ nop +.L80241A8C: +/* ECB78C 80241A8C 3C038024 */ lui $v1, %hi(D_802462F0) +/* ECB790 80241A90 246362F0 */ addiu $v1, $v1, %lo(D_802462F0) +/* ECB794 80241A94 0060282D */ daddu $a1, $v1, $zero +.L80241A98: +/* ECB798 80241A98 24820080 */ addiu $v0, $a0, 0x80 +/* ECB79C 80241A9C AC620000 */ sw $v0, ($v1) +/* ECB7A0 80241AA0 24630004 */ addiu $v1, $v1, 4 +/* ECB7A4 80241AA4 24840001 */ addiu $a0, $a0, 1 +/* ECB7A8 80241AA8 2882005B */ slti $v0, $a0, 0x5b +/* ECB7AC 80241AAC 1440FFFA */ bnez $v0, .L80241A98 +/* ECB7B0 80241AB0 ACA0016C */ sw $zero, 0x16c($a1) +.L80241AB4: +/* ECB7B4 80241AB4 8FBF0010 */ lw $ra, 0x10($sp) +/* ECB7B8 80241AB8 24020002 */ addiu $v0, $zero, 2 +/* ECB7BC 80241ABC 03E00008 */ jr $ra +/* ECB7C0 80241AC0 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_ECAA80/func_80241AC4_ECB7C4.s b/asm/nonmatchings/code_ECAA80/func_80241AC4_ECB7C4.s new file mode 100644 index 0000000000..3fbefdb854 --- /dev/null +++ b/asm/nonmatchings/code_ECAA80/func_80241AC4_ECB7C4.s @@ -0,0 +1,53 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241AC4_ECB7C4 +/* ECB7C4 80241AC4 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* ECB7C8 80241AC8 AFB10014 */ sw $s1, 0x14($sp) +/* ECB7CC 80241ACC 0080882D */ daddu $s1, $a0, $zero +/* ECB7D0 80241AD0 AFBF0020 */ sw $ra, 0x20($sp) +/* ECB7D4 80241AD4 AFB3001C */ sw $s3, 0x1c($sp) +/* ECB7D8 80241AD8 AFB20018 */ sw $s2, 0x18($sp) +/* ECB7DC 80241ADC AFB00010 */ sw $s0, 0x10($sp) +/* ECB7E0 80241AE0 8E30000C */ lw $s0, 0xc($s1) +/* ECB7E4 80241AE4 8E050000 */ lw $a1, ($s0) +/* ECB7E8 80241AE8 0C0B53A3 */ jal func_802D4E8C +/* ECB7EC 80241AEC 26100004 */ addiu $s0, $s0, 4 +/* ECB7F0 80241AF0 8E050000 */ lw $a1, ($s0) +/* ECB7F4 80241AF4 26100004 */ addiu $s0, $s0, 4 +/* ECB7F8 80241AF8 0220202D */ daddu $a0, $s1, $zero +/* ECB7FC 80241AFC 0C0B53A3 */ jal func_802D4E8C +/* ECB800 80241B00 0040982D */ daddu $s3, $v0, $zero +/* ECB804 80241B04 8E050000 */ lw $a1, ($s0) +/* ECB808 80241B08 26100004 */ addiu $s0, $s0, 4 +/* ECB80C 80241B0C 0220202D */ daddu $a0, $s1, $zero +/* ECB810 80241B10 0C0B53A3 */ jal func_802D4E8C +/* ECB814 80241B14 0040902D */ daddu $s2, $v0, $zero +/* ECB818 80241B18 0220202D */ daddu $a0, $s1, $zero +/* ECB81C 80241B1C 8E050000 */ lw $a1, ($s0) +/* ECB820 80241B20 0C0B53A3 */ jal func_802D4E8C +/* ECB824 80241B24 0040882D */ daddu $s1, $v0, $zero +/* ECB828 80241B28 0260202D */ daddu $a0, $s3, $zero +/* ECB82C 80241B2C 0C04F3E6 */ jal func_8013CF98 +/* ECB830 80241B30 0040802D */ daddu $s0, $v0, $zero +/* ECB834 80241B34 0040182D */ daddu $v1, $v0, $zero +/* ECB838 80241B38 44920000 */ mtc1 $s2, $f0 +/* ECB83C 80241B3C 00000000 */ nop +/* ECB840 80241B40 46800020 */ cvt.s.w $f0, $f0 +/* ECB844 80241B44 E4600008 */ swc1 $f0, 8($v1) +/* ECB848 80241B48 44910000 */ mtc1 $s1, $f0 +/* ECB84C 80241B4C 00000000 */ nop +/* ECB850 80241B50 46800020 */ cvt.s.w $f0, $f0 +/* ECB854 80241B54 E460000C */ swc1 $f0, 0xc($v1) +/* ECB858 80241B58 44900000 */ mtc1 $s0, $f0 +/* ECB85C 80241B5C 00000000 */ nop +/* ECB860 80241B60 46800020 */ cvt.s.w $f0, $f0 +/* ECB864 80241B64 E4600010 */ swc1 $f0, 0x10($v1) +/* ECB868 80241B68 8FBF0020 */ lw $ra, 0x20($sp) +/* ECB86C 80241B6C 8FB3001C */ lw $s3, 0x1c($sp) +/* ECB870 80241B70 8FB20018 */ lw $s2, 0x18($sp) +/* ECB874 80241B74 8FB10014 */ lw $s1, 0x14($sp) +/* ECB878 80241B78 8FB00010 */ lw $s0, 0x10($sp) +/* ECB87C 80241B7C 24020002 */ addiu $v0, $zero, 2 +/* ECB880 80241B80 03E00008 */ jr $ra +/* ECB884 80241B84 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_ECAA80/func_80241B88_ECB888.s b/asm/nonmatchings/code_ECAA80/func_80241B88_ECB888.s new file mode 100644 index 0000000000..d84da767f3 --- /dev/null +++ b/asm/nonmatchings/code_ECAA80/func_80241B88_ECB888.s @@ -0,0 +1,35 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241B88_ECB888 +/* ECB888 80241B88 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ECB88C 80241B8C AFB00010 */ sw $s0, 0x10($sp) +/* ECB890 80241B90 0080802D */ daddu $s0, $a0, $zero +/* ECB894 80241B94 AFBF0014 */ sw $ra, 0x14($sp) +/* ECB898 80241B98 8E02000C */ lw $v0, 0xc($s0) +/* ECB89C 80241B9C 0C0B53A3 */ jal func_802D4E8C +/* ECB8A0 80241BA0 8C450000 */ lw $a1, ($v0) +/* ECB8A4 80241BA4 3C048009 */ lui $a0, %hi(D_8008D2C0) +/* ECB8A8 80241BA8 2484D2C0 */ addiu $a0, $a0, %lo(D_8008D2C0) +/* ECB8AC 80241BAC 00021940 */ sll $v1, $v0, 5 +/* ECB8B0 80241BB0 00642021 */ addu $a0, $v1, $a0 +/* ECB8B4 80241BB4 240300BB */ addiu $v1, $zero, 0xbb +/* ECB8B8 80241BB8 14430003 */ bne $v0, $v1, .L80241BC8 +/* ECB8BC 80241BBC 24020002 */ addiu $v0, $zero, 2 +/* ECB8C0 80241BC0 080906F9 */ j .L80241BE4 +/* ECB8C4 80241BC4 AE0200A8 */ sw $v0, 0xa8($s0) +.L80241BC8: +/* ECB8C8 80241BC8 94820018 */ lhu $v0, 0x18($a0) +/* ECB8CC 80241BCC 30420080 */ andi $v0, $v0, 0x80 +/* ECB8D0 80241BD0 10400003 */ beqz $v0, .L80241BE0 +/* ECB8D4 80241BD4 24020001 */ addiu $v0, $zero, 1 +/* ECB8D8 80241BD8 080906F9 */ j .L80241BE4 +/* ECB8DC 80241BDC AE0200A8 */ sw $v0, 0xa8($s0) +.L80241BE0: +/* ECB8E0 80241BE0 AE0000A8 */ sw $zero, 0xa8($s0) +.L80241BE4: +/* ECB8E4 80241BE4 8FBF0014 */ lw $ra, 0x14($sp) +/* ECB8E8 80241BE8 8FB00010 */ lw $s0, 0x10($sp) +/* ECB8EC 80241BEC 24020002 */ addiu $v0, $zero, 2 +/* ECB8F0 80241BF0 03E00008 */ jr $ra +/* ECB8F4 80241BF4 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_ECAA80/func_80241BF8_ECB8F8.s b/asm/nonmatchings/code_ECAA80/func_80241BF8_ECB8F8.s new file mode 100644 index 0000000000..d7ead90b79 --- /dev/null +++ b/asm/nonmatchings/code_ECAA80/func_80241BF8_ECB8F8.s @@ -0,0 +1,19 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241BF8_ECB8F8 +/* ECB8F8 80241BF8 2404005A */ addiu $a0, $zero, 0x5a +/* ECB8FC 80241BFC 3C038024 */ lui $v1, %hi(D_802465C8) +/* ECB900 80241C00 246365C8 */ addiu $v1, $v1, %lo(D_802465C8) +/* ECB904 80241C04 240200DA */ addiu $v0, $zero, 0xda +.L80241C08: +/* ECB908 80241C08 AC620000 */ sw $v0, ($v1) +/* ECB90C 80241C0C 2463FFFC */ addiu $v1, $v1, -4 +/* ECB910 80241C10 2484FFFF */ addiu $a0, $a0, -1 +/* ECB914 80241C14 0481FFFC */ bgez $a0, .L80241C08 +/* ECB918 80241C18 2442FFFF */ addiu $v0, $v0, -1 +/* ECB91C 80241C1C 3C018024 */ lui $at, %hi(D_802465CC) +/* ECB920 80241C20 AC2065CC */ sw $zero, %lo(D_802465CC)($at) +/* ECB924 80241C24 03E00008 */ jr $ra +/* ECB928 80241C28 24020002 */ addiu $v0, $zero, 2 +/* ECB92C 80241C2C 00000000 */ nop diff --git a/asm/nonmatchings/code_ECB930/func_80241C30_ECB930.s b/asm/nonmatchings/code_ECB930/func_80241C30_ECB930.s new file mode 100644 index 0000000000..69f9d71bf4 --- /dev/null +++ b/asm/nonmatchings/code_ECB930/func_80241C30_ECB930.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241C30_ECB930 +/* ECB930 80241C30 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* ECB934 80241C34 F7B40018 */ sdc1 $f20, 0x18($sp) +/* ECB938 80241C38 4485A000 */ mtc1 $a1, $f20 +/* ECB93C 80241C3C F7B60020 */ sdc1 $f22, 0x20($sp) +/* ECB940 80241C40 4486B000 */ mtc1 $a2, $f22 +/* ECB944 80241C44 AFB00010 */ sw $s0, 0x10($sp) +/* ECB948 80241C48 F7B80028 */ sdc1 $f24, 0x28($sp) +/* ECB94C 80241C4C 4487C000 */ mtc1 $a3, $f24 +/* ECB950 80241C50 AFBF0014 */ sw $ra, 0x14($sp) +/* ECB954 80241C54 0C01B198 */ jal osGetCause +/* ECB958 80241C58 0080802D */ daddu $s0, $a0, $zero +/* ECB95C 80241C5C 4616A582 */ mul.s $f22, $f20, $f22 +/* ECB960 80241C60 00000000 */ nop +/* ECB964 80241C64 4618A502 */ mul.s $f20, $f20, $f24 +/* ECB968 80241C68 00000000 */ nop +/* ECB96C 80241C6C 3C013F80 */ lui $at, 0x3f80 +/* ECB970 80241C70 44810000 */ mtc1 $at, $f0 +/* ECB974 80241C74 00000000 */ nop +/* ECB978 80241C78 E6000014 */ swc1 $f0, 0x14($s0) +/* ECB97C 80241C7C E6160010 */ swc1 $f22, 0x10($s0) +/* ECB980 80241C80 E6140018 */ swc1 $f20, 0x18($s0) +/* ECB984 80241C84 8FBF0014 */ lw $ra, 0x14($sp) +/* ECB988 80241C88 8FB00010 */ lw $s0, 0x10($sp) +/* ECB98C 80241C8C D7B80028 */ ldc1 $f24, 0x28($sp) +/* ECB990 80241C90 D7B60020 */ ldc1 $f22, 0x20($sp) +/* ECB994 80241C94 D7B40018 */ ldc1 $f20, 0x18($sp) +/* ECB998 80241C98 03E00008 */ jr $ra +/* ECB99C 80241C9C 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_ECB930/func_80241CA0_ECB9A0.s b/asm/nonmatchings/code_ECB930/func_80241CA0_ECB9A0.s new file mode 100644 index 0000000000..bf5aea9ef1 --- /dev/null +++ b/asm/nonmatchings/code_ECB930/func_80241CA0_ECB9A0.s @@ -0,0 +1,122 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241CA0_ECB9A0 +/* ECB9A0 80241CA0 27BDFF78 */ addiu $sp, $sp, -0x88 +/* ECB9A4 80241CA4 AFB10054 */ sw $s1, 0x54($sp) +/* ECB9A8 80241CA8 0080882D */ daddu $s1, $a0, $zero +/* ECB9AC 80241CAC AFBF005C */ sw $ra, 0x5c($sp) +/* ECB9B0 80241CB0 AFB20058 */ sw $s2, 0x58($sp) +/* ECB9B4 80241CB4 AFB00050 */ sw $s0, 0x50($sp) +/* ECB9B8 80241CB8 F7BC0080 */ sdc1 $f28, 0x80($sp) +/* ECB9BC 80241CBC F7BA0078 */ sdc1 $f26, 0x78($sp) +/* ECB9C0 80241CC0 F7B80070 */ sdc1 $f24, 0x70($sp) +/* ECB9C4 80241CC4 F7B60068 */ sdc1 $f22, 0x68($sp) +/* ECB9C8 80241CC8 F7B40060 */ sdc1 $f20, 0x60($sp) +/* ECB9CC 80241CCC 8E30000C */ lw $s0, 0xc($s1) +/* ECB9D0 80241CD0 8E050000 */ lw $a1, ($s0) +/* ECB9D4 80241CD4 0C0B53A3 */ jal func_802D4E8C +/* ECB9D8 80241CD8 26100004 */ addiu $s0, $s0, 4 +/* ECB9DC 80241CDC 0C04949C */ jal func_80125270 +/* ECB9E0 80241CE0 0040202D */ daddu $a0, $v0, $zero +/* ECB9E4 80241CE4 8E050000 */ lw $a1, ($s0) +/* ECB9E8 80241CE8 26100004 */ addiu $s0, $s0, 4 +/* ECB9EC 80241CEC 0220202D */ daddu $a0, $s1, $zero +/* ECB9F0 80241CF0 0C0B55FF */ jal func_802D57FC +/* ECB9F4 80241CF4 0040902D */ daddu $s2, $v0, $zero +/* ECB9F8 80241CF8 8E050000 */ lw $a1, ($s0) +/* ECB9FC 80241CFC 26100004 */ addiu $s0, $s0, 4 +/* ECBA00 80241D00 0220202D */ daddu $a0, $s1, $zero +/* ECBA04 80241D04 0C0B55FF */ jal func_802D57FC +/* ECBA08 80241D08 46000706 */ mov.s $f28, $f0 +/* ECBA0C 80241D0C 8E050000 */ lw $a1, ($s0) +/* ECBA10 80241D10 26100004 */ addiu $s0, $s0, 4 +/* ECBA14 80241D14 0220202D */ daddu $a0, $s1, $zero +/* ECBA18 80241D18 0C0B55FF */ jal func_802D57FC +/* ECBA1C 80241D1C 46000686 */ mov.s $f26, $f0 +/* ECBA20 80241D20 0220202D */ daddu $a0, $s1, $zero +/* ECBA24 80241D24 8E050000 */ lw $a1, ($s0) +/* ECBA28 80241D28 0C0B55FF */ jal func_802D57FC +/* ECBA2C 80241D2C 46000586 */ mov.s $f22, $f0 +/* ECBA30 80241D30 0240202D */ daddu $a0, $s2, $zero +/* ECBA34 80241D34 0C0493D1 */ jal func_80124F44 +/* ECBA38 80241D38 46000606 */ mov.s $f24, $f0 +/* ECBA3C 80241D3C 0040882D */ daddu $s1, $v0, $zero +/* ECBA40 80241D40 96220000 */ lhu $v0, ($s1) +/* ECBA44 80241D44 30420400 */ andi $v0, $v0, 0x400 +/* ECBA48 80241D48 1440001E */ bnez $v0, .L80241DC4 +/* ECBA4C 80241D4C 26300058 */ addiu $s0, $s1, 0x58 +/* ECBA50 80241D50 4480A000 */ mtc1 $zero, $f20 +/* ECBA54 80241D54 4406B000 */ mfc1 $a2, $f22 +/* ECBA58 80241D58 4405A000 */ mfc1 $a1, $f20 +/* ECBA5C 80241D5C 4407A000 */ mfc1 $a3, $f20 +/* ECBA60 80241D60 0C01B2B0 */ jal func_8006CAC0 +/* ECBA64 80241D64 0200202D */ daddu $a0, $s0, $zero +/* ECBA68 80241D68 4405E000 */ mfc1 $a1, $f28 +/* ECBA6C 80241D6C 4406D000 */ mfc1 $a2, $f26 +/* ECBA70 80241D70 4407C000 */ mfc1 $a3, $f24 +/* ECBA74 80241D74 0C09070C */ jal func_80241C30_ECB930 +/* ECBA78 80241D78 27A40010 */ addiu $a0, $sp, 0x10 +/* ECBA7C 80241D7C 27A40010 */ addiu $a0, $sp, 0x10 +/* ECBA80 80241D80 0200282D */ daddu $a1, $s0, $zero +/* ECBA84 80241D84 0C01B1F0 */ jal osSiRawReadIo +/* ECBA88 80241D88 0200302D */ daddu $a2, $s0, $zero +/* ECBA8C 80241D8C 27A40010 */ addiu $a0, $sp, 0x10 +/* ECBA90 80241D90 4600B587 */ neg.s $f22, $f22 +/* ECBA94 80241D94 4405A000 */ mfc1 $a1, $f20 +/* ECBA98 80241D98 4406B000 */ mfc1 $a2, $f22 +/* ECBA9C 80241D9C 0C01B2B0 */ jal func_8006CAC0 +/* ECBAA0 80241DA0 00A0382D */ daddu $a3, $a1, $zero +/* ECBAA4 80241DA4 27A40010 */ addiu $a0, $sp, 0x10 +/* ECBAA8 80241DA8 0200282D */ daddu $a1, $s0, $zero +/* ECBAAC 80241DAC 0C01B1F0 */ jal osSiRawReadIo +/* ECBAB0 80241DB0 00A0302D */ daddu $a2, $a1, $zero +/* ECBAB4 80241DB4 96220000 */ lhu $v0, ($s1) +/* ECBAB8 80241DB8 34421400 */ ori $v0, $v0, 0x1400 +/* ECBABC 80241DBC 0809078F */ j .L80241E3C +/* ECBAC0 80241DC0 A6220000 */ sh $v0, ($s1) +.L80241DC4: +/* ECBAC4 80241DC4 4480A000 */ mtc1 $zero, $f20 +/* ECBAC8 80241DC8 4406B000 */ mfc1 $a2, $f22 +/* ECBACC 80241DCC 4405A000 */ mfc1 $a1, $f20 +/* ECBAD0 80241DD0 4407A000 */ mfc1 $a3, $f20 +/* ECBAD4 80241DD4 0C01B2B0 */ jal func_8006CAC0 +/* ECBAD8 80241DD8 27A40010 */ addiu $a0, $sp, 0x10 +/* ECBADC 80241DDC 27A40010 */ addiu $a0, $sp, 0x10 +/* ECBAE0 80241DE0 26300058 */ addiu $s0, $s1, 0x58 +/* ECBAE4 80241DE4 0200282D */ daddu $a1, $s0, $zero +/* ECBAE8 80241DE8 0C01B1F0 */ jal osSiRawReadIo +/* ECBAEC 80241DEC 0200302D */ daddu $a2, $s0, $zero +/* ECBAF0 80241DF0 4405E000 */ mfc1 $a1, $f28 +/* ECBAF4 80241DF4 4406D000 */ mfc1 $a2, $f26 +/* ECBAF8 80241DF8 4407C000 */ mfc1 $a3, $f24 +/* ECBAFC 80241DFC 0C09070C */ jal func_80241C30_ECB930 +/* ECBB00 80241E00 27A40010 */ addiu $a0, $sp, 0x10 +/* ECBB04 80241E04 27A40010 */ addiu $a0, $sp, 0x10 +/* ECBB08 80241E08 0200282D */ daddu $a1, $s0, $zero +/* ECBB0C 80241E0C 0C01B1F0 */ jal osSiRawReadIo +/* ECBB10 80241E10 0200302D */ daddu $a2, $s0, $zero +/* ECBB14 80241E14 27A40010 */ addiu $a0, $sp, 0x10 +/* ECBB18 80241E18 4600B587 */ neg.s $f22, $f22 +/* ECBB1C 80241E1C 4405A000 */ mfc1 $a1, $f20 +/* ECBB20 80241E20 4406B000 */ mfc1 $a2, $f22 +/* ECBB24 80241E24 0C01B2B0 */ jal func_8006CAC0 +/* ECBB28 80241E28 00A0382D */ daddu $a3, $a1, $zero +/* ECBB2C 80241E2C 27A40010 */ addiu $a0, $sp, 0x10 +/* ECBB30 80241E30 0200282D */ daddu $a1, $s0, $zero +/* ECBB34 80241E34 0C01B1F0 */ jal osSiRawReadIo +/* ECBB38 80241E38 00A0302D */ daddu $a2, $a1, $zero +.L80241E3C: +/* ECBB3C 80241E3C 8FBF005C */ lw $ra, 0x5c($sp) +/* ECBB40 80241E40 8FB20058 */ lw $s2, 0x58($sp) +/* ECBB44 80241E44 8FB10054 */ lw $s1, 0x54($sp) +/* ECBB48 80241E48 8FB00050 */ lw $s0, 0x50($sp) +/* ECBB4C 80241E4C D7BC0080 */ ldc1 $f28, 0x80($sp) +/* ECBB50 80241E50 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* ECBB54 80241E54 D7B80070 */ ldc1 $f24, 0x70($sp) +/* ECBB58 80241E58 D7B60068 */ ldc1 $f22, 0x68($sp) +/* ECBB5C 80241E5C D7B40060 */ ldc1 $f20, 0x60($sp) +/* ECBB60 80241E60 24020002 */ addiu $v0, $zero, 2 +/* ECBB64 80241E64 03E00008 */ jr $ra +/* ECBB68 80241E68 27BD0088 */ addiu $sp, $sp, 0x88 +/* ECBB6C 80241E6C 00000000 */ nop diff --git a/asm/nonmatchings/code_ECBB70/func_80241E70_ECBB70.s b/asm/nonmatchings/code_ECBB70/func_80241E70_ECBB70.s new file mode 100644 index 0000000000..8a19a263bd --- /dev/null +++ b/asm/nonmatchings/code_ECBB70/func_80241E70_ECBB70.s @@ -0,0 +1,45 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241E70_ECBB70 +/* ECBB70 80241E70 8C820084 */ lw $v0, 0x84($a0) +/* ECBB74 80241E74 8C830090 */ lw $v1, 0x90($a0) +/* ECBB78 80241E78 00431023 */ subu $v0, $v0, $v1 +/* ECBB7C 80241E7C 44821000 */ mtc1 $v0, $f2 +/* ECBB80 80241E80 00000000 */ nop +/* ECBB84 80241E84 468010A0 */ cvt.s.w $f2, $f2 +/* ECBB88 80241E88 8C820088 */ lw $v0, 0x88($a0) +/* ECBB8C 80241E8C 8C830094 */ lw $v1, 0x94($a0) +/* ECBB90 80241E90 46021082 */ mul.s $f2, $f2, $f2 +/* ECBB94 80241E94 00000000 */ nop +/* ECBB98 80241E98 00431023 */ subu $v0, $v0, $v1 +/* ECBB9C 80241E9C 44822000 */ mtc1 $v0, $f4 +/* ECBBA0 80241EA0 00000000 */ nop +/* ECBBA4 80241EA4 46802120 */ cvt.s.w $f4, $f4 +/* ECBBA8 80241EA8 8C82008C */ lw $v0, 0x8c($a0) +/* ECBBAC 80241EAC 46042102 */ mul.s $f4, $f4, $f4 +/* ECBBB0 80241EB0 00000000 */ nop +/* ECBBB4 80241EB4 8C830098 */ lw $v1, 0x98($a0) +/* ECBBB8 80241EB8 00431023 */ subu $v0, $v0, $v1 +/* ECBBBC 80241EBC 44820000 */ mtc1 $v0, $f0 +/* ECBBC0 80241EC0 00000000 */ nop +/* ECBBC4 80241EC4 46800020 */ cvt.s.w $f0, $f0 +/* ECBBC8 80241EC8 46000002 */ mul.s $f0, $f0, $f0 +/* ECBBCC 80241ECC 00000000 */ nop +/* ECBBD0 80241ED0 46041080 */ add.s $f2, $f2, $f4 +/* ECBBD4 80241ED4 46001080 */ add.s $f2, $f2, $f0 +/* ECBBD8 80241ED8 3C014561 */ lui $at, 0x4561 +/* ECBBDC 80241EDC 44810000 */ mtc1 $at, $f0 +/* ECBBE0 80241EE0 00000000 */ nop +/* ECBBE4 80241EE4 4600103C */ c.lt.s $f2, $f0 +/* ECBBE8 80241EE8 00000000 */ nop +/* ECBBEC 80241EEC 45010002 */ bc1t .L80241EF8 +/* ECBBF0 80241EF0 24020001 */ addiu $v0, $zero, 1 +/* ECBBF4 80241EF4 0000102D */ daddu $v0, $zero, $zero +.L80241EF8: +/* ECBBF8 80241EF8 AC820084 */ sw $v0, 0x84($a0) +/* ECBBFC 80241EFC 03E00008 */ jr $ra +/* ECBC00 80241F00 24020002 */ addiu $v0, $zero, 2 +/* ECBC04 80241F04 00000000 */ nop +/* ECBC08 80241F08 00000000 */ nop +/* ECBC0C 80241F0C 00000000 */ nop diff --git a/asm/nonmatchings/code_ECFFF0/func_80240000_ECFFF0.s b/asm/nonmatchings/code_ECFFF0/func_80240000_ECFFF0.s new file mode 100644 index 0000000000..83e0ec1f1b --- /dev/null +++ b/asm/nonmatchings/code_ECFFF0/func_80240000_ECFFF0.s @@ -0,0 +1,20 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_ECFFF0 +/* ECFFF0 80240000 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ECFFF4 80240004 24040001 */ addiu $a0, $zero, 1 +/* ECFFF8 80240008 0000282D */ daddu $a1, $zero, $zero +/* ECFFFC 8024000C 00A0302D */ daddu $a2, $a1, $zero +/* ED0000 80240010 00A0382D */ daddu $a3, $a1, $zero +/* ED0004 80240014 AFBF0018 */ sw $ra, 0x18($sp) +/* ED0008 80240018 AFA00010 */ sw $zero, 0x10($sp) +/* ED000C 8024001C 0C01DEF4 */ jal func_80077BD0 +/* ED0010 80240020 AFA00014 */ sw $zero, 0x14($sp) +/* ED0014 80240024 8FBF0018 */ lw $ra, 0x18($sp) +/* ED0018 80240028 24020002 */ addiu $v0, $zero, 2 +/* ED001C 8024002C 03E00008 */ jr $ra +/* ED0020 80240030 27BD0020 */ addiu $sp, $sp, 0x20 +/* ED0024 80240034 00000000 */ nop +/* ED0028 80240038 00000000 */ nop +/* ED002C 8024003C 00000000 */ nop diff --git a/asm/nonmatchings/code_ED0030/func_80240040_ED0030.s b/asm/nonmatchings/code_ED0030/func_80240040_ED0030.s new file mode 100644 index 0000000000..0ce6494a1b --- /dev/null +++ b/asm/nonmatchings/code_ED0030/func_80240040_ED0030.s @@ -0,0 +1,45 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240040_ED0030 +/* ED0030 80240040 8C820084 */ lw $v0, 0x84($a0) +/* ED0034 80240044 8C830090 */ lw $v1, 0x90($a0) +/* ED0038 80240048 00431023 */ subu $v0, $v0, $v1 +/* ED003C 8024004C 44821000 */ mtc1 $v0, $f2 +/* ED0040 80240050 00000000 */ nop +/* ED0044 80240054 468010A0 */ cvt.s.w $f2, $f2 +/* ED0048 80240058 8C820088 */ lw $v0, 0x88($a0) +/* ED004C 8024005C 8C830094 */ lw $v1, 0x94($a0) +/* ED0050 80240060 46021082 */ mul.s $f2, $f2, $f2 +/* ED0054 80240064 00000000 */ nop +/* ED0058 80240068 00431023 */ subu $v0, $v0, $v1 +/* ED005C 8024006C 44822000 */ mtc1 $v0, $f4 +/* ED0060 80240070 00000000 */ nop +/* ED0064 80240074 46802120 */ cvt.s.w $f4, $f4 +/* ED0068 80240078 8C82008C */ lw $v0, 0x8c($a0) +/* ED006C 8024007C 46042102 */ mul.s $f4, $f4, $f4 +/* ED0070 80240080 00000000 */ nop +/* ED0074 80240084 8C830098 */ lw $v1, 0x98($a0) +/* ED0078 80240088 00431023 */ subu $v0, $v0, $v1 +/* ED007C 8024008C 44820000 */ mtc1 $v0, $f0 +/* ED0080 80240090 00000000 */ nop +/* ED0084 80240094 46800020 */ cvt.s.w $f0, $f0 +/* ED0088 80240098 46000002 */ mul.s $f0, $f0, $f0 +/* ED008C 8024009C 00000000 */ nop +/* ED0090 802400A0 46041080 */ add.s $f2, $f2, $f4 +/* ED0094 802400A4 46001080 */ add.s $f2, $f2, $f0 +/* ED0098 802400A8 3C014561 */ lui $at, 0x4561 +/* ED009C 802400AC 44810000 */ mtc1 $at, $f0 +/* ED00A0 802400B0 00000000 */ nop +/* ED00A4 802400B4 4600103C */ c.lt.s $f2, $f0 +/* ED00A8 802400B8 00000000 */ nop +/* ED00AC 802400BC 45010002 */ bc1t .L802400C8 +/* ED00B0 802400C0 24020001 */ addiu $v0, $zero, 1 +/* ED00B4 802400C4 0000102D */ daddu $v0, $zero, $zero +.L802400C8: +/* ED00B8 802400C8 AC820084 */ sw $v0, 0x84($a0) +/* ED00BC 802400CC 03E00008 */ jr $ra +/* ED00C0 802400D0 24020002 */ addiu $v0, $zero, 2 +/* ED00C4 802400D4 00000000 */ nop +/* ED00C8 802400D8 00000000 */ nop +/* ED00CC 802400DC 00000000 */ nop diff --git a/asm/nonmatchings/code_ED00D0/func_802400E0_ED00D0.s b/asm/nonmatchings/code_ED00D0/func_802400E0_ED00D0.s new file mode 100644 index 0000000000..997fc8c92a --- /dev/null +++ b/asm/nonmatchings/code_ED00D0/func_802400E0_ED00D0.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802400E0_ED00D0 +/* ED00D0 802400E0 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* ED00D4 802400E4 F7B40018 */ sdc1 $f20, 0x18($sp) +/* ED00D8 802400E8 4485A000 */ mtc1 $a1, $f20 +/* ED00DC 802400EC F7B60020 */ sdc1 $f22, 0x20($sp) +/* ED00E0 802400F0 4486B000 */ mtc1 $a2, $f22 +/* ED00E4 802400F4 AFB00010 */ sw $s0, 0x10($sp) +/* ED00E8 802400F8 F7B80028 */ sdc1 $f24, 0x28($sp) +/* ED00EC 802400FC 4487C000 */ mtc1 $a3, $f24 +/* ED00F0 80240100 AFBF0014 */ sw $ra, 0x14($sp) +/* ED00F4 80240104 0C01B198 */ jal osGetCause +/* ED00F8 80240108 0080802D */ daddu $s0, $a0, $zero +/* ED00FC 8024010C 4616A582 */ mul.s $f22, $f20, $f22 +/* ED0100 80240110 00000000 */ nop +/* ED0104 80240114 4618A502 */ mul.s $f20, $f20, $f24 +/* ED0108 80240118 00000000 */ nop +/* ED010C 8024011C 3C013F80 */ lui $at, 0x3f80 +/* ED0110 80240120 44810000 */ mtc1 $at, $f0 +/* ED0114 80240124 00000000 */ nop +/* ED0118 80240128 E6000014 */ swc1 $f0, 0x14($s0) +/* ED011C 8024012C E6160010 */ swc1 $f22, 0x10($s0) +/* ED0120 80240130 E6140018 */ swc1 $f20, 0x18($s0) +/* ED0124 80240134 8FBF0014 */ lw $ra, 0x14($sp) +/* ED0128 80240138 8FB00010 */ lw $s0, 0x10($sp) +/* ED012C 8024013C D7B80028 */ ldc1 $f24, 0x28($sp) +/* ED0130 80240140 D7B60020 */ ldc1 $f22, 0x20($sp) +/* ED0134 80240144 D7B40018 */ ldc1 $f20, 0x18($sp) +/* ED0138 80240148 03E00008 */ jr $ra +/* ED013C 8024014C 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_ED00D0/func_80240150_ED0140.s b/asm/nonmatchings/code_ED00D0/func_80240150_ED0140.s new file mode 100644 index 0000000000..14da34a28d --- /dev/null +++ b/asm/nonmatchings/code_ED00D0/func_80240150_ED0140.s @@ -0,0 +1,122 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240150_ED0140 +/* ED0140 80240150 27BDFF78 */ addiu $sp, $sp, -0x88 +/* ED0144 80240154 AFB10054 */ sw $s1, 0x54($sp) +/* ED0148 80240158 0080882D */ daddu $s1, $a0, $zero +/* ED014C 8024015C AFBF005C */ sw $ra, 0x5c($sp) +/* ED0150 80240160 AFB20058 */ sw $s2, 0x58($sp) +/* ED0154 80240164 AFB00050 */ sw $s0, 0x50($sp) +/* ED0158 80240168 F7BC0080 */ sdc1 $f28, 0x80($sp) +/* ED015C 8024016C F7BA0078 */ sdc1 $f26, 0x78($sp) +/* ED0160 80240170 F7B80070 */ sdc1 $f24, 0x70($sp) +/* ED0164 80240174 F7B60068 */ sdc1 $f22, 0x68($sp) +/* ED0168 80240178 F7B40060 */ sdc1 $f20, 0x60($sp) +/* ED016C 8024017C 8E30000C */ lw $s0, 0xc($s1) +/* ED0170 80240180 8E050000 */ lw $a1, ($s0) +/* ED0174 80240184 0C0B53A3 */ jal func_802D4E8C +/* ED0178 80240188 26100004 */ addiu $s0, $s0, 4 +/* ED017C 8024018C 0C04949C */ jal func_80125270 +/* ED0180 80240190 0040202D */ daddu $a0, $v0, $zero +/* ED0184 80240194 8E050000 */ lw $a1, ($s0) +/* ED0188 80240198 26100004 */ addiu $s0, $s0, 4 +/* ED018C 8024019C 0220202D */ daddu $a0, $s1, $zero +/* ED0190 802401A0 0C0B55FF */ jal func_802D57FC +/* ED0194 802401A4 0040902D */ daddu $s2, $v0, $zero +/* ED0198 802401A8 8E050000 */ lw $a1, ($s0) +/* ED019C 802401AC 26100004 */ addiu $s0, $s0, 4 +/* ED01A0 802401B0 0220202D */ daddu $a0, $s1, $zero +/* ED01A4 802401B4 0C0B55FF */ jal func_802D57FC +/* ED01A8 802401B8 46000706 */ mov.s $f28, $f0 +/* ED01AC 802401BC 8E050000 */ lw $a1, ($s0) +/* ED01B0 802401C0 26100004 */ addiu $s0, $s0, 4 +/* ED01B4 802401C4 0220202D */ daddu $a0, $s1, $zero +/* ED01B8 802401C8 0C0B55FF */ jal func_802D57FC +/* ED01BC 802401CC 46000686 */ mov.s $f26, $f0 +/* ED01C0 802401D0 0220202D */ daddu $a0, $s1, $zero +/* ED01C4 802401D4 8E050000 */ lw $a1, ($s0) +/* ED01C8 802401D8 0C0B55FF */ jal func_802D57FC +/* ED01CC 802401DC 46000586 */ mov.s $f22, $f0 +/* ED01D0 802401E0 0240202D */ daddu $a0, $s2, $zero +/* ED01D4 802401E4 0C0493D1 */ jal func_80124F44 +/* ED01D8 802401E8 46000606 */ mov.s $f24, $f0 +/* ED01DC 802401EC 0040882D */ daddu $s1, $v0, $zero +/* ED01E0 802401F0 96220000 */ lhu $v0, ($s1) +/* ED01E4 802401F4 30420400 */ andi $v0, $v0, 0x400 +/* ED01E8 802401F8 1440001E */ bnez $v0, .L80240274 +/* ED01EC 802401FC 26300058 */ addiu $s0, $s1, 0x58 +/* ED01F0 80240200 4480A000 */ mtc1 $zero, $f20 +/* ED01F4 80240204 4406B000 */ mfc1 $a2, $f22 +/* ED01F8 80240208 4405A000 */ mfc1 $a1, $f20 +/* ED01FC 8024020C 4407A000 */ mfc1 $a3, $f20 +/* ED0200 80240210 0C01B2B0 */ jal func_8006CAC0 +/* ED0204 80240214 0200202D */ daddu $a0, $s0, $zero +/* ED0208 80240218 4405E000 */ mfc1 $a1, $f28 +/* ED020C 8024021C 4406D000 */ mfc1 $a2, $f26 +/* ED0210 80240220 4407C000 */ mfc1 $a3, $f24 +/* ED0214 80240224 0C090038 */ jal func_802400E0_ED00D0 +/* ED0218 80240228 27A40010 */ addiu $a0, $sp, 0x10 +/* ED021C 8024022C 27A40010 */ addiu $a0, $sp, 0x10 +/* ED0220 80240230 0200282D */ daddu $a1, $s0, $zero +/* ED0224 80240234 0C01B1F0 */ jal osSiRawReadIo +/* ED0228 80240238 0200302D */ daddu $a2, $s0, $zero +/* ED022C 8024023C 27A40010 */ addiu $a0, $sp, 0x10 +/* ED0230 80240240 4600B587 */ neg.s $f22, $f22 +/* ED0234 80240244 4405A000 */ mfc1 $a1, $f20 +/* ED0238 80240248 4406B000 */ mfc1 $a2, $f22 +/* ED023C 8024024C 0C01B2B0 */ jal func_8006CAC0 +/* ED0240 80240250 00A0382D */ daddu $a3, $a1, $zero +/* ED0244 80240254 27A40010 */ addiu $a0, $sp, 0x10 +/* ED0248 80240258 0200282D */ daddu $a1, $s0, $zero +/* ED024C 8024025C 0C01B1F0 */ jal osSiRawReadIo +/* ED0250 80240260 00A0302D */ daddu $a2, $a1, $zero +/* ED0254 80240264 96220000 */ lhu $v0, ($s1) +/* ED0258 80240268 34421400 */ ori $v0, $v0, 0x1400 +/* ED025C 8024026C 080900BB */ j .L802402EC +/* ED0260 80240270 A6220000 */ sh $v0, ($s1) +.L80240274: +/* ED0264 80240274 4480A000 */ mtc1 $zero, $f20 +/* ED0268 80240278 4406B000 */ mfc1 $a2, $f22 +/* ED026C 8024027C 4405A000 */ mfc1 $a1, $f20 +/* ED0270 80240280 4407A000 */ mfc1 $a3, $f20 +/* ED0274 80240284 0C01B2B0 */ jal func_8006CAC0 +/* ED0278 80240288 27A40010 */ addiu $a0, $sp, 0x10 +/* ED027C 8024028C 27A40010 */ addiu $a0, $sp, 0x10 +/* ED0280 80240290 26300058 */ addiu $s0, $s1, 0x58 +/* ED0284 80240294 0200282D */ daddu $a1, $s0, $zero +/* ED0288 80240298 0C01B1F0 */ jal osSiRawReadIo +/* ED028C 8024029C 0200302D */ daddu $a2, $s0, $zero +/* ED0290 802402A0 4405E000 */ mfc1 $a1, $f28 +/* ED0294 802402A4 4406D000 */ mfc1 $a2, $f26 +/* ED0298 802402A8 4407C000 */ mfc1 $a3, $f24 +/* ED029C 802402AC 0C090038 */ jal func_802400E0_ED00D0 +/* ED02A0 802402B0 27A40010 */ addiu $a0, $sp, 0x10 +/* ED02A4 802402B4 27A40010 */ addiu $a0, $sp, 0x10 +/* ED02A8 802402B8 0200282D */ daddu $a1, $s0, $zero +/* ED02AC 802402BC 0C01B1F0 */ jal osSiRawReadIo +/* ED02B0 802402C0 0200302D */ daddu $a2, $s0, $zero +/* ED02B4 802402C4 27A40010 */ addiu $a0, $sp, 0x10 +/* ED02B8 802402C8 4600B587 */ neg.s $f22, $f22 +/* ED02BC 802402CC 4405A000 */ mfc1 $a1, $f20 +/* ED02C0 802402D0 4406B000 */ mfc1 $a2, $f22 +/* ED02C4 802402D4 0C01B2B0 */ jal func_8006CAC0 +/* ED02C8 802402D8 00A0382D */ daddu $a3, $a1, $zero +/* ED02CC 802402DC 27A40010 */ addiu $a0, $sp, 0x10 +/* ED02D0 802402E0 0200282D */ daddu $a1, $s0, $zero +/* ED02D4 802402E4 0C01B1F0 */ jal osSiRawReadIo +/* ED02D8 802402E8 00A0302D */ daddu $a2, $a1, $zero +.L802402EC: +/* ED02DC 802402EC 8FBF005C */ lw $ra, 0x5c($sp) +/* ED02E0 802402F0 8FB20058 */ lw $s2, 0x58($sp) +/* ED02E4 802402F4 8FB10054 */ lw $s1, 0x54($sp) +/* ED02E8 802402F8 8FB00050 */ lw $s0, 0x50($sp) +/* ED02EC 802402FC D7BC0080 */ ldc1 $f28, 0x80($sp) +/* ED02F0 80240300 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* ED02F4 80240304 D7B80070 */ ldc1 $f24, 0x70($sp) +/* ED02F8 80240308 D7B60068 */ ldc1 $f22, 0x68($sp) +/* ED02FC 8024030C D7B40060 */ ldc1 $f20, 0x60($sp) +/* ED0300 80240310 24020002 */ addiu $v0, $zero, 2 +/* ED0304 80240314 03E00008 */ jr $ra +/* ED0308 80240318 27BD0088 */ addiu $sp, $sp, 0x88 +/* ED030C 8024031C 00000000 */ nop diff --git a/asm/nonmatchings/code_ED0310/func_80240320_ED0310.s b/asm/nonmatchings/code_ED0310/func_80240320_ED0310.s new file mode 100644 index 0000000000..3564114aaf --- /dev/null +++ b/asm/nonmatchings/code_ED0310/func_80240320_ED0310.s @@ -0,0 +1,116 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240320_ED0310 +/* ED0310 80240320 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* ED0314 80240324 AFB3002C */ sw $s3, 0x2c($sp) +/* ED0318 80240328 0080982D */ daddu $s3, $a0, $zero +/* ED031C 8024032C AFBF0030 */ sw $ra, 0x30($sp) +/* ED0320 80240330 AFB20028 */ sw $s2, 0x28($sp) +/* ED0324 80240334 AFB10024 */ sw $s1, 0x24($sp) +/* ED0328 80240338 AFB00020 */ sw $s0, 0x20($sp) +/* ED032C 8024033C 8E710148 */ lw $s1, 0x148($s3) +/* ED0330 80240340 86240008 */ lh $a0, 8($s1) +/* ED0334 80240344 0C00F92F */ jal func_8003E4BC +/* ED0338 80240348 00A0902D */ daddu $s2, $a1, $zero +/* ED033C 8024034C 8E440004 */ lw $a0, 4($s2) +/* ED0340 80240350 0040802D */ daddu $s0, $v0, $zero +/* ED0344 80240354 00041FC2 */ srl $v1, $a0, 0x1f +/* ED0348 80240358 00832021 */ addu $a0, $a0, $v1 +/* ED034C 8024035C 00042043 */ sra $a0, $a0, 1 +/* ED0350 80240360 0C00AB3B */ jal func_8002ACEC +/* ED0354 80240364 24840001 */ addiu $a0, $a0, 1 +/* ED0358 80240368 8E430004 */ lw $v1, 4($s2) +/* ED035C 8024036C 000327C2 */ srl $a0, $v1, 0x1f +/* ED0360 80240370 00641821 */ addu $v1, $v1, $a0 +/* ED0364 80240374 00031843 */ sra $v1, $v1, 1 +/* ED0368 80240378 00621821 */ addu $v1, $v1, $v0 +/* ED036C 8024037C A603008E */ sh $v1, 0x8e($s0) +/* ED0370 80240380 8E2300D0 */ lw $v1, 0xd0($s1) +/* ED0374 80240384 C6000040 */ lwc1 $f0, 0x40($s0) +/* ED0378 80240388 C4640000 */ lwc1 $f4, ($v1) +/* ED037C 8024038C 46802120 */ cvt.s.w $f4, $f4 +/* ED0380 80240390 C4620008 */ lwc1 $f2, 8($v1) +/* ED0384 80240394 468010A0 */ cvt.s.w $f2, $f2 +/* ED0388 80240398 E7A00010 */ swc1 $f0, 0x10($sp) +/* ED038C 8024039C 8E2200D0 */ lw $v0, 0xd0($s1) +/* ED0390 802403A0 44061000 */ mfc1 $a2, $f2 +/* ED0394 802403A4 C440000C */ lwc1 $f0, 0xc($v0) +/* ED0398 802403A8 46800020 */ cvt.s.w $f0, $f0 +/* ED039C 802403AC E7A00014 */ swc1 $f0, 0x14($sp) +/* ED03A0 802403B0 8E2200D0 */ lw $v0, 0xd0($s1) +/* ED03A4 802403B4 44052000 */ mfc1 $a1, $f4 +/* ED03A8 802403B8 C4400010 */ lwc1 $f0, 0x10($v0) +/* ED03AC 802403BC 46800020 */ cvt.s.w $f0, $f0 +/* ED03B0 802403C0 E7A00018 */ swc1 $f0, 0x18($sp) +/* ED03B4 802403C4 8C640018 */ lw $a0, 0x18($v1) +/* ED03B8 802403C8 0C013431 */ jal func_8004D0C4 +/* ED03BC 802403CC 8E070038 */ lw $a3, 0x38($s0) +/* ED03C0 802403D0 1040000E */ beqz $v0, .L8024040C +/* ED03C4 802403D4 00000000 */ nop +/* ED03C8 802403D8 8E2200D0 */ lw $v0, 0xd0($s1) +/* ED03CC 802403DC C60C0038 */ lwc1 $f12, 0x38($s0) +/* ED03D0 802403E0 C60E0040 */ lwc1 $f14, 0x40($s0) +/* ED03D4 802403E4 C4460000 */ lwc1 $f6, ($v0) +/* ED03D8 802403E8 468031A0 */ cvt.s.w $f6, $f6 +/* ED03DC 802403EC 44063000 */ mfc1 $a2, $f6 +/* ED03E0 802403F0 C4460008 */ lwc1 $f6, 8($v0) +/* ED03E4 802403F4 468031A0 */ cvt.s.w $f6, $f6 +/* ED03E8 802403F8 44073000 */ mfc1 $a3, $f6 +/* ED03EC 802403FC 0C00ABDC */ jal fio_validate_header_checksums +/* ED03F0 80240400 00000000 */ nop +/* ED03F4 80240404 0809010F */ j .L8024043C +/* ED03F8 80240408 E600000C */ swc1 $f0, 0xc($s0) +.L8024040C: +/* ED03FC 8024040C 0C00AB3B */ jal func_8002ACEC +/* ED0400 80240410 2404003C */ addiu $a0, $zero, 0x3c +/* ED0404 80240414 C60C000C */ lwc1 $f12, 0xc($s0) +/* ED0408 80240418 44820000 */ mtc1 $v0, $f0 +/* ED040C 8024041C 00000000 */ nop +/* ED0410 80240420 46800020 */ cvt.s.w $f0, $f0 +/* ED0414 80240424 46006300 */ add.s $f12, $f12, $f0 +/* ED0418 80240428 3C0141F0 */ lui $at, 0x41f0 +/* ED041C 8024042C 44810000 */ mtc1 $at, $f0 +/* ED0420 80240430 0C00AB85 */ jal func_8002AE14 +/* ED0424 80240434 46006301 */ sub.s $f12, $f12, $f0 +/* ED0428 80240438 E600000C */ swc1 $f0, 0xc($s0) +.L8024043C: +/* ED042C 8024043C 8E2200CC */ lw $v0, 0xcc($s1) +/* ED0430 80240440 8C420004 */ lw $v0, 4($v0) +/* ED0434 80240444 AE020028 */ sw $v0, 0x28($s0) +/* ED0438 80240448 AE600074 */ sw $zero, 0x74($s3) +/* ED043C 8024044C 8E2200D0 */ lw $v0, 0xd0($s1) +/* ED0440 80240450 8C420014 */ lw $v0, 0x14($v0) +/* ED0444 80240454 04410004 */ bgez $v0, .L80240468 +/* ED0448 80240458 00000000 */ nop +/* ED044C 8024045C C6400000 */ lwc1 $f0, ($s2) +/* ED0450 80240460 08090122 */ j .L80240488 +/* ED0454 80240464 E6000018 */ swc1 $f0, 0x18($s0) +.L80240468: +/* ED0458 80240468 3C018024 */ lui $at, %hi(D_802441D0) +/* ED045C 8024046C D42241D0 */ ldc1 $f2, %lo(D_802441D0)($at) +/* ED0460 80240470 44820000 */ mtc1 $v0, $f0 +/* ED0464 80240474 00000000 */ nop +/* ED0468 80240478 46800021 */ cvt.d.w $f0, $f0 +/* ED046C 8024047C 46220003 */ div.d $f0, $f0, $f2 +/* ED0470 80240480 46200020 */ cvt.s.d $f0, $f0 +/* ED0474 80240484 E6000018 */ swc1 $f0, 0x18($s0) +.L80240488: +/* ED0478 80240488 C600003C */ lwc1 $f0, 0x3c($s0) +/* ED047C 8024048C 3C014059 */ lui $at, 0x4059 +/* ED0480 80240490 44811800 */ mtc1 $at, $f3 +/* ED0484 80240494 44801000 */ mtc1 $zero, $f2 +/* ED0488 80240498 46000021 */ cvt.d.s $f0, $f0 +/* ED048C 8024049C 46220002 */ mul.d $f0, $f0, $f2 +/* ED0490 802404A0 00000000 */ nop +/* ED0494 802404A4 24020001 */ addiu $v0, $zero, 1 +/* ED0498 802404A8 4620018D */ trunc.w.d $f6, $f0 +/* ED049C 802404AC E626007C */ swc1 $f6, 0x7c($s1) +/* ED04A0 802404B0 AE620070 */ sw $v0, 0x70($s3) +/* ED04A4 802404B4 8FBF0030 */ lw $ra, 0x30($sp) +/* ED04A8 802404B8 8FB3002C */ lw $s3, 0x2c($sp) +/* ED04AC 802404BC 8FB20028 */ lw $s2, 0x28($sp) +/* ED04B0 802404C0 8FB10024 */ lw $s1, 0x24($sp) +/* ED04B4 802404C4 8FB00020 */ lw $s0, 0x20($sp) +/* ED04B8 802404C8 03E00008 */ jr $ra +/* ED04BC 802404CC 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_ED0310/func_802404D0_ED04C0.s b/asm/nonmatchings/code_ED0310/func_802404D0_ED04C0.s new file mode 100644 index 0000000000..b4492012af --- /dev/null +++ b/asm/nonmatchings/code_ED0310/func_802404D0_ED04C0.s @@ -0,0 +1,418 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802404D0_ED04C0 +/* ED04C0 802404D0 27BDFF80 */ addiu $sp, $sp, -0x80 +/* ED04C4 802404D4 AFB3004C */ sw $s3, 0x4c($sp) +/* ED04C8 802404D8 0080982D */ daddu $s3, $a0, $zero +/* ED04CC 802404DC AFBF0058 */ sw $ra, 0x58($sp) +/* ED04D0 802404E0 AFB50054 */ sw $s5, 0x54($sp) +/* ED04D4 802404E4 AFB40050 */ sw $s4, 0x50($sp) +/* ED04D8 802404E8 AFB20048 */ sw $s2, 0x48($sp) +/* ED04DC 802404EC AFB10044 */ sw $s1, 0x44($sp) +/* ED04E0 802404F0 AFB00040 */ sw $s0, 0x40($sp) +/* ED04E4 802404F4 F7BA0078 */ sdc1 $f26, 0x78($sp) +/* ED04E8 802404F8 F7B80070 */ sdc1 $f24, 0x70($sp) +/* ED04EC 802404FC F7B60068 */ sdc1 $f22, 0x68($sp) +/* ED04F0 80240500 F7B40060 */ sdc1 $f20, 0x60($sp) +/* ED04F4 80240504 8E710148 */ lw $s1, 0x148($s3) +/* ED04F8 80240508 00A0902D */ daddu $s2, $a1, $zero +/* ED04FC 8024050C 86240008 */ lh $a0, 8($s1) +/* ED0500 80240510 0C00F92F */ jal func_8003E4BC +/* ED0504 80240514 00C0A82D */ daddu $s5, $a2, $zero +/* ED0508 80240518 0040802D */ daddu $s0, $v0, $zero +/* ED050C 8024051C 0000A02D */ daddu $s4, $zero, $zero +/* ED0510 80240520 C624007C */ lwc1 $f4, 0x7c($s1) +/* ED0514 80240524 46802120 */ cvt.s.w $f4, $f4 +/* ED0518 80240528 C6220088 */ lwc1 $f2, 0x88($s1) +/* ED051C 8024052C 468010A0 */ cvt.s.w $f2, $f2 +/* ED0520 80240530 460010A1 */ cvt.d.s $f2, $f2 +/* ED0524 80240534 46002121 */ cvt.d.s $f4, $f4 +/* ED0528 80240538 C600003C */ lwc1 $f0, 0x3c($s0) +/* ED052C 8024053C 3C014059 */ lui $at, 0x4059 +/* ED0530 80240540 44813800 */ mtc1 $at, $f7 +/* ED0534 80240544 44803000 */ mtc1 $zero, $f6 +/* ED0538 80240548 46000021 */ cvt.d.s $f0, $f0 +/* ED053C 8024054C 46260002 */ mul.d $f0, $f0, $f6 +/* ED0540 80240550 00000000 */ nop +/* ED0544 80240554 24020001 */ addiu $v0, $zero, 1 +/* ED0548 80240558 8E24006C */ lw $a0, 0x6c($s1) +/* ED054C 8024055C 46261083 */ div.d $f2, $f2, $f6 +/* ED0550 80240560 462010A0 */ cvt.s.d $f2, $f2 +/* ED0554 80240564 46262103 */ div.d $f4, $f4, $f6 +/* ED0558 80240568 46202520 */ cvt.s.d $f20, $f4 +/* ED055C 8024056C 30830011 */ andi $v1, $a0, 0x11 +/* ED0560 80240570 4620020D */ trunc.w.d $f8, $f0 +/* ED0564 80240574 E628007C */ swc1 $f8, 0x7c($s1) +/* ED0568 80240578 C6200078 */ lwc1 $f0, 0x78($s1) +/* ED056C 8024057C 46800020 */ cvt.s.w $f0, $f0 +/* ED0570 80240580 46000021 */ cvt.d.s $f0, $f0 +/* ED0574 80240584 46260003 */ div.d $f0, $f0, $f6 +/* ED0578 80240588 462006A0 */ cvt.s.d $f26, $f0 +/* ED057C 8024058C C6200070 */ lwc1 $f0, 0x70($s1) +/* ED0580 80240590 46800020 */ cvt.s.w $f0, $f0 +/* ED0584 80240594 46000021 */ cvt.d.s $f0, $f0 +/* ED0588 80240598 46260003 */ div.d $f0, $f0, $f6 +/* ED058C 8024059C 462005A0 */ cvt.s.d $f22, $f0 +/* ED0590 802405A0 14620025 */ bne $v1, $v0, .L80240638 +/* ED0594 802405A4 4602D600 */ add.s $f24, $f26, $f2 +/* ED0598 802405A8 8E020000 */ lw $v0, ($s0) +/* ED059C 802405AC 30420008 */ andi $v0, $v0, 8 +/* ED05A0 802405B0 10400009 */ beqz $v0, .L802405D8 +/* ED05A4 802405B4 27A50028 */ addiu $a1, $sp, 0x28 +/* ED05A8 802405B8 C600003C */ lwc1 $f0, 0x3c($s0) +/* ED05AC 802405BC 4600C001 */ sub.s $f0, $f24, $f0 +/* ED05B0 802405C0 4600B03C */ c.lt.s $f22, $f0 +/* ED05B4 802405C4 00000000 */ nop +/* ED05B8 802405C8 4500001B */ bc1f .L80240638 +/* ED05BC 802405CC 34820010 */ ori $v0, $a0, 0x10 +/* ED05C0 802405D0 0809018E */ j .L80240638 +/* ED05C4 802405D4 AE22006C */ sw $v0, 0x6c($s1) +.L802405D8: +/* ED05C8 802405D8 27A6002C */ addiu $a2, $sp, 0x2c +/* ED05CC 802405DC C6000038 */ lwc1 $f0, 0x38($s0) +/* ED05D0 802405E0 C602003C */ lwc1 $f2, 0x3c($s0) +/* ED05D4 802405E4 C6040040 */ lwc1 $f4, 0x40($s0) +/* ED05D8 802405E8 3C01447A */ lui $at, 0x447a +/* ED05DC 802405EC 44813000 */ mtc1 $at, $f6 +/* ED05E0 802405F0 27A20034 */ addiu $v0, $sp, 0x34 +/* ED05E4 802405F4 E7A00028 */ swc1 $f0, 0x28($sp) +/* ED05E8 802405F8 E7A2002C */ swc1 $f2, 0x2c($sp) +/* ED05EC 802405FC E7A40030 */ swc1 $f4, 0x30($sp) +/* ED05F0 80240600 E7A60034 */ swc1 $f6, 0x34($sp) +/* ED05F4 80240604 AFA20010 */ sw $v0, 0x10($sp) +/* ED05F8 80240608 8E040080 */ lw $a0, 0x80($s0) +/* ED05FC 8024060C 0C03908F */ jal func_800E423C +/* ED0600 80240610 27A70030 */ addiu $a3, $sp, 0x30 +/* ED0604 80240614 C7A00034 */ lwc1 $f0, 0x34($sp) +/* ED0608 80240618 4600D001 */ sub.s $f0, $f26, $f0 +/* ED060C 8024061C 4600B03C */ c.lt.s $f22, $f0 +/* ED0610 80240620 00000000 */ nop +/* ED0614 80240624 45000004 */ bc1f .L80240638 +/* ED0618 80240628 00000000 */ nop +/* ED061C 8024062C 8E22006C */ lw $v0, 0x6c($s1) +/* ED0620 80240630 34420010 */ ori $v0, $v0, 0x10 +/* ED0624 80240634 AE22006C */ sw $v0, 0x6c($s1) +.L80240638: +/* ED0628 80240638 8E22006C */ lw $v0, 0x6c($s1) +/* ED062C 8024063C 24030011 */ addiu $v1, $zero, 0x11 +/* ED0630 80240640 30420011 */ andi $v0, $v0, 0x11 +/* ED0634 80240644 14430039 */ bne $v0, $v1, .L8024072C +/* ED0638 80240648 00000000 */ nop +/* ED063C 8024064C 8E020000 */ lw $v0, ($s0) +/* ED0640 80240650 30420008 */ andi $v0, $v0, 8 +/* ED0644 80240654 1040000A */ beqz $v0, .L80240680 +/* ED0648 80240658 4600C106 */ mov.s $f4, $f24 +/* ED064C 8024065C 4614C081 */ sub.s $f2, $f24, $f20 +/* ED0650 80240660 3C018024 */ lui $at, %hi(D_802441D8) +/* ED0654 80240664 D42041D8 */ ldc1 $f0, %lo(D_802441D8)($at) +/* ED0658 80240668 460010A1 */ cvt.d.s $f2, $f2 +/* ED065C 8024066C 46201082 */ mul.d $f2, $f2, $f0 +/* ED0660 80240670 00000000 */ nop +/* ED0664 80240674 4600A021 */ cvt.d.s $f0, $f20 +/* ED0668 80240678 080901B9 */ j .L802406E4 +/* ED066C 8024067C 46220000 */ add.d $f0, $f0, $f2 +.L80240680: +/* ED0670 80240680 27A50028 */ addiu $a1, $sp, 0x28 +/* ED0674 80240684 27A6002C */ addiu $a2, $sp, 0x2c +/* ED0678 80240688 C6000038 */ lwc1 $f0, 0x38($s0) +/* ED067C 8024068C C6020040 */ lwc1 $f2, 0x40($s0) +/* ED0680 80240690 3C01447A */ lui $at, 0x447a +/* ED0684 80240694 44812000 */ mtc1 $at, $f4 +/* ED0688 80240698 27A20034 */ addiu $v0, $sp, 0x34 +/* ED068C 8024069C E7B4002C */ swc1 $f20, 0x2c($sp) +/* ED0690 802406A0 E7A00028 */ swc1 $f0, 0x28($sp) +/* ED0694 802406A4 E7A20030 */ swc1 $f2, 0x30($sp) +/* ED0698 802406A8 E7A40034 */ swc1 $f4, 0x34($sp) +/* ED069C 802406AC AFA20010 */ sw $v0, 0x10($sp) +/* ED06A0 802406B0 8E040080 */ lw $a0, 0x80($s0) +/* ED06A4 802406B4 0C03908F */ jal func_800E423C +/* ED06A8 802406B8 27A70030 */ addiu $a3, $sp, 0x30 +/* ED06AC 802406BC C7A4002C */ lwc1 $f4, 0x2c($sp) +/* ED06B0 802406C0 461A2100 */ add.s $f4, $f4, $f26 +/* ED06B4 802406C4 46142081 */ sub.s $f2, $f4, $f20 +/* ED06B8 802406C8 3C018024 */ lui $at, %hi(D_802441E0) +/* ED06BC 802406CC D42041E0 */ ldc1 $f0, %lo(D_802441E0)($at) +/* ED06C0 802406D0 460010A1 */ cvt.d.s $f2, $f2 +/* ED06C4 802406D4 46201082 */ mul.d $f2, $f2, $f0 +/* ED06C8 802406D8 00000000 */ nop +/* ED06CC 802406DC 4600A021 */ cvt.d.s $f0, $f20 +/* ED06D0 802406E0 46220000 */ add.d $f0, $f0, $f2 +.L802406E4: +/* ED06D4 802406E4 46200020 */ cvt.s.d $f0, $f0 +/* ED06D8 802406E8 E600003C */ swc1 $f0, 0x3c($s0) +/* ED06DC 802406EC C600003C */ lwc1 $f0, 0x3c($s0) +/* ED06E0 802406F0 46002001 */ sub.s $f0, $f4, $f0 +/* ED06E4 802406F4 3C013FF0 */ lui $at, 0x3ff0 +/* ED06E8 802406F8 44811800 */ mtc1 $at, $f3 +/* ED06EC 802406FC 44801000 */ mtc1 $zero, $f2 +/* ED06F0 80240700 46000005 */ abs.s $f0, $f0 +/* ED06F4 80240704 46000021 */ cvt.d.s $f0, $f0 +/* ED06F8 80240708 4622003C */ c.lt.d $f0, $f2 +/* ED06FC 8024070C 00000000 */ nop +/* ED0700 80240710 45000036 */ bc1f .L802407EC +/* ED0704 80240714 2403FFEF */ addiu $v1, $zero, -0x11 +/* ED0708 80240718 E604003C */ swc1 $f4, 0x3c($s0) +/* ED070C 8024071C 8E22006C */ lw $v0, 0x6c($s1) +/* ED0710 80240720 00431024 */ and $v0, $v0, $v1 +/* ED0714 80240724 080901FB */ j .L802407EC +/* ED0718 80240728 AE22006C */ sw $v0, 0x6c($s1) +.L8024072C: +/* ED071C 8024072C 8E220070 */ lw $v0, 0x70($s1) +/* ED0720 80240730 1840002E */ blez $v0, .L802407EC +/* ED0724 80240734 00000000 */ nop +/* ED0728 80240738 C62C0074 */ lwc1 $f12, 0x74($s1) +/* ED072C 8024073C 0C00AD77 */ jal func_8002B5DC +/* ED0730 80240740 46806320 */ cvt.s.w $f12, $f12 +/* ED0734 80240744 8E020000 */ lw $v0, ($s0) +/* ED0738 80240748 30420008 */ andi $v0, $v0, 8 +/* ED073C 8024074C 10400003 */ beqz $v0, .L8024075C +/* ED0740 80240750 46000506 */ mov.s $f20, $f0 +/* ED0744 80240754 080901E7 */ j .L8024079C +/* ED0748 80240758 0000102D */ daddu $v0, $zero, $zero +.L8024075C: +/* ED074C 8024075C 27A50028 */ addiu $a1, $sp, 0x28 +/* ED0750 80240760 27A6002C */ addiu $a2, $sp, 0x2c +/* ED0754 80240764 C6000038 */ lwc1 $f0, 0x38($s0) +/* ED0758 80240768 C602003C */ lwc1 $f2, 0x3c($s0) +/* ED075C 8024076C C6040040 */ lwc1 $f4, 0x40($s0) +/* ED0760 80240770 3C01447A */ lui $at, 0x447a +/* ED0764 80240774 44813000 */ mtc1 $at, $f6 +/* ED0768 80240778 27A20034 */ addiu $v0, $sp, 0x34 +/* ED076C 8024077C E7A00028 */ swc1 $f0, 0x28($sp) +/* ED0770 80240780 E7A2002C */ swc1 $f2, 0x2c($sp) +/* ED0774 80240784 E7A40030 */ swc1 $f4, 0x30($sp) +/* ED0778 80240788 E7A60034 */ swc1 $f6, 0x34($sp) +/* ED077C 8024078C AFA20010 */ sw $v0, 0x10($sp) +/* ED0780 80240790 8E040080 */ lw $a0, 0x80($s0) +/* ED0784 80240794 0C03908F */ jal func_800E423C +/* ED0788 80240798 27A70030 */ addiu $a3, $sp, 0x30 +.L8024079C: +/* ED078C 8024079C 10400007 */ beqz $v0, .L802407BC +/* ED0790 802407A0 00000000 */ nop +/* ED0794 802407A4 4616A082 */ mul.s $f2, $f20, $f22 +/* ED0798 802407A8 00000000 */ nop +/* ED079C 802407AC C7A0002C */ lwc1 $f0, 0x2c($sp) +/* ED07A0 802407B0 461A0000 */ add.s $f0, $f0, $f26 +/* ED07A4 802407B4 080901F2 */ j .L802407C8 +/* ED07A8 802407B8 46020000 */ add.s $f0, $f0, $f2 +.L802407BC: +/* ED07AC 802407BC 4616A002 */ mul.s $f0, $f20, $f22 +/* ED07B0 802407C0 00000000 */ nop +/* ED07B4 802407C4 4600C000 */ add.s $f0, $f24, $f0 +.L802407C8: +/* ED07B8 802407C8 E600003C */ swc1 $f0, 0x3c($s0) +/* ED07BC 802407CC 8E220074 */ lw $v0, 0x74($s1) +/* ED07C0 802407D0 2442000A */ addiu $v0, $v0, 0xa +/* ED07C4 802407D4 44826000 */ mtc1 $v0, $f12 +/* ED07C8 802407D8 00000000 */ nop +/* ED07CC 802407DC 0C00AB85 */ jal func_8002AE14 +/* ED07D0 802407E0 46806320 */ cvt.s.w $f12, $f12 +/* ED07D4 802407E4 4600020D */ trunc.w.s $f8, $f0 +/* ED07D8 802407E8 E6280074 */ swc1 $f8, 0x74($s1) +.L802407EC: +/* ED07DC 802407EC 8E220090 */ lw $v0, 0x90($s1) +/* ED07E0 802407F0 1C40004A */ bgtz $v0, .L8024091C +/* ED07E4 802407F4 2442FFFF */ addiu $v0, $v0, -1 +/* ED07E8 802407F8 8E430014 */ lw $v1, 0x14($s2) +/* ED07EC 802407FC 04600048 */ bltz $v1, .L80240920 +/* ED07F0 80240800 00000000 */ nop +/* ED07F4 80240804 8E620074 */ lw $v0, 0x74($s3) +/* ED07F8 80240808 1C400042 */ bgtz $v0, .L80240914 +/* ED07FC 8024080C 2442FFFF */ addiu $v0, $v0, -1 +/* ED0800 80240810 AE630074 */ sw $v1, 0x74($s3) +/* ED0804 80240814 860200A8 */ lh $v0, 0xa8($s0) +/* ED0808 80240818 C602003C */ lwc1 $f2, 0x3c($s0) +/* ED080C 8024081C 44820000 */ mtc1 $v0, $f0 +/* ED0810 80240820 00000000 */ nop +/* ED0814 80240824 46800020 */ cvt.s.w $f0, $f0 +/* ED0818 80240828 46001080 */ add.s $f2, $f2, $f0 +/* ED081C 8024082C 3C014024 */ lui $at, 0x4024 +/* ED0820 80240830 44810800 */ mtc1 $at, $f1 +/* ED0824 80240834 44800000 */ mtc1 $zero, $f0 +/* ED0828 80240838 3C028010 */ lui $v0, %hi(D_800FFC90) +/* ED082C 8024083C 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* ED0830 80240840 460010A1 */ cvt.d.s $f2, $f2 +/* ED0834 80240844 46201080 */ add.d $f2, $f2, $f0 +/* ED0838 80240848 C440002C */ lwc1 $f0, 0x2c($v0) +/* ED083C 8024084C 46000021 */ cvt.d.s $f0, $f0 +/* ED0840 80240850 4622003C */ c.lt.d $f0, $f2 +/* ED0844 80240854 00000000 */ nop +/* ED0848 80240858 4500002C */ bc1f .L8024090C +/* ED084C 8024085C 02A0202D */ daddu $a0, $s5, $zero +/* ED0850 80240860 AFA00010 */ sw $zero, 0x10($sp) +/* ED0854 80240864 8E46000C */ lw $a2, 0xc($s2) +/* ED0858 80240868 8E470010 */ lw $a3, 0x10($s2) +/* ED085C 8024086C 0C013469 */ jal func_8004D1A4 +/* ED0860 80240870 0220282D */ daddu $a1, $s1, $zero +/* ED0864 80240874 10400025 */ beqz $v0, .L8024090C +/* ED0868 80240878 0000202D */ daddu $a0, $zero, $zero +/* ED086C 8024087C 0200282D */ daddu $a1, $s0, $zero +/* ED0870 80240880 0000302D */ daddu $a2, $zero, $zero +/* ED0874 80240884 2412000C */ addiu $s2, $zero, 0xc +/* ED0878 80240888 860300A8 */ lh $v1, 0xa8($s0) +/* ED087C 8024088C 3C013F80 */ lui $at, 0x3f80 +/* ED0880 80240890 44810000 */ mtc1 $at, $f0 +/* ED0884 80240894 3C014000 */ lui $at, 0x4000 +/* ED0888 80240898 44811000 */ mtc1 $at, $f2 +/* ED088C 8024089C 3C01C1A0 */ lui $at, 0xc1a0 +/* ED0890 802408A0 44812000 */ mtc1 $at, $f4 +/* ED0894 802408A4 44834000 */ mtc1 $v1, $f8 +/* ED0898 802408A8 00000000 */ nop +/* ED089C 802408AC 46804220 */ cvt.s.w $f8, $f8 +/* ED08A0 802408B0 44074000 */ mfc1 $a3, $f8 +/* ED08A4 802408B4 27A20038 */ addiu $v0, $sp, 0x38 +/* ED08A8 802408B8 AFB2001C */ sw $s2, 0x1c($sp) +/* ED08AC 802408BC AFA20020 */ sw $v0, 0x20($sp) +/* ED08B0 802408C0 E7A00010 */ swc1 $f0, 0x10($sp) +/* ED08B4 802408C4 E7A20014 */ swc1 $f2, 0x14($sp) +/* ED08B8 802408C8 0C01D444 */ jal func_80075110 +/* ED08BC 802408CC E7A40018 */ swc1 $f4, 0x18($sp) +/* ED08C0 802408D0 0200202D */ daddu $a0, $s0, $zero +/* ED08C4 802408D4 240502F4 */ addiu $a1, $zero, 0x2f4 +/* ED08C8 802408D8 C480003C */ lwc1 $f0, 0x3c($a0) +/* ED08CC 802408DC 3C060020 */ lui $a2, 0x20 +/* ED08D0 802408E0 0C013600 */ jal func_8004D800 +/* ED08D4 802408E4 E4800064 */ swc1 $f0, 0x64($a0) +/* ED08D8 802408E8 8E220018 */ lw $v0, 0x18($s1) +/* ED08DC 802408EC 9442002A */ lhu $v0, 0x2a($v0) +/* ED08E0 802408F0 30420001 */ andi $v0, $v0, 1 +/* ED08E4 802408F4 10400003 */ beqz $v0, .L80240904 +/* ED08E8 802408F8 2402000A */ addiu $v0, $zero, 0xa +/* ED08EC 802408FC 080902B1 */ j .L80240AC4 +/* ED08F0 80240900 AE620070 */ sw $v0, 0x70($s3) +.L80240904: +/* ED08F4 80240904 080902B1 */ j .L80240AC4 +/* ED08F8 80240908 AE720070 */ sw $s2, 0x70($s3) +.L8024090C: +/* ED08FC 8024090C 8E620074 */ lw $v0, 0x74($s3) +/* ED0900 80240910 2442FFFF */ addiu $v0, $v0, -1 +.L80240914: +/* ED0904 80240914 08090248 */ j .L80240920 +/* ED0908 80240918 AE620074 */ sw $v0, 0x74($s3) +.L8024091C: +/* ED090C 8024091C AE220090 */ sw $v0, 0x90($s1) +.L80240920: +/* ED0910 80240920 8E2300D0 */ lw $v1, 0xd0($s1) +/* ED0914 80240924 C6000040 */ lwc1 $f0, 0x40($s0) +/* ED0918 80240928 C4620000 */ lwc1 $f2, ($v1) +/* ED091C 8024092C 468010A0 */ cvt.s.w $f2, $f2 +/* ED0920 80240930 C4640008 */ lwc1 $f4, 8($v1) +/* ED0924 80240934 46802120 */ cvt.s.w $f4, $f4 +/* ED0928 80240938 E7A00010 */ swc1 $f0, 0x10($sp) +/* ED092C 8024093C 8E2200D0 */ lw $v0, 0xd0($s1) +/* ED0930 80240940 44051000 */ mfc1 $a1, $f2 +/* ED0934 80240944 C440000C */ lwc1 $f0, 0xc($v0) +/* ED0938 80240948 46800020 */ cvt.s.w $f0, $f0 +/* ED093C 8024094C E7A00014 */ swc1 $f0, 0x14($sp) +/* ED0940 80240950 8E2200D0 */ lw $v0, 0xd0($s1) +/* ED0944 80240954 44062000 */ mfc1 $a2, $f4 +/* ED0948 80240958 C4400010 */ lwc1 $f0, 0x10($v0) +/* ED094C 8024095C 46800020 */ cvt.s.w $f0, $f0 +/* ED0950 80240960 E7A00018 */ swc1 $f0, 0x18($sp) +/* ED0954 80240964 8C640018 */ lw $a0, 0x18($v1) +/* ED0958 80240968 0C013431 */ jal func_8004D0C4 +/* ED095C 8024096C 8E070038 */ lw $a3, 0x38($s0) +/* ED0960 80240970 1040001A */ beqz $v0, .L802409DC +/* ED0964 80240974 00000000 */ nop +/* ED0968 80240978 8E060038 */ lw $a2, 0x38($s0) +/* ED096C 8024097C 8E2200D0 */ lw $v0, 0xd0($s1) +/* ED0970 80240980 8E070040 */ lw $a3, 0x40($s0) +/* ED0974 80240984 C44C0000 */ lwc1 $f12, ($v0) +/* ED0978 80240988 46806320 */ cvt.s.w $f12, $f12 +/* ED097C 8024098C C44E0008 */ lwc1 $f14, 8($v0) +/* ED0980 80240990 0C00AC71 */ jal func_8002B1C4 +/* ED0984 80240994 468073A0 */ cvt.s.w $f14, $f14 +/* ED0988 80240998 C6020018 */ lwc1 $f2, 0x18($s0) +/* ED098C 8024099C 4600103C */ c.lt.s $f2, $f0 +/* ED0990 802409A0 00000000 */ nop +/* ED0994 802409A4 4500000D */ bc1f .L802409DC +/* ED0998 802409A8 E7A00034 */ swc1 $f0, 0x34($sp) +/* ED099C 802409AC C60C0038 */ lwc1 $f12, 0x38($s0) +/* ED09A0 802409B0 8E2200D0 */ lw $v0, 0xd0($s1) +/* ED09A4 802409B4 C60E0040 */ lwc1 $f14, 0x40($s0) +/* ED09A8 802409B8 C4480000 */ lwc1 $f8, ($v0) +/* ED09AC 802409BC 46804220 */ cvt.s.w $f8, $f8 +/* ED09B0 802409C0 44064000 */ mfc1 $a2, $f8 +/* ED09B4 802409C4 C4480008 */ lwc1 $f8, 8($v0) +/* ED09B8 802409C8 46804220 */ cvt.s.w $f8, $f8 +/* ED09BC 802409CC 44074000 */ mfc1 $a3, $f8 +/* ED09C0 802409D0 0C00ABDC */ jal fio_validate_header_checksums +/* ED09C4 802409D4 24140001 */ addiu $s4, $zero, 1 +/* ED09C8 802409D8 E600000C */ swc1 $f0, 0xc($s0) +.L802409DC: +/* ED09CC 802409DC 8E2200D0 */ lw $v0, 0xd0($s1) +/* ED09D0 802409E0 8C43000C */ lw $v1, 0xc($v0) +/* ED09D4 802409E4 8C420010 */ lw $v0, 0x10($v0) +/* ED09D8 802409E8 00621825 */ or $v1, $v1, $v0 +/* ED09DC 802409EC 00741825 */ or $v1, $v1, $s4 +/* ED09E0 802409F0 10600008 */ beqz $v1, .L80240A14 +/* ED09E4 802409F4 00000000 */ nop +/* ED09E8 802409F8 8602008C */ lh $v0, 0x8c($s0) +/* ED09EC 802409FC 14400031 */ bnez $v0, .L80240AC4 +/* ED09F0 80240A00 00000000 */ nop +/* ED09F4 80240A04 8E050018 */ lw $a1, 0x18($s0) +/* ED09F8 80240A08 8E06000C */ lw $a2, 0xc($s0) +/* ED09FC 80240A0C 0C00F909 */ jal func_8003E424 +/* ED0A00 80240A10 0200202D */ daddu $a0, $s0, $zero +.L80240A14: +/* ED0A04 80240A14 C600003C */ lwc1 $f0, 0x3c($s0) +/* ED0A08 80240A18 3C014059 */ lui $at, 0x4059 +/* ED0A0C 80240A1C 44811800 */ mtc1 $at, $f3 +/* ED0A10 80240A20 44801000 */ mtc1 $zero, $f2 +/* ED0A14 80240A24 46000021 */ cvt.d.s $f0, $f0 +/* ED0A18 80240A28 46220002 */ mul.d $f0, $f0, $f2 +/* ED0A1C 80240A2C 00000000 */ nop +/* ED0A20 80240A30 4620020D */ trunc.w.d $f8, $f0 +/* ED0A24 80240A34 E628007C */ swc1 $f8, 0x7c($s1) +/* ED0A28 80240A38 8E420004 */ lw $v0, 4($s2) +/* ED0A2C 80240A3C 18400021 */ blez $v0, .L80240AC4 +/* ED0A30 80240A40 00000000 */ nop +/* ED0A34 80240A44 8602008E */ lh $v0, 0x8e($s0) +/* ED0A38 80240A48 9603008E */ lhu $v1, 0x8e($s0) +/* ED0A3C 80240A4C 18400005 */ blez $v0, .L80240A64 +/* ED0A40 80240A50 2462FFFF */ addiu $v0, $v1, -1 +/* ED0A44 80240A54 A602008E */ sh $v0, 0x8e($s0) +/* ED0A48 80240A58 00021400 */ sll $v0, $v0, 0x10 +/* ED0A4C 80240A5C 1C400019 */ bgtz $v0, .L80240AC4 +/* ED0A50 80240A60 00000000 */ nop +.L80240A64: +/* ED0A54 80240A64 240403E8 */ addiu $a0, $zero, 0x3e8 +/* ED0A58 80240A68 24020002 */ addiu $v0, $zero, 2 +/* ED0A5C 80240A6C 0C00AB3B */ jal func_8002ACEC +/* ED0A60 80240A70 AE620070 */ sw $v0, 0x70($s3) +/* ED0A64 80240A74 3C035555 */ lui $v1, 0x5555 +/* ED0A68 80240A78 34635556 */ ori $v1, $v1, 0x5556 +/* ED0A6C 80240A7C 00430018 */ mult $v0, $v1 +/* ED0A70 80240A80 000227C3 */ sra $a0, $v0, 0x1f +/* ED0A74 80240A84 00004010 */ mfhi $t0 +/* ED0A78 80240A88 01042023 */ subu $a0, $t0, $a0 +/* ED0A7C 80240A8C 00041840 */ sll $v1, $a0, 1 +/* ED0A80 80240A90 00641821 */ addu $v1, $v1, $a0 +/* ED0A84 80240A94 00431023 */ subu $v0, $v0, $v1 +/* ED0A88 80240A98 24430002 */ addiu $v1, $v0, 2 +/* ED0A8C 80240A9C AE630074 */ sw $v1, 0x74($s3) +/* ED0A90 80240AA0 8E42002C */ lw $v0, 0x2c($s2) +/* ED0A94 80240AA4 58400007 */ blezl $v0, .L80240AC4 +/* ED0A98 80240AA8 AE600070 */ sw $zero, 0x70($s3) +/* ED0A9C 80240AAC 8E420008 */ lw $v0, 8($s2) +/* ED0AA0 80240AB0 18400003 */ blez $v0, .L80240AC0 +/* ED0AA4 80240AB4 28620003 */ slti $v0, $v1, 3 +/* ED0AA8 80240AB8 10400002 */ beqz $v0, .L80240AC4 +/* ED0AAC 80240ABC 00000000 */ nop +.L80240AC0: +/* ED0AB0 80240AC0 AE600070 */ sw $zero, 0x70($s3) +.L80240AC4: +/* ED0AB4 80240AC4 8FBF0058 */ lw $ra, 0x58($sp) +/* ED0AB8 80240AC8 8FB50054 */ lw $s5, 0x54($sp) +/* ED0ABC 80240ACC 8FB40050 */ lw $s4, 0x50($sp) +/* ED0AC0 80240AD0 8FB3004C */ lw $s3, 0x4c($sp) +/* ED0AC4 80240AD4 8FB20048 */ lw $s2, 0x48($sp) +/* ED0AC8 80240AD8 8FB10044 */ lw $s1, 0x44($sp) +/* ED0ACC 80240ADC 8FB00040 */ lw $s0, 0x40($sp) +/* ED0AD0 80240AE0 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* ED0AD4 80240AE4 D7B80070 */ ldc1 $f24, 0x70($sp) +/* ED0AD8 80240AE8 D7B60068 */ ldc1 $f22, 0x68($sp) +/* ED0ADC 80240AEC D7B40060 */ ldc1 $f20, 0x60($sp) +/* ED0AE0 80240AF0 03E00008 */ jr $ra +/* ED0AE4 80240AF4 27BD0080 */ addiu $sp, $sp, 0x80 diff --git a/asm/nonmatchings/code_ED0310/func_80240AF8_ED0AE8.s b/asm/nonmatchings/code_ED0310/func_80240AF8_ED0AE8.s new file mode 100644 index 0000000000..d3f1d7e153 --- /dev/null +++ b/asm/nonmatchings/code_ED0310/func_80240AF8_ED0AE8.s @@ -0,0 +1,52 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240AF8_ED0AE8 +/* ED0AE8 80240AF8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* ED0AEC 80240AFC AFB3001C */ sw $s3, 0x1c($sp) +/* ED0AF0 80240B00 0080982D */ daddu $s3, $a0, $zero +/* ED0AF4 80240B04 AFBF0020 */ sw $ra, 0x20($sp) +/* ED0AF8 80240B08 AFB20018 */ sw $s2, 0x18($sp) +/* ED0AFC 80240B0C AFB10014 */ sw $s1, 0x14($sp) +/* ED0B00 80240B10 AFB00010 */ sw $s0, 0x10($sp) +/* ED0B04 80240B14 8E720148 */ lw $s2, 0x148($s3) +/* ED0B08 80240B18 86440008 */ lh $a0, 8($s2) +/* ED0B0C 80240B1C 0C00F92F */ jal func_8003E4BC +/* ED0B10 80240B20 00A0882D */ daddu $s1, $a1, $zero +/* ED0B14 80240B24 8E240008 */ lw $a0, 8($s1) +/* ED0B18 80240B28 0040802D */ daddu $s0, $v0, $zero +/* ED0B1C 80240B2C 00041FC2 */ srl $v1, $a0, 0x1f +/* ED0B20 80240B30 00832021 */ addu $a0, $a0, $v1 +/* ED0B24 80240B34 00042043 */ sra $a0, $a0, 1 +/* ED0B28 80240B38 0C00AB3B */ jal func_8002ACEC +/* ED0B2C 80240B3C 24840001 */ addiu $a0, $a0, 1 +/* ED0B30 80240B40 8E230008 */ lw $v1, 8($s1) +/* ED0B34 80240B44 240400B4 */ addiu $a0, $zero, 0xb4 +/* ED0B38 80240B48 00032FC2 */ srl $a1, $v1, 0x1f +/* ED0B3C 80240B4C 00651821 */ addu $v1, $v1, $a1 +/* ED0B40 80240B50 00031843 */ sra $v1, $v1, 1 +/* ED0B44 80240B54 00621821 */ addu $v1, $v1, $v0 +/* ED0B48 80240B58 0C00AB3B */ jal func_8002ACEC +/* ED0B4C 80240B5C A603008E */ sh $v1, 0x8e($s0) +/* ED0B50 80240B60 C60C000C */ lwc1 $f12, 0xc($s0) +/* ED0B54 80240B64 44820000 */ mtc1 $v0, $f0 +/* ED0B58 80240B68 00000000 */ nop +/* ED0B5C 80240B6C 46800020 */ cvt.s.w $f0, $f0 +/* ED0B60 80240B70 46006300 */ add.s $f12, $f12, $f0 +/* ED0B64 80240B74 3C0142B4 */ lui $at, 0x42b4 +/* ED0B68 80240B78 44810000 */ mtc1 $at, $f0 +/* ED0B6C 80240B7C 0C00AB85 */ jal func_8002AE14 +/* ED0B70 80240B80 46006301 */ sub.s $f12, $f12, $f0 +/* ED0B74 80240B84 E600000C */ swc1 $f0, 0xc($s0) +/* ED0B78 80240B88 8E4200CC */ lw $v0, 0xcc($s2) +/* ED0B7C 80240B8C 8C420000 */ lw $v0, ($v0) +/* ED0B80 80240B90 AE020028 */ sw $v0, 0x28($s0) +/* ED0B84 80240B94 24020003 */ addiu $v0, $zero, 3 +/* ED0B88 80240B98 AE620070 */ sw $v0, 0x70($s3) +/* ED0B8C 80240B9C 8FBF0020 */ lw $ra, 0x20($sp) +/* ED0B90 80240BA0 8FB3001C */ lw $s3, 0x1c($sp) +/* ED0B94 80240BA4 8FB20018 */ lw $s2, 0x18($sp) +/* ED0B98 80240BA8 8FB10014 */ lw $s1, 0x14($sp) +/* ED0B9C 80240BAC 8FB00010 */ lw $s0, 0x10($sp) +/* ED0BA0 80240BB0 03E00008 */ jr $ra +/* ED0BA4 80240BB4 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_ED0310/func_80240BB8_ED0BA8.s b/asm/nonmatchings/code_ED0310/func_80240BB8_ED0BA8.s new file mode 100644 index 0000000000..cba11646f2 --- /dev/null +++ b/asm/nonmatchings/code_ED0310/func_80240BB8_ED0BA8.s @@ -0,0 +1,225 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240BB8_ED0BA8 +/* ED0BA8 80240BB8 27BDFF88 */ addiu $sp, $sp, -0x78 +/* ED0BAC 80240BBC AFB3004C */ sw $s3, 0x4c($sp) +/* ED0BB0 80240BC0 0080982D */ daddu $s3, $a0, $zero +/* ED0BB4 80240BC4 AFBF0054 */ sw $ra, 0x54($sp) +/* ED0BB8 80240BC8 AFB40050 */ sw $s4, 0x50($sp) +/* ED0BBC 80240BCC AFB20048 */ sw $s2, 0x48($sp) +/* ED0BC0 80240BD0 AFB10044 */ sw $s1, 0x44($sp) +/* ED0BC4 80240BD4 AFB00040 */ sw $s0, 0x40($sp) +/* ED0BC8 80240BD8 F7BA0070 */ sdc1 $f26, 0x70($sp) +/* ED0BCC 80240BDC F7B80068 */ sdc1 $f24, 0x68($sp) +/* ED0BD0 80240BE0 F7B60060 */ sdc1 $f22, 0x60($sp) +/* ED0BD4 80240BE4 F7B40058 */ sdc1 $f20, 0x58($sp) +/* ED0BD8 80240BE8 8E710148 */ lw $s1, 0x148($s3) +/* ED0BDC 80240BEC 00A0902D */ daddu $s2, $a1, $zero +/* ED0BE0 80240BF0 86240008 */ lh $a0, 8($s1) +/* ED0BE4 80240BF4 0C00F92F */ jal func_8003E4BC +/* ED0BE8 80240BF8 00C0A02D */ daddu $s4, $a2, $zero +/* ED0BEC 80240BFC 0040802D */ daddu $s0, $v0, $zero +/* ED0BF0 80240C00 C6200078 */ lwc1 $f0, 0x78($s1) +/* ED0BF4 80240C04 46800020 */ cvt.s.w $f0, $f0 +/* ED0BF8 80240C08 46000021 */ cvt.d.s $f0, $f0 +/* ED0BFC 80240C0C 3C014059 */ lui $at, 0x4059 +/* ED0C00 80240C10 44811800 */ mtc1 $at, $f3 +/* ED0C04 80240C14 44801000 */ mtc1 $zero, $f2 +/* ED0C08 80240C18 8602008E */ lh $v0, 0x8e($s0) +/* ED0C0C 80240C1C 9603008E */ lhu $v1, 0x8e($s0) +/* ED0C10 80240C20 46220003 */ div.d $f0, $f0, $f2 +/* ED0C14 80240C24 46200620 */ cvt.s.d $f24, $f0 +/* ED0C18 80240C28 C6200088 */ lwc1 $f0, 0x88($s1) +/* ED0C1C 80240C2C 46800020 */ cvt.s.w $f0, $f0 +/* ED0C20 80240C30 46000021 */ cvt.d.s $f0, $f0 +/* ED0C24 80240C34 46220003 */ div.d $f0, $f0, $f2 +/* ED0C28 80240C38 46200020 */ cvt.s.d $f0, $f0 +/* ED0C2C 80240C3C 18400003 */ blez $v0, .L80240C4C +/* ED0C30 80240C40 4600C680 */ add.s $f26, $f24, $f0 +/* ED0C34 80240C44 2462FFFF */ addiu $v0, $v1, -1 +/* ED0C38 80240C48 A602008E */ sh $v0, 0x8e($s0) +.L80240C4C: +/* ED0C3C 80240C4C 8E220070 */ lw $v0, 0x70($s1) +/* ED0C40 80240C50 18400034 */ blez $v0, .L80240D24 +/* ED0C44 80240C54 00000000 */ nop +/* ED0C48 80240C58 C62C0074 */ lwc1 $f12, 0x74($s1) +/* ED0C4C 80240C5C 46806320 */ cvt.s.w $f12, $f12 +/* ED0C50 80240C60 44820000 */ mtc1 $v0, $f0 +/* ED0C54 80240C64 00000000 */ nop +/* ED0C58 80240C68 46800020 */ cvt.s.w $f0, $f0 +/* ED0C5C 80240C6C 46000021 */ cvt.d.s $f0, $f0 +/* ED0C60 80240C70 46220003 */ div.d $f0, $f0, $f2 +/* ED0C64 80240C74 0C00AD77 */ jal func_8002B5DC +/* ED0C68 80240C78 462005A0 */ cvt.s.d $f22, $f0 +/* ED0C6C 80240C7C 8E020000 */ lw $v0, ($s0) +/* ED0C70 80240C80 30420008 */ andi $v0, $v0, 8 +/* ED0C74 80240C84 10400003 */ beqz $v0, .L80240C94 +/* ED0C78 80240C88 46000506 */ mov.s $f20, $f0 +/* ED0C7C 80240C8C 08090335 */ j .L80240CD4 +/* ED0C80 80240C90 0000102D */ daddu $v0, $zero, $zero +.L80240C94: +/* ED0C84 80240C94 27A50028 */ addiu $a1, $sp, 0x28 +/* ED0C88 80240C98 27A6002C */ addiu $a2, $sp, 0x2c +/* ED0C8C 80240C9C C6000038 */ lwc1 $f0, 0x38($s0) +/* ED0C90 80240CA0 C602003C */ lwc1 $f2, 0x3c($s0) +/* ED0C94 80240CA4 C6040040 */ lwc1 $f4, 0x40($s0) +/* ED0C98 80240CA8 3C01447A */ lui $at, 0x447a +/* ED0C9C 80240CAC 44813000 */ mtc1 $at, $f6 +/* ED0CA0 80240CB0 27A20034 */ addiu $v0, $sp, 0x34 +/* ED0CA4 80240CB4 E7A00028 */ swc1 $f0, 0x28($sp) +/* ED0CA8 80240CB8 E7A2002C */ swc1 $f2, 0x2c($sp) +/* ED0CAC 80240CBC E7A40030 */ swc1 $f4, 0x30($sp) +/* ED0CB0 80240CC0 E7A60034 */ swc1 $f6, 0x34($sp) +/* ED0CB4 80240CC4 AFA20010 */ sw $v0, 0x10($sp) +/* ED0CB8 80240CC8 8E040080 */ lw $a0, 0x80($s0) +/* ED0CBC 80240CCC 0C03908F */ jal func_800E423C +/* ED0CC0 80240CD0 27A70030 */ addiu $a3, $sp, 0x30 +.L80240CD4: +/* ED0CC4 80240CD4 10400007 */ beqz $v0, .L80240CF4 +/* ED0CC8 80240CD8 00000000 */ nop +/* ED0CCC 80240CDC 4616A082 */ mul.s $f2, $f20, $f22 +/* ED0CD0 80240CE0 00000000 */ nop +/* ED0CD4 80240CE4 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* ED0CD8 80240CE8 46180000 */ add.s $f0, $f0, $f24 +/* ED0CDC 80240CEC 08090340 */ j .L80240D00 +/* ED0CE0 80240CF0 46020000 */ add.s $f0, $f0, $f2 +.L80240CF4: +/* ED0CE4 80240CF4 4616A002 */ mul.s $f0, $f20, $f22 +/* ED0CE8 80240CF8 00000000 */ nop +/* ED0CEC 80240CFC 4600D000 */ add.s $f0, $f26, $f0 +.L80240D00: +/* ED0CF0 80240D00 E600003C */ swc1 $f0, 0x3c($s0) +/* ED0CF4 80240D04 8E220074 */ lw $v0, 0x74($s1) +/* ED0CF8 80240D08 2442000A */ addiu $v0, $v0, 0xa +/* ED0CFC 80240D0C 44826000 */ mtc1 $v0, $f12 +/* ED0D00 80240D10 00000000 */ nop +/* ED0D04 80240D14 0C00AB85 */ jal func_8002AE14 +/* ED0D08 80240D18 46806320 */ cvt.s.w $f12, $f12 +/* ED0D0C 80240D1C 4600020D */ trunc.w.s $f8, $f0 +/* ED0D10 80240D20 E6280074 */ swc1 $f8, 0x74($s1) +.L80240D24: +/* ED0D14 80240D24 8E220090 */ lw $v0, 0x90($s1) +/* ED0D18 80240D28 1C400040 */ bgtz $v0, .L80240E2C +/* ED0D1C 80240D2C 2442FFFF */ addiu $v0, $v0, -1 +/* ED0D20 80240D30 860200A8 */ lh $v0, 0xa8($s0) +/* ED0D24 80240D34 C600003C */ lwc1 $f0, 0x3c($s0) +/* ED0D28 80240D38 44821000 */ mtc1 $v0, $f2 +/* ED0D2C 80240D3C 00000000 */ nop +/* ED0D30 80240D40 468010A0 */ cvt.s.w $f2, $f2 +/* ED0D34 80240D44 3C028010 */ lui $v0, %hi(D_800FFC90) +/* ED0D38 80240D48 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* ED0D3C 80240D4C 46020000 */ add.s $f0, $f0, $f2 +/* ED0D40 80240D50 3C014024 */ lui $at, 0x4024 +/* ED0D44 80240D54 44812800 */ mtc1 $at, $f5 +/* ED0D48 80240D58 44802000 */ mtc1 $zero, $f4 +/* ED0D4C 80240D5C C442002C */ lwc1 $f2, 0x2c($v0) +/* ED0D50 80240D60 46000021 */ cvt.d.s $f0, $f0 +/* ED0D54 80240D64 46240000 */ add.d $f0, $f0, $f4 +/* ED0D58 80240D68 460010A1 */ cvt.d.s $f2, $f2 +/* ED0D5C 80240D6C 4620103C */ c.lt.d $f2, $f0 +/* ED0D60 80240D70 00000000 */ nop +/* ED0D64 80240D74 4500002E */ bc1f .L80240E30 +/* ED0D68 80240D78 0280202D */ daddu $a0, $s4, $zero +/* ED0D6C 80240D7C 24020001 */ addiu $v0, $zero, 1 +/* ED0D70 80240D80 AFA20010 */ sw $v0, 0x10($sp) +/* ED0D74 80240D84 8E460024 */ lw $a2, 0x24($s2) +/* ED0D78 80240D88 8E470028 */ lw $a3, 0x28($s2) +/* ED0D7C 80240D8C 0C013469 */ jal func_8004D1A4 +/* ED0D80 80240D90 0220282D */ daddu $a1, $s1, $zero +/* ED0D84 80240D94 10400026 */ beqz $v0, .L80240E30 +/* ED0D88 80240D98 0000202D */ daddu $a0, $zero, $zero +/* ED0D8C 80240D9C 0200282D */ daddu $a1, $s0, $zero +/* ED0D90 80240DA0 0000302D */ daddu $a2, $zero, $zero +/* ED0D94 80240DA4 2412000C */ addiu $s2, $zero, 0xc +/* ED0D98 80240DA8 860300A8 */ lh $v1, 0xa8($s0) +/* ED0D9C 80240DAC 3C013F80 */ lui $at, 0x3f80 +/* ED0DA0 80240DB0 44810000 */ mtc1 $at, $f0 +/* ED0DA4 80240DB4 3C014000 */ lui $at, 0x4000 +/* ED0DA8 80240DB8 44811000 */ mtc1 $at, $f2 +/* ED0DAC 80240DBC 3C01C1A0 */ lui $at, 0xc1a0 +/* ED0DB0 80240DC0 44812000 */ mtc1 $at, $f4 +/* ED0DB4 80240DC4 44834000 */ mtc1 $v1, $f8 +/* ED0DB8 80240DC8 00000000 */ nop +/* ED0DBC 80240DCC 46804220 */ cvt.s.w $f8, $f8 +/* ED0DC0 80240DD0 44074000 */ mfc1 $a3, $f8 +/* ED0DC4 80240DD4 27A20038 */ addiu $v0, $sp, 0x38 +/* ED0DC8 80240DD8 AFB2001C */ sw $s2, 0x1c($sp) +/* ED0DCC 80240DDC AFA20020 */ sw $v0, 0x20($sp) +/* ED0DD0 80240DE0 E7A00010 */ swc1 $f0, 0x10($sp) +/* ED0DD4 80240DE4 E7A20014 */ swc1 $f2, 0x14($sp) +/* ED0DD8 80240DE8 0C01D444 */ jal func_80075110 +/* ED0DDC 80240DEC E7A40018 */ swc1 $f4, 0x18($sp) +/* ED0DE0 80240DF0 0200202D */ daddu $a0, $s0, $zero +/* ED0DE4 80240DF4 240502F4 */ addiu $a1, $zero, 0x2f4 +/* ED0DE8 80240DF8 C480003C */ lwc1 $f0, 0x3c($a0) +/* ED0DEC 80240DFC 3C060020 */ lui $a2, 0x20 +/* ED0DF0 80240E00 0C013600 */ jal func_8004D800 +/* ED0DF4 80240E04 E4800064 */ swc1 $f0, 0x64($a0) +/* ED0DF8 80240E08 8E220018 */ lw $v0, 0x18($s1) +/* ED0DFC 80240E0C 9442002A */ lhu $v0, 0x2a($v0) +/* ED0E00 80240E10 30420001 */ andi $v0, $v0, 1 +/* ED0E04 80240E14 10400003 */ beqz $v0, .L80240E24 +/* ED0E08 80240E18 2402000A */ addiu $v0, $zero, 0xa +/* ED0E0C 80240E1C 080903B3 */ j .L80240ECC +/* ED0E10 80240E20 AE620070 */ sw $v0, 0x70($s3) +.L80240E24: +/* ED0E14 80240E24 080903B3 */ j .L80240ECC +/* ED0E18 80240E28 AE720070 */ sw $s2, 0x70($s3) +.L80240E2C: +/* ED0E1C 80240E2C AE220090 */ sw $v0, 0x90($s1) +.L80240E30: +/* ED0E20 80240E30 8602008C */ lh $v0, 0x8c($s0) +/* ED0E24 80240E34 14400025 */ bnez $v0, .L80240ECC +/* ED0E28 80240E38 00000000 */ nop +/* ED0E2C 80240E3C 8602008E */ lh $v0, 0x8e($s0) +/* ED0E30 80240E40 1C400022 */ bgtz $v0, .L80240ECC +/* ED0E34 80240E44 00000000 */ nop +/* ED0E38 80240E48 8E620074 */ lw $v0, 0x74($s3) +/* ED0E3C 80240E4C 2442FFFF */ addiu $v0, $v0, -1 +/* ED0E40 80240E50 1840001D */ blez $v0, .L80240EC8 +/* ED0E44 80240E54 AE620074 */ sw $v0, 0x74($s3) +/* ED0E48 80240E58 8E220018 */ lw $v0, 0x18($s1) +/* ED0E4C 80240E5C 9442002A */ lhu $v0, 0x2a($v0) +/* ED0E50 80240E60 30420010 */ andi $v0, $v0, 0x10 +/* ED0E54 80240E64 14400007 */ bnez $v0, .L80240E84 +/* ED0E58 80240E68 00000000 */ nop +/* ED0E5C 80240E6C C600000C */ lwc1 $f0, 0xc($s0) +/* ED0E60 80240E70 3C014334 */ lui $at, 0x4334 +/* ED0E64 80240E74 44816000 */ mtc1 $at, $f12 +/* ED0E68 80240E78 0C00AB85 */ jal func_8002AE14 +/* ED0E6C 80240E7C 460C0300 */ add.s $f12, $f0, $f12 +/* ED0E70 80240E80 E600000C */ swc1 $f0, 0xc($s0) +.L80240E84: +/* ED0E74 80240E84 0C00AB3B */ jal func_8002ACEC +/* ED0E78 80240E88 240403E8 */ addiu $a0, $zero, 0x3e8 +/* ED0E7C 80240E8C 3C032E8B */ lui $v1, 0x2e8b +/* ED0E80 80240E90 3463A2E9 */ ori $v1, $v1, 0xa2e9 +/* ED0E84 80240E94 00430018 */ mult $v0, $v1 +/* ED0E88 80240E98 00021FC3 */ sra $v1, $v0, 0x1f +/* ED0E8C 80240E9C 00004010 */ mfhi $t0 +/* ED0E90 80240EA0 00082043 */ sra $a0, $t0, 1 +/* ED0E94 80240EA4 00832023 */ subu $a0, $a0, $v1 +/* ED0E98 80240EA8 00041840 */ sll $v1, $a0, 1 +/* ED0E9C 80240EAC 00641821 */ addu $v1, $v1, $a0 +/* ED0EA0 80240EB0 00031880 */ sll $v1, $v1, 2 +/* ED0EA4 80240EB4 00641823 */ subu $v1, $v1, $a0 +/* ED0EA8 80240EB8 00431023 */ subu $v0, $v0, $v1 +/* ED0EAC 80240EBC 24420005 */ addiu $v0, $v0, 5 +/* ED0EB0 80240EC0 080903B3 */ j .L80240ECC +/* ED0EB4 80240EC4 A602008E */ sh $v0, 0x8e($s0) +.L80240EC8: +/* ED0EB8 80240EC8 AE600070 */ sw $zero, 0x70($s3) +.L80240ECC: +/* ED0EBC 80240ECC 8FBF0054 */ lw $ra, 0x54($sp) +/* ED0EC0 80240ED0 8FB40050 */ lw $s4, 0x50($sp) +/* ED0EC4 80240ED4 8FB3004C */ lw $s3, 0x4c($sp) +/* ED0EC8 80240ED8 8FB20048 */ lw $s2, 0x48($sp) +/* ED0ECC 80240EDC 8FB10044 */ lw $s1, 0x44($sp) +/* ED0ED0 80240EE0 8FB00040 */ lw $s0, 0x40($sp) +/* ED0ED4 80240EE4 D7BA0070 */ ldc1 $f26, 0x70($sp) +/* ED0ED8 80240EE8 D7B80068 */ ldc1 $f24, 0x68($sp) +/* ED0EDC 80240EEC D7B60060 */ ldc1 $f22, 0x60($sp) +/* ED0EE0 80240EF0 D7B40058 */ ldc1 $f20, 0x58($sp) +/* ED0EE4 80240EF4 03E00008 */ jr $ra +/* ED0EE8 80240EF8 27BD0078 */ addiu $sp, $sp, 0x78 diff --git a/asm/nonmatchings/code_ED0310/func_80240EFC_ED0EEC.s b/asm/nonmatchings/code_ED0310/func_80240EFC_ED0EEC.s new file mode 100644 index 0000000000..346f28d378 --- /dev/null +++ b/asm/nonmatchings/code_ED0310/func_80240EFC_ED0EEC.s @@ -0,0 +1,34 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240EFC_ED0EEC +/* ED0EEC 80240EFC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ED0EF0 80240F00 AFB20018 */ sw $s2, 0x18($sp) +/* ED0EF4 80240F04 0080902D */ daddu $s2, $a0, $zero +/* ED0EF8 80240F08 AFBF001C */ sw $ra, 0x1c($sp) +/* ED0EFC 80240F0C AFB10014 */ sw $s1, 0x14($sp) +/* ED0F00 80240F10 AFB00010 */ sw $s0, 0x10($sp) +/* ED0F04 80240F14 8E510148 */ lw $s1, 0x148($s2) +/* ED0F08 80240F18 0C00F92F */ jal func_8003E4BC +/* ED0F0C 80240F1C 86240008 */ lh $a0, 8($s1) +/* ED0F10 80240F20 0040802D */ daddu $s0, $v0, $zero +/* ED0F14 80240F24 3C028010 */ lui $v0, %hi(D_800FFC90) +/* ED0F18 80240F28 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* ED0F1C 80240F2C C60C0038 */ lwc1 $f12, 0x38($s0) +/* ED0F20 80240F30 C60E0040 */ lwc1 $f14, 0x40($s0) +/* ED0F24 80240F34 A600008E */ sh $zero, 0x8e($s0) +/* ED0F28 80240F38 8C460028 */ lw $a2, 0x28($v0) +/* ED0F2C 80240F3C 0C00ABDC */ jal fio_validate_header_checksums +/* ED0F30 80240F40 8C470030 */ lw $a3, 0x30($v0) +/* ED0F34 80240F44 E600000C */ swc1 $f0, 0xc($s0) +/* ED0F38 80240F48 8E2200CC */ lw $v0, 0xcc($s1) +/* ED0F3C 80240F4C 8C420020 */ lw $v0, 0x20($v0) +/* ED0F40 80240F50 AE020028 */ sw $v0, 0x28($s0) +/* ED0F44 80240F54 2402000B */ addiu $v0, $zero, 0xb +/* ED0F48 80240F58 AE420070 */ sw $v0, 0x70($s2) +/* ED0F4C 80240F5C 8FBF001C */ lw $ra, 0x1c($sp) +/* ED0F50 80240F60 8FB20018 */ lw $s2, 0x18($sp) +/* ED0F54 80240F64 8FB10014 */ lw $s1, 0x14($sp) +/* ED0F58 80240F68 8FB00010 */ lw $s0, 0x10($sp) +/* ED0F5C 80240F6C 03E00008 */ jr $ra +/* ED0F60 80240F70 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_ED0310/func_80240F74_ED0F64.s b/asm/nonmatchings/code_ED0310/func_80240F74_ED0F64.s new file mode 100644 index 0000000000..1d131c3ee8 --- /dev/null +++ b/asm/nonmatchings/code_ED0310/func_80240F74_ED0F64.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240F74_ED0F64 +/* ED0F64 80240F74 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ED0F68 80240F78 AFB00010 */ sw $s0, 0x10($sp) +/* ED0F6C 80240F7C 0080802D */ daddu $s0, $a0, $zero +/* ED0F70 80240F80 AFBF0014 */ sw $ra, 0x14($sp) +/* ED0F74 80240F84 8E020148 */ lw $v0, 0x148($s0) +/* ED0F78 80240F88 0C00F92F */ jal func_8003E4BC +/* ED0F7C 80240F8C 84440008 */ lh $a0, 8($v0) +/* ED0F80 80240F90 9443008E */ lhu $v1, 0x8e($v0) +/* ED0F84 80240F94 C440003C */ lwc1 $f0, 0x3c($v0) +/* ED0F88 80240F98 24640001 */ addiu $a0, $v1, 1 +/* ED0F8C 80240F9C 00031C00 */ sll $v1, $v1, 0x10 +/* ED0F90 80240FA0 00031B83 */ sra $v1, $v1, 0xe +/* ED0F94 80240FA4 A444008E */ sh $a0, 0x8e($v0) +/* ED0F98 80240FA8 3C018024 */ lui $at, %hi(D_8024365C) +/* ED0F9C 80240FAC 00230821 */ addu $at, $at, $v1 +/* ED0FA0 80240FB0 C422365C */ lwc1 $f2, %lo(D_8024365C)($at) +/* ED0FA4 80240FB4 8443008E */ lh $v1, 0x8e($v0) +/* ED0FA8 80240FB8 46020000 */ add.s $f0, $f0, $f2 +/* ED0FAC 80240FBC 28630005 */ slti $v1, $v1, 5 +/* ED0FB0 80240FC0 14600003 */ bnez $v1, .L80240FD0 +/* ED0FB4 80240FC4 E440003C */ swc1 $f0, 0x3c($v0) +/* ED0FB8 80240FC8 2402000C */ addiu $v0, $zero, 0xc +/* ED0FBC 80240FCC AE020070 */ sw $v0, 0x70($s0) +.L80240FD0: +/* ED0FC0 80240FD0 8FBF0014 */ lw $ra, 0x14($sp) +/* ED0FC4 80240FD4 8FB00010 */ lw $s0, 0x10($sp) +/* ED0FC8 80240FD8 03E00008 */ jr $ra +/* ED0FCC 80240FDC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_ED0310/func_80240FE0_ED0FD0.s b/asm/nonmatchings/code_ED0310/func_80240FE0_ED0FD0.s new file mode 100644 index 0000000000..f27f1fc605 --- /dev/null +++ b/asm/nonmatchings/code_ED0310/func_80240FE0_ED0FD0.s @@ -0,0 +1,83 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240FE0_ED0FD0 +/* ED0FD0 80240FE0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* ED0FD4 80240FE4 AFB3001C */ sw $s3, 0x1c($sp) +/* ED0FD8 80240FE8 0080982D */ daddu $s3, $a0, $zero +/* ED0FDC 80240FEC AFBF0020 */ sw $ra, 0x20($sp) +/* ED0FE0 80240FF0 AFB20018 */ sw $s2, 0x18($sp) +/* ED0FE4 80240FF4 AFB10014 */ sw $s1, 0x14($sp) +/* ED0FE8 80240FF8 AFB00010 */ sw $s0, 0x10($sp) +/* ED0FEC 80240FFC 8E720148 */ lw $s2, 0x148($s3) +/* ED0FF0 80241000 86440008 */ lh $a0, 8($s2) +/* ED0FF4 80241004 0C00F92F */ jal func_8003E4BC +/* ED0FF8 80241008 00A0802D */ daddu $s0, $a1, $zero +/* ED0FFC 8024100C 0040882D */ daddu $s1, $v0, $zero +/* ED1000 80241010 C6420080 */ lwc1 $f2, 0x80($s2) +/* ED1004 80241014 468010A0 */ cvt.s.w $f2, $f2 +/* ED1008 80241018 460010A1 */ cvt.d.s $f2, $f2 +/* ED100C 8024101C C6400084 */ lwc1 $f0, 0x84($s2) +/* ED1010 80241020 46800020 */ cvt.s.w $f0, $f0 +/* ED1014 80241024 46000021 */ cvt.d.s $f0, $f0 +/* ED1018 80241028 3C014059 */ lui $at, 0x4059 +/* ED101C 8024102C 44812800 */ mtc1 $at, $f5 +/* ED1020 80241030 44802000 */ mtc1 $zero, $f4 +/* ED1024 80241034 8E4200CC */ lw $v0, 0xcc($s2) +/* ED1028 80241038 C62C0038 */ lwc1 $f12, 0x38($s1) +/* ED102C 8024103C C62E0040 */ lwc1 $f14, 0x40($s1) +/* ED1030 80241040 46241083 */ div.d $f2, $f2, $f4 +/* ED1034 80241044 462010A0 */ cvt.s.d $f2, $f2 +/* ED1038 80241048 46240003 */ div.d $f0, $f0, $f4 +/* ED103C 8024104C 8C420020 */ lw $v0, 0x20($v0) +/* ED1040 80241050 46200020 */ cvt.s.d $f0, $f0 +/* ED1044 80241054 E622001C */ swc1 $f2, 0x1c($s1) +/* ED1048 80241058 E6200014 */ swc1 $f0, 0x14($s1) +/* ED104C 8024105C AE220028 */ sw $v0, 0x28($s1) +/* ED1050 80241060 C6000018 */ lwc1 $f0, 0x18($s0) +/* ED1054 80241064 3C028010 */ lui $v0, %hi(D_800FFC90) +/* ED1058 80241068 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* ED105C 8024106C E6200018 */ swc1 $f0, 0x18($s1) +/* ED1060 80241070 8C460028 */ lw $a2, 0x28($v0) +/* ED1064 80241074 0C00ABDC */ jal fio_validate_header_checksums +/* ED1068 80241078 8C470030 */ lw $a3, 0x30($v0) +/* ED106C 8024107C E620000C */ swc1 $f0, 0xc($s1) +/* ED1070 80241080 8E420018 */ lw $v0, 0x18($s2) +/* ED1074 80241084 AE400074 */ sw $zero, 0x74($s2) +/* ED1078 80241088 9442002A */ lhu $v0, 0x2a($v0) +/* ED107C 8024108C 30420002 */ andi $v0, $v0, 2 +/* ED1080 80241090 10400005 */ beqz $v0, .L802410A8 +/* ED1084 80241094 24020003 */ addiu $v0, $zero, 3 +/* ED1088 80241098 A622008E */ sh $v0, 0x8e($s1) +/* ED108C 8024109C 2402000D */ addiu $v0, $zero, 0xd +/* ED1090 802410A0 0809043E */ j .L802410F8 +/* ED1094 802410A4 AE620070 */ sw $v0, 0x70($s3) +.L802410A8: +/* ED1098 802410A8 24030001 */ addiu $v1, $zero, 1 +/* ED109C 802410AC 2402000E */ addiu $v0, $zero, 0xe +/* ED10A0 802410B0 A623008E */ sh $v1, 0x8e($s1) +/* ED10A4 802410B4 AE620070 */ sw $v0, 0x70($s3) +/* ED10A8 802410B8 C6200038 */ lwc1 $f0, 0x38($s1) +/* ED10AC 802410BC 4600018D */ trunc.w.s $f6, $f0 +/* ED10B0 802410C0 44023000 */ mfc1 $v0, $f6 +/* ED10B4 802410C4 00000000 */ nop +/* ED10B8 802410C8 A6420010 */ sh $v0, 0x10($s2) +/* ED10BC 802410CC C620003C */ lwc1 $f0, 0x3c($s1) +/* ED10C0 802410D0 4600018D */ trunc.w.s $f6, $f0 +/* ED10C4 802410D4 44023000 */ mfc1 $v0, $f6 +/* ED10C8 802410D8 00000000 */ nop +/* ED10CC 802410DC A6420012 */ sh $v0, 0x12($s2) +/* ED10D0 802410E0 C6200040 */ lwc1 $f0, 0x40($s1) +/* ED10D4 802410E4 A2430007 */ sb $v1, 7($s2) +/* ED10D8 802410E8 4600018D */ trunc.w.s $f6, $f0 +/* ED10DC 802410EC 44023000 */ mfc1 $v0, $f6 +/* ED10E0 802410F0 00000000 */ nop +/* ED10E4 802410F4 A6420014 */ sh $v0, 0x14($s2) +.L802410F8: +/* ED10E8 802410F8 8FBF0020 */ lw $ra, 0x20($sp) +/* ED10EC 802410FC 8FB3001C */ lw $s3, 0x1c($sp) +/* ED10F0 80241100 8FB20018 */ lw $s2, 0x18($sp) +/* ED10F4 80241104 8FB10014 */ lw $s1, 0x14($sp) +/* ED10F8 80241108 8FB00010 */ lw $s0, 0x10($sp) +/* ED10FC 8024110C 03E00008 */ jr $ra +/* ED1100 80241110 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_ED0310/func_80241114_ED1104.s b/asm/nonmatchings/code_ED0310/func_80241114_ED1104.s new file mode 100644 index 0000000000..208c73878d --- /dev/null +++ b/asm/nonmatchings/code_ED0310/func_80241114_ED1104.s @@ -0,0 +1,31 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241114_ED1104 +/* ED1104 80241114 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ED1108 80241118 AFB00010 */ sw $s0, 0x10($sp) +/* ED110C 8024111C 0080802D */ daddu $s0, $a0, $zero +/* ED1110 80241120 AFBF0014 */ sw $ra, 0x14($sp) +/* ED1114 80241124 8E020148 */ lw $v0, 0x148($s0) +/* ED1118 80241128 0C00F92F */ jal func_8003E4BC +/* ED111C 8024112C 84440008 */ lh $a0, 8($v0) +/* ED1120 80241130 0040202D */ daddu $a0, $v0, $zero +/* ED1124 80241134 8482008E */ lh $v0, 0x8e($a0) +/* ED1128 80241138 9483008E */ lhu $v1, 0x8e($a0) +/* ED112C 8024113C 18400005 */ blez $v0, .L80241154 +/* ED1130 80241140 2462FFFF */ addiu $v0, $v1, -1 +/* ED1134 80241144 A482008E */ sh $v0, 0x8e($a0) +/* ED1138 80241148 00021400 */ sll $v0, $v0, 0x10 +/* ED113C 8024114C 1C400006 */ bgtz $v0, .L80241168 +/* ED1140 80241150 00000000 */ nop +.L80241154: +/* ED1144 80241154 8482008C */ lh $v0, 0x8c($a0) +/* ED1148 80241158 14400003 */ bnez $v0, .L80241168 +/* ED114C 8024115C 2402000E */ addiu $v0, $zero, 0xe +/* ED1150 80241160 A480008E */ sh $zero, 0x8e($a0) +/* ED1154 80241164 AE020070 */ sw $v0, 0x70($s0) +.L80241168: +/* ED1158 80241168 8FBF0014 */ lw $ra, 0x14($sp) +/* ED115C 8024116C 8FB00010 */ lw $s0, 0x10($sp) +/* ED1160 80241170 03E00008 */ jr $ra +/* ED1164 80241174 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_ED0310/func_80241178_ED1168.s b/asm/nonmatchings/code_ED0310/func_80241178_ED1168.s new file mode 100644 index 0000000000..f13c4e20fe --- /dev/null +++ b/asm/nonmatchings/code_ED0310/func_80241178_ED1168.s @@ -0,0 +1,243 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241178_ED1168 +/* ED1168 80241178 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* ED116C 8024117C AFB20030 */ sw $s2, 0x30($sp) +/* ED1170 80241180 0080902D */ daddu $s2, $a0, $zero +/* ED1174 80241184 AFBF0038 */ sw $ra, 0x38($sp) +/* ED1178 80241188 AFB30034 */ sw $s3, 0x34($sp) +/* ED117C 8024118C AFB1002C */ sw $s1, 0x2c($sp) +/* ED1180 80241190 AFB00028 */ sw $s0, 0x28($sp) +/* ED1184 80241194 F7B60048 */ sdc1 $f22, 0x48($sp) +/* ED1188 80241198 F7B40040 */ sdc1 $f20, 0x40($sp) +/* ED118C 8024119C 8E510148 */ lw $s1, 0x148($s2) +/* ED1190 802411A0 86240008 */ lh $a0, 8($s1) +/* ED1194 802411A4 0C00F92F */ jal func_8003E4BC +/* ED1198 802411A8 00A0982D */ daddu $s3, $a1, $zero +/* ED119C 802411AC 0040802D */ daddu $s0, $v0, $zero +/* ED11A0 802411B0 0200202D */ daddu $a0, $s0, $zero +/* ED11A4 802411B4 C6220088 */ lwc1 $f2, 0x88($s1) +/* ED11A8 802411B8 468010A0 */ cvt.s.w $f2, $f2 +/* ED11AC 802411BC 460010A1 */ cvt.d.s $f2, $f2 +/* ED11B0 802411C0 C604001C */ lwc1 $f4, 0x1c($s0) +/* ED11B4 802411C4 C6000014 */ lwc1 $f0, 0x14($s0) +/* ED11B8 802411C8 8E050018 */ lw $a1, 0x18($s0) +/* ED11BC 802411CC 46002100 */ add.s $f4, $f4, $f0 +/* ED11C0 802411D0 8E06000C */ lw $a2, 0xc($s0) +/* ED11C4 802411D4 C6200078 */ lwc1 $f0, 0x78($s1) +/* ED11C8 802411D8 46800020 */ cvt.s.w $f0, $f0 +/* ED11CC 802411DC E604001C */ swc1 $f4, 0x1c($s0) +/* ED11D0 802411E0 3C014059 */ lui $at, 0x4059 +/* ED11D4 802411E4 44812800 */ mtc1 $at, $f5 +/* ED11D8 802411E8 44802000 */ mtc1 $zero, $f4 +/* ED11DC 802411EC 46000021 */ cvt.d.s $f0, $f0 +/* ED11E0 802411F0 46240003 */ div.d $f0, $f0, $f4 +/* ED11E4 802411F4 46200520 */ cvt.s.d $f20, $f0 +/* ED11E8 802411F8 46241083 */ div.d $f2, $f2, $f4 +/* ED11EC 802411FC 0C00F909 */ jal func_8003E424 +/* ED11F0 80241200 462015A0 */ cvt.s.d $f22, $f2 +/* ED11F4 80241204 C604001C */ lwc1 $f4, 0x1c($s0) +/* ED11F8 80241208 44801000 */ mtc1 $zero, $f2 +/* ED11FC 8024120C 44801800 */ mtc1 $zero, $f3 +/* ED1200 80241210 46002021 */ cvt.d.s $f0, $f4 +/* ED1204 80241214 4620103E */ c.le.d $f2, $f0 +/* ED1208 80241218 00000000 */ nop +/* ED120C 8024121C 45000030 */ bc1f .L802412E0 +/* ED1210 80241220 00000000 */ nop +/* ED1214 80241224 C600003C */ lwc1 $f0, 0x3c($s0) +/* ED1218 80241228 46040000 */ add.s $f0, $f0, $f4 +/* ED121C 8024122C E600003C */ swc1 $f0, 0x3c($s0) +/* ED1220 80241230 8E2200CC */ lw $v0, 0xcc($s1) +/* ED1224 80241234 8C420024 */ lw $v0, 0x24($v0) +/* ED1228 80241238 AE020028 */ sw $v0, 0x28($s0) +/* ED122C 8024123C A2200007 */ sb $zero, 7($s1) +/* ED1230 80241240 8E020000 */ lw $v0, ($s0) +/* ED1234 80241244 30420008 */ andi $v0, $v0, 8 +/* ED1238 80241248 14400011 */ bnez $v0, .L80241290 +/* ED123C 8024124C 0000102D */ daddu $v0, $zero, $zero +/* ED1240 80241250 27A50018 */ addiu $a1, $sp, 0x18 +/* ED1244 80241254 27A6001C */ addiu $a2, $sp, 0x1c +/* ED1248 80241258 C6000038 */ lwc1 $f0, 0x38($s0) +/* ED124C 8024125C C602003C */ lwc1 $f2, 0x3c($s0) +/* ED1250 80241260 C6040040 */ lwc1 $f4, 0x40($s0) +/* ED1254 80241264 3C01447A */ lui $at, 0x447a +/* ED1258 80241268 44813000 */ mtc1 $at, $f6 +/* ED125C 8024126C 27A20024 */ addiu $v0, $sp, 0x24 +/* ED1260 80241270 E7A00018 */ swc1 $f0, 0x18($sp) +/* ED1264 80241274 E7A2001C */ swc1 $f2, 0x1c($sp) +/* ED1268 80241278 E7A40020 */ swc1 $f4, 0x20($sp) +/* ED126C 8024127C E7A60024 */ swc1 $f6, 0x24($sp) +/* ED1270 80241280 AFA20010 */ sw $v0, 0x10($sp) +/* ED1274 80241284 8E040080 */ lw $a0, 0x80($s0) +/* ED1278 80241288 0C03908F */ jal func_800E423C +/* ED127C 8024128C 27A70020 */ addiu $a3, $sp, 0x20 +.L80241290: +/* ED1280 80241290 1040000B */ beqz $v0, .L802412C0 +/* ED1284 80241294 00000000 */ nop +/* ED1288 80241298 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* ED128C 8024129C 46140080 */ add.s $f2, $f0, $f20 +/* ED1290 802412A0 C600003C */ lwc1 $f0, 0x3c($s0) +/* ED1294 802412A4 4600103E */ c.le.s $f2, $f0 +/* ED1298 802412A8 00000000 */ nop +/* ED129C 802412AC 4500008D */ bc1f .L802414E4 +/* ED12A0 802412B0 00000000 */ nop +/* ED12A4 802412B4 E602003C */ swc1 $f2, 0x3c($s0) +/* ED12A8 802412B8 08090539 */ j .L802414E4 +/* ED12AC 802412BC AE400070 */ sw $zero, 0x70($s2) +.L802412C0: +/* ED12B0 802412C0 C602003C */ lwc1 $f2, 0x3c($s0) +/* ED12B4 802412C4 C6000064 */ lwc1 $f0, 0x64($s0) +/* ED12B8 802412C8 4602003E */ c.le.s $f0, $f2 +/* ED12BC 802412CC 00000000 */ nop +/* ED12C0 802412D0 45030084 */ bc1tl .L802414E4 +/* ED12C4 802412D4 AE400070 */ sw $zero, 0x70($s2) +/* ED12C8 802412D8 08090539 */ j .L802414E4 +/* ED12CC 802412DC 00000000 */ nop +.L802412E0: +/* ED12D0 802412E0 4622003C */ c.lt.d $f0, $f2 +/* ED12D4 802412E4 00000000 */ nop +/* ED12D8 802412E8 4500007E */ bc1f .L802414E4 +/* ED12DC 802412EC 00000000 */ nop +/* ED12E0 802412F0 9602008E */ lhu $v0, 0x8e($s0) +/* ED12E4 802412F4 24420001 */ addiu $v0, $v0, 1 +/* ED12E8 802412F8 A602008E */ sh $v0, 0x8e($s0) +/* ED12EC 802412FC 00021400 */ sll $v0, $v0, 0x10 +/* ED12F0 80241300 8E630020 */ lw $v1, 0x20($s3) +/* ED12F4 80241304 00021403 */ sra $v0, $v0, 0x10 +/* ED12F8 80241308 0043102A */ slt $v0, $v0, $v1 +/* ED12FC 8024130C 14400026 */ bnez $v0, .L802413A8 +/* ED1300 80241310 00000000 */ nop +/* ED1304 80241314 C60C0038 */ lwc1 $f12, 0x38($s0) +/* ED1308 80241318 C60E0040 */ lwc1 $f14, 0x40($s0) +/* ED130C 8024131C 3C028010 */ lui $v0, %hi(D_800FFC90) +/* ED1310 80241320 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* ED1314 80241324 A600008E */ sh $zero, 0x8e($s0) +/* ED1318 80241328 8C460028 */ lw $a2, 0x28($v0) +/* ED131C 8024132C 0C00ABDC */ jal fio_validate_header_checksums +/* ED1320 80241330 8C470030 */ lw $a3, 0x30($v0) +/* ED1324 80241334 46000506 */ mov.s $f20, $f0 +/* ED1328 80241338 C60C000C */ lwc1 $f12, 0xc($s0) +/* ED132C 8024133C 0C00ABC6 */ jal func_8002AF18 +/* ED1330 80241340 4600A386 */ mov.s $f14, $f20 +/* ED1334 80241344 46000086 */ mov.s $f2, $f0 +/* ED1338 80241348 8E62001C */ lw $v0, 0x1c($s3) +/* ED133C 8024134C 46001005 */ abs.s $f0, $f2 +/* ED1340 80241350 44822000 */ mtc1 $v0, $f4 +/* ED1344 80241354 00000000 */ nop +/* ED1348 80241358 46802120 */ cvt.s.w $f4, $f4 +/* ED134C 8024135C 4600203C */ c.lt.s $f4, $f0 +/* ED1350 80241360 00000000 */ nop +/* ED1354 80241364 4500000D */ bc1f .L8024139C +/* ED1358 80241368 00000000 */ nop +/* ED135C 8024136C 44800000 */ mtc1 $zero, $f0 +/* ED1360 80241370 C614000C */ lwc1 $f20, 0xc($s0) +/* ED1364 80241374 4600103C */ c.lt.s $f2, $f0 +/* ED1368 80241378 00000000 */ nop +/* ED136C 8024137C 45000006 */ bc1f .L80241398 +/* ED1370 80241380 00021023 */ negu $v0, $v0 +/* ED1374 80241384 44820000 */ mtc1 $v0, $f0 +/* ED1378 80241388 00000000 */ nop +/* ED137C 8024138C 46800020 */ cvt.s.w $f0, $f0 +/* ED1380 80241390 080904E7 */ j .L8024139C +/* ED1384 80241394 4600A500 */ add.s $f20, $f20, $f0 +.L80241398: +/* ED1388 80241398 4604A500 */ add.s $f20, $f20, $f4 +.L8024139C: +/* ED138C 8024139C 0C00AB85 */ jal func_8002AE14 +/* ED1390 802413A0 4600A306 */ mov.s $f12, $f20 +/* ED1394 802413A4 E600000C */ swc1 $f0, 0xc($s0) +.L802413A8: +/* ED1398 802413A8 8E020000 */ lw $v0, ($s0) +/* ED139C 802413AC 30420008 */ andi $v0, $v0, 8 +/* ED13A0 802413B0 1040000A */ beqz $v0, .L802413DC +/* ED13A4 802413B4 27A50018 */ addiu $a1, $sp, 0x18 +/* ED13A8 802413B8 C602003C */ lwc1 $f2, 0x3c($s0) +/* ED13AC 802413BC C600001C */ lwc1 $f0, 0x1c($s0) +/* ED13B0 802413C0 46001080 */ add.s $f2, $f2, $f0 +/* ED13B4 802413C4 4616103C */ c.lt.s $f2, $f22 +/* ED13B8 802413C8 00000000 */ nop +/* ED13BC 802413CC 45020045 */ bc1fl .L802414E4 +/* ED13C0 802413D0 E602003C */ swc1 $f2, 0x3c($s0) +/* ED13C4 802413D4 08090538 */ j .L802414E0 +/* ED13C8 802413D8 E616003C */ swc1 $f22, 0x3c($s0) +.L802413DC: +/* ED13CC 802413DC C6000038 */ lwc1 $f0, 0x38($s0) +/* ED13D0 802413E0 27A6001C */ addiu $a2, $sp, 0x1c +/* ED13D4 802413E4 E7A00018 */ swc1 $f0, 0x18($sp) +/* ED13D8 802413E8 860200A8 */ lh $v0, 0xa8($s0) +/* ED13DC 802413EC C600001C */ lwc1 $f0, 0x1c($s0) +/* ED13E0 802413F0 C604003C */ lwc1 $f4, 0x3c($s0) +/* ED13E4 802413F4 44821000 */ mtc1 $v0, $f2 +/* ED13E8 802413F8 00000000 */ nop +/* ED13EC 802413FC 468010A0 */ cvt.s.w $f2, $f2 +/* ED13F0 80241400 46000005 */ abs.s $f0, $f0 +/* ED13F4 80241404 46020000 */ add.s $f0, $f0, $f2 +/* ED13F8 80241408 C6060040 */ lwc1 $f6, 0x40($s0) +/* ED13FC 8024140C 27A20024 */ addiu $v0, $sp, 0x24 +/* ED1400 80241410 46022100 */ add.s $f4, $f4, $f2 +/* ED1404 80241414 3C014024 */ lui $at, 0x4024 +/* ED1408 80241418 44811800 */ mtc1 $at, $f3 +/* ED140C 8024141C 44801000 */ mtc1 $zero, $f2 +/* ED1410 80241420 46000021 */ cvt.d.s $f0, $f0 +/* ED1414 80241424 46220000 */ add.d $f0, $f0, $f2 +/* ED1418 80241428 E7A60020 */ swc1 $f6, 0x20($sp) +/* ED141C 8024142C E7A4001C */ swc1 $f4, 0x1c($sp) +/* ED1420 80241430 46200020 */ cvt.s.d $f0, $f0 +/* ED1424 80241434 E7A00024 */ swc1 $f0, 0x24($sp) +/* ED1428 80241438 AFA20010 */ sw $v0, 0x10($sp) +/* ED142C 8024143C 8E040080 */ lw $a0, 0x80($s0) +/* ED1430 80241440 0C03908F */ jal func_800E423C +/* ED1434 80241444 27A70020 */ addiu $a3, $sp, 0x20 +/* ED1438 80241448 10400015 */ beqz $v0, .L802414A0 +/* ED143C 8024144C 00000000 */ nop +/* ED1440 80241450 860200A8 */ lh $v0, 0xa8($s0) +/* ED1444 80241454 C604001C */ lwc1 $f4, 0x1c($s0) +/* ED1448 80241458 44820000 */ mtc1 $v0, $f0 +/* ED144C 8024145C 00000000 */ nop +/* ED1450 80241460 46800020 */ cvt.s.w $f0, $f0 +/* ED1454 80241464 46002085 */ abs.s $f2, $f4 +/* ED1458 80241468 46020000 */ add.s $f0, $f0, $f2 +/* ED145C 8024146C C7A20024 */ lwc1 $f2, 0x24($sp) +/* ED1460 80241470 4600103E */ c.le.s $f2, $f0 +/* ED1464 80241474 00000000 */ nop +/* ED1468 80241478 45000005 */ bc1f .L80241490 +/* ED146C 8024147C 00000000 */ nop +/* ED1470 80241480 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* ED1474 80241484 AE00001C */ sw $zero, 0x1c($s0) +/* ED1478 80241488 08090539 */ j .L802414E4 +/* ED147C 8024148C E600003C */ swc1 $f0, 0x3c($s0) +.L80241490: +/* ED1480 80241490 C600003C */ lwc1 $f0, 0x3c($s0) +/* ED1484 80241494 46040000 */ add.s $f0, $f0, $f4 +/* ED1488 80241498 08090539 */ j .L802414E4 +/* ED148C 8024149C E600003C */ swc1 $f0, 0x3c($s0) +.L802414A0: +/* ED1490 802414A0 C606003C */ lwc1 $f6, 0x3c($s0) +/* ED1494 802414A4 860200A8 */ lh $v0, 0xa8($s0) +/* ED1498 802414A8 46163081 */ sub.s $f2, $f6, $f22 +/* ED149C 802414AC 44820000 */ mtc1 $v0, $f0 +/* ED14A0 802414B0 00000000 */ nop +/* ED14A4 802414B4 46800020 */ cvt.s.w $f0, $f0 +/* ED14A8 802414B8 46001080 */ add.s $f2, $f2, $f0 +/* ED14AC 802414BC C604001C */ lwc1 $f4, 0x1c($s0) +/* ED14B0 802414C0 46002005 */ abs.s $f0, $f4 +/* ED14B4 802414C4 4602003C */ c.lt.s $f0, $f2 +/* ED14B8 802414C8 00000000 */ nop +/* ED14BC 802414CC 45020005 */ bc1fl .L802414E4 +/* ED14C0 802414D0 AE00001C */ sw $zero, 0x1c($s0) +/* ED14C4 802414D4 46043000 */ add.s $f0, $f6, $f4 +/* ED14C8 802414D8 08090539 */ j .L802414E4 +/* ED14CC 802414DC E600003C */ swc1 $f0, 0x3c($s0) +.L802414E0: +/* ED14D0 802414E0 AE00001C */ sw $zero, 0x1c($s0) +.L802414E4: +/* ED14D4 802414E4 8FBF0038 */ lw $ra, 0x38($sp) +/* ED14D8 802414E8 8FB30034 */ lw $s3, 0x34($sp) +/* ED14DC 802414EC 8FB20030 */ lw $s2, 0x30($sp) +/* ED14E0 802414F0 8FB1002C */ lw $s1, 0x2c($sp) +/* ED14E4 802414F4 8FB00028 */ lw $s0, 0x28($sp) +/* ED14E8 802414F8 D7B60048 */ ldc1 $f22, 0x48($sp) +/* ED14EC 802414FC D7B40040 */ ldc1 $f20, 0x40($sp) +/* ED14F0 80241500 03E00008 */ jr $ra +/* ED14F4 80241504 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_ED0310/func_80241508_ED14F8.s b/asm/nonmatchings/code_ED0310/func_80241508_ED14F8.s new file mode 100644 index 0000000000..72d0d93c02 --- /dev/null +++ b/asm/nonmatchings/code_ED0310/func_80241508_ED14F8.s @@ -0,0 +1,79 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241508_ED14F8 +/* ED14F8 80241508 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* ED14FC 8024150C AFB00028 */ sw $s0, 0x28($sp) +/* ED1500 80241510 00A0802D */ daddu $s0, $a1, $zero +/* ED1504 80241514 AFB1002C */ sw $s1, 0x2c($sp) +/* ED1508 80241518 00C0882D */ daddu $s1, $a2, $zero +/* ED150C 8024151C AFBF0034 */ sw $ra, 0x34($sp) +/* ED1510 80241520 AFB20030 */ sw $s2, 0x30($sp) +/* ED1514 80241524 AE200070 */ sw $zero, 0x70($s1) +/* ED1518 80241528 8C830000 */ lw $v1, ($a0) +/* ED151C 8024152C 2402FDFF */ addiu $v0, $zero, -0x201 +/* ED1520 80241530 A480008E */ sh $zero, 0x8e($a0) +/* ED1524 80241534 00621824 */ and $v1, $v1, $v0 +/* ED1528 80241538 34650800 */ ori $a1, $v1, 0x800 +/* ED152C 8024153C AC850000 */ sw $a1, ($a0) +/* ED1530 80241540 8E0200D0 */ lw $v0, 0xd0($s0) +/* ED1534 80241544 8C420034 */ lw $v0, 0x34($v0) +/* ED1538 80241548 10400003 */ beqz $v0, .L80241558 +/* ED153C 8024154C 00E0902D */ daddu $s2, $a3, $zero +/* ED1540 80241550 08090558 */ j .L80241560 +/* ED1544 80241554 34620808 */ ori $v0, $v1, 0x808 +.L80241558: +/* ED1548 80241558 2402FFF7 */ addiu $v0, $zero, -9 +/* ED154C 8024155C 00A21024 */ and $v0, $a1, $v0 +.L80241560: +/* ED1550 80241560 AC820000 */ sw $v0, ($a0) +/* ED1554 80241564 27A20024 */ addiu $v0, $sp, 0x24 +/* ED1558 80241568 27A50018 */ addiu $a1, $sp, 0x18 +/* ED155C 8024156C C4800038 */ lwc1 $f0, 0x38($a0) +/* ED1560 80241570 C482003C */ lwc1 $f2, 0x3c($a0) +/* ED1564 80241574 C4840040 */ lwc1 $f4, 0x40($a0) +/* ED1568 80241578 3C01447A */ lui $at, 0x447a +/* ED156C 8024157C 44813000 */ mtc1 $at, $f6 +/* ED1570 80241580 27A6001C */ addiu $a2, $sp, 0x1c +/* ED1574 80241584 E7A00018 */ swc1 $f0, 0x18($sp) +/* ED1578 80241588 E7A2001C */ swc1 $f2, 0x1c($sp) +/* ED157C 8024158C E7A40020 */ swc1 $f4, 0x20($sp) +/* ED1580 80241590 E7A60024 */ swc1 $f6, 0x24($sp) +/* ED1584 80241594 AFA20010 */ sw $v0, 0x10($sp) +/* ED1588 80241598 8C840080 */ lw $a0, 0x80($a0) +/* ED158C 8024159C 0C03908F */ jal func_800E423C +/* ED1590 802415A0 27A70020 */ addiu $a3, $sp, 0x20 +/* ED1594 802415A4 C7A20024 */ lwc1 $f2, 0x24($sp) +/* ED1598 802415A8 3C014059 */ lui $at, 0x4059 +/* ED159C 802415AC 44812800 */ mtc1 $at, $f5 +/* ED15A0 802415B0 44802000 */ mtc1 $zero, $f4 +/* ED15A4 802415B4 460010A1 */ cvt.d.s $f2, $f2 +/* ED15A8 802415B8 46241082 */ mul.d $f2, $f2, $f4 +/* ED15AC 802415BC 00000000 */ nop +/* ED15B0 802415C0 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* ED15B4 802415C4 46000021 */ cvt.d.s $f0, $f0 +/* ED15B8 802415C8 46240002 */ mul.d $f0, $f0, $f4 +/* ED15BC 802415CC 00000000 */ nop +/* ED15C0 802415D0 3C013FE0 */ lui $at, 0x3fe0 +/* ED15C4 802415D4 44812800 */ mtc1 $at, $f5 +/* ED15C8 802415D8 44802000 */ mtc1 $zero, $f4 +/* ED15CC 802415DC 00000000 */ nop +/* ED15D0 802415E0 46241080 */ add.d $f2, $f2, $f4 +/* ED15D4 802415E4 AE000074 */ sw $zero, 0x74($s0) +/* ED15D8 802415E8 46240000 */ add.d $f0, $f0, $f4 +/* ED15DC 802415EC AE000090 */ sw $zero, 0x90($s0) +/* ED15E0 802415F0 4620120D */ trunc.w.d $f8, $f2 +/* ED15E4 802415F4 E6080078 */ swc1 $f8, 0x78($s0) +/* ED15E8 802415F8 4620020D */ trunc.w.d $f8, $f0 +/* ED15EC 802415FC E6080088 */ swc1 $f8, 0x88($s0) +/* ED15F0 80241600 8E420014 */ lw $v0, 0x14($s2) +/* ED15F4 80241604 AE220074 */ sw $v0, 0x74($s1) +/* ED15F8 80241608 8E0200B0 */ lw $v0, 0xb0($s0) +/* ED15FC 8024160C 34420010 */ ori $v0, $v0, 0x10 +/* ED1600 80241610 AE0200B0 */ sw $v0, 0xb0($s0) +/* ED1604 80241614 8FBF0034 */ lw $ra, 0x34($sp) +/* ED1608 80241618 8FB20030 */ lw $s2, 0x30($sp) +/* ED160C 8024161C 8FB1002C */ lw $s1, 0x2c($sp) +/* ED1610 80241620 8FB00028 */ lw $s0, 0x28($sp) +/* ED1614 80241624 03E00008 */ jr $ra +/* ED1618 80241628 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_ED0310/func_8024162C_ED161C.s b/asm/nonmatchings/code_ED0310/func_8024162C_ED161C.s new file mode 100644 index 0000000000..91796ca693 --- /dev/null +++ b/asm/nonmatchings/code_ED0310/func_8024162C_ED161C.s @@ -0,0 +1,145 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024162C_ED161C +/* ED161C 8024162C 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* ED1620 80241630 AFB50044 */ sw $s5, 0x44($sp) +/* ED1624 80241634 0080A82D */ daddu $s5, $a0, $zero +/* ED1628 80241638 AFBF0048 */ sw $ra, 0x48($sp) +/* ED162C 8024163C AFB40040 */ sw $s4, 0x40($sp) +/* ED1630 80241640 AFB3003C */ sw $s3, 0x3c($sp) +/* ED1634 80241644 AFB20038 */ sw $s2, 0x38($sp) +/* ED1638 80241648 AFB10034 */ sw $s1, 0x34($sp) +/* ED163C 8024164C AFB00030 */ sw $s0, 0x30($sp) +/* ED1640 80241650 8EB20148 */ lw $s2, 0x148($s5) +/* ED1644 80241654 86440008 */ lh $a0, 8($s2) +/* ED1648 80241658 8EB0000C */ lw $s0, 0xc($s5) +/* ED164C 8024165C 0C00F92F */ jal func_8003E4BC +/* ED1650 80241660 00A0882D */ daddu $s1, $a1, $zero +/* ED1654 80241664 02A0202D */ daddu $a0, $s5, $zero +/* ED1658 80241668 8E050000 */ lw $a1, ($s0) +/* ED165C 8024166C 0C0B53A3 */ jal func_802D4E8C +/* ED1660 80241670 0040A02D */ daddu $s4, $v0, $zero +/* ED1664 80241674 AFA00010 */ sw $zero, 0x10($sp) +/* ED1668 80241678 8E4300D0 */ lw $v1, 0xd0($s2) +/* ED166C 8024167C 8C630030 */ lw $v1, 0x30($v1) +/* ED1670 80241680 AFA30014 */ sw $v1, 0x14($sp) +/* ED1674 80241684 8E4300D0 */ lw $v1, 0xd0($s2) +/* ED1678 80241688 8C63001C */ lw $v1, 0x1c($v1) +/* ED167C 8024168C AFA30018 */ sw $v1, 0x18($sp) +/* ED1680 80241690 8E4300D0 */ lw $v1, 0xd0($s2) +/* ED1684 80241694 8C630024 */ lw $v1, 0x24($v1) +/* ED1688 80241698 AFA3001C */ sw $v1, 0x1c($sp) +/* ED168C 8024169C 8E4300D0 */ lw $v1, 0xd0($s2) +/* ED1690 802416A0 8C630028 */ lw $v1, 0x28($v1) +/* ED1694 802416A4 AFA30020 */ sw $v1, 0x20($sp) +/* ED1698 802416A8 8E4300D0 */ lw $v1, 0xd0($s2) +/* ED169C 802416AC 3C0142F0 */ lui $at, 0x42f0 +/* ED16A0 802416B0 44810000 */ mtc1 $at, $f0 +/* ED16A4 802416B4 8C63002C */ lw $v1, 0x2c($v1) +/* ED16A8 802416B8 E7A00028 */ swc1 $f0, 0x28($sp) +/* ED16AC 802416BC A7A0002C */ sh $zero, 0x2c($sp) +/* ED16B0 802416C0 AFA30024 */ sw $v1, 0x24($sp) +/* ED16B4 802416C4 C6800038 */ lwc1 $f0, 0x38($s4) +/* ED16B8 802416C8 E6400108 */ swc1 $f0, 0x108($s2) +/* ED16BC 802416CC C680003C */ lwc1 $f0, 0x3c($s4) +/* ED16C0 802416D0 27B30010 */ addiu $s3, $sp, 0x10 +/* ED16C4 802416D4 E640010C */ swc1 $f0, 0x10c($s2) +/* ED16C8 802416D8 3C0138D1 */ lui $at, 0x38d1 +/* ED16CC 802416DC 3421B717 */ ori $at, $at, 0xb717 +/* ED16D0 802416E0 44810000 */ mtc1 $at, $f0 +/* ED16D4 802416E4 C6820040 */ lwc1 $f2, 0x40($s4) +/* ED16D8 802416E8 0040802D */ daddu $s0, $v0, $zero +/* ED16DC 802416EC E6400114 */ swc1 $f0, 0x114($s2) +/* ED16E0 802416F0 E6400118 */ swc1 $f0, 0x118($s2) +/* ED16E4 802416F4 12200006 */ beqz $s1, .L80241710 +/* ED16E8 802416F8 E6420110 */ swc1 $f2, 0x110($s2) +/* ED16EC 802416FC 0280202D */ daddu $a0, $s4, $zero +/* ED16F0 80241700 0240282D */ daddu $a1, $s2, $zero +/* ED16F4 80241704 02A0302D */ daddu $a2, $s5, $zero +/* ED16F8 80241708 0C090542 */ jal func_80241508_ED14F8 +/* ED16FC 8024170C 0200382D */ daddu $a3, $s0, $zero +.L80241710: +/* ED1700 80241710 2402FFFE */ addiu $v0, $zero, -2 +/* ED1704 80241714 A28200AB */ sb $v0, 0xab($s4) +/* ED1708 80241718 8E4300B0 */ lw $v1, 0xb0($s2) +/* ED170C 8024171C 30620004 */ andi $v0, $v1, 4 +/* ED1710 80241720 10400007 */ beqz $v0, .L80241740 +/* ED1714 80241724 00000000 */ nop +/* ED1718 80241728 824200B4 */ lb $v0, 0xb4($s2) +/* ED171C 8024172C 1440003C */ bnez $v0, .L80241820 +/* ED1720 80241730 0000102D */ daddu $v0, $zero, $zero +/* ED1724 80241734 2402FFFB */ addiu $v0, $zero, -5 +/* ED1728 80241738 00621024 */ and $v0, $v1, $v0 +/* ED172C 8024173C AE4200B0 */ sw $v0, 0xb0($s2) +.L80241740: +/* ED1730 80241740 8EA30070 */ lw $v1, 0x70($s5) +/* ED1734 80241744 2C62000F */ sltiu $v0, $v1, 0xf +/* ED1738 80241748 10400034 */ beqz $v0, .L8024181C +/* ED173C 8024174C 00031080 */ sll $v0, $v1, 2 +/* ED1740 80241750 3C018024 */ lui $at, %hi(D_802441E8) +/* ED1744 80241754 00220821 */ addu $at, $at, $v0 +/* ED1748 80241758 8C2241E8 */ lw $v0, %lo(D_802441E8)($at) +/* ED174C 8024175C 00400008 */ jr $v0 +/* ED1750 80241760 00000000 */ nop +/* ED1754 80241764 02A0202D */ daddu $a0, $s5, $zero +/* ED1758 80241768 0200282D */ daddu $a1, $s0, $zero +/* ED175C 8024176C 0C0900C8 */ jal func_80240320_ED0310 +/* ED1760 80241770 0260302D */ daddu $a2, $s3, $zero +/* ED1764 80241774 02A0202D */ daddu $a0, $s5, $zero +/* ED1768 80241778 0200282D */ daddu $a1, $s0, $zero +/* ED176C 8024177C 0C090134 */ jal func_802404D0_ED04C0 +/* ED1770 80241780 0260302D */ daddu $a2, $s3, $zero +/* ED1774 80241784 08090608 */ j .L80241820 +/* ED1778 80241788 0000102D */ daddu $v0, $zero, $zero +/* ED177C 8024178C 02A0202D */ daddu $a0, $s5, $zero +/* ED1780 80241790 0200282D */ daddu $a1, $s0, $zero +/* ED1784 80241794 0C0902BE */ jal func_80240AF8_ED0AE8 +/* ED1788 80241798 0260302D */ daddu $a2, $s3, $zero +/* ED178C 8024179C 02A0202D */ daddu $a0, $s5, $zero +/* ED1790 802417A0 0200282D */ daddu $a1, $s0, $zero +/* ED1794 802417A4 0C0902EE */ jal func_80240BB8_ED0BA8 +/* ED1798 802417A8 0260302D */ daddu $a2, $s3, $zero +/* ED179C 802417AC 08090608 */ j .L80241820 +/* ED17A0 802417B0 0000102D */ daddu $v0, $zero, $zero +/* ED17A4 802417B4 02A0202D */ daddu $a0, $s5, $zero +/* ED17A8 802417B8 0200282D */ daddu $a1, $s0, $zero +/* ED17AC 802417BC 0C0903BF */ jal func_80240EFC_ED0EEC +/* ED17B0 802417C0 0260302D */ daddu $a2, $s3, $zero +/* ED17B4 802417C4 02A0202D */ daddu $a0, $s5, $zero +/* ED17B8 802417C8 0200282D */ daddu $a1, $s0, $zero +/* ED17BC 802417CC 0C0903DD */ jal func_80240F74_ED0F64 +/* ED17C0 802417D0 0260302D */ daddu $a2, $s3, $zero +/* ED17C4 802417D4 08090608 */ j .L80241820 +/* ED17C8 802417D8 0000102D */ daddu $v0, $zero, $zero +/* ED17CC 802417DC 02A0202D */ daddu $a0, $s5, $zero +/* ED17D0 802417E0 0200282D */ daddu $a1, $s0, $zero +/* ED17D4 802417E4 0C0903F8 */ jal func_80240FE0_ED0FD0 +/* ED17D8 802417E8 0260302D */ daddu $a2, $s3, $zero +/* ED17DC 802417EC 08090608 */ j .L80241820 +/* ED17E0 802417F0 0000102D */ daddu $v0, $zero, $zero +/* ED17E4 802417F4 02A0202D */ daddu $a0, $s5, $zero +/* ED17E8 802417F8 0200282D */ daddu $a1, $s0, $zero +/* ED17EC 802417FC 0C090445 */ jal func_80241114_ED1104 +/* ED17F0 80241800 0260302D */ daddu $a2, $s3, $zero +/* ED17F4 80241804 08090608 */ j .L80241820 +/* ED17F8 80241808 0000102D */ daddu $v0, $zero, $zero +/* ED17FC 8024180C 02A0202D */ daddu $a0, $s5, $zero +/* ED1800 80241810 0200282D */ daddu $a1, $s0, $zero +/* ED1804 80241814 0C09045E */ jal func_80241178_ED1168 +/* ED1808 80241818 0260302D */ daddu $a2, $s3, $zero +.L8024181C: +/* ED180C 8024181C 0000102D */ daddu $v0, $zero, $zero +.L80241820: +/* ED1810 80241820 8FBF0048 */ lw $ra, 0x48($sp) +/* ED1814 80241824 8FB50044 */ lw $s5, 0x44($sp) +/* ED1818 80241828 8FB40040 */ lw $s4, 0x40($sp) +/* ED181C 8024182C 8FB3003C */ lw $s3, 0x3c($sp) +/* ED1820 80241830 8FB20038 */ lw $s2, 0x38($sp) +/* ED1824 80241834 8FB10034 */ lw $s1, 0x34($sp) +/* ED1828 80241838 8FB00030 */ lw $s0, 0x30($sp) +/* ED182C 8024183C 03E00008 */ jr $ra +/* ED1830 80241840 27BD0050 */ addiu $sp, $sp, 0x50 +/* ED1834 80241844 00000000 */ nop +/* ED1838 80241848 00000000 */ nop +/* ED183C 8024184C 00000000 */ nop diff --git a/asm/nonmatchings/code_ED4220/func_80240000_ED4220.s b/asm/nonmatchings/code_ED4220/func_80240000_ED4220.s new file mode 100644 index 0000000000..f8e1bb04de --- /dev/null +++ b/asm/nonmatchings/code_ED4220/func_80240000_ED4220.s @@ -0,0 +1,21 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_ED4220 +/* ED4220 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ED4224 80240004 AFBF0010 */ sw $ra, 0x10($sp) +/* ED4228 80240008 3C05F5DE */ lui $a1, 0xf5de +/* ED422C 8024000C 34A50180 */ ori $a1, $a1, 0x180 +/* ED4230 80240010 0C0B53A3 */ jal func_802D4E8C +/* ED4234 80240014 0000202D */ daddu $a0, $zero, $zero +/* ED4238 80240018 28430031 */ slti $v1, $v0, 0x31 +/* ED423C 8024001C 3C020019 */ lui $v0, 0x19 +/* ED4240 80240020 14600003 */ bnez $v1, .L80240030 +/* ED4244 80240024 34420119 */ ori $v0, $v0, 0x119 +/* ED4248 80240028 3C020019 */ lui $v0, 0x19 +/* ED424C 8024002C 3442011A */ ori $v0, $v0, 0x11a +.L80240030: +/* ED4250 80240030 8FBF0010 */ lw $ra, 0x10($sp) +/* ED4254 80240034 03E00008 */ jr $ra +/* ED4258 80240038 27BD0018 */ addiu $sp, $sp, 0x18 +/* ED425C 8024003C 00000000 */ nop diff --git a/asm/nonmatchings/code_ED4260/func_80240040_ED4260.s b/asm/nonmatchings/code_ED4260/func_80240040_ED4260.s new file mode 100644 index 0000000000..966950ed24 --- /dev/null +++ b/asm/nonmatchings/code_ED4260/func_80240040_ED4260.s @@ -0,0 +1,20 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240040_ED4260 +/* ED4260 80240040 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ED4264 80240044 24040001 */ addiu $a0, $zero, 1 +/* ED4268 80240048 0000282D */ daddu $a1, $zero, $zero +/* ED426C 8024004C 00A0302D */ daddu $a2, $a1, $zero +/* ED4270 80240050 00A0382D */ daddu $a3, $a1, $zero +/* ED4274 80240054 AFBF0018 */ sw $ra, 0x18($sp) +/* ED4278 80240058 AFA00010 */ sw $zero, 0x10($sp) +/* ED427C 8024005C 0C01DEF4 */ jal func_80077BD0 +/* ED4280 80240060 AFA00014 */ sw $zero, 0x14($sp) +/* ED4284 80240064 8FBF0018 */ lw $ra, 0x18($sp) +/* ED4288 80240068 24020002 */ addiu $v0, $zero, 2 +/* ED428C 8024006C 03E00008 */ jr $ra +/* ED4290 80240070 27BD0020 */ addiu $sp, $sp, 0x20 +/* ED4294 80240074 00000000 */ nop +/* ED4298 80240078 00000000 */ nop +/* ED429C 8024007C 00000000 */ nop diff --git a/asm/nonmatchings/code_ED42A0/func_80240080_ED42A0.s b/asm/nonmatchings/code_ED42A0/func_80240080_ED42A0.s new file mode 100644 index 0000000000..1f88e408dd --- /dev/null +++ b/asm/nonmatchings/code_ED42A0/func_80240080_ED42A0.s @@ -0,0 +1,53 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240080_ED42A0 +/* ED42A0 80240080 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ED42A4 80240084 AFB00010 */ sw $s0, 0x10($sp) +/* ED42A8 80240088 3C108024 */ lui $s0, %hi(func_80241DA0_7ECAB0) +/* ED42AC 8024008C 26101DA0 */ addiu $s0, $s0, %lo(func_80241DA0_7ECAB0) +/* ED42B0 80240090 AFBF0018 */ sw $ra, 0x18($sp) +/* ED42B4 80240094 AFB10014 */ sw $s1, 0x14($sp) +/* ED42B8 80240098 8E020000 */ lw $v0, ($s0) +/* ED42BC 8024009C 14400010 */ bnez $v0, .L802400E0 +/* ED42C0 802400A0 0080882D */ daddu $s1, $a0, $zero +/* ED42C4 802400A4 0C00AFF5 */ jal func_8002BFD4 +/* ED42C8 802400A8 24040040 */ addiu $a0, $zero, 0x40 +/* ED42CC 802400AC AE020000 */ sw $v0, ($s0) +/* ED42D0 802400B0 0000182D */ daddu $v1, $zero, $zero +/* ED42D4 802400B4 0040282D */ daddu $a1, $v0, $zero +/* ED42D8 802400B8 0220202D */ daddu $a0, $s1, $zero +.L802400BC: +/* ED42DC 802400BC 8C820084 */ lw $v0, 0x84($a0) +/* ED42E0 802400C0 24840004 */ addiu $a0, $a0, 4 +/* ED42E4 802400C4 24630001 */ addiu $v1, $v1, 1 +/* ED42E8 802400C8 ACA20000 */ sw $v0, ($a1) +/* ED42EC 802400CC 28620010 */ slti $v0, $v1, 0x10 +/* ED42F0 802400D0 1440FFFA */ bnez $v0, .L802400BC +/* ED42F4 802400D4 24A50004 */ addiu $a1, $a1, 4 +/* ED42F8 802400D8 08090047 */ j .L8024011C +/* ED42FC 802400DC 00000000 */ nop +.L802400E0: +/* ED4300 802400E0 0000182D */ daddu $v1, $zero, $zero +/* ED4304 802400E4 0040282D */ daddu $a1, $v0, $zero +/* ED4308 802400E8 0220202D */ daddu $a0, $s1, $zero +.L802400EC: +/* ED430C 802400EC 8CA20000 */ lw $v0, ($a1) +/* ED4310 802400F0 24A50004 */ addiu $a1, $a1, 4 +/* ED4314 802400F4 24630001 */ addiu $v1, $v1, 1 +/* ED4318 802400F8 AC820084 */ sw $v0, 0x84($a0) +/* ED431C 802400FC 28620010 */ slti $v0, $v1, 0x10 +/* ED4320 80240100 1440FFFA */ bnez $v0, .L802400EC +/* ED4324 80240104 24840004 */ addiu $a0, $a0, 4 +/* ED4328 80240108 3C108024 */ lui $s0, %hi(func_80241DA0_7ECAB0) +/* ED432C 8024010C 26101DA0 */ addiu $s0, $s0, %lo(func_80241DA0_7ECAB0) +/* ED4330 80240110 0C00B007 */ jal func_8002C01C +/* ED4334 80240114 8E040000 */ lw $a0, ($s0) +/* ED4338 80240118 AE000000 */ sw $zero, ($s0) +.L8024011C: +/* ED433C 8024011C 8FBF0018 */ lw $ra, 0x18($sp) +/* ED4340 80240120 8FB10014 */ lw $s1, 0x14($sp) +/* ED4344 80240124 8FB00010 */ lw $s0, 0x10($sp) +/* ED4348 80240128 24020002 */ addiu $v0, $zero, 2 +/* ED434C 8024012C 03E00008 */ jr $ra +/* ED4350 80240130 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_ED42A0/func_80240134_ED4354.s b/asm/nonmatchings/code_ED42A0/func_80240134_ED4354.s new file mode 100644 index 0000000000..d7d1c84594 --- /dev/null +++ b/asm/nonmatchings/code_ED42A0/func_80240134_ED4354.s @@ -0,0 +1,29 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240134_ED4354 +/* ED4354 80240134 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ED4358 80240138 AFB00010 */ sw $s0, 0x10($sp) +/* ED435C 8024013C 0080802D */ daddu $s0, $a0, $zero +/* ED4360 80240140 AFBF0018 */ sw $ra, 0x18($sp) +/* ED4364 80240144 AFB10014 */ sw $s1, 0x14($sp) +/* ED4368 80240148 8E02000C */ lw $v0, 0xc($s0) +/* ED436C 8024014C 8C510000 */ lw $s1, ($v0) +/* ED4370 80240150 0C0B53A3 */ jal func_802D4E8C +/* ED4374 80240154 0220282D */ daddu $a1, $s1, $zero +/* ED4378 80240158 3C03FFF0 */ lui $v1, 0xfff0 +/* ED437C 8024015C 3463FFFF */ ori $v1, $v1, 0xffff +/* ED4380 80240160 0200202D */ daddu $a0, $s0, $zero +/* ED4384 80240164 00431024 */ and $v0, $v0, $v1 +/* ED4388 80240168 00021140 */ sll $v0, $v0, 5 +/* ED438C 8024016C 3C068009 */ lui $a2, %hi(D_8008D2C0) +/* ED4390 80240170 00C23021 */ addu $a2, $a2, $v0 +/* ED4394 80240174 8CC6D2C0 */ lw $a2, %lo(D_8008D2C0)($a2) +/* ED4398 80240178 0C0B551A */ jal func_802D5468 +/* ED439C 8024017C 0220282D */ daddu $a1, $s1, $zero +/* ED43A0 80240180 8FBF0018 */ lw $ra, 0x18($sp) +/* ED43A4 80240184 8FB10014 */ lw $s1, 0x14($sp) +/* ED43A8 80240188 8FB00010 */ lw $s0, 0x10($sp) +/* ED43AC 8024018C 24020002 */ addiu $v0, $zero, 2 +/* ED43B0 80240190 03E00008 */ jr $ra +/* ED43B4 80240194 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_ED42A0/func_80240198_ED43B8.s b/asm/nonmatchings/code_ED42A0/func_80240198_ED43B8.s new file mode 100644 index 0000000000..aba6a2898c --- /dev/null +++ b/asm/nonmatchings/code_ED42A0/func_80240198_ED43B8.s @@ -0,0 +1,89 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240198_ED43B8 +/* ED43B8 80240198 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ED43BC 8024019C AFB00010 */ sw $s0, 0x10($sp) +/* ED43C0 802401A0 0080802D */ daddu $s0, $a0, $zero +/* ED43C4 802401A4 AFBF0014 */ sw $ra, 0x14($sp) +/* ED43C8 802401A8 8E0300A8 */ lw $v1, 0xa8($s0) +/* ED43CC 802401AC 8E020088 */ lw $v0, 0x88($s0) +/* ED43D0 802401B0 00621821 */ addu $v1, $v1, $v0 +/* ED43D4 802401B4 04610004 */ bgez $v1, .L802401C8 +/* ED43D8 802401B8 AE0300A8 */ sw $v1, 0xa8($s0) +/* ED43DC 802401BC 3C020002 */ lui $v0, 2 +/* ED43E0 802401C0 08090076 */ j .L802401D8 +/* ED43E4 802401C4 00621021 */ addu $v0, $v1, $v0 +.L802401C8: +/* ED43E8 802401C8 3C040002 */ lui $a0, 2 +/* ED43EC 802401CC 0083102A */ slt $v0, $a0, $v1 +/* ED43F0 802401D0 10400002 */ beqz $v0, .L802401DC +/* ED43F4 802401D4 00641023 */ subu $v0, $v1, $a0 +.L802401D8: +/* ED43F8 802401D8 AE0200A8 */ sw $v0, 0xa8($s0) +.L802401DC: +/* ED43FC 802401DC 8E0300AC */ lw $v1, 0xac($s0) +/* ED4400 802401E0 8E02008C */ lw $v0, 0x8c($s0) +/* ED4404 802401E4 00621821 */ addu $v1, $v1, $v0 +/* ED4408 802401E8 04610004 */ bgez $v1, .L802401FC +/* ED440C 802401EC AE0300AC */ sw $v1, 0xac($s0) +/* ED4410 802401F0 3C020002 */ lui $v0, 2 +/* ED4414 802401F4 08090083 */ j .L8024020C +/* ED4418 802401F8 00621021 */ addu $v0, $v1, $v0 +.L802401FC: +/* ED441C 802401FC 3C040002 */ lui $a0, 2 +/* ED4420 80240200 0083102A */ slt $v0, $a0, $v1 +/* ED4424 80240204 10400002 */ beqz $v0, .L80240210 +/* ED4428 80240208 00641023 */ subu $v0, $v1, $a0 +.L8024020C: +/* ED442C 8024020C AE0200AC */ sw $v0, 0xac($s0) +.L80240210: +/* ED4430 80240210 8E0300B0 */ lw $v1, 0xb0($s0) +/* ED4434 80240214 8E020090 */ lw $v0, 0x90($s0) +/* ED4438 80240218 00621821 */ addu $v1, $v1, $v0 +/* ED443C 8024021C 04610004 */ bgez $v1, .L80240230 +/* ED4440 80240220 AE0300B0 */ sw $v1, 0xb0($s0) +/* ED4444 80240224 3C020002 */ lui $v0, 2 +/* ED4448 80240228 08090090 */ j .L80240240 +/* ED444C 8024022C 00621021 */ addu $v0, $v1, $v0 +.L80240230: +/* ED4450 80240230 3C040002 */ lui $a0, 2 +/* ED4454 80240234 0083102A */ slt $v0, $a0, $v1 +/* ED4458 80240238 10400002 */ beqz $v0, .L80240244 +/* ED445C 8024023C 00641023 */ subu $v0, $v1, $a0 +.L80240240: +/* ED4460 80240240 AE0200B0 */ sw $v0, 0xb0($s0) +.L80240244: +/* ED4464 80240244 8E0300B4 */ lw $v1, 0xb4($s0) +/* ED4468 80240248 8E020094 */ lw $v0, 0x94($s0) +/* ED446C 8024024C 00621821 */ addu $v1, $v1, $v0 +/* ED4470 80240250 04610004 */ bgez $v1, .L80240264 +/* ED4474 80240254 AE0300B4 */ sw $v1, 0xb4($s0) +/* ED4478 80240258 3C020002 */ lui $v0, 2 +/* ED447C 8024025C 0809009D */ j .L80240274 +/* ED4480 80240260 00621021 */ addu $v0, $v1, $v0 +.L80240264: +/* ED4484 80240264 3C040002 */ lui $a0, 2 +/* ED4488 80240268 0083102A */ slt $v0, $a0, $v1 +/* ED448C 8024026C 10400002 */ beqz $v0, .L80240278 +/* ED4490 80240270 00641023 */ subu $v0, $v1, $a0 +.L80240274: +/* ED4494 80240274 AE0200B4 */ sw $v0, 0xb4($s0) +.L80240278: +/* ED4498 80240278 8E040084 */ lw $a0, 0x84($s0) +/* ED449C 8024027C 0C049819 */ jal func_80126064 +/* ED44A0 80240280 8E0500A8 */ lw $a1, 0xa8($s0) +/* ED44A4 80240284 8E040084 */ lw $a0, 0x84($s0) +/* ED44A8 80240288 0C04981F */ jal func_8012607C +/* ED44AC 8024028C 8E0500AC */ lw $a1, 0xac($s0) +/* ED44B0 80240290 8E040084 */ lw $a0, 0x84($s0) +/* ED44B4 80240294 0C049825 */ jal func_80126094 +/* ED44B8 80240298 8E0500B0 */ lw $a1, 0xb0($s0) +/* ED44BC 8024029C 8E040084 */ lw $a0, 0x84($s0) +/* ED44C0 802402A0 0C04982B */ jal func_801260AC +/* ED44C4 802402A4 8E0500B4 */ lw $a1, 0xb4($s0) +/* ED44C8 802402A8 8FBF0014 */ lw $ra, 0x14($sp) +/* ED44CC 802402AC 8FB00010 */ lw $s0, 0x10($sp) +/* ED44D0 802402B0 0000102D */ daddu $v0, $zero, $zero +/* ED44D4 802402B4 03E00008 */ jr $ra +/* ED44D8 802402B8 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_ED42A0/func_802402BC_ED44DC.s b/asm/nonmatchings/code_ED42A0/func_802402BC_ED44DC.s new file mode 100644 index 0000000000..cdc3bb8b88 --- /dev/null +++ b/asm/nonmatchings/code_ED42A0/func_802402BC_ED44DC.s @@ -0,0 +1,146 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802402BC_ED44DC +/* ED44DC 802402BC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ED44E0 802402C0 AFB00010 */ sw $s0, 0x10($sp) +/* ED44E4 802402C4 0080802D */ daddu $s0, $a0, $zero +/* ED44E8 802402C8 10A00005 */ beqz $a1, .L802402E0 +/* ED44EC 802402CC AFBF0014 */ sw $ra, 0x14($sp) +/* ED44F0 802402D0 AE000070 */ sw $zero, 0x70($s0) +/* ED44F4 802402D4 AE000074 */ sw $zero, 0x74($s0) +/* ED44F8 802402D8 AE000078 */ sw $zero, 0x78($s0) +/* ED44FC 802402DC AE00007C */ sw $zero, 0x7c($s0) +.L802402E0: +/* ED4500 802402E0 8E020070 */ lw $v0, 0x70($s0) +/* ED4504 802402E4 1440000E */ bnez $v0, .L80240320 +/* ED4508 802402E8 00000000 */ nop +/* ED450C 802402EC 8E0300A8 */ lw $v1, 0xa8($s0) +/* ED4510 802402F0 8E020088 */ lw $v0, 0x88($s0) +/* ED4514 802402F4 00621821 */ addu $v1, $v1, $v0 +/* ED4518 802402F8 04610004 */ bgez $v1, .L8024030C +/* ED451C 802402FC AE0300A8 */ sw $v1, 0xa8($s0) +/* ED4520 80240300 3C020002 */ lui $v0, 2 +/* ED4524 80240304 080900C7 */ j .L8024031C +/* ED4528 80240308 00621021 */ addu $v0, $v1, $v0 +.L8024030C: +/* ED452C 8024030C 3C040002 */ lui $a0, 2 +/* ED4530 80240310 0083102A */ slt $v0, $a0, $v1 +/* ED4534 80240314 10400002 */ beqz $v0, .L80240320 +/* ED4538 80240318 00641023 */ subu $v0, $v1, $a0 +.L8024031C: +/* ED453C 8024031C AE0200A8 */ sw $v0, 0xa8($s0) +.L80240320: +/* ED4540 80240320 8E020074 */ lw $v0, 0x74($s0) +/* ED4544 80240324 1440000E */ bnez $v0, .L80240360 +/* ED4548 80240328 00000000 */ nop +/* ED454C 8024032C 8E0300AC */ lw $v1, 0xac($s0) +/* ED4550 80240330 8E02008C */ lw $v0, 0x8c($s0) +/* ED4554 80240334 00621821 */ addu $v1, $v1, $v0 +/* ED4558 80240338 04610004 */ bgez $v1, .L8024034C +/* ED455C 8024033C AE0300AC */ sw $v1, 0xac($s0) +/* ED4560 80240340 3C020002 */ lui $v0, 2 +/* ED4564 80240344 080900D7 */ j .L8024035C +/* ED4568 80240348 00621021 */ addu $v0, $v1, $v0 +.L8024034C: +/* ED456C 8024034C 3C040002 */ lui $a0, 2 +/* ED4570 80240350 0083102A */ slt $v0, $a0, $v1 +/* ED4574 80240354 10400002 */ beqz $v0, .L80240360 +/* ED4578 80240358 00641023 */ subu $v0, $v1, $a0 +.L8024035C: +/* ED457C 8024035C AE0200AC */ sw $v0, 0xac($s0) +.L80240360: +/* ED4580 80240360 8E020078 */ lw $v0, 0x78($s0) +/* ED4584 80240364 1440000E */ bnez $v0, .L802403A0 +/* ED4588 80240368 00000000 */ nop +/* ED458C 8024036C 8E0300B0 */ lw $v1, 0xb0($s0) +/* ED4590 80240370 8E020090 */ lw $v0, 0x90($s0) +/* ED4594 80240374 00621821 */ addu $v1, $v1, $v0 +/* ED4598 80240378 04610004 */ bgez $v1, .L8024038C +/* ED459C 8024037C AE0300B0 */ sw $v1, 0xb0($s0) +/* ED45A0 80240380 3C020002 */ lui $v0, 2 +/* ED45A4 80240384 080900E7 */ j .L8024039C +/* ED45A8 80240388 00621021 */ addu $v0, $v1, $v0 +.L8024038C: +/* ED45AC 8024038C 3C040002 */ lui $a0, 2 +/* ED45B0 80240390 0083102A */ slt $v0, $a0, $v1 +/* ED45B4 80240394 10400002 */ beqz $v0, .L802403A0 +/* ED45B8 80240398 00641023 */ subu $v0, $v1, $a0 +.L8024039C: +/* ED45BC 8024039C AE0200B0 */ sw $v0, 0xb0($s0) +.L802403A0: +/* ED45C0 802403A0 8E02007C */ lw $v0, 0x7c($s0) +/* ED45C4 802403A4 1440000E */ bnez $v0, .L802403E0 +/* ED45C8 802403A8 00000000 */ nop +/* ED45CC 802403AC 8E0300B4 */ lw $v1, 0xb4($s0) +/* ED45D0 802403B0 8E020094 */ lw $v0, 0x94($s0) +/* ED45D4 802403B4 00621821 */ addu $v1, $v1, $v0 +/* ED45D8 802403B8 04610004 */ bgez $v1, .L802403CC +/* ED45DC 802403BC AE0300B4 */ sw $v1, 0xb4($s0) +/* ED45E0 802403C0 3C020002 */ lui $v0, 2 +/* ED45E4 802403C4 080900F7 */ j .L802403DC +/* ED45E8 802403C8 00621021 */ addu $v0, $v1, $v0 +.L802403CC: +/* ED45EC 802403CC 3C040002 */ lui $a0, 2 +/* ED45F0 802403D0 0083102A */ slt $v0, $a0, $v1 +/* ED45F4 802403D4 10400002 */ beqz $v0, .L802403E0 +/* ED45F8 802403D8 00641023 */ subu $v0, $v1, $a0 +.L802403DC: +/* ED45FC 802403DC AE0200B4 */ sw $v0, 0xb4($s0) +.L802403E0: +/* ED4600 802403E0 8E040084 */ lw $a0, 0x84($s0) +/* ED4604 802403E4 0C049819 */ jal func_80126064 +/* ED4608 802403E8 8E0500A8 */ lw $a1, 0xa8($s0) +/* ED460C 802403EC 8E040084 */ lw $a0, 0x84($s0) +/* ED4610 802403F0 0C04981F */ jal func_8012607C +/* ED4614 802403F4 8E0500AC */ lw $a1, 0xac($s0) +/* ED4618 802403F8 8E040084 */ lw $a0, 0x84($s0) +/* ED461C 802403FC 0C049825 */ jal func_80126094 +/* ED4620 80240400 8E0500B0 */ lw $a1, 0xb0($s0) +/* ED4624 80240404 8E040084 */ lw $a0, 0x84($s0) +/* ED4628 80240408 0C04982B */ jal func_801260AC +/* ED462C 8024040C 8E0500B4 */ lw $a1, 0xb4($s0) +/* ED4630 80240410 8E020070 */ lw $v0, 0x70($s0) +/* ED4634 80240414 8E030078 */ lw $v1, 0x78($s0) +/* ED4638 80240418 8E040098 */ lw $a0, 0x98($s0) +/* ED463C 8024041C 24420001 */ addiu $v0, $v0, 1 +/* ED4640 80240420 AE020070 */ sw $v0, 0x70($s0) +/* ED4644 80240424 8E020074 */ lw $v0, 0x74($s0) +/* ED4648 80240428 24630001 */ addiu $v1, $v1, 1 +/* ED464C 8024042C AE030078 */ sw $v1, 0x78($s0) +/* ED4650 80240430 8E030070 */ lw $v1, 0x70($s0) +/* ED4654 80240434 24420001 */ addiu $v0, $v0, 1 +/* ED4658 80240438 AE020074 */ sw $v0, 0x74($s0) +/* ED465C 8024043C 8E02007C */ lw $v0, 0x7c($s0) +/* ED4660 80240440 0064182A */ slt $v1, $v1, $a0 +/* ED4664 80240444 24420001 */ addiu $v0, $v0, 1 +/* ED4668 80240448 14600002 */ bnez $v1, .L80240454 +/* ED466C 8024044C AE02007C */ sw $v0, 0x7c($s0) +/* ED4670 80240450 AE000070 */ sw $zero, 0x70($s0) +.L80240454: +/* ED4674 80240454 8E020074 */ lw $v0, 0x74($s0) +/* ED4678 80240458 8E03009C */ lw $v1, 0x9c($s0) +/* ED467C 8024045C 0043102A */ slt $v0, $v0, $v1 +/* ED4680 80240460 50400001 */ beql $v0, $zero, .L80240468 +/* ED4684 80240464 AE000074 */ sw $zero, 0x74($s0) +.L80240468: +/* ED4688 80240468 8E020078 */ lw $v0, 0x78($s0) +/* ED468C 8024046C 8E0300A0 */ lw $v1, 0xa0($s0) +/* ED4690 80240470 0043102A */ slt $v0, $v0, $v1 +/* ED4694 80240474 50400001 */ beql $v0, $zero, .L8024047C +/* ED4698 80240478 AE000078 */ sw $zero, 0x78($s0) +.L8024047C: +/* ED469C 8024047C 8E02007C */ lw $v0, 0x7c($s0) +/* ED46A0 80240480 8E0300A4 */ lw $v1, 0xa4($s0) +/* ED46A4 80240484 0043102A */ slt $v0, $v0, $v1 +/* ED46A8 80240488 50400001 */ beql $v0, $zero, .L80240490 +/* ED46AC 8024048C AE00007C */ sw $zero, 0x7c($s0) +.L80240490: +/* ED46B0 80240490 8FBF0014 */ lw $ra, 0x14($sp) +/* ED46B4 80240494 8FB00010 */ lw $s0, 0x10($sp) +/* ED46B8 80240498 0000102D */ daddu $v0, $zero, $zero +/* ED46BC 8024049C 03E00008 */ jr $ra +/* ED46C0 802404A0 27BD0018 */ addiu $sp, $sp, 0x18 +/* ED46C4 802404A4 00000000 */ nop +/* ED46C8 802404A8 00000000 */ nop +/* ED46CC 802404AC 00000000 */ nop diff --git a/asm/nonmatchings/code_ED46D0/func_802404B0_ED46D0.s b/asm/nonmatchings/code_ED46D0/func_802404B0_ED46D0.s new file mode 100644 index 0000000000..a236be4c2a --- /dev/null +++ b/asm/nonmatchings/code_ED46D0/func_802404B0_ED46D0.s @@ -0,0 +1,430 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802404B0_ED46D0 +/* ED46D0 802404B0 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* ED46D4 802404B4 AFB60040 */ sw $s6, 0x40($sp) +/* ED46D8 802404B8 0080B02D */ daddu $s6, $a0, $zero +/* ED46DC 802404BC 3C028024 */ lui $v0, %hi(D_80244160) +/* ED46E0 802404C0 24424160 */ addiu $v0, $v0, %lo(D_80244160) +/* ED46E4 802404C4 AFBF004C */ sw $ra, 0x4c($sp) +/* ED46E8 802404C8 AFBE0048 */ sw $fp, 0x48($sp) +/* ED46EC 802404CC AFB70044 */ sw $s7, 0x44($sp) +/* ED46F0 802404D0 AFB5003C */ sw $s5, 0x3c($sp) +/* ED46F4 802404D4 AFB40038 */ sw $s4, 0x38($sp) +/* ED46F8 802404D8 AFB30034 */ sw $s3, 0x34($sp) +/* ED46FC 802404DC AFB20030 */ sw $s2, 0x30($sp) +/* ED4700 802404E0 AFB1002C */ sw $s1, 0x2c($sp) +/* ED4704 802404E4 AFB00028 */ sw $s0, 0x28($sp) +/* ED4708 802404E8 AFA50054 */ sw $a1, 0x54($sp) +/* ED470C 802404EC 8C430000 */ lw $v1, ($v0) +/* ED4710 802404F0 00C0A02D */ daddu $s4, $a2, $zero +/* ED4714 802404F4 24630005 */ addiu $v1, $v1, 5 +/* ED4718 802404F8 AC430000 */ sw $v1, ($v0) +/* ED471C 802404FC 02D4102A */ slt $v0, $s6, $s4 +/* ED4720 80240500 10400177 */ beqz $v0, .L80240AE0 +/* ED4724 80240504 00000000 */ nop +/* ED4728 80240508 8FAA0054 */ lw $t2, 0x54($sp) +/* ED472C 8024050C 0147102A */ slt $v0, $t2, $a3 +/* ED4730 80240510 10400173 */ beqz $v0, .L80240AE0 +/* ED4734 80240514 00000000 */ nop +/* ED4738 80240518 06C20002 */ bltzl $s6, .L80240524 +/* ED473C 8024051C 0000B02D */ daddu $s6, $zero, $zero +/* ED4740 80240520 8FAA0054 */ lw $t2, 0x54($sp) +.L80240524: +/* ED4744 80240524 05420001 */ bltzl $t2, .L8024052C +/* ED4748 80240528 AFA00054 */ sw $zero, 0x54($sp) +.L8024052C: +/* ED474C 8024052C 06820001 */ bltzl $s4, .L80240534 +/* ED4750 80240530 0000A02D */ daddu $s4, $zero, $zero +.L80240534: +/* ED4754 80240534 04E20001 */ bltzl $a3, .L8024053C +/* ED4758 80240538 0000382D */ daddu $a3, $zero, $zero +.L8024053C: +/* ED475C 8024053C 2AC20140 */ slti $v0, $s6, 0x140 +/* ED4760 80240540 50400001 */ beql $v0, $zero, .L80240548 +/* ED4764 80240544 2416013F */ addiu $s6, $zero, 0x13f +.L80240548: +/* ED4768 80240548 8FAA0054 */ lw $t2, 0x54($sp) +/* ED476C 8024054C 294200F0 */ slti $v0, $t2, 0xf0 +/* ED4770 80240550 14400003 */ bnez $v0, .L80240560 +/* ED4774 80240554 2A820140 */ slti $v0, $s4, 0x140 +/* ED4778 80240558 240A00EF */ addiu $t2, $zero, 0xef +/* ED477C 8024055C AFAA0054 */ sw $t2, 0x54($sp) +.L80240560: +/* ED4780 80240560 50400001 */ beql $v0, $zero, .L80240568 +/* ED4784 80240564 2414013F */ addiu $s4, $zero, 0x13f +.L80240568: +/* ED4788 80240568 28E200F0 */ slti $v0, $a3, 0xf0 +/* ED478C 8024056C 50400001 */ beql $v0, $zero, .L80240574 +/* ED4790 80240570 240700EF */ addiu $a3, $zero, 0xef +.L80240574: +/* ED4794 80240574 12D4015A */ beq $s6, $s4, .L80240AE0 +/* ED4798 80240578 00000000 */ nop +/* ED479C 8024057C 8FAA0054 */ lw $t2, 0x54($sp) +/* ED47A0 80240580 11470157 */ beq $t2, $a3, .L80240AE0 +/* ED47A4 80240584 00000000 */ nop +/* ED47A8 80240588 06C10002 */ bgez $s6, .L80240594 +/* ED47AC 8024058C 02C0102D */ daddu $v0, $s6, $zero +/* ED47B0 80240590 26C20003 */ addiu $v0, $s6, 3 +.L80240594: +/* ED47B4 80240594 00021083 */ sra $v0, $v0, 2 +/* ED47B8 80240598 0002B080 */ sll $s6, $v0, 2 +/* ED47BC 8024059C 06810002 */ bgez $s4, .L802405A8 +/* ED47C0 802405A0 0280102D */ daddu $v0, $s4, $zero +/* ED47C4 802405A4 26820003 */ addiu $v0, $s4, 3 +.L802405A8: +/* ED47C8 802405A8 3C042AAA */ lui $a0, 0x2aaa +/* ED47CC 802405AC 3484AAAB */ ori $a0, $a0, 0xaaab +/* ED47D0 802405B0 8FAA0054 */ lw $t2, 0x54($sp) +/* ED47D4 802405B4 00021083 */ sra $v0, $v0, 2 +/* ED47D8 802405B8 00EA1823 */ subu $v1, $a3, $t2 +/* ED47DC 802405BC 00640018 */ mult $v1, $a0 +/* ED47E0 802405C0 00021080 */ sll $v0, $v0, 2 +/* ED47E4 802405C4 24540004 */ addiu $s4, $v0, 4 +/* ED47E8 802405C8 0000F02D */ daddu $fp, $zero, $zero +/* ED47EC 802405CC 000317C3 */ sra $v0, $v1, 0x1f +/* ED47F0 802405D0 00005010 */ mfhi $t2 +/* ED47F4 802405D4 01425023 */ subu $t2, $t2, $v0 +/* ED47F8 802405D8 000A1040 */ sll $v0, $t2, 1 +/* ED47FC 802405DC 004A1021 */ addu $v0, $v0, $t2 +/* ED4800 802405E0 AFAA0014 */ sw $t2, 0x14($sp) +/* ED4804 802405E4 AFAA0010 */ sw $t2, 0x10($sp) +/* ED4808 802405E8 3C0A800A */ lui $t2, %hi(D_800A15A4) +/* ED480C 802405EC 8D4A15A4 */ lw $t2, %lo(D_800A15A4)($t2) +/* ED4810 802405F0 00021040 */ sll $v0, $v0, 1 +/* ED4814 802405F4 AFAA0018 */ sw $t2, 0x18($sp) +/* ED4818 802405F8 8FAA0010 */ lw $t2, 0x10($sp) +/* ED481C 802405FC 00621823 */ subu $v1, $v1, $v0 +/* ED4820 80240600 194000A6 */ blez $t2, .L8024089C +/* ED4824 80240604 AFA30014 */ sw $v1, 0x14($sp) +/* ED4828 80240608 3C13800A */ lui $s3, %hi(D_800A15C4) +/* ED482C 8024060C 267315C4 */ addiu $s3, $s3, %lo(D_800A15C4) +/* ED4830 80240610 02961023 */ subu $v0, $s4, $s6 +/* ED4834 80240614 00021040 */ sll $v0, $v0, 1 +/* ED4838 80240618 24420007 */ addiu $v0, $v0, 7 +/* ED483C 8024061C 000210C3 */ sra $v0, $v0, 3 +/* ED4840 80240620 304201FF */ andi $v0, $v0, 0x1ff +/* ED4844 80240624 00021240 */ sll $v0, $v0, 9 +/* ED4848 80240628 3C03F510 */ lui $v1, 0xf510 +/* ED484C 8024062C 8FB70054 */ lw $s7, 0x54($sp) +/* ED4850 80240630 00431025 */ or $v0, $v0, $v1 +/* ED4854 80240634 AFA2001C */ sw $v0, 0x1c($sp) +/* ED4858 80240638 AFA00020 */ sw $zero, 0x20($sp) +/* ED485C 8024063C 02E0A82D */ daddu $s5, $s7, $zero +.L80240640: +/* ED4860 80240640 26B2FFFA */ addiu $s2, $s5, -6 +/* ED4864 80240644 0640008C */ bltz $s2, .L80240878 +/* ED4868 80240648 00122840 */ sll $a1, $s2, 1 +/* ED486C 8024064C 28A20100 */ slti $v0, $a1, 0x100 +/* ED4870 80240650 50400001 */ beql $v0, $zero, .L80240658 +/* ED4874 80240654 240500FF */ addiu $a1, $zero, 0xff +.L80240658: +/* ED4878 80240658 3C02FA00 */ lui $v0, 0xfa00 +/* ED487C 8024065C 8E710000 */ lw $s1, ($s3) +/* ED4880 80240660 8FA40018 */ lw $a0, 0x18($sp) +/* ED4884 80240664 0220182D */ daddu $v1, $s1, $zero +/* ED4888 80240668 26310008 */ addiu $s1, $s1, 8 +/* ED488C 8024066C AE710000 */ sw $s1, ($s3) +/* ED4890 80240670 AC620000 */ sw $v0, ($v1) +/* ED4894 80240674 2402FF00 */ addiu $v0, $zero, -0x100 +/* ED4898 80240678 00A21025 */ or $v0, $a1, $v0 +/* ED489C 8024067C AC620004 */ sw $v0, 4($v1) +/* ED48A0 80240680 26220008 */ addiu $v0, $s1, 8 +/* ED48A4 80240684 0C019BF8 */ jal func_80066FE0 +/* ED48A8 80240688 AE620000 */ sw $v0, ($s3) +/* ED48AC 8024068C 30420007 */ andi $v0, $v0, 7 +/* ED48B0 80240690 1040000C */ beqz $v0, .L802406C4 +/* ED48B4 80240694 3C02FD10 */ lui $v0, 0xfd10 +/* ED48B8 80240698 8FA40018 */ lw $a0, 0x18($sp) +/* ED48BC 8024069C 0C019BF8 */ jal func_80066FE0 +/* ED48C0 802406A0 00000000 */ nop +/* ED48C4 802406A4 3C048024 */ lui $a0, %hi(D_80244BB8) +/* ED48C8 802406A8 24844BB8 */ addiu $a0, $a0, %lo(D_80244BB8) +/* ED48CC 802406AC 3C058024 */ lui $a1, %hi(D_80244BEC) +/* ED48D0 802406B0 24A54BEC */ addiu $a1, $a1, %lo(D_80244BEC) +/* ED48D4 802406B4 24060053 */ addiu $a2, $zero, 0x53 +/* ED48D8 802406B8 0C00973F */ jal func_80025CFC +/* ED48DC 802406BC 0040382D */ daddu $a3, $v0, $zero +/* ED48E0 802406C0 3C02FD10 */ lui $v0, 0xfd10 +.L802406C4: +/* ED48E4 802406C4 8FA40018 */ lw $a0, 0x18($sp) +/* ED48E8 802406C8 3442013F */ ori $v0, $v0, 0x13f +/* ED48EC 802406CC 0C019BF8 */ jal func_80066FE0 +/* ED48F0 802406D0 AE220000 */ sw $v0, ($s1) +/* ED48F4 802406D4 3C030700 */ lui $v1, 0x700 +/* ED48F8 802406D8 34630090 */ ori $v1, $v1, 0x90 +/* ED48FC 802406DC 00163080 */ sll $a2, $s6, 2 +/* ED4900 802406E0 30C60FFF */ andi $a2, $a2, 0xfff +/* ED4904 802406E4 00063300 */ sll $a2, $a2, 0xc +/* ED4908 802406E8 00122080 */ sll $a0, $s2, 2 +/* ED490C 802406EC 30840FFF */ andi $a0, $a0, 0xfff +/* ED4910 802406F0 26A5FFFF */ addiu $a1, $s5, -1 +/* ED4914 802406F4 8E700000 */ lw $s0, ($s3) +/* ED4918 802406F8 00052880 */ sll $a1, $a1, 2 +/* ED491C 802406FC AE220004 */ sw $v0, 4($s1) +/* ED4920 80240700 0200102D */ daddu $v0, $s0, $zero +/* ED4924 80240704 26100008 */ addiu $s0, $s0, 8 +/* ED4928 80240708 AE700000 */ sw $s0, ($s3) +/* ED492C 8024070C 8FAA001C */ lw $t2, 0x1c($sp) +/* ED4930 80240710 30A50FFF */ andi $a1, $a1, 0xfff +/* ED4934 80240714 AC430004 */ sw $v1, 4($v0) +/* ED4938 80240718 2683FFFF */ addiu $v1, $s4, -1 +/* ED493C 8024071C 00031880 */ sll $v1, $v1, 2 +/* ED4940 80240720 30630FFF */ andi $v1, $v1, 0xfff +/* ED4944 80240724 00031B00 */ sll $v1, $v1, 0xc +/* ED4948 80240728 AC4A0000 */ sw $t2, ($v0) +/* ED494C 8024072C 26020008 */ addiu $v0, $s0, 8 +/* ED4950 80240730 AE620000 */ sw $v0, ($s3) +/* ED4954 80240734 3C02E600 */ lui $v0, 0xe600 +/* ED4958 80240738 AE020000 */ sw $v0, ($s0) +/* ED495C 8024073C 26020010 */ addiu $v0, $s0, 0x10 +/* ED4960 80240740 AE000004 */ sw $zero, 4($s0) +/* ED4964 80240744 AE620000 */ sw $v0, ($s3) +/* ED4968 80240748 3C02F400 */ lui $v0, 0xf400 +/* ED496C 8024074C 00821025 */ or $v0, $a0, $v0 +/* ED4970 80240750 00C21025 */ or $v0, $a2, $v0 +/* ED4974 80240754 AE020008 */ sw $v0, 8($s0) +/* ED4978 80240758 3C020700 */ lui $v0, 0x700 +/* ED497C 8024075C 00A21025 */ or $v0, $a1, $v0 +/* ED4980 80240760 00621025 */ or $v0, $v1, $v0 +/* ED4984 80240764 AE02000C */ sw $v0, 0xc($s0) +/* ED4988 80240768 26020018 */ addiu $v0, $s0, 0x18 +/* ED498C 8024076C AE620000 */ sw $v0, ($s3) +/* ED4990 80240770 3C02E700 */ lui $v0, 0xe700 +/* ED4994 80240774 AE020010 */ sw $v0, 0x10($s0) +/* ED4998 80240778 26020020 */ addiu $v0, $s0, 0x20 +/* ED499C 8024077C AE000014 */ sw $zero, 0x14($s0) +/* ED49A0 80240780 AE620000 */ sw $v0, ($s3) +/* ED49A4 80240784 24020090 */ addiu $v0, $zero, 0x90 +/* ED49A8 80240788 AE02001C */ sw $v0, 0x1c($s0) +/* ED49AC 8024078C 26020028 */ addiu $v0, $s0, 0x28 +/* ED49B0 80240790 AE0A0018 */ sw $t2, 0x18($s0) +/* ED49B4 80240794 AE620000 */ sw $v0, ($s3) +/* ED49B8 80240798 3C02F200 */ lui $v0, 0xf200 +/* ED49BC 8024079C 00822025 */ or $a0, $a0, $v0 +/* ED49C0 802407A0 00C42025 */ or $a0, $a2, $a0 +/* ED49C4 802407A4 00651825 */ or $v1, $v1, $a1 +/* ED49C8 802407A8 26020030 */ addiu $v0, $s0, 0x30 +/* ED49CC 802407AC AE040020 */ sw $a0, 0x20($s0) +/* ED49D0 802407B0 00142080 */ sll $a0, $s4, 2 +/* ED49D4 802407B4 30840FFF */ andi $a0, $a0, 0xfff +/* ED49D8 802407B8 00042300 */ sll $a0, $a0, 0xc +/* ED49DC 802407BC AE030024 */ sw $v1, 0x24($s0) +/* ED49E0 802407C0 AE620000 */ sw $v0, ($s3) +/* ED49E4 802407C4 26E20006 */ addiu $v0, $s7, 6 +/* ED49E8 802407C8 00021080 */ sll $v0, $v0, 2 +/* ED49EC 802407CC 30420FFF */ andi $v0, $v0, 0xfff +/* ED49F0 802407D0 3C03E400 */ lui $v1, 0xe400 +/* ED49F4 802407D4 00431025 */ or $v0, $v0, $v1 +/* ED49F8 802407D8 00822025 */ or $a0, $a0, $v0 +/* ED49FC 802407DC 00171080 */ sll $v0, $s7, 2 +/* ED4A00 802407E0 30420FFF */ andi $v0, $v0, 0xfff +/* ED4A04 802407E4 00C23025 */ or $a2, $a2, $v0 +/* ED4A08 802407E8 26020038 */ addiu $v0, $s0, 0x38 +/* ED4A0C 802407EC AE040028 */ sw $a0, 0x28($s0) +/* ED4A10 802407F0 AE06002C */ sw $a2, 0x2c($s0) +/* ED4A14 802407F4 AE620000 */ sw $v0, ($s3) +/* ED4A18 802407F8 3C02E100 */ lui $v0, 0xe100 +/* ED4A1C 802407FC 00161D40 */ sll $v1, $s6, 0x15 +/* ED4A20 80240800 AE020030 */ sw $v0, 0x30($s0) +/* ED4A24 80240804 00151140 */ sll $v0, $s5, 5 +/* ED4A28 80240808 3042FFFF */ andi $v0, $v0, 0xffff +/* ED4A2C 8024080C 00621825 */ or $v1, $v1, $v0 +/* ED4A30 80240810 26020040 */ addiu $v0, $s0, 0x40 +/* ED4A34 80240814 AE030034 */ sw $v1, 0x34($s0) +/* ED4A38 80240818 AE620000 */ sw $v0, ($s3) +/* ED4A3C 8024081C 3C038024 */ lui $v1, %hi(D_80244160) +/* ED4A40 80240820 8C634160 */ lw $v1, %lo(D_80244160)($v1) +/* ED4A44 80240824 3C02F100 */ lui $v0, 0xf100 +/* ED4A48 80240828 AE020038 */ sw $v0, 0x38($s0) +/* ED4A4C 8024082C 8FAA0020 */ lw $t2, 0x20($sp) +/* ED4A50 80240830 006A1821 */ addu $v1, $v1, $t2 +/* ED4A54 80240834 44836000 */ mtc1 $v1, $f12 +/* ED4A58 80240838 00000000 */ nop +/* ED4A5C 8024083C 0C00AD77 */ jal func_8002B5DC +/* ED4A60 80240840 46806320 */ cvt.s.w $f12, $f12 +/* ED4A64 80240844 3C0143FA */ lui $at, 0x43fa +/* ED4A68 80240848 44811000 */ mtc1 $at, $f2 +/* ED4A6C 8024084C 00000000 */ nop +/* ED4A70 80240850 46020002 */ mul.s $f0, $f0, $f2 +/* ED4A74 80240854 00000000 */ nop +/* ED4A78 80240858 3C030400 */ lui $v1, 0x400 +/* ED4A7C 8024085C 4600010D */ trunc.w.s $f4, $f0 +/* ED4A80 80240860 44022000 */ mfc1 $v0, $f4 +/* ED4A84 80240864 00000000 */ nop +/* ED4A88 80240868 2442FE0C */ addiu $v0, $v0, -0x1f4 +/* ED4A8C 8024086C 3042FFFF */ andi $v0, $v0, 0xffff +/* ED4A90 80240870 00431025 */ or $v0, $v0, $v1 +/* ED4A94 80240874 AE02003C */ sw $v0, 0x3c($s0) +.L80240878: +/* ED4A98 80240878 26F70006 */ addiu $s7, $s7, 6 +/* ED4A9C 8024087C 8FAA0020 */ lw $t2, 0x20($sp) +/* ED4AA0 80240880 254A001E */ addiu $t2, $t2, 0x1e +/* ED4AA4 80240884 AFAA0020 */ sw $t2, 0x20($sp) +/* ED4AA8 80240888 8FAA0010 */ lw $t2, 0x10($sp) +/* ED4AAC 8024088C 27DE0001 */ addiu $fp, $fp, 1 +/* ED4AB0 80240890 03CA102A */ slt $v0, $fp, $t2 +/* ED4AB4 80240894 1440FF6A */ bnez $v0, .L80240640 +/* ED4AB8 80240898 26B5FFFA */ addiu $s5, $s5, -6 +.L8024089C: +/* ED4ABC 8024089C 8FAA0014 */ lw $t2, 0x14($sp) +/* ED4AC0 802408A0 1140008F */ beqz $t2, .L80240AE0 +/* ED4AC4 802408A4 001E1040 */ sll $v0, $fp, 1 +/* ED4AC8 802408A8 005E1021 */ addu $v0, $v0, $fp +/* ED4ACC 802408AC 8FAA0054 */ lw $t2, 0x54($sp) +/* ED4AD0 802408B0 00029840 */ sll $s3, $v0, 1 +/* ED4AD4 802408B4 01539023 */ subu $s2, $t2, $s3 +/* ED4AD8 802408B8 2642FFFA */ addiu $v0, $s2, -6 +/* ED4ADC 802408BC 04400088 */ bltz $v0, .L80240AE0 +/* ED4AE0 802408C0 00022840 */ sll $a1, $v0, 1 +/* ED4AE4 802408C4 28A20100 */ slti $v0, $a1, 0x100 +/* ED4AE8 802408C8 50400001 */ beql $v0, $zero, .L802408D0 +/* ED4AEC 802408CC 240500FF */ addiu $a1, $zero, 0xff +.L802408D0: +/* ED4AF0 802408D0 3C11800A */ lui $s1, %hi(D_800A15C4) +/* ED4AF4 802408D4 263115C4 */ addiu $s1, $s1, %lo(D_800A15C4) +/* ED4AF8 802408D8 3C02FA00 */ lui $v0, 0xfa00 +/* ED4AFC 802408DC 8E300000 */ lw $s0, ($s1) +/* ED4B00 802408E0 8FA40018 */ lw $a0, 0x18($sp) +/* ED4B04 802408E4 0200182D */ daddu $v1, $s0, $zero +/* ED4B08 802408E8 26100008 */ addiu $s0, $s0, 8 +/* ED4B0C 802408EC AE300000 */ sw $s0, ($s1) +/* ED4B10 802408F0 AC620000 */ sw $v0, ($v1) +/* ED4B14 802408F4 2402FF00 */ addiu $v0, $zero, -0x100 +/* ED4B18 802408F8 00A21025 */ or $v0, $a1, $v0 +/* ED4B1C 802408FC AC620004 */ sw $v0, 4($v1) +/* ED4B20 80240900 26020008 */ addiu $v0, $s0, 8 +/* ED4B24 80240904 0C019BF8 */ jal func_80066FE0 +/* ED4B28 80240908 AE220000 */ sw $v0, ($s1) +/* ED4B2C 8024090C 30420007 */ andi $v0, $v0, 7 +/* ED4B30 80240910 1040000C */ beqz $v0, .L80240944 +/* ED4B34 80240914 3C02FD10 */ lui $v0, 0xfd10 +/* ED4B38 80240918 8FA40018 */ lw $a0, 0x18($sp) +/* ED4B3C 8024091C 0C019BF8 */ jal func_80066FE0 +/* ED4B40 80240920 00000000 */ nop +/* ED4B44 80240924 3C048024 */ lui $a0, %hi(D_80244BB8) +/* ED4B48 80240928 24844BB8 */ addiu $a0, $a0, %lo(D_80244BB8) +/* ED4B4C 8024092C 3C058024 */ lui $a1, %hi(D_80244BEC) +/* ED4B50 80240930 24A54BEC */ addiu $a1, $a1, %lo(D_80244BEC) +/* ED4B54 80240934 2406006B */ addiu $a2, $zero, 0x6b +/* ED4B58 80240938 0C00973F */ jal func_80025CFC +/* ED4B5C 8024093C 0040382D */ daddu $a3, $v0, $zero +/* ED4B60 80240940 3C02FD10 */ lui $v0, 0xfd10 +.L80240944: +/* ED4B64 80240944 8FA40018 */ lw $a0, 0x18($sp) +/* ED4B68 80240948 3442013F */ ori $v0, $v0, 0x13f +/* ED4B6C 8024094C 0C019BF8 */ jal func_80066FE0 +/* ED4B70 80240950 AE020000 */ sw $v0, ($s0) +/* ED4B74 80240954 3C050700 */ lui $a1, 0x700 +/* ED4B78 80240958 34A50090 */ ori $a1, $a1, 0x90 +/* ED4B7C 8024095C 3C090400 */ lui $t1, 0x400 +/* ED4B80 80240960 3529FC00 */ ori $t1, $t1, 0xfc00 +/* ED4B84 80240964 02962023 */ subu $a0, $s4, $s6 +/* ED4B88 80240968 00042040 */ sll $a0, $a0, 1 +/* ED4B8C 8024096C 24840007 */ addiu $a0, $a0, 7 +/* ED4B90 80240970 000420C3 */ sra $a0, $a0, 3 +/* ED4B94 80240974 308401FF */ andi $a0, $a0, 0x1ff +/* ED4B98 80240978 8E260000 */ lw $a2, ($s1) +/* ED4B9C 8024097C 00042240 */ sll $a0, $a0, 9 +/* ED4BA0 80240980 AE020004 */ sw $v0, 4($s0) +/* ED4BA4 80240984 3C02F510 */ lui $v0, 0xf510 +/* ED4BA8 80240988 00822025 */ or $a0, $a0, $v0 +/* ED4BAC 8024098C 00164080 */ sll $t0, $s6, 2 +/* ED4BB0 80240990 31080FFF */ andi $t0, $t0, 0xfff +/* ED4BB4 80240994 00084300 */ sll $t0, $t0, 0xc +/* ED4BB8 80240998 2647FFFF */ addiu $a3, $s2, -1 +/* ED4BBC 8024099C 00073880 */ sll $a3, $a3, 2 +/* ED4BC0 802409A0 30E70FFF */ andi $a3, $a3, 0xfff +/* ED4BC4 802409A4 00C0182D */ daddu $v1, $a2, $zero +/* ED4BC8 802409A8 24C60008 */ addiu $a2, $a2, 8 +/* ED4BCC 802409AC 24C20008 */ addiu $v0, $a2, 8 +/* ED4BD0 802409B0 AE260000 */ sw $a2, ($s1) +/* ED4BD4 802409B4 AC640000 */ sw $a0, ($v1) +/* ED4BD8 802409B8 AC650004 */ sw $a1, 4($v1) +/* ED4BDC 802409BC AE220000 */ sw $v0, ($s1) +/* ED4BE0 802409C0 3C02E600 */ lui $v0, 0xe600 +/* ED4BE4 802409C4 ACC20000 */ sw $v0, ($a2) +/* ED4BE8 802409C8 24C20010 */ addiu $v0, $a2, 0x10 +/* ED4BEC 802409CC ACC00004 */ sw $zero, 4($a2) +/* ED4BF0 802409D0 AE220000 */ sw $v0, ($s1) +/* ED4BF4 802409D4 3C02F400 */ lui $v0, 0xf400 +/* ED4BF8 802409D8 2683FFFF */ addiu $v1, $s4, -1 +/* ED4BFC 802409DC 00031880 */ sll $v1, $v1, 2 +/* ED4C00 802409E0 30630FFF */ andi $v1, $v1, 0xfff +/* ED4C04 802409E4 8FAA0014 */ lw $t2, 0x14($sp) +/* ED4C08 802409E8 00031B00 */ sll $v1, $v1, 0xc +/* ED4C0C 802409EC 024A2823 */ subu $a1, $s2, $t2 +/* ED4C10 802409F0 00052880 */ sll $a1, $a1, 2 +/* ED4C14 802409F4 30A50FFF */ andi $a1, $a1, 0xfff +/* ED4C18 802409F8 00A21025 */ or $v0, $a1, $v0 +/* ED4C1C 802409FC 01021025 */ or $v0, $t0, $v0 +/* ED4C20 80240A00 ACC20008 */ sw $v0, 8($a2) +/* ED4C24 80240A04 3C020700 */ lui $v0, 0x700 +/* ED4C28 80240A08 00E21025 */ or $v0, $a3, $v0 +/* ED4C2C 80240A0C 00621025 */ or $v0, $v1, $v0 +/* ED4C30 80240A10 ACC2000C */ sw $v0, 0xc($a2) +/* ED4C34 80240A14 24C20018 */ addiu $v0, $a2, 0x18 +/* ED4C38 80240A18 AE220000 */ sw $v0, ($s1) +/* ED4C3C 80240A1C 3C02E700 */ lui $v0, 0xe700 +/* ED4C40 80240A20 ACC20010 */ sw $v0, 0x10($a2) +/* ED4C44 80240A24 24C20020 */ addiu $v0, $a2, 0x20 +/* ED4C48 80240A28 ACC00014 */ sw $zero, 0x14($a2) +/* ED4C4C 80240A2C AE220000 */ sw $v0, ($s1) +/* ED4C50 80240A30 24020090 */ addiu $v0, $zero, 0x90 +/* ED4C54 80240A34 ACC2001C */ sw $v0, 0x1c($a2) +/* ED4C58 80240A38 24C20028 */ addiu $v0, $a2, 0x28 +/* ED4C5C 80240A3C ACC40018 */ sw $a0, 0x18($a2) +/* ED4C60 80240A40 AE220000 */ sw $v0, ($s1) +/* ED4C64 80240A44 3C02F200 */ lui $v0, 0xf200 +/* ED4C68 80240A48 00A22825 */ or $a1, $a1, $v0 +/* ED4C6C 80240A4C 01052825 */ or $a1, $t0, $a1 +/* ED4C70 80240A50 00671825 */ or $v1, $v1, $a3 +/* ED4C74 80240A54 24C20030 */ addiu $v0, $a2, 0x30 +/* ED4C78 80240A58 ACC30024 */ sw $v1, 0x24($a2) +/* ED4C7C 80240A5C 00141880 */ sll $v1, $s4, 2 +/* ED4C80 80240A60 30630FFF */ andi $v1, $v1, 0xfff +/* ED4C84 80240A64 ACC50020 */ sw $a1, 0x20($a2) +/* ED4C88 80240A68 AE220000 */ sw $v0, ($s1) +/* ED4C8C 80240A6C 8FAA0054 */ lw $t2, 0x54($sp) +/* ED4C90 80240A70 00031B00 */ sll $v1, $v1, 0xc +/* ED4C94 80240A74 01532821 */ addu $a1, $t2, $s3 +/* ED4C98 80240A78 8FAA0014 */ lw $t2, 0x14($sp) +/* ED4C9C 80240A7C 3C04E400 */ lui $a0, 0xe400 +/* ED4CA0 80240A80 00AA1021 */ addu $v0, $a1, $t2 +/* ED4CA4 80240A84 00021080 */ sll $v0, $v0, 2 +/* ED4CA8 80240A88 30420FFF */ andi $v0, $v0, 0xfff +/* ED4CAC 80240A8C 00441025 */ or $v0, $v0, $a0 +/* ED4CB0 80240A90 00621825 */ or $v1, $v1, $v0 +/* ED4CB4 80240A94 00052880 */ sll $a1, $a1, 2 +/* ED4CB8 80240A98 30A50FFF */ andi $a1, $a1, 0xfff +/* ED4CBC 80240A9C 01054025 */ or $t0, $t0, $a1 +/* ED4CC0 80240AA0 24C20038 */ addiu $v0, $a2, 0x38 +/* ED4CC4 80240AA4 ACC30028 */ sw $v1, 0x28($a2) +/* ED4CC8 80240AA8 ACC8002C */ sw $t0, 0x2c($a2) +/* ED4CCC 80240AAC AE220000 */ sw $v0, ($s1) +/* ED4CD0 80240AB0 3C02E100 */ lui $v0, 0xe100 +/* ED4CD4 80240AB4 00161D40 */ sll $v1, $s6, 0x15 +/* ED4CD8 80240AB8 ACC20030 */ sw $v0, 0x30($a2) +/* ED4CDC 80240ABC 00121140 */ sll $v0, $s2, 5 +/* ED4CE0 80240AC0 3042FFFF */ andi $v0, $v0, 0xffff +/* ED4CE4 80240AC4 00621825 */ or $v1, $v1, $v0 +/* ED4CE8 80240AC8 24C20040 */ addiu $v0, $a2, 0x40 +/* ED4CEC 80240ACC ACC30034 */ sw $v1, 0x34($a2) +/* ED4CF0 80240AD0 AE220000 */ sw $v0, ($s1) +/* ED4CF4 80240AD4 3C02F100 */ lui $v0, 0xf100 +/* ED4CF8 80240AD8 ACC20038 */ sw $v0, 0x38($a2) +/* ED4CFC 80240ADC ACC9003C */ sw $t1, 0x3c($a2) +.L80240AE0: +/* ED4D00 80240AE0 8FBF004C */ lw $ra, 0x4c($sp) +/* ED4D04 80240AE4 8FBE0048 */ lw $fp, 0x48($sp) +/* ED4D08 80240AE8 8FB70044 */ lw $s7, 0x44($sp) +/* ED4D0C 80240AEC 8FB60040 */ lw $s6, 0x40($sp) +/* ED4D10 80240AF0 8FB5003C */ lw $s5, 0x3c($sp) +/* ED4D14 80240AF4 8FB40038 */ lw $s4, 0x38($sp) +/* ED4D18 80240AF8 8FB30034 */ lw $s3, 0x34($sp) +/* ED4D1C 80240AFC 8FB20030 */ lw $s2, 0x30($sp) +/* ED4D20 80240B00 8FB1002C */ lw $s1, 0x2c($sp) +/* ED4D24 80240B04 8FB00028 */ lw $s0, 0x28($sp) +/* ED4D28 80240B08 03E00008 */ jr $ra +/* ED4D2C 80240B0C 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_ED46D0/func_80240B10_ED4D30.s b/asm/nonmatchings/code_ED46D0/func_80240B10_ED4D30.s new file mode 100644 index 0000000000..a870a0ed55 --- /dev/null +++ b/asm/nonmatchings/code_ED46D0/func_80240B10_ED4D30.s @@ -0,0 +1,540 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240B10_ED4D30 +/* ED4D30 80240B10 27BDFF68 */ addiu $sp, $sp, -0x98 +/* ED4D34 80240B14 24040030 */ addiu $a0, $zero, 0x30 +/* ED4D38 80240B18 3C038008 */ lui $v1, %hi(D_8007C760) +/* ED4D3C 80240B1C 8C63C760 */ lw $v1, %lo(D_8007C760)($v1) +/* ED4D40 80240B20 3C05800C */ lui $a1, %hi(D_800B8D80) +/* ED4D44 80240B24 24A58D80 */ addiu $a1, $a1, %lo(D_800B8D80) +/* ED4D48 80240B28 AFBF0064 */ sw $ra, 0x64($sp) +/* ED4D4C 80240B2C AFBE0060 */ sw $fp, 0x60($sp) +/* ED4D50 80240B30 AFB7005C */ sw $s7, 0x5c($sp) +/* ED4D54 80240B34 AFB60058 */ sw $s6, 0x58($sp) +/* ED4D58 80240B38 AFB50054 */ sw $s5, 0x54($sp) +/* ED4D5C 80240B3C AFB40050 */ sw $s4, 0x50($sp) +/* ED4D60 80240B40 AFB3004C */ sw $s3, 0x4c($sp) +/* ED4D64 80240B44 AFB20048 */ sw $s2, 0x48($sp) +/* ED4D68 80240B48 AFB10044 */ sw $s1, 0x44($sp) +/* ED4D6C 80240B4C AFB00040 */ sw $s0, 0x40($sp) +/* ED4D70 80240B50 F7BE0090 */ sdc1 $f30, 0x90($sp) +/* ED4D74 80240B54 F7BC0088 */ sdc1 $f28, 0x88($sp) +/* ED4D78 80240B58 F7BA0080 */ sdc1 $f26, 0x80($sp) +/* ED4D7C 80240B5C F7B80078 */ sdc1 $f24, 0x78($sp) +/* ED4D80 80240B60 F7B60070 */ sdc1 $f22, 0x70($sp) +/* ED4D84 80240B64 F7B40068 */ sdc1 $f20, 0x68($sp) +/* ED4D88 80240B68 00031080 */ sll $v0, $v1, 2 +/* ED4D8C 80240B6C 00431021 */ addu $v0, $v0, $v1 +/* ED4D90 80240B70 00021080 */ sll $v0, $v0, 2 +/* ED4D94 80240B74 00431023 */ subu $v0, $v0, $v1 +/* ED4D98 80240B78 000218C0 */ sll $v1, $v0, 3 +/* ED4D9C 80240B7C 00431021 */ addu $v0, $v0, $v1 +/* ED4DA0 80240B80 000210C0 */ sll $v0, $v0, 3 +/* ED4DA4 80240B84 0C04949C */ jal func_80125270 +/* ED4DA8 80240B88 0045B021 */ addu $s6, $v0, $a1 +/* ED4DAC 80240B8C 0C0493D1 */ jal func_80124F44 +/* ED4DB0 80240B90 0040202D */ daddu $a0, $v0, $zero +/* ED4DB4 80240B94 0040882D */ daddu $s1, $v0, $zero +/* ED4DB8 80240B98 27B50028 */ addiu $s5, $sp, 0x28 +/* ED4DBC 80240B9C 27B3002C */ addiu $s3, $sp, 0x2c +/* ED4DC0 80240BA0 27B40030 */ addiu $s4, $sp, 0x30 +/* ED4DC4 80240BA4 27B20034 */ addiu $s2, $sp, 0x34 +/* ED4DC8 80240BA8 8E220008 */ lw $v0, 8($s1) +/* ED4DCC 80240BAC C6200098 */ lwc1 $f0, 0x98($s1) +/* ED4DD0 80240BB0 8C42000C */ lw $v0, 0xc($v0) +/* ED4DD4 80240BB4 3C013F80 */ lui $at, 0x3f80 +/* ED4DD8 80240BB8 4481C000 */ mtc1 $at, $f24 +/* ED4DDC 80240BBC C45E0004 */ lwc1 $f30, 4($v0) +/* ED4DE0 80240BC0 4680F7A0 */ cvt.s.w $f30, $f30 +/* ED4DE4 80240BC4 461E0001 */ sub.s $f0, $f0, $f30 +/* ED4DE8 80240BC8 C448001C */ lwc1 $f8, 0x1c($v0) +/* ED4DEC 80240BCC 46804220 */ cvt.s.w $f8, $f8 +/* ED4DF0 80240BD0 E7A80038 */ swc1 $f8, 0x38($sp) +/* ED4DF4 80240BD4 44050000 */ mfc1 $a1, $f0 +/* ED4DF8 80240BD8 C62000A0 */ lwc1 $f0, 0xa0($s1) +/* ED4DFC 80240BDC 26D000D4 */ addiu $s0, $s6, 0xd4 +/* ED4E00 80240BE0 E7B80010 */ swc1 $f24, 0x10($sp) +/* ED4E04 80240BE4 AFB50014 */ sw $s5, 0x14($sp) +/* ED4E08 80240BE8 AFB30018 */ sw $s3, 0x18($sp) +/* ED4E0C 80240BEC AFB4001C */ sw $s4, 0x1c($sp) +/* ED4E10 80240BF0 46080201 */ sub.s $f8, $f0, $f8 +/* ED4E14 80240BF4 AFB20020 */ sw $s2, 0x20($sp) +/* ED4E18 80240BF8 8E26009C */ lw $a2, 0x9c($s1) +/* ED4E1C 80240BFC 44074000 */ mfc1 $a3, $f8 +/* ED4E20 80240C00 0C00AA44 */ jal func_8002A910 +/* ED4E24 80240C04 0200202D */ daddu $a0, $s0, $zero +/* ED4E28 80240C08 C7A00034 */ lwc1 $f0, 0x34($sp) +/* ED4E2C 80240C0C C7A60028 */ lwc1 $f6, 0x28($sp) +/* ED4E30 80240C10 4600C003 */ div.s $f0, $f24, $f0 +/* ED4E34 80240C14 46003182 */ mul.s $f6, $f6, $f0 +/* ED4E38 80240C18 00000000 */ nop +/* ED4E3C 80240C1C C7A4002C */ lwc1 $f4, 0x2c($sp) +/* ED4E40 80240C20 46000087 */ neg.s $f2, $f0 +/* ED4E44 80240C24 46022102 */ mul.s $f4, $f4, $f2 +/* ED4E48 80240C28 00000000 */ nop +/* ED4E4C 80240C2C C7A20030 */ lwc1 $f2, 0x30($sp) +/* ED4E50 80240C30 46001082 */ mul.s $f2, $f2, $f0 +/* ED4E54 80240C34 00000000 */ nop +/* ED4E58 80240C38 44804000 */ mtc1 $zero, $f8 +/* ED4E5C 80240C3C 00000000 */ nop +/* ED4E60 80240C40 4608003C */ c.lt.s $f0, $f8 +/* ED4E64 80240C44 E7A00034 */ swc1 $f0, 0x34($sp) +/* ED4E68 80240C48 E7A60028 */ swc1 $f6, 0x28($sp) +/* ED4E6C 80240C4C E7A4002C */ swc1 $f4, 0x2c($sp) +/* ED4E70 80240C50 45000003 */ bc1f .L80240C60 +/* ED4E74 80240C54 E7A20030 */ swc1 $f2, 0x30($sp) +/* ED4E78 80240C58 E7A80028 */ swc1 $f8, 0x28($sp) +/* ED4E7C 80240C5C E7B8002C */ swc1 $f24, 0x2c($sp) +.L80240C60: +/* ED4E80 80240C60 C7B60028 */ lwc1 $f22, 0x28($sp) +/* ED4E84 80240C64 C7B4002C */ lwc1 $f20, 0x2c($sp) +/* ED4E88 80240C68 C6200098 */ lwc1 $f0, 0x98($s1) +/* ED4E8C 80240C6C C62200A0 */ lwc1 $f2, 0xa0($s1) +/* ED4E90 80240C70 C7A80038 */ lwc1 $f8, 0x38($sp) +/* ED4E94 80240C74 E7B80010 */ swc1 $f24, 0x10($sp) +/* ED4E98 80240C78 AFB50014 */ sw $s5, 0x14($sp) +/* ED4E9C 80240C7C AFB30018 */ sw $s3, 0x18($sp) +/* ED4EA0 80240C80 461E0001 */ sub.s $f0, $f0, $f30 +/* ED4EA4 80240C84 AFB4001C */ sw $s4, 0x1c($sp) +/* ED4EA8 80240C88 AFB20020 */ sw $s2, 0x20($sp) +/* ED4EAC 80240C8C 46081200 */ add.s $f8, $f2, $f8 +/* ED4EB0 80240C90 8E26009C */ lw $a2, 0x9c($s1) +/* ED4EB4 80240C94 44050000 */ mfc1 $a1, $f0 +/* ED4EB8 80240C98 44074000 */ mfc1 $a3, $f8 +/* ED4EBC 80240C9C 0C00AA44 */ jal func_8002A910 +/* ED4EC0 80240CA0 0200202D */ daddu $a0, $s0, $zero +/* ED4EC4 80240CA4 C7A00034 */ lwc1 $f0, 0x34($sp) +/* ED4EC8 80240CA8 C7A60028 */ lwc1 $f6, 0x28($sp) +/* ED4ECC 80240CAC 4600C003 */ div.s $f0, $f24, $f0 +/* ED4ED0 80240CB0 46003182 */ mul.s $f6, $f6, $f0 +/* ED4ED4 80240CB4 00000000 */ nop +/* ED4ED8 80240CB8 C7A4002C */ lwc1 $f4, 0x2c($sp) +/* ED4EDC 80240CBC 46000087 */ neg.s $f2, $f0 +/* ED4EE0 80240CC0 46022102 */ mul.s $f4, $f4, $f2 +/* ED4EE4 80240CC4 00000000 */ nop +/* ED4EE8 80240CC8 C7A20030 */ lwc1 $f2, 0x30($sp) +/* ED4EEC 80240CCC 46001082 */ mul.s $f2, $f2, $f0 +/* ED4EF0 80240CD0 00000000 */ nop +/* ED4EF4 80240CD4 4600B686 */ mov.s $f26, $f22 +/* ED4EF8 80240CD8 44804000 */ mtc1 $zero, $f8 +/* ED4EFC 80240CDC 4600A706 */ mov.s $f28, $f20 +/* ED4F00 80240CE0 4608003C */ c.lt.s $f0, $f8 +/* ED4F04 80240CE4 E7A00034 */ swc1 $f0, 0x34($sp) +/* ED4F08 80240CE8 E7A60028 */ swc1 $f6, 0x28($sp) +/* ED4F0C 80240CEC E7A4002C */ swc1 $f4, 0x2c($sp) +/* ED4F10 80240CF0 45000003 */ bc1f .L80240D00 +/* ED4F14 80240CF4 E7A20030 */ swc1 $f2, 0x30($sp) +/* ED4F18 80240CF8 E7A80028 */ swc1 $f8, 0x28($sp) +/* ED4F1C 80240CFC E7B8002C */ swc1 $f24, 0x2c($sp) +.L80240D00: +/* ED4F20 80240D00 C7A20028 */ lwc1 $f2, 0x28($sp) +/* ED4F24 80240D04 4616103C */ c.lt.s $f2, $f22 +/* ED4F28 80240D08 00000000 */ nop +/* ED4F2C 80240D0C 45030001 */ bc1tl .L80240D14 +/* ED4F30 80240D10 46001686 */ mov.s $f26, $f2 +.L80240D14: +/* ED4F34 80240D14 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* ED4F38 80240D18 4614003C */ c.lt.s $f0, $f20 +/* ED4F3C 80240D1C 00000000 */ nop +/* ED4F40 80240D20 45030001 */ bc1tl .L80240D28 +/* ED4F44 80240D24 46000706 */ mov.s $f28, $f0 +.L80240D28: +/* ED4F48 80240D28 4602B03C */ c.lt.s $f22, $f2 +/* ED4F4C 80240D2C 00000000 */ nop +/* ED4F50 80240D30 45030001 */ bc1tl .L80240D38 +/* ED4F54 80240D34 46001586 */ mov.s $f22, $f2 +.L80240D38: +/* ED4F58 80240D38 4600A03C */ c.lt.s $f20, $f0 +/* ED4F5C 80240D3C 00000000 */ nop +/* ED4F60 80240D40 45030001 */ bc1tl .L80240D48 +/* ED4F64 80240D44 46000506 */ mov.s $f20, $f0 +.L80240D48: +/* ED4F68 80240D48 C6200098 */ lwc1 $f0, 0x98($s1) +/* ED4F6C 80240D4C C62200A0 */ lwc1 $f2, 0xa0($s1) +/* ED4F70 80240D50 C7A80038 */ lwc1 $f8, 0x38($sp) +/* ED4F74 80240D54 E7B80010 */ swc1 $f24, 0x10($sp) +/* ED4F78 80240D58 AFB50014 */ sw $s5, 0x14($sp) +/* ED4F7C 80240D5C AFB30018 */ sw $s3, 0x18($sp) +/* ED4F80 80240D60 461E0000 */ add.s $f0, $f0, $f30 +/* ED4F84 80240D64 AFB4001C */ sw $s4, 0x1c($sp) +/* ED4F88 80240D68 AFB20020 */ sw $s2, 0x20($sp) +/* ED4F8C 80240D6C 46081200 */ add.s $f8, $f2, $f8 +/* ED4F90 80240D70 8E26009C */ lw $a2, 0x9c($s1) +/* ED4F94 80240D74 44050000 */ mfc1 $a1, $f0 +/* ED4F98 80240D78 44074000 */ mfc1 $a3, $f8 +/* ED4F9C 80240D7C 0C00AA44 */ jal func_8002A910 +/* ED4FA0 80240D80 0200202D */ daddu $a0, $s0, $zero +/* ED4FA4 80240D84 C7A00034 */ lwc1 $f0, 0x34($sp) +/* ED4FA8 80240D88 C7A60028 */ lwc1 $f6, 0x28($sp) +/* ED4FAC 80240D8C 4600C003 */ div.s $f0, $f24, $f0 +/* ED4FB0 80240D90 46003182 */ mul.s $f6, $f6, $f0 +/* ED4FB4 80240D94 00000000 */ nop +/* ED4FB8 80240D98 C7A4002C */ lwc1 $f4, 0x2c($sp) +/* ED4FBC 80240D9C 46000087 */ neg.s $f2, $f0 +/* ED4FC0 80240DA0 46022102 */ mul.s $f4, $f4, $f2 +/* ED4FC4 80240DA4 00000000 */ nop +/* ED4FC8 80240DA8 C7A20030 */ lwc1 $f2, 0x30($sp) +/* ED4FCC 80240DAC 46001082 */ mul.s $f2, $f2, $f0 +/* ED4FD0 80240DB0 00000000 */ nop +/* ED4FD4 80240DB4 44804000 */ mtc1 $zero, $f8 +/* ED4FD8 80240DB8 00000000 */ nop +/* ED4FDC 80240DBC 4608003C */ c.lt.s $f0, $f8 +/* ED4FE0 80240DC0 E7A00034 */ swc1 $f0, 0x34($sp) +/* ED4FE4 80240DC4 E7A60028 */ swc1 $f6, 0x28($sp) +/* ED4FE8 80240DC8 E7A4002C */ swc1 $f4, 0x2c($sp) +/* ED4FEC 80240DCC 45000003 */ bc1f .L80240DDC +/* ED4FF0 80240DD0 E7A20030 */ swc1 $f2, 0x30($sp) +/* ED4FF4 80240DD4 E7B80028 */ swc1 $f24, 0x28($sp) +/* ED4FF8 80240DD8 E7B8002C */ swc1 $f24, 0x2c($sp) +.L80240DDC: +/* ED4FFC 80240DDC C7A20028 */ lwc1 $f2, 0x28($sp) +/* ED5000 80240DE0 461A103C */ c.lt.s $f2, $f26 +/* ED5004 80240DE4 00000000 */ nop +/* ED5008 80240DE8 45030001 */ bc1tl .L80240DF0 +/* ED500C 80240DEC 46001686 */ mov.s $f26, $f2 +.L80240DF0: +/* ED5010 80240DF0 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* ED5014 80240DF4 461C003C */ c.lt.s $f0, $f28 +/* ED5018 80240DF8 00000000 */ nop +/* ED501C 80240DFC 45030001 */ bc1tl .L80240E04 +/* ED5020 80240E00 46000706 */ mov.s $f28, $f0 +.L80240E04: +/* ED5024 80240E04 4602B03C */ c.lt.s $f22, $f2 +/* ED5028 80240E08 00000000 */ nop +/* ED502C 80240E0C 45030001 */ bc1tl .L80240E14 +/* ED5030 80240E10 46001586 */ mov.s $f22, $f2 +.L80240E14: +/* ED5034 80240E14 4600A03C */ c.lt.s $f20, $f0 +/* ED5038 80240E18 00000000 */ nop +/* ED503C 80240E1C 45030001 */ bc1tl .L80240E24 +/* ED5040 80240E20 46000506 */ mov.s $f20, $f0 +.L80240E24: +/* ED5044 80240E24 C6200098 */ lwc1 $f0, 0x98($s1) +/* ED5048 80240E28 C62200A0 */ lwc1 $f2, 0xa0($s1) +/* ED504C 80240E2C C7A80038 */ lwc1 $f8, 0x38($sp) +/* ED5050 80240E30 E7B80010 */ swc1 $f24, 0x10($sp) +/* ED5054 80240E34 AFB50014 */ sw $s5, 0x14($sp) +/* ED5058 80240E38 AFB30018 */ sw $s3, 0x18($sp) +/* ED505C 80240E3C 461E0000 */ add.s $f0, $f0, $f30 +/* ED5060 80240E40 AFB4001C */ sw $s4, 0x1c($sp) +/* ED5064 80240E44 AFB20020 */ sw $s2, 0x20($sp) +/* ED5068 80240E48 46081201 */ sub.s $f8, $f2, $f8 +/* ED506C 80240E4C 8E26009C */ lw $a2, 0x9c($s1) +/* ED5070 80240E50 44050000 */ mfc1 $a1, $f0 +/* ED5074 80240E54 44074000 */ mfc1 $a3, $f8 +/* ED5078 80240E58 0C00AA44 */ jal func_8002A910 +/* ED507C 80240E5C 26C400D4 */ addiu $a0, $s6, 0xd4 +/* ED5080 80240E60 C7A00034 */ lwc1 $f0, 0x34($sp) +/* ED5084 80240E64 C7A60028 */ lwc1 $f6, 0x28($sp) +/* ED5088 80240E68 4600C003 */ div.s $f0, $f24, $f0 +/* ED508C 80240E6C 46003182 */ mul.s $f6, $f6, $f0 +/* ED5090 80240E70 00000000 */ nop +/* ED5094 80240E74 C7A4002C */ lwc1 $f4, 0x2c($sp) +/* ED5098 80240E78 46000087 */ neg.s $f2, $f0 +/* ED509C 80240E7C 46022102 */ mul.s $f4, $f4, $f2 +/* ED50A0 80240E80 00000000 */ nop +/* ED50A4 80240E84 C7A20030 */ lwc1 $f2, 0x30($sp) +/* ED50A8 80240E88 46001082 */ mul.s $f2, $f2, $f0 +/* ED50AC 80240E8C 00000000 */ nop +/* ED50B0 80240E90 44804000 */ mtc1 $zero, $f8 +/* ED50B4 80240E94 00000000 */ nop +/* ED50B8 80240E98 4608003C */ c.lt.s $f0, $f8 +/* ED50BC 80240E9C E7A00034 */ swc1 $f0, 0x34($sp) +/* ED50C0 80240EA0 E7A60028 */ swc1 $f6, 0x28($sp) +/* ED50C4 80240EA4 E7A4002C */ swc1 $f4, 0x2c($sp) +/* ED50C8 80240EA8 45000003 */ bc1f .L80240EB8 +/* ED50CC 80240EAC E7A20030 */ swc1 $f2, 0x30($sp) +/* ED50D0 80240EB0 E7B80028 */ swc1 $f24, 0x28($sp) +/* ED50D4 80240EB4 E7B8002C */ swc1 $f24, 0x2c($sp) +.L80240EB8: +/* ED50D8 80240EB8 C7A20028 */ lwc1 $f2, 0x28($sp) +/* ED50DC 80240EBC 461A103C */ c.lt.s $f2, $f26 +/* ED50E0 80240EC0 00000000 */ nop +/* ED50E4 80240EC4 45030001 */ bc1tl .L80240ECC +/* ED50E8 80240EC8 46001686 */ mov.s $f26, $f2 +.L80240ECC: +/* ED50EC 80240ECC C7A0002C */ lwc1 $f0, 0x2c($sp) +/* ED50F0 80240ED0 461C003C */ c.lt.s $f0, $f28 +/* ED50F4 80240ED4 00000000 */ nop +/* ED50F8 80240ED8 45030001 */ bc1tl .L80240EE0 +/* ED50FC 80240EDC 46000706 */ mov.s $f28, $f0 +.L80240EE0: +/* ED5100 80240EE0 4602B03C */ c.lt.s $f22, $f2 +/* ED5104 80240EE4 00000000 */ nop +/* ED5108 80240EE8 45030001 */ bc1tl .L80240EF0 +/* ED510C 80240EEC 46001586 */ mov.s $f22, $f2 +.L80240EF0: +/* ED5110 80240EF0 4600A03C */ c.lt.s $f20, $f0 +/* ED5114 80240EF4 00000000 */ nop +/* ED5118 80240EF8 45030001 */ bc1tl .L80240F00 +/* ED511C 80240EFC 46000506 */ mov.s $f20, $f0 +.L80240F00: +/* ED5120 80240F00 4616D032 */ c.eq.s $f26, $f22 +/* ED5124 80240F04 00000000 */ nop +/* ED5128 80240F08 45000005 */ bc1f .L80240F20 +/* ED512C 80240F0C 00000000 */ nop +/* ED5130 80240F10 4614E032 */ c.eq.s $f28, $f20 +/* ED5134 80240F14 00000000 */ nop +/* ED5138 80240F18 450100EC */ bc1t .L802412CC +/* ED513C 80240F1C 00000000 */ nop +.L80240F20: +/* ED5140 80240F20 86C2000A */ lh $v0, 0xa($s6) +/* ED5144 80240F24 44821000 */ mtc1 $v0, $f2 +/* ED5148 80240F28 00000000 */ nop +/* ED514C 80240F2C 468010A0 */ cvt.s.w $f2, $f2 +/* ED5150 80240F30 4602D002 */ mul.s $f0, $f26, $f2 +/* ED5154 80240F34 00000000 */ nop +/* ED5158 80240F38 46020000 */ add.s $f0, $f0, $f2 +/* ED515C 80240F3C 3C013F00 */ lui $at, 0x3f00 +/* ED5160 80240F40 44813000 */ mtc1 $at, $f6 +/* ED5164 80240F44 00000000 */ nop +/* ED5168 80240F48 46060682 */ mul.s $f26, $f0, $f6 +/* ED516C 80240F4C 00000000 */ nop +/* ED5170 80240F50 86C2000C */ lh $v0, 0xc($s6) +/* ED5174 80240F54 44822000 */ mtc1 $v0, $f4 +/* ED5178 80240F58 00000000 */ nop +/* ED517C 80240F5C 46802120 */ cvt.s.w $f4, $f4 +/* ED5180 80240F60 4604E002 */ mul.s $f0, $f28, $f4 +/* ED5184 80240F64 00000000 */ nop +/* ED5188 80240F68 46040000 */ add.s $f0, $f0, $f4 +/* ED518C 80240F6C 46060702 */ mul.s $f28, $f0, $f6 +/* ED5190 80240F70 00000000 */ nop +/* ED5194 80240F74 4602B002 */ mul.s $f0, $f22, $f2 +/* ED5198 80240F78 00000000 */ nop +/* ED519C 80240F7C 3C18E300 */ lui $t8, 0xe300 +/* ED51A0 80240F80 37180A01 */ ori $t8, $t8, 0xa01 +/* ED51A4 80240F84 3C1EE200 */ lui $fp, 0xe200 +/* ED51A8 80240F88 37DE001C */ ori $fp, $fp, 0x1c +/* ED51AC 80240F8C 46020000 */ add.s $f0, $f0, $f2 +/* ED51B0 80240F90 3C060F0A */ lui $a2, 0xf0a +/* ED51B4 80240F94 34C64010 */ ori $a2, $a2, 0x4010 +/* ED51B8 80240F98 46060582 */ mul.s $f22, $f0, $f6 +/* ED51BC 80240F9C 00000000 */ nop +/* ED51C0 80240FA0 3C13800A */ lui $s3, %hi(D_800A15C4) +/* ED51C4 80240FA4 267315C4 */ addiu $s3, $s3, %lo(D_800A15C4) +/* ED51C8 80240FA8 3C12800A */ lui $s2, %hi(D_800A1530) +/* ED51CC 80240FAC 26521530 */ addiu $s2, $s2, %lo(D_800A1530) +/* ED51D0 80240FB0 AFB8003C */ sw $t8, 0x3c($sp) +/* ED51D4 80240FB4 8E700000 */ lw $s0, ($s3) +/* ED51D8 80240FB8 4604A002 */ mul.s $f0, $f20, $f4 +/* ED51DC 80240FBC 00000000 */ nop +/* ED51E0 80240FC0 8E440000 */ lw $a0, ($s2) +/* ED51E4 80240FC4 86C3000E */ lh $v1, 0xe($s6) +/* ED51E8 80240FC8 86C50010 */ lh $a1, 0x10($s6) +/* ED51EC 80240FCC 0200102D */ daddu $v0, $s0, $zero +/* ED51F0 80240FD0 46040000 */ add.s $f0, $f0, $f4 +/* ED51F4 80240FD4 26100008 */ addiu $s0, $s0, 8 +/* ED51F8 80240FD8 AE700000 */ sw $s0, ($s3) +/* ED51FC 80240FDC 46060502 */ mul.s $f20, $f0, $f6 +/* ED5200 80240FE0 00000000 */ nop +/* ED5204 80240FE4 AC580000 */ sw $t8, ($v0) +/* ED5208 80240FE8 AC400004 */ sw $zero, 4($v0) +/* ED520C 80240FEC 26020008 */ addiu $v0, $s0, 8 +/* ED5210 80240FF0 44831000 */ mtc1 $v1, $f2 +/* ED5214 80240FF4 00000000 */ nop +/* ED5218 80240FF8 468010A0 */ cvt.s.w $f2, $f2 +/* ED521C 80240FFC 4602D680 */ add.s $f26, $f26, $f2 +/* ED5220 80241000 AE620000 */ sw $v0, ($s3) +/* ED5224 80241004 26020010 */ addiu $v0, $s0, 0x10 +/* ED5228 80241008 4602B580 */ add.s $f22, $f22, $f2 +/* ED522C 8024100C AE1E0000 */ sw $fp, ($s0) +/* ED5230 80241010 44850000 */ mtc1 $a1, $f0 +/* ED5234 80241014 00000000 */ nop +/* ED5238 80241018 46800020 */ cvt.s.w $f0, $f0 +/* ED523C 8024101C 4600E700 */ add.s $f28, $f28, $f0 +/* ED5240 80241020 AE060004 */ sw $a2, 4($s0) +/* ED5244 80241024 AE620000 */ sw $v0, ($s3) +/* ED5248 80241028 0C019BF8 */ jal func_80066FE0 +/* ED524C 8024102C 4600A500 */ add.s $f20, $f20, $f0 +/* ED5250 80241030 30420007 */ andi $v0, $v0, 7 +/* ED5254 80241034 1040000B */ beqz $v0, .L80241064 +/* ED5258 80241038 3C15FF10 */ lui $s5, 0xff10 +/* ED525C 8024103C 8E440000 */ lw $a0, ($s2) +/* ED5260 80241040 0C019BF8 */ jal func_80066FE0 +/* ED5264 80241044 00000000 */ nop +/* ED5268 80241048 3C048024 */ lui $a0, %hi(D_80244BB8) +/* ED526C 8024104C 24844BB8 */ addiu $a0, $a0, %lo(D_80244BB8) +/* ED5270 80241050 3C058024 */ lui $a1, %hi(D_80244BEC) +/* ED5274 80241054 24A54BEC */ addiu $a1, $a1, %lo(D_80244BEC) +/* ED5278 80241058 240600AF */ addiu $a2, $zero, 0xaf +/* ED527C 8024105C 0C00973F */ jal func_80025CFC +/* ED5280 80241060 0040382D */ daddu $a3, $v0, $zero +.L80241064: +/* ED5284 80241064 36B5013F */ ori $s5, $s5, 0x13f +/* ED5288 80241068 3C17FCFF */ lui $s7, 0xfcff +/* ED528C 8024106C 8E440000 */ lw $a0, ($s2) +/* ED5290 80241070 36F7FFFF */ ori $s7, $s7, 0xffff +/* ED5294 80241074 0C019BF8 */ jal func_80066FE0 +/* ED5298 80241078 AE150008 */ sw $s5, 8($s0) +/* ED529C 8024107C 3C03FFFD */ lui $v1, 0xfffd +/* ED52A0 80241080 3463FEFF */ ori $v1, $v1, 0xfeff +/* ED52A4 80241084 3C05F8F0 */ lui $a1, 0xf8f0 +/* ED52A8 80241088 3C14800A */ lui $s4, %hi(D_800A15A4) +/* ED52AC 8024108C 269415A4 */ addiu $s4, $s4, %lo(D_800A15A4) +/* ED52B0 80241090 34A5F000 */ ori $a1, $a1, 0xf000 +/* ED52B4 80241094 8E720000 */ lw $s2, ($s3) +/* ED52B8 80241098 8E840000 */ lw $a0, ($s4) +/* ED52BC 8024109C 3C16E700 */ lui $s6, 0xe700 +/* ED52C0 802410A0 AE02000C */ sw $v0, 0xc($s0) +/* ED52C4 802410A4 0240102D */ daddu $v0, $s2, $zero +/* ED52C8 802410A8 26520008 */ addiu $s2, $s2, 8 +/* ED52CC 802410AC AE720000 */ sw $s2, ($s3) +/* ED52D0 802410B0 AC570000 */ sw $s7, ($v0) +/* ED52D4 802410B4 AC430004 */ sw $v1, 4($v0) +/* ED52D8 802410B8 26420008 */ addiu $v0, $s2, 8 +/* ED52DC 802410BC AE620000 */ sw $v0, ($s3) +/* ED52E0 802410C0 3C02FA00 */ lui $v0, 0xfa00 +/* ED52E4 802410C4 AE420000 */ sw $v0, ($s2) +/* ED52E8 802410C8 26420010 */ addiu $v0, $s2, 0x10 +/* ED52EC 802410CC AE450004 */ sw $a1, 4($s2) +/* ED52F0 802410D0 AE620000 */ sw $v0, ($s3) +/* ED52F4 802410D4 3C02DE00 */ lui $v0, 0xde00 +/* ED52F8 802410D8 AE560008 */ sw $s6, 8($s2) +/* ED52FC 802410DC AE40000C */ sw $zero, 0xc($s2) +/* ED5300 802410E0 AE420010 */ sw $v0, 0x10($s2) +/* ED5304 802410E4 8E230008 */ lw $v1, 8($s1) +/* ED5308 802410E8 26420018 */ addiu $v0, $s2, 0x18 +/* ED530C 802410EC AE620000 */ sw $v0, ($s3) +/* ED5310 802410F0 8C630004 */ lw $v1, 4($v1) +/* ED5314 802410F4 26420020 */ addiu $v0, $s2, 0x20 +/* ED5318 802410F8 AE620000 */ sw $v0, ($s3) +/* ED531C 802410FC 8C630000 */ lw $v1, ($v1) +/* ED5320 80241100 26420028 */ addiu $v0, $s2, 0x28 +/* ED5324 80241104 AE620000 */ sw $v0, ($s3) +/* ED5328 80241108 AE560018 */ sw $s6, 0x18($s2) +/* ED532C 8024110C AE40001C */ sw $zero, 0x1c($s2) +/* ED5330 80241110 0C019BF8 */ jal func_80066FE0 +/* ED5334 80241114 AE430014 */ sw $v1, 0x14($s2) +/* ED5338 80241118 30420007 */ andi $v0, $v0, 7 +/* ED533C 8024111C 1040000B */ beqz $v0, .L8024114C +/* ED5340 80241120 3C11E200 */ lui $s1, 0xe200 +/* ED5344 80241124 8E840000 */ lw $a0, ($s4) +/* ED5348 80241128 0C019BF8 */ jal func_80066FE0 +/* ED534C 8024112C 00000000 */ nop +/* ED5350 80241130 3C048024 */ lui $a0, %hi(D_80244BB8) +/* ED5354 80241134 24844BB8 */ addiu $a0, $a0, %lo(D_80244BB8) +/* ED5358 80241138 3C058024 */ lui $a1, %hi(D_80244BEC) +/* ED535C 8024113C 24A54BEC */ addiu $a1, $a1, %lo(D_80244BEC) +/* ED5360 80241140 240600BA */ addiu $a2, $zero, 0xba +/* ED5364 80241144 0C00973F */ jal func_80025CFC +/* ED5368 80241148 0040382D */ daddu $a3, $v0, $zero +.L8024114C: +/* ED536C 8024114C 8E840000 */ lw $a0, ($s4) +/* ED5370 80241150 36311D00 */ ori $s1, $s1, 0x1d00 +/* ED5374 80241154 0C019BF8 */ jal func_80066FE0 +/* ED5378 80241158 AE550020 */ sw $s5, 0x20($s2) +/* ED537C 8024115C 3C090050 */ lui $t1, 0x50 +/* ED5380 80241160 35294E50 */ ori $t1, $t1, 0x4e50 +/* ED5384 80241164 3C0AE300 */ lui $t2, 0xe300 +/* ED5388 80241168 354A1201 */ ori $t2, $t2, 0x1201 +/* ED538C 8024116C 3C0BE300 */ lui $t3, 0xe300 +/* ED5390 80241170 356B0C00 */ ori $t3, $t3, 0xc00 +/* ED5394 80241174 3C0CD700 */ lui $t4, 0xd700 +/* ED5398 80241178 358C0002 */ ori $t4, $t4, 2 +/* ED539C 8024117C 3C0DE300 */ lui $t5, 0xe300 +/* ED53A0 80241180 35AD1001 */ ori $t5, $t5, 0x1001 +/* ED53A4 80241184 3C0EE300 */ lui $t6, 0xe300 +/* ED53A8 80241188 35CE0D01 */ ori $t6, $t6, 0xd01 +/* ED53AC 8024118C 3C0FE300 */ lui $t7, 0xe300 +/* ED53B0 80241190 35EF0F00 */ ori $t7, $t7, 0xf00 +/* ED53B4 80241194 3C10FFFC */ lui $s0, 0xfffc +/* ED53B8 80241198 3610F67B */ ori $s0, $s0, 0xf67b +/* ED53BC 8024119C 4600D20D */ trunc.w.s $f8, $f26 +/* ED53C0 802411A0 44044000 */ mfc1 $a0, $f8 +/* ED53C4 802411A4 4600E20D */ trunc.w.s $f8, $f28 +/* ED53C8 802411A8 44054000 */ mfc1 $a1, $f8 +/* ED53CC 802411AC 4600B20D */ trunc.w.s $f8, $f22 +/* ED53D0 802411B0 44064000 */ mfc1 $a2, $f8 +/* ED53D4 802411B4 8E630000 */ lw $v1, ($s3) +/* ED53D8 802411B8 4600A20D */ trunc.w.s $f8, $f20 +/* ED53DC 802411BC 44074000 */ mfc1 $a3, $f8 +/* ED53E0 802411C0 AE420024 */ sw $v0, 0x24($s2) +/* ED53E4 802411C4 24020004 */ addiu $v0, $zero, 4 +/* ED53E8 802411C8 0060402D */ daddu $t0, $v1, $zero +/* ED53EC 802411CC 24630008 */ addiu $v1, $v1, 8 +/* ED53F0 802411D0 AE630000 */ sw $v1, ($s3) +/* ED53F4 802411D4 AD020004 */ sw $v0, 4($t0) +/* ED53F8 802411D8 24620008 */ addiu $v0, $v1, 8 +/* ED53FC 802411DC AD110000 */ sw $s1, ($t0) +/* ED5400 802411E0 AE620000 */ sw $v0, ($s3) +/* ED5404 802411E4 3C02EE00 */ lui $v0, 0xee00 +/* ED5408 802411E8 AC620000 */ sw $v0, ($v1) +/* ED540C 802411EC 3C027FDE */ lui $v0, 0x7fde +/* ED5410 802411F0 AC620004 */ sw $v0, 4($v1) +/* ED5414 802411F4 24620010 */ addiu $v0, $v1, 0x10 +/* ED5418 802411F8 AE620000 */ sw $v0, ($s3) +/* ED541C 802411FC 24620018 */ addiu $v0, $v1, 0x18 +/* ED5420 80241200 AC7E0008 */ sw $fp, 8($v1) +/* ED5424 80241204 AC69000C */ sw $t1, 0xc($v1) +/* ED5428 80241208 AE620000 */ sw $v0, ($s3) +/* ED542C 8024120C 24620020 */ addiu $v0, $v1, 0x20 +/* ED5430 80241210 AC6A0010 */ sw $t2, 0x10($v1) +/* ED5434 80241214 AC600014 */ sw $zero, 0x14($v1) +/* ED5438 80241218 AE620000 */ sw $v0, ($s3) +/* ED543C 8024121C 24620028 */ addiu $v0, $v1, 0x28 +/* ED5440 80241220 AC6B0018 */ sw $t3, 0x18($v1) +/* ED5444 80241224 AC60001C */ sw $zero, 0x1c($v1) +/* ED5448 80241228 AE620000 */ sw $v0, ($s3) +/* ED544C 8024122C 2402FFFF */ addiu $v0, $zero, -1 +/* ED5450 80241230 AC620024 */ sw $v0, 0x24($v1) +/* ED5454 80241234 24620030 */ addiu $v0, $v1, 0x30 +/* ED5458 80241238 AC6C0020 */ sw $t4, 0x20($v1) +/* ED545C 8024123C AE620000 */ sw $v0, ($s3) +/* ED5460 80241240 24620038 */ addiu $v0, $v1, 0x38 +/* ED5464 80241244 AC6D0028 */ sw $t5, 0x28($v1) +/* ED5468 80241248 AC60002C */ sw $zero, 0x2c($v1) +/* ED546C 8024124C AE620000 */ sw $v0, ($s3) +/* ED5470 80241250 24620040 */ addiu $v0, $v1, 0x40 +/* ED5474 80241254 AC6E0030 */ sw $t6, 0x30($v1) +/* ED5478 80241258 AC600034 */ sw $zero, 0x34($v1) +/* ED547C 8024125C AE620000 */ sw $v0, ($s3) +/* ED5480 80241260 24620048 */ addiu $v0, $v1, 0x48 +/* ED5484 80241264 AC6F0038 */ sw $t7, 0x38($v1) +/* ED5488 80241268 AC60003C */ sw $zero, 0x3c($v1) +/* ED548C 8024126C AE620000 */ sw $v0, ($s3) +/* ED5490 80241270 24620050 */ addiu $v0, $v1, 0x50 +/* ED5494 80241274 AC770040 */ sw $s7, 0x40($v1) +/* ED5498 80241278 AC700044 */ sw $s0, 0x44($v1) +/* ED549C 8024127C AE620000 */ sw $v0, ($s3) +/* ED54A0 80241280 AC760048 */ sw $s6, 0x48($v1) +/* ED54A4 80241284 0C09012C */ jal func_802404B0_ED46D0 +/* ED54A8 80241288 AC60004C */ sw $zero, 0x4c($v1) +/* ED54AC 8024128C 8E620000 */ lw $v0, ($s3) +/* ED54B0 80241290 0040182D */ daddu $v1, $v0, $zero +/* ED54B4 80241294 24420008 */ addiu $v0, $v0, 8 +/* ED54B8 80241298 AE620000 */ sw $v0, ($s3) +/* ED54BC 8024129C AC760000 */ sw $s6, ($v1) +/* ED54C0 802412A0 AC600004 */ sw $zero, 4($v1) +/* ED54C4 802412A4 24430008 */ addiu $v1, $v0, 8 +/* ED54C8 802412A8 AE630000 */ sw $v1, ($s3) +/* ED54CC 802412AC 8FB8003C */ lw $t8, 0x3c($sp) +/* ED54D0 802412B0 3C030010 */ lui $v1, 0x10 +/* ED54D4 802412B4 AC580000 */ sw $t8, ($v0) +/* ED54D8 802412B8 AC430004 */ sw $v1, 4($v0) +/* ED54DC 802412BC 24430010 */ addiu $v1, $v0, 0x10 +/* ED54E0 802412C0 AE630000 */ sw $v1, ($s3) +/* ED54E4 802412C4 AC510008 */ sw $s1, 8($v0) +/* ED54E8 802412C8 AC40000C */ sw $zero, 0xc($v0) +.L802412CC: +/* ED54EC 802412CC 8FBF0064 */ lw $ra, 0x64($sp) +/* ED54F0 802412D0 8FBE0060 */ lw $fp, 0x60($sp) +/* ED54F4 802412D4 8FB7005C */ lw $s7, 0x5c($sp) +/* ED54F8 802412D8 8FB60058 */ lw $s6, 0x58($sp) +/* ED54FC 802412DC 8FB50054 */ lw $s5, 0x54($sp) +/* ED5500 802412E0 8FB40050 */ lw $s4, 0x50($sp) +/* ED5504 802412E4 8FB3004C */ lw $s3, 0x4c($sp) +/* ED5508 802412E8 8FB20048 */ lw $s2, 0x48($sp) +/* ED550C 802412EC 8FB10044 */ lw $s1, 0x44($sp) +/* ED5510 802412F0 8FB00040 */ lw $s0, 0x40($sp) +/* ED5514 802412F4 D7BE0090 */ ldc1 $f30, 0x90($sp) +/* ED5518 802412F8 D7BC0088 */ ldc1 $f28, 0x88($sp) +/* ED551C 802412FC D7BA0080 */ ldc1 $f26, 0x80($sp) +/* ED5520 80241300 D7B80078 */ ldc1 $f24, 0x78($sp) +/* ED5524 80241304 D7B60070 */ ldc1 $f22, 0x70($sp) +/* ED5528 80241308 D7B40068 */ ldc1 $f20, 0x68($sp) +/* ED552C 8024130C 03E00008 */ jr $ra +/* ED5530 80241310 27BD0098 */ addiu $sp, $sp, 0x98 +/* ED5534 80241314 00000000 */ nop +/* ED5538 80241318 00000000 */ nop +/* ED553C 8024131C 00000000 */ nop diff --git a/asm/nonmatchings/code_ED5540/func_80241320_ED5540.s b/asm/nonmatchings/code_ED5540/func_80241320_ED5540.s new file mode 100644 index 0000000000..e55e481f0e --- /dev/null +++ b/asm/nonmatchings/code_ED5540/func_80241320_ED5540.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241320_ED5540 +/* ED5540 80241320 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* ED5544 80241324 F7B40018 */ sdc1 $f20, 0x18($sp) +/* ED5548 80241328 4485A000 */ mtc1 $a1, $f20 +/* ED554C 8024132C F7B60020 */ sdc1 $f22, 0x20($sp) +/* ED5550 80241330 4486B000 */ mtc1 $a2, $f22 +/* ED5554 80241334 AFB00010 */ sw $s0, 0x10($sp) +/* ED5558 80241338 F7B80028 */ sdc1 $f24, 0x28($sp) +/* ED555C 8024133C 4487C000 */ mtc1 $a3, $f24 +/* ED5560 80241340 AFBF0014 */ sw $ra, 0x14($sp) +/* ED5564 80241344 0C01B198 */ jal osGetCause +/* ED5568 80241348 0080802D */ daddu $s0, $a0, $zero +/* ED556C 8024134C 4616A582 */ mul.s $f22, $f20, $f22 +/* ED5570 80241350 00000000 */ nop +/* ED5574 80241354 4618A502 */ mul.s $f20, $f20, $f24 +/* ED5578 80241358 00000000 */ nop +/* ED557C 8024135C 3C013F80 */ lui $at, 0x3f80 +/* ED5580 80241360 44810000 */ mtc1 $at, $f0 +/* ED5584 80241364 00000000 */ nop +/* ED5588 80241368 E6000014 */ swc1 $f0, 0x14($s0) +/* ED558C 8024136C E6160010 */ swc1 $f22, 0x10($s0) +/* ED5590 80241370 E6140018 */ swc1 $f20, 0x18($s0) +/* ED5594 80241374 8FBF0014 */ lw $ra, 0x14($sp) +/* ED5598 80241378 8FB00010 */ lw $s0, 0x10($sp) +/* ED559C 8024137C D7B80028 */ ldc1 $f24, 0x28($sp) +/* ED55A0 80241380 D7B60020 */ ldc1 $f22, 0x20($sp) +/* ED55A4 80241384 D7B40018 */ ldc1 $f20, 0x18($sp) +/* ED55A8 80241388 03E00008 */ jr $ra +/* ED55AC 8024138C 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_ED5540/func_80241390_ED55B0.s b/asm/nonmatchings/code_ED5540/func_80241390_ED55B0.s new file mode 100644 index 0000000000..bff184dc21 --- /dev/null +++ b/asm/nonmatchings/code_ED5540/func_80241390_ED55B0.s @@ -0,0 +1,122 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241390_ED55B0 +/* ED55B0 80241390 27BDFF78 */ addiu $sp, $sp, -0x88 +/* ED55B4 80241394 AFB10054 */ sw $s1, 0x54($sp) +/* ED55B8 80241398 0080882D */ daddu $s1, $a0, $zero +/* ED55BC 8024139C AFBF005C */ sw $ra, 0x5c($sp) +/* ED55C0 802413A0 AFB20058 */ sw $s2, 0x58($sp) +/* ED55C4 802413A4 AFB00050 */ sw $s0, 0x50($sp) +/* ED55C8 802413A8 F7BC0080 */ sdc1 $f28, 0x80($sp) +/* ED55CC 802413AC F7BA0078 */ sdc1 $f26, 0x78($sp) +/* ED55D0 802413B0 F7B80070 */ sdc1 $f24, 0x70($sp) +/* ED55D4 802413B4 F7B60068 */ sdc1 $f22, 0x68($sp) +/* ED55D8 802413B8 F7B40060 */ sdc1 $f20, 0x60($sp) +/* ED55DC 802413BC 8E30000C */ lw $s0, 0xc($s1) +/* ED55E0 802413C0 8E050000 */ lw $a1, ($s0) +/* ED55E4 802413C4 0C0B53A3 */ jal func_802D4E8C +/* ED55E8 802413C8 26100004 */ addiu $s0, $s0, 4 +/* ED55EC 802413CC 0C04949C */ jal func_80125270 +/* ED55F0 802413D0 0040202D */ daddu $a0, $v0, $zero +/* ED55F4 802413D4 8E050000 */ lw $a1, ($s0) +/* ED55F8 802413D8 26100004 */ addiu $s0, $s0, 4 +/* ED55FC 802413DC 0220202D */ daddu $a0, $s1, $zero +/* ED5600 802413E0 0C0B55FF */ jal func_802D57FC +/* ED5604 802413E4 0040902D */ daddu $s2, $v0, $zero +/* ED5608 802413E8 8E050000 */ lw $a1, ($s0) +/* ED560C 802413EC 26100004 */ addiu $s0, $s0, 4 +/* ED5610 802413F0 0220202D */ daddu $a0, $s1, $zero +/* ED5614 802413F4 0C0B55FF */ jal func_802D57FC +/* ED5618 802413F8 46000706 */ mov.s $f28, $f0 +/* ED561C 802413FC 8E050000 */ lw $a1, ($s0) +/* ED5620 80241400 26100004 */ addiu $s0, $s0, 4 +/* ED5624 80241404 0220202D */ daddu $a0, $s1, $zero +/* ED5628 80241408 0C0B55FF */ jal func_802D57FC +/* ED562C 8024140C 46000686 */ mov.s $f26, $f0 +/* ED5630 80241410 0220202D */ daddu $a0, $s1, $zero +/* ED5634 80241414 8E050000 */ lw $a1, ($s0) +/* ED5638 80241418 0C0B55FF */ jal func_802D57FC +/* ED563C 8024141C 46000586 */ mov.s $f22, $f0 +/* ED5640 80241420 0240202D */ daddu $a0, $s2, $zero +/* ED5644 80241424 0C0493D1 */ jal func_80124F44 +/* ED5648 80241428 46000606 */ mov.s $f24, $f0 +/* ED564C 8024142C 0040882D */ daddu $s1, $v0, $zero +/* ED5650 80241430 96220000 */ lhu $v0, ($s1) +/* ED5654 80241434 30420400 */ andi $v0, $v0, 0x400 +/* ED5658 80241438 1440001E */ bnez $v0, .L802414B4 +/* ED565C 8024143C 26300058 */ addiu $s0, $s1, 0x58 +/* ED5660 80241440 4480A000 */ mtc1 $zero, $f20 +/* ED5664 80241444 4406B000 */ mfc1 $a2, $f22 +/* ED5668 80241448 4405A000 */ mfc1 $a1, $f20 +/* ED566C 8024144C 4407A000 */ mfc1 $a3, $f20 +/* ED5670 80241450 0C01B2B0 */ jal func_8006CAC0 +/* ED5674 80241454 0200202D */ daddu $a0, $s0, $zero +/* ED5678 80241458 4405E000 */ mfc1 $a1, $f28 +/* ED567C 8024145C 4406D000 */ mfc1 $a2, $f26 +/* ED5680 80241460 4407C000 */ mfc1 $a3, $f24 +/* ED5684 80241464 0C0904C8 */ jal func_80241320_ED5540 +/* ED5688 80241468 27A40010 */ addiu $a0, $sp, 0x10 +/* ED568C 8024146C 27A40010 */ addiu $a0, $sp, 0x10 +/* ED5690 80241470 0200282D */ daddu $a1, $s0, $zero +/* ED5694 80241474 0C01B1F0 */ jal osSiRawReadIo +/* ED5698 80241478 0200302D */ daddu $a2, $s0, $zero +/* ED569C 8024147C 27A40010 */ addiu $a0, $sp, 0x10 +/* ED56A0 80241480 4600B587 */ neg.s $f22, $f22 +/* ED56A4 80241484 4405A000 */ mfc1 $a1, $f20 +/* ED56A8 80241488 4406B000 */ mfc1 $a2, $f22 +/* ED56AC 8024148C 0C01B2B0 */ jal func_8006CAC0 +/* ED56B0 80241490 00A0382D */ daddu $a3, $a1, $zero +/* ED56B4 80241494 27A40010 */ addiu $a0, $sp, 0x10 +/* ED56B8 80241498 0200282D */ daddu $a1, $s0, $zero +/* ED56BC 8024149C 0C01B1F0 */ jal osSiRawReadIo +/* ED56C0 802414A0 00A0302D */ daddu $a2, $a1, $zero +/* ED56C4 802414A4 96220000 */ lhu $v0, ($s1) +/* ED56C8 802414A8 34421400 */ ori $v0, $v0, 0x1400 +/* ED56CC 802414AC 0809054B */ j .L8024152C +/* ED56D0 802414B0 A6220000 */ sh $v0, ($s1) +.L802414B4: +/* ED56D4 802414B4 4480A000 */ mtc1 $zero, $f20 +/* ED56D8 802414B8 4406B000 */ mfc1 $a2, $f22 +/* ED56DC 802414BC 4405A000 */ mfc1 $a1, $f20 +/* ED56E0 802414C0 4407A000 */ mfc1 $a3, $f20 +/* ED56E4 802414C4 0C01B2B0 */ jal func_8006CAC0 +/* ED56E8 802414C8 27A40010 */ addiu $a0, $sp, 0x10 +/* ED56EC 802414CC 27A40010 */ addiu $a0, $sp, 0x10 +/* ED56F0 802414D0 26300058 */ addiu $s0, $s1, 0x58 +/* ED56F4 802414D4 0200282D */ daddu $a1, $s0, $zero +/* ED56F8 802414D8 0C01B1F0 */ jal osSiRawReadIo +/* ED56FC 802414DC 0200302D */ daddu $a2, $s0, $zero +/* ED5700 802414E0 4405E000 */ mfc1 $a1, $f28 +/* ED5704 802414E4 4406D000 */ mfc1 $a2, $f26 +/* ED5708 802414E8 4407C000 */ mfc1 $a3, $f24 +/* ED570C 802414EC 0C0904C8 */ jal func_80241320_ED5540 +/* ED5710 802414F0 27A40010 */ addiu $a0, $sp, 0x10 +/* ED5714 802414F4 27A40010 */ addiu $a0, $sp, 0x10 +/* ED5718 802414F8 0200282D */ daddu $a1, $s0, $zero +/* ED571C 802414FC 0C01B1F0 */ jal osSiRawReadIo +/* ED5720 80241500 0200302D */ daddu $a2, $s0, $zero +/* ED5724 80241504 27A40010 */ addiu $a0, $sp, 0x10 +/* ED5728 80241508 4600B587 */ neg.s $f22, $f22 +/* ED572C 8024150C 4405A000 */ mfc1 $a1, $f20 +/* ED5730 80241510 4406B000 */ mfc1 $a2, $f22 +/* ED5734 80241514 0C01B2B0 */ jal func_8006CAC0 +/* ED5738 80241518 00A0382D */ daddu $a3, $a1, $zero +/* ED573C 8024151C 27A40010 */ addiu $a0, $sp, 0x10 +/* ED5740 80241520 0200282D */ daddu $a1, $s0, $zero +/* ED5744 80241524 0C01B1F0 */ jal osSiRawReadIo +/* ED5748 80241528 00A0302D */ daddu $a2, $a1, $zero +.L8024152C: +/* ED574C 8024152C 8FBF005C */ lw $ra, 0x5c($sp) +/* ED5750 80241530 8FB20058 */ lw $s2, 0x58($sp) +/* ED5754 80241534 8FB10054 */ lw $s1, 0x54($sp) +/* ED5758 80241538 8FB00050 */ lw $s0, 0x50($sp) +/* ED575C 8024153C D7BC0080 */ ldc1 $f28, 0x80($sp) +/* ED5760 80241540 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* ED5764 80241544 D7B80070 */ ldc1 $f24, 0x70($sp) +/* ED5768 80241548 D7B60068 */ ldc1 $f22, 0x68($sp) +/* ED576C 8024154C D7B40060 */ ldc1 $f20, 0x60($sp) +/* ED5770 80241550 24020002 */ addiu $v0, $zero, 2 +/* ED5774 80241554 03E00008 */ jr $ra +/* ED5778 80241558 27BD0088 */ addiu $sp, $sp, 0x88 +/* ED577C 8024155C 00000000 */ nop diff --git a/asm/nonmatchings/code_ED8E20/func_80240000_ED8E20.s b/asm/nonmatchings/code_ED8E20/func_80240000_ED8E20.s new file mode 100644 index 0000000000..8486bd02b5 --- /dev/null +++ b/asm/nonmatchings/code_ED8E20/func_80240000_ED8E20.s @@ -0,0 +1,12 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_ED8E20 +/* ED8E20 80240000 3C028010 */ lui $v0, %hi(D_800FFC90) +/* ED8E24 80240004 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* ED8E28 80240008 8C430004 */ lw $v1, 4($v0) +/* ED8E2C 8024000C 3C040010 */ lui $a0, 0x10 +/* ED8E30 80240010 00641825 */ or $v1, $v1, $a0 +/* ED8E34 80240014 AC430004 */ sw $v1, 4($v0) +/* ED8E38 80240018 03E00008 */ jr $ra +/* ED8E3C 8024001C 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_ED8E20/func_80240020_ED8E40.s b/asm/nonmatchings/code_ED8E20/func_80240020_ED8E40.s new file mode 100644 index 0000000000..d595b21485 --- /dev/null +++ b/asm/nonmatchings/code_ED8E20/func_80240020_ED8E40.s @@ -0,0 +1,9 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240020_ED8E40 +/* ED8E40 80240020 3C028017 */ lui $v0, %hi(D_80169B12) +/* ED8E44 80240024 84429B12 */ lh $v0, %lo(D_80169B12)($v0) +/* ED8E48 80240028 AC820084 */ sw $v0, 0x84($a0) +/* ED8E4C 8024002C 03E00008 */ jr $ra +/* ED8E50 80240030 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_ED8E20/func_80240034_ED8E54.s b/asm/nonmatchings/code_ED8E20/func_80240034_ED8E54.s new file mode 100644 index 0000000000..4433b132c5 --- /dev/null +++ b/asm/nonmatchings/code_ED8E20/func_80240034_ED8E54.s @@ -0,0 +1,56 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240034_ED8E54 +/* ED8E54 80240034 3C038017 */ lui $v1, %hi(D_80169B12) +/* ED8E58 80240038 84639B12 */ lh $v1, %lo(D_80169B12)($v1) +/* ED8E5C 8024003C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ED8E60 80240040 AFB00010 */ sw $s0, 0x10($sp) +/* ED8E64 80240044 0080802D */ daddu $s0, $a0, $zero +/* ED8E68 80240048 AFBF0014 */ sw $ra, 0x14($sp) +/* ED8E6C 8024004C 8E0200B0 */ lw $v0, 0xb0($s0) +/* ED8E70 80240050 10620003 */ beq $v1, $v0, .L80240060 +/* ED8E74 80240054 24020002 */ addiu $v0, $zero, 2 +/* ED8E78 80240058 08090038 */ j .L802400E0 +/* ED8E7C 8024005C AE000084 */ sw $zero, 0x84($s0) +.L80240060: +/* ED8E80 80240060 3C038008 */ lui $v1, %hi(D_80079430) +/* ED8E84 80240064 8C639430 */ lw $v1, %lo(D_80079430)($v1) +/* ED8E88 80240068 80620040 */ lb $v0, 0x40($v1) +/* ED8E8C 8024006C 80670044 */ lb $a3, 0x44($v1) +/* ED8E90 80240070 04420001 */ bltzl $v0, .L80240078 +/* ED8E94 80240074 00021023 */ negu $v0, $v0 +.L80240078: +/* ED8E98 80240078 14400003 */ bnez $v0, .L80240088 +/* ED8E9C 8024007C 00000000 */ nop +/* ED8EA0 80240080 50E00017 */ beql $a3, $zero, .L802400E0 +/* ED8EA4 80240084 0000102D */ daddu $v0, $zero, $zero +.L80240088: +/* ED8EA8 80240088 44822000 */ mtc1 $v0, $f4 +/* ED8EAC 8024008C 00000000 */ nop +/* ED8EB0 80240090 46802120 */ cvt.s.w $f4, $f4 +/* ED8EB4 80240094 44062000 */ mfc1 $a2, $f4 +/* ED8EB8 80240098 44872000 */ mtc1 $a3, $f4 +/* ED8EBC 8024009C 00000000 */ nop +/* ED8EC0 802400A0 46802120 */ cvt.s.w $f4, $f4 +/* ED8EC4 802400A4 44806000 */ mtc1 $zero, $f12 +/* ED8EC8 802400A8 44072000 */ mfc1 $a3, $f4 +/* ED8ECC 802400AC 0C00ABDC */ jal fio_validate_header_checksums +/* ED8ED0 802400B0 46006386 */ mov.s $f14, $f12 +/* ED8ED4 802400B4 3C014270 */ lui $at, 0x4270 +/* ED8ED8 802400B8 44811000 */ mtc1 $at, $f2 +/* ED8EDC 802400BC 00000000 */ nop +/* ED8EE0 802400C0 4602003C */ c.lt.s $f0, $f2 +/* ED8EE4 802400C4 00000000 */ nop +/* ED8EE8 802400C8 45000004 */ bc1f .L802400DC +/* ED8EEC 802400CC 24020001 */ addiu $v0, $zero, 1 +/* ED8EF0 802400D0 AE020084 */ sw $v0, 0x84($s0) +/* ED8EF4 802400D4 08090038 */ j .L802400E0 +/* ED8EF8 802400D8 24020002 */ addiu $v0, $zero, 2 +.L802400DC: +/* ED8EFC 802400DC 0000102D */ daddu $v0, $zero, $zero +.L802400E0: +/* ED8F00 802400E0 8FBF0014 */ lw $ra, 0x14($sp) +/* ED8F04 802400E4 8FB00010 */ lw $s0, 0x10($sp) +/* ED8F08 802400E8 03E00008 */ jr $ra +/* ED8F0C 802400EC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_ED8E20/func_802400F0_ED8F10.s b/asm/nonmatchings/code_ED8E20/func_802400F0_ED8F10.s new file mode 100644 index 0000000000..2126656f62 --- /dev/null +++ b/asm/nonmatchings/code_ED8E20/func_802400F0_ED8F10.s @@ -0,0 +1,74 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802400F0_ED8F10 +/* ED8F10 802400F0 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* ED8F14 802400F4 AFB00020 */ sw $s0, 0x20($sp) +/* ED8F18 802400F8 0080802D */ daddu $s0, $a0, $zero +/* ED8F1C 802400FC AFBF002C */ sw $ra, 0x2c($sp) +/* ED8F20 80240100 AFB20028 */ sw $s2, 0x28($sp) +/* ED8F24 80240104 0C017C4A */ jal func_8005F128 +/* ED8F28 80240108 AFB10024 */ sw $s1, 0x24($sp) +/* ED8F2C 8024010C 0200202D */ daddu $a0, $s0, $zero +/* ED8F30 80240110 3C05FE36 */ lui $a1, 0xfe36 +/* ED8F34 80240114 34A53C80 */ ori $a1, $a1, 0x3c80 +/* ED8F38 80240118 0C0B53A3 */ jal func_802D4E8C +/* ED8F3C 8024011C 0040902D */ daddu $s2, $v0, $zero +/* ED8F40 80240120 0200202D */ daddu $a0, $s0, $zero +/* ED8F44 80240124 3C05FE36 */ lui $a1, 0xfe36 +/* ED8F48 80240128 8E430014 */ lw $v1, 0x14($s2) +/* ED8F4C 8024012C 00028900 */ sll $s1, $v0, 4 +/* ED8F50 80240130 02231821 */ addu $v1, $s1, $v1 +/* ED8F54 80240134 C4600000 */ lwc1 $f0, ($v1) +/* ED8F58 80240138 4600008D */ trunc.w.s $f2, $f0 +/* ED8F5C 8024013C 44061000 */ mfc1 $a2, $f2 +/* ED8F60 80240140 0C0B551A */ jal func_802D5468 +/* ED8F64 80240144 34A53C81 */ ori $a1, $a1, 0x3c81 +/* ED8F68 80240148 0200202D */ daddu $a0, $s0, $zero +/* ED8F6C 8024014C 8E420014 */ lw $v0, 0x14($s2) +/* ED8F70 80240150 3C05FE36 */ lui $a1, 0xfe36 +/* ED8F74 80240154 02221021 */ addu $v0, $s1, $v0 +/* ED8F78 80240158 C4400004 */ lwc1 $f0, 4($v0) +/* ED8F7C 8024015C 4600008D */ trunc.w.s $f2, $f0 +/* ED8F80 80240160 44061000 */ mfc1 $a2, $f2 +/* ED8F84 80240164 0C0B551A */ jal func_802D5468 +/* ED8F88 80240168 34A53C82 */ ori $a1, $a1, 0x3c82 +/* ED8F8C 8024016C 0200202D */ daddu $a0, $s0, $zero +/* ED8F90 80240170 8E420014 */ lw $v0, 0x14($s2) +/* ED8F94 80240174 3C05FE36 */ lui $a1, 0xfe36 +/* ED8F98 80240178 02221021 */ addu $v0, $s1, $v0 +/* ED8F9C 8024017C C4400008 */ lwc1 $f0, 8($v0) +/* ED8FA0 80240180 4600008D */ trunc.w.s $f2, $f0 +/* ED8FA4 80240184 44061000 */ mfc1 $a2, $f2 +/* ED8FA8 80240188 0C0B551A */ jal func_802D5468 +/* ED8FAC 8024018C 34A53C83 */ ori $a1, $a1, 0x3c83 +/* ED8FB0 80240190 0200202D */ daddu $a0, $s0, $zero +/* ED8FB4 80240194 8E420014 */ lw $v0, 0x14($s2) +/* ED8FB8 80240198 3C05FE36 */ lui $a1, 0xfe36 +/* ED8FBC 8024019C 02228821 */ addu $s1, $s1, $v0 +/* ED8FC0 802401A0 C620000C */ lwc1 $f0, 0xc($s1) +/* ED8FC4 802401A4 4600008D */ trunc.w.s $f2, $f0 +/* ED8FC8 802401A8 44061000 */ mfc1 $a2, $f2 +/* ED8FCC 802401AC 0C0B551A */ jal func_802D5468 +/* ED8FD0 802401B0 34A53C84 */ ori $a1, $a1, 0x3c84 +/* ED8FD4 802401B4 3C028008 */ lui $v0, %hi(D_80079430) +/* ED8FD8 802401B8 8C429430 */ lw $v0, %lo(D_80079430)($v0) +/* ED8FDC 802401BC 8E03008C */ lw $v1, 0x8c($s0) +/* ED8FE0 802401C0 94450134 */ lhu $a1, 0x134($v0) +/* ED8FE4 802401C4 AFA30010 */ sw $v1, 0x10($sp) +/* ED8FE8 802401C8 8E020090 */ lw $v0, 0x90($s0) +/* ED8FEC 802401CC AFA20014 */ sw $v0, 0x14($sp) +/* ED8FF0 802401D0 8E020094 */ lw $v0, 0x94($s0) +/* ED8FF4 802401D4 AFA20018 */ sw $v0, 0x18($sp) +/* ED8FF8 802401D8 8E060084 */ lw $a2, 0x84($s0) +/* ED8FFC 802401DC 8E070088 */ lw $a3, 0x88($s0) +/* ED9000 802401E0 3C048024 */ lui $a0, %hi(D_80243170) +/* ED9004 802401E4 0C00973F */ jal func_80025CFC +/* ED9008 802401E8 24843170 */ addiu $a0, $a0, %lo(D_80243170) +/* ED900C 802401EC 8FBF002C */ lw $ra, 0x2c($sp) +/* ED9010 802401F0 8FB20028 */ lw $s2, 0x28($sp) +/* ED9014 802401F4 8FB10024 */ lw $s1, 0x24($sp) +/* ED9018 802401F8 8FB00020 */ lw $s0, 0x20($sp) +/* ED901C 802401FC 24020002 */ addiu $v0, $zero, 2 +/* ED9020 80240200 03E00008 */ jr $ra +/* ED9024 80240204 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_ED8E20/func_80240208_ED9028.s b/asm/nonmatchings/code_ED8E20/func_80240208_ED9028.s new file mode 100644 index 0000000000..04fa2a57ba --- /dev/null +++ b/asm/nonmatchings/code_ED8E20/func_80240208_ED9028.s @@ -0,0 +1,31 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240208_ED9028 +/* ED9028 80240208 3C038008 */ lui $v1, %hi(D_8007C760) +/* ED902C 8024020C 8C63C760 */ lw $v1, %lo(D_8007C760)($v1) +/* ED9030 80240210 3C014334 */ lui $at, 0x4334 +/* ED9034 80240214 44816000 */ mtc1 $at, $f12 +/* ED9038 80240218 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* ED903C 8024021C AFBF0014 */ sw $ra, 0x14($sp) +/* ED9040 80240220 AFB00010 */ sw $s0, 0x10($sp) +/* ED9044 80240224 00031080 */ sll $v0, $v1, 2 +/* ED9048 80240228 00431021 */ addu $v0, $v0, $v1 +/* ED904C 8024022C 00021080 */ sll $v0, $v0, 2 +/* ED9050 80240230 00431023 */ subu $v0, $v0, $v1 +/* ED9054 80240234 000218C0 */ sll $v1, $v0, 3 +/* ED9058 80240238 00431021 */ addu $v0, $v0, $v1 +/* ED905C 8024023C 000210C0 */ sll $v0, $v0, 3 +/* ED9060 80240240 3C01800C */ lui $at, %hi(D_800B8DEC) +/* ED9064 80240244 00220821 */ addu $at, $at, $v0 +/* ED9068 80240248 C4208DEC */ lwc1 $f0, %lo(D_800B8DEC)($at) +/* ED906C 8024024C 460C0300 */ add.s $f12, $f0, $f12 +/* ED9070 80240250 0C00AB85 */ jal func_8002AE14 +/* ED9074 80240254 0080802D */ daddu $s0, $a0, $zero +/* ED9078 80240258 4600008D */ trunc.w.s $f2, $f0 +/* ED907C 8024025C E6020084 */ swc1 $f2, 0x84($s0) +/* ED9080 80240260 8FBF0014 */ lw $ra, 0x14($sp) +/* ED9084 80240264 8FB00010 */ lw $s0, 0x10($sp) +/* ED9088 80240268 24020002 */ addiu $v0, $zero, 2 +/* ED908C 8024026C 03E00008 */ jr $ra +/* ED9090 80240270 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_ED8E20/func_80240274_ED9094.s b/asm/nonmatchings/code_ED8E20/func_80240274_ED9094.s new file mode 100644 index 0000000000..535e9cf73e --- /dev/null +++ b/asm/nonmatchings/code_ED8E20/func_80240274_ED9094.s @@ -0,0 +1,45 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240274_ED9094 +/* ED9094 80240274 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* ED9098 80240278 AFB00018 */ sw $s0, 0x18($sp) +/* ED909C 8024027C 0080802D */ daddu $s0, $a0, $zero +/* ED90A0 80240280 AFBF001C */ sw $ra, 0x1c($sp) +/* ED90A4 80240284 F7B40020 */ sdc1 $f20, 0x20($sp) +/* ED90A8 80240288 8E02000C */ lw $v0, 0xc($s0) +/* ED90AC 8024028C 0C0B55FF */ jal func_802D57FC +/* ED90B0 80240290 8C450000 */ lw $a1, ($v0) +/* ED90B4 80240294 27A40010 */ addiu $a0, $sp, 0x10 +/* ED90B8 80240298 3C028011 */ lui $v0, %hi(D_80117578) +/* ED90BC 8024029C 24427578 */ addiu $v0, $v0, %lo(D_80117578) +/* ED90C0 802402A0 44060000 */ mfc1 $a2, $f0 +/* ED90C4 802402A4 C4400028 */ lwc1 $f0, 0x28($v0) +/* ED90C8 802402A8 C4420030 */ lwc1 $f2, 0x30($v0) +/* ED90CC 802402AC E7A00010 */ swc1 $f0, 0x10($sp) +/* ED90D0 802402B0 E7A20014 */ swc1 $f2, 0x14($sp) +/* ED90D4 802402B4 8C470080 */ lw $a3, 0x80($v0) +/* ED90D8 802402B8 C454002C */ lwc1 $f20, 0x2c($v0) +/* ED90DC 802402BC 0C00ACA3 */ jal func_8002B28C +/* ED90E0 802402C0 27A50014 */ addiu $a1, $sp, 0x14 +/* ED90E4 802402C4 0200202D */ daddu $a0, $s0, $zero +/* ED90E8 802402C8 3C05FE36 */ lui $a1, 0xfe36 +/* ED90EC 802402CC 8FA60010 */ lw $a2, 0x10($sp) +/* ED90F0 802402D0 0C0B5684 */ jal func_802D5A10 +/* ED90F4 802402D4 34A53C80 */ ori $a1, $a1, 0x3c80 +/* ED90F8 802402D8 0200202D */ daddu $a0, $s0, $zero +/* ED90FC 802402DC 3C05FE36 */ lui $a1, 0xfe36 +/* ED9100 802402E0 4406A000 */ mfc1 $a2, $f20 +/* ED9104 802402E4 0C0B5684 */ jal func_802D5A10 +/* ED9108 802402E8 34A53C81 */ ori $a1, $a1, 0x3c81 +/* ED910C 802402EC 0200202D */ daddu $a0, $s0, $zero +/* ED9110 802402F0 3C05FE36 */ lui $a1, 0xfe36 +/* ED9114 802402F4 8FA60014 */ lw $a2, 0x14($sp) +/* ED9118 802402F8 0C0B5684 */ jal func_802D5A10 +/* ED911C 802402FC 34A53C82 */ ori $a1, $a1, 0x3c82 +/* ED9120 80240300 8FBF001C */ lw $ra, 0x1c($sp) +/* ED9124 80240304 8FB00018 */ lw $s0, 0x18($sp) +/* ED9128 80240308 D7B40020 */ ldc1 $f20, 0x20($sp) +/* ED912C 8024030C 24020002 */ addiu $v0, $zero, 2 +/* ED9130 80240310 03E00008 */ jr $ra +/* ED9134 80240314 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_ED8E20/func_80240318_ED9138.s b/asm/nonmatchings/code_ED8E20/func_80240318_ED9138.s new file mode 100644 index 0000000000..9d02faba75 --- /dev/null +++ b/asm/nonmatchings/code_ED8E20/func_80240318_ED9138.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240318_ED9138 +/* ED9138 80240318 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* ED913C 8024031C 0000202D */ daddu $a0, $zero, $zero +/* ED9140 80240320 0080282D */ daddu $a1, $a0, $zero +/* ED9144 80240324 0080302D */ daddu $a2, $a0, $zero +/* ED9148 80240328 0080382D */ daddu $a3, $a0, $zero +/* ED914C 8024032C AFBF0018 */ sw $ra, 0x18($sp) +/* ED9150 80240330 AFA00010 */ sw $zero, 0x10($sp) +/* ED9154 80240334 0C01DEF4 */ jal func_80077BD0 +/* ED9158 80240338 AFA00014 */ sw $zero, 0x14($sp) +/* ED915C 8024033C 8FBF0018 */ lw $ra, 0x18($sp) +/* ED9160 80240340 24020002 */ addiu $v0, $zero, 2 +/* ED9164 80240344 03E00008 */ jr $ra +/* ED9168 80240348 27BD0020 */ addiu $sp, $sp, 0x20 +/* ED916C 8024034C 00000000 */ nop diff --git a/asm/nonmatchings/code_EDBFE0/func_80240000_EDBFE0.s b/asm/nonmatchings/code_EDBFE0/func_80240000_EDBFE0.s new file mode 100644 index 0000000000..ea020a0215 --- /dev/null +++ b/asm/nonmatchings/code_EDBFE0/func_80240000_EDBFE0.s @@ -0,0 +1,20 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EDBFE0 +/* EDBFE0 80240000 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EDBFE4 80240004 0000202D */ daddu $a0, $zero, $zero +/* EDBFE8 80240008 0080282D */ daddu $a1, $a0, $zero +/* EDBFEC 8024000C 0080302D */ daddu $a2, $a0, $zero +/* EDBFF0 80240010 0080382D */ daddu $a3, $a0, $zero +/* EDBFF4 80240014 AFBF0018 */ sw $ra, 0x18($sp) +/* EDBFF8 80240018 AFA00010 */ sw $zero, 0x10($sp) +/* EDBFFC 8024001C 0C01DEF4 */ jal func_80077BD0 +/* EDC000 80240020 AFA00014 */ sw $zero, 0x14($sp) +/* EDC004 80240024 8FBF0018 */ lw $ra, 0x18($sp) +/* EDC008 80240028 24020002 */ addiu $v0, $zero, 2 +/* EDC00C 8024002C 03E00008 */ jr $ra +/* EDC010 80240030 27BD0020 */ addiu $sp, $sp, 0x20 +/* EDC014 80240034 00000000 */ nop +/* EDC018 80240038 00000000 */ nop +/* EDC01C 8024003C 00000000 */ nop diff --git a/asm/nonmatchings/code_EDC020/func_80240040_EDC020.s b/asm/nonmatchings/code_EDC020/func_80240040_EDC020.s new file mode 100644 index 0000000000..35bb782299 --- /dev/null +++ b/asm/nonmatchings/code_EDC020/func_80240040_EDC020.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240040_EDC020 +/* EDC020 80240040 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EDC024 80240044 F7B40018 */ sdc1 $f20, 0x18($sp) +/* EDC028 80240048 4485A000 */ mtc1 $a1, $f20 +/* EDC02C 8024004C F7B60020 */ sdc1 $f22, 0x20($sp) +/* EDC030 80240050 4486B000 */ mtc1 $a2, $f22 +/* EDC034 80240054 AFB00010 */ sw $s0, 0x10($sp) +/* EDC038 80240058 F7B80028 */ sdc1 $f24, 0x28($sp) +/* EDC03C 8024005C 4487C000 */ mtc1 $a3, $f24 +/* EDC040 80240060 AFBF0014 */ sw $ra, 0x14($sp) +/* EDC044 80240064 0C01B198 */ jal osGetCause +/* EDC048 80240068 0080802D */ daddu $s0, $a0, $zero +/* EDC04C 8024006C 4616A582 */ mul.s $f22, $f20, $f22 +/* EDC050 80240070 00000000 */ nop +/* EDC054 80240074 4618A502 */ mul.s $f20, $f20, $f24 +/* EDC058 80240078 00000000 */ nop +/* EDC05C 8024007C 3C013F80 */ lui $at, 0x3f80 +/* EDC060 80240080 44810000 */ mtc1 $at, $f0 +/* EDC064 80240084 00000000 */ nop +/* EDC068 80240088 E6000014 */ swc1 $f0, 0x14($s0) +/* EDC06C 8024008C E6160010 */ swc1 $f22, 0x10($s0) +/* EDC070 80240090 E6140018 */ swc1 $f20, 0x18($s0) +/* EDC074 80240094 8FBF0014 */ lw $ra, 0x14($sp) +/* EDC078 80240098 8FB00010 */ lw $s0, 0x10($sp) +/* EDC07C 8024009C D7B80028 */ ldc1 $f24, 0x28($sp) +/* EDC080 802400A0 D7B60020 */ ldc1 $f22, 0x20($sp) +/* EDC084 802400A4 D7B40018 */ ldc1 $f20, 0x18($sp) +/* EDC088 802400A8 03E00008 */ jr $ra +/* EDC08C 802400AC 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_EDC020/func_802400B0_EDC090.s b/asm/nonmatchings/code_EDC020/func_802400B0_EDC090.s new file mode 100644 index 0000000000..2696ac7b55 --- /dev/null +++ b/asm/nonmatchings/code_EDC020/func_802400B0_EDC090.s @@ -0,0 +1,121 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802400B0_EDC090 +/* EDC090 802400B0 27BDFF78 */ addiu $sp, $sp, -0x88 +/* EDC094 802400B4 AFB10054 */ sw $s1, 0x54($sp) +/* EDC098 802400B8 0080882D */ daddu $s1, $a0, $zero +/* EDC09C 802400BC AFBF005C */ sw $ra, 0x5c($sp) +/* EDC0A0 802400C0 AFB20058 */ sw $s2, 0x58($sp) +/* EDC0A4 802400C4 AFB00050 */ sw $s0, 0x50($sp) +/* EDC0A8 802400C8 F7BC0080 */ sdc1 $f28, 0x80($sp) +/* EDC0AC 802400CC F7BA0078 */ sdc1 $f26, 0x78($sp) +/* EDC0B0 802400D0 F7B80070 */ sdc1 $f24, 0x70($sp) +/* EDC0B4 802400D4 F7B60068 */ sdc1 $f22, 0x68($sp) +/* EDC0B8 802400D8 F7B40060 */ sdc1 $f20, 0x60($sp) +/* EDC0BC 802400DC 8E30000C */ lw $s0, 0xc($s1) +/* EDC0C0 802400E0 8E050000 */ lw $a1, ($s0) +/* EDC0C4 802400E4 0C0B53A3 */ jal func_802D4E8C +/* EDC0C8 802400E8 26100004 */ addiu $s0, $s0, 4 +/* EDC0CC 802400EC 0C04949C */ jal func_80125270 +/* EDC0D0 802400F0 0040202D */ daddu $a0, $v0, $zero +/* EDC0D4 802400F4 8E050000 */ lw $a1, ($s0) +/* EDC0D8 802400F8 26100004 */ addiu $s0, $s0, 4 +/* EDC0DC 802400FC 0220202D */ daddu $a0, $s1, $zero +/* EDC0E0 80240100 0C0B55FF */ jal func_802D57FC +/* EDC0E4 80240104 0040902D */ daddu $s2, $v0, $zero +/* EDC0E8 80240108 8E050000 */ lw $a1, ($s0) +/* EDC0EC 8024010C 26100004 */ addiu $s0, $s0, 4 +/* EDC0F0 80240110 0220202D */ daddu $a0, $s1, $zero +/* EDC0F4 80240114 0C0B55FF */ jal func_802D57FC +/* EDC0F8 80240118 46000706 */ mov.s $f28, $f0 +/* EDC0FC 8024011C 8E050000 */ lw $a1, ($s0) +/* EDC100 80240120 26100004 */ addiu $s0, $s0, 4 +/* EDC104 80240124 0220202D */ daddu $a0, $s1, $zero +/* EDC108 80240128 0C0B55FF */ jal func_802D57FC +/* EDC10C 8024012C 46000686 */ mov.s $f26, $f0 +/* EDC110 80240130 0220202D */ daddu $a0, $s1, $zero +/* EDC114 80240134 8E050000 */ lw $a1, ($s0) +/* EDC118 80240138 0C0B55FF */ jal func_802D57FC +/* EDC11C 8024013C 46000586 */ mov.s $f22, $f0 +/* EDC120 80240140 0240202D */ daddu $a0, $s2, $zero +/* EDC124 80240144 0C0493D1 */ jal func_80124F44 +/* EDC128 80240148 46000606 */ mov.s $f24, $f0 +/* EDC12C 8024014C 0040882D */ daddu $s1, $v0, $zero +/* EDC130 80240150 96220000 */ lhu $v0, ($s1) +/* EDC134 80240154 30420400 */ andi $v0, $v0, 0x400 +/* EDC138 80240158 1440001E */ bnez $v0, .L802401D4 +/* EDC13C 8024015C 26300058 */ addiu $s0, $s1, 0x58 +/* EDC140 80240160 4480A000 */ mtc1 $zero, $f20 +/* EDC144 80240164 4406B000 */ mfc1 $a2, $f22 +/* EDC148 80240168 4405A000 */ mfc1 $a1, $f20 +/* EDC14C 8024016C 4407A000 */ mfc1 $a3, $f20 +/* EDC150 80240170 0C01B2B0 */ jal func_8006CAC0 +/* EDC154 80240174 0200202D */ daddu $a0, $s0, $zero +/* EDC158 80240178 4405E000 */ mfc1 $a1, $f28 +/* EDC15C 8024017C 4406D000 */ mfc1 $a2, $f26 +/* EDC160 80240180 4407C000 */ mfc1 $a3, $f24 +/* EDC164 80240184 0C090010 */ jal func_80240040_EDC020 +/* EDC168 80240188 27A40010 */ addiu $a0, $sp, 0x10 +/* EDC16C 8024018C 27A40010 */ addiu $a0, $sp, 0x10 +/* EDC170 80240190 0200282D */ daddu $a1, $s0, $zero +/* EDC174 80240194 0C01B1F0 */ jal osSiRawReadIo +/* EDC178 80240198 0200302D */ daddu $a2, $s0, $zero +/* EDC17C 8024019C 27A40010 */ addiu $a0, $sp, 0x10 +/* EDC180 802401A0 4600B587 */ neg.s $f22, $f22 +/* EDC184 802401A4 4405A000 */ mfc1 $a1, $f20 +/* EDC188 802401A8 4406B000 */ mfc1 $a2, $f22 +/* EDC18C 802401AC 0C01B2B0 */ jal func_8006CAC0 +/* EDC190 802401B0 00A0382D */ daddu $a3, $a1, $zero +/* EDC194 802401B4 27A40010 */ addiu $a0, $sp, 0x10 +/* EDC198 802401B8 0200282D */ daddu $a1, $s0, $zero +/* EDC19C 802401BC 0C01B1F0 */ jal osSiRawReadIo +/* EDC1A0 802401C0 00A0302D */ daddu $a2, $a1, $zero +/* EDC1A4 802401C4 96220000 */ lhu $v0, ($s1) +/* EDC1A8 802401C8 34421400 */ ori $v0, $v0, 0x1400 +/* EDC1AC 802401CC 08090093 */ j .L8024024C +/* EDC1B0 802401D0 A6220000 */ sh $v0, ($s1) +.L802401D4: +/* EDC1B4 802401D4 4480A000 */ mtc1 $zero, $f20 +/* EDC1B8 802401D8 4406B000 */ mfc1 $a2, $f22 +/* EDC1BC 802401DC 4405A000 */ mfc1 $a1, $f20 +/* EDC1C0 802401E0 4407A000 */ mfc1 $a3, $f20 +/* EDC1C4 802401E4 0C01B2B0 */ jal func_8006CAC0 +/* EDC1C8 802401E8 27A40010 */ addiu $a0, $sp, 0x10 +/* EDC1CC 802401EC 27A40010 */ addiu $a0, $sp, 0x10 +/* EDC1D0 802401F0 26300058 */ addiu $s0, $s1, 0x58 +/* EDC1D4 802401F4 0200282D */ daddu $a1, $s0, $zero +/* EDC1D8 802401F8 0C01B1F0 */ jal osSiRawReadIo +/* EDC1DC 802401FC 0200302D */ daddu $a2, $s0, $zero +/* EDC1E0 80240200 4405E000 */ mfc1 $a1, $f28 +/* EDC1E4 80240204 4406D000 */ mfc1 $a2, $f26 +/* EDC1E8 80240208 4407C000 */ mfc1 $a3, $f24 +/* EDC1EC 8024020C 0C090010 */ jal func_80240040_EDC020 +/* EDC1F0 80240210 27A40010 */ addiu $a0, $sp, 0x10 +/* EDC1F4 80240214 27A40010 */ addiu $a0, $sp, 0x10 +/* EDC1F8 80240218 0200282D */ daddu $a1, $s0, $zero +/* EDC1FC 8024021C 0C01B1F0 */ jal osSiRawReadIo +/* EDC200 80240220 0200302D */ daddu $a2, $s0, $zero +/* EDC204 80240224 27A40010 */ addiu $a0, $sp, 0x10 +/* EDC208 80240228 4600B587 */ neg.s $f22, $f22 +/* EDC20C 8024022C 4405A000 */ mfc1 $a1, $f20 +/* EDC210 80240230 4406B000 */ mfc1 $a2, $f22 +/* EDC214 80240234 0C01B2B0 */ jal func_8006CAC0 +/* EDC218 80240238 00A0382D */ daddu $a3, $a1, $zero +/* EDC21C 8024023C 27A40010 */ addiu $a0, $sp, 0x10 +/* EDC220 80240240 0200282D */ daddu $a1, $s0, $zero +/* EDC224 80240244 0C01B1F0 */ jal osSiRawReadIo +/* EDC228 80240248 00A0302D */ daddu $a2, $a1, $zero +.L8024024C: +/* EDC22C 8024024C 8FBF005C */ lw $ra, 0x5c($sp) +/* EDC230 80240250 8FB20058 */ lw $s2, 0x58($sp) +/* EDC234 80240254 8FB10054 */ lw $s1, 0x54($sp) +/* EDC238 80240258 8FB00050 */ lw $s0, 0x50($sp) +/* EDC23C 8024025C D7BC0080 */ ldc1 $f28, 0x80($sp) +/* EDC240 80240260 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* EDC244 80240264 D7B80070 */ ldc1 $f24, 0x70($sp) +/* EDC248 80240268 D7B60068 */ ldc1 $f22, 0x68($sp) +/* EDC24C 8024026C D7B40060 */ ldc1 $f20, 0x60($sp) +/* EDC250 80240270 24020002 */ addiu $v0, $zero, 2 +/* EDC254 80240274 03E00008 */ jr $ra +/* EDC258 80240278 27BD0088 */ addiu $sp, $sp, 0x88 diff --git a/asm/nonmatchings/code_EDC020/func_8024027C_EDC25C.s b/asm/nonmatchings/code_EDC020/func_8024027C_EDC25C.s new file mode 100644 index 0000000000..25115d9f9f --- /dev/null +++ b/asm/nonmatchings/code_EDC020/func_8024027C_EDC25C.s @@ -0,0 +1,53 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024027C_EDC25C +/* EDC25C 8024027C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EDC260 80240280 AFB00010 */ sw $s0, 0x10($sp) +/* EDC264 80240284 3C108024 */ lui $s0, %hi(func_802417EC_C5BF2C) +/* EDC268 80240288 261017EC */ addiu $s0, $s0, %lo(func_802417EC_C5BF2C) +/* EDC26C 8024028C AFBF0018 */ sw $ra, 0x18($sp) +/* EDC270 80240290 AFB10014 */ sw $s1, 0x14($sp) +/* EDC274 80240294 8E020000 */ lw $v0, ($s0) +/* EDC278 80240298 14400010 */ bnez $v0, .L802402DC +/* EDC27C 8024029C 0080882D */ daddu $s1, $a0, $zero +/* EDC280 802402A0 0C00AFF5 */ jal func_8002BFD4 +/* EDC284 802402A4 24040040 */ addiu $a0, $zero, 0x40 +/* EDC288 802402A8 AE020000 */ sw $v0, ($s0) +/* EDC28C 802402AC 0000182D */ daddu $v1, $zero, $zero +/* EDC290 802402B0 0040282D */ daddu $a1, $v0, $zero +/* EDC294 802402B4 0220202D */ daddu $a0, $s1, $zero +.L802402B8: +/* EDC298 802402B8 8C820084 */ lw $v0, 0x84($a0) +/* EDC29C 802402BC 24840004 */ addiu $a0, $a0, 4 +/* EDC2A0 802402C0 24630001 */ addiu $v1, $v1, 1 +/* EDC2A4 802402C4 ACA20000 */ sw $v0, ($a1) +/* EDC2A8 802402C8 28620010 */ slti $v0, $v1, 0x10 +/* EDC2AC 802402CC 1440FFFA */ bnez $v0, .L802402B8 +/* EDC2B0 802402D0 24A50004 */ addiu $a1, $a1, 4 +/* EDC2B4 802402D4 080900C6 */ j .L80240318 +/* EDC2B8 802402D8 00000000 */ nop +.L802402DC: +/* EDC2BC 802402DC 0000182D */ daddu $v1, $zero, $zero +/* EDC2C0 802402E0 0040282D */ daddu $a1, $v0, $zero +/* EDC2C4 802402E4 0220202D */ daddu $a0, $s1, $zero +.L802402E8: +/* EDC2C8 802402E8 8CA20000 */ lw $v0, ($a1) +/* EDC2CC 802402EC 24A50004 */ addiu $a1, $a1, 4 +/* EDC2D0 802402F0 24630001 */ addiu $v1, $v1, 1 +/* EDC2D4 802402F4 AC820084 */ sw $v0, 0x84($a0) +/* EDC2D8 802402F8 28620010 */ slti $v0, $v1, 0x10 +/* EDC2DC 802402FC 1440FFFA */ bnez $v0, .L802402E8 +/* EDC2E0 80240300 24840004 */ addiu $a0, $a0, 4 +/* EDC2E4 80240304 3C108024 */ lui $s0, %hi(func_802417EC_C5BF2C) +/* EDC2E8 80240308 261017EC */ addiu $s0, $s0, %lo(func_802417EC_C5BF2C) +/* EDC2EC 8024030C 0C00B007 */ jal func_8002C01C +/* EDC2F0 80240310 8E040000 */ lw $a0, ($s0) +/* EDC2F4 80240314 AE000000 */ sw $zero, ($s0) +.L80240318: +/* EDC2F8 80240318 8FBF0018 */ lw $ra, 0x18($sp) +/* EDC2FC 8024031C 8FB10014 */ lw $s1, 0x14($sp) +/* EDC300 80240320 8FB00010 */ lw $s0, 0x10($sp) +/* EDC304 80240324 24020002 */ addiu $v0, $zero, 2 +/* EDC308 80240328 03E00008 */ jr $ra +/* EDC30C 8024032C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EDC020/func_80240330_EDC310.s b/asm/nonmatchings/code_EDC020/func_80240330_EDC310.s new file mode 100644 index 0000000000..581f02cd6c --- /dev/null +++ b/asm/nonmatchings/code_EDC020/func_80240330_EDC310.s @@ -0,0 +1,29 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240330_EDC310 +/* EDC310 80240330 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EDC314 80240334 AFB00010 */ sw $s0, 0x10($sp) +/* EDC318 80240338 0080802D */ daddu $s0, $a0, $zero +/* EDC31C 8024033C AFBF0018 */ sw $ra, 0x18($sp) +/* EDC320 80240340 AFB10014 */ sw $s1, 0x14($sp) +/* EDC324 80240344 8E02000C */ lw $v0, 0xc($s0) +/* EDC328 80240348 8C510000 */ lw $s1, ($v0) +/* EDC32C 8024034C 0C0B53A3 */ jal func_802D4E8C +/* EDC330 80240350 0220282D */ daddu $a1, $s1, $zero +/* EDC334 80240354 3C03FFF0 */ lui $v1, 0xfff0 +/* EDC338 80240358 3463FFFF */ ori $v1, $v1, 0xffff +/* EDC33C 8024035C 0200202D */ daddu $a0, $s0, $zero +/* EDC340 80240360 00431024 */ and $v0, $v0, $v1 +/* EDC344 80240364 00021140 */ sll $v0, $v0, 5 +/* EDC348 80240368 3C068009 */ lui $a2, %hi(D_8008D2C0) +/* EDC34C 8024036C 00C23021 */ addu $a2, $a2, $v0 +/* EDC350 80240370 8CC6D2C0 */ lw $a2, %lo(D_8008D2C0)($a2) +/* EDC354 80240374 0C0B551A */ jal func_802D5468 +/* EDC358 80240378 0220282D */ daddu $a1, $s1, $zero +/* EDC35C 8024037C 8FBF0018 */ lw $ra, 0x18($sp) +/* EDC360 80240380 8FB10014 */ lw $s1, 0x14($sp) +/* EDC364 80240384 8FB00010 */ lw $s0, 0x10($sp) +/* EDC368 80240388 24020002 */ addiu $v0, $zero, 2 +/* EDC36C 8024038C 03E00008 */ jr $ra +/* EDC370 80240390 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EDC020/func_80240394_EDC374.s b/asm/nonmatchings/code_EDC020/func_80240394_EDC374.s new file mode 100644 index 0000000000..a285297a9a --- /dev/null +++ b/asm/nonmatchings/code_EDC020/func_80240394_EDC374.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240394_EDC374 +/* EDC374 80240394 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EDC378 80240398 AFB10014 */ sw $s1, 0x14($sp) +/* EDC37C 8024039C 0080882D */ daddu $s1, $a0, $zero +/* EDC380 802403A0 AFBF0018 */ sw $ra, 0x18($sp) +/* EDC384 802403A4 AFB00010 */ sw $s0, 0x10($sp) +/* EDC388 802403A8 8E30000C */ lw $s0, 0xc($s1) +/* EDC38C 802403AC 8E050000 */ lw $a1, ($s0) +/* EDC390 802403B0 0C0B53A3 */ jal func_802D4E8C +/* EDC394 802403B4 26100004 */ addiu $s0, $s0, 4 +/* EDC398 802403B8 0C00F94D */ jal func_8003E534 +/* EDC39C 802403BC 0040202D */ daddu $a0, $v0, $zero +/* EDC3A0 802403C0 10400005 */ beqz $v0, .L802403D8 +/* EDC3A4 802403C4 00000000 */ nop +/* EDC3A8 802403C8 8E050000 */ lw $a1, ($s0) +/* EDC3AC 802403CC 844600A8 */ lh $a2, 0xa8($v0) +/* EDC3B0 802403D0 0C0B551A */ jal func_802D5468 +/* EDC3B4 802403D4 0220202D */ daddu $a0, $s1, $zero +.L802403D8: +/* EDC3B8 802403D8 8FBF0018 */ lw $ra, 0x18($sp) +/* EDC3BC 802403DC 8FB10014 */ lw $s1, 0x14($sp) +/* EDC3C0 802403E0 8FB00010 */ lw $s0, 0x10($sp) +/* EDC3C4 802403E4 24020002 */ addiu $v0, $zero, 2 +/* EDC3C8 802403E8 03E00008 */ jr $ra +/* EDC3CC 802403EC 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EDC020/func_802403F0_EDC3D0.s b/asm/nonmatchings/code_EDC020/func_802403F0_EDC3D0.s new file mode 100644 index 0000000000..fc5079fdac --- /dev/null +++ b/asm/nonmatchings/code_EDC020/func_802403F0_EDC3D0.s @@ -0,0 +1,122 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802403F0_EDC3D0 +/* EDC3D0 802403F0 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EDC3D4 802403F4 AFB10014 */ sw $s1, 0x14($sp) +/* EDC3D8 802403F8 0080882D */ daddu $s1, $a0, $zero +/* EDC3DC 802403FC AFBF0024 */ sw $ra, 0x24($sp) +/* EDC3E0 80240400 AFB40020 */ sw $s4, 0x20($sp) +/* EDC3E4 80240404 AFB3001C */ sw $s3, 0x1c($sp) +/* EDC3E8 80240408 AFB20018 */ sw $s2, 0x18($sp) +/* EDC3EC 8024040C AFB00010 */ sw $s0, 0x10($sp) +/* EDC3F0 80240410 F7BC0048 */ sdc1 $f28, 0x48($sp) +/* EDC3F4 80240414 F7BA0040 */ sdc1 $f26, 0x40($sp) +/* EDC3F8 80240418 F7B80038 */ sdc1 $f24, 0x38($sp) +/* EDC3FC 8024041C F7B60030 */ sdc1 $f22, 0x30($sp) +/* EDC400 80240420 F7B40028 */ sdc1 $f20, 0x28($sp) +/* EDC404 80240424 8E30000C */ lw $s0, 0xc($s1) +/* EDC408 80240428 8E130000 */ lw $s3, ($s0) +/* EDC40C 8024042C 26100004 */ addiu $s0, $s0, 4 +/* EDC410 80240430 0C0B53A3 */ jal func_802D4E8C +/* EDC414 80240434 0260282D */ daddu $a1, $s3, $zero +/* EDC418 80240438 4482E000 */ mtc1 $v0, $f28 +/* EDC41C 8024043C 00000000 */ nop +/* EDC420 80240440 4680E720 */ cvt.s.w $f28, $f28 +/* EDC424 80240444 8E140000 */ lw $s4, ($s0) +/* EDC428 80240448 26100004 */ addiu $s0, $s0, 4 +/* EDC42C 8024044C 0220202D */ daddu $a0, $s1, $zero +/* EDC430 80240450 0C0B53A3 */ jal func_802D4E8C +/* EDC434 80240454 0280282D */ daddu $a1, $s4, $zero +/* EDC438 80240458 4482D000 */ mtc1 $v0, $f26 +/* EDC43C 8024045C 00000000 */ nop +/* EDC440 80240460 4680D6A0 */ cvt.s.w $f26, $f26 +/* EDC444 80240464 8E100000 */ lw $s0, ($s0) +/* EDC448 80240468 0220202D */ daddu $a0, $s1, $zero +/* EDC44C 8024046C 0C0B53A3 */ jal func_802D4E8C +/* EDC450 80240470 0200282D */ daddu $a1, $s0, $zero +/* EDC454 80240474 4482C000 */ mtc1 $v0, $f24 +/* EDC458 80240478 00000000 */ nop +/* EDC45C 8024047C 4680C620 */ cvt.s.w $f24, $f24 +/* EDC460 80240480 3C128011 */ lui $s2, %hi(D_80117578) +/* EDC464 80240484 26527578 */ addiu $s2, $s2, %lo(D_80117578) +/* EDC468 80240488 3C038008 */ lui $v1, %hi(D_8007C760) +/* EDC46C 8024048C 8C63C760 */ lw $v1, %lo(D_8007C760)($v1) +/* EDC470 80240490 C64200A8 */ lwc1 $f2, 0xa8($s2) +/* EDC474 80240494 44800000 */ mtc1 $zero, $f0 +/* EDC478 80240498 00031080 */ sll $v0, $v1, 2 +/* EDC47C 8024049C 00431021 */ addu $v0, $v0, $v1 +/* EDC480 802404A0 00021080 */ sll $v0, $v0, 2 +/* EDC484 802404A4 00431023 */ subu $v0, $v0, $v1 +/* EDC488 802404A8 000218C0 */ sll $v1, $v0, 3 +/* EDC48C 802404AC 00431021 */ addu $v0, $v0, $v1 +/* EDC490 802404B0 000210C0 */ sll $v0, $v0, 3 +/* EDC494 802404B4 46001032 */ c.eq.s $f2, $f0 +/* EDC498 802404B8 3C01800C */ lui $at, %hi(D_800B8DEC) +/* EDC49C 802404BC 00220821 */ addu $at, $at, $v0 +/* EDC4A0 802404C0 C4368DEC */ lwc1 $f22, %lo(D_800B8DEC)($at) +/* EDC4A4 802404C4 45000005 */ bc1f .L802404DC +/* EDC4A8 802404C8 00000000 */ nop +/* EDC4AC 802404CC 3C0142C8 */ lui $at, 0x42c8 +/* EDC4B0 802404D0 44810000 */ mtc1 $at, $f0 +/* EDC4B4 802404D4 0809013B */ j .L802404EC +/* EDC4B8 802404D8 4600B581 */ sub.s $f22, $f22, $f0 +.L802404DC: +/* EDC4BC 802404DC 3C0142C8 */ lui $at, 0x42c8 +/* EDC4C0 802404E0 44810000 */ mtc1 $at, $f0 +/* EDC4C4 802404E4 00000000 */ nop +/* EDC4C8 802404E8 4600B580 */ add.s $f22, $f22, $f0 +.L802404EC: +/* EDC4CC 802404EC 0C00AB85 */ jal func_8002AE14 +/* EDC4D0 802404F0 4600B306 */ mov.s $f12, $f22 +/* EDC4D4 802404F4 46000586 */ mov.s $f22, $f0 +/* EDC4D8 802404F8 3C014170 */ lui $at, 0x4170 +/* EDC4DC 802404FC 4481A000 */ mtc1 $at, $f20 +/* EDC4E0 80240500 0C00AD77 */ jal func_8002B5DC +/* EDC4E4 80240504 4600B306 */ mov.s $f12, $f22 +/* EDC4E8 80240508 46140002 */ mul.s $f0, $f0, $f20 +/* EDC4EC 8024050C 00000000 */ nop +/* EDC4F0 80240510 864200B0 */ lh $v0, 0xb0($s2) +/* EDC4F4 80240514 3C013F00 */ lui $at, 0x3f00 +/* EDC4F8 80240518 44812000 */ mtc1 $at, $f4 +/* EDC4FC 8024051C 44821000 */ mtc1 $v0, $f2 +/* EDC500 80240520 00000000 */ nop +/* EDC504 80240524 468010A0 */ cvt.s.w $f2, $f2 +/* EDC508 80240528 46041082 */ mul.s $f2, $f2, $f4 +/* EDC50C 8024052C 00000000 */ nop +/* EDC510 80240530 4600E700 */ add.s $f28, $f28, $f0 +/* EDC514 80240534 4602D680 */ add.s $f26, $f26, $f2 +/* EDC518 80240538 0C00AD90 */ jal func_8002B640 +/* EDC51C 8024053C 4600B306 */ mov.s $f12, $f22 +/* EDC520 80240540 46140002 */ mul.s $f0, $f0, $f20 +/* EDC524 80240544 00000000 */ nop +/* EDC528 80240548 0220202D */ daddu $a0, $s1, $zero +/* EDC52C 8024054C 0260282D */ daddu $a1, $s3, $zero +/* EDC530 80240550 4600E18D */ trunc.w.s $f6, $f28 +/* EDC534 80240554 44063000 */ mfc1 $a2, $f6 +/* EDC538 80240558 0C0B551A */ jal func_802D5468 +/* EDC53C 8024055C 4600C601 */ sub.s $f24, $f24, $f0 +/* EDC540 80240560 0220202D */ daddu $a0, $s1, $zero +/* EDC544 80240564 4600D18D */ trunc.w.s $f6, $f26 +/* EDC548 80240568 44063000 */ mfc1 $a2, $f6 +/* EDC54C 8024056C 0C0B551A */ jal func_802D5468 +/* EDC550 80240570 0280282D */ daddu $a1, $s4, $zero +/* EDC554 80240574 0220202D */ daddu $a0, $s1, $zero +/* EDC558 80240578 4600C18D */ trunc.w.s $f6, $f24 +/* EDC55C 8024057C 44063000 */ mfc1 $a2, $f6 +/* EDC560 80240580 0C0B551A */ jal func_802D5468 +/* EDC564 80240584 0200282D */ daddu $a1, $s0, $zero +/* EDC568 80240588 8FBF0024 */ lw $ra, 0x24($sp) +/* EDC56C 8024058C 8FB40020 */ lw $s4, 0x20($sp) +/* EDC570 80240590 8FB3001C */ lw $s3, 0x1c($sp) +/* EDC574 80240594 8FB20018 */ lw $s2, 0x18($sp) +/* EDC578 80240598 8FB10014 */ lw $s1, 0x14($sp) +/* EDC57C 8024059C 8FB00010 */ lw $s0, 0x10($sp) +/* EDC580 802405A0 D7BC0048 */ ldc1 $f28, 0x48($sp) +/* EDC584 802405A4 D7BA0040 */ ldc1 $f26, 0x40($sp) +/* EDC588 802405A8 D7B80038 */ ldc1 $f24, 0x38($sp) +/* EDC58C 802405AC D7B60030 */ ldc1 $f22, 0x30($sp) +/* EDC590 802405B0 D7B40028 */ ldc1 $f20, 0x28($sp) +/* EDC594 802405B4 24020002 */ addiu $v0, $zero, 2 +/* EDC598 802405B8 03E00008 */ jr $ra +/* EDC59C 802405BC 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EDC020/func_802405C0_EDC5A0.s b/asm/nonmatchings/code_EDC020/func_802405C0_EDC5A0.s new file mode 100644 index 0000000000..cd3a12b841 --- /dev/null +++ b/asm/nonmatchings/code_EDC020/func_802405C0_EDC5A0.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802405C0_EDC5A0 +/* EDC5A0 802405C0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EDC5A4 802405C4 AFBF0010 */ sw $ra, 0x10($sp) +/* EDC5A8 802405C8 10A00003 */ beqz $a1, .L802405D8 +/* EDC5AC 802405CC 8C86000C */ lw $a2, 0xc($a0) +/* EDC5B0 802405D0 3C018024 */ lui $at, %hi(func_80241850_A2BA90) +/* EDC5B4 802405D4 AC201850 */ sw $zero, %lo(func_80241850_A2BA90)($at) +.L802405D8: +/* EDC5B8 802405D8 3C038024 */ lui $v1, %hi(func_80241850_A2BA90) +/* EDC5BC 802405DC 24631850 */ addiu $v1, $v1, %lo(func_80241850_A2BA90) +/* EDC5C0 802405E0 8C620000 */ lw $v0, ($v1) +/* EDC5C4 802405E4 54400003 */ bnel $v0, $zero, .L802405F4 +/* EDC5C8 802405E8 AC600000 */ sw $zero, ($v1) +/* EDC5CC 802405EC 08090182 */ j .L80240608 +/* EDC5D0 802405F0 0000102D */ daddu $v0, $zero, $zero +.L802405F4: +/* EDC5D4 802405F4 8CC50000 */ lw $a1, ($a2) +/* EDC5D8 802405F8 3C068024 */ lui $a2, %hi(D_80241854) +/* EDC5DC 802405FC 0C0B551A */ jal func_802D5468 +/* EDC5E0 80240600 8CC61854 */ lw $a2, %lo(D_80241854)($a2) +/* EDC5E4 80240604 24020002 */ addiu $v0, $zero, 2 +.L80240608: +/* EDC5E8 80240608 8FBF0010 */ lw $ra, 0x10($sp) +/* EDC5EC 8024060C 03E00008 */ jr $ra +/* EDC5F0 80240610 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EDC020/func_80240614_EDC5F4.s b/asm/nonmatchings/code_EDC020/func_80240614_EDC5F4.s new file mode 100644 index 0000000000..a078ef6812 --- /dev/null +++ b/asm/nonmatchings/code_EDC020/func_80240614_EDC5F4.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240614_EDC5F4 +/* EDC5F4 80240614 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EDC5F8 80240618 AFBF0010 */ sw $ra, 0x10($sp) +/* EDC5FC 8024061C 8C82000C */ lw $v0, 0xc($a0) +/* EDC600 80240620 0C0B53A3 */ jal func_802D4E8C +/* EDC604 80240624 8C450000 */ lw $a1, ($v0) +/* EDC608 80240628 3C018024 */ lui $at, %hi(D_80241854) +/* EDC60C 8024062C AC221854 */ sw $v0, %lo(D_80241854)($at) +/* EDC610 80240630 24020002 */ addiu $v0, $zero, 2 +/* EDC614 80240634 8FBF0010 */ lw $ra, 0x10($sp) +/* EDC618 80240638 24030001 */ addiu $v1, $zero, 1 +/* EDC61C 8024063C 3C018024 */ lui $at, %hi(func_80241850_A2BA90) +/* EDC620 80240640 AC231850 */ sw $v1, %lo(func_80241850_A2BA90)($at) +/* EDC624 80240644 03E00008 */ jr $ra +/* EDC628 80240648 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EDC020/func_8024064C_EDC62C.s b/asm/nonmatchings/code_EDC020/func_8024064C_EDC62C.s new file mode 100644 index 0000000000..e810d22fc9 --- /dev/null +++ b/asm/nonmatchings/code_EDC020/func_8024064C_EDC62C.s @@ -0,0 +1,50 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024064C_EDC62C +/* EDC62C 8024064C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EDC630 80240650 AFBF0010 */ sw $ra, 0x10($sp) +/* EDC634 80240654 8C82000C */ lw $v0, 0xc($a0) +/* EDC638 80240658 0C0B53A3 */ jal func_802D4E8C +/* EDC63C 8024065C 8C450000 */ lw $a1, ($v0) +/* EDC640 80240660 0040182D */ daddu $v1, $v0, $zero +/* EDC644 80240664 10600012 */ beqz $v1, .L802406B0 +/* EDC648 80240668 0000202D */ daddu $a0, $zero, $zero +/* EDC64C 8024066C 8C620000 */ lw $v0, ($v1) +/* EDC650 80240670 5040000A */ beql $v0, $zero, .L8024069C +/* EDC654 80240674 00041080 */ sll $v0, $a0, 2 +/* EDC658 80240678 3C058024 */ lui $a1, %hi(D_802429E0) +/* EDC65C 8024067C 24A529E0 */ addiu $a1, $a1, %lo(D_802429E0) +.L80240680: +/* EDC660 80240680 24630004 */ addiu $v1, $v1, 4 +/* EDC664 80240684 24840001 */ addiu $a0, $a0, 1 +/* EDC668 80240688 ACA20000 */ sw $v0, ($a1) +/* EDC66C 8024068C 8C620000 */ lw $v0, ($v1) +/* EDC670 80240690 1440FFFB */ bnez $v0, .L80240680 +/* EDC674 80240694 24A50004 */ addiu $a1, $a1, 4 +/* EDC678 80240698 00041080 */ sll $v0, $a0, 2 +.L8024069C: +/* EDC67C 8024069C 3C018024 */ lui $at, %hi(D_802429E0) +/* EDC680 802406A0 00220821 */ addu $at, $at, $v0 +/* EDC684 802406A4 AC2029E0 */ sw $zero, %lo(D_802429E0)($at) +/* EDC688 802406A8 080901B6 */ j .L802406D8 +/* EDC68C 802406AC 00000000 */ nop +.L802406B0: +/* EDC690 802406B0 3C038024 */ lui $v1, %hi(D_802429E0) +/* EDC694 802406B4 246329E0 */ addiu $v1, $v1, %lo(D_802429E0) +/* EDC698 802406B8 0060282D */ daddu $a1, $v1, $zero +.L802406BC: +/* EDC69C 802406BC 24820010 */ addiu $v0, $a0, 0x10 +/* EDC6A0 802406C0 AC620000 */ sw $v0, ($v1) +/* EDC6A4 802406C4 24630004 */ addiu $v1, $v1, 4 +/* EDC6A8 802406C8 24840001 */ addiu $a0, $a0, 1 +/* EDC6AC 802406CC 28820070 */ slti $v0, $a0, 0x70 +/* EDC6B0 802406D0 1440FFFA */ bnez $v0, .L802406BC +/* EDC6B4 802406D4 ACA001C0 */ sw $zero, 0x1c0($a1) +.L802406D8: +/* EDC6B8 802406D8 8FBF0010 */ lw $ra, 0x10($sp) +/* EDC6BC 802406DC 24020002 */ addiu $v0, $zero, 2 +/* EDC6C0 802406E0 03E00008 */ jr $ra +/* EDC6C4 802406E4 27BD0018 */ addiu $sp, $sp, 0x18 +/* EDC6C8 802406E8 00000000 */ nop +/* EDC6CC 802406EC 00000000 */ nop diff --git a/asm/nonmatchings/code_EDE9C0/func_80240000_EDE9C0.s b/asm/nonmatchings/code_EDE9C0/func_80240000_EDE9C0.s new file mode 100644 index 0000000000..0f38f5677e --- /dev/null +++ b/asm/nonmatchings/code_EDE9C0/func_80240000_EDE9C0.s @@ -0,0 +1,20 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EDE9C0 +/* EDE9C0 80240000 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EDE9C4 80240004 0000202D */ daddu $a0, $zero, $zero +/* EDE9C8 80240008 0080282D */ daddu $a1, $a0, $zero +/* EDE9CC 8024000C 0080302D */ daddu $a2, $a0, $zero +/* EDE9D0 80240010 0080382D */ daddu $a3, $a0, $zero +/* EDE9D4 80240014 AFBF0018 */ sw $ra, 0x18($sp) +/* EDE9D8 80240018 AFA00010 */ sw $zero, 0x10($sp) +/* EDE9DC 8024001C 0C01DEF4 */ jal func_80077BD0 +/* EDE9E0 80240020 AFA00014 */ sw $zero, 0x14($sp) +/* EDE9E4 80240024 8FBF0018 */ lw $ra, 0x18($sp) +/* EDE9E8 80240028 24020002 */ addiu $v0, $zero, 2 +/* EDE9EC 8024002C 03E00008 */ jr $ra +/* EDE9F0 80240030 27BD0020 */ addiu $sp, $sp, 0x20 +/* EDE9F4 80240034 00000000 */ nop +/* EDE9F8 80240038 00000000 */ nop +/* EDE9FC 8024003C 00000000 */ nop diff --git a/asm/nonmatchings/code_EDEA00/func_80240040_EDEA00.s b/asm/nonmatchings/code_EDEA00/func_80240040_EDEA00.s new file mode 100644 index 0000000000..e3697ee368 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80240040_EDEA00.s @@ -0,0 +1,109 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240040_EDEA00 +/* EDEA00 80240040 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EDEA04 80240044 AFB20018 */ sw $s2, 0x18($sp) +/* EDEA08 80240048 0080902D */ daddu $s2, $a0, $zero +/* EDEA0C 8024004C AFB10014 */ sw $s1, 0x14($sp) +/* EDEA10 80240050 00A0882D */ daddu $s1, $a1, $zero +/* EDEA14 80240054 AFBF0024 */ sw $ra, 0x24($sp) +/* EDEA18 80240058 AFB40020 */ sw $s4, 0x20($sp) +/* EDEA1C 8024005C AFB3001C */ sw $s3, 0x1c($sp) +/* EDEA20 80240060 AFB00010 */ sw $s0, 0x10($sp) +/* EDEA24 80240064 8E50000C */ lw $s0, 0xc($s2) +/* EDEA28 80240068 8E050000 */ lw $a1, ($s0) +/* EDEA2C 8024006C 0C0B53A3 */ jal func_802D4E8C +/* EDEA30 80240070 26100004 */ addiu $s0, $s0, 4 +/* EDEA34 80240074 0240202D */ daddu $a0, $s2, $zero +/* EDEA38 80240078 8E050000 */ lw $a1, ($s0) +/* EDEA3C 8024007C 0C0B53A3 */ jal func_802D4E8C +/* EDEA40 80240080 0040802D */ daddu $s0, $v0, $zero +/* EDEA44 80240084 0200202D */ daddu $a0, $s0, $zero +/* EDEA48 80240088 0C00F94D */ jal func_8003E534 +/* EDEA4C 8024008C 0040A02D */ daddu $s4, $v0, $zero +/* EDEA50 80240090 3C138011 */ lui $s3, %hi(D_80117840) +/* EDEA54 80240094 26737840 */ addiu $s3, $s3, %lo(D_80117840) +/* EDEA58 80240098 12200006 */ beqz $s1, .L802400B4 +/* EDEA5C 8024009C 0040802D */ daddu $s0, $v0, $zero +/* EDEA60 802400A0 82620012 */ lb $v0, 0x12($s3) +/* EDEA64 802400A4 54400003 */ bnel $v0, $zero, .L802400B4 +/* EDEA68 802400A8 AE400070 */ sw $zero, 0x70($s2) +/* EDEA6C 802400AC 24020002 */ addiu $v0, $zero, 2 +/* EDEA70 802400B0 AE420070 */ sw $v0, 0x70($s2) +.L802400B4: +/* EDEA74 802400B4 8E430070 */ lw $v1, 0x70($s2) +/* EDEA78 802400B8 24110001 */ addiu $s1, $zero, 1 +/* EDEA7C 802400BC 10710013 */ beq $v1, $s1, .L8024010C +/* EDEA80 802400C0 28620002 */ slti $v0, $v1, 2 +/* EDEA84 802400C4 10400005 */ beqz $v0, .L802400DC +/* EDEA88 802400C8 24020002 */ addiu $v0, $zero, 2 +/* EDEA8C 802400CC 10600009 */ beqz $v1, .L802400F4 +/* EDEA90 802400D0 0000102D */ daddu $v0, $zero, $zero +/* EDEA94 802400D4 08090069 */ j .L802401A4 +/* EDEA98 802400D8 00000000 */ nop +.L802400DC: +/* EDEA9C 802400DC 10620013 */ beq $v1, $v0, .L8024012C +/* EDEAA0 802400E0 24020003 */ addiu $v0, $zero, 3 +/* EDEAA4 802400E4 1062001E */ beq $v1, $v0, .L80240160 +/* EDEAA8 802400E8 0000102D */ daddu $v0, $zero, $zero +/* EDEAAC 802400EC 08090069 */ j .L802401A4 +/* EDEAB0 802400F0 00000000 */ nop +.L802400F4: +/* EDEAB4 802400F4 0C03CB57 */ jal func_800F2D5C +/* EDEAB8 802400F8 0000202D */ daddu $a0, $zero, $zero +/* EDEABC 802400FC 2402001E */ addiu $v0, $zero, 0x1e +/* EDEAC0 80240100 AE420074 */ sw $v0, 0x74($s2) +/* EDEAC4 80240104 08090068 */ j .L802401A0 +/* EDEAC8 80240108 AE510070 */ sw $s1, 0x70($s2) +.L8024010C: +/* EDEACC 8024010C 8E420074 */ lw $v0, 0x74($s2) +/* EDEAD0 80240110 2403FFFF */ addiu $v1, $zero, -1 +/* EDEAD4 80240114 2442FFFF */ addiu $v0, $v0, -1 +/* EDEAD8 80240118 14430021 */ bne $v0, $v1, .L802401A0 +/* EDEADC 8024011C AE420074 */ sw $v0, 0x74($s2) +/* EDEAE0 80240120 24020002 */ addiu $v0, $zero, 2 +/* EDEAE4 80240124 08090068 */ j .L802401A0 +/* EDEAE8 80240128 AE420070 */ sw $v0, 0x70($s2) +.L8024012C: +/* EDEAEC 8024012C 0200202D */ daddu $a0, $s0, $zero +/* EDEAF0 80240130 00141600 */ sll $v0, $s4, 0x18 +/* EDEAF4 80240134 00021543 */ sra $v0, $v0, 0x15 +/* EDEAF8 80240138 02621021 */ addu $v0, $s3, $v0 +/* EDEAFC 8024013C A2740012 */ sb $s4, 0x12($s3) +/* EDEB00 80240140 0C03DC9E */ jal func_800F7278 +/* EDEB04 80240144 A0510014 */ sb $s1, 0x14($v0) +/* EDEB08 80240148 82640012 */ lb $a0, 0x12($s3) +/* EDEB0C 8024014C 0C03CBA6 */ jal func_800F2E98 +/* EDEB10 80240150 00000000 */ nop +/* EDEB14 80240154 24020003 */ addiu $v0, $zero, 3 +/* EDEB18 80240158 08090068 */ j .L802401A0 +/* EDEB1C 8024015C AE420070 */ sw $v0, 0x70($s2) +.L80240160: +/* EDEB20 80240160 0C00F94D */ jal func_8003E534 +/* EDEB24 80240164 2404FFFC */ addiu $a0, $zero, -4 +/* EDEB28 80240168 8E05000C */ lw $a1, 0xc($s0) +/* EDEB2C 8024016C 0C00FB54 */ jal func_8003ED50 +/* EDEB30 80240170 0040202D */ daddu $a0, $v0, $zero +/* EDEB34 80240174 0200202D */ daddu $a0, $s0, $zero +/* EDEB38 80240178 8E020000 */ lw $v0, ($s0) +/* EDEB3C 8024017C 2403FFFB */ addiu $v1, $zero, -5 +/* EDEB40 80240180 00431024 */ and $v0, $v0, $v1 +/* EDEB44 80240184 0C00F97A */ jal func_8003E5E8 +/* EDEB48 80240188 AE020000 */ sw $v0, ($s0) +/* EDEB4C 8024018C 3C01C47A */ lui $at, 0xc47a +/* EDEB50 80240190 44810000 */ mtc1 $at, $f0 +/* EDEB54 80240194 24020002 */ addiu $v0, $zero, 2 +/* EDEB58 80240198 08090069 */ j .L802401A4 +/* EDEB5C 8024019C E600003C */ swc1 $f0, 0x3c($s0) +.L802401A0: +/* EDEB60 802401A0 0000102D */ daddu $v0, $zero, $zero +.L802401A4: +/* EDEB64 802401A4 8FBF0024 */ lw $ra, 0x24($sp) +/* EDEB68 802401A8 8FB40020 */ lw $s4, 0x20($sp) +/* EDEB6C 802401AC 8FB3001C */ lw $s3, 0x1c($sp) +/* EDEB70 802401B0 8FB20018 */ lw $s2, 0x18($sp) +/* EDEB74 802401B4 8FB10014 */ lw $s1, 0x14($sp) +/* EDEB78 802401B8 8FB00010 */ lw $s0, 0x10($sp) +/* EDEB7C 802401BC 03E00008 */ jr $ra +/* EDEB80 802401C0 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EDEA00/func_802401C4_EDEB84.s b/asm/nonmatchings/code_EDEA00/func_802401C4_EDEB84.s new file mode 100644 index 0000000000..efca0ce600 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_802401C4_EDEB84.s @@ -0,0 +1,116 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802401C4_EDEB84 +/* EDEB84 802401C4 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* EDEB88 802401C8 AFB3002C */ sw $s3, 0x2c($sp) +/* EDEB8C 802401CC 0080982D */ daddu $s3, $a0, $zero +/* EDEB90 802401D0 AFBF0030 */ sw $ra, 0x30($sp) +/* EDEB94 802401D4 AFB20028 */ sw $s2, 0x28($sp) +/* EDEB98 802401D8 AFB10024 */ sw $s1, 0x24($sp) +/* EDEB9C 802401DC AFB00020 */ sw $s0, 0x20($sp) +/* EDEBA0 802401E0 8E710148 */ lw $s1, 0x148($s3) +/* EDEBA4 802401E4 86240008 */ lh $a0, 8($s1) +/* EDEBA8 802401E8 0C00F92F */ jal func_8003E4BC +/* EDEBAC 802401EC 00A0902D */ daddu $s2, $a1, $zero +/* EDEBB0 802401F0 8E440004 */ lw $a0, 4($s2) +/* EDEBB4 802401F4 0040802D */ daddu $s0, $v0, $zero +/* EDEBB8 802401F8 00041FC2 */ srl $v1, $a0, 0x1f +/* EDEBBC 802401FC 00832021 */ addu $a0, $a0, $v1 +/* EDEBC0 80240200 00042043 */ sra $a0, $a0, 1 +/* EDEBC4 80240204 0C00AB3B */ jal func_8002ACEC +/* EDEBC8 80240208 24840001 */ addiu $a0, $a0, 1 +/* EDEBCC 8024020C 8E430004 */ lw $v1, 4($s2) +/* EDEBD0 80240210 000327C2 */ srl $a0, $v1, 0x1f +/* EDEBD4 80240214 00641821 */ addu $v1, $v1, $a0 +/* EDEBD8 80240218 00031843 */ sra $v1, $v1, 1 +/* EDEBDC 8024021C 00621821 */ addu $v1, $v1, $v0 +/* EDEBE0 80240220 A603008E */ sh $v1, 0x8e($s0) +/* EDEBE4 80240224 8E2300D0 */ lw $v1, 0xd0($s1) +/* EDEBE8 80240228 C6000040 */ lwc1 $f0, 0x40($s0) +/* EDEBEC 8024022C C4640000 */ lwc1 $f4, ($v1) +/* EDEBF0 80240230 46802120 */ cvt.s.w $f4, $f4 +/* EDEBF4 80240234 C4620008 */ lwc1 $f2, 8($v1) +/* EDEBF8 80240238 468010A0 */ cvt.s.w $f2, $f2 +/* EDEBFC 8024023C E7A00010 */ swc1 $f0, 0x10($sp) +/* EDEC00 80240240 8E2200D0 */ lw $v0, 0xd0($s1) +/* EDEC04 80240244 44061000 */ mfc1 $a2, $f2 +/* EDEC08 80240248 C440000C */ lwc1 $f0, 0xc($v0) +/* EDEC0C 8024024C 46800020 */ cvt.s.w $f0, $f0 +/* EDEC10 80240250 E7A00014 */ swc1 $f0, 0x14($sp) +/* EDEC14 80240254 8E2200D0 */ lw $v0, 0xd0($s1) +/* EDEC18 80240258 44052000 */ mfc1 $a1, $f4 +/* EDEC1C 8024025C C4400010 */ lwc1 $f0, 0x10($v0) +/* EDEC20 80240260 46800020 */ cvt.s.w $f0, $f0 +/* EDEC24 80240264 E7A00018 */ swc1 $f0, 0x18($sp) +/* EDEC28 80240268 8C640018 */ lw $a0, 0x18($v1) +/* EDEC2C 8024026C 0C013431 */ jal func_8004D0C4 +/* EDEC30 80240270 8E070038 */ lw $a3, 0x38($s0) +/* EDEC34 80240274 1040000E */ beqz $v0, .L802402B0 +/* EDEC38 80240278 00000000 */ nop +/* EDEC3C 8024027C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EDEC40 80240280 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EDEC44 80240284 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EDEC48 80240288 C4460000 */ lwc1 $f6, ($v0) +/* EDEC4C 8024028C 468031A0 */ cvt.s.w $f6, $f6 +/* EDEC50 80240290 44063000 */ mfc1 $a2, $f6 +/* EDEC54 80240294 C4460008 */ lwc1 $f6, 8($v0) +/* EDEC58 80240298 468031A0 */ cvt.s.w $f6, $f6 +/* EDEC5C 8024029C 44073000 */ mfc1 $a3, $f6 +/* EDEC60 802402A0 0C00ABDC */ jal fio_validate_header_checksums +/* EDEC64 802402A4 00000000 */ nop +/* EDEC68 802402A8 080900B8 */ j .L802402E0 +/* EDEC6C 802402AC E600000C */ swc1 $f0, 0xc($s0) +.L802402B0: +/* EDEC70 802402B0 0C00AB3B */ jal func_8002ACEC +/* EDEC74 802402B4 2404003C */ addiu $a0, $zero, 0x3c +/* EDEC78 802402B8 C60C000C */ lwc1 $f12, 0xc($s0) +/* EDEC7C 802402BC 44820000 */ mtc1 $v0, $f0 +/* EDEC80 802402C0 00000000 */ nop +/* EDEC84 802402C4 46800020 */ cvt.s.w $f0, $f0 +/* EDEC88 802402C8 46006300 */ add.s $f12, $f12, $f0 +/* EDEC8C 802402CC 3C0141F0 */ lui $at, 0x41f0 +/* EDEC90 802402D0 44810000 */ mtc1 $at, $f0 +/* EDEC94 802402D4 0C00AB85 */ jal func_8002AE14 +/* EDEC98 802402D8 46006301 */ sub.s $f12, $f12, $f0 +/* EDEC9C 802402DC E600000C */ swc1 $f0, 0xc($s0) +.L802402E0: +/* EDECA0 802402E0 8E2200CC */ lw $v0, 0xcc($s1) +/* EDECA4 802402E4 8C420004 */ lw $v0, 4($v0) +/* EDECA8 802402E8 AE020028 */ sw $v0, 0x28($s0) +/* EDECAC 802402EC AE600074 */ sw $zero, 0x74($s3) +/* EDECB0 802402F0 8E2200D0 */ lw $v0, 0xd0($s1) +/* EDECB4 802402F4 8C420014 */ lw $v0, 0x14($v0) +/* EDECB8 802402F8 04410004 */ bgez $v0, .L8024030C +/* EDECBC 802402FC 00000000 */ nop +/* EDECC0 80240300 C6400000 */ lwc1 $f0, ($s2) +/* EDECC4 80240304 080900CB */ j .L8024032C +/* EDECC8 80240308 E6000018 */ swc1 $f0, 0x18($s0) +.L8024030C: +/* EDECCC 8024030C 3C018024 */ lui $at, %hi(D_80247AF0) +/* EDECD0 80240310 D4227AF0 */ ldc1 $f2, %lo(D_80247AF0)($at) +/* EDECD4 80240314 44820000 */ mtc1 $v0, $f0 +/* EDECD8 80240318 00000000 */ nop +/* EDECDC 8024031C 46800021 */ cvt.d.w $f0, $f0 +/* EDECE0 80240320 46220003 */ div.d $f0, $f0, $f2 +/* EDECE4 80240324 46200020 */ cvt.s.d $f0, $f0 +/* EDECE8 80240328 E6000018 */ swc1 $f0, 0x18($s0) +.L8024032C: +/* EDECEC 8024032C C600003C */ lwc1 $f0, 0x3c($s0) +/* EDECF0 80240330 3C014059 */ lui $at, 0x4059 +/* EDECF4 80240334 44811800 */ mtc1 $at, $f3 +/* EDECF8 80240338 44801000 */ mtc1 $zero, $f2 +/* EDECFC 8024033C 46000021 */ cvt.d.s $f0, $f0 +/* EDED00 80240340 46220002 */ mul.d $f0, $f0, $f2 +/* EDED04 80240344 00000000 */ nop +/* EDED08 80240348 24020001 */ addiu $v0, $zero, 1 +/* EDED0C 8024034C 4620018D */ trunc.w.d $f6, $f0 +/* EDED10 80240350 E626007C */ swc1 $f6, 0x7c($s1) +/* EDED14 80240354 AE620070 */ sw $v0, 0x70($s3) +/* EDED18 80240358 8FBF0030 */ lw $ra, 0x30($sp) +/* EDED1C 8024035C 8FB3002C */ lw $s3, 0x2c($sp) +/* EDED20 80240360 8FB20028 */ lw $s2, 0x28($sp) +/* EDED24 80240364 8FB10024 */ lw $s1, 0x24($sp) +/* EDED28 80240368 8FB00020 */ lw $s0, 0x20($sp) +/* EDED2C 8024036C 03E00008 */ jr $ra +/* EDED30 80240370 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_EDEA00/func_80240374_EDED34.s b/asm/nonmatchings/code_EDEA00/func_80240374_EDED34.s new file mode 100644 index 0000000000..6871697f4e --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80240374_EDED34.s @@ -0,0 +1,418 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240374_EDED34 +/* EDED34 80240374 27BDFF80 */ addiu $sp, $sp, -0x80 +/* EDED38 80240378 AFB3004C */ sw $s3, 0x4c($sp) +/* EDED3C 8024037C 0080982D */ daddu $s3, $a0, $zero +/* EDED40 80240380 AFBF0058 */ sw $ra, 0x58($sp) +/* EDED44 80240384 AFB50054 */ sw $s5, 0x54($sp) +/* EDED48 80240388 AFB40050 */ sw $s4, 0x50($sp) +/* EDED4C 8024038C AFB20048 */ sw $s2, 0x48($sp) +/* EDED50 80240390 AFB10044 */ sw $s1, 0x44($sp) +/* EDED54 80240394 AFB00040 */ sw $s0, 0x40($sp) +/* EDED58 80240398 F7BA0078 */ sdc1 $f26, 0x78($sp) +/* EDED5C 8024039C F7B80070 */ sdc1 $f24, 0x70($sp) +/* EDED60 802403A0 F7B60068 */ sdc1 $f22, 0x68($sp) +/* EDED64 802403A4 F7B40060 */ sdc1 $f20, 0x60($sp) +/* EDED68 802403A8 8E710148 */ lw $s1, 0x148($s3) +/* EDED6C 802403AC 00A0902D */ daddu $s2, $a1, $zero +/* EDED70 802403B0 86240008 */ lh $a0, 8($s1) +/* EDED74 802403B4 0C00F92F */ jal func_8003E4BC +/* EDED78 802403B8 00C0A82D */ daddu $s5, $a2, $zero +/* EDED7C 802403BC 0040802D */ daddu $s0, $v0, $zero +/* EDED80 802403C0 0000A02D */ daddu $s4, $zero, $zero +/* EDED84 802403C4 C624007C */ lwc1 $f4, 0x7c($s1) +/* EDED88 802403C8 46802120 */ cvt.s.w $f4, $f4 +/* EDED8C 802403CC C6220088 */ lwc1 $f2, 0x88($s1) +/* EDED90 802403D0 468010A0 */ cvt.s.w $f2, $f2 +/* EDED94 802403D4 460010A1 */ cvt.d.s $f2, $f2 +/* EDED98 802403D8 46002121 */ cvt.d.s $f4, $f4 +/* EDED9C 802403DC C600003C */ lwc1 $f0, 0x3c($s0) +/* EDEDA0 802403E0 3C014059 */ lui $at, 0x4059 +/* EDEDA4 802403E4 44813800 */ mtc1 $at, $f7 +/* EDEDA8 802403E8 44803000 */ mtc1 $zero, $f6 +/* EDEDAC 802403EC 46000021 */ cvt.d.s $f0, $f0 +/* EDEDB0 802403F0 46260002 */ mul.d $f0, $f0, $f6 +/* EDEDB4 802403F4 00000000 */ nop +/* EDEDB8 802403F8 24020001 */ addiu $v0, $zero, 1 +/* EDEDBC 802403FC 8E24006C */ lw $a0, 0x6c($s1) +/* EDEDC0 80240400 46261083 */ div.d $f2, $f2, $f6 +/* EDEDC4 80240404 462010A0 */ cvt.s.d $f2, $f2 +/* EDEDC8 80240408 46262103 */ div.d $f4, $f4, $f6 +/* EDEDCC 8024040C 46202520 */ cvt.s.d $f20, $f4 +/* EDEDD0 80240410 30830011 */ andi $v1, $a0, 0x11 +/* EDEDD4 80240414 4620020D */ trunc.w.d $f8, $f0 +/* EDEDD8 80240418 E628007C */ swc1 $f8, 0x7c($s1) +/* EDEDDC 8024041C C6200078 */ lwc1 $f0, 0x78($s1) +/* EDEDE0 80240420 46800020 */ cvt.s.w $f0, $f0 +/* EDEDE4 80240424 46000021 */ cvt.d.s $f0, $f0 +/* EDEDE8 80240428 46260003 */ div.d $f0, $f0, $f6 +/* EDEDEC 8024042C 462006A0 */ cvt.s.d $f26, $f0 +/* EDEDF0 80240430 C6200070 */ lwc1 $f0, 0x70($s1) +/* EDEDF4 80240434 46800020 */ cvt.s.w $f0, $f0 +/* EDEDF8 80240438 46000021 */ cvt.d.s $f0, $f0 +/* EDEDFC 8024043C 46260003 */ div.d $f0, $f0, $f6 +/* EDEE00 80240440 462005A0 */ cvt.s.d $f22, $f0 +/* EDEE04 80240444 14620025 */ bne $v1, $v0, .L802404DC +/* EDEE08 80240448 4602D600 */ add.s $f24, $f26, $f2 +/* EDEE0C 8024044C 8E020000 */ lw $v0, ($s0) +/* EDEE10 80240450 30420008 */ andi $v0, $v0, 8 +/* EDEE14 80240454 10400009 */ beqz $v0, .L8024047C +/* EDEE18 80240458 27A50028 */ addiu $a1, $sp, 0x28 +/* EDEE1C 8024045C C600003C */ lwc1 $f0, 0x3c($s0) +/* EDEE20 80240460 4600C001 */ sub.s $f0, $f24, $f0 +/* EDEE24 80240464 4600B03C */ c.lt.s $f22, $f0 +/* EDEE28 80240468 00000000 */ nop +/* EDEE2C 8024046C 4500001B */ bc1f .L802404DC +/* EDEE30 80240470 34820010 */ ori $v0, $a0, 0x10 +/* EDEE34 80240474 08090137 */ j .L802404DC +/* EDEE38 80240478 AE22006C */ sw $v0, 0x6c($s1) +.L8024047C: +/* EDEE3C 8024047C 27A6002C */ addiu $a2, $sp, 0x2c +/* EDEE40 80240480 C6000038 */ lwc1 $f0, 0x38($s0) +/* EDEE44 80240484 C602003C */ lwc1 $f2, 0x3c($s0) +/* EDEE48 80240488 C6040040 */ lwc1 $f4, 0x40($s0) +/* EDEE4C 8024048C 3C01447A */ lui $at, 0x447a +/* EDEE50 80240490 44813000 */ mtc1 $at, $f6 +/* EDEE54 80240494 27A20034 */ addiu $v0, $sp, 0x34 +/* EDEE58 80240498 E7A00028 */ swc1 $f0, 0x28($sp) +/* EDEE5C 8024049C E7A2002C */ swc1 $f2, 0x2c($sp) +/* EDEE60 802404A0 E7A40030 */ swc1 $f4, 0x30($sp) +/* EDEE64 802404A4 E7A60034 */ swc1 $f6, 0x34($sp) +/* EDEE68 802404A8 AFA20010 */ sw $v0, 0x10($sp) +/* EDEE6C 802404AC 8E040080 */ lw $a0, 0x80($s0) +/* EDEE70 802404B0 0C03908F */ jal func_800E423C +/* EDEE74 802404B4 27A70030 */ addiu $a3, $sp, 0x30 +/* EDEE78 802404B8 C7A00034 */ lwc1 $f0, 0x34($sp) +/* EDEE7C 802404BC 4600D001 */ sub.s $f0, $f26, $f0 +/* EDEE80 802404C0 4600B03C */ c.lt.s $f22, $f0 +/* EDEE84 802404C4 00000000 */ nop +/* EDEE88 802404C8 45000004 */ bc1f .L802404DC +/* EDEE8C 802404CC 00000000 */ nop +/* EDEE90 802404D0 8E22006C */ lw $v0, 0x6c($s1) +/* EDEE94 802404D4 34420010 */ ori $v0, $v0, 0x10 +/* EDEE98 802404D8 AE22006C */ sw $v0, 0x6c($s1) +.L802404DC: +/* EDEE9C 802404DC 8E22006C */ lw $v0, 0x6c($s1) +/* EDEEA0 802404E0 24030011 */ addiu $v1, $zero, 0x11 +/* EDEEA4 802404E4 30420011 */ andi $v0, $v0, 0x11 +/* EDEEA8 802404E8 14430039 */ bne $v0, $v1, .L802405D0 +/* EDEEAC 802404EC 00000000 */ nop +/* EDEEB0 802404F0 8E020000 */ lw $v0, ($s0) +/* EDEEB4 802404F4 30420008 */ andi $v0, $v0, 8 +/* EDEEB8 802404F8 1040000A */ beqz $v0, .L80240524 +/* EDEEBC 802404FC 4600C106 */ mov.s $f4, $f24 +/* EDEEC0 80240500 4614C081 */ sub.s $f2, $f24, $f20 +/* EDEEC4 80240504 3C018024 */ lui $at, %hi(D_80247AF8) +/* EDEEC8 80240508 D4207AF8 */ ldc1 $f0, %lo(D_80247AF8)($at) +/* EDEECC 8024050C 460010A1 */ cvt.d.s $f2, $f2 +/* EDEED0 80240510 46201082 */ mul.d $f2, $f2, $f0 +/* EDEED4 80240514 00000000 */ nop +/* EDEED8 80240518 4600A021 */ cvt.d.s $f0, $f20 +/* EDEEDC 8024051C 08090162 */ j .L80240588 +/* EDEEE0 80240520 46220000 */ add.d $f0, $f0, $f2 +.L80240524: +/* EDEEE4 80240524 27A50028 */ addiu $a1, $sp, 0x28 +/* EDEEE8 80240528 27A6002C */ addiu $a2, $sp, 0x2c +/* EDEEEC 8024052C C6000038 */ lwc1 $f0, 0x38($s0) +/* EDEEF0 80240530 C6020040 */ lwc1 $f2, 0x40($s0) +/* EDEEF4 80240534 3C01447A */ lui $at, 0x447a +/* EDEEF8 80240538 44812000 */ mtc1 $at, $f4 +/* EDEEFC 8024053C 27A20034 */ addiu $v0, $sp, 0x34 +/* EDEF00 80240540 E7B4002C */ swc1 $f20, 0x2c($sp) +/* EDEF04 80240544 E7A00028 */ swc1 $f0, 0x28($sp) +/* EDEF08 80240548 E7A20030 */ swc1 $f2, 0x30($sp) +/* EDEF0C 8024054C E7A40034 */ swc1 $f4, 0x34($sp) +/* EDEF10 80240550 AFA20010 */ sw $v0, 0x10($sp) +/* EDEF14 80240554 8E040080 */ lw $a0, 0x80($s0) +/* EDEF18 80240558 0C03908F */ jal func_800E423C +/* EDEF1C 8024055C 27A70030 */ addiu $a3, $sp, 0x30 +/* EDEF20 80240560 C7A4002C */ lwc1 $f4, 0x2c($sp) +/* EDEF24 80240564 461A2100 */ add.s $f4, $f4, $f26 +/* EDEF28 80240568 46142081 */ sub.s $f2, $f4, $f20 +/* EDEF2C 8024056C 3C018024 */ lui $at, %hi(D_80247B00) +/* EDEF30 80240570 D4207B00 */ ldc1 $f0, %lo(D_80247B00)($at) +/* EDEF34 80240574 460010A1 */ cvt.d.s $f2, $f2 +/* EDEF38 80240578 46201082 */ mul.d $f2, $f2, $f0 +/* EDEF3C 8024057C 00000000 */ nop +/* EDEF40 80240580 4600A021 */ cvt.d.s $f0, $f20 +/* EDEF44 80240584 46220000 */ add.d $f0, $f0, $f2 +.L80240588: +/* EDEF48 80240588 46200020 */ cvt.s.d $f0, $f0 +/* EDEF4C 8024058C E600003C */ swc1 $f0, 0x3c($s0) +/* EDEF50 80240590 C600003C */ lwc1 $f0, 0x3c($s0) +/* EDEF54 80240594 46002001 */ sub.s $f0, $f4, $f0 +/* EDEF58 80240598 3C013FF0 */ lui $at, 0x3ff0 +/* EDEF5C 8024059C 44811800 */ mtc1 $at, $f3 +/* EDEF60 802405A0 44801000 */ mtc1 $zero, $f2 +/* EDEF64 802405A4 46000005 */ abs.s $f0, $f0 +/* EDEF68 802405A8 46000021 */ cvt.d.s $f0, $f0 +/* EDEF6C 802405AC 4622003C */ c.lt.d $f0, $f2 +/* EDEF70 802405B0 00000000 */ nop +/* EDEF74 802405B4 45000036 */ bc1f .L80240690 +/* EDEF78 802405B8 2403FFEF */ addiu $v1, $zero, -0x11 +/* EDEF7C 802405BC E604003C */ swc1 $f4, 0x3c($s0) +/* EDEF80 802405C0 8E22006C */ lw $v0, 0x6c($s1) +/* EDEF84 802405C4 00431024 */ and $v0, $v0, $v1 +/* EDEF88 802405C8 080901A4 */ j .L80240690 +/* EDEF8C 802405CC AE22006C */ sw $v0, 0x6c($s1) +.L802405D0: +/* EDEF90 802405D0 8E220070 */ lw $v0, 0x70($s1) +/* EDEF94 802405D4 1840002E */ blez $v0, .L80240690 +/* EDEF98 802405D8 00000000 */ nop +/* EDEF9C 802405DC C62C0074 */ lwc1 $f12, 0x74($s1) +/* EDEFA0 802405E0 0C00AD77 */ jal func_8002B5DC +/* EDEFA4 802405E4 46806320 */ cvt.s.w $f12, $f12 +/* EDEFA8 802405E8 8E020000 */ lw $v0, ($s0) +/* EDEFAC 802405EC 30420008 */ andi $v0, $v0, 8 +/* EDEFB0 802405F0 10400003 */ beqz $v0, .L80240600 +/* EDEFB4 802405F4 46000506 */ mov.s $f20, $f0 +/* EDEFB8 802405F8 08090190 */ j .L80240640 +/* EDEFBC 802405FC 0000102D */ daddu $v0, $zero, $zero +.L80240600: +/* EDEFC0 80240600 27A50028 */ addiu $a1, $sp, 0x28 +/* EDEFC4 80240604 27A6002C */ addiu $a2, $sp, 0x2c +/* EDEFC8 80240608 C6000038 */ lwc1 $f0, 0x38($s0) +/* EDEFCC 8024060C C602003C */ lwc1 $f2, 0x3c($s0) +/* EDEFD0 80240610 C6040040 */ lwc1 $f4, 0x40($s0) +/* EDEFD4 80240614 3C01447A */ lui $at, 0x447a +/* EDEFD8 80240618 44813000 */ mtc1 $at, $f6 +/* EDEFDC 8024061C 27A20034 */ addiu $v0, $sp, 0x34 +/* EDEFE0 80240620 E7A00028 */ swc1 $f0, 0x28($sp) +/* EDEFE4 80240624 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EDEFE8 80240628 E7A40030 */ swc1 $f4, 0x30($sp) +/* EDEFEC 8024062C E7A60034 */ swc1 $f6, 0x34($sp) +/* EDEFF0 80240630 AFA20010 */ sw $v0, 0x10($sp) +/* EDEFF4 80240634 8E040080 */ lw $a0, 0x80($s0) +/* EDEFF8 80240638 0C03908F */ jal func_800E423C +/* EDEFFC 8024063C 27A70030 */ addiu $a3, $sp, 0x30 +.L80240640: +/* EDF000 80240640 10400007 */ beqz $v0, .L80240660 +/* EDF004 80240644 00000000 */ nop +/* EDF008 80240648 4616A082 */ mul.s $f2, $f20, $f22 +/* EDF00C 8024064C 00000000 */ nop +/* EDF010 80240650 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* EDF014 80240654 461A0000 */ add.s $f0, $f0, $f26 +/* EDF018 80240658 0809019B */ j .L8024066C +/* EDF01C 8024065C 46020000 */ add.s $f0, $f0, $f2 +.L80240660: +/* EDF020 80240660 4616A002 */ mul.s $f0, $f20, $f22 +/* EDF024 80240664 00000000 */ nop +/* EDF028 80240668 4600C000 */ add.s $f0, $f24, $f0 +.L8024066C: +/* EDF02C 8024066C E600003C */ swc1 $f0, 0x3c($s0) +/* EDF030 80240670 8E220074 */ lw $v0, 0x74($s1) +/* EDF034 80240674 2442000A */ addiu $v0, $v0, 0xa +/* EDF038 80240678 44826000 */ mtc1 $v0, $f12 +/* EDF03C 8024067C 00000000 */ nop +/* EDF040 80240680 0C00AB85 */ jal func_8002AE14 +/* EDF044 80240684 46806320 */ cvt.s.w $f12, $f12 +/* EDF048 80240688 4600020D */ trunc.w.s $f8, $f0 +/* EDF04C 8024068C E6280074 */ swc1 $f8, 0x74($s1) +.L80240690: +/* EDF050 80240690 8E220090 */ lw $v0, 0x90($s1) +/* EDF054 80240694 1C40004A */ bgtz $v0, .L802407C0 +/* EDF058 80240698 2442FFFF */ addiu $v0, $v0, -1 +/* EDF05C 8024069C 8E430014 */ lw $v1, 0x14($s2) +/* EDF060 802406A0 04600048 */ bltz $v1, .L802407C4 +/* EDF064 802406A4 00000000 */ nop +/* EDF068 802406A8 8E620074 */ lw $v0, 0x74($s3) +/* EDF06C 802406AC 1C400042 */ bgtz $v0, .L802407B8 +/* EDF070 802406B0 2442FFFF */ addiu $v0, $v0, -1 +/* EDF074 802406B4 AE630074 */ sw $v1, 0x74($s3) +/* EDF078 802406B8 860200A8 */ lh $v0, 0xa8($s0) +/* EDF07C 802406BC C602003C */ lwc1 $f2, 0x3c($s0) +/* EDF080 802406C0 44820000 */ mtc1 $v0, $f0 +/* EDF084 802406C4 00000000 */ nop +/* EDF088 802406C8 46800020 */ cvt.s.w $f0, $f0 +/* EDF08C 802406CC 46001080 */ add.s $f2, $f2, $f0 +/* EDF090 802406D0 3C014024 */ lui $at, 0x4024 +/* EDF094 802406D4 44810800 */ mtc1 $at, $f1 +/* EDF098 802406D8 44800000 */ mtc1 $zero, $f0 +/* EDF09C 802406DC 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EDF0A0 802406E0 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EDF0A4 802406E4 460010A1 */ cvt.d.s $f2, $f2 +/* EDF0A8 802406E8 46201080 */ add.d $f2, $f2, $f0 +/* EDF0AC 802406EC C440002C */ lwc1 $f0, 0x2c($v0) +/* EDF0B0 802406F0 46000021 */ cvt.d.s $f0, $f0 +/* EDF0B4 802406F4 4622003C */ c.lt.d $f0, $f2 +/* EDF0B8 802406F8 00000000 */ nop +/* EDF0BC 802406FC 4500002C */ bc1f .L802407B0 +/* EDF0C0 80240700 02A0202D */ daddu $a0, $s5, $zero +/* EDF0C4 80240704 AFA00010 */ sw $zero, 0x10($sp) +/* EDF0C8 80240708 8E46000C */ lw $a2, 0xc($s2) +/* EDF0CC 8024070C 8E470010 */ lw $a3, 0x10($s2) +/* EDF0D0 80240710 0C013469 */ jal func_8004D1A4 +/* EDF0D4 80240714 0220282D */ daddu $a1, $s1, $zero +/* EDF0D8 80240718 10400025 */ beqz $v0, .L802407B0 +/* EDF0DC 8024071C 0000202D */ daddu $a0, $zero, $zero +/* EDF0E0 80240720 0200282D */ daddu $a1, $s0, $zero +/* EDF0E4 80240724 0000302D */ daddu $a2, $zero, $zero +/* EDF0E8 80240728 2412000C */ addiu $s2, $zero, 0xc +/* EDF0EC 8024072C 860300A8 */ lh $v1, 0xa8($s0) +/* EDF0F0 80240730 3C013F80 */ lui $at, 0x3f80 +/* EDF0F4 80240734 44810000 */ mtc1 $at, $f0 +/* EDF0F8 80240738 3C014000 */ lui $at, 0x4000 +/* EDF0FC 8024073C 44811000 */ mtc1 $at, $f2 +/* EDF100 80240740 3C01C1A0 */ lui $at, 0xc1a0 +/* EDF104 80240744 44812000 */ mtc1 $at, $f4 +/* EDF108 80240748 44834000 */ mtc1 $v1, $f8 +/* EDF10C 8024074C 00000000 */ nop +/* EDF110 80240750 46804220 */ cvt.s.w $f8, $f8 +/* EDF114 80240754 44074000 */ mfc1 $a3, $f8 +/* EDF118 80240758 27A20038 */ addiu $v0, $sp, 0x38 +/* EDF11C 8024075C AFB2001C */ sw $s2, 0x1c($sp) +/* EDF120 80240760 AFA20020 */ sw $v0, 0x20($sp) +/* EDF124 80240764 E7A00010 */ swc1 $f0, 0x10($sp) +/* EDF128 80240768 E7A20014 */ swc1 $f2, 0x14($sp) +/* EDF12C 8024076C 0C01D444 */ jal func_80075110 +/* EDF130 80240770 E7A40018 */ swc1 $f4, 0x18($sp) +/* EDF134 80240774 0200202D */ daddu $a0, $s0, $zero +/* EDF138 80240778 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EDF13C 8024077C C480003C */ lwc1 $f0, 0x3c($a0) +/* EDF140 80240780 3C060020 */ lui $a2, 0x20 +/* EDF144 80240784 0C013600 */ jal func_8004D800 +/* EDF148 80240788 E4800064 */ swc1 $f0, 0x64($a0) +/* EDF14C 8024078C 8E220018 */ lw $v0, 0x18($s1) +/* EDF150 80240790 9442002A */ lhu $v0, 0x2a($v0) +/* EDF154 80240794 30420001 */ andi $v0, $v0, 1 +/* EDF158 80240798 10400003 */ beqz $v0, .L802407A8 +/* EDF15C 8024079C 2402000A */ addiu $v0, $zero, 0xa +/* EDF160 802407A0 0809025A */ j .L80240968 +/* EDF164 802407A4 AE620070 */ sw $v0, 0x70($s3) +.L802407A8: +/* EDF168 802407A8 0809025A */ j .L80240968 +/* EDF16C 802407AC AE720070 */ sw $s2, 0x70($s3) +.L802407B0: +/* EDF170 802407B0 8E620074 */ lw $v0, 0x74($s3) +/* EDF174 802407B4 2442FFFF */ addiu $v0, $v0, -1 +.L802407B8: +/* EDF178 802407B8 080901F1 */ j .L802407C4 +/* EDF17C 802407BC AE620074 */ sw $v0, 0x74($s3) +.L802407C0: +/* EDF180 802407C0 AE220090 */ sw $v0, 0x90($s1) +.L802407C4: +/* EDF184 802407C4 8E2300D0 */ lw $v1, 0xd0($s1) +/* EDF188 802407C8 C6000040 */ lwc1 $f0, 0x40($s0) +/* EDF18C 802407CC C4620000 */ lwc1 $f2, ($v1) +/* EDF190 802407D0 468010A0 */ cvt.s.w $f2, $f2 +/* EDF194 802407D4 C4640008 */ lwc1 $f4, 8($v1) +/* EDF198 802407D8 46802120 */ cvt.s.w $f4, $f4 +/* EDF19C 802407DC E7A00010 */ swc1 $f0, 0x10($sp) +/* EDF1A0 802407E0 8E2200D0 */ lw $v0, 0xd0($s1) +/* EDF1A4 802407E4 44051000 */ mfc1 $a1, $f2 +/* EDF1A8 802407E8 C440000C */ lwc1 $f0, 0xc($v0) +/* EDF1AC 802407EC 46800020 */ cvt.s.w $f0, $f0 +/* EDF1B0 802407F0 E7A00014 */ swc1 $f0, 0x14($sp) +/* EDF1B4 802407F4 8E2200D0 */ lw $v0, 0xd0($s1) +/* EDF1B8 802407F8 44062000 */ mfc1 $a2, $f4 +/* EDF1BC 802407FC C4400010 */ lwc1 $f0, 0x10($v0) +/* EDF1C0 80240800 46800020 */ cvt.s.w $f0, $f0 +/* EDF1C4 80240804 E7A00018 */ swc1 $f0, 0x18($sp) +/* EDF1C8 80240808 8C640018 */ lw $a0, 0x18($v1) +/* EDF1CC 8024080C 0C013431 */ jal func_8004D0C4 +/* EDF1D0 80240810 8E070038 */ lw $a3, 0x38($s0) +/* EDF1D4 80240814 1040001A */ beqz $v0, .L80240880 +/* EDF1D8 80240818 00000000 */ nop +/* EDF1DC 8024081C 8E060038 */ lw $a2, 0x38($s0) +/* EDF1E0 80240820 8E2200D0 */ lw $v0, 0xd0($s1) +/* EDF1E4 80240824 8E070040 */ lw $a3, 0x40($s0) +/* EDF1E8 80240828 C44C0000 */ lwc1 $f12, ($v0) +/* EDF1EC 8024082C 46806320 */ cvt.s.w $f12, $f12 +/* EDF1F0 80240830 C44E0008 */ lwc1 $f14, 8($v0) +/* EDF1F4 80240834 0C00AC71 */ jal func_8002B1C4 +/* EDF1F8 80240838 468073A0 */ cvt.s.w $f14, $f14 +/* EDF1FC 8024083C C6020018 */ lwc1 $f2, 0x18($s0) +/* EDF200 80240840 4600103C */ c.lt.s $f2, $f0 +/* EDF204 80240844 00000000 */ nop +/* EDF208 80240848 4500000D */ bc1f .L80240880 +/* EDF20C 8024084C E7A00034 */ swc1 $f0, 0x34($sp) +/* EDF210 80240850 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EDF214 80240854 8E2200D0 */ lw $v0, 0xd0($s1) +/* EDF218 80240858 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EDF21C 8024085C C4480000 */ lwc1 $f8, ($v0) +/* EDF220 80240860 46804220 */ cvt.s.w $f8, $f8 +/* EDF224 80240864 44064000 */ mfc1 $a2, $f8 +/* EDF228 80240868 C4480008 */ lwc1 $f8, 8($v0) +/* EDF22C 8024086C 46804220 */ cvt.s.w $f8, $f8 +/* EDF230 80240870 44074000 */ mfc1 $a3, $f8 +/* EDF234 80240874 0C00ABDC */ jal fio_validate_header_checksums +/* EDF238 80240878 24140001 */ addiu $s4, $zero, 1 +/* EDF23C 8024087C E600000C */ swc1 $f0, 0xc($s0) +.L80240880: +/* EDF240 80240880 8E2200D0 */ lw $v0, 0xd0($s1) +/* EDF244 80240884 8C43000C */ lw $v1, 0xc($v0) +/* EDF248 80240888 8C420010 */ lw $v0, 0x10($v0) +/* EDF24C 8024088C 00621825 */ or $v1, $v1, $v0 +/* EDF250 80240890 00741825 */ or $v1, $v1, $s4 +/* EDF254 80240894 10600008 */ beqz $v1, .L802408B8 +/* EDF258 80240898 00000000 */ nop +/* EDF25C 8024089C 8602008C */ lh $v0, 0x8c($s0) +/* EDF260 802408A0 14400031 */ bnez $v0, .L80240968 +/* EDF264 802408A4 00000000 */ nop +/* EDF268 802408A8 8E050018 */ lw $a1, 0x18($s0) +/* EDF26C 802408AC 8E06000C */ lw $a2, 0xc($s0) +/* EDF270 802408B0 0C00F909 */ jal func_8003E424 +/* EDF274 802408B4 0200202D */ daddu $a0, $s0, $zero +.L802408B8: +/* EDF278 802408B8 C600003C */ lwc1 $f0, 0x3c($s0) +/* EDF27C 802408BC 3C014059 */ lui $at, 0x4059 +/* EDF280 802408C0 44811800 */ mtc1 $at, $f3 +/* EDF284 802408C4 44801000 */ mtc1 $zero, $f2 +/* EDF288 802408C8 46000021 */ cvt.d.s $f0, $f0 +/* EDF28C 802408CC 46220002 */ mul.d $f0, $f0, $f2 +/* EDF290 802408D0 00000000 */ nop +/* EDF294 802408D4 4620020D */ trunc.w.d $f8, $f0 +/* EDF298 802408D8 E628007C */ swc1 $f8, 0x7c($s1) +/* EDF29C 802408DC 8E420004 */ lw $v0, 4($s2) +/* EDF2A0 802408E0 18400021 */ blez $v0, .L80240968 +/* EDF2A4 802408E4 00000000 */ nop +/* EDF2A8 802408E8 8602008E */ lh $v0, 0x8e($s0) +/* EDF2AC 802408EC 9603008E */ lhu $v1, 0x8e($s0) +/* EDF2B0 802408F0 18400005 */ blez $v0, .L80240908 +/* EDF2B4 802408F4 2462FFFF */ addiu $v0, $v1, -1 +/* EDF2B8 802408F8 A602008E */ sh $v0, 0x8e($s0) +/* EDF2BC 802408FC 00021400 */ sll $v0, $v0, 0x10 +/* EDF2C0 80240900 1C400019 */ bgtz $v0, .L80240968 +/* EDF2C4 80240904 00000000 */ nop +.L80240908: +/* EDF2C8 80240908 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EDF2CC 8024090C 24020002 */ addiu $v0, $zero, 2 +/* EDF2D0 80240910 0C00AB3B */ jal func_8002ACEC +/* EDF2D4 80240914 AE620070 */ sw $v0, 0x70($s3) +/* EDF2D8 80240918 3C035555 */ lui $v1, 0x5555 +/* EDF2DC 8024091C 34635556 */ ori $v1, $v1, 0x5556 +/* EDF2E0 80240920 00430018 */ mult $v0, $v1 +/* EDF2E4 80240924 000227C3 */ sra $a0, $v0, 0x1f +/* EDF2E8 80240928 00004010 */ mfhi $t0 +/* EDF2EC 8024092C 01042023 */ subu $a0, $t0, $a0 +/* EDF2F0 80240930 00041840 */ sll $v1, $a0, 1 +/* EDF2F4 80240934 00641821 */ addu $v1, $v1, $a0 +/* EDF2F8 80240938 00431023 */ subu $v0, $v0, $v1 +/* EDF2FC 8024093C 24430002 */ addiu $v1, $v0, 2 +/* EDF300 80240940 AE630074 */ sw $v1, 0x74($s3) +/* EDF304 80240944 8E42002C */ lw $v0, 0x2c($s2) +/* EDF308 80240948 58400007 */ blezl $v0, .L80240968 +/* EDF30C 8024094C AE600070 */ sw $zero, 0x70($s3) +/* EDF310 80240950 8E420008 */ lw $v0, 8($s2) +/* EDF314 80240954 18400003 */ blez $v0, .L80240964 +/* EDF318 80240958 28620003 */ slti $v0, $v1, 3 +/* EDF31C 8024095C 10400002 */ beqz $v0, .L80240968 +/* EDF320 80240960 00000000 */ nop +.L80240964: +/* EDF324 80240964 AE600070 */ sw $zero, 0x70($s3) +.L80240968: +/* EDF328 80240968 8FBF0058 */ lw $ra, 0x58($sp) +/* EDF32C 8024096C 8FB50054 */ lw $s5, 0x54($sp) +/* EDF330 80240970 8FB40050 */ lw $s4, 0x50($sp) +/* EDF334 80240974 8FB3004C */ lw $s3, 0x4c($sp) +/* EDF338 80240978 8FB20048 */ lw $s2, 0x48($sp) +/* EDF33C 8024097C 8FB10044 */ lw $s1, 0x44($sp) +/* EDF340 80240980 8FB00040 */ lw $s0, 0x40($sp) +/* EDF344 80240984 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* EDF348 80240988 D7B80070 */ ldc1 $f24, 0x70($sp) +/* EDF34C 8024098C D7B60068 */ ldc1 $f22, 0x68($sp) +/* EDF350 80240990 D7B40060 */ ldc1 $f20, 0x60($sp) +/* EDF354 80240994 03E00008 */ jr $ra +/* EDF358 80240998 27BD0080 */ addiu $sp, $sp, 0x80 diff --git a/asm/nonmatchings/code_EDEA00/func_8024099C_EDF35C.s b/asm/nonmatchings/code_EDEA00/func_8024099C_EDF35C.s new file mode 100644 index 0000000000..c9aadf4a76 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_8024099C_EDF35C.s @@ -0,0 +1,52 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024099C_EDF35C +/* EDF35C 8024099C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EDF360 802409A0 AFB3001C */ sw $s3, 0x1c($sp) +/* EDF364 802409A4 0080982D */ daddu $s3, $a0, $zero +/* EDF368 802409A8 AFBF0020 */ sw $ra, 0x20($sp) +/* EDF36C 802409AC AFB20018 */ sw $s2, 0x18($sp) +/* EDF370 802409B0 AFB10014 */ sw $s1, 0x14($sp) +/* EDF374 802409B4 AFB00010 */ sw $s0, 0x10($sp) +/* EDF378 802409B8 8E720148 */ lw $s2, 0x148($s3) +/* EDF37C 802409BC 86440008 */ lh $a0, 8($s2) +/* EDF380 802409C0 0C00F92F */ jal func_8003E4BC +/* EDF384 802409C4 00A0882D */ daddu $s1, $a1, $zero +/* EDF388 802409C8 8E240008 */ lw $a0, 8($s1) +/* EDF38C 802409CC 0040802D */ daddu $s0, $v0, $zero +/* EDF390 802409D0 00041FC2 */ srl $v1, $a0, 0x1f +/* EDF394 802409D4 00832021 */ addu $a0, $a0, $v1 +/* EDF398 802409D8 00042043 */ sra $a0, $a0, 1 +/* EDF39C 802409DC 0C00AB3B */ jal func_8002ACEC +/* EDF3A0 802409E0 24840001 */ addiu $a0, $a0, 1 +/* EDF3A4 802409E4 8E230008 */ lw $v1, 8($s1) +/* EDF3A8 802409E8 240400B4 */ addiu $a0, $zero, 0xb4 +/* EDF3AC 802409EC 00032FC2 */ srl $a1, $v1, 0x1f +/* EDF3B0 802409F0 00651821 */ addu $v1, $v1, $a1 +/* EDF3B4 802409F4 00031843 */ sra $v1, $v1, 1 +/* EDF3B8 802409F8 00621821 */ addu $v1, $v1, $v0 +/* EDF3BC 802409FC 0C00AB3B */ jal func_8002ACEC +/* EDF3C0 80240A00 A603008E */ sh $v1, 0x8e($s0) +/* EDF3C4 80240A04 C60C000C */ lwc1 $f12, 0xc($s0) +/* EDF3C8 80240A08 44820000 */ mtc1 $v0, $f0 +/* EDF3CC 80240A0C 00000000 */ nop +/* EDF3D0 80240A10 46800020 */ cvt.s.w $f0, $f0 +/* EDF3D4 80240A14 46006300 */ add.s $f12, $f12, $f0 +/* EDF3D8 80240A18 3C0142B4 */ lui $at, 0x42b4 +/* EDF3DC 80240A1C 44810000 */ mtc1 $at, $f0 +/* EDF3E0 80240A20 0C00AB85 */ jal func_8002AE14 +/* EDF3E4 80240A24 46006301 */ sub.s $f12, $f12, $f0 +/* EDF3E8 80240A28 E600000C */ swc1 $f0, 0xc($s0) +/* EDF3EC 80240A2C 8E4200CC */ lw $v0, 0xcc($s2) +/* EDF3F0 80240A30 8C420000 */ lw $v0, ($v0) +/* EDF3F4 80240A34 AE020028 */ sw $v0, 0x28($s0) +/* EDF3F8 80240A38 24020003 */ addiu $v0, $zero, 3 +/* EDF3FC 80240A3C AE620070 */ sw $v0, 0x70($s3) +/* EDF400 80240A40 8FBF0020 */ lw $ra, 0x20($sp) +/* EDF404 80240A44 8FB3001C */ lw $s3, 0x1c($sp) +/* EDF408 80240A48 8FB20018 */ lw $s2, 0x18($sp) +/* EDF40C 80240A4C 8FB10014 */ lw $s1, 0x14($sp) +/* EDF410 80240A50 8FB00010 */ lw $s0, 0x10($sp) +/* EDF414 80240A54 03E00008 */ jr $ra +/* EDF418 80240A58 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EDEA00/func_80240A5C_EDF41C.s b/asm/nonmatchings/code_EDEA00/func_80240A5C_EDF41C.s new file mode 100644 index 0000000000..ae92f1f86b --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80240A5C_EDF41C.s @@ -0,0 +1,225 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240A5C_EDF41C +/* EDF41C 80240A5C 27BDFF88 */ addiu $sp, $sp, -0x78 +/* EDF420 80240A60 AFB3004C */ sw $s3, 0x4c($sp) +/* EDF424 80240A64 0080982D */ daddu $s3, $a0, $zero +/* EDF428 80240A68 AFBF0054 */ sw $ra, 0x54($sp) +/* EDF42C 80240A6C AFB40050 */ sw $s4, 0x50($sp) +/* EDF430 80240A70 AFB20048 */ sw $s2, 0x48($sp) +/* EDF434 80240A74 AFB10044 */ sw $s1, 0x44($sp) +/* EDF438 80240A78 AFB00040 */ sw $s0, 0x40($sp) +/* EDF43C 80240A7C F7BA0070 */ sdc1 $f26, 0x70($sp) +/* EDF440 80240A80 F7B80068 */ sdc1 $f24, 0x68($sp) +/* EDF444 80240A84 F7B60060 */ sdc1 $f22, 0x60($sp) +/* EDF448 80240A88 F7B40058 */ sdc1 $f20, 0x58($sp) +/* EDF44C 80240A8C 8E710148 */ lw $s1, 0x148($s3) +/* EDF450 80240A90 00A0902D */ daddu $s2, $a1, $zero +/* EDF454 80240A94 86240008 */ lh $a0, 8($s1) +/* EDF458 80240A98 0C00F92F */ jal func_8003E4BC +/* EDF45C 80240A9C 00C0A02D */ daddu $s4, $a2, $zero +/* EDF460 80240AA0 0040802D */ daddu $s0, $v0, $zero +/* EDF464 80240AA4 C6200078 */ lwc1 $f0, 0x78($s1) +/* EDF468 80240AA8 46800020 */ cvt.s.w $f0, $f0 +/* EDF46C 80240AAC 46000021 */ cvt.d.s $f0, $f0 +/* EDF470 80240AB0 3C014059 */ lui $at, 0x4059 +/* EDF474 80240AB4 44811800 */ mtc1 $at, $f3 +/* EDF478 80240AB8 44801000 */ mtc1 $zero, $f2 +/* EDF47C 80240ABC 8602008E */ lh $v0, 0x8e($s0) +/* EDF480 80240AC0 9603008E */ lhu $v1, 0x8e($s0) +/* EDF484 80240AC4 46220003 */ div.d $f0, $f0, $f2 +/* EDF488 80240AC8 46200620 */ cvt.s.d $f24, $f0 +/* EDF48C 80240ACC C6200088 */ lwc1 $f0, 0x88($s1) +/* EDF490 80240AD0 46800020 */ cvt.s.w $f0, $f0 +/* EDF494 80240AD4 46000021 */ cvt.d.s $f0, $f0 +/* EDF498 80240AD8 46220003 */ div.d $f0, $f0, $f2 +/* EDF49C 80240ADC 46200020 */ cvt.s.d $f0, $f0 +/* EDF4A0 80240AE0 18400003 */ blez $v0, .L80240AF0 +/* EDF4A4 80240AE4 4600C680 */ add.s $f26, $f24, $f0 +/* EDF4A8 80240AE8 2462FFFF */ addiu $v0, $v1, -1 +/* EDF4AC 80240AEC A602008E */ sh $v0, 0x8e($s0) +.L80240AF0: +/* EDF4B0 80240AF0 8E220070 */ lw $v0, 0x70($s1) +/* EDF4B4 80240AF4 18400034 */ blez $v0, .L80240BC8 +/* EDF4B8 80240AF8 00000000 */ nop +/* EDF4BC 80240AFC C62C0074 */ lwc1 $f12, 0x74($s1) +/* EDF4C0 80240B00 46806320 */ cvt.s.w $f12, $f12 +/* EDF4C4 80240B04 44820000 */ mtc1 $v0, $f0 +/* EDF4C8 80240B08 00000000 */ nop +/* EDF4CC 80240B0C 46800020 */ cvt.s.w $f0, $f0 +/* EDF4D0 80240B10 46000021 */ cvt.d.s $f0, $f0 +/* EDF4D4 80240B14 46220003 */ div.d $f0, $f0, $f2 +/* EDF4D8 80240B18 0C00AD77 */ jal func_8002B5DC +/* EDF4DC 80240B1C 462005A0 */ cvt.s.d $f22, $f0 +/* EDF4E0 80240B20 8E020000 */ lw $v0, ($s0) +/* EDF4E4 80240B24 30420008 */ andi $v0, $v0, 8 +/* EDF4E8 80240B28 10400003 */ beqz $v0, .L80240B38 +/* EDF4EC 80240B2C 46000506 */ mov.s $f20, $f0 +/* EDF4F0 80240B30 080902DE */ j .L80240B78 +/* EDF4F4 80240B34 0000102D */ daddu $v0, $zero, $zero +.L80240B38: +/* EDF4F8 80240B38 27A50028 */ addiu $a1, $sp, 0x28 +/* EDF4FC 80240B3C 27A6002C */ addiu $a2, $sp, 0x2c +/* EDF500 80240B40 C6000038 */ lwc1 $f0, 0x38($s0) +/* EDF504 80240B44 C602003C */ lwc1 $f2, 0x3c($s0) +/* EDF508 80240B48 C6040040 */ lwc1 $f4, 0x40($s0) +/* EDF50C 80240B4C 3C01447A */ lui $at, 0x447a +/* EDF510 80240B50 44813000 */ mtc1 $at, $f6 +/* EDF514 80240B54 27A20034 */ addiu $v0, $sp, 0x34 +/* EDF518 80240B58 E7A00028 */ swc1 $f0, 0x28($sp) +/* EDF51C 80240B5C E7A2002C */ swc1 $f2, 0x2c($sp) +/* EDF520 80240B60 E7A40030 */ swc1 $f4, 0x30($sp) +/* EDF524 80240B64 E7A60034 */ swc1 $f6, 0x34($sp) +/* EDF528 80240B68 AFA20010 */ sw $v0, 0x10($sp) +/* EDF52C 80240B6C 8E040080 */ lw $a0, 0x80($s0) +/* EDF530 80240B70 0C03908F */ jal func_800E423C +/* EDF534 80240B74 27A70030 */ addiu $a3, $sp, 0x30 +.L80240B78: +/* EDF538 80240B78 10400007 */ beqz $v0, .L80240B98 +/* EDF53C 80240B7C 00000000 */ nop +/* EDF540 80240B80 4616A082 */ mul.s $f2, $f20, $f22 +/* EDF544 80240B84 00000000 */ nop +/* EDF548 80240B88 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* EDF54C 80240B8C 46180000 */ add.s $f0, $f0, $f24 +/* EDF550 80240B90 080902E9 */ j .L80240BA4 +/* EDF554 80240B94 46020000 */ add.s $f0, $f0, $f2 +.L80240B98: +/* EDF558 80240B98 4616A002 */ mul.s $f0, $f20, $f22 +/* EDF55C 80240B9C 00000000 */ nop +/* EDF560 80240BA0 4600D000 */ add.s $f0, $f26, $f0 +.L80240BA4: +/* EDF564 80240BA4 E600003C */ swc1 $f0, 0x3c($s0) +/* EDF568 80240BA8 8E220074 */ lw $v0, 0x74($s1) +/* EDF56C 80240BAC 2442000A */ addiu $v0, $v0, 0xa +/* EDF570 80240BB0 44826000 */ mtc1 $v0, $f12 +/* EDF574 80240BB4 00000000 */ nop +/* EDF578 80240BB8 0C00AB85 */ jal func_8002AE14 +/* EDF57C 80240BBC 46806320 */ cvt.s.w $f12, $f12 +/* EDF580 80240BC0 4600020D */ trunc.w.s $f8, $f0 +/* EDF584 80240BC4 E6280074 */ swc1 $f8, 0x74($s1) +.L80240BC8: +/* EDF588 80240BC8 8E220090 */ lw $v0, 0x90($s1) +/* EDF58C 80240BCC 1C400040 */ bgtz $v0, .L80240CD0 +/* EDF590 80240BD0 2442FFFF */ addiu $v0, $v0, -1 +/* EDF594 80240BD4 860200A8 */ lh $v0, 0xa8($s0) +/* EDF598 80240BD8 C600003C */ lwc1 $f0, 0x3c($s0) +/* EDF59C 80240BDC 44821000 */ mtc1 $v0, $f2 +/* EDF5A0 80240BE0 00000000 */ nop +/* EDF5A4 80240BE4 468010A0 */ cvt.s.w $f2, $f2 +/* EDF5A8 80240BE8 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EDF5AC 80240BEC 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EDF5B0 80240BF0 46020000 */ add.s $f0, $f0, $f2 +/* EDF5B4 80240BF4 3C014024 */ lui $at, 0x4024 +/* EDF5B8 80240BF8 44812800 */ mtc1 $at, $f5 +/* EDF5BC 80240BFC 44802000 */ mtc1 $zero, $f4 +/* EDF5C0 80240C00 C442002C */ lwc1 $f2, 0x2c($v0) +/* EDF5C4 80240C04 46000021 */ cvt.d.s $f0, $f0 +/* EDF5C8 80240C08 46240000 */ add.d $f0, $f0, $f4 +/* EDF5CC 80240C0C 460010A1 */ cvt.d.s $f2, $f2 +/* EDF5D0 80240C10 4620103C */ c.lt.d $f2, $f0 +/* EDF5D4 80240C14 00000000 */ nop +/* EDF5D8 80240C18 4500002E */ bc1f .L80240CD4 +/* EDF5DC 80240C1C 0280202D */ daddu $a0, $s4, $zero +/* EDF5E0 80240C20 24020001 */ addiu $v0, $zero, 1 +/* EDF5E4 80240C24 AFA20010 */ sw $v0, 0x10($sp) +/* EDF5E8 80240C28 8E460024 */ lw $a2, 0x24($s2) +/* EDF5EC 80240C2C 8E470028 */ lw $a3, 0x28($s2) +/* EDF5F0 80240C30 0C013469 */ jal func_8004D1A4 +/* EDF5F4 80240C34 0220282D */ daddu $a1, $s1, $zero +/* EDF5F8 80240C38 10400026 */ beqz $v0, .L80240CD4 +/* EDF5FC 80240C3C 0000202D */ daddu $a0, $zero, $zero +/* EDF600 80240C40 0200282D */ daddu $a1, $s0, $zero +/* EDF604 80240C44 0000302D */ daddu $a2, $zero, $zero +/* EDF608 80240C48 2412000C */ addiu $s2, $zero, 0xc +/* EDF60C 80240C4C 860300A8 */ lh $v1, 0xa8($s0) +/* EDF610 80240C50 3C013F80 */ lui $at, 0x3f80 +/* EDF614 80240C54 44810000 */ mtc1 $at, $f0 +/* EDF618 80240C58 3C014000 */ lui $at, 0x4000 +/* EDF61C 80240C5C 44811000 */ mtc1 $at, $f2 +/* EDF620 80240C60 3C01C1A0 */ lui $at, 0xc1a0 +/* EDF624 80240C64 44812000 */ mtc1 $at, $f4 +/* EDF628 80240C68 44834000 */ mtc1 $v1, $f8 +/* EDF62C 80240C6C 00000000 */ nop +/* EDF630 80240C70 46804220 */ cvt.s.w $f8, $f8 +/* EDF634 80240C74 44074000 */ mfc1 $a3, $f8 +/* EDF638 80240C78 27A20038 */ addiu $v0, $sp, 0x38 +/* EDF63C 80240C7C AFB2001C */ sw $s2, 0x1c($sp) +/* EDF640 80240C80 AFA20020 */ sw $v0, 0x20($sp) +/* EDF644 80240C84 E7A00010 */ swc1 $f0, 0x10($sp) +/* EDF648 80240C88 E7A20014 */ swc1 $f2, 0x14($sp) +/* EDF64C 80240C8C 0C01D444 */ jal func_80075110 +/* EDF650 80240C90 E7A40018 */ swc1 $f4, 0x18($sp) +/* EDF654 80240C94 0200202D */ daddu $a0, $s0, $zero +/* EDF658 80240C98 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EDF65C 80240C9C C480003C */ lwc1 $f0, 0x3c($a0) +/* EDF660 80240CA0 3C060020 */ lui $a2, 0x20 +/* EDF664 80240CA4 0C013600 */ jal func_8004D800 +/* EDF668 80240CA8 E4800064 */ swc1 $f0, 0x64($a0) +/* EDF66C 80240CAC 8E220018 */ lw $v0, 0x18($s1) +/* EDF670 80240CB0 9442002A */ lhu $v0, 0x2a($v0) +/* EDF674 80240CB4 30420001 */ andi $v0, $v0, 1 +/* EDF678 80240CB8 10400003 */ beqz $v0, .L80240CC8 +/* EDF67C 80240CBC 2402000A */ addiu $v0, $zero, 0xa +/* EDF680 80240CC0 0809035C */ j .L80240D70 +/* EDF684 80240CC4 AE620070 */ sw $v0, 0x70($s3) +.L80240CC8: +/* EDF688 80240CC8 0809035C */ j .L80240D70 +/* EDF68C 80240CCC AE720070 */ sw $s2, 0x70($s3) +.L80240CD0: +/* EDF690 80240CD0 AE220090 */ sw $v0, 0x90($s1) +.L80240CD4: +/* EDF694 80240CD4 8602008C */ lh $v0, 0x8c($s0) +/* EDF698 80240CD8 14400025 */ bnez $v0, .L80240D70 +/* EDF69C 80240CDC 00000000 */ nop +/* EDF6A0 80240CE0 8602008E */ lh $v0, 0x8e($s0) +/* EDF6A4 80240CE4 1C400022 */ bgtz $v0, .L80240D70 +/* EDF6A8 80240CE8 00000000 */ nop +/* EDF6AC 80240CEC 8E620074 */ lw $v0, 0x74($s3) +/* EDF6B0 80240CF0 2442FFFF */ addiu $v0, $v0, -1 +/* EDF6B4 80240CF4 1840001D */ blez $v0, .L80240D6C +/* EDF6B8 80240CF8 AE620074 */ sw $v0, 0x74($s3) +/* EDF6BC 80240CFC 8E220018 */ lw $v0, 0x18($s1) +/* EDF6C0 80240D00 9442002A */ lhu $v0, 0x2a($v0) +/* EDF6C4 80240D04 30420010 */ andi $v0, $v0, 0x10 +/* EDF6C8 80240D08 14400007 */ bnez $v0, .L80240D28 +/* EDF6CC 80240D0C 00000000 */ nop +/* EDF6D0 80240D10 C600000C */ lwc1 $f0, 0xc($s0) +/* EDF6D4 80240D14 3C014334 */ lui $at, 0x4334 +/* EDF6D8 80240D18 44816000 */ mtc1 $at, $f12 +/* EDF6DC 80240D1C 0C00AB85 */ jal func_8002AE14 +/* EDF6E0 80240D20 460C0300 */ add.s $f12, $f0, $f12 +/* EDF6E4 80240D24 E600000C */ swc1 $f0, 0xc($s0) +.L80240D28: +/* EDF6E8 80240D28 0C00AB3B */ jal func_8002ACEC +/* EDF6EC 80240D2C 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EDF6F0 80240D30 3C032E8B */ lui $v1, 0x2e8b +/* EDF6F4 80240D34 3463A2E9 */ ori $v1, $v1, 0xa2e9 +/* EDF6F8 80240D38 00430018 */ mult $v0, $v1 +/* EDF6FC 80240D3C 00021FC3 */ sra $v1, $v0, 0x1f +/* EDF700 80240D40 00004010 */ mfhi $t0 +/* EDF704 80240D44 00082043 */ sra $a0, $t0, 1 +/* EDF708 80240D48 00832023 */ subu $a0, $a0, $v1 +/* EDF70C 80240D4C 00041840 */ sll $v1, $a0, 1 +/* EDF710 80240D50 00641821 */ addu $v1, $v1, $a0 +/* EDF714 80240D54 00031880 */ sll $v1, $v1, 2 +/* EDF718 80240D58 00641823 */ subu $v1, $v1, $a0 +/* EDF71C 80240D5C 00431023 */ subu $v0, $v0, $v1 +/* EDF720 80240D60 24420005 */ addiu $v0, $v0, 5 +/* EDF724 80240D64 0809035C */ j .L80240D70 +/* EDF728 80240D68 A602008E */ sh $v0, 0x8e($s0) +.L80240D6C: +/* EDF72C 80240D6C AE600070 */ sw $zero, 0x70($s3) +.L80240D70: +/* EDF730 80240D70 8FBF0054 */ lw $ra, 0x54($sp) +/* EDF734 80240D74 8FB40050 */ lw $s4, 0x50($sp) +/* EDF738 80240D78 8FB3004C */ lw $s3, 0x4c($sp) +/* EDF73C 80240D7C 8FB20048 */ lw $s2, 0x48($sp) +/* EDF740 80240D80 8FB10044 */ lw $s1, 0x44($sp) +/* EDF744 80240D84 8FB00040 */ lw $s0, 0x40($sp) +/* EDF748 80240D88 D7BA0070 */ ldc1 $f26, 0x70($sp) +/* EDF74C 80240D8C D7B80068 */ ldc1 $f24, 0x68($sp) +/* EDF750 80240D90 D7B60060 */ ldc1 $f22, 0x60($sp) +/* EDF754 80240D94 D7B40058 */ ldc1 $f20, 0x58($sp) +/* EDF758 80240D98 03E00008 */ jr $ra +/* EDF75C 80240D9C 27BD0078 */ addiu $sp, $sp, 0x78 diff --git a/asm/nonmatchings/code_EDEA00/func_80240DA0_EDF760.s b/asm/nonmatchings/code_EDEA00/func_80240DA0_EDF760.s new file mode 100644 index 0000000000..ab0541f01a --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80240DA0_EDF760.s @@ -0,0 +1,34 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240DA0_EDF760 +/* EDF760 80240DA0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EDF764 80240DA4 AFB20018 */ sw $s2, 0x18($sp) +/* EDF768 80240DA8 0080902D */ daddu $s2, $a0, $zero +/* EDF76C 80240DAC AFBF001C */ sw $ra, 0x1c($sp) +/* EDF770 80240DB0 AFB10014 */ sw $s1, 0x14($sp) +/* EDF774 80240DB4 AFB00010 */ sw $s0, 0x10($sp) +/* EDF778 80240DB8 8E510148 */ lw $s1, 0x148($s2) +/* EDF77C 80240DBC 0C00F92F */ jal func_8003E4BC +/* EDF780 80240DC0 86240008 */ lh $a0, 8($s1) +/* EDF784 80240DC4 0040802D */ daddu $s0, $v0, $zero +/* EDF788 80240DC8 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EDF78C 80240DCC 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EDF790 80240DD0 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EDF794 80240DD4 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EDF798 80240DD8 A600008E */ sh $zero, 0x8e($s0) +/* EDF79C 80240DDC 8C460028 */ lw $a2, 0x28($v0) +/* EDF7A0 80240DE0 0C00ABDC */ jal fio_validate_header_checksums +/* EDF7A4 80240DE4 8C470030 */ lw $a3, 0x30($v0) +/* EDF7A8 80240DE8 E600000C */ swc1 $f0, 0xc($s0) +/* EDF7AC 80240DEC 8E2200CC */ lw $v0, 0xcc($s1) +/* EDF7B0 80240DF0 8C420020 */ lw $v0, 0x20($v0) +/* EDF7B4 80240DF4 AE020028 */ sw $v0, 0x28($s0) +/* EDF7B8 80240DF8 2402000B */ addiu $v0, $zero, 0xb +/* EDF7BC 80240DFC AE420070 */ sw $v0, 0x70($s2) +/* EDF7C0 80240E00 8FBF001C */ lw $ra, 0x1c($sp) +/* EDF7C4 80240E04 8FB20018 */ lw $s2, 0x18($sp) +/* EDF7C8 80240E08 8FB10014 */ lw $s1, 0x14($sp) +/* EDF7CC 80240E0C 8FB00010 */ lw $s0, 0x10($sp) +/* EDF7D0 80240E10 03E00008 */ jr $ra +/* EDF7D4 80240E14 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EDEA00/func_80240E18_EDF7D8.s b/asm/nonmatchings/code_EDEA00/func_80240E18_EDF7D8.s new file mode 100644 index 0000000000..18d2b9ca22 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80240E18_EDF7D8.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240E18_EDF7D8 +/* EDF7D8 80240E18 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EDF7DC 80240E1C AFB00010 */ sw $s0, 0x10($sp) +/* EDF7E0 80240E20 0080802D */ daddu $s0, $a0, $zero +/* EDF7E4 80240E24 AFBF0014 */ sw $ra, 0x14($sp) +/* EDF7E8 80240E28 8E020148 */ lw $v0, 0x148($s0) +/* EDF7EC 80240E2C 0C00F92F */ jal func_8003E4BC +/* EDF7F0 80240E30 84440008 */ lh $a0, 8($v0) +/* EDF7F4 80240E34 9443008E */ lhu $v1, 0x8e($v0) +/* EDF7F8 80240E38 C440003C */ lwc1 $f0, 0x3c($v0) +/* EDF7FC 80240E3C 24640001 */ addiu $a0, $v1, 1 +/* EDF800 80240E40 00031C00 */ sll $v1, $v1, 0x10 +/* EDF804 80240E44 00031B83 */ sra $v1, $v1, 0xe +/* EDF808 80240E48 A444008E */ sh $a0, 0x8e($v0) +/* EDF80C 80240E4C 3C018024 */ lui $at, %hi(D_802441DC) +/* EDF810 80240E50 00230821 */ addu $at, $at, $v1 +/* EDF814 80240E54 C42241DC */ lwc1 $f2, %lo(D_802441DC)($at) +/* EDF818 80240E58 8443008E */ lh $v1, 0x8e($v0) +/* EDF81C 80240E5C 46020000 */ add.s $f0, $f0, $f2 +/* EDF820 80240E60 28630005 */ slti $v1, $v1, 5 +/* EDF824 80240E64 14600003 */ bnez $v1, .L80240E74 +/* EDF828 80240E68 E440003C */ swc1 $f0, 0x3c($v0) +/* EDF82C 80240E6C 2402000C */ addiu $v0, $zero, 0xc +/* EDF830 80240E70 AE020070 */ sw $v0, 0x70($s0) +.L80240E74: +/* EDF834 80240E74 8FBF0014 */ lw $ra, 0x14($sp) +/* EDF838 80240E78 8FB00010 */ lw $s0, 0x10($sp) +/* EDF83C 80240E7C 03E00008 */ jr $ra +/* EDF840 80240E80 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EDEA00/func_80240E84_EDF844.s b/asm/nonmatchings/code_EDEA00/func_80240E84_EDF844.s new file mode 100644 index 0000000000..51b96df34a --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80240E84_EDF844.s @@ -0,0 +1,83 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240E84_EDF844 +/* EDF844 80240E84 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EDF848 80240E88 AFB3001C */ sw $s3, 0x1c($sp) +/* EDF84C 80240E8C 0080982D */ daddu $s3, $a0, $zero +/* EDF850 80240E90 AFBF0020 */ sw $ra, 0x20($sp) +/* EDF854 80240E94 AFB20018 */ sw $s2, 0x18($sp) +/* EDF858 80240E98 AFB10014 */ sw $s1, 0x14($sp) +/* EDF85C 80240E9C AFB00010 */ sw $s0, 0x10($sp) +/* EDF860 80240EA0 8E720148 */ lw $s2, 0x148($s3) +/* EDF864 80240EA4 86440008 */ lh $a0, 8($s2) +/* EDF868 80240EA8 0C00F92F */ jal func_8003E4BC +/* EDF86C 80240EAC 00A0802D */ daddu $s0, $a1, $zero +/* EDF870 80240EB0 0040882D */ daddu $s1, $v0, $zero +/* EDF874 80240EB4 C6420080 */ lwc1 $f2, 0x80($s2) +/* EDF878 80240EB8 468010A0 */ cvt.s.w $f2, $f2 +/* EDF87C 80240EBC 460010A1 */ cvt.d.s $f2, $f2 +/* EDF880 80240EC0 C6400084 */ lwc1 $f0, 0x84($s2) +/* EDF884 80240EC4 46800020 */ cvt.s.w $f0, $f0 +/* EDF888 80240EC8 46000021 */ cvt.d.s $f0, $f0 +/* EDF88C 80240ECC 3C014059 */ lui $at, 0x4059 +/* EDF890 80240ED0 44812800 */ mtc1 $at, $f5 +/* EDF894 80240ED4 44802000 */ mtc1 $zero, $f4 +/* EDF898 80240ED8 8E4200CC */ lw $v0, 0xcc($s2) +/* EDF89C 80240EDC C62C0038 */ lwc1 $f12, 0x38($s1) +/* EDF8A0 80240EE0 C62E0040 */ lwc1 $f14, 0x40($s1) +/* EDF8A4 80240EE4 46241083 */ div.d $f2, $f2, $f4 +/* EDF8A8 80240EE8 462010A0 */ cvt.s.d $f2, $f2 +/* EDF8AC 80240EEC 46240003 */ div.d $f0, $f0, $f4 +/* EDF8B0 80240EF0 8C420020 */ lw $v0, 0x20($v0) +/* EDF8B4 80240EF4 46200020 */ cvt.s.d $f0, $f0 +/* EDF8B8 80240EF8 E622001C */ swc1 $f2, 0x1c($s1) +/* EDF8BC 80240EFC E6200014 */ swc1 $f0, 0x14($s1) +/* EDF8C0 80240F00 AE220028 */ sw $v0, 0x28($s1) +/* EDF8C4 80240F04 C6000018 */ lwc1 $f0, 0x18($s0) +/* EDF8C8 80240F08 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EDF8CC 80240F0C 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EDF8D0 80240F10 E6200018 */ swc1 $f0, 0x18($s1) +/* EDF8D4 80240F14 8C460028 */ lw $a2, 0x28($v0) +/* EDF8D8 80240F18 0C00ABDC */ jal fio_validate_header_checksums +/* EDF8DC 80240F1C 8C470030 */ lw $a3, 0x30($v0) +/* EDF8E0 80240F20 E620000C */ swc1 $f0, 0xc($s1) +/* EDF8E4 80240F24 8E420018 */ lw $v0, 0x18($s2) +/* EDF8E8 80240F28 AE400074 */ sw $zero, 0x74($s2) +/* EDF8EC 80240F2C 9442002A */ lhu $v0, 0x2a($v0) +/* EDF8F0 80240F30 30420002 */ andi $v0, $v0, 2 +/* EDF8F4 80240F34 10400005 */ beqz $v0, .L80240F4C +/* EDF8F8 80240F38 24020003 */ addiu $v0, $zero, 3 +/* EDF8FC 80240F3C A622008E */ sh $v0, 0x8e($s1) +/* EDF900 80240F40 2402000D */ addiu $v0, $zero, 0xd +/* EDF904 80240F44 080903E7 */ j .L80240F9C +/* EDF908 80240F48 AE620070 */ sw $v0, 0x70($s3) +.L80240F4C: +/* EDF90C 80240F4C 24030001 */ addiu $v1, $zero, 1 +/* EDF910 80240F50 2402000E */ addiu $v0, $zero, 0xe +/* EDF914 80240F54 A623008E */ sh $v1, 0x8e($s1) +/* EDF918 80240F58 AE620070 */ sw $v0, 0x70($s3) +/* EDF91C 80240F5C C6200038 */ lwc1 $f0, 0x38($s1) +/* EDF920 80240F60 4600018D */ trunc.w.s $f6, $f0 +/* EDF924 80240F64 44023000 */ mfc1 $v0, $f6 +/* EDF928 80240F68 00000000 */ nop +/* EDF92C 80240F6C A6420010 */ sh $v0, 0x10($s2) +/* EDF930 80240F70 C620003C */ lwc1 $f0, 0x3c($s1) +/* EDF934 80240F74 4600018D */ trunc.w.s $f6, $f0 +/* EDF938 80240F78 44023000 */ mfc1 $v0, $f6 +/* EDF93C 80240F7C 00000000 */ nop +/* EDF940 80240F80 A6420012 */ sh $v0, 0x12($s2) +/* EDF944 80240F84 C6200040 */ lwc1 $f0, 0x40($s1) +/* EDF948 80240F88 A2430007 */ sb $v1, 7($s2) +/* EDF94C 80240F8C 4600018D */ trunc.w.s $f6, $f0 +/* EDF950 80240F90 44023000 */ mfc1 $v0, $f6 +/* EDF954 80240F94 00000000 */ nop +/* EDF958 80240F98 A6420014 */ sh $v0, 0x14($s2) +.L80240F9C: +/* EDF95C 80240F9C 8FBF0020 */ lw $ra, 0x20($sp) +/* EDF960 80240FA0 8FB3001C */ lw $s3, 0x1c($sp) +/* EDF964 80240FA4 8FB20018 */ lw $s2, 0x18($sp) +/* EDF968 80240FA8 8FB10014 */ lw $s1, 0x14($sp) +/* EDF96C 80240FAC 8FB00010 */ lw $s0, 0x10($sp) +/* EDF970 80240FB0 03E00008 */ jr $ra +/* EDF974 80240FB4 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EDEA00/func_80240FB8_EDF978.s b/asm/nonmatchings/code_EDEA00/func_80240FB8_EDF978.s new file mode 100644 index 0000000000..714e169976 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80240FB8_EDF978.s @@ -0,0 +1,31 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240FB8_EDF978 +/* EDF978 80240FB8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EDF97C 80240FBC AFB00010 */ sw $s0, 0x10($sp) +/* EDF980 80240FC0 0080802D */ daddu $s0, $a0, $zero +/* EDF984 80240FC4 AFBF0014 */ sw $ra, 0x14($sp) +/* EDF988 80240FC8 8E020148 */ lw $v0, 0x148($s0) +/* EDF98C 80240FCC 0C00F92F */ jal func_8003E4BC +/* EDF990 80240FD0 84440008 */ lh $a0, 8($v0) +/* EDF994 80240FD4 0040202D */ daddu $a0, $v0, $zero +/* EDF998 80240FD8 8482008E */ lh $v0, 0x8e($a0) +/* EDF99C 80240FDC 9483008E */ lhu $v1, 0x8e($a0) +/* EDF9A0 80240FE0 18400005 */ blez $v0, .L80240FF8 +/* EDF9A4 80240FE4 2462FFFF */ addiu $v0, $v1, -1 +/* EDF9A8 80240FE8 A482008E */ sh $v0, 0x8e($a0) +/* EDF9AC 80240FEC 00021400 */ sll $v0, $v0, 0x10 +/* EDF9B0 80240FF0 1C400006 */ bgtz $v0, .L8024100C +/* EDF9B4 80240FF4 00000000 */ nop +.L80240FF8: +/* EDF9B8 80240FF8 8482008C */ lh $v0, 0x8c($a0) +/* EDF9BC 80240FFC 14400003 */ bnez $v0, .L8024100C +/* EDF9C0 80241000 2402000E */ addiu $v0, $zero, 0xe +/* EDF9C4 80241004 A480008E */ sh $zero, 0x8e($a0) +/* EDF9C8 80241008 AE020070 */ sw $v0, 0x70($s0) +.L8024100C: +/* EDF9CC 8024100C 8FBF0014 */ lw $ra, 0x14($sp) +/* EDF9D0 80241010 8FB00010 */ lw $s0, 0x10($sp) +/* EDF9D4 80241014 03E00008 */ jr $ra +/* EDF9D8 80241018 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EDEA00/func_8024101C_EDF9DC.s b/asm/nonmatchings/code_EDEA00/func_8024101C_EDF9DC.s new file mode 100644 index 0000000000..5a3e63d4d3 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_8024101C_EDF9DC.s @@ -0,0 +1,243 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024101C_EDF9DC +/* EDF9DC 8024101C 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EDF9E0 80241020 AFB20030 */ sw $s2, 0x30($sp) +/* EDF9E4 80241024 0080902D */ daddu $s2, $a0, $zero +/* EDF9E8 80241028 AFBF0038 */ sw $ra, 0x38($sp) +/* EDF9EC 8024102C AFB30034 */ sw $s3, 0x34($sp) +/* EDF9F0 80241030 AFB1002C */ sw $s1, 0x2c($sp) +/* EDF9F4 80241034 AFB00028 */ sw $s0, 0x28($sp) +/* EDF9F8 80241038 F7B60048 */ sdc1 $f22, 0x48($sp) +/* EDF9FC 8024103C F7B40040 */ sdc1 $f20, 0x40($sp) +/* EDFA00 80241040 8E510148 */ lw $s1, 0x148($s2) +/* EDFA04 80241044 86240008 */ lh $a0, 8($s1) +/* EDFA08 80241048 0C00F92F */ jal func_8003E4BC +/* EDFA0C 8024104C 00A0982D */ daddu $s3, $a1, $zero +/* EDFA10 80241050 0040802D */ daddu $s0, $v0, $zero +/* EDFA14 80241054 0200202D */ daddu $a0, $s0, $zero +/* EDFA18 80241058 C6220088 */ lwc1 $f2, 0x88($s1) +/* EDFA1C 8024105C 468010A0 */ cvt.s.w $f2, $f2 +/* EDFA20 80241060 460010A1 */ cvt.d.s $f2, $f2 +/* EDFA24 80241064 C604001C */ lwc1 $f4, 0x1c($s0) +/* EDFA28 80241068 C6000014 */ lwc1 $f0, 0x14($s0) +/* EDFA2C 8024106C 8E050018 */ lw $a1, 0x18($s0) +/* EDFA30 80241070 46002100 */ add.s $f4, $f4, $f0 +/* EDFA34 80241074 8E06000C */ lw $a2, 0xc($s0) +/* EDFA38 80241078 C6200078 */ lwc1 $f0, 0x78($s1) +/* EDFA3C 8024107C 46800020 */ cvt.s.w $f0, $f0 +/* EDFA40 80241080 E604001C */ swc1 $f4, 0x1c($s0) +/* EDFA44 80241084 3C014059 */ lui $at, 0x4059 +/* EDFA48 80241088 44812800 */ mtc1 $at, $f5 +/* EDFA4C 8024108C 44802000 */ mtc1 $zero, $f4 +/* EDFA50 80241090 46000021 */ cvt.d.s $f0, $f0 +/* EDFA54 80241094 46240003 */ div.d $f0, $f0, $f4 +/* EDFA58 80241098 46200520 */ cvt.s.d $f20, $f0 +/* EDFA5C 8024109C 46241083 */ div.d $f2, $f2, $f4 +/* EDFA60 802410A0 0C00F909 */ jal func_8003E424 +/* EDFA64 802410A4 462015A0 */ cvt.s.d $f22, $f2 +/* EDFA68 802410A8 C604001C */ lwc1 $f4, 0x1c($s0) +/* EDFA6C 802410AC 44801000 */ mtc1 $zero, $f2 +/* EDFA70 802410B0 44801800 */ mtc1 $zero, $f3 +/* EDFA74 802410B4 46002021 */ cvt.d.s $f0, $f4 +/* EDFA78 802410B8 4620103E */ c.le.d $f2, $f0 +/* EDFA7C 802410BC 00000000 */ nop +/* EDFA80 802410C0 45000030 */ bc1f .L80241184 +/* EDFA84 802410C4 00000000 */ nop +/* EDFA88 802410C8 C600003C */ lwc1 $f0, 0x3c($s0) +/* EDFA8C 802410CC 46040000 */ add.s $f0, $f0, $f4 +/* EDFA90 802410D0 E600003C */ swc1 $f0, 0x3c($s0) +/* EDFA94 802410D4 8E2200CC */ lw $v0, 0xcc($s1) +/* EDFA98 802410D8 8C420024 */ lw $v0, 0x24($v0) +/* EDFA9C 802410DC AE020028 */ sw $v0, 0x28($s0) +/* EDFAA0 802410E0 A2200007 */ sb $zero, 7($s1) +/* EDFAA4 802410E4 8E020000 */ lw $v0, ($s0) +/* EDFAA8 802410E8 30420008 */ andi $v0, $v0, 8 +/* EDFAAC 802410EC 14400011 */ bnez $v0, .L80241134 +/* EDFAB0 802410F0 0000102D */ daddu $v0, $zero, $zero +/* EDFAB4 802410F4 27A50018 */ addiu $a1, $sp, 0x18 +/* EDFAB8 802410F8 27A6001C */ addiu $a2, $sp, 0x1c +/* EDFABC 802410FC C6000038 */ lwc1 $f0, 0x38($s0) +/* EDFAC0 80241100 C602003C */ lwc1 $f2, 0x3c($s0) +/* EDFAC4 80241104 C6040040 */ lwc1 $f4, 0x40($s0) +/* EDFAC8 80241108 3C01447A */ lui $at, 0x447a +/* EDFACC 8024110C 44813000 */ mtc1 $at, $f6 +/* EDFAD0 80241110 27A20024 */ addiu $v0, $sp, 0x24 +/* EDFAD4 80241114 E7A00018 */ swc1 $f0, 0x18($sp) +/* EDFAD8 80241118 E7A2001C */ swc1 $f2, 0x1c($sp) +/* EDFADC 8024111C E7A40020 */ swc1 $f4, 0x20($sp) +/* EDFAE0 80241120 E7A60024 */ swc1 $f6, 0x24($sp) +/* EDFAE4 80241124 AFA20010 */ sw $v0, 0x10($sp) +/* EDFAE8 80241128 8E040080 */ lw $a0, 0x80($s0) +/* EDFAEC 8024112C 0C03908F */ jal func_800E423C +/* EDFAF0 80241130 27A70020 */ addiu $a3, $sp, 0x20 +.L80241134: +/* EDFAF4 80241134 1040000B */ beqz $v0, .L80241164 +/* EDFAF8 80241138 00000000 */ nop +/* EDFAFC 8024113C C7A0001C */ lwc1 $f0, 0x1c($sp) +/* EDFB00 80241140 46140080 */ add.s $f2, $f0, $f20 +/* EDFB04 80241144 C600003C */ lwc1 $f0, 0x3c($s0) +/* EDFB08 80241148 4600103E */ c.le.s $f2, $f0 +/* EDFB0C 8024114C 00000000 */ nop +/* EDFB10 80241150 4500008D */ bc1f .L80241388 +/* EDFB14 80241154 00000000 */ nop +/* EDFB18 80241158 E602003C */ swc1 $f2, 0x3c($s0) +/* EDFB1C 8024115C 080904E2 */ j .L80241388 +/* EDFB20 80241160 AE400070 */ sw $zero, 0x70($s2) +.L80241164: +/* EDFB24 80241164 C602003C */ lwc1 $f2, 0x3c($s0) +/* EDFB28 80241168 C6000064 */ lwc1 $f0, 0x64($s0) +/* EDFB2C 8024116C 4602003E */ c.le.s $f0, $f2 +/* EDFB30 80241170 00000000 */ nop +/* EDFB34 80241174 45030084 */ bc1tl .L80241388 +/* EDFB38 80241178 AE400070 */ sw $zero, 0x70($s2) +/* EDFB3C 8024117C 080904E2 */ j .L80241388 +/* EDFB40 80241180 00000000 */ nop +.L80241184: +/* EDFB44 80241184 4622003C */ c.lt.d $f0, $f2 +/* EDFB48 80241188 00000000 */ nop +/* EDFB4C 8024118C 4500007E */ bc1f .L80241388 +/* EDFB50 80241190 00000000 */ nop +/* EDFB54 80241194 9602008E */ lhu $v0, 0x8e($s0) +/* EDFB58 80241198 24420001 */ addiu $v0, $v0, 1 +/* EDFB5C 8024119C A602008E */ sh $v0, 0x8e($s0) +/* EDFB60 802411A0 00021400 */ sll $v0, $v0, 0x10 +/* EDFB64 802411A4 8E630020 */ lw $v1, 0x20($s3) +/* EDFB68 802411A8 00021403 */ sra $v0, $v0, 0x10 +/* EDFB6C 802411AC 0043102A */ slt $v0, $v0, $v1 +/* EDFB70 802411B0 14400026 */ bnez $v0, .L8024124C +/* EDFB74 802411B4 00000000 */ nop +/* EDFB78 802411B8 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EDFB7C 802411BC C60E0040 */ lwc1 $f14, 0x40($s0) +/* EDFB80 802411C0 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EDFB84 802411C4 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EDFB88 802411C8 A600008E */ sh $zero, 0x8e($s0) +/* EDFB8C 802411CC 8C460028 */ lw $a2, 0x28($v0) +/* EDFB90 802411D0 0C00ABDC */ jal fio_validate_header_checksums +/* EDFB94 802411D4 8C470030 */ lw $a3, 0x30($v0) +/* EDFB98 802411D8 46000506 */ mov.s $f20, $f0 +/* EDFB9C 802411DC C60C000C */ lwc1 $f12, 0xc($s0) +/* EDFBA0 802411E0 0C00ABC6 */ jal func_8002AF18 +/* EDFBA4 802411E4 4600A386 */ mov.s $f14, $f20 +/* EDFBA8 802411E8 46000086 */ mov.s $f2, $f0 +/* EDFBAC 802411EC 8E62001C */ lw $v0, 0x1c($s3) +/* EDFBB0 802411F0 46001005 */ abs.s $f0, $f2 +/* EDFBB4 802411F4 44822000 */ mtc1 $v0, $f4 +/* EDFBB8 802411F8 00000000 */ nop +/* EDFBBC 802411FC 46802120 */ cvt.s.w $f4, $f4 +/* EDFBC0 80241200 4600203C */ c.lt.s $f4, $f0 +/* EDFBC4 80241204 00000000 */ nop +/* EDFBC8 80241208 4500000D */ bc1f .L80241240 +/* EDFBCC 8024120C 00000000 */ nop +/* EDFBD0 80241210 44800000 */ mtc1 $zero, $f0 +/* EDFBD4 80241214 C614000C */ lwc1 $f20, 0xc($s0) +/* EDFBD8 80241218 4600103C */ c.lt.s $f2, $f0 +/* EDFBDC 8024121C 00000000 */ nop +/* EDFBE0 80241220 45000006 */ bc1f .L8024123C +/* EDFBE4 80241224 00021023 */ negu $v0, $v0 +/* EDFBE8 80241228 44820000 */ mtc1 $v0, $f0 +/* EDFBEC 8024122C 00000000 */ nop +/* EDFBF0 80241230 46800020 */ cvt.s.w $f0, $f0 +/* EDFBF4 80241234 08090490 */ j .L80241240 +/* EDFBF8 80241238 4600A500 */ add.s $f20, $f20, $f0 +.L8024123C: +/* EDFBFC 8024123C 4604A500 */ add.s $f20, $f20, $f4 +.L80241240: +/* EDFC00 80241240 0C00AB85 */ jal func_8002AE14 +/* EDFC04 80241244 4600A306 */ mov.s $f12, $f20 +/* EDFC08 80241248 E600000C */ swc1 $f0, 0xc($s0) +.L8024124C: +/* EDFC0C 8024124C 8E020000 */ lw $v0, ($s0) +/* EDFC10 80241250 30420008 */ andi $v0, $v0, 8 +/* EDFC14 80241254 1040000A */ beqz $v0, .L80241280 +/* EDFC18 80241258 27A50018 */ addiu $a1, $sp, 0x18 +/* EDFC1C 8024125C C602003C */ lwc1 $f2, 0x3c($s0) +/* EDFC20 80241260 C600001C */ lwc1 $f0, 0x1c($s0) +/* EDFC24 80241264 46001080 */ add.s $f2, $f2, $f0 +/* EDFC28 80241268 4616103C */ c.lt.s $f2, $f22 +/* EDFC2C 8024126C 00000000 */ nop +/* EDFC30 80241270 45020045 */ bc1fl .L80241388 +/* EDFC34 80241274 E602003C */ swc1 $f2, 0x3c($s0) +/* EDFC38 80241278 080904E1 */ j .L80241384 +/* EDFC3C 8024127C E616003C */ swc1 $f22, 0x3c($s0) +.L80241280: +/* EDFC40 80241280 C6000038 */ lwc1 $f0, 0x38($s0) +/* EDFC44 80241284 27A6001C */ addiu $a2, $sp, 0x1c +/* EDFC48 80241288 E7A00018 */ swc1 $f0, 0x18($sp) +/* EDFC4C 8024128C 860200A8 */ lh $v0, 0xa8($s0) +/* EDFC50 80241290 C600001C */ lwc1 $f0, 0x1c($s0) +/* EDFC54 80241294 C604003C */ lwc1 $f4, 0x3c($s0) +/* EDFC58 80241298 44821000 */ mtc1 $v0, $f2 +/* EDFC5C 8024129C 00000000 */ nop +/* EDFC60 802412A0 468010A0 */ cvt.s.w $f2, $f2 +/* EDFC64 802412A4 46000005 */ abs.s $f0, $f0 +/* EDFC68 802412A8 46020000 */ add.s $f0, $f0, $f2 +/* EDFC6C 802412AC C6060040 */ lwc1 $f6, 0x40($s0) +/* EDFC70 802412B0 27A20024 */ addiu $v0, $sp, 0x24 +/* EDFC74 802412B4 46022100 */ add.s $f4, $f4, $f2 +/* EDFC78 802412B8 3C014024 */ lui $at, 0x4024 +/* EDFC7C 802412BC 44811800 */ mtc1 $at, $f3 +/* EDFC80 802412C0 44801000 */ mtc1 $zero, $f2 +/* EDFC84 802412C4 46000021 */ cvt.d.s $f0, $f0 +/* EDFC88 802412C8 46220000 */ add.d $f0, $f0, $f2 +/* EDFC8C 802412CC E7A60020 */ swc1 $f6, 0x20($sp) +/* EDFC90 802412D0 E7A4001C */ swc1 $f4, 0x1c($sp) +/* EDFC94 802412D4 46200020 */ cvt.s.d $f0, $f0 +/* EDFC98 802412D8 E7A00024 */ swc1 $f0, 0x24($sp) +/* EDFC9C 802412DC AFA20010 */ sw $v0, 0x10($sp) +/* EDFCA0 802412E0 8E040080 */ lw $a0, 0x80($s0) +/* EDFCA4 802412E4 0C03908F */ jal func_800E423C +/* EDFCA8 802412E8 27A70020 */ addiu $a3, $sp, 0x20 +/* EDFCAC 802412EC 10400015 */ beqz $v0, .L80241344 +/* EDFCB0 802412F0 00000000 */ nop +/* EDFCB4 802412F4 860200A8 */ lh $v0, 0xa8($s0) +/* EDFCB8 802412F8 C604001C */ lwc1 $f4, 0x1c($s0) +/* EDFCBC 802412FC 44820000 */ mtc1 $v0, $f0 +/* EDFCC0 80241300 00000000 */ nop +/* EDFCC4 80241304 46800020 */ cvt.s.w $f0, $f0 +/* EDFCC8 80241308 46002085 */ abs.s $f2, $f4 +/* EDFCCC 8024130C 46020000 */ add.s $f0, $f0, $f2 +/* EDFCD0 80241310 C7A20024 */ lwc1 $f2, 0x24($sp) +/* EDFCD4 80241314 4600103E */ c.le.s $f2, $f0 +/* EDFCD8 80241318 00000000 */ nop +/* EDFCDC 8024131C 45000005 */ bc1f .L80241334 +/* EDFCE0 80241320 00000000 */ nop +/* EDFCE4 80241324 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* EDFCE8 80241328 AE00001C */ sw $zero, 0x1c($s0) +/* EDFCEC 8024132C 080904E2 */ j .L80241388 +/* EDFCF0 80241330 E600003C */ swc1 $f0, 0x3c($s0) +.L80241334: +/* EDFCF4 80241334 C600003C */ lwc1 $f0, 0x3c($s0) +/* EDFCF8 80241338 46040000 */ add.s $f0, $f0, $f4 +/* EDFCFC 8024133C 080904E2 */ j .L80241388 +/* EDFD00 80241340 E600003C */ swc1 $f0, 0x3c($s0) +.L80241344: +/* EDFD04 80241344 C606003C */ lwc1 $f6, 0x3c($s0) +/* EDFD08 80241348 860200A8 */ lh $v0, 0xa8($s0) +/* EDFD0C 8024134C 46163081 */ sub.s $f2, $f6, $f22 +/* EDFD10 80241350 44820000 */ mtc1 $v0, $f0 +/* EDFD14 80241354 00000000 */ nop +/* EDFD18 80241358 46800020 */ cvt.s.w $f0, $f0 +/* EDFD1C 8024135C 46001080 */ add.s $f2, $f2, $f0 +/* EDFD20 80241360 C604001C */ lwc1 $f4, 0x1c($s0) +/* EDFD24 80241364 46002005 */ abs.s $f0, $f4 +/* EDFD28 80241368 4602003C */ c.lt.s $f0, $f2 +/* EDFD2C 8024136C 00000000 */ nop +/* EDFD30 80241370 45020005 */ bc1fl .L80241388 +/* EDFD34 80241374 AE00001C */ sw $zero, 0x1c($s0) +/* EDFD38 80241378 46043000 */ add.s $f0, $f6, $f4 +/* EDFD3C 8024137C 080904E2 */ j .L80241388 +/* EDFD40 80241380 E600003C */ swc1 $f0, 0x3c($s0) +.L80241384: +/* EDFD44 80241384 AE00001C */ sw $zero, 0x1c($s0) +.L80241388: +/* EDFD48 80241388 8FBF0038 */ lw $ra, 0x38($sp) +/* EDFD4C 8024138C 8FB30034 */ lw $s3, 0x34($sp) +/* EDFD50 80241390 8FB20030 */ lw $s2, 0x30($sp) +/* EDFD54 80241394 8FB1002C */ lw $s1, 0x2c($sp) +/* EDFD58 80241398 8FB00028 */ lw $s0, 0x28($sp) +/* EDFD5C 8024139C D7B60048 */ ldc1 $f22, 0x48($sp) +/* EDFD60 802413A0 D7B40040 */ ldc1 $f20, 0x40($sp) +/* EDFD64 802413A4 03E00008 */ jr $ra +/* EDFD68 802413A8 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EDEA00/func_802413AC_EDFD6C.s b/asm/nonmatchings/code_EDEA00/func_802413AC_EDFD6C.s new file mode 100644 index 0000000000..93404f507a --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_802413AC_EDFD6C.s @@ -0,0 +1,79 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802413AC_EDFD6C +/* EDFD6C 802413AC 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* EDFD70 802413B0 AFB00028 */ sw $s0, 0x28($sp) +/* EDFD74 802413B4 00A0802D */ daddu $s0, $a1, $zero +/* EDFD78 802413B8 AFB1002C */ sw $s1, 0x2c($sp) +/* EDFD7C 802413BC 00C0882D */ daddu $s1, $a2, $zero +/* EDFD80 802413C0 AFBF0034 */ sw $ra, 0x34($sp) +/* EDFD84 802413C4 AFB20030 */ sw $s2, 0x30($sp) +/* EDFD88 802413C8 AE200070 */ sw $zero, 0x70($s1) +/* EDFD8C 802413CC 8C830000 */ lw $v1, ($a0) +/* EDFD90 802413D0 2402FDFF */ addiu $v0, $zero, -0x201 +/* EDFD94 802413D4 A480008E */ sh $zero, 0x8e($a0) +/* EDFD98 802413D8 00621824 */ and $v1, $v1, $v0 +/* EDFD9C 802413DC 34650800 */ ori $a1, $v1, 0x800 +/* EDFDA0 802413E0 AC850000 */ sw $a1, ($a0) +/* EDFDA4 802413E4 8E0200D0 */ lw $v0, 0xd0($s0) +/* EDFDA8 802413E8 8C420034 */ lw $v0, 0x34($v0) +/* EDFDAC 802413EC 10400003 */ beqz $v0, .L802413FC +/* EDFDB0 802413F0 00E0902D */ daddu $s2, $a3, $zero +/* EDFDB4 802413F4 08090501 */ j .L80241404 +/* EDFDB8 802413F8 34620808 */ ori $v0, $v1, 0x808 +.L802413FC: +/* EDFDBC 802413FC 2402FFF7 */ addiu $v0, $zero, -9 +/* EDFDC0 80241400 00A21024 */ and $v0, $a1, $v0 +.L80241404: +/* EDFDC4 80241404 AC820000 */ sw $v0, ($a0) +/* EDFDC8 80241408 27A20024 */ addiu $v0, $sp, 0x24 +/* EDFDCC 8024140C 27A50018 */ addiu $a1, $sp, 0x18 +/* EDFDD0 80241410 C4800038 */ lwc1 $f0, 0x38($a0) +/* EDFDD4 80241414 C482003C */ lwc1 $f2, 0x3c($a0) +/* EDFDD8 80241418 C4840040 */ lwc1 $f4, 0x40($a0) +/* EDFDDC 8024141C 3C01447A */ lui $at, 0x447a +/* EDFDE0 80241420 44813000 */ mtc1 $at, $f6 +/* EDFDE4 80241424 27A6001C */ addiu $a2, $sp, 0x1c +/* EDFDE8 80241428 E7A00018 */ swc1 $f0, 0x18($sp) +/* EDFDEC 8024142C E7A2001C */ swc1 $f2, 0x1c($sp) +/* EDFDF0 80241430 E7A40020 */ swc1 $f4, 0x20($sp) +/* EDFDF4 80241434 E7A60024 */ swc1 $f6, 0x24($sp) +/* EDFDF8 80241438 AFA20010 */ sw $v0, 0x10($sp) +/* EDFDFC 8024143C 8C840080 */ lw $a0, 0x80($a0) +/* EDFE00 80241440 0C03908F */ jal func_800E423C +/* EDFE04 80241444 27A70020 */ addiu $a3, $sp, 0x20 +/* EDFE08 80241448 C7A20024 */ lwc1 $f2, 0x24($sp) +/* EDFE0C 8024144C 3C014059 */ lui $at, 0x4059 +/* EDFE10 80241450 44812800 */ mtc1 $at, $f5 +/* EDFE14 80241454 44802000 */ mtc1 $zero, $f4 +/* EDFE18 80241458 460010A1 */ cvt.d.s $f2, $f2 +/* EDFE1C 8024145C 46241082 */ mul.d $f2, $f2, $f4 +/* EDFE20 80241460 00000000 */ nop +/* EDFE24 80241464 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* EDFE28 80241468 46000021 */ cvt.d.s $f0, $f0 +/* EDFE2C 8024146C 46240002 */ mul.d $f0, $f0, $f4 +/* EDFE30 80241470 00000000 */ nop +/* EDFE34 80241474 3C013FE0 */ lui $at, 0x3fe0 +/* EDFE38 80241478 44812800 */ mtc1 $at, $f5 +/* EDFE3C 8024147C 44802000 */ mtc1 $zero, $f4 +/* EDFE40 80241480 00000000 */ nop +/* EDFE44 80241484 46241080 */ add.d $f2, $f2, $f4 +/* EDFE48 80241488 AE000074 */ sw $zero, 0x74($s0) +/* EDFE4C 8024148C 46240000 */ add.d $f0, $f0, $f4 +/* EDFE50 80241490 AE000090 */ sw $zero, 0x90($s0) +/* EDFE54 80241494 4620120D */ trunc.w.d $f8, $f2 +/* EDFE58 80241498 E6080078 */ swc1 $f8, 0x78($s0) +/* EDFE5C 8024149C 4620020D */ trunc.w.d $f8, $f0 +/* EDFE60 802414A0 E6080088 */ swc1 $f8, 0x88($s0) +/* EDFE64 802414A4 8E420014 */ lw $v0, 0x14($s2) +/* EDFE68 802414A8 AE220074 */ sw $v0, 0x74($s1) +/* EDFE6C 802414AC 8E0200B0 */ lw $v0, 0xb0($s0) +/* EDFE70 802414B0 34420010 */ ori $v0, $v0, 0x10 +/* EDFE74 802414B4 AE0200B0 */ sw $v0, 0xb0($s0) +/* EDFE78 802414B8 8FBF0034 */ lw $ra, 0x34($sp) +/* EDFE7C 802414BC 8FB20030 */ lw $s2, 0x30($sp) +/* EDFE80 802414C0 8FB1002C */ lw $s1, 0x2c($sp) +/* EDFE84 802414C4 8FB00028 */ lw $s0, 0x28($sp) +/* EDFE88 802414C8 03E00008 */ jr $ra +/* EDFE8C 802414CC 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_EDEA00/func_802414D0_EDFE90.s b/asm/nonmatchings/code_EDEA00/func_802414D0_EDFE90.s new file mode 100644 index 0000000000..c6c5847008 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_802414D0_EDFE90.s @@ -0,0 +1,142 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802414D0_EDFE90 +/* EDFE90 802414D0 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EDFE94 802414D4 AFB50044 */ sw $s5, 0x44($sp) +/* EDFE98 802414D8 0080A82D */ daddu $s5, $a0, $zero +/* EDFE9C 802414DC AFBF0048 */ sw $ra, 0x48($sp) +/* EDFEA0 802414E0 AFB40040 */ sw $s4, 0x40($sp) +/* EDFEA4 802414E4 AFB3003C */ sw $s3, 0x3c($sp) +/* EDFEA8 802414E8 AFB20038 */ sw $s2, 0x38($sp) +/* EDFEAC 802414EC AFB10034 */ sw $s1, 0x34($sp) +/* EDFEB0 802414F0 AFB00030 */ sw $s0, 0x30($sp) +/* EDFEB4 802414F4 8EB20148 */ lw $s2, 0x148($s5) +/* EDFEB8 802414F8 86440008 */ lh $a0, 8($s2) +/* EDFEBC 802414FC 8EB0000C */ lw $s0, 0xc($s5) +/* EDFEC0 80241500 0C00F92F */ jal func_8003E4BC +/* EDFEC4 80241504 00A0882D */ daddu $s1, $a1, $zero +/* EDFEC8 80241508 02A0202D */ daddu $a0, $s5, $zero +/* EDFECC 8024150C 8E050000 */ lw $a1, ($s0) +/* EDFED0 80241510 0C0B53A3 */ jal func_802D4E8C +/* EDFED4 80241514 0040A02D */ daddu $s4, $v0, $zero +/* EDFED8 80241518 AFA00010 */ sw $zero, 0x10($sp) +/* EDFEDC 8024151C 8E4300D0 */ lw $v1, 0xd0($s2) +/* EDFEE0 80241520 8C630030 */ lw $v1, 0x30($v1) +/* EDFEE4 80241524 AFA30014 */ sw $v1, 0x14($sp) +/* EDFEE8 80241528 8E4300D0 */ lw $v1, 0xd0($s2) +/* EDFEEC 8024152C 8C63001C */ lw $v1, 0x1c($v1) +/* EDFEF0 80241530 AFA30018 */ sw $v1, 0x18($sp) +/* EDFEF4 80241534 8E4300D0 */ lw $v1, 0xd0($s2) +/* EDFEF8 80241538 8C630024 */ lw $v1, 0x24($v1) +/* EDFEFC 8024153C AFA3001C */ sw $v1, 0x1c($sp) +/* EDFF00 80241540 8E4300D0 */ lw $v1, 0xd0($s2) +/* EDFF04 80241544 8C630028 */ lw $v1, 0x28($v1) +/* EDFF08 80241548 AFA30020 */ sw $v1, 0x20($sp) +/* EDFF0C 8024154C 8E4300D0 */ lw $v1, 0xd0($s2) +/* EDFF10 80241550 3C0142F0 */ lui $at, 0x42f0 +/* EDFF14 80241554 44810000 */ mtc1 $at, $f0 +/* EDFF18 80241558 8C63002C */ lw $v1, 0x2c($v1) +/* EDFF1C 8024155C E7A00028 */ swc1 $f0, 0x28($sp) +/* EDFF20 80241560 A7A0002C */ sh $zero, 0x2c($sp) +/* EDFF24 80241564 AFA30024 */ sw $v1, 0x24($sp) +/* EDFF28 80241568 C6800038 */ lwc1 $f0, 0x38($s4) +/* EDFF2C 8024156C E6400108 */ swc1 $f0, 0x108($s2) +/* EDFF30 80241570 C680003C */ lwc1 $f0, 0x3c($s4) +/* EDFF34 80241574 27B30010 */ addiu $s3, $sp, 0x10 +/* EDFF38 80241578 E640010C */ swc1 $f0, 0x10c($s2) +/* EDFF3C 8024157C 3C0138D1 */ lui $at, 0x38d1 +/* EDFF40 80241580 3421B717 */ ori $at, $at, 0xb717 +/* EDFF44 80241584 44810000 */ mtc1 $at, $f0 +/* EDFF48 80241588 C6820040 */ lwc1 $f2, 0x40($s4) +/* EDFF4C 8024158C 0040802D */ daddu $s0, $v0, $zero +/* EDFF50 80241590 E6400114 */ swc1 $f0, 0x114($s2) +/* EDFF54 80241594 E6400118 */ swc1 $f0, 0x118($s2) +/* EDFF58 80241598 12200006 */ beqz $s1, .L802415B4 +/* EDFF5C 8024159C E6420110 */ swc1 $f2, 0x110($s2) +/* EDFF60 802415A0 0280202D */ daddu $a0, $s4, $zero +/* EDFF64 802415A4 0240282D */ daddu $a1, $s2, $zero +/* EDFF68 802415A8 02A0302D */ daddu $a2, $s5, $zero +/* EDFF6C 802415AC 0C0904EB */ jal func_802413AC_EDFD6C +/* EDFF70 802415B0 0200382D */ daddu $a3, $s0, $zero +.L802415B4: +/* EDFF74 802415B4 2402FFFE */ addiu $v0, $zero, -2 +/* EDFF78 802415B8 A28200AB */ sb $v0, 0xab($s4) +/* EDFF7C 802415BC 8E4300B0 */ lw $v1, 0xb0($s2) +/* EDFF80 802415C0 30620004 */ andi $v0, $v1, 4 +/* EDFF84 802415C4 10400007 */ beqz $v0, .L802415E4 +/* EDFF88 802415C8 00000000 */ nop +/* EDFF8C 802415CC 824200B4 */ lb $v0, 0xb4($s2) +/* EDFF90 802415D0 1440003C */ bnez $v0, .L802416C4 +/* EDFF94 802415D4 0000102D */ daddu $v0, $zero, $zero +/* EDFF98 802415D8 2402FFFB */ addiu $v0, $zero, -5 +/* EDFF9C 802415DC 00621024 */ and $v0, $v1, $v0 +/* EDFFA0 802415E0 AE4200B0 */ sw $v0, 0xb0($s2) +.L802415E4: +/* EDFFA4 802415E4 8EA30070 */ lw $v1, 0x70($s5) +/* EDFFA8 802415E8 2C62000F */ sltiu $v0, $v1, 0xf +/* EDFFAC 802415EC 10400034 */ beqz $v0, .L802416C0 +/* EDFFB0 802415F0 00031080 */ sll $v0, $v1, 2 +/* EDFFB4 802415F4 3C018024 */ lui $at, %hi(D_80247B08) +/* EDFFB8 802415F8 00220821 */ addu $at, $at, $v0 +/* EDFFBC 802415FC 8C227B08 */ lw $v0, %lo(D_80247B08)($at) +/* EDFFC0 80241600 00400008 */ jr $v0 +/* EDFFC4 80241604 00000000 */ nop +/* EDFFC8 80241608 02A0202D */ daddu $a0, $s5, $zero +/* EDFFCC 8024160C 0200282D */ daddu $a1, $s0, $zero +/* EDFFD0 80241610 0C090071 */ jal func_802401C4_EDEB84 +/* EDFFD4 80241614 0260302D */ daddu $a2, $s3, $zero +/* EDFFD8 80241618 02A0202D */ daddu $a0, $s5, $zero +/* EDFFDC 8024161C 0200282D */ daddu $a1, $s0, $zero +/* EDFFE0 80241620 0C0900DD */ jal func_80240374_EDED34 +/* EDFFE4 80241624 0260302D */ daddu $a2, $s3, $zero +/* EDFFE8 80241628 080905B1 */ j .L802416C4 +/* EDFFEC 8024162C 0000102D */ daddu $v0, $zero, $zero +/* EDFFF0 80241630 02A0202D */ daddu $a0, $s5, $zero +/* EDFFF4 80241634 0200282D */ daddu $a1, $s0, $zero +/* EDFFF8 80241638 0C090267 */ jal func_8024099C_EDF35C +/* EDFFFC 8024163C 0260302D */ daddu $a2, $s3, $zero +/* EE0000 80241640 02A0202D */ daddu $a0, $s5, $zero +/* EE0004 80241644 0200282D */ daddu $a1, $s0, $zero +/* EE0008 80241648 0C090297 */ jal func_80240A5C_EDF41C +/* EE000C 8024164C 0260302D */ daddu $a2, $s3, $zero +/* EE0010 80241650 080905B1 */ j .L802416C4 +/* EE0014 80241654 0000102D */ daddu $v0, $zero, $zero +/* EE0018 80241658 02A0202D */ daddu $a0, $s5, $zero +/* EE001C 8024165C 0200282D */ daddu $a1, $s0, $zero +/* EE0020 80241660 0C090368 */ jal func_80240DA0_EDF760 +/* EE0024 80241664 0260302D */ daddu $a2, $s3, $zero +/* EE0028 80241668 02A0202D */ daddu $a0, $s5, $zero +/* EE002C 8024166C 0200282D */ daddu $a1, $s0, $zero +/* EE0030 80241670 0C090386 */ jal func_80240E18_EDF7D8 +/* EE0034 80241674 0260302D */ daddu $a2, $s3, $zero +/* EE0038 80241678 080905B1 */ j .L802416C4 +/* EE003C 8024167C 0000102D */ daddu $v0, $zero, $zero +/* EE0040 80241680 02A0202D */ daddu $a0, $s5, $zero +/* EE0044 80241684 0200282D */ daddu $a1, $s0, $zero +/* EE0048 80241688 0C0903A1 */ jal func_80240E84_EDF844 +/* EE004C 8024168C 0260302D */ daddu $a2, $s3, $zero +/* EE0050 80241690 080905B1 */ j .L802416C4 +/* EE0054 80241694 0000102D */ daddu $v0, $zero, $zero +/* EE0058 80241698 02A0202D */ daddu $a0, $s5, $zero +/* EE005C 8024169C 0200282D */ daddu $a1, $s0, $zero +/* EE0060 802416A0 0C0903EE */ jal func_80240FB8_EDF978 +/* EE0064 802416A4 0260302D */ daddu $a2, $s3, $zero +/* EE0068 802416A8 080905B1 */ j .L802416C4 +/* EE006C 802416AC 0000102D */ daddu $v0, $zero, $zero +/* EE0070 802416B0 02A0202D */ daddu $a0, $s5, $zero +/* EE0074 802416B4 0200282D */ daddu $a1, $s0, $zero +/* EE0078 802416B8 0C090407 */ jal func_8024101C_EDF9DC +/* EE007C 802416BC 0260302D */ daddu $a2, $s3, $zero +.L802416C0: +/* EE0080 802416C0 0000102D */ daddu $v0, $zero, $zero +.L802416C4: +/* EE0084 802416C4 8FBF0048 */ lw $ra, 0x48($sp) +/* EE0088 802416C8 8FB50044 */ lw $s5, 0x44($sp) +/* EE008C 802416CC 8FB40040 */ lw $s4, 0x40($sp) +/* EE0090 802416D0 8FB3003C */ lw $s3, 0x3c($sp) +/* EE0094 802416D4 8FB20038 */ lw $s2, 0x38($sp) +/* EE0098 802416D8 8FB10034 */ lw $s1, 0x34($sp) +/* EE009C 802416DC 8FB00030 */ lw $s0, 0x30($sp) +/* EE00A0 802416E0 03E00008 */ jr $ra +/* EE00A4 802416E4 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EDEA00/func_802416E8_EE00A8.s b/asm/nonmatchings/code_EDEA00/func_802416E8_EE00A8.s new file mode 100644 index 0000000000..2b88cccb34 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_802416E8_EE00A8.s @@ -0,0 +1,25 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802416E8_EE00A8 +/* EE00A8 802416E8 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EE00AC 802416EC AFB00010 */ sw $s0, 0x10($sp) +/* EE00B0 802416F0 24100032 */ addiu $s0, $zero, 0x32 +/* EE00B4 802416F4 AFBF0014 */ sw $ra, 0x14($sp) +.L802416F8: +/* EE00B8 802416F8 0C010ABD */ jal func_80042AF4 +/* EE00BC 802416FC 0200202D */ daddu $a0, $s0, $zero +/* EE00C0 80241700 8C420094 */ lw $v0, 0x94($v0) +/* EE00C4 80241704 54400003 */ bnel $v0, $zero, .L80241714 +/* EE00C8 80241708 26100001 */ addiu $s0, $s0, 1 +/* EE00CC 8024170C 080905C8 */ j .L80241720 +/* EE00D0 80241710 0200102D */ daddu $v0, $s0, $zero +.L80241714: +/* EE00D4 80241714 2A020038 */ slti $v0, $s0, 0x38 +/* EE00D8 80241718 1440FFF7 */ bnez $v0, .L802416F8 +/* EE00DC 8024171C 2402FFFF */ addiu $v0, $zero, -1 +.L80241720: +/* EE00E0 80241720 8FBF0014 */ lw $ra, 0x14($sp) +/* EE00E4 80241724 8FB00010 */ lw $s0, 0x10($sp) +/* EE00E8 80241728 03E00008 */ jr $ra +/* EE00EC 8024172C 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EDEA00/func_80241730_EE00F0.s b/asm/nonmatchings/code_EDEA00/func_80241730_EE00F0.s new file mode 100644 index 0000000000..626aab98f5 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80241730_EE00F0.s @@ -0,0 +1,295 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241730_EE00F0 +/* EE00F0 80241730 27BDFF78 */ addiu $sp, $sp, -0x88 +/* EE00F4 80241734 AFB20048 */ sw $s2, 0x48($sp) +/* EE00F8 80241738 0080902D */ daddu $s2, $a0, $zero +/* EE00FC 8024173C AFBF0064 */ sw $ra, 0x64($sp) +/* EE0100 80241740 AFBE0060 */ sw $fp, 0x60($sp) +/* EE0104 80241744 AFB7005C */ sw $s7, 0x5c($sp) +/* EE0108 80241748 AFB60058 */ sw $s6, 0x58($sp) +/* EE010C 8024174C AFB50054 */ sw $s5, 0x54($sp) +/* EE0110 80241750 AFB40050 */ sw $s4, 0x50($sp) +/* EE0114 80241754 AFB3004C */ sw $s3, 0x4c($sp) +/* EE0118 80241758 AFB10044 */ sw $s1, 0x44($sp) +/* EE011C 8024175C AFB00040 */ sw $s0, 0x40($sp) +/* EE0120 80241760 F7BA0080 */ sdc1 $f26, 0x80($sp) +/* EE0124 80241764 F7B80078 */ sdc1 $f24, 0x78($sp) +/* EE0128 80241768 F7B60070 */ sdc1 $f22, 0x70($sp) +/* EE012C 8024176C F7B40068 */ sdc1 $f20, 0x68($sp) +/* EE0130 80241770 8E510148 */ lw $s1, 0x148($s2) +/* EE0134 80241774 00A0B82D */ daddu $s7, $a1, $zero +/* EE0138 80241778 86240008 */ lh $a0, 8($s1) +/* EE013C 8024177C 0C00F92F */ jal func_8003E4BC +/* EE0140 80241780 00C0F02D */ daddu $fp, $a2, $zero +/* EE0144 80241784 C620007C */ lwc1 $f0, 0x7c($s1) +/* EE0148 80241788 46800020 */ cvt.s.w $f0, $f0 +/* EE014C 8024178C 46000021 */ cvt.d.s $f0, $f0 +/* EE0150 80241790 0040802D */ daddu $s0, $v0, $zero +/* EE0154 80241794 3C014059 */ lui $at, 0x4059 +/* EE0158 80241798 44813800 */ mtc1 $at, $f7 +/* EE015C 8024179C 44803000 */ mtc1 $zero, $f6 +/* EE0160 802417A0 8602008E */ lh $v0, 0x8e($s0) +/* EE0164 802417A4 9603008E */ lhu $v1, 0x8e($s0) +/* EE0168 802417A8 46260003 */ div.d $f0, $f0, $f6 +/* EE016C 802417AC 462005A0 */ cvt.s.d $f22, $f0 +/* EE0170 802417B0 C6200078 */ lwc1 $f0, 0x78($s1) +/* EE0174 802417B4 46800020 */ cvt.s.w $f0, $f0 +/* EE0178 802417B8 46000021 */ cvt.d.s $f0, $f0 +/* EE017C 802417BC 46260003 */ div.d $f0, $f0, $f6 +/* EE0180 802417C0 18400003 */ blez $v0, .L802417D0 +/* EE0184 802417C4 46200620 */ cvt.s.d $f24, $f0 +/* EE0188 802417C8 2462FFFF */ addiu $v0, $v1, -1 +/* EE018C 802417CC A602008E */ sh $v0, 0x8e($s0) +.L802417D0: +/* EE0190 802417D0 27B40028 */ addiu $s4, $sp, 0x28 +/* EE0194 802417D4 0280282D */ daddu $a1, $s4, $zero +/* EE0198 802417D8 27B5002C */ addiu $s5, $sp, 0x2c +/* EE019C 802417DC 02A0302D */ daddu $a2, $s5, $zero +/* EE01A0 802417E0 27B60030 */ addiu $s6, $sp, 0x30 +/* EE01A4 802417E4 02C0382D */ daddu $a3, $s6, $zero +/* EE01A8 802417E8 C6000038 */ lwc1 $f0, 0x38($s0) +/* EE01AC 802417EC C602003C */ lwc1 $f2, 0x3c($s0) +/* EE01B0 802417F0 C6040040 */ lwc1 $f4, 0x40($s0) +/* EE01B4 802417F4 3C01447A */ lui $at, 0x447a +/* EE01B8 802417F8 4481D000 */ mtc1 $at, $f26 +/* EE01BC 802417FC 27B30034 */ addiu $s3, $sp, 0x34 +/* EE01C0 80241800 E7A00028 */ swc1 $f0, 0x28($sp) +/* EE01C4 80241804 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EE01C8 80241808 E7A40030 */ swc1 $f4, 0x30($sp) +/* EE01CC 8024180C E7BA0034 */ swc1 $f26, 0x34($sp) +/* EE01D0 80241810 C6340070 */ lwc1 $f20, 0x70($s1) +/* EE01D4 80241814 4680A520 */ cvt.s.w $f20, $f20 +/* EE01D8 80241818 4600A521 */ cvt.d.s $f20, $f20 +/* EE01DC 8024181C 4626A503 */ div.d $f20, $f20, $f6 +/* EE01E0 80241820 AFB30010 */ sw $s3, 0x10($sp) +/* EE01E4 80241824 8E040080 */ lw $a0, 0x80($s0) +/* EE01E8 80241828 0C03908F */ jal func_800E423C +/* EE01EC 8024182C 4620A520 */ cvt.s.d $f20, $f20 +/* EE01F0 80241830 C62C0074 */ lwc1 $f12, 0x74($s1) +/* EE01F4 80241834 0C00AD77 */ jal func_8002B5DC +/* EE01F8 80241838 46806320 */ cvt.s.w $f12, $f12 +/* EE01FC 8024183C 46140002 */ mul.s $f0, $f0, $f20 +/* EE0200 80241840 00000000 */ nop +/* EE0204 80241844 C7A2002C */ lwc1 $f2, 0x2c($sp) +/* EE0208 80241848 46181080 */ add.s $f2, $f2, $f24 +/* EE020C 8024184C 46001080 */ add.s $f2, $f2, $f0 +/* EE0210 80241850 E602003C */ swc1 $f2, 0x3c($s0) +/* EE0214 80241854 8E220074 */ lw $v0, 0x74($s1) +/* EE0218 80241858 2442000C */ addiu $v0, $v0, 0xc +/* EE021C 8024185C 44826000 */ mtc1 $v0, $f12 +/* EE0220 80241860 00000000 */ nop +/* EE0224 80241864 0C00AB85 */ jal func_8002AE14 +/* EE0228 80241868 46806320 */ cvt.s.w $f12, $f12 +/* EE022C 8024186C 4600020D */ trunc.w.s $f8, $f0 +/* EE0230 80241870 E6280074 */ swc1 $f8, 0x74($s1) +/* EE0234 80241874 8EE30014 */ lw $v1, 0x14($s7) +/* EE0238 80241878 0460003C */ bltz $v1, .L8024196C +/* EE023C 8024187C 00000000 */ nop +/* EE0240 80241880 8E420074 */ lw $v0, 0x74($s2) +/* EE0244 80241884 1C400038 */ bgtz $v0, .L80241968 +/* EE0248 80241888 2442FFFF */ addiu $v0, $v0, -1 +/* EE024C 8024188C 03C0202D */ daddu $a0, $fp, $zero +/* EE0250 80241890 AE430074 */ sw $v1, 0x74($s2) +/* EE0254 80241894 AFA00010 */ sw $zero, 0x10($sp) +/* EE0258 80241898 8EE6000C */ lw $a2, 0xc($s7) +/* EE025C 8024189C 8EE70010 */ lw $a3, 0x10($s7) +/* EE0260 802418A0 0C013469 */ jal func_8004D1A4 +/* EE0264 802418A4 0220282D */ daddu $a1, $s1, $zero +/* EE0268 802418A8 1040002D */ beqz $v0, .L80241960 +/* EE026C 802418AC 0000202D */ daddu $a0, $zero, $zero +/* EE0270 802418B0 0200282D */ daddu $a1, $s0, $zero +/* EE0274 802418B4 0000302D */ daddu $a2, $zero, $zero +/* EE0278 802418B8 860300A8 */ lh $v1, 0xa8($s0) +/* EE027C 802418BC 3C013F80 */ lui $at, 0x3f80 +/* EE0280 802418C0 44810000 */ mtc1 $at, $f0 +/* EE0284 802418C4 3C014000 */ lui $at, 0x4000 +/* EE0288 802418C8 44811000 */ mtc1 $at, $f2 +/* EE028C 802418CC 3C01C1A0 */ lui $at, 0xc1a0 +/* EE0290 802418D0 44812000 */ mtc1 $at, $f4 +/* EE0294 802418D4 2402000F */ addiu $v0, $zero, 0xf +/* EE0298 802418D8 AFA2001C */ sw $v0, 0x1c($sp) +/* EE029C 802418DC 44834000 */ mtc1 $v1, $f8 +/* EE02A0 802418E0 00000000 */ nop +/* EE02A4 802418E4 46804220 */ cvt.s.w $f8, $f8 +/* EE02A8 802418E8 44074000 */ mfc1 $a3, $f8 +/* EE02AC 802418EC 27A20038 */ addiu $v0, $sp, 0x38 +/* EE02B0 802418F0 AFA20020 */ sw $v0, 0x20($sp) +/* EE02B4 802418F4 E7A00010 */ swc1 $f0, 0x10($sp) +/* EE02B8 802418F8 E7A20014 */ swc1 $f2, 0x14($sp) +/* EE02BC 802418FC 0C01D444 */ jal func_80075110 +/* EE02C0 80241900 E7A40018 */ swc1 $f4, 0x18($sp) +/* EE02C4 80241904 0200202D */ daddu $a0, $s0, $zero +/* EE02C8 80241908 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EE02CC 8024190C 0C013600 */ jal func_8004D800 +/* EE02D0 80241910 3C060020 */ lui $a2, 0x20 +/* EE02D4 80241914 0280282D */ daddu $a1, $s4, $zero +/* EE02D8 80241918 C6000038 */ lwc1 $f0, 0x38($s0) +/* EE02DC 8024191C C602003C */ lwc1 $f2, 0x3c($s0) +/* EE02E0 80241920 C6040040 */ lwc1 $f4, 0x40($s0) +/* EE02E4 80241924 02A0302D */ daddu $a2, $s5, $zero +/* EE02E8 80241928 E7BA0034 */ swc1 $f26, 0x34($sp) +/* EE02EC 8024192C E7A00028 */ swc1 $f0, 0x28($sp) +/* EE02F0 80241930 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EE02F4 80241934 E7A40030 */ swc1 $f4, 0x30($sp) +/* EE02F8 80241938 AFB30010 */ sw $s3, 0x10($sp) +/* EE02FC 8024193C 8E040080 */ lw $a0, 0x80($s0) +/* EE0300 80241940 0C03908F */ jal func_800E423C +/* EE0304 80241944 02C0382D */ daddu $a3, $s6, $zero +/* EE0308 80241948 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* EE030C 8024194C 46180000 */ add.s $f0, $f0, $f24 +/* EE0310 80241950 2402000C */ addiu $v0, $zero, 0xc +/* EE0314 80241954 E6000064 */ swc1 $f0, 0x64($s0) +/* EE0318 80241958 080906D5 */ j .L80241B54 +/* EE031C 8024195C AE420070 */ sw $v0, 0x70($s2) +.L80241960: +/* EE0320 80241960 8E420074 */ lw $v0, 0x74($s2) +/* EE0324 80241964 2442FFFF */ addiu $v0, $v0, -1 +.L80241968: +/* EE0328 80241968 AE420074 */ sw $v0, 0x74($s2) +.L8024196C: +/* EE032C 8024196C 8E2300D0 */ lw $v1, 0xd0($s1) +/* EE0330 80241970 C6000040 */ lwc1 $f0, 0x40($s0) +/* EE0334 80241974 C4620000 */ lwc1 $f2, ($v1) +/* EE0338 80241978 468010A0 */ cvt.s.w $f2, $f2 +/* EE033C 8024197C C4640008 */ lwc1 $f4, 8($v1) +/* EE0340 80241980 46802120 */ cvt.s.w $f4, $f4 +/* EE0344 80241984 E7A00010 */ swc1 $f0, 0x10($sp) +/* EE0348 80241988 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE034C 8024198C 44051000 */ mfc1 $a1, $f2 +/* EE0350 80241990 C440000C */ lwc1 $f0, 0xc($v0) +/* EE0354 80241994 46800020 */ cvt.s.w $f0, $f0 +/* EE0358 80241998 E7A00014 */ swc1 $f0, 0x14($sp) +/* EE035C 8024199C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE0360 802419A0 44062000 */ mfc1 $a2, $f4 +/* EE0364 802419A4 C4400010 */ lwc1 $f0, 0x10($v0) +/* EE0368 802419A8 46800020 */ cvt.s.w $f0, $f0 +/* EE036C 802419AC E7A00018 */ swc1 $f0, 0x18($sp) +/* EE0370 802419B0 8C640018 */ lw $a0, 0x18($v1) +/* EE0374 802419B4 0C013431 */ jal func_8004D0C4 +/* EE0378 802419B8 8E070038 */ lw $a3, 0x38($s0) +/* EE037C 802419BC 1040000D */ beqz $v0, .L802419F4 +/* EE0380 802419C0 00000000 */ nop +/* EE0384 802419C4 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE0388 802419C8 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EE038C 802419CC C60E0040 */ lwc1 $f14, 0x40($s0) +/* EE0390 802419D0 C4480000 */ lwc1 $f8, ($v0) +/* EE0394 802419D4 46804220 */ cvt.s.w $f8, $f8 +/* EE0398 802419D8 44064000 */ mfc1 $a2, $f8 +/* EE039C 802419DC C4480008 */ lwc1 $f8, 8($v0) +/* EE03A0 802419E0 46804220 */ cvt.s.w $f8, $f8 +/* EE03A4 802419E4 44074000 */ mfc1 $a3, $f8 +/* EE03A8 802419E8 0C00ABDC */ jal fio_validate_header_checksums +/* EE03AC 802419EC 00000000 */ nop +/* EE03B0 802419F0 E600000C */ swc1 $f0, 0xc($s0) +.L802419F4: +/* EE03B4 802419F4 8602008C */ lh $v0, 0x8c($s0) +/* EE03B8 802419F8 14400056 */ bnez $v0, .L80241B54 +/* EE03BC 802419FC 00000000 */ nop +/* EE03C0 80241A00 8602008E */ lh $v0, 0x8e($s0) +/* EE03C4 80241A04 1840003D */ blez $v0, .L80241AFC +/* EE03C8 80241A08 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EE03CC 80241A0C 8E050018 */ lw $a1, 0x18($s0) +/* EE03D0 80241A10 8E06000C */ lw $a2, 0xc($s0) +/* EE03D4 80241A14 0C00F909 */ jal func_8003E424 +/* EE03D8 80241A18 0200202D */ daddu $a0, $s0, $zero +/* EE03DC 80241A1C 8E22006C */ lw $v0, 0x6c($s1) +/* EE03E0 80241A20 30420001 */ andi $v0, $v0, 1 +/* EE03E4 80241A24 10400032 */ beqz $v0, .L80241AF0 +/* EE03E8 80241A28 27A50028 */ addiu $a1, $sp, 0x28 +/* EE03EC 80241A2C 27A6002C */ addiu $a2, $sp, 0x2c +/* EE03F0 80241A30 C6000038 */ lwc1 $f0, 0x38($s0) +/* EE03F4 80241A34 C6020040 */ lwc1 $f2, 0x40($s0) +/* EE03F8 80241A38 3C01447A */ lui $at, 0x447a +/* EE03FC 80241A3C 44812000 */ mtc1 $at, $f4 +/* EE0400 80241A40 27A20034 */ addiu $v0, $sp, 0x34 +/* EE0404 80241A44 E7B6002C */ swc1 $f22, 0x2c($sp) +/* EE0408 80241A48 E7A00028 */ swc1 $f0, 0x28($sp) +/* EE040C 80241A4C E7A20030 */ swc1 $f2, 0x30($sp) +/* EE0410 80241A50 E7A40034 */ swc1 $f4, 0x34($sp) +/* EE0414 80241A54 AFA20010 */ sw $v0, 0x10($sp) +/* EE0418 80241A58 8E040080 */ lw $a0, 0x80($s0) +/* EE041C 80241A5C 0C03908F */ jal func_800E423C +/* EE0420 80241A60 27A70030 */ addiu $a3, $sp, 0x30 +/* EE0424 80241A64 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* EE0428 80241A68 46180100 */ add.s $f4, $f0, $f24 +/* EE042C 80241A6C 3C014000 */ lui $at, 0x4000 +/* EE0430 80241A70 44813800 */ mtc1 $at, $f7 +/* EE0434 80241A74 44803000 */ mtc1 $zero, $f6 +/* EE0438 80241A78 46162001 */ sub.s $f0, $f4, $f22 +/* EE043C 80241A7C E7A4002C */ swc1 $f4, 0x2c($sp) +/* EE0440 80241A80 460000A1 */ cvt.d.s $f2, $f0 +/* EE0444 80241A84 4622303C */ c.lt.d $f6, $f2 +/* EE0448 80241A88 00000000 */ nop +/* EE044C 80241A8C 45000005 */ bc1f .L80241AA4 +/* EE0450 80241A90 E7A00034 */ swc1 $f0, 0x34($sp) +/* EE0454 80241A94 4600B021 */ cvt.d.s $f0, $f22 +/* EE0458 80241A98 46260000 */ add.d $f0, $f0, $f6 +/* EE045C 80241A9C 080906B4 */ j .L80241AD0 +/* EE0460 80241AA0 462005A0 */ cvt.s.d $f22, $f0 +.L80241AA4: +/* EE0464 80241AA4 3C01C000 */ lui $at, 0xc000 +/* EE0468 80241AA8 44810800 */ mtc1 $at, $f1 +/* EE046C 80241AAC 44800000 */ mtc1 $zero, $f0 +/* EE0470 80241AB0 00000000 */ nop +/* EE0474 80241AB4 4620103C */ c.lt.d $f2, $f0 +/* EE0478 80241AB8 00000000 */ nop +/* EE047C 80241ABC 45020004 */ bc1fl .L80241AD0 +/* EE0480 80241AC0 46002586 */ mov.s $f22, $f4 +/* EE0484 80241AC4 4600B021 */ cvt.d.s $f0, $f22 +/* EE0488 80241AC8 46260001 */ sub.d $f0, $f0, $f6 +/* EE048C 80241ACC 462005A0 */ cvt.s.d $f22, $f0 +.L80241AD0: +/* EE0490 80241AD0 3C014059 */ lui $at, 0x4059 +/* EE0494 80241AD4 44811800 */ mtc1 $at, $f3 +/* EE0498 80241AD8 44801000 */ mtc1 $zero, $f2 +/* EE049C 80241ADC 4600B021 */ cvt.d.s $f0, $f22 +/* EE04A0 80241AE0 46220002 */ mul.d $f0, $f0, $f2 +/* EE04A4 80241AE4 00000000 */ nop +/* EE04A8 80241AE8 4620020D */ trunc.w.d $f8, $f0 +/* EE04AC 80241AEC E628007C */ swc1 $f8, 0x7c($s1) +.L80241AF0: +/* EE04B0 80241AF0 8602008E */ lh $v0, 0x8e($s0) +/* EE04B4 80241AF4 1C400017 */ bgtz $v0, .L80241B54 +/* EE04B8 80241AF8 240403E8 */ addiu $a0, $zero, 0x3e8 +.L80241AFC: +/* EE04BC 80241AFC 24020002 */ addiu $v0, $zero, 2 +/* EE04C0 80241B00 0C00AB3B */ jal func_8002ACEC +/* EE04C4 80241B04 AE420070 */ sw $v0, 0x70($s2) +/* EE04C8 80241B08 3C035555 */ lui $v1, 0x5555 +/* EE04CC 80241B0C 34635556 */ ori $v1, $v1, 0x5556 +/* EE04D0 80241B10 00430018 */ mult $v0, $v1 +/* EE04D4 80241B14 000227C3 */ sra $a0, $v0, 0x1f +/* EE04D8 80241B18 00004010 */ mfhi $t0 +/* EE04DC 80241B1C 01042023 */ subu $a0, $t0, $a0 +/* EE04E0 80241B20 00041840 */ sll $v1, $a0, 1 +/* EE04E4 80241B24 00641821 */ addu $v1, $v1, $a0 +/* EE04E8 80241B28 00431023 */ subu $v0, $v0, $v1 +/* EE04EC 80241B2C 24430002 */ addiu $v1, $v0, 2 +/* EE04F0 80241B30 AE430074 */ sw $v1, 0x74($s2) +/* EE04F4 80241B34 8EE2002C */ lw $v0, 0x2c($s7) +/* EE04F8 80241B38 58400006 */ blezl $v0, .L80241B54 +/* EE04FC 80241B3C AE400070 */ sw $zero, 0x70($s2) +/* EE0500 80241B40 8EE20004 */ lw $v0, 4($s7) +/* EE0504 80241B44 58400003 */ blezl $v0, .L80241B54 +/* EE0508 80241B48 AE400070 */ sw $zero, 0x70($s2) +/* EE050C 80241B4C 50600001 */ beql $v1, $zero, .L80241B54 +/* EE0510 80241B50 AE400070 */ sw $zero, 0x70($s2) +.L80241B54: +/* EE0514 80241B54 8FBF0064 */ lw $ra, 0x64($sp) +/* EE0518 80241B58 8FBE0060 */ lw $fp, 0x60($sp) +/* EE051C 80241B5C 8FB7005C */ lw $s7, 0x5c($sp) +/* EE0520 80241B60 8FB60058 */ lw $s6, 0x58($sp) +/* EE0524 80241B64 8FB50054 */ lw $s5, 0x54($sp) +/* EE0528 80241B68 8FB40050 */ lw $s4, 0x50($sp) +/* EE052C 80241B6C 8FB3004C */ lw $s3, 0x4c($sp) +/* EE0530 80241B70 8FB20048 */ lw $s2, 0x48($sp) +/* EE0534 80241B74 8FB10044 */ lw $s1, 0x44($sp) +/* EE0538 80241B78 8FB00040 */ lw $s0, 0x40($sp) +/* EE053C 80241B7C D7BA0080 */ ldc1 $f26, 0x80($sp) +/* EE0540 80241B80 D7B80078 */ ldc1 $f24, 0x78($sp) +/* EE0544 80241B84 D7B60070 */ ldc1 $f22, 0x70($sp) +/* EE0548 80241B88 D7B40068 */ ldc1 $f20, 0x68($sp) +/* EE054C 80241B8C 03E00008 */ jr $ra +/* EE0550 80241B90 27BD0088 */ addiu $sp, $sp, 0x88 diff --git a/asm/nonmatchings/code_EDEA00/func_80241B94_EE0554.s b/asm/nonmatchings/code_EDEA00/func_80241B94_EE0554.s new file mode 100644 index 0000000000..3019c58100 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80241B94_EE0554.s @@ -0,0 +1,156 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241B94_EE0554 +/* EE0554 80241B94 27BDFF98 */ addiu $sp, $sp, -0x68 +/* EE0558 80241B98 AFB20048 */ sw $s2, 0x48($sp) +/* EE055C 80241B9C 0080902D */ daddu $s2, $a0, $zero +/* EE0560 80241BA0 AFBF0054 */ sw $ra, 0x54($sp) +/* EE0564 80241BA4 AFB40050 */ sw $s4, 0x50($sp) +/* EE0568 80241BA8 AFB3004C */ sw $s3, 0x4c($sp) +/* EE056C 80241BAC AFB10044 */ sw $s1, 0x44($sp) +/* EE0570 80241BB0 AFB00040 */ sw $s0, 0x40($sp) +/* EE0574 80241BB4 F7B60060 */ sdc1 $f22, 0x60($sp) +/* EE0578 80241BB8 F7B40058 */ sdc1 $f20, 0x58($sp) +/* EE057C 80241BBC 8E510148 */ lw $s1, 0x148($s2) +/* EE0580 80241BC0 00A0982D */ daddu $s3, $a1, $zero +/* EE0584 80241BC4 86240008 */ lh $a0, 8($s1) +/* EE0588 80241BC8 0C00F92F */ jal func_8003E4BC +/* EE058C 80241BCC 00C0A02D */ daddu $s4, $a2, $zero +/* EE0590 80241BD0 0040802D */ daddu $s0, $v0, $zero +/* EE0594 80241BD4 C6200078 */ lwc1 $f0, 0x78($s1) +/* EE0598 80241BD8 46800020 */ cvt.s.w $f0, $f0 +/* EE059C 80241BDC 46000021 */ cvt.d.s $f0, $f0 +/* EE05A0 80241BE0 3C014059 */ lui $at, 0x4059 +/* EE05A4 80241BE4 44814800 */ mtc1 $at, $f9 +/* EE05A8 80241BE8 44804000 */ mtc1 $zero, $f8 +/* EE05AC 80241BEC 8602008E */ lh $v0, 0x8e($s0) +/* EE05B0 80241BF0 9603008E */ lhu $v1, 0x8e($s0) +/* EE05B4 80241BF4 46280003 */ div.d $f0, $f0, $f8 +/* EE05B8 80241BF8 18400003 */ blez $v0, .L80241C08 +/* EE05BC 80241BFC 462005A0 */ cvt.s.d $f22, $f0 +/* EE05C0 80241C00 2462FFFF */ addiu $v0, $v1, -1 +/* EE05C4 80241C04 A602008E */ sh $v0, 0x8e($s0) +.L80241C08: +/* EE05C8 80241C08 27A50028 */ addiu $a1, $sp, 0x28 +/* EE05CC 80241C0C 27A6002C */ addiu $a2, $sp, 0x2c +/* EE05D0 80241C10 27A70030 */ addiu $a3, $sp, 0x30 +/* EE05D4 80241C14 C6000038 */ lwc1 $f0, 0x38($s0) +/* EE05D8 80241C18 C602003C */ lwc1 $f2, 0x3c($s0) +/* EE05DC 80241C1C C6040040 */ lwc1 $f4, 0x40($s0) +/* EE05E0 80241C20 3C01447A */ lui $at, 0x447a +/* EE05E4 80241C24 44813000 */ mtc1 $at, $f6 +/* EE05E8 80241C28 27A20034 */ addiu $v0, $sp, 0x34 +/* EE05EC 80241C2C E7A00028 */ swc1 $f0, 0x28($sp) +/* EE05F0 80241C30 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EE05F4 80241C34 E7A40030 */ swc1 $f4, 0x30($sp) +/* EE05F8 80241C38 E7A60034 */ swc1 $f6, 0x34($sp) +/* EE05FC 80241C3C C6340070 */ lwc1 $f20, 0x70($s1) +/* EE0600 80241C40 4680A520 */ cvt.s.w $f20, $f20 +/* EE0604 80241C44 4600A521 */ cvt.d.s $f20, $f20 +/* EE0608 80241C48 4628A503 */ div.d $f20, $f20, $f8 +/* EE060C 80241C4C AFA20010 */ sw $v0, 0x10($sp) +/* EE0610 80241C50 8E040080 */ lw $a0, 0x80($s0) +/* EE0614 80241C54 0C03908F */ jal func_800E423C +/* EE0618 80241C58 4620A520 */ cvt.s.d $f20, $f20 +/* EE061C 80241C5C C62C0074 */ lwc1 $f12, 0x74($s1) +/* EE0620 80241C60 0C00AD77 */ jal func_8002B5DC +/* EE0624 80241C64 46806320 */ cvt.s.w $f12, $f12 +/* EE0628 80241C68 46140002 */ mul.s $f0, $f0, $f20 +/* EE062C 80241C6C 00000000 */ nop +/* EE0630 80241C70 C7A2002C */ lwc1 $f2, 0x2c($sp) +/* EE0634 80241C74 46161080 */ add.s $f2, $f2, $f22 +/* EE0638 80241C78 46001080 */ add.s $f2, $f2, $f0 +/* EE063C 80241C7C E602003C */ swc1 $f2, 0x3c($s0) +/* EE0640 80241C80 8E220074 */ lw $v0, 0x74($s1) +/* EE0644 80241C84 2442000C */ addiu $v0, $v0, 0xc +/* EE0648 80241C88 44826000 */ mtc1 $v0, $f12 +/* EE064C 80241C8C 00000000 */ nop +/* EE0650 80241C90 0C00AB85 */ jal func_8002AE14 +/* EE0654 80241C94 46806320 */ cvt.s.w $f12, $f12 +/* EE0658 80241C98 4600028D */ trunc.w.s $f10, $f0 +/* EE065C 80241C9C E62A0074 */ swc1 $f10, 0x74($s1) +/* EE0660 80241CA0 0280202D */ daddu $a0, $s4, $zero +/* EE0664 80241CA4 24020001 */ addiu $v0, $zero, 1 +/* EE0668 80241CA8 AFA20010 */ sw $v0, 0x10($sp) +/* EE066C 80241CAC 8E660024 */ lw $a2, 0x24($s3) +/* EE0670 80241CB0 8E670028 */ lw $a3, 0x28($s3) +/* EE0674 80241CB4 0C013469 */ jal func_8004D1A4 +/* EE0678 80241CB8 0220282D */ daddu $a1, $s1, $zero +/* EE067C 80241CBC 1040001D */ beqz $v0, .L80241D34 +/* EE0680 80241CC0 0000202D */ daddu $a0, $zero, $zero +/* EE0684 80241CC4 0200282D */ daddu $a1, $s0, $zero +/* EE0688 80241CC8 0000302D */ daddu $a2, $zero, $zero +/* EE068C 80241CCC 860300A8 */ lh $v1, 0xa8($s0) +/* EE0690 80241CD0 3C013F80 */ lui $at, 0x3f80 +/* EE0694 80241CD4 44810000 */ mtc1 $at, $f0 +/* EE0698 80241CD8 3C014000 */ lui $at, 0x4000 +/* EE069C 80241CDC 44811000 */ mtc1 $at, $f2 +/* EE06A0 80241CE0 3C01C1A0 */ lui $at, 0xc1a0 +/* EE06A4 80241CE4 44812000 */ mtc1 $at, $f4 +/* EE06A8 80241CE8 2402000F */ addiu $v0, $zero, 0xf +/* EE06AC 80241CEC AFA2001C */ sw $v0, 0x1c($sp) +/* EE06B0 80241CF0 44835000 */ mtc1 $v1, $f10 +/* EE06B4 80241CF4 00000000 */ nop +/* EE06B8 80241CF8 468052A0 */ cvt.s.w $f10, $f10 +/* EE06BC 80241CFC 44075000 */ mfc1 $a3, $f10 +/* EE06C0 80241D00 27A20038 */ addiu $v0, $sp, 0x38 +/* EE06C4 80241D04 AFA20020 */ sw $v0, 0x20($sp) +/* EE06C8 80241D08 E7A00010 */ swc1 $f0, 0x10($sp) +/* EE06CC 80241D0C E7A20014 */ swc1 $f2, 0x14($sp) +/* EE06D0 80241D10 0C01D444 */ jal func_80075110 +/* EE06D4 80241D14 E7A40018 */ swc1 $f4, 0x18($sp) +/* EE06D8 80241D18 0200202D */ daddu $a0, $s0, $zero +/* EE06DC 80241D1C 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EE06E0 80241D20 0C013600 */ jal func_8004D800 +/* EE06E4 80241D24 3C060020 */ lui $a2, 0x20 +/* EE06E8 80241D28 2402000C */ addiu $v0, $zero, 0xc +/* EE06EC 80241D2C 0809076F */ j .L80241DBC +/* EE06F0 80241D30 AE420070 */ sw $v0, 0x70($s2) +.L80241D34: +/* EE06F4 80241D34 8602008C */ lh $v0, 0x8c($s0) +/* EE06F8 80241D38 14400020 */ bnez $v0, .L80241DBC +/* EE06FC 80241D3C 00000000 */ nop +/* EE0700 80241D40 8602008E */ lh $v0, 0x8e($s0) +/* EE0704 80241D44 1C40001D */ bgtz $v0, .L80241DBC +/* EE0708 80241D48 00000000 */ nop +/* EE070C 80241D4C 8E420074 */ lw $v0, 0x74($s2) +/* EE0710 80241D50 2442FFFF */ addiu $v0, $v0, -1 +/* EE0714 80241D54 18400018 */ blez $v0, .L80241DB8 +/* EE0718 80241D58 AE420074 */ sw $v0, 0x74($s2) +/* EE071C 80241D5C C600000C */ lwc1 $f0, 0xc($s0) +/* EE0720 80241D60 3C014334 */ lui $at, 0x4334 +/* EE0724 80241D64 44816000 */ mtc1 $at, $f12 +/* EE0728 80241D68 0C00AB85 */ jal func_8002AE14 +/* EE072C 80241D6C 460C0300 */ add.s $f12, $f0, $f12 +/* EE0730 80241D70 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EE0734 80241D74 0C00AB3B */ jal func_8002ACEC +/* EE0738 80241D78 E600000C */ swc1 $f0, 0xc($s0) +/* EE073C 80241D7C 3C032E8B */ lui $v1, 0x2e8b +/* EE0740 80241D80 3463A2E9 */ ori $v1, $v1, 0xa2e9 +/* EE0744 80241D84 00430018 */ mult $v0, $v1 +/* EE0748 80241D88 00021FC3 */ sra $v1, $v0, 0x1f +/* EE074C 80241D8C 00004010 */ mfhi $t0 +/* EE0750 80241D90 00082043 */ sra $a0, $t0, 1 +/* EE0754 80241D94 00832023 */ subu $a0, $a0, $v1 +/* EE0758 80241D98 00041840 */ sll $v1, $a0, 1 +/* EE075C 80241D9C 00641821 */ addu $v1, $v1, $a0 +/* EE0760 80241DA0 00031880 */ sll $v1, $v1, 2 +/* EE0764 80241DA4 00641823 */ subu $v1, $v1, $a0 +/* EE0768 80241DA8 00431023 */ subu $v0, $v0, $v1 +/* EE076C 80241DAC 24420005 */ addiu $v0, $v0, 5 +/* EE0770 80241DB0 0809076F */ j .L80241DBC +/* EE0774 80241DB4 A602008E */ sh $v0, 0x8e($s0) +.L80241DB8: +/* EE0778 80241DB8 AE400070 */ sw $zero, 0x70($s2) +.L80241DBC: +/* EE077C 80241DBC 8FBF0054 */ lw $ra, 0x54($sp) +/* EE0780 80241DC0 8FB40050 */ lw $s4, 0x50($sp) +/* EE0784 80241DC4 8FB3004C */ lw $s3, 0x4c($sp) +/* EE0788 80241DC8 8FB20048 */ lw $s2, 0x48($sp) +/* EE078C 80241DCC 8FB10044 */ lw $s1, 0x44($sp) +/* EE0790 80241DD0 8FB00040 */ lw $s0, 0x40($sp) +/* EE0794 80241DD4 D7B60060 */ ldc1 $f22, 0x60($sp) +/* EE0798 80241DD8 D7B40058 */ ldc1 $f20, 0x58($sp) +/* EE079C 80241DDC 03E00008 */ jr $ra +/* EE07A0 80241DE0 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/asm/nonmatchings/code_EDEA00/func_80241DE4_EE07A4.s b/asm/nonmatchings/code_EDEA00/func_80241DE4_EE07A4.s new file mode 100644 index 0000000000..2819db542f --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80241DE4_EE07A4.s @@ -0,0 +1,352 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241DE4_EE07A4 +/* EE07A4 80241DE4 27BDFF98 */ addiu $sp, $sp, -0x68 +/* EE07A8 80241DE8 AFB40050 */ sw $s4, 0x50($sp) +/* EE07AC 80241DEC 0080A02D */ daddu $s4, $a0, $zero +/* EE07B0 80241DF0 AFBF005C */ sw $ra, 0x5c($sp) +/* EE07B4 80241DF4 AFB60058 */ sw $s6, 0x58($sp) +/* EE07B8 80241DF8 AFB50054 */ sw $s5, 0x54($sp) +/* EE07BC 80241DFC AFB3004C */ sw $s3, 0x4c($sp) +/* EE07C0 80241E00 AFB20048 */ sw $s2, 0x48($sp) +/* EE07C4 80241E04 AFB10044 */ sw $s1, 0x44($sp) +/* EE07C8 80241E08 AFB00040 */ sw $s0, 0x40($sp) +/* EE07CC 80241E0C F7B40060 */ sdc1 $f20, 0x60($sp) +/* EE07D0 80241E10 8E930148 */ lw $s3, 0x148($s4) +/* EE07D4 80241E14 86640008 */ lh $a0, 8($s3) +/* EE07D8 80241E18 8E90000C */ lw $s0, 0xc($s4) +/* EE07DC 80241E1C 0C00F92F */ jal func_8003E4BC +/* EE07E0 80241E20 00A0882D */ daddu $s1, $a1, $zero +/* EE07E4 80241E24 0280202D */ daddu $a0, $s4, $zero +/* EE07E8 80241E28 8E050000 */ lw $a1, ($s0) +/* EE07EC 80241E2C 0C0B53A3 */ jal func_802D4E8C +/* EE07F0 80241E30 0040902D */ daddu $s2, $v0, $zero +/* EE07F4 80241E34 AFA00020 */ sw $zero, 0x20($sp) +/* EE07F8 80241E38 8E6300D0 */ lw $v1, 0xd0($s3) +/* EE07FC 80241E3C 8C630030 */ lw $v1, 0x30($v1) +/* EE0800 80241E40 AFA30024 */ sw $v1, 0x24($sp) +/* EE0804 80241E44 8E6300D0 */ lw $v1, 0xd0($s3) +/* EE0808 80241E48 8C63001C */ lw $v1, 0x1c($v1) +/* EE080C 80241E4C AFA30028 */ sw $v1, 0x28($sp) +/* EE0810 80241E50 8E6300D0 */ lw $v1, 0xd0($s3) +/* EE0814 80241E54 8C630024 */ lw $v1, 0x24($v1) +/* EE0818 80241E58 AFA3002C */ sw $v1, 0x2c($sp) +/* EE081C 80241E5C 8E6300D0 */ lw $v1, 0xd0($s3) +/* EE0820 80241E60 8C630028 */ lw $v1, 0x28($v1) +/* EE0824 80241E64 AFA30030 */ sw $v1, 0x30($sp) +/* EE0828 80241E68 8E6300D0 */ lw $v1, 0xd0($s3) +/* EE082C 80241E6C 3C0142F0 */ lui $at, 0x42f0 +/* EE0830 80241E70 44810000 */ mtc1 $at, $f0 +/* EE0834 80241E74 8C63002C */ lw $v1, 0x2c($v1) +/* EE0838 80241E78 E7A00038 */ swc1 $f0, 0x38($sp) +/* EE083C 80241E7C A7A0003C */ sh $zero, 0x3c($sp) +/* EE0840 80241E80 AFA30034 */ sw $v1, 0x34($sp) +/* EE0844 80241E84 C6400038 */ lwc1 $f0, 0x38($s2) +/* EE0848 80241E88 E6600108 */ swc1 $f0, 0x108($s3) +/* EE084C 80241E8C C640003C */ lwc1 $f0, 0x3c($s2) +/* EE0850 80241E90 27B50020 */ addiu $s5, $sp, 0x20 +/* EE0854 80241E94 E660010C */ swc1 $f0, 0x10c($s3) +/* EE0858 80241E98 3C0138D1 */ lui $at, 0x38d1 +/* EE085C 80241E9C 3421B717 */ ori $at, $at, 0xb717 +/* EE0860 80241EA0 44810000 */ mtc1 $at, $f0 +/* EE0864 80241EA4 C6420040 */ lwc1 $f2, 0x40($s2) +/* EE0868 80241EA8 0040B02D */ daddu $s6, $v0, $zero +/* EE086C 80241EAC E6600114 */ swc1 $f0, 0x114($s3) +/* EE0870 80241EB0 E6600118 */ swc1 $f0, 0x118($s3) +/* EE0874 80241EB4 12200007 */ beqz $s1, .L80241ED4 +/* EE0878 80241EB8 E6620110 */ swc1 $f2, 0x110($s3) +/* EE087C 80241EBC 0240202D */ daddu $a0, $s2, $zero +/* EE0880 80241EC0 0260282D */ daddu $a1, $s3, $zero +/* EE0884 80241EC4 0280302D */ daddu $a2, $s4, $zero +/* EE0888 80241EC8 0C0904EB */ jal func_802413AC_EDFD6C +/* EE088C 80241ECC 02C0382D */ daddu $a3, $s6, $zero +/* EE0890 80241ED0 AE800070 */ sw $zero, 0x70($s4) +.L80241ED4: +/* EE0894 80241ED4 2402FFFD */ addiu $v0, $zero, -3 +/* EE0898 80241ED8 A24200AB */ sb $v0, 0xab($s2) +/* EE089C 80241EDC 8E6300B0 */ lw $v1, 0xb0($s3) +/* EE08A0 80241EE0 30620004 */ andi $v0, $v1, 4 +/* EE08A4 80241EE4 10400007 */ beqz $v0, .L80241F04 +/* EE08A8 80241EE8 00000000 */ nop +/* EE08AC 80241EEC 826200B4 */ lb $v0, 0xb4($s3) +/* EE08B0 80241EF0 144000F4 */ bnez $v0, .L802422C4 +/* EE08B4 80241EF4 0000102D */ daddu $v0, $zero, $zero +/* EE08B8 80241EF8 2402FFFB */ addiu $v0, $zero, -5 +/* EE08BC 80241EFC 00621024 */ and $v0, $v1, $v0 +/* EE08C0 80241F00 AE6200B0 */ sw $v0, 0xb0($s3) +.L80241F04: +/* EE08C4 80241F04 8E830070 */ lw $v1, 0x70($s4) +/* EE08C8 80241F08 24020001 */ addiu $v0, $zero, 1 +/* EE08CC 80241F0C 10620011 */ beq $v1, $v0, .L80241F54 +/* EE08D0 80241F10 28620002 */ slti $v0, $v1, 2 +/* EE08D4 80241F14 10400005 */ beqz $v0, .L80241F2C +/* EE08D8 80241F18 24020002 */ addiu $v0, $zero, 2 +/* EE08DC 80241F1C 10600009 */ beqz $v1, .L80241F44 +/* EE08E0 80241F20 2402000C */ addiu $v0, $zero, 0xc +/* EE08E4 80241F24 080907E5 */ j .L80241F94 +/* EE08E8 80241F28 00000000 */ nop +.L80241F2C: +/* EE08EC 80241F2C 1062000F */ beq $v1, $v0, .L80241F6C +/* EE08F0 80241F30 24020003 */ addiu $v0, $zero, 3 +/* EE08F4 80241F34 10620012 */ beq $v1, $v0, .L80241F80 +/* EE08F8 80241F38 0280202D */ daddu $a0, $s4, $zero +/* EE08FC 80241F3C 080907E3 */ j .L80241F8C +/* EE0900 80241F40 00000000 */ nop +.L80241F44: +/* EE0904 80241F44 0280202D */ daddu $a0, $s4, $zero +/* EE0908 80241F48 02C0282D */ daddu $a1, $s6, $zero +/* EE090C 80241F4C 0C090071 */ jal func_802401C4_EDEB84 +/* EE0910 80241F50 02A0302D */ daddu $a2, $s5, $zero +.L80241F54: +/* EE0914 80241F54 0280202D */ daddu $a0, $s4, $zero +/* EE0918 80241F58 02C0282D */ daddu $a1, $s6, $zero +/* EE091C 80241F5C 0C0905CC */ jal func_80241730_EE00F0 +/* EE0920 80241F60 02A0302D */ daddu $a2, $s5, $zero +/* EE0924 80241F64 080907E3 */ j .L80241F8C +/* EE0928 80241F68 00000000 */ nop +.L80241F6C: +/* EE092C 80241F6C 0280202D */ daddu $a0, $s4, $zero +/* EE0930 80241F70 02C0282D */ daddu $a1, $s6, $zero +/* EE0934 80241F74 0C090267 */ jal func_8024099C_EDF35C +/* EE0938 80241F78 02A0302D */ daddu $a2, $s5, $zero +/* EE093C 80241F7C 0280202D */ daddu $a0, $s4, $zero +.L80241F80: +/* EE0940 80241F80 02C0282D */ daddu $a1, $s6, $zero +/* EE0944 80241F84 0C0906E5 */ jal func_80241B94_EE0554 +/* EE0948 80241F88 02A0302D */ daddu $a2, $s5, $zero +.L80241F8C: +/* EE094C 80241F8C 8E830070 */ lw $v1, 0x70($s4) +/* EE0950 80241F90 2402000C */ addiu $v0, $zero, 0xc +.L80241F94: +/* EE0954 80241F94 1462001A */ bne $v1, $v0, .L80242000 +/* EE0958 80241F98 00000000 */ nop +/* EE095C 80241F9C C64C0038 */ lwc1 $f12, 0x38($s2) +/* EE0960 80241FA0 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EE0964 80241FA4 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EE0968 80241FA8 C64E0040 */ lwc1 $f14, 0x40($s2) +/* EE096C 80241FAC 8C460028 */ lw $a2, 0x28($v0) +/* EE0970 80241FB0 0C00ABDC */ jal fio_validate_header_checksums +/* EE0974 80241FB4 8C470030 */ lw $a3, 0x30($v0) +/* EE0978 80241FB8 0C0905BA */ jal func_802416E8_EE00A8 +/* EE097C 80241FBC E640000C */ swc1 $f0, 0xc($s2) +/* EE0980 80241FC0 0440000F */ bltz $v0, .L80242000 +/* EE0984 80241FC4 AE62007C */ sw $v0, 0x7c($s3) +/* EE0988 80241FC8 0C010ABD */ jal func_80042AF4 +/* EE098C 80241FCC 0040202D */ daddu $a0, $v0, $zero +/* EE0990 80241FD0 3C030049 */ lui $v1, 0x49 +/* EE0994 80241FD4 0040202D */ daddu $a0, $v0, $zero +/* EE0998 80241FD8 24020001 */ addiu $v0, $zero, 1 +/* EE099C 80241FDC AC820094 */ sw $v0, 0x94($a0) +/* EE09A0 80241FE0 86620008 */ lh $v0, 8($s3) +/* EE09A4 80241FE4 34630014 */ ori $v1, $v1, 0x14 +/* EE09A8 80241FE8 AC820098 */ sw $v0, 0x98($a0) +/* EE09AC 80241FEC 2402000F */ addiu $v0, $zero, 0xf +/* EE09B0 80241FF0 A642008E */ sh $v0, 0x8e($s2) +/* EE09B4 80241FF4 2402001E */ addiu $v0, $zero, 0x1e +/* EE09B8 80241FF8 AE430028 */ sw $v1, 0x28($s2) +/* EE09BC 80241FFC AE820070 */ sw $v0, 0x70($s4) +.L80242000: +/* EE09C0 80242000 8E830070 */ lw $v1, 0x70($s4) +/* EE09C4 80242004 2402000D */ addiu $v0, $zero, 0xd +/* EE09C8 80242008 10620010 */ beq $v1, $v0, .L8024204C +/* EE09CC 8024200C 2862000E */ slti $v0, $v1, 0xe +/* EE09D0 80242010 10400005 */ beqz $v0, .L80242028 +/* EE09D4 80242014 2402000C */ addiu $v0, $zero, 0xc +/* EE09D8 80242018 10620008 */ beq $v1, $v0, .L8024203C +/* EE09DC 8024201C 2410001F */ addiu $s0, $zero, 0x1f +/* EE09E0 80242020 0809081E */ j .L80242078 +/* EE09E4 80242024 00000000 */ nop +.L80242028: +/* EE09E8 80242028 2402000E */ addiu $v0, $zero, 0xe +/* EE09EC 8024202C 1062000D */ beq $v1, $v0, .L80242064 +/* EE09F0 80242030 0280202D */ daddu $a0, $s4, $zero +/* EE09F4 80242034 0809081C */ j .L80242070 +/* EE09F8 80242038 00000000 */ nop +.L8024203C: +/* EE09FC 8024203C 0280202D */ daddu $a0, $s4, $zero +/* EE0A00 80242040 02C0282D */ daddu $a1, $s6, $zero +/* EE0A04 80242044 0C0903A1 */ jal func_80240E84_EDF844 +/* EE0A08 80242048 02A0302D */ daddu $a2, $s5, $zero +.L8024204C: +/* EE0A0C 8024204C 0280202D */ daddu $a0, $s4, $zero +/* EE0A10 80242050 02C0282D */ daddu $a1, $s6, $zero +/* EE0A14 80242054 0C0903EE */ jal func_80240FB8_EDF978 +/* EE0A18 80242058 02A0302D */ daddu $a2, $s5, $zero +/* EE0A1C 8024205C 0809081C */ j .L80242070 +/* EE0A20 80242060 00000000 */ nop +.L80242064: +/* EE0A24 80242064 02C0282D */ daddu $a1, $s6, $zero +/* EE0A28 80242068 0C090407 */ jal func_8024101C_EDF9DC +/* EE0A2C 8024206C 02A0302D */ daddu $a2, $s5, $zero +.L80242070: +/* EE0A30 80242070 8E830070 */ lw $v1, 0x70($s4) +/* EE0A34 80242074 2410001F */ addiu $s0, $zero, 0x1f +.L80242078: +/* EE0A38 80242078 1070001B */ beq $v1, $s0, .L802420E8 +/* EE0A3C 8024207C 28620020 */ slti $v0, $v1, 0x20 +/* EE0A40 80242080 10400005 */ beqz $v0, .L80242098 +/* EE0A44 80242084 2402001E */ addiu $v0, $zero, 0x1e +/* EE0A48 80242088 1062000A */ beq $v1, $v0, .L802420B4 +/* EE0A4C 8024208C 00000000 */ nop +/* EE0A50 80242090 08090859 */ j .L80242164 +/* EE0A54 80242094 00000000 */ nop +.L80242098: +/* EE0A58 80242098 24020020 */ addiu $v0, $zero, 0x20 +/* EE0A5C 8024209C 10620022 */ beq $v1, $v0, .L80242128 +/* EE0A60 802420A0 24020021 */ addiu $v0, $zero, 0x21 +/* EE0A64 802420A4 10620029 */ beq $v1, $v0, .L8024214C +/* EE0A68 802420A8 00000000 */ nop +/* EE0A6C 802420AC 08090859 */ j .L80242164 +/* EE0A70 802420B0 00000000 */ nop +.L802420B4: +/* EE0A74 802420B4 9642008E */ lhu $v0, 0x8e($s2) +/* EE0A78 802420B8 2442FFFF */ addiu $v0, $v0, -1 +/* EE0A7C 802420BC A642008E */ sh $v0, 0x8e($s2) +/* EE0A80 802420C0 00021400 */ sll $v0, $v0, 0x10 +/* EE0A84 802420C4 1C400027 */ bgtz $v0, .L80242164 +/* EE0A88 802420C8 00000000 */ nop +/* EE0A8C 802420CC 0C010ABD */ jal func_80042AF4 +/* EE0A90 802420D0 8E64007C */ lw $a0, 0x7c($s3) +/* EE0A94 802420D4 24030002 */ addiu $v1, $zero, 2 +/* EE0A98 802420D8 AC430094 */ sw $v1, 0x94($v0) +/* EE0A9C 802420DC 24020005 */ addiu $v0, $zero, 5 +/* EE0AA0 802420E0 A642008E */ sh $v0, 0x8e($s2) +/* EE0AA4 802420E4 AE900070 */ sw $s0, 0x70($s4) +.L802420E8: +/* EE0AA8 802420E8 9642008E */ lhu $v0, 0x8e($s2) +/* EE0AAC 802420EC 2442FFFF */ addiu $v0, $v0, -1 +/* EE0AB0 802420F0 A642008E */ sh $v0, 0x8e($s2) +/* EE0AB4 802420F4 00021400 */ sll $v0, $v0, 0x10 +/* EE0AB8 802420F8 1C40001A */ bgtz $v0, .L80242164 +/* EE0ABC 802420FC 3C020049 */ lui $v0, 0x49 +/* EE0AC0 80242100 34420015 */ ori $v0, $v0, 0x15 +/* EE0AC4 80242104 AE420028 */ sw $v0, 0x28($s2) +/* EE0AC8 80242108 0C010ABD */ jal func_80042AF4 +/* EE0ACC 8024210C 8E64007C */ lw $a0, 0x7c($s3) +/* EE0AD0 80242110 24030003 */ addiu $v1, $zero, 3 +/* EE0AD4 80242114 AC430094 */ sw $v1, 0x94($v0) +/* EE0AD8 80242118 2402000A */ addiu $v0, $zero, 0xa +/* EE0ADC 8024211C A642008E */ sh $v0, 0x8e($s2) +/* EE0AE0 80242120 24020020 */ addiu $v0, $zero, 0x20 +/* EE0AE4 80242124 AE820070 */ sw $v0, 0x70($s4) +.L80242128: +/* EE0AE8 80242128 9642008E */ lhu $v0, 0x8e($s2) +/* EE0AEC 8024212C 2442FFFF */ addiu $v0, $v0, -1 +/* EE0AF0 80242130 A642008E */ sh $v0, 0x8e($s2) +/* EE0AF4 80242134 00021400 */ sll $v0, $v0, 0x10 +/* EE0AF8 80242138 1C40000A */ bgtz $v0, .L80242164 +/* EE0AFC 8024213C 24020003 */ addiu $v0, $zero, 3 +/* EE0B00 80242140 A642008E */ sh $v0, 0x8e($s2) +/* EE0B04 80242144 24020021 */ addiu $v0, $zero, 0x21 +/* EE0B08 80242148 AE820070 */ sw $v0, 0x70($s4) +.L8024214C: +/* EE0B0C 8024214C 9642008E */ lhu $v0, 0x8e($s2) +/* EE0B10 80242150 2442FFFF */ addiu $v0, $v0, -1 +/* EE0B14 80242154 A642008E */ sh $v0, 0x8e($s2) +/* EE0B18 80242158 00021400 */ sll $v0, $v0, 0x10 +/* EE0B1C 8024215C 58400001 */ blezl $v0, .L80242164 +/* EE0B20 80242160 AE800070 */ sw $zero, 0x70($s4) +.L80242164: +/* EE0B24 80242164 8E820070 */ lw $v0, 0x70($s4) +/* EE0B28 80242168 2442FFE2 */ addiu $v0, $v0, -0x1e +/* EE0B2C 8024216C 2C420002 */ sltiu $v0, $v0, 2 +/* EE0B30 80242170 10400054 */ beqz $v0, .L802422C4 +/* EE0B34 80242174 0000102D */ daddu $v0, $zero, $zero +/* EE0B38 80242178 3C108010 */ lui $s0, %hi(D_800FFC90) +/* EE0B3C 8024217C 2610FC90 */ addiu $s0, $s0, %lo(D_800FFC90) +/* EE0B40 80242180 C64C0038 */ lwc1 $f12, 0x38($s2) +/* EE0B44 80242184 8E020000 */ lw $v0, ($s0) +/* EE0B48 80242188 C64E0040 */ lwc1 $f14, 0x40($s2) +/* EE0B4C 8024218C 8C460028 */ lw $a2, 0x28($v0) +/* EE0B50 80242190 0C00ABDC */ jal fio_validate_header_checksums +/* EE0B54 80242194 8C470030 */ lw $a3, 0x30($v0) +/* EE0B58 80242198 8E460038 */ lw $a2, 0x38($s2) +/* EE0B5C 8024219C 8E470040 */ lw $a3, 0x40($s2) +/* EE0B60 802421A0 8E020000 */ lw $v0, ($s0) +/* EE0B64 802421A4 E640000C */ swc1 $f0, 0xc($s2) +/* EE0B68 802421A8 C44C0028 */ lwc1 $f12, 0x28($v0) +/* EE0B6C 802421AC 0C00AC71 */ jal func_8002B1C4 +/* EE0B70 802421B0 C44E0030 */ lwc1 $f14, 0x30($v0) +/* EE0B74 802421B4 C6A20008 */ lwc1 $f2, 8($s5) +/* EE0B78 802421B8 468010A0 */ cvt.s.w $f2, $f2 +/* EE0B7C 802421BC 44051000 */ mfc1 $a1, $f2 +/* EE0B80 802421C0 C6A2000C */ lwc1 $f2, 0xc($s5) +/* EE0B84 802421C4 468010A0 */ cvt.s.w $f2, $f2 +/* EE0B88 802421C8 44061000 */ mfc1 $a2, $f2 +/* EE0B8C 802421CC C6420040 */ lwc1 $f2, 0x40($s2) +/* EE0B90 802421D0 E7A20010 */ swc1 $f2, 0x10($sp) +/* EE0B94 802421D4 C6A20010 */ lwc1 $f2, 0x10($s5) +/* EE0B98 802421D8 468010A0 */ cvt.s.w $f2, $f2 +/* EE0B9C 802421DC E7A20014 */ swc1 $f2, 0x14($sp) +/* EE0BA0 802421E0 C6A20014 */ lwc1 $f2, 0x14($s5) +/* EE0BA4 802421E4 468010A0 */ cvt.s.w $f2, $f2 +/* EE0BA8 802421E8 E7A20018 */ swc1 $f2, 0x18($sp) +/* EE0BAC 802421EC 8EA40004 */ lw $a0, 4($s5) +/* EE0BB0 802421F0 8E470038 */ lw $a3, 0x38($s2) +/* EE0BB4 802421F4 0C013431 */ jal func_8004D0C4 +/* EE0BB8 802421F8 46000506 */ mov.s $f20, $f0 +/* EE0BBC 802421FC 14400031 */ bnez $v0, .L802422C4 +/* EE0BC0 80242200 0000102D */ daddu $v0, $zero, $zero +/* EE0BC4 80242204 3C01403E */ lui $at, 0x403e +/* EE0BC8 80242208 44810800 */ mtc1 $at, $f1 +/* EE0BCC 8024220C 44800000 */ mtc1 $zero, $f0 +/* EE0BD0 80242210 4600A0A1 */ cvt.d.s $f2, $f20 +/* EE0BD4 80242214 4622003C */ c.lt.d $f0, $f2 +/* EE0BD8 80242218 00000000 */ nop +/* EE0BDC 8024221C 45000029 */ bc1f .L802422C4 +/* EE0BE0 80242220 00000000 */ nop +/* EE0BE4 80242224 8642008C */ lh $v0, 0x8c($s2) +/* EE0BE8 80242228 54400026 */ bnel $v0, $zero, .L802422C4 +/* EE0BEC 8024222C 0000102D */ daddu $v0, $zero, $zero +/* EE0BF0 80242230 3C014034 */ lui $at, 0x4034 +/* EE0BF4 80242234 44810800 */ mtc1 $at, $f1 +/* EE0BF8 80242238 44800000 */ mtc1 $zero, $f0 +/* EE0BFC 8024223C 00000000 */ nop +/* EE0C00 80242240 46201001 */ sub.d $f0, $f2, $f0 +/* EE0C04 80242244 44801000 */ mtc1 $zero, $f2 +/* EE0C08 80242248 44801800 */ mtc1 $zero, $f3 +/* EE0C0C 8024224C 46200120 */ cvt.s.d $f4, $f0 +/* EE0C10 80242250 46002021 */ cvt.d.s $f0, $f4 +/* EE0C14 80242254 4622003C */ c.lt.d $f0, $f2 +/* EE0C18 80242258 00000000 */ nop +/* EE0C1C 8024225C 45000002 */ bc1f .L80242268 +/* EE0C20 80242260 00000000 */ nop +/* EE0C24 80242264 44802000 */ mtc1 $zero, $f4 +.L80242268: +/* EE0C28 80242268 3C014069 */ lui $at, 0x4069 +/* EE0C2C 8024226C 44811800 */ mtc1 $at, $f3 +/* EE0C30 80242270 44801000 */ mtc1 $zero, $f2 +/* EE0C34 80242274 46002021 */ cvt.d.s $f0, $f4 +/* EE0C38 80242278 4620103C */ c.lt.d $f2, $f0 +/* EE0C3C 8024227C 00000000 */ nop +/* EE0C40 80242280 45000003 */ bc1f .L80242290 +/* EE0C44 80242284 240200C8 */ addiu $v0, $zero, 0xc8 +/* EE0C48 80242288 3C014348 */ lui $at, 0x4348 +/* EE0C4C 8024228C 44812000 */ mtc1 $at, $f4 +.L80242290: +/* EE0C50 80242290 AFA20010 */ sw $v0, 0x10($sp) +/* EE0C54 80242294 8EC50000 */ lw $a1, ($s6) +/* EE0C58 80242298 8EC60018 */ lw $a2, 0x18($s6) +/* EE0C5C 8024229C 4600218D */ trunc.w.s $f6, $f4 +/* EE0C60 802422A0 44073000 */ mfc1 $a3, $f6 +/* EE0C64 802422A4 0C00ADA9 */ jal func_8002B6A4 +/* EE0C68 802422A8 0000202D */ daddu $a0, $zero, $zero +/* EE0C6C 802422AC 44050000 */ mfc1 $a1, $f0 +/* EE0C70 802422B0 8E46000C */ lw $a2, 0xc($s2) +/* EE0C74 802422B4 0240202D */ daddu $a0, $s2, $zero +/* EE0C78 802422B8 0C00F909 */ jal func_8003E424 +/* EE0C7C 802422BC AC850018 */ sw $a1, 0x18($a0) +/* EE0C80 802422C0 0000102D */ daddu $v0, $zero, $zero +.L802422C4: +/* EE0C84 802422C4 8FBF005C */ lw $ra, 0x5c($sp) +/* EE0C88 802422C8 8FB60058 */ lw $s6, 0x58($sp) +/* EE0C8C 802422CC 8FB50054 */ lw $s5, 0x54($sp) +/* EE0C90 802422D0 8FB40050 */ lw $s4, 0x50($sp) +/* EE0C94 802422D4 8FB3004C */ lw $s3, 0x4c($sp) +/* EE0C98 802422D8 8FB20048 */ lw $s2, 0x48($sp) +/* EE0C9C 802422DC 8FB10044 */ lw $s1, 0x44($sp) +/* EE0CA0 802422E0 8FB00040 */ lw $s0, 0x40($sp) +/* EE0CA4 802422E4 D7B40060 */ ldc1 $f20, 0x60($sp) +/* EE0CA8 802422E8 03E00008 */ jr $ra +/* EE0CAC 802422EC 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/asm/nonmatchings/code_EDEA00/func_802422F0_EE0CB0.s b/asm/nonmatchings/code_EDEA00/func_802422F0_EE0CB0.s new file mode 100644 index 0000000000..042055edc7 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_802422F0_EE0CB0.s @@ -0,0 +1,35 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802422F0_EE0CB0 +/* EE0CB0 802422F0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EE0CB4 802422F4 AFB20018 */ sw $s2, 0x18($sp) +/* EE0CB8 802422F8 0080902D */ daddu $s2, $a0, $zero +/* EE0CBC 802422FC AFBF001C */ sw $ra, 0x1c($sp) +/* EE0CC0 80242300 AFB10014 */ sw $s1, 0x14($sp) +/* EE0CC4 80242304 AFB00010 */ sw $s0, 0x10($sp) +/* EE0CC8 80242308 8E510148 */ lw $s1, 0x148($s2) +/* EE0CCC 8024230C 0C00F92F */ jal func_8003E4BC +/* EE0CD0 80242310 86240008 */ lh $a0, 8($s1) +/* EE0CD4 80242314 0040802D */ daddu $s0, $v0, $zero +/* EE0CD8 80242318 8E2300CC */ lw $v1, 0xcc($s1) +/* EE0CDC 8024231C C60C0038 */ lwc1 $f12, 0x38($s0) +/* EE0CE0 80242320 8C630020 */ lw $v1, 0x20($v1) +/* EE0CE4 80242324 AE030028 */ sw $v1, 0x28($s0) +/* EE0CE8 80242328 96220076 */ lhu $v0, 0x76($s1) +/* EE0CEC 8024232C A602008E */ sh $v0, 0x8e($s0) +/* EE0CF0 80242330 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EE0CF4 80242334 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EE0CF8 80242338 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EE0CFC 8024233C 8C460028 */ lw $a2, 0x28($v0) +/* EE0D00 80242340 0C00ABDC */ jal fio_validate_header_checksums +/* EE0D04 80242344 8C470030 */ lw $a3, 0x30($v0) +/* EE0D08 80242348 2402000D */ addiu $v0, $zero, 0xd +/* EE0D0C 8024234C E600000C */ swc1 $f0, 0xc($s0) +/* EE0D10 80242350 AE420070 */ sw $v0, 0x70($s2) +/* EE0D14 80242354 8FBF001C */ lw $ra, 0x1c($sp) +/* EE0D18 80242358 8FB20018 */ lw $s2, 0x18($sp) +/* EE0D1C 8024235C 8FB10014 */ lw $s1, 0x14($sp) +/* EE0D20 80242360 8FB00010 */ lw $s0, 0x10($sp) +/* EE0D24 80242364 03E00008 */ jr $ra +/* EE0D28 80242368 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EDEA00/func_8024236C_EE0D2C.s b/asm/nonmatchings/code_EDEA00/func_8024236C_EE0D2C.s new file mode 100644 index 0000000000..1f8aa64ec5 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_8024236C_EE0D2C.s @@ -0,0 +1,86 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024236C_EE0D2C +/* EE0D2C 8024236C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EE0D30 80242370 AFB3001C */ sw $s3, 0x1c($sp) +/* EE0D34 80242374 0080982D */ daddu $s3, $a0, $zero +/* EE0D38 80242378 AFBF0020 */ sw $ra, 0x20($sp) +/* EE0D3C 8024237C AFB20018 */ sw $s2, 0x18($sp) +/* EE0D40 80242380 AFB10014 */ sw $s1, 0x14($sp) +/* EE0D44 80242384 AFB00010 */ sw $s0, 0x10($sp) +/* EE0D48 80242388 8E710148 */ lw $s1, 0x148($s3) +/* EE0D4C 8024238C 86240008 */ lh $a0, 8($s1) +/* EE0D50 80242390 0C00F92F */ jal func_8003E4BC +/* EE0D54 80242394 00A0902D */ daddu $s2, $a1, $zero +/* EE0D58 80242398 0040802D */ daddu $s0, $v0, $zero +/* EE0D5C 8024239C 8602008E */ lh $v0, 0x8e($s0) +/* EE0D60 802423A0 9603008E */ lhu $v1, 0x8e($s0) +/* EE0D64 802423A4 18400005 */ blez $v0, .L802423BC +/* EE0D68 802423A8 2462FFFF */ addiu $v0, $v1, -1 +/* EE0D6C 802423AC A602008E */ sh $v0, 0x8e($s0) +/* EE0D70 802423B0 00021400 */ sll $v0, $v0, 0x10 +/* EE0D74 802423B4 1C400033 */ bgtz $v0, .L80242484 +/* EE0D78 802423B8 00000000 */ nop +.L802423BC: +/* EE0D7C 802423BC 8602008C */ lh $v0, 0x8c($s0) +/* EE0D80 802423C0 14400030 */ bnez $v0, .L80242484 +/* EE0D84 802423C4 00000000 */ nop +/* EE0D88 802423C8 8E2200CC */ lw $v0, 0xcc($s1) +/* EE0D8C 802423CC 8C420024 */ lw $v0, 0x24($v0) +/* EE0D90 802423D0 AE020028 */ sw $v0, 0x28($s0) +/* EE0D94 802423D4 C6400018 */ lwc1 $f0, 0x18($s2) +/* EE0D98 802423D8 E6000018 */ swc1 $f0, 0x18($s0) +/* EE0D9C 802423DC 8E230088 */ lw $v1, 0x88($s1) +/* EE0DA0 802423E0 24020005 */ addiu $v0, $zero, 5 +/* EE0DA4 802423E4 10620005 */ beq $v1, $v0, .L802423FC +/* EE0DA8 802423E8 00000000 */ nop +/* EE0DAC 802423EC 10600003 */ beqz $v1, .L802423FC +/* EE0DB0 802423F0 24020001 */ addiu $v0, $zero, 1 +/* EE0DB4 802423F4 14620006 */ bne $v1, $v0, .L80242410 +/* EE0DB8 802423F8 00000000 */ nop +.L802423FC: +/* EE0DBC 802423FC 8E220084 */ lw $v0, 0x84($s1) +/* EE0DC0 80242400 00021FC2 */ srl $v1, $v0, 0x1f +/* EE0DC4 80242404 00431021 */ addu $v0, $v0, $v1 +/* EE0DC8 80242408 00021043 */ sra $v0, $v0, 1 +/* EE0DCC 8024240C A60200A8 */ sh $v0, 0xa8($s0) +.L80242410: +/* EE0DD0 80242410 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EE0DD4 80242414 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EE0DD8 80242418 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EE0DDC 8024241C C60E0040 */ lwc1 $f14, 0x40($s0) +/* EE0DE0 80242420 8C460028 */ lw $a2, 0x28($v0) +/* EE0DE4 80242424 0C00AC71 */ jal func_8002B1C4 +/* EE0DE8 80242428 8C470030 */ lw $a3, 0x30($v0) +/* EE0DEC 8024242C C6020018 */ lwc1 $f2, 0x18($s0) +/* EE0DF0 80242430 46020003 */ div.s $f0, $f0, $f2 +/* EE0DF4 80242434 3C018024 */ lui $at, %hi(D_80247B50) +/* EE0DF8 80242438 D4227B50 */ ldc1 $f2, %lo(D_80247B50)($at) +/* EE0DFC 8024243C 46000021 */ cvt.d.s $f0, $f0 +/* EE0E00 80242440 46220000 */ add.d $f0, $f0, $f2 +/* EE0E04 80242444 4620010D */ trunc.w.d $f4, $f0 +/* EE0E08 80242448 44022000 */ mfc1 $v0, $f4 +/* EE0E0C 8024244C 00000000 */ nop +/* EE0E10 80242450 A602008E */ sh $v0, 0x8e($s0) +/* EE0E14 80242454 00021400 */ sll $v0, $v0, 0x10 +/* EE0E18 80242458 8E230078 */ lw $v1, 0x78($s1) +/* EE0E1C 8024245C 00021403 */ sra $v0, $v0, 0x10 +/* EE0E20 80242460 0043102A */ slt $v0, $v0, $v1 +/* EE0E24 80242464 10400003 */ beqz $v0, .L80242474 +/* EE0E28 80242468 00000000 */ nop +/* EE0E2C 8024246C 9622007A */ lhu $v0, 0x7a($s1) +/* EE0E30 80242470 A602008E */ sh $v0, 0x8e($s0) +.L80242474: +/* EE0E34 80242474 8602008E */ lh $v0, 0x8e($s0) +/* EE0E38 80242478 AE22007C */ sw $v0, 0x7c($s1) +/* EE0E3C 8024247C 2402000E */ addiu $v0, $zero, 0xe +/* EE0E40 80242480 AE620070 */ sw $v0, 0x70($s3) +.L80242484: +/* EE0E44 80242484 8FBF0020 */ lw $ra, 0x20($sp) +/* EE0E48 80242488 8FB3001C */ lw $s3, 0x1c($sp) +/* EE0E4C 8024248C 8FB20018 */ lw $s2, 0x18($sp) +/* EE0E50 80242490 8FB10014 */ lw $s1, 0x14($sp) +/* EE0E54 80242494 8FB00010 */ lw $s0, 0x10($sp) +/* EE0E58 80242498 03E00008 */ jr $ra +/* EE0E5C 8024249C 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EDEA00/func_802424A0_EE0E60.s b/asm/nonmatchings/code_EDEA00/func_802424A0_EE0E60.s new file mode 100644 index 0000000000..4711189901 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_802424A0_EE0E60.s @@ -0,0 +1,97 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802424A0_EE0E60 +/* EE0E60 802424A0 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EE0E64 802424A4 AFB3003C */ sw $s3, 0x3c($sp) +/* EE0E68 802424A8 0080982D */ daddu $s3, $a0, $zero +/* EE0E6C 802424AC AFBF0040 */ sw $ra, 0x40($sp) +/* EE0E70 802424B0 AFB20038 */ sw $s2, 0x38($sp) +/* EE0E74 802424B4 AFB10034 */ sw $s1, 0x34($sp) +/* EE0E78 802424B8 AFB00030 */ sw $s0, 0x30($sp) +/* EE0E7C 802424BC 8E710148 */ lw $s1, 0x148($s3) +/* EE0E80 802424C0 0C00F92F */ jal func_8003E4BC +/* EE0E84 802424C4 86240008 */ lh $a0, 8($s1) +/* EE0E88 802424C8 0040802D */ daddu $s0, $v0, $zero +/* EE0E8C 802424CC 8E22007C */ lw $v0, 0x7c($s1) +/* EE0E90 802424D0 8603008E */ lh $v1, 0x8e($s0) +/* EE0E94 802424D4 2442FFFF */ addiu $v0, $v0, -1 +/* EE0E98 802424D8 14620012 */ bne $v1, $v0, .L80242524 +/* EE0E9C 802424DC 00000000 */ nop +/* EE0EA0 802424E0 C6000038 */ lwc1 $f0, 0x38($s0) +/* EE0EA4 802424E4 4600020D */ trunc.w.s $f8, $f0 +/* EE0EA8 802424E8 44024000 */ mfc1 $v0, $f8 +/* EE0EAC 802424EC 00000000 */ nop +/* EE0EB0 802424F0 A6220010 */ sh $v0, 0x10($s1) +/* EE0EB4 802424F4 C600003C */ lwc1 $f0, 0x3c($s0) +/* EE0EB8 802424F8 4600020D */ trunc.w.s $f8, $f0 +/* EE0EBC 802424FC 44024000 */ mfc1 $v0, $f8 +/* EE0EC0 80242500 00000000 */ nop +/* EE0EC4 80242504 A6220012 */ sh $v0, 0x12($s1) +/* EE0EC8 80242508 C6000040 */ lwc1 $f0, 0x40($s0) +/* EE0ECC 8024250C 24020001 */ addiu $v0, $zero, 1 +/* EE0ED0 80242510 A2220007 */ sb $v0, 7($s1) +/* EE0ED4 80242514 4600020D */ trunc.w.s $f8, $f0 +/* EE0ED8 80242518 44024000 */ mfc1 $v0, $f8 +/* EE0EDC 8024251C 00000000 */ nop +/* EE0EE0 80242520 A6220014 */ sh $v0, 0x14($s1) +.L80242524: +/* EE0EE4 80242524 C6000038 */ lwc1 $f0, 0x38($s0) +/* EE0EE8 80242528 C602003C */ lwc1 $f2, 0x3c($s0) +/* EE0EEC 8024252C C6040040 */ lwc1 $f4, 0x40($s0) +/* EE0EF0 80242530 C6060018 */ lwc1 $f6, 0x18($s0) +/* EE0EF4 80242534 E7A00020 */ swc1 $f0, 0x20($sp) +/* EE0EF8 80242538 E7A20024 */ swc1 $f2, 0x24($sp) +/* EE0EFC 8024253C E7A40028 */ swc1 $f4, 0x28($sp) +/* EE0F00 80242540 E7A60010 */ swc1 $f6, 0x10($sp) +/* EE0F04 80242544 C600000C */ lwc1 $f0, 0xc($s0) +/* EE0F08 80242548 E7A00014 */ swc1 $f0, 0x14($sp) +/* EE0F0C 8024254C 860200A8 */ lh $v0, 0xa8($s0) +/* EE0F10 80242550 27A50020 */ addiu $a1, $sp, 0x20 +/* EE0F14 80242554 44820000 */ mtc1 $v0, $f0 +/* EE0F18 80242558 00000000 */ nop +/* EE0F1C 8024255C 46800020 */ cvt.s.w $f0, $f0 +/* EE0F20 80242560 E7A00018 */ swc1 $f0, 0x18($sp) +/* EE0F24 80242564 860200A6 */ lh $v0, 0xa6($s0) +/* EE0F28 80242568 27A60024 */ addiu $a2, $sp, 0x24 +/* EE0F2C 8024256C 44820000 */ mtc1 $v0, $f0 +/* EE0F30 80242570 00000000 */ nop +/* EE0F34 80242574 46800020 */ cvt.s.w $f0, $f0 +/* EE0F38 80242578 E7A0001C */ swc1 $f0, 0x1c($sp) +/* EE0F3C 8024257C 8E040080 */ lw $a0, 0x80($s0) +/* EE0F40 80242580 0C0394C1 */ jal func_800E5304 +/* EE0F44 80242584 27A70028 */ addiu $a3, $sp, 0x28 +/* EE0F48 80242588 0040902D */ daddu $s2, $v0, $zero +/* EE0F4C 8024258C 16400005 */ bnez $s2, .L802425A4 +/* EE0F50 80242590 00000000 */ nop +/* EE0F54 80242594 8E050018 */ lw $a1, 0x18($s0) +/* EE0F58 80242598 8E06000C */ lw $a2, 0xc($s0) +/* EE0F5C 8024259C 0C00F909 */ jal func_8003E424 +/* EE0F60 802425A0 0200202D */ daddu $a0, $s0, $zero +.L802425A4: +/* EE0F64 802425A4 8602008E */ lh $v0, 0x8e($s0) +/* EE0F68 802425A8 9603008E */ lhu $v1, 0x8e($s0) +/* EE0F6C 802425AC 18400007 */ blez $v0, .L802425CC +/* EE0F70 802425B0 2462FFFF */ addiu $v0, $v1, -1 +/* EE0F74 802425B4 A602008E */ sh $v0, 0x8e($s0) +/* EE0F78 802425B8 00021400 */ sll $v0, $v0, 0x10 +/* EE0F7C 802425BC 18400003 */ blez $v0, .L802425CC +/* EE0F80 802425C0 00000000 */ nop +/* EE0F84 802425C4 12400008 */ beqz $s2, .L802425E8 +/* EE0F88 802425C8 00000000 */ nop +.L802425CC: +/* EE0F8C 802425CC 8E2200CC */ lw $v0, 0xcc($s1) +/* EE0F90 802425D0 A2200007 */ sb $zero, 7($s1) +/* EE0F94 802425D4 8C420028 */ lw $v0, 0x28($v0) +/* EE0F98 802425D8 A600008E */ sh $zero, 0x8e($s0) +/* EE0F9C 802425DC AE020028 */ sw $v0, 0x28($s0) +/* EE0FA0 802425E0 2402000F */ addiu $v0, $zero, 0xf +/* EE0FA4 802425E4 AE620070 */ sw $v0, 0x70($s3) +.L802425E8: +/* EE0FA8 802425E8 8FBF0040 */ lw $ra, 0x40($sp) +/* EE0FAC 802425EC 8FB3003C */ lw $s3, 0x3c($sp) +/* EE0FB0 802425F0 8FB20038 */ lw $s2, 0x38($sp) +/* EE0FB4 802425F4 8FB10034 */ lw $s1, 0x34($sp) +/* EE0FB8 802425F8 8FB00030 */ lw $s0, 0x30($sp) +/* EE0FBC 802425FC 03E00008 */ jr $ra +/* EE0FC0 80242600 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EDEA00/func_80242604_EE0FC4.s b/asm/nonmatchings/code_EDEA00/func_80242604_EE0FC4.s new file mode 100644 index 0000000000..bd4dbe01c6 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80242604_EE0FC4.s @@ -0,0 +1,38 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242604_EE0FC4 +/* EE0FC4 80242604 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EE0FC8 80242608 AFB10014 */ sw $s1, 0x14($sp) +/* EE0FCC 8024260C 0080882D */ daddu $s1, $a0, $zero +/* EE0FD0 80242610 AFBF0018 */ sw $ra, 0x18($sp) +/* EE0FD4 80242614 AFB00010 */ sw $s0, 0x10($sp) +/* EE0FD8 80242618 8E300148 */ lw $s0, 0x148($s1) +/* EE0FDC 8024261C 0C00F92F */ jal func_8003E4BC +/* EE0FE0 80242620 86040008 */ lh $a0, 8($s0) +/* EE0FE4 80242624 0040202D */ daddu $a0, $v0, $zero +/* EE0FE8 80242628 9482008E */ lhu $v0, 0x8e($a0) +/* EE0FEC 8024262C 24030003 */ addiu $v1, $zero, 3 +/* EE0FF0 80242630 24420001 */ addiu $v0, $v0, 1 +/* EE0FF4 80242634 A482008E */ sh $v0, 0x8e($a0) +/* EE0FF8 80242638 00021400 */ sll $v0, $v0, 0x10 +/* EE0FFC 8024263C 00021403 */ sra $v0, $v0, 0x10 +/* EE1000 80242640 14430003 */ bne $v0, $v1, .L80242650 +/* EE1004 80242644 00000000 */ nop +/* EE1008 80242648 96020086 */ lhu $v0, 0x86($s0) +/* EE100C 8024264C A48200A8 */ sh $v0, 0xa8($a0) +.L80242650: +/* EE1010 80242650 8482008E */ lh $v0, 0x8e($a0) +/* EE1014 80242654 8E030080 */ lw $v1, 0x80($s0) +/* EE1018 80242658 0043102A */ slt $v0, $v0, $v1 +/* EE101C 8024265C 14400004 */ bnez $v0, .L80242670 +/* EE1020 80242660 00000000 */ nop +/* EE1024 80242664 96020086 */ lhu $v0, 0x86($s0) +/* EE1028 80242668 A48200A8 */ sh $v0, 0xa8($a0) +/* EE102C 8024266C AE200070 */ sw $zero, 0x70($s1) +.L80242670: +/* EE1030 80242670 8FBF0018 */ lw $ra, 0x18($sp) +/* EE1034 80242674 8FB10014 */ lw $s1, 0x14($sp) +/* EE1038 80242678 8FB00010 */ lw $s0, 0x10($sp) +/* EE103C 8024267C 03E00008 */ jr $ra +/* EE1040 80242680 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EDEA00/func_80242684_EE1044.s b/asm/nonmatchings/code_EDEA00/func_80242684_EE1044.s new file mode 100644 index 0000000000..4fc25f4e35 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80242684_EE1044.s @@ -0,0 +1,312 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242684_EE1044 +/* EE1044 80242684 27BDFF90 */ addiu $sp, $sp, -0x70 +/* EE1048 80242688 AFB3005C */ sw $s3, 0x5c($sp) +/* EE104C 8024268C 0080982D */ daddu $s3, $a0, $zero +/* EE1050 80242690 AFBF0068 */ sw $ra, 0x68($sp) +/* EE1054 80242694 AFB50064 */ sw $s5, 0x64($sp) +/* EE1058 80242698 AFB40060 */ sw $s4, 0x60($sp) +/* EE105C 8024269C AFB20058 */ sw $s2, 0x58($sp) +/* EE1060 802426A0 AFB10054 */ sw $s1, 0x54($sp) +/* EE1064 802426A4 AFB00050 */ sw $s0, 0x50($sp) +/* EE1068 802426A8 8E710148 */ lw $s1, 0x148($s3) +/* EE106C 802426AC 86240008 */ lh $a0, 8($s1) +/* EE1070 802426B0 0C00F92F */ jal func_8003E4BC +/* EE1074 802426B4 00A0802D */ daddu $s0, $a1, $zero +/* EE1078 802426B8 8E63000C */ lw $v1, 0xc($s3) +/* EE107C 802426BC 0260202D */ daddu $a0, $s3, $zero +/* EE1080 802426C0 8C650000 */ lw $a1, ($v1) +/* EE1084 802426C4 0C0B53A3 */ jal func_802D4E8C +/* EE1088 802426C8 0040902D */ daddu $s2, $v0, $zero +/* EE108C 802426CC AFA00028 */ sw $zero, 0x28($sp) +/* EE1090 802426D0 8E2300D0 */ lw $v1, 0xd0($s1) +/* EE1094 802426D4 8C630030 */ lw $v1, 0x30($v1) +/* EE1098 802426D8 AFA3002C */ sw $v1, 0x2c($sp) +/* EE109C 802426DC 8E2300D0 */ lw $v1, 0xd0($s1) +/* EE10A0 802426E0 8C63001C */ lw $v1, 0x1c($v1) +/* EE10A4 802426E4 AFA30030 */ sw $v1, 0x30($sp) +/* EE10A8 802426E8 8E2300D0 */ lw $v1, 0xd0($s1) +/* EE10AC 802426EC 8C630024 */ lw $v1, 0x24($v1) +/* EE10B0 802426F0 AFA30034 */ sw $v1, 0x34($sp) +/* EE10B4 802426F4 8E2300D0 */ lw $v1, 0xd0($s1) +/* EE10B8 802426F8 8C630028 */ lw $v1, 0x28($v1) +/* EE10BC 802426FC AFA30038 */ sw $v1, 0x38($sp) +/* EE10C0 80242700 8E2300D0 */ lw $v1, 0xd0($s1) +/* EE10C4 80242704 3C0142C8 */ lui $at, 0x42c8 +/* EE10C8 80242708 44810000 */ mtc1 $at, $f0 +/* EE10CC 8024270C 8C63002C */ lw $v1, 0x2c($v1) +/* EE10D0 80242710 E7A00040 */ swc1 $f0, 0x40($sp) +/* EE10D4 80242714 A7A00044 */ sh $zero, 0x44($sp) +/* EE10D8 80242718 AFA3003C */ sw $v1, 0x3c($sp) +/* EE10DC 8024271C C6400038 */ lwc1 $f0, 0x38($s2) +/* EE10E0 80242720 E6200108 */ swc1 $f0, 0x108($s1) +/* EE10E4 80242724 C640003C */ lwc1 $f0, 0x3c($s2) +/* EE10E8 80242728 27B50028 */ addiu $s5, $sp, 0x28 +/* EE10EC 8024272C E620010C */ swc1 $f0, 0x10c($s1) +/* EE10F0 80242730 3C013C23 */ lui $at, 0x3c23 +/* EE10F4 80242734 3421D70A */ ori $at, $at, 0xd70a +/* EE10F8 80242738 44810000 */ mtc1 $at, $f0 +/* EE10FC 8024273C C6420040 */ lwc1 $f2, 0x40($s2) +/* EE1100 80242740 0040A02D */ daddu $s4, $v0, $zero +/* EE1104 80242744 E6200114 */ swc1 $f0, 0x114($s1) +/* EE1108 80242748 E6200118 */ swc1 $f0, 0x118($s1) +/* EE110C 8024274C 12000009 */ beqz $s0, .L80242774 +/* EE1110 80242750 E6220110 */ swc1 $f2, 0x110($s1) +/* EE1114 80242754 864300A8 */ lh $v1, 0xa8($s2) +/* EE1118 80242758 8E2200B0 */ lw $v0, 0xb0($s1) +/* EE111C 8024275C AE20008C */ sw $zero, 0x8c($s1) +/* EE1120 80242760 A22000B5 */ sb $zero, 0xb5($s1) +/* EE1124 80242764 34420008 */ ori $v0, $v0, 8 +/* EE1128 80242768 AE230084 */ sw $v1, 0x84($s1) +/* EE112C 8024276C 080909E1 */ j .L80242784 +/* EE1130 80242770 AE2200B0 */ sw $v0, 0xb0($s1) +.L80242774: +/* EE1134 80242774 8E2200B0 */ lw $v0, 0xb0($s1) +/* EE1138 80242778 30420004 */ andi $v0, $v0, 4 +/* EE113C 8024277C 10400047 */ beqz $v0, .L8024289C +/* EE1140 80242780 00000000 */ nop +.L80242784: +/* EE1144 80242784 AE600070 */ sw $zero, 0x70($s3) +/* EE1148 80242788 A640008E */ sh $zero, 0x8e($s2) +/* EE114C 8024278C 8E2300CC */ lw $v1, 0xcc($s1) +/* EE1150 80242790 2404F7FF */ addiu $a0, $zero, -0x801 +/* EE1154 80242794 A2200007 */ sb $zero, 7($s1) +/* EE1158 80242798 8E420000 */ lw $v0, ($s2) +/* EE115C 8024279C 8C630000 */ lw $v1, ($v1) +/* EE1160 802427A0 00441024 */ and $v0, $v0, $a0 +/* EE1164 802427A4 AE420000 */ sw $v0, ($s2) +/* EE1168 802427A8 AE430028 */ sw $v1, 0x28($s2) +/* EE116C 802427AC 96220086 */ lhu $v0, 0x86($s1) +/* EE1170 802427B0 A64200A8 */ sh $v0, 0xa8($s2) +/* EE1174 802427B4 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE1178 802427B8 AE200090 */ sw $zero, 0x90($s1) +/* EE117C 802427BC 8C420034 */ lw $v0, 0x34($v0) +/* EE1180 802427C0 14400006 */ bnez $v0, .L802427DC +/* EE1184 802427C4 2403FDFF */ addiu $v1, $zero, -0x201 +/* EE1188 802427C8 8E420000 */ lw $v0, ($s2) +/* EE118C 802427CC 2403FFF7 */ addiu $v1, $zero, -9 +/* EE1190 802427D0 34420200 */ ori $v0, $v0, 0x200 +/* EE1194 802427D4 080909FA */ j .L802427E8 +/* EE1198 802427D8 00431024 */ and $v0, $v0, $v1 +.L802427DC: +/* EE119C 802427DC 8E420000 */ lw $v0, ($s2) +/* EE11A0 802427E0 00431024 */ and $v0, $v0, $v1 +/* EE11A4 802427E4 34420008 */ ori $v0, $v0, 8 +.L802427E8: +/* EE11A8 802427E8 AE420000 */ sw $v0, ($s2) +/* EE11AC 802427EC 8E2200B0 */ lw $v0, 0xb0($s1) +/* EE11B0 802427F0 30420004 */ andi $v0, $v0, 4 +/* EE11B4 802427F4 1040001E */ beqz $v0, .L80242870 +/* EE11B8 802427F8 24040002 */ addiu $a0, $zero, 2 +/* EE11BC 802427FC 0240282D */ daddu $a1, $s2, $zero +/* EE11C0 80242800 0000302D */ daddu $a2, $zero, $zero +/* EE11C4 80242804 24020063 */ addiu $v0, $zero, 0x63 +/* EE11C8 80242808 AE620070 */ sw $v0, 0x70($s3) +/* EE11CC 8024280C AE600074 */ sw $zero, 0x74($s3) +/* EE11D0 80242810 864300A8 */ lh $v1, 0xa8($s2) +/* EE11D4 80242814 3C013F80 */ lui $at, 0x3f80 +/* EE11D8 80242818 44810000 */ mtc1 $at, $f0 +/* EE11DC 8024281C 3C014000 */ lui $at, 0x4000 +/* EE11E0 80242820 44811000 */ mtc1 $at, $f2 +/* EE11E4 80242824 3C01C1A0 */ lui $at, 0xc1a0 +/* EE11E8 80242828 44812000 */ mtc1 $at, $f4 +/* EE11EC 8024282C 24020028 */ addiu $v0, $zero, 0x28 +/* EE11F0 80242830 AFA2001C */ sw $v0, 0x1c($sp) +/* EE11F4 80242834 44833000 */ mtc1 $v1, $f6 +/* EE11F8 80242838 00000000 */ nop +/* EE11FC 8024283C 468031A0 */ cvt.s.w $f6, $f6 +/* EE1200 80242840 44073000 */ mfc1 $a3, $f6 +/* EE1204 80242844 27A20048 */ addiu $v0, $sp, 0x48 +/* EE1208 80242848 AFA20020 */ sw $v0, 0x20($sp) +/* EE120C 8024284C E7A00010 */ swc1 $f0, 0x10($sp) +/* EE1210 80242850 E7A20014 */ swc1 $f2, 0x14($sp) +/* EE1214 80242854 0C01D444 */ jal func_80075110 +/* EE1218 80242858 E7A40018 */ swc1 $f4, 0x18($sp) +/* EE121C 8024285C 8E2200B0 */ lw $v0, 0xb0($s1) +/* EE1220 80242860 2403FFFB */ addiu $v1, $zero, -5 +/* EE1224 80242864 00431024 */ and $v0, $v0, $v1 +/* EE1228 80242868 08090A27 */ j .L8024289C +/* EE122C 8024286C AE2200B0 */ sw $v0, 0xb0($s1) +.L80242870: +/* EE1230 80242870 8E220000 */ lw $v0, ($s1) +/* EE1234 80242874 3C034000 */ lui $v1, 0x4000 +/* EE1238 80242878 00431024 */ and $v0, $v0, $v1 +/* EE123C 8024287C 10400007 */ beqz $v0, .L8024289C +/* EE1240 80242880 3C03BFFF */ lui $v1, 0xbfff +/* EE1244 80242884 2402000C */ addiu $v0, $zero, 0xc +/* EE1248 80242888 AE620070 */ sw $v0, 0x70($s3) +/* EE124C 8024288C 8E220000 */ lw $v0, ($s1) +/* EE1250 80242890 3463FFFF */ ori $v1, $v1, 0xffff +/* EE1254 80242894 00431024 */ and $v0, $v0, $v1 +/* EE1258 80242898 AE220000 */ sw $v0, ($s1) +.L8024289C: +/* EE125C 8024289C 8E220090 */ lw $v0, 0x90($s1) +/* EE1260 802428A0 1840000C */ blez $v0, .L802428D4 +/* EE1264 802428A4 2442FFFF */ addiu $v0, $v0, -1 +/* EE1268 802428A8 14400087 */ bnez $v0, .L80242AC8 +/* EE126C 802428AC AE220090 */ sw $v0, 0x90($s1) +/* EE1270 802428B0 3C03FFAA */ lui $v1, 0xffaa +/* EE1274 802428B4 8E420028 */ lw $v0, 0x28($s2) +/* EE1278 802428B8 3463FFD2 */ ori $v1, $v1, 0xffd2 +/* EE127C 802428BC 00431021 */ addu $v0, $v0, $v1 +/* EE1280 802428C0 2C420002 */ sltiu $v0, $v0, 2 +/* EE1284 802428C4 10400003 */ beqz $v0, .L802428D4 +/* EE1288 802428C8 3C020055 */ lui $v0, 0x55 +/* EE128C 802428CC 3442000C */ ori $v0, $v0, 0xc +/* EE1290 802428D0 AE420028 */ sw $v0, 0x28($s2) +.L802428D4: +/* EE1294 802428D4 8E630070 */ lw $v1, 0x70($s3) +/* EE1298 802428D8 2402000C */ addiu $v0, $zero, 0xc +/* EE129C 802428DC 10620048 */ beq $v1, $v0, .L80242A00 +/* EE12A0 802428E0 2862000D */ slti $v0, $v1, 0xd +/* EE12A4 802428E4 1040000F */ beqz $v0, .L80242924 +/* EE12A8 802428E8 24100001 */ addiu $s0, $zero, 1 +/* EE12AC 802428EC 1070001E */ beq $v1, $s0, .L80242968 +/* EE12B0 802428F0 28620002 */ slti $v0, $v1, 2 +/* EE12B4 802428F4 10400005 */ beqz $v0, .L8024290C +/* EE12B8 802428F8 24020002 */ addiu $v0, $zero, 2 +/* EE12BC 802428FC 10600015 */ beqz $v1, .L80242954 +/* EE12C0 80242900 0260202D */ daddu $a0, $s3, $zero +/* EE12C4 80242904 08090A97 */ j .L80242A5C +/* EE12C8 80242908 00000000 */ nop +.L8024290C: +/* EE12CC 8024290C 1062001C */ beq $v1, $v0, .L80242980 +/* EE12D0 80242910 24020003 */ addiu $v0, $zero, 3 +/* EE12D4 80242914 10620035 */ beq $v1, $v0, .L802429EC +/* EE12D8 80242918 0260202D */ daddu $a0, $s3, $zero +/* EE12DC 8024291C 08090A97 */ j .L80242A5C +/* EE12E0 80242920 00000000 */ nop +.L80242924: +/* EE12E4 80242924 2402000E */ addiu $v0, $zero, 0xe +/* EE12E8 80242928 1062003F */ beq $v1, $v0, .L80242A28 +/* EE12EC 8024292C 0062102A */ slt $v0, $v1, $v0 +/* EE12F0 80242930 14400038 */ bnez $v0, .L80242A14 +/* EE12F4 80242934 0260202D */ daddu $a0, $s3, $zero +/* EE12F8 80242938 2402000F */ addiu $v0, $zero, 0xf +/* EE12FC 8024293C 10620040 */ beq $v1, $v0, .L80242A40 +/* EE1300 80242940 24020063 */ addiu $v0, $zero, 0x63 +/* EE1304 80242944 10620043 */ beq $v1, $v0, .L80242A54 +/* EE1308 80242948 00000000 */ nop +/* EE130C 8024294C 08090A97 */ j .L80242A5C +/* EE1310 80242950 00000000 */ nop +.L80242954: +/* EE1314 80242954 0280282D */ daddu $a1, $s4, $zero +/* EE1318 80242958 0C013670 */ jal func_8004D9C0 +/* EE131C 8024295C 02A0302D */ daddu $a2, $s5, $zero +/* EE1320 80242960 96220086 */ lhu $v0, 0x86($s1) +/* EE1324 80242964 A64200A8 */ sh $v0, 0xa8($s2) +.L80242968: +/* EE1328 80242968 0260202D */ daddu $a0, $s3, $zero +/* EE132C 8024296C 0280282D */ daddu $a1, $s4, $zero +/* EE1330 80242970 0C0136B6 */ jal func_8004DAD8 +/* EE1334 80242974 02A0302D */ daddu $a2, $s5, $zero +/* EE1338 80242978 08090A97 */ j .L80242A5C +/* EE133C 8024297C 00000000 */ nop +.L80242980: +/* EE1340 80242980 0260202D */ daddu $a0, $s3, $zero +/* EE1344 80242984 0280282D */ daddu $a1, $s4, $zero +/* EE1348 80242988 0C0137D9 */ jal func_8004DF64 +/* EE134C 8024298C 02A0302D */ daddu $a2, $s5, $zero +/* EE1350 80242990 8E230088 */ lw $v1, 0x88($s1) +/* EE1354 80242994 24020006 */ addiu $v0, $zero, 6 +/* EE1358 80242998 14620014 */ bne $v1, $v0, .L802429EC +/* EE135C 8024299C 0260202D */ daddu $a0, $s3, $zero +/* EE1360 802429A0 0C00AB3B */ jal func_8002ACEC +/* EE1364 802429A4 24040064 */ addiu $a0, $zero, 0x64 +/* EE1368 802429A8 28420021 */ slti $v0, $v0, 0x21 +/* EE136C 802429AC 5040000F */ beql $v0, $zero, .L802429EC +/* EE1370 802429B0 0260202D */ daddu $a0, $s3, $zero +/* EE1374 802429B4 8E22008C */ lw $v0, 0x8c($s1) +/* EE1378 802429B8 10400005 */ beqz $v0, .L802429D0 +/* EE137C 802429BC 3C020055 */ lui $v0, 0x55 +/* EE1380 802429C0 3442002F */ ori $v0, $v0, 0x2f +/* EE1384 802429C4 AE20008C */ sw $zero, 0x8c($s1) +/* EE1388 802429C8 08090A77 */ j .L802429DC +/* EE138C 802429CC A22000B5 */ sb $zero, 0xb5($s1) +.L802429D0: +/* EE1390 802429D0 3442002E */ ori $v0, $v0, 0x2e +/* EE1394 802429D4 AE30008C */ sw $s0, 0x8c($s1) +/* EE1398 802429D8 A23000B5 */ sb $s0, 0xb5($s1) +.L802429DC: +/* EE139C 802429DC AE420028 */ sw $v0, 0x28($s2) +/* EE13A0 802429E0 24020007 */ addiu $v0, $zero, 7 +/* EE13A4 802429E4 08090AB2 */ j .L80242AC8 +/* EE13A8 802429E8 AE220090 */ sw $v0, 0x90($s1) +.L802429EC: +/* EE13AC 802429EC 0280282D */ daddu $a1, $s4, $zero +/* EE13B0 802429F0 0C013809 */ jal func_8004E024 +/* EE13B4 802429F4 02A0302D */ daddu $a2, $s5, $zero +/* EE13B8 802429F8 08090A97 */ j .L80242A5C +/* EE13BC 802429FC 00000000 */ nop +.L80242A00: +/* EE13C0 80242A00 0260202D */ daddu $a0, $s3, $zero +/* EE13C4 80242A04 0280282D */ daddu $a1, $s4, $zero +/* EE13C8 80242A08 0C0908BC */ jal func_802422F0_EE0CB0 +/* EE13CC 80242A0C 02A0302D */ daddu $a2, $s5, $zero +/* EE13D0 80242A10 0260202D */ daddu $a0, $s3, $zero +.L80242A14: +/* EE13D4 80242A14 0280282D */ daddu $a1, $s4, $zero +/* EE13D8 80242A18 0C0908DB */ jal func_8024236C_EE0D2C +/* EE13DC 80242A1C 02A0302D */ daddu $a2, $s5, $zero +/* EE13E0 80242A20 08090A97 */ j .L80242A5C +/* EE13E4 80242A24 00000000 */ nop +.L80242A28: +/* EE13E8 80242A28 0260202D */ daddu $a0, $s3, $zero +/* EE13EC 80242A2C 0280282D */ daddu $a1, $s4, $zero +/* EE13F0 80242A30 0C090928 */ jal func_802424A0_EE0E60 +/* EE13F4 80242A34 02A0302D */ daddu $a2, $s5, $zero +/* EE13F8 80242A38 08090A97 */ j .L80242A5C +/* EE13FC 80242A3C 00000000 */ nop +.L80242A40: +/* EE1400 80242A40 0280282D */ daddu $a1, $s4, $zero +/* EE1404 80242A44 0C090981 */ jal func_80242604_EE0FC4 +/* EE1408 80242A48 02A0302D */ daddu $a2, $s5, $zero +/* EE140C 80242A4C 08090A97 */ j .L80242A5C +/* EE1410 80242A50 00000000 */ nop +.L80242A54: +/* EE1414 80242A54 0C013AE3 */ jal func_8004EB8C +/* EE1418 80242A58 0260202D */ daddu $a0, $s3, $zero +.L80242A5C: +/* EE141C 80242A5C 8E230088 */ lw $v1, 0x88($s1) +/* EE1420 80242A60 24020006 */ addiu $v0, $zero, 6 +/* EE1424 80242A64 14620019 */ bne $v1, $v0, .L80242ACC +/* EE1428 80242A68 0000102D */ daddu $v0, $zero, $zero +/* EE142C 80242A6C 8E22008C */ lw $v0, 0x8c($s1) +/* EE1430 80242A70 10400003 */ beqz $v0, .L80242A80 +/* EE1434 80242A74 24020001 */ addiu $v0, $zero, 1 +/* EE1438 80242A78 08090AA1 */ j .L80242A84 +/* EE143C 80242A7C A22200B5 */ sb $v0, 0xb5($s1) +.L80242A80: +/* EE1440 80242A80 A22000B5 */ sb $zero, 0xb5($s1) +.L80242A84: +/* EE1444 80242A84 8E22008C */ lw $v0, 0x8c($s1) +/* EE1448 80242A88 1040000F */ beqz $v0, .L80242AC8 +/* EE144C 80242A8C 3C03FFAA */ lui $v1, 0xffaa +/* EE1450 80242A90 8E420028 */ lw $v0, 0x28($s2) +/* EE1454 80242A94 3463FFFC */ ori $v1, $v1, 0xfffc +/* EE1458 80242A98 00431821 */ addu $v1, $v0, $v1 +/* EE145C 80242A9C 2C620015 */ sltiu $v0, $v1, 0x15 +/* EE1460 80242AA0 10400009 */ beqz $v0, .L80242AC8 +/* EE1464 80242AA4 00031080 */ sll $v0, $v1, 2 +/* EE1468 80242AA8 3C018024 */ lui $at, %hi(D_80247B58) +/* EE146C 80242AAC 00220821 */ addu $at, $at, $v0 +/* EE1470 80242AB0 8C227B58 */ lw $v0, %lo(D_80247B58)($at) +/* EE1474 80242AB4 00400008 */ jr $v0 +/* EE1478 80242AB8 00000000 */ nop +/* EE147C 80242ABC 8E420028 */ lw $v0, 0x28($s2) +/* EE1480 80242AC0 24420001 */ addiu $v0, $v0, 1 +/* EE1484 80242AC4 AE420028 */ sw $v0, 0x28($s2) +.L80242AC8: +/* EE1488 80242AC8 0000102D */ daddu $v0, $zero, $zero +.L80242ACC: +/* EE148C 80242ACC 8FBF0068 */ lw $ra, 0x68($sp) +/* EE1490 80242AD0 8FB50064 */ lw $s5, 0x64($sp) +/* EE1494 80242AD4 8FB40060 */ lw $s4, 0x60($sp) +/* EE1498 80242AD8 8FB3005C */ lw $s3, 0x5c($sp) +/* EE149C 80242ADC 8FB20058 */ lw $s2, 0x58($sp) +/* EE14A0 80242AE0 8FB10054 */ lw $s1, 0x54($sp) +/* EE14A4 80242AE4 8FB00050 */ lw $s0, 0x50($sp) +/* EE14A8 80242AE8 03E00008 */ jr $ra +/* EE14AC 80242AEC 27BD0070 */ addiu $sp, $sp, 0x70 diff --git a/asm/nonmatchings/code_EDEA00/func_80242AF0_EE14B0.s b/asm/nonmatchings/code_EDEA00/func_80242AF0_EE14B0.s new file mode 100644 index 0000000000..f100cb618f --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80242AF0_EE14B0.s @@ -0,0 +1,627 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242AF0_EE14B0 +/* EE14B0 80242AF0 27BDFF68 */ addiu $sp, $sp, -0x98 +/* EE14B4 80242AF4 AFB5007C */ sw $s5, 0x7c($sp) +/* EE14B8 80242AF8 0080A82D */ daddu $s5, $a0, $zero +/* EE14BC 80242AFC AFBF0080 */ sw $ra, 0x80($sp) +/* EE14C0 80242B00 AFB40078 */ sw $s4, 0x78($sp) +/* EE14C4 80242B04 AFB30074 */ sw $s3, 0x74($sp) +/* EE14C8 80242B08 AFB20070 */ sw $s2, 0x70($sp) +/* EE14CC 80242B0C AFB1006C */ sw $s1, 0x6c($sp) +/* EE14D0 80242B10 AFB00068 */ sw $s0, 0x68($sp) +/* EE14D4 80242B14 F7B60090 */ sdc1 $f22, 0x90($sp) +/* EE14D8 80242B18 F7B40088 */ sdc1 $f20, 0x88($sp) +/* EE14DC 80242B1C 8EB20148 */ lw $s2, 0x148($s5) +/* EE14E0 80242B20 86440008 */ lh $a0, 8($s2) +/* EE14E4 80242B24 0C00F92F */ jal func_8003E4BC +/* EE14E8 80242B28 00A0802D */ daddu $s0, $a1, $zero +/* EE14EC 80242B2C 8EA3000C */ lw $v1, 0xc($s5) +/* EE14F0 80242B30 02A0202D */ daddu $a0, $s5, $zero +/* EE14F4 80242B34 8C650000 */ lw $a1, ($v1) +/* EE14F8 80242B38 0C0B53A3 */ jal func_802D4E8C +/* EE14FC 80242B3C 0040882D */ daddu $s1, $v0, $zero +/* EE1500 80242B40 AFA00028 */ sw $zero, 0x28($sp) +/* EE1504 80242B44 8E4300D0 */ lw $v1, 0xd0($s2) +/* EE1508 80242B48 8C630030 */ lw $v1, 0x30($v1) +/* EE150C 80242B4C AFA3002C */ sw $v1, 0x2c($sp) +/* EE1510 80242B50 8E4300D0 */ lw $v1, 0xd0($s2) +/* EE1514 80242B54 8C63001C */ lw $v1, 0x1c($v1) +/* EE1518 80242B58 AFA30030 */ sw $v1, 0x30($sp) +/* EE151C 80242B5C 8E4300D0 */ lw $v1, 0xd0($s2) +/* EE1520 80242B60 8C630024 */ lw $v1, 0x24($v1) +/* EE1524 80242B64 AFA30034 */ sw $v1, 0x34($sp) +/* EE1528 80242B68 8E4300D0 */ lw $v1, 0xd0($s2) +/* EE152C 80242B6C 8C630028 */ lw $v1, 0x28($v1) +/* EE1530 80242B70 AFA30038 */ sw $v1, 0x38($sp) +/* EE1534 80242B74 8E4300D0 */ lw $v1, 0xd0($s2) +/* EE1538 80242B78 3C014282 */ lui $at, 0x4282 +/* EE153C 80242B7C 44810000 */ mtc1 $at, $f0 +/* EE1540 80242B80 8C63002C */ lw $v1, 0x2c($v1) +/* EE1544 80242B84 E7A00040 */ swc1 $f0, 0x40($sp) +/* EE1548 80242B88 A7A00044 */ sh $zero, 0x44($sp) +/* EE154C 80242B8C AFA3003C */ sw $v1, 0x3c($sp) +/* EE1550 80242B90 C6200038 */ lwc1 $f0, 0x38($s1) +/* EE1554 80242B94 E6400108 */ swc1 $f0, 0x108($s2) +/* EE1558 80242B98 C620003C */ lwc1 $f0, 0x3c($s1) +/* EE155C 80242B9C 27B40028 */ addiu $s4, $sp, 0x28 +/* EE1560 80242BA0 E640010C */ swc1 $f0, 0x10c($s2) +/* EE1564 80242BA4 3C0138D1 */ lui $at, 0x38d1 +/* EE1568 80242BA8 3421B717 */ ori $at, $at, 0xb717 +/* EE156C 80242BAC 44810000 */ mtc1 $at, $f0 +/* EE1570 80242BB0 C6220040 */ lwc1 $f2, 0x40($s1) +/* EE1574 80242BB4 0040982D */ daddu $s3, $v0, $zero +/* EE1578 80242BB8 E6400114 */ swc1 $f0, 0x114($s2) +/* EE157C 80242BBC E6400118 */ swc1 $f0, 0x118($s2) +/* EE1580 80242BC0 12000007 */ beqz $s0, .L80242BE0 +/* EE1584 80242BC4 E6420110 */ swc1 $f2, 0x110($s2) +/* EE1588 80242BC8 8E4200B0 */ lw $v0, 0xb0($s2) +/* EE158C 80242BCC 862300A8 */ lh $v1, 0xa8($s1) +/* EE1590 80242BD0 34420008 */ ori $v0, $v0, 8 +/* EE1594 80242BD4 AE430084 */ sw $v1, 0x84($s2) +/* EE1598 80242BD8 08090AFC */ j .L80242BF0 +/* EE159C 80242BDC AE4200B0 */ sw $v0, 0xb0($s2) +.L80242BE0: +/* EE15A0 80242BE0 8E430094 */ lw $v1, 0x94($s2) +/* EE15A4 80242BE4 24020064 */ addiu $v0, $zero, 0x64 +/* EE15A8 80242BE8 1462001C */ bne $v1, $v0, .L80242C5C +/* EE15AC 80242BEC 00000000 */ nop +.L80242BF0: +/* EE15B0 80242BF0 24020064 */ addiu $v0, $zero, 0x64 +/* EE15B4 80242BF4 2404F7FF */ addiu $a0, $zero, -0x801 +/* EE15B8 80242BF8 AEA20070 */ sw $v0, 0x70($s5) +/* EE15BC 80242BFC A620008E */ sh $zero, 0x8e($s1) +/* EE15C0 80242C00 8E4300CC */ lw $v1, 0xcc($s2) +/* EE15C4 80242C04 8E220000 */ lw $v0, ($s1) +/* EE15C8 80242C08 3C01C47A */ lui $at, 0xc47a +/* EE15CC 80242C0C 44810000 */ mtc1 $at, $f0 +/* EE15D0 80242C10 8C630000 */ lw $v1, ($v1) +/* EE15D4 80242C14 00441024 */ and $v0, $v0, $a0 +/* EE15D8 80242C18 AE220000 */ sw $v0, ($s1) +/* EE15DC 80242C1C AE230028 */ sw $v1, 0x28($s1) +/* EE15E0 80242C20 8E420000 */ lw $v0, ($s2) +/* EE15E4 80242C24 3C030020 */ lui $v1, 0x20 +/* EE15E8 80242C28 00431025 */ or $v0, $v0, $v1 +/* EE15EC 80242C2C AE420000 */ sw $v0, ($s2) +/* EE15F0 80242C30 8E220000 */ lw $v0, ($s1) +/* EE15F4 80242C34 2403FDFF */ addiu $v1, $zero, -0x201 +/* EE15F8 80242C38 00431024 */ and $v0, $v0, $v1 +/* EE15FC 80242C3C 34420008 */ ori $v0, $v0, 8 +/* EE1600 80242C40 AE220000 */ sw $v0, ($s1) +/* EE1604 80242C44 2402FFFF */ addiu $v0, $zero, -1 +/* EE1608 80242C48 AE400094 */ sw $zero, 0x94($s2) +/* EE160C 80242C4C AE420098 */ sw $v0, 0x98($s2) +/* EE1610 80242C50 AE200038 */ sw $zero, 0x38($s1) +/* EE1614 80242C54 E620003C */ swc1 $f0, 0x3c($s1) +/* EE1618 80242C58 AE200040 */ sw $zero, 0x40($s1) +.L80242C5C: +/* EE161C 80242C5C 8E4200B0 */ lw $v0, 0xb0($s2) +/* EE1620 80242C60 30420004 */ andi $v0, $v0, 4 +/* EE1624 80242C64 10400030 */ beqz $v0, .L80242D28 +/* EE1628 80242C68 2403FFFB */ addiu $v1, $zero, -5 +/* EE162C 80242C6C A620008E */ sh $zero, 0x8e($s1) +/* EE1630 80242C70 96420086 */ lhu $v0, 0x86($s2) +/* EE1634 80242C74 A62200A8 */ sh $v0, 0xa8($s1) +/* EE1638 80242C78 8E4200B0 */ lw $v0, 0xb0($s2) +/* EE163C 80242C7C 00431024 */ and $v0, $v0, $v1 +/* EE1640 80242C80 AE4200B0 */ sw $v0, 0xb0($s2) +/* EE1644 80242C84 8E220000 */ lw $v0, ($s1) +/* EE1648 80242C88 30420800 */ andi $v0, $v0, 0x800 +/* EE164C 80242C8C 1040000A */ beqz $v0, .L80242CB8 +/* EE1650 80242C90 3C02004A */ lui $v0, 0x4a +/* EE1654 80242C94 3C013F80 */ lui $at, 0x3f80 +/* EE1658 80242C98 44810000 */ mtc1 $at, $f0 +/* EE165C 80242C9C 34420018 */ ori $v0, $v0, 0x18 +/* EE1660 80242CA0 AE220028 */ sw $v0, 0x28($s1) +/* EE1664 80242CA4 24020066 */ addiu $v0, $zero, 0x66 +/* EE1668 80242CA8 AE200018 */ sw $zero, 0x18($s1) +/* EE166C 80242CAC AE20001C */ sw $zero, 0x1c($s1) +/* EE1670 80242CB0 08090B49 */ j .L80242D24 +/* EE1674 80242CB4 E6200014 */ swc1 $f0, 0x14($s1) +.L80242CB8: +/* EE1678 80242CB8 24040002 */ addiu $a0, $zero, 2 +/* EE167C 80242CBC 0220282D */ daddu $a1, $s1, $zero +/* EE1680 80242CC0 0000302D */ daddu $a2, $zero, $zero +/* EE1684 80242CC4 862300A8 */ lh $v1, 0xa8($s1) +/* EE1688 80242CC8 3C013F80 */ lui $at, 0x3f80 +/* EE168C 80242CCC 44810000 */ mtc1 $at, $f0 +/* EE1690 80242CD0 3C014000 */ lui $at, 0x4000 +/* EE1694 80242CD4 44811000 */ mtc1 $at, $f2 +/* EE1698 80242CD8 3C01C1A0 */ lui $at, 0xc1a0 +/* EE169C 80242CDC 44812000 */ mtc1 $at, $f4 +/* EE16A0 80242CE0 24020028 */ addiu $v0, $zero, 0x28 +/* EE16A4 80242CE4 AFA2001C */ sw $v0, 0x1c($sp) +/* EE16A8 80242CE8 44834000 */ mtc1 $v1, $f8 +/* EE16AC 80242CEC 00000000 */ nop +/* EE16B0 80242CF0 46804220 */ cvt.s.w $f8, $f8 +/* EE16B4 80242CF4 44074000 */ mfc1 $a3, $f8 +/* EE16B8 80242CF8 27A20048 */ addiu $v0, $sp, 0x48 +/* EE16BC 80242CFC AFA20020 */ sw $v0, 0x20($sp) +/* EE16C0 80242D00 E7A00010 */ swc1 $f0, 0x10($sp) +/* EE16C4 80242D04 E7A20014 */ swc1 $f2, 0x14($sp) +/* EE16C8 80242D08 0C01D444 */ jal func_80075110 +/* EE16CC 80242D0C E7A40018 */ swc1 $f4, 0x18($sp) +/* EE16D0 80242D10 8E4200CC */ lw $v0, 0xcc($s2) +/* EE16D4 80242D14 8C420000 */ lw $v0, ($v0) +/* EE16D8 80242D18 AE220028 */ sw $v0, 0x28($s1) +/* EE16DC 80242D1C 240200C8 */ addiu $v0, $zero, 0xc8 +/* EE16E0 80242D20 AEA00074 */ sw $zero, 0x74($s5) +.L80242D24: +/* EE16E4 80242D24 AEA20070 */ sw $v0, 0x70($s5) +.L80242D28: +/* EE16E8 80242D28 27A2004C */ addiu $v0, $sp, 0x4c +/* EE16EC 80242D2C AFA20010 */ sw $v0, 0x10($sp) +/* EE16F0 80242D30 27A20050 */ addiu $v0, $sp, 0x50 +/* EE16F4 80242D34 AFA20014 */ sw $v0, 0x14($sp) +/* EE16F8 80242D38 27A20054 */ addiu $v0, $sp, 0x54 +/* EE16FC 80242D3C AFA20018 */ sw $v0, 0x18($sp) +/* EE1700 80242D40 8E250038 */ lw $a1, 0x38($s1) +/* EE1704 80242D44 8E26003C */ lw $a2, 0x3c($s1) +/* EE1708 80242D48 8E270040 */ lw $a3, 0x40($s1) +/* EE170C 80242D4C 0C00BF2F */ jal func_8002FCBC +/* EE1710 80242D50 0000202D */ daddu $a0, $zero, $zero +/* EE1714 80242D54 8EA20070 */ lw $v0, 0x70($s5) +/* EE1718 80242D58 28420064 */ slti $v0, $v0, 0x64 +/* EE171C 80242D5C 10400007 */ beqz $v0, .L80242D7C +/* EE1720 80242D60 00000000 */ nop +/* EE1724 80242D64 8FA2004C */ lw $v0, 0x4c($sp) +/* EE1728 80242D68 24420032 */ addiu $v0, $v0, 0x32 +/* EE172C 80242D6C 2C4201A5 */ sltiu $v0, $v0, 0x1a5 +/* EE1730 80242D70 14400002 */ bnez $v0, .L80242D7C +/* EE1734 80242D74 2402006E */ addiu $v0, $zero, 0x6e +/* EE1738 80242D78 AEA20070 */ sw $v0, 0x70($s5) +.L80242D7C: +/* EE173C 80242D7C 8EA30070 */ lw $v1, 0x70($s5) +/* EE1740 80242D80 2402000F */ addiu $v0, $zero, 0xf +/* EE1744 80242D84 1062006B */ beq $v1, $v0, .L80242F34 +/* EE1748 80242D88 28620010 */ slti $v0, $v1, 0x10 +/* EE174C 80242D8C 10400016 */ beqz $v0, .L80242DE8 +/* EE1750 80242D90 24020003 */ addiu $v0, $zero, 3 +/* EE1754 80242D94 10620051 */ beq $v1, $v0, .L80242EDC +/* EE1758 80242D98 28620004 */ slti $v0, $v1, 4 +/* EE175C 80242D9C 10400009 */ beqz $v0, .L80242DC4 +/* EE1760 80242DA0 24020001 */ addiu $v0, $zero, 1 +/* EE1764 80242DA4 10620044 */ beq $v1, $v0, .L80242EB8 +/* EE1768 80242DA8 28620002 */ slti $v0, $v1, 2 +/* EE176C 80242DAC 50400048 */ beql $v0, $zero, .L80242ED0 +/* EE1770 80242DB0 02A0202D */ daddu $a0, $s5, $zero +/* EE1774 80242DB4 50600027 */ beql $v1, $zero, .L80242E54 +/* EE1778 80242DB8 02A0202D */ daddu $a0, $s5, $zero +/* EE177C 80242DBC 08090CFA */ j .L802433E8 +/* EE1780 80242DC0 00000000 */ nop +.L80242DC4: +/* EE1784 80242DC4 2402000D */ addiu $v0, $zero, 0xd +/* EE1788 80242DC8 1062004D */ beq $v1, $v0, .L80242F00 +/* EE178C 80242DCC 2862000E */ slti $v0, $v1, 0xe +/* EE1790 80242DD0 10400052 */ beqz $v0, .L80242F1C +/* EE1794 80242DD4 2402000C */ addiu $v0, $zero, 0xc +/* EE1798 80242DD8 10620046 */ beq $v1, $v0, .L80242EF4 +/* EE179C 80242DDC 02A0202D */ daddu $a0, $s5, $zero +/* EE17A0 80242DE0 08090CFA */ j .L802433E8 +/* EE17A4 80242DE4 00000000 */ nop +.L80242DE8: +/* EE17A8 80242DE8 24020067 */ addiu $v0, $zero, 0x67 +/* EE17AC 80242DEC 10620158 */ beq $v1, $v0, .L80243350 +/* EE17B0 80242DF0 28620068 */ slti $v0, $v1, 0x68 +/* EE17B4 80242DF4 10400009 */ beqz $v0, .L80242E1C +/* EE17B8 80242DF8 24020065 */ addiu $v0, $zero, 0x65 +/* EE17BC 80242DFC 1062008F */ beq $v1, $v0, .L8024303C +/* EE17C0 80242E00 28620066 */ slti $v0, $v1, 0x66 +/* EE17C4 80242E04 104000A9 */ beqz $v0, .L802430AC +/* EE17C8 80242E08 24020064 */ addiu $v0, $zero, 0x64 +/* EE17CC 80242E0C 1062004F */ beq $v1, $v0, .L80242F4C +/* EE17D0 80242E10 24020002 */ addiu $v0, $zero, 2 +/* EE17D4 80242E14 08090CFA */ j .L802433E8 +/* EE17D8 80242E18 00000000 */ nop +.L80242E1C: +/* EE17DC 80242E1C 2404006F */ addiu $a0, $zero, 0x6f +/* EE17E0 80242E20 10640166 */ beq $v1, $a0, .L802433BC +/* EE17E4 80242E24 28620070 */ slti $v0, $v1, 0x70 +/* EE17E8 80242E28 10400005 */ beqz $v0, .L80242E40 +/* EE17EC 80242E2C 2402006E */ addiu $v0, $zero, 0x6e +/* EE17F0 80242E30 10620156 */ beq $v1, $v0, .L8024338C +/* EE17F4 80242E34 2402001E */ addiu $v0, $zero, 0x1e +/* EE17F8 80242E38 08090CFA */ j .L802433E8 +/* EE17FC 80242E3C 00000000 */ nop +.L80242E40: +/* EE1800 80242E40 240200C8 */ addiu $v0, $zero, 0xc8 +/* EE1804 80242E44 10620166 */ beq $v1, $v0, .L802433E0 +/* EE1808 80242E48 00000000 */ nop +/* EE180C 80242E4C 08090CFA */ j .L802433E8 +/* EE1810 80242E50 00000000 */ nop +.L80242E54: +/* EE1814 80242E54 0260282D */ daddu $a1, $s3, $zero +/* EE1818 80242E58 0C013670 */ jal func_8004D9C0 +/* EE181C 80242E5C 0280302D */ daddu $a2, $s4, $zero +/* EE1820 80242E60 96420086 */ lhu $v0, 0x86($s2) +/* EE1824 80242E64 A62200A8 */ sh $v0, 0xa8($s1) +/* EE1828 80242E68 8E4200A0 */ lw $v0, 0xa0($s2) +/* EE182C 80242E6C 10400013 */ beqz $v0, .L80242EBC +/* EE1830 80242E70 02A0202D */ daddu $a0, $s5, $zero +/* EE1834 80242E74 C620003C */ lwc1 $f0, 0x3c($s1) +/* EE1838 80242E78 44801000 */ mtc1 $zero, $f2 +/* EE183C 80242E7C 44801800 */ mtc1 $zero, $f3 +/* EE1840 80242E80 46000021 */ cvt.d.s $f0, $f0 +/* EE1844 80242E84 4622003E */ c.le.d $f0, $f2 +/* EE1848 80242E88 00000000 */ nop +/* EE184C 80242E8C 45000005 */ bc1f .L80242EA4 +/* EE1850 80242E90 2403FDFF */ addiu $v1, $zero, -0x201 +/* EE1854 80242E94 8E220000 */ lw $v0, ($s1) +/* EE1858 80242E98 00431024 */ and $v0, $v0, $v1 +/* EE185C 80242E9C 08090BAD */ j .L80242EB4 +/* EE1860 80242EA0 34420008 */ ori $v0, $v0, 8 +.L80242EA4: +/* EE1864 80242EA4 8E220000 */ lw $v0, ($s1) +/* EE1868 80242EA8 2403FFF7 */ addiu $v1, $zero, -9 +/* EE186C 80242EAC 34420200 */ ori $v0, $v0, 0x200 +/* EE1870 80242EB0 00431024 */ and $v0, $v0, $v1 +.L80242EB4: +/* EE1874 80242EB4 AE220000 */ sw $v0, ($s1) +.L80242EB8: +/* EE1878 80242EB8 02A0202D */ daddu $a0, $s5, $zero +.L80242EBC: +/* EE187C 80242EBC 0260282D */ daddu $a1, $s3, $zero +/* EE1880 80242EC0 0C0136B6 */ jal func_8004DAD8 +/* EE1884 80242EC4 0280302D */ daddu $a2, $s4, $zero +/* EE1888 80242EC8 08090CFA */ j .L802433E8 +/* EE188C 80242ECC 00000000 */ nop +.L80242ED0: +/* EE1890 80242ED0 0260282D */ daddu $a1, $s3, $zero +/* EE1894 80242ED4 0C0137D9 */ jal func_8004DF64 +/* EE1898 80242ED8 0280302D */ daddu $a2, $s4, $zero +.L80242EDC: +/* EE189C 80242EDC 02A0202D */ daddu $a0, $s5, $zero +/* EE18A0 80242EE0 0260282D */ daddu $a1, $s3, $zero +/* EE18A4 80242EE4 0C013809 */ jal func_8004E024 +/* EE18A8 80242EE8 0280302D */ daddu $a2, $s4, $zero +/* EE18AC 80242EEC 08090CFA */ j .L802433E8 +/* EE18B0 80242EF0 00000000 */ nop +.L80242EF4: +/* EE18B4 80242EF4 0260282D */ daddu $a1, $s3, $zero +/* EE18B8 80242EF8 0C0908BC */ jal func_802422F0_EE0CB0 +/* EE18BC 80242EFC 0280302D */ daddu $a2, $s4, $zero +.L80242F00: +/* EE18C0 80242F00 02A0202D */ daddu $a0, $s5, $zero +/* EE18C4 80242F04 0260282D */ daddu $a1, $s3, $zero +/* EE18C8 80242F08 0C0908DB */ jal func_8024236C_EE0D2C +/* EE18CC 80242F0C 0280302D */ daddu $a2, $s4, $zero +/* EE18D0 80242F10 96420086 */ lhu $v0, 0x86($s2) +/* EE18D4 80242F14 08090CFA */ j .L802433E8 +/* EE18D8 80242F18 A62200A8 */ sh $v0, 0xa8($s1) +.L80242F1C: +/* EE18DC 80242F1C 02A0202D */ daddu $a0, $s5, $zero +/* EE18E0 80242F20 0260282D */ daddu $a1, $s3, $zero +/* EE18E4 80242F24 0C090928 */ jal func_802424A0_EE0E60 +/* EE18E8 80242F28 0280302D */ daddu $a2, $s4, $zero +/* EE18EC 80242F2C 08090CFA */ j .L802433E8 +/* EE18F0 80242F30 00000000 */ nop +.L80242F34: +/* EE18F4 80242F34 02A0202D */ daddu $a0, $s5, $zero +/* EE18F8 80242F38 0260282D */ daddu $a1, $s3, $zero +/* EE18FC 80242F3C 0C090981 */ jal func_80242604_EE0FC4 +/* EE1900 80242F40 0280302D */ daddu $a2, $s4, $zero +/* EE1904 80242F44 08090CFA */ j .L802433E8 +/* EE1908 80242F48 00000000 */ nop +.L80242F4C: +/* EE190C 80242F4C 8E430094 */ lw $v1, 0x94($s2) +/* EE1910 80242F50 14620125 */ bne $v1, $v0, .L802433E8 +/* EE1914 80242F54 00000000 */ nop +/* EE1918 80242F58 0C010ABD */ jal func_80042AF4 +/* EE191C 80242F5C 8E440098 */ lw $a0, 0x98($s2) +/* EE1920 80242F60 0C00F92F */ jal func_8003E4BC +/* EE1924 80242F64 84440008 */ lh $a0, 8($v0) +/* EE1928 80242F68 C440000C */ lwc1 $f0, 0xc($v0) +/* EE192C 80242F6C 3C018024 */ lui $at, %hi(D_80247BB0) +/* EE1930 80242F70 D4227BB0 */ ldc1 $f2, %lo(D_80247BB0)($at) +/* EE1934 80242F74 46000021 */ cvt.d.s $f0, $f0 +/* EE1938 80242F78 4622003C */ c.lt.d $f0, $f2 +/* EE193C 80242F7C 00000000 */ nop +/* EE1940 80242F80 45000008 */ bc1f .L80242FA4 +/* EE1944 80242F84 00000000 */ nop +/* EE1948 80242F88 C4400038 */ lwc1 $f0, 0x38($v0) +/* EE194C 80242F8C 3C014028 */ lui $at, 0x4028 +/* EE1950 80242F90 44811800 */ mtc1 $at, $f3 +/* EE1954 80242F94 44801000 */ mtc1 $zero, $f2 +/* EE1958 80242F98 46000021 */ cvt.d.s $f0, $f0 +/* EE195C 80242F9C 08090BEF */ j .L80242FBC +/* EE1960 80242FA0 46220000 */ add.d $f0, $f0, $f2 +.L80242FA4: +/* EE1964 80242FA4 C4400038 */ lwc1 $f0, 0x38($v0) +/* EE1968 80242FA8 3C014028 */ lui $at, 0x4028 +/* EE196C 80242FAC 44811800 */ mtc1 $at, $f3 +/* EE1970 80242FB0 44801000 */ mtc1 $zero, $f2 +/* EE1974 80242FB4 46000021 */ cvt.d.s $f0, $f0 +/* EE1978 80242FB8 46220001 */ sub.d $f0, $f0, $f2 +.L80242FBC: +/* EE197C 80242FBC 46200020 */ cvt.s.d $f0, $f0 +/* EE1980 80242FC0 E6200038 */ swc1 $f0, 0x38($s1) +/* EE1984 80242FC4 3C04004A */ lui $a0, 0x4a +/* EE1988 80242FC8 C440003C */ lwc1 $f0, 0x3c($v0) +/* EE198C 80242FCC 3C014039 */ lui $at, 0x4039 +/* EE1990 80242FD0 44811800 */ mtc1 $at, $f3 +/* EE1994 80242FD4 44801000 */ mtc1 $zero, $f2 +/* EE1998 80242FD8 46000021 */ cvt.d.s $f0, $f0 +/* EE199C 80242FDC 46220000 */ add.d $f0, $f0, $f2 +/* EE19A0 80242FE0 34840018 */ ori $a0, $a0, 0x18 +/* EE19A4 80242FE4 3C013FF0 */ lui $at, 0x3ff0 +/* EE19A8 80242FE8 44811800 */ mtc1 $at, $f3 +/* EE19AC 80242FEC 44801000 */ mtc1 $zero, $f2 +/* EE19B0 80242FF0 46200020 */ cvt.s.d $f0, $f0 +/* EE19B4 80242FF4 E620003C */ swc1 $f0, 0x3c($s1) +/* EE19B8 80242FF8 C4400040 */ lwc1 $f0, 0x40($v0) +/* EE19BC 80242FFC 8E220000 */ lw $v0, ($s1) +/* EE19C0 80243000 2403FFFD */ addiu $v1, $zero, -3 +/* EE19C4 80243004 AE200048 */ sw $zero, 0x48($s1) +/* EE19C8 80243008 AE200034 */ sw $zero, 0x34($s1) +/* EE19CC 8024300C AE240028 */ sw $a0, 0x28($s1) +/* EE19D0 80243010 34420008 */ ori $v0, $v0, 8 +/* EE19D4 80243014 00431024 */ and $v0, $v0, $v1 +/* EE19D8 80243018 2403FDFF */ addiu $v1, $zero, -0x201 +/* EE19DC 8024301C 00431024 */ and $v0, $v0, $v1 +/* EE19E0 80243020 46000021 */ cvt.d.s $f0, $f0 +/* EE19E4 80243024 46220000 */ add.d $f0, $f0, $f2 +/* EE19E8 80243028 AE220000 */ sw $v0, ($s1) +/* EE19EC 8024302C 24020065 */ addiu $v0, $zero, 0x65 +/* EE19F0 80243030 46200020 */ cvt.s.d $f0, $f0 +/* EE19F4 80243034 E6200040 */ swc1 $f0, 0x40($s1) +/* EE19F8 80243038 AEA20070 */ sw $v0, 0x70($s5) +.L8024303C: +/* EE19FC 8024303C 8E430094 */ lw $v1, 0x94($s2) +/* EE1A00 80243040 24020003 */ addiu $v0, $zero, 3 +/* EE1A04 80243044 146200E8 */ bne $v1, $v0, .L802433E8 +/* EE1A08 80243048 24020004 */ addiu $v0, $zero, 4 +/* EE1A0C 8024304C AE420094 */ sw $v0, 0x94($s2) +/* EE1A10 80243050 C62C0038 */ lwc1 $f12, 0x38($s1) +/* EE1A14 80243054 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EE1A18 80243058 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EE1A1C 8024305C C62E0040 */ lwc1 $f14, 0x40($s1) +/* EE1A20 80243060 8C460028 */ lw $a2, 0x28($v0) +/* EE1A24 80243064 0C00ABDC */ jal fio_validate_header_checksums +/* EE1A28 80243068 8C470030 */ lw $a3, 0x30($v0) +/* EE1A2C 8024306C 3C014020 */ lui $at, 0x4020 +/* EE1A30 80243070 44811000 */ mtc1 $at, $f2 +/* EE1A34 80243074 3C014100 */ lui $at, 0x4100 +/* EE1A38 80243078 44812000 */ mtc1 $at, $f4 +/* EE1A3C 8024307C 3C013F4C */ lui $at, 0x3f4c +/* EE1A40 80243080 3421CCCD */ ori $at, $at, 0xcccd +/* EE1A44 80243084 44813000 */ mtc1 $at, $f6 +/* EE1A48 80243088 8E220000 */ lw $v0, ($s1) +/* EE1A4C 8024308C E620000C */ swc1 $f0, 0xc($s1) +/* EE1A50 80243090 34420800 */ ori $v0, $v0, 0x800 +/* EE1A54 80243094 AE220000 */ sw $v0, ($s1) +/* EE1A58 80243098 24020066 */ addiu $v0, $zero, 0x66 +/* EE1A5C 8024309C E6220018 */ swc1 $f2, 0x18($s1) +/* EE1A60 802430A0 E624001C */ swc1 $f4, 0x1c($s1) +/* EE1A64 802430A4 E6260014 */ swc1 $f6, 0x14($s1) +/* EE1A68 802430A8 AEA20070 */ sw $v0, 0x70($s5) +.L802430AC: +/* EE1A6C 802430AC C6200018 */ lwc1 $f0, 0x18($s1) +/* EE1A70 802430B0 44801000 */ mtc1 $zero, $f2 +/* EE1A74 802430B4 44801800 */ mtc1 $zero, $f3 +/* EE1A78 802430B8 46000021 */ cvt.d.s $f0, $f0 +/* EE1A7C 802430BC 4620103C */ c.lt.d $f2, $f0 +/* EE1A80 802430C0 00000000 */ nop +/* EE1A84 802430C4 4500001F */ bc1f .L80243144 +/* EE1A88 802430C8 27A50058 */ addiu $a1, $sp, 0x58 +/* EE1A8C 802430CC C6200038 */ lwc1 $f0, 0x38($s1) +/* EE1A90 802430D0 C622003C */ lwc1 $f2, 0x3c($s1) +/* EE1A94 802430D4 C6240040 */ lwc1 $f4, 0x40($s1) +/* EE1A98 802430D8 C6260018 */ lwc1 $f6, 0x18($s1) +/* EE1A9C 802430DC E7A00058 */ swc1 $f0, 0x58($sp) +/* EE1AA0 802430E0 E7A2005C */ swc1 $f2, 0x5c($sp) +/* EE1AA4 802430E4 E7A40060 */ swc1 $f4, 0x60($sp) +/* EE1AA8 802430E8 E7A60010 */ swc1 $f6, 0x10($sp) +/* EE1AAC 802430EC C620000C */ lwc1 $f0, 0xc($s1) +/* EE1AB0 802430F0 E7A00014 */ swc1 $f0, 0x14($sp) +/* EE1AB4 802430F4 862200A8 */ lh $v0, 0xa8($s1) +/* EE1AB8 802430F8 44820000 */ mtc1 $v0, $f0 +/* EE1ABC 802430FC 00000000 */ nop +/* EE1AC0 80243100 46800020 */ cvt.s.w $f0, $f0 +/* EE1AC4 80243104 E7A00018 */ swc1 $f0, 0x18($sp) +/* EE1AC8 80243108 862200A6 */ lh $v0, 0xa6($s1) +/* EE1ACC 8024310C 27A6005C */ addiu $a2, $sp, 0x5c +/* EE1AD0 80243110 44820000 */ mtc1 $v0, $f0 +/* EE1AD4 80243114 00000000 */ nop +/* EE1AD8 80243118 46800020 */ cvt.s.w $f0, $f0 +/* EE1ADC 8024311C E7A0001C */ swc1 $f0, 0x1c($sp) +/* EE1AE0 80243120 8E240080 */ lw $a0, 0x80($s1) +/* EE1AE4 80243124 0C0394C1 */ jal func_800E5304 +/* EE1AE8 80243128 27A70060 */ addiu $a3, $sp, 0x60 +/* EE1AEC 8024312C 54400005 */ bnel $v0, $zero, .L80243144 +/* EE1AF0 80243130 AE200018 */ sw $zero, 0x18($s1) +/* EE1AF4 80243134 8E250018 */ lw $a1, 0x18($s1) +/* EE1AF8 80243138 8E26000C */ lw $a2, 0xc($s1) +/* EE1AFC 8024313C 0C00F909 */ jal func_8003E424 +/* EE1B00 80243140 0220202D */ daddu $a0, $s1, $zero +.L80243144: +/* EE1B04 80243144 C620001C */ lwc1 $f0, 0x1c($s1) +/* EE1B08 80243148 4480B000 */ mtc1 $zero, $f22 +/* EE1B0C 8024314C 4480B800 */ mtc1 $zero, $f23 +/* EE1B10 80243150 46000021 */ cvt.d.s $f0, $f0 +/* EE1B14 80243154 4636003C */ c.lt.d $f0, $f22 +/* EE1B18 80243158 00000000 */ nop +/* EE1B1C 8024315C 45000074 */ bc1f .L80243330 +/* EE1B20 80243160 27A50058 */ addiu $a1, $sp, 0x58 +/* EE1B24 80243164 27A6005C */ addiu $a2, $sp, 0x5c +/* EE1B28 80243168 27A20064 */ addiu $v0, $sp, 0x64 +/* EE1B2C 8024316C C622003C */ lwc1 $f2, 0x3c($s1) +/* EE1B30 80243170 C6260038 */ lwc1 $f6, 0x38($s1) +/* EE1B34 80243174 3C01402A */ lui $at, 0x402a +/* EE1B38 80243178 4481A800 */ mtc1 $at, $f21 +/* EE1B3C 8024317C 4480A000 */ mtc1 $zero, $f20 +/* EE1B40 80243180 460010A1 */ cvt.d.s $f2, $f2 +/* EE1B44 80243184 46341080 */ add.d $f2, $f2, $f20 +/* EE1B48 80243188 C620001C */ lwc1 $f0, 0x1c($s1) +/* EE1B4C 8024318C C6240040 */ lwc1 $f4, 0x40($s1) +/* EE1B50 80243190 46000005 */ abs.s $f0, $f0 +/* EE1B54 80243194 E7A40060 */ swc1 $f4, 0x60($sp) +/* EE1B58 80243198 3C014030 */ lui $at, 0x4030 +/* EE1B5C 8024319C 44812800 */ mtc1 $at, $f5 +/* EE1B60 802431A0 44802000 */ mtc1 $zero, $f4 +/* EE1B64 802431A4 46000021 */ cvt.d.s $f0, $f0 +/* EE1B68 802431A8 E7A60058 */ swc1 $f6, 0x58($sp) +/* EE1B6C 802431AC 46240000 */ add.d $f0, $f0, $f4 +/* EE1B70 802431B0 462010A0 */ cvt.s.d $f2, $f2 +/* EE1B74 802431B4 E7A2005C */ swc1 $f2, 0x5c($sp) +/* EE1B78 802431B8 46200020 */ cvt.s.d $f0, $f0 +/* EE1B7C 802431BC E7A00064 */ swc1 $f0, 0x64($sp) +/* EE1B80 802431C0 AFA20010 */ sw $v0, 0x10($sp) +/* EE1B84 802431C4 8E240080 */ lw $a0, 0x80($s1) +/* EE1B88 802431C8 0C03908F */ jal func_800E423C +/* EE1B8C 802431CC 27A70060 */ addiu $a3, $sp, 0x60 +/* EE1B90 802431D0 10400057 */ beqz $v0, .L80243330 +/* EE1B94 802431D4 00000000 */ nop +/* EE1B98 802431D8 C620001C */ lwc1 $f0, 0x1c($s1) +/* EE1B9C 802431DC C7A20064 */ lwc1 $f2, 0x64($sp) +/* EE1BA0 802431E0 46000005 */ abs.s $f0, $f0 +/* EE1BA4 802431E4 46000021 */ cvt.d.s $f0, $f0 +/* EE1BA8 802431E8 46340000 */ add.d $f0, $f0, $f20 +/* EE1BAC 802431EC 460010A1 */ cvt.d.s $f2, $f2 +/* EE1BB0 802431F0 4620103E */ c.le.d $f2, $f0 +/* EE1BB4 802431F4 00000000 */ nop +/* EE1BB8 802431F8 4500004D */ bc1f .L80243330 +/* EE1BBC 802431FC 00000000 */ nop +/* EE1BC0 80243200 C7A0005C */ lwc1 $f0, 0x5c($sp) +/* EE1BC4 80243204 E620003C */ swc1 $f0, 0x3c($s1) +/* EE1BC8 80243208 8E4200D0 */ lw $v0, 0xd0($s2) +/* EE1BCC 8024320C C6200038 */ lwc1 $f0, 0x38($s1) +/* EE1BD0 80243210 4600020D */ trunc.w.s $f8, $f0 +/* EE1BD4 80243214 E4480000 */ swc1 $f8, ($v0) +/* EE1BD8 80243218 8E4200D0 */ lw $v0, 0xd0($s2) +/* EE1BDC 8024321C C620003C */ lwc1 $f0, 0x3c($s1) +/* EE1BE0 80243220 4600020D */ trunc.w.s $f8, $f0 +/* EE1BE4 80243224 E4480004 */ swc1 $f8, 4($v0) +/* EE1BE8 80243228 8E4200D0 */ lw $v0, 0xd0($s2) +/* EE1BEC 8024322C C6200040 */ lwc1 $f0, 0x40($s1) +/* EE1BF0 80243230 4600020D */ trunc.w.s $f8, $f0 +/* EE1BF4 80243234 E4480008 */ swc1 $f8, 8($v0) +/* EE1BF8 80243238 8E4200D0 */ lw $v0, 0xd0($s2) +/* EE1BFC 8024323C C6200038 */ lwc1 $f0, 0x38($s1) +/* EE1C00 80243240 4600020D */ trunc.w.s $f8, $f0 +/* EE1C04 80243244 E448001C */ swc1 $f8, 0x1c($v0) +/* EE1C08 80243248 8E4200D0 */ lw $v0, 0xd0($s2) +/* EE1C0C 8024324C C620003C */ lwc1 $f0, 0x3c($s1) +/* EE1C10 80243250 4600020D */ trunc.w.s $f8, $f0 +/* EE1C14 80243254 E4480020 */ swc1 $f8, 0x20($v0) +/* EE1C18 80243258 8E4200D0 */ lw $v0, 0xd0($s2) +/* EE1C1C 8024325C C6200040 */ lwc1 $f0, 0x40($s1) +/* EE1C20 80243260 4600020D */ trunc.w.s $f8, $f0 +/* EE1C24 80243264 E4480024 */ swc1 $f8, 0x24($v0) +/* EE1C28 80243268 8E4300A0 */ lw $v1, 0xa0($s2) +/* EE1C2C 8024326C 24020005 */ addiu $v0, $zero, 5 +/* EE1C30 80243270 1060000B */ beqz $v1, .L802432A0 +/* EE1C34 80243274 AE420094 */ sw $v0, 0x94($s2) +/* EE1C38 80243278 C620003C */ lwc1 $f0, 0x3c($s1) +/* EE1C3C 8024327C 46000021 */ cvt.d.s $f0, $f0 +/* EE1C40 80243280 4636003E */ c.le.d $f0, $f22 +/* EE1C44 80243284 00000000 */ nop +/* EE1C48 80243288 4501000D */ bc1t .L802432C0 +/* EE1C4C 8024328C 2403FFF7 */ addiu $v1, $zero, -9 +/* EE1C50 80243290 8E220000 */ lw $v0, ($s1) +/* EE1C54 80243294 34420200 */ ori $v0, $v0, 0x200 +/* EE1C58 80243298 08090CB4 */ j .L802432D0 +/* EE1C5C 8024329C 00431024 */ and $v0, $v0, $v1 +.L802432A0: +/* EE1C60 802432A0 8E4200D0 */ lw $v0, 0xd0($s2) +/* EE1C64 802432A4 8C420034 */ lw $v0, 0x34($v0) +/* EE1C68 802432A8 14400005 */ bnez $v0, .L802432C0 +/* EE1C6C 802432AC 2403FFF7 */ addiu $v1, $zero, -9 +/* EE1C70 802432B0 8E220000 */ lw $v0, ($s1) +/* EE1C74 802432B4 34420200 */ ori $v0, $v0, 0x200 +/* EE1C78 802432B8 08090CB4 */ j .L802432D0 +/* EE1C7C 802432BC 00431024 */ and $v0, $v0, $v1 +.L802432C0: +/* EE1C80 802432C0 8E220000 */ lw $v0, ($s1) +/* EE1C84 802432C4 2403FDFF */ addiu $v1, $zero, -0x201 +/* EE1C88 802432C8 00431024 */ and $v0, $v0, $v1 +/* EE1C8C 802432CC 34420008 */ ori $v0, $v0, 8 +.L802432D0: +/* EE1C90 802432D0 AE220000 */ sw $v0, ($s1) +/* EE1C94 802432D4 C62C0038 */ lwc1 $f12, 0x38($s1) +/* EE1C98 802432D8 C62E0040 */ lwc1 $f14, 0x40($s1) +/* EE1C9C 802432DC 8E220000 */ lw $v0, ($s1) +/* EE1CA0 802432E0 3C048010 */ lui $a0, %hi(D_800FFC90) +/* EE1CA4 802432E4 8C84FC90 */ lw $a0, %lo(D_800FFC90)($a0) +/* EE1CA8 802432E8 3C030004 */ lui $v1, 4 +/* EE1CAC 802432EC AE20001C */ sw $zero, 0x1c($s1) +/* EE1CB0 802432F0 00431025 */ or $v0, $v0, $v1 +/* EE1CB4 802432F4 2403F7FF */ addiu $v1, $zero, -0x801 +/* EE1CB8 802432F8 00431024 */ and $v0, $v0, $v1 +/* EE1CBC 802432FC AE220000 */ sw $v0, ($s1) +/* EE1CC0 80243300 8C860028 */ lw $a2, 0x28($a0) +/* EE1CC4 80243304 0C00ABDC */ jal fio_validate_header_checksums +/* EE1CC8 80243308 8C870030 */ lw $a3, 0x30($a0) +/* EE1CCC 8024330C 3C02004A */ lui $v0, 0x4a +/* EE1CD0 80243310 3442001A */ ori $v0, $v0, 0x1a +/* EE1CD4 80243314 AE220028 */ sw $v0, 0x28($s1) +/* EE1CD8 80243318 24020003 */ addiu $v0, $zero, 3 +/* EE1CDC 8024331C A622008E */ sh $v0, 0x8e($s1) +/* EE1CE0 80243320 24020067 */ addiu $v0, $zero, 0x67 +/* EE1CE4 80243324 E620000C */ swc1 $f0, 0xc($s1) +/* EE1CE8 80243328 08090CFA */ j .L802433E8 +/* EE1CEC 8024332C AEA20070 */ sw $v0, 0x70($s5) +.L80243330: +/* EE1CF0 80243330 C624003C */ lwc1 $f4, 0x3c($s1) +/* EE1CF4 80243334 C620001C */ lwc1 $f0, 0x1c($s1) +/* EE1CF8 80243338 46002100 */ add.s $f4, $f4, $f0 +/* EE1CFC 8024333C C6220014 */ lwc1 $f2, 0x14($s1) +/* EE1D00 80243340 46020001 */ sub.s $f0, $f0, $f2 +/* EE1D04 80243344 E624003C */ swc1 $f4, 0x3c($s1) +/* EE1D08 80243348 08090CFA */ j .L802433E8 +/* EE1D0C 8024334C E620001C */ swc1 $f0, 0x1c($s1) +.L80243350: +/* EE1D10 80243350 9622008E */ lhu $v0, 0x8e($s1) +/* EE1D14 80243354 2442FFFF */ addiu $v0, $v0, -1 +/* EE1D18 80243358 A622008E */ sh $v0, 0x8e($s1) +/* EE1D1C 8024335C 00021400 */ sll $v0, $v0, 0x10 +/* EE1D20 80243360 1C400021 */ bgtz $v0, .L802433E8 +/* EE1D24 80243364 3C03004A */ lui $v1, 0x4a +/* EE1D28 80243368 3C04FFFB */ lui $a0, 0xfffb +/* EE1D2C 8024336C 3484FFFF */ ori $a0, $a0, 0xffff +/* EE1D30 80243370 8E220000 */ lw $v0, ($s1) +/* EE1D34 80243374 34630001 */ ori $v1, $v1, 1 +/* EE1D38 80243378 AE230028 */ sw $v1, 0x28($s1) +/* EE1D3C 8024337C 00441024 */ and $v0, $v0, $a0 +/* EE1D40 80243380 AE220000 */ sw $v0, ($s1) +/* EE1D44 80243384 08090CFA */ j .L802433E8 +/* EE1D48 80243388 AEA00070 */ sw $zero, 0x70($s5) +.L8024338C: +/* EE1D4C 8024338C 3C01C47A */ lui $at, 0xc47a +/* EE1D50 80243390 44810000 */ mtc1 $at, $f0 +/* EE1D54 80243394 8E230000 */ lw $v1, ($s1) +/* EE1D58 80243398 A622008E */ sh $v0, 0x8e($s1) +/* EE1D5C 8024339C 2402FDFF */ addiu $v0, $zero, -0x201 +/* EE1D60 802433A0 AE200038 */ sw $zero, 0x38($s1) +/* EE1D64 802433A4 AE200040 */ sw $zero, 0x40($s1) +/* EE1D68 802433A8 3463000A */ ori $v1, $v1, 0xa +/* EE1D6C 802433AC 00621824 */ and $v1, $v1, $v0 +/* EE1D70 802433B0 E620003C */ swc1 $f0, 0x3c($s1) +/* EE1D74 802433B4 AE230000 */ sw $v1, ($s1) +/* EE1D78 802433B8 AEA40070 */ sw $a0, 0x70($s5) +.L802433BC: +/* EE1D7C 802433BC 9622008E */ lhu $v0, 0x8e($s1) +/* EE1D80 802433C0 2442FFFF */ addiu $v0, $v0, -1 +/* EE1D84 802433C4 A622008E */ sh $v0, 0x8e($s1) +/* EE1D88 802433C8 00021400 */ sll $v0, $v0, 0x10 +/* EE1D8C 802433CC 1C400006 */ bgtz $v0, .L802433E8 +/* EE1D90 802433D0 24020064 */ addiu $v0, $zero, 0x64 +/* EE1D94 802433D4 AE400094 */ sw $zero, 0x94($s2) +/* EE1D98 802433D8 08090CFA */ j .L802433E8 +/* EE1D9C 802433DC AEA20070 */ sw $v0, 0x70($s5) +.L802433E0: +/* EE1DA0 802433E0 0C013AE3 */ jal func_8004EB8C +/* EE1DA4 802433E4 02A0202D */ daddu $a0, $s5, $zero +.L802433E8: +/* EE1DA8 802433E8 8FBF0080 */ lw $ra, 0x80($sp) +/* EE1DAC 802433EC 8FB5007C */ lw $s5, 0x7c($sp) +/* EE1DB0 802433F0 8FB40078 */ lw $s4, 0x78($sp) +/* EE1DB4 802433F4 8FB30074 */ lw $s3, 0x74($sp) +/* EE1DB8 802433F8 8FB20070 */ lw $s2, 0x70($sp) +/* EE1DBC 802433FC 8FB1006C */ lw $s1, 0x6c($sp) +/* EE1DC0 80243400 8FB00068 */ lw $s0, 0x68($sp) +/* EE1DC4 80243404 D7B60090 */ ldc1 $f22, 0x90($sp) +/* EE1DC8 80243408 D7B40088 */ ldc1 $f20, 0x88($sp) +/* EE1DCC 8024340C 0000102D */ daddu $v0, $zero, $zero +/* EE1DD0 80243410 03E00008 */ jr $ra +/* EE1DD4 80243414 27BD0098 */ addiu $sp, $sp, 0x98 diff --git a/asm/nonmatchings/code_EDEA00/func_80243470_EE1E30.s b/asm/nonmatchings/code_EDEA00/func_80243470_EE1E30.s new file mode 100644 index 0000000000..6174becb15 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80243470_EE1E30.s @@ -0,0 +1,75 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80243470_EE1E30 +/* EE1E30 80243470 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* EE1E34 80243474 AFB3002C */ sw $s3, 0x2c($sp) +/* EE1E38 80243478 0080982D */ daddu $s3, $a0, $zero +/* EE1E3C 8024347C AFB00020 */ sw $s0, 0x20($sp) +/* EE1E40 80243480 00A0802D */ daddu $s0, $a1, $zero +/* EE1E44 80243484 24040001 */ addiu $a0, $zero, 1 +/* EE1E48 80243488 AFBF0030 */ sw $ra, 0x30($sp) +/* EE1E4C 8024348C AFB20028 */ sw $s2, 0x28($sp) +/* EE1E50 80243490 0C00F92F */ jal func_8003E4BC +/* EE1E54 80243494 AFB10024 */ sw $s1, 0x24($sp) +/* EE1E58 80243498 8E63000C */ lw $v1, 0xc($s3) +/* EE1E5C 8024349C 0260202D */ daddu $a0, $s3, $zero +/* EE1E60 802434A0 8C650000 */ lw $a1, ($v1) +/* EE1E64 802434A4 0C0B53A3 */ jal func_802D4E8C +/* EE1E68 802434A8 0040902D */ daddu $s2, $v0, $zero +/* EE1E6C 802434AC 12000002 */ beqz $s0, .L802434B8 +/* EE1E70 802434B0 AE620074 */ sw $v0, 0x74($s3) +/* EE1E74 802434B4 AE600070 */ sw $zero, 0x70($s3) +.L802434B8: +/* EE1E78 802434B8 3C026666 */ lui $v0, 0x6666 +/* EE1E7C 802434BC 8E640070 */ lw $a0, 0x70($s3) +/* EE1E80 802434C0 34426667 */ ori $v0, $v0, 0x6667 +/* EE1E84 802434C4 00820018 */ mult $a0, $v0 +/* EE1E88 802434C8 000417C3 */ sra $v0, $a0, 0x1f +/* EE1E8C 802434CC 00004010 */ mfhi $t0 +/* EE1E90 802434D0 00081843 */ sra $v1, $t0, 1 +/* EE1E94 802434D4 00621823 */ subu $v1, $v1, $v0 +/* EE1E98 802434D8 00031080 */ sll $v0, $v1, 2 +/* EE1E9C 802434DC 00431021 */ addu $v0, $v0, $v1 +/* EE1EA0 802434E0 1482001B */ bne $a0, $v0, .L80243550 +/* EE1EA4 802434E4 3C020020 */ lui $v0, 0x20 +/* EE1EA8 802434E8 34420002 */ ori $v0, $v0, 2 +/* EE1EAC 802434EC 27B1001A */ addiu $s1, $sp, 0x1a +/* EE1EB0 802434F0 27B00018 */ addiu $s0, $sp, 0x18 +/* EE1EB4 802434F4 AFB10010 */ sw $s1, 0x10($sp) +/* EE1EB8 802434F8 AFA20014 */ sw $v0, 0x14($sp) +/* EE1EBC 802434FC 8E460040 */ lw $a2, 0x40($s2) +/* EE1EC0 80243500 C64C0038 */ lwc1 $f12, 0x38($s2) +/* EE1EC4 80243504 C64E003C */ lwc1 $f14, 0x3c($s2) +/* EE1EC8 80243508 0C055D37 */ jal func_801574DC +/* EE1ECC 8024350C 0200382D */ daddu $a3, $s0, $zero +/* EE1ED0 80243510 3C0543FA */ lui $a1, 0x43fa +/* EE1ED4 80243514 8E620074 */ lw $v0, 0x74($s3) +/* EE1ED8 80243518 0000202D */ daddu $a0, $zero, $zero +/* EE1EDC 8024351C AFA20010 */ sw $v0, 0x10($sp) +/* EE1EE0 80243520 8E670070 */ lw $a3, 0x70($s3) +/* EE1EE4 80243524 0C00ADA9 */ jal func_8002B6A4 +/* EE1EE8 80243528 0000302D */ daddu $a2, $zero, $zero +/* EE1EEC 8024352C 24040295 */ addiu $a0, $zero, 0x295 +/* EE1EF0 80243530 4600008D */ trunc.w.s $f2, $f0 +/* EE1EF4 80243534 44071000 */ mfc1 $a3, $f2 +/* EE1EF8 80243538 00000000 */ nop +/* EE1EFC 8024353C 00073C00 */ sll $a3, $a3, 0x10 +/* EE1F00 80243540 92050001 */ lbu $a1, 1($s0) +/* EE1F04 80243544 92260001 */ lbu $a2, 1($s1) +/* EE1F08 80243548 0C055C46 */ jal func_80157118 +/* EE1F0C 8024354C 00073C03 */ sra $a3, $a3, 0x10 +.L80243550: +/* EE1F10 80243550 8E630070 */ lw $v1, 0x70($s3) +/* EE1F14 80243554 8E620074 */ lw $v0, 0x74($s3) +/* EE1F18 80243558 24630001 */ addiu $v1, $v1, 1 +/* EE1F1C 8024355C 0043102A */ slt $v0, $v0, $v1 +/* EE1F20 80243560 AE630070 */ sw $v1, 0x70($s3) +/* EE1F24 80243564 8FBF0030 */ lw $ra, 0x30($sp) +/* EE1F28 80243568 8FB3002C */ lw $s3, 0x2c($sp) +/* EE1F2C 8024356C 8FB20028 */ lw $s2, 0x28($sp) +/* EE1F30 80243570 8FB10024 */ lw $s1, 0x24($sp) +/* EE1F34 80243574 8FB00020 */ lw $s0, 0x20($sp) +/* EE1F38 80243578 00021040 */ sll $v0, $v0, 1 +/* EE1F3C 8024357C 03E00008 */ jr $ra +/* EE1F40 80243580 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_EDEA00/func_80243584_EE1F44.s b/asm/nonmatchings/code_EDEA00/func_80243584_EE1F44.s new file mode 100644 index 0000000000..221644b943 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/func_80243584_EE1F44.s @@ -0,0 +1,69 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80243584_EE1F44 +/* EE1F44 80243584 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EE1F48 80243588 AFB20028 */ sw $s2, 0x28($sp) +/* EE1F4C 8024358C 0080902D */ daddu $s2, $a0, $zero +/* EE1F50 80243590 AFB00020 */ sw $s0, 0x20($sp) +/* EE1F54 80243594 00A0802D */ daddu $s0, $a1, $zero +/* EE1F58 80243598 0000202D */ daddu $a0, $zero, $zero +/* EE1F5C 8024359C AFBF002C */ sw $ra, 0x2c($sp) +/* EE1F60 802435A0 0C00F92F */ jal func_8003E4BC +/* EE1F64 802435A4 AFB10024 */ sw $s1, 0x24($sp) +/* EE1F68 802435A8 12000002 */ beqz $s0, .L802435B4 +/* EE1F6C 802435AC 0040282D */ daddu $a1, $v0, $zero +/* EE1F70 802435B0 AE400070 */ sw $zero, 0x70($s2) +.L802435B4: +/* EE1F74 802435B4 3C026666 */ lui $v0, 0x6666 +/* EE1F78 802435B8 8E440070 */ lw $a0, 0x70($s2) +/* EE1F7C 802435BC 34426667 */ ori $v0, $v0, 0x6667 +/* EE1F80 802435C0 00820018 */ mult $a0, $v0 +/* EE1F84 802435C4 000417C3 */ sra $v0, $a0, 0x1f +/* EE1F88 802435C8 00004010 */ mfhi $t0 +/* EE1F8C 802435CC 00081843 */ sra $v1, $t0, 1 +/* EE1F90 802435D0 00621823 */ subu $v1, $v1, $v0 +/* EE1F94 802435D4 00031080 */ sll $v0, $v1, 2 +/* EE1F98 802435D8 00431021 */ addu $v0, $v0, $v1 +/* EE1F9C 802435DC 1482001B */ bne $a0, $v0, .L8024364C +/* EE1FA0 802435E0 3C020020 */ lui $v0, 0x20 +/* EE1FA4 802435E4 34420002 */ ori $v0, $v0, 2 +/* EE1FA8 802435E8 27B1001A */ addiu $s1, $sp, 0x1a +/* EE1FAC 802435EC 27B00018 */ addiu $s0, $sp, 0x18 +/* EE1FB0 802435F0 AFB10010 */ sw $s1, 0x10($sp) +/* EE1FB4 802435F4 AFA20014 */ sw $v0, 0x14($sp) +/* EE1FB8 802435F8 8CA60040 */ lw $a2, 0x40($a1) +/* EE1FBC 802435FC C4AC0038 */ lwc1 $f12, 0x38($a1) +/* EE1FC0 80243600 C4AE003C */ lwc1 $f14, 0x3c($a1) +/* EE1FC4 80243604 0C055D37 */ jal func_801574DC +/* EE1FC8 80243608 0200382D */ daddu $a3, $s0, $zero +/* EE1FCC 8024360C 0000202D */ daddu $a0, $zero, $zero +/* EE1FD0 80243610 3C0543FA */ lui $a1, 0x43fa +/* EE1FD4 80243614 24020050 */ addiu $v0, $zero, 0x50 +/* EE1FD8 80243618 AFA20010 */ sw $v0, 0x10($sp) +/* EE1FDC 8024361C 8E470070 */ lw $a3, 0x70($s2) +/* EE1FE0 80243620 0C00ADA9 */ jal func_8002B6A4 +/* EE1FE4 80243624 0000302D */ daddu $a2, $zero, $zero +/* EE1FE8 80243628 24040295 */ addiu $a0, $zero, 0x295 +/* EE1FEC 8024362C 4600008D */ trunc.w.s $f2, $f0 +/* EE1FF0 80243630 44071000 */ mfc1 $a3, $f2 +/* EE1FF4 80243634 00000000 */ nop +/* EE1FF8 80243638 00073C00 */ sll $a3, $a3, 0x10 +/* EE1FFC 8024363C 92050001 */ lbu $a1, 1($s0) +/* EE2000 80243640 92260001 */ lbu $a2, 1($s1) +/* EE2004 80243644 0C055C46 */ jal func_80157118 +/* EE2008 80243648 00073C03 */ sra $a3, $a3, 0x10 +.L8024364C: +/* EE200C 8024364C 8E430070 */ lw $v1, 0x70($s2) +/* EE2010 80243650 24630001 */ addiu $v1, $v1, 1 +/* EE2014 80243654 28620051 */ slti $v0, $v1, 0x51 +/* EE2018 80243658 38420001 */ xori $v0, $v0, 1 +/* EE201C 8024365C AE430070 */ sw $v1, 0x70($s2) +/* EE2020 80243660 8FBF002C */ lw $ra, 0x2c($sp) +/* EE2024 80243664 8FB20028 */ lw $s2, 0x28($sp) +/* EE2028 80243668 8FB10024 */ lw $s1, 0x24($sp) +/* EE202C 8024366C 8FB00020 */ lw $s0, 0x20($sp) +/* EE2030 80243670 00021040 */ sll $v0, $v0, 1 +/* EE2034 80243674 03E00008 */ jr $ra +/* EE2038 80243678 27BD0030 */ addiu $sp, $sp, 0x30 +/* EE203C 8024367C 00000000 */ nop diff --git a/asm/nonmatchings/code_EDEA00/pause_interp_text_scroll_EE1DD8.s b/asm/nonmatchings/code_EDEA00/pause_interp_text_scroll_EE1DD8.s new file mode 100644 index 0000000000..cf559e9562 --- /dev/null +++ b/asm/nonmatchings/code_EDEA00/pause_interp_text_scroll_EE1DD8.s @@ -0,0 +1,26 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel pause_interp_text_scroll_EE1DD8 +/* EE1DD8 80243418 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EE1DDC 8024341C AFB00010 */ sw $s0, 0x10($sp) +/* EE1DE0 80243420 0080802D */ daddu $s0, $a0, $zero +/* EE1DE4 80243424 AFBF0014 */ sw $ra, 0x14($sp) +/* EE1DE8 80243428 C60C0084 */ lwc1 $f12, 0x84($s0) +/* EE1DEC 8024342C 46806320 */ cvt.s.w $f12, $f12 +/* EE1DF0 80243430 C6020090 */ lwc1 $f2, 0x90($s0) +/* EE1DF4 80243434 468010A0 */ cvt.s.w $f2, $f2 +/* EE1DF8 80243438 44061000 */ mfc1 $a2, $f2 +/* EE1DFC 8024343C C6020098 */ lwc1 $f2, 0x98($s0) +/* EE1E00 80243440 468010A0 */ cvt.s.w $f2, $f2 +/* EE1E04 80243444 44071000 */ mfc1 $a3, $f2 +/* EE1E08 80243448 C60E008C */ lwc1 $f14, 0x8c($s0) +/* EE1E0C 8024344C 0C00ABDC */ jal fio_validate_header_checksums +/* EE1E10 80243450 468073A0 */ cvt.s.w $f14, $f14 +/* EE1E14 80243454 4600008D */ trunc.w.s $f2, $f0 +/* EE1E18 80243458 E60200AC */ swc1 $f2, 0xac($s0) +/* EE1E1C 8024345C 8FBF0014 */ lw $ra, 0x14($sp) +/* EE1E20 80243460 8FB00010 */ lw $s0, 0x10($sp) +/* EE1E24 80243464 24020002 */ addiu $v0, $zero, 2 +/* EE1E28 80243468 03E00008 */ jr $ra +/* EE1E2C 8024346C 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EE2040/func_80243680_EE2040.s b/asm/nonmatchings/code_EE2040/func_80243680_EE2040.s new file mode 100644 index 0000000000..7f08a150f3 --- /dev/null +++ b/asm/nonmatchings/code_EE2040/func_80243680_EE2040.s @@ -0,0 +1,44 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80243680_EE2040 +/* EE2040 80243680 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EE2044 80243684 3C048024 */ lui $a0, %hi(D_80247BE0) +/* EE2048 80243688 24847BE0 */ addiu $a0, $a0, %lo(D_80247BE0) +/* EE204C 8024368C 27A50010 */ addiu $a1, $sp, 0x10 +/* EE2050 80243690 AFBF0020 */ sw $ra, 0x20($sp) +/* EE2054 80243694 AFB1001C */ sw $s1, 0x1c($sp) +/* EE2058 80243698 0C017C8E */ jal func_8005F238 +/* EE205C 8024369C AFB00018 */ sw $s0, 0x18($sp) +/* EE2060 802436A0 0040802D */ daddu $s0, $v0, $zero +/* EE2064 802436A4 0200202D */ daddu $a0, $s0, $zero +/* EE2068 802436A8 3C118024 */ lui $s1, %hi(D_80247BF0) +/* EE206C 802436AC 26317BF0 */ addiu $s1, $s1, %lo(D_80247BF0) +/* EE2070 802436B0 0C01D01C */ jal func_80074070 +/* EE2074 802436B4 0220282D */ daddu $a1, $s1, $zero +/* EE2078 802436B8 0C00AFDA */ jal func_8002BF68 +/* EE207C 802436BC 0200202D */ daddu $a0, $s0, $zero +/* EE2080 802436C0 3C048025 */ lui $a0, %hi(D_8024BB80) +/* EE2084 802436C4 2484BB80 */ addiu $a0, $a0, %lo(D_8024BB80) +/* EE2088 802436C8 3C028024 */ lui $v0, %hi(D_80247DF0) +/* EE208C 802436CC 24427DF0 */ addiu $v0, $v0, %lo(D_80247DF0) +/* EE2090 802436D0 AC820000 */ sw $v0, ($a0) +/* EE2094 802436D4 24020096 */ addiu $v0, $zero, 0x96 +/* EE2098 802436D8 A4820008 */ sh $v0, 8($a0) +/* EE209C 802436DC 24020069 */ addiu $v0, $zero, 0x69 +/* EE20A0 802436E0 A482000A */ sh $v0, 0xa($a0) +/* EE20A4 802436E4 24020002 */ addiu $v0, $zero, 2 +/* EE20A8 802436E8 AC82000C */ sw $v0, 0xc($a0) +/* EE20AC 802436EC 24020001 */ addiu $v0, $zero, 1 +/* EE20B0 802436F0 AC910004 */ sw $s1, 4($a0) +/* EE20B4 802436F4 0C04C319 */ jal func_80130C64 +/* EE20B8 802436F8 AC820010 */ sw $v0, 0x10($a0) +/* EE20BC 802436FC 8FBF0020 */ lw $ra, 0x20($sp) +/* EE20C0 80243700 8FB1001C */ lw $s1, 0x1c($sp) +/* EE20C4 80243704 8FB00018 */ lw $s0, 0x18($sp) +/* EE20C8 80243708 24020002 */ addiu $v0, $zero, 2 +/* EE20CC 8024370C 03E00008 */ jr $ra +/* EE20D0 80243710 27BD0028 */ addiu $sp, $sp, 0x28 +/* EE20D4 80243714 00000000 */ nop +/* EE20D8 80243718 00000000 */ nop +/* EE20DC 8024371C 00000000 */ nop diff --git a/asm/nonmatchings/code_EE65B0/func_80240000_EE65B0.s b/asm/nonmatchings/code_EE65B0/func_80240000_EE65B0.s new file mode 100644 index 0000000000..09f339beca --- /dev/null +++ b/asm/nonmatchings/code_EE65B0/func_80240000_EE65B0.s @@ -0,0 +1,89 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EE65B0 +/* EE65B0 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EE65B4 80240004 AFB00010 */ sw $s0, 0x10($sp) +/* EE65B8 80240008 0080802D */ daddu $s0, $a0, $zero +/* EE65BC 8024000C AFBF0014 */ sw $ra, 0x14($sp) +/* EE65C0 80240010 8E0300A8 */ lw $v1, 0xa8($s0) +/* EE65C4 80240014 8E020088 */ lw $v0, 0x88($s0) +/* EE65C8 80240018 00621821 */ addu $v1, $v1, $v0 +/* EE65CC 8024001C 04610004 */ bgez $v1, .L80240030 +/* EE65D0 80240020 AE0300A8 */ sw $v1, 0xa8($s0) +/* EE65D4 80240024 3C020002 */ lui $v0, 2 +/* EE65D8 80240028 08090010 */ j .L80240040 +/* EE65DC 8024002C 00621021 */ addu $v0, $v1, $v0 +.L80240030: +/* EE65E0 80240030 3C040002 */ lui $a0, 2 +/* EE65E4 80240034 0083102A */ slt $v0, $a0, $v1 +/* EE65E8 80240038 10400002 */ beqz $v0, .L80240044 +/* EE65EC 8024003C 00641023 */ subu $v0, $v1, $a0 +.L80240040: +/* EE65F0 80240040 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240044: +/* EE65F4 80240044 8E0300AC */ lw $v1, 0xac($s0) +/* EE65F8 80240048 8E02008C */ lw $v0, 0x8c($s0) +/* EE65FC 8024004C 00621821 */ addu $v1, $v1, $v0 +/* EE6600 80240050 04610004 */ bgez $v1, .L80240064 +/* EE6604 80240054 AE0300AC */ sw $v1, 0xac($s0) +/* EE6608 80240058 3C020002 */ lui $v0, 2 +/* EE660C 8024005C 0809001D */ j .L80240074 +/* EE6610 80240060 00621021 */ addu $v0, $v1, $v0 +.L80240064: +/* EE6614 80240064 3C040002 */ lui $a0, 2 +/* EE6618 80240068 0083102A */ slt $v0, $a0, $v1 +/* EE661C 8024006C 10400002 */ beqz $v0, .L80240078 +/* EE6620 80240070 00641023 */ subu $v0, $v1, $a0 +.L80240074: +/* EE6624 80240074 AE0200AC */ sw $v0, 0xac($s0) +.L80240078: +/* EE6628 80240078 8E0300B0 */ lw $v1, 0xb0($s0) +/* EE662C 8024007C 8E020090 */ lw $v0, 0x90($s0) +/* EE6630 80240080 00621821 */ addu $v1, $v1, $v0 +/* EE6634 80240084 04610004 */ bgez $v1, .L80240098 +/* EE6638 80240088 AE0300B0 */ sw $v1, 0xb0($s0) +/* EE663C 8024008C 3C020002 */ lui $v0, 2 +/* EE6640 80240090 0809002A */ j .L802400A8 +/* EE6644 80240094 00621021 */ addu $v0, $v1, $v0 +.L80240098: +/* EE6648 80240098 3C040002 */ lui $a0, 2 +/* EE664C 8024009C 0083102A */ slt $v0, $a0, $v1 +/* EE6650 802400A0 10400002 */ beqz $v0, .L802400AC +/* EE6654 802400A4 00641023 */ subu $v0, $v1, $a0 +.L802400A8: +/* EE6658 802400A8 AE0200B0 */ sw $v0, 0xb0($s0) +.L802400AC: +/* EE665C 802400AC 8E0300B4 */ lw $v1, 0xb4($s0) +/* EE6660 802400B0 8E020094 */ lw $v0, 0x94($s0) +/* EE6664 802400B4 00621821 */ addu $v1, $v1, $v0 +/* EE6668 802400B8 04610004 */ bgez $v1, .L802400CC +/* EE666C 802400BC AE0300B4 */ sw $v1, 0xb4($s0) +/* EE6670 802400C0 3C020002 */ lui $v0, 2 +/* EE6674 802400C4 08090037 */ j .L802400DC +/* EE6678 802400C8 00621021 */ addu $v0, $v1, $v0 +.L802400CC: +/* EE667C 802400CC 3C040002 */ lui $a0, 2 +/* EE6680 802400D0 0083102A */ slt $v0, $a0, $v1 +/* EE6684 802400D4 10400002 */ beqz $v0, .L802400E0 +/* EE6688 802400D8 00641023 */ subu $v0, $v1, $a0 +.L802400DC: +/* EE668C 802400DC AE0200B4 */ sw $v0, 0xb4($s0) +.L802400E0: +/* EE6690 802400E0 8E040084 */ lw $a0, 0x84($s0) +/* EE6694 802400E4 0C049819 */ jal func_80126064 +/* EE6698 802400E8 8E0500A8 */ lw $a1, 0xa8($s0) +/* EE669C 802400EC 8E040084 */ lw $a0, 0x84($s0) +/* EE66A0 802400F0 0C04981F */ jal func_8012607C +/* EE66A4 802400F4 8E0500AC */ lw $a1, 0xac($s0) +/* EE66A8 802400F8 8E040084 */ lw $a0, 0x84($s0) +/* EE66AC 802400FC 0C049825 */ jal func_80126094 +/* EE66B0 80240100 8E0500B0 */ lw $a1, 0xb0($s0) +/* EE66B4 80240104 8E040084 */ lw $a0, 0x84($s0) +/* EE66B8 80240108 0C04982B */ jal func_801260AC +/* EE66BC 8024010C 8E0500B4 */ lw $a1, 0xb4($s0) +/* EE66C0 80240110 8FBF0014 */ lw $ra, 0x14($sp) +/* EE66C4 80240114 8FB00010 */ lw $s0, 0x10($sp) +/* EE66C8 80240118 0000102D */ daddu $v0, $zero, $zero +/* EE66CC 8024011C 03E00008 */ jr $ra +/* EE66D0 80240120 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EE65B0/func_80240124_EE66D4.s b/asm/nonmatchings/code_EE65B0/func_80240124_EE66D4.s new file mode 100644 index 0000000000..e5ccb29932 --- /dev/null +++ b/asm/nonmatchings/code_EE65B0/func_80240124_EE66D4.s @@ -0,0 +1,143 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240124_EE66D4 +/* EE66D4 80240124 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EE66D8 80240128 AFB00010 */ sw $s0, 0x10($sp) +/* EE66DC 8024012C 0080802D */ daddu $s0, $a0, $zero +/* EE66E0 80240130 10A00005 */ beqz $a1, .L80240148 +/* EE66E4 80240134 AFBF0014 */ sw $ra, 0x14($sp) +/* EE66E8 80240138 AE000070 */ sw $zero, 0x70($s0) +/* EE66EC 8024013C AE000074 */ sw $zero, 0x74($s0) +/* EE66F0 80240140 AE000078 */ sw $zero, 0x78($s0) +/* EE66F4 80240144 AE00007C */ sw $zero, 0x7c($s0) +.L80240148: +/* EE66F8 80240148 8E020070 */ lw $v0, 0x70($s0) +/* EE66FC 8024014C 1440000E */ bnez $v0, .L80240188 +/* EE6700 80240150 00000000 */ nop +/* EE6704 80240154 8E0300A8 */ lw $v1, 0xa8($s0) +/* EE6708 80240158 8E020088 */ lw $v0, 0x88($s0) +/* EE670C 8024015C 00621821 */ addu $v1, $v1, $v0 +/* EE6710 80240160 04610004 */ bgez $v1, .L80240174 +/* EE6714 80240164 AE0300A8 */ sw $v1, 0xa8($s0) +/* EE6718 80240168 3C020002 */ lui $v0, 2 +/* EE671C 8024016C 08090061 */ j .L80240184 +/* EE6720 80240170 00621021 */ addu $v0, $v1, $v0 +.L80240174: +/* EE6724 80240174 3C040002 */ lui $a0, 2 +/* EE6728 80240178 0083102A */ slt $v0, $a0, $v1 +/* EE672C 8024017C 10400002 */ beqz $v0, .L80240188 +/* EE6730 80240180 00641023 */ subu $v0, $v1, $a0 +.L80240184: +/* EE6734 80240184 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240188: +/* EE6738 80240188 8E020074 */ lw $v0, 0x74($s0) +/* EE673C 8024018C 1440000E */ bnez $v0, .L802401C8 +/* EE6740 80240190 00000000 */ nop +/* EE6744 80240194 8E0300AC */ lw $v1, 0xac($s0) +/* EE6748 80240198 8E02008C */ lw $v0, 0x8c($s0) +/* EE674C 8024019C 00621821 */ addu $v1, $v1, $v0 +/* EE6750 802401A0 04610004 */ bgez $v1, .L802401B4 +/* EE6754 802401A4 AE0300AC */ sw $v1, 0xac($s0) +/* EE6758 802401A8 3C020002 */ lui $v0, 2 +/* EE675C 802401AC 08090071 */ j .L802401C4 +/* EE6760 802401B0 00621021 */ addu $v0, $v1, $v0 +.L802401B4: +/* EE6764 802401B4 3C040002 */ lui $a0, 2 +/* EE6768 802401B8 0083102A */ slt $v0, $a0, $v1 +/* EE676C 802401BC 10400002 */ beqz $v0, .L802401C8 +/* EE6770 802401C0 00641023 */ subu $v0, $v1, $a0 +.L802401C4: +/* EE6774 802401C4 AE0200AC */ sw $v0, 0xac($s0) +.L802401C8: +/* EE6778 802401C8 8E020078 */ lw $v0, 0x78($s0) +/* EE677C 802401CC 1440000E */ bnez $v0, .L80240208 +/* EE6780 802401D0 00000000 */ nop +/* EE6784 802401D4 8E0300B0 */ lw $v1, 0xb0($s0) +/* EE6788 802401D8 8E020090 */ lw $v0, 0x90($s0) +/* EE678C 802401DC 00621821 */ addu $v1, $v1, $v0 +/* EE6790 802401E0 04610004 */ bgez $v1, .L802401F4 +/* EE6794 802401E4 AE0300B0 */ sw $v1, 0xb0($s0) +/* EE6798 802401E8 3C020002 */ lui $v0, 2 +/* EE679C 802401EC 08090081 */ j .L80240204 +/* EE67A0 802401F0 00621021 */ addu $v0, $v1, $v0 +.L802401F4: +/* EE67A4 802401F4 3C040002 */ lui $a0, 2 +/* EE67A8 802401F8 0083102A */ slt $v0, $a0, $v1 +/* EE67AC 802401FC 10400002 */ beqz $v0, .L80240208 +/* EE67B0 80240200 00641023 */ subu $v0, $v1, $a0 +.L80240204: +/* EE67B4 80240204 AE0200B0 */ sw $v0, 0xb0($s0) +.L80240208: +/* EE67B8 80240208 8E02007C */ lw $v0, 0x7c($s0) +/* EE67BC 8024020C 1440000E */ bnez $v0, .L80240248 +/* EE67C0 80240210 00000000 */ nop +/* EE67C4 80240214 8E0300B4 */ lw $v1, 0xb4($s0) +/* EE67C8 80240218 8E020094 */ lw $v0, 0x94($s0) +/* EE67CC 8024021C 00621821 */ addu $v1, $v1, $v0 +/* EE67D0 80240220 04610004 */ bgez $v1, .L80240234 +/* EE67D4 80240224 AE0300B4 */ sw $v1, 0xb4($s0) +/* EE67D8 80240228 3C020002 */ lui $v0, 2 +/* EE67DC 8024022C 08090091 */ j .L80240244 +/* EE67E0 80240230 00621021 */ addu $v0, $v1, $v0 +.L80240234: +/* EE67E4 80240234 3C040002 */ lui $a0, 2 +/* EE67E8 80240238 0083102A */ slt $v0, $a0, $v1 +/* EE67EC 8024023C 10400002 */ beqz $v0, .L80240248 +/* EE67F0 80240240 00641023 */ subu $v0, $v1, $a0 +.L80240244: +/* EE67F4 80240244 AE0200B4 */ sw $v0, 0xb4($s0) +.L80240248: +/* EE67F8 80240248 8E040084 */ lw $a0, 0x84($s0) +/* EE67FC 8024024C 0C049819 */ jal func_80126064 +/* EE6800 80240250 8E0500A8 */ lw $a1, 0xa8($s0) +/* EE6804 80240254 8E040084 */ lw $a0, 0x84($s0) +/* EE6808 80240258 0C04981F */ jal func_8012607C +/* EE680C 8024025C 8E0500AC */ lw $a1, 0xac($s0) +/* EE6810 80240260 8E040084 */ lw $a0, 0x84($s0) +/* EE6814 80240264 0C049825 */ jal func_80126094 +/* EE6818 80240268 8E0500B0 */ lw $a1, 0xb0($s0) +/* EE681C 8024026C 8E040084 */ lw $a0, 0x84($s0) +/* EE6820 80240270 0C04982B */ jal func_801260AC +/* EE6824 80240274 8E0500B4 */ lw $a1, 0xb4($s0) +/* EE6828 80240278 8E020070 */ lw $v0, 0x70($s0) +/* EE682C 8024027C 8E030078 */ lw $v1, 0x78($s0) +/* EE6830 80240280 8E040098 */ lw $a0, 0x98($s0) +/* EE6834 80240284 24420001 */ addiu $v0, $v0, 1 +/* EE6838 80240288 AE020070 */ sw $v0, 0x70($s0) +/* EE683C 8024028C 8E020074 */ lw $v0, 0x74($s0) +/* EE6840 80240290 24630001 */ addiu $v1, $v1, 1 +/* EE6844 80240294 AE030078 */ sw $v1, 0x78($s0) +/* EE6848 80240298 8E030070 */ lw $v1, 0x70($s0) +/* EE684C 8024029C 24420001 */ addiu $v0, $v0, 1 +/* EE6850 802402A0 AE020074 */ sw $v0, 0x74($s0) +/* EE6854 802402A4 8E02007C */ lw $v0, 0x7c($s0) +/* EE6858 802402A8 0064182A */ slt $v1, $v1, $a0 +/* EE685C 802402AC 24420001 */ addiu $v0, $v0, 1 +/* EE6860 802402B0 14600002 */ bnez $v1, .L802402BC +/* EE6864 802402B4 AE02007C */ sw $v0, 0x7c($s0) +/* EE6868 802402B8 AE000070 */ sw $zero, 0x70($s0) +.L802402BC: +/* EE686C 802402BC 8E020074 */ lw $v0, 0x74($s0) +/* EE6870 802402C0 8E03009C */ lw $v1, 0x9c($s0) +/* EE6874 802402C4 0043102A */ slt $v0, $v0, $v1 +/* EE6878 802402C8 50400001 */ beql $v0, $zero, .L802402D0 +/* EE687C 802402CC AE000074 */ sw $zero, 0x74($s0) +.L802402D0: +/* EE6880 802402D0 8E020078 */ lw $v0, 0x78($s0) +/* EE6884 802402D4 8E0300A0 */ lw $v1, 0xa0($s0) +/* EE6888 802402D8 0043102A */ slt $v0, $v0, $v1 +/* EE688C 802402DC 50400001 */ beql $v0, $zero, .L802402E4 +/* EE6890 802402E0 AE000078 */ sw $zero, 0x78($s0) +.L802402E4: +/* EE6894 802402E4 8E02007C */ lw $v0, 0x7c($s0) +/* EE6898 802402E8 8E0300A4 */ lw $v1, 0xa4($s0) +/* EE689C 802402EC 0043102A */ slt $v0, $v0, $v1 +/* EE68A0 802402F0 50400001 */ beql $v0, $zero, .L802402F8 +/* EE68A4 802402F4 AE00007C */ sw $zero, 0x7c($s0) +.L802402F8: +/* EE68A8 802402F8 8FBF0014 */ lw $ra, 0x14($sp) +/* EE68AC 802402FC 8FB00010 */ lw $s0, 0x10($sp) +/* EE68B0 80240300 0000102D */ daddu $v0, $zero, $zero +/* EE68B4 80240304 03E00008 */ jr $ra +/* EE68B8 80240308 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EE65B0/func_8024030C_EE68BC.s b/asm/nonmatchings/code_EE65B0/func_8024030C_EE68BC.s new file mode 100644 index 0000000000..510a4f1881 --- /dev/null +++ b/asm/nonmatchings/code_EE65B0/func_8024030C_EE68BC.s @@ -0,0 +1,17 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024030C_EE68BC +/* EE68BC 8024030C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EE68C0 80240310 0000202D */ daddu $a0, $zero, $zero +/* EE68C4 80240314 0080282D */ daddu $a1, $a0, $zero +/* EE68C8 80240318 0080302D */ daddu $a2, $a0, $zero +/* EE68CC 8024031C 0080382D */ daddu $a3, $a0, $zero +/* EE68D0 80240320 AFBF0018 */ sw $ra, 0x18($sp) +/* EE68D4 80240324 AFA00010 */ sw $zero, 0x10($sp) +/* EE68D8 80240328 0C01DEF4 */ jal func_80077BD0 +/* EE68DC 8024032C AFA00014 */ sw $zero, 0x14($sp) +/* EE68E0 80240330 8FBF0018 */ lw $ra, 0x18($sp) +/* EE68E4 80240334 24020002 */ addiu $v0, $zero, 2 +/* EE68E8 80240338 03E00008 */ jr $ra +/* EE68EC 8024033C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EE65B0/func_80240340_EE68F0.s b/asm/nonmatchings/code_EE65B0/func_80240340_EE68F0.s new file mode 100644 index 0000000000..37b0bd056d --- /dev/null +++ b/asm/nonmatchings/code_EE65B0/func_80240340_EE68F0.s @@ -0,0 +1,42 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240340_EE68F0 +/* EE68F0 80240340 8C820084 */ lw $v0, 0x84($a0) +/* EE68F4 80240344 8C830090 */ lw $v1, 0x90($a0) +/* EE68F8 80240348 00431023 */ subu $v0, $v0, $v1 +/* EE68FC 8024034C 44821000 */ mtc1 $v0, $f2 +/* EE6900 80240350 00000000 */ nop +/* EE6904 80240354 468010A0 */ cvt.s.w $f2, $f2 +/* EE6908 80240358 8C820088 */ lw $v0, 0x88($a0) +/* EE690C 8024035C 8C830094 */ lw $v1, 0x94($a0) +/* EE6910 80240360 46021082 */ mul.s $f2, $f2, $f2 +/* EE6914 80240364 00000000 */ nop +/* EE6918 80240368 00431023 */ subu $v0, $v0, $v1 +/* EE691C 8024036C 44822000 */ mtc1 $v0, $f4 +/* EE6920 80240370 00000000 */ nop +/* EE6924 80240374 46802120 */ cvt.s.w $f4, $f4 +/* EE6928 80240378 8C82008C */ lw $v0, 0x8c($a0) +/* EE692C 8024037C 46042102 */ mul.s $f4, $f4, $f4 +/* EE6930 80240380 00000000 */ nop +/* EE6934 80240384 8C830098 */ lw $v1, 0x98($a0) +/* EE6938 80240388 00431023 */ subu $v0, $v0, $v1 +/* EE693C 8024038C 44820000 */ mtc1 $v0, $f0 +/* EE6940 80240390 00000000 */ nop +/* EE6944 80240394 46800020 */ cvt.s.w $f0, $f0 +/* EE6948 80240398 46000002 */ mul.s $f0, $f0, $f0 +/* EE694C 8024039C 00000000 */ nop +/* EE6950 802403A0 46041080 */ add.s $f2, $f2, $f4 +/* EE6954 802403A4 46001080 */ add.s $f2, $f2, $f0 +/* EE6958 802403A8 3C014561 */ lui $at, 0x4561 +/* EE695C 802403AC 44810000 */ mtc1 $at, $f0 +/* EE6960 802403B0 00000000 */ nop +/* EE6964 802403B4 4600103C */ c.lt.s $f2, $f0 +/* EE6968 802403B8 00000000 */ nop +/* EE696C 802403BC 45010002 */ bc1t .L802403C8 +/* EE6970 802403C0 24020001 */ addiu $v0, $zero, 1 +/* EE6974 802403C4 0000102D */ daddu $v0, $zero, $zero +.L802403C8: +/* EE6978 802403C8 AC820084 */ sw $v0, 0x84($a0) +/* EE697C 802403CC 03E00008 */ jr $ra +/* EE6980 802403D0 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EE65B0/func_802403D4_EE6984.s b/asm/nonmatchings/code_EE65B0/func_802403D4_EE6984.s new file mode 100644 index 0000000000..b2337eb7ee --- /dev/null +++ b/asm/nonmatchings/code_EE65B0/func_802403D4_EE6984.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802403D4_EE6984 +/* EE6984 802403D4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EE6988 802403D8 3C028011 */ lui $v0, %hi(D_80117852) +/* EE698C 802403DC 80427852 */ lb $v0, %lo(D_80117852)($v0) +/* EE6990 802403E0 0080182D */ daddu $v1, $a0, $zero +/* EE6994 802403E4 1040000C */ beqz $v0, .L80240418 +/* EE6998 802403E8 AFBF0010 */ sw $ra, 0x10($sp) +/* EE699C 802403EC 2404FFFC */ addiu $a0, $zero, -4 +/* EE69A0 802403F0 24020001 */ addiu $v0, $zero, 1 +/* EE69A4 802403F4 0C00F92F */ jal func_8003E4BC +/* EE69A8 802403F8 AC6200BC */ sw $v0, 0xbc($v1) +/* EE69AC 802403FC 0000202D */ daddu $a0, $zero, $zero +/* EE69B0 80240400 3C05FD05 */ lui $a1, 0xfd05 +/* EE69B4 80240404 8C460000 */ lw $a2, ($v0) +/* EE69B8 80240408 0C0B551A */ jal func_802D5468 +/* EE69BC 8024040C 34A50F80 */ ori $a1, $a1, 0xf80 +/* EE69C0 80240410 08090108 */ j .L80240420 +/* EE69C4 80240414 24020002 */ addiu $v0, $zero, 2 +.L80240418: +/* EE69C8 80240418 AC6000BC */ sw $zero, 0xbc($v1) +/* EE69CC 8024041C 24020002 */ addiu $v0, $zero, 2 +.L80240420: +/* EE69D0 80240420 8FBF0010 */ lw $ra, 0x10($sp) +/* EE69D4 80240424 03E00008 */ jr $ra +/* EE69D8 80240428 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EE65B0/func_8024042C_EE69DC.s b/asm/nonmatchings/code_EE65B0/func_8024042C_EE69DC.s new file mode 100644 index 0000000000..ca2e41841a --- /dev/null +++ b/asm/nonmatchings/code_EE65B0/func_8024042C_EE69DC.s @@ -0,0 +1,20 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024042C_EE69DC +/* EE69DC 8024042C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EE69E0 80240430 2404FFFC */ addiu $a0, $zero, -4 +/* EE69E4 80240434 AFBF0014 */ sw $ra, 0x14($sp) +/* EE69E8 80240438 0C00F92F */ jal func_8003E4BC +/* EE69EC 8024043C AFB00010 */ sw $s0, 0x10($sp) +/* EE69F0 80240440 0000202D */ daddu $a0, $zero, $zero +/* EE69F4 80240444 3C05FD05 */ lui $a1, 0xfd05 +/* EE69F8 80240448 34A50F80 */ ori $a1, $a1, 0xf80 +/* EE69FC 8024044C 0C0B53A3 */ jal func_802D4E8C +/* EE6A00 80240450 0040802D */ daddu $s0, $v0, $zero +/* EE6A04 80240454 AE020000 */ sw $v0, ($s0) +/* EE6A08 80240458 8FBF0014 */ lw $ra, 0x14($sp) +/* EE6A0C 8024045C 8FB00010 */ lw $s0, 0x10($sp) +/* EE6A10 80240460 24020002 */ addiu $v0, $zero, 2 +/* EE6A14 80240464 03E00008 */ jr $ra +/* EE6A18 80240468 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EE65B0/func_8024046C_EE6A1C.s b/asm/nonmatchings/code_EE65B0/func_8024046C_EE6A1C.s new file mode 100644 index 0000000000..3fd222a0e4 --- /dev/null +++ b/asm/nonmatchings/code_EE65B0/func_8024046C_EE6A1C.s @@ -0,0 +1,42 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024046C_EE6A1C +/* EE6A1C 8024046C 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EE6A20 80240470 AFB1001C */ sw $s1, 0x1c($sp) +/* EE6A24 80240474 0080882D */ daddu $s1, $a0, $zero +/* EE6A28 80240478 AFBF0020 */ sw $ra, 0x20($sp) +/* EE6A2C 8024047C AFB00018 */ sw $s0, 0x18($sp) +/* EE6A30 80240480 8E30000C */ lw $s0, 0xc($s1) +/* EE6A34 80240484 8E050000 */ lw $a1, ($s0) +/* EE6A38 80240488 0C0B53A3 */ jal func_802D4E8C +/* EE6A3C 8024048C 26100004 */ addiu $s0, $s0, 4 +/* EE6A40 80240490 AE220070 */ sw $v0, 0x70($s1) +/* EE6A44 80240494 8E050000 */ lw $a1, ($s0) +/* EE6A48 80240498 26100004 */ addiu $s0, $s0, 4 +/* EE6A4C 8024049C 0C0B53A3 */ jal func_802D4E8C +/* EE6A50 802404A0 0220202D */ daddu $a0, $s1, $zero +/* EE6A54 802404A4 AE220074 */ sw $v0, 0x74($s1) +/* EE6A58 802404A8 8E050000 */ lw $a1, ($s0) +/* EE6A5C 802404AC 0C0B53A3 */ jal func_802D4E8C +/* EE6A60 802404B0 0220202D */ daddu $a0, $s1, $zero +/* EE6A64 802404B4 24040194 */ addiu $a0, $zero, 0x194 +/* EE6A68 802404B8 0000282D */ daddu $a1, $zero, $zero +/* EE6A6C 802404BC C6200070 */ lwc1 $f0, 0x70($s1) +/* EE6A70 802404C0 46800020 */ cvt.s.w $f0, $f0 +/* EE6A74 802404C4 C6220074 */ lwc1 $f2, 0x74($s1) +/* EE6A78 802404C8 468010A0 */ cvt.s.w $f2, $f2 +/* EE6A7C 802404CC 44060000 */ mfc1 $a2, $f0 +/* EE6A80 802404D0 44071000 */ mfc1 $a3, $f2 +/* EE6A84 802404D4 44820000 */ mtc1 $v0, $f0 +/* EE6A88 802404D8 00000000 */ nop +/* EE6A8C 802404DC 46800020 */ cvt.s.w $f0, $f0 +/* EE6A90 802404E0 AE220078 */ sw $v0, 0x78($s1) +/* EE6A94 802404E4 0C055C13 */ jal func_8015704C +/* EE6A98 802404E8 E7A00010 */ swc1 $f0, 0x10($sp) +/* EE6A9C 802404EC 8FBF0020 */ lw $ra, 0x20($sp) +/* EE6AA0 802404F0 8FB1001C */ lw $s1, 0x1c($sp) +/* EE6AA4 802404F4 8FB00018 */ lw $s0, 0x18($sp) +/* EE6AA8 802404F8 24020002 */ addiu $v0, $zero, 2 +/* EE6AAC 802404FC 03E00008 */ jr $ra +/* EE6AB0 80240500 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EE65B0/func_80240504_EE6AB4.s b/asm/nonmatchings/code_EE65B0/func_80240504_EE6AB4.s new file mode 100644 index 0000000000..b0ddf08272 --- /dev/null +++ b/asm/nonmatchings/code_EE65B0/func_80240504_EE6AB4.s @@ -0,0 +1,184 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240504_EE6AB4 +/* EE6AB4 80240504 27BDFF88 */ addiu $sp, $sp, -0x78 +/* EE6AB8 80240508 AFBF0064 */ sw $ra, 0x64($sp) +/* EE6ABC 8024050C AFB00060 */ sw $s0, 0x60($sp) +/* EE6AC0 80240510 F7B60070 */ sdc1 $f22, 0x70($sp) +/* EE6AC4 80240514 F7B40068 */ sdc1 $f20, 0x68($sp) +/* EE6AC8 80240518 0C01B198 */ jal osGetCause +/* EE6ACC 8024051C 27A40010 */ addiu $a0, $sp, 0x10 +/* EE6AD0 80240520 3C108024 */ lui $s0, %hi(func_80243B44_C74FC4) +/* EE6AD4 80240524 26103B44 */ addiu $s0, $s0, %lo(func_80243B44_C74FC4) +/* EE6AD8 80240528 C6000000 */ lwc1 $f0, ($s0) +/* EE6ADC 8024052C 3C014130 */ lui $at, 0x4130 +/* EE6AE0 80240530 44816000 */ mtc1 $at, $f12 +/* EE6AE4 80240534 0C00AD17 */ jal func_8002B45C +/* EE6AE8 80240538 460C0303 */ div.s $f12, $f0, $f12 +/* EE6AEC 8024053C 3C018024 */ lui $at, %hi(D_80245350) +/* EE6AF0 80240540 D4345350 */ ldc1 $f20, %lo(D_80245350)($at) +/* EE6AF4 80240544 46000021 */ cvt.d.s $f0, $f0 +/* EE6AF8 80240548 46340002 */ mul.d $f0, $f0, $f20 +/* EE6AFC 8024054C 00000000 */ nop +/* EE6B00 80240550 3C018024 */ lui $at, %hi(D_80245358) +/* EE6B04 80240554 D4365358 */ ldc1 $f22, %lo(D_80245358)($at) +/* EE6B08 80240558 C6020000 */ lwc1 $f2, ($s0) +/* EE6B0C 8024055C 3C014140 */ lui $at, 0x4140 +/* EE6B10 80240560 44816000 */ mtc1 $at, $f12 +/* EE6B14 80240564 46360000 */ add.d $f0, $f0, $f22 +/* EE6B18 80240568 460C1303 */ div.s $f12, $f2, $f12 +/* EE6B1C 8024056C 46200020 */ cvt.s.d $f0, $f0 +/* EE6B20 80240570 0C00AD17 */ jal func_8002B45C +/* EE6B24 80240574 E7A00010 */ swc1 $f0, 0x10($sp) +/* EE6B28 80240578 46000021 */ cvt.d.s $f0, $f0 +/* EE6B2C 8024057C 46340002 */ mul.d $f0, $f0, $f20 +/* EE6B30 80240580 00000000 */ nop +/* EE6B34 80240584 C6020000 */ lwc1 $f2, ($s0) +/* EE6B38 80240588 3C014150 */ lui $at, 0x4150 +/* EE6B3C 8024058C 44816000 */ mtc1 $at, $f12 +/* EE6B40 80240590 00000000 */ nop +/* EE6B44 80240594 460C1303 */ div.s $f12, $f2, $f12 +/* EE6B48 80240598 46200020 */ cvt.s.d $f0, $f0 +/* EE6B4C 8024059C 0C00AD30 */ jal func_8002B4C0 +/* EE6B50 802405A0 E7A00014 */ swc1 $f0, 0x14($sp) +/* EE6B54 802405A4 46000021 */ cvt.d.s $f0, $f0 +/* EE6B58 802405A8 46340002 */ mul.d $f0, $f0, $f20 +/* EE6B5C 802405AC 00000000 */ nop +/* EE6B60 802405B0 C60C0000 */ lwc1 $f12, ($s0) +/* EE6B64 802405B4 3C0140E0 */ lui $at, 0x40e0 +/* EE6B68 802405B8 44811000 */ mtc1 $at, $f2 +/* EE6B6C 802405BC 3C013F80 */ lui $at, 0x3f80 +/* EE6B70 802405C0 44812000 */ mtc1 $at, $f4 +/* EE6B74 802405C4 46026303 */ div.s $f12, $f12, $f2 +/* EE6B78 802405C8 46046300 */ add.s $f12, $f12, $f4 +/* EE6B7C 802405CC 46200020 */ cvt.s.d $f0, $f0 +/* EE6B80 802405D0 0C00AD17 */ jal func_8002B45C +/* EE6B84 802405D4 E7A00018 */ swc1 $f0, 0x18($sp) +/* EE6B88 802405D8 46000021 */ cvt.d.s $f0, $f0 +/* EE6B8C 802405DC 46340002 */ mul.d $f0, $f0, $f20 +/* EE6B90 802405E0 00000000 */ nop +/* EE6B94 802405E4 C6020000 */ lwc1 $f2, ($s0) +/* EE6B98 802405E8 3C014160 */ lui $at, 0x4160 +/* EE6B9C 802405EC 44816000 */ mtc1 $at, $f12 +/* EE6BA0 802405F0 46360000 */ add.d $f0, $f0, $f22 +/* EE6BA4 802405F4 460C1303 */ div.s $f12, $f2, $f12 +/* EE6BA8 802405F8 46200020 */ cvt.s.d $f0, $f0 +/* EE6BAC 802405FC 0C00AD17 */ jal func_8002B45C +/* EE6BB0 80240600 E7A00024 */ swc1 $f0, 0x24($sp) +/* EE6BB4 80240604 46000021 */ cvt.d.s $f0, $f0 +/* EE6BB8 80240608 46340002 */ mul.d $f0, $f0, $f20 +/* EE6BBC 8024060C 00000000 */ nop +/* EE6BC0 80240610 C6020000 */ lwc1 $f2, ($s0) +/* EE6BC4 80240614 3C014170 */ lui $at, 0x4170 +/* EE6BC8 80240618 44816000 */ mtc1 $at, $f12 +/* EE6BCC 8024061C 00000000 */ nop +/* EE6BD0 80240620 460C1303 */ div.s $f12, $f2, $f12 +/* EE6BD4 80240624 46200020 */ cvt.s.d $f0, $f0 +/* EE6BD8 80240628 0C00AD30 */ jal func_8002B4C0 +/* EE6BDC 8024062C E7A00020 */ swc1 $f0, 0x20($sp) +/* EE6BE0 80240630 46000021 */ cvt.d.s $f0, $f0 +/* EE6BE4 80240634 46340002 */ mul.d $f0, $f0, $f20 +/* EE6BE8 80240638 00000000 */ nop +/* EE6BEC 8024063C C60C0000 */ lwc1 $f12, ($s0) +/* EE6BF0 80240640 3C013E80 */ lui $at, 0x3e80 +/* EE6BF4 80240644 44811000 */ mtc1 $at, $f2 +/* EE6BF8 80240648 00000000 */ nop +/* EE6BFC 8024064C 46026302 */ mul.s $f12, $f12, $f2 +/* EE6C00 80240650 00000000 */ nop +/* EE6C04 80240654 3C014000 */ lui $at, 0x4000 +/* EE6C08 80240658 44811000 */ mtc1 $at, $f2 +/* EE6C0C 8024065C 00000000 */ nop +/* EE6C10 80240660 46026300 */ add.s $f12, $f12, $f2 +/* EE6C14 80240664 46200020 */ cvt.s.d $f0, $f0 +/* EE6C18 80240668 0C00AD17 */ jal func_8002B45C +/* EE6C1C 8024066C E7A00028 */ swc1 $f0, 0x28($sp) +/* EE6C20 80240670 46000021 */ cvt.d.s $f0, $f0 +/* EE6C24 80240674 46340002 */ mul.d $f0, $f0, $f20 +/* EE6C28 80240678 00000000 */ nop +/* EE6C2C 8024067C C6020000 */ lwc1 $f2, ($s0) +/* EE6C30 80240680 3C013D80 */ lui $at, 0x3d80 +/* EE6C34 80240684 44816000 */ mtc1 $at, $f12 +/* EE6C38 80240688 00000000 */ nop +/* EE6C3C 8024068C 460C1302 */ mul.s $f12, $f2, $f12 +/* EE6C40 80240690 00000000 */ nop +/* EE6C44 80240694 46360000 */ add.d $f0, $f0, $f22 +/* EE6C48 80240698 46200020 */ cvt.s.d $f0, $f0 +/* EE6C4C 8024069C 0C00AD17 */ jal func_8002B45C +/* EE6C50 802406A0 E7A00038 */ swc1 $f0, 0x38($sp) +/* EE6C54 802406A4 46000021 */ cvt.d.s $f0, $f0 +/* EE6C58 802406A8 46340002 */ mul.d $f0, $f0, $f20 +/* EE6C5C 802406AC 00000000 */ nop +/* EE6C60 802406B0 C6020000 */ lwc1 $f2, ($s0) +/* EE6C64 802406B4 3C014188 */ lui $at, 0x4188 +/* EE6C68 802406B8 44816000 */ mtc1 $at, $f12 +/* EE6C6C 802406BC 00000000 */ nop +/* EE6C70 802406C0 460C1303 */ div.s $f12, $f2, $f12 +/* EE6C74 802406C4 46200020 */ cvt.s.d $f0, $f0 +/* EE6C78 802406C8 0C00AD30 */ jal func_8002B4C0 +/* EE6C7C 802406CC E7A00030 */ swc1 $f0, 0x30($sp) +/* EE6C80 802406D0 3C030001 */ lui $v1, 1 +/* EE6C84 802406D4 46000021 */ cvt.d.s $f0, $f0 +/* EE6C88 802406D8 46340002 */ mul.d $f0, $f0, $f20 +/* EE6C8C 802406DC 00000000 */ nop +/* EE6C90 802406E0 34631630 */ ori $v1, $v1, 0x1630 +/* EE6C94 802406E4 27A40010 */ addiu $a0, $sp, 0x10 +/* EE6C98 802406E8 3C058008 */ lui $a1, %hi(D_80079540) +/* EE6C9C 802406EC 94A59540 */ lhu $a1, %lo(D_80079540)($a1) +/* EE6CA0 802406F0 3C02800A */ lui $v0, %hi(D_800A15CC) +/* EE6CA4 802406F4 8C4215CC */ lw $v0, %lo(D_800A15CC)($v0) +/* EE6CA8 802406F8 00052980 */ sll $a1, $a1, 6 +/* EE6CAC 802406FC 00A32821 */ addu $a1, $a1, $v1 +/* EE6CB0 80240700 00452821 */ addu $a1, $v0, $a1 +/* EE6CB4 80240704 46200020 */ cvt.s.d $f0, $f0 +/* EE6CB8 80240708 0C01B1B0 */ jal osSpDeviceBusy +/* EE6CBC 8024070C E7A00034 */ swc1 $f0, 0x34($sp) +/* EE6CC0 80240710 0000202D */ daddu $a0, $zero, $zero +/* EE6CC4 80240714 27A50050 */ addiu $a1, $sp, 0x50 +/* EE6CC8 80240718 27A60054 */ addiu $a2, $sp, 0x54 +/* EE6CCC 8024071C 0C0499BE */ jal func_801266F8 +/* EE6CD0 80240720 27A70058 */ addiu $a3, $sp, 0x58 +/* EE6CD4 80240724 3C03DA38 */ lui $v1, 0xda38 +/* EE6CD8 80240728 34630001 */ ori $v1, $v1, 1 +/* EE6CDC 8024072C 3C080001 */ lui $t0, 1 +/* EE6CE0 80240730 35081630 */ ori $t0, $t0, 0x1630 +/* EE6CE4 80240734 3C06800A */ lui $a2, %hi(D_800A15C4) +/* EE6CE8 80240738 24C615C4 */ addiu $a2, $a2, %lo(D_800A15C4) +/* EE6CEC 8024073C 0000202D */ daddu $a0, $zero, $zero +/* EE6CF0 80240740 3C058008 */ lui $a1, %hi(D_80079540) +/* EE6CF4 80240744 24A59540 */ addiu $a1, $a1, %lo(D_80079540) +/* EE6CF8 80240748 8CD00000 */ lw $s0, ($a2) +/* EE6CFC 8024074C 94A20000 */ lhu $v0, ($a1) +/* EE6D00 80240750 0200382D */ daddu $a3, $s0, $zero +/* EE6D04 80240754 26100008 */ addiu $s0, $s0, 8 +/* EE6D08 80240758 ACD00000 */ sw $s0, ($a2) +/* EE6D0C 8024075C ACE30000 */ sw $v1, ($a3) +/* EE6D10 80240760 24430001 */ addiu $v1, $v0, 1 +/* EE6D14 80240764 3042FFFF */ andi $v0, $v0, 0xffff +/* EE6D18 80240768 00021180 */ sll $v0, $v0, 6 +/* EE6D1C 8024076C A4A30000 */ sh $v1, ($a1) +/* EE6D20 80240770 3C03800A */ lui $v1, %hi(D_800A15CC) +/* EE6D24 80240774 8C6315CC */ lw $v1, %lo(D_800A15CC)($v1) +/* EE6D28 80240778 00481021 */ addu $v0, $v0, $t0 +/* EE6D2C 8024077C 00621821 */ addu $v1, $v1, $v0 +/* EE6D30 80240780 26020008 */ addiu $v0, $s0, 8 +/* EE6D34 80240784 ACE30004 */ sw $v1, 4($a3) +/* EE6D38 80240788 ACC20000 */ sw $v0, ($a2) +/* EE6D3C 8024078C 3C02DE00 */ lui $v0, 0xde00 +/* EE6D40 80240790 0C0499CD */ jal func_80126734 +/* EE6D44 80240794 AE020000 */ sw $v0, ($s0) +/* EE6D48 80240798 3C038024 */ lui $v1, %hi(func_80243B44_C74FC4) +/* EE6D4C 8024079C 24633B44 */ addiu $v1, $v1, %lo(func_80243B44_C74FC4) +/* EE6D50 802407A0 C4600000 */ lwc1 $f0, ($v1) +/* EE6D54 802407A4 3C013F80 */ lui $at, 0x3f80 +/* EE6D58 802407A8 44811000 */ mtc1 $at, $f2 +/* EE6D5C 802407AC 00000000 */ nop +/* EE6D60 802407B0 46020000 */ add.s $f0, $f0, $f2 +/* EE6D64 802407B4 AE020004 */ sw $v0, 4($s0) +/* EE6D68 802407B8 E4600000 */ swc1 $f0, ($v1) +/* EE6D6C 802407BC 8FBF0064 */ lw $ra, 0x64($sp) +/* EE6D70 802407C0 8FB00060 */ lw $s0, 0x60($sp) +/* EE6D74 802407C4 D7B60070 */ ldc1 $f22, 0x70($sp) +/* EE6D78 802407C8 D7B40068 */ ldc1 $f20, 0x68($sp) +/* EE6D7C 802407CC 03E00008 */ jr $ra +/* EE6D80 802407D0 27BD0078 */ addiu $sp, $sp, 0x78 diff --git a/asm/nonmatchings/code_EE65B0/func_802407D4_EE6D84.s b/asm/nonmatchings/code_EE65B0/func_802407D4_EE6D84.s new file mode 100644 index 0000000000..7a3d2f82ae --- /dev/null +++ b/asm/nonmatchings/code_EE65B0/func_802407D4_EE6D84.s @@ -0,0 +1,221 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802407D4_EE6D84 +/* EE6D84 802407D4 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* EE6D88 802407D8 24040001 */ addiu $a0, $zero, 1 +/* EE6D8C 802407DC 27A50010 */ addiu $a1, $sp, 0x10 +/* EE6D90 802407E0 27A60014 */ addiu $a2, $sp, 0x14 +/* EE6D94 802407E4 AFBF0030 */ sw $ra, 0x30($sp) +/* EE6D98 802407E8 AFB3002C */ sw $s3, 0x2c($sp) +/* EE6D9C 802407EC AFB20028 */ sw $s2, 0x28($sp) +/* EE6DA0 802407F0 AFB10024 */ sw $s1, 0x24($sp) +/* EE6DA4 802407F4 AFB00020 */ sw $s0, 0x20($sp) +/* EE6DA8 802407F8 F7BA0050 */ sdc1 $f26, 0x50($sp) +/* EE6DAC 802407FC F7B80048 */ sdc1 $f24, 0x48($sp) +/* EE6DB0 80240800 F7B60040 */ sdc1 $f22, 0x40($sp) +/* EE6DB4 80240804 F7B40038 */ sdc1 $f20, 0x38($sp) +/* EE6DB8 80240808 0C0499BE */ jal func_801266F8 +/* EE6DBC 8024080C 27A70018 */ addiu $a3, $sp, 0x18 +/* EE6DC0 80240810 8FA20018 */ lw $v0, 0x18($sp) +/* EE6DC4 80240814 18400072 */ blez $v0, .L802409E0 +/* EE6DC8 80240818 0000902D */ daddu $s2, $zero, $zero +/* EE6DCC 8024081C 3C138024 */ lui $s3, %hi(D_80243B48) +/* EE6DD0 80240820 26733B48 */ addiu $s3, $s3, %lo(D_80243B48) +/* EE6DD4 80240824 3C014334 */ lui $at, 0x4334 +/* EE6DD8 80240828 4481D000 */ mtc1 $at, $f26 +/* EE6DDC 8024082C 3C018024 */ lui $at, %hi(D_80245360) +/* EE6DE0 80240830 D4385360 */ ldc1 $f24, %lo(D_80245360)($at) +/* EE6DE4 80240834 3C018024 */ lui $at, %hi(D_80245368) +/* EE6DE8 80240838 D4365368 */ ldc1 $f22, %lo(D_80245368)($at) +/* EE6DEC 8024083C 00122100 */ sll $a0, $s2, 4 +.L80240840: +/* EE6DF0 80240840 8FA20010 */ lw $v0, 0x10($sp) +/* EE6DF4 80240844 8FA30014 */ lw $v1, 0x14($sp) +/* EE6DF8 80240848 00448021 */ addu $s0, $v0, $a0 +/* EE6DFC 8024084C 86020000 */ lh $v0, ($s0) +/* EE6E00 80240850 28420259 */ slti $v0, $v0, 0x259 +/* EE6E04 80240854 1040005D */ beqz $v0, .L802409CC +/* EE6E08 80240858 00648821 */ addu $s1, $v1, $a0 +/* EE6E0C 8024085C C66C0000 */ lwc1 $f12, ($s3) +/* EE6E10 80240860 46806320 */ cvt.s.w $f12, $f12 +/* EE6E14 80240864 461A6303 */ div.s $f12, $f12, $f26 +/* EE6E18 80240868 46006321 */ cvt.d.s $f12, $f12 +/* EE6E1C 8024086C 46386302 */ mul.d $f12, $f12, $f24 +/* EE6E20 80240870 00000000 */ nop +/* EE6E24 80240874 0C00AD17 */ jal func_8002B45C +/* EE6E28 80240878 46206320 */ cvt.s.d $f12, $f12 +/* EE6E2C 8024087C C66C0000 */ lwc1 $f12, ($s3) +/* EE6E30 80240880 46806320 */ cvt.s.w $f12, $f12 +/* EE6E34 80240884 461A6303 */ div.s $f12, $f12, $f26 +/* EE6E38 80240888 46006321 */ cvt.d.s $f12, $f12 +/* EE6E3C 8024088C 46386302 */ mul.d $f12, $f12, $f24 +/* EE6E40 80240890 00000000 */ nop +/* EE6E44 80240894 3C018024 */ lui $at, %hi(D_80245370) +/* EE6E48 80240898 D4225370 */ ldc1 $f2, %lo(D_80245370)($at) +/* EE6E4C 8024089C 46000521 */ cvt.d.s $f20, $f0 +/* EE6E50 802408A0 4622A502 */ mul.d $f20, $f20, $f2 +/* EE6E54 802408A4 00000000 */ nop +/* EE6E58 802408A8 3C018024 */ lui $at, %hi(D_80245378) +/* EE6E5C 802408AC D4205378 */ ldc1 $f0, %lo(D_80245378)($at) +/* EE6E60 802408B0 4620A500 */ add.d $f20, $f20, $f0 +/* EE6E64 802408B4 46206320 */ cvt.s.d $f12, $f12 +/* EE6E68 802408B8 0C00AD17 */ jal func_8002B45C +/* EE6E6C 802408BC 4620A520 */ cvt.s.d $f20, $f20 +/* EE6E70 802408C0 46000021 */ cvt.d.s $f0, $f0 +/* EE6E74 802408C4 46360002 */ mul.d $f0, $f0, $f22 +/* EE6E78 802408C8 00000000 */ nop +/* EE6E7C 802408CC 86020000 */ lh $v0, ($s0) +/* EE6E80 802408D0 2442FD98 */ addiu $v0, $v0, -0x268 +/* EE6E84 802408D4 44822000 */ mtc1 $v0, $f4 +/* EE6E88 802408D8 00000000 */ nop +/* EE6E8C 802408DC 46802120 */ cvt.s.w $f4, $f4 +/* EE6E90 802408E0 46142102 */ mul.s $f4, $f4, $f20 +/* EE6E94 802408E4 00000000 */ nop +/* EE6E98 802408E8 4620B001 */ sub.d $f0, $f22, $f0 +/* EE6E9C 802408EC 3C01C240 */ lui $at, 0xc240 +/* EE6EA0 802408F0 44813000 */ mtc1 $at, $f6 +/* EE6EA4 802408F4 46200020 */ cvt.s.d $f0, $f0 +/* EE6EA8 802408F8 46060182 */ mul.s $f6, $f0, $f6 +/* EE6EAC 802408FC 00000000 */ nop +/* EE6EB0 80240900 3C01441A */ lui $at, 0x441a +/* EE6EB4 80240904 44811000 */ mtc1 $at, $f2 +/* EE6EB8 80240908 00000000 */ nop +/* EE6EBC 8024090C 46022100 */ add.s $f4, $f4, $f2 +/* EE6EC0 80240910 46062100 */ add.s $f4, $f4, $f6 +/* EE6EC4 80240914 3C0141C8 */ lui $at, 0x41c8 +/* EE6EC8 80240918 44813000 */ mtc1 $at, $f6 +/* EE6ECC 8024091C 00000000 */ nop +/* EE6ED0 80240920 46060182 */ mul.s $f6, $f0, $f6 +/* EE6ED4 80240924 00000000 */ nop +/* EE6ED8 80240928 4600220D */ trunc.w.s $f8, $f4 +/* EE6EDC 8024092C 44024000 */ mfc1 $v0, $f8 +/* EE6EE0 80240930 00000000 */ nop +/* EE6EE4 80240934 A6220000 */ sh $v0, ($s1) +/* EE6EE8 80240938 86020002 */ lh $v0, 2($s0) +/* EE6EEC 8024093C 2442FFD4 */ addiu $v0, $v0, -0x2c +/* EE6EF0 80240940 44821000 */ mtc1 $v0, $f2 +/* EE6EF4 80240944 00000000 */ nop +/* EE6EF8 80240948 468010A0 */ cvt.s.w $f2, $f2 +/* EE6EFC 8024094C 46141082 */ mul.s $f2, $f2, $f20 +/* EE6F00 80240950 00000000 */ nop +/* EE6F04 80240954 3C014230 */ lui $at, 0x4230 +/* EE6F08 80240958 44812000 */ mtc1 $at, $f4 +/* EE6F0C 8024095C 00000000 */ nop +/* EE6F10 80240960 46041080 */ add.s $f2, $f2, $f4 +/* EE6F14 80240964 46061080 */ add.s $f2, $f2, $f6 +/* EE6F18 80240968 3C01C2AE */ lui $at, 0xc2ae +/* EE6F1C 8024096C 44812000 */ mtc1 $at, $f4 +/* EE6F20 80240970 00000000 */ nop +/* EE6F24 80240974 46040002 */ mul.s $f0, $f0, $f4 +/* EE6F28 80240978 00000000 */ nop +/* EE6F2C 8024097C 4600120D */ trunc.w.s $f8, $f2 +/* EE6F30 80240980 44024000 */ mfc1 $v0, $f8 +/* EE6F34 80240984 00000000 */ nop +/* EE6F38 80240988 A6220002 */ sh $v0, 2($s1) +/* EE6F3C 8024098C 86020004 */ lh $v0, 4($s0) +/* EE6F40 80240990 2442FF8F */ addiu $v0, $v0, -0x71 +/* EE6F44 80240994 44821000 */ mtc1 $v0, $f2 +/* EE6F48 80240998 00000000 */ nop +/* EE6F4C 8024099C 468010A0 */ cvt.s.w $f2, $f2 +/* EE6F50 802409A0 46141082 */ mul.s $f2, $f2, $f20 +/* EE6F54 802409A4 00000000 */ nop +/* EE6F58 802409A8 3C0142E2 */ lui $at, 0x42e2 +/* EE6F5C 802409AC 44812000 */ mtc1 $at, $f4 +/* EE6F60 802409B0 00000000 */ nop +/* EE6F64 802409B4 46041080 */ add.s $f2, $f2, $f4 +/* EE6F68 802409B8 46001080 */ add.s $f2, $f2, $f0 +/* EE6F6C 802409BC 4600120D */ trunc.w.s $f8, $f2 +/* EE6F70 802409C0 44024000 */ mfc1 $v0, $f8 +/* EE6F74 802409C4 00000000 */ nop +/* EE6F78 802409C8 A6220004 */ sh $v0, 4($s1) +.L802409CC: +/* EE6F7C 802409CC 8FA20018 */ lw $v0, 0x18($sp) +/* EE6F80 802409D0 26520001 */ addiu $s2, $s2, 1 +/* EE6F84 802409D4 0242102A */ slt $v0, $s2, $v0 +/* EE6F88 802409D8 1440FF99 */ bnez $v0, .L80240840 +/* EE6F8C 802409DC 00122100 */ sll $a0, $s2, 4 +.L802409E0: +/* EE6F90 802409E0 3C03800A */ lui $v1, %hi(D_800A15C4) +/* EE6F94 802409E4 246315C4 */ addiu $v1, $v1, %lo(D_800A15C4) +/* EE6F98 802409E8 8C620000 */ lw $v0, ($v1) +/* EE6F9C 802409EC 24040001 */ addiu $a0, $zero, 1 +/* EE6FA0 802409F0 0040802D */ daddu $s0, $v0, $zero +/* EE6FA4 802409F4 24420008 */ addiu $v0, $v0, 8 +/* EE6FA8 802409F8 AC620000 */ sw $v0, ($v1) +/* EE6FAC 802409FC 3C02DE00 */ lui $v0, 0xde00 +/* EE6FB0 80240A00 0C0499CD */ jal func_80126734 +/* EE6FB4 80240A04 AE020000 */ sw $v0, ($s0) +/* EE6FB8 80240A08 0000202D */ daddu $a0, $zero, $zero +/* EE6FBC 80240A0C 3C05F971 */ lui $a1, 0xf971 +/* EE6FC0 80240A10 34A588A4 */ ori $a1, $a1, 0x88a4 +/* EE6FC4 80240A14 0C0B53A3 */ jal func_802D4E8C +/* EE6FC8 80240A18 AE020004 */ sw $v0, 4($s0) +/* EE6FCC 80240A1C 10400017 */ beqz $v0, .L80240A7C +/* EE6FD0 80240A20 00000000 */ nop +/* EE6FD4 80240A24 3C048024 */ lui $a0, %hi(D_80243B48) +/* EE6FD8 80240A28 24843B48 */ addiu $a0, $a0, %lo(D_80243B48) +/* EE6FDC 80240A2C 8C830000 */ lw $v1, ($a0) +/* EE6FE0 80240A30 2862005B */ slti $v0, $v1, 0x5b +/* EE6FE4 80240A34 14400005 */ bnez $v0, .L80240A4C +/* EE6FE8 80240A38 2862FFA6 */ slti $v0, $v1, -0x5a +/* EE6FEC 80240A3C 2462FE98 */ addiu $v0, $v1, -0x168 +/* EE6FF0 80240A40 AC820000 */ sw $v0, ($a0) +/* EE6FF4 80240A44 8C830000 */ lw $v1, ($a0) +/* EE6FF8 80240A48 2862FFA6 */ slti $v0, $v1, -0x5a +.L80240A4C: +/* EE6FFC 80240A4C 14400002 */ bnez $v0, .L80240A58 +/* EE7000 80240A50 24620014 */ addiu $v0, $v1, 0x14 +/* EE7004 80240A54 24620005 */ addiu $v0, $v1, 5 +.L80240A58: +/* EE7008 80240A58 AC820000 */ sw $v0, ($a0) +/* EE700C 80240A5C 3C038024 */ lui $v1, %hi(D_80243B48) +/* EE7010 80240A60 24633B48 */ addiu $v1, $v1, %lo(D_80243B48) +/* EE7014 80240A64 8C620000 */ lw $v0, ($v1) +/* EE7018 80240A68 2842005A */ slti $v0, $v0, 0x5a +/* EE701C 80240A6C 14400013 */ bnez $v0, .L80240ABC +/* EE7020 80240A70 2402005A */ addiu $v0, $zero, 0x5a +/* EE7024 80240A74 080902AF */ j .L80240ABC +/* EE7028 80240A78 AC620000 */ sw $v0, ($v1) +.L80240A7C: +/* EE702C 80240A7C 3C028024 */ lui $v0, %hi(D_80243B48) +/* EE7030 80240A80 8C423B48 */ lw $v0, %lo(D_80243B48)($v0) +/* EE7034 80240A84 2442FF73 */ addiu $v0, $v0, -0x8d +/* EE7038 80240A88 2C420077 */ sltiu $v0, $v0, 0x77 +/* EE703C 80240A8C 10400004 */ beqz $v0, .L80240AA0 +/* EE7040 80240A90 24020001 */ addiu $v0, $zero, 1 +/* EE7044 80240A94 3C018024 */ lui $at, %hi(func_802431FC_95E3FC) +/* EE7048 80240A98 080902AA */ j .L80240AA8 +/* EE704C 80240A9C AC2231FC */ sw $v0, %lo(func_802431FC_95E3FC)($at) +.L80240AA0: +/* EE7050 80240AA0 3C018024 */ lui $at, %hi(func_802431FC_95E3FC) +/* EE7054 80240AA4 AC2031FC */ sw $zero, %lo(func_802431FC_95E3FC)($at) +.L80240AA8: +/* EE7058 80240AA8 3C038024 */ lui $v1, %hi(D_80243B48) +/* EE705C 80240AAC 24633B48 */ addiu $v1, $v1, %lo(D_80243B48) +/* EE7060 80240AB0 8C620000 */ lw $v0, ($v1) +/* EE7064 80240AB4 24420005 */ addiu $v0, $v0, 5 +/* EE7068 80240AB8 AC620000 */ sw $v0, ($v1) +.L80240ABC: +/* EE706C 80240ABC 3C048024 */ lui $a0, %hi(D_80243B48) +/* EE7070 80240AC0 24843B48 */ addiu $a0, $a0, %lo(D_80243B48) +/* EE7074 80240AC4 8C830000 */ lw $v1, ($a0) +/* EE7078 80240AC8 28620168 */ slti $v0, $v1, 0x168 +/* EE707C 80240ACC 14400002 */ bnez $v0, .L80240AD8 +/* EE7080 80240AD0 2462FE98 */ addiu $v0, $v1, -0x168 +/* EE7084 80240AD4 AC820000 */ sw $v0, ($a0) +.L80240AD8: +/* EE7088 80240AD8 8FBF0030 */ lw $ra, 0x30($sp) +/* EE708C 80240ADC 8FB3002C */ lw $s3, 0x2c($sp) +/* EE7090 80240AE0 8FB20028 */ lw $s2, 0x28($sp) +/* EE7094 80240AE4 8FB10024 */ lw $s1, 0x24($sp) +/* EE7098 80240AE8 8FB00020 */ lw $s0, 0x20($sp) +/* EE709C 80240AEC D7BA0050 */ ldc1 $f26, 0x50($sp) +/* EE70A0 80240AF0 D7B80048 */ ldc1 $f24, 0x48($sp) +/* EE70A4 80240AF4 D7B60040 */ ldc1 $f22, 0x40($sp) +/* EE70A8 80240AF8 D7B40038 */ ldc1 $f20, 0x38($sp) +/* EE70AC 80240AFC 03E00008 */ jr $ra +/* EE70B0 80240B00 27BD0058 */ addiu $sp, $sp, 0x58 +/* EE70B4 80240B04 00000000 */ nop +/* EE70B8 80240B08 00000000 */ nop +/* EE70BC 80240B0C 00000000 */ nop diff --git a/asm/nonmatchings/code_EE70C0/func_80240B10_EE70C0.s b/asm/nonmatchings/code_EE70C0/func_80240B10_EE70C0.s new file mode 100644 index 0000000000..36827b215b --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_80240B10_EE70C0.s @@ -0,0 +1,116 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240B10_EE70C0 +/* EE70C0 80240B10 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* EE70C4 80240B14 AFB3002C */ sw $s3, 0x2c($sp) +/* EE70C8 80240B18 0080982D */ daddu $s3, $a0, $zero +/* EE70CC 80240B1C AFBF0030 */ sw $ra, 0x30($sp) +/* EE70D0 80240B20 AFB20028 */ sw $s2, 0x28($sp) +/* EE70D4 80240B24 AFB10024 */ sw $s1, 0x24($sp) +/* EE70D8 80240B28 AFB00020 */ sw $s0, 0x20($sp) +/* EE70DC 80240B2C 8E710148 */ lw $s1, 0x148($s3) +/* EE70E0 80240B30 86240008 */ lh $a0, 8($s1) +/* EE70E4 80240B34 0C00F92F */ jal func_8003E4BC +/* EE70E8 80240B38 00A0902D */ daddu $s2, $a1, $zero +/* EE70EC 80240B3C 8E440004 */ lw $a0, 4($s2) +/* EE70F0 80240B40 0040802D */ daddu $s0, $v0, $zero +/* EE70F4 80240B44 00041FC2 */ srl $v1, $a0, 0x1f +/* EE70F8 80240B48 00832021 */ addu $a0, $a0, $v1 +/* EE70FC 80240B4C 00042043 */ sra $a0, $a0, 1 +/* EE7100 80240B50 0C00AB3B */ jal func_8002ACEC +/* EE7104 80240B54 24840001 */ addiu $a0, $a0, 1 +/* EE7108 80240B58 8E430004 */ lw $v1, 4($s2) +/* EE710C 80240B5C 000327C2 */ srl $a0, $v1, 0x1f +/* EE7110 80240B60 00641821 */ addu $v1, $v1, $a0 +/* EE7114 80240B64 00031843 */ sra $v1, $v1, 1 +/* EE7118 80240B68 00621821 */ addu $v1, $v1, $v0 +/* EE711C 80240B6C A603008E */ sh $v1, 0x8e($s0) +/* EE7120 80240B70 8E2300D0 */ lw $v1, 0xd0($s1) +/* EE7124 80240B74 C6000040 */ lwc1 $f0, 0x40($s0) +/* EE7128 80240B78 C4640000 */ lwc1 $f4, ($v1) +/* EE712C 80240B7C 46802120 */ cvt.s.w $f4, $f4 +/* EE7130 80240B80 C4620008 */ lwc1 $f2, 8($v1) +/* EE7134 80240B84 468010A0 */ cvt.s.w $f2, $f2 +/* EE7138 80240B88 E7A00010 */ swc1 $f0, 0x10($sp) +/* EE713C 80240B8C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE7140 80240B90 44061000 */ mfc1 $a2, $f2 +/* EE7144 80240B94 C440000C */ lwc1 $f0, 0xc($v0) +/* EE7148 80240B98 46800020 */ cvt.s.w $f0, $f0 +/* EE714C 80240B9C E7A00014 */ swc1 $f0, 0x14($sp) +/* EE7150 80240BA0 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE7154 80240BA4 44052000 */ mfc1 $a1, $f4 +/* EE7158 80240BA8 C4400010 */ lwc1 $f0, 0x10($v0) +/* EE715C 80240BAC 46800020 */ cvt.s.w $f0, $f0 +/* EE7160 80240BB0 E7A00018 */ swc1 $f0, 0x18($sp) +/* EE7164 80240BB4 8C640018 */ lw $a0, 0x18($v1) +/* EE7168 80240BB8 0C013431 */ jal func_8004D0C4 +/* EE716C 80240BBC 8E070038 */ lw $a3, 0x38($s0) +/* EE7170 80240BC0 1040000E */ beqz $v0, .L80240BFC +/* EE7174 80240BC4 00000000 */ nop +/* EE7178 80240BC8 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE717C 80240BCC C60C0038 */ lwc1 $f12, 0x38($s0) +/* EE7180 80240BD0 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EE7184 80240BD4 C4460000 */ lwc1 $f6, ($v0) +/* EE7188 80240BD8 468031A0 */ cvt.s.w $f6, $f6 +/* EE718C 80240BDC 44063000 */ mfc1 $a2, $f6 +/* EE7190 80240BE0 C4460008 */ lwc1 $f6, 8($v0) +/* EE7194 80240BE4 468031A0 */ cvt.s.w $f6, $f6 +/* EE7198 80240BE8 44073000 */ mfc1 $a3, $f6 +/* EE719C 80240BEC 0C00ABDC */ jal fio_validate_header_checksums +/* EE71A0 80240BF0 00000000 */ nop +/* EE71A4 80240BF4 0809030B */ j .L80240C2C +/* EE71A8 80240BF8 E600000C */ swc1 $f0, 0xc($s0) +.L80240BFC: +/* EE71AC 80240BFC 0C00AB3B */ jal func_8002ACEC +/* EE71B0 80240C00 2404003C */ addiu $a0, $zero, 0x3c +/* EE71B4 80240C04 C60C000C */ lwc1 $f12, 0xc($s0) +/* EE71B8 80240C08 44820000 */ mtc1 $v0, $f0 +/* EE71BC 80240C0C 00000000 */ nop +/* EE71C0 80240C10 46800020 */ cvt.s.w $f0, $f0 +/* EE71C4 80240C14 46006300 */ add.s $f12, $f12, $f0 +/* EE71C8 80240C18 3C0141F0 */ lui $at, 0x41f0 +/* EE71CC 80240C1C 44810000 */ mtc1 $at, $f0 +/* EE71D0 80240C20 0C00AB85 */ jal func_8002AE14 +/* EE71D4 80240C24 46006301 */ sub.s $f12, $f12, $f0 +/* EE71D8 80240C28 E600000C */ swc1 $f0, 0xc($s0) +.L80240C2C: +/* EE71DC 80240C2C 8E2200CC */ lw $v0, 0xcc($s1) +/* EE71E0 80240C30 8C420004 */ lw $v0, 4($v0) +/* EE71E4 80240C34 AE020028 */ sw $v0, 0x28($s0) +/* EE71E8 80240C38 AE600074 */ sw $zero, 0x74($s3) +/* EE71EC 80240C3C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE71F0 80240C40 8C420014 */ lw $v0, 0x14($v0) +/* EE71F4 80240C44 04410004 */ bgez $v0, .L80240C58 +/* EE71F8 80240C48 00000000 */ nop +/* EE71FC 80240C4C C6400000 */ lwc1 $f0, ($s2) +/* EE7200 80240C50 0809031E */ j .L80240C78 +/* EE7204 80240C54 E6000018 */ swc1 $f0, 0x18($s0) +.L80240C58: +/* EE7208 80240C58 3C018024 */ lui $at, %hi(D_80245380) +/* EE720C 80240C5C D4225380 */ ldc1 $f2, %lo(D_80245380)($at) +/* EE7210 80240C60 44820000 */ mtc1 $v0, $f0 +/* EE7214 80240C64 00000000 */ nop +/* EE7218 80240C68 46800021 */ cvt.d.w $f0, $f0 +/* EE721C 80240C6C 46220003 */ div.d $f0, $f0, $f2 +/* EE7220 80240C70 46200020 */ cvt.s.d $f0, $f0 +/* EE7224 80240C74 E6000018 */ swc1 $f0, 0x18($s0) +.L80240C78: +/* EE7228 80240C78 C600003C */ lwc1 $f0, 0x3c($s0) +/* EE722C 80240C7C 3C014059 */ lui $at, 0x4059 +/* EE7230 80240C80 44811800 */ mtc1 $at, $f3 +/* EE7234 80240C84 44801000 */ mtc1 $zero, $f2 +/* EE7238 80240C88 46000021 */ cvt.d.s $f0, $f0 +/* EE723C 80240C8C 46220002 */ mul.d $f0, $f0, $f2 +/* EE7240 80240C90 00000000 */ nop +/* EE7244 80240C94 24020001 */ addiu $v0, $zero, 1 +/* EE7248 80240C98 4620018D */ trunc.w.d $f6, $f0 +/* EE724C 80240C9C E626007C */ swc1 $f6, 0x7c($s1) +/* EE7250 80240CA0 AE620070 */ sw $v0, 0x70($s3) +/* EE7254 80240CA4 8FBF0030 */ lw $ra, 0x30($sp) +/* EE7258 80240CA8 8FB3002C */ lw $s3, 0x2c($sp) +/* EE725C 80240CAC 8FB20028 */ lw $s2, 0x28($sp) +/* EE7260 80240CB0 8FB10024 */ lw $s1, 0x24($sp) +/* EE7264 80240CB4 8FB00020 */ lw $s0, 0x20($sp) +/* EE7268 80240CB8 03E00008 */ jr $ra +/* EE726C 80240CBC 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_EE70C0/func_80240CC0_EE7270.s b/asm/nonmatchings/code_EE70C0/func_80240CC0_EE7270.s new file mode 100644 index 0000000000..a08e03f9f0 --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_80240CC0_EE7270.s @@ -0,0 +1,418 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240CC0_EE7270 +/* EE7270 80240CC0 27BDFF80 */ addiu $sp, $sp, -0x80 +/* EE7274 80240CC4 AFB3004C */ sw $s3, 0x4c($sp) +/* EE7278 80240CC8 0080982D */ daddu $s3, $a0, $zero +/* EE727C 80240CCC AFBF0058 */ sw $ra, 0x58($sp) +/* EE7280 80240CD0 AFB50054 */ sw $s5, 0x54($sp) +/* EE7284 80240CD4 AFB40050 */ sw $s4, 0x50($sp) +/* EE7288 80240CD8 AFB20048 */ sw $s2, 0x48($sp) +/* EE728C 80240CDC AFB10044 */ sw $s1, 0x44($sp) +/* EE7290 80240CE0 AFB00040 */ sw $s0, 0x40($sp) +/* EE7294 80240CE4 F7BA0078 */ sdc1 $f26, 0x78($sp) +/* EE7298 80240CE8 F7B80070 */ sdc1 $f24, 0x70($sp) +/* EE729C 80240CEC F7B60068 */ sdc1 $f22, 0x68($sp) +/* EE72A0 80240CF0 F7B40060 */ sdc1 $f20, 0x60($sp) +/* EE72A4 80240CF4 8E710148 */ lw $s1, 0x148($s3) +/* EE72A8 80240CF8 00A0902D */ daddu $s2, $a1, $zero +/* EE72AC 80240CFC 86240008 */ lh $a0, 8($s1) +/* EE72B0 80240D00 0C00F92F */ jal func_8003E4BC +/* EE72B4 80240D04 00C0A82D */ daddu $s5, $a2, $zero +/* EE72B8 80240D08 0040802D */ daddu $s0, $v0, $zero +/* EE72BC 80240D0C 0000A02D */ daddu $s4, $zero, $zero +/* EE72C0 80240D10 C624007C */ lwc1 $f4, 0x7c($s1) +/* EE72C4 80240D14 46802120 */ cvt.s.w $f4, $f4 +/* EE72C8 80240D18 C6220088 */ lwc1 $f2, 0x88($s1) +/* EE72CC 80240D1C 468010A0 */ cvt.s.w $f2, $f2 +/* EE72D0 80240D20 460010A1 */ cvt.d.s $f2, $f2 +/* EE72D4 80240D24 46002121 */ cvt.d.s $f4, $f4 +/* EE72D8 80240D28 C600003C */ lwc1 $f0, 0x3c($s0) +/* EE72DC 80240D2C 3C014059 */ lui $at, 0x4059 +/* EE72E0 80240D30 44813800 */ mtc1 $at, $f7 +/* EE72E4 80240D34 44803000 */ mtc1 $zero, $f6 +/* EE72E8 80240D38 46000021 */ cvt.d.s $f0, $f0 +/* EE72EC 80240D3C 46260002 */ mul.d $f0, $f0, $f6 +/* EE72F0 80240D40 00000000 */ nop +/* EE72F4 80240D44 24020001 */ addiu $v0, $zero, 1 +/* EE72F8 80240D48 8E24006C */ lw $a0, 0x6c($s1) +/* EE72FC 80240D4C 46261083 */ div.d $f2, $f2, $f6 +/* EE7300 80240D50 462010A0 */ cvt.s.d $f2, $f2 +/* EE7304 80240D54 46262103 */ div.d $f4, $f4, $f6 +/* EE7308 80240D58 46202520 */ cvt.s.d $f20, $f4 +/* EE730C 80240D5C 30830011 */ andi $v1, $a0, 0x11 +/* EE7310 80240D60 4620020D */ trunc.w.d $f8, $f0 +/* EE7314 80240D64 E628007C */ swc1 $f8, 0x7c($s1) +/* EE7318 80240D68 C6200078 */ lwc1 $f0, 0x78($s1) +/* EE731C 80240D6C 46800020 */ cvt.s.w $f0, $f0 +/* EE7320 80240D70 46000021 */ cvt.d.s $f0, $f0 +/* EE7324 80240D74 46260003 */ div.d $f0, $f0, $f6 +/* EE7328 80240D78 462006A0 */ cvt.s.d $f26, $f0 +/* EE732C 80240D7C C6200070 */ lwc1 $f0, 0x70($s1) +/* EE7330 80240D80 46800020 */ cvt.s.w $f0, $f0 +/* EE7334 80240D84 46000021 */ cvt.d.s $f0, $f0 +/* EE7338 80240D88 46260003 */ div.d $f0, $f0, $f6 +/* EE733C 80240D8C 462005A0 */ cvt.s.d $f22, $f0 +/* EE7340 80240D90 14620025 */ bne $v1, $v0, .L80240E28 +/* EE7344 80240D94 4602D600 */ add.s $f24, $f26, $f2 +/* EE7348 80240D98 8E020000 */ lw $v0, ($s0) +/* EE734C 80240D9C 30420008 */ andi $v0, $v0, 8 +/* EE7350 80240DA0 10400009 */ beqz $v0, .L80240DC8 +/* EE7354 80240DA4 27A50028 */ addiu $a1, $sp, 0x28 +/* EE7358 80240DA8 C600003C */ lwc1 $f0, 0x3c($s0) +/* EE735C 80240DAC 4600C001 */ sub.s $f0, $f24, $f0 +/* EE7360 80240DB0 4600B03C */ c.lt.s $f22, $f0 +/* EE7364 80240DB4 00000000 */ nop +/* EE7368 80240DB8 4500001B */ bc1f .L80240E28 +/* EE736C 80240DBC 34820010 */ ori $v0, $a0, 0x10 +/* EE7370 80240DC0 0809038A */ j .L80240E28 +/* EE7374 80240DC4 AE22006C */ sw $v0, 0x6c($s1) +.L80240DC8: +/* EE7378 80240DC8 27A6002C */ addiu $a2, $sp, 0x2c +/* EE737C 80240DCC C6000038 */ lwc1 $f0, 0x38($s0) +/* EE7380 80240DD0 C602003C */ lwc1 $f2, 0x3c($s0) +/* EE7384 80240DD4 C6040040 */ lwc1 $f4, 0x40($s0) +/* EE7388 80240DD8 3C01447A */ lui $at, 0x447a +/* EE738C 80240DDC 44813000 */ mtc1 $at, $f6 +/* EE7390 80240DE0 27A20034 */ addiu $v0, $sp, 0x34 +/* EE7394 80240DE4 E7A00028 */ swc1 $f0, 0x28($sp) +/* EE7398 80240DE8 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EE739C 80240DEC E7A40030 */ swc1 $f4, 0x30($sp) +/* EE73A0 80240DF0 E7A60034 */ swc1 $f6, 0x34($sp) +/* EE73A4 80240DF4 AFA20010 */ sw $v0, 0x10($sp) +/* EE73A8 80240DF8 8E040080 */ lw $a0, 0x80($s0) +/* EE73AC 80240DFC 0C03908F */ jal func_800E423C +/* EE73B0 80240E00 27A70030 */ addiu $a3, $sp, 0x30 +/* EE73B4 80240E04 C7A00034 */ lwc1 $f0, 0x34($sp) +/* EE73B8 80240E08 4600D001 */ sub.s $f0, $f26, $f0 +/* EE73BC 80240E0C 4600B03C */ c.lt.s $f22, $f0 +/* EE73C0 80240E10 00000000 */ nop +/* EE73C4 80240E14 45000004 */ bc1f .L80240E28 +/* EE73C8 80240E18 00000000 */ nop +/* EE73CC 80240E1C 8E22006C */ lw $v0, 0x6c($s1) +/* EE73D0 80240E20 34420010 */ ori $v0, $v0, 0x10 +/* EE73D4 80240E24 AE22006C */ sw $v0, 0x6c($s1) +.L80240E28: +/* EE73D8 80240E28 8E22006C */ lw $v0, 0x6c($s1) +/* EE73DC 80240E2C 24030011 */ addiu $v1, $zero, 0x11 +/* EE73E0 80240E30 30420011 */ andi $v0, $v0, 0x11 +/* EE73E4 80240E34 14430039 */ bne $v0, $v1, .L80240F1C +/* EE73E8 80240E38 00000000 */ nop +/* EE73EC 80240E3C 8E020000 */ lw $v0, ($s0) +/* EE73F0 80240E40 30420008 */ andi $v0, $v0, 8 +/* EE73F4 80240E44 1040000A */ beqz $v0, .L80240E70 +/* EE73F8 80240E48 4600C106 */ mov.s $f4, $f24 +/* EE73FC 80240E4C 4614C081 */ sub.s $f2, $f24, $f20 +/* EE7400 80240E50 3C018024 */ lui $at, %hi(D_80245388) +/* EE7404 80240E54 D4205388 */ ldc1 $f0, %lo(D_80245388)($at) +/* EE7408 80240E58 460010A1 */ cvt.d.s $f2, $f2 +/* EE740C 80240E5C 46201082 */ mul.d $f2, $f2, $f0 +/* EE7410 80240E60 00000000 */ nop +/* EE7414 80240E64 4600A021 */ cvt.d.s $f0, $f20 +/* EE7418 80240E68 080903B5 */ j .L80240ED4 +/* EE741C 80240E6C 46220000 */ add.d $f0, $f0, $f2 +.L80240E70: +/* EE7420 80240E70 27A50028 */ addiu $a1, $sp, 0x28 +/* EE7424 80240E74 27A6002C */ addiu $a2, $sp, 0x2c +/* EE7428 80240E78 C6000038 */ lwc1 $f0, 0x38($s0) +/* EE742C 80240E7C C6020040 */ lwc1 $f2, 0x40($s0) +/* EE7430 80240E80 3C01447A */ lui $at, 0x447a +/* EE7434 80240E84 44812000 */ mtc1 $at, $f4 +/* EE7438 80240E88 27A20034 */ addiu $v0, $sp, 0x34 +/* EE743C 80240E8C E7B4002C */ swc1 $f20, 0x2c($sp) +/* EE7440 80240E90 E7A00028 */ swc1 $f0, 0x28($sp) +/* EE7444 80240E94 E7A20030 */ swc1 $f2, 0x30($sp) +/* EE7448 80240E98 E7A40034 */ swc1 $f4, 0x34($sp) +/* EE744C 80240E9C AFA20010 */ sw $v0, 0x10($sp) +/* EE7450 80240EA0 8E040080 */ lw $a0, 0x80($s0) +/* EE7454 80240EA4 0C03908F */ jal func_800E423C +/* EE7458 80240EA8 27A70030 */ addiu $a3, $sp, 0x30 +/* EE745C 80240EAC C7A4002C */ lwc1 $f4, 0x2c($sp) +/* EE7460 80240EB0 461A2100 */ add.s $f4, $f4, $f26 +/* EE7464 80240EB4 46142081 */ sub.s $f2, $f4, $f20 +/* EE7468 80240EB8 3C018024 */ lui $at, %hi(D_80245390) +/* EE746C 80240EBC D4205390 */ ldc1 $f0, %lo(D_80245390)($at) +/* EE7470 80240EC0 460010A1 */ cvt.d.s $f2, $f2 +/* EE7474 80240EC4 46201082 */ mul.d $f2, $f2, $f0 +/* EE7478 80240EC8 00000000 */ nop +/* EE747C 80240ECC 4600A021 */ cvt.d.s $f0, $f20 +/* EE7480 80240ED0 46220000 */ add.d $f0, $f0, $f2 +.L80240ED4: +/* EE7484 80240ED4 46200020 */ cvt.s.d $f0, $f0 +/* EE7488 80240ED8 E600003C */ swc1 $f0, 0x3c($s0) +/* EE748C 80240EDC C600003C */ lwc1 $f0, 0x3c($s0) +/* EE7490 80240EE0 46002001 */ sub.s $f0, $f4, $f0 +/* EE7494 80240EE4 3C013FF0 */ lui $at, 0x3ff0 +/* EE7498 80240EE8 44811800 */ mtc1 $at, $f3 +/* EE749C 80240EEC 44801000 */ mtc1 $zero, $f2 +/* EE74A0 80240EF0 46000005 */ abs.s $f0, $f0 +/* EE74A4 80240EF4 46000021 */ cvt.d.s $f0, $f0 +/* EE74A8 80240EF8 4622003C */ c.lt.d $f0, $f2 +/* EE74AC 80240EFC 00000000 */ nop +/* EE74B0 80240F00 45000036 */ bc1f .L80240FDC +/* EE74B4 80240F04 2403FFEF */ addiu $v1, $zero, -0x11 +/* EE74B8 80240F08 E604003C */ swc1 $f4, 0x3c($s0) +/* EE74BC 80240F0C 8E22006C */ lw $v0, 0x6c($s1) +/* EE74C0 80240F10 00431024 */ and $v0, $v0, $v1 +/* EE74C4 80240F14 080903F7 */ j .L80240FDC +/* EE74C8 80240F18 AE22006C */ sw $v0, 0x6c($s1) +.L80240F1C: +/* EE74CC 80240F1C 8E220070 */ lw $v0, 0x70($s1) +/* EE74D0 80240F20 1840002E */ blez $v0, .L80240FDC +/* EE74D4 80240F24 00000000 */ nop +/* EE74D8 80240F28 C62C0074 */ lwc1 $f12, 0x74($s1) +/* EE74DC 80240F2C 0C00AD77 */ jal func_8002B5DC +/* EE74E0 80240F30 46806320 */ cvt.s.w $f12, $f12 +/* EE74E4 80240F34 8E020000 */ lw $v0, ($s0) +/* EE74E8 80240F38 30420008 */ andi $v0, $v0, 8 +/* EE74EC 80240F3C 10400003 */ beqz $v0, .L80240F4C +/* EE74F0 80240F40 46000506 */ mov.s $f20, $f0 +/* EE74F4 80240F44 080903E3 */ j .L80240F8C +/* EE74F8 80240F48 0000102D */ daddu $v0, $zero, $zero +.L80240F4C: +/* EE74FC 80240F4C 27A50028 */ addiu $a1, $sp, 0x28 +/* EE7500 80240F50 27A6002C */ addiu $a2, $sp, 0x2c +/* EE7504 80240F54 C6000038 */ lwc1 $f0, 0x38($s0) +/* EE7508 80240F58 C602003C */ lwc1 $f2, 0x3c($s0) +/* EE750C 80240F5C C6040040 */ lwc1 $f4, 0x40($s0) +/* EE7510 80240F60 3C01447A */ lui $at, 0x447a +/* EE7514 80240F64 44813000 */ mtc1 $at, $f6 +/* EE7518 80240F68 27A20034 */ addiu $v0, $sp, 0x34 +/* EE751C 80240F6C E7A00028 */ swc1 $f0, 0x28($sp) +/* EE7520 80240F70 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EE7524 80240F74 E7A40030 */ swc1 $f4, 0x30($sp) +/* EE7528 80240F78 E7A60034 */ swc1 $f6, 0x34($sp) +/* EE752C 80240F7C AFA20010 */ sw $v0, 0x10($sp) +/* EE7530 80240F80 8E040080 */ lw $a0, 0x80($s0) +/* EE7534 80240F84 0C03908F */ jal func_800E423C +/* EE7538 80240F88 27A70030 */ addiu $a3, $sp, 0x30 +.L80240F8C: +/* EE753C 80240F8C 10400007 */ beqz $v0, .L80240FAC +/* EE7540 80240F90 00000000 */ nop +/* EE7544 80240F94 4616A082 */ mul.s $f2, $f20, $f22 +/* EE7548 80240F98 00000000 */ nop +/* EE754C 80240F9C C7A0002C */ lwc1 $f0, 0x2c($sp) +/* EE7550 80240FA0 461A0000 */ add.s $f0, $f0, $f26 +/* EE7554 80240FA4 080903EE */ j .L80240FB8 +/* EE7558 80240FA8 46020000 */ add.s $f0, $f0, $f2 +.L80240FAC: +/* EE755C 80240FAC 4616A002 */ mul.s $f0, $f20, $f22 +/* EE7560 80240FB0 00000000 */ nop +/* EE7564 80240FB4 4600C000 */ add.s $f0, $f24, $f0 +.L80240FB8: +/* EE7568 80240FB8 E600003C */ swc1 $f0, 0x3c($s0) +/* EE756C 80240FBC 8E220074 */ lw $v0, 0x74($s1) +/* EE7570 80240FC0 2442000A */ addiu $v0, $v0, 0xa +/* EE7574 80240FC4 44826000 */ mtc1 $v0, $f12 +/* EE7578 80240FC8 00000000 */ nop +/* EE757C 80240FCC 0C00AB85 */ jal func_8002AE14 +/* EE7580 80240FD0 46806320 */ cvt.s.w $f12, $f12 +/* EE7584 80240FD4 4600020D */ trunc.w.s $f8, $f0 +/* EE7588 80240FD8 E6280074 */ swc1 $f8, 0x74($s1) +.L80240FDC: +/* EE758C 80240FDC 8E220090 */ lw $v0, 0x90($s1) +/* EE7590 80240FE0 1C40004A */ bgtz $v0, .L8024110C +/* EE7594 80240FE4 2442FFFF */ addiu $v0, $v0, -1 +/* EE7598 80240FE8 8E430014 */ lw $v1, 0x14($s2) +/* EE759C 80240FEC 04600048 */ bltz $v1, .L80241110 +/* EE75A0 80240FF0 00000000 */ nop +/* EE75A4 80240FF4 8E620074 */ lw $v0, 0x74($s3) +/* EE75A8 80240FF8 1C400042 */ bgtz $v0, .L80241104 +/* EE75AC 80240FFC 2442FFFF */ addiu $v0, $v0, -1 +/* EE75B0 80241000 AE630074 */ sw $v1, 0x74($s3) +/* EE75B4 80241004 860200A8 */ lh $v0, 0xa8($s0) +/* EE75B8 80241008 C602003C */ lwc1 $f2, 0x3c($s0) +/* EE75BC 8024100C 44820000 */ mtc1 $v0, $f0 +/* EE75C0 80241010 00000000 */ nop +/* EE75C4 80241014 46800020 */ cvt.s.w $f0, $f0 +/* EE75C8 80241018 46001080 */ add.s $f2, $f2, $f0 +/* EE75CC 8024101C 3C014024 */ lui $at, 0x4024 +/* EE75D0 80241020 44810800 */ mtc1 $at, $f1 +/* EE75D4 80241024 44800000 */ mtc1 $zero, $f0 +/* EE75D8 80241028 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EE75DC 8024102C 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EE75E0 80241030 460010A1 */ cvt.d.s $f2, $f2 +/* EE75E4 80241034 46201080 */ add.d $f2, $f2, $f0 +/* EE75E8 80241038 C440002C */ lwc1 $f0, 0x2c($v0) +/* EE75EC 8024103C 46000021 */ cvt.d.s $f0, $f0 +/* EE75F0 80241040 4622003C */ c.lt.d $f0, $f2 +/* EE75F4 80241044 00000000 */ nop +/* EE75F8 80241048 4500002C */ bc1f .L802410FC +/* EE75FC 8024104C 02A0202D */ daddu $a0, $s5, $zero +/* EE7600 80241050 AFA00010 */ sw $zero, 0x10($sp) +/* EE7604 80241054 8E46000C */ lw $a2, 0xc($s2) +/* EE7608 80241058 8E470010 */ lw $a3, 0x10($s2) +/* EE760C 8024105C 0C013469 */ jal func_8004D1A4 +/* EE7610 80241060 0220282D */ daddu $a1, $s1, $zero +/* EE7614 80241064 10400025 */ beqz $v0, .L802410FC +/* EE7618 80241068 0000202D */ daddu $a0, $zero, $zero +/* EE761C 8024106C 0200282D */ daddu $a1, $s0, $zero +/* EE7620 80241070 0000302D */ daddu $a2, $zero, $zero +/* EE7624 80241074 2412000C */ addiu $s2, $zero, 0xc +/* EE7628 80241078 860300A8 */ lh $v1, 0xa8($s0) +/* EE762C 8024107C 3C013F80 */ lui $at, 0x3f80 +/* EE7630 80241080 44810000 */ mtc1 $at, $f0 +/* EE7634 80241084 3C014000 */ lui $at, 0x4000 +/* EE7638 80241088 44811000 */ mtc1 $at, $f2 +/* EE763C 8024108C 3C01C1A0 */ lui $at, 0xc1a0 +/* EE7640 80241090 44812000 */ mtc1 $at, $f4 +/* EE7644 80241094 44834000 */ mtc1 $v1, $f8 +/* EE7648 80241098 00000000 */ nop +/* EE764C 8024109C 46804220 */ cvt.s.w $f8, $f8 +/* EE7650 802410A0 44074000 */ mfc1 $a3, $f8 +/* EE7654 802410A4 27A20038 */ addiu $v0, $sp, 0x38 +/* EE7658 802410A8 AFB2001C */ sw $s2, 0x1c($sp) +/* EE765C 802410AC AFA20020 */ sw $v0, 0x20($sp) +/* EE7660 802410B0 E7A00010 */ swc1 $f0, 0x10($sp) +/* EE7664 802410B4 E7A20014 */ swc1 $f2, 0x14($sp) +/* EE7668 802410B8 0C01D444 */ jal func_80075110 +/* EE766C 802410BC E7A40018 */ swc1 $f4, 0x18($sp) +/* EE7670 802410C0 0200202D */ daddu $a0, $s0, $zero +/* EE7674 802410C4 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EE7678 802410C8 C480003C */ lwc1 $f0, 0x3c($a0) +/* EE767C 802410CC 3C060020 */ lui $a2, 0x20 +/* EE7680 802410D0 0C013600 */ jal func_8004D800 +/* EE7684 802410D4 E4800064 */ swc1 $f0, 0x64($a0) +/* EE7688 802410D8 8E220018 */ lw $v0, 0x18($s1) +/* EE768C 802410DC 9442002A */ lhu $v0, 0x2a($v0) +/* EE7690 802410E0 30420001 */ andi $v0, $v0, 1 +/* EE7694 802410E4 10400003 */ beqz $v0, .L802410F4 +/* EE7698 802410E8 2402000A */ addiu $v0, $zero, 0xa +/* EE769C 802410EC 080904AD */ j .L802412B4 +/* EE76A0 802410F0 AE620070 */ sw $v0, 0x70($s3) +.L802410F4: +/* EE76A4 802410F4 080904AD */ j .L802412B4 +/* EE76A8 802410F8 AE720070 */ sw $s2, 0x70($s3) +.L802410FC: +/* EE76AC 802410FC 8E620074 */ lw $v0, 0x74($s3) +/* EE76B0 80241100 2442FFFF */ addiu $v0, $v0, -1 +.L80241104: +/* EE76B4 80241104 08090444 */ j .L80241110 +/* EE76B8 80241108 AE620074 */ sw $v0, 0x74($s3) +.L8024110C: +/* EE76BC 8024110C AE220090 */ sw $v0, 0x90($s1) +.L80241110: +/* EE76C0 80241110 8E2300D0 */ lw $v1, 0xd0($s1) +/* EE76C4 80241114 C6000040 */ lwc1 $f0, 0x40($s0) +/* EE76C8 80241118 C4620000 */ lwc1 $f2, ($v1) +/* EE76CC 8024111C 468010A0 */ cvt.s.w $f2, $f2 +/* EE76D0 80241120 C4640008 */ lwc1 $f4, 8($v1) +/* EE76D4 80241124 46802120 */ cvt.s.w $f4, $f4 +/* EE76D8 80241128 E7A00010 */ swc1 $f0, 0x10($sp) +/* EE76DC 8024112C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE76E0 80241130 44051000 */ mfc1 $a1, $f2 +/* EE76E4 80241134 C440000C */ lwc1 $f0, 0xc($v0) +/* EE76E8 80241138 46800020 */ cvt.s.w $f0, $f0 +/* EE76EC 8024113C E7A00014 */ swc1 $f0, 0x14($sp) +/* EE76F0 80241140 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE76F4 80241144 44062000 */ mfc1 $a2, $f4 +/* EE76F8 80241148 C4400010 */ lwc1 $f0, 0x10($v0) +/* EE76FC 8024114C 46800020 */ cvt.s.w $f0, $f0 +/* EE7700 80241150 E7A00018 */ swc1 $f0, 0x18($sp) +/* EE7704 80241154 8C640018 */ lw $a0, 0x18($v1) +/* EE7708 80241158 0C013431 */ jal func_8004D0C4 +/* EE770C 8024115C 8E070038 */ lw $a3, 0x38($s0) +/* EE7710 80241160 1040001A */ beqz $v0, .L802411CC +/* EE7714 80241164 00000000 */ nop +/* EE7718 80241168 8E060038 */ lw $a2, 0x38($s0) +/* EE771C 8024116C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE7720 80241170 8E070040 */ lw $a3, 0x40($s0) +/* EE7724 80241174 C44C0000 */ lwc1 $f12, ($v0) +/* EE7728 80241178 46806320 */ cvt.s.w $f12, $f12 +/* EE772C 8024117C C44E0008 */ lwc1 $f14, 8($v0) +/* EE7730 80241180 0C00AC71 */ jal func_8002B1C4 +/* EE7734 80241184 468073A0 */ cvt.s.w $f14, $f14 +/* EE7738 80241188 C6020018 */ lwc1 $f2, 0x18($s0) +/* EE773C 8024118C 4600103C */ c.lt.s $f2, $f0 +/* EE7740 80241190 00000000 */ nop +/* EE7744 80241194 4500000D */ bc1f .L802411CC +/* EE7748 80241198 E7A00034 */ swc1 $f0, 0x34($sp) +/* EE774C 8024119C C60C0038 */ lwc1 $f12, 0x38($s0) +/* EE7750 802411A0 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE7754 802411A4 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EE7758 802411A8 C4480000 */ lwc1 $f8, ($v0) +/* EE775C 802411AC 46804220 */ cvt.s.w $f8, $f8 +/* EE7760 802411B0 44064000 */ mfc1 $a2, $f8 +/* EE7764 802411B4 C4480008 */ lwc1 $f8, 8($v0) +/* EE7768 802411B8 46804220 */ cvt.s.w $f8, $f8 +/* EE776C 802411BC 44074000 */ mfc1 $a3, $f8 +/* EE7770 802411C0 0C00ABDC */ jal fio_validate_header_checksums +/* EE7774 802411C4 24140001 */ addiu $s4, $zero, 1 +/* EE7778 802411C8 E600000C */ swc1 $f0, 0xc($s0) +.L802411CC: +/* EE777C 802411CC 8E2200D0 */ lw $v0, 0xd0($s1) +/* EE7780 802411D0 8C43000C */ lw $v1, 0xc($v0) +/* EE7784 802411D4 8C420010 */ lw $v0, 0x10($v0) +/* EE7788 802411D8 00621825 */ or $v1, $v1, $v0 +/* EE778C 802411DC 00741825 */ or $v1, $v1, $s4 +/* EE7790 802411E0 10600008 */ beqz $v1, .L80241204 +/* EE7794 802411E4 00000000 */ nop +/* EE7798 802411E8 8602008C */ lh $v0, 0x8c($s0) +/* EE779C 802411EC 14400031 */ bnez $v0, .L802412B4 +/* EE77A0 802411F0 00000000 */ nop +/* EE77A4 802411F4 8E050018 */ lw $a1, 0x18($s0) +/* EE77A8 802411F8 8E06000C */ lw $a2, 0xc($s0) +/* EE77AC 802411FC 0C00F909 */ jal func_8003E424 +/* EE77B0 80241200 0200202D */ daddu $a0, $s0, $zero +.L80241204: +/* EE77B4 80241204 C600003C */ lwc1 $f0, 0x3c($s0) +/* EE77B8 80241208 3C014059 */ lui $at, 0x4059 +/* EE77BC 8024120C 44811800 */ mtc1 $at, $f3 +/* EE77C0 80241210 44801000 */ mtc1 $zero, $f2 +/* EE77C4 80241214 46000021 */ cvt.d.s $f0, $f0 +/* EE77C8 80241218 46220002 */ mul.d $f0, $f0, $f2 +/* EE77CC 8024121C 00000000 */ nop +/* EE77D0 80241220 4620020D */ trunc.w.d $f8, $f0 +/* EE77D4 80241224 E628007C */ swc1 $f8, 0x7c($s1) +/* EE77D8 80241228 8E420004 */ lw $v0, 4($s2) +/* EE77DC 8024122C 18400021 */ blez $v0, .L802412B4 +/* EE77E0 80241230 00000000 */ nop +/* EE77E4 80241234 8602008E */ lh $v0, 0x8e($s0) +/* EE77E8 80241238 9603008E */ lhu $v1, 0x8e($s0) +/* EE77EC 8024123C 18400005 */ blez $v0, .L80241254 +/* EE77F0 80241240 2462FFFF */ addiu $v0, $v1, -1 +/* EE77F4 80241244 A602008E */ sh $v0, 0x8e($s0) +/* EE77F8 80241248 00021400 */ sll $v0, $v0, 0x10 +/* EE77FC 8024124C 1C400019 */ bgtz $v0, .L802412B4 +/* EE7800 80241250 00000000 */ nop +.L80241254: +/* EE7804 80241254 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EE7808 80241258 24020002 */ addiu $v0, $zero, 2 +/* EE780C 8024125C 0C00AB3B */ jal func_8002ACEC +/* EE7810 80241260 AE620070 */ sw $v0, 0x70($s3) +/* EE7814 80241264 3C035555 */ lui $v1, 0x5555 +/* EE7818 80241268 34635556 */ ori $v1, $v1, 0x5556 +/* EE781C 8024126C 00430018 */ mult $v0, $v1 +/* EE7820 80241270 000227C3 */ sra $a0, $v0, 0x1f +/* EE7824 80241274 00004010 */ mfhi $t0 +/* EE7828 80241278 01042023 */ subu $a0, $t0, $a0 +/* EE782C 8024127C 00041840 */ sll $v1, $a0, 1 +/* EE7830 80241280 00641821 */ addu $v1, $v1, $a0 +/* EE7834 80241284 00431023 */ subu $v0, $v0, $v1 +/* EE7838 80241288 24430002 */ addiu $v1, $v0, 2 +/* EE783C 8024128C AE630074 */ sw $v1, 0x74($s3) +/* EE7840 80241290 8E42002C */ lw $v0, 0x2c($s2) +/* EE7844 80241294 58400007 */ blezl $v0, .L802412B4 +/* EE7848 80241298 AE600070 */ sw $zero, 0x70($s3) +/* EE784C 8024129C 8E420008 */ lw $v0, 8($s2) +/* EE7850 802412A0 18400003 */ blez $v0, .L802412B0 +/* EE7854 802412A4 28620003 */ slti $v0, $v1, 3 +/* EE7858 802412A8 10400002 */ beqz $v0, .L802412B4 +/* EE785C 802412AC 00000000 */ nop +.L802412B0: +/* EE7860 802412B0 AE600070 */ sw $zero, 0x70($s3) +.L802412B4: +/* EE7864 802412B4 8FBF0058 */ lw $ra, 0x58($sp) +/* EE7868 802412B8 8FB50054 */ lw $s5, 0x54($sp) +/* EE786C 802412BC 8FB40050 */ lw $s4, 0x50($sp) +/* EE7870 802412C0 8FB3004C */ lw $s3, 0x4c($sp) +/* EE7874 802412C4 8FB20048 */ lw $s2, 0x48($sp) +/* EE7878 802412C8 8FB10044 */ lw $s1, 0x44($sp) +/* EE787C 802412CC 8FB00040 */ lw $s0, 0x40($sp) +/* EE7880 802412D0 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* EE7884 802412D4 D7B80070 */ ldc1 $f24, 0x70($sp) +/* EE7888 802412D8 D7B60068 */ ldc1 $f22, 0x68($sp) +/* EE788C 802412DC D7B40060 */ ldc1 $f20, 0x60($sp) +/* EE7890 802412E0 03E00008 */ jr $ra +/* EE7894 802412E4 27BD0080 */ addiu $sp, $sp, 0x80 diff --git a/asm/nonmatchings/code_EE70C0/func_802412E8_EE7898.s b/asm/nonmatchings/code_EE70C0/func_802412E8_EE7898.s new file mode 100644 index 0000000000..dfef72f411 --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_802412E8_EE7898.s @@ -0,0 +1,52 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802412E8_EE7898 +/* EE7898 802412E8 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EE789C 802412EC AFB3001C */ sw $s3, 0x1c($sp) +/* EE78A0 802412F0 0080982D */ daddu $s3, $a0, $zero +/* EE78A4 802412F4 AFBF0020 */ sw $ra, 0x20($sp) +/* EE78A8 802412F8 AFB20018 */ sw $s2, 0x18($sp) +/* EE78AC 802412FC AFB10014 */ sw $s1, 0x14($sp) +/* EE78B0 80241300 AFB00010 */ sw $s0, 0x10($sp) +/* EE78B4 80241304 8E720148 */ lw $s2, 0x148($s3) +/* EE78B8 80241308 86440008 */ lh $a0, 8($s2) +/* EE78BC 8024130C 0C00F92F */ jal func_8003E4BC +/* EE78C0 80241310 00A0882D */ daddu $s1, $a1, $zero +/* EE78C4 80241314 8E240008 */ lw $a0, 8($s1) +/* EE78C8 80241318 0040802D */ daddu $s0, $v0, $zero +/* EE78CC 8024131C 00041FC2 */ srl $v1, $a0, 0x1f +/* EE78D0 80241320 00832021 */ addu $a0, $a0, $v1 +/* EE78D4 80241324 00042043 */ sra $a0, $a0, 1 +/* EE78D8 80241328 0C00AB3B */ jal func_8002ACEC +/* EE78DC 8024132C 24840001 */ addiu $a0, $a0, 1 +/* EE78E0 80241330 8E230008 */ lw $v1, 8($s1) +/* EE78E4 80241334 240400B4 */ addiu $a0, $zero, 0xb4 +/* EE78E8 80241338 00032FC2 */ srl $a1, $v1, 0x1f +/* EE78EC 8024133C 00651821 */ addu $v1, $v1, $a1 +/* EE78F0 80241340 00031843 */ sra $v1, $v1, 1 +/* EE78F4 80241344 00621821 */ addu $v1, $v1, $v0 +/* EE78F8 80241348 0C00AB3B */ jal func_8002ACEC +/* EE78FC 8024134C A603008E */ sh $v1, 0x8e($s0) +/* EE7900 80241350 C60C000C */ lwc1 $f12, 0xc($s0) +/* EE7904 80241354 44820000 */ mtc1 $v0, $f0 +/* EE7908 80241358 00000000 */ nop +/* EE790C 8024135C 46800020 */ cvt.s.w $f0, $f0 +/* EE7910 80241360 46006300 */ add.s $f12, $f12, $f0 +/* EE7914 80241364 3C0142B4 */ lui $at, 0x42b4 +/* EE7918 80241368 44810000 */ mtc1 $at, $f0 +/* EE791C 8024136C 0C00AB85 */ jal func_8002AE14 +/* EE7920 80241370 46006301 */ sub.s $f12, $f12, $f0 +/* EE7924 80241374 E600000C */ swc1 $f0, 0xc($s0) +/* EE7928 80241378 8E4200CC */ lw $v0, 0xcc($s2) +/* EE792C 8024137C 8C420000 */ lw $v0, ($v0) +/* EE7930 80241380 AE020028 */ sw $v0, 0x28($s0) +/* EE7934 80241384 24020003 */ addiu $v0, $zero, 3 +/* EE7938 80241388 AE620070 */ sw $v0, 0x70($s3) +/* EE793C 8024138C 8FBF0020 */ lw $ra, 0x20($sp) +/* EE7940 80241390 8FB3001C */ lw $s3, 0x1c($sp) +/* EE7944 80241394 8FB20018 */ lw $s2, 0x18($sp) +/* EE7948 80241398 8FB10014 */ lw $s1, 0x14($sp) +/* EE794C 8024139C 8FB00010 */ lw $s0, 0x10($sp) +/* EE7950 802413A0 03E00008 */ jr $ra +/* EE7954 802413A4 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EE70C0/func_802413A8_EE7958.s b/asm/nonmatchings/code_EE70C0/func_802413A8_EE7958.s new file mode 100644 index 0000000000..6347e21df3 --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_802413A8_EE7958.s @@ -0,0 +1,225 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802413A8_EE7958 +/* EE7958 802413A8 27BDFF88 */ addiu $sp, $sp, -0x78 +/* EE795C 802413AC AFB3004C */ sw $s3, 0x4c($sp) +/* EE7960 802413B0 0080982D */ daddu $s3, $a0, $zero +/* EE7964 802413B4 AFBF0054 */ sw $ra, 0x54($sp) +/* EE7968 802413B8 AFB40050 */ sw $s4, 0x50($sp) +/* EE796C 802413BC AFB20048 */ sw $s2, 0x48($sp) +/* EE7970 802413C0 AFB10044 */ sw $s1, 0x44($sp) +/* EE7974 802413C4 AFB00040 */ sw $s0, 0x40($sp) +/* EE7978 802413C8 F7BA0070 */ sdc1 $f26, 0x70($sp) +/* EE797C 802413CC F7B80068 */ sdc1 $f24, 0x68($sp) +/* EE7980 802413D0 F7B60060 */ sdc1 $f22, 0x60($sp) +/* EE7984 802413D4 F7B40058 */ sdc1 $f20, 0x58($sp) +/* EE7988 802413D8 8E710148 */ lw $s1, 0x148($s3) +/* EE798C 802413DC 00A0902D */ daddu $s2, $a1, $zero +/* EE7990 802413E0 86240008 */ lh $a0, 8($s1) +/* EE7994 802413E4 0C00F92F */ jal func_8003E4BC +/* EE7998 802413E8 00C0A02D */ daddu $s4, $a2, $zero +/* EE799C 802413EC 0040802D */ daddu $s0, $v0, $zero +/* EE79A0 802413F0 C6200078 */ lwc1 $f0, 0x78($s1) +/* EE79A4 802413F4 46800020 */ cvt.s.w $f0, $f0 +/* EE79A8 802413F8 46000021 */ cvt.d.s $f0, $f0 +/* EE79AC 802413FC 3C014059 */ lui $at, 0x4059 +/* EE79B0 80241400 44811800 */ mtc1 $at, $f3 +/* EE79B4 80241404 44801000 */ mtc1 $zero, $f2 +/* EE79B8 80241408 8602008E */ lh $v0, 0x8e($s0) +/* EE79BC 8024140C 9603008E */ lhu $v1, 0x8e($s0) +/* EE79C0 80241410 46220003 */ div.d $f0, $f0, $f2 +/* EE79C4 80241414 46200620 */ cvt.s.d $f24, $f0 +/* EE79C8 80241418 C6200088 */ lwc1 $f0, 0x88($s1) +/* EE79CC 8024141C 46800020 */ cvt.s.w $f0, $f0 +/* EE79D0 80241420 46000021 */ cvt.d.s $f0, $f0 +/* EE79D4 80241424 46220003 */ div.d $f0, $f0, $f2 +/* EE79D8 80241428 46200020 */ cvt.s.d $f0, $f0 +/* EE79DC 8024142C 18400003 */ blez $v0, .L8024143C +/* EE79E0 80241430 4600C680 */ add.s $f26, $f24, $f0 +/* EE79E4 80241434 2462FFFF */ addiu $v0, $v1, -1 +/* EE79E8 80241438 A602008E */ sh $v0, 0x8e($s0) +.L8024143C: +/* EE79EC 8024143C 8E220070 */ lw $v0, 0x70($s1) +/* EE79F0 80241440 18400034 */ blez $v0, .L80241514 +/* EE79F4 80241444 00000000 */ nop +/* EE79F8 80241448 C62C0074 */ lwc1 $f12, 0x74($s1) +/* EE79FC 8024144C 46806320 */ cvt.s.w $f12, $f12 +/* EE7A00 80241450 44820000 */ mtc1 $v0, $f0 +/* EE7A04 80241454 00000000 */ nop +/* EE7A08 80241458 46800020 */ cvt.s.w $f0, $f0 +/* EE7A0C 8024145C 46000021 */ cvt.d.s $f0, $f0 +/* EE7A10 80241460 46220003 */ div.d $f0, $f0, $f2 +/* EE7A14 80241464 0C00AD77 */ jal func_8002B5DC +/* EE7A18 80241468 462005A0 */ cvt.s.d $f22, $f0 +/* EE7A1C 8024146C 8E020000 */ lw $v0, ($s0) +/* EE7A20 80241470 30420008 */ andi $v0, $v0, 8 +/* EE7A24 80241474 10400003 */ beqz $v0, .L80241484 +/* EE7A28 80241478 46000506 */ mov.s $f20, $f0 +/* EE7A2C 8024147C 08090531 */ j .L802414C4 +/* EE7A30 80241480 0000102D */ daddu $v0, $zero, $zero +.L80241484: +/* EE7A34 80241484 27A50028 */ addiu $a1, $sp, 0x28 +/* EE7A38 80241488 27A6002C */ addiu $a2, $sp, 0x2c +/* EE7A3C 8024148C C6000038 */ lwc1 $f0, 0x38($s0) +/* EE7A40 80241490 C602003C */ lwc1 $f2, 0x3c($s0) +/* EE7A44 80241494 C6040040 */ lwc1 $f4, 0x40($s0) +/* EE7A48 80241498 3C01447A */ lui $at, 0x447a +/* EE7A4C 8024149C 44813000 */ mtc1 $at, $f6 +/* EE7A50 802414A0 27A20034 */ addiu $v0, $sp, 0x34 +/* EE7A54 802414A4 E7A00028 */ swc1 $f0, 0x28($sp) +/* EE7A58 802414A8 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EE7A5C 802414AC E7A40030 */ swc1 $f4, 0x30($sp) +/* EE7A60 802414B0 E7A60034 */ swc1 $f6, 0x34($sp) +/* EE7A64 802414B4 AFA20010 */ sw $v0, 0x10($sp) +/* EE7A68 802414B8 8E040080 */ lw $a0, 0x80($s0) +/* EE7A6C 802414BC 0C03908F */ jal func_800E423C +/* EE7A70 802414C0 27A70030 */ addiu $a3, $sp, 0x30 +.L802414C4: +/* EE7A74 802414C4 10400007 */ beqz $v0, .L802414E4 +/* EE7A78 802414C8 00000000 */ nop +/* EE7A7C 802414CC 4616A082 */ mul.s $f2, $f20, $f22 +/* EE7A80 802414D0 00000000 */ nop +/* EE7A84 802414D4 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* EE7A88 802414D8 46180000 */ add.s $f0, $f0, $f24 +/* EE7A8C 802414DC 0809053C */ j .L802414F0 +/* EE7A90 802414E0 46020000 */ add.s $f0, $f0, $f2 +.L802414E4: +/* EE7A94 802414E4 4616A002 */ mul.s $f0, $f20, $f22 +/* EE7A98 802414E8 00000000 */ nop +/* EE7A9C 802414EC 4600D000 */ add.s $f0, $f26, $f0 +.L802414F0: +/* EE7AA0 802414F0 E600003C */ swc1 $f0, 0x3c($s0) +/* EE7AA4 802414F4 8E220074 */ lw $v0, 0x74($s1) +/* EE7AA8 802414F8 2442000A */ addiu $v0, $v0, 0xa +/* EE7AAC 802414FC 44826000 */ mtc1 $v0, $f12 +/* EE7AB0 80241500 00000000 */ nop +/* EE7AB4 80241504 0C00AB85 */ jal func_8002AE14 +/* EE7AB8 80241508 46806320 */ cvt.s.w $f12, $f12 +/* EE7ABC 8024150C 4600020D */ trunc.w.s $f8, $f0 +/* EE7AC0 80241510 E6280074 */ swc1 $f8, 0x74($s1) +.L80241514: +/* EE7AC4 80241514 8E220090 */ lw $v0, 0x90($s1) +/* EE7AC8 80241518 1C400040 */ bgtz $v0, .L8024161C +/* EE7ACC 8024151C 2442FFFF */ addiu $v0, $v0, -1 +/* EE7AD0 80241520 860200A8 */ lh $v0, 0xa8($s0) +/* EE7AD4 80241524 C600003C */ lwc1 $f0, 0x3c($s0) +/* EE7AD8 80241528 44821000 */ mtc1 $v0, $f2 +/* EE7ADC 8024152C 00000000 */ nop +/* EE7AE0 80241530 468010A0 */ cvt.s.w $f2, $f2 +/* EE7AE4 80241534 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EE7AE8 80241538 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EE7AEC 8024153C 46020000 */ add.s $f0, $f0, $f2 +/* EE7AF0 80241540 3C014024 */ lui $at, 0x4024 +/* EE7AF4 80241544 44812800 */ mtc1 $at, $f5 +/* EE7AF8 80241548 44802000 */ mtc1 $zero, $f4 +/* EE7AFC 8024154C C442002C */ lwc1 $f2, 0x2c($v0) +/* EE7B00 80241550 46000021 */ cvt.d.s $f0, $f0 +/* EE7B04 80241554 46240000 */ add.d $f0, $f0, $f4 +/* EE7B08 80241558 460010A1 */ cvt.d.s $f2, $f2 +/* EE7B0C 8024155C 4620103C */ c.lt.d $f2, $f0 +/* EE7B10 80241560 00000000 */ nop +/* EE7B14 80241564 4500002E */ bc1f .L80241620 +/* EE7B18 80241568 0280202D */ daddu $a0, $s4, $zero +/* EE7B1C 8024156C 24020001 */ addiu $v0, $zero, 1 +/* EE7B20 80241570 AFA20010 */ sw $v0, 0x10($sp) +/* EE7B24 80241574 8E460024 */ lw $a2, 0x24($s2) +/* EE7B28 80241578 8E470028 */ lw $a3, 0x28($s2) +/* EE7B2C 8024157C 0C013469 */ jal func_8004D1A4 +/* EE7B30 80241580 0220282D */ daddu $a1, $s1, $zero +/* EE7B34 80241584 10400026 */ beqz $v0, .L80241620 +/* EE7B38 80241588 0000202D */ daddu $a0, $zero, $zero +/* EE7B3C 8024158C 0200282D */ daddu $a1, $s0, $zero +/* EE7B40 80241590 0000302D */ daddu $a2, $zero, $zero +/* EE7B44 80241594 2412000C */ addiu $s2, $zero, 0xc +/* EE7B48 80241598 860300A8 */ lh $v1, 0xa8($s0) +/* EE7B4C 8024159C 3C013F80 */ lui $at, 0x3f80 +/* EE7B50 802415A0 44810000 */ mtc1 $at, $f0 +/* EE7B54 802415A4 3C014000 */ lui $at, 0x4000 +/* EE7B58 802415A8 44811000 */ mtc1 $at, $f2 +/* EE7B5C 802415AC 3C01C1A0 */ lui $at, 0xc1a0 +/* EE7B60 802415B0 44812000 */ mtc1 $at, $f4 +/* EE7B64 802415B4 44834000 */ mtc1 $v1, $f8 +/* EE7B68 802415B8 00000000 */ nop +/* EE7B6C 802415BC 46804220 */ cvt.s.w $f8, $f8 +/* EE7B70 802415C0 44074000 */ mfc1 $a3, $f8 +/* EE7B74 802415C4 27A20038 */ addiu $v0, $sp, 0x38 +/* EE7B78 802415C8 AFB2001C */ sw $s2, 0x1c($sp) +/* EE7B7C 802415CC AFA20020 */ sw $v0, 0x20($sp) +/* EE7B80 802415D0 E7A00010 */ swc1 $f0, 0x10($sp) +/* EE7B84 802415D4 E7A20014 */ swc1 $f2, 0x14($sp) +/* EE7B88 802415D8 0C01D444 */ jal func_80075110 +/* EE7B8C 802415DC E7A40018 */ swc1 $f4, 0x18($sp) +/* EE7B90 802415E0 0200202D */ daddu $a0, $s0, $zero +/* EE7B94 802415E4 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EE7B98 802415E8 C480003C */ lwc1 $f0, 0x3c($a0) +/* EE7B9C 802415EC 3C060020 */ lui $a2, 0x20 +/* EE7BA0 802415F0 0C013600 */ jal func_8004D800 +/* EE7BA4 802415F4 E4800064 */ swc1 $f0, 0x64($a0) +/* EE7BA8 802415F8 8E220018 */ lw $v0, 0x18($s1) +/* EE7BAC 802415FC 9442002A */ lhu $v0, 0x2a($v0) +/* EE7BB0 80241600 30420001 */ andi $v0, $v0, 1 +/* EE7BB4 80241604 10400003 */ beqz $v0, .L80241614 +/* EE7BB8 80241608 2402000A */ addiu $v0, $zero, 0xa +/* EE7BBC 8024160C 080905AF */ j .L802416BC +/* EE7BC0 80241610 AE620070 */ sw $v0, 0x70($s3) +.L80241614: +/* EE7BC4 80241614 080905AF */ j .L802416BC +/* EE7BC8 80241618 AE720070 */ sw $s2, 0x70($s3) +.L8024161C: +/* EE7BCC 8024161C AE220090 */ sw $v0, 0x90($s1) +.L80241620: +/* EE7BD0 80241620 8602008C */ lh $v0, 0x8c($s0) +/* EE7BD4 80241624 14400025 */ bnez $v0, .L802416BC +/* EE7BD8 80241628 00000000 */ nop +/* EE7BDC 8024162C 8602008E */ lh $v0, 0x8e($s0) +/* EE7BE0 80241630 1C400022 */ bgtz $v0, .L802416BC +/* EE7BE4 80241634 00000000 */ nop +/* EE7BE8 80241638 8E620074 */ lw $v0, 0x74($s3) +/* EE7BEC 8024163C 2442FFFF */ addiu $v0, $v0, -1 +/* EE7BF0 80241640 1840001D */ blez $v0, .L802416B8 +/* EE7BF4 80241644 AE620074 */ sw $v0, 0x74($s3) +/* EE7BF8 80241648 8E220018 */ lw $v0, 0x18($s1) +/* EE7BFC 8024164C 9442002A */ lhu $v0, 0x2a($v0) +/* EE7C00 80241650 30420010 */ andi $v0, $v0, 0x10 +/* EE7C04 80241654 14400007 */ bnez $v0, .L80241674 +/* EE7C08 80241658 00000000 */ nop +/* EE7C0C 8024165C C600000C */ lwc1 $f0, 0xc($s0) +/* EE7C10 80241660 3C014334 */ lui $at, 0x4334 +/* EE7C14 80241664 44816000 */ mtc1 $at, $f12 +/* EE7C18 80241668 0C00AB85 */ jal func_8002AE14 +/* EE7C1C 8024166C 460C0300 */ add.s $f12, $f0, $f12 +/* EE7C20 80241670 E600000C */ swc1 $f0, 0xc($s0) +.L80241674: +/* EE7C24 80241674 0C00AB3B */ jal func_8002ACEC +/* EE7C28 80241678 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EE7C2C 8024167C 3C032E8B */ lui $v1, 0x2e8b +/* EE7C30 80241680 3463A2E9 */ ori $v1, $v1, 0xa2e9 +/* EE7C34 80241684 00430018 */ mult $v0, $v1 +/* EE7C38 80241688 00021FC3 */ sra $v1, $v0, 0x1f +/* EE7C3C 8024168C 00004010 */ mfhi $t0 +/* EE7C40 80241690 00082043 */ sra $a0, $t0, 1 +/* EE7C44 80241694 00832023 */ subu $a0, $a0, $v1 +/* EE7C48 80241698 00041840 */ sll $v1, $a0, 1 +/* EE7C4C 8024169C 00641821 */ addu $v1, $v1, $a0 +/* EE7C50 802416A0 00031880 */ sll $v1, $v1, 2 +/* EE7C54 802416A4 00641823 */ subu $v1, $v1, $a0 +/* EE7C58 802416A8 00431023 */ subu $v0, $v0, $v1 +/* EE7C5C 802416AC 24420005 */ addiu $v0, $v0, 5 +/* EE7C60 802416B0 080905AF */ j .L802416BC +/* EE7C64 802416B4 A602008E */ sh $v0, 0x8e($s0) +.L802416B8: +/* EE7C68 802416B8 AE600070 */ sw $zero, 0x70($s3) +.L802416BC: +/* EE7C6C 802416BC 8FBF0054 */ lw $ra, 0x54($sp) +/* EE7C70 802416C0 8FB40050 */ lw $s4, 0x50($sp) +/* EE7C74 802416C4 8FB3004C */ lw $s3, 0x4c($sp) +/* EE7C78 802416C8 8FB20048 */ lw $s2, 0x48($sp) +/* EE7C7C 802416CC 8FB10044 */ lw $s1, 0x44($sp) +/* EE7C80 802416D0 8FB00040 */ lw $s0, 0x40($sp) +/* EE7C84 802416D4 D7BA0070 */ ldc1 $f26, 0x70($sp) +/* EE7C88 802416D8 D7B80068 */ ldc1 $f24, 0x68($sp) +/* EE7C8C 802416DC D7B60060 */ ldc1 $f22, 0x60($sp) +/* EE7C90 802416E0 D7B40058 */ ldc1 $f20, 0x58($sp) +/* EE7C94 802416E4 03E00008 */ jr $ra +/* EE7C98 802416E8 27BD0078 */ addiu $sp, $sp, 0x78 diff --git a/asm/nonmatchings/code_EE70C0/func_802416EC_EE7C9C.s b/asm/nonmatchings/code_EE70C0/func_802416EC_EE7C9C.s new file mode 100644 index 0000000000..123bc13533 --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_802416EC_EE7C9C.s @@ -0,0 +1,34 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802416EC_EE7C9C +/* EE7C9C 802416EC 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EE7CA0 802416F0 AFB20018 */ sw $s2, 0x18($sp) +/* EE7CA4 802416F4 0080902D */ daddu $s2, $a0, $zero +/* EE7CA8 802416F8 AFBF001C */ sw $ra, 0x1c($sp) +/* EE7CAC 802416FC AFB10014 */ sw $s1, 0x14($sp) +/* EE7CB0 80241700 AFB00010 */ sw $s0, 0x10($sp) +/* EE7CB4 80241704 8E510148 */ lw $s1, 0x148($s2) +/* EE7CB8 80241708 0C00F92F */ jal func_8003E4BC +/* EE7CBC 8024170C 86240008 */ lh $a0, 8($s1) +/* EE7CC0 80241710 0040802D */ daddu $s0, $v0, $zero +/* EE7CC4 80241714 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EE7CC8 80241718 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EE7CCC 8024171C C60C0038 */ lwc1 $f12, 0x38($s0) +/* EE7CD0 80241720 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EE7CD4 80241724 A600008E */ sh $zero, 0x8e($s0) +/* EE7CD8 80241728 8C460028 */ lw $a2, 0x28($v0) +/* EE7CDC 8024172C 0C00ABDC */ jal fio_validate_header_checksums +/* EE7CE0 80241730 8C470030 */ lw $a3, 0x30($v0) +/* EE7CE4 80241734 E600000C */ swc1 $f0, 0xc($s0) +/* EE7CE8 80241738 8E2200CC */ lw $v0, 0xcc($s1) +/* EE7CEC 8024173C 8C420020 */ lw $v0, 0x20($v0) +/* EE7CF0 80241740 AE020028 */ sw $v0, 0x28($s0) +/* EE7CF4 80241744 2402000B */ addiu $v0, $zero, 0xb +/* EE7CF8 80241748 AE420070 */ sw $v0, 0x70($s2) +/* EE7CFC 8024174C 8FBF001C */ lw $ra, 0x1c($sp) +/* EE7D00 80241750 8FB20018 */ lw $s2, 0x18($sp) +/* EE7D04 80241754 8FB10014 */ lw $s1, 0x14($sp) +/* EE7D08 80241758 8FB00010 */ lw $s0, 0x10($sp) +/* EE7D0C 8024175C 03E00008 */ jr $ra +/* EE7D10 80241760 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EE70C0/func_80241764_EE7D14.s b/asm/nonmatchings/code_EE70C0/func_80241764_EE7D14.s new file mode 100644 index 0000000000..a2e07dc4f2 --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_80241764_EE7D14.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241764_EE7D14 +/* EE7D14 80241764 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EE7D18 80241768 AFB00010 */ sw $s0, 0x10($sp) +/* EE7D1C 8024176C 0080802D */ daddu $s0, $a0, $zero +/* EE7D20 80241770 AFBF0014 */ sw $ra, 0x14($sp) +/* EE7D24 80241774 8E020148 */ lw $v0, 0x148($s0) +/* EE7D28 80241778 0C00F92F */ jal func_8003E4BC +/* EE7D2C 8024177C 84440008 */ lh $a0, 8($v0) +/* EE7D30 80241780 9443008E */ lhu $v1, 0x8e($v0) +/* EE7D34 80241784 C440003C */ lwc1 $f0, 0x3c($v0) +/* EE7D38 80241788 24640001 */ addiu $a0, $v1, 1 +/* EE7D3C 8024178C 00031C00 */ sll $v1, $v1, 0x10 +/* EE7D40 80241790 00031B83 */ sra $v1, $v1, 0xe +/* EE7D44 80241794 A444008E */ sh $a0, 0x8e($v0) +/* EE7D48 80241798 3C018024 */ lui $at, %hi(D_802444F0) +/* EE7D4C 8024179C 00230821 */ addu $at, $at, $v1 +/* EE7D50 802417A0 C42244F0 */ lwc1 $f2, %lo(D_802444F0)($at) +/* EE7D54 802417A4 8443008E */ lh $v1, 0x8e($v0) +/* EE7D58 802417A8 46020000 */ add.s $f0, $f0, $f2 +/* EE7D5C 802417AC 28630005 */ slti $v1, $v1, 5 +/* EE7D60 802417B0 14600003 */ bnez $v1, .L802417C0 +/* EE7D64 802417B4 E440003C */ swc1 $f0, 0x3c($v0) +/* EE7D68 802417B8 2402000C */ addiu $v0, $zero, 0xc +/* EE7D6C 802417BC AE020070 */ sw $v0, 0x70($s0) +.L802417C0: +/* EE7D70 802417C0 8FBF0014 */ lw $ra, 0x14($sp) +/* EE7D74 802417C4 8FB00010 */ lw $s0, 0x10($sp) +/* EE7D78 802417C8 03E00008 */ jr $ra +/* EE7D7C 802417CC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EE70C0/func_802417D0_EE7D80.s b/asm/nonmatchings/code_EE70C0/func_802417D0_EE7D80.s new file mode 100644 index 0000000000..693f9aa83f --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_802417D0_EE7D80.s @@ -0,0 +1,83 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802417D0_EE7D80 +/* EE7D80 802417D0 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EE7D84 802417D4 AFB3001C */ sw $s3, 0x1c($sp) +/* EE7D88 802417D8 0080982D */ daddu $s3, $a0, $zero +/* EE7D8C 802417DC AFBF0020 */ sw $ra, 0x20($sp) +/* EE7D90 802417E0 AFB20018 */ sw $s2, 0x18($sp) +/* EE7D94 802417E4 AFB10014 */ sw $s1, 0x14($sp) +/* EE7D98 802417E8 AFB00010 */ sw $s0, 0x10($sp) +/* EE7D9C 802417EC 8E720148 */ lw $s2, 0x148($s3) +/* EE7DA0 802417F0 86440008 */ lh $a0, 8($s2) +/* EE7DA4 802417F4 0C00F92F */ jal func_8003E4BC +/* EE7DA8 802417F8 00A0802D */ daddu $s0, $a1, $zero +/* EE7DAC 802417FC 0040882D */ daddu $s1, $v0, $zero +/* EE7DB0 80241800 C6420080 */ lwc1 $f2, 0x80($s2) +/* EE7DB4 80241804 468010A0 */ cvt.s.w $f2, $f2 +/* EE7DB8 80241808 460010A1 */ cvt.d.s $f2, $f2 +/* EE7DBC 8024180C C6400084 */ lwc1 $f0, 0x84($s2) +/* EE7DC0 80241810 46800020 */ cvt.s.w $f0, $f0 +/* EE7DC4 80241814 46000021 */ cvt.d.s $f0, $f0 +/* EE7DC8 80241818 3C014059 */ lui $at, 0x4059 +/* EE7DCC 8024181C 44812800 */ mtc1 $at, $f5 +/* EE7DD0 80241820 44802000 */ mtc1 $zero, $f4 +/* EE7DD4 80241824 8E4200CC */ lw $v0, 0xcc($s2) +/* EE7DD8 80241828 C62C0038 */ lwc1 $f12, 0x38($s1) +/* EE7DDC 8024182C C62E0040 */ lwc1 $f14, 0x40($s1) +/* EE7DE0 80241830 46241083 */ div.d $f2, $f2, $f4 +/* EE7DE4 80241834 462010A0 */ cvt.s.d $f2, $f2 +/* EE7DE8 80241838 46240003 */ div.d $f0, $f0, $f4 +/* EE7DEC 8024183C 8C420020 */ lw $v0, 0x20($v0) +/* EE7DF0 80241840 46200020 */ cvt.s.d $f0, $f0 +/* EE7DF4 80241844 E622001C */ swc1 $f2, 0x1c($s1) +/* EE7DF8 80241848 E6200014 */ swc1 $f0, 0x14($s1) +/* EE7DFC 8024184C AE220028 */ sw $v0, 0x28($s1) +/* EE7E00 80241850 C6000018 */ lwc1 $f0, 0x18($s0) +/* EE7E04 80241854 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EE7E08 80241858 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EE7E0C 8024185C E6200018 */ swc1 $f0, 0x18($s1) +/* EE7E10 80241860 8C460028 */ lw $a2, 0x28($v0) +/* EE7E14 80241864 0C00ABDC */ jal fio_validate_header_checksums +/* EE7E18 80241868 8C470030 */ lw $a3, 0x30($v0) +/* EE7E1C 8024186C E620000C */ swc1 $f0, 0xc($s1) +/* EE7E20 80241870 8E420018 */ lw $v0, 0x18($s2) +/* EE7E24 80241874 AE400074 */ sw $zero, 0x74($s2) +/* EE7E28 80241878 9442002A */ lhu $v0, 0x2a($v0) +/* EE7E2C 8024187C 30420002 */ andi $v0, $v0, 2 +/* EE7E30 80241880 10400005 */ beqz $v0, .L80241898 +/* EE7E34 80241884 24020003 */ addiu $v0, $zero, 3 +/* EE7E38 80241888 A622008E */ sh $v0, 0x8e($s1) +/* EE7E3C 8024188C 2402000D */ addiu $v0, $zero, 0xd +/* EE7E40 80241890 0809063A */ j .L802418E8 +/* EE7E44 80241894 AE620070 */ sw $v0, 0x70($s3) +.L80241898: +/* EE7E48 80241898 24030001 */ addiu $v1, $zero, 1 +/* EE7E4C 8024189C 2402000E */ addiu $v0, $zero, 0xe +/* EE7E50 802418A0 A623008E */ sh $v1, 0x8e($s1) +/* EE7E54 802418A4 AE620070 */ sw $v0, 0x70($s3) +/* EE7E58 802418A8 C6200038 */ lwc1 $f0, 0x38($s1) +/* EE7E5C 802418AC 4600018D */ trunc.w.s $f6, $f0 +/* EE7E60 802418B0 44023000 */ mfc1 $v0, $f6 +/* EE7E64 802418B4 00000000 */ nop +/* EE7E68 802418B8 A6420010 */ sh $v0, 0x10($s2) +/* EE7E6C 802418BC C620003C */ lwc1 $f0, 0x3c($s1) +/* EE7E70 802418C0 4600018D */ trunc.w.s $f6, $f0 +/* EE7E74 802418C4 44023000 */ mfc1 $v0, $f6 +/* EE7E78 802418C8 00000000 */ nop +/* EE7E7C 802418CC A6420012 */ sh $v0, 0x12($s2) +/* EE7E80 802418D0 C6200040 */ lwc1 $f0, 0x40($s1) +/* EE7E84 802418D4 A2430007 */ sb $v1, 7($s2) +/* EE7E88 802418D8 4600018D */ trunc.w.s $f6, $f0 +/* EE7E8C 802418DC 44023000 */ mfc1 $v0, $f6 +/* EE7E90 802418E0 00000000 */ nop +/* EE7E94 802418E4 A6420014 */ sh $v0, 0x14($s2) +.L802418E8: +/* EE7E98 802418E8 8FBF0020 */ lw $ra, 0x20($sp) +/* EE7E9C 802418EC 8FB3001C */ lw $s3, 0x1c($sp) +/* EE7EA0 802418F0 8FB20018 */ lw $s2, 0x18($sp) +/* EE7EA4 802418F4 8FB10014 */ lw $s1, 0x14($sp) +/* EE7EA8 802418F8 8FB00010 */ lw $s0, 0x10($sp) +/* EE7EAC 802418FC 03E00008 */ jr $ra +/* EE7EB0 80241900 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EE70C0/func_80241904_EE7EB4.s b/asm/nonmatchings/code_EE70C0/func_80241904_EE7EB4.s new file mode 100644 index 0000000000..da7b0a7ec7 --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_80241904_EE7EB4.s @@ -0,0 +1,31 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241904_EE7EB4 +/* EE7EB4 80241904 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EE7EB8 80241908 AFB00010 */ sw $s0, 0x10($sp) +/* EE7EBC 8024190C 0080802D */ daddu $s0, $a0, $zero +/* EE7EC0 80241910 AFBF0014 */ sw $ra, 0x14($sp) +/* EE7EC4 80241914 8E020148 */ lw $v0, 0x148($s0) +/* EE7EC8 80241918 0C00F92F */ jal func_8003E4BC +/* EE7ECC 8024191C 84440008 */ lh $a0, 8($v0) +/* EE7ED0 80241920 0040202D */ daddu $a0, $v0, $zero +/* EE7ED4 80241924 8482008E */ lh $v0, 0x8e($a0) +/* EE7ED8 80241928 9483008E */ lhu $v1, 0x8e($a0) +/* EE7EDC 8024192C 18400005 */ blez $v0, .L80241944 +/* EE7EE0 80241930 2462FFFF */ addiu $v0, $v1, -1 +/* EE7EE4 80241934 A482008E */ sh $v0, 0x8e($a0) +/* EE7EE8 80241938 00021400 */ sll $v0, $v0, 0x10 +/* EE7EEC 8024193C 1C400006 */ bgtz $v0, .L80241958 +/* EE7EF0 80241940 00000000 */ nop +.L80241944: +/* EE7EF4 80241944 8482008C */ lh $v0, 0x8c($a0) +/* EE7EF8 80241948 14400003 */ bnez $v0, .L80241958 +/* EE7EFC 8024194C 2402000E */ addiu $v0, $zero, 0xe +/* EE7F00 80241950 A480008E */ sh $zero, 0x8e($a0) +/* EE7F04 80241954 AE020070 */ sw $v0, 0x70($s0) +.L80241958: +/* EE7F08 80241958 8FBF0014 */ lw $ra, 0x14($sp) +/* EE7F0C 8024195C 8FB00010 */ lw $s0, 0x10($sp) +/* EE7F10 80241960 03E00008 */ jr $ra +/* EE7F14 80241964 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EE70C0/func_80241968_EE7F18.s b/asm/nonmatchings/code_EE70C0/func_80241968_EE7F18.s new file mode 100644 index 0000000000..776e674076 --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_80241968_EE7F18.s @@ -0,0 +1,243 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241968_EE7F18 +/* EE7F18 80241968 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EE7F1C 8024196C AFB20030 */ sw $s2, 0x30($sp) +/* EE7F20 80241970 0080902D */ daddu $s2, $a0, $zero +/* EE7F24 80241974 AFBF0038 */ sw $ra, 0x38($sp) +/* EE7F28 80241978 AFB30034 */ sw $s3, 0x34($sp) +/* EE7F2C 8024197C AFB1002C */ sw $s1, 0x2c($sp) +/* EE7F30 80241980 AFB00028 */ sw $s0, 0x28($sp) +/* EE7F34 80241984 F7B60048 */ sdc1 $f22, 0x48($sp) +/* EE7F38 80241988 F7B40040 */ sdc1 $f20, 0x40($sp) +/* EE7F3C 8024198C 8E510148 */ lw $s1, 0x148($s2) +/* EE7F40 80241990 86240008 */ lh $a0, 8($s1) +/* EE7F44 80241994 0C00F92F */ jal func_8003E4BC +/* EE7F48 80241998 00A0982D */ daddu $s3, $a1, $zero +/* EE7F4C 8024199C 0040802D */ daddu $s0, $v0, $zero +/* EE7F50 802419A0 0200202D */ daddu $a0, $s0, $zero +/* EE7F54 802419A4 C6220088 */ lwc1 $f2, 0x88($s1) +/* EE7F58 802419A8 468010A0 */ cvt.s.w $f2, $f2 +/* EE7F5C 802419AC 460010A1 */ cvt.d.s $f2, $f2 +/* EE7F60 802419B0 C604001C */ lwc1 $f4, 0x1c($s0) +/* EE7F64 802419B4 C6000014 */ lwc1 $f0, 0x14($s0) +/* EE7F68 802419B8 8E050018 */ lw $a1, 0x18($s0) +/* EE7F6C 802419BC 46002100 */ add.s $f4, $f4, $f0 +/* EE7F70 802419C0 8E06000C */ lw $a2, 0xc($s0) +/* EE7F74 802419C4 C6200078 */ lwc1 $f0, 0x78($s1) +/* EE7F78 802419C8 46800020 */ cvt.s.w $f0, $f0 +/* EE7F7C 802419CC E604001C */ swc1 $f4, 0x1c($s0) +/* EE7F80 802419D0 3C014059 */ lui $at, 0x4059 +/* EE7F84 802419D4 44812800 */ mtc1 $at, $f5 +/* EE7F88 802419D8 44802000 */ mtc1 $zero, $f4 +/* EE7F8C 802419DC 46000021 */ cvt.d.s $f0, $f0 +/* EE7F90 802419E0 46240003 */ div.d $f0, $f0, $f4 +/* EE7F94 802419E4 46200520 */ cvt.s.d $f20, $f0 +/* EE7F98 802419E8 46241083 */ div.d $f2, $f2, $f4 +/* EE7F9C 802419EC 0C00F909 */ jal func_8003E424 +/* EE7FA0 802419F0 462015A0 */ cvt.s.d $f22, $f2 +/* EE7FA4 802419F4 C604001C */ lwc1 $f4, 0x1c($s0) +/* EE7FA8 802419F8 44801000 */ mtc1 $zero, $f2 +/* EE7FAC 802419FC 44801800 */ mtc1 $zero, $f3 +/* EE7FB0 80241A00 46002021 */ cvt.d.s $f0, $f4 +/* EE7FB4 80241A04 4620103E */ c.le.d $f2, $f0 +/* EE7FB8 80241A08 00000000 */ nop +/* EE7FBC 80241A0C 45000030 */ bc1f .L80241AD0 +/* EE7FC0 80241A10 00000000 */ nop +/* EE7FC4 80241A14 C600003C */ lwc1 $f0, 0x3c($s0) +/* EE7FC8 80241A18 46040000 */ add.s $f0, $f0, $f4 +/* EE7FCC 80241A1C E600003C */ swc1 $f0, 0x3c($s0) +/* EE7FD0 80241A20 8E2200CC */ lw $v0, 0xcc($s1) +/* EE7FD4 80241A24 8C420024 */ lw $v0, 0x24($v0) +/* EE7FD8 80241A28 AE020028 */ sw $v0, 0x28($s0) +/* EE7FDC 80241A2C A2200007 */ sb $zero, 7($s1) +/* EE7FE0 80241A30 8E020000 */ lw $v0, ($s0) +/* EE7FE4 80241A34 30420008 */ andi $v0, $v0, 8 +/* EE7FE8 80241A38 14400011 */ bnez $v0, .L80241A80 +/* EE7FEC 80241A3C 0000102D */ daddu $v0, $zero, $zero +/* EE7FF0 80241A40 27A50018 */ addiu $a1, $sp, 0x18 +/* EE7FF4 80241A44 27A6001C */ addiu $a2, $sp, 0x1c +/* EE7FF8 80241A48 C6000038 */ lwc1 $f0, 0x38($s0) +/* EE7FFC 80241A4C C602003C */ lwc1 $f2, 0x3c($s0) +/* EE8000 80241A50 C6040040 */ lwc1 $f4, 0x40($s0) +/* EE8004 80241A54 3C01447A */ lui $at, 0x447a +/* EE8008 80241A58 44813000 */ mtc1 $at, $f6 +/* EE800C 80241A5C 27A20024 */ addiu $v0, $sp, 0x24 +/* EE8010 80241A60 E7A00018 */ swc1 $f0, 0x18($sp) +/* EE8014 80241A64 E7A2001C */ swc1 $f2, 0x1c($sp) +/* EE8018 80241A68 E7A40020 */ swc1 $f4, 0x20($sp) +/* EE801C 80241A6C E7A60024 */ swc1 $f6, 0x24($sp) +/* EE8020 80241A70 AFA20010 */ sw $v0, 0x10($sp) +/* EE8024 80241A74 8E040080 */ lw $a0, 0x80($s0) +/* EE8028 80241A78 0C03908F */ jal func_800E423C +/* EE802C 80241A7C 27A70020 */ addiu $a3, $sp, 0x20 +.L80241A80: +/* EE8030 80241A80 1040000B */ beqz $v0, .L80241AB0 +/* EE8034 80241A84 00000000 */ nop +/* EE8038 80241A88 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* EE803C 80241A8C 46140080 */ add.s $f2, $f0, $f20 +/* EE8040 80241A90 C600003C */ lwc1 $f0, 0x3c($s0) +/* EE8044 80241A94 4600103E */ c.le.s $f2, $f0 +/* EE8048 80241A98 00000000 */ nop +/* EE804C 80241A9C 4500008D */ bc1f .L80241CD4 +/* EE8050 80241AA0 00000000 */ nop +/* EE8054 80241AA4 E602003C */ swc1 $f2, 0x3c($s0) +/* EE8058 80241AA8 08090735 */ j .L80241CD4 +/* EE805C 80241AAC AE400070 */ sw $zero, 0x70($s2) +.L80241AB0: +/* EE8060 80241AB0 C602003C */ lwc1 $f2, 0x3c($s0) +/* EE8064 80241AB4 C6000064 */ lwc1 $f0, 0x64($s0) +/* EE8068 80241AB8 4602003E */ c.le.s $f0, $f2 +/* EE806C 80241ABC 00000000 */ nop +/* EE8070 80241AC0 45030084 */ bc1tl .L80241CD4 +/* EE8074 80241AC4 AE400070 */ sw $zero, 0x70($s2) +/* EE8078 80241AC8 08090735 */ j .L80241CD4 +/* EE807C 80241ACC 00000000 */ nop +.L80241AD0: +/* EE8080 80241AD0 4622003C */ c.lt.d $f0, $f2 +/* EE8084 80241AD4 00000000 */ nop +/* EE8088 80241AD8 4500007E */ bc1f .L80241CD4 +/* EE808C 80241ADC 00000000 */ nop +/* EE8090 80241AE0 9602008E */ lhu $v0, 0x8e($s0) +/* EE8094 80241AE4 24420001 */ addiu $v0, $v0, 1 +/* EE8098 80241AE8 A602008E */ sh $v0, 0x8e($s0) +/* EE809C 80241AEC 00021400 */ sll $v0, $v0, 0x10 +/* EE80A0 80241AF0 8E630020 */ lw $v1, 0x20($s3) +/* EE80A4 80241AF4 00021403 */ sra $v0, $v0, 0x10 +/* EE80A8 80241AF8 0043102A */ slt $v0, $v0, $v1 +/* EE80AC 80241AFC 14400026 */ bnez $v0, .L80241B98 +/* EE80B0 80241B00 00000000 */ nop +/* EE80B4 80241B04 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EE80B8 80241B08 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EE80BC 80241B0C 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EE80C0 80241B10 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EE80C4 80241B14 A600008E */ sh $zero, 0x8e($s0) +/* EE80C8 80241B18 8C460028 */ lw $a2, 0x28($v0) +/* EE80CC 80241B1C 0C00ABDC */ jal fio_validate_header_checksums +/* EE80D0 80241B20 8C470030 */ lw $a3, 0x30($v0) +/* EE80D4 80241B24 46000506 */ mov.s $f20, $f0 +/* EE80D8 80241B28 C60C000C */ lwc1 $f12, 0xc($s0) +/* EE80DC 80241B2C 0C00ABC6 */ jal func_8002AF18 +/* EE80E0 80241B30 4600A386 */ mov.s $f14, $f20 +/* EE80E4 80241B34 46000086 */ mov.s $f2, $f0 +/* EE80E8 80241B38 8E62001C */ lw $v0, 0x1c($s3) +/* EE80EC 80241B3C 46001005 */ abs.s $f0, $f2 +/* EE80F0 80241B40 44822000 */ mtc1 $v0, $f4 +/* EE80F4 80241B44 00000000 */ nop +/* EE80F8 80241B48 46802120 */ cvt.s.w $f4, $f4 +/* EE80FC 80241B4C 4600203C */ c.lt.s $f4, $f0 +/* EE8100 80241B50 00000000 */ nop +/* EE8104 80241B54 4500000D */ bc1f .L80241B8C +/* EE8108 80241B58 00000000 */ nop +/* EE810C 80241B5C 44800000 */ mtc1 $zero, $f0 +/* EE8110 80241B60 C614000C */ lwc1 $f20, 0xc($s0) +/* EE8114 80241B64 4600103C */ c.lt.s $f2, $f0 +/* EE8118 80241B68 00000000 */ nop +/* EE811C 80241B6C 45000006 */ bc1f .L80241B88 +/* EE8120 80241B70 00021023 */ negu $v0, $v0 +/* EE8124 80241B74 44820000 */ mtc1 $v0, $f0 +/* EE8128 80241B78 00000000 */ nop +/* EE812C 80241B7C 46800020 */ cvt.s.w $f0, $f0 +/* EE8130 80241B80 080906E3 */ j .L80241B8C +/* EE8134 80241B84 4600A500 */ add.s $f20, $f20, $f0 +.L80241B88: +/* EE8138 80241B88 4604A500 */ add.s $f20, $f20, $f4 +.L80241B8C: +/* EE813C 80241B8C 0C00AB85 */ jal func_8002AE14 +/* EE8140 80241B90 4600A306 */ mov.s $f12, $f20 +/* EE8144 80241B94 E600000C */ swc1 $f0, 0xc($s0) +.L80241B98: +/* EE8148 80241B98 8E020000 */ lw $v0, ($s0) +/* EE814C 80241B9C 30420008 */ andi $v0, $v0, 8 +/* EE8150 80241BA0 1040000A */ beqz $v0, .L80241BCC +/* EE8154 80241BA4 27A50018 */ addiu $a1, $sp, 0x18 +/* EE8158 80241BA8 C602003C */ lwc1 $f2, 0x3c($s0) +/* EE815C 80241BAC C600001C */ lwc1 $f0, 0x1c($s0) +/* EE8160 80241BB0 46001080 */ add.s $f2, $f2, $f0 +/* EE8164 80241BB4 4616103C */ c.lt.s $f2, $f22 +/* EE8168 80241BB8 00000000 */ nop +/* EE816C 80241BBC 45020045 */ bc1fl .L80241CD4 +/* EE8170 80241BC0 E602003C */ swc1 $f2, 0x3c($s0) +/* EE8174 80241BC4 08090734 */ j .L80241CD0 +/* EE8178 80241BC8 E616003C */ swc1 $f22, 0x3c($s0) +.L80241BCC: +/* EE817C 80241BCC C6000038 */ lwc1 $f0, 0x38($s0) +/* EE8180 80241BD0 27A6001C */ addiu $a2, $sp, 0x1c +/* EE8184 80241BD4 E7A00018 */ swc1 $f0, 0x18($sp) +/* EE8188 80241BD8 860200A8 */ lh $v0, 0xa8($s0) +/* EE818C 80241BDC C600001C */ lwc1 $f0, 0x1c($s0) +/* EE8190 80241BE0 C604003C */ lwc1 $f4, 0x3c($s0) +/* EE8194 80241BE4 44821000 */ mtc1 $v0, $f2 +/* EE8198 80241BE8 00000000 */ nop +/* EE819C 80241BEC 468010A0 */ cvt.s.w $f2, $f2 +/* EE81A0 80241BF0 46000005 */ abs.s $f0, $f0 +/* EE81A4 80241BF4 46020000 */ add.s $f0, $f0, $f2 +/* EE81A8 80241BF8 C6060040 */ lwc1 $f6, 0x40($s0) +/* EE81AC 80241BFC 27A20024 */ addiu $v0, $sp, 0x24 +/* EE81B0 80241C00 46022100 */ add.s $f4, $f4, $f2 +/* EE81B4 80241C04 3C014024 */ lui $at, 0x4024 +/* EE81B8 80241C08 44811800 */ mtc1 $at, $f3 +/* EE81BC 80241C0C 44801000 */ mtc1 $zero, $f2 +/* EE81C0 80241C10 46000021 */ cvt.d.s $f0, $f0 +/* EE81C4 80241C14 46220000 */ add.d $f0, $f0, $f2 +/* EE81C8 80241C18 E7A60020 */ swc1 $f6, 0x20($sp) +/* EE81CC 80241C1C E7A4001C */ swc1 $f4, 0x1c($sp) +/* EE81D0 80241C20 46200020 */ cvt.s.d $f0, $f0 +/* EE81D4 80241C24 E7A00024 */ swc1 $f0, 0x24($sp) +/* EE81D8 80241C28 AFA20010 */ sw $v0, 0x10($sp) +/* EE81DC 80241C2C 8E040080 */ lw $a0, 0x80($s0) +/* EE81E0 80241C30 0C03908F */ jal func_800E423C +/* EE81E4 80241C34 27A70020 */ addiu $a3, $sp, 0x20 +/* EE81E8 80241C38 10400015 */ beqz $v0, .L80241C90 +/* EE81EC 80241C3C 00000000 */ nop +/* EE81F0 80241C40 860200A8 */ lh $v0, 0xa8($s0) +/* EE81F4 80241C44 C604001C */ lwc1 $f4, 0x1c($s0) +/* EE81F8 80241C48 44820000 */ mtc1 $v0, $f0 +/* EE81FC 80241C4C 00000000 */ nop +/* EE8200 80241C50 46800020 */ cvt.s.w $f0, $f0 +/* EE8204 80241C54 46002085 */ abs.s $f2, $f4 +/* EE8208 80241C58 46020000 */ add.s $f0, $f0, $f2 +/* EE820C 80241C5C C7A20024 */ lwc1 $f2, 0x24($sp) +/* EE8210 80241C60 4600103E */ c.le.s $f2, $f0 +/* EE8214 80241C64 00000000 */ nop +/* EE8218 80241C68 45000005 */ bc1f .L80241C80 +/* EE821C 80241C6C 00000000 */ nop +/* EE8220 80241C70 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* EE8224 80241C74 AE00001C */ sw $zero, 0x1c($s0) +/* EE8228 80241C78 08090735 */ j .L80241CD4 +/* EE822C 80241C7C E600003C */ swc1 $f0, 0x3c($s0) +.L80241C80: +/* EE8230 80241C80 C600003C */ lwc1 $f0, 0x3c($s0) +/* EE8234 80241C84 46040000 */ add.s $f0, $f0, $f4 +/* EE8238 80241C88 08090735 */ j .L80241CD4 +/* EE823C 80241C8C E600003C */ swc1 $f0, 0x3c($s0) +.L80241C90: +/* EE8240 80241C90 C606003C */ lwc1 $f6, 0x3c($s0) +/* EE8244 80241C94 860200A8 */ lh $v0, 0xa8($s0) +/* EE8248 80241C98 46163081 */ sub.s $f2, $f6, $f22 +/* EE824C 80241C9C 44820000 */ mtc1 $v0, $f0 +/* EE8250 80241CA0 00000000 */ nop +/* EE8254 80241CA4 46800020 */ cvt.s.w $f0, $f0 +/* EE8258 80241CA8 46001080 */ add.s $f2, $f2, $f0 +/* EE825C 80241CAC C604001C */ lwc1 $f4, 0x1c($s0) +/* EE8260 80241CB0 46002005 */ abs.s $f0, $f4 +/* EE8264 80241CB4 4602003C */ c.lt.s $f0, $f2 +/* EE8268 80241CB8 00000000 */ nop +/* EE826C 80241CBC 45020005 */ bc1fl .L80241CD4 +/* EE8270 80241CC0 AE00001C */ sw $zero, 0x1c($s0) +/* EE8274 80241CC4 46043000 */ add.s $f0, $f6, $f4 +/* EE8278 80241CC8 08090735 */ j .L80241CD4 +/* EE827C 80241CCC E600003C */ swc1 $f0, 0x3c($s0) +.L80241CD0: +/* EE8280 80241CD0 AE00001C */ sw $zero, 0x1c($s0) +.L80241CD4: +/* EE8284 80241CD4 8FBF0038 */ lw $ra, 0x38($sp) +/* EE8288 80241CD8 8FB30034 */ lw $s3, 0x34($sp) +/* EE828C 80241CDC 8FB20030 */ lw $s2, 0x30($sp) +/* EE8290 80241CE0 8FB1002C */ lw $s1, 0x2c($sp) +/* EE8294 80241CE4 8FB00028 */ lw $s0, 0x28($sp) +/* EE8298 80241CE8 D7B60048 */ ldc1 $f22, 0x48($sp) +/* EE829C 80241CEC D7B40040 */ ldc1 $f20, 0x40($sp) +/* EE82A0 80241CF0 03E00008 */ jr $ra +/* EE82A4 80241CF4 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EE70C0/func_80241CF8_EE82A8.s b/asm/nonmatchings/code_EE70C0/func_80241CF8_EE82A8.s new file mode 100644 index 0000000000..d731132677 --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_80241CF8_EE82A8.s @@ -0,0 +1,79 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241CF8_EE82A8 +/* EE82A8 80241CF8 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* EE82AC 80241CFC AFB00028 */ sw $s0, 0x28($sp) +/* EE82B0 80241D00 00A0802D */ daddu $s0, $a1, $zero +/* EE82B4 80241D04 AFB1002C */ sw $s1, 0x2c($sp) +/* EE82B8 80241D08 00C0882D */ daddu $s1, $a2, $zero +/* EE82BC 80241D0C AFBF0034 */ sw $ra, 0x34($sp) +/* EE82C0 80241D10 AFB20030 */ sw $s2, 0x30($sp) +/* EE82C4 80241D14 AE200070 */ sw $zero, 0x70($s1) +/* EE82C8 80241D18 8C830000 */ lw $v1, ($a0) +/* EE82CC 80241D1C 2402FDFF */ addiu $v0, $zero, -0x201 +/* EE82D0 80241D20 A480008E */ sh $zero, 0x8e($a0) +/* EE82D4 80241D24 00621824 */ and $v1, $v1, $v0 +/* EE82D8 80241D28 34650800 */ ori $a1, $v1, 0x800 +/* EE82DC 80241D2C AC850000 */ sw $a1, ($a0) +/* EE82E0 80241D30 8E0200D0 */ lw $v0, 0xd0($s0) +/* EE82E4 80241D34 8C420034 */ lw $v0, 0x34($v0) +/* EE82E8 80241D38 10400003 */ beqz $v0, .L80241D48 +/* EE82EC 80241D3C 00E0902D */ daddu $s2, $a3, $zero +/* EE82F0 80241D40 08090754 */ j .L80241D50 +/* EE82F4 80241D44 34620808 */ ori $v0, $v1, 0x808 +.L80241D48: +/* EE82F8 80241D48 2402FFF7 */ addiu $v0, $zero, -9 +/* EE82FC 80241D4C 00A21024 */ and $v0, $a1, $v0 +.L80241D50: +/* EE8300 80241D50 AC820000 */ sw $v0, ($a0) +/* EE8304 80241D54 27A20024 */ addiu $v0, $sp, 0x24 +/* EE8308 80241D58 27A50018 */ addiu $a1, $sp, 0x18 +/* EE830C 80241D5C C4800038 */ lwc1 $f0, 0x38($a0) +/* EE8310 80241D60 C482003C */ lwc1 $f2, 0x3c($a0) +/* EE8314 80241D64 C4840040 */ lwc1 $f4, 0x40($a0) +/* EE8318 80241D68 3C01447A */ lui $at, 0x447a +/* EE831C 80241D6C 44813000 */ mtc1 $at, $f6 +/* EE8320 80241D70 27A6001C */ addiu $a2, $sp, 0x1c +/* EE8324 80241D74 E7A00018 */ swc1 $f0, 0x18($sp) +/* EE8328 80241D78 E7A2001C */ swc1 $f2, 0x1c($sp) +/* EE832C 80241D7C E7A40020 */ swc1 $f4, 0x20($sp) +/* EE8330 80241D80 E7A60024 */ swc1 $f6, 0x24($sp) +/* EE8334 80241D84 AFA20010 */ sw $v0, 0x10($sp) +/* EE8338 80241D88 8C840080 */ lw $a0, 0x80($a0) +/* EE833C 80241D8C 0C03908F */ jal func_800E423C +/* EE8340 80241D90 27A70020 */ addiu $a3, $sp, 0x20 +/* EE8344 80241D94 C7A20024 */ lwc1 $f2, 0x24($sp) +/* EE8348 80241D98 3C014059 */ lui $at, 0x4059 +/* EE834C 80241D9C 44812800 */ mtc1 $at, $f5 +/* EE8350 80241DA0 44802000 */ mtc1 $zero, $f4 +/* EE8354 80241DA4 460010A1 */ cvt.d.s $f2, $f2 +/* EE8358 80241DA8 46241082 */ mul.d $f2, $f2, $f4 +/* EE835C 80241DAC 00000000 */ nop +/* EE8360 80241DB0 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* EE8364 80241DB4 46000021 */ cvt.d.s $f0, $f0 +/* EE8368 80241DB8 46240002 */ mul.d $f0, $f0, $f4 +/* EE836C 80241DBC 00000000 */ nop +/* EE8370 80241DC0 3C013FE0 */ lui $at, 0x3fe0 +/* EE8374 80241DC4 44812800 */ mtc1 $at, $f5 +/* EE8378 80241DC8 44802000 */ mtc1 $zero, $f4 +/* EE837C 80241DCC 00000000 */ nop +/* EE8380 80241DD0 46241080 */ add.d $f2, $f2, $f4 +/* EE8384 80241DD4 AE000074 */ sw $zero, 0x74($s0) +/* EE8388 80241DD8 46240000 */ add.d $f0, $f0, $f4 +/* EE838C 80241DDC AE000090 */ sw $zero, 0x90($s0) +/* EE8390 80241DE0 4620120D */ trunc.w.d $f8, $f2 +/* EE8394 80241DE4 E6080078 */ swc1 $f8, 0x78($s0) +/* EE8398 80241DE8 4620020D */ trunc.w.d $f8, $f0 +/* EE839C 80241DEC E6080088 */ swc1 $f8, 0x88($s0) +/* EE83A0 80241DF0 8E420014 */ lw $v0, 0x14($s2) +/* EE83A4 80241DF4 AE220074 */ sw $v0, 0x74($s1) +/* EE83A8 80241DF8 8E0200B0 */ lw $v0, 0xb0($s0) +/* EE83AC 80241DFC 34420010 */ ori $v0, $v0, 0x10 +/* EE83B0 80241E00 AE0200B0 */ sw $v0, 0xb0($s0) +/* EE83B4 80241E04 8FBF0034 */ lw $ra, 0x34($sp) +/* EE83B8 80241E08 8FB20030 */ lw $s2, 0x30($sp) +/* EE83BC 80241E0C 8FB1002C */ lw $s1, 0x2c($sp) +/* EE83C0 80241E10 8FB00028 */ lw $s0, 0x28($sp) +/* EE83C4 80241E14 03E00008 */ jr $ra +/* EE83C8 80241E18 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_EE70C0/func_80241E1C_EE83CC.s b/asm/nonmatchings/code_EE70C0/func_80241E1C_EE83CC.s new file mode 100644 index 0000000000..e8f3c27e49 --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_80241E1C_EE83CC.s @@ -0,0 +1,142 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241E1C_EE83CC +/* EE83CC 80241E1C 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EE83D0 80241E20 AFB50044 */ sw $s5, 0x44($sp) +/* EE83D4 80241E24 0080A82D */ daddu $s5, $a0, $zero +/* EE83D8 80241E28 AFBF0048 */ sw $ra, 0x48($sp) +/* EE83DC 80241E2C AFB40040 */ sw $s4, 0x40($sp) +/* EE83E0 80241E30 AFB3003C */ sw $s3, 0x3c($sp) +/* EE83E4 80241E34 AFB20038 */ sw $s2, 0x38($sp) +/* EE83E8 80241E38 AFB10034 */ sw $s1, 0x34($sp) +/* EE83EC 80241E3C AFB00030 */ sw $s0, 0x30($sp) +/* EE83F0 80241E40 8EB20148 */ lw $s2, 0x148($s5) +/* EE83F4 80241E44 86440008 */ lh $a0, 8($s2) +/* EE83F8 80241E48 8EB0000C */ lw $s0, 0xc($s5) +/* EE83FC 80241E4C 0C00F92F */ jal func_8003E4BC +/* EE8400 80241E50 00A0882D */ daddu $s1, $a1, $zero +/* EE8404 80241E54 02A0202D */ daddu $a0, $s5, $zero +/* EE8408 80241E58 8E050000 */ lw $a1, ($s0) +/* EE840C 80241E5C 0C0B53A3 */ jal func_802D4E8C +/* EE8410 80241E60 0040A02D */ daddu $s4, $v0, $zero +/* EE8414 80241E64 AFA00010 */ sw $zero, 0x10($sp) +/* EE8418 80241E68 8E4300D0 */ lw $v1, 0xd0($s2) +/* EE841C 80241E6C 8C630030 */ lw $v1, 0x30($v1) +/* EE8420 80241E70 AFA30014 */ sw $v1, 0x14($sp) +/* EE8424 80241E74 8E4300D0 */ lw $v1, 0xd0($s2) +/* EE8428 80241E78 8C63001C */ lw $v1, 0x1c($v1) +/* EE842C 80241E7C AFA30018 */ sw $v1, 0x18($sp) +/* EE8430 80241E80 8E4300D0 */ lw $v1, 0xd0($s2) +/* EE8434 80241E84 8C630024 */ lw $v1, 0x24($v1) +/* EE8438 80241E88 AFA3001C */ sw $v1, 0x1c($sp) +/* EE843C 80241E8C 8E4300D0 */ lw $v1, 0xd0($s2) +/* EE8440 80241E90 8C630028 */ lw $v1, 0x28($v1) +/* EE8444 80241E94 AFA30020 */ sw $v1, 0x20($sp) +/* EE8448 80241E98 8E4300D0 */ lw $v1, 0xd0($s2) +/* EE844C 80241E9C 3C0142F0 */ lui $at, 0x42f0 +/* EE8450 80241EA0 44810000 */ mtc1 $at, $f0 +/* EE8454 80241EA4 8C63002C */ lw $v1, 0x2c($v1) +/* EE8458 80241EA8 E7A00028 */ swc1 $f0, 0x28($sp) +/* EE845C 80241EAC A7A0002C */ sh $zero, 0x2c($sp) +/* EE8460 80241EB0 AFA30024 */ sw $v1, 0x24($sp) +/* EE8464 80241EB4 C6800038 */ lwc1 $f0, 0x38($s4) +/* EE8468 80241EB8 E6400108 */ swc1 $f0, 0x108($s2) +/* EE846C 80241EBC C680003C */ lwc1 $f0, 0x3c($s4) +/* EE8470 80241EC0 27B30010 */ addiu $s3, $sp, 0x10 +/* EE8474 80241EC4 E640010C */ swc1 $f0, 0x10c($s2) +/* EE8478 80241EC8 3C0138D1 */ lui $at, 0x38d1 +/* EE847C 80241ECC 3421B717 */ ori $at, $at, 0xb717 +/* EE8480 80241ED0 44810000 */ mtc1 $at, $f0 +/* EE8484 80241ED4 C6820040 */ lwc1 $f2, 0x40($s4) +/* EE8488 80241ED8 0040802D */ daddu $s0, $v0, $zero +/* EE848C 80241EDC E6400114 */ swc1 $f0, 0x114($s2) +/* EE8490 80241EE0 E6400118 */ swc1 $f0, 0x118($s2) +/* EE8494 80241EE4 12200006 */ beqz $s1, .L80241F00 +/* EE8498 80241EE8 E6420110 */ swc1 $f2, 0x110($s2) +/* EE849C 80241EEC 0280202D */ daddu $a0, $s4, $zero +/* EE84A0 80241EF0 0240282D */ daddu $a1, $s2, $zero +/* EE84A4 80241EF4 02A0302D */ daddu $a2, $s5, $zero +/* EE84A8 80241EF8 0C09073E */ jal func_80241CF8_EE82A8 +/* EE84AC 80241EFC 0200382D */ daddu $a3, $s0, $zero +.L80241F00: +/* EE84B0 80241F00 2402FFFE */ addiu $v0, $zero, -2 +/* EE84B4 80241F04 A28200AB */ sb $v0, 0xab($s4) +/* EE84B8 80241F08 8E4300B0 */ lw $v1, 0xb0($s2) +/* EE84BC 80241F0C 30620004 */ andi $v0, $v1, 4 +/* EE84C0 80241F10 10400007 */ beqz $v0, .L80241F30 +/* EE84C4 80241F14 00000000 */ nop +/* EE84C8 80241F18 824200B4 */ lb $v0, 0xb4($s2) +/* EE84CC 80241F1C 1440003C */ bnez $v0, .L80242010 +/* EE84D0 80241F20 0000102D */ daddu $v0, $zero, $zero +/* EE84D4 80241F24 2402FFFB */ addiu $v0, $zero, -5 +/* EE84D8 80241F28 00621024 */ and $v0, $v1, $v0 +/* EE84DC 80241F2C AE4200B0 */ sw $v0, 0xb0($s2) +.L80241F30: +/* EE84E0 80241F30 8EA30070 */ lw $v1, 0x70($s5) +/* EE84E4 80241F34 2C62000F */ sltiu $v0, $v1, 0xf +/* EE84E8 80241F38 10400034 */ beqz $v0, .L8024200C +/* EE84EC 80241F3C 00031080 */ sll $v0, $v1, 2 +/* EE84F0 80241F40 3C018024 */ lui $at, %hi(D_80245398) +/* EE84F4 80241F44 00220821 */ addu $at, $at, $v0 +/* EE84F8 80241F48 8C225398 */ lw $v0, %lo(D_80245398)($at) +/* EE84FC 80241F4C 00400008 */ jr $v0 +/* EE8500 80241F50 00000000 */ nop +/* EE8504 80241F54 02A0202D */ daddu $a0, $s5, $zero +/* EE8508 80241F58 0200282D */ daddu $a1, $s0, $zero +/* EE850C 80241F5C 0C0902C4 */ jal func_80240B10_EE70C0 +/* EE8510 80241F60 0260302D */ daddu $a2, $s3, $zero +/* EE8514 80241F64 02A0202D */ daddu $a0, $s5, $zero +/* EE8518 80241F68 0200282D */ daddu $a1, $s0, $zero +/* EE851C 80241F6C 0C090330 */ jal func_80240CC0_EE7270 +/* EE8520 80241F70 0260302D */ daddu $a2, $s3, $zero +/* EE8524 80241F74 08090804 */ j .L80242010 +/* EE8528 80241F78 0000102D */ daddu $v0, $zero, $zero +/* EE852C 80241F7C 02A0202D */ daddu $a0, $s5, $zero +/* EE8530 80241F80 0200282D */ daddu $a1, $s0, $zero +/* EE8534 80241F84 0C0904BA */ jal func_802412E8_EE7898 +/* EE8538 80241F88 0260302D */ daddu $a2, $s3, $zero +/* EE853C 80241F8C 02A0202D */ daddu $a0, $s5, $zero +/* EE8540 80241F90 0200282D */ daddu $a1, $s0, $zero +/* EE8544 80241F94 0C0904EA */ jal func_802413A8_EE7958 +/* EE8548 80241F98 0260302D */ daddu $a2, $s3, $zero +/* EE854C 80241F9C 08090804 */ j .L80242010 +/* EE8550 80241FA0 0000102D */ daddu $v0, $zero, $zero +/* EE8554 80241FA4 02A0202D */ daddu $a0, $s5, $zero +/* EE8558 80241FA8 0200282D */ daddu $a1, $s0, $zero +/* EE855C 80241FAC 0C0905BB */ jal func_802416EC_EE7C9C +/* EE8560 80241FB0 0260302D */ daddu $a2, $s3, $zero +/* EE8564 80241FB4 02A0202D */ daddu $a0, $s5, $zero +/* EE8568 80241FB8 0200282D */ daddu $a1, $s0, $zero +/* EE856C 80241FBC 0C0905D9 */ jal func_80241764_EE7D14 +/* EE8570 80241FC0 0260302D */ daddu $a2, $s3, $zero +/* EE8574 80241FC4 08090804 */ j .L80242010 +/* EE8578 80241FC8 0000102D */ daddu $v0, $zero, $zero +/* EE857C 80241FCC 02A0202D */ daddu $a0, $s5, $zero +/* EE8580 80241FD0 0200282D */ daddu $a1, $s0, $zero +/* EE8584 80241FD4 0C0905F4 */ jal func_802417D0_EE7D80 +/* EE8588 80241FD8 0260302D */ daddu $a2, $s3, $zero +/* EE858C 80241FDC 08090804 */ j .L80242010 +/* EE8590 80241FE0 0000102D */ daddu $v0, $zero, $zero +/* EE8594 80241FE4 02A0202D */ daddu $a0, $s5, $zero +/* EE8598 80241FE8 0200282D */ daddu $a1, $s0, $zero +/* EE859C 80241FEC 0C090641 */ jal func_80241904_EE7EB4 +/* EE85A0 80241FF0 0260302D */ daddu $a2, $s3, $zero +/* EE85A4 80241FF4 08090804 */ j .L80242010 +/* EE85A8 80241FF8 0000102D */ daddu $v0, $zero, $zero +/* EE85AC 80241FFC 02A0202D */ daddu $a0, $s5, $zero +/* EE85B0 80242000 0200282D */ daddu $a1, $s0, $zero +/* EE85B4 80242004 0C09065A */ jal func_80241968_EE7F18 +/* EE85B8 80242008 0260302D */ daddu $a2, $s3, $zero +.L8024200C: +/* EE85BC 8024200C 0000102D */ daddu $v0, $zero, $zero +.L80242010: +/* EE85C0 80242010 8FBF0048 */ lw $ra, 0x48($sp) +/* EE85C4 80242014 8FB50044 */ lw $s5, 0x44($sp) +/* EE85C8 80242018 8FB40040 */ lw $s4, 0x40($sp) +/* EE85CC 8024201C 8FB3003C */ lw $s3, 0x3c($sp) +/* EE85D0 80242020 8FB20038 */ lw $s2, 0x38($sp) +/* EE85D4 80242024 8FB10034 */ lw $s1, 0x34($sp) +/* EE85D8 80242028 8FB00030 */ lw $s0, 0x30($sp) +/* EE85DC 8024202C 03E00008 */ jr $ra +/* EE85E0 80242030 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EE70C0/func_80242034_EE85E4.s b/asm/nonmatchings/code_EE70C0/func_80242034_EE85E4.s new file mode 100644 index 0000000000..5eae0e33ea --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_80242034_EE85E4.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242034_EE85E4 +/* EE85E4 80242034 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EE85E8 80242038 AFB10014 */ sw $s1, 0x14($sp) +/* EE85EC 8024203C 0080882D */ daddu $s1, $a0, $zero +/* EE85F0 80242040 AFBF0018 */ sw $ra, 0x18($sp) +/* EE85F4 80242044 AFB00010 */ sw $s0, 0x10($sp) +/* EE85F8 80242048 8E30000C */ lw $s0, 0xc($s1) +/* EE85FC 8024204C 8E050000 */ lw $a1, ($s0) +/* EE8600 80242050 0C0B53A3 */ jal func_802D4E8C +/* EE8604 80242054 26100004 */ addiu $s0, $s0, 4 +/* EE8608 80242058 0C00F94D */ jal func_8003E534 +/* EE860C 8024205C 0040202D */ daddu $a0, $v0, $zero +/* EE8610 80242060 10400005 */ beqz $v0, .L80242078 +/* EE8614 80242064 00000000 */ nop +/* EE8618 80242068 8E050000 */ lw $a1, ($s0) +/* EE861C 8024206C 844600A8 */ lh $a2, 0xa8($v0) +/* EE8620 80242070 0C0B551A */ jal func_802D5468 +/* EE8624 80242074 0220202D */ daddu $a0, $s1, $zero +.L80242078: +/* EE8628 80242078 8FBF0018 */ lw $ra, 0x18($sp) +/* EE862C 8024207C 8FB10014 */ lw $s1, 0x14($sp) +/* EE8630 80242080 8FB00010 */ lw $s0, 0x10($sp) +/* EE8634 80242084 24020002 */ addiu $v0, $zero, 2 +/* EE8638 80242088 03E00008 */ jr $ra +/* EE863C 8024208C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EE70C0/func_80242090_EE8640.s b/asm/nonmatchings/code_EE70C0/func_80242090_EE8640.s new file mode 100644 index 0000000000..6aa2d14d1e --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_80242090_EE8640.s @@ -0,0 +1,122 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242090_EE8640 +/* EE8640 80242090 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EE8644 80242094 AFB10014 */ sw $s1, 0x14($sp) +/* EE8648 80242098 0080882D */ daddu $s1, $a0, $zero +/* EE864C 8024209C AFBF0024 */ sw $ra, 0x24($sp) +/* EE8650 802420A0 AFB40020 */ sw $s4, 0x20($sp) +/* EE8654 802420A4 AFB3001C */ sw $s3, 0x1c($sp) +/* EE8658 802420A8 AFB20018 */ sw $s2, 0x18($sp) +/* EE865C 802420AC AFB00010 */ sw $s0, 0x10($sp) +/* EE8660 802420B0 F7BC0048 */ sdc1 $f28, 0x48($sp) +/* EE8664 802420B4 F7BA0040 */ sdc1 $f26, 0x40($sp) +/* EE8668 802420B8 F7B80038 */ sdc1 $f24, 0x38($sp) +/* EE866C 802420BC F7B60030 */ sdc1 $f22, 0x30($sp) +/* EE8670 802420C0 F7B40028 */ sdc1 $f20, 0x28($sp) +/* EE8674 802420C4 8E30000C */ lw $s0, 0xc($s1) +/* EE8678 802420C8 8E130000 */ lw $s3, ($s0) +/* EE867C 802420CC 26100004 */ addiu $s0, $s0, 4 +/* EE8680 802420D0 0C0B53A3 */ jal func_802D4E8C +/* EE8684 802420D4 0260282D */ daddu $a1, $s3, $zero +/* EE8688 802420D8 4482E000 */ mtc1 $v0, $f28 +/* EE868C 802420DC 00000000 */ nop +/* EE8690 802420E0 4680E720 */ cvt.s.w $f28, $f28 +/* EE8694 802420E4 8E140000 */ lw $s4, ($s0) +/* EE8698 802420E8 26100004 */ addiu $s0, $s0, 4 +/* EE869C 802420EC 0220202D */ daddu $a0, $s1, $zero +/* EE86A0 802420F0 0C0B53A3 */ jal func_802D4E8C +/* EE86A4 802420F4 0280282D */ daddu $a1, $s4, $zero +/* EE86A8 802420F8 4482D000 */ mtc1 $v0, $f26 +/* EE86AC 802420FC 00000000 */ nop +/* EE86B0 80242100 4680D6A0 */ cvt.s.w $f26, $f26 +/* EE86B4 80242104 8E100000 */ lw $s0, ($s0) +/* EE86B8 80242108 0220202D */ daddu $a0, $s1, $zero +/* EE86BC 8024210C 0C0B53A3 */ jal func_802D4E8C +/* EE86C0 80242110 0200282D */ daddu $a1, $s0, $zero +/* EE86C4 80242114 4482C000 */ mtc1 $v0, $f24 +/* EE86C8 80242118 00000000 */ nop +/* EE86CC 8024211C 4680C620 */ cvt.s.w $f24, $f24 +/* EE86D0 80242120 3C128011 */ lui $s2, %hi(D_80117578) +/* EE86D4 80242124 26527578 */ addiu $s2, $s2, %lo(D_80117578) +/* EE86D8 80242128 3C038008 */ lui $v1, %hi(D_8007C760) +/* EE86DC 8024212C 8C63C760 */ lw $v1, %lo(D_8007C760)($v1) +/* EE86E0 80242130 C64200A8 */ lwc1 $f2, 0xa8($s2) +/* EE86E4 80242134 44800000 */ mtc1 $zero, $f0 +/* EE86E8 80242138 00031080 */ sll $v0, $v1, 2 +/* EE86EC 8024213C 00431021 */ addu $v0, $v0, $v1 +/* EE86F0 80242140 00021080 */ sll $v0, $v0, 2 +/* EE86F4 80242144 00431023 */ subu $v0, $v0, $v1 +/* EE86F8 80242148 000218C0 */ sll $v1, $v0, 3 +/* EE86FC 8024214C 00431021 */ addu $v0, $v0, $v1 +/* EE8700 80242150 000210C0 */ sll $v0, $v0, 3 +/* EE8704 80242154 46001032 */ c.eq.s $f2, $f0 +/* EE8708 80242158 3C01800C */ lui $at, %hi(D_800B8DEC) +/* EE870C 8024215C 00220821 */ addu $at, $at, $v0 +/* EE8710 80242160 C4368DEC */ lwc1 $f22, %lo(D_800B8DEC)($at) +/* EE8714 80242164 45000005 */ bc1f .L8024217C +/* EE8718 80242168 00000000 */ nop +/* EE871C 8024216C 3C0142C8 */ lui $at, 0x42c8 +/* EE8720 80242170 44810000 */ mtc1 $at, $f0 +/* EE8724 80242174 08090863 */ j .L8024218C +/* EE8728 80242178 4600B581 */ sub.s $f22, $f22, $f0 +.L8024217C: +/* EE872C 8024217C 3C0142C8 */ lui $at, 0x42c8 +/* EE8730 80242180 44810000 */ mtc1 $at, $f0 +/* EE8734 80242184 00000000 */ nop +/* EE8738 80242188 4600B580 */ add.s $f22, $f22, $f0 +.L8024218C: +/* EE873C 8024218C 0C00AB85 */ jal func_8002AE14 +/* EE8740 80242190 4600B306 */ mov.s $f12, $f22 +/* EE8744 80242194 46000586 */ mov.s $f22, $f0 +/* EE8748 80242198 3C014170 */ lui $at, 0x4170 +/* EE874C 8024219C 4481A000 */ mtc1 $at, $f20 +/* EE8750 802421A0 0C00AD77 */ jal func_8002B5DC +/* EE8754 802421A4 4600B306 */ mov.s $f12, $f22 +/* EE8758 802421A8 46140002 */ mul.s $f0, $f0, $f20 +/* EE875C 802421AC 00000000 */ nop +/* EE8760 802421B0 864200B0 */ lh $v0, 0xb0($s2) +/* EE8764 802421B4 3C013F00 */ lui $at, 0x3f00 +/* EE8768 802421B8 44812000 */ mtc1 $at, $f4 +/* EE876C 802421BC 44821000 */ mtc1 $v0, $f2 +/* EE8770 802421C0 00000000 */ nop +/* EE8774 802421C4 468010A0 */ cvt.s.w $f2, $f2 +/* EE8778 802421C8 46041082 */ mul.s $f2, $f2, $f4 +/* EE877C 802421CC 00000000 */ nop +/* EE8780 802421D0 4600E700 */ add.s $f28, $f28, $f0 +/* EE8784 802421D4 4602D680 */ add.s $f26, $f26, $f2 +/* EE8788 802421D8 0C00AD90 */ jal func_8002B640 +/* EE878C 802421DC 4600B306 */ mov.s $f12, $f22 +/* EE8790 802421E0 46140002 */ mul.s $f0, $f0, $f20 +/* EE8794 802421E4 00000000 */ nop +/* EE8798 802421E8 0220202D */ daddu $a0, $s1, $zero +/* EE879C 802421EC 0260282D */ daddu $a1, $s3, $zero +/* EE87A0 802421F0 4600E18D */ trunc.w.s $f6, $f28 +/* EE87A4 802421F4 44063000 */ mfc1 $a2, $f6 +/* EE87A8 802421F8 0C0B551A */ jal func_802D5468 +/* EE87AC 802421FC 4600C601 */ sub.s $f24, $f24, $f0 +/* EE87B0 80242200 0220202D */ daddu $a0, $s1, $zero +/* EE87B4 80242204 4600D18D */ trunc.w.s $f6, $f26 +/* EE87B8 80242208 44063000 */ mfc1 $a2, $f6 +/* EE87BC 8024220C 0C0B551A */ jal func_802D5468 +/* EE87C0 80242210 0280282D */ daddu $a1, $s4, $zero +/* EE87C4 80242214 0220202D */ daddu $a0, $s1, $zero +/* EE87C8 80242218 4600C18D */ trunc.w.s $f6, $f24 +/* EE87CC 8024221C 44063000 */ mfc1 $a2, $f6 +/* EE87D0 80242220 0C0B551A */ jal func_802D5468 +/* EE87D4 80242224 0200282D */ daddu $a1, $s0, $zero +/* EE87D8 80242228 8FBF0024 */ lw $ra, 0x24($sp) +/* EE87DC 8024222C 8FB40020 */ lw $s4, 0x20($sp) +/* EE87E0 80242230 8FB3001C */ lw $s3, 0x1c($sp) +/* EE87E4 80242234 8FB20018 */ lw $s2, 0x18($sp) +/* EE87E8 80242238 8FB10014 */ lw $s1, 0x14($sp) +/* EE87EC 8024223C 8FB00010 */ lw $s0, 0x10($sp) +/* EE87F0 80242240 D7BC0048 */ ldc1 $f28, 0x48($sp) +/* EE87F4 80242244 D7BA0040 */ ldc1 $f26, 0x40($sp) +/* EE87F8 80242248 D7B80038 */ ldc1 $f24, 0x38($sp) +/* EE87FC 8024224C D7B60030 */ ldc1 $f22, 0x30($sp) +/* EE8800 80242250 D7B40028 */ ldc1 $f20, 0x28($sp) +/* EE8804 80242254 24020002 */ addiu $v0, $zero, 2 +/* EE8808 80242258 03E00008 */ jr $ra +/* EE880C 8024225C 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EE70C0/func_80242260_EE8810.s b/asm/nonmatchings/code_EE70C0/func_80242260_EE8810.s new file mode 100644 index 0000000000..6b4fcd9326 --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_80242260_EE8810.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242260_EE8810 +/* EE8810 80242260 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EE8814 80242264 AFBF0010 */ sw $ra, 0x10($sp) +/* EE8818 80242268 10A00003 */ beqz $a1, .L80242278 +/* EE881C 8024226C 8C86000C */ lw $a2, 0xc($a0) +/* EE8820 80242270 3C018024 */ lui $at, %hi(D_8024462C) +/* EE8824 80242274 AC20462C */ sw $zero, %lo(D_8024462C)($at) +.L80242278: +/* EE8828 80242278 3C038024 */ lui $v1, %hi(D_8024462C) +/* EE882C 8024227C 2463462C */ addiu $v1, $v1, %lo(D_8024462C) +/* EE8830 80242280 8C620000 */ lw $v0, ($v1) +/* EE8834 80242284 54400003 */ bnel $v0, $zero, .L80242294 +/* EE8838 80242288 AC600000 */ sw $zero, ($v1) +/* EE883C 8024228C 080908AA */ j .L802422A8 +/* EE8840 80242290 0000102D */ daddu $v0, $zero, $zero +.L80242294: +/* EE8844 80242294 8CC50000 */ lw $a1, ($a2) +/* EE8848 80242298 3C068024 */ lui $a2, %hi(D_80244630) +/* EE884C 8024229C 0C0B551A */ jal func_802D5468 +/* EE8850 802422A0 8CC64630 */ lw $a2, %lo(D_80244630)($a2) +/* EE8854 802422A4 24020002 */ addiu $v0, $zero, 2 +.L802422A8: +/* EE8858 802422A8 8FBF0010 */ lw $ra, 0x10($sp) +/* EE885C 802422AC 03E00008 */ jr $ra +/* EE8860 802422B0 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EE70C0/func_802422B4_EE8864.s b/asm/nonmatchings/code_EE70C0/func_802422B4_EE8864.s new file mode 100644 index 0000000000..7022b50d32 --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_802422B4_EE8864.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802422B4_EE8864 +/* EE8864 802422B4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EE8868 802422B8 AFBF0010 */ sw $ra, 0x10($sp) +/* EE886C 802422BC 8C82000C */ lw $v0, 0xc($a0) +/* EE8870 802422C0 0C0B53A3 */ jal func_802D4E8C +/* EE8874 802422C4 8C450000 */ lw $a1, ($v0) +/* EE8878 802422C8 3C018024 */ lui $at, %hi(D_80244630) +/* EE887C 802422CC AC224630 */ sw $v0, %lo(D_80244630)($at) +/* EE8880 802422D0 24020002 */ addiu $v0, $zero, 2 +/* EE8884 802422D4 8FBF0010 */ lw $ra, 0x10($sp) +/* EE8888 802422D8 24030001 */ addiu $v1, $zero, 1 +/* EE888C 802422DC 3C018024 */ lui $at, %hi(D_8024462C) +/* EE8890 802422E0 AC23462C */ sw $v1, %lo(D_8024462C)($at) +/* EE8894 802422E4 03E00008 */ jr $ra +/* EE8898 802422E8 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EE70C0/func_802422EC_EE889C.s b/asm/nonmatchings/code_EE70C0/func_802422EC_EE889C.s new file mode 100644 index 0000000000..72a2380f2f --- /dev/null +++ b/asm/nonmatchings/code_EE70C0/func_802422EC_EE889C.s @@ -0,0 +1,50 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802422EC_EE889C +/* EE889C 802422EC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EE88A0 802422F0 AFBF0010 */ sw $ra, 0x10($sp) +/* EE88A4 802422F4 8C82000C */ lw $v0, 0xc($a0) +/* EE88A8 802422F8 0C0B53A3 */ jal func_802D4E8C +/* EE88AC 802422FC 8C450000 */ lw $a1, ($v0) +/* EE88B0 80242300 0040182D */ daddu $v1, $v0, $zero +/* EE88B4 80242304 10600012 */ beqz $v1, .L80242350 +/* EE88B8 80242308 0000202D */ daddu $a0, $zero, $zero +/* EE88BC 8024230C 8C620000 */ lw $v0, ($v1) +/* EE88C0 80242310 5040000A */ beql $v0, $zero, .L8024233C +/* EE88C4 80242314 00041080 */ sll $v0, $a0, 2 +/* EE88C8 80242318 3C058024 */ lui $a1, %hi(D_802453E0) +/* EE88CC 8024231C 24A553E0 */ addiu $a1, $a1, %lo(D_802453E0) +.L80242320: +/* EE88D0 80242320 24630004 */ addiu $v1, $v1, 4 +/* EE88D4 80242324 24840001 */ addiu $a0, $a0, 1 +/* EE88D8 80242328 ACA20000 */ sw $v0, ($a1) +/* EE88DC 8024232C 8C620000 */ lw $v0, ($v1) +/* EE88E0 80242330 1440FFFB */ bnez $v0, .L80242320 +/* EE88E4 80242334 24A50004 */ addiu $a1, $a1, 4 +/* EE88E8 80242338 00041080 */ sll $v0, $a0, 2 +.L8024233C: +/* EE88EC 8024233C 3C018024 */ lui $at, %hi(D_802453E0) +/* EE88F0 80242340 00220821 */ addu $at, $at, $v0 +/* EE88F4 80242344 AC2053E0 */ sw $zero, %lo(D_802453E0)($at) +/* EE88F8 80242348 080908DE */ j .L80242378 +/* EE88FC 8024234C 00000000 */ nop +.L80242350: +/* EE8900 80242350 3C038024 */ lui $v1, %hi(D_802453E0) +/* EE8904 80242354 246353E0 */ addiu $v1, $v1, %lo(D_802453E0) +/* EE8908 80242358 0060282D */ daddu $a1, $v1, $zero +.L8024235C: +/* EE890C 8024235C 24820080 */ addiu $v0, $a0, 0x80 +/* EE8910 80242360 AC620000 */ sw $v0, ($v1) +/* EE8914 80242364 24630004 */ addiu $v1, $v1, 4 +/* EE8918 80242368 24840001 */ addiu $a0, $a0, 1 +/* EE891C 8024236C 2882005B */ slti $v0, $a0, 0x5b +/* EE8920 80242370 1440FFFA */ bnez $v0, .L8024235C +/* EE8924 80242374 ACA0016C */ sw $zero, 0x16c($a1) +.L80242378: +/* EE8928 80242378 8FBF0010 */ lw $ra, 0x10($sp) +/* EE892C 8024237C 24020002 */ addiu $v0, $zero, 2 +/* EE8930 80242380 03E00008 */ jr $ra +/* EE8934 80242384 27BD0018 */ addiu $sp, $sp, 0x18 +/* EE8938 80242388 00000000 */ nop +/* EE893C 8024238C 00000000 */ nop diff --git a/asm/nonmatchings/code_EE8940/func_80242390_EE8940.s b/asm/nonmatchings/code_EE8940/func_80242390_EE8940.s new file mode 100644 index 0000000000..d5f095a7ef --- /dev/null +++ b/asm/nonmatchings/code_EE8940/func_80242390_EE8940.s @@ -0,0 +1,16 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242390_EE8940 +/* EE8940 80242390 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EE8944 80242394 AFBF0010 */ sw $ra, 0x10($sp) +/* EE8948 80242398 8C82000C */ lw $v0, 0xc($a0) +/* EE894C 8024239C 3C068017 */ lui $a2, %hi(D_80169B16) +/* EE8950 802423A0 84C69B16 */ lh $a2, %lo(D_80169B16)($a2) +/* EE8954 802423A4 0C0B551A */ jal func_802D5468 +/* EE8958 802423A8 8C450000 */ lw $a1, ($v0) +/* EE895C 802423AC 8FBF0010 */ lw $ra, 0x10($sp) +/* EE8960 802423B0 24020002 */ addiu $v0, $zero, 2 +/* EE8964 802423B4 03E00008 */ jr $ra +/* EE8968 802423B8 27BD0018 */ addiu $sp, $sp, 0x18 +/* EE896C 802423BC 00000000 */ nop diff --git a/asm/nonmatchings/code_EED100/func_80240000_EED100.s b/asm/nonmatchings/code_EED100/func_80240000_EED100.s new file mode 100644 index 0000000000..1a8f5b0780 --- /dev/null +++ b/asm/nonmatchings/code_EED100/func_80240000_EED100.s @@ -0,0 +1,20 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EED100 +/* EED100 80240000 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EED104 80240004 24040001 */ addiu $a0, $zero, 1 +/* EED108 80240008 0000282D */ daddu $a1, $zero, $zero +/* EED10C 8024000C 00A0302D */ daddu $a2, $a1, $zero +/* EED110 80240010 00A0382D */ daddu $a3, $a1, $zero +/* EED114 80240014 AFBF0018 */ sw $ra, 0x18($sp) +/* EED118 80240018 AFA00010 */ sw $zero, 0x10($sp) +/* EED11C 8024001C 0C01DEF4 */ jal func_80077BD0 +/* EED120 80240020 AFA00014 */ sw $zero, 0x14($sp) +/* EED124 80240024 8FBF0018 */ lw $ra, 0x18($sp) +/* EED128 80240028 24020002 */ addiu $v0, $zero, 2 +/* EED12C 8024002C 03E00008 */ jr $ra +/* EED130 80240030 27BD0020 */ addiu $sp, $sp, 0x20 +/* EED134 80240034 00000000 */ nop +/* EED138 80240038 00000000 */ nop +/* EED13C 8024003C 00000000 */ nop diff --git a/asm/nonmatchings/code_EED140/func_80240040_EED140.s b/asm/nonmatchings/code_EED140/func_80240040_EED140.s new file mode 100644 index 0000000000..44e173484d --- /dev/null +++ b/asm/nonmatchings/code_EED140/func_80240040_EED140.s @@ -0,0 +1,45 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240040_EED140 +/* EED140 80240040 8C820084 */ lw $v0, 0x84($a0) +/* EED144 80240044 8C830090 */ lw $v1, 0x90($a0) +/* EED148 80240048 00431023 */ subu $v0, $v0, $v1 +/* EED14C 8024004C 44821000 */ mtc1 $v0, $f2 +/* EED150 80240050 00000000 */ nop +/* EED154 80240054 468010A0 */ cvt.s.w $f2, $f2 +/* EED158 80240058 8C820088 */ lw $v0, 0x88($a0) +/* EED15C 8024005C 8C830094 */ lw $v1, 0x94($a0) +/* EED160 80240060 46021082 */ mul.s $f2, $f2, $f2 +/* EED164 80240064 00000000 */ nop +/* EED168 80240068 00431023 */ subu $v0, $v0, $v1 +/* EED16C 8024006C 44822000 */ mtc1 $v0, $f4 +/* EED170 80240070 00000000 */ nop +/* EED174 80240074 46802120 */ cvt.s.w $f4, $f4 +/* EED178 80240078 8C82008C */ lw $v0, 0x8c($a0) +/* EED17C 8024007C 46042102 */ mul.s $f4, $f4, $f4 +/* EED180 80240080 00000000 */ nop +/* EED184 80240084 8C830098 */ lw $v1, 0x98($a0) +/* EED188 80240088 00431023 */ subu $v0, $v0, $v1 +/* EED18C 8024008C 44820000 */ mtc1 $v0, $f0 +/* EED190 80240090 00000000 */ nop +/* EED194 80240094 46800020 */ cvt.s.w $f0, $f0 +/* EED198 80240098 46000002 */ mul.s $f0, $f0, $f0 +/* EED19C 8024009C 00000000 */ nop +/* EED1A0 802400A0 46041080 */ add.s $f2, $f2, $f4 +/* EED1A4 802400A4 46001080 */ add.s $f2, $f2, $f0 +/* EED1A8 802400A8 3C014561 */ lui $at, 0x4561 +/* EED1AC 802400AC 44810000 */ mtc1 $at, $f0 +/* EED1B0 802400B0 00000000 */ nop +/* EED1B4 802400B4 4600103C */ c.lt.s $f2, $f0 +/* EED1B8 802400B8 00000000 */ nop +/* EED1BC 802400BC 45010002 */ bc1t .L802400C8 +/* EED1C0 802400C0 24020001 */ addiu $v0, $zero, 1 +/* EED1C4 802400C4 0000102D */ daddu $v0, $zero, $zero +.L802400C8: +/* EED1C8 802400C8 AC820084 */ sw $v0, 0x84($a0) +/* EED1CC 802400CC 03E00008 */ jr $ra +/* EED1D0 802400D0 24020002 */ addiu $v0, $zero, 2 +/* EED1D4 802400D4 00000000 */ nop +/* EED1D8 802400D8 00000000 */ nop +/* EED1DC 802400DC 00000000 */ nop diff --git a/asm/nonmatchings/code_EED1E0/func_802400E0_EED1E0.s b/asm/nonmatchings/code_EED1E0/func_802400E0_EED1E0.s new file mode 100644 index 0000000000..bd48214810 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_802400E0_EED1E0.s @@ -0,0 +1,11 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802400E0_EED1E0 +/* EED1E0 802400E0 3C03800A */ lui $v1, %hi(D_800A15A8) +/* EED1E4 802400E4 246315A8 */ addiu $v1, $v1, %lo(D_800A15A8) +/* EED1E8 802400E8 8C620000 */ lw $v0, ($v1) +/* EED1EC 802400EC 34420040 */ ori $v0, $v0, 0x40 +/* EED1F0 802400F0 AC620000 */ sw $v0, ($v1) +/* EED1F4 802400F4 03E00008 */ jr $ra +/* EED1F8 802400F8 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EED1E0/func_802400FC_EED1FC.s b/asm/nonmatchings/code_EED1E0/func_802400FC_EED1FC.s new file mode 100644 index 0000000000..ad98dd7c33 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_802400FC_EED1FC.s @@ -0,0 +1,12 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802400FC_EED1FC +/* EED1FC 802400FC 3C02800A */ lui $v0, %hi(D_800A15A8) +/* EED200 80240100 244215A8 */ addiu $v0, $v0, %lo(D_800A15A8) +/* EED204 80240104 8C430000 */ lw $v1, ($v0) +/* EED208 80240108 2404FFBF */ addiu $a0, $zero, -0x41 +/* EED20C 8024010C 00641824 */ and $v1, $v1, $a0 +/* EED210 80240110 AC430000 */ sw $v1, ($v0) +/* EED214 80240114 03E00008 */ jr $ra +/* EED218 80240118 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EED1E0/func_8024011C_EED21C.s b/asm/nonmatchings/code_EED1E0/func_8024011C_EED21C.s new file mode 100644 index 0000000000..dbcc91bb03 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_8024011C_EED21C.s @@ -0,0 +1,15 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024011C_EED21C +/* EED21C 8024011C 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EED220 80240120 AFBF0010 */ sw $ra, 0x10($sp) +/* EED224 80240124 8C82000C */ lw $v0, 0xc($a0) +/* EED228 80240128 0C0B53A3 */ jal func_802D4E8C +/* EED22C 8024012C 8C450000 */ lw $a1, ($v0) +/* EED230 80240130 0C0BCEC0 */ jal func_802F3B00 +/* EED234 80240134 0040202D */ daddu $a0, $v0, $zero +/* EED238 80240138 8FBF0010 */ lw $ra, 0x10($sp) +/* EED23C 8024013C 24020002 */ addiu $v0, $zero, 2 +/* EED240 80240140 03E00008 */ jr $ra +/* EED244 80240144 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EED1E0/func_80240148_EED248.s b/asm/nonmatchings/code_EED1E0/func_80240148_EED248.s new file mode 100644 index 0000000000..27f9544e94 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_80240148_EED248.s @@ -0,0 +1,31 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240148_EED248 +/* EED248 80240148 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EED24C 8024014C AFB00010 */ sw $s0, 0x10($sp) +/* EED250 80240150 0080802D */ daddu $s0, $a0, $zero +/* EED254 80240154 AFBF0018 */ sw $ra, 0x18($sp) +/* EED258 80240158 AFB10014 */ sw $s1, 0x14($sp) +/* EED25C 8024015C 8E11000C */ lw $s1, 0xc($s0) +/* EED260 80240160 8E250000 */ lw $a1, ($s1) +/* EED264 80240164 0C0B53A3 */ jal func_802D4E8C +/* EED268 80240168 26310004 */ addiu $s1, $s1, 4 +/* EED26C 8024016C 0200202D */ daddu $a0, $s0, $zero +/* EED270 80240170 3C038011 */ lui $v1, %hi(D_80117840) +/* EED274 80240174 24637840 */ addiu $v1, $v1, %lo(D_80117840) +/* EED278 80240178 000210C0 */ sll $v0, $v0, 3 +/* EED27C 8024017C 00431021 */ addu $v0, $v0, $v1 +/* EED280 80240180 90460015 */ lbu $a2, 0x15($v0) +/* EED284 80240184 8E250000 */ lw $a1, ($s1) +/* EED288 80240188 24C60001 */ addiu $a2, $a2, 1 +/* EED28C 8024018C A0460015 */ sb $a2, 0x15($v0) +/* EED290 80240190 00063600 */ sll $a2, $a2, 0x18 +/* EED294 80240194 0C0B551A */ jal func_802D5468 +/* EED298 80240198 00063603 */ sra $a2, $a2, 0x18 +/* EED29C 8024019C 8FBF0018 */ lw $ra, 0x18($sp) +/* EED2A0 802401A0 8FB10014 */ lw $s1, 0x14($sp) +/* EED2A4 802401A4 8FB00010 */ lw $s0, 0x10($sp) +/* EED2A8 802401A8 24020002 */ addiu $v0, $zero, 2 +/* EED2AC 802401AC 03E00008 */ jr $ra +/* EED2B0 802401B0 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EED1E0/func_802401B4_EED2B4.s b/asm/nonmatchings/code_EED1E0/func_802401B4_EED2B4.s new file mode 100644 index 0000000000..18dcf11381 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_802401B4_EED2B4.s @@ -0,0 +1,25 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802401B4_EED2B4 +/* EED2B4 802401B4 3C028011 */ lui $v0, %hi(D_80117840) +/* EED2B8 802401B8 24427840 */ addiu $v0, $v0, %lo(D_80117840) +/* EED2BC 802401BC 000420C0 */ sll $a0, $a0, 3 +/* EED2C0 802401C0 00822021 */ addu $a0, $a0, $v0 +/* EED2C4 802401C4 90820014 */ lbu $v0, 0x14($a0) +/* EED2C8 802401C8 10400009 */ beqz $v0, .L802401F0 +/* EED2CC 802401CC 00000000 */ nop +/* EED2D0 802401D0 90820015 */ lbu $v0, 0x15($a0) +/* EED2D4 802401D4 00022600 */ sll $a0, $v0, 0x18 +/* EED2D8 802401D8 00041E03 */ sra $v1, $a0, 0x18 +/* EED2DC 802401DC 00051400 */ sll $v0, $a1, 0x10 +/* EED2E0 802401E0 00021403 */ sra $v0, $v0, 0x10 +/* EED2E4 802401E4 0043102A */ slt $v0, $v0, $v1 +/* EED2E8 802401E8 10400003 */ beqz $v0, .L802401F8 +/* EED2EC 802401EC 00000000 */ nop +.L802401F0: +/* EED2F0 802401F0 03E00008 */ jr $ra +/* EED2F4 802401F4 2402FFFF */ addiu $v0, $zero, -1 +.L802401F8: +/* EED2F8 802401F8 03E00008 */ jr $ra +/* EED2FC 802401FC 00041603 */ sra $v0, $a0, 0x18 diff --git a/asm/nonmatchings/code_EED1E0/func_80240200_EED300.s b/asm/nonmatchings/code_EED1E0/func_80240200_EED300.s new file mode 100644 index 0000000000..24bb2e85a1 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_80240200_EED300.s @@ -0,0 +1,50 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240200_EED300 +/* EED300 80240200 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EED304 80240204 AFB3001C */ sw $s3, 0x1c($sp) +/* EED308 80240208 0080982D */ daddu $s3, $a0, $zero +/* EED30C 8024020C AFB00010 */ sw $s0, 0x10($sp) +/* EED310 80240210 24100001 */ addiu $s0, $zero, 1 +/* EED314 80240214 AFB40020 */ sw $s4, 0x20($sp) +/* EED318 80240218 2414FFFF */ addiu $s4, $zero, -1 +/* EED31C 8024021C AFB50024 */ sw $s5, 0x24($sp) +/* EED320 80240220 0200A82D */ daddu $s5, $s0, $zero +/* EED324 80240224 AFB10014 */ sw $s1, 0x14($sp) +/* EED328 80240228 3C118011 */ lui $s1, %hi(D_80117848) +/* EED32C 8024022C 26317848 */ addiu $s1, $s1, %lo(D_80117848) +/* EED330 80240230 AFBF0028 */ sw $ra, 0x28($sp) +/* EED334 80240234 AFB20018 */ sw $s2, 0x18($sp) +/* EED338 80240238 8E6200B4 */ lw $v0, 0xb4($s3) +/* EED33C 8024023C 0280182D */ daddu $v1, $s4, $zero +/* EED340 80240240 AE630084 */ sw $v1, 0x84($s3) +/* EED344 80240244 00021027 */ nor $v0, $zero, $v0 +/* EED348 80240248 000217C2 */ srl $v0, $v0, 0x1f +/* EED34C 8024024C 00029400 */ sll $s2, $v0, 0x10 +.L80240250: +/* EED350 80240250 92220014 */ lbu $v0, 0x14($s1) +/* EED354 80240254 50400008 */ beql $v0, $zero, .L80240278 +/* EED358 80240258 26100001 */ addiu $s0, $s0, 1 +/* EED35C 8024025C 0200202D */ daddu $a0, $s0, $zero +/* EED360 80240260 0C09006D */ jal func_802401B4_EED2B4 +/* EED364 80240264 00122C03 */ sra $a1, $s2, 0x10 +/* EED368 80240268 10540003 */ beq $v0, $s4, .L80240278 +/* EED36C 8024026C 26100001 */ addiu $s0, $s0, 1 +/* EED370 80240270 080900A1 */ j .L80240284 +/* EED374 80240274 AE750084 */ sw $s5, 0x84($s3) +.L80240278: +/* EED378 80240278 2A02000C */ slti $v0, $s0, 0xc +/* EED37C 8024027C 1440FFF4 */ bnez $v0, .L80240250 +/* EED380 80240280 26310008 */ addiu $s1, $s1, 8 +.L80240284: +/* EED384 80240284 8FBF0028 */ lw $ra, 0x28($sp) +/* EED388 80240288 8FB50024 */ lw $s5, 0x24($sp) +/* EED38C 8024028C 8FB40020 */ lw $s4, 0x20($sp) +/* EED390 80240290 8FB3001C */ lw $s3, 0x1c($sp) +/* EED394 80240294 8FB20018 */ lw $s2, 0x18($sp) +/* EED398 80240298 8FB10014 */ lw $s1, 0x14($sp) +/* EED39C 8024029C 8FB00010 */ lw $s0, 0x10($sp) +/* EED3A0 802402A0 24020002 */ addiu $v0, $zero, 2 +/* EED3A4 802402A4 03E00008 */ jr $ra +/* EED3A8 802402A8 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_EED1E0/func_802402AC_EED3AC.s b/asm/nonmatchings/code_EED1E0/func_802402AC_EED3AC.s new file mode 100644 index 0000000000..33fcc99368 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_802402AC_EED3AC.s @@ -0,0 +1,163 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802402AC_EED3AC +/* EED3AC 802402AC 27BDFFC0 */ addiu $sp, $sp, -0x40 +/* EED3B0 802402B0 AFB5002C */ sw $s5, 0x2c($sp) +/* EED3B4 802402B4 0080A82D */ daddu $s5, $a0, $zero +/* EED3B8 802402B8 AFBE0038 */ sw $fp, 0x38($sp) +/* EED3BC 802402BC 3C1E8011 */ lui $fp, %hi(D_80117840) +/* EED3C0 802402C0 27DE7840 */ addiu $fp, $fp, %lo(D_80117840) +/* EED3C4 802402C4 AFBF003C */ sw $ra, 0x3c($sp) +/* EED3C8 802402C8 AFB70034 */ sw $s7, 0x34($sp) +/* EED3CC 802402CC AFB60030 */ sw $s6, 0x30($sp) +/* EED3D0 802402D0 AFB40028 */ sw $s4, 0x28($sp) +/* EED3D4 802402D4 AFB30024 */ sw $s3, 0x24($sp) +/* EED3D8 802402D8 AFB20020 */ sw $s2, 0x20($sp) +/* EED3DC 802402DC AFB1001C */ sw $s1, 0x1c($sp) +/* EED3E0 802402E0 10A0004F */ beqz $a1, .L80240420 +/* EED3E4 802402E4 AFB00018 */ sw $s0, 0x18($sp) +/* EED3E8 802402E8 0C00AFF5 */ jal func_8002BFD4 +/* EED3EC 802402EC 24040330 */ addiu $a0, $zero, 0x330 +/* EED3F0 802402F0 0040982D */ daddu $s3, $v0, $zero +/* EED3F4 802402F4 0000B02D */ daddu $s6, $zero, $zero +/* EED3F8 802402F8 02C0902D */ daddu $s2, $s6, $zero +/* EED3FC 802402FC 3C148024 */ lui $s4, %hi(D_80243768) +/* EED400 80240300 26943768 */ addiu $s4, $s4, %lo(D_80243768) +/* EED404 80240304 0260882D */ daddu $s1, $s3, $zero +/* EED408 80240308 8EA200B4 */ lw $v0, 0xb4($s5) +/* EED40C 8024030C 3C038024 */ lui $v1, %hi(func_80243760_8B37D0) +/* EED410 80240310 24633760 */ addiu $v1, $v1, %lo(func_80243760_8B37D0) +/* EED414 80240314 AEB30078 */ sw $s3, 0x78($s5) +/* EED418 80240318 00021027 */ nor $v0, $zero, $v0 +/* EED41C 8024031C 0002BFC2 */ srl $s7, $v0, 0x1f +/* EED420 80240320 00171080 */ sll $v0, $s7, 2 +/* EED424 80240324 00431021 */ addu $v0, $v0, $v1 +/* EED428 80240328 AFA20010 */ sw $v0, 0x10($sp) +.L8024032C: +/* EED42C 8024032C 86900000 */ lh $s0, ($s4) +/* EED430 80240330 001010C0 */ sll $v0, $s0, 3 +/* EED434 80240334 03C21021 */ addu $v0, $fp, $v0 +/* EED438 80240338 90420014 */ lbu $v0, 0x14($v0) +/* EED43C 8024033C 5040002E */ beql $v0, $zero, .L802403F8 +/* EED440 80240340 26520001 */ addiu $s2, $s2, 1 +/* EED444 80240344 00101100 */ sll $v0, $s0, 4 +/* EED448 80240348 3C068009 */ lui $a2, %hi(D_80094900) +/* EED44C 8024034C 24C64900 */ addiu $a2, $a2, %lo(D_80094900) +/* EED450 80240350 00461021 */ addu $v0, $v0, $a2 +/* EED454 80240354 0200202D */ daddu $a0, $s0, $zero +/* EED458 80240358 AE300108 */ sw $s0, 0x108($s1) +/* EED45C 8024035C 8C420000 */ lw $v0, ($v0) +/* EED460 80240360 02E0282D */ daddu $a1, $s7, $zero +/* EED464 80240364 0C09006D */ jal func_802401B4_EED2B4 +/* EED468 80240368 AE220084 */ sw $v0, 0x84($s1) +/* EED46C 8024036C 0040202D */ daddu $a0, $v0, $zero +/* EED470 80240370 04800011 */ bltz $a0, .L802403B8 +/* EED474 80240374 00101080 */ sll $v0, $s0, 2 +/* EED478 80240378 3C068010 */ lui $a2, %hi(D_80100060) +/* EED47C 8024037C 24C60060 */ addiu $a2, $a2, %lo(D_80100060) +/* EED480 80240380 00461021 */ addu $v0, $v0, $a2 +/* EED484 80240384 8C430000 */ lw $v1, ($v0) +/* EED488 80240388 24020001 */ addiu $v0, $zero, 1 +/* EED48C 8024038C AE22018C */ sw $v0, 0x18c($s1) +/* EED490 80240390 00041080 */ sll $v0, $a0, 2 +/* EED494 80240394 3C068024 */ lui $a2, %hi(func_80243778_96C938) +/* EED498 80240398 24C63778 */ addiu $a2, $a2, %lo(func_80243778_96C938) +/* EED49C 8024039C AE230000 */ sw $v1, ($s1) +/* EED4A0 802403A0 001218C0 */ sll $v1, $s2, 3 +/* EED4A4 802403A4 00431021 */ addu $v0, $v0, $v1 +/* EED4A8 802403A8 00461021 */ addu $v0, $v0, $a2 +/* EED4AC 802403AC 8C420000 */ lw $v0, ($v0) +/* EED4B0 802403B0 080900F7 */ j .L802403DC +/* EED4B4 802403B4 AE220294 */ sw $v0, 0x294($s1) +.L802403B8: +/* EED4B8 802403B8 3C068010 */ lui $a2, %hi(D_801000A0) +/* EED4BC 802403BC 24C600A0 */ addiu $a2, $a2, %lo(D_801000A0) +/* EED4C0 802403C0 00461021 */ addu $v0, $v0, $a2 +/* EED4C4 802403C4 8C420000 */ lw $v0, ($v0) +/* EED4C8 802403C8 AE20018C */ sw $zero, 0x18c($s1) +/* EED4CC 802403CC AE220000 */ sw $v0, ($s1) +/* EED4D0 802403D0 8FA60010 */ lw $a2, 0x10($sp) +/* EED4D4 802403D4 8CC20000 */ lw $v0, ($a2) +/* EED4D8 802403D8 AE220294 */ sw $v0, 0x294($s1) +.L802403DC: +/* EED4DC 802403DC 001010C0 */ sll $v0, $s0, 3 +/* EED4E0 802403E0 03C21021 */ addu $v0, $fp, $v0 +/* EED4E4 802403E4 80420015 */ lb $v0, 0x15($v0) +/* EED4E8 802403E8 26D60001 */ addiu $s6, $s6, 1 +/* EED4EC 802403EC AE220210 */ sw $v0, 0x210($s1) +/* EED4F0 802403F0 26310004 */ addiu $s1, $s1, 4 +/* EED4F4 802403F4 26520001 */ addiu $s2, $s2, 1 +.L802403F8: +/* EED4F8 802403F8 2A420008 */ slti $v0, $s2, 8 +/* EED4FC 802403FC 1440FFCB */ bnez $v0, .L8024032C +/* EED500 80240400 26940002 */ addiu $s4, $s4, 2 +/* EED504 80240404 0260202D */ daddu $a0, $s3, $zero +/* EED508 80240408 24020004 */ addiu $v0, $zero, 4 +/* EED50C 8024040C AC820318 */ sw $v0, 0x318($a0) +/* EED510 80240410 AC960324 */ sw $s6, 0x324($a0) +/* EED514 80240414 0C03F343 */ jal func_800FCD0C +/* EED518 80240418 AC800328 */ sw $zero, 0x328($a0) +/* EED51C 8024041C AEA00070 */ sw $zero, 0x70($s5) +.L80240420: +/* EED520 80240420 8EA20070 */ lw $v0, 0x70($s5) +/* EED524 80240424 8EB30078 */ lw $s3, 0x78($s5) +/* EED528 80240428 14400008 */ bnez $v0, .L8024044C +/* EED52C 8024042C 24420001 */ addiu $v0, $v0, 1 +/* EED530 80240430 8662032C */ lh $v0, 0x32c($s3) +/* EED534 80240434 10400009 */ beqz $v0, .L8024045C +/* EED538 80240438 AEA20074 */ sw $v0, 0x74($s5) +/* EED53C 8024043C 0C03E498 */ jal func_800F9260 +/* EED540 80240440 00000000 */ nop +/* EED544 80240444 8EA20070 */ lw $v0, 0x70($s5) +/* EED548 80240448 24420001 */ addiu $v0, $v0, 1 +.L8024044C: +/* EED54C 8024044C AEA20070 */ sw $v0, 0x70($s5) +/* EED550 80240450 2842000F */ slti $v0, $v0, 0xf +/* EED554 80240454 10400003 */ beqz $v0, .L80240464 +/* EED558 80240458 00000000 */ nop +.L8024045C: +/* EED55C 8024045C 08090133 */ j .L802404CC +/* EED560 80240460 0000102D */ daddu $v0, $zero, $zero +.L80240464: +/* EED564 80240464 0C03E4FA */ jal func_800F93E8 +/* EED568 80240468 00000000 */ nop +/* EED56C 8024046C 8EA30074 */ lw $v1, 0x74($s5) +/* EED570 80240470 240200FF */ addiu $v0, $zero, 0xff +/* EED574 80240474 10620010 */ beq $v1, $v0, .L802404B8 +/* EED578 80240478 2462FFFF */ addiu $v0, $v1, -1 +/* EED57C 8024047C 00021080 */ sll $v0, $v0, 2 +/* EED580 80240480 02621021 */ addu $v0, $s3, $v0 +/* EED584 80240484 8C420108 */ lw $v0, 0x108($v0) +/* EED588 80240488 00021100 */ sll $v0, $v0, 4 +/* EED58C 8024048C 3C038009 */ lui $v1, %hi(D_80094900) +/* EED590 80240490 00621821 */ addu $v1, $v1, $v0 +/* EED594 80240494 8C634900 */ lw $v1, %lo(D_80094900)($v1) +/* EED598 80240498 8EA20074 */ lw $v0, 0x74($s5) +/* EED59C 8024049C 2442FFFF */ addiu $v0, $v0, -1 +/* EED5A0 802404A0 00021080 */ sll $v0, $v0, 2 +/* EED5A4 802404A4 02621021 */ addu $v0, $s3, $v0 +/* EED5A8 802404A8 AEA30084 */ sw $v1, 0x84($s5) +/* EED5AC 802404AC 8C420108 */ lw $v0, 0x108($v0) +/* EED5B0 802404B0 08090130 */ j .L802404C0 +/* EED5B4 802404B4 AEA20088 */ sw $v0, 0x88($s5) +.L802404B8: +/* EED5B8 802404B8 2402FFFF */ addiu $v0, $zero, -1 +/* EED5BC 802404BC AEA20084 */ sw $v0, 0x84($s5) +.L802404C0: +/* EED5C0 802404C0 0C00B007 */ jal func_8002C01C +/* EED5C4 802404C4 8EA40078 */ lw $a0, 0x78($s5) +/* EED5C8 802404C8 24020002 */ addiu $v0, $zero, 2 +.L802404CC: +/* EED5CC 802404CC 8FBF003C */ lw $ra, 0x3c($sp) +/* EED5D0 802404D0 8FBE0038 */ lw $fp, 0x38($sp) +/* EED5D4 802404D4 8FB70034 */ lw $s7, 0x34($sp) +/* EED5D8 802404D8 8FB60030 */ lw $s6, 0x30($sp) +/* EED5DC 802404DC 8FB5002C */ lw $s5, 0x2c($sp) +/* EED5E0 802404E0 8FB40028 */ lw $s4, 0x28($sp) +/* EED5E4 802404E4 8FB30024 */ lw $s3, 0x24($sp) +/* EED5E8 802404E8 8FB20020 */ lw $s2, 0x20($sp) +/* EED5EC 802404EC 8FB1001C */ lw $s1, 0x1c($sp) +/* EED5F0 802404F0 8FB00018 */ lw $s0, 0x18($sp) +/* EED5F4 802404F4 03E00008 */ jr $ra +/* EED5F8 802404F8 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/asm/nonmatchings/code_EED1E0/func_802404FC_EED5FC.s b/asm/nonmatchings/code_EED1E0/func_802404FC_EED5FC.s new file mode 100644 index 0000000000..25aa6ad93e --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_802404FC_EED5FC.s @@ -0,0 +1,15 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802404FC_EED5FC +/* EED5FC 802404FC 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EED600 80240500 AFBF0010 */ sw $ra, 0x10($sp) +/* EED604 80240504 8C82000C */ lw $v0, 0xc($a0) +/* EED608 80240508 0C0B53A3 */ jal func_802D4E8C +/* EED60C 8024050C 8C450000 */ lw $a1, ($v0) +/* EED610 80240510 0C03CB57 */ jal func_800F2D5C +/* EED614 80240514 0040202D */ daddu $a0, $v0, $zero +/* EED618 80240518 8FBF0010 */ lw $ra, 0x10($sp) +/* EED61C 8024051C 24020002 */ addiu $v0, $zero, 2 +/* EED620 80240520 03E00008 */ jr $ra +/* EED624 80240524 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EED1E0/func_80240528_EED628.s b/asm/nonmatchings/code_EED1E0/func_80240528_EED628.s new file mode 100644 index 0000000000..c421f747ce --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_80240528_EED628.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240528_EED628 +/* EED628 80240528 3C028011 */ lui $v0, %hi(D_80117852) +/* EED62C 8024052C 80427852 */ lb $v0, %lo(D_80117852)($v0) +/* EED630 80240530 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EED634 80240534 AFBF0010 */ sw $ra, 0x10($sp) +/* EED638 80240538 00021100 */ sll $v0, $v0, 4 +/* EED63C 8024053C 3C048009 */ lui $a0, %hi(D_80094900) +/* EED640 80240540 00822021 */ addu $a0, $a0, $v0 +/* EED644 80240544 8C844900 */ lw $a0, %lo(D_80094900)($a0) +/* EED648 80240548 0C04C31D */ jal func_80130C74 +/* EED64C 8024054C 0000282D */ daddu $a1, $zero, $zero +/* EED650 80240550 8FBF0010 */ lw $ra, 0x10($sp) +/* EED654 80240554 24020002 */ addiu $v0, $zero, 2 +/* EED658 80240558 03E00008 */ jr $ra +/* EED65C 8024055C 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EED1E0/func_80240560_EED660.s b/asm/nonmatchings/code_EED1E0/func_80240560_EED660.s new file mode 100644 index 0000000000..cec04a3b8f --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_80240560_EED660.s @@ -0,0 +1,40 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240560_EED660 +/* EED660 80240560 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EED664 80240564 AFB1001C */ sw $s1, 0x1c($sp) +/* EED668 80240568 0080882D */ daddu $s1, $a0, $zero +/* EED66C 8024056C AFBF0020 */ sw $ra, 0x20($sp) +/* EED670 80240570 AFB00018 */ sw $s0, 0x18($sp) +/* EED674 80240574 8E30000C */ lw $s0, 0xc($s1) +/* EED678 80240578 8E050000 */ lw $a1, ($s0) +/* EED67C 8024057C 0C0B53A3 */ jal func_802D4E8C +/* EED680 80240580 26100004 */ addiu $s0, $s0, 4 +/* EED684 80240584 0C0462EC */ jal func_80118BB0 +/* EED688 80240588 0040202D */ daddu $a0, $v0, $zero +/* EED68C 8024058C 8E100000 */ lw $s0, ($s0) +/* EED690 80240590 C444004C */ lwc1 $f4, 0x4c($v0) +/* EED694 80240594 3C014148 */ lui $at, 0x4148 +/* EED698 80240598 44810000 */ mtc1 $at, $f0 +/* EED69C 8024059C 3C013F33 */ lui $at, 0x3f33 +/* EED6A0 802405A0 34213333 */ ori $at, $at, 0x3333 +/* EED6A4 802405A4 44811000 */ mtc1 $at, $f2 +/* EED6A8 802405A8 AFA00014 */ sw $zero, 0x14($sp) +/* EED6AC 802405AC 46002100 */ add.s $f4, $f4, $f0 +/* EED6B0 802405B0 E7A20010 */ swc1 $f2, 0x10($sp) +/* EED6B4 802405B4 8C450048 */ lw $a1, 0x48($v0) +/* EED6B8 802405B8 8C470050 */ lw $a3, 0x50($v0) +/* EED6BC 802405BC 44062000 */ mfc1 $a2, $f4 +/* EED6C0 802405C0 0C01DA74 */ jal func_800769D0 +/* EED6C4 802405C4 0000202D */ daddu $a0, $zero, $zero +/* EED6C8 802405C8 0220202D */ daddu $a0, $s1, $zero +/* EED6CC 802405CC 0200282D */ daddu $a1, $s0, $zero +/* EED6D0 802405D0 0C0B551A */ jal func_802D5468 +/* EED6D4 802405D4 0040302D */ daddu $a2, $v0, $zero +/* EED6D8 802405D8 8FBF0020 */ lw $ra, 0x20($sp) +/* EED6DC 802405DC 8FB1001C */ lw $s1, 0x1c($sp) +/* EED6E0 802405E0 8FB00018 */ lw $s0, 0x18($sp) +/* EED6E4 802405E4 24020002 */ addiu $v0, $zero, 2 +/* EED6E8 802405E8 03E00008 */ jr $ra +/* EED6EC 802405EC 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EED1E0/func_802405F0_EED6F0.s b/asm/nonmatchings/code_EED1E0/func_802405F0_EED6F0.s new file mode 100644 index 0000000000..d7d4282152 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_802405F0_EED6F0.s @@ -0,0 +1,17 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802405F0_EED6F0 +/* EED6F0 802405F0 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EED6F4 802405F4 AFBF0010 */ sw $ra, 0x10($sp) +/* EED6F8 802405F8 8C82000C */ lw $v0, 0xc($a0) +/* EED6FC 802405FC 0C0B53A3 */ jal func_802D4E8C +/* EED700 80240600 8C450000 */ lw $a1, ($v0) +/* EED704 80240604 0040202D */ daddu $a0, $v0, $zero +/* EED708 80240608 8C830000 */ lw $v1, ($a0) +/* EED70C 8024060C 34630010 */ ori $v1, $v1, 0x10 +/* EED710 80240610 AC830000 */ sw $v1, ($a0) +/* EED714 80240614 8FBF0010 */ lw $ra, 0x10($sp) +/* EED718 80240618 24020002 */ addiu $v0, $zero, 2 +/* EED71C 8024061C 03E00008 */ jr $ra +/* EED720 80240620 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EED1E0/func_80240624_EED724.s b/asm/nonmatchings/code_EED1E0/func_80240624_EED724.s new file mode 100644 index 0000000000..26fba4efb1 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_80240624_EED724.s @@ -0,0 +1,29 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240624_EED724 +/* EED724 80240624 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EED728 80240628 AFBF0018 */ sw $ra, 0x18($sp) +/* EED72C 8024062C 8C82000C */ lw $v0, 0xc($a0) +/* EED730 80240630 0C0B53A3 */ jal func_802D4E8C +/* EED734 80240634 8C450000 */ lw $a1, ($v0) +/* EED738 80240638 0C0462EC */ jal func_80118BB0 +/* EED73C 8024063C 0040202D */ daddu $a0, $v0, $zero +/* EED740 80240640 3C013F80 */ lui $at, 0x3f80 +/* EED744 80240644 44810000 */ mtc1 $at, $f0 +/* EED748 80240648 C442004C */ lwc1 $f2, 0x4c($v0) +/* EED74C 8024064C E7A00010 */ swc1 $f0, 0x10($sp) +/* EED750 80240650 3C014148 */ lui $at, 0x4148 +/* EED754 80240654 44810000 */ mtc1 $at, $f0 +/* EED758 80240658 2403004B */ addiu $v1, $zero, 0x4b +/* EED75C 8024065C AFA30014 */ sw $v1, 0x14($sp) +/* EED760 80240660 46001080 */ add.s $f2, $f2, $f0 +/* EED764 80240664 8C450048 */ lw $a1, 0x48($v0) +/* EED768 80240668 8C470050 */ lw $a3, 0x50($v0) +/* EED76C 8024066C 44061000 */ mfc1 $a2, $f2 +/* EED770 80240670 0C01D78C */ jal func_80075E30 +/* EED774 80240674 24040004 */ addiu $a0, $zero, 4 +/* EED778 80240678 8FBF0018 */ lw $ra, 0x18($sp) +/* EED77C 8024067C 24020002 */ addiu $v0, $zero, 2 +/* EED780 80240680 03E00008 */ jr $ra +/* EED784 80240684 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EED1E0/func_80240688_EED788.s b/asm/nonmatchings/code_EED1E0/func_80240688_EED788.s new file mode 100644 index 0000000000..b522315bf7 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_80240688_EED788.s @@ -0,0 +1,26 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240688_EED788 +/* EED788 80240688 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EED78C 8024068C AFBF0018 */ sw $ra, 0x18($sp) +/* EED790 80240690 0C00F94D */ jal func_8003E534 +/* EED794 80240694 2404FFFC */ addiu $a0, $zero, -4 +/* EED798 80240698 C444003C */ lwc1 $f4, 0x3c($v0) +/* EED79C 8024069C 3C014148 */ lui $at, 0x4148 +/* EED7A0 802406A0 44811000 */ mtc1 $at, $f2 +/* EED7A4 802406A4 3C013F80 */ lui $at, 0x3f80 +/* EED7A8 802406A8 44810000 */ mtc1 $at, $f0 +/* EED7AC 802406AC 2403001E */ addiu $v1, $zero, 0x1e +/* EED7B0 802406B0 AFA30014 */ sw $v1, 0x14($sp) +/* EED7B4 802406B4 46022100 */ add.s $f4, $f4, $f2 +/* EED7B8 802406B8 E7A00010 */ swc1 $f0, 0x10($sp) +/* EED7BC 802406BC 8C450038 */ lw $a1, 0x38($v0) +/* EED7C0 802406C0 8C470040 */ lw $a3, 0x40($v0) +/* EED7C4 802406C4 44062000 */ mfc1 $a2, $f4 +/* EED7C8 802406C8 0C01D78C */ jal func_80075E30 +/* EED7CC 802406CC 24040009 */ addiu $a0, $zero, 9 +/* EED7D0 802406D0 8FBF0018 */ lw $ra, 0x18($sp) +/* EED7D4 802406D4 24020002 */ addiu $v0, $zero, 2 +/* EED7D8 802406D8 03E00008 */ jr $ra +/* EED7DC 802406DC 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EED1E0/func_802406E0_EED7E0.s b/asm/nonmatchings/code_EED1E0/func_802406E0_EED7E0.s new file mode 100644 index 0000000000..5fa6daee5a --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_802406E0_EED7E0.s @@ -0,0 +1,356 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802406E0_EED7E0 +/* EED7E0 802406E0 27BDFFA0 */ addiu $sp, $sp, -0x60 +/* EED7E4 802406E4 AFB60040 */ sw $s6, 0x40($sp) +/* EED7E8 802406E8 0080B02D */ daddu $s6, $a0, $zero +/* EED7EC 802406EC AFB00028 */ sw $s0, 0x28($sp) +/* EED7F0 802406F0 00A0802D */ daddu $s0, $a1, $zero +/* EED7F4 802406F4 AFBF0044 */ sw $ra, 0x44($sp) +/* EED7F8 802406F8 AFB5003C */ sw $s5, 0x3c($sp) +/* EED7FC 802406FC AFB40038 */ sw $s4, 0x38($sp) +/* EED800 80240700 AFB30034 */ sw $s3, 0x34($sp) +/* EED804 80240704 AFB20030 */ sw $s2, 0x30($sp) +/* EED808 80240708 AFB1002C */ sw $s1, 0x2c($sp) +/* EED80C 8024070C F7B80058 */ sdc1 $f24, 0x58($sp) +/* EED810 80240710 F7B60050 */ sdc1 $f22, 0x50($sp) +/* EED814 80240714 F7B40048 */ sdc1 $f20, 0x48($sp) +/* EED818 80240718 8ED3000C */ lw $s3, 0xc($s6) +/* EED81C 8024071C 0C00F94D */ jal func_8003E534 +/* EED820 80240720 2404FFFC */ addiu $a0, $zero, -4 +/* EED824 80240724 27A50018 */ addiu $a1, $sp, 0x18 +/* EED828 80240728 3C048008 */ lui $a0, %hi(D_8007C760) +/* EED82C 8024072C 8C84C760 */ lw $a0, %lo(D_8007C760)($a0) +/* EED830 80240730 27A6001C */ addiu $a2, $sp, 0x1c +/* EED834 80240734 00041880 */ sll $v1, $a0, 2 +/* EED838 80240738 00641821 */ addu $v1, $v1, $a0 +/* EED83C 8024073C 00031880 */ sll $v1, $v1, 2 +/* EED840 80240740 00641823 */ subu $v1, $v1, $a0 +/* EED844 80240744 000320C0 */ sll $a0, $v1, 3 +/* EED848 80240748 00641821 */ addu $v1, $v1, $a0 +/* EED84C 8024074C 000318C0 */ sll $v1, $v1, 3 +/* EED850 80240750 3C01800C */ lui $at, %hi(D_800B8DEC) +/* EED854 80240754 00230821 */ addu $at, $at, $v1 +/* EED858 80240758 C42C8DEC */ lwc1 $f12, %lo(D_800B8DEC)($at) +/* EED85C 8024075C 0C00AD49 */ jal func_8002B524 +/* EED860 80240760 0040A82D */ daddu $s5, $v0, $zero +/* EED864 80240764 1200005D */ beqz $s0, .L802408DC +/* EED868 80240768 00000000 */ nop +/* EED86C 8024076C 0C00AFC6 */ jal func_8002BF18 +/* EED870 80240770 24040068 */ addiu $a0, $zero, 0x68 +/* EED874 80240774 0040902D */ daddu $s2, $v0, $zero +/* EED878 80240778 02C0202D */ daddu $a0, $s6, $zero +/* EED87C 8024077C 0000882D */ daddu $s1, $zero, $zero +/* EED880 80240780 2414FFFF */ addiu $s4, $zero, -1 +/* EED884 80240784 AED20060 */ sw $s2, 0x60($s6) +/* EED888 80240788 8E650000 */ lw $a1, ($s3) +/* EED88C 8024078C 3C014148 */ lui $at, 0x4148 +/* EED890 80240790 4481C000 */ mtc1 $at, $f24 +/* EED894 80240794 3C013F80 */ lui $at, 0x3f80 +/* EED898 80240798 4481B000 */ mtc1 $at, $f22 +/* EED89C 8024079C 4480A000 */ mtc1 $zero, $f20 +/* EED8A0 802407A0 0C0B53A3 */ jal func_802D4E8C +/* EED8A4 802407A4 0240802D */ daddu $s0, $s2, $zero +/* EED8A8 802407A8 0C0462EC */ jal func_80118BB0 +/* EED8AC 802407AC 0040202D */ daddu $a0, $v0, $zero +/* EED8B0 802407B0 AE42005C */ sw $v0, 0x5c($s2) +.L802407B4: +/* EED8B4 802407B4 8E42005C */ lw $v0, 0x5c($s2) +/* EED8B8 802407B8 C440004C */ lwc1 $f0, 0x4c($v0) +/* EED8BC 802407BC 0000202D */ daddu $a0, $zero, $zero +/* EED8C0 802407C0 E7B60010 */ swc1 $f22, 0x10($sp) +/* EED8C4 802407C4 AFB40014 */ sw $s4, 0x14($sp) +/* EED8C8 802407C8 46180000 */ add.s $f0, $f0, $f24 +/* EED8CC 802407CC 8C450048 */ lw $a1, 0x48($v0) +/* EED8D0 802407D0 8C470050 */ lw $a3, 0x50($v0) +/* EED8D4 802407D4 44060000 */ mfc1 $a2, $f0 +/* EED8D8 802407D8 0C01DA5C */ jal func_80076970 +/* EED8DC 802407DC 26310001 */ addiu $s1, $s1, 1 +/* EED8E0 802407E0 AE020008 */ sw $v0, 8($s0) +/* EED8E4 802407E4 E614002C */ swc1 $f20, 0x2c($s0) +/* EED8E8 802407E8 E6140020 */ swc1 $f20, 0x20($s0) +/* EED8EC 802407EC E6140014 */ swc1 $f20, 0x14($s0) +/* EED8F0 802407F0 E6140050 */ swc1 $f20, 0x50($s0) +/* EED8F4 802407F4 E6140044 */ swc1 $f20, 0x44($s0) +/* EED8F8 802407F8 E6140038 */ swc1 $f20, 0x38($s0) +/* EED8FC 802407FC 2A220003 */ slti $v0, $s1, 3 +/* EED900 80240800 1440FFEC */ bnez $v0, .L802407B4 +/* EED904 80240804 26100004 */ addiu $s0, $s0, 4 +/* EED908 80240808 0000882D */ daddu $s1, $zero, $zero +/* EED90C 8024080C 0240802D */ daddu $s0, $s2, $zero +/* EED910 80240810 3C148024 */ lui $s4, %hi(func_802437B8) +/* EED914 80240814 269437B8 */ addiu $s4, $s4, %lo(func_802437B8) +/* EED918 80240818 3C014248 */ lui $at, 0x4248 +/* EED91C 8024081C 4481A000 */ mtc1 $at, $f20 +/* EED920 80240820 24130044 */ addiu $s3, $zero, 0x44 +/* EED924 80240824 AE400000 */ sw $zero, ($s2) +/* EED928 80240828 AE400004 */ sw $zero, 4($s2) +/* EED92C 8024082C AE400060 */ sw $zero, 0x60($s2) +/* EED930 80240830 AE400064 */ sw $zero, 0x64($s2) +.L80240834: +/* EED934 80240834 27A40020 */ addiu $a0, $sp, 0x20 +/* EED938 80240838 4406A000 */ mfc1 $a2, $f20 +/* EED93C 8024083C 8E870000 */ lw $a3, ($s4) +/* EED940 80240840 02532821 */ addu $a1, $s2, $s3 +/* EED944 80240844 0C00ACA3 */ jal func_8002B28C +/* EED948 80240848 AFA00020 */ sw $zero, 0x20($sp) +/* EED94C 8024084C C7A2001C */ lwc1 $f2, 0x1c($sp) +/* EED950 80240850 C7A40020 */ lwc1 $f4, 0x20($sp) +/* EED954 80240854 46041082 */ mul.s $f2, $f2, $f4 +/* EED958 80240858 00000000 */ nop +/* EED95C 8024085C C7A00018 */ lwc1 $f0, 0x18($sp) +/* EED960 80240860 46040002 */ mul.s $f0, $f0, $f4 +/* EED964 80240864 00000000 */ nop +/* EED968 80240868 E6020038 */ swc1 $f2, 0x38($s0) +/* EED96C 8024086C E6000050 */ swc1 $f0, 0x50($s0) +/* EED970 80240870 8E42005C */ lw $v0, 0x5c($s2) +/* EED974 80240874 C6000038 */ lwc1 $f0, 0x38($s0) +/* EED978 80240878 C4420048 */ lwc1 $f2, 0x48($v0) +/* EED97C 8024087C 46001080 */ add.s $f2, $f2, $f0 +/* EED980 80240880 C6A00038 */ lwc1 $f0, 0x38($s5) +/* EED984 80240884 46020001 */ sub.s $f0, $f0, $f2 +/* EED988 80240888 E6000038 */ swc1 $f0, 0x38($s0) +/* EED98C 8024088C 8E42005C */ lw $v0, 0x5c($s2) +/* EED990 80240890 C6000044 */ lwc1 $f0, 0x44($s0) +/* EED994 80240894 C442004C */ lwc1 $f2, 0x4c($v0) +/* EED998 80240898 46001080 */ add.s $f2, $f2, $f0 +/* EED99C 8024089C C6A0003C */ lwc1 $f0, 0x3c($s5) +/* EED9A0 802408A0 46020001 */ sub.s $f0, $f0, $f2 +/* EED9A4 802408A4 E6000044 */ swc1 $f0, 0x44($s0) +/* EED9A8 802408A8 8E42005C */ lw $v0, 0x5c($s2) +/* EED9AC 802408AC C6000050 */ lwc1 $f0, 0x50($s0) +/* EED9B0 802408B0 C4420050 */ lwc1 $f2, 0x50($v0) +/* EED9B4 802408B4 26940004 */ addiu $s4, $s4, 4 +/* EED9B8 802408B8 46001080 */ add.s $f2, $f2, $f0 +/* EED9BC 802408BC C6A00040 */ lwc1 $f0, 0x40($s5) +/* EED9C0 802408C0 26730004 */ addiu $s3, $s3, 4 +/* EED9C4 802408C4 46020001 */ sub.s $f0, $f0, $f2 +/* EED9C8 802408C8 26310001 */ addiu $s1, $s1, 1 +/* EED9CC 802408CC 2A220003 */ slti $v0, $s1, 3 +/* EED9D0 802408D0 E6000050 */ swc1 $f0, 0x50($s0) +/* EED9D4 802408D4 1440FFD7 */ bnez $v0, .L80240834 +/* EED9D8 802408D8 26100004 */ addiu $s0, $s0, 4 +.L802408DC: +/* EED9DC 802408DC 8ED20060 */ lw $s2, 0x60($s6) +/* EED9E0 802408E0 8E430000 */ lw $v1, ($s2) +/* EED9E4 802408E4 24020001 */ addiu $v0, $zero, 1 +/* EED9E8 802408E8 10620038 */ beq $v1, $v0, .L802409CC +/* EED9EC 802408EC 28620002 */ slti $v0, $v1, 2 +/* EED9F0 802408F0 50400005 */ beql $v0, $zero, .L80240908 +/* EED9F4 802408F4 24020002 */ addiu $v0, $zero, 2 +/* EED9F8 802408F8 10600007 */ beqz $v1, .L80240918 +/* EED9FC 802408FC 24040005 */ addiu $a0, $zero, 5 +/* EEDA00 80240900 080902AC */ j .L80240AB0 +/* EEDA04 80240904 00000000 */ nop +.L80240908: +/* EEDA08 80240908 10620058 */ beq $v1, $v0, .L80240A6C +/* EEDA0C 8024090C 00000000 */ nop +/* EEDA10 80240910 080902AC */ j .L80240AB0 +/* EEDA14 80240914 00000000 */ nop +.L80240918: +/* EEDA18 80240918 0000882D */ daddu $s1, $zero, $zero +/* EEDA1C 8024091C 3C148024 */ lui $s4, %hi(func_802437B8) +/* EEDA20 80240920 269437B8 */ addiu $s4, $s4, %lo(func_802437B8) +/* EEDA24 80240924 24130020 */ addiu $s3, $zero, 0x20 +/* EEDA28 80240928 3C064248 */ lui $a2, 0x4248 +/* EEDA2C 8024092C 44800000 */ mtc1 $zero, $f0 +/* EEDA30 80240930 24020014 */ addiu $v0, $zero, 0x14 +/* EEDA34 80240934 AFA20010 */ sw $v0, 0x10($sp) +/* EEDA38 80240938 44050000 */ mfc1 $a1, $f0 +/* EEDA3C 8024093C 8E470060 */ lw $a3, 0x60($s2) +/* EEDA40 80240940 4485B000 */ mtc1 $a1, $f22 +/* EEDA44 80240944 0C00ADA9 */ jal func_8002B6A4 +/* EEDA48 80240948 0240802D */ daddu $s0, $s2, $zero +/* EEDA4C 8024094C 46000506 */ mov.s $f20, $f0 +.L80240950: +/* EEDA50 80240950 4406A000 */ mfc1 $a2, $f20 +/* EEDA54 80240954 27A40020 */ addiu $a0, $sp, 0x20 +/* EEDA58 80240958 E6160020 */ swc1 $f22, 0x20($s0) +/* EEDA5C 8024095C 8E870000 */ lw $a3, ($s4) +/* EEDA60 80240960 02532821 */ addu $a1, $s2, $s3 +/* EEDA64 80240964 0C00ACA3 */ jal func_8002B28C +/* EEDA68 80240968 E7B60020 */ swc1 $f22, 0x20($sp) +/* EEDA6C 8024096C C7A4001C */ lwc1 $f4, 0x1c($sp) +/* EEDA70 80240970 C7A00020 */ lwc1 $f0, 0x20($sp) +/* EEDA74 80240974 46002102 */ mul.s $f4, $f4, $f0 +/* EEDA78 80240978 00000000 */ nop +/* EEDA7C 8024097C C7A20018 */ lwc1 $f2, 0x18($sp) +/* EEDA80 80240980 26940004 */ addiu $s4, $s4, 4 +/* EEDA84 80240984 46001082 */ mul.s $f2, $f2, $f0 +/* EEDA88 80240988 00000000 */ nop +/* EEDA8C 8024098C 26730004 */ addiu $s3, $s3, 4 +/* EEDA90 80240990 26310001 */ addiu $s1, $s1, 1 +/* EEDA94 80240994 2A220003 */ slti $v0, $s1, 3 +/* EEDA98 80240998 E6040014 */ swc1 $f4, 0x14($s0) +/* EEDA9C 8024099C E602002C */ swc1 $f2, 0x2c($s0) +/* EEDAA0 802409A0 1440FFEB */ bnez $v0, .L80240950 +/* EEDAA4 802409A4 26100004 */ addiu $s0, $s0, 4 +/* EEDAA8 802409A8 8E420060 */ lw $v0, 0x60($s2) +/* EEDAAC 802409AC 24420001 */ addiu $v0, $v0, 1 +/* EEDAB0 802409B0 AE420060 */ sw $v0, 0x60($s2) +/* EEDAB4 802409B4 28420015 */ slti $v0, $v0, 0x15 +/* EEDAB8 802409B8 1440003D */ bnez $v0, .L80240AB0 +/* EEDABC 802409BC 24020001 */ addiu $v0, $zero, 1 +/* EEDAC0 802409C0 AE420000 */ sw $v0, ($s2) +/* EEDAC4 802409C4 080902AC */ j .L80240AB0 +/* EEDAC8 802409C8 AE400060 */ sw $zero, 0x60($s2) +.L802409CC: +/* EEDACC 802409CC 0000882D */ daddu $s1, $zero, $zero +/* EEDAD0 802409D0 3C148024 */ lui $s4, %hi(func_802437B8) +/* EEDAD4 802409D4 269437B8 */ addiu $s4, $s4, %lo(func_802437B8) +/* EEDAD8 802409D8 24130020 */ addiu $s3, $zero, 0x20 +/* EEDADC 802409DC 0240802D */ daddu $s0, $s2, $zero +/* EEDAE0 802409E0 3C014248 */ lui $at, 0x4248 +/* EEDAE4 802409E4 4481A000 */ mtc1 $at, $f20 +/* EEDAE8 802409E8 4480B000 */ mtc1 $zero, $f22 +.L802409EC: +/* EEDAEC 802409EC 4406A000 */ mfc1 $a2, $f20 +/* EEDAF0 802409F0 27A40020 */ addiu $a0, $sp, 0x20 +/* EEDAF4 802409F4 E6160020 */ swc1 $f22, 0x20($s0) +/* EEDAF8 802409F8 8E870000 */ lw $a3, ($s4) +/* EEDAFC 802409FC 02532821 */ addu $a1, $s2, $s3 +/* EEDB00 80240A00 0C00ACA3 */ jal func_8002B28C +/* EEDB04 80240A04 E7B60020 */ swc1 $f22, 0x20($sp) +/* EEDB08 80240A08 C7A4001C */ lwc1 $f4, 0x1c($sp) +/* EEDB0C 80240A0C C7A00020 */ lwc1 $f0, 0x20($sp) +/* EEDB10 80240A10 46002102 */ mul.s $f4, $f4, $f0 +/* EEDB14 80240A14 00000000 */ nop +/* EEDB18 80240A18 C7A20018 */ lwc1 $f2, 0x18($sp) +/* EEDB1C 80240A1C 26940004 */ addiu $s4, $s4, 4 +/* EEDB20 80240A20 46001082 */ mul.s $f2, $f2, $f0 +/* EEDB24 80240A24 00000000 */ nop +/* EEDB28 80240A28 26730004 */ addiu $s3, $s3, 4 +/* EEDB2C 80240A2C 26310001 */ addiu $s1, $s1, 1 +/* EEDB30 80240A30 2A220003 */ slti $v0, $s1, 3 +/* EEDB34 80240A34 E6040014 */ swc1 $f4, 0x14($s0) +/* EEDB38 80240A38 E602002C */ swc1 $f2, 0x2c($s0) +/* EEDB3C 80240A3C 1440FFEB */ bnez $v0, .L802409EC +/* EEDB40 80240A40 26100004 */ addiu $s0, $s0, 4 +/* EEDB44 80240A44 8E420060 */ lw $v0, 0x60($s2) +/* EEDB48 80240A48 24420001 */ addiu $v0, $v0, 1 +/* EEDB4C 80240A4C AE420060 */ sw $v0, 0x60($s2) +/* EEDB50 80240A50 28420010 */ slti $v0, $v0, 0x10 +/* EEDB54 80240A54 14400016 */ bnez $v0, .L80240AB0 +/* EEDB58 80240A58 2402000F */ addiu $v0, $zero, 0xf +/* EEDB5C 80240A5C AE420060 */ sw $v0, 0x60($s2) +/* EEDB60 80240A60 24020002 */ addiu $v0, $zero, 2 +/* EEDB64 80240A64 080902AC */ j .L80240AB0 +/* EEDB68 80240A68 AE420000 */ sw $v0, ($s2) +.L80240A6C: +/* EEDB6C 80240A6C 8E420060 */ lw $v0, 0x60($s2) +/* EEDB70 80240A70 24420001 */ addiu $v0, $v0, 1 +/* EEDB74 80240A74 AE420060 */ sw $v0, 0x60($s2) +/* EEDB78 80240A78 2842001F */ slti $v0, $v0, 0x1f +/* EEDB7C 80240A7C 1440000C */ bnez $v0, .L80240AB0 +/* EEDB80 80240A80 0000882D */ daddu $s1, $zero, $zero +/* EEDB84 80240A84 0240282D */ daddu $a1, $s2, $zero +.L80240A88: +/* EEDB88 80240A88 8CA20008 */ lw $v0, 8($a1) +/* EEDB8C 80240A8C 8C430000 */ lw $v1, ($v0) +/* EEDB90 80240A90 26310001 */ addiu $s1, $s1, 1 +/* EEDB94 80240A94 34630010 */ ori $v1, $v1, 0x10 +/* EEDB98 80240A98 AC430000 */ sw $v1, ($v0) +/* EEDB9C 80240A9C 2A220003 */ slti $v0, $s1, 3 +/* EEDBA0 80240AA0 1440FFF9 */ bnez $v0, .L80240A88 +/* EEDBA4 80240AA4 24A50004 */ addiu $a1, $a1, 4 +/* EEDBA8 80240AA8 080902F9 */ j .L80240BE4 +/* EEDBAC 80240AAC 24020002 */ addiu $v0, $zero, 2 +.L80240AB0: +/* EEDBB0 80240AB0 8E430004 */ lw $v1, 4($s2) +/* EEDBB4 80240AB4 10600005 */ beqz $v1, .L80240ACC +/* EEDBB8 80240AB8 24020001 */ addiu $v0, $zero, 1 +/* EEDBBC 80240ABC 1062000B */ beq $v1, $v0, .L80240AEC +/* EEDBC0 80240AC0 0000882D */ daddu $s1, $zero, $zero +/* EEDBC4 80240AC4 080902E8 */ j .L80240BA0 +/* EEDBC8 80240AC8 0240282D */ daddu $a1, $s2, $zero +.L80240ACC: +/* EEDBCC 80240ACC 8E420064 */ lw $v0, 0x64($s2) +/* EEDBD0 80240AD0 24420001 */ addiu $v0, $v0, 1 +/* EEDBD4 80240AD4 AE420064 */ sw $v0, 0x64($s2) +/* EEDBD8 80240AD8 28420010 */ slti $v0, $v0, 0x10 +/* EEDBDC 80240ADC 1440002F */ bnez $v0, .L80240B9C +/* EEDBE0 80240AE0 0000882D */ daddu $s1, $zero, $zero +/* EEDBE4 80240AE4 080902E4 */ j .L80240B90 +/* EEDBE8 80240AE8 24020001 */ addiu $v0, $zero, 1 +.L80240AEC: +/* EEDBEC 80240AEC 4480A000 */ mtc1 $zero, $f20 +/* EEDBF0 80240AF0 24130014 */ addiu $s3, $zero, 0x14 +/* EEDBF4 80240AF4 0240802D */ daddu $s0, $s2, $zero +.L80240AF8: +/* EEDBF8 80240AF8 4405A000 */ mfc1 $a1, $f20 +/* EEDBFC 80240AFC AFB30010 */ sw $s3, 0x10($sp) +/* EEDC00 80240B00 8E060038 */ lw $a2, 0x38($s0) +/* EEDC04 80240B04 8E470064 */ lw $a3, 0x64($s2) +/* EEDC08 80240B08 0C00ADA9 */ jal func_8002B6A4 +/* EEDC0C 80240B0C 24040001 */ addiu $a0, $zero, 1 +/* EEDC10 80240B10 C6020014 */ lwc1 $f2, 0x14($s0) +/* EEDC14 80240B14 46001080 */ add.s $f2, $f2, $f0 +/* EEDC18 80240B18 4405A000 */ mfc1 $a1, $f20 +/* EEDC1C 80240B1C E6020014 */ swc1 $f2, 0x14($s0) +/* EEDC20 80240B20 AFB30010 */ sw $s3, 0x10($sp) +/* EEDC24 80240B24 8E060044 */ lw $a2, 0x44($s0) +/* EEDC28 80240B28 8E470064 */ lw $a3, 0x64($s2) +/* EEDC2C 80240B2C 0C00ADA9 */ jal func_8002B6A4 +/* EEDC30 80240B30 24040001 */ addiu $a0, $zero, 1 +/* EEDC34 80240B34 C6020020 */ lwc1 $f2, 0x20($s0) +/* EEDC38 80240B38 46001080 */ add.s $f2, $f2, $f0 +/* EEDC3C 80240B3C 4405A000 */ mfc1 $a1, $f20 +/* EEDC40 80240B40 E6020020 */ swc1 $f2, 0x20($s0) +/* EEDC44 80240B44 AFB30010 */ sw $s3, 0x10($sp) +/* EEDC48 80240B48 8E060050 */ lw $a2, 0x50($s0) +/* EEDC4C 80240B4C 8E470064 */ lw $a3, 0x64($s2) +/* EEDC50 80240B50 0C00ADA9 */ jal func_8002B6A4 +/* EEDC54 80240B54 24040001 */ addiu $a0, $zero, 1 +/* EEDC58 80240B58 C602002C */ lwc1 $f2, 0x2c($s0) +/* EEDC5C 80240B5C 46001080 */ add.s $f2, $f2, $f0 +/* EEDC60 80240B60 26310001 */ addiu $s1, $s1, 1 +/* EEDC64 80240B64 2A220003 */ slti $v0, $s1, 3 +/* EEDC68 80240B68 E602002C */ swc1 $f2, 0x2c($s0) +/* EEDC6C 80240B6C 1440FFE2 */ bnez $v0, .L80240AF8 +/* EEDC70 80240B70 26100004 */ addiu $s0, $s0, 4 +/* EEDC74 80240B74 8E420064 */ lw $v0, 0x64($s2) +/* EEDC78 80240B78 24420001 */ addiu $v0, $v0, 1 +/* EEDC7C 80240B7C AE420064 */ sw $v0, 0x64($s2) +/* EEDC80 80240B80 28420015 */ slti $v0, $v0, 0x15 +/* EEDC84 80240B84 14400005 */ bnez $v0, .L80240B9C +/* EEDC88 80240B88 0000882D */ daddu $s1, $zero, $zero +/* EEDC8C 80240B8C 24020002 */ addiu $v0, $zero, 2 +.L80240B90: +/* EEDC90 80240B90 AE420004 */ sw $v0, 4($s2) +/* EEDC94 80240B94 AE400064 */ sw $zero, 0x64($s2) +/* EEDC98 80240B98 0000882D */ daddu $s1, $zero, $zero +.L80240B9C: +/* EEDC9C 80240B9C 0240282D */ daddu $a1, $s2, $zero +.L80240BA0: +/* EEDCA0 80240BA0 8CA20008 */ lw $v0, 8($a1) +/* EEDCA4 80240BA4 C4A00014 */ lwc1 $f0, 0x14($a1) +/* EEDCA8 80240BA8 8C42000C */ lw $v0, 0xc($v0) +/* EEDCAC 80240BAC E4400010 */ swc1 $f0, 0x10($v0) +/* EEDCB0 80240BB0 8CA20008 */ lw $v0, 8($a1) +/* EEDCB4 80240BB4 C4A00020 */ lwc1 $f0, 0x20($a1) +/* EEDCB8 80240BB8 8C42000C */ lw $v0, 0xc($v0) +/* EEDCBC 80240BBC 26310001 */ addiu $s1, $s1, 1 +/* EEDCC0 80240BC0 E4400014 */ swc1 $f0, 0x14($v0) +/* EEDCC4 80240BC4 8CA20008 */ lw $v0, 8($a1) +/* EEDCC8 80240BC8 C4A0002C */ lwc1 $f0, 0x2c($a1) +/* EEDCCC 80240BCC 8C42000C */ lw $v0, 0xc($v0) +/* EEDCD0 80240BD0 E4400018 */ swc1 $f0, 0x18($v0) +/* EEDCD4 80240BD4 2A220003 */ slti $v0, $s1, 3 +/* EEDCD8 80240BD8 1440FFF1 */ bnez $v0, .L80240BA0 +/* EEDCDC 80240BDC 24A50004 */ addiu $a1, $a1, 4 +/* EEDCE0 80240BE0 0000102D */ daddu $v0, $zero, $zero +.L80240BE4: +/* EEDCE4 80240BE4 8FBF0044 */ lw $ra, 0x44($sp) +/* EEDCE8 80240BE8 8FB60040 */ lw $s6, 0x40($sp) +/* EEDCEC 80240BEC 8FB5003C */ lw $s5, 0x3c($sp) +/* EEDCF0 80240BF0 8FB40038 */ lw $s4, 0x38($sp) +/* EEDCF4 80240BF4 8FB30034 */ lw $s3, 0x34($sp) +/* EEDCF8 80240BF8 8FB20030 */ lw $s2, 0x30($sp) +/* EEDCFC 80240BFC 8FB1002C */ lw $s1, 0x2c($sp) +/* EEDD00 80240C00 8FB00028 */ lw $s0, 0x28($sp) +/* EEDD04 80240C04 D7B80058 */ ldc1 $f24, 0x58($sp) +/* EEDD08 80240C08 D7B60050 */ ldc1 $f22, 0x50($sp) +/* EEDD0C 80240C0C D7B40048 */ ldc1 $f20, 0x48($sp) +/* EEDD10 80240C10 03E00008 */ jr $ra +/* EEDD14 80240C14 27BD0060 */ addiu $sp, $sp, 0x60 diff --git a/asm/nonmatchings/code_EED1E0/func_80240C18_EEDD18.s b/asm/nonmatchings/code_EED1E0/func_80240C18_EEDD18.s new file mode 100644 index 0000000000..64768a5031 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_80240C18_EEDD18.s @@ -0,0 +1,92 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240C18_EEDD18 +/* EEDD18 80240C18 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EEDD1C 80240C1C AFB10014 */ sw $s1, 0x14($sp) +/* EEDD20 80240C20 0080882D */ daddu $s1, $a0, $zero +/* EEDD24 80240C24 AFB20018 */ sw $s2, 0x18($sp) +/* EEDD28 80240C28 AFBF001C */ sw $ra, 0x1c($sp) +/* EEDD2C 80240C2C AFB00010 */ sw $s0, 0x10($sp) +/* EEDD30 80240C30 8E30000C */ lw $s0, 0xc($s1) +/* EEDD34 80240C34 10A00010 */ beqz $a1, .L80240C78 +/* EEDD38 80240C38 0000902D */ daddu $s2, $zero, $zero +/* EEDD3C 80240C3C 8E050000 */ lw $a1, ($s0) +/* EEDD40 80240C40 0C0B53A3 */ jal func_802D4E8C +/* EEDD44 80240C44 26100004 */ addiu $s0, $s0, 4 +/* EEDD48 80240C48 AE220084 */ sw $v0, 0x84($s1) +/* EEDD4C 80240C4C 8E050000 */ lw $a1, ($s0) +/* EEDD50 80240C50 0C0B53A3 */ jal func_802D4E8C +/* EEDD54 80240C54 0220202D */ daddu $a0, $s1, $zero +/* EEDD58 80240C58 0240202D */ daddu $a0, $s2, $zero +/* EEDD5C 80240C5C 240500D0 */ addiu $a1, $zero, 0xd0 +/* EEDD60 80240C60 00A0302D */ daddu $a2, $a1, $zero +/* EEDD64 80240C64 00A0382D */ daddu $a3, $a1, $zero +/* EEDD68 80240C68 AE220088 */ sw $v0, 0x88($s1) +/* EEDD6C 80240C6C AE200070 */ sw $zero, 0x70($s1) +/* EEDD70 80240C70 0C051080 */ jal func_80144200 +/* EEDD74 80240C74 AE200074 */ sw $zero, 0x74($s1) +.L80240C78: +/* EEDD78 80240C78 8E230070 */ lw $v1, 0x70($s1) +/* EEDD7C 80240C7C 24040001 */ addiu $a0, $zero, 1 +/* EEDD80 80240C80 10640019 */ beq $v1, $a0, .L80240CE8 +/* EEDD84 80240C84 28620002 */ slti $v0, $v1, 2 +/* EEDD88 80240C88 10400005 */ beqz $v0, .L80240CA0 +/* EEDD8C 80240C8C 24020002 */ addiu $v0, $zero, 2 +/* EEDD90 80240C90 10600007 */ beqz $v1, .L80240CB0 +/* EEDD94 80240C94 240500FF */ addiu $a1, $zero, 0xff +/* EEDD98 80240C98 0809034A */ j .L80240D28 +/* EEDD9C 80240C9C 00000000 */ nop +.L80240CA0: +/* EEDDA0 80240CA0 10620019 */ beq $v1, $v0, .L80240D08 +/* EEDDA4 80240CA4 00000000 */ nop +/* EEDDA8 80240CA8 0809034A */ j .L80240D28 +/* EEDDAC 80240CAC 00000000 */ nop +.L80240CB0: +/* EEDDB0 80240CB0 8E220074 */ lw $v0, 0x74($s1) +/* EEDDB4 80240CB4 14450004 */ bne $v0, $a1, .L80240CC8 +/* EEDDB8 80240CB8 00000000 */ nop +/* EEDDBC 80240CBC AE240070 */ sw $a0, 0x70($s1) +/* EEDDC0 80240CC0 AE200078 */ sw $zero, 0x78($s1) +/* EEDDC4 80240CC4 8E220074 */ lw $v0, 0x74($s1) +.L80240CC8: +/* EEDDC8 80240CC8 8E230084 */ lw $v1, 0x84($s1) +/* EEDDCC 80240CCC 00431021 */ addu $v0, $v0, $v1 +/* EEDDD0 80240CD0 AE220074 */ sw $v0, 0x74($s1) +/* EEDDD4 80240CD4 28420100 */ slti $v0, $v0, 0x100 +/* EEDDD8 80240CD8 50400013 */ beql $v0, $zero, .L80240D28 +/* EEDDDC 80240CDC AE250074 */ sw $a1, 0x74($s1) +/* EEDDE0 80240CE0 0809034A */ j .L80240D28 +/* EEDDE4 80240CE4 00000000 */ nop +.L80240CE8: +/* EEDDE8 80240CE8 8E220078 */ lw $v0, 0x78($s1) +/* EEDDEC 80240CEC 24420001 */ addiu $v0, $v0, 1 +/* EEDDF0 80240CF0 AE220078 */ sw $v0, 0x78($s1) +/* EEDDF4 80240CF4 28420002 */ slti $v0, $v0, 2 +/* EEDDF8 80240CF8 1440000B */ bnez $v0, .L80240D28 +/* EEDDFC 80240CFC 24020002 */ addiu $v0, $zero, 2 +/* EEDE00 80240D00 0809034A */ j .L80240D28 +/* EEDE04 80240D04 AE220070 */ sw $v0, 0x70($s1) +.L80240D08: +/* EEDE08 80240D08 8E230074 */ lw $v1, 0x74($s1) +/* EEDE0C 80240D0C 50600001 */ beql $v1, $zero, .L80240D14 +/* EEDE10 80240D10 24120001 */ addiu $s2, $zero, 1 +.L80240D14: +/* EEDE14 80240D14 8E220088 */ lw $v0, 0x88($s1) +/* EEDE18 80240D18 00621023 */ subu $v0, $v1, $v0 +/* EEDE1C 80240D1C 04410002 */ bgez $v0, .L80240D28 +/* EEDE20 80240D20 AE220074 */ sw $v0, 0x74($s1) +/* EEDE24 80240D24 AE200074 */ sw $zero, 0x74($s1) +.L80240D28: +/* EEDE28 80240D28 C6200074 */ lwc1 $f0, 0x74($s1) +/* EEDE2C 80240D2C 46800020 */ cvt.s.w $f0, $f0 +/* EEDE30 80240D30 44050000 */ mfc1 $a1, $f0 +/* EEDE34 80240D34 0C05105E */ jal func_80144178 +/* EEDE38 80240D38 24040001 */ addiu $a0, $zero, 1 +/* EEDE3C 80240D3C 0240102D */ daddu $v0, $s2, $zero +/* EEDE40 80240D40 8FBF001C */ lw $ra, 0x1c($sp) +/* EEDE44 80240D44 8FB20018 */ lw $s2, 0x18($sp) +/* EEDE48 80240D48 8FB10014 */ lw $s1, 0x14($sp) +/* EEDE4C 80240D4C 8FB00010 */ lw $s0, 0x10($sp) +/* EEDE50 80240D50 03E00008 */ jr $ra +/* EEDE54 80240D54 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EED1E0/func_80240D58_EEDE58.s b/asm/nonmatchings/code_EED1E0/func_80240D58_EEDE58.s new file mode 100644 index 0000000000..8706f36bdc --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_80240D58_EEDE58.s @@ -0,0 +1,22 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240D58_EEDE58 +/* EEDE58 80240D58 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EEDE5C 80240D5C AFBF0018 */ sw $ra, 0x18($sp) +/* EEDE60 80240D60 0C00F94D */ jal func_8003E534 +/* EEDE64 80240D64 2404FFFC */ addiu $a0, $zero, -4 +/* EEDE68 80240D68 3C0141F0 */ lui $at, 0x41f0 +/* EEDE6C 80240D6C 44810000 */ mtc1 $at, $f0 +/* EEDE70 80240D70 C442003C */ lwc1 $f2, 0x3c($v0) +/* EEDE74 80240D74 46001080 */ add.s $f2, $f2, $f0 +/* EEDE78 80240D78 E7A00010 */ swc1 $f0, 0x10($sp) +/* EEDE7C 80240D7C 8C450038 */ lw $a1, 0x38($v0) +/* EEDE80 80240D80 8C470040 */ lw $a3, 0x40($v0) +/* EEDE84 80240D84 44061000 */ mfc1 $a2, $f2 +/* EEDE88 80240D88 0C01D45C */ jal func_80075170 +/* EEDE8C 80240D8C 24040002 */ addiu $a0, $zero, 2 +/* EEDE90 80240D90 8FBF0018 */ lw $ra, 0x18($sp) +/* EEDE94 80240D94 24020002 */ addiu $v0, $zero, 2 +/* EEDE98 80240D98 03E00008 */ jr $ra +/* EEDE9C 80240D9C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EED1E0/func_80240DA0_EEDEA0.s b/asm/nonmatchings/code_EED1E0/func_80240DA0_EEDEA0.s new file mode 100644 index 0000000000..3f436abba2 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_80240DA0_EEDEA0.s @@ -0,0 +1,22 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240DA0_EEDEA0 +/* EEDEA0 80240DA0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EEDEA4 80240DA4 AFBF0018 */ sw $ra, 0x18($sp) +/* EEDEA8 80240DA8 0C00F94D */ jal func_8003E534 +/* EEDEAC 80240DAC 2404FFFC */ addiu $a0, $zero, -4 +/* EEDEB0 80240DB0 3C0141F0 */ lui $at, 0x41f0 +/* EEDEB4 80240DB4 44810000 */ mtc1 $at, $f0 +/* EEDEB8 80240DB8 C442003C */ lwc1 $f2, 0x3c($v0) +/* EEDEBC 80240DBC 46001080 */ add.s $f2, $f2, $f0 +/* EEDEC0 80240DC0 E7A00010 */ swc1 $f0, 0x10($sp) +/* EEDEC4 80240DC4 8C450038 */ lw $a1, 0x38($v0) +/* EEDEC8 80240DC8 8C470040 */ lw $a3, 0x40($v0) +/* EEDECC 80240DCC 44061000 */ mfc1 $a2, $f2 +/* EEDED0 80240DD0 0C01D45C */ jal func_80075170 +/* EEDED4 80240DD4 24040004 */ addiu $a0, $zero, 4 +/* EEDED8 80240DD8 8FBF0018 */ lw $ra, 0x18($sp) +/* EEDEDC 80240DDC 24020002 */ addiu $v0, $zero, 2 +/* EEDEE0 80240DE0 03E00008 */ jr $ra +/* EEDEE4 80240DE4 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EED1E0/func_80240DE8_EEDEE8.s b/asm/nonmatchings/code_EED1E0/func_80240DE8_EEDEE8.s new file mode 100644 index 0000000000..1494a91c1e --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_80240DE8_EEDEE8.s @@ -0,0 +1,17 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240DE8_EEDEE8 +/* EEDEE8 80240DE8 3C038011 */ lui $v1, %hi(D_80117160) +/* EEDEEC 80240DEC 24637160 */ addiu $v1, $v1, %lo(D_80117160) +/* EEDEF0 80240DF0 AC800084 */ sw $zero, 0x84($a0) +/* EEDEF4 80240DF4 80620000 */ lb $v0, ($v1) +/* EEDEF8 80240DF8 10400005 */ beqz $v0, .L80240E10 +/* EEDEFC 80240DFC 24020003 */ addiu $v0, $zero, 3 +/* EEDF00 80240E00 80630003 */ lb $v1, 3($v1) +/* EEDF04 80240E04 14620002 */ bne $v1, $v0, .L80240E10 +/* EEDF08 80240E08 24020001 */ addiu $v0, $zero, 1 +/* EEDF0C 80240E0C AC820084 */ sw $v0, 0x84($a0) +.L80240E10: +/* EEDF10 80240E10 03E00008 */ jr $ra +/* EEDF14 80240E14 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EED1E0/func_80240E18_EEDF18.s b/asm/nonmatchings/code_EED1E0/func_80240E18_EEDF18.s new file mode 100644 index 0000000000..81e4611416 --- /dev/null +++ b/asm/nonmatchings/code_EED1E0/func_80240E18_EEDF18.s @@ -0,0 +1,20 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240E18_EEDF18 +/* EEDF18 80240E18 AC800084 */ sw $zero, 0x84($a0) +/* EEDF1C 80240E1C 3C038011 */ lui $v1, %hi(D_8011762C) +/* EEDF20 80240E20 8063762C */ lb $v1, %lo(D_8011762C)($v1) +/* EEDF24 80240E24 2402000E */ addiu $v0, $zero, 0xe +/* EEDF28 80240E28 10620004 */ beq $v1, $v0, .L80240E3C +/* EEDF2C 80240E2C 24020001 */ addiu $v0, $zero, 1 +/* EEDF30 80240E30 24020010 */ addiu $v0, $zero, 0x10 +/* EEDF34 80240E34 14620002 */ bne $v1, $v0, .L80240E40 +/* EEDF38 80240E38 24020001 */ addiu $v0, $zero, 1 +.L80240E3C: +/* EEDF3C 80240E3C AC820084 */ sw $v0, 0x84($a0) +.L80240E40: +/* EEDF40 80240E40 03E00008 */ jr $ra +/* EEDF44 80240E44 24020002 */ addiu $v0, $zero, 2 +/* EEDF48 80240E48 00000000 */ nop +/* EEDF4C 80240E4C 00000000 */ nop diff --git a/asm/nonmatchings/code_EEDF50/func_80240E50_EEDF50.s b/asm/nonmatchings/code_EEDF50/func_80240E50_EEDF50.s new file mode 100644 index 0000000000..15690182ee --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_80240E50_EEDF50.s @@ -0,0 +1,116 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240E50_EEDF50 +/* EEDF50 80240E50 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* EEDF54 80240E54 AFB3002C */ sw $s3, 0x2c($sp) +/* EEDF58 80240E58 0080982D */ daddu $s3, $a0, $zero +/* EEDF5C 80240E5C AFBF0030 */ sw $ra, 0x30($sp) +/* EEDF60 80240E60 AFB20028 */ sw $s2, 0x28($sp) +/* EEDF64 80240E64 AFB10024 */ sw $s1, 0x24($sp) +/* EEDF68 80240E68 AFB00020 */ sw $s0, 0x20($sp) +/* EEDF6C 80240E6C 8E710148 */ lw $s1, 0x148($s3) +/* EEDF70 80240E70 86240008 */ lh $a0, 8($s1) +/* EEDF74 80240E74 0C00F92F */ jal func_8003E4BC +/* EEDF78 80240E78 00A0902D */ daddu $s2, $a1, $zero +/* EEDF7C 80240E7C 8E440004 */ lw $a0, 4($s2) +/* EEDF80 80240E80 0040802D */ daddu $s0, $v0, $zero +/* EEDF84 80240E84 00041FC2 */ srl $v1, $a0, 0x1f +/* EEDF88 80240E88 00832021 */ addu $a0, $a0, $v1 +/* EEDF8C 80240E8C 00042043 */ sra $a0, $a0, 1 +/* EEDF90 80240E90 0C00AB3B */ jal func_8002ACEC +/* EEDF94 80240E94 24840001 */ addiu $a0, $a0, 1 +/* EEDF98 80240E98 8E430004 */ lw $v1, 4($s2) +/* EEDF9C 80240E9C 000327C2 */ srl $a0, $v1, 0x1f +/* EEDFA0 80240EA0 00641821 */ addu $v1, $v1, $a0 +/* EEDFA4 80240EA4 00031843 */ sra $v1, $v1, 1 +/* EEDFA8 80240EA8 00621821 */ addu $v1, $v1, $v0 +/* EEDFAC 80240EAC A603008E */ sh $v1, 0x8e($s0) +/* EEDFB0 80240EB0 8E2300D0 */ lw $v1, 0xd0($s1) +/* EEDFB4 80240EB4 C6000040 */ lwc1 $f0, 0x40($s0) +/* EEDFB8 80240EB8 C4640000 */ lwc1 $f4, ($v1) +/* EEDFBC 80240EBC 46802120 */ cvt.s.w $f4, $f4 +/* EEDFC0 80240EC0 C4620008 */ lwc1 $f2, 8($v1) +/* EEDFC4 80240EC4 468010A0 */ cvt.s.w $f2, $f2 +/* EEDFC8 80240EC8 E7A00010 */ swc1 $f0, 0x10($sp) +/* EEDFCC 80240ECC 8E2200D0 */ lw $v0, 0xd0($s1) +/* EEDFD0 80240ED0 44061000 */ mfc1 $a2, $f2 +/* EEDFD4 80240ED4 C440000C */ lwc1 $f0, 0xc($v0) +/* EEDFD8 80240ED8 46800020 */ cvt.s.w $f0, $f0 +/* EEDFDC 80240EDC E7A00014 */ swc1 $f0, 0x14($sp) +/* EEDFE0 80240EE0 8E2200D0 */ lw $v0, 0xd0($s1) +/* EEDFE4 80240EE4 44052000 */ mfc1 $a1, $f4 +/* EEDFE8 80240EE8 C4400010 */ lwc1 $f0, 0x10($v0) +/* EEDFEC 80240EEC 46800020 */ cvt.s.w $f0, $f0 +/* EEDFF0 80240EF0 E7A00018 */ swc1 $f0, 0x18($sp) +/* EEDFF4 80240EF4 8C640018 */ lw $a0, 0x18($v1) +/* EEDFF8 80240EF8 0C013431 */ jal func_8004D0C4 +/* EEDFFC 80240EFC 8E070038 */ lw $a3, 0x38($s0) +/* EEE000 80240F00 1040000E */ beqz $v0, .L80240F3C +/* EEE004 80240F04 00000000 */ nop +/* EEE008 80240F08 8E2200D0 */ lw $v0, 0xd0($s1) +/* EEE00C 80240F0C C60C0038 */ lwc1 $f12, 0x38($s0) +/* EEE010 80240F10 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EEE014 80240F14 C4460000 */ lwc1 $f6, ($v0) +/* EEE018 80240F18 468031A0 */ cvt.s.w $f6, $f6 +/* EEE01C 80240F1C 44063000 */ mfc1 $a2, $f6 +/* EEE020 80240F20 C4460008 */ lwc1 $f6, 8($v0) +/* EEE024 80240F24 468031A0 */ cvt.s.w $f6, $f6 +/* EEE028 80240F28 44073000 */ mfc1 $a3, $f6 +/* EEE02C 80240F2C 0C00ABDC */ jal fio_validate_header_checksums +/* EEE030 80240F30 00000000 */ nop +/* EEE034 80240F34 080903DB */ j .L80240F6C +/* EEE038 80240F38 E600000C */ swc1 $f0, 0xc($s0) +.L80240F3C: +/* EEE03C 80240F3C 0C00AB3B */ jal func_8002ACEC +/* EEE040 80240F40 2404003C */ addiu $a0, $zero, 0x3c +/* EEE044 80240F44 C60C000C */ lwc1 $f12, 0xc($s0) +/* EEE048 80240F48 44820000 */ mtc1 $v0, $f0 +/* EEE04C 80240F4C 00000000 */ nop +/* EEE050 80240F50 46800020 */ cvt.s.w $f0, $f0 +/* EEE054 80240F54 46006300 */ add.s $f12, $f12, $f0 +/* EEE058 80240F58 3C0141F0 */ lui $at, 0x41f0 +/* EEE05C 80240F5C 44810000 */ mtc1 $at, $f0 +/* EEE060 80240F60 0C00AB85 */ jal func_8002AE14 +/* EEE064 80240F64 46006301 */ sub.s $f12, $f12, $f0 +/* EEE068 80240F68 E600000C */ swc1 $f0, 0xc($s0) +.L80240F6C: +/* EEE06C 80240F6C 8E2200CC */ lw $v0, 0xcc($s1) +/* EEE070 80240F70 8C420004 */ lw $v0, 4($v0) +/* EEE074 80240F74 AE020028 */ sw $v0, 0x28($s0) +/* EEE078 80240F78 AE600074 */ sw $zero, 0x74($s3) +/* EEE07C 80240F7C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EEE080 80240F80 8C420014 */ lw $v0, 0x14($v0) +/* EEE084 80240F84 04410004 */ bgez $v0, .L80240F98 +/* EEE088 80240F88 00000000 */ nop +/* EEE08C 80240F8C C6400000 */ lwc1 $f0, ($s2) +/* EEE090 80240F90 080903EE */ j .L80240FB8 +/* EEE094 80240F94 E6000018 */ swc1 $f0, 0x18($s0) +.L80240F98: +/* EEE098 80240F98 3C018024 */ lui $at, %hi(D_80245450) +/* EEE09C 80240F9C D4225450 */ ldc1 $f2, %lo(D_80245450)($at) +/* EEE0A0 80240FA0 44820000 */ mtc1 $v0, $f0 +/* EEE0A4 80240FA4 00000000 */ nop +/* EEE0A8 80240FA8 46800021 */ cvt.d.w $f0, $f0 +/* EEE0AC 80240FAC 46220003 */ div.d $f0, $f0, $f2 +/* EEE0B0 80240FB0 46200020 */ cvt.s.d $f0, $f0 +/* EEE0B4 80240FB4 E6000018 */ swc1 $f0, 0x18($s0) +.L80240FB8: +/* EEE0B8 80240FB8 C600003C */ lwc1 $f0, 0x3c($s0) +/* EEE0BC 80240FBC 3C014059 */ lui $at, 0x4059 +/* EEE0C0 80240FC0 44811800 */ mtc1 $at, $f3 +/* EEE0C4 80240FC4 44801000 */ mtc1 $zero, $f2 +/* EEE0C8 80240FC8 46000021 */ cvt.d.s $f0, $f0 +/* EEE0CC 80240FCC 46220002 */ mul.d $f0, $f0, $f2 +/* EEE0D0 80240FD0 00000000 */ nop +/* EEE0D4 80240FD4 24020001 */ addiu $v0, $zero, 1 +/* EEE0D8 80240FD8 4620018D */ trunc.w.d $f6, $f0 +/* EEE0DC 80240FDC E626007C */ swc1 $f6, 0x7c($s1) +/* EEE0E0 80240FE0 AE620070 */ sw $v0, 0x70($s3) +/* EEE0E4 80240FE4 8FBF0030 */ lw $ra, 0x30($sp) +/* EEE0E8 80240FE8 8FB3002C */ lw $s3, 0x2c($sp) +/* EEE0EC 80240FEC 8FB20028 */ lw $s2, 0x28($sp) +/* EEE0F0 80240FF0 8FB10024 */ lw $s1, 0x24($sp) +/* EEE0F4 80240FF4 8FB00020 */ lw $s0, 0x20($sp) +/* EEE0F8 80240FF8 03E00008 */ jr $ra +/* EEE0FC 80240FFC 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_EEDF50/func_80241000_EEE100.s b/asm/nonmatchings/code_EEDF50/func_80241000_EEE100.s new file mode 100644 index 0000000000..6ca5b22b06 --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_80241000_EEE100.s @@ -0,0 +1,418 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241000_EEE100 +/* EEE100 80241000 27BDFF80 */ addiu $sp, $sp, -0x80 +/* EEE104 80241004 AFB3004C */ sw $s3, 0x4c($sp) +/* EEE108 80241008 0080982D */ daddu $s3, $a0, $zero +/* EEE10C 8024100C AFBF0058 */ sw $ra, 0x58($sp) +/* EEE110 80241010 AFB50054 */ sw $s5, 0x54($sp) +/* EEE114 80241014 AFB40050 */ sw $s4, 0x50($sp) +/* EEE118 80241018 AFB20048 */ sw $s2, 0x48($sp) +/* EEE11C 8024101C AFB10044 */ sw $s1, 0x44($sp) +/* EEE120 80241020 AFB00040 */ sw $s0, 0x40($sp) +/* EEE124 80241024 F7BA0078 */ sdc1 $f26, 0x78($sp) +/* EEE128 80241028 F7B80070 */ sdc1 $f24, 0x70($sp) +/* EEE12C 8024102C F7B60068 */ sdc1 $f22, 0x68($sp) +/* EEE130 80241030 F7B40060 */ sdc1 $f20, 0x60($sp) +/* EEE134 80241034 8E710148 */ lw $s1, 0x148($s3) +/* EEE138 80241038 00A0902D */ daddu $s2, $a1, $zero +/* EEE13C 8024103C 86240008 */ lh $a0, 8($s1) +/* EEE140 80241040 0C00F92F */ jal func_8003E4BC +/* EEE144 80241044 00C0A82D */ daddu $s5, $a2, $zero +/* EEE148 80241048 0040802D */ daddu $s0, $v0, $zero +/* EEE14C 8024104C 0000A02D */ daddu $s4, $zero, $zero +/* EEE150 80241050 C624007C */ lwc1 $f4, 0x7c($s1) +/* EEE154 80241054 46802120 */ cvt.s.w $f4, $f4 +/* EEE158 80241058 C6220088 */ lwc1 $f2, 0x88($s1) +/* EEE15C 8024105C 468010A0 */ cvt.s.w $f2, $f2 +/* EEE160 80241060 460010A1 */ cvt.d.s $f2, $f2 +/* EEE164 80241064 46002121 */ cvt.d.s $f4, $f4 +/* EEE168 80241068 C600003C */ lwc1 $f0, 0x3c($s0) +/* EEE16C 8024106C 3C014059 */ lui $at, 0x4059 +/* EEE170 80241070 44813800 */ mtc1 $at, $f7 +/* EEE174 80241074 44803000 */ mtc1 $zero, $f6 +/* EEE178 80241078 46000021 */ cvt.d.s $f0, $f0 +/* EEE17C 8024107C 46260002 */ mul.d $f0, $f0, $f6 +/* EEE180 80241080 00000000 */ nop +/* EEE184 80241084 24020001 */ addiu $v0, $zero, 1 +/* EEE188 80241088 8E24006C */ lw $a0, 0x6c($s1) +/* EEE18C 8024108C 46261083 */ div.d $f2, $f2, $f6 +/* EEE190 80241090 462010A0 */ cvt.s.d $f2, $f2 +/* EEE194 80241094 46262103 */ div.d $f4, $f4, $f6 +/* EEE198 80241098 46202520 */ cvt.s.d $f20, $f4 +/* EEE19C 8024109C 30830011 */ andi $v1, $a0, 0x11 +/* EEE1A0 802410A0 4620020D */ trunc.w.d $f8, $f0 +/* EEE1A4 802410A4 E628007C */ swc1 $f8, 0x7c($s1) +/* EEE1A8 802410A8 C6200078 */ lwc1 $f0, 0x78($s1) +/* EEE1AC 802410AC 46800020 */ cvt.s.w $f0, $f0 +/* EEE1B0 802410B0 46000021 */ cvt.d.s $f0, $f0 +/* EEE1B4 802410B4 46260003 */ div.d $f0, $f0, $f6 +/* EEE1B8 802410B8 462006A0 */ cvt.s.d $f26, $f0 +/* EEE1BC 802410BC C6200070 */ lwc1 $f0, 0x70($s1) +/* EEE1C0 802410C0 46800020 */ cvt.s.w $f0, $f0 +/* EEE1C4 802410C4 46000021 */ cvt.d.s $f0, $f0 +/* EEE1C8 802410C8 46260003 */ div.d $f0, $f0, $f6 +/* EEE1CC 802410CC 462005A0 */ cvt.s.d $f22, $f0 +/* EEE1D0 802410D0 14620025 */ bne $v1, $v0, .L80241168 +/* EEE1D4 802410D4 4602D600 */ add.s $f24, $f26, $f2 +/* EEE1D8 802410D8 8E020000 */ lw $v0, ($s0) +/* EEE1DC 802410DC 30420008 */ andi $v0, $v0, 8 +/* EEE1E0 802410E0 10400009 */ beqz $v0, .L80241108 +/* EEE1E4 802410E4 27A50028 */ addiu $a1, $sp, 0x28 +/* EEE1E8 802410E8 C600003C */ lwc1 $f0, 0x3c($s0) +/* EEE1EC 802410EC 4600C001 */ sub.s $f0, $f24, $f0 +/* EEE1F0 802410F0 4600B03C */ c.lt.s $f22, $f0 +/* EEE1F4 802410F4 00000000 */ nop +/* EEE1F8 802410F8 4500001B */ bc1f .L80241168 +/* EEE1FC 802410FC 34820010 */ ori $v0, $a0, 0x10 +/* EEE200 80241100 0809045A */ j .L80241168 +/* EEE204 80241104 AE22006C */ sw $v0, 0x6c($s1) +.L80241108: +/* EEE208 80241108 27A6002C */ addiu $a2, $sp, 0x2c +/* EEE20C 8024110C C6000038 */ lwc1 $f0, 0x38($s0) +/* EEE210 80241110 C602003C */ lwc1 $f2, 0x3c($s0) +/* EEE214 80241114 C6040040 */ lwc1 $f4, 0x40($s0) +/* EEE218 80241118 3C01447A */ lui $at, 0x447a +/* EEE21C 8024111C 44813000 */ mtc1 $at, $f6 +/* EEE220 80241120 27A20034 */ addiu $v0, $sp, 0x34 +/* EEE224 80241124 E7A00028 */ swc1 $f0, 0x28($sp) +/* EEE228 80241128 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EEE22C 8024112C E7A40030 */ swc1 $f4, 0x30($sp) +/* EEE230 80241130 E7A60034 */ swc1 $f6, 0x34($sp) +/* EEE234 80241134 AFA20010 */ sw $v0, 0x10($sp) +/* EEE238 80241138 8E040080 */ lw $a0, 0x80($s0) +/* EEE23C 8024113C 0C03908F */ jal func_800E423C +/* EEE240 80241140 27A70030 */ addiu $a3, $sp, 0x30 +/* EEE244 80241144 C7A00034 */ lwc1 $f0, 0x34($sp) +/* EEE248 80241148 4600D001 */ sub.s $f0, $f26, $f0 +/* EEE24C 8024114C 4600B03C */ c.lt.s $f22, $f0 +/* EEE250 80241150 00000000 */ nop +/* EEE254 80241154 45000004 */ bc1f .L80241168 +/* EEE258 80241158 00000000 */ nop +/* EEE25C 8024115C 8E22006C */ lw $v0, 0x6c($s1) +/* EEE260 80241160 34420010 */ ori $v0, $v0, 0x10 +/* EEE264 80241164 AE22006C */ sw $v0, 0x6c($s1) +.L80241168: +/* EEE268 80241168 8E22006C */ lw $v0, 0x6c($s1) +/* EEE26C 8024116C 24030011 */ addiu $v1, $zero, 0x11 +/* EEE270 80241170 30420011 */ andi $v0, $v0, 0x11 +/* EEE274 80241174 14430039 */ bne $v0, $v1, .L8024125C +/* EEE278 80241178 00000000 */ nop +/* EEE27C 8024117C 8E020000 */ lw $v0, ($s0) +/* EEE280 80241180 30420008 */ andi $v0, $v0, 8 +/* EEE284 80241184 1040000A */ beqz $v0, .L802411B0 +/* EEE288 80241188 4600C106 */ mov.s $f4, $f24 +/* EEE28C 8024118C 4614C081 */ sub.s $f2, $f24, $f20 +/* EEE290 80241190 3C018024 */ lui $at, %hi(D_80245458) +/* EEE294 80241194 D4205458 */ ldc1 $f0, %lo(D_80245458)($at) +/* EEE298 80241198 460010A1 */ cvt.d.s $f2, $f2 +/* EEE29C 8024119C 46201082 */ mul.d $f2, $f2, $f0 +/* EEE2A0 802411A0 00000000 */ nop +/* EEE2A4 802411A4 4600A021 */ cvt.d.s $f0, $f20 +/* EEE2A8 802411A8 08090485 */ j .L80241214 +/* EEE2AC 802411AC 46220000 */ add.d $f0, $f0, $f2 +.L802411B0: +/* EEE2B0 802411B0 27A50028 */ addiu $a1, $sp, 0x28 +/* EEE2B4 802411B4 27A6002C */ addiu $a2, $sp, 0x2c +/* EEE2B8 802411B8 C6000038 */ lwc1 $f0, 0x38($s0) +/* EEE2BC 802411BC C6020040 */ lwc1 $f2, 0x40($s0) +/* EEE2C0 802411C0 3C01447A */ lui $at, 0x447a +/* EEE2C4 802411C4 44812000 */ mtc1 $at, $f4 +/* EEE2C8 802411C8 27A20034 */ addiu $v0, $sp, 0x34 +/* EEE2CC 802411CC E7B4002C */ swc1 $f20, 0x2c($sp) +/* EEE2D0 802411D0 E7A00028 */ swc1 $f0, 0x28($sp) +/* EEE2D4 802411D4 E7A20030 */ swc1 $f2, 0x30($sp) +/* EEE2D8 802411D8 E7A40034 */ swc1 $f4, 0x34($sp) +/* EEE2DC 802411DC AFA20010 */ sw $v0, 0x10($sp) +/* EEE2E0 802411E0 8E040080 */ lw $a0, 0x80($s0) +/* EEE2E4 802411E4 0C03908F */ jal func_800E423C +/* EEE2E8 802411E8 27A70030 */ addiu $a3, $sp, 0x30 +/* EEE2EC 802411EC C7A4002C */ lwc1 $f4, 0x2c($sp) +/* EEE2F0 802411F0 461A2100 */ add.s $f4, $f4, $f26 +/* EEE2F4 802411F4 46142081 */ sub.s $f2, $f4, $f20 +/* EEE2F8 802411F8 3C018024 */ lui $at, %hi(D_80245460) +/* EEE2FC 802411FC D4205460 */ ldc1 $f0, %lo(D_80245460)($at) +/* EEE300 80241200 460010A1 */ cvt.d.s $f2, $f2 +/* EEE304 80241204 46201082 */ mul.d $f2, $f2, $f0 +/* EEE308 80241208 00000000 */ nop +/* EEE30C 8024120C 4600A021 */ cvt.d.s $f0, $f20 +/* EEE310 80241210 46220000 */ add.d $f0, $f0, $f2 +.L80241214: +/* EEE314 80241214 46200020 */ cvt.s.d $f0, $f0 +/* EEE318 80241218 E600003C */ swc1 $f0, 0x3c($s0) +/* EEE31C 8024121C C600003C */ lwc1 $f0, 0x3c($s0) +/* EEE320 80241220 46002001 */ sub.s $f0, $f4, $f0 +/* EEE324 80241224 3C013FF0 */ lui $at, 0x3ff0 +/* EEE328 80241228 44811800 */ mtc1 $at, $f3 +/* EEE32C 8024122C 44801000 */ mtc1 $zero, $f2 +/* EEE330 80241230 46000005 */ abs.s $f0, $f0 +/* EEE334 80241234 46000021 */ cvt.d.s $f0, $f0 +/* EEE338 80241238 4622003C */ c.lt.d $f0, $f2 +/* EEE33C 8024123C 00000000 */ nop +/* EEE340 80241240 45000036 */ bc1f .L8024131C +/* EEE344 80241244 2403FFEF */ addiu $v1, $zero, -0x11 +/* EEE348 80241248 E604003C */ swc1 $f4, 0x3c($s0) +/* EEE34C 8024124C 8E22006C */ lw $v0, 0x6c($s1) +/* EEE350 80241250 00431024 */ and $v0, $v0, $v1 +/* EEE354 80241254 080904C7 */ j .L8024131C +/* EEE358 80241258 AE22006C */ sw $v0, 0x6c($s1) +.L8024125C: +/* EEE35C 8024125C 8E220070 */ lw $v0, 0x70($s1) +/* EEE360 80241260 1840002E */ blez $v0, .L8024131C +/* EEE364 80241264 00000000 */ nop +/* EEE368 80241268 C62C0074 */ lwc1 $f12, 0x74($s1) +/* EEE36C 8024126C 0C00AD77 */ jal func_8002B5DC +/* EEE370 80241270 46806320 */ cvt.s.w $f12, $f12 +/* EEE374 80241274 8E020000 */ lw $v0, ($s0) +/* EEE378 80241278 30420008 */ andi $v0, $v0, 8 +/* EEE37C 8024127C 10400003 */ beqz $v0, .L8024128C +/* EEE380 80241280 46000506 */ mov.s $f20, $f0 +/* EEE384 80241284 080904B3 */ j .L802412CC +/* EEE388 80241288 0000102D */ daddu $v0, $zero, $zero +.L8024128C: +/* EEE38C 8024128C 27A50028 */ addiu $a1, $sp, 0x28 +/* EEE390 80241290 27A6002C */ addiu $a2, $sp, 0x2c +/* EEE394 80241294 C6000038 */ lwc1 $f0, 0x38($s0) +/* EEE398 80241298 C602003C */ lwc1 $f2, 0x3c($s0) +/* EEE39C 8024129C C6040040 */ lwc1 $f4, 0x40($s0) +/* EEE3A0 802412A0 3C01447A */ lui $at, 0x447a +/* EEE3A4 802412A4 44813000 */ mtc1 $at, $f6 +/* EEE3A8 802412A8 27A20034 */ addiu $v0, $sp, 0x34 +/* EEE3AC 802412AC E7A00028 */ swc1 $f0, 0x28($sp) +/* EEE3B0 802412B0 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EEE3B4 802412B4 E7A40030 */ swc1 $f4, 0x30($sp) +/* EEE3B8 802412B8 E7A60034 */ swc1 $f6, 0x34($sp) +/* EEE3BC 802412BC AFA20010 */ sw $v0, 0x10($sp) +/* EEE3C0 802412C0 8E040080 */ lw $a0, 0x80($s0) +/* EEE3C4 802412C4 0C03908F */ jal func_800E423C +/* EEE3C8 802412C8 27A70030 */ addiu $a3, $sp, 0x30 +.L802412CC: +/* EEE3CC 802412CC 10400007 */ beqz $v0, .L802412EC +/* EEE3D0 802412D0 00000000 */ nop +/* EEE3D4 802412D4 4616A082 */ mul.s $f2, $f20, $f22 +/* EEE3D8 802412D8 00000000 */ nop +/* EEE3DC 802412DC C7A0002C */ lwc1 $f0, 0x2c($sp) +/* EEE3E0 802412E0 461A0000 */ add.s $f0, $f0, $f26 +/* EEE3E4 802412E4 080904BE */ j .L802412F8 +/* EEE3E8 802412E8 46020000 */ add.s $f0, $f0, $f2 +.L802412EC: +/* EEE3EC 802412EC 4616A002 */ mul.s $f0, $f20, $f22 +/* EEE3F0 802412F0 00000000 */ nop +/* EEE3F4 802412F4 4600C000 */ add.s $f0, $f24, $f0 +.L802412F8: +/* EEE3F8 802412F8 E600003C */ swc1 $f0, 0x3c($s0) +/* EEE3FC 802412FC 8E220074 */ lw $v0, 0x74($s1) +/* EEE400 80241300 2442000A */ addiu $v0, $v0, 0xa +/* EEE404 80241304 44826000 */ mtc1 $v0, $f12 +/* EEE408 80241308 00000000 */ nop +/* EEE40C 8024130C 0C00AB85 */ jal func_8002AE14 +/* EEE410 80241310 46806320 */ cvt.s.w $f12, $f12 +/* EEE414 80241314 4600020D */ trunc.w.s $f8, $f0 +/* EEE418 80241318 E6280074 */ swc1 $f8, 0x74($s1) +.L8024131C: +/* EEE41C 8024131C 8E220090 */ lw $v0, 0x90($s1) +/* EEE420 80241320 1C40004A */ bgtz $v0, .L8024144C +/* EEE424 80241324 2442FFFF */ addiu $v0, $v0, -1 +/* EEE428 80241328 8E430014 */ lw $v1, 0x14($s2) +/* EEE42C 8024132C 04600048 */ bltz $v1, .L80241450 +/* EEE430 80241330 00000000 */ nop +/* EEE434 80241334 8E620074 */ lw $v0, 0x74($s3) +/* EEE438 80241338 1C400042 */ bgtz $v0, .L80241444 +/* EEE43C 8024133C 2442FFFF */ addiu $v0, $v0, -1 +/* EEE440 80241340 AE630074 */ sw $v1, 0x74($s3) +/* EEE444 80241344 860200A8 */ lh $v0, 0xa8($s0) +/* EEE448 80241348 C602003C */ lwc1 $f2, 0x3c($s0) +/* EEE44C 8024134C 44820000 */ mtc1 $v0, $f0 +/* EEE450 80241350 00000000 */ nop +/* EEE454 80241354 46800020 */ cvt.s.w $f0, $f0 +/* EEE458 80241358 46001080 */ add.s $f2, $f2, $f0 +/* EEE45C 8024135C 3C014024 */ lui $at, 0x4024 +/* EEE460 80241360 44810800 */ mtc1 $at, $f1 +/* EEE464 80241364 44800000 */ mtc1 $zero, $f0 +/* EEE468 80241368 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EEE46C 8024136C 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EEE470 80241370 460010A1 */ cvt.d.s $f2, $f2 +/* EEE474 80241374 46201080 */ add.d $f2, $f2, $f0 +/* EEE478 80241378 C440002C */ lwc1 $f0, 0x2c($v0) +/* EEE47C 8024137C 46000021 */ cvt.d.s $f0, $f0 +/* EEE480 80241380 4622003C */ c.lt.d $f0, $f2 +/* EEE484 80241384 00000000 */ nop +/* EEE488 80241388 4500002C */ bc1f .L8024143C +/* EEE48C 8024138C 02A0202D */ daddu $a0, $s5, $zero +/* EEE490 80241390 AFA00010 */ sw $zero, 0x10($sp) +/* EEE494 80241394 8E46000C */ lw $a2, 0xc($s2) +/* EEE498 80241398 8E470010 */ lw $a3, 0x10($s2) +/* EEE49C 8024139C 0C013469 */ jal func_8004D1A4 +/* EEE4A0 802413A0 0220282D */ daddu $a1, $s1, $zero +/* EEE4A4 802413A4 10400025 */ beqz $v0, .L8024143C +/* EEE4A8 802413A8 0000202D */ daddu $a0, $zero, $zero +/* EEE4AC 802413AC 0200282D */ daddu $a1, $s0, $zero +/* EEE4B0 802413B0 0000302D */ daddu $a2, $zero, $zero +/* EEE4B4 802413B4 2412000C */ addiu $s2, $zero, 0xc +/* EEE4B8 802413B8 860300A8 */ lh $v1, 0xa8($s0) +/* EEE4BC 802413BC 3C013F80 */ lui $at, 0x3f80 +/* EEE4C0 802413C0 44810000 */ mtc1 $at, $f0 +/* EEE4C4 802413C4 3C014000 */ lui $at, 0x4000 +/* EEE4C8 802413C8 44811000 */ mtc1 $at, $f2 +/* EEE4CC 802413CC 3C01C1A0 */ lui $at, 0xc1a0 +/* EEE4D0 802413D0 44812000 */ mtc1 $at, $f4 +/* EEE4D4 802413D4 44834000 */ mtc1 $v1, $f8 +/* EEE4D8 802413D8 00000000 */ nop +/* EEE4DC 802413DC 46804220 */ cvt.s.w $f8, $f8 +/* EEE4E0 802413E0 44074000 */ mfc1 $a3, $f8 +/* EEE4E4 802413E4 27A20038 */ addiu $v0, $sp, 0x38 +/* EEE4E8 802413E8 AFB2001C */ sw $s2, 0x1c($sp) +/* EEE4EC 802413EC AFA20020 */ sw $v0, 0x20($sp) +/* EEE4F0 802413F0 E7A00010 */ swc1 $f0, 0x10($sp) +/* EEE4F4 802413F4 E7A20014 */ swc1 $f2, 0x14($sp) +/* EEE4F8 802413F8 0C01D444 */ jal func_80075110 +/* EEE4FC 802413FC E7A40018 */ swc1 $f4, 0x18($sp) +/* EEE500 80241400 0200202D */ daddu $a0, $s0, $zero +/* EEE504 80241404 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EEE508 80241408 C480003C */ lwc1 $f0, 0x3c($a0) +/* EEE50C 8024140C 3C060020 */ lui $a2, 0x20 +/* EEE510 80241410 0C013600 */ jal func_8004D800 +/* EEE514 80241414 E4800064 */ swc1 $f0, 0x64($a0) +/* EEE518 80241418 8E220018 */ lw $v0, 0x18($s1) +/* EEE51C 8024141C 9442002A */ lhu $v0, 0x2a($v0) +/* EEE520 80241420 30420001 */ andi $v0, $v0, 1 +/* EEE524 80241424 10400003 */ beqz $v0, .L80241434 +/* EEE528 80241428 2402000A */ addiu $v0, $zero, 0xa +/* EEE52C 8024142C 0809057D */ j .L802415F4 +/* EEE530 80241430 AE620070 */ sw $v0, 0x70($s3) +.L80241434: +/* EEE534 80241434 0809057D */ j .L802415F4 +/* EEE538 80241438 AE720070 */ sw $s2, 0x70($s3) +.L8024143C: +/* EEE53C 8024143C 8E620074 */ lw $v0, 0x74($s3) +/* EEE540 80241440 2442FFFF */ addiu $v0, $v0, -1 +.L80241444: +/* EEE544 80241444 08090514 */ j .L80241450 +/* EEE548 80241448 AE620074 */ sw $v0, 0x74($s3) +.L8024144C: +/* EEE54C 8024144C AE220090 */ sw $v0, 0x90($s1) +.L80241450: +/* EEE550 80241450 8E2300D0 */ lw $v1, 0xd0($s1) +/* EEE554 80241454 C6000040 */ lwc1 $f0, 0x40($s0) +/* EEE558 80241458 C4620000 */ lwc1 $f2, ($v1) +/* EEE55C 8024145C 468010A0 */ cvt.s.w $f2, $f2 +/* EEE560 80241460 C4640008 */ lwc1 $f4, 8($v1) +/* EEE564 80241464 46802120 */ cvt.s.w $f4, $f4 +/* EEE568 80241468 E7A00010 */ swc1 $f0, 0x10($sp) +/* EEE56C 8024146C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EEE570 80241470 44051000 */ mfc1 $a1, $f2 +/* EEE574 80241474 C440000C */ lwc1 $f0, 0xc($v0) +/* EEE578 80241478 46800020 */ cvt.s.w $f0, $f0 +/* EEE57C 8024147C E7A00014 */ swc1 $f0, 0x14($sp) +/* EEE580 80241480 8E2200D0 */ lw $v0, 0xd0($s1) +/* EEE584 80241484 44062000 */ mfc1 $a2, $f4 +/* EEE588 80241488 C4400010 */ lwc1 $f0, 0x10($v0) +/* EEE58C 8024148C 46800020 */ cvt.s.w $f0, $f0 +/* EEE590 80241490 E7A00018 */ swc1 $f0, 0x18($sp) +/* EEE594 80241494 8C640018 */ lw $a0, 0x18($v1) +/* EEE598 80241498 0C013431 */ jal func_8004D0C4 +/* EEE59C 8024149C 8E070038 */ lw $a3, 0x38($s0) +/* EEE5A0 802414A0 1040001A */ beqz $v0, .L8024150C +/* EEE5A4 802414A4 00000000 */ nop +/* EEE5A8 802414A8 8E060038 */ lw $a2, 0x38($s0) +/* EEE5AC 802414AC 8E2200D0 */ lw $v0, 0xd0($s1) +/* EEE5B0 802414B0 8E070040 */ lw $a3, 0x40($s0) +/* EEE5B4 802414B4 C44C0000 */ lwc1 $f12, ($v0) +/* EEE5B8 802414B8 46806320 */ cvt.s.w $f12, $f12 +/* EEE5BC 802414BC C44E0008 */ lwc1 $f14, 8($v0) +/* EEE5C0 802414C0 0C00AC71 */ jal func_8002B1C4 +/* EEE5C4 802414C4 468073A0 */ cvt.s.w $f14, $f14 +/* EEE5C8 802414C8 C6020018 */ lwc1 $f2, 0x18($s0) +/* EEE5CC 802414CC 4600103C */ c.lt.s $f2, $f0 +/* EEE5D0 802414D0 00000000 */ nop +/* EEE5D4 802414D4 4500000D */ bc1f .L8024150C +/* EEE5D8 802414D8 E7A00034 */ swc1 $f0, 0x34($sp) +/* EEE5DC 802414DC C60C0038 */ lwc1 $f12, 0x38($s0) +/* EEE5E0 802414E0 8E2200D0 */ lw $v0, 0xd0($s1) +/* EEE5E4 802414E4 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EEE5E8 802414E8 C4480000 */ lwc1 $f8, ($v0) +/* EEE5EC 802414EC 46804220 */ cvt.s.w $f8, $f8 +/* EEE5F0 802414F0 44064000 */ mfc1 $a2, $f8 +/* EEE5F4 802414F4 C4480008 */ lwc1 $f8, 8($v0) +/* EEE5F8 802414F8 46804220 */ cvt.s.w $f8, $f8 +/* EEE5FC 802414FC 44074000 */ mfc1 $a3, $f8 +/* EEE600 80241500 0C00ABDC */ jal fio_validate_header_checksums +/* EEE604 80241504 24140001 */ addiu $s4, $zero, 1 +/* EEE608 80241508 E600000C */ swc1 $f0, 0xc($s0) +.L8024150C: +/* EEE60C 8024150C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EEE610 80241510 8C43000C */ lw $v1, 0xc($v0) +/* EEE614 80241514 8C420010 */ lw $v0, 0x10($v0) +/* EEE618 80241518 00621825 */ or $v1, $v1, $v0 +/* EEE61C 8024151C 00741825 */ or $v1, $v1, $s4 +/* EEE620 80241520 10600008 */ beqz $v1, .L80241544 +/* EEE624 80241524 00000000 */ nop +/* EEE628 80241528 8602008C */ lh $v0, 0x8c($s0) +/* EEE62C 8024152C 14400031 */ bnez $v0, .L802415F4 +/* EEE630 80241530 00000000 */ nop +/* EEE634 80241534 8E050018 */ lw $a1, 0x18($s0) +/* EEE638 80241538 8E06000C */ lw $a2, 0xc($s0) +/* EEE63C 8024153C 0C00F909 */ jal func_8003E424 +/* EEE640 80241540 0200202D */ daddu $a0, $s0, $zero +.L80241544: +/* EEE644 80241544 C600003C */ lwc1 $f0, 0x3c($s0) +/* EEE648 80241548 3C014059 */ lui $at, 0x4059 +/* EEE64C 8024154C 44811800 */ mtc1 $at, $f3 +/* EEE650 80241550 44801000 */ mtc1 $zero, $f2 +/* EEE654 80241554 46000021 */ cvt.d.s $f0, $f0 +/* EEE658 80241558 46220002 */ mul.d $f0, $f0, $f2 +/* EEE65C 8024155C 00000000 */ nop +/* EEE660 80241560 4620020D */ trunc.w.d $f8, $f0 +/* EEE664 80241564 E628007C */ swc1 $f8, 0x7c($s1) +/* EEE668 80241568 8E420004 */ lw $v0, 4($s2) +/* EEE66C 8024156C 18400021 */ blez $v0, .L802415F4 +/* EEE670 80241570 00000000 */ nop +/* EEE674 80241574 8602008E */ lh $v0, 0x8e($s0) +/* EEE678 80241578 9603008E */ lhu $v1, 0x8e($s0) +/* EEE67C 8024157C 18400005 */ blez $v0, .L80241594 +/* EEE680 80241580 2462FFFF */ addiu $v0, $v1, -1 +/* EEE684 80241584 A602008E */ sh $v0, 0x8e($s0) +/* EEE688 80241588 00021400 */ sll $v0, $v0, 0x10 +/* EEE68C 8024158C 1C400019 */ bgtz $v0, .L802415F4 +/* EEE690 80241590 00000000 */ nop +.L80241594: +/* EEE694 80241594 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EEE698 80241598 24020002 */ addiu $v0, $zero, 2 +/* EEE69C 8024159C 0C00AB3B */ jal func_8002ACEC +/* EEE6A0 802415A0 AE620070 */ sw $v0, 0x70($s3) +/* EEE6A4 802415A4 3C035555 */ lui $v1, 0x5555 +/* EEE6A8 802415A8 34635556 */ ori $v1, $v1, 0x5556 +/* EEE6AC 802415AC 00430018 */ mult $v0, $v1 +/* EEE6B0 802415B0 000227C3 */ sra $a0, $v0, 0x1f +/* EEE6B4 802415B4 00004010 */ mfhi $t0 +/* EEE6B8 802415B8 01042023 */ subu $a0, $t0, $a0 +/* EEE6BC 802415BC 00041840 */ sll $v1, $a0, 1 +/* EEE6C0 802415C0 00641821 */ addu $v1, $v1, $a0 +/* EEE6C4 802415C4 00431023 */ subu $v0, $v0, $v1 +/* EEE6C8 802415C8 24430002 */ addiu $v1, $v0, 2 +/* EEE6CC 802415CC AE630074 */ sw $v1, 0x74($s3) +/* EEE6D0 802415D0 8E42002C */ lw $v0, 0x2c($s2) +/* EEE6D4 802415D4 58400007 */ blezl $v0, .L802415F4 +/* EEE6D8 802415D8 AE600070 */ sw $zero, 0x70($s3) +/* EEE6DC 802415DC 8E420008 */ lw $v0, 8($s2) +/* EEE6E0 802415E0 18400003 */ blez $v0, .L802415F0 +/* EEE6E4 802415E4 28620003 */ slti $v0, $v1, 3 +/* EEE6E8 802415E8 10400002 */ beqz $v0, .L802415F4 +/* EEE6EC 802415EC 00000000 */ nop +.L802415F0: +/* EEE6F0 802415F0 AE600070 */ sw $zero, 0x70($s3) +.L802415F4: +/* EEE6F4 802415F4 8FBF0058 */ lw $ra, 0x58($sp) +/* EEE6F8 802415F8 8FB50054 */ lw $s5, 0x54($sp) +/* EEE6FC 802415FC 8FB40050 */ lw $s4, 0x50($sp) +/* EEE700 80241600 8FB3004C */ lw $s3, 0x4c($sp) +/* EEE704 80241604 8FB20048 */ lw $s2, 0x48($sp) +/* EEE708 80241608 8FB10044 */ lw $s1, 0x44($sp) +/* EEE70C 8024160C 8FB00040 */ lw $s0, 0x40($sp) +/* EEE710 80241610 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* EEE714 80241614 D7B80070 */ ldc1 $f24, 0x70($sp) +/* EEE718 80241618 D7B60068 */ ldc1 $f22, 0x68($sp) +/* EEE71C 8024161C D7B40060 */ ldc1 $f20, 0x60($sp) +/* EEE720 80241620 03E00008 */ jr $ra +/* EEE724 80241624 27BD0080 */ addiu $sp, $sp, 0x80 diff --git a/asm/nonmatchings/code_EEDF50/func_80241628_EEE728.s b/asm/nonmatchings/code_EEDF50/func_80241628_EEE728.s new file mode 100644 index 0000000000..2328bb7f71 --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_80241628_EEE728.s @@ -0,0 +1,52 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241628_EEE728 +/* EEE728 80241628 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EEE72C 8024162C AFB3001C */ sw $s3, 0x1c($sp) +/* EEE730 80241630 0080982D */ daddu $s3, $a0, $zero +/* EEE734 80241634 AFBF0020 */ sw $ra, 0x20($sp) +/* EEE738 80241638 AFB20018 */ sw $s2, 0x18($sp) +/* EEE73C 8024163C AFB10014 */ sw $s1, 0x14($sp) +/* EEE740 80241640 AFB00010 */ sw $s0, 0x10($sp) +/* EEE744 80241644 8E720148 */ lw $s2, 0x148($s3) +/* EEE748 80241648 86440008 */ lh $a0, 8($s2) +/* EEE74C 8024164C 0C00F92F */ jal func_8003E4BC +/* EEE750 80241650 00A0882D */ daddu $s1, $a1, $zero +/* EEE754 80241654 8E240008 */ lw $a0, 8($s1) +/* EEE758 80241658 0040802D */ daddu $s0, $v0, $zero +/* EEE75C 8024165C 00041FC2 */ srl $v1, $a0, 0x1f +/* EEE760 80241660 00832021 */ addu $a0, $a0, $v1 +/* EEE764 80241664 00042043 */ sra $a0, $a0, 1 +/* EEE768 80241668 0C00AB3B */ jal func_8002ACEC +/* EEE76C 8024166C 24840001 */ addiu $a0, $a0, 1 +/* EEE770 80241670 8E230008 */ lw $v1, 8($s1) +/* EEE774 80241674 240400B4 */ addiu $a0, $zero, 0xb4 +/* EEE778 80241678 00032FC2 */ srl $a1, $v1, 0x1f +/* EEE77C 8024167C 00651821 */ addu $v1, $v1, $a1 +/* EEE780 80241680 00031843 */ sra $v1, $v1, 1 +/* EEE784 80241684 00621821 */ addu $v1, $v1, $v0 +/* EEE788 80241688 0C00AB3B */ jal func_8002ACEC +/* EEE78C 8024168C A603008E */ sh $v1, 0x8e($s0) +/* EEE790 80241690 C60C000C */ lwc1 $f12, 0xc($s0) +/* EEE794 80241694 44820000 */ mtc1 $v0, $f0 +/* EEE798 80241698 00000000 */ nop +/* EEE79C 8024169C 46800020 */ cvt.s.w $f0, $f0 +/* EEE7A0 802416A0 46006300 */ add.s $f12, $f12, $f0 +/* EEE7A4 802416A4 3C0142B4 */ lui $at, 0x42b4 +/* EEE7A8 802416A8 44810000 */ mtc1 $at, $f0 +/* EEE7AC 802416AC 0C00AB85 */ jal func_8002AE14 +/* EEE7B0 802416B0 46006301 */ sub.s $f12, $f12, $f0 +/* EEE7B4 802416B4 E600000C */ swc1 $f0, 0xc($s0) +/* EEE7B8 802416B8 8E4200CC */ lw $v0, 0xcc($s2) +/* EEE7BC 802416BC 8C420000 */ lw $v0, ($v0) +/* EEE7C0 802416C0 AE020028 */ sw $v0, 0x28($s0) +/* EEE7C4 802416C4 24020003 */ addiu $v0, $zero, 3 +/* EEE7C8 802416C8 AE620070 */ sw $v0, 0x70($s3) +/* EEE7CC 802416CC 8FBF0020 */ lw $ra, 0x20($sp) +/* EEE7D0 802416D0 8FB3001C */ lw $s3, 0x1c($sp) +/* EEE7D4 802416D4 8FB20018 */ lw $s2, 0x18($sp) +/* EEE7D8 802416D8 8FB10014 */ lw $s1, 0x14($sp) +/* EEE7DC 802416DC 8FB00010 */ lw $s0, 0x10($sp) +/* EEE7E0 802416E0 03E00008 */ jr $ra +/* EEE7E4 802416E4 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EEDF50/func_802416E8_EEE7E8.s b/asm/nonmatchings/code_EEDF50/func_802416E8_EEE7E8.s new file mode 100644 index 0000000000..64df0a5955 --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_802416E8_EEE7E8.s @@ -0,0 +1,225 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802416E8_EEE7E8 +/* EEE7E8 802416E8 27BDFF88 */ addiu $sp, $sp, -0x78 +/* EEE7EC 802416EC AFB3004C */ sw $s3, 0x4c($sp) +/* EEE7F0 802416F0 0080982D */ daddu $s3, $a0, $zero +/* EEE7F4 802416F4 AFBF0054 */ sw $ra, 0x54($sp) +/* EEE7F8 802416F8 AFB40050 */ sw $s4, 0x50($sp) +/* EEE7FC 802416FC AFB20048 */ sw $s2, 0x48($sp) +/* EEE800 80241700 AFB10044 */ sw $s1, 0x44($sp) +/* EEE804 80241704 AFB00040 */ sw $s0, 0x40($sp) +/* EEE808 80241708 F7BA0070 */ sdc1 $f26, 0x70($sp) +/* EEE80C 8024170C F7B80068 */ sdc1 $f24, 0x68($sp) +/* EEE810 80241710 F7B60060 */ sdc1 $f22, 0x60($sp) +/* EEE814 80241714 F7B40058 */ sdc1 $f20, 0x58($sp) +/* EEE818 80241718 8E710148 */ lw $s1, 0x148($s3) +/* EEE81C 8024171C 00A0902D */ daddu $s2, $a1, $zero +/* EEE820 80241720 86240008 */ lh $a0, 8($s1) +/* EEE824 80241724 0C00F92F */ jal func_8003E4BC +/* EEE828 80241728 00C0A02D */ daddu $s4, $a2, $zero +/* EEE82C 8024172C 0040802D */ daddu $s0, $v0, $zero +/* EEE830 80241730 C6200078 */ lwc1 $f0, 0x78($s1) +/* EEE834 80241734 46800020 */ cvt.s.w $f0, $f0 +/* EEE838 80241738 46000021 */ cvt.d.s $f0, $f0 +/* EEE83C 8024173C 3C014059 */ lui $at, 0x4059 +/* EEE840 80241740 44811800 */ mtc1 $at, $f3 +/* EEE844 80241744 44801000 */ mtc1 $zero, $f2 +/* EEE848 80241748 8602008E */ lh $v0, 0x8e($s0) +/* EEE84C 8024174C 9603008E */ lhu $v1, 0x8e($s0) +/* EEE850 80241750 46220003 */ div.d $f0, $f0, $f2 +/* EEE854 80241754 46200620 */ cvt.s.d $f24, $f0 +/* EEE858 80241758 C6200088 */ lwc1 $f0, 0x88($s1) +/* EEE85C 8024175C 46800020 */ cvt.s.w $f0, $f0 +/* EEE860 80241760 46000021 */ cvt.d.s $f0, $f0 +/* EEE864 80241764 46220003 */ div.d $f0, $f0, $f2 +/* EEE868 80241768 46200020 */ cvt.s.d $f0, $f0 +/* EEE86C 8024176C 18400003 */ blez $v0, .L8024177C +/* EEE870 80241770 4600C680 */ add.s $f26, $f24, $f0 +/* EEE874 80241774 2462FFFF */ addiu $v0, $v1, -1 +/* EEE878 80241778 A602008E */ sh $v0, 0x8e($s0) +.L8024177C: +/* EEE87C 8024177C 8E220070 */ lw $v0, 0x70($s1) +/* EEE880 80241780 18400034 */ blez $v0, .L80241854 +/* EEE884 80241784 00000000 */ nop +/* EEE888 80241788 C62C0074 */ lwc1 $f12, 0x74($s1) +/* EEE88C 8024178C 46806320 */ cvt.s.w $f12, $f12 +/* EEE890 80241790 44820000 */ mtc1 $v0, $f0 +/* EEE894 80241794 00000000 */ nop +/* EEE898 80241798 46800020 */ cvt.s.w $f0, $f0 +/* EEE89C 8024179C 46000021 */ cvt.d.s $f0, $f0 +/* EEE8A0 802417A0 46220003 */ div.d $f0, $f0, $f2 +/* EEE8A4 802417A4 0C00AD77 */ jal func_8002B5DC +/* EEE8A8 802417A8 462005A0 */ cvt.s.d $f22, $f0 +/* EEE8AC 802417AC 8E020000 */ lw $v0, ($s0) +/* EEE8B0 802417B0 30420008 */ andi $v0, $v0, 8 +/* EEE8B4 802417B4 10400003 */ beqz $v0, .L802417C4 +/* EEE8B8 802417B8 46000506 */ mov.s $f20, $f0 +/* EEE8BC 802417BC 08090601 */ j .L80241804 +/* EEE8C0 802417C0 0000102D */ daddu $v0, $zero, $zero +.L802417C4: +/* EEE8C4 802417C4 27A50028 */ addiu $a1, $sp, 0x28 +/* EEE8C8 802417C8 27A6002C */ addiu $a2, $sp, 0x2c +/* EEE8CC 802417CC C6000038 */ lwc1 $f0, 0x38($s0) +/* EEE8D0 802417D0 C602003C */ lwc1 $f2, 0x3c($s0) +/* EEE8D4 802417D4 C6040040 */ lwc1 $f4, 0x40($s0) +/* EEE8D8 802417D8 3C01447A */ lui $at, 0x447a +/* EEE8DC 802417DC 44813000 */ mtc1 $at, $f6 +/* EEE8E0 802417E0 27A20034 */ addiu $v0, $sp, 0x34 +/* EEE8E4 802417E4 E7A00028 */ swc1 $f0, 0x28($sp) +/* EEE8E8 802417E8 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EEE8EC 802417EC E7A40030 */ swc1 $f4, 0x30($sp) +/* EEE8F0 802417F0 E7A60034 */ swc1 $f6, 0x34($sp) +/* EEE8F4 802417F4 AFA20010 */ sw $v0, 0x10($sp) +/* EEE8F8 802417F8 8E040080 */ lw $a0, 0x80($s0) +/* EEE8FC 802417FC 0C03908F */ jal func_800E423C +/* EEE900 80241800 27A70030 */ addiu $a3, $sp, 0x30 +.L80241804: +/* EEE904 80241804 10400007 */ beqz $v0, .L80241824 +/* EEE908 80241808 00000000 */ nop +/* EEE90C 8024180C 4616A082 */ mul.s $f2, $f20, $f22 +/* EEE910 80241810 00000000 */ nop +/* EEE914 80241814 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* EEE918 80241818 46180000 */ add.s $f0, $f0, $f24 +/* EEE91C 8024181C 0809060C */ j .L80241830 +/* EEE920 80241820 46020000 */ add.s $f0, $f0, $f2 +.L80241824: +/* EEE924 80241824 4616A002 */ mul.s $f0, $f20, $f22 +/* EEE928 80241828 00000000 */ nop +/* EEE92C 8024182C 4600D000 */ add.s $f0, $f26, $f0 +.L80241830: +/* EEE930 80241830 E600003C */ swc1 $f0, 0x3c($s0) +/* EEE934 80241834 8E220074 */ lw $v0, 0x74($s1) +/* EEE938 80241838 2442000A */ addiu $v0, $v0, 0xa +/* EEE93C 8024183C 44826000 */ mtc1 $v0, $f12 +/* EEE940 80241840 00000000 */ nop +/* EEE944 80241844 0C00AB85 */ jal func_8002AE14 +/* EEE948 80241848 46806320 */ cvt.s.w $f12, $f12 +/* EEE94C 8024184C 4600020D */ trunc.w.s $f8, $f0 +/* EEE950 80241850 E6280074 */ swc1 $f8, 0x74($s1) +.L80241854: +/* EEE954 80241854 8E220090 */ lw $v0, 0x90($s1) +/* EEE958 80241858 1C400040 */ bgtz $v0, .L8024195C +/* EEE95C 8024185C 2442FFFF */ addiu $v0, $v0, -1 +/* EEE960 80241860 860200A8 */ lh $v0, 0xa8($s0) +/* EEE964 80241864 C600003C */ lwc1 $f0, 0x3c($s0) +/* EEE968 80241868 44821000 */ mtc1 $v0, $f2 +/* EEE96C 8024186C 00000000 */ nop +/* EEE970 80241870 468010A0 */ cvt.s.w $f2, $f2 +/* EEE974 80241874 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EEE978 80241878 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EEE97C 8024187C 46020000 */ add.s $f0, $f0, $f2 +/* EEE980 80241880 3C014024 */ lui $at, 0x4024 +/* EEE984 80241884 44812800 */ mtc1 $at, $f5 +/* EEE988 80241888 44802000 */ mtc1 $zero, $f4 +/* EEE98C 8024188C C442002C */ lwc1 $f2, 0x2c($v0) +/* EEE990 80241890 46000021 */ cvt.d.s $f0, $f0 +/* EEE994 80241894 46240000 */ add.d $f0, $f0, $f4 +/* EEE998 80241898 460010A1 */ cvt.d.s $f2, $f2 +/* EEE99C 8024189C 4620103C */ c.lt.d $f2, $f0 +/* EEE9A0 802418A0 00000000 */ nop +/* EEE9A4 802418A4 4500002E */ bc1f .L80241960 +/* EEE9A8 802418A8 0280202D */ daddu $a0, $s4, $zero +/* EEE9AC 802418AC 24020001 */ addiu $v0, $zero, 1 +/* EEE9B0 802418B0 AFA20010 */ sw $v0, 0x10($sp) +/* EEE9B4 802418B4 8E460024 */ lw $a2, 0x24($s2) +/* EEE9B8 802418B8 8E470028 */ lw $a3, 0x28($s2) +/* EEE9BC 802418BC 0C013469 */ jal func_8004D1A4 +/* EEE9C0 802418C0 0220282D */ daddu $a1, $s1, $zero +/* EEE9C4 802418C4 10400026 */ beqz $v0, .L80241960 +/* EEE9C8 802418C8 0000202D */ daddu $a0, $zero, $zero +/* EEE9CC 802418CC 0200282D */ daddu $a1, $s0, $zero +/* EEE9D0 802418D0 0000302D */ daddu $a2, $zero, $zero +/* EEE9D4 802418D4 2412000C */ addiu $s2, $zero, 0xc +/* EEE9D8 802418D8 860300A8 */ lh $v1, 0xa8($s0) +/* EEE9DC 802418DC 3C013F80 */ lui $at, 0x3f80 +/* EEE9E0 802418E0 44810000 */ mtc1 $at, $f0 +/* EEE9E4 802418E4 3C014000 */ lui $at, 0x4000 +/* EEE9E8 802418E8 44811000 */ mtc1 $at, $f2 +/* EEE9EC 802418EC 3C01C1A0 */ lui $at, 0xc1a0 +/* EEE9F0 802418F0 44812000 */ mtc1 $at, $f4 +/* EEE9F4 802418F4 44834000 */ mtc1 $v1, $f8 +/* EEE9F8 802418F8 00000000 */ nop +/* EEE9FC 802418FC 46804220 */ cvt.s.w $f8, $f8 +/* EEEA00 80241900 44074000 */ mfc1 $a3, $f8 +/* EEEA04 80241904 27A20038 */ addiu $v0, $sp, 0x38 +/* EEEA08 80241908 AFB2001C */ sw $s2, 0x1c($sp) +/* EEEA0C 8024190C AFA20020 */ sw $v0, 0x20($sp) +/* EEEA10 80241910 E7A00010 */ swc1 $f0, 0x10($sp) +/* EEEA14 80241914 E7A20014 */ swc1 $f2, 0x14($sp) +/* EEEA18 80241918 0C01D444 */ jal func_80075110 +/* EEEA1C 8024191C E7A40018 */ swc1 $f4, 0x18($sp) +/* EEEA20 80241920 0200202D */ daddu $a0, $s0, $zero +/* EEEA24 80241924 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EEEA28 80241928 C480003C */ lwc1 $f0, 0x3c($a0) +/* EEEA2C 8024192C 3C060020 */ lui $a2, 0x20 +/* EEEA30 80241930 0C013600 */ jal func_8004D800 +/* EEEA34 80241934 E4800064 */ swc1 $f0, 0x64($a0) +/* EEEA38 80241938 8E220018 */ lw $v0, 0x18($s1) +/* EEEA3C 8024193C 9442002A */ lhu $v0, 0x2a($v0) +/* EEEA40 80241940 30420001 */ andi $v0, $v0, 1 +/* EEEA44 80241944 10400003 */ beqz $v0, .L80241954 +/* EEEA48 80241948 2402000A */ addiu $v0, $zero, 0xa +/* EEEA4C 8024194C 0809067F */ j .L802419FC +/* EEEA50 80241950 AE620070 */ sw $v0, 0x70($s3) +.L80241954: +/* EEEA54 80241954 0809067F */ j .L802419FC +/* EEEA58 80241958 AE720070 */ sw $s2, 0x70($s3) +.L8024195C: +/* EEEA5C 8024195C AE220090 */ sw $v0, 0x90($s1) +.L80241960: +/* EEEA60 80241960 8602008C */ lh $v0, 0x8c($s0) +/* EEEA64 80241964 14400025 */ bnez $v0, .L802419FC +/* EEEA68 80241968 00000000 */ nop +/* EEEA6C 8024196C 8602008E */ lh $v0, 0x8e($s0) +/* EEEA70 80241970 1C400022 */ bgtz $v0, .L802419FC +/* EEEA74 80241974 00000000 */ nop +/* EEEA78 80241978 8E620074 */ lw $v0, 0x74($s3) +/* EEEA7C 8024197C 2442FFFF */ addiu $v0, $v0, -1 +/* EEEA80 80241980 1840001D */ blez $v0, .L802419F8 +/* EEEA84 80241984 AE620074 */ sw $v0, 0x74($s3) +/* EEEA88 80241988 8E220018 */ lw $v0, 0x18($s1) +/* EEEA8C 8024198C 9442002A */ lhu $v0, 0x2a($v0) +/* EEEA90 80241990 30420010 */ andi $v0, $v0, 0x10 +/* EEEA94 80241994 14400007 */ bnez $v0, .L802419B4 +/* EEEA98 80241998 00000000 */ nop +/* EEEA9C 8024199C C600000C */ lwc1 $f0, 0xc($s0) +/* EEEAA0 802419A0 3C014334 */ lui $at, 0x4334 +/* EEEAA4 802419A4 44816000 */ mtc1 $at, $f12 +/* EEEAA8 802419A8 0C00AB85 */ jal func_8002AE14 +/* EEEAAC 802419AC 460C0300 */ add.s $f12, $f0, $f12 +/* EEEAB0 802419B0 E600000C */ swc1 $f0, 0xc($s0) +.L802419B4: +/* EEEAB4 802419B4 0C00AB3B */ jal func_8002ACEC +/* EEEAB8 802419B8 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EEEABC 802419BC 3C032E8B */ lui $v1, 0x2e8b +/* EEEAC0 802419C0 3463A2E9 */ ori $v1, $v1, 0xa2e9 +/* EEEAC4 802419C4 00430018 */ mult $v0, $v1 +/* EEEAC8 802419C8 00021FC3 */ sra $v1, $v0, 0x1f +/* EEEACC 802419CC 00004010 */ mfhi $t0 +/* EEEAD0 802419D0 00082043 */ sra $a0, $t0, 1 +/* EEEAD4 802419D4 00832023 */ subu $a0, $a0, $v1 +/* EEEAD8 802419D8 00041840 */ sll $v1, $a0, 1 +/* EEEADC 802419DC 00641821 */ addu $v1, $v1, $a0 +/* EEEAE0 802419E0 00031880 */ sll $v1, $v1, 2 +/* EEEAE4 802419E4 00641823 */ subu $v1, $v1, $a0 +/* EEEAE8 802419E8 00431023 */ subu $v0, $v0, $v1 +/* EEEAEC 802419EC 24420005 */ addiu $v0, $v0, 5 +/* EEEAF0 802419F0 0809067F */ j .L802419FC +/* EEEAF4 802419F4 A602008E */ sh $v0, 0x8e($s0) +.L802419F8: +/* EEEAF8 802419F8 AE600070 */ sw $zero, 0x70($s3) +.L802419FC: +/* EEEAFC 802419FC 8FBF0054 */ lw $ra, 0x54($sp) +/* EEEB00 80241A00 8FB40050 */ lw $s4, 0x50($sp) +/* EEEB04 80241A04 8FB3004C */ lw $s3, 0x4c($sp) +/* EEEB08 80241A08 8FB20048 */ lw $s2, 0x48($sp) +/* EEEB0C 80241A0C 8FB10044 */ lw $s1, 0x44($sp) +/* EEEB10 80241A10 8FB00040 */ lw $s0, 0x40($sp) +/* EEEB14 80241A14 D7BA0070 */ ldc1 $f26, 0x70($sp) +/* EEEB18 80241A18 D7B80068 */ ldc1 $f24, 0x68($sp) +/* EEEB1C 80241A1C D7B60060 */ ldc1 $f22, 0x60($sp) +/* EEEB20 80241A20 D7B40058 */ ldc1 $f20, 0x58($sp) +/* EEEB24 80241A24 03E00008 */ jr $ra +/* EEEB28 80241A28 27BD0078 */ addiu $sp, $sp, 0x78 diff --git a/asm/nonmatchings/code_EEDF50/func_80241A2C_EEEB2C.s b/asm/nonmatchings/code_EEDF50/func_80241A2C_EEEB2C.s new file mode 100644 index 0000000000..dabbbd895a --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_80241A2C_EEEB2C.s @@ -0,0 +1,34 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241A2C_EEEB2C +/* EEEB2C 80241A2C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EEEB30 80241A30 AFB20018 */ sw $s2, 0x18($sp) +/* EEEB34 80241A34 0080902D */ daddu $s2, $a0, $zero +/* EEEB38 80241A38 AFBF001C */ sw $ra, 0x1c($sp) +/* EEEB3C 80241A3C AFB10014 */ sw $s1, 0x14($sp) +/* EEEB40 80241A40 AFB00010 */ sw $s0, 0x10($sp) +/* EEEB44 80241A44 8E510148 */ lw $s1, 0x148($s2) +/* EEEB48 80241A48 0C00F92F */ jal func_8003E4BC +/* EEEB4C 80241A4C 86240008 */ lh $a0, 8($s1) +/* EEEB50 80241A50 0040802D */ daddu $s0, $v0, $zero +/* EEEB54 80241A54 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EEEB58 80241A58 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EEEB5C 80241A5C C60C0038 */ lwc1 $f12, 0x38($s0) +/* EEEB60 80241A60 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EEEB64 80241A64 A600008E */ sh $zero, 0x8e($s0) +/* EEEB68 80241A68 8C460028 */ lw $a2, 0x28($v0) +/* EEEB6C 80241A6C 0C00ABDC */ jal fio_validate_header_checksums +/* EEEB70 80241A70 8C470030 */ lw $a3, 0x30($v0) +/* EEEB74 80241A74 E600000C */ swc1 $f0, 0xc($s0) +/* EEEB78 80241A78 8E2200CC */ lw $v0, 0xcc($s1) +/* EEEB7C 80241A7C 8C420020 */ lw $v0, 0x20($v0) +/* EEEB80 80241A80 AE020028 */ sw $v0, 0x28($s0) +/* EEEB84 80241A84 2402000B */ addiu $v0, $zero, 0xb +/* EEEB88 80241A88 AE420070 */ sw $v0, 0x70($s2) +/* EEEB8C 80241A8C 8FBF001C */ lw $ra, 0x1c($sp) +/* EEEB90 80241A90 8FB20018 */ lw $s2, 0x18($sp) +/* EEEB94 80241A94 8FB10014 */ lw $s1, 0x14($sp) +/* EEEB98 80241A98 8FB00010 */ lw $s0, 0x10($sp) +/* EEEB9C 80241A9C 03E00008 */ jr $ra +/* EEEBA0 80241AA0 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EEDF50/func_80241AA4_EEEBA4.s b/asm/nonmatchings/code_EEDF50/func_80241AA4_EEEBA4.s new file mode 100644 index 0000000000..6c1107e485 --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_80241AA4_EEEBA4.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241AA4_EEEBA4 +/* EEEBA4 80241AA4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EEEBA8 80241AA8 AFB00010 */ sw $s0, 0x10($sp) +/* EEEBAC 80241AAC 0080802D */ daddu $s0, $a0, $zero +/* EEEBB0 80241AB0 AFBF0014 */ sw $ra, 0x14($sp) +/* EEEBB4 80241AB4 8E020148 */ lw $v0, 0x148($s0) +/* EEEBB8 80241AB8 0C00F92F */ jal func_8003E4BC +/* EEEBBC 80241ABC 84440008 */ lh $a0, 8($v0) +/* EEEBC0 80241AC0 9443008E */ lhu $v1, 0x8e($v0) +/* EEEBC4 80241AC4 C440003C */ lwc1 $f0, 0x3c($v0) +/* EEEBC8 80241AC8 24640001 */ addiu $a0, $v1, 1 +/* EEEBCC 80241ACC 00031C00 */ sll $v1, $v1, 0x10 +/* EEEBD0 80241AD0 00031B83 */ sra $v1, $v1, 0xe +/* EEEBD4 80241AD4 A444008E */ sh $a0, 0x8e($v0) +/* EEEBD8 80241AD8 3C018024 */ lui $at, %hi(D_80244070) +/* EEEBDC 80241ADC 00230821 */ addu $at, $at, $v1 +/* EEEBE0 80241AE0 C4224070 */ lwc1 $f2, %lo(D_80244070)($at) +/* EEEBE4 80241AE4 8443008E */ lh $v1, 0x8e($v0) +/* EEEBE8 80241AE8 46020000 */ add.s $f0, $f0, $f2 +/* EEEBEC 80241AEC 28630005 */ slti $v1, $v1, 5 +/* EEEBF0 80241AF0 14600003 */ bnez $v1, .L80241B00 +/* EEEBF4 80241AF4 E440003C */ swc1 $f0, 0x3c($v0) +/* EEEBF8 80241AF8 2402000C */ addiu $v0, $zero, 0xc +/* EEEBFC 80241AFC AE020070 */ sw $v0, 0x70($s0) +.L80241B00: +/* EEEC00 80241B00 8FBF0014 */ lw $ra, 0x14($sp) +/* EEEC04 80241B04 8FB00010 */ lw $s0, 0x10($sp) +/* EEEC08 80241B08 03E00008 */ jr $ra +/* EEEC0C 80241B0C 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EEDF50/func_80241B10_EEEC10.s b/asm/nonmatchings/code_EEDF50/func_80241B10_EEEC10.s new file mode 100644 index 0000000000..e98b879e11 --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_80241B10_EEEC10.s @@ -0,0 +1,83 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241B10_EEEC10 +/* EEEC10 80241B10 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EEEC14 80241B14 AFB3001C */ sw $s3, 0x1c($sp) +/* EEEC18 80241B18 0080982D */ daddu $s3, $a0, $zero +/* EEEC1C 80241B1C AFBF0020 */ sw $ra, 0x20($sp) +/* EEEC20 80241B20 AFB20018 */ sw $s2, 0x18($sp) +/* EEEC24 80241B24 AFB10014 */ sw $s1, 0x14($sp) +/* EEEC28 80241B28 AFB00010 */ sw $s0, 0x10($sp) +/* EEEC2C 80241B2C 8E720148 */ lw $s2, 0x148($s3) +/* EEEC30 80241B30 86440008 */ lh $a0, 8($s2) +/* EEEC34 80241B34 0C00F92F */ jal func_8003E4BC +/* EEEC38 80241B38 00A0802D */ daddu $s0, $a1, $zero +/* EEEC3C 80241B3C 0040882D */ daddu $s1, $v0, $zero +/* EEEC40 80241B40 C6420080 */ lwc1 $f2, 0x80($s2) +/* EEEC44 80241B44 468010A0 */ cvt.s.w $f2, $f2 +/* EEEC48 80241B48 460010A1 */ cvt.d.s $f2, $f2 +/* EEEC4C 80241B4C C6400084 */ lwc1 $f0, 0x84($s2) +/* EEEC50 80241B50 46800020 */ cvt.s.w $f0, $f0 +/* EEEC54 80241B54 46000021 */ cvt.d.s $f0, $f0 +/* EEEC58 80241B58 3C014059 */ lui $at, 0x4059 +/* EEEC5C 80241B5C 44812800 */ mtc1 $at, $f5 +/* EEEC60 80241B60 44802000 */ mtc1 $zero, $f4 +/* EEEC64 80241B64 8E4200CC */ lw $v0, 0xcc($s2) +/* EEEC68 80241B68 C62C0038 */ lwc1 $f12, 0x38($s1) +/* EEEC6C 80241B6C C62E0040 */ lwc1 $f14, 0x40($s1) +/* EEEC70 80241B70 46241083 */ div.d $f2, $f2, $f4 +/* EEEC74 80241B74 462010A0 */ cvt.s.d $f2, $f2 +/* EEEC78 80241B78 46240003 */ div.d $f0, $f0, $f4 +/* EEEC7C 80241B7C 8C420020 */ lw $v0, 0x20($v0) +/* EEEC80 80241B80 46200020 */ cvt.s.d $f0, $f0 +/* EEEC84 80241B84 E622001C */ swc1 $f2, 0x1c($s1) +/* EEEC88 80241B88 E6200014 */ swc1 $f0, 0x14($s1) +/* EEEC8C 80241B8C AE220028 */ sw $v0, 0x28($s1) +/* EEEC90 80241B90 C6000018 */ lwc1 $f0, 0x18($s0) +/* EEEC94 80241B94 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EEEC98 80241B98 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EEEC9C 80241B9C E6200018 */ swc1 $f0, 0x18($s1) +/* EEECA0 80241BA0 8C460028 */ lw $a2, 0x28($v0) +/* EEECA4 80241BA4 0C00ABDC */ jal fio_validate_header_checksums +/* EEECA8 80241BA8 8C470030 */ lw $a3, 0x30($v0) +/* EEECAC 80241BAC E620000C */ swc1 $f0, 0xc($s1) +/* EEECB0 80241BB0 8E420018 */ lw $v0, 0x18($s2) +/* EEECB4 80241BB4 AE400074 */ sw $zero, 0x74($s2) +/* EEECB8 80241BB8 9442002A */ lhu $v0, 0x2a($v0) +/* EEECBC 80241BBC 30420002 */ andi $v0, $v0, 2 +/* EEECC0 80241BC0 10400005 */ beqz $v0, .L80241BD8 +/* EEECC4 80241BC4 24020003 */ addiu $v0, $zero, 3 +/* EEECC8 80241BC8 A622008E */ sh $v0, 0x8e($s1) +/* EEECCC 80241BCC 2402000D */ addiu $v0, $zero, 0xd +/* EEECD0 80241BD0 0809070A */ j .L80241C28 +/* EEECD4 80241BD4 AE620070 */ sw $v0, 0x70($s3) +.L80241BD8: +/* EEECD8 80241BD8 24030001 */ addiu $v1, $zero, 1 +/* EEECDC 80241BDC 2402000E */ addiu $v0, $zero, 0xe +/* EEECE0 80241BE0 A623008E */ sh $v1, 0x8e($s1) +/* EEECE4 80241BE4 AE620070 */ sw $v0, 0x70($s3) +/* EEECE8 80241BE8 C6200038 */ lwc1 $f0, 0x38($s1) +/* EEECEC 80241BEC 4600018D */ trunc.w.s $f6, $f0 +/* EEECF0 80241BF0 44023000 */ mfc1 $v0, $f6 +/* EEECF4 80241BF4 00000000 */ nop +/* EEECF8 80241BF8 A6420010 */ sh $v0, 0x10($s2) +/* EEECFC 80241BFC C620003C */ lwc1 $f0, 0x3c($s1) +/* EEED00 80241C00 4600018D */ trunc.w.s $f6, $f0 +/* EEED04 80241C04 44023000 */ mfc1 $v0, $f6 +/* EEED08 80241C08 00000000 */ nop +/* EEED0C 80241C0C A6420012 */ sh $v0, 0x12($s2) +/* EEED10 80241C10 C6200040 */ lwc1 $f0, 0x40($s1) +/* EEED14 80241C14 A2430007 */ sb $v1, 7($s2) +/* EEED18 80241C18 4600018D */ trunc.w.s $f6, $f0 +/* EEED1C 80241C1C 44023000 */ mfc1 $v0, $f6 +/* EEED20 80241C20 00000000 */ nop +/* EEED24 80241C24 A6420014 */ sh $v0, 0x14($s2) +.L80241C28: +/* EEED28 80241C28 8FBF0020 */ lw $ra, 0x20($sp) +/* EEED2C 80241C2C 8FB3001C */ lw $s3, 0x1c($sp) +/* EEED30 80241C30 8FB20018 */ lw $s2, 0x18($sp) +/* EEED34 80241C34 8FB10014 */ lw $s1, 0x14($sp) +/* EEED38 80241C38 8FB00010 */ lw $s0, 0x10($sp) +/* EEED3C 80241C3C 03E00008 */ jr $ra +/* EEED40 80241C40 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EEDF50/func_80241C44_EEED44.s b/asm/nonmatchings/code_EEDF50/func_80241C44_EEED44.s new file mode 100644 index 0000000000..b119d704e1 --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_80241C44_EEED44.s @@ -0,0 +1,31 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241C44_EEED44 +/* EEED44 80241C44 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EEED48 80241C48 AFB00010 */ sw $s0, 0x10($sp) +/* EEED4C 80241C4C 0080802D */ daddu $s0, $a0, $zero +/* EEED50 80241C50 AFBF0014 */ sw $ra, 0x14($sp) +/* EEED54 80241C54 8E020148 */ lw $v0, 0x148($s0) +/* EEED58 80241C58 0C00F92F */ jal func_8003E4BC +/* EEED5C 80241C5C 84440008 */ lh $a0, 8($v0) +/* EEED60 80241C60 0040202D */ daddu $a0, $v0, $zero +/* EEED64 80241C64 8482008E */ lh $v0, 0x8e($a0) +/* EEED68 80241C68 9483008E */ lhu $v1, 0x8e($a0) +/* EEED6C 80241C6C 18400005 */ blez $v0, .L80241C84 +/* EEED70 80241C70 2462FFFF */ addiu $v0, $v1, -1 +/* EEED74 80241C74 A482008E */ sh $v0, 0x8e($a0) +/* EEED78 80241C78 00021400 */ sll $v0, $v0, 0x10 +/* EEED7C 80241C7C 1C400006 */ bgtz $v0, .L80241C98 +/* EEED80 80241C80 00000000 */ nop +.L80241C84: +/* EEED84 80241C84 8482008C */ lh $v0, 0x8c($a0) +/* EEED88 80241C88 14400003 */ bnez $v0, .L80241C98 +/* EEED8C 80241C8C 2402000E */ addiu $v0, $zero, 0xe +/* EEED90 80241C90 A480008E */ sh $zero, 0x8e($a0) +/* EEED94 80241C94 AE020070 */ sw $v0, 0x70($s0) +.L80241C98: +/* EEED98 80241C98 8FBF0014 */ lw $ra, 0x14($sp) +/* EEED9C 80241C9C 8FB00010 */ lw $s0, 0x10($sp) +/* EEEDA0 80241CA0 03E00008 */ jr $ra +/* EEEDA4 80241CA4 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EEDF50/func_80241CA8_EEEDA8.s b/asm/nonmatchings/code_EEDF50/func_80241CA8_EEEDA8.s new file mode 100644 index 0000000000..bc6dc9901c --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_80241CA8_EEEDA8.s @@ -0,0 +1,243 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241CA8_EEEDA8 +/* EEEDA8 80241CA8 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EEEDAC 80241CAC AFB20030 */ sw $s2, 0x30($sp) +/* EEEDB0 80241CB0 0080902D */ daddu $s2, $a0, $zero +/* EEEDB4 80241CB4 AFBF0038 */ sw $ra, 0x38($sp) +/* EEEDB8 80241CB8 AFB30034 */ sw $s3, 0x34($sp) +/* EEEDBC 80241CBC AFB1002C */ sw $s1, 0x2c($sp) +/* EEEDC0 80241CC0 AFB00028 */ sw $s0, 0x28($sp) +/* EEEDC4 80241CC4 F7B60048 */ sdc1 $f22, 0x48($sp) +/* EEEDC8 80241CC8 F7B40040 */ sdc1 $f20, 0x40($sp) +/* EEEDCC 80241CCC 8E510148 */ lw $s1, 0x148($s2) +/* EEEDD0 80241CD0 86240008 */ lh $a0, 8($s1) +/* EEEDD4 80241CD4 0C00F92F */ jal func_8003E4BC +/* EEEDD8 80241CD8 00A0982D */ daddu $s3, $a1, $zero +/* EEEDDC 80241CDC 0040802D */ daddu $s0, $v0, $zero +/* EEEDE0 80241CE0 0200202D */ daddu $a0, $s0, $zero +/* EEEDE4 80241CE4 C6220088 */ lwc1 $f2, 0x88($s1) +/* EEEDE8 80241CE8 468010A0 */ cvt.s.w $f2, $f2 +/* EEEDEC 80241CEC 460010A1 */ cvt.d.s $f2, $f2 +/* EEEDF0 80241CF0 C604001C */ lwc1 $f4, 0x1c($s0) +/* EEEDF4 80241CF4 C6000014 */ lwc1 $f0, 0x14($s0) +/* EEEDF8 80241CF8 8E050018 */ lw $a1, 0x18($s0) +/* EEEDFC 80241CFC 46002100 */ add.s $f4, $f4, $f0 +/* EEEE00 80241D00 8E06000C */ lw $a2, 0xc($s0) +/* EEEE04 80241D04 C6200078 */ lwc1 $f0, 0x78($s1) +/* EEEE08 80241D08 46800020 */ cvt.s.w $f0, $f0 +/* EEEE0C 80241D0C E604001C */ swc1 $f4, 0x1c($s0) +/* EEEE10 80241D10 3C014059 */ lui $at, 0x4059 +/* EEEE14 80241D14 44812800 */ mtc1 $at, $f5 +/* EEEE18 80241D18 44802000 */ mtc1 $zero, $f4 +/* EEEE1C 80241D1C 46000021 */ cvt.d.s $f0, $f0 +/* EEEE20 80241D20 46240003 */ div.d $f0, $f0, $f4 +/* EEEE24 80241D24 46200520 */ cvt.s.d $f20, $f0 +/* EEEE28 80241D28 46241083 */ div.d $f2, $f2, $f4 +/* EEEE2C 80241D2C 0C00F909 */ jal func_8003E424 +/* EEEE30 80241D30 462015A0 */ cvt.s.d $f22, $f2 +/* EEEE34 80241D34 C604001C */ lwc1 $f4, 0x1c($s0) +/* EEEE38 80241D38 44801000 */ mtc1 $zero, $f2 +/* EEEE3C 80241D3C 44801800 */ mtc1 $zero, $f3 +/* EEEE40 80241D40 46002021 */ cvt.d.s $f0, $f4 +/* EEEE44 80241D44 4620103E */ c.le.d $f2, $f0 +/* EEEE48 80241D48 00000000 */ nop +/* EEEE4C 80241D4C 45000030 */ bc1f .L80241E10 +/* EEEE50 80241D50 00000000 */ nop +/* EEEE54 80241D54 C600003C */ lwc1 $f0, 0x3c($s0) +/* EEEE58 80241D58 46040000 */ add.s $f0, $f0, $f4 +/* EEEE5C 80241D5C E600003C */ swc1 $f0, 0x3c($s0) +/* EEEE60 80241D60 8E2200CC */ lw $v0, 0xcc($s1) +/* EEEE64 80241D64 8C420024 */ lw $v0, 0x24($v0) +/* EEEE68 80241D68 AE020028 */ sw $v0, 0x28($s0) +/* EEEE6C 80241D6C A2200007 */ sb $zero, 7($s1) +/* EEEE70 80241D70 8E020000 */ lw $v0, ($s0) +/* EEEE74 80241D74 30420008 */ andi $v0, $v0, 8 +/* EEEE78 80241D78 14400011 */ bnez $v0, .L80241DC0 +/* EEEE7C 80241D7C 0000102D */ daddu $v0, $zero, $zero +/* EEEE80 80241D80 27A50018 */ addiu $a1, $sp, 0x18 +/* EEEE84 80241D84 27A6001C */ addiu $a2, $sp, 0x1c +/* EEEE88 80241D88 C6000038 */ lwc1 $f0, 0x38($s0) +/* EEEE8C 80241D8C C602003C */ lwc1 $f2, 0x3c($s0) +/* EEEE90 80241D90 C6040040 */ lwc1 $f4, 0x40($s0) +/* EEEE94 80241D94 3C01447A */ lui $at, 0x447a +/* EEEE98 80241D98 44813000 */ mtc1 $at, $f6 +/* EEEE9C 80241D9C 27A20024 */ addiu $v0, $sp, 0x24 +/* EEEEA0 80241DA0 E7A00018 */ swc1 $f0, 0x18($sp) +/* EEEEA4 80241DA4 E7A2001C */ swc1 $f2, 0x1c($sp) +/* EEEEA8 80241DA8 E7A40020 */ swc1 $f4, 0x20($sp) +/* EEEEAC 80241DAC E7A60024 */ swc1 $f6, 0x24($sp) +/* EEEEB0 80241DB0 AFA20010 */ sw $v0, 0x10($sp) +/* EEEEB4 80241DB4 8E040080 */ lw $a0, 0x80($s0) +/* EEEEB8 80241DB8 0C03908F */ jal func_800E423C +/* EEEEBC 80241DBC 27A70020 */ addiu $a3, $sp, 0x20 +.L80241DC0: +/* EEEEC0 80241DC0 1040000B */ beqz $v0, .L80241DF0 +/* EEEEC4 80241DC4 00000000 */ nop +/* EEEEC8 80241DC8 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* EEEECC 80241DCC 46140080 */ add.s $f2, $f0, $f20 +/* EEEED0 80241DD0 C600003C */ lwc1 $f0, 0x3c($s0) +/* EEEED4 80241DD4 4600103E */ c.le.s $f2, $f0 +/* EEEED8 80241DD8 00000000 */ nop +/* EEEEDC 80241DDC 4500008D */ bc1f .L80242014 +/* EEEEE0 80241DE0 00000000 */ nop +/* EEEEE4 80241DE4 E602003C */ swc1 $f2, 0x3c($s0) +/* EEEEE8 80241DE8 08090805 */ j .L80242014 +/* EEEEEC 80241DEC AE400070 */ sw $zero, 0x70($s2) +.L80241DF0: +/* EEEEF0 80241DF0 C602003C */ lwc1 $f2, 0x3c($s0) +/* EEEEF4 80241DF4 C6000064 */ lwc1 $f0, 0x64($s0) +/* EEEEF8 80241DF8 4602003E */ c.le.s $f0, $f2 +/* EEEEFC 80241DFC 00000000 */ nop +/* EEEF00 80241E00 45030084 */ bc1tl .L80242014 +/* EEEF04 80241E04 AE400070 */ sw $zero, 0x70($s2) +/* EEEF08 80241E08 08090805 */ j .L80242014 +/* EEEF0C 80241E0C 00000000 */ nop +.L80241E10: +/* EEEF10 80241E10 4622003C */ c.lt.d $f0, $f2 +/* EEEF14 80241E14 00000000 */ nop +/* EEEF18 80241E18 4500007E */ bc1f .L80242014 +/* EEEF1C 80241E1C 00000000 */ nop +/* EEEF20 80241E20 9602008E */ lhu $v0, 0x8e($s0) +/* EEEF24 80241E24 24420001 */ addiu $v0, $v0, 1 +/* EEEF28 80241E28 A602008E */ sh $v0, 0x8e($s0) +/* EEEF2C 80241E2C 00021400 */ sll $v0, $v0, 0x10 +/* EEEF30 80241E30 8E630020 */ lw $v1, 0x20($s3) +/* EEEF34 80241E34 00021403 */ sra $v0, $v0, 0x10 +/* EEEF38 80241E38 0043102A */ slt $v0, $v0, $v1 +/* EEEF3C 80241E3C 14400026 */ bnez $v0, .L80241ED8 +/* EEEF40 80241E40 00000000 */ nop +/* EEEF44 80241E44 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EEEF48 80241E48 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EEEF4C 80241E4C 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EEEF50 80241E50 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EEEF54 80241E54 A600008E */ sh $zero, 0x8e($s0) +/* EEEF58 80241E58 8C460028 */ lw $a2, 0x28($v0) +/* EEEF5C 80241E5C 0C00ABDC */ jal fio_validate_header_checksums +/* EEEF60 80241E60 8C470030 */ lw $a3, 0x30($v0) +/* EEEF64 80241E64 46000506 */ mov.s $f20, $f0 +/* EEEF68 80241E68 C60C000C */ lwc1 $f12, 0xc($s0) +/* EEEF6C 80241E6C 0C00ABC6 */ jal func_8002AF18 +/* EEEF70 80241E70 4600A386 */ mov.s $f14, $f20 +/* EEEF74 80241E74 46000086 */ mov.s $f2, $f0 +/* EEEF78 80241E78 8E62001C */ lw $v0, 0x1c($s3) +/* EEEF7C 80241E7C 46001005 */ abs.s $f0, $f2 +/* EEEF80 80241E80 44822000 */ mtc1 $v0, $f4 +/* EEEF84 80241E84 00000000 */ nop +/* EEEF88 80241E88 46802120 */ cvt.s.w $f4, $f4 +/* EEEF8C 80241E8C 4600203C */ c.lt.s $f4, $f0 +/* EEEF90 80241E90 00000000 */ nop +/* EEEF94 80241E94 4500000D */ bc1f .L80241ECC +/* EEEF98 80241E98 00000000 */ nop +/* EEEF9C 80241E9C 44800000 */ mtc1 $zero, $f0 +/* EEEFA0 80241EA0 C614000C */ lwc1 $f20, 0xc($s0) +/* EEEFA4 80241EA4 4600103C */ c.lt.s $f2, $f0 +/* EEEFA8 80241EA8 00000000 */ nop +/* EEEFAC 80241EAC 45000006 */ bc1f .L80241EC8 +/* EEEFB0 80241EB0 00021023 */ negu $v0, $v0 +/* EEEFB4 80241EB4 44820000 */ mtc1 $v0, $f0 +/* EEEFB8 80241EB8 00000000 */ nop +/* EEEFBC 80241EBC 46800020 */ cvt.s.w $f0, $f0 +/* EEEFC0 80241EC0 080907B3 */ j .L80241ECC +/* EEEFC4 80241EC4 4600A500 */ add.s $f20, $f20, $f0 +.L80241EC8: +/* EEEFC8 80241EC8 4604A500 */ add.s $f20, $f20, $f4 +.L80241ECC: +/* EEEFCC 80241ECC 0C00AB85 */ jal func_8002AE14 +/* EEEFD0 80241ED0 4600A306 */ mov.s $f12, $f20 +/* EEEFD4 80241ED4 E600000C */ swc1 $f0, 0xc($s0) +.L80241ED8: +/* EEEFD8 80241ED8 8E020000 */ lw $v0, ($s0) +/* EEEFDC 80241EDC 30420008 */ andi $v0, $v0, 8 +/* EEEFE0 80241EE0 1040000A */ beqz $v0, .L80241F0C +/* EEEFE4 80241EE4 27A50018 */ addiu $a1, $sp, 0x18 +/* EEEFE8 80241EE8 C602003C */ lwc1 $f2, 0x3c($s0) +/* EEEFEC 80241EEC C600001C */ lwc1 $f0, 0x1c($s0) +/* EEEFF0 80241EF0 46001080 */ add.s $f2, $f2, $f0 +/* EEEFF4 80241EF4 4616103C */ c.lt.s $f2, $f22 +/* EEEFF8 80241EF8 00000000 */ nop +/* EEEFFC 80241EFC 45020045 */ bc1fl .L80242014 +/* EEF000 80241F00 E602003C */ swc1 $f2, 0x3c($s0) +/* EEF004 80241F04 08090804 */ j .L80242010 +/* EEF008 80241F08 E616003C */ swc1 $f22, 0x3c($s0) +.L80241F0C: +/* EEF00C 80241F0C C6000038 */ lwc1 $f0, 0x38($s0) +/* EEF010 80241F10 27A6001C */ addiu $a2, $sp, 0x1c +/* EEF014 80241F14 E7A00018 */ swc1 $f0, 0x18($sp) +/* EEF018 80241F18 860200A8 */ lh $v0, 0xa8($s0) +/* EEF01C 80241F1C C600001C */ lwc1 $f0, 0x1c($s0) +/* EEF020 80241F20 C604003C */ lwc1 $f4, 0x3c($s0) +/* EEF024 80241F24 44821000 */ mtc1 $v0, $f2 +/* EEF028 80241F28 00000000 */ nop +/* EEF02C 80241F2C 468010A0 */ cvt.s.w $f2, $f2 +/* EEF030 80241F30 46000005 */ abs.s $f0, $f0 +/* EEF034 80241F34 46020000 */ add.s $f0, $f0, $f2 +/* EEF038 80241F38 C6060040 */ lwc1 $f6, 0x40($s0) +/* EEF03C 80241F3C 27A20024 */ addiu $v0, $sp, 0x24 +/* EEF040 80241F40 46022100 */ add.s $f4, $f4, $f2 +/* EEF044 80241F44 3C014024 */ lui $at, 0x4024 +/* EEF048 80241F48 44811800 */ mtc1 $at, $f3 +/* EEF04C 80241F4C 44801000 */ mtc1 $zero, $f2 +/* EEF050 80241F50 46000021 */ cvt.d.s $f0, $f0 +/* EEF054 80241F54 46220000 */ add.d $f0, $f0, $f2 +/* EEF058 80241F58 E7A60020 */ swc1 $f6, 0x20($sp) +/* EEF05C 80241F5C E7A4001C */ swc1 $f4, 0x1c($sp) +/* EEF060 80241F60 46200020 */ cvt.s.d $f0, $f0 +/* EEF064 80241F64 E7A00024 */ swc1 $f0, 0x24($sp) +/* EEF068 80241F68 AFA20010 */ sw $v0, 0x10($sp) +/* EEF06C 80241F6C 8E040080 */ lw $a0, 0x80($s0) +/* EEF070 80241F70 0C03908F */ jal func_800E423C +/* EEF074 80241F74 27A70020 */ addiu $a3, $sp, 0x20 +/* EEF078 80241F78 10400015 */ beqz $v0, .L80241FD0 +/* EEF07C 80241F7C 00000000 */ nop +/* EEF080 80241F80 860200A8 */ lh $v0, 0xa8($s0) +/* EEF084 80241F84 C604001C */ lwc1 $f4, 0x1c($s0) +/* EEF088 80241F88 44820000 */ mtc1 $v0, $f0 +/* EEF08C 80241F8C 00000000 */ nop +/* EEF090 80241F90 46800020 */ cvt.s.w $f0, $f0 +/* EEF094 80241F94 46002085 */ abs.s $f2, $f4 +/* EEF098 80241F98 46020000 */ add.s $f0, $f0, $f2 +/* EEF09C 80241F9C C7A20024 */ lwc1 $f2, 0x24($sp) +/* EEF0A0 80241FA0 4600103E */ c.le.s $f2, $f0 +/* EEF0A4 80241FA4 00000000 */ nop +/* EEF0A8 80241FA8 45000005 */ bc1f .L80241FC0 +/* EEF0AC 80241FAC 00000000 */ nop +/* EEF0B0 80241FB0 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* EEF0B4 80241FB4 AE00001C */ sw $zero, 0x1c($s0) +/* EEF0B8 80241FB8 08090805 */ j .L80242014 +/* EEF0BC 80241FBC E600003C */ swc1 $f0, 0x3c($s0) +.L80241FC0: +/* EEF0C0 80241FC0 C600003C */ lwc1 $f0, 0x3c($s0) +/* EEF0C4 80241FC4 46040000 */ add.s $f0, $f0, $f4 +/* EEF0C8 80241FC8 08090805 */ j .L80242014 +/* EEF0CC 80241FCC E600003C */ swc1 $f0, 0x3c($s0) +.L80241FD0: +/* EEF0D0 80241FD0 C606003C */ lwc1 $f6, 0x3c($s0) +/* EEF0D4 80241FD4 860200A8 */ lh $v0, 0xa8($s0) +/* EEF0D8 80241FD8 46163081 */ sub.s $f2, $f6, $f22 +/* EEF0DC 80241FDC 44820000 */ mtc1 $v0, $f0 +/* EEF0E0 80241FE0 00000000 */ nop +/* EEF0E4 80241FE4 46800020 */ cvt.s.w $f0, $f0 +/* EEF0E8 80241FE8 46001080 */ add.s $f2, $f2, $f0 +/* EEF0EC 80241FEC C604001C */ lwc1 $f4, 0x1c($s0) +/* EEF0F0 80241FF0 46002005 */ abs.s $f0, $f4 +/* EEF0F4 80241FF4 4602003C */ c.lt.s $f0, $f2 +/* EEF0F8 80241FF8 00000000 */ nop +/* EEF0FC 80241FFC 45020005 */ bc1fl .L80242014 +/* EEF100 80242000 AE00001C */ sw $zero, 0x1c($s0) +/* EEF104 80242004 46043000 */ add.s $f0, $f6, $f4 +/* EEF108 80242008 08090805 */ j .L80242014 +/* EEF10C 8024200C E600003C */ swc1 $f0, 0x3c($s0) +.L80242010: +/* EEF110 80242010 AE00001C */ sw $zero, 0x1c($s0) +.L80242014: +/* EEF114 80242014 8FBF0038 */ lw $ra, 0x38($sp) +/* EEF118 80242018 8FB30034 */ lw $s3, 0x34($sp) +/* EEF11C 8024201C 8FB20030 */ lw $s2, 0x30($sp) +/* EEF120 80242020 8FB1002C */ lw $s1, 0x2c($sp) +/* EEF124 80242024 8FB00028 */ lw $s0, 0x28($sp) +/* EEF128 80242028 D7B60048 */ ldc1 $f22, 0x48($sp) +/* EEF12C 8024202C D7B40040 */ ldc1 $f20, 0x40($sp) +/* EEF130 80242030 03E00008 */ jr $ra +/* EEF134 80242034 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EEDF50/func_80242038_EEF138.s b/asm/nonmatchings/code_EEDF50/func_80242038_EEF138.s new file mode 100644 index 0000000000..fd4d73f136 --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_80242038_EEF138.s @@ -0,0 +1,79 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242038_EEF138 +/* EEF138 80242038 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* EEF13C 8024203C AFB00028 */ sw $s0, 0x28($sp) +/* EEF140 80242040 00A0802D */ daddu $s0, $a1, $zero +/* EEF144 80242044 AFB1002C */ sw $s1, 0x2c($sp) +/* EEF148 80242048 00C0882D */ daddu $s1, $a2, $zero +/* EEF14C 8024204C AFBF0034 */ sw $ra, 0x34($sp) +/* EEF150 80242050 AFB20030 */ sw $s2, 0x30($sp) +/* EEF154 80242054 AE200070 */ sw $zero, 0x70($s1) +/* EEF158 80242058 8C830000 */ lw $v1, ($a0) +/* EEF15C 8024205C 2402FDFF */ addiu $v0, $zero, -0x201 +/* EEF160 80242060 A480008E */ sh $zero, 0x8e($a0) +/* EEF164 80242064 00621824 */ and $v1, $v1, $v0 +/* EEF168 80242068 34650800 */ ori $a1, $v1, 0x800 +/* EEF16C 8024206C AC850000 */ sw $a1, ($a0) +/* EEF170 80242070 8E0200D0 */ lw $v0, 0xd0($s0) +/* EEF174 80242074 8C420034 */ lw $v0, 0x34($v0) +/* EEF178 80242078 10400003 */ beqz $v0, .L80242088 +/* EEF17C 8024207C 00E0902D */ daddu $s2, $a3, $zero +/* EEF180 80242080 08090824 */ j .L80242090 +/* EEF184 80242084 34620808 */ ori $v0, $v1, 0x808 +.L80242088: +/* EEF188 80242088 2402FFF7 */ addiu $v0, $zero, -9 +/* EEF18C 8024208C 00A21024 */ and $v0, $a1, $v0 +.L80242090: +/* EEF190 80242090 AC820000 */ sw $v0, ($a0) +/* EEF194 80242094 27A20024 */ addiu $v0, $sp, 0x24 +/* EEF198 80242098 27A50018 */ addiu $a1, $sp, 0x18 +/* EEF19C 8024209C C4800038 */ lwc1 $f0, 0x38($a0) +/* EEF1A0 802420A0 C482003C */ lwc1 $f2, 0x3c($a0) +/* EEF1A4 802420A4 C4840040 */ lwc1 $f4, 0x40($a0) +/* EEF1A8 802420A8 3C01447A */ lui $at, 0x447a +/* EEF1AC 802420AC 44813000 */ mtc1 $at, $f6 +/* EEF1B0 802420B0 27A6001C */ addiu $a2, $sp, 0x1c +/* EEF1B4 802420B4 E7A00018 */ swc1 $f0, 0x18($sp) +/* EEF1B8 802420B8 E7A2001C */ swc1 $f2, 0x1c($sp) +/* EEF1BC 802420BC E7A40020 */ swc1 $f4, 0x20($sp) +/* EEF1C0 802420C0 E7A60024 */ swc1 $f6, 0x24($sp) +/* EEF1C4 802420C4 AFA20010 */ sw $v0, 0x10($sp) +/* EEF1C8 802420C8 8C840080 */ lw $a0, 0x80($a0) +/* EEF1CC 802420CC 0C03908F */ jal func_800E423C +/* EEF1D0 802420D0 27A70020 */ addiu $a3, $sp, 0x20 +/* EEF1D4 802420D4 C7A20024 */ lwc1 $f2, 0x24($sp) +/* EEF1D8 802420D8 3C014059 */ lui $at, 0x4059 +/* EEF1DC 802420DC 44812800 */ mtc1 $at, $f5 +/* EEF1E0 802420E0 44802000 */ mtc1 $zero, $f4 +/* EEF1E4 802420E4 460010A1 */ cvt.d.s $f2, $f2 +/* EEF1E8 802420E8 46241082 */ mul.d $f2, $f2, $f4 +/* EEF1EC 802420EC 00000000 */ nop +/* EEF1F0 802420F0 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* EEF1F4 802420F4 46000021 */ cvt.d.s $f0, $f0 +/* EEF1F8 802420F8 46240002 */ mul.d $f0, $f0, $f4 +/* EEF1FC 802420FC 00000000 */ nop +/* EEF200 80242100 3C013FE0 */ lui $at, 0x3fe0 +/* EEF204 80242104 44812800 */ mtc1 $at, $f5 +/* EEF208 80242108 44802000 */ mtc1 $zero, $f4 +/* EEF20C 8024210C 00000000 */ nop +/* EEF210 80242110 46241080 */ add.d $f2, $f2, $f4 +/* EEF214 80242114 AE000074 */ sw $zero, 0x74($s0) +/* EEF218 80242118 46240000 */ add.d $f0, $f0, $f4 +/* EEF21C 8024211C AE000090 */ sw $zero, 0x90($s0) +/* EEF220 80242120 4620120D */ trunc.w.d $f8, $f2 +/* EEF224 80242124 E6080078 */ swc1 $f8, 0x78($s0) +/* EEF228 80242128 4620020D */ trunc.w.d $f8, $f0 +/* EEF22C 8024212C E6080088 */ swc1 $f8, 0x88($s0) +/* EEF230 80242130 8E420014 */ lw $v0, 0x14($s2) +/* EEF234 80242134 AE220074 */ sw $v0, 0x74($s1) +/* EEF238 80242138 8E0200B0 */ lw $v0, 0xb0($s0) +/* EEF23C 8024213C 34420010 */ ori $v0, $v0, 0x10 +/* EEF240 80242140 AE0200B0 */ sw $v0, 0xb0($s0) +/* EEF244 80242144 8FBF0034 */ lw $ra, 0x34($sp) +/* EEF248 80242148 8FB20030 */ lw $s2, 0x30($sp) +/* EEF24C 8024214C 8FB1002C */ lw $s1, 0x2c($sp) +/* EEF250 80242150 8FB00028 */ lw $s0, 0x28($sp) +/* EEF254 80242154 03E00008 */ jr $ra +/* EEF258 80242158 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_EEDF50/func_8024215C_EEF25C.s b/asm/nonmatchings/code_EEDF50/func_8024215C_EEF25C.s new file mode 100644 index 0000000000..47e208c36a --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_8024215C_EEF25C.s @@ -0,0 +1,142 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024215C_EEF25C +/* EEF25C 8024215C 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EEF260 80242160 AFB50044 */ sw $s5, 0x44($sp) +/* EEF264 80242164 0080A82D */ daddu $s5, $a0, $zero +/* EEF268 80242168 AFBF0048 */ sw $ra, 0x48($sp) +/* EEF26C 8024216C AFB40040 */ sw $s4, 0x40($sp) +/* EEF270 80242170 AFB3003C */ sw $s3, 0x3c($sp) +/* EEF274 80242174 AFB20038 */ sw $s2, 0x38($sp) +/* EEF278 80242178 AFB10034 */ sw $s1, 0x34($sp) +/* EEF27C 8024217C AFB00030 */ sw $s0, 0x30($sp) +/* EEF280 80242180 8EB20148 */ lw $s2, 0x148($s5) +/* EEF284 80242184 86440008 */ lh $a0, 8($s2) +/* EEF288 80242188 8EB0000C */ lw $s0, 0xc($s5) +/* EEF28C 8024218C 0C00F92F */ jal func_8003E4BC +/* EEF290 80242190 00A0882D */ daddu $s1, $a1, $zero +/* EEF294 80242194 02A0202D */ daddu $a0, $s5, $zero +/* EEF298 80242198 8E050000 */ lw $a1, ($s0) +/* EEF29C 8024219C 0C0B53A3 */ jal func_802D4E8C +/* EEF2A0 802421A0 0040A02D */ daddu $s4, $v0, $zero +/* EEF2A4 802421A4 AFA00010 */ sw $zero, 0x10($sp) +/* EEF2A8 802421A8 8E4300D0 */ lw $v1, 0xd0($s2) +/* EEF2AC 802421AC 8C630030 */ lw $v1, 0x30($v1) +/* EEF2B0 802421B0 AFA30014 */ sw $v1, 0x14($sp) +/* EEF2B4 802421B4 8E4300D0 */ lw $v1, 0xd0($s2) +/* EEF2B8 802421B8 8C63001C */ lw $v1, 0x1c($v1) +/* EEF2BC 802421BC AFA30018 */ sw $v1, 0x18($sp) +/* EEF2C0 802421C0 8E4300D0 */ lw $v1, 0xd0($s2) +/* EEF2C4 802421C4 8C630024 */ lw $v1, 0x24($v1) +/* EEF2C8 802421C8 AFA3001C */ sw $v1, 0x1c($sp) +/* EEF2CC 802421CC 8E4300D0 */ lw $v1, 0xd0($s2) +/* EEF2D0 802421D0 8C630028 */ lw $v1, 0x28($v1) +/* EEF2D4 802421D4 AFA30020 */ sw $v1, 0x20($sp) +/* EEF2D8 802421D8 8E4300D0 */ lw $v1, 0xd0($s2) +/* EEF2DC 802421DC 3C0142F0 */ lui $at, 0x42f0 +/* EEF2E0 802421E0 44810000 */ mtc1 $at, $f0 +/* EEF2E4 802421E4 8C63002C */ lw $v1, 0x2c($v1) +/* EEF2E8 802421E8 E7A00028 */ swc1 $f0, 0x28($sp) +/* EEF2EC 802421EC A7A0002C */ sh $zero, 0x2c($sp) +/* EEF2F0 802421F0 AFA30024 */ sw $v1, 0x24($sp) +/* EEF2F4 802421F4 C6800038 */ lwc1 $f0, 0x38($s4) +/* EEF2F8 802421F8 E6400108 */ swc1 $f0, 0x108($s2) +/* EEF2FC 802421FC C680003C */ lwc1 $f0, 0x3c($s4) +/* EEF300 80242200 27B30010 */ addiu $s3, $sp, 0x10 +/* EEF304 80242204 E640010C */ swc1 $f0, 0x10c($s2) +/* EEF308 80242208 3C0138D1 */ lui $at, 0x38d1 +/* EEF30C 8024220C 3421B717 */ ori $at, $at, 0xb717 +/* EEF310 80242210 44810000 */ mtc1 $at, $f0 +/* EEF314 80242214 C6820040 */ lwc1 $f2, 0x40($s4) +/* EEF318 80242218 0040802D */ daddu $s0, $v0, $zero +/* EEF31C 8024221C E6400114 */ swc1 $f0, 0x114($s2) +/* EEF320 80242220 E6400118 */ swc1 $f0, 0x118($s2) +/* EEF324 80242224 12200006 */ beqz $s1, .L80242240 +/* EEF328 80242228 E6420110 */ swc1 $f2, 0x110($s2) +/* EEF32C 8024222C 0280202D */ daddu $a0, $s4, $zero +/* EEF330 80242230 0240282D */ daddu $a1, $s2, $zero +/* EEF334 80242234 02A0302D */ daddu $a2, $s5, $zero +/* EEF338 80242238 0C09080E */ jal func_80242038_EEF138 +/* EEF33C 8024223C 0200382D */ daddu $a3, $s0, $zero +.L80242240: +/* EEF340 80242240 2402FFFE */ addiu $v0, $zero, -2 +/* EEF344 80242244 A28200AB */ sb $v0, 0xab($s4) +/* EEF348 80242248 8E4300B0 */ lw $v1, 0xb0($s2) +/* EEF34C 8024224C 30620004 */ andi $v0, $v1, 4 +/* EEF350 80242250 10400007 */ beqz $v0, .L80242270 +/* EEF354 80242254 00000000 */ nop +/* EEF358 80242258 824200B4 */ lb $v0, 0xb4($s2) +/* EEF35C 8024225C 1440003C */ bnez $v0, .L80242350 +/* EEF360 80242260 0000102D */ daddu $v0, $zero, $zero +/* EEF364 80242264 2402FFFB */ addiu $v0, $zero, -5 +/* EEF368 80242268 00621024 */ and $v0, $v1, $v0 +/* EEF36C 8024226C AE4200B0 */ sw $v0, 0xb0($s2) +.L80242270: +/* EEF370 80242270 8EA30070 */ lw $v1, 0x70($s5) +/* EEF374 80242274 2C62000F */ sltiu $v0, $v1, 0xf +/* EEF378 80242278 10400034 */ beqz $v0, .L8024234C +/* EEF37C 8024227C 00031080 */ sll $v0, $v1, 2 +/* EEF380 80242280 3C018024 */ lui $at, %hi(D_80245468) +/* EEF384 80242284 00220821 */ addu $at, $at, $v0 +/* EEF388 80242288 8C225468 */ lw $v0, %lo(D_80245468)($at) +/* EEF38C 8024228C 00400008 */ jr $v0 +/* EEF390 80242290 00000000 */ nop +/* EEF394 80242294 02A0202D */ daddu $a0, $s5, $zero +/* EEF398 80242298 0200282D */ daddu $a1, $s0, $zero +/* EEF39C 8024229C 0C090394 */ jal func_80240E50_EEDF50 +/* EEF3A0 802422A0 0260302D */ daddu $a2, $s3, $zero +/* EEF3A4 802422A4 02A0202D */ daddu $a0, $s5, $zero +/* EEF3A8 802422A8 0200282D */ daddu $a1, $s0, $zero +/* EEF3AC 802422AC 0C090400 */ jal func_80241000_EEE100 +/* EEF3B0 802422B0 0260302D */ daddu $a2, $s3, $zero +/* EEF3B4 802422B4 080908D4 */ j .L80242350 +/* EEF3B8 802422B8 0000102D */ daddu $v0, $zero, $zero +/* EEF3BC 802422BC 02A0202D */ daddu $a0, $s5, $zero +/* EEF3C0 802422C0 0200282D */ daddu $a1, $s0, $zero +/* EEF3C4 802422C4 0C09058A */ jal func_80241628_EEE728 +/* EEF3C8 802422C8 0260302D */ daddu $a2, $s3, $zero +/* EEF3CC 802422CC 02A0202D */ daddu $a0, $s5, $zero +/* EEF3D0 802422D0 0200282D */ daddu $a1, $s0, $zero +/* EEF3D4 802422D4 0C0905BA */ jal func_802416E8_EEE7E8 +/* EEF3D8 802422D8 0260302D */ daddu $a2, $s3, $zero +/* EEF3DC 802422DC 080908D4 */ j .L80242350 +/* EEF3E0 802422E0 0000102D */ daddu $v0, $zero, $zero +/* EEF3E4 802422E4 02A0202D */ daddu $a0, $s5, $zero +/* EEF3E8 802422E8 0200282D */ daddu $a1, $s0, $zero +/* EEF3EC 802422EC 0C09068B */ jal func_80241A2C_EEEB2C +/* EEF3F0 802422F0 0260302D */ daddu $a2, $s3, $zero +/* EEF3F4 802422F4 02A0202D */ daddu $a0, $s5, $zero +/* EEF3F8 802422F8 0200282D */ daddu $a1, $s0, $zero +/* EEF3FC 802422FC 0C0906A9 */ jal func_80241AA4_EEEBA4 +/* EEF400 80242300 0260302D */ daddu $a2, $s3, $zero +/* EEF404 80242304 080908D4 */ j .L80242350 +/* EEF408 80242308 0000102D */ daddu $v0, $zero, $zero +/* EEF40C 8024230C 02A0202D */ daddu $a0, $s5, $zero +/* EEF410 80242310 0200282D */ daddu $a1, $s0, $zero +/* EEF414 80242314 0C0906C4 */ jal func_80241B10_EEEC10 +/* EEF418 80242318 0260302D */ daddu $a2, $s3, $zero +/* EEF41C 8024231C 080908D4 */ j .L80242350 +/* EEF420 80242320 0000102D */ daddu $v0, $zero, $zero +/* EEF424 80242324 02A0202D */ daddu $a0, $s5, $zero +/* EEF428 80242328 0200282D */ daddu $a1, $s0, $zero +/* EEF42C 8024232C 0C090711 */ jal func_80241C44_EEED44 +/* EEF430 80242330 0260302D */ daddu $a2, $s3, $zero +/* EEF434 80242334 080908D4 */ j .L80242350 +/* EEF438 80242338 0000102D */ daddu $v0, $zero, $zero +/* EEF43C 8024233C 02A0202D */ daddu $a0, $s5, $zero +/* EEF440 80242340 0200282D */ daddu $a1, $s0, $zero +/* EEF444 80242344 0C09072A */ jal func_80241CA8_EEEDA8 +/* EEF448 80242348 0260302D */ daddu $a2, $s3, $zero +.L8024234C: +/* EEF44C 8024234C 0000102D */ daddu $v0, $zero, $zero +.L80242350: +/* EEF450 80242350 8FBF0048 */ lw $ra, 0x48($sp) +/* EEF454 80242354 8FB50044 */ lw $s5, 0x44($sp) +/* EEF458 80242358 8FB40040 */ lw $s4, 0x40($sp) +/* EEF45C 8024235C 8FB3003C */ lw $s3, 0x3c($sp) +/* EEF460 80242360 8FB20038 */ lw $s2, 0x38($sp) +/* EEF464 80242364 8FB10034 */ lw $s1, 0x34($sp) +/* EEF468 80242368 8FB00030 */ lw $s0, 0x30($sp) +/* EEF46C 8024236C 03E00008 */ jr $ra +/* EEF470 80242370 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EEDF50/func_80242374_EEF474.s b/asm/nonmatchings/code_EEDF50/func_80242374_EEF474.s new file mode 100644 index 0000000000..db2716e46a --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_80242374_EEF474.s @@ -0,0 +1,82 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242374_EEF474 +/* EEF474 80242374 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EEF478 80242378 AFB3001C */ sw $s3, 0x1c($sp) +/* EEF47C 8024237C 0080982D */ daddu $s3, $a0, $zero +/* EEF480 80242380 AFBF0020 */ sw $ra, 0x20($sp) +/* EEF484 80242384 AFB20018 */ sw $s2, 0x18($sp) +/* EEF488 80242388 AFB10014 */ sw $s1, 0x14($sp) +/* EEF48C 8024238C AFB00010 */ sw $s0, 0x10($sp) +/* EEF490 80242390 F7B40028 */ sdc1 $f20, 0x28($sp) +/* EEF494 80242394 8E710148 */ lw $s1, 0x148($s3) +/* EEF498 80242398 86240008 */ lh $a0, 8($s1) +/* EEF49C 8024239C 0C00F92F */ jal func_8003E4BC +/* EEF4A0 802423A0 00A0802D */ daddu $s0, $a1, $zero +/* EEF4A4 802423A4 8E040020 */ lw $a0, 0x20($s0) +/* EEF4A8 802423A8 0040902D */ daddu $s2, $v0, $zero +/* EEF4AC 802423AC 00041FC2 */ srl $v1, $a0, 0x1f +/* EEF4B0 802423B0 00832021 */ addu $a0, $a0, $v1 +/* EEF4B4 802423B4 00042043 */ sra $a0, $a0, 1 +/* EEF4B8 802423B8 0C00AB3B */ jal func_8002ACEC +/* EEF4BC 802423BC 24840001 */ addiu $a0, $a0, 1 +/* EEF4C0 802423C0 8E030020 */ lw $v1, 0x20($s0) +/* EEF4C4 802423C4 C64C0038 */ lwc1 $f12, 0x38($s2) +/* EEF4C8 802423C8 000327C2 */ srl $a0, $v1, 0x1f +/* EEF4CC 802423CC 00641821 */ addu $v1, $v1, $a0 +/* EEF4D0 802423D0 00031843 */ sra $v1, $v1, 1 +/* EEF4D4 802423D4 00621821 */ addu $v1, $v1, $v0 +/* EEF4D8 802423D8 A643008E */ sh $v1, 0x8e($s2) +/* EEF4DC 802423DC 8E2200CC */ lw $v0, 0xcc($s1) +/* EEF4E0 802423E0 C64E0040 */ lwc1 $f14, 0x40($s2) +/* EEF4E4 802423E4 8C42000C */ lw $v0, 0xc($v0) +/* EEF4E8 802423E8 AE420028 */ sw $v0, 0x28($s2) +/* EEF4EC 802423EC C6000018 */ lwc1 $f0, 0x18($s0) +/* EEF4F0 802423F0 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EEF4F4 802423F4 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EEF4F8 802423F8 E6400018 */ swc1 $f0, 0x18($s2) +/* EEF4FC 802423FC 8C460028 */ lw $a2, 0x28($v0) +/* EEF500 80242400 0C00ABDC */ jal fio_validate_header_checksums +/* EEF504 80242404 8C470030 */ lw $a3, 0x30($v0) +/* EEF508 80242408 46000506 */ mov.s $f20, $f0 +/* EEF50C 8024240C C64C000C */ lwc1 $f12, 0xc($s2) +/* EEF510 80242410 0C00ABC6 */ jal func_8002AF18 +/* EEF514 80242414 4600A386 */ mov.s $f14, $f20 +/* EEF518 80242418 46000086 */ mov.s $f2, $f0 +/* EEF51C 8024241C 8E02001C */ lw $v0, 0x1c($s0) +/* EEF520 80242420 46001005 */ abs.s $f0, $f2 +/* EEF524 80242424 44822000 */ mtc1 $v0, $f4 +/* EEF528 80242428 00000000 */ nop +/* EEF52C 8024242C 46802120 */ cvt.s.w $f4, $f4 +/* EEF530 80242430 4600203C */ c.lt.s $f4, $f0 +/* EEF534 80242434 00000000 */ nop +/* EEF538 80242438 4500000D */ bc1f .L80242470 +/* EEF53C 8024243C 00000000 */ nop +/* EEF540 80242440 44800000 */ mtc1 $zero, $f0 +/* EEF544 80242444 C654000C */ lwc1 $f20, 0xc($s2) +/* EEF548 80242448 4600103C */ c.lt.s $f2, $f0 +/* EEF54C 8024244C 00000000 */ nop +/* EEF550 80242450 45000006 */ bc1f .L8024246C +/* EEF554 80242454 00021023 */ negu $v0, $v0 +/* EEF558 80242458 44820000 */ mtc1 $v0, $f0 +/* EEF55C 8024245C 00000000 */ nop +/* EEF560 80242460 46800020 */ cvt.s.w $f0, $f0 +/* EEF564 80242464 0809091C */ j .L80242470 +/* EEF568 80242468 4600A500 */ add.s $f20, $f20, $f0 +.L8024246C: +/* EEF56C 8024246C 4604A500 */ add.s $f20, $f20, $f4 +.L80242470: +/* EEF570 80242470 0C00AB85 */ jal func_8002AE14 +/* EEF574 80242474 4600A306 */ mov.s $f12, $f20 +/* EEF578 80242478 2402000D */ addiu $v0, $zero, 0xd +/* EEF57C 8024247C E640000C */ swc1 $f0, 0xc($s2) +/* EEF580 80242480 AE620070 */ sw $v0, 0x70($s3) +/* EEF584 80242484 8FBF0020 */ lw $ra, 0x20($sp) +/* EEF588 80242488 8FB3001C */ lw $s3, 0x1c($sp) +/* EEF58C 8024248C 8FB20018 */ lw $s2, 0x18($sp) +/* EEF590 80242490 8FB10014 */ lw $s1, 0x14($sp) +/* EEF594 80242494 8FB00010 */ lw $s0, 0x10($sp) +/* EEF598 80242498 D7B40028 */ ldc1 $f20, 0x28($sp) +/* EEF59C 8024249C 03E00008 */ jr $ra +/* EEF5A0 802424A0 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_EEDF50/func_802424A4_EEF5A4.s b/asm/nonmatchings/code_EEDF50/func_802424A4_EEF5A4.s new file mode 100644 index 0000000000..bdb552b586 --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_802424A4_EEF5A4.s @@ -0,0 +1,172 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802424A4_EEF5A4 +/* EEF5A4 802424A4 27BDFFA8 */ addiu $sp, $sp, -0x58 +/* EEF5A8 802424A8 AFB3004C */ sw $s3, 0x4c($sp) +/* EEF5AC 802424AC 0080982D */ daddu $s3, $a0, $zero +/* EEF5B0 802424B0 AFBF0050 */ sw $ra, 0x50($sp) +/* EEF5B4 802424B4 AFB20048 */ sw $s2, 0x48($sp) +/* EEF5B8 802424B8 AFB10044 */ sw $s1, 0x44($sp) +/* EEF5BC 802424BC AFB00040 */ sw $s0, 0x40($sp) +/* EEF5C0 802424C0 8E720148 */ lw $s2, 0x148($s3) +/* EEF5C4 802424C4 00A0882D */ daddu $s1, $a1, $zero +/* EEF5C8 802424C8 86440008 */ lh $a0, 8($s2) +/* EEF5CC 802424CC 0C00F92F */ jal func_8003E4BC +/* EEF5D0 802424D0 00C0802D */ daddu $s0, $a2, $zero +/* EEF5D4 802424D4 0200202D */ daddu $a0, $s0, $zero +/* EEF5D8 802424D8 0240282D */ daddu $a1, $s2, $zero +/* EEF5DC 802424DC 24030001 */ addiu $v1, $zero, 1 +/* EEF5E0 802424E0 AFA30010 */ sw $v1, 0x10($sp) +/* EEF5E4 802424E4 8E260024 */ lw $a2, 0x24($s1) +/* EEF5E8 802424E8 8E270028 */ lw $a3, 0x28($s1) +/* EEF5EC 802424EC 0C013469 */ jal func_8004D1A4 +/* EEF5F0 802424F0 0040802D */ daddu $s0, $v0, $zero +/* EEF5F4 802424F4 14400020 */ bnez $v0, .L80242578 +/* EEF5F8 802424F8 24040002 */ addiu $a0, $zero, 2 +/* EEF5FC 802424FC 0200282D */ daddu $a1, $s0, $zero +/* EEF600 80242500 0000302D */ daddu $a2, $zero, $zero +/* EEF604 80242504 860300A8 */ lh $v1, 0xa8($s0) +/* EEF608 80242508 3C013F80 */ lui $at, 0x3f80 +/* EEF60C 8024250C 44810000 */ mtc1 $at, $f0 +/* EEF610 80242510 3C014000 */ lui $at, 0x4000 +/* EEF614 80242514 44811000 */ mtc1 $at, $f2 +/* EEF618 80242518 3C01C1A0 */ lui $at, 0xc1a0 +/* EEF61C 8024251C 44812000 */ mtc1 $at, $f4 +/* EEF620 80242520 2402000F */ addiu $v0, $zero, 0xf +/* EEF624 80242524 AFA2001C */ sw $v0, 0x1c($sp) +/* EEF628 80242528 44834000 */ mtc1 $v1, $f8 +/* EEF62C 8024252C 00000000 */ nop +/* EEF630 80242530 46804220 */ cvt.s.w $f8, $f8 +/* EEF634 80242534 44074000 */ mfc1 $a3, $f8 +/* EEF638 80242538 27A20028 */ addiu $v0, $sp, 0x28 +/* EEF63C 8024253C AFA20020 */ sw $v0, 0x20($sp) +/* EEF640 80242540 E7A00010 */ swc1 $f0, 0x10($sp) +/* EEF644 80242544 E7A20014 */ swc1 $f2, 0x14($sp) +/* EEF648 80242548 0C01D444 */ jal func_80075110 +/* EEF64C 8024254C E7A40018 */ swc1 $f4, 0x18($sp) +/* EEF650 80242550 8E4200CC */ lw $v0, 0xcc($s2) +/* EEF654 80242554 8C430000 */ lw $v1, ($v0) +/* EEF658 80242558 2402001E */ addiu $v0, $zero, 0x1e +/* EEF65C 8024255C A602008E */ sh $v0, 0x8e($s0) +/* EEF660 80242560 24020014 */ addiu $v0, $zero, 0x14 +/* EEF664 80242564 AE030028 */ sw $v1, 0x28($s0) +/* EEF668 80242568 AE620070 */ sw $v0, 0x70($s3) +/* EEF66C 8024256C 2402001E */ addiu $v0, $zero, 0x1e +/* EEF670 80242570 080909C2 */ j .L80242708 +/* EEF674 80242574 AE420090 */ sw $v0, 0x90($s2) +.L80242578: +/* EEF678 80242578 8E050018 */ lw $a1, 0x18($s0) +/* EEF67C 8024257C 8E06000C */ lw $a2, 0xc($s0) +/* EEF680 80242580 0C00F909 */ jal func_8003E424 +/* EEF684 80242584 0200202D */ daddu $a0, $s0, $zero +/* EEF688 80242588 8E020000 */ lw $v0, ($s0) +/* EEF68C 8024258C 30420008 */ andi $v0, $v0, 8 +/* EEF690 80242590 14400028 */ bnez $v0, .L80242634 +/* EEF694 80242594 0000882D */ daddu $s1, $zero, $zero +/* EEF698 80242598 27A5002C */ addiu $a1, $sp, 0x2c +/* EEF69C 8024259C 27A60030 */ addiu $a2, $sp, 0x30 +/* EEF6A0 802425A0 860200A8 */ lh $v0, 0xa8($s0) +/* EEF6A4 802425A4 C6000038 */ lwc1 $f0, 0x38($s0) +/* EEF6A8 802425A8 44821000 */ mtc1 $v0, $f2 +/* EEF6AC 802425AC 00000000 */ nop +/* EEF6B0 802425B0 468010A0 */ cvt.s.w $f2, $f2 +/* EEF6B4 802425B4 E7A0002C */ swc1 $f0, 0x2c($sp) +/* EEF6B8 802425B8 860200A8 */ lh $v0, 0xa8($s0) +/* EEF6BC 802425BC C604003C */ lwc1 $f4, 0x3c($s0) +/* EEF6C0 802425C0 C6060040 */ lwc1 $f6, 0x40($s0) +/* EEF6C4 802425C4 44820000 */ mtc1 $v0, $f0 +/* EEF6C8 802425C8 00000000 */ nop +/* EEF6CC 802425CC 46800021 */ cvt.d.w $f0, $f0 +/* EEF6D0 802425D0 46022100 */ add.s $f4, $f4, $f2 +/* EEF6D4 802425D4 3C014008 */ lui $at, 0x4008 +/* EEF6D8 802425D8 44811800 */ mtc1 $at, $f3 +/* EEF6DC 802425DC 44801000 */ mtc1 $zero, $f2 +/* EEF6E0 802425E0 27A20038 */ addiu $v0, $sp, 0x38 +/* EEF6E4 802425E4 46220000 */ add.d $f0, $f0, $f2 +/* EEF6E8 802425E8 E7A60034 */ swc1 $f6, 0x34($sp) +/* EEF6EC 802425EC E7A40030 */ swc1 $f4, 0x30($sp) +/* EEF6F0 802425F0 46200020 */ cvt.s.d $f0, $f0 +/* EEF6F4 802425F4 E7A00038 */ swc1 $f0, 0x38($sp) +/* EEF6F8 802425F8 AFA20010 */ sw $v0, 0x10($sp) +/* EEF6FC 802425FC 8E040080 */ lw $a0, 0x80($s0) +/* EEF700 80242600 0C03908F */ jal func_800E423C +/* EEF704 80242604 27A70034 */ addiu $a3, $sp, 0x34 +/* EEF708 80242608 1040000A */ beqz $v0, .L80242634 +/* EEF70C 8024260C 00000000 */ nop +/* EEF710 80242610 860200A8 */ lh $v0, 0xa8($s0) +/* EEF714 80242614 C7A20038 */ lwc1 $f2, 0x38($sp) +/* EEF718 80242618 44820000 */ mtc1 $v0, $f0 +/* EEF71C 8024261C 00000000 */ nop +/* EEF720 80242620 46800020 */ cvt.s.w $f0, $f0 +/* EEF724 80242624 4600103C */ c.lt.s $f2, $f0 +/* EEF728 80242628 00000000 */ nop +/* EEF72C 8024262C 45030001 */ bc1tl .L80242634 +/* EEF730 80242630 24110001 */ addiu $s1, $zero, 1 +.L80242634: +/* EEF734 80242634 12200008 */ beqz $s1, .L80242658 +/* EEF738 80242638 00000000 */ nop +/* EEF73C 8024263C C7A00030 */ lwc1 $f0, 0x30($sp) +/* EEF740 80242640 3C013FF0 */ lui $at, 0x3ff0 +/* EEF744 80242644 44811800 */ mtc1 $at, $f3 +/* EEF748 80242648 44801000 */ mtc1 $zero, $f2 +/* EEF74C 8024264C 46000021 */ cvt.d.s $f0, $f0 +/* EEF750 80242650 080909B8 */ j .L802426E0 +/* EEF754 80242654 46220000 */ add.d $f0, $f0, $f2 +.L80242658: +/* EEF758 80242658 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EEF75C 8024265C 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EEF760 80242660 3C014018 */ lui $at, 0x4018 +/* EEF764 80242664 44811800 */ mtc1 $at, $f3 +/* EEF768 80242668 44801000 */ mtc1 $zero, $f2 +/* EEF76C 8024266C C440002C */ lwc1 $f0, 0x2c($v0) +/* EEF770 80242670 C604003C */ lwc1 $f4, 0x3c($s0) +/* EEF774 80242674 46000021 */ cvt.d.s $f0, $f0 +/* EEF778 80242678 46220000 */ add.d $f0, $f0, $f2 +/* EEF77C 8024267C 46002121 */ cvt.d.s $f4, $f4 +/* EEF780 80242680 46202001 */ sub.d $f0, $f4, $f0 +/* EEF784 80242684 462001A0 */ cvt.s.d $f6, $f0 +/* EEF788 80242688 44800000 */ mtc1 $zero, $f0 +/* EEF78C 8024268C 44800800 */ mtc1 $zero, $f1 +/* EEF790 80242690 460030A1 */ cvt.d.s $f2, $f6 +/* EEF794 80242694 4620103C */ c.lt.d $f2, $f0 +/* EEF798 80242698 00000000 */ nop +/* EEF79C 8024269C 45010009 */ bc1t .L802426C4 +/* EEF7A0 802426A0 00000000 */ nop +/* EEF7A4 802426A4 3C014010 */ lui $at, 0x4010 +/* EEF7A8 802426A8 44810800 */ mtc1 $at, $f1 +/* EEF7AC 802426AC 44800000 */ mtc1 $zero, $f0 +/* EEF7B0 802426B0 00000000 */ nop +/* EEF7B4 802426B4 4622003C */ c.lt.d $f0, $f2 +/* EEF7B8 802426B8 00000000 */ nop +/* EEF7BC 802426BC 4500000A */ bc1f .L802426E8 +/* EEF7C0 802426C0 00000000 */ nop +.L802426C4: +/* EEF7C4 802426C4 3C018024 */ lui $at, %hi(D_802454A8) +/* EEF7C8 802426C8 D42254A8 */ ldc1 $f2, %lo(D_802454A8)($at) +/* EEF7CC 802426CC 46003187 */ neg.s $f6, $f6 +/* EEF7D0 802426D0 46003021 */ cvt.d.s $f0, $f6 +/* EEF7D4 802426D4 46220002 */ mul.d $f0, $f0, $f2 +/* EEF7D8 802426D8 00000000 */ nop +/* EEF7DC 802426DC 46202000 */ add.d $f0, $f4, $f0 +.L802426E0: +/* EEF7E0 802426E0 46200020 */ cvt.s.d $f0, $f0 +/* EEF7E4 802426E4 E600003C */ swc1 $f0, 0x3c($s0) +.L802426E8: +/* EEF7E8 802426E8 8602008E */ lh $v0, 0x8e($s0) +/* EEF7EC 802426EC 9603008E */ lhu $v1, 0x8e($s0) +/* EEF7F0 802426F0 18400003 */ blez $v0, .L80242700 +/* EEF7F4 802426F4 2462FFFF */ addiu $v0, $v1, -1 +/* EEF7F8 802426F8 080909C2 */ j .L80242708 +/* EEF7FC 802426FC A602008E */ sh $v0, 0x8e($s0) +.L80242700: +/* EEF800 80242700 2402000C */ addiu $v0, $zero, 0xc +/* EEF804 80242704 AE620070 */ sw $v0, 0x70($s3) +.L80242708: +/* EEF808 80242708 8FBF0050 */ lw $ra, 0x50($sp) +/* EEF80C 8024270C 8FB3004C */ lw $s3, 0x4c($sp) +/* EEF810 80242710 8FB20048 */ lw $s2, 0x48($sp) +/* EEF814 80242714 8FB10044 */ lw $s1, 0x44($sp) +/* EEF818 80242718 8FB00040 */ lw $s0, 0x40($sp) +/* EEF81C 8024271C 03E00008 */ jr $ra +/* EEF820 80242720 27BD0058 */ addiu $sp, $sp, 0x58 diff --git a/asm/nonmatchings/code_EEDF50/func_80242724_EEF824.s b/asm/nonmatchings/code_EEDF50/func_80242724_EEF824.s new file mode 100644 index 0000000000..bf5455e928 --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_80242724_EEF824.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242724_EEF824 +/* EEF824 80242724 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EEF828 80242728 AFB10014 */ sw $s1, 0x14($sp) +/* EEF82C 8024272C 0080882D */ daddu $s1, $a0, $zero +/* EEF830 80242730 AFBF0018 */ sw $ra, 0x18($sp) +/* EEF834 80242734 AFB00010 */ sw $s0, 0x10($sp) +/* EEF838 80242738 8E300148 */ lw $s0, 0x148($s1) +/* EEF83C 8024273C 0C00F92F */ jal func_8003E4BC +/* EEF840 80242740 86040008 */ lh $a0, 8($s0) +/* EEF844 80242744 0040182D */ daddu $v1, $v0, $zero +/* EEF848 80242748 9462008E */ lhu $v0, 0x8e($v1) +/* EEF84C 8024274C 2442FFFF */ addiu $v0, $v0, -1 +/* EEF850 80242750 A462008E */ sh $v0, 0x8e($v1) +/* EEF854 80242754 00021400 */ sll $v0, $v0, 0x10 +/* EEF858 80242758 1C400004 */ bgtz $v0, .L8024276C +/* EEF85C 8024275C 00000000 */ nop +/* EEF860 80242760 AE000074 */ sw $zero, 0x74($s0) +/* EEF864 80242764 A460008E */ sh $zero, 0x8e($v1) +/* EEF868 80242768 AE200070 */ sw $zero, 0x70($s1) +.L8024276C: +/* EEF86C 8024276C 8FBF0018 */ lw $ra, 0x18($sp) +/* EEF870 80242770 8FB10014 */ lw $s1, 0x14($sp) +/* EEF874 80242774 8FB00010 */ lw $s0, 0x10($sp) +/* EEF878 80242778 03E00008 */ jr $ra +/* EEF87C 8024277C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EEDF50/func_80242780_EEF880.s b/asm/nonmatchings/code_EEDF50/func_80242780_EEF880.s new file mode 100644 index 0000000000..add6dd1d19 --- /dev/null +++ b/asm/nonmatchings/code_EEDF50/func_80242780_EEF880.s @@ -0,0 +1,144 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242780_EEF880 +/* EEF880 80242780 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EEF884 80242784 AFB40040 */ sw $s4, 0x40($sp) +/* EEF888 80242788 0080A02D */ daddu $s4, $a0, $zero +/* EEF88C 8024278C AFBF0048 */ sw $ra, 0x48($sp) +/* EEF890 80242790 AFB50044 */ sw $s5, 0x44($sp) +/* EEF894 80242794 AFB3003C */ sw $s3, 0x3c($sp) +/* EEF898 80242798 AFB20038 */ sw $s2, 0x38($sp) +/* EEF89C 8024279C AFB10034 */ sw $s1, 0x34($sp) +/* EEF8A0 802427A0 AFB00030 */ sw $s0, 0x30($sp) +/* EEF8A4 802427A4 8E920148 */ lw $s2, 0x148($s4) +/* EEF8A8 802427A8 86440008 */ lh $a0, 8($s2) +/* EEF8AC 802427AC 8E90000C */ lw $s0, 0xc($s4) +/* EEF8B0 802427B0 0C00F92F */ jal func_8003E4BC +/* EEF8B4 802427B4 00A0882D */ daddu $s1, $a1, $zero +/* EEF8B8 802427B8 0280202D */ daddu $a0, $s4, $zero +/* EEF8BC 802427BC 8E050000 */ lw $a1, ($s0) +/* EEF8C0 802427C0 0C0B53A3 */ jal func_802D4E8C +/* EEF8C4 802427C4 0040A82D */ daddu $s5, $v0, $zero +/* EEF8C8 802427C8 AFA00010 */ sw $zero, 0x10($sp) +/* EEF8CC 802427CC 8E4300D0 */ lw $v1, 0xd0($s2) +/* EEF8D0 802427D0 8C630030 */ lw $v1, 0x30($v1) +/* EEF8D4 802427D4 AFA30014 */ sw $v1, 0x14($sp) +/* EEF8D8 802427D8 8E4300D0 */ lw $v1, 0xd0($s2) +/* EEF8DC 802427DC 8C63001C */ lw $v1, 0x1c($v1) +/* EEF8E0 802427E0 AFA30018 */ sw $v1, 0x18($sp) +/* EEF8E4 802427E4 8E4300D0 */ lw $v1, 0xd0($s2) +/* EEF8E8 802427E8 8C630024 */ lw $v1, 0x24($v1) +/* EEF8EC 802427EC AFA3001C */ sw $v1, 0x1c($sp) +/* EEF8F0 802427F0 8E4300D0 */ lw $v1, 0xd0($s2) +/* EEF8F4 802427F4 8C630028 */ lw $v1, 0x28($v1) +/* EEF8F8 802427F8 AFA30020 */ sw $v1, 0x20($sp) +/* EEF8FC 802427FC 8E4300D0 */ lw $v1, 0xd0($s2) +/* EEF900 80242800 3C0142F0 */ lui $at, 0x42f0 +/* EEF904 80242804 44810000 */ mtc1 $at, $f0 +/* EEF908 80242808 8C63002C */ lw $v1, 0x2c($v1) +/* EEF90C 8024280C E7A00028 */ swc1 $f0, 0x28($sp) +/* EEF910 80242810 A7A0002C */ sh $zero, 0x2c($sp) +/* EEF914 80242814 AFA30024 */ sw $v1, 0x24($sp) +/* EEF918 80242818 C6A00038 */ lwc1 $f0, 0x38($s5) +/* EEF91C 8024281C E6400108 */ swc1 $f0, 0x108($s2) +/* EEF920 80242820 C6A0003C */ lwc1 $f0, 0x3c($s5) +/* EEF924 80242824 27B30010 */ addiu $s3, $sp, 0x10 +/* EEF928 80242828 E640010C */ swc1 $f0, 0x10c($s2) +/* EEF92C 8024282C 3C0138D1 */ lui $at, 0x38d1 +/* EEF930 80242830 3421B717 */ ori $at, $at, 0xb717 +/* EEF934 80242834 44810000 */ mtc1 $at, $f0 +/* EEF938 80242838 C6A20040 */ lwc1 $f2, 0x40($s5) +/* EEF93C 8024283C 0040802D */ daddu $s0, $v0, $zero +/* EEF940 80242840 E6400114 */ swc1 $f0, 0x114($s2) +/* EEF944 80242844 E6400118 */ swc1 $f0, 0x118($s2) +/* EEF948 80242848 12200007 */ beqz $s1, .L80242868 +/* EEF94C 8024284C E6420110 */ swc1 $f2, 0x110($s2) +/* EEF950 80242850 02A0202D */ daddu $a0, $s5, $zero +/* EEF954 80242854 0240282D */ daddu $a1, $s2, $zero +/* EEF958 80242858 0280302D */ daddu $a2, $s4, $zero +/* EEF95C 8024285C 0C09080E */ jal func_80242038_EEF138 +/* EEF960 80242860 0200382D */ daddu $a3, $s0, $zero +/* EEF964 80242864 AE800070 */ sw $zero, 0x70($s4) +.L80242868: +/* EEF968 80242868 2402FFFE */ addiu $v0, $zero, -2 +/* EEF96C 8024286C A2A200AB */ sb $v0, 0xab($s5) +/* EEF970 80242870 8E4300B0 */ lw $v1, 0xb0($s2) +/* EEF974 80242874 30620004 */ andi $v0, $v1, 4 +/* EEF978 80242878 10400007 */ beqz $v0, .L80242898 +/* EEF97C 8024287C 00000000 */ nop +/* EEF980 80242880 824200B4 */ lb $v0, 0xb4($s2) +/* EEF984 80242884 1440003A */ bnez $v0, .L80242970 +/* EEF988 80242888 0000102D */ daddu $v0, $zero, $zero +/* EEF98C 8024288C 2402FFFB */ addiu $v0, $zero, -5 +/* EEF990 80242890 00621024 */ and $v0, $v1, $v0 +/* EEF994 80242894 AE4200B0 */ sw $v0, 0xb0($s2) +.L80242898: +/* EEF998 80242898 8E830070 */ lw $v1, 0x70($s4) +/* EEF99C 8024289C 2C620015 */ sltiu $v0, $v1, 0x15 +/* EEF9A0 802428A0 10400032 */ beqz $v0, .L8024296C +/* EEF9A4 802428A4 00031080 */ sll $v0, $v1, 2 +/* EEF9A8 802428A8 3C018024 */ lui $at, %hi(D_802454B0) +/* EEF9AC 802428AC 00220821 */ addu $at, $at, $v0 +/* EEF9B0 802428B0 8C2254B0 */ lw $v0, %lo(D_802454B0)($at) +/* EEF9B4 802428B4 00400008 */ jr $v0 +/* EEF9B8 802428B8 00000000 */ nop +/* EEF9BC 802428BC 0280202D */ daddu $a0, $s4, $zero +/* EEF9C0 802428C0 0200282D */ daddu $a1, $s0, $zero +/* EEF9C4 802428C4 0C090394 */ jal func_80240E50_EEDF50 +/* EEF9C8 802428C8 0260302D */ daddu $a2, $s3, $zero +/* EEF9CC 802428CC 0280202D */ daddu $a0, $s4, $zero +/* EEF9D0 802428D0 0200282D */ daddu $a1, $s0, $zero +/* EEF9D4 802428D4 0C090400 */ jal func_80241000_EEE100 +/* EEF9D8 802428D8 0260302D */ daddu $a2, $s3, $zero +/* EEF9DC 802428DC 08090A5C */ j .L80242970 +/* EEF9E0 802428E0 0000102D */ daddu $v0, $zero, $zero +/* EEF9E4 802428E4 0280202D */ daddu $a0, $s4, $zero +/* EEF9E8 802428E8 0200282D */ daddu $a1, $s0, $zero +/* EEF9EC 802428EC 0C09058A */ jal func_80241628_EEE728 +/* EEF9F0 802428F0 0260302D */ daddu $a2, $s3, $zero +/* EEF9F4 802428F4 0280202D */ daddu $a0, $s4, $zero +/* EEF9F8 802428F8 0200282D */ daddu $a1, $s0, $zero +/* EEF9FC 802428FC 0C0905BA */ jal func_802416E8_EEE7E8 +/* EEFA00 80242900 0260302D */ daddu $a2, $s3, $zero +/* EEFA04 80242904 08090A5C */ j .L80242970 +/* EEFA08 80242908 0000102D */ daddu $v0, $zero, $zero +/* EEFA0C 8024290C 0280202D */ daddu $a0, $s4, $zero +/* EEFA10 80242910 0200282D */ daddu $a1, $s0, $zero +/* EEFA14 80242914 0C09068B */ jal func_80241A2C_EEEB2C +/* EEFA18 80242918 0260302D */ daddu $a2, $s3, $zero +/* EEFA1C 8024291C 0280202D */ daddu $a0, $s4, $zero +/* EEFA20 80242920 0200282D */ daddu $a1, $s0, $zero +/* EEFA24 80242924 0C0906A9 */ jal func_80241AA4_EEEBA4 +/* EEFA28 80242928 0260302D */ daddu $a2, $s3, $zero +/* EEFA2C 8024292C 08090A5C */ j .L80242970 +/* EEFA30 80242930 0000102D */ daddu $v0, $zero, $zero +/* EEFA34 80242934 0280202D */ daddu $a0, $s4, $zero +/* EEFA38 80242938 0200282D */ daddu $a1, $s0, $zero +/* EEFA3C 8024293C 0C0908DD */ jal func_80242374_EEF474 +/* EEFA40 80242940 0260302D */ daddu $a2, $s3, $zero +/* EEFA44 80242944 0280202D */ daddu $a0, $s4, $zero +/* EEFA48 80242948 0200282D */ daddu $a1, $s0, $zero +/* EEFA4C 8024294C 0C090929 */ jal func_802424A4_EEF5A4 +/* EEFA50 80242950 0260302D */ daddu $a2, $s3, $zero +/* EEFA54 80242954 08090A5C */ j .L80242970 +/* EEFA58 80242958 0000102D */ daddu $v0, $zero, $zero +/* EEFA5C 8024295C 0280202D */ daddu $a0, $s4, $zero +/* EEFA60 80242960 0200282D */ daddu $a1, $s0, $zero +/* EEFA64 80242964 0C0909C9 */ jal func_80242724_EEF824 +/* EEFA68 80242968 0260302D */ daddu $a2, $s3, $zero +.L8024296C: +/* EEFA6C 8024296C 0000102D */ daddu $v0, $zero, $zero +.L80242970: +/* EEFA70 80242970 8FBF0048 */ lw $ra, 0x48($sp) +/* EEFA74 80242974 8FB50044 */ lw $s5, 0x44($sp) +/* EEFA78 80242978 8FB40040 */ lw $s4, 0x40($sp) +/* EEFA7C 8024297C 8FB3003C */ lw $s3, 0x3c($sp) +/* EEFA80 80242980 8FB20038 */ lw $s2, 0x38($sp) +/* EEFA84 80242984 8FB10034 */ lw $s1, 0x34($sp) +/* EEFA88 80242988 8FB00030 */ lw $s0, 0x30($sp) +/* EEFA8C 8024298C 03E00008 */ jr $ra +/* EEFA90 80242990 27BD0050 */ addiu $sp, $sp, 0x50 +/* EEFA94 80242994 00000000 */ nop +/* EEFA98 80242998 00000000 */ nop +/* EEFA9C 8024299C 00000000 */ nop diff --git a/asm/nonmatchings/code_EEFAA0/func_802429A0_EEFAA0.s b/asm/nonmatchings/code_EEFAA0/func_802429A0_EEFAA0.s new file mode 100644 index 0000000000..acb623cdaf --- /dev/null +++ b/asm/nonmatchings/code_EEFAA0/func_802429A0_EEFAA0.s @@ -0,0 +1,18 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802429A0_EEFAA0 +/* EEFAA0 802429A0 AC800084 */ sw $zero, 0x84($a0) +/* EEFAA4 802429A4 3C038011 */ lui $v1, %hi(D_8011762C) +/* EEFAA8 802429A8 8063762C */ lb $v1, %lo(D_8011762C)($v1) +/* EEFAAC 802429AC 2402000E */ addiu $v0, $zero, 0xe +/* EEFAB0 802429B0 10620004 */ beq $v1, $v0, .L802429C4 +/* EEFAB4 802429B4 24020001 */ addiu $v0, $zero, 1 +/* EEFAB8 802429B8 24020010 */ addiu $v0, $zero, 0x10 +/* EEFABC 802429BC 14620002 */ bne $v1, $v0, .L802429C8 +/* EEFAC0 802429C0 24020001 */ addiu $v0, $zero, 1 +.L802429C4: +/* EEFAC4 802429C4 AC820084 */ sw $v0, 0x84($a0) +.L802429C8: +/* EEFAC8 802429C8 03E00008 */ jr $ra +/* EEFACC 802429CC 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EF2610/func_80240000_EF2610.s b/asm/nonmatchings/code_EF2610/func_80240000_EF2610.s new file mode 100644 index 0000000000..4ace432f51 --- /dev/null +++ b/asm/nonmatchings/code_EF2610/func_80240000_EF2610.s @@ -0,0 +1,20 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EF2610 +/* EF2610 80240000 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EF2614 80240004 24040001 */ addiu $a0, $zero, 1 +/* EF2618 80240008 0000282D */ daddu $a1, $zero, $zero +/* EF261C 8024000C 00A0302D */ daddu $a2, $a1, $zero +/* EF2620 80240010 00A0382D */ daddu $a3, $a1, $zero +/* EF2624 80240014 AFBF0018 */ sw $ra, 0x18($sp) +/* EF2628 80240018 AFA00010 */ sw $zero, 0x10($sp) +/* EF262C 8024001C 0C01DEF4 */ jal func_80077BD0 +/* EF2630 80240020 AFA00014 */ sw $zero, 0x14($sp) +/* EF2634 80240024 8FBF0018 */ lw $ra, 0x18($sp) +/* EF2638 80240028 24020002 */ addiu $v0, $zero, 2 +/* EF263C 8024002C 03E00008 */ jr $ra +/* EF2640 80240030 27BD0020 */ addiu $sp, $sp, 0x20 +/* EF2644 80240034 00000000 */ nop +/* EF2648 80240038 00000000 */ nop +/* EF264C 8024003C 00000000 */ nop diff --git a/asm/nonmatchings/code_EF2650/func_80240040_EF2650.s b/asm/nonmatchings/code_EF2650/func_80240040_EF2650.s new file mode 100644 index 0000000000..274355acaa --- /dev/null +++ b/asm/nonmatchings/code_EF2650/func_80240040_EF2650.s @@ -0,0 +1,16 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240040_EF2650 +/* EF2650 80240040 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EF2654 80240044 AFBF0010 */ sw $ra, 0x10($sp) +/* EF2658 80240048 8C82000C */ lw $v0, 0xc($a0) +/* EF265C 8024004C 3C068017 */ lui $a2, %hi(D_80169B16) +/* EF2660 80240050 84C69B16 */ lh $a2, %lo(D_80169B16)($a2) +/* EF2664 80240054 0C0B551A */ jal func_802D5468 +/* EF2668 80240058 8C450000 */ lw $a1, ($v0) +/* EF266C 8024005C 8FBF0010 */ lw $ra, 0x10($sp) +/* EF2670 80240060 24020002 */ addiu $v0, $zero, 2 +/* EF2674 80240064 03E00008 */ jr $ra +/* EF2678 80240068 27BD0018 */ addiu $sp, $sp, 0x18 +/* EF267C 8024006C 00000000 */ nop diff --git a/asm/nonmatchings/code_EF2680/func_80240070_EF2680.s b/asm/nonmatchings/code_EF2680/func_80240070_EF2680.s new file mode 100644 index 0000000000..c51bd7504a --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80240070_EF2680.s @@ -0,0 +1,116 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240070_EF2680 +/* EF2680 80240070 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* EF2684 80240074 AFB3002C */ sw $s3, 0x2c($sp) +/* EF2688 80240078 0080982D */ daddu $s3, $a0, $zero +/* EF268C 8024007C AFBF0030 */ sw $ra, 0x30($sp) +/* EF2690 80240080 AFB20028 */ sw $s2, 0x28($sp) +/* EF2694 80240084 AFB10024 */ sw $s1, 0x24($sp) +/* EF2698 80240088 AFB00020 */ sw $s0, 0x20($sp) +/* EF269C 8024008C 8E710148 */ lw $s1, 0x148($s3) +/* EF26A0 80240090 86240008 */ lh $a0, 8($s1) +/* EF26A4 80240094 0C00F92F */ jal func_8003E4BC +/* EF26A8 80240098 00A0902D */ daddu $s2, $a1, $zero +/* EF26AC 8024009C 8E440004 */ lw $a0, 4($s2) +/* EF26B0 802400A0 0040802D */ daddu $s0, $v0, $zero +/* EF26B4 802400A4 00041FC2 */ srl $v1, $a0, 0x1f +/* EF26B8 802400A8 00832021 */ addu $a0, $a0, $v1 +/* EF26BC 802400AC 00042043 */ sra $a0, $a0, 1 +/* EF26C0 802400B0 0C00AB3B */ jal func_8002ACEC +/* EF26C4 802400B4 24840001 */ addiu $a0, $a0, 1 +/* EF26C8 802400B8 8E430004 */ lw $v1, 4($s2) +/* EF26CC 802400BC 000327C2 */ srl $a0, $v1, 0x1f +/* EF26D0 802400C0 00641821 */ addu $v1, $v1, $a0 +/* EF26D4 802400C4 00031843 */ sra $v1, $v1, 1 +/* EF26D8 802400C8 00621821 */ addu $v1, $v1, $v0 +/* EF26DC 802400CC A603008E */ sh $v1, 0x8e($s0) +/* EF26E0 802400D0 8E2300D0 */ lw $v1, 0xd0($s1) +/* EF26E4 802400D4 C6000040 */ lwc1 $f0, 0x40($s0) +/* EF26E8 802400D8 C4640000 */ lwc1 $f4, ($v1) +/* EF26EC 802400DC 46802120 */ cvt.s.w $f4, $f4 +/* EF26F0 802400E0 C4620008 */ lwc1 $f2, 8($v1) +/* EF26F4 802400E4 468010A0 */ cvt.s.w $f2, $f2 +/* EF26F8 802400E8 E7A00010 */ swc1 $f0, 0x10($sp) +/* EF26FC 802400EC 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF2700 802400F0 44061000 */ mfc1 $a2, $f2 +/* EF2704 802400F4 C440000C */ lwc1 $f0, 0xc($v0) +/* EF2708 802400F8 46800020 */ cvt.s.w $f0, $f0 +/* EF270C 802400FC E7A00014 */ swc1 $f0, 0x14($sp) +/* EF2710 80240100 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF2714 80240104 44052000 */ mfc1 $a1, $f4 +/* EF2718 80240108 C4400010 */ lwc1 $f0, 0x10($v0) +/* EF271C 8024010C 46800020 */ cvt.s.w $f0, $f0 +/* EF2720 80240110 E7A00018 */ swc1 $f0, 0x18($sp) +/* EF2724 80240114 8C640018 */ lw $a0, 0x18($v1) +/* EF2728 80240118 0C013431 */ jal func_8004D0C4 +/* EF272C 8024011C 8E070038 */ lw $a3, 0x38($s0) +/* EF2730 80240120 1040000E */ beqz $v0, .L8024015C +/* EF2734 80240124 00000000 */ nop +/* EF2738 80240128 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF273C 8024012C C60C0038 */ lwc1 $f12, 0x38($s0) +/* EF2740 80240130 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EF2744 80240134 C4460000 */ lwc1 $f6, ($v0) +/* EF2748 80240138 468031A0 */ cvt.s.w $f6, $f6 +/* EF274C 8024013C 44063000 */ mfc1 $a2, $f6 +/* EF2750 80240140 C4460008 */ lwc1 $f6, 8($v0) +/* EF2754 80240144 468031A0 */ cvt.s.w $f6, $f6 +/* EF2758 80240148 44073000 */ mfc1 $a3, $f6 +/* EF275C 8024014C 0C00ABDC */ jal fio_validate_header_checksums +/* EF2760 80240150 00000000 */ nop +/* EF2764 80240154 08090063 */ j .L8024018C +/* EF2768 80240158 E600000C */ swc1 $f0, 0xc($s0) +.L8024015C: +/* EF276C 8024015C 0C00AB3B */ jal func_8002ACEC +/* EF2770 80240160 2404003C */ addiu $a0, $zero, 0x3c +/* EF2774 80240164 C60C000C */ lwc1 $f12, 0xc($s0) +/* EF2778 80240168 44820000 */ mtc1 $v0, $f0 +/* EF277C 8024016C 00000000 */ nop +/* EF2780 80240170 46800020 */ cvt.s.w $f0, $f0 +/* EF2784 80240174 46006300 */ add.s $f12, $f12, $f0 +/* EF2788 80240178 3C0141F0 */ lui $at, 0x41f0 +/* EF278C 8024017C 44810000 */ mtc1 $at, $f0 +/* EF2790 80240180 0C00AB85 */ jal func_8002AE14 +/* EF2794 80240184 46006301 */ sub.s $f12, $f12, $f0 +/* EF2798 80240188 E600000C */ swc1 $f0, 0xc($s0) +.L8024018C: +/* EF279C 8024018C 8E2200CC */ lw $v0, 0xcc($s1) +/* EF27A0 80240190 8C420004 */ lw $v0, 4($v0) +/* EF27A4 80240194 AE020028 */ sw $v0, 0x28($s0) +/* EF27A8 80240198 AE600074 */ sw $zero, 0x74($s3) +/* EF27AC 8024019C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF27B0 802401A0 8C420014 */ lw $v0, 0x14($v0) +/* EF27B4 802401A4 04410004 */ bgez $v0, .L802401B8 +/* EF27B8 802401A8 00000000 */ nop +/* EF27BC 802401AC C6400000 */ lwc1 $f0, ($s2) +/* EF27C0 802401B0 08090076 */ j .L802401D8 +/* EF27C4 802401B4 E6000018 */ swc1 $f0, 0x18($s0) +.L802401B8: +/* EF27C8 802401B8 3C018024 */ lui $at, %hi(D_802453B0) +/* EF27CC 802401BC D42253B0 */ ldc1 $f2, %lo(D_802453B0)($at) +/* EF27D0 802401C0 44820000 */ mtc1 $v0, $f0 +/* EF27D4 802401C4 00000000 */ nop +/* EF27D8 802401C8 46800021 */ cvt.d.w $f0, $f0 +/* EF27DC 802401CC 46220003 */ div.d $f0, $f0, $f2 +/* EF27E0 802401D0 46200020 */ cvt.s.d $f0, $f0 +/* EF27E4 802401D4 E6000018 */ swc1 $f0, 0x18($s0) +.L802401D8: +/* EF27E8 802401D8 C600003C */ lwc1 $f0, 0x3c($s0) +/* EF27EC 802401DC 3C014059 */ lui $at, 0x4059 +/* EF27F0 802401E0 44811800 */ mtc1 $at, $f3 +/* EF27F4 802401E4 44801000 */ mtc1 $zero, $f2 +/* EF27F8 802401E8 46000021 */ cvt.d.s $f0, $f0 +/* EF27FC 802401EC 46220002 */ mul.d $f0, $f0, $f2 +/* EF2800 802401F0 00000000 */ nop +/* EF2804 802401F4 24020001 */ addiu $v0, $zero, 1 +/* EF2808 802401F8 4620018D */ trunc.w.d $f6, $f0 +/* EF280C 802401FC E626007C */ swc1 $f6, 0x7c($s1) +/* EF2810 80240200 AE620070 */ sw $v0, 0x70($s3) +/* EF2814 80240204 8FBF0030 */ lw $ra, 0x30($sp) +/* EF2818 80240208 8FB3002C */ lw $s3, 0x2c($sp) +/* EF281C 8024020C 8FB20028 */ lw $s2, 0x28($sp) +/* EF2820 80240210 8FB10024 */ lw $s1, 0x24($sp) +/* EF2824 80240214 8FB00020 */ lw $s0, 0x20($sp) +/* EF2828 80240218 03E00008 */ jr $ra +/* EF282C 8024021C 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_EF2680/func_80240220_EF2830.s b/asm/nonmatchings/code_EF2680/func_80240220_EF2830.s new file mode 100644 index 0000000000..704775af35 --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80240220_EF2830.s @@ -0,0 +1,418 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240220_EF2830 +/* EF2830 80240220 27BDFF80 */ addiu $sp, $sp, -0x80 +/* EF2834 80240224 AFB3004C */ sw $s3, 0x4c($sp) +/* EF2838 80240228 0080982D */ daddu $s3, $a0, $zero +/* EF283C 8024022C AFBF0058 */ sw $ra, 0x58($sp) +/* EF2840 80240230 AFB50054 */ sw $s5, 0x54($sp) +/* EF2844 80240234 AFB40050 */ sw $s4, 0x50($sp) +/* EF2848 80240238 AFB20048 */ sw $s2, 0x48($sp) +/* EF284C 8024023C AFB10044 */ sw $s1, 0x44($sp) +/* EF2850 80240240 AFB00040 */ sw $s0, 0x40($sp) +/* EF2854 80240244 F7BA0078 */ sdc1 $f26, 0x78($sp) +/* EF2858 80240248 F7B80070 */ sdc1 $f24, 0x70($sp) +/* EF285C 8024024C F7B60068 */ sdc1 $f22, 0x68($sp) +/* EF2860 80240250 F7B40060 */ sdc1 $f20, 0x60($sp) +/* EF2864 80240254 8E710148 */ lw $s1, 0x148($s3) +/* EF2868 80240258 00A0902D */ daddu $s2, $a1, $zero +/* EF286C 8024025C 86240008 */ lh $a0, 8($s1) +/* EF2870 80240260 0C00F92F */ jal func_8003E4BC +/* EF2874 80240264 00C0A82D */ daddu $s5, $a2, $zero +/* EF2878 80240268 0040802D */ daddu $s0, $v0, $zero +/* EF287C 8024026C 0000A02D */ daddu $s4, $zero, $zero +/* EF2880 80240270 C624007C */ lwc1 $f4, 0x7c($s1) +/* EF2884 80240274 46802120 */ cvt.s.w $f4, $f4 +/* EF2888 80240278 C6220088 */ lwc1 $f2, 0x88($s1) +/* EF288C 8024027C 468010A0 */ cvt.s.w $f2, $f2 +/* EF2890 80240280 460010A1 */ cvt.d.s $f2, $f2 +/* EF2894 80240284 46002121 */ cvt.d.s $f4, $f4 +/* EF2898 80240288 C600003C */ lwc1 $f0, 0x3c($s0) +/* EF289C 8024028C 3C014059 */ lui $at, 0x4059 +/* EF28A0 80240290 44813800 */ mtc1 $at, $f7 +/* EF28A4 80240294 44803000 */ mtc1 $zero, $f6 +/* EF28A8 80240298 46000021 */ cvt.d.s $f0, $f0 +/* EF28AC 8024029C 46260002 */ mul.d $f0, $f0, $f6 +/* EF28B0 802402A0 00000000 */ nop +/* EF28B4 802402A4 24020001 */ addiu $v0, $zero, 1 +/* EF28B8 802402A8 8E24006C */ lw $a0, 0x6c($s1) +/* EF28BC 802402AC 46261083 */ div.d $f2, $f2, $f6 +/* EF28C0 802402B0 462010A0 */ cvt.s.d $f2, $f2 +/* EF28C4 802402B4 46262103 */ div.d $f4, $f4, $f6 +/* EF28C8 802402B8 46202520 */ cvt.s.d $f20, $f4 +/* EF28CC 802402BC 30830011 */ andi $v1, $a0, 0x11 +/* EF28D0 802402C0 4620020D */ trunc.w.d $f8, $f0 +/* EF28D4 802402C4 E628007C */ swc1 $f8, 0x7c($s1) +/* EF28D8 802402C8 C6200078 */ lwc1 $f0, 0x78($s1) +/* EF28DC 802402CC 46800020 */ cvt.s.w $f0, $f0 +/* EF28E0 802402D0 46000021 */ cvt.d.s $f0, $f0 +/* EF28E4 802402D4 46260003 */ div.d $f0, $f0, $f6 +/* EF28E8 802402D8 462006A0 */ cvt.s.d $f26, $f0 +/* EF28EC 802402DC C6200070 */ lwc1 $f0, 0x70($s1) +/* EF28F0 802402E0 46800020 */ cvt.s.w $f0, $f0 +/* EF28F4 802402E4 46000021 */ cvt.d.s $f0, $f0 +/* EF28F8 802402E8 46260003 */ div.d $f0, $f0, $f6 +/* EF28FC 802402EC 462005A0 */ cvt.s.d $f22, $f0 +/* EF2900 802402F0 14620025 */ bne $v1, $v0, .L80240388 +/* EF2904 802402F4 4602D600 */ add.s $f24, $f26, $f2 +/* EF2908 802402F8 8E020000 */ lw $v0, ($s0) +/* EF290C 802402FC 30420008 */ andi $v0, $v0, 8 +/* EF2910 80240300 10400009 */ beqz $v0, .L80240328 +/* EF2914 80240304 27A50028 */ addiu $a1, $sp, 0x28 +/* EF2918 80240308 C600003C */ lwc1 $f0, 0x3c($s0) +/* EF291C 8024030C 4600C001 */ sub.s $f0, $f24, $f0 +/* EF2920 80240310 4600B03C */ c.lt.s $f22, $f0 +/* EF2924 80240314 00000000 */ nop +/* EF2928 80240318 4500001B */ bc1f .L80240388 +/* EF292C 8024031C 34820010 */ ori $v0, $a0, 0x10 +/* EF2930 80240320 080900E2 */ j .L80240388 +/* EF2934 80240324 AE22006C */ sw $v0, 0x6c($s1) +.L80240328: +/* EF2938 80240328 27A6002C */ addiu $a2, $sp, 0x2c +/* EF293C 8024032C C6000038 */ lwc1 $f0, 0x38($s0) +/* EF2940 80240330 C602003C */ lwc1 $f2, 0x3c($s0) +/* EF2944 80240334 C6040040 */ lwc1 $f4, 0x40($s0) +/* EF2948 80240338 3C01447A */ lui $at, 0x447a +/* EF294C 8024033C 44813000 */ mtc1 $at, $f6 +/* EF2950 80240340 27A20034 */ addiu $v0, $sp, 0x34 +/* EF2954 80240344 E7A00028 */ swc1 $f0, 0x28($sp) +/* EF2958 80240348 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EF295C 8024034C E7A40030 */ swc1 $f4, 0x30($sp) +/* EF2960 80240350 E7A60034 */ swc1 $f6, 0x34($sp) +/* EF2964 80240354 AFA20010 */ sw $v0, 0x10($sp) +/* EF2968 80240358 8E040080 */ lw $a0, 0x80($s0) +/* EF296C 8024035C 0C03908F */ jal func_800E423C +/* EF2970 80240360 27A70030 */ addiu $a3, $sp, 0x30 +/* EF2974 80240364 C7A00034 */ lwc1 $f0, 0x34($sp) +/* EF2978 80240368 4600D001 */ sub.s $f0, $f26, $f0 +/* EF297C 8024036C 4600B03C */ c.lt.s $f22, $f0 +/* EF2980 80240370 00000000 */ nop +/* EF2984 80240374 45000004 */ bc1f .L80240388 +/* EF2988 80240378 00000000 */ nop +/* EF298C 8024037C 8E22006C */ lw $v0, 0x6c($s1) +/* EF2990 80240380 34420010 */ ori $v0, $v0, 0x10 +/* EF2994 80240384 AE22006C */ sw $v0, 0x6c($s1) +.L80240388: +/* EF2998 80240388 8E22006C */ lw $v0, 0x6c($s1) +/* EF299C 8024038C 24030011 */ addiu $v1, $zero, 0x11 +/* EF29A0 80240390 30420011 */ andi $v0, $v0, 0x11 +/* EF29A4 80240394 14430039 */ bne $v0, $v1, .L8024047C +/* EF29A8 80240398 00000000 */ nop +/* EF29AC 8024039C 8E020000 */ lw $v0, ($s0) +/* EF29B0 802403A0 30420008 */ andi $v0, $v0, 8 +/* EF29B4 802403A4 1040000A */ beqz $v0, .L802403D0 +/* EF29B8 802403A8 4600C106 */ mov.s $f4, $f24 +/* EF29BC 802403AC 4614C081 */ sub.s $f2, $f24, $f20 +/* EF29C0 802403B0 3C018024 */ lui $at, %hi(D_802453B8) +/* EF29C4 802403B4 D42053B8 */ ldc1 $f0, %lo(D_802453B8)($at) +/* EF29C8 802403B8 460010A1 */ cvt.d.s $f2, $f2 +/* EF29CC 802403BC 46201082 */ mul.d $f2, $f2, $f0 +/* EF29D0 802403C0 00000000 */ nop +/* EF29D4 802403C4 4600A021 */ cvt.d.s $f0, $f20 +/* EF29D8 802403C8 0809010D */ j .L80240434 +/* EF29DC 802403CC 46220000 */ add.d $f0, $f0, $f2 +.L802403D0: +/* EF29E0 802403D0 27A50028 */ addiu $a1, $sp, 0x28 +/* EF29E4 802403D4 27A6002C */ addiu $a2, $sp, 0x2c +/* EF29E8 802403D8 C6000038 */ lwc1 $f0, 0x38($s0) +/* EF29EC 802403DC C6020040 */ lwc1 $f2, 0x40($s0) +/* EF29F0 802403E0 3C01447A */ lui $at, 0x447a +/* EF29F4 802403E4 44812000 */ mtc1 $at, $f4 +/* EF29F8 802403E8 27A20034 */ addiu $v0, $sp, 0x34 +/* EF29FC 802403EC E7B4002C */ swc1 $f20, 0x2c($sp) +/* EF2A00 802403F0 E7A00028 */ swc1 $f0, 0x28($sp) +/* EF2A04 802403F4 E7A20030 */ swc1 $f2, 0x30($sp) +/* EF2A08 802403F8 E7A40034 */ swc1 $f4, 0x34($sp) +/* EF2A0C 802403FC AFA20010 */ sw $v0, 0x10($sp) +/* EF2A10 80240400 8E040080 */ lw $a0, 0x80($s0) +/* EF2A14 80240404 0C03908F */ jal func_800E423C +/* EF2A18 80240408 27A70030 */ addiu $a3, $sp, 0x30 +/* EF2A1C 8024040C C7A4002C */ lwc1 $f4, 0x2c($sp) +/* EF2A20 80240410 461A2100 */ add.s $f4, $f4, $f26 +/* EF2A24 80240414 46142081 */ sub.s $f2, $f4, $f20 +/* EF2A28 80240418 3C018024 */ lui $at, %hi(D_802453C0) +/* EF2A2C 8024041C D42053C0 */ ldc1 $f0, %lo(D_802453C0)($at) +/* EF2A30 80240420 460010A1 */ cvt.d.s $f2, $f2 +/* EF2A34 80240424 46201082 */ mul.d $f2, $f2, $f0 +/* EF2A38 80240428 00000000 */ nop +/* EF2A3C 8024042C 4600A021 */ cvt.d.s $f0, $f20 +/* EF2A40 80240430 46220000 */ add.d $f0, $f0, $f2 +.L80240434: +/* EF2A44 80240434 46200020 */ cvt.s.d $f0, $f0 +/* EF2A48 80240438 E600003C */ swc1 $f0, 0x3c($s0) +/* EF2A4C 8024043C C600003C */ lwc1 $f0, 0x3c($s0) +/* EF2A50 80240440 46002001 */ sub.s $f0, $f4, $f0 +/* EF2A54 80240444 3C013FF0 */ lui $at, 0x3ff0 +/* EF2A58 80240448 44811800 */ mtc1 $at, $f3 +/* EF2A5C 8024044C 44801000 */ mtc1 $zero, $f2 +/* EF2A60 80240450 46000005 */ abs.s $f0, $f0 +/* EF2A64 80240454 46000021 */ cvt.d.s $f0, $f0 +/* EF2A68 80240458 4622003C */ c.lt.d $f0, $f2 +/* EF2A6C 8024045C 00000000 */ nop +/* EF2A70 80240460 45000036 */ bc1f .L8024053C +/* EF2A74 80240464 2403FFEF */ addiu $v1, $zero, -0x11 +/* EF2A78 80240468 E604003C */ swc1 $f4, 0x3c($s0) +/* EF2A7C 8024046C 8E22006C */ lw $v0, 0x6c($s1) +/* EF2A80 80240470 00431024 */ and $v0, $v0, $v1 +/* EF2A84 80240474 0809014F */ j .L8024053C +/* EF2A88 80240478 AE22006C */ sw $v0, 0x6c($s1) +.L8024047C: +/* EF2A8C 8024047C 8E220070 */ lw $v0, 0x70($s1) +/* EF2A90 80240480 1840002E */ blez $v0, .L8024053C +/* EF2A94 80240484 00000000 */ nop +/* EF2A98 80240488 C62C0074 */ lwc1 $f12, 0x74($s1) +/* EF2A9C 8024048C 0C00AD77 */ jal func_8002B5DC +/* EF2AA0 80240490 46806320 */ cvt.s.w $f12, $f12 +/* EF2AA4 80240494 8E020000 */ lw $v0, ($s0) +/* EF2AA8 80240498 30420008 */ andi $v0, $v0, 8 +/* EF2AAC 8024049C 10400003 */ beqz $v0, .L802404AC +/* EF2AB0 802404A0 46000506 */ mov.s $f20, $f0 +/* EF2AB4 802404A4 0809013B */ j .L802404EC +/* EF2AB8 802404A8 0000102D */ daddu $v0, $zero, $zero +.L802404AC: +/* EF2ABC 802404AC 27A50028 */ addiu $a1, $sp, 0x28 +/* EF2AC0 802404B0 27A6002C */ addiu $a2, $sp, 0x2c +/* EF2AC4 802404B4 C6000038 */ lwc1 $f0, 0x38($s0) +/* EF2AC8 802404B8 C602003C */ lwc1 $f2, 0x3c($s0) +/* EF2ACC 802404BC C6040040 */ lwc1 $f4, 0x40($s0) +/* EF2AD0 802404C0 3C01447A */ lui $at, 0x447a +/* EF2AD4 802404C4 44813000 */ mtc1 $at, $f6 +/* EF2AD8 802404C8 27A20034 */ addiu $v0, $sp, 0x34 +/* EF2ADC 802404CC E7A00028 */ swc1 $f0, 0x28($sp) +/* EF2AE0 802404D0 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EF2AE4 802404D4 E7A40030 */ swc1 $f4, 0x30($sp) +/* EF2AE8 802404D8 E7A60034 */ swc1 $f6, 0x34($sp) +/* EF2AEC 802404DC AFA20010 */ sw $v0, 0x10($sp) +/* EF2AF0 802404E0 8E040080 */ lw $a0, 0x80($s0) +/* EF2AF4 802404E4 0C03908F */ jal func_800E423C +/* EF2AF8 802404E8 27A70030 */ addiu $a3, $sp, 0x30 +.L802404EC: +/* EF2AFC 802404EC 10400007 */ beqz $v0, .L8024050C +/* EF2B00 802404F0 00000000 */ nop +/* EF2B04 802404F4 4616A082 */ mul.s $f2, $f20, $f22 +/* EF2B08 802404F8 00000000 */ nop +/* EF2B0C 802404FC C7A0002C */ lwc1 $f0, 0x2c($sp) +/* EF2B10 80240500 461A0000 */ add.s $f0, $f0, $f26 +/* EF2B14 80240504 08090146 */ j .L80240518 +/* EF2B18 80240508 46020000 */ add.s $f0, $f0, $f2 +.L8024050C: +/* EF2B1C 8024050C 4616A002 */ mul.s $f0, $f20, $f22 +/* EF2B20 80240510 00000000 */ nop +/* EF2B24 80240514 4600C000 */ add.s $f0, $f24, $f0 +.L80240518: +/* EF2B28 80240518 E600003C */ swc1 $f0, 0x3c($s0) +/* EF2B2C 8024051C 8E220074 */ lw $v0, 0x74($s1) +/* EF2B30 80240520 2442000A */ addiu $v0, $v0, 0xa +/* EF2B34 80240524 44826000 */ mtc1 $v0, $f12 +/* EF2B38 80240528 00000000 */ nop +/* EF2B3C 8024052C 0C00AB85 */ jal func_8002AE14 +/* EF2B40 80240530 46806320 */ cvt.s.w $f12, $f12 +/* EF2B44 80240534 4600020D */ trunc.w.s $f8, $f0 +/* EF2B48 80240538 E6280074 */ swc1 $f8, 0x74($s1) +.L8024053C: +/* EF2B4C 8024053C 8E220090 */ lw $v0, 0x90($s1) +/* EF2B50 80240540 1C40004A */ bgtz $v0, .L8024066C +/* EF2B54 80240544 2442FFFF */ addiu $v0, $v0, -1 +/* EF2B58 80240548 8E430014 */ lw $v1, 0x14($s2) +/* EF2B5C 8024054C 04600048 */ bltz $v1, .L80240670 +/* EF2B60 80240550 00000000 */ nop +/* EF2B64 80240554 8E620074 */ lw $v0, 0x74($s3) +/* EF2B68 80240558 1C400042 */ bgtz $v0, .L80240664 +/* EF2B6C 8024055C 2442FFFF */ addiu $v0, $v0, -1 +/* EF2B70 80240560 AE630074 */ sw $v1, 0x74($s3) +/* EF2B74 80240564 860200A8 */ lh $v0, 0xa8($s0) +/* EF2B78 80240568 C602003C */ lwc1 $f2, 0x3c($s0) +/* EF2B7C 8024056C 44820000 */ mtc1 $v0, $f0 +/* EF2B80 80240570 00000000 */ nop +/* EF2B84 80240574 46800020 */ cvt.s.w $f0, $f0 +/* EF2B88 80240578 46001080 */ add.s $f2, $f2, $f0 +/* EF2B8C 8024057C 3C014024 */ lui $at, 0x4024 +/* EF2B90 80240580 44810800 */ mtc1 $at, $f1 +/* EF2B94 80240584 44800000 */ mtc1 $zero, $f0 +/* EF2B98 80240588 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EF2B9C 8024058C 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EF2BA0 80240590 460010A1 */ cvt.d.s $f2, $f2 +/* EF2BA4 80240594 46201080 */ add.d $f2, $f2, $f0 +/* EF2BA8 80240598 C440002C */ lwc1 $f0, 0x2c($v0) +/* EF2BAC 8024059C 46000021 */ cvt.d.s $f0, $f0 +/* EF2BB0 802405A0 4622003C */ c.lt.d $f0, $f2 +/* EF2BB4 802405A4 00000000 */ nop +/* EF2BB8 802405A8 4500002C */ bc1f .L8024065C +/* EF2BBC 802405AC 02A0202D */ daddu $a0, $s5, $zero +/* EF2BC0 802405B0 AFA00010 */ sw $zero, 0x10($sp) +/* EF2BC4 802405B4 8E46000C */ lw $a2, 0xc($s2) +/* EF2BC8 802405B8 8E470010 */ lw $a3, 0x10($s2) +/* EF2BCC 802405BC 0C013469 */ jal func_8004D1A4 +/* EF2BD0 802405C0 0220282D */ daddu $a1, $s1, $zero +/* EF2BD4 802405C4 10400025 */ beqz $v0, .L8024065C +/* EF2BD8 802405C8 0000202D */ daddu $a0, $zero, $zero +/* EF2BDC 802405CC 0200282D */ daddu $a1, $s0, $zero +/* EF2BE0 802405D0 0000302D */ daddu $a2, $zero, $zero +/* EF2BE4 802405D4 2412000C */ addiu $s2, $zero, 0xc +/* EF2BE8 802405D8 860300A8 */ lh $v1, 0xa8($s0) +/* EF2BEC 802405DC 3C013F80 */ lui $at, 0x3f80 +/* EF2BF0 802405E0 44810000 */ mtc1 $at, $f0 +/* EF2BF4 802405E4 3C014000 */ lui $at, 0x4000 +/* EF2BF8 802405E8 44811000 */ mtc1 $at, $f2 +/* EF2BFC 802405EC 3C01C1A0 */ lui $at, 0xc1a0 +/* EF2C00 802405F0 44812000 */ mtc1 $at, $f4 +/* EF2C04 802405F4 44834000 */ mtc1 $v1, $f8 +/* EF2C08 802405F8 00000000 */ nop +/* EF2C0C 802405FC 46804220 */ cvt.s.w $f8, $f8 +/* EF2C10 80240600 44074000 */ mfc1 $a3, $f8 +/* EF2C14 80240604 27A20038 */ addiu $v0, $sp, 0x38 +/* EF2C18 80240608 AFB2001C */ sw $s2, 0x1c($sp) +/* EF2C1C 8024060C AFA20020 */ sw $v0, 0x20($sp) +/* EF2C20 80240610 E7A00010 */ swc1 $f0, 0x10($sp) +/* EF2C24 80240614 E7A20014 */ swc1 $f2, 0x14($sp) +/* EF2C28 80240618 0C01D444 */ jal func_80075110 +/* EF2C2C 8024061C E7A40018 */ swc1 $f4, 0x18($sp) +/* EF2C30 80240620 0200202D */ daddu $a0, $s0, $zero +/* EF2C34 80240624 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EF2C38 80240628 C480003C */ lwc1 $f0, 0x3c($a0) +/* EF2C3C 8024062C 3C060020 */ lui $a2, 0x20 +/* EF2C40 80240630 0C013600 */ jal func_8004D800 +/* EF2C44 80240634 E4800064 */ swc1 $f0, 0x64($a0) +/* EF2C48 80240638 8E220018 */ lw $v0, 0x18($s1) +/* EF2C4C 8024063C 9442002A */ lhu $v0, 0x2a($v0) +/* EF2C50 80240640 30420001 */ andi $v0, $v0, 1 +/* EF2C54 80240644 10400003 */ beqz $v0, .L80240654 +/* EF2C58 80240648 2402000A */ addiu $v0, $zero, 0xa +/* EF2C5C 8024064C 08090205 */ j .L80240814 +/* EF2C60 80240650 AE620070 */ sw $v0, 0x70($s3) +.L80240654: +/* EF2C64 80240654 08090205 */ j .L80240814 +/* EF2C68 80240658 AE720070 */ sw $s2, 0x70($s3) +.L8024065C: +/* EF2C6C 8024065C 8E620074 */ lw $v0, 0x74($s3) +/* EF2C70 80240660 2442FFFF */ addiu $v0, $v0, -1 +.L80240664: +/* EF2C74 80240664 0809019C */ j .L80240670 +/* EF2C78 80240668 AE620074 */ sw $v0, 0x74($s3) +.L8024066C: +/* EF2C7C 8024066C AE220090 */ sw $v0, 0x90($s1) +.L80240670: +/* EF2C80 80240670 8E2300D0 */ lw $v1, 0xd0($s1) +/* EF2C84 80240674 C6000040 */ lwc1 $f0, 0x40($s0) +/* EF2C88 80240678 C4620000 */ lwc1 $f2, ($v1) +/* EF2C8C 8024067C 468010A0 */ cvt.s.w $f2, $f2 +/* EF2C90 80240680 C4640008 */ lwc1 $f4, 8($v1) +/* EF2C94 80240684 46802120 */ cvt.s.w $f4, $f4 +/* EF2C98 80240688 E7A00010 */ swc1 $f0, 0x10($sp) +/* EF2C9C 8024068C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF2CA0 80240690 44051000 */ mfc1 $a1, $f2 +/* EF2CA4 80240694 C440000C */ lwc1 $f0, 0xc($v0) +/* EF2CA8 80240698 46800020 */ cvt.s.w $f0, $f0 +/* EF2CAC 8024069C E7A00014 */ swc1 $f0, 0x14($sp) +/* EF2CB0 802406A0 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF2CB4 802406A4 44062000 */ mfc1 $a2, $f4 +/* EF2CB8 802406A8 C4400010 */ lwc1 $f0, 0x10($v0) +/* EF2CBC 802406AC 46800020 */ cvt.s.w $f0, $f0 +/* EF2CC0 802406B0 E7A00018 */ swc1 $f0, 0x18($sp) +/* EF2CC4 802406B4 8C640018 */ lw $a0, 0x18($v1) +/* EF2CC8 802406B8 0C013431 */ jal func_8004D0C4 +/* EF2CCC 802406BC 8E070038 */ lw $a3, 0x38($s0) +/* EF2CD0 802406C0 1040001A */ beqz $v0, .L8024072C +/* EF2CD4 802406C4 00000000 */ nop +/* EF2CD8 802406C8 8E060038 */ lw $a2, 0x38($s0) +/* EF2CDC 802406CC 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF2CE0 802406D0 8E070040 */ lw $a3, 0x40($s0) +/* EF2CE4 802406D4 C44C0000 */ lwc1 $f12, ($v0) +/* EF2CE8 802406D8 46806320 */ cvt.s.w $f12, $f12 +/* EF2CEC 802406DC C44E0008 */ lwc1 $f14, 8($v0) +/* EF2CF0 802406E0 0C00AC71 */ jal func_8002B1C4 +/* EF2CF4 802406E4 468073A0 */ cvt.s.w $f14, $f14 +/* EF2CF8 802406E8 C6020018 */ lwc1 $f2, 0x18($s0) +/* EF2CFC 802406EC 4600103C */ c.lt.s $f2, $f0 +/* EF2D00 802406F0 00000000 */ nop +/* EF2D04 802406F4 4500000D */ bc1f .L8024072C +/* EF2D08 802406F8 E7A00034 */ swc1 $f0, 0x34($sp) +/* EF2D0C 802406FC C60C0038 */ lwc1 $f12, 0x38($s0) +/* EF2D10 80240700 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF2D14 80240704 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EF2D18 80240708 C4480000 */ lwc1 $f8, ($v0) +/* EF2D1C 8024070C 46804220 */ cvt.s.w $f8, $f8 +/* EF2D20 80240710 44064000 */ mfc1 $a2, $f8 +/* EF2D24 80240714 C4480008 */ lwc1 $f8, 8($v0) +/* EF2D28 80240718 46804220 */ cvt.s.w $f8, $f8 +/* EF2D2C 8024071C 44074000 */ mfc1 $a3, $f8 +/* EF2D30 80240720 0C00ABDC */ jal fio_validate_header_checksums +/* EF2D34 80240724 24140001 */ addiu $s4, $zero, 1 +/* EF2D38 80240728 E600000C */ swc1 $f0, 0xc($s0) +.L8024072C: +/* EF2D3C 8024072C 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF2D40 80240730 8C43000C */ lw $v1, 0xc($v0) +/* EF2D44 80240734 8C420010 */ lw $v0, 0x10($v0) +/* EF2D48 80240738 00621825 */ or $v1, $v1, $v0 +/* EF2D4C 8024073C 00741825 */ or $v1, $v1, $s4 +/* EF2D50 80240740 10600008 */ beqz $v1, .L80240764 +/* EF2D54 80240744 00000000 */ nop +/* EF2D58 80240748 8602008C */ lh $v0, 0x8c($s0) +/* EF2D5C 8024074C 14400031 */ bnez $v0, .L80240814 +/* EF2D60 80240750 00000000 */ nop +/* EF2D64 80240754 8E050018 */ lw $a1, 0x18($s0) +/* EF2D68 80240758 8E06000C */ lw $a2, 0xc($s0) +/* EF2D6C 8024075C 0C00F909 */ jal func_8003E424 +/* EF2D70 80240760 0200202D */ daddu $a0, $s0, $zero +.L80240764: +/* EF2D74 80240764 C600003C */ lwc1 $f0, 0x3c($s0) +/* EF2D78 80240768 3C014059 */ lui $at, 0x4059 +/* EF2D7C 8024076C 44811800 */ mtc1 $at, $f3 +/* EF2D80 80240770 44801000 */ mtc1 $zero, $f2 +/* EF2D84 80240774 46000021 */ cvt.d.s $f0, $f0 +/* EF2D88 80240778 46220002 */ mul.d $f0, $f0, $f2 +/* EF2D8C 8024077C 00000000 */ nop +/* EF2D90 80240780 4620020D */ trunc.w.d $f8, $f0 +/* EF2D94 80240784 E628007C */ swc1 $f8, 0x7c($s1) +/* EF2D98 80240788 8E420004 */ lw $v0, 4($s2) +/* EF2D9C 8024078C 18400021 */ blez $v0, .L80240814 +/* EF2DA0 80240790 00000000 */ nop +/* EF2DA4 80240794 8602008E */ lh $v0, 0x8e($s0) +/* EF2DA8 80240798 9603008E */ lhu $v1, 0x8e($s0) +/* EF2DAC 8024079C 18400005 */ blez $v0, .L802407B4 +/* EF2DB0 802407A0 2462FFFF */ addiu $v0, $v1, -1 +/* EF2DB4 802407A4 A602008E */ sh $v0, 0x8e($s0) +/* EF2DB8 802407A8 00021400 */ sll $v0, $v0, 0x10 +/* EF2DBC 802407AC 1C400019 */ bgtz $v0, .L80240814 +/* EF2DC0 802407B0 00000000 */ nop +.L802407B4: +/* EF2DC4 802407B4 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EF2DC8 802407B8 24020002 */ addiu $v0, $zero, 2 +/* EF2DCC 802407BC 0C00AB3B */ jal func_8002ACEC +/* EF2DD0 802407C0 AE620070 */ sw $v0, 0x70($s3) +/* EF2DD4 802407C4 3C035555 */ lui $v1, 0x5555 +/* EF2DD8 802407C8 34635556 */ ori $v1, $v1, 0x5556 +/* EF2DDC 802407CC 00430018 */ mult $v0, $v1 +/* EF2DE0 802407D0 000227C3 */ sra $a0, $v0, 0x1f +/* EF2DE4 802407D4 00004010 */ mfhi $t0 +/* EF2DE8 802407D8 01042023 */ subu $a0, $t0, $a0 +/* EF2DEC 802407DC 00041840 */ sll $v1, $a0, 1 +/* EF2DF0 802407E0 00641821 */ addu $v1, $v1, $a0 +/* EF2DF4 802407E4 00431023 */ subu $v0, $v0, $v1 +/* EF2DF8 802407E8 24430002 */ addiu $v1, $v0, 2 +/* EF2DFC 802407EC AE630074 */ sw $v1, 0x74($s3) +/* EF2E00 802407F0 8E42002C */ lw $v0, 0x2c($s2) +/* EF2E04 802407F4 58400007 */ blezl $v0, .L80240814 +/* EF2E08 802407F8 AE600070 */ sw $zero, 0x70($s3) +/* EF2E0C 802407FC 8E420008 */ lw $v0, 8($s2) +/* EF2E10 80240800 18400003 */ blez $v0, .L80240810 +/* EF2E14 80240804 28620003 */ slti $v0, $v1, 3 +/* EF2E18 80240808 10400002 */ beqz $v0, .L80240814 +/* EF2E1C 8024080C 00000000 */ nop +.L80240810: +/* EF2E20 80240810 AE600070 */ sw $zero, 0x70($s3) +.L80240814: +/* EF2E24 80240814 8FBF0058 */ lw $ra, 0x58($sp) +/* EF2E28 80240818 8FB50054 */ lw $s5, 0x54($sp) +/* EF2E2C 8024081C 8FB40050 */ lw $s4, 0x50($sp) +/* EF2E30 80240820 8FB3004C */ lw $s3, 0x4c($sp) +/* EF2E34 80240824 8FB20048 */ lw $s2, 0x48($sp) +/* EF2E38 80240828 8FB10044 */ lw $s1, 0x44($sp) +/* EF2E3C 8024082C 8FB00040 */ lw $s0, 0x40($sp) +/* EF2E40 80240830 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* EF2E44 80240834 D7B80070 */ ldc1 $f24, 0x70($sp) +/* EF2E48 80240838 D7B60068 */ ldc1 $f22, 0x68($sp) +/* EF2E4C 8024083C D7B40060 */ ldc1 $f20, 0x60($sp) +/* EF2E50 80240840 03E00008 */ jr $ra +/* EF2E54 80240844 27BD0080 */ addiu $sp, $sp, 0x80 diff --git a/asm/nonmatchings/code_EF2680/func_80240848_EF2E58.s b/asm/nonmatchings/code_EF2680/func_80240848_EF2E58.s new file mode 100644 index 0000000000..9ae482182a --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80240848_EF2E58.s @@ -0,0 +1,52 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240848_EF2E58 +/* EF2E58 80240848 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EF2E5C 8024084C AFB3001C */ sw $s3, 0x1c($sp) +/* EF2E60 80240850 0080982D */ daddu $s3, $a0, $zero +/* EF2E64 80240854 AFBF0020 */ sw $ra, 0x20($sp) +/* EF2E68 80240858 AFB20018 */ sw $s2, 0x18($sp) +/* EF2E6C 8024085C AFB10014 */ sw $s1, 0x14($sp) +/* EF2E70 80240860 AFB00010 */ sw $s0, 0x10($sp) +/* EF2E74 80240864 8E720148 */ lw $s2, 0x148($s3) +/* EF2E78 80240868 86440008 */ lh $a0, 8($s2) +/* EF2E7C 8024086C 0C00F92F */ jal func_8003E4BC +/* EF2E80 80240870 00A0882D */ daddu $s1, $a1, $zero +/* EF2E84 80240874 8E240008 */ lw $a0, 8($s1) +/* EF2E88 80240878 0040802D */ daddu $s0, $v0, $zero +/* EF2E8C 8024087C 00041FC2 */ srl $v1, $a0, 0x1f +/* EF2E90 80240880 00832021 */ addu $a0, $a0, $v1 +/* EF2E94 80240884 00042043 */ sra $a0, $a0, 1 +/* EF2E98 80240888 0C00AB3B */ jal func_8002ACEC +/* EF2E9C 8024088C 24840001 */ addiu $a0, $a0, 1 +/* EF2EA0 80240890 8E230008 */ lw $v1, 8($s1) +/* EF2EA4 80240894 240400B4 */ addiu $a0, $zero, 0xb4 +/* EF2EA8 80240898 00032FC2 */ srl $a1, $v1, 0x1f +/* EF2EAC 8024089C 00651821 */ addu $v1, $v1, $a1 +/* EF2EB0 802408A0 00031843 */ sra $v1, $v1, 1 +/* EF2EB4 802408A4 00621821 */ addu $v1, $v1, $v0 +/* EF2EB8 802408A8 0C00AB3B */ jal func_8002ACEC +/* EF2EBC 802408AC A603008E */ sh $v1, 0x8e($s0) +/* EF2EC0 802408B0 C60C000C */ lwc1 $f12, 0xc($s0) +/* EF2EC4 802408B4 44820000 */ mtc1 $v0, $f0 +/* EF2EC8 802408B8 00000000 */ nop +/* EF2ECC 802408BC 46800020 */ cvt.s.w $f0, $f0 +/* EF2ED0 802408C0 46006300 */ add.s $f12, $f12, $f0 +/* EF2ED4 802408C4 3C0142B4 */ lui $at, 0x42b4 +/* EF2ED8 802408C8 44810000 */ mtc1 $at, $f0 +/* EF2EDC 802408CC 0C00AB85 */ jal func_8002AE14 +/* EF2EE0 802408D0 46006301 */ sub.s $f12, $f12, $f0 +/* EF2EE4 802408D4 E600000C */ swc1 $f0, 0xc($s0) +/* EF2EE8 802408D8 8E4200CC */ lw $v0, 0xcc($s2) +/* EF2EEC 802408DC 8C420000 */ lw $v0, ($v0) +/* EF2EF0 802408E0 AE020028 */ sw $v0, 0x28($s0) +/* EF2EF4 802408E4 24020003 */ addiu $v0, $zero, 3 +/* EF2EF8 802408E8 AE620070 */ sw $v0, 0x70($s3) +/* EF2EFC 802408EC 8FBF0020 */ lw $ra, 0x20($sp) +/* EF2F00 802408F0 8FB3001C */ lw $s3, 0x1c($sp) +/* EF2F04 802408F4 8FB20018 */ lw $s2, 0x18($sp) +/* EF2F08 802408F8 8FB10014 */ lw $s1, 0x14($sp) +/* EF2F0C 802408FC 8FB00010 */ lw $s0, 0x10($sp) +/* EF2F10 80240900 03E00008 */ jr $ra +/* EF2F14 80240904 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EF2680/func_80240908_EF2F18.s b/asm/nonmatchings/code_EF2680/func_80240908_EF2F18.s new file mode 100644 index 0000000000..336d390d54 --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80240908_EF2F18.s @@ -0,0 +1,225 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240908_EF2F18 +/* EF2F18 80240908 27BDFF88 */ addiu $sp, $sp, -0x78 +/* EF2F1C 8024090C AFB3004C */ sw $s3, 0x4c($sp) +/* EF2F20 80240910 0080982D */ daddu $s3, $a0, $zero +/* EF2F24 80240914 AFBF0054 */ sw $ra, 0x54($sp) +/* EF2F28 80240918 AFB40050 */ sw $s4, 0x50($sp) +/* EF2F2C 8024091C AFB20048 */ sw $s2, 0x48($sp) +/* EF2F30 80240920 AFB10044 */ sw $s1, 0x44($sp) +/* EF2F34 80240924 AFB00040 */ sw $s0, 0x40($sp) +/* EF2F38 80240928 F7BA0070 */ sdc1 $f26, 0x70($sp) +/* EF2F3C 8024092C F7B80068 */ sdc1 $f24, 0x68($sp) +/* EF2F40 80240930 F7B60060 */ sdc1 $f22, 0x60($sp) +/* EF2F44 80240934 F7B40058 */ sdc1 $f20, 0x58($sp) +/* EF2F48 80240938 8E710148 */ lw $s1, 0x148($s3) +/* EF2F4C 8024093C 00A0902D */ daddu $s2, $a1, $zero +/* EF2F50 80240940 86240008 */ lh $a0, 8($s1) +/* EF2F54 80240944 0C00F92F */ jal func_8003E4BC +/* EF2F58 80240948 00C0A02D */ daddu $s4, $a2, $zero +/* EF2F5C 8024094C 0040802D */ daddu $s0, $v0, $zero +/* EF2F60 80240950 C6200078 */ lwc1 $f0, 0x78($s1) +/* EF2F64 80240954 46800020 */ cvt.s.w $f0, $f0 +/* EF2F68 80240958 46000021 */ cvt.d.s $f0, $f0 +/* EF2F6C 8024095C 3C014059 */ lui $at, 0x4059 +/* EF2F70 80240960 44811800 */ mtc1 $at, $f3 +/* EF2F74 80240964 44801000 */ mtc1 $zero, $f2 +/* EF2F78 80240968 8602008E */ lh $v0, 0x8e($s0) +/* EF2F7C 8024096C 9603008E */ lhu $v1, 0x8e($s0) +/* EF2F80 80240970 46220003 */ div.d $f0, $f0, $f2 +/* EF2F84 80240974 46200620 */ cvt.s.d $f24, $f0 +/* EF2F88 80240978 C6200088 */ lwc1 $f0, 0x88($s1) +/* EF2F8C 8024097C 46800020 */ cvt.s.w $f0, $f0 +/* EF2F90 80240980 46000021 */ cvt.d.s $f0, $f0 +/* EF2F94 80240984 46220003 */ div.d $f0, $f0, $f2 +/* EF2F98 80240988 46200020 */ cvt.s.d $f0, $f0 +/* EF2F9C 8024098C 18400003 */ blez $v0, .L8024099C +/* EF2FA0 80240990 4600C680 */ add.s $f26, $f24, $f0 +/* EF2FA4 80240994 2462FFFF */ addiu $v0, $v1, -1 +/* EF2FA8 80240998 A602008E */ sh $v0, 0x8e($s0) +.L8024099C: +/* EF2FAC 8024099C 8E220070 */ lw $v0, 0x70($s1) +/* EF2FB0 802409A0 18400034 */ blez $v0, .L80240A74 +/* EF2FB4 802409A4 00000000 */ nop +/* EF2FB8 802409A8 C62C0074 */ lwc1 $f12, 0x74($s1) +/* EF2FBC 802409AC 46806320 */ cvt.s.w $f12, $f12 +/* EF2FC0 802409B0 44820000 */ mtc1 $v0, $f0 +/* EF2FC4 802409B4 00000000 */ nop +/* EF2FC8 802409B8 46800020 */ cvt.s.w $f0, $f0 +/* EF2FCC 802409BC 46000021 */ cvt.d.s $f0, $f0 +/* EF2FD0 802409C0 46220003 */ div.d $f0, $f0, $f2 +/* EF2FD4 802409C4 0C00AD77 */ jal func_8002B5DC +/* EF2FD8 802409C8 462005A0 */ cvt.s.d $f22, $f0 +/* EF2FDC 802409CC 8E020000 */ lw $v0, ($s0) +/* EF2FE0 802409D0 30420008 */ andi $v0, $v0, 8 +/* EF2FE4 802409D4 10400003 */ beqz $v0, .L802409E4 +/* EF2FE8 802409D8 46000506 */ mov.s $f20, $f0 +/* EF2FEC 802409DC 08090289 */ j .L80240A24 +/* EF2FF0 802409E0 0000102D */ daddu $v0, $zero, $zero +.L802409E4: +/* EF2FF4 802409E4 27A50028 */ addiu $a1, $sp, 0x28 +/* EF2FF8 802409E8 27A6002C */ addiu $a2, $sp, 0x2c +/* EF2FFC 802409EC C6000038 */ lwc1 $f0, 0x38($s0) +/* EF3000 802409F0 C602003C */ lwc1 $f2, 0x3c($s0) +/* EF3004 802409F4 C6040040 */ lwc1 $f4, 0x40($s0) +/* EF3008 802409F8 3C01447A */ lui $at, 0x447a +/* EF300C 802409FC 44813000 */ mtc1 $at, $f6 +/* EF3010 80240A00 27A20034 */ addiu $v0, $sp, 0x34 +/* EF3014 80240A04 E7A00028 */ swc1 $f0, 0x28($sp) +/* EF3018 80240A08 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EF301C 80240A0C E7A40030 */ swc1 $f4, 0x30($sp) +/* EF3020 80240A10 E7A60034 */ swc1 $f6, 0x34($sp) +/* EF3024 80240A14 AFA20010 */ sw $v0, 0x10($sp) +/* EF3028 80240A18 8E040080 */ lw $a0, 0x80($s0) +/* EF302C 80240A1C 0C03908F */ jal func_800E423C +/* EF3030 80240A20 27A70030 */ addiu $a3, $sp, 0x30 +.L80240A24: +/* EF3034 80240A24 10400007 */ beqz $v0, .L80240A44 +/* EF3038 80240A28 00000000 */ nop +/* EF303C 80240A2C 4616A082 */ mul.s $f2, $f20, $f22 +/* EF3040 80240A30 00000000 */ nop +/* EF3044 80240A34 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* EF3048 80240A38 46180000 */ add.s $f0, $f0, $f24 +/* EF304C 80240A3C 08090294 */ j .L80240A50 +/* EF3050 80240A40 46020000 */ add.s $f0, $f0, $f2 +.L80240A44: +/* EF3054 80240A44 4616A002 */ mul.s $f0, $f20, $f22 +/* EF3058 80240A48 00000000 */ nop +/* EF305C 80240A4C 4600D000 */ add.s $f0, $f26, $f0 +.L80240A50: +/* EF3060 80240A50 E600003C */ swc1 $f0, 0x3c($s0) +/* EF3064 80240A54 8E220074 */ lw $v0, 0x74($s1) +/* EF3068 80240A58 2442000A */ addiu $v0, $v0, 0xa +/* EF306C 80240A5C 44826000 */ mtc1 $v0, $f12 +/* EF3070 80240A60 00000000 */ nop +/* EF3074 80240A64 0C00AB85 */ jal func_8002AE14 +/* EF3078 80240A68 46806320 */ cvt.s.w $f12, $f12 +/* EF307C 80240A6C 4600020D */ trunc.w.s $f8, $f0 +/* EF3080 80240A70 E6280074 */ swc1 $f8, 0x74($s1) +.L80240A74: +/* EF3084 80240A74 8E220090 */ lw $v0, 0x90($s1) +/* EF3088 80240A78 1C400040 */ bgtz $v0, .L80240B7C +/* EF308C 80240A7C 2442FFFF */ addiu $v0, $v0, -1 +/* EF3090 80240A80 860200A8 */ lh $v0, 0xa8($s0) +/* EF3094 80240A84 C600003C */ lwc1 $f0, 0x3c($s0) +/* EF3098 80240A88 44821000 */ mtc1 $v0, $f2 +/* EF309C 80240A8C 00000000 */ nop +/* EF30A0 80240A90 468010A0 */ cvt.s.w $f2, $f2 +/* EF30A4 80240A94 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EF30A8 80240A98 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EF30AC 80240A9C 46020000 */ add.s $f0, $f0, $f2 +/* EF30B0 80240AA0 3C014024 */ lui $at, 0x4024 +/* EF30B4 80240AA4 44812800 */ mtc1 $at, $f5 +/* EF30B8 80240AA8 44802000 */ mtc1 $zero, $f4 +/* EF30BC 80240AAC C442002C */ lwc1 $f2, 0x2c($v0) +/* EF30C0 80240AB0 46000021 */ cvt.d.s $f0, $f0 +/* EF30C4 80240AB4 46240000 */ add.d $f0, $f0, $f4 +/* EF30C8 80240AB8 460010A1 */ cvt.d.s $f2, $f2 +/* EF30CC 80240ABC 4620103C */ c.lt.d $f2, $f0 +/* EF30D0 80240AC0 00000000 */ nop +/* EF30D4 80240AC4 4500002E */ bc1f .L80240B80 +/* EF30D8 80240AC8 0280202D */ daddu $a0, $s4, $zero +/* EF30DC 80240ACC 24020001 */ addiu $v0, $zero, 1 +/* EF30E0 80240AD0 AFA20010 */ sw $v0, 0x10($sp) +/* EF30E4 80240AD4 8E460024 */ lw $a2, 0x24($s2) +/* EF30E8 80240AD8 8E470028 */ lw $a3, 0x28($s2) +/* EF30EC 80240ADC 0C013469 */ jal func_8004D1A4 +/* EF30F0 80240AE0 0220282D */ daddu $a1, $s1, $zero +/* EF30F4 80240AE4 10400026 */ beqz $v0, .L80240B80 +/* EF30F8 80240AE8 0000202D */ daddu $a0, $zero, $zero +/* EF30FC 80240AEC 0200282D */ daddu $a1, $s0, $zero +/* EF3100 80240AF0 0000302D */ daddu $a2, $zero, $zero +/* EF3104 80240AF4 2412000C */ addiu $s2, $zero, 0xc +/* EF3108 80240AF8 860300A8 */ lh $v1, 0xa8($s0) +/* EF310C 80240AFC 3C013F80 */ lui $at, 0x3f80 +/* EF3110 80240B00 44810000 */ mtc1 $at, $f0 +/* EF3114 80240B04 3C014000 */ lui $at, 0x4000 +/* EF3118 80240B08 44811000 */ mtc1 $at, $f2 +/* EF311C 80240B0C 3C01C1A0 */ lui $at, 0xc1a0 +/* EF3120 80240B10 44812000 */ mtc1 $at, $f4 +/* EF3124 80240B14 44834000 */ mtc1 $v1, $f8 +/* EF3128 80240B18 00000000 */ nop +/* EF312C 80240B1C 46804220 */ cvt.s.w $f8, $f8 +/* EF3130 80240B20 44074000 */ mfc1 $a3, $f8 +/* EF3134 80240B24 27A20038 */ addiu $v0, $sp, 0x38 +/* EF3138 80240B28 AFB2001C */ sw $s2, 0x1c($sp) +/* EF313C 80240B2C AFA20020 */ sw $v0, 0x20($sp) +/* EF3140 80240B30 E7A00010 */ swc1 $f0, 0x10($sp) +/* EF3144 80240B34 E7A20014 */ swc1 $f2, 0x14($sp) +/* EF3148 80240B38 0C01D444 */ jal func_80075110 +/* EF314C 80240B3C E7A40018 */ swc1 $f4, 0x18($sp) +/* EF3150 80240B40 0200202D */ daddu $a0, $s0, $zero +/* EF3154 80240B44 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EF3158 80240B48 C480003C */ lwc1 $f0, 0x3c($a0) +/* EF315C 80240B4C 3C060020 */ lui $a2, 0x20 +/* EF3160 80240B50 0C013600 */ jal func_8004D800 +/* EF3164 80240B54 E4800064 */ swc1 $f0, 0x64($a0) +/* EF3168 80240B58 8E220018 */ lw $v0, 0x18($s1) +/* EF316C 80240B5C 9442002A */ lhu $v0, 0x2a($v0) +/* EF3170 80240B60 30420001 */ andi $v0, $v0, 1 +/* EF3174 80240B64 10400003 */ beqz $v0, .L80240B74 +/* EF3178 80240B68 2402000A */ addiu $v0, $zero, 0xa +/* EF317C 80240B6C 08090307 */ j .L80240C1C +/* EF3180 80240B70 AE620070 */ sw $v0, 0x70($s3) +.L80240B74: +/* EF3184 80240B74 08090307 */ j .L80240C1C +/* EF3188 80240B78 AE720070 */ sw $s2, 0x70($s3) +.L80240B7C: +/* EF318C 80240B7C AE220090 */ sw $v0, 0x90($s1) +.L80240B80: +/* EF3190 80240B80 8602008C */ lh $v0, 0x8c($s0) +/* EF3194 80240B84 14400025 */ bnez $v0, .L80240C1C +/* EF3198 80240B88 00000000 */ nop +/* EF319C 80240B8C 8602008E */ lh $v0, 0x8e($s0) +/* EF31A0 80240B90 1C400022 */ bgtz $v0, .L80240C1C +/* EF31A4 80240B94 00000000 */ nop +/* EF31A8 80240B98 8E620074 */ lw $v0, 0x74($s3) +/* EF31AC 80240B9C 2442FFFF */ addiu $v0, $v0, -1 +/* EF31B0 80240BA0 1840001D */ blez $v0, .L80240C18 +/* EF31B4 80240BA4 AE620074 */ sw $v0, 0x74($s3) +/* EF31B8 80240BA8 8E220018 */ lw $v0, 0x18($s1) +/* EF31BC 80240BAC 9442002A */ lhu $v0, 0x2a($v0) +/* EF31C0 80240BB0 30420010 */ andi $v0, $v0, 0x10 +/* EF31C4 80240BB4 14400007 */ bnez $v0, .L80240BD4 +/* EF31C8 80240BB8 00000000 */ nop +/* EF31CC 80240BBC C600000C */ lwc1 $f0, 0xc($s0) +/* EF31D0 80240BC0 3C014334 */ lui $at, 0x4334 +/* EF31D4 80240BC4 44816000 */ mtc1 $at, $f12 +/* EF31D8 80240BC8 0C00AB85 */ jal func_8002AE14 +/* EF31DC 80240BCC 460C0300 */ add.s $f12, $f0, $f12 +/* EF31E0 80240BD0 E600000C */ swc1 $f0, 0xc($s0) +.L80240BD4: +/* EF31E4 80240BD4 0C00AB3B */ jal func_8002ACEC +/* EF31E8 80240BD8 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EF31EC 80240BDC 3C032E8B */ lui $v1, 0x2e8b +/* EF31F0 80240BE0 3463A2E9 */ ori $v1, $v1, 0xa2e9 +/* EF31F4 80240BE4 00430018 */ mult $v0, $v1 +/* EF31F8 80240BE8 00021FC3 */ sra $v1, $v0, 0x1f +/* EF31FC 80240BEC 00004010 */ mfhi $t0 +/* EF3200 80240BF0 00082043 */ sra $a0, $t0, 1 +/* EF3204 80240BF4 00832023 */ subu $a0, $a0, $v1 +/* EF3208 80240BF8 00041840 */ sll $v1, $a0, 1 +/* EF320C 80240BFC 00641821 */ addu $v1, $v1, $a0 +/* EF3210 80240C00 00031880 */ sll $v1, $v1, 2 +/* EF3214 80240C04 00641823 */ subu $v1, $v1, $a0 +/* EF3218 80240C08 00431023 */ subu $v0, $v0, $v1 +/* EF321C 80240C0C 24420005 */ addiu $v0, $v0, 5 +/* EF3220 80240C10 08090307 */ j .L80240C1C +/* EF3224 80240C14 A602008E */ sh $v0, 0x8e($s0) +.L80240C18: +/* EF3228 80240C18 AE600070 */ sw $zero, 0x70($s3) +.L80240C1C: +/* EF322C 80240C1C 8FBF0054 */ lw $ra, 0x54($sp) +/* EF3230 80240C20 8FB40050 */ lw $s4, 0x50($sp) +/* EF3234 80240C24 8FB3004C */ lw $s3, 0x4c($sp) +/* EF3238 80240C28 8FB20048 */ lw $s2, 0x48($sp) +/* EF323C 80240C2C 8FB10044 */ lw $s1, 0x44($sp) +/* EF3240 80240C30 8FB00040 */ lw $s0, 0x40($sp) +/* EF3244 80240C34 D7BA0070 */ ldc1 $f26, 0x70($sp) +/* EF3248 80240C38 D7B80068 */ ldc1 $f24, 0x68($sp) +/* EF324C 80240C3C D7B60060 */ ldc1 $f22, 0x60($sp) +/* EF3250 80240C40 D7B40058 */ ldc1 $f20, 0x58($sp) +/* EF3254 80240C44 03E00008 */ jr $ra +/* EF3258 80240C48 27BD0078 */ addiu $sp, $sp, 0x78 diff --git a/asm/nonmatchings/code_EF2680/func_80240C4C_EF325C.s b/asm/nonmatchings/code_EF2680/func_80240C4C_EF325C.s new file mode 100644 index 0000000000..643db2e52a --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80240C4C_EF325C.s @@ -0,0 +1,34 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240C4C_EF325C +/* EF325C 80240C4C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EF3260 80240C50 AFB20018 */ sw $s2, 0x18($sp) +/* EF3264 80240C54 0080902D */ daddu $s2, $a0, $zero +/* EF3268 80240C58 AFBF001C */ sw $ra, 0x1c($sp) +/* EF326C 80240C5C AFB10014 */ sw $s1, 0x14($sp) +/* EF3270 80240C60 AFB00010 */ sw $s0, 0x10($sp) +/* EF3274 80240C64 8E510148 */ lw $s1, 0x148($s2) +/* EF3278 80240C68 0C00F92F */ jal func_8003E4BC +/* EF327C 80240C6C 86240008 */ lh $a0, 8($s1) +/* EF3280 80240C70 0040802D */ daddu $s0, $v0, $zero +/* EF3284 80240C74 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EF3288 80240C78 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EF328C 80240C7C C60C0038 */ lwc1 $f12, 0x38($s0) +/* EF3290 80240C80 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EF3294 80240C84 A600008E */ sh $zero, 0x8e($s0) +/* EF3298 80240C88 8C460028 */ lw $a2, 0x28($v0) +/* EF329C 80240C8C 0C00ABDC */ jal fio_validate_header_checksums +/* EF32A0 80240C90 8C470030 */ lw $a3, 0x30($v0) +/* EF32A4 80240C94 E600000C */ swc1 $f0, 0xc($s0) +/* EF32A8 80240C98 8E2200CC */ lw $v0, 0xcc($s1) +/* EF32AC 80240C9C 8C420020 */ lw $v0, 0x20($v0) +/* EF32B0 80240CA0 AE020028 */ sw $v0, 0x28($s0) +/* EF32B4 80240CA4 2402000B */ addiu $v0, $zero, 0xb +/* EF32B8 80240CA8 AE420070 */ sw $v0, 0x70($s2) +/* EF32BC 80240CAC 8FBF001C */ lw $ra, 0x1c($sp) +/* EF32C0 80240CB0 8FB20018 */ lw $s2, 0x18($sp) +/* EF32C4 80240CB4 8FB10014 */ lw $s1, 0x14($sp) +/* EF32C8 80240CB8 8FB00010 */ lw $s0, 0x10($sp) +/* EF32CC 80240CBC 03E00008 */ jr $ra +/* EF32D0 80240CC0 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EF2680/func_80240CC4_EF32D4.s b/asm/nonmatchings/code_EF2680/func_80240CC4_EF32D4.s new file mode 100644 index 0000000000..0f5931b229 --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80240CC4_EF32D4.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240CC4_EF32D4 +/* EF32D4 80240CC4 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EF32D8 80240CC8 AFB00010 */ sw $s0, 0x10($sp) +/* EF32DC 80240CCC 0080802D */ daddu $s0, $a0, $zero +/* EF32E0 80240CD0 AFBF0014 */ sw $ra, 0x14($sp) +/* EF32E4 80240CD4 8E020148 */ lw $v0, 0x148($s0) +/* EF32E8 80240CD8 0C00F92F */ jal func_8003E4BC +/* EF32EC 80240CDC 84440008 */ lh $a0, 8($v0) +/* EF32F0 80240CE0 9443008E */ lhu $v1, 0x8e($v0) +/* EF32F4 80240CE4 C440003C */ lwc1 $f0, 0x3c($v0) +/* EF32F8 80240CE8 24640001 */ addiu $a0, $v1, 1 +/* EF32FC 80240CEC 00031C00 */ sll $v1, $v1, 0x10 +/* EF3300 80240CF0 00031B83 */ sra $v1, $v1, 0xe +/* EF3304 80240CF4 A444008E */ sh $a0, 0x8e($v0) +/* EF3308 80240CF8 3C018024 */ lui $at, %hi(D_802444BC) +/* EF330C 80240CFC 00230821 */ addu $at, $at, $v1 +/* EF3310 80240D00 C42244BC */ lwc1 $f2, %lo(D_802444BC)($at) +/* EF3314 80240D04 8443008E */ lh $v1, 0x8e($v0) +/* EF3318 80240D08 46020000 */ add.s $f0, $f0, $f2 +/* EF331C 80240D0C 28630005 */ slti $v1, $v1, 5 +/* EF3320 80240D10 14600003 */ bnez $v1, .L80240D20 +/* EF3324 80240D14 E440003C */ swc1 $f0, 0x3c($v0) +/* EF3328 80240D18 2402000C */ addiu $v0, $zero, 0xc +/* EF332C 80240D1C AE020070 */ sw $v0, 0x70($s0) +.L80240D20: +/* EF3330 80240D20 8FBF0014 */ lw $ra, 0x14($sp) +/* EF3334 80240D24 8FB00010 */ lw $s0, 0x10($sp) +/* EF3338 80240D28 03E00008 */ jr $ra +/* EF333C 80240D2C 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EF2680/func_80240D30_EF3340.s b/asm/nonmatchings/code_EF2680/func_80240D30_EF3340.s new file mode 100644 index 0000000000..a81ad579cd --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80240D30_EF3340.s @@ -0,0 +1,83 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240D30_EF3340 +/* EF3340 80240D30 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EF3344 80240D34 AFB3001C */ sw $s3, 0x1c($sp) +/* EF3348 80240D38 0080982D */ daddu $s3, $a0, $zero +/* EF334C 80240D3C AFBF0020 */ sw $ra, 0x20($sp) +/* EF3350 80240D40 AFB20018 */ sw $s2, 0x18($sp) +/* EF3354 80240D44 AFB10014 */ sw $s1, 0x14($sp) +/* EF3358 80240D48 AFB00010 */ sw $s0, 0x10($sp) +/* EF335C 80240D4C 8E720148 */ lw $s2, 0x148($s3) +/* EF3360 80240D50 86440008 */ lh $a0, 8($s2) +/* EF3364 80240D54 0C00F92F */ jal func_8003E4BC +/* EF3368 80240D58 00A0802D */ daddu $s0, $a1, $zero +/* EF336C 80240D5C 0040882D */ daddu $s1, $v0, $zero +/* EF3370 80240D60 C6420080 */ lwc1 $f2, 0x80($s2) +/* EF3374 80240D64 468010A0 */ cvt.s.w $f2, $f2 +/* EF3378 80240D68 460010A1 */ cvt.d.s $f2, $f2 +/* EF337C 80240D6C C6400084 */ lwc1 $f0, 0x84($s2) +/* EF3380 80240D70 46800020 */ cvt.s.w $f0, $f0 +/* EF3384 80240D74 46000021 */ cvt.d.s $f0, $f0 +/* EF3388 80240D78 3C014059 */ lui $at, 0x4059 +/* EF338C 80240D7C 44812800 */ mtc1 $at, $f5 +/* EF3390 80240D80 44802000 */ mtc1 $zero, $f4 +/* EF3394 80240D84 8E4200CC */ lw $v0, 0xcc($s2) +/* EF3398 80240D88 C62C0038 */ lwc1 $f12, 0x38($s1) +/* EF339C 80240D8C C62E0040 */ lwc1 $f14, 0x40($s1) +/* EF33A0 80240D90 46241083 */ div.d $f2, $f2, $f4 +/* EF33A4 80240D94 462010A0 */ cvt.s.d $f2, $f2 +/* EF33A8 80240D98 46240003 */ div.d $f0, $f0, $f4 +/* EF33AC 80240D9C 8C420020 */ lw $v0, 0x20($v0) +/* EF33B0 80240DA0 46200020 */ cvt.s.d $f0, $f0 +/* EF33B4 80240DA4 E622001C */ swc1 $f2, 0x1c($s1) +/* EF33B8 80240DA8 E6200014 */ swc1 $f0, 0x14($s1) +/* EF33BC 80240DAC AE220028 */ sw $v0, 0x28($s1) +/* EF33C0 80240DB0 C6000018 */ lwc1 $f0, 0x18($s0) +/* EF33C4 80240DB4 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EF33C8 80240DB8 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EF33CC 80240DBC E6200018 */ swc1 $f0, 0x18($s1) +/* EF33D0 80240DC0 8C460028 */ lw $a2, 0x28($v0) +/* EF33D4 80240DC4 0C00ABDC */ jal fio_validate_header_checksums +/* EF33D8 80240DC8 8C470030 */ lw $a3, 0x30($v0) +/* EF33DC 80240DCC E620000C */ swc1 $f0, 0xc($s1) +/* EF33E0 80240DD0 8E420018 */ lw $v0, 0x18($s2) +/* EF33E4 80240DD4 AE400074 */ sw $zero, 0x74($s2) +/* EF33E8 80240DD8 9442002A */ lhu $v0, 0x2a($v0) +/* EF33EC 80240DDC 30420002 */ andi $v0, $v0, 2 +/* EF33F0 80240DE0 10400005 */ beqz $v0, .L80240DF8 +/* EF33F4 80240DE4 24020003 */ addiu $v0, $zero, 3 +/* EF33F8 80240DE8 A622008E */ sh $v0, 0x8e($s1) +/* EF33FC 80240DEC 2402000D */ addiu $v0, $zero, 0xd +/* EF3400 80240DF0 08090392 */ j .L80240E48 +/* EF3404 80240DF4 AE620070 */ sw $v0, 0x70($s3) +.L80240DF8: +/* EF3408 80240DF8 24030001 */ addiu $v1, $zero, 1 +/* EF340C 80240DFC 2402000E */ addiu $v0, $zero, 0xe +/* EF3410 80240E00 A623008E */ sh $v1, 0x8e($s1) +/* EF3414 80240E04 AE620070 */ sw $v0, 0x70($s3) +/* EF3418 80240E08 C6200038 */ lwc1 $f0, 0x38($s1) +/* EF341C 80240E0C 4600018D */ trunc.w.s $f6, $f0 +/* EF3420 80240E10 44023000 */ mfc1 $v0, $f6 +/* EF3424 80240E14 00000000 */ nop +/* EF3428 80240E18 A6420010 */ sh $v0, 0x10($s2) +/* EF342C 80240E1C C620003C */ lwc1 $f0, 0x3c($s1) +/* EF3430 80240E20 4600018D */ trunc.w.s $f6, $f0 +/* EF3434 80240E24 44023000 */ mfc1 $v0, $f6 +/* EF3438 80240E28 00000000 */ nop +/* EF343C 80240E2C A6420012 */ sh $v0, 0x12($s2) +/* EF3440 80240E30 C6200040 */ lwc1 $f0, 0x40($s1) +/* EF3444 80240E34 A2430007 */ sb $v1, 7($s2) +/* EF3448 80240E38 4600018D */ trunc.w.s $f6, $f0 +/* EF344C 80240E3C 44023000 */ mfc1 $v0, $f6 +/* EF3450 80240E40 00000000 */ nop +/* EF3454 80240E44 A6420014 */ sh $v0, 0x14($s2) +.L80240E48: +/* EF3458 80240E48 8FBF0020 */ lw $ra, 0x20($sp) +/* EF345C 80240E4C 8FB3001C */ lw $s3, 0x1c($sp) +/* EF3460 80240E50 8FB20018 */ lw $s2, 0x18($sp) +/* EF3464 80240E54 8FB10014 */ lw $s1, 0x14($sp) +/* EF3468 80240E58 8FB00010 */ lw $s0, 0x10($sp) +/* EF346C 80240E5C 03E00008 */ jr $ra +/* EF3470 80240E60 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EF2680/func_80240E64_EF3474.s b/asm/nonmatchings/code_EF2680/func_80240E64_EF3474.s new file mode 100644 index 0000000000..54783a0d41 --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80240E64_EF3474.s @@ -0,0 +1,31 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240E64_EF3474 +/* EF3474 80240E64 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EF3478 80240E68 AFB00010 */ sw $s0, 0x10($sp) +/* EF347C 80240E6C 0080802D */ daddu $s0, $a0, $zero +/* EF3480 80240E70 AFBF0014 */ sw $ra, 0x14($sp) +/* EF3484 80240E74 8E020148 */ lw $v0, 0x148($s0) +/* EF3488 80240E78 0C00F92F */ jal func_8003E4BC +/* EF348C 80240E7C 84440008 */ lh $a0, 8($v0) +/* EF3490 80240E80 0040202D */ daddu $a0, $v0, $zero +/* EF3494 80240E84 8482008E */ lh $v0, 0x8e($a0) +/* EF3498 80240E88 9483008E */ lhu $v1, 0x8e($a0) +/* EF349C 80240E8C 18400005 */ blez $v0, .L80240EA4 +/* EF34A0 80240E90 2462FFFF */ addiu $v0, $v1, -1 +/* EF34A4 80240E94 A482008E */ sh $v0, 0x8e($a0) +/* EF34A8 80240E98 00021400 */ sll $v0, $v0, 0x10 +/* EF34AC 80240E9C 1C400006 */ bgtz $v0, .L80240EB8 +/* EF34B0 80240EA0 00000000 */ nop +.L80240EA4: +/* EF34B4 80240EA4 8482008C */ lh $v0, 0x8c($a0) +/* EF34B8 80240EA8 14400003 */ bnez $v0, .L80240EB8 +/* EF34BC 80240EAC 2402000E */ addiu $v0, $zero, 0xe +/* EF34C0 80240EB0 A480008E */ sh $zero, 0x8e($a0) +/* EF34C4 80240EB4 AE020070 */ sw $v0, 0x70($s0) +.L80240EB8: +/* EF34C8 80240EB8 8FBF0014 */ lw $ra, 0x14($sp) +/* EF34CC 80240EBC 8FB00010 */ lw $s0, 0x10($sp) +/* EF34D0 80240EC0 03E00008 */ jr $ra +/* EF34D4 80240EC4 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EF2680/func_80240EC8_EF34D8.s b/asm/nonmatchings/code_EF2680/func_80240EC8_EF34D8.s new file mode 100644 index 0000000000..8658cc64b9 --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80240EC8_EF34D8.s @@ -0,0 +1,243 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240EC8_EF34D8 +/* EF34D8 80240EC8 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EF34DC 80240ECC AFB20030 */ sw $s2, 0x30($sp) +/* EF34E0 80240ED0 0080902D */ daddu $s2, $a0, $zero +/* EF34E4 80240ED4 AFBF0038 */ sw $ra, 0x38($sp) +/* EF34E8 80240ED8 AFB30034 */ sw $s3, 0x34($sp) +/* EF34EC 80240EDC AFB1002C */ sw $s1, 0x2c($sp) +/* EF34F0 80240EE0 AFB00028 */ sw $s0, 0x28($sp) +/* EF34F4 80240EE4 F7B60048 */ sdc1 $f22, 0x48($sp) +/* EF34F8 80240EE8 F7B40040 */ sdc1 $f20, 0x40($sp) +/* EF34FC 80240EEC 8E510148 */ lw $s1, 0x148($s2) +/* EF3500 80240EF0 86240008 */ lh $a0, 8($s1) +/* EF3504 80240EF4 0C00F92F */ jal func_8003E4BC +/* EF3508 80240EF8 00A0982D */ daddu $s3, $a1, $zero +/* EF350C 80240EFC 0040802D */ daddu $s0, $v0, $zero +/* EF3510 80240F00 0200202D */ daddu $a0, $s0, $zero +/* EF3514 80240F04 C6220088 */ lwc1 $f2, 0x88($s1) +/* EF3518 80240F08 468010A0 */ cvt.s.w $f2, $f2 +/* EF351C 80240F0C 460010A1 */ cvt.d.s $f2, $f2 +/* EF3520 80240F10 C604001C */ lwc1 $f4, 0x1c($s0) +/* EF3524 80240F14 C6000014 */ lwc1 $f0, 0x14($s0) +/* EF3528 80240F18 8E050018 */ lw $a1, 0x18($s0) +/* EF352C 80240F1C 46002100 */ add.s $f4, $f4, $f0 +/* EF3530 80240F20 8E06000C */ lw $a2, 0xc($s0) +/* EF3534 80240F24 C6200078 */ lwc1 $f0, 0x78($s1) +/* EF3538 80240F28 46800020 */ cvt.s.w $f0, $f0 +/* EF353C 80240F2C E604001C */ swc1 $f4, 0x1c($s0) +/* EF3540 80240F30 3C014059 */ lui $at, 0x4059 +/* EF3544 80240F34 44812800 */ mtc1 $at, $f5 +/* EF3548 80240F38 44802000 */ mtc1 $zero, $f4 +/* EF354C 80240F3C 46000021 */ cvt.d.s $f0, $f0 +/* EF3550 80240F40 46240003 */ div.d $f0, $f0, $f4 +/* EF3554 80240F44 46200520 */ cvt.s.d $f20, $f0 +/* EF3558 80240F48 46241083 */ div.d $f2, $f2, $f4 +/* EF355C 80240F4C 0C00F909 */ jal func_8003E424 +/* EF3560 80240F50 462015A0 */ cvt.s.d $f22, $f2 +/* EF3564 80240F54 C604001C */ lwc1 $f4, 0x1c($s0) +/* EF3568 80240F58 44801000 */ mtc1 $zero, $f2 +/* EF356C 80240F5C 44801800 */ mtc1 $zero, $f3 +/* EF3570 80240F60 46002021 */ cvt.d.s $f0, $f4 +/* EF3574 80240F64 4620103E */ c.le.d $f2, $f0 +/* EF3578 80240F68 00000000 */ nop +/* EF357C 80240F6C 45000030 */ bc1f .L80241030 +/* EF3580 80240F70 00000000 */ nop +/* EF3584 80240F74 C600003C */ lwc1 $f0, 0x3c($s0) +/* EF3588 80240F78 46040000 */ add.s $f0, $f0, $f4 +/* EF358C 80240F7C E600003C */ swc1 $f0, 0x3c($s0) +/* EF3590 80240F80 8E2200CC */ lw $v0, 0xcc($s1) +/* EF3594 80240F84 8C420024 */ lw $v0, 0x24($v0) +/* EF3598 80240F88 AE020028 */ sw $v0, 0x28($s0) +/* EF359C 80240F8C A2200007 */ sb $zero, 7($s1) +/* EF35A0 80240F90 8E020000 */ lw $v0, ($s0) +/* EF35A4 80240F94 30420008 */ andi $v0, $v0, 8 +/* EF35A8 80240F98 14400011 */ bnez $v0, .L80240FE0 +/* EF35AC 80240F9C 0000102D */ daddu $v0, $zero, $zero +/* EF35B0 80240FA0 27A50018 */ addiu $a1, $sp, 0x18 +/* EF35B4 80240FA4 27A6001C */ addiu $a2, $sp, 0x1c +/* EF35B8 80240FA8 C6000038 */ lwc1 $f0, 0x38($s0) +/* EF35BC 80240FAC C602003C */ lwc1 $f2, 0x3c($s0) +/* EF35C0 80240FB0 C6040040 */ lwc1 $f4, 0x40($s0) +/* EF35C4 80240FB4 3C01447A */ lui $at, 0x447a +/* EF35C8 80240FB8 44813000 */ mtc1 $at, $f6 +/* EF35CC 80240FBC 27A20024 */ addiu $v0, $sp, 0x24 +/* EF35D0 80240FC0 E7A00018 */ swc1 $f0, 0x18($sp) +/* EF35D4 80240FC4 E7A2001C */ swc1 $f2, 0x1c($sp) +/* EF35D8 80240FC8 E7A40020 */ swc1 $f4, 0x20($sp) +/* EF35DC 80240FCC E7A60024 */ swc1 $f6, 0x24($sp) +/* EF35E0 80240FD0 AFA20010 */ sw $v0, 0x10($sp) +/* EF35E4 80240FD4 8E040080 */ lw $a0, 0x80($s0) +/* EF35E8 80240FD8 0C03908F */ jal func_800E423C +/* EF35EC 80240FDC 27A70020 */ addiu $a3, $sp, 0x20 +.L80240FE0: +/* EF35F0 80240FE0 1040000B */ beqz $v0, .L80241010 +/* EF35F4 80240FE4 00000000 */ nop +/* EF35F8 80240FE8 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* EF35FC 80240FEC 46140080 */ add.s $f2, $f0, $f20 +/* EF3600 80240FF0 C600003C */ lwc1 $f0, 0x3c($s0) +/* EF3604 80240FF4 4600103E */ c.le.s $f2, $f0 +/* EF3608 80240FF8 00000000 */ nop +/* EF360C 80240FFC 4500008D */ bc1f .L80241234 +/* EF3610 80241000 00000000 */ nop +/* EF3614 80241004 E602003C */ swc1 $f2, 0x3c($s0) +/* EF3618 80241008 0809048D */ j .L80241234 +/* EF361C 8024100C AE400070 */ sw $zero, 0x70($s2) +.L80241010: +/* EF3620 80241010 C602003C */ lwc1 $f2, 0x3c($s0) +/* EF3624 80241014 C6000064 */ lwc1 $f0, 0x64($s0) +/* EF3628 80241018 4602003E */ c.le.s $f0, $f2 +/* EF362C 8024101C 00000000 */ nop +/* EF3630 80241020 45030084 */ bc1tl .L80241234 +/* EF3634 80241024 AE400070 */ sw $zero, 0x70($s2) +/* EF3638 80241028 0809048D */ j .L80241234 +/* EF363C 8024102C 00000000 */ nop +.L80241030: +/* EF3640 80241030 4622003C */ c.lt.d $f0, $f2 +/* EF3644 80241034 00000000 */ nop +/* EF3648 80241038 4500007E */ bc1f .L80241234 +/* EF364C 8024103C 00000000 */ nop +/* EF3650 80241040 9602008E */ lhu $v0, 0x8e($s0) +/* EF3654 80241044 24420001 */ addiu $v0, $v0, 1 +/* EF3658 80241048 A602008E */ sh $v0, 0x8e($s0) +/* EF365C 8024104C 00021400 */ sll $v0, $v0, 0x10 +/* EF3660 80241050 8E630020 */ lw $v1, 0x20($s3) +/* EF3664 80241054 00021403 */ sra $v0, $v0, 0x10 +/* EF3668 80241058 0043102A */ slt $v0, $v0, $v1 +/* EF366C 8024105C 14400026 */ bnez $v0, .L802410F8 +/* EF3670 80241060 00000000 */ nop +/* EF3674 80241064 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EF3678 80241068 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EF367C 8024106C 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EF3680 80241070 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EF3684 80241074 A600008E */ sh $zero, 0x8e($s0) +/* EF3688 80241078 8C460028 */ lw $a2, 0x28($v0) +/* EF368C 8024107C 0C00ABDC */ jal fio_validate_header_checksums +/* EF3690 80241080 8C470030 */ lw $a3, 0x30($v0) +/* EF3694 80241084 46000506 */ mov.s $f20, $f0 +/* EF3698 80241088 C60C000C */ lwc1 $f12, 0xc($s0) +/* EF369C 8024108C 0C00ABC6 */ jal func_8002AF18 +/* EF36A0 80241090 4600A386 */ mov.s $f14, $f20 +/* EF36A4 80241094 46000086 */ mov.s $f2, $f0 +/* EF36A8 80241098 8E62001C */ lw $v0, 0x1c($s3) +/* EF36AC 8024109C 46001005 */ abs.s $f0, $f2 +/* EF36B0 802410A0 44822000 */ mtc1 $v0, $f4 +/* EF36B4 802410A4 00000000 */ nop +/* EF36B8 802410A8 46802120 */ cvt.s.w $f4, $f4 +/* EF36BC 802410AC 4600203C */ c.lt.s $f4, $f0 +/* EF36C0 802410B0 00000000 */ nop +/* EF36C4 802410B4 4500000D */ bc1f .L802410EC +/* EF36C8 802410B8 00000000 */ nop +/* EF36CC 802410BC 44800000 */ mtc1 $zero, $f0 +/* EF36D0 802410C0 C614000C */ lwc1 $f20, 0xc($s0) +/* EF36D4 802410C4 4600103C */ c.lt.s $f2, $f0 +/* EF36D8 802410C8 00000000 */ nop +/* EF36DC 802410CC 45000006 */ bc1f .L802410E8 +/* EF36E0 802410D0 00021023 */ negu $v0, $v0 +/* EF36E4 802410D4 44820000 */ mtc1 $v0, $f0 +/* EF36E8 802410D8 00000000 */ nop +/* EF36EC 802410DC 46800020 */ cvt.s.w $f0, $f0 +/* EF36F0 802410E0 0809043B */ j .L802410EC +/* EF36F4 802410E4 4600A500 */ add.s $f20, $f20, $f0 +.L802410E8: +/* EF36F8 802410E8 4604A500 */ add.s $f20, $f20, $f4 +.L802410EC: +/* EF36FC 802410EC 0C00AB85 */ jal func_8002AE14 +/* EF3700 802410F0 4600A306 */ mov.s $f12, $f20 +/* EF3704 802410F4 E600000C */ swc1 $f0, 0xc($s0) +.L802410F8: +/* EF3708 802410F8 8E020000 */ lw $v0, ($s0) +/* EF370C 802410FC 30420008 */ andi $v0, $v0, 8 +/* EF3710 80241100 1040000A */ beqz $v0, .L8024112C +/* EF3714 80241104 27A50018 */ addiu $a1, $sp, 0x18 +/* EF3718 80241108 C602003C */ lwc1 $f2, 0x3c($s0) +/* EF371C 8024110C C600001C */ lwc1 $f0, 0x1c($s0) +/* EF3720 80241110 46001080 */ add.s $f2, $f2, $f0 +/* EF3724 80241114 4616103C */ c.lt.s $f2, $f22 +/* EF3728 80241118 00000000 */ nop +/* EF372C 8024111C 45020045 */ bc1fl .L80241234 +/* EF3730 80241120 E602003C */ swc1 $f2, 0x3c($s0) +/* EF3734 80241124 0809048C */ j .L80241230 +/* EF3738 80241128 E616003C */ swc1 $f22, 0x3c($s0) +.L8024112C: +/* EF373C 8024112C C6000038 */ lwc1 $f0, 0x38($s0) +/* EF3740 80241130 27A6001C */ addiu $a2, $sp, 0x1c +/* EF3744 80241134 E7A00018 */ swc1 $f0, 0x18($sp) +/* EF3748 80241138 860200A8 */ lh $v0, 0xa8($s0) +/* EF374C 8024113C C600001C */ lwc1 $f0, 0x1c($s0) +/* EF3750 80241140 C604003C */ lwc1 $f4, 0x3c($s0) +/* EF3754 80241144 44821000 */ mtc1 $v0, $f2 +/* EF3758 80241148 00000000 */ nop +/* EF375C 8024114C 468010A0 */ cvt.s.w $f2, $f2 +/* EF3760 80241150 46000005 */ abs.s $f0, $f0 +/* EF3764 80241154 46020000 */ add.s $f0, $f0, $f2 +/* EF3768 80241158 C6060040 */ lwc1 $f6, 0x40($s0) +/* EF376C 8024115C 27A20024 */ addiu $v0, $sp, 0x24 +/* EF3770 80241160 46022100 */ add.s $f4, $f4, $f2 +/* EF3774 80241164 3C014024 */ lui $at, 0x4024 +/* EF3778 80241168 44811800 */ mtc1 $at, $f3 +/* EF377C 8024116C 44801000 */ mtc1 $zero, $f2 +/* EF3780 80241170 46000021 */ cvt.d.s $f0, $f0 +/* EF3784 80241174 46220000 */ add.d $f0, $f0, $f2 +/* EF3788 80241178 E7A60020 */ swc1 $f6, 0x20($sp) +/* EF378C 8024117C E7A4001C */ swc1 $f4, 0x1c($sp) +/* EF3790 80241180 46200020 */ cvt.s.d $f0, $f0 +/* EF3794 80241184 E7A00024 */ swc1 $f0, 0x24($sp) +/* EF3798 80241188 AFA20010 */ sw $v0, 0x10($sp) +/* EF379C 8024118C 8E040080 */ lw $a0, 0x80($s0) +/* EF37A0 80241190 0C03908F */ jal func_800E423C +/* EF37A4 80241194 27A70020 */ addiu $a3, $sp, 0x20 +/* EF37A8 80241198 10400015 */ beqz $v0, .L802411F0 +/* EF37AC 8024119C 00000000 */ nop +/* EF37B0 802411A0 860200A8 */ lh $v0, 0xa8($s0) +/* EF37B4 802411A4 C604001C */ lwc1 $f4, 0x1c($s0) +/* EF37B8 802411A8 44820000 */ mtc1 $v0, $f0 +/* EF37BC 802411AC 00000000 */ nop +/* EF37C0 802411B0 46800020 */ cvt.s.w $f0, $f0 +/* EF37C4 802411B4 46002085 */ abs.s $f2, $f4 +/* EF37C8 802411B8 46020000 */ add.s $f0, $f0, $f2 +/* EF37CC 802411BC C7A20024 */ lwc1 $f2, 0x24($sp) +/* EF37D0 802411C0 4600103E */ c.le.s $f2, $f0 +/* EF37D4 802411C4 00000000 */ nop +/* EF37D8 802411C8 45000005 */ bc1f .L802411E0 +/* EF37DC 802411CC 00000000 */ nop +/* EF37E0 802411D0 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* EF37E4 802411D4 AE00001C */ sw $zero, 0x1c($s0) +/* EF37E8 802411D8 0809048D */ j .L80241234 +/* EF37EC 802411DC E600003C */ swc1 $f0, 0x3c($s0) +.L802411E0: +/* EF37F0 802411E0 C600003C */ lwc1 $f0, 0x3c($s0) +/* EF37F4 802411E4 46040000 */ add.s $f0, $f0, $f4 +/* EF37F8 802411E8 0809048D */ j .L80241234 +/* EF37FC 802411EC E600003C */ swc1 $f0, 0x3c($s0) +.L802411F0: +/* EF3800 802411F0 C606003C */ lwc1 $f6, 0x3c($s0) +/* EF3804 802411F4 860200A8 */ lh $v0, 0xa8($s0) +/* EF3808 802411F8 46163081 */ sub.s $f2, $f6, $f22 +/* EF380C 802411FC 44820000 */ mtc1 $v0, $f0 +/* EF3810 80241200 00000000 */ nop +/* EF3814 80241204 46800020 */ cvt.s.w $f0, $f0 +/* EF3818 80241208 46001080 */ add.s $f2, $f2, $f0 +/* EF381C 8024120C C604001C */ lwc1 $f4, 0x1c($s0) +/* EF3820 80241210 46002005 */ abs.s $f0, $f4 +/* EF3824 80241214 4602003C */ c.lt.s $f0, $f2 +/* EF3828 80241218 00000000 */ nop +/* EF382C 8024121C 45020005 */ bc1fl .L80241234 +/* EF3830 80241220 AE00001C */ sw $zero, 0x1c($s0) +/* EF3834 80241224 46043000 */ add.s $f0, $f6, $f4 +/* EF3838 80241228 0809048D */ j .L80241234 +/* EF383C 8024122C E600003C */ swc1 $f0, 0x3c($s0) +.L80241230: +/* EF3840 80241230 AE00001C */ sw $zero, 0x1c($s0) +.L80241234: +/* EF3844 80241234 8FBF0038 */ lw $ra, 0x38($sp) +/* EF3848 80241238 8FB30034 */ lw $s3, 0x34($sp) +/* EF384C 8024123C 8FB20030 */ lw $s2, 0x30($sp) +/* EF3850 80241240 8FB1002C */ lw $s1, 0x2c($sp) +/* EF3854 80241244 8FB00028 */ lw $s0, 0x28($sp) +/* EF3858 80241248 D7B60048 */ ldc1 $f22, 0x48($sp) +/* EF385C 8024124C D7B40040 */ ldc1 $f20, 0x40($sp) +/* EF3860 80241250 03E00008 */ jr $ra +/* EF3864 80241254 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EF2680/func_80241258_EF3868.s b/asm/nonmatchings/code_EF2680/func_80241258_EF3868.s new file mode 100644 index 0000000000..5f6d585539 --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80241258_EF3868.s @@ -0,0 +1,79 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241258_EF3868 +/* EF3868 80241258 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* EF386C 8024125C AFB00028 */ sw $s0, 0x28($sp) +/* EF3870 80241260 00A0802D */ daddu $s0, $a1, $zero +/* EF3874 80241264 AFB1002C */ sw $s1, 0x2c($sp) +/* EF3878 80241268 00C0882D */ daddu $s1, $a2, $zero +/* EF387C 8024126C AFBF0034 */ sw $ra, 0x34($sp) +/* EF3880 80241270 AFB20030 */ sw $s2, 0x30($sp) +/* EF3884 80241274 AE200070 */ sw $zero, 0x70($s1) +/* EF3888 80241278 8C830000 */ lw $v1, ($a0) +/* EF388C 8024127C 2402FDFF */ addiu $v0, $zero, -0x201 +/* EF3890 80241280 A480008E */ sh $zero, 0x8e($a0) +/* EF3894 80241284 00621824 */ and $v1, $v1, $v0 +/* EF3898 80241288 34650800 */ ori $a1, $v1, 0x800 +/* EF389C 8024128C AC850000 */ sw $a1, ($a0) +/* EF38A0 80241290 8E0200D0 */ lw $v0, 0xd0($s0) +/* EF38A4 80241294 8C420034 */ lw $v0, 0x34($v0) +/* EF38A8 80241298 10400003 */ beqz $v0, .L802412A8 +/* EF38AC 8024129C 00E0902D */ daddu $s2, $a3, $zero +/* EF38B0 802412A0 080904AC */ j .L802412B0 +/* EF38B4 802412A4 34620808 */ ori $v0, $v1, 0x808 +.L802412A8: +/* EF38B8 802412A8 2402FFF7 */ addiu $v0, $zero, -9 +/* EF38BC 802412AC 00A21024 */ and $v0, $a1, $v0 +.L802412B0: +/* EF38C0 802412B0 AC820000 */ sw $v0, ($a0) +/* EF38C4 802412B4 27A20024 */ addiu $v0, $sp, 0x24 +/* EF38C8 802412B8 27A50018 */ addiu $a1, $sp, 0x18 +/* EF38CC 802412BC C4800038 */ lwc1 $f0, 0x38($a0) +/* EF38D0 802412C0 C482003C */ lwc1 $f2, 0x3c($a0) +/* EF38D4 802412C4 C4840040 */ lwc1 $f4, 0x40($a0) +/* EF38D8 802412C8 3C01447A */ lui $at, 0x447a +/* EF38DC 802412CC 44813000 */ mtc1 $at, $f6 +/* EF38E0 802412D0 27A6001C */ addiu $a2, $sp, 0x1c +/* EF38E4 802412D4 E7A00018 */ swc1 $f0, 0x18($sp) +/* EF38E8 802412D8 E7A2001C */ swc1 $f2, 0x1c($sp) +/* EF38EC 802412DC E7A40020 */ swc1 $f4, 0x20($sp) +/* EF38F0 802412E0 E7A60024 */ swc1 $f6, 0x24($sp) +/* EF38F4 802412E4 AFA20010 */ sw $v0, 0x10($sp) +/* EF38F8 802412E8 8C840080 */ lw $a0, 0x80($a0) +/* EF38FC 802412EC 0C03908F */ jal func_800E423C +/* EF3900 802412F0 27A70020 */ addiu $a3, $sp, 0x20 +/* EF3904 802412F4 C7A20024 */ lwc1 $f2, 0x24($sp) +/* EF3908 802412F8 3C014059 */ lui $at, 0x4059 +/* EF390C 802412FC 44812800 */ mtc1 $at, $f5 +/* EF3910 80241300 44802000 */ mtc1 $zero, $f4 +/* EF3914 80241304 460010A1 */ cvt.d.s $f2, $f2 +/* EF3918 80241308 46241082 */ mul.d $f2, $f2, $f4 +/* EF391C 8024130C 00000000 */ nop +/* EF3920 80241310 C7A0001C */ lwc1 $f0, 0x1c($sp) +/* EF3924 80241314 46000021 */ cvt.d.s $f0, $f0 +/* EF3928 80241318 46240002 */ mul.d $f0, $f0, $f4 +/* EF392C 8024131C 00000000 */ nop +/* EF3930 80241320 3C013FE0 */ lui $at, 0x3fe0 +/* EF3934 80241324 44812800 */ mtc1 $at, $f5 +/* EF3938 80241328 44802000 */ mtc1 $zero, $f4 +/* EF393C 8024132C 00000000 */ nop +/* EF3940 80241330 46241080 */ add.d $f2, $f2, $f4 +/* EF3944 80241334 AE000074 */ sw $zero, 0x74($s0) +/* EF3948 80241338 46240000 */ add.d $f0, $f0, $f4 +/* EF394C 8024133C AE000090 */ sw $zero, 0x90($s0) +/* EF3950 80241340 4620120D */ trunc.w.d $f8, $f2 +/* EF3954 80241344 E6080078 */ swc1 $f8, 0x78($s0) +/* EF3958 80241348 4620020D */ trunc.w.d $f8, $f0 +/* EF395C 8024134C E6080088 */ swc1 $f8, 0x88($s0) +/* EF3960 80241350 8E420014 */ lw $v0, 0x14($s2) +/* EF3964 80241354 AE220074 */ sw $v0, 0x74($s1) +/* EF3968 80241358 8E0200B0 */ lw $v0, 0xb0($s0) +/* EF396C 8024135C 34420010 */ ori $v0, $v0, 0x10 +/* EF3970 80241360 AE0200B0 */ sw $v0, 0xb0($s0) +/* EF3974 80241364 8FBF0034 */ lw $ra, 0x34($sp) +/* EF3978 80241368 8FB20030 */ lw $s2, 0x30($sp) +/* EF397C 8024136C 8FB1002C */ lw $s1, 0x2c($sp) +/* EF3980 80241370 8FB00028 */ lw $s0, 0x28($sp) +/* EF3984 80241374 03E00008 */ jr $ra +/* EF3988 80241378 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_EF2680/func_8024137C_EF398C.s b/asm/nonmatchings/code_EF2680/func_8024137C_EF398C.s new file mode 100644 index 0000000000..2a8780882c --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_8024137C_EF398C.s @@ -0,0 +1,142 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024137C_EF398C +/* EF398C 8024137C 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* EF3990 80241380 AFB50044 */ sw $s5, 0x44($sp) +/* EF3994 80241384 0080A82D */ daddu $s5, $a0, $zero +/* EF3998 80241388 AFBF0048 */ sw $ra, 0x48($sp) +/* EF399C 8024138C AFB40040 */ sw $s4, 0x40($sp) +/* EF39A0 80241390 AFB3003C */ sw $s3, 0x3c($sp) +/* EF39A4 80241394 AFB20038 */ sw $s2, 0x38($sp) +/* EF39A8 80241398 AFB10034 */ sw $s1, 0x34($sp) +/* EF39AC 8024139C AFB00030 */ sw $s0, 0x30($sp) +/* EF39B0 802413A0 8EB20148 */ lw $s2, 0x148($s5) +/* EF39B4 802413A4 86440008 */ lh $a0, 8($s2) +/* EF39B8 802413A8 8EB0000C */ lw $s0, 0xc($s5) +/* EF39BC 802413AC 0C00F92F */ jal func_8003E4BC +/* EF39C0 802413B0 00A0882D */ daddu $s1, $a1, $zero +/* EF39C4 802413B4 02A0202D */ daddu $a0, $s5, $zero +/* EF39C8 802413B8 8E050000 */ lw $a1, ($s0) +/* EF39CC 802413BC 0C0B53A3 */ jal func_802D4E8C +/* EF39D0 802413C0 0040A02D */ daddu $s4, $v0, $zero +/* EF39D4 802413C4 AFA00010 */ sw $zero, 0x10($sp) +/* EF39D8 802413C8 8E4300D0 */ lw $v1, 0xd0($s2) +/* EF39DC 802413CC 8C630030 */ lw $v1, 0x30($v1) +/* EF39E0 802413D0 AFA30014 */ sw $v1, 0x14($sp) +/* EF39E4 802413D4 8E4300D0 */ lw $v1, 0xd0($s2) +/* EF39E8 802413D8 8C63001C */ lw $v1, 0x1c($v1) +/* EF39EC 802413DC AFA30018 */ sw $v1, 0x18($sp) +/* EF39F0 802413E0 8E4300D0 */ lw $v1, 0xd0($s2) +/* EF39F4 802413E4 8C630024 */ lw $v1, 0x24($v1) +/* EF39F8 802413E8 AFA3001C */ sw $v1, 0x1c($sp) +/* EF39FC 802413EC 8E4300D0 */ lw $v1, 0xd0($s2) +/* EF3A00 802413F0 8C630028 */ lw $v1, 0x28($v1) +/* EF3A04 802413F4 AFA30020 */ sw $v1, 0x20($sp) +/* EF3A08 802413F8 8E4300D0 */ lw $v1, 0xd0($s2) +/* EF3A0C 802413FC 3C0142F0 */ lui $at, 0x42f0 +/* EF3A10 80241400 44810000 */ mtc1 $at, $f0 +/* EF3A14 80241404 8C63002C */ lw $v1, 0x2c($v1) +/* EF3A18 80241408 E7A00028 */ swc1 $f0, 0x28($sp) +/* EF3A1C 8024140C A7A0002C */ sh $zero, 0x2c($sp) +/* EF3A20 80241410 AFA30024 */ sw $v1, 0x24($sp) +/* EF3A24 80241414 C6800038 */ lwc1 $f0, 0x38($s4) +/* EF3A28 80241418 E6400108 */ swc1 $f0, 0x108($s2) +/* EF3A2C 8024141C C680003C */ lwc1 $f0, 0x3c($s4) +/* EF3A30 80241420 27B30010 */ addiu $s3, $sp, 0x10 +/* EF3A34 80241424 E640010C */ swc1 $f0, 0x10c($s2) +/* EF3A38 80241428 3C0138D1 */ lui $at, 0x38d1 +/* EF3A3C 8024142C 3421B717 */ ori $at, $at, 0xb717 +/* EF3A40 80241430 44810000 */ mtc1 $at, $f0 +/* EF3A44 80241434 C6820040 */ lwc1 $f2, 0x40($s4) +/* EF3A48 80241438 0040802D */ daddu $s0, $v0, $zero +/* EF3A4C 8024143C E6400114 */ swc1 $f0, 0x114($s2) +/* EF3A50 80241440 E6400118 */ swc1 $f0, 0x118($s2) +/* EF3A54 80241444 12200006 */ beqz $s1, .L80241460 +/* EF3A58 80241448 E6420110 */ swc1 $f2, 0x110($s2) +/* EF3A5C 8024144C 0280202D */ daddu $a0, $s4, $zero +/* EF3A60 80241450 0240282D */ daddu $a1, $s2, $zero +/* EF3A64 80241454 02A0302D */ daddu $a2, $s5, $zero +/* EF3A68 80241458 0C090496 */ jal func_80241258_EF3868 +/* EF3A6C 8024145C 0200382D */ daddu $a3, $s0, $zero +.L80241460: +/* EF3A70 80241460 2402FFFE */ addiu $v0, $zero, -2 +/* EF3A74 80241464 A28200AB */ sb $v0, 0xab($s4) +/* EF3A78 80241468 8E4300B0 */ lw $v1, 0xb0($s2) +/* EF3A7C 8024146C 30620004 */ andi $v0, $v1, 4 +/* EF3A80 80241470 10400007 */ beqz $v0, .L80241490 +/* EF3A84 80241474 00000000 */ nop +/* EF3A88 80241478 824200B4 */ lb $v0, 0xb4($s2) +/* EF3A8C 8024147C 1440003C */ bnez $v0, .L80241570 +/* EF3A90 80241480 0000102D */ daddu $v0, $zero, $zero +/* EF3A94 80241484 2402FFFB */ addiu $v0, $zero, -5 +/* EF3A98 80241488 00621024 */ and $v0, $v1, $v0 +/* EF3A9C 8024148C AE4200B0 */ sw $v0, 0xb0($s2) +.L80241490: +/* EF3AA0 80241490 8EA30070 */ lw $v1, 0x70($s5) +/* EF3AA4 80241494 2C62000F */ sltiu $v0, $v1, 0xf +/* EF3AA8 80241498 10400034 */ beqz $v0, .L8024156C +/* EF3AAC 8024149C 00031080 */ sll $v0, $v1, 2 +/* EF3AB0 802414A0 3C018024 */ lui $at, %hi(D_802453C8) +/* EF3AB4 802414A4 00220821 */ addu $at, $at, $v0 +/* EF3AB8 802414A8 8C2253C8 */ lw $v0, %lo(D_802453C8)($at) +/* EF3ABC 802414AC 00400008 */ jr $v0 +/* EF3AC0 802414B0 00000000 */ nop +/* EF3AC4 802414B4 02A0202D */ daddu $a0, $s5, $zero +/* EF3AC8 802414B8 0200282D */ daddu $a1, $s0, $zero +/* EF3ACC 802414BC 0C09001C */ jal func_80240070_EF2680 +/* EF3AD0 802414C0 0260302D */ daddu $a2, $s3, $zero +/* EF3AD4 802414C4 02A0202D */ daddu $a0, $s5, $zero +/* EF3AD8 802414C8 0200282D */ daddu $a1, $s0, $zero +/* EF3ADC 802414CC 0C090088 */ jal func_80240220_EF2830 +/* EF3AE0 802414D0 0260302D */ daddu $a2, $s3, $zero +/* EF3AE4 802414D4 0809055C */ j .L80241570 +/* EF3AE8 802414D8 0000102D */ daddu $v0, $zero, $zero +/* EF3AEC 802414DC 02A0202D */ daddu $a0, $s5, $zero +/* EF3AF0 802414E0 0200282D */ daddu $a1, $s0, $zero +/* EF3AF4 802414E4 0C090212 */ jal func_80240848_EF2E58 +/* EF3AF8 802414E8 0260302D */ daddu $a2, $s3, $zero +/* EF3AFC 802414EC 02A0202D */ daddu $a0, $s5, $zero +/* EF3B00 802414F0 0200282D */ daddu $a1, $s0, $zero +/* EF3B04 802414F4 0C090242 */ jal func_80240908_EF2F18 +/* EF3B08 802414F8 0260302D */ daddu $a2, $s3, $zero +/* EF3B0C 802414FC 0809055C */ j .L80241570 +/* EF3B10 80241500 0000102D */ daddu $v0, $zero, $zero +/* EF3B14 80241504 02A0202D */ daddu $a0, $s5, $zero +/* EF3B18 80241508 0200282D */ daddu $a1, $s0, $zero +/* EF3B1C 8024150C 0C090313 */ jal func_80240C4C_EF325C +/* EF3B20 80241510 0260302D */ daddu $a2, $s3, $zero +/* EF3B24 80241514 02A0202D */ daddu $a0, $s5, $zero +/* EF3B28 80241518 0200282D */ daddu $a1, $s0, $zero +/* EF3B2C 8024151C 0C090331 */ jal func_80240CC4_EF32D4 +/* EF3B30 80241520 0260302D */ daddu $a2, $s3, $zero +/* EF3B34 80241524 0809055C */ j .L80241570 +/* EF3B38 80241528 0000102D */ daddu $v0, $zero, $zero +/* EF3B3C 8024152C 02A0202D */ daddu $a0, $s5, $zero +/* EF3B40 80241530 0200282D */ daddu $a1, $s0, $zero +/* EF3B44 80241534 0C09034C */ jal func_80240D30_EF3340 +/* EF3B48 80241538 0260302D */ daddu $a2, $s3, $zero +/* EF3B4C 8024153C 0809055C */ j .L80241570 +/* EF3B50 80241540 0000102D */ daddu $v0, $zero, $zero +/* EF3B54 80241544 02A0202D */ daddu $a0, $s5, $zero +/* EF3B58 80241548 0200282D */ daddu $a1, $s0, $zero +/* EF3B5C 8024154C 0C090399 */ jal func_80240E64_EF3474 +/* EF3B60 80241550 0260302D */ daddu $a2, $s3, $zero +/* EF3B64 80241554 0809055C */ j .L80241570 +/* EF3B68 80241558 0000102D */ daddu $v0, $zero, $zero +/* EF3B6C 8024155C 02A0202D */ daddu $a0, $s5, $zero +/* EF3B70 80241560 0200282D */ daddu $a1, $s0, $zero +/* EF3B74 80241564 0C0903B2 */ jal func_80240EC8_EF34D8 +/* EF3B78 80241568 0260302D */ daddu $a2, $s3, $zero +.L8024156C: +/* EF3B7C 8024156C 0000102D */ daddu $v0, $zero, $zero +.L80241570: +/* EF3B80 80241570 8FBF0048 */ lw $ra, 0x48($sp) +/* EF3B84 80241574 8FB50044 */ lw $s5, 0x44($sp) +/* EF3B88 80241578 8FB40040 */ lw $s4, 0x40($sp) +/* EF3B8C 8024157C 8FB3003C */ lw $s3, 0x3c($sp) +/* EF3B90 80241580 8FB20038 */ lw $s2, 0x38($sp) +/* EF3B94 80241584 8FB10034 */ lw $s1, 0x34($sp) +/* EF3B98 80241588 8FB00030 */ lw $s0, 0x30($sp) +/* EF3B9C 8024158C 03E00008 */ jr $ra +/* EF3BA0 80241590 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/asm/nonmatchings/code_EF2680/func_80241594_EF3BA4.s b/asm/nonmatchings/code_EF2680/func_80241594_EF3BA4.s new file mode 100644 index 0000000000..3b228fb3d0 --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80241594_EF3BA4.s @@ -0,0 +1,25 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241594_EF3BA4 +/* EF3BA4 80241594 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EF3BA8 80241598 AFB00010 */ sw $s0, 0x10($sp) +/* EF3BAC 8024159C 24100032 */ addiu $s0, $zero, 0x32 +/* EF3BB0 802415A0 AFBF0014 */ sw $ra, 0x14($sp) +.L802415A4: +/* EF3BB4 802415A4 0C010ABD */ jal func_80042AF4 +/* EF3BB8 802415A8 0200202D */ daddu $a0, $s0, $zero +/* EF3BBC 802415AC 8C420094 */ lw $v0, 0x94($v0) +/* EF3BC0 802415B0 54400003 */ bnel $v0, $zero, .L802415C0 +/* EF3BC4 802415B4 26100001 */ addiu $s0, $s0, 1 +/* EF3BC8 802415B8 08090573 */ j .L802415CC +/* EF3BCC 802415BC 0200102D */ daddu $v0, $s0, $zero +.L802415C0: +/* EF3BD0 802415C0 2A020036 */ slti $v0, $s0, 0x36 +/* EF3BD4 802415C4 1440FFF7 */ bnez $v0, .L802415A4 +/* EF3BD8 802415C8 2402FFFF */ addiu $v0, $zero, -1 +.L802415CC: +/* EF3BDC 802415CC 8FBF0014 */ lw $ra, 0x14($sp) +/* EF3BE0 802415D0 8FB00010 */ lw $s0, 0x10($sp) +/* EF3BE4 802415D4 03E00008 */ jr $ra +/* EF3BE8 802415D8 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EF2680/func_802415DC_EF3BEC.s b/asm/nonmatchings/code_EF2680/func_802415DC_EF3BEC.s new file mode 100644 index 0000000000..133f380617 --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_802415DC_EF3BEC.s @@ -0,0 +1,295 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802415DC_EF3BEC +/* EF3BEC 802415DC 27BDFF78 */ addiu $sp, $sp, -0x88 +/* EF3BF0 802415E0 AFB20048 */ sw $s2, 0x48($sp) +/* EF3BF4 802415E4 0080902D */ daddu $s2, $a0, $zero +/* EF3BF8 802415E8 AFBF0064 */ sw $ra, 0x64($sp) +/* EF3BFC 802415EC AFBE0060 */ sw $fp, 0x60($sp) +/* EF3C00 802415F0 AFB7005C */ sw $s7, 0x5c($sp) +/* EF3C04 802415F4 AFB60058 */ sw $s6, 0x58($sp) +/* EF3C08 802415F8 AFB50054 */ sw $s5, 0x54($sp) +/* EF3C0C 802415FC AFB40050 */ sw $s4, 0x50($sp) +/* EF3C10 80241600 AFB3004C */ sw $s3, 0x4c($sp) +/* EF3C14 80241604 AFB10044 */ sw $s1, 0x44($sp) +/* EF3C18 80241608 AFB00040 */ sw $s0, 0x40($sp) +/* EF3C1C 8024160C F7BA0080 */ sdc1 $f26, 0x80($sp) +/* EF3C20 80241610 F7B80078 */ sdc1 $f24, 0x78($sp) +/* EF3C24 80241614 F7B60070 */ sdc1 $f22, 0x70($sp) +/* EF3C28 80241618 F7B40068 */ sdc1 $f20, 0x68($sp) +/* EF3C2C 8024161C 8E510148 */ lw $s1, 0x148($s2) +/* EF3C30 80241620 00A0B82D */ daddu $s7, $a1, $zero +/* EF3C34 80241624 86240008 */ lh $a0, 8($s1) +/* EF3C38 80241628 0C00F92F */ jal func_8003E4BC +/* EF3C3C 8024162C 00C0F02D */ daddu $fp, $a2, $zero +/* EF3C40 80241630 C620007C */ lwc1 $f0, 0x7c($s1) +/* EF3C44 80241634 46800020 */ cvt.s.w $f0, $f0 +/* EF3C48 80241638 46000021 */ cvt.d.s $f0, $f0 +/* EF3C4C 8024163C 0040802D */ daddu $s0, $v0, $zero +/* EF3C50 80241640 3C014059 */ lui $at, 0x4059 +/* EF3C54 80241644 44813800 */ mtc1 $at, $f7 +/* EF3C58 80241648 44803000 */ mtc1 $zero, $f6 +/* EF3C5C 8024164C 8602008E */ lh $v0, 0x8e($s0) +/* EF3C60 80241650 9603008E */ lhu $v1, 0x8e($s0) +/* EF3C64 80241654 46260003 */ div.d $f0, $f0, $f6 +/* EF3C68 80241658 462005A0 */ cvt.s.d $f22, $f0 +/* EF3C6C 8024165C C6200078 */ lwc1 $f0, 0x78($s1) +/* EF3C70 80241660 46800020 */ cvt.s.w $f0, $f0 +/* EF3C74 80241664 46000021 */ cvt.d.s $f0, $f0 +/* EF3C78 80241668 46260003 */ div.d $f0, $f0, $f6 +/* EF3C7C 8024166C 18400003 */ blez $v0, .L8024167C +/* EF3C80 80241670 46200620 */ cvt.s.d $f24, $f0 +/* EF3C84 80241674 2462FFFF */ addiu $v0, $v1, -1 +/* EF3C88 80241678 A602008E */ sh $v0, 0x8e($s0) +.L8024167C: +/* EF3C8C 8024167C 27B40028 */ addiu $s4, $sp, 0x28 +/* EF3C90 80241680 0280282D */ daddu $a1, $s4, $zero +/* EF3C94 80241684 27B5002C */ addiu $s5, $sp, 0x2c +/* EF3C98 80241688 02A0302D */ daddu $a2, $s5, $zero +/* EF3C9C 8024168C 27B60030 */ addiu $s6, $sp, 0x30 +/* EF3CA0 80241690 02C0382D */ daddu $a3, $s6, $zero +/* EF3CA4 80241694 C6000038 */ lwc1 $f0, 0x38($s0) +/* EF3CA8 80241698 C602003C */ lwc1 $f2, 0x3c($s0) +/* EF3CAC 8024169C C6040040 */ lwc1 $f4, 0x40($s0) +/* EF3CB0 802416A0 3C01447A */ lui $at, 0x447a +/* EF3CB4 802416A4 4481D000 */ mtc1 $at, $f26 +/* EF3CB8 802416A8 27B30034 */ addiu $s3, $sp, 0x34 +/* EF3CBC 802416AC E7A00028 */ swc1 $f0, 0x28($sp) +/* EF3CC0 802416B0 E7A2002C */ swc1 $f2, 0x2c($sp) +/* EF3CC4 802416B4 E7A40030 */ swc1 $f4, 0x30($sp) +/* EF3CC8 802416B8 E7BA0034 */ swc1 $f26, 0x34($sp) +/* EF3CCC 802416BC C6340070 */ lwc1 $f20, 0x70($s1) +/* EF3CD0 802416C0 4680A520 */ cvt.s.w $f20, $f20 +/* EF3CD4 802416C4 4600A521 */ cvt.d.s $f20, $f20 +/* EF3CD8 802416C8 4626A503 */ div.d $f20, $f20, $f6 +/* EF3CDC 802416CC AFB30010 */ sw $s3, 0x10($sp) +/* EF3CE0 802416D0 8E040080 */ lw $a0, 0x80($s0) +/* EF3CE4 802416D4 0C03908F */ jal func_800E423C +/* EF3CE8 802416D8 4620A520 */ cvt.s.d $f20, $f20 +/* EF3CEC 802416DC C62C0074 */ lwc1 $f12, 0x74($s1) +/* EF3CF0 802416E0 0C00AD77 */ jal func_8002B5DC +/* EF3CF4 802416E4 46806320 */ cvt.s.w $f12, $f12 +/* EF3CF8 802416E8 46140002 */ mul.s $f0, $f0, $f20 +/* EF3CFC 802416EC 00000000 */ nop +/* EF3D00 802416F0 C7A2002C */ lwc1 $f2, 0x2c($sp) +/* EF3D04 802416F4 46181080 */ add.s $f2, $f2, $f24 +/* EF3D08 802416F8 46001080 */ add.s $f2, $f2, $f0 +/* EF3D0C 802416FC E602003C */ swc1 $f2, 0x3c($s0) +/* EF3D10 80241700 8E220074 */ lw $v0, 0x74($s1) +/* EF3D14 80241704 2442000C */ addiu $v0, $v0, 0xc +/* EF3D18 80241708 44826000 */ mtc1 $v0, $f12 +/* EF3D1C 8024170C 00000000 */ nop +/* EF3D20 80241710 0C00AB85 */ jal func_8002AE14 +/* EF3D24 80241714 46806320 */ cvt.s.w $f12, $f12 +/* EF3D28 80241718 4600020D */ trunc.w.s $f8, $f0 +/* EF3D2C 8024171C E6280074 */ swc1 $f8, 0x74($s1) +/* EF3D30 80241720 8EE30014 */ lw $v1, 0x14($s7) +/* EF3D34 80241724 0460003C */ bltz $v1, .L80241818 +/* EF3D38 80241728 00000000 */ nop +/* EF3D3C 8024172C 8E420074 */ lw $v0, 0x74($s2) +/* EF3D40 80241730 1C400038 */ bgtz $v0, .L80241814 +/* EF3D44 80241734 2442FFFF */ addiu $v0, $v0, -1 +/* EF3D48 80241738 03C0202D */ daddu $a0, $fp, $zero +/* EF3D4C 8024173C AE430074 */ sw $v1, 0x74($s2) +/* EF3D50 80241740 AFA00010 */ sw $zero, 0x10($sp) +/* EF3D54 80241744 8EE6000C */ lw $a2, 0xc($s7) +/* EF3D58 80241748 8EE70010 */ lw $a3, 0x10($s7) +/* EF3D5C 8024174C 0C013469 */ jal func_8004D1A4 +/* EF3D60 80241750 0220282D */ daddu $a1, $s1, $zero +/* EF3D64 80241754 1040002D */ beqz $v0, .L8024180C +/* EF3D68 80241758 0000202D */ daddu $a0, $zero, $zero +/* EF3D6C 8024175C 0200282D */ daddu $a1, $s0, $zero +/* EF3D70 80241760 0000302D */ daddu $a2, $zero, $zero +/* EF3D74 80241764 860300A8 */ lh $v1, 0xa8($s0) +/* EF3D78 80241768 3C013F80 */ lui $at, 0x3f80 +/* EF3D7C 8024176C 44810000 */ mtc1 $at, $f0 +/* EF3D80 80241770 3C014000 */ lui $at, 0x4000 +/* EF3D84 80241774 44811000 */ mtc1 $at, $f2 +/* EF3D88 80241778 3C01C1A0 */ lui $at, 0xc1a0 +/* EF3D8C 8024177C 44812000 */ mtc1 $at, $f4 +/* EF3D90 80241780 2402000F */ addiu $v0, $zero, 0xf +/* EF3D94 80241784 AFA2001C */ sw $v0, 0x1c($sp) +/* EF3D98 80241788 44834000 */ mtc1 $v1, $f8 +/* EF3D9C 8024178C 00000000 */ nop +/* EF3DA0 80241790 46804220 */ cvt.s.w $f8, $f8 +/* EF3DA4 80241794 44074000 */ mfc1 $a3, $f8 +/* EF3DA8 80241798 27A20038 */ addiu $v0, $sp, 0x38 +/* EF3DAC 8024179C AFA20020 */ sw $v0, 0x20($sp) +/* EF3DB0 802417A0 E7A00010 */ swc1 $f0, 0x10($sp) +/* EF3DB4 802417A4 E7A20014 */ swc1 $f2, 0x14($sp) +/* EF3DB8 802417A8 0C01D444 */ jal func_80075110 +/* EF3DBC 802417AC E7A40018 */ swc1 $f4, 0x18($sp) +/* EF3DC0 802417B0 0200202D */ daddu $a0, $s0, $zero +/* EF3DC4 802417B4 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EF3DC8 802417B8 0C013600 */ jal func_8004D800 +/* EF3DCC 802417BC 3C060020 */ lui $a2, 0x20 +/* EF3DD0 802417C0 0280282D */ daddu $a1, $s4, $zero +/* EF3DD4 802417C4 C6000038 */ lwc1 $f0, 0x38($s0) +/* EF3DD8 802417C8 C602003C */ lwc1 $f2, 0x3c($s0) +/* EF3DDC 802417CC C6040040 */ lwc1 $f4, 0x40($s0) +/* EF3DE0 802417D0 02A0302D */ daddu $a2, $s5, $zero +/* EF3DE4 802417D4 E7BA0034 */ swc1 $f26, 0x34($sp) +/* EF3DE8 802417D8 E7A00028 */ swc1 $f0, 0x28($sp) +/* EF3DEC 802417DC E7A2002C */ swc1 $f2, 0x2c($sp) +/* EF3DF0 802417E0 E7A40030 */ swc1 $f4, 0x30($sp) +/* EF3DF4 802417E4 AFB30010 */ sw $s3, 0x10($sp) +/* EF3DF8 802417E8 8E040080 */ lw $a0, 0x80($s0) +/* EF3DFC 802417EC 0C03908F */ jal func_800E423C +/* EF3E00 802417F0 02C0382D */ daddu $a3, $s6, $zero +/* EF3E04 802417F4 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* EF3E08 802417F8 46180000 */ add.s $f0, $f0, $f24 +/* EF3E0C 802417FC 2402000C */ addiu $v0, $zero, 0xc +/* EF3E10 80241800 E6000064 */ swc1 $f0, 0x64($s0) +/* EF3E14 80241804 08090680 */ j .L80241A00 +/* EF3E18 80241808 AE420070 */ sw $v0, 0x70($s2) +.L8024180C: +/* EF3E1C 8024180C 8E420074 */ lw $v0, 0x74($s2) +/* EF3E20 80241810 2442FFFF */ addiu $v0, $v0, -1 +.L80241814: +/* EF3E24 80241814 AE420074 */ sw $v0, 0x74($s2) +.L80241818: +/* EF3E28 80241818 8E2300D0 */ lw $v1, 0xd0($s1) +/* EF3E2C 8024181C C6000040 */ lwc1 $f0, 0x40($s0) +/* EF3E30 80241820 C4620000 */ lwc1 $f2, ($v1) +/* EF3E34 80241824 468010A0 */ cvt.s.w $f2, $f2 +/* EF3E38 80241828 C4640008 */ lwc1 $f4, 8($v1) +/* EF3E3C 8024182C 46802120 */ cvt.s.w $f4, $f4 +/* EF3E40 80241830 E7A00010 */ swc1 $f0, 0x10($sp) +/* EF3E44 80241834 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF3E48 80241838 44051000 */ mfc1 $a1, $f2 +/* EF3E4C 8024183C C440000C */ lwc1 $f0, 0xc($v0) +/* EF3E50 80241840 46800020 */ cvt.s.w $f0, $f0 +/* EF3E54 80241844 E7A00014 */ swc1 $f0, 0x14($sp) +/* EF3E58 80241848 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF3E5C 8024184C 44062000 */ mfc1 $a2, $f4 +/* EF3E60 80241850 C4400010 */ lwc1 $f0, 0x10($v0) +/* EF3E64 80241854 46800020 */ cvt.s.w $f0, $f0 +/* EF3E68 80241858 E7A00018 */ swc1 $f0, 0x18($sp) +/* EF3E6C 8024185C 8C640018 */ lw $a0, 0x18($v1) +/* EF3E70 80241860 0C013431 */ jal func_8004D0C4 +/* EF3E74 80241864 8E070038 */ lw $a3, 0x38($s0) +/* EF3E78 80241868 1040000D */ beqz $v0, .L802418A0 +/* EF3E7C 8024186C 00000000 */ nop +/* EF3E80 80241870 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF3E84 80241874 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EF3E88 80241878 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EF3E8C 8024187C C4480000 */ lwc1 $f8, ($v0) +/* EF3E90 80241880 46804220 */ cvt.s.w $f8, $f8 +/* EF3E94 80241884 44064000 */ mfc1 $a2, $f8 +/* EF3E98 80241888 C4480008 */ lwc1 $f8, 8($v0) +/* EF3E9C 8024188C 46804220 */ cvt.s.w $f8, $f8 +/* EF3EA0 80241890 44074000 */ mfc1 $a3, $f8 +/* EF3EA4 80241894 0C00ABDC */ jal fio_validate_header_checksums +/* EF3EA8 80241898 00000000 */ nop +/* EF3EAC 8024189C E600000C */ swc1 $f0, 0xc($s0) +.L802418A0: +/* EF3EB0 802418A0 8602008C */ lh $v0, 0x8c($s0) +/* EF3EB4 802418A4 14400056 */ bnez $v0, .L80241A00 +/* EF3EB8 802418A8 00000000 */ nop +/* EF3EBC 802418AC 8602008E */ lh $v0, 0x8e($s0) +/* EF3EC0 802418B0 1840003D */ blez $v0, .L802419A8 +/* EF3EC4 802418B4 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EF3EC8 802418B8 8E050018 */ lw $a1, 0x18($s0) +/* EF3ECC 802418BC 8E06000C */ lw $a2, 0xc($s0) +/* EF3ED0 802418C0 0C00F909 */ jal func_8003E424 +/* EF3ED4 802418C4 0200202D */ daddu $a0, $s0, $zero +/* EF3ED8 802418C8 8E22006C */ lw $v0, 0x6c($s1) +/* EF3EDC 802418CC 30420001 */ andi $v0, $v0, 1 +/* EF3EE0 802418D0 10400032 */ beqz $v0, .L8024199C +/* EF3EE4 802418D4 27A50028 */ addiu $a1, $sp, 0x28 +/* EF3EE8 802418D8 27A6002C */ addiu $a2, $sp, 0x2c +/* EF3EEC 802418DC C6000038 */ lwc1 $f0, 0x38($s0) +/* EF3EF0 802418E0 C6020040 */ lwc1 $f2, 0x40($s0) +/* EF3EF4 802418E4 3C01447A */ lui $at, 0x447a +/* EF3EF8 802418E8 44812000 */ mtc1 $at, $f4 +/* EF3EFC 802418EC 27A20034 */ addiu $v0, $sp, 0x34 +/* EF3F00 802418F0 E7B6002C */ swc1 $f22, 0x2c($sp) +/* EF3F04 802418F4 E7A00028 */ swc1 $f0, 0x28($sp) +/* EF3F08 802418F8 E7A20030 */ swc1 $f2, 0x30($sp) +/* EF3F0C 802418FC E7A40034 */ swc1 $f4, 0x34($sp) +/* EF3F10 80241900 AFA20010 */ sw $v0, 0x10($sp) +/* EF3F14 80241904 8E040080 */ lw $a0, 0x80($s0) +/* EF3F18 80241908 0C03908F */ jal func_800E423C +/* EF3F1C 8024190C 27A70030 */ addiu $a3, $sp, 0x30 +/* EF3F20 80241910 C7A0002C */ lwc1 $f0, 0x2c($sp) +/* EF3F24 80241914 46180100 */ add.s $f4, $f0, $f24 +/* EF3F28 80241918 3C014000 */ lui $at, 0x4000 +/* EF3F2C 8024191C 44813800 */ mtc1 $at, $f7 +/* EF3F30 80241920 44803000 */ mtc1 $zero, $f6 +/* EF3F34 80241924 46162001 */ sub.s $f0, $f4, $f22 +/* EF3F38 80241928 E7A4002C */ swc1 $f4, 0x2c($sp) +/* EF3F3C 8024192C 460000A1 */ cvt.d.s $f2, $f0 +/* EF3F40 80241930 4622303C */ c.lt.d $f6, $f2 +/* EF3F44 80241934 00000000 */ nop +/* EF3F48 80241938 45000005 */ bc1f .L80241950 +/* EF3F4C 8024193C E7A00034 */ swc1 $f0, 0x34($sp) +/* EF3F50 80241940 4600B021 */ cvt.d.s $f0, $f22 +/* EF3F54 80241944 46260000 */ add.d $f0, $f0, $f6 +/* EF3F58 80241948 0809065F */ j .L8024197C +/* EF3F5C 8024194C 462005A0 */ cvt.s.d $f22, $f0 +.L80241950: +/* EF3F60 80241950 3C01C000 */ lui $at, 0xc000 +/* EF3F64 80241954 44810800 */ mtc1 $at, $f1 +/* EF3F68 80241958 44800000 */ mtc1 $zero, $f0 +/* EF3F6C 8024195C 00000000 */ nop +/* EF3F70 80241960 4620103C */ c.lt.d $f2, $f0 +/* EF3F74 80241964 00000000 */ nop +/* EF3F78 80241968 45020004 */ bc1fl .L8024197C +/* EF3F7C 8024196C 46002586 */ mov.s $f22, $f4 +/* EF3F80 80241970 4600B021 */ cvt.d.s $f0, $f22 +/* EF3F84 80241974 46260001 */ sub.d $f0, $f0, $f6 +/* EF3F88 80241978 462005A0 */ cvt.s.d $f22, $f0 +.L8024197C: +/* EF3F8C 8024197C 3C014059 */ lui $at, 0x4059 +/* EF3F90 80241980 44811800 */ mtc1 $at, $f3 +/* EF3F94 80241984 44801000 */ mtc1 $zero, $f2 +/* EF3F98 80241988 4600B021 */ cvt.d.s $f0, $f22 +/* EF3F9C 8024198C 46220002 */ mul.d $f0, $f0, $f2 +/* EF3FA0 80241990 00000000 */ nop +/* EF3FA4 80241994 4620020D */ trunc.w.d $f8, $f0 +/* EF3FA8 80241998 E628007C */ swc1 $f8, 0x7c($s1) +.L8024199C: +/* EF3FAC 8024199C 8602008E */ lh $v0, 0x8e($s0) +/* EF3FB0 802419A0 1C400017 */ bgtz $v0, .L80241A00 +/* EF3FB4 802419A4 240403E8 */ addiu $a0, $zero, 0x3e8 +.L802419A8: +/* EF3FB8 802419A8 24020002 */ addiu $v0, $zero, 2 +/* EF3FBC 802419AC 0C00AB3B */ jal func_8002ACEC +/* EF3FC0 802419B0 AE420070 */ sw $v0, 0x70($s2) +/* EF3FC4 802419B4 3C035555 */ lui $v1, 0x5555 +/* EF3FC8 802419B8 34635556 */ ori $v1, $v1, 0x5556 +/* EF3FCC 802419BC 00430018 */ mult $v0, $v1 +/* EF3FD0 802419C0 000227C3 */ sra $a0, $v0, 0x1f +/* EF3FD4 802419C4 00004010 */ mfhi $t0 +/* EF3FD8 802419C8 01042023 */ subu $a0, $t0, $a0 +/* EF3FDC 802419CC 00041840 */ sll $v1, $a0, 1 +/* EF3FE0 802419D0 00641821 */ addu $v1, $v1, $a0 +/* EF3FE4 802419D4 00431023 */ subu $v0, $v0, $v1 +/* EF3FE8 802419D8 24430002 */ addiu $v1, $v0, 2 +/* EF3FEC 802419DC AE430074 */ sw $v1, 0x74($s2) +/* EF3FF0 802419E0 8EE2002C */ lw $v0, 0x2c($s7) +/* EF3FF4 802419E4 58400006 */ blezl $v0, .L80241A00 +/* EF3FF8 802419E8 AE400070 */ sw $zero, 0x70($s2) +/* EF3FFC 802419EC 8EE20004 */ lw $v0, 4($s7) +/* EF4000 802419F0 58400003 */ blezl $v0, .L80241A00 +/* EF4004 802419F4 AE400070 */ sw $zero, 0x70($s2) +/* EF4008 802419F8 50600001 */ beql $v1, $zero, .L80241A00 +/* EF400C 802419FC AE400070 */ sw $zero, 0x70($s2) +.L80241A00: +/* EF4010 80241A00 8FBF0064 */ lw $ra, 0x64($sp) +/* EF4014 80241A04 8FBE0060 */ lw $fp, 0x60($sp) +/* EF4018 80241A08 8FB7005C */ lw $s7, 0x5c($sp) +/* EF401C 80241A0C 8FB60058 */ lw $s6, 0x58($sp) +/* EF4020 80241A10 8FB50054 */ lw $s5, 0x54($sp) +/* EF4024 80241A14 8FB40050 */ lw $s4, 0x50($sp) +/* EF4028 80241A18 8FB3004C */ lw $s3, 0x4c($sp) +/* EF402C 80241A1C 8FB20048 */ lw $s2, 0x48($sp) +/* EF4030 80241A20 8FB10044 */ lw $s1, 0x44($sp) +/* EF4034 80241A24 8FB00040 */ lw $s0, 0x40($sp) +/* EF4038 80241A28 D7BA0080 */ ldc1 $f26, 0x80($sp) +/* EF403C 80241A2C D7B80078 */ ldc1 $f24, 0x78($sp) +/* EF4040 80241A30 D7B60070 */ ldc1 $f22, 0x70($sp) +/* EF4044 80241A34 D7B40068 */ ldc1 $f20, 0x68($sp) +/* EF4048 80241A38 03E00008 */ jr $ra +/* EF404C 80241A3C 27BD0088 */ addiu $sp, $sp, 0x88 diff --git a/asm/nonmatchings/code_EF2680/func_80241A40_EF4050.s b/asm/nonmatchings/code_EF2680/func_80241A40_EF4050.s new file mode 100644 index 0000000000..81b4dbb66c --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80241A40_EF4050.s @@ -0,0 +1,156 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241A40_EF4050 +/* EF4050 80241A40 27BDFF98 */ addiu $sp, $sp, -0x68 +/* EF4054 80241A44 AFB20048 */ sw $s2, 0x48($sp) +/* EF4058 80241A48 0080902D */ daddu $s2, $a0, $zero +/* EF405C 80241A4C AFBF0054 */ sw $ra, 0x54($sp) +/* EF4060 80241A50 AFB40050 */ sw $s4, 0x50($sp) +/* EF4064 80241A54 AFB3004C */ sw $s3, 0x4c($sp) +/* EF4068 80241A58 AFB10044 */ sw $s1, 0x44($sp) +/* EF406C 80241A5C AFB00040 */ sw $s0, 0x40($sp) +/* EF4070 80241A60 F7B60060 */ sdc1 $f22, 0x60($sp) +/* EF4074 80241A64 F7B40058 */ sdc1 $f20, 0x58($sp) +/* EF4078 80241A68 8E510148 */ lw $s1, 0x148($s2) +/* EF407C 80241A6C 00A0982D */ daddu $s3, $a1, $zero +/* EF4080 80241A70 86240008 */ lh $a0, 8($s1) +/* EF4084 80241A74 0C00F92F */ jal func_8003E4BC +/* EF4088 80241A78 00C0A02D */ daddu $s4, $a2, $zero +/* EF408C 80241A7C 0040802D */ daddu $s0, $v0, $zero +/* EF4090 80241A80 C6200078 */ lwc1 $f0, 0x78($s1) +/* EF4094 80241A84 46800020 */ cvt.s.w $f0, $f0 +/* EF4098 80241A88 46000021 */ cvt.d.s $f0, $f0 +/* EF409C 80241A8C 3C014059 */ lui $at, 0x4059 +/* EF40A0 80241A90 44814800 */ mtc1 $at, $f9 +/* EF40A4 80241A94 44804000 */ mtc1 $zero, $f8 +/* EF40A8 80241A98 8602008E */ lh $v0, 0x8e($s0) +/* EF40AC 80241A9C 9603008E */ lhu $v1, 0x8e($s0) +/* EF40B0 80241AA0 46280003 */ div.d $f0, $f0, $f8 +/* EF40B4 80241AA4 18400003 */ blez $v0, .L80241AB4 +/* EF40B8 80241AA8 462005A0 */ cvt.s.d $f22, $f0 +/* EF40BC 80241AAC 2462FFFF */ addiu $v0, $v1, -1 +/* EF40C0 80241AB0 A602008E */ sh $v0, 0x8e($s0) +.L80241AB4: +/* EF40C4 80241AB4 27A50028 */ addiu $a1, $sp, 0x28 +/* EF40C8 80241AB8 27A6002C */ addiu $a2, $sp, 0x2c +/* EF40CC 80241ABC 27A70030 */ addiu $a3, $sp, 0x30 +/* EF40D0 80241AC0 C6000038 */ lwc1 $f0, 0x38($s0) +/* EF40D4 80241AC4 C602003C */ lwc1 $f2, 0x3c($s0) +/* EF40D8 80241AC8 C6040040 */ lwc1 $f4, 0x40($s0) +/* EF40DC 80241ACC 3C01447A */ lui $at, 0x447a +/* EF40E0 80241AD0 44813000 */ mtc1 $at, $f6 +/* EF40E4 80241AD4 27A20034 */ addiu $v0, $sp, 0x34 +/* EF40E8 80241AD8 E7A00028 */ swc1 $f0, 0x28($sp) +/* EF40EC 80241ADC E7A2002C */ swc1 $f2, 0x2c($sp) +/* EF40F0 80241AE0 E7A40030 */ swc1 $f4, 0x30($sp) +/* EF40F4 80241AE4 E7A60034 */ swc1 $f6, 0x34($sp) +/* EF40F8 80241AE8 C6340070 */ lwc1 $f20, 0x70($s1) +/* EF40FC 80241AEC 4680A520 */ cvt.s.w $f20, $f20 +/* EF4100 80241AF0 4600A521 */ cvt.d.s $f20, $f20 +/* EF4104 80241AF4 4628A503 */ div.d $f20, $f20, $f8 +/* EF4108 80241AF8 AFA20010 */ sw $v0, 0x10($sp) +/* EF410C 80241AFC 8E040080 */ lw $a0, 0x80($s0) +/* EF4110 80241B00 0C03908F */ jal func_800E423C +/* EF4114 80241B04 4620A520 */ cvt.s.d $f20, $f20 +/* EF4118 80241B08 C62C0074 */ lwc1 $f12, 0x74($s1) +/* EF411C 80241B0C 0C00AD77 */ jal func_8002B5DC +/* EF4120 80241B10 46806320 */ cvt.s.w $f12, $f12 +/* EF4124 80241B14 46140002 */ mul.s $f0, $f0, $f20 +/* EF4128 80241B18 00000000 */ nop +/* EF412C 80241B1C C7A2002C */ lwc1 $f2, 0x2c($sp) +/* EF4130 80241B20 46161080 */ add.s $f2, $f2, $f22 +/* EF4134 80241B24 46001080 */ add.s $f2, $f2, $f0 +/* EF4138 80241B28 E602003C */ swc1 $f2, 0x3c($s0) +/* EF413C 80241B2C 8E220074 */ lw $v0, 0x74($s1) +/* EF4140 80241B30 2442000C */ addiu $v0, $v0, 0xc +/* EF4144 80241B34 44826000 */ mtc1 $v0, $f12 +/* EF4148 80241B38 00000000 */ nop +/* EF414C 80241B3C 0C00AB85 */ jal func_8002AE14 +/* EF4150 80241B40 46806320 */ cvt.s.w $f12, $f12 +/* EF4154 80241B44 4600028D */ trunc.w.s $f10, $f0 +/* EF4158 80241B48 E62A0074 */ swc1 $f10, 0x74($s1) +/* EF415C 80241B4C 0280202D */ daddu $a0, $s4, $zero +/* EF4160 80241B50 24020001 */ addiu $v0, $zero, 1 +/* EF4164 80241B54 AFA20010 */ sw $v0, 0x10($sp) +/* EF4168 80241B58 8E660024 */ lw $a2, 0x24($s3) +/* EF416C 80241B5C 8E670028 */ lw $a3, 0x28($s3) +/* EF4170 80241B60 0C013469 */ jal func_8004D1A4 +/* EF4174 80241B64 0220282D */ daddu $a1, $s1, $zero +/* EF4178 80241B68 1040001D */ beqz $v0, .L80241BE0 +/* EF417C 80241B6C 0000202D */ daddu $a0, $zero, $zero +/* EF4180 80241B70 0200282D */ daddu $a1, $s0, $zero +/* EF4184 80241B74 0000302D */ daddu $a2, $zero, $zero +/* EF4188 80241B78 860300A8 */ lh $v1, 0xa8($s0) +/* EF418C 80241B7C 3C013F80 */ lui $at, 0x3f80 +/* EF4190 80241B80 44810000 */ mtc1 $at, $f0 +/* EF4194 80241B84 3C014000 */ lui $at, 0x4000 +/* EF4198 80241B88 44811000 */ mtc1 $at, $f2 +/* EF419C 80241B8C 3C01C1A0 */ lui $at, 0xc1a0 +/* EF41A0 80241B90 44812000 */ mtc1 $at, $f4 +/* EF41A4 80241B94 2402000F */ addiu $v0, $zero, 0xf +/* EF41A8 80241B98 AFA2001C */ sw $v0, 0x1c($sp) +/* EF41AC 80241B9C 44835000 */ mtc1 $v1, $f10 +/* EF41B0 80241BA0 00000000 */ nop +/* EF41B4 80241BA4 468052A0 */ cvt.s.w $f10, $f10 +/* EF41B8 80241BA8 44075000 */ mfc1 $a3, $f10 +/* EF41BC 80241BAC 27A20038 */ addiu $v0, $sp, 0x38 +/* EF41C0 80241BB0 AFA20020 */ sw $v0, 0x20($sp) +/* EF41C4 80241BB4 E7A00010 */ swc1 $f0, 0x10($sp) +/* EF41C8 80241BB8 E7A20014 */ swc1 $f2, 0x14($sp) +/* EF41CC 80241BBC 0C01D444 */ jal func_80075110 +/* EF41D0 80241BC0 E7A40018 */ swc1 $f4, 0x18($sp) +/* EF41D4 80241BC4 0200202D */ daddu $a0, $s0, $zero +/* EF41D8 80241BC8 240502F4 */ addiu $a1, $zero, 0x2f4 +/* EF41DC 80241BCC 0C013600 */ jal func_8004D800 +/* EF41E0 80241BD0 3C060020 */ lui $a2, 0x20 +/* EF41E4 80241BD4 2402000C */ addiu $v0, $zero, 0xc +/* EF41E8 80241BD8 0809071A */ j .L80241C68 +/* EF41EC 80241BDC AE420070 */ sw $v0, 0x70($s2) +.L80241BE0: +/* EF41F0 80241BE0 8602008C */ lh $v0, 0x8c($s0) +/* EF41F4 80241BE4 14400020 */ bnez $v0, .L80241C68 +/* EF41F8 80241BE8 00000000 */ nop +/* EF41FC 80241BEC 8602008E */ lh $v0, 0x8e($s0) +/* EF4200 80241BF0 1C40001D */ bgtz $v0, .L80241C68 +/* EF4204 80241BF4 00000000 */ nop +/* EF4208 80241BF8 8E420074 */ lw $v0, 0x74($s2) +/* EF420C 80241BFC 2442FFFF */ addiu $v0, $v0, -1 +/* EF4210 80241C00 18400018 */ blez $v0, .L80241C64 +/* EF4214 80241C04 AE420074 */ sw $v0, 0x74($s2) +/* EF4218 80241C08 C600000C */ lwc1 $f0, 0xc($s0) +/* EF421C 80241C0C 3C014334 */ lui $at, 0x4334 +/* EF4220 80241C10 44816000 */ mtc1 $at, $f12 +/* EF4224 80241C14 0C00AB85 */ jal func_8002AE14 +/* EF4228 80241C18 460C0300 */ add.s $f12, $f0, $f12 +/* EF422C 80241C1C 240403E8 */ addiu $a0, $zero, 0x3e8 +/* EF4230 80241C20 0C00AB3B */ jal func_8002ACEC +/* EF4234 80241C24 E600000C */ swc1 $f0, 0xc($s0) +/* EF4238 80241C28 3C032E8B */ lui $v1, 0x2e8b +/* EF423C 80241C2C 3463A2E9 */ ori $v1, $v1, 0xa2e9 +/* EF4240 80241C30 00430018 */ mult $v0, $v1 +/* EF4244 80241C34 00021FC3 */ sra $v1, $v0, 0x1f +/* EF4248 80241C38 00004010 */ mfhi $t0 +/* EF424C 80241C3C 00082043 */ sra $a0, $t0, 1 +/* EF4250 80241C40 00832023 */ subu $a0, $a0, $v1 +/* EF4254 80241C44 00041840 */ sll $v1, $a0, 1 +/* EF4258 80241C48 00641821 */ addu $v1, $v1, $a0 +/* EF425C 80241C4C 00031880 */ sll $v1, $v1, 2 +/* EF4260 80241C50 00641823 */ subu $v1, $v1, $a0 +/* EF4264 80241C54 00431023 */ subu $v0, $v0, $v1 +/* EF4268 80241C58 24420005 */ addiu $v0, $v0, 5 +/* EF426C 80241C5C 0809071A */ j .L80241C68 +/* EF4270 80241C60 A602008E */ sh $v0, 0x8e($s0) +.L80241C64: +/* EF4274 80241C64 AE400070 */ sw $zero, 0x70($s2) +.L80241C68: +/* EF4278 80241C68 8FBF0054 */ lw $ra, 0x54($sp) +/* EF427C 80241C6C 8FB40050 */ lw $s4, 0x50($sp) +/* EF4280 80241C70 8FB3004C */ lw $s3, 0x4c($sp) +/* EF4284 80241C74 8FB20048 */ lw $s2, 0x48($sp) +/* EF4288 80241C78 8FB10044 */ lw $s1, 0x44($sp) +/* EF428C 80241C7C 8FB00040 */ lw $s0, 0x40($sp) +/* EF4290 80241C80 D7B60060 */ ldc1 $f22, 0x60($sp) +/* EF4294 80241C84 D7B40058 */ ldc1 $f20, 0x58($sp) +/* EF4298 80241C88 03E00008 */ jr $ra +/* EF429C 80241C8C 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/asm/nonmatchings/code_EF2680/func_80241C90_EF42A0.s b/asm/nonmatchings/code_EF2680/func_80241C90_EF42A0.s new file mode 100644 index 0000000000..9906915921 --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80241C90_EF42A0.s @@ -0,0 +1,352 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80241C90_EF42A0 +/* EF42A0 80241C90 27BDFF98 */ addiu $sp, $sp, -0x68 +/* EF42A4 80241C94 AFB40050 */ sw $s4, 0x50($sp) +/* EF42A8 80241C98 0080A02D */ daddu $s4, $a0, $zero +/* EF42AC 80241C9C AFBF005C */ sw $ra, 0x5c($sp) +/* EF42B0 80241CA0 AFB60058 */ sw $s6, 0x58($sp) +/* EF42B4 80241CA4 AFB50054 */ sw $s5, 0x54($sp) +/* EF42B8 80241CA8 AFB3004C */ sw $s3, 0x4c($sp) +/* EF42BC 80241CAC AFB20048 */ sw $s2, 0x48($sp) +/* EF42C0 80241CB0 AFB10044 */ sw $s1, 0x44($sp) +/* EF42C4 80241CB4 AFB00040 */ sw $s0, 0x40($sp) +/* EF42C8 80241CB8 F7B40060 */ sdc1 $f20, 0x60($sp) +/* EF42CC 80241CBC 8E930148 */ lw $s3, 0x148($s4) +/* EF42D0 80241CC0 86640008 */ lh $a0, 8($s3) +/* EF42D4 80241CC4 8E90000C */ lw $s0, 0xc($s4) +/* EF42D8 80241CC8 0C00F92F */ jal func_8003E4BC +/* EF42DC 80241CCC 00A0882D */ daddu $s1, $a1, $zero +/* EF42E0 80241CD0 0280202D */ daddu $a0, $s4, $zero +/* EF42E4 80241CD4 8E050000 */ lw $a1, ($s0) +/* EF42E8 80241CD8 0C0B53A3 */ jal func_802D4E8C +/* EF42EC 80241CDC 0040902D */ daddu $s2, $v0, $zero +/* EF42F0 80241CE0 AFA00020 */ sw $zero, 0x20($sp) +/* EF42F4 80241CE4 8E6300D0 */ lw $v1, 0xd0($s3) +/* EF42F8 80241CE8 8C630030 */ lw $v1, 0x30($v1) +/* EF42FC 80241CEC AFA30024 */ sw $v1, 0x24($sp) +/* EF4300 80241CF0 8E6300D0 */ lw $v1, 0xd0($s3) +/* EF4304 80241CF4 8C63001C */ lw $v1, 0x1c($v1) +/* EF4308 80241CF8 AFA30028 */ sw $v1, 0x28($sp) +/* EF430C 80241CFC 8E6300D0 */ lw $v1, 0xd0($s3) +/* EF4310 80241D00 8C630024 */ lw $v1, 0x24($v1) +/* EF4314 80241D04 AFA3002C */ sw $v1, 0x2c($sp) +/* EF4318 80241D08 8E6300D0 */ lw $v1, 0xd0($s3) +/* EF431C 80241D0C 8C630028 */ lw $v1, 0x28($v1) +/* EF4320 80241D10 AFA30030 */ sw $v1, 0x30($sp) +/* EF4324 80241D14 8E6300D0 */ lw $v1, 0xd0($s3) +/* EF4328 80241D18 3C0142F0 */ lui $at, 0x42f0 +/* EF432C 80241D1C 44810000 */ mtc1 $at, $f0 +/* EF4330 80241D20 8C63002C */ lw $v1, 0x2c($v1) +/* EF4334 80241D24 E7A00038 */ swc1 $f0, 0x38($sp) +/* EF4338 80241D28 A7A0003C */ sh $zero, 0x3c($sp) +/* EF433C 80241D2C AFA30034 */ sw $v1, 0x34($sp) +/* EF4340 80241D30 C6400038 */ lwc1 $f0, 0x38($s2) +/* EF4344 80241D34 E6600108 */ swc1 $f0, 0x108($s3) +/* EF4348 80241D38 C640003C */ lwc1 $f0, 0x3c($s2) +/* EF434C 80241D3C 27B50020 */ addiu $s5, $sp, 0x20 +/* EF4350 80241D40 E660010C */ swc1 $f0, 0x10c($s3) +/* EF4354 80241D44 3C0138D1 */ lui $at, 0x38d1 +/* EF4358 80241D48 3421B717 */ ori $at, $at, 0xb717 +/* EF435C 80241D4C 44810000 */ mtc1 $at, $f0 +/* EF4360 80241D50 C6420040 */ lwc1 $f2, 0x40($s2) +/* EF4364 80241D54 0040B02D */ daddu $s6, $v0, $zero +/* EF4368 80241D58 E6600114 */ swc1 $f0, 0x114($s3) +/* EF436C 80241D5C E6600118 */ swc1 $f0, 0x118($s3) +/* EF4370 80241D60 12200007 */ beqz $s1, .L80241D80 +/* EF4374 80241D64 E6620110 */ swc1 $f2, 0x110($s3) +/* EF4378 80241D68 0240202D */ daddu $a0, $s2, $zero +/* EF437C 80241D6C 0260282D */ daddu $a1, $s3, $zero +/* EF4380 80241D70 0280302D */ daddu $a2, $s4, $zero +/* EF4384 80241D74 0C090496 */ jal func_80241258_EF3868 +/* EF4388 80241D78 02C0382D */ daddu $a3, $s6, $zero +/* EF438C 80241D7C AE800070 */ sw $zero, 0x70($s4) +.L80241D80: +/* EF4390 80241D80 2402FFFD */ addiu $v0, $zero, -3 +/* EF4394 80241D84 A24200AB */ sb $v0, 0xab($s2) +/* EF4398 80241D88 8E6300B0 */ lw $v1, 0xb0($s3) +/* EF439C 80241D8C 30620004 */ andi $v0, $v1, 4 +/* EF43A0 80241D90 10400007 */ beqz $v0, .L80241DB0 +/* EF43A4 80241D94 00000000 */ nop +/* EF43A8 80241D98 826200B4 */ lb $v0, 0xb4($s3) +/* EF43AC 80241D9C 144000F4 */ bnez $v0, .L80242170 +/* EF43B0 80241DA0 0000102D */ daddu $v0, $zero, $zero +/* EF43B4 80241DA4 2402FFFB */ addiu $v0, $zero, -5 +/* EF43B8 80241DA8 00621024 */ and $v0, $v1, $v0 +/* EF43BC 80241DAC AE6200B0 */ sw $v0, 0xb0($s3) +.L80241DB0: +/* EF43C0 80241DB0 8E830070 */ lw $v1, 0x70($s4) +/* EF43C4 80241DB4 24020001 */ addiu $v0, $zero, 1 +/* EF43C8 80241DB8 10620011 */ beq $v1, $v0, .L80241E00 +/* EF43CC 80241DBC 28620002 */ slti $v0, $v1, 2 +/* EF43D0 80241DC0 10400005 */ beqz $v0, .L80241DD8 +/* EF43D4 80241DC4 24020002 */ addiu $v0, $zero, 2 +/* EF43D8 80241DC8 10600009 */ beqz $v1, .L80241DF0 +/* EF43DC 80241DCC 2402000C */ addiu $v0, $zero, 0xc +/* EF43E0 80241DD0 08090790 */ j .L80241E40 +/* EF43E4 80241DD4 00000000 */ nop +.L80241DD8: +/* EF43E8 80241DD8 1062000F */ beq $v1, $v0, .L80241E18 +/* EF43EC 80241DDC 24020003 */ addiu $v0, $zero, 3 +/* EF43F0 80241DE0 10620012 */ beq $v1, $v0, .L80241E2C +/* EF43F4 80241DE4 0280202D */ daddu $a0, $s4, $zero +/* EF43F8 80241DE8 0809078E */ j .L80241E38 +/* EF43FC 80241DEC 00000000 */ nop +.L80241DF0: +/* EF4400 80241DF0 0280202D */ daddu $a0, $s4, $zero +/* EF4404 80241DF4 02C0282D */ daddu $a1, $s6, $zero +/* EF4408 80241DF8 0C09001C */ jal func_80240070_EF2680 +/* EF440C 80241DFC 02A0302D */ daddu $a2, $s5, $zero +.L80241E00: +/* EF4410 80241E00 0280202D */ daddu $a0, $s4, $zero +/* EF4414 80241E04 02C0282D */ daddu $a1, $s6, $zero +/* EF4418 80241E08 0C090577 */ jal func_802415DC_EF3BEC +/* EF441C 80241E0C 02A0302D */ daddu $a2, $s5, $zero +/* EF4420 80241E10 0809078E */ j .L80241E38 +/* EF4424 80241E14 00000000 */ nop +.L80241E18: +/* EF4428 80241E18 0280202D */ daddu $a0, $s4, $zero +/* EF442C 80241E1C 02C0282D */ daddu $a1, $s6, $zero +/* EF4430 80241E20 0C090212 */ jal func_80240848_EF2E58 +/* EF4434 80241E24 02A0302D */ daddu $a2, $s5, $zero +/* EF4438 80241E28 0280202D */ daddu $a0, $s4, $zero +.L80241E2C: +/* EF443C 80241E2C 02C0282D */ daddu $a1, $s6, $zero +/* EF4440 80241E30 0C090690 */ jal func_80241A40_EF4050 +/* EF4444 80241E34 02A0302D */ daddu $a2, $s5, $zero +.L80241E38: +/* EF4448 80241E38 8E830070 */ lw $v1, 0x70($s4) +/* EF444C 80241E3C 2402000C */ addiu $v0, $zero, 0xc +.L80241E40: +/* EF4450 80241E40 1462001A */ bne $v1, $v0, .L80241EAC +/* EF4454 80241E44 00000000 */ nop +/* EF4458 80241E48 C64C0038 */ lwc1 $f12, 0x38($s2) +/* EF445C 80241E4C 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EF4460 80241E50 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EF4464 80241E54 C64E0040 */ lwc1 $f14, 0x40($s2) +/* EF4468 80241E58 8C460028 */ lw $a2, 0x28($v0) +/* EF446C 80241E5C 0C00ABDC */ jal fio_validate_header_checksums +/* EF4470 80241E60 8C470030 */ lw $a3, 0x30($v0) +/* EF4474 80241E64 0C090565 */ jal func_80241594_EF3BA4 +/* EF4478 80241E68 E640000C */ swc1 $f0, 0xc($s2) +/* EF447C 80241E6C 0440000F */ bltz $v0, .L80241EAC +/* EF4480 80241E70 AE62007C */ sw $v0, 0x7c($s3) +/* EF4484 80241E74 0C010ABD */ jal func_80042AF4 +/* EF4488 80241E78 0040202D */ daddu $a0, $v0, $zero +/* EF448C 80241E7C 3C030049 */ lui $v1, 0x49 +/* EF4490 80241E80 0040202D */ daddu $a0, $v0, $zero +/* EF4494 80241E84 24020001 */ addiu $v0, $zero, 1 +/* EF4498 80241E88 AC820094 */ sw $v0, 0x94($a0) +/* EF449C 80241E8C 86620008 */ lh $v0, 8($s3) +/* EF44A0 80241E90 34630014 */ ori $v1, $v1, 0x14 +/* EF44A4 80241E94 AC820098 */ sw $v0, 0x98($a0) +/* EF44A8 80241E98 2402000F */ addiu $v0, $zero, 0xf +/* EF44AC 80241E9C A642008E */ sh $v0, 0x8e($s2) +/* EF44B0 80241EA0 2402001E */ addiu $v0, $zero, 0x1e +/* EF44B4 80241EA4 AE430028 */ sw $v1, 0x28($s2) +/* EF44B8 80241EA8 AE820070 */ sw $v0, 0x70($s4) +.L80241EAC: +/* EF44BC 80241EAC 8E830070 */ lw $v1, 0x70($s4) +/* EF44C0 80241EB0 2402000D */ addiu $v0, $zero, 0xd +/* EF44C4 80241EB4 10620010 */ beq $v1, $v0, .L80241EF8 +/* EF44C8 80241EB8 2862000E */ slti $v0, $v1, 0xe +/* EF44CC 80241EBC 10400005 */ beqz $v0, .L80241ED4 +/* EF44D0 80241EC0 2402000C */ addiu $v0, $zero, 0xc +/* EF44D4 80241EC4 10620008 */ beq $v1, $v0, .L80241EE8 +/* EF44D8 80241EC8 2410001F */ addiu $s0, $zero, 0x1f +/* EF44DC 80241ECC 080907C9 */ j .L80241F24 +/* EF44E0 80241ED0 00000000 */ nop +.L80241ED4: +/* EF44E4 80241ED4 2402000E */ addiu $v0, $zero, 0xe +/* EF44E8 80241ED8 1062000D */ beq $v1, $v0, .L80241F10 +/* EF44EC 80241EDC 0280202D */ daddu $a0, $s4, $zero +/* EF44F0 80241EE0 080907C7 */ j .L80241F1C +/* EF44F4 80241EE4 00000000 */ nop +.L80241EE8: +/* EF44F8 80241EE8 0280202D */ daddu $a0, $s4, $zero +/* EF44FC 80241EEC 02C0282D */ daddu $a1, $s6, $zero +/* EF4500 80241EF0 0C09034C */ jal func_80240D30_EF3340 +/* EF4504 80241EF4 02A0302D */ daddu $a2, $s5, $zero +.L80241EF8: +/* EF4508 80241EF8 0280202D */ daddu $a0, $s4, $zero +/* EF450C 80241EFC 02C0282D */ daddu $a1, $s6, $zero +/* EF4510 80241F00 0C090399 */ jal func_80240E64_EF3474 +/* EF4514 80241F04 02A0302D */ daddu $a2, $s5, $zero +/* EF4518 80241F08 080907C7 */ j .L80241F1C +/* EF451C 80241F0C 00000000 */ nop +.L80241F10: +/* EF4520 80241F10 02C0282D */ daddu $a1, $s6, $zero +/* EF4524 80241F14 0C0903B2 */ jal func_80240EC8_EF34D8 +/* EF4528 80241F18 02A0302D */ daddu $a2, $s5, $zero +.L80241F1C: +/* EF452C 80241F1C 8E830070 */ lw $v1, 0x70($s4) +/* EF4530 80241F20 2410001F */ addiu $s0, $zero, 0x1f +.L80241F24: +/* EF4534 80241F24 1070001B */ beq $v1, $s0, .L80241F94 +/* EF4538 80241F28 28620020 */ slti $v0, $v1, 0x20 +/* EF453C 80241F2C 10400005 */ beqz $v0, .L80241F44 +/* EF4540 80241F30 2402001E */ addiu $v0, $zero, 0x1e +/* EF4544 80241F34 1062000A */ beq $v1, $v0, .L80241F60 +/* EF4548 80241F38 00000000 */ nop +/* EF454C 80241F3C 08090804 */ j .L80242010 +/* EF4550 80241F40 00000000 */ nop +.L80241F44: +/* EF4554 80241F44 24020020 */ addiu $v0, $zero, 0x20 +/* EF4558 80241F48 10620022 */ beq $v1, $v0, .L80241FD4 +/* EF455C 80241F4C 24020021 */ addiu $v0, $zero, 0x21 +/* EF4560 80241F50 10620029 */ beq $v1, $v0, .L80241FF8 +/* EF4564 80241F54 00000000 */ nop +/* EF4568 80241F58 08090804 */ j .L80242010 +/* EF456C 80241F5C 00000000 */ nop +.L80241F60: +/* EF4570 80241F60 9642008E */ lhu $v0, 0x8e($s2) +/* EF4574 80241F64 2442FFFF */ addiu $v0, $v0, -1 +/* EF4578 80241F68 A642008E */ sh $v0, 0x8e($s2) +/* EF457C 80241F6C 00021400 */ sll $v0, $v0, 0x10 +/* EF4580 80241F70 1C400027 */ bgtz $v0, .L80242010 +/* EF4584 80241F74 00000000 */ nop +/* EF4588 80241F78 0C010ABD */ jal func_80042AF4 +/* EF458C 80241F7C 8E64007C */ lw $a0, 0x7c($s3) +/* EF4590 80241F80 24030002 */ addiu $v1, $zero, 2 +/* EF4594 80241F84 AC430094 */ sw $v1, 0x94($v0) +/* EF4598 80241F88 24020005 */ addiu $v0, $zero, 5 +/* EF459C 80241F8C A642008E */ sh $v0, 0x8e($s2) +/* EF45A0 80241F90 AE900070 */ sw $s0, 0x70($s4) +.L80241F94: +/* EF45A4 80241F94 9642008E */ lhu $v0, 0x8e($s2) +/* EF45A8 80241F98 2442FFFF */ addiu $v0, $v0, -1 +/* EF45AC 80241F9C A642008E */ sh $v0, 0x8e($s2) +/* EF45B0 80241FA0 00021400 */ sll $v0, $v0, 0x10 +/* EF45B4 80241FA4 1C40001A */ bgtz $v0, .L80242010 +/* EF45B8 80241FA8 3C020049 */ lui $v0, 0x49 +/* EF45BC 80241FAC 34420015 */ ori $v0, $v0, 0x15 +/* EF45C0 80241FB0 AE420028 */ sw $v0, 0x28($s2) +/* EF45C4 80241FB4 0C010ABD */ jal func_80042AF4 +/* EF45C8 80241FB8 8E64007C */ lw $a0, 0x7c($s3) +/* EF45CC 80241FBC 24030003 */ addiu $v1, $zero, 3 +/* EF45D0 80241FC0 AC430094 */ sw $v1, 0x94($v0) +/* EF45D4 80241FC4 2402000A */ addiu $v0, $zero, 0xa +/* EF45D8 80241FC8 A642008E */ sh $v0, 0x8e($s2) +/* EF45DC 80241FCC 24020020 */ addiu $v0, $zero, 0x20 +/* EF45E0 80241FD0 AE820070 */ sw $v0, 0x70($s4) +.L80241FD4: +/* EF45E4 80241FD4 9642008E */ lhu $v0, 0x8e($s2) +/* EF45E8 80241FD8 2442FFFF */ addiu $v0, $v0, -1 +/* EF45EC 80241FDC A642008E */ sh $v0, 0x8e($s2) +/* EF45F0 80241FE0 00021400 */ sll $v0, $v0, 0x10 +/* EF45F4 80241FE4 1C40000A */ bgtz $v0, .L80242010 +/* EF45F8 80241FE8 24020003 */ addiu $v0, $zero, 3 +/* EF45FC 80241FEC A642008E */ sh $v0, 0x8e($s2) +/* EF4600 80241FF0 24020021 */ addiu $v0, $zero, 0x21 +/* EF4604 80241FF4 AE820070 */ sw $v0, 0x70($s4) +.L80241FF8: +/* EF4608 80241FF8 9642008E */ lhu $v0, 0x8e($s2) +/* EF460C 80241FFC 2442FFFF */ addiu $v0, $v0, -1 +/* EF4610 80242000 A642008E */ sh $v0, 0x8e($s2) +/* EF4614 80242004 00021400 */ sll $v0, $v0, 0x10 +/* EF4618 80242008 58400001 */ blezl $v0, .L80242010 +/* EF461C 8024200C AE800070 */ sw $zero, 0x70($s4) +.L80242010: +/* EF4620 80242010 8E820070 */ lw $v0, 0x70($s4) +/* EF4624 80242014 2442FFE2 */ addiu $v0, $v0, -0x1e +/* EF4628 80242018 2C420002 */ sltiu $v0, $v0, 2 +/* EF462C 8024201C 10400054 */ beqz $v0, .L80242170 +/* EF4630 80242020 0000102D */ daddu $v0, $zero, $zero +/* EF4634 80242024 3C108010 */ lui $s0, %hi(D_800FFC90) +/* EF4638 80242028 2610FC90 */ addiu $s0, $s0, %lo(D_800FFC90) +/* EF463C 8024202C C64C0038 */ lwc1 $f12, 0x38($s2) +/* EF4640 80242030 8E020000 */ lw $v0, ($s0) +/* EF4644 80242034 C64E0040 */ lwc1 $f14, 0x40($s2) +/* EF4648 80242038 8C460028 */ lw $a2, 0x28($v0) +/* EF464C 8024203C 0C00ABDC */ jal fio_validate_header_checksums +/* EF4650 80242040 8C470030 */ lw $a3, 0x30($v0) +/* EF4654 80242044 8E460038 */ lw $a2, 0x38($s2) +/* EF4658 80242048 8E470040 */ lw $a3, 0x40($s2) +/* EF465C 8024204C 8E020000 */ lw $v0, ($s0) +/* EF4660 80242050 E640000C */ swc1 $f0, 0xc($s2) +/* EF4664 80242054 C44C0028 */ lwc1 $f12, 0x28($v0) +/* EF4668 80242058 0C00AC71 */ jal func_8002B1C4 +/* EF466C 8024205C C44E0030 */ lwc1 $f14, 0x30($v0) +/* EF4670 80242060 C6A20008 */ lwc1 $f2, 8($s5) +/* EF4674 80242064 468010A0 */ cvt.s.w $f2, $f2 +/* EF4678 80242068 44051000 */ mfc1 $a1, $f2 +/* EF467C 8024206C C6A2000C */ lwc1 $f2, 0xc($s5) +/* EF4680 80242070 468010A0 */ cvt.s.w $f2, $f2 +/* EF4684 80242074 44061000 */ mfc1 $a2, $f2 +/* EF4688 80242078 C6420040 */ lwc1 $f2, 0x40($s2) +/* EF468C 8024207C E7A20010 */ swc1 $f2, 0x10($sp) +/* EF4690 80242080 C6A20010 */ lwc1 $f2, 0x10($s5) +/* EF4694 80242084 468010A0 */ cvt.s.w $f2, $f2 +/* EF4698 80242088 E7A20014 */ swc1 $f2, 0x14($sp) +/* EF469C 8024208C C6A20014 */ lwc1 $f2, 0x14($s5) +/* EF46A0 80242090 468010A0 */ cvt.s.w $f2, $f2 +/* EF46A4 80242094 E7A20018 */ swc1 $f2, 0x18($sp) +/* EF46A8 80242098 8EA40004 */ lw $a0, 4($s5) +/* EF46AC 8024209C 8E470038 */ lw $a3, 0x38($s2) +/* EF46B0 802420A0 0C013431 */ jal func_8004D0C4 +/* EF46B4 802420A4 46000506 */ mov.s $f20, $f0 +/* EF46B8 802420A8 14400031 */ bnez $v0, .L80242170 +/* EF46BC 802420AC 0000102D */ daddu $v0, $zero, $zero +/* EF46C0 802420B0 3C01403E */ lui $at, 0x403e +/* EF46C4 802420B4 44810800 */ mtc1 $at, $f1 +/* EF46C8 802420B8 44800000 */ mtc1 $zero, $f0 +/* EF46CC 802420BC 4600A0A1 */ cvt.d.s $f2, $f20 +/* EF46D0 802420C0 4622003C */ c.lt.d $f0, $f2 +/* EF46D4 802420C4 00000000 */ nop +/* EF46D8 802420C8 45000029 */ bc1f .L80242170 +/* EF46DC 802420CC 00000000 */ nop +/* EF46E0 802420D0 8642008C */ lh $v0, 0x8c($s2) +/* EF46E4 802420D4 54400026 */ bnel $v0, $zero, .L80242170 +/* EF46E8 802420D8 0000102D */ daddu $v0, $zero, $zero +/* EF46EC 802420DC 3C014034 */ lui $at, 0x4034 +/* EF46F0 802420E0 44810800 */ mtc1 $at, $f1 +/* EF46F4 802420E4 44800000 */ mtc1 $zero, $f0 +/* EF46F8 802420E8 00000000 */ nop +/* EF46FC 802420EC 46201001 */ sub.d $f0, $f2, $f0 +/* EF4700 802420F0 44801000 */ mtc1 $zero, $f2 +/* EF4704 802420F4 44801800 */ mtc1 $zero, $f3 +/* EF4708 802420F8 46200120 */ cvt.s.d $f4, $f0 +/* EF470C 802420FC 46002021 */ cvt.d.s $f0, $f4 +/* EF4710 80242100 4622003C */ c.lt.d $f0, $f2 +/* EF4714 80242104 00000000 */ nop +/* EF4718 80242108 45000002 */ bc1f .L80242114 +/* EF471C 8024210C 00000000 */ nop +/* EF4720 80242110 44802000 */ mtc1 $zero, $f4 +.L80242114: +/* EF4724 80242114 3C014069 */ lui $at, 0x4069 +/* EF4728 80242118 44811800 */ mtc1 $at, $f3 +/* EF472C 8024211C 44801000 */ mtc1 $zero, $f2 +/* EF4730 80242120 46002021 */ cvt.d.s $f0, $f4 +/* EF4734 80242124 4620103C */ c.lt.d $f2, $f0 +/* EF4738 80242128 00000000 */ nop +/* EF473C 8024212C 45000003 */ bc1f .L8024213C +/* EF4740 80242130 240200C8 */ addiu $v0, $zero, 0xc8 +/* EF4744 80242134 3C014348 */ lui $at, 0x4348 +/* EF4748 80242138 44812000 */ mtc1 $at, $f4 +.L8024213C: +/* EF474C 8024213C AFA20010 */ sw $v0, 0x10($sp) +/* EF4750 80242140 8EC50000 */ lw $a1, ($s6) +/* EF4754 80242144 8EC60018 */ lw $a2, 0x18($s6) +/* EF4758 80242148 4600218D */ trunc.w.s $f6, $f4 +/* EF475C 8024214C 44073000 */ mfc1 $a3, $f6 +/* EF4760 80242150 0C00ADA9 */ jal func_8002B6A4 +/* EF4764 80242154 0000202D */ daddu $a0, $zero, $zero +/* EF4768 80242158 44050000 */ mfc1 $a1, $f0 +/* EF476C 8024215C 8E46000C */ lw $a2, 0xc($s2) +/* EF4770 80242160 0240202D */ daddu $a0, $s2, $zero +/* EF4774 80242164 0C00F909 */ jal func_8003E424 +/* EF4778 80242168 AC850018 */ sw $a1, 0x18($a0) +/* EF477C 8024216C 0000102D */ daddu $v0, $zero, $zero +.L80242170: +/* EF4780 80242170 8FBF005C */ lw $ra, 0x5c($sp) +/* EF4784 80242174 8FB60058 */ lw $s6, 0x58($sp) +/* EF4788 80242178 8FB50054 */ lw $s5, 0x54($sp) +/* EF478C 8024217C 8FB40050 */ lw $s4, 0x50($sp) +/* EF4790 80242180 8FB3004C */ lw $s3, 0x4c($sp) +/* EF4794 80242184 8FB20048 */ lw $s2, 0x48($sp) +/* EF4798 80242188 8FB10044 */ lw $s1, 0x44($sp) +/* EF479C 8024218C 8FB00040 */ lw $s0, 0x40($sp) +/* EF47A0 80242190 D7B40060 */ ldc1 $f20, 0x60($sp) +/* EF47A4 80242194 03E00008 */ jr $ra +/* EF47A8 80242198 27BD0068 */ addiu $sp, $sp, 0x68 diff --git a/asm/nonmatchings/code_EF2680/func_8024219C_EF47AC.s b/asm/nonmatchings/code_EF2680/func_8024219C_EF47AC.s new file mode 100644 index 0000000000..f9a0a91d9d --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_8024219C_EF47AC.s @@ -0,0 +1,35 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024219C_EF47AC +/* EF47AC 8024219C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EF47B0 802421A0 AFB20018 */ sw $s2, 0x18($sp) +/* EF47B4 802421A4 0080902D */ daddu $s2, $a0, $zero +/* EF47B8 802421A8 AFBF001C */ sw $ra, 0x1c($sp) +/* EF47BC 802421AC AFB10014 */ sw $s1, 0x14($sp) +/* EF47C0 802421B0 AFB00010 */ sw $s0, 0x10($sp) +/* EF47C4 802421B4 8E510148 */ lw $s1, 0x148($s2) +/* EF47C8 802421B8 0C00F92F */ jal func_8003E4BC +/* EF47CC 802421BC 86240008 */ lh $a0, 8($s1) +/* EF47D0 802421C0 0040802D */ daddu $s0, $v0, $zero +/* EF47D4 802421C4 8E2300CC */ lw $v1, 0xcc($s1) +/* EF47D8 802421C8 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EF47DC 802421CC 8C630020 */ lw $v1, 0x20($v1) +/* EF47E0 802421D0 AE030028 */ sw $v1, 0x28($s0) +/* EF47E4 802421D4 96220076 */ lhu $v0, 0x76($s1) +/* EF47E8 802421D8 A602008E */ sh $v0, 0x8e($s0) +/* EF47EC 802421DC 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EF47F0 802421E0 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EF47F4 802421E4 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EF47F8 802421E8 8C460028 */ lw $a2, 0x28($v0) +/* EF47FC 802421EC 0C00ABDC */ jal fio_validate_header_checksums +/* EF4800 802421F0 8C470030 */ lw $a3, 0x30($v0) +/* EF4804 802421F4 2402000D */ addiu $v0, $zero, 0xd +/* EF4808 802421F8 E600000C */ swc1 $f0, 0xc($s0) +/* EF480C 802421FC AE420070 */ sw $v0, 0x70($s2) +/* EF4810 80242200 8FBF001C */ lw $ra, 0x1c($sp) +/* EF4814 80242204 8FB20018 */ lw $s2, 0x18($sp) +/* EF4818 80242208 8FB10014 */ lw $s1, 0x14($sp) +/* EF481C 8024220C 8FB00010 */ lw $s0, 0x10($sp) +/* EF4820 80242210 03E00008 */ jr $ra +/* EF4824 80242214 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EF2680/func_80242218_EF4828.s b/asm/nonmatchings/code_EF2680/func_80242218_EF4828.s new file mode 100644 index 0000000000..1dfb5ed38f --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80242218_EF4828.s @@ -0,0 +1,86 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242218_EF4828 +/* EF4828 80242218 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* EF482C 8024221C AFB3001C */ sw $s3, 0x1c($sp) +/* EF4830 80242220 0080982D */ daddu $s3, $a0, $zero +/* EF4834 80242224 AFBF0020 */ sw $ra, 0x20($sp) +/* EF4838 80242228 AFB20018 */ sw $s2, 0x18($sp) +/* EF483C 8024222C AFB10014 */ sw $s1, 0x14($sp) +/* EF4840 80242230 AFB00010 */ sw $s0, 0x10($sp) +/* EF4844 80242234 8E710148 */ lw $s1, 0x148($s3) +/* EF4848 80242238 86240008 */ lh $a0, 8($s1) +/* EF484C 8024223C 0C00F92F */ jal func_8003E4BC +/* EF4850 80242240 00A0902D */ daddu $s2, $a1, $zero +/* EF4854 80242244 0040802D */ daddu $s0, $v0, $zero +/* EF4858 80242248 8602008E */ lh $v0, 0x8e($s0) +/* EF485C 8024224C 9603008E */ lhu $v1, 0x8e($s0) +/* EF4860 80242250 18400005 */ blez $v0, .L80242268 +/* EF4864 80242254 2462FFFF */ addiu $v0, $v1, -1 +/* EF4868 80242258 A602008E */ sh $v0, 0x8e($s0) +/* EF486C 8024225C 00021400 */ sll $v0, $v0, 0x10 +/* EF4870 80242260 1C400033 */ bgtz $v0, .L80242330 +/* EF4874 80242264 00000000 */ nop +.L80242268: +/* EF4878 80242268 8602008C */ lh $v0, 0x8c($s0) +/* EF487C 8024226C 14400030 */ bnez $v0, .L80242330 +/* EF4880 80242270 00000000 */ nop +/* EF4884 80242274 8E2200CC */ lw $v0, 0xcc($s1) +/* EF4888 80242278 8C420024 */ lw $v0, 0x24($v0) +/* EF488C 8024227C AE020028 */ sw $v0, 0x28($s0) +/* EF4890 80242280 C6400018 */ lwc1 $f0, 0x18($s2) +/* EF4894 80242284 E6000018 */ swc1 $f0, 0x18($s0) +/* EF4898 80242288 8E230088 */ lw $v1, 0x88($s1) +/* EF489C 8024228C 24020005 */ addiu $v0, $zero, 5 +/* EF48A0 80242290 10620005 */ beq $v1, $v0, .L802422A8 +/* EF48A4 80242294 00000000 */ nop +/* EF48A8 80242298 10600003 */ beqz $v1, .L802422A8 +/* EF48AC 8024229C 24020001 */ addiu $v0, $zero, 1 +/* EF48B0 802422A0 14620006 */ bne $v1, $v0, .L802422BC +/* EF48B4 802422A4 00000000 */ nop +.L802422A8: +/* EF48B8 802422A8 8E220084 */ lw $v0, 0x84($s1) +/* EF48BC 802422AC 00021FC2 */ srl $v1, $v0, 0x1f +/* EF48C0 802422B0 00431021 */ addu $v0, $v0, $v1 +/* EF48C4 802422B4 00021043 */ sra $v0, $v0, 1 +/* EF48C8 802422B8 A60200A8 */ sh $v0, 0xa8($s0) +.L802422BC: +/* EF48CC 802422BC 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EF48D0 802422C0 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EF48D4 802422C4 C60C0038 */ lwc1 $f12, 0x38($s0) +/* EF48D8 802422C8 C60E0040 */ lwc1 $f14, 0x40($s0) +/* EF48DC 802422CC 8C460028 */ lw $a2, 0x28($v0) +/* EF48E0 802422D0 0C00AC71 */ jal func_8002B1C4 +/* EF48E4 802422D4 8C470030 */ lw $a3, 0x30($v0) +/* EF48E8 802422D8 C6020018 */ lwc1 $f2, 0x18($s0) +/* EF48EC 802422DC 46020003 */ div.s $f0, $f0, $f2 +/* EF48F0 802422E0 3C018024 */ lui $at, %hi(D_80245408) +/* EF48F4 802422E4 D4225408 */ ldc1 $f2, %lo(D_80245408)($at) +/* EF48F8 802422E8 46000021 */ cvt.d.s $f0, $f0 +/* EF48FC 802422EC 46220000 */ add.d $f0, $f0, $f2 +/* EF4900 802422F0 4620010D */ trunc.w.d $f4, $f0 +/* EF4904 802422F4 44022000 */ mfc1 $v0, $f4 +/* EF4908 802422F8 00000000 */ nop +/* EF490C 802422FC A602008E */ sh $v0, 0x8e($s0) +/* EF4910 80242300 00021400 */ sll $v0, $v0, 0x10 +/* EF4914 80242304 8E230078 */ lw $v1, 0x78($s1) +/* EF4918 80242308 00021403 */ sra $v0, $v0, 0x10 +/* EF491C 8024230C 0043102A */ slt $v0, $v0, $v1 +/* EF4920 80242310 10400003 */ beqz $v0, .L80242320 +/* EF4924 80242314 00000000 */ nop +/* EF4928 80242318 9622007A */ lhu $v0, 0x7a($s1) +/* EF492C 8024231C A602008E */ sh $v0, 0x8e($s0) +.L80242320: +/* EF4930 80242320 8602008E */ lh $v0, 0x8e($s0) +/* EF4934 80242324 AE22007C */ sw $v0, 0x7c($s1) +/* EF4938 80242328 2402000E */ addiu $v0, $zero, 0xe +/* EF493C 8024232C AE620070 */ sw $v0, 0x70($s3) +.L80242330: +/* EF4940 80242330 8FBF0020 */ lw $ra, 0x20($sp) +/* EF4944 80242334 8FB3001C */ lw $s3, 0x1c($sp) +/* EF4948 80242338 8FB20018 */ lw $s2, 0x18($sp) +/* EF494C 8024233C 8FB10014 */ lw $s1, 0x14($sp) +/* EF4950 80242340 8FB00010 */ lw $s0, 0x10($sp) +/* EF4954 80242344 03E00008 */ jr $ra +/* EF4958 80242348 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/asm/nonmatchings/code_EF2680/func_8024234C_EF495C.s b/asm/nonmatchings/code_EF2680/func_8024234C_EF495C.s new file mode 100644 index 0000000000..8a7779e9a9 --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_8024234C_EF495C.s @@ -0,0 +1,97 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024234C_EF495C +/* EF495C 8024234C 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EF4960 80242350 AFB3003C */ sw $s3, 0x3c($sp) +/* EF4964 80242354 0080982D */ daddu $s3, $a0, $zero +/* EF4968 80242358 AFBF0040 */ sw $ra, 0x40($sp) +/* EF496C 8024235C AFB20038 */ sw $s2, 0x38($sp) +/* EF4970 80242360 AFB10034 */ sw $s1, 0x34($sp) +/* EF4974 80242364 AFB00030 */ sw $s0, 0x30($sp) +/* EF4978 80242368 8E710148 */ lw $s1, 0x148($s3) +/* EF497C 8024236C 0C00F92F */ jal func_8003E4BC +/* EF4980 80242370 86240008 */ lh $a0, 8($s1) +/* EF4984 80242374 0040802D */ daddu $s0, $v0, $zero +/* EF4988 80242378 8E22007C */ lw $v0, 0x7c($s1) +/* EF498C 8024237C 8603008E */ lh $v1, 0x8e($s0) +/* EF4990 80242380 2442FFFF */ addiu $v0, $v0, -1 +/* EF4994 80242384 14620012 */ bne $v1, $v0, .L802423D0 +/* EF4998 80242388 00000000 */ nop +/* EF499C 8024238C C6000038 */ lwc1 $f0, 0x38($s0) +/* EF49A0 80242390 4600020D */ trunc.w.s $f8, $f0 +/* EF49A4 80242394 44024000 */ mfc1 $v0, $f8 +/* EF49A8 80242398 00000000 */ nop +/* EF49AC 8024239C A6220010 */ sh $v0, 0x10($s1) +/* EF49B0 802423A0 C600003C */ lwc1 $f0, 0x3c($s0) +/* EF49B4 802423A4 4600020D */ trunc.w.s $f8, $f0 +/* EF49B8 802423A8 44024000 */ mfc1 $v0, $f8 +/* EF49BC 802423AC 00000000 */ nop +/* EF49C0 802423B0 A6220012 */ sh $v0, 0x12($s1) +/* EF49C4 802423B4 C6000040 */ lwc1 $f0, 0x40($s0) +/* EF49C8 802423B8 24020001 */ addiu $v0, $zero, 1 +/* EF49CC 802423BC A2220007 */ sb $v0, 7($s1) +/* EF49D0 802423C0 4600020D */ trunc.w.s $f8, $f0 +/* EF49D4 802423C4 44024000 */ mfc1 $v0, $f8 +/* EF49D8 802423C8 00000000 */ nop +/* EF49DC 802423CC A6220014 */ sh $v0, 0x14($s1) +.L802423D0: +/* EF49E0 802423D0 C6000038 */ lwc1 $f0, 0x38($s0) +/* EF49E4 802423D4 C602003C */ lwc1 $f2, 0x3c($s0) +/* EF49E8 802423D8 C6040040 */ lwc1 $f4, 0x40($s0) +/* EF49EC 802423DC C6060018 */ lwc1 $f6, 0x18($s0) +/* EF49F0 802423E0 E7A00020 */ swc1 $f0, 0x20($sp) +/* EF49F4 802423E4 E7A20024 */ swc1 $f2, 0x24($sp) +/* EF49F8 802423E8 E7A40028 */ swc1 $f4, 0x28($sp) +/* EF49FC 802423EC E7A60010 */ swc1 $f6, 0x10($sp) +/* EF4A00 802423F0 C600000C */ lwc1 $f0, 0xc($s0) +/* EF4A04 802423F4 E7A00014 */ swc1 $f0, 0x14($sp) +/* EF4A08 802423F8 860200A8 */ lh $v0, 0xa8($s0) +/* EF4A0C 802423FC 27A50020 */ addiu $a1, $sp, 0x20 +/* EF4A10 80242400 44820000 */ mtc1 $v0, $f0 +/* EF4A14 80242404 00000000 */ nop +/* EF4A18 80242408 46800020 */ cvt.s.w $f0, $f0 +/* EF4A1C 8024240C E7A00018 */ swc1 $f0, 0x18($sp) +/* EF4A20 80242410 860200A6 */ lh $v0, 0xa6($s0) +/* EF4A24 80242414 27A60024 */ addiu $a2, $sp, 0x24 +/* EF4A28 80242418 44820000 */ mtc1 $v0, $f0 +/* EF4A2C 8024241C 00000000 */ nop +/* EF4A30 80242420 46800020 */ cvt.s.w $f0, $f0 +/* EF4A34 80242424 E7A0001C */ swc1 $f0, 0x1c($sp) +/* EF4A38 80242428 8E040080 */ lw $a0, 0x80($s0) +/* EF4A3C 8024242C 0C0394C1 */ jal func_800E5304 +/* EF4A40 80242430 27A70028 */ addiu $a3, $sp, 0x28 +/* EF4A44 80242434 0040902D */ daddu $s2, $v0, $zero +/* EF4A48 80242438 16400005 */ bnez $s2, .L80242450 +/* EF4A4C 8024243C 00000000 */ nop +/* EF4A50 80242440 8E050018 */ lw $a1, 0x18($s0) +/* EF4A54 80242444 8E06000C */ lw $a2, 0xc($s0) +/* EF4A58 80242448 0C00F909 */ jal func_8003E424 +/* EF4A5C 8024244C 0200202D */ daddu $a0, $s0, $zero +.L80242450: +/* EF4A60 80242450 8602008E */ lh $v0, 0x8e($s0) +/* EF4A64 80242454 9603008E */ lhu $v1, 0x8e($s0) +/* EF4A68 80242458 18400007 */ blez $v0, .L80242478 +/* EF4A6C 8024245C 2462FFFF */ addiu $v0, $v1, -1 +/* EF4A70 80242460 A602008E */ sh $v0, 0x8e($s0) +/* EF4A74 80242464 00021400 */ sll $v0, $v0, 0x10 +/* EF4A78 80242468 18400003 */ blez $v0, .L80242478 +/* EF4A7C 8024246C 00000000 */ nop +/* EF4A80 80242470 12400008 */ beqz $s2, .L80242494 +/* EF4A84 80242474 00000000 */ nop +.L80242478: +/* EF4A88 80242478 8E2200CC */ lw $v0, 0xcc($s1) +/* EF4A8C 8024247C A2200007 */ sb $zero, 7($s1) +/* EF4A90 80242480 8C420028 */ lw $v0, 0x28($v0) +/* EF4A94 80242484 A600008E */ sh $zero, 0x8e($s0) +/* EF4A98 80242488 AE020028 */ sw $v0, 0x28($s0) +/* EF4A9C 8024248C 2402000F */ addiu $v0, $zero, 0xf +/* EF4AA0 80242490 AE620070 */ sw $v0, 0x70($s3) +.L80242494: +/* EF4AA4 80242494 8FBF0040 */ lw $ra, 0x40($sp) +/* EF4AA8 80242498 8FB3003C */ lw $s3, 0x3c($sp) +/* EF4AAC 8024249C 8FB20038 */ lw $s2, 0x38($sp) +/* EF4AB0 802424A0 8FB10034 */ lw $s1, 0x34($sp) +/* EF4AB4 802424A4 8FB00030 */ lw $s0, 0x30($sp) +/* EF4AB8 802424A8 03E00008 */ jr $ra +/* EF4ABC 802424AC 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EF2680/func_802424B0_EF4AC0.s b/asm/nonmatchings/code_EF2680/func_802424B0_EF4AC0.s new file mode 100644 index 0000000000..f79d4731e2 --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_802424B0_EF4AC0.s @@ -0,0 +1,38 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802424B0_EF4AC0 +/* EF4AC0 802424B0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EF4AC4 802424B4 AFB10014 */ sw $s1, 0x14($sp) +/* EF4AC8 802424B8 0080882D */ daddu $s1, $a0, $zero +/* EF4ACC 802424BC AFBF0018 */ sw $ra, 0x18($sp) +/* EF4AD0 802424C0 AFB00010 */ sw $s0, 0x10($sp) +/* EF4AD4 802424C4 8E300148 */ lw $s0, 0x148($s1) +/* EF4AD8 802424C8 0C00F92F */ jal func_8003E4BC +/* EF4ADC 802424CC 86040008 */ lh $a0, 8($s0) +/* EF4AE0 802424D0 0040202D */ daddu $a0, $v0, $zero +/* EF4AE4 802424D4 9482008E */ lhu $v0, 0x8e($a0) +/* EF4AE8 802424D8 24030003 */ addiu $v1, $zero, 3 +/* EF4AEC 802424DC 24420001 */ addiu $v0, $v0, 1 +/* EF4AF0 802424E0 A482008E */ sh $v0, 0x8e($a0) +/* EF4AF4 802424E4 00021400 */ sll $v0, $v0, 0x10 +/* EF4AF8 802424E8 00021403 */ sra $v0, $v0, 0x10 +/* EF4AFC 802424EC 14430003 */ bne $v0, $v1, .L802424FC +/* EF4B00 802424F0 00000000 */ nop +/* EF4B04 802424F4 96020086 */ lhu $v0, 0x86($s0) +/* EF4B08 802424F8 A48200A8 */ sh $v0, 0xa8($a0) +.L802424FC: +/* EF4B0C 802424FC 8482008E */ lh $v0, 0x8e($a0) +/* EF4B10 80242500 8E030080 */ lw $v1, 0x80($s0) +/* EF4B14 80242504 0043102A */ slt $v0, $v0, $v1 +/* EF4B18 80242508 14400004 */ bnez $v0, .L8024251C +/* EF4B1C 8024250C 00000000 */ nop +/* EF4B20 80242510 96020086 */ lhu $v0, 0x86($s0) +/* EF4B24 80242514 A48200A8 */ sh $v0, 0xa8($a0) +/* EF4B28 80242518 AE200070 */ sw $zero, 0x70($s1) +.L8024251C: +/* EF4B2C 8024251C 8FBF0018 */ lw $ra, 0x18($sp) +/* EF4B30 80242520 8FB10014 */ lw $s1, 0x14($sp) +/* EF4B34 80242524 8FB00010 */ lw $s0, 0x10($sp) +/* EF4B38 80242528 03E00008 */ jr $ra +/* EF4B3C 8024252C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EF2680/func_80242530_EF4B40.s b/asm/nonmatchings/code_EF2680/func_80242530_EF4B40.s new file mode 100644 index 0000000000..563ebad22d --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_80242530_EF4B40.s @@ -0,0 +1,312 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80242530_EF4B40 +/* EF4B40 80242530 27BDFF90 */ addiu $sp, $sp, -0x70 +/* EF4B44 80242534 AFB3005C */ sw $s3, 0x5c($sp) +/* EF4B48 80242538 0080982D */ daddu $s3, $a0, $zero +/* EF4B4C 8024253C AFBF0068 */ sw $ra, 0x68($sp) +/* EF4B50 80242540 AFB50064 */ sw $s5, 0x64($sp) +/* EF4B54 80242544 AFB40060 */ sw $s4, 0x60($sp) +/* EF4B58 80242548 AFB20058 */ sw $s2, 0x58($sp) +/* EF4B5C 8024254C AFB10054 */ sw $s1, 0x54($sp) +/* EF4B60 80242550 AFB00050 */ sw $s0, 0x50($sp) +/* EF4B64 80242554 8E710148 */ lw $s1, 0x148($s3) +/* EF4B68 80242558 86240008 */ lh $a0, 8($s1) +/* EF4B6C 8024255C 0C00F92F */ jal func_8003E4BC +/* EF4B70 80242560 00A0802D */ daddu $s0, $a1, $zero +/* EF4B74 80242564 8E63000C */ lw $v1, 0xc($s3) +/* EF4B78 80242568 0260202D */ daddu $a0, $s3, $zero +/* EF4B7C 8024256C 8C650000 */ lw $a1, ($v1) +/* EF4B80 80242570 0C0B53A3 */ jal func_802D4E8C +/* EF4B84 80242574 0040902D */ daddu $s2, $v0, $zero +/* EF4B88 80242578 AFA00028 */ sw $zero, 0x28($sp) +/* EF4B8C 8024257C 8E2300D0 */ lw $v1, 0xd0($s1) +/* EF4B90 80242580 8C630030 */ lw $v1, 0x30($v1) +/* EF4B94 80242584 AFA3002C */ sw $v1, 0x2c($sp) +/* EF4B98 80242588 8E2300D0 */ lw $v1, 0xd0($s1) +/* EF4B9C 8024258C 8C63001C */ lw $v1, 0x1c($v1) +/* EF4BA0 80242590 AFA30030 */ sw $v1, 0x30($sp) +/* EF4BA4 80242594 8E2300D0 */ lw $v1, 0xd0($s1) +/* EF4BA8 80242598 8C630024 */ lw $v1, 0x24($v1) +/* EF4BAC 8024259C AFA30034 */ sw $v1, 0x34($sp) +/* EF4BB0 802425A0 8E2300D0 */ lw $v1, 0xd0($s1) +/* EF4BB4 802425A4 8C630028 */ lw $v1, 0x28($v1) +/* EF4BB8 802425A8 AFA30038 */ sw $v1, 0x38($sp) +/* EF4BBC 802425AC 8E2300D0 */ lw $v1, 0xd0($s1) +/* EF4BC0 802425B0 3C0142C8 */ lui $at, 0x42c8 +/* EF4BC4 802425B4 44810000 */ mtc1 $at, $f0 +/* EF4BC8 802425B8 8C63002C */ lw $v1, 0x2c($v1) +/* EF4BCC 802425BC E7A00040 */ swc1 $f0, 0x40($sp) +/* EF4BD0 802425C0 A7A00044 */ sh $zero, 0x44($sp) +/* EF4BD4 802425C4 AFA3003C */ sw $v1, 0x3c($sp) +/* EF4BD8 802425C8 C6400038 */ lwc1 $f0, 0x38($s2) +/* EF4BDC 802425CC E6200108 */ swc1 $f0, 0x108($s1) +/* EF4BE0 802425D0 C640003C */ lwc1 $f0, 0x3c($s2) +/* EF4BE4 802425D4 27B50028 */ addiu $s5, $sp, 0x28 +/* EF4BE8 802425D8 E620010C */ swc1 $f0, 0x10c($s1) +/* EF4BEC 802425DC 3C013C23 */ lui $at, 0x3c23 +/* EF4BF0 802425E0 3421D70A */ ori $at, $at, 0xd70a +/* EF4BF4 802425E4 44810000 */ mtc1 $at, $f0 +/* EF4BF8 802425E8 C6420040 */ lwc1 $f2, 0x40($s2) +/* EF4BFC 802425EC 0040A02D */ daddu $s4, $v0, $zero +/* EF4C00 802425F0 E6200114 */ swc1 $f0, 0x114($s1) +/* EF4C04 802425F4 E6200118 */ swc1 $f0, 0x118($s1) +/* EF4C08 802425F8 12000009 */ beqz $s0, .L80242620 +/* EF4C0C 802425FC E6220110 */ swc1 $f2, 0x110($s1) +/* EF4C10 80242600 864300A8 */ lh $v1, 0xa8($s2) +/* EF4C14 80242604 8E2200B0 */ lw $v0, 0xb0($s1) +/* EF4C18 80242608 AE20008C */ sw $zero, 0x8c($s1) +/* EF4C1C 8024260C A22000B5 */ sb $zero, 0xb5($s1) +/* EF4C20 80242610 34420008 */ ori $v0, $v0, 8 +/* EF4C24 80242614 AE230084 */ sw $v1, 0x84($s1) +/* EF4C28 80242618 0809098C */ j .L80242630 +/* EF4C2C 8024261C AE2200B0 */ sw $v0, 0xb0($s1) +.L80242620: +/* EF4C30 80242620 8E2200B0 */ lw $v0, 0xb0($s1) +/* EF4C34 80242624 30420004 */ andi $v0, $v0, 4 +/* EF4C38 80242628 10400047 */ beqz $v0, .L80242748 +/* EF4C3C 8024262C 00000000 */ nop +.L80242630: +/* EF4C40 80242630 AE600070 */ sw $zero, 0x70($s3) +/* EF4C44 80242634 A640008E */ sh $zero, 0x8e($s2) +/* EF4C48 80242638 8E2300CC */ lw $v1, 0xcc($s1) +/* EF4C4C 8024263C 2404F7FF */ addiu $a0, $zero, -0x801 +/* EF4C50 80242640 A2200007 */ sb $zero, 7($s1) +/* EF4C54 80242644 8E420000 */ lw $v0, ($s2) +/* EF4C58 80242648 8C630000 */ lw $v1, ($v1) +/* EF4C5C 8024264C 00441024 */ and $v0, $v0, $a0 +/* EF4C60 80242650 AE420000 */ sw $v0, ($s2) +/* EF4C64 80242654 AE430028 */ sw $v1, 0x28($s2) +/* EF4C68 80242658 96220086 */ lhu $v0, 0x86($s1) +/* EF4C6C 8024265C A64200A8 */ sh $v0, 0xa8($s2) +/* EF4C70 80242660 8E2200D0 */ lw $v0, 0xd0($s1) +/* EF4C74 80242664 AE200090 */ sw $zero, 0x90($s1) +/* EF4C78 80242668 8C420034 */ lw $v0, 0x34($v0) +/* EF4C7C 8024266C 14400006 */ bnez $v0, .L80242688 +/* EF4C80 80242670 2403FDFF */ addiu $v1, $zero, -0x201 +/* EF4C84 80242674 8E420000 */ lw $v0, ($s2) +/* EF4C88 80242678 2403FFF7 */ addiu $v1, $zero, -9 +/* EF4C8C 8024267C 34420200 */ ori $v0, $v0, 0x200 +/* EF4C90 80242680 080909A5 */ j .L80242694 +/* EF4C94 80242684 00431024 */ and $v0, $v0, $v1 +.L80242688: +/* EF4C98 80242688 8E420000 */ lw $v0, ($s2) +/* EF4C9C 8024268C 00431024 */ and $v0, $v0, $v1 +/* EF4CA0 80242690 34420008 */ ori $v0, $v0, 8 +.L80242694: +/* EF4CA4 80242694 AE420000 */ sw $v0, ($s2) +/* EF4CA8 80242698 8E2200B0 */ lw $v0, 0xb0($s1) +/* EF4CAC 8024269C 30420004 */ andi $v0, $v0, 4 +/* EF4CB0 802426A0 1040001E */ beqz $v0, .L8024271C +/* EF4CB4 802426A4 24040002 */ addiu $a0, $zero, 2 +/* EF4CB8 802426A8 0240282D */ daddu $a1, $s2, $zero +/* EF4CBC 802426AC 0000302D */ daddu $a2, $zero, $zero +/* EF4CC0 802426B0 24020063 */ addiu $v0, $zero, 0x63 +/* EF4CC4 802426B4 AE620070 */ sw $v0, 0x70($s3) +/* EF4CC8 802426B8 AE600074 */ sw $zero, 0x74($s3) +/* EF4CCC 802426BC 864300A8 */ lh $v1, 0xa8($s2) +/* EF4CD0 802426C0 3C013F80 */ lui $at, 0x3f80 +/* EF4CD4 802426C4 44810000 */ mtc1 $at, $f0 +/* EF4CD8 802426C8 3C014000 */ lui $at, 0x4000 +/* EF4CDC 802426CC 44811000 */ mtc1 $at, $f2 +/* EF4CE0 802426D0 3C01C1A0 */ lui $at, 0xc1a0 +/* EF4CE4 802426D4 44812000 */ mtc1 $at, $f4 +/* EF4CE8 802426D8 24020028 */ addiu $v0, $zero, 0x28 +/* EF4CEC 802426DC AFA2001C */ sw $v0, 0x1c($sp) +/* EF4CF0 802426E0 44833000 */ mtc1 $v1, $f6 +/* EF4CF4 802426E4 00000000 */ nop +/* EF4CF8 802426E8 468031A0 */ cvt.s.w $f6, $f6 +/* EF4CFC 802426EC 44073000 */ mfc1 $a3, $f6 +/* EF4D00 802426F0 27A20048 */ addiu $v0, $sp, 0x48 +/* EF4D04 802426F4 AFA20020 */ sw $v0, 0x20($sp) +/* EF4D08 802426F8 E7A00010 */ swc1 $f0, 0x10($sp) +/* EF4D0C 802426FC E7A20014 */ swc1 $f2, 0x14($sp) +/* EF4D10 80242700 0C01D444 */ jal func_80075110 +/* EF4D14 80242704 E7A40018 */ swc1 $f4, 0x18($sp) +/* EF4D18 80242708 8E2200B0 */ lw $v0, 0xb0($s1) +/* EF4D1C 8024270C 2403FFFB */ addiu $v1, $zero, -5 +/* EF4D20 80242710 00431024 */ and $v0, $v0, $v1 +/* EF4D24 80242714 080909D2 */ j .L80242748 +/* EF4D28 80242718 AE2200B0 */ sw $v0, 0xb0($s1) +.L8024271C: +/* EF4D2C 8024271C 8E220000 */ lw $v0, ($s1) +/* EF4D30 80242720 3C034000 */ lui $v1, 0x4000 +/* EF4D34 80242724 00431024 */ and $v0, $v0, $v1 +/* EF4D38 80242728 10400007 */ beqz $v0, .L80242748 +/* EF4D3C 8024272C 3C03BFFF */ lui $v1, 0xbfff +/* EF4D40 80242730 2402000C */ addiu $v0, $zero, 0xc +/* EF4D44 80242734 AE620070 */ sw $v0, 0x70($s3) +/* EF4D48 80242738 8E220000 */ lw $v0, ($s1) +/* EF4D4C 8024273C 3463FFFF */ ori $v1, $v1, 0xffff +/* EF4D50 80242740 00431024 */ and $v0, $v0, $v1 +/* EF4D54 80242744 AE220000 */ sw $v0, ($s1) +.L80242748: +/* EF4D58 80242748 8E220090 */ lw $v0, 0x90($s1) +/* EF4D5C 8024274C 1840000C */ blez $v0, .L80242780 +/* EF4D60 80242750 2442FFFF */ addiu $v0, $v0, -1 +/* EF4D64 80242754 14400087 */ bnez $v0, .L80242974 +/* EF4D68 80242758 AE220090 */ sw $v0, 0x90($s1) +/* EF4D6C 8024275C 3C03FFAA */ lui $v1, 0xffaa +/* EF4D70 80242760 8E420028 */ lw $v0, 0x28($s2) +/* EF4D74 80242764 3463FFD2 */ ori $v1, $v1, 0xffd2 +/* EF4D78 80242768 00431021 */ addu $v0, $v0, $v1 +/* EF4D7C 8024276C 2C420002 */ sltiu $v0, $v0, 2 +/* EF4D80 80242770 10400003 */ beqz $v0, .L80242780 +/* EF4D84 80242774 3C020055 */ lui $v0, 0x55 +/* EF4D88 80242778 3442000C */ ori $v0, $v0, 0xc +/* EF4D8C 8024277C AE420028 */ sw $v0, 0x28($s2) +.L80242780: +/* EF4D90 80242780 8E630070 */ lw $v1, 0x70($s3) +/* EF4D94 80242784 2402000C */ addiu $v0, $zero, 0xc +/* EF4D98 80242788 10620048 */ beq $v1, $v0, .L802428AC +/* EF4D9C 8024278C 2862000D */ slti $v0, $v1, 0xd +/* EF4DA0 80242790 1040000F */ beqz $v0, .L802427D0 +/* EF4DA4 80242794 24100001 */ addiu $s0, $zero, 1 +/* EF4DA8 80242798 1070001E */ beq $v1, $s0, .L80242814 +/* EF4DAC 8024279C 28620002 */ slti $v0, $v1, 2 +/* EF4DB0 802427A0 10400005 */ beqz $v0, .L802427B8 +/* EF4DB4 802427A4 24020002 */ addiu $v0, $zero, 2 +/* EF4DB8 802427A8 10600015 */ beqz $v1, .L80242800 +/* EF4DBC 802427AC 0260202D */ daddu $a0, $s3, $zero +/* EF4DC0 802427B0 08090A42 */ j .L80242908 +/* EF4DC4 802427B4 00000000 */ nop +.L802427B8: +/* EF4DC8 802427B8 1062001C */ beq $v1, $v0, .L8024282C +/* EF4DCC 802427BC 24020003 */ addiu $v0, $zero, 3 +/* EF4DD0 802427C0 10620035 */ beq $v1, $v0, .L80242898 +/* EF4DD4 802427C4 0260202D */ daddu $a0, $s3, $zero +/* EF4DD8 802427C8 08090A42 */ j .L80242908 +/* EF4DDC 802427CC 00000000 */ nop +.L802427D0: +/* EF4DE0 802427D0 2402000E */ addiu $v0, $zero, 0xe +/* EF4DE4 802427D4 1062003F */ beq $v1, $v0, .L802428D4 +/* EF4DE8 802427D8 0062102A */ slt $v0, $v1, $v0 +/* EF4DEC 802427DC 14400038 */ bnez $v0, .L802428C0 +/* EF4DF0 802427E0 0260202D */ daddu $a0, $s3, $zero +/* EF4DF4 802427E4 2402000F */ addiu $v0, $zero, 0xf +/* EF4DF8 802427E8 10620040 */ beq $v1, $v0, .L802428EC +/* EF4DFC 802427EC 24020063 */ addiu $v0, $zero, 0x63 +/* EF4E00 802427F0 10620043 */ beq $v1, $v0, .L80242900 +/* EF4E04 802427F4 00000000 */ nop +/* EF4E08 802427F8 08090A42 */ j .L80242908 +/* EF4E0C 802427FC 00000000 */ nop +.L80242800: +/* EF4E10 80242800 0280282D */ daddu $a1, $s4, $zero +/* EF4E14 80242804 0C013670 */ jal func_8004D9C0 +/* EF4E18 80242808 02A0302D */ daddu $a2, $s5, $zero +/* EF4E1C 8024280C 96220086 */ lhu $v0, 0x86($s1) +/* EF4E20 80242810 A64200A8 */ sh $v0, 0xa8($s2) +.L80242814: +/* EF4E24 80242814 0260202D */ daddu $a0, $s3, $zero +/* EF4E28 80242818 0280282D */ daddu $a1, $s4, $zero +/* EF4E2C 8024281C 0C0136B6 */ jal func_8004DAD8 +/* EF4E30 80242820 02A0302D */ daddu $a2, $s5, $zero +/* EF4E34 80242824 08090A42 */ j .L80242908 +/* EF4E38 80242828 00000000 */ nop +.L8024282C: +/* EF4E3C 8024282C 0260202D */ daddu $a0, $s3, $zero +/* EF4E40 80242830 0280282D */ daddu $a1, $s4, $zero +/* EF4E44 80242834 0C0137D9 */ jal func_8004DF64 +/* EF4E48 80242838 02A0302D */ daddu $a2, $s5, $zero +/* EF4E4C 8024283C 8E230088 */ lw $v1, 0x88($s1) +/* EF4E50 80242840 24020006 */ addiu $v0, $zero, 6 +/* EF4E54 80242844 14620014 */ bne $v1, $v0, .L80242898 +/* EF4E58 80242848 0260202D */ daddu $a0, $s3, $zero +/* EF4E5C 8024284C 0C00AB3B */ jal func_8002ACEC +/* EF4E60 80242850 24040064 */ addiu $a0, $zero, 0x64 +/* EF4E64 80242854 28420021 */ slti $v0, $v0, 0x21 +/* EF4E68 80242858 5040000F */ beql $v0, $zero, .L80242898 +/* EF4E6C 8024285C 0260202D */ daddu $a0, $s3, $zero +/* EF4E70 80242860 8E22008C */ lw $v0, 0x8c($s1) +/* EF4E74 80242864 10400005 */ beqz $v0, .L8024287C +/* EF4E78 80242868 3C020055 */ lui $v0, 0x55 +/* EF4E7C 8024286C 3442002F */ ori $v0, $v0, 0x2f +/* EF4E80 80242870 AE20008C */ sw $zero, 0x8c($s1) +/* EF4E84 80242874 08090A22 */ j .L80242888 +/* EF4E88 80242878 A22000B5 */ sb $zero, 0xb5($s1) +.L8024287C: +/* EF4E8C 8024287C 3442002E */ ori $v0, $v0, 0x2e +/* EF4E90 80242880 AE30008C */ sw $s0, 0x8c($s1) +/* EF4E94 80242884 A23000B5 */ sb $s0, 0xb5($s1) +.L80242888: +/* EF4E98 80242888 AE420028 */ sw $v0, 0x28($s2) +/* EF4E9C 8024288C 24020007 */ addiu $v0, $zero, 7 +/* EF4EA0 80242890 08090A5D */ j .L80242974 +/* EF4EA4 80242894 AE220090 */ sw $v0, 0x90($s1) +.L80242898: +/* EF4EA8 80242898 0280282D */ daddu $a1, $s4, $zero +/* EF4EAC 8024289C 0C013809 */ jal func_8004E024 +/* EF4EB0 802428A0 02A0302D */ daddu $a2, $s5, $zero +/* EF4EB4 802428A4 08090A42 */ j .L80242908 +/* EF4EB8 802428A8 00000000 */ nop +.L802428AC: +/* EF4EBC 802428AC 0260202D */ daddu $a0, $s3, $zero +/* EF4EC0 802428B0 0280282D */ daddu $a1, $s4, $zero +/* EF4EC4 802428B4 0C090867 */ jal func_8024219C_EF47AC +/* EF4EC8 802428B8 02A0302D */ daddu $a2, $s5, $zero +/* EF4ECC 802428BC 0260202D */ daddu $a0, $s3, $zero +.L802428C0: +/* EF4ED0 802428C0 0280282D */ daddu $a1, $s4, $zero +/* EF4ED4 802428C4 0C090886 */ jal func_80242218_EF4828 +/* EF4ED8 802428C8 02A0302D */ daddu $a2, $s5, $zero +/* EF4EDC 802428CC 08090A42 */ j .L80242908 +/* EF4EE0 802428D0 00000000 */ nop +.L802428D4: +/* EF4EE4 802428D4 0260202D */ daddu $a0, $s3, $zero +/* EF4EE8 802428D8 0280282D */ daddu $a1, $s4, $zero +/* EF4EEC 802428DC 0C0908D3 */ jal func_8024234C_EF495C +/* EF4EF0 802428E0 02A0302D */ daddu $a2, $s5, $zero +/* EF4EF4 802428E4 08090A42 */ j .L80242908 +/* EF4EF8 802428E8 00000000 */ nop +.L802428EC: +/* EF4EFC 802428EC 0280282D */ daddu $a1, $s4, $zero +/* EF4F00 802428F0 0C09092C */ jal func_802424B0_EF4AC0 +/* EF4F04 802428F4 02A0302D */ daddu $a2, $s5, $zero +/* EF4F08 802428F8 08090A42 */ j .L80242908 +/* EF4F0C 802428FC 00000000 */ nop +.L80242900: +/* EF4F10 80242900 0C013AE3 */ jal func_8004EB8C +/* EF4F14 80242904 0260202D */ daddu $a0, $s3, $zero +.L80242908: +/* EF4F18 80242908 8E230088 */ lw $v1, 0x88($s1) +/* EF4F1C 8024290C 24020006 */ addiu $v0, $zero, 6 +/* EF4F20 80242910 14620019 */ bne $v1, $v0, .L80242978 +/* EF4F24 80242914 0000102D */ daddu $v0, $zero, $zero +/* EF4F28 80242918 8E22008C */ lw $v0, 0x8c($s1) +/* EF4F2C 8024291C 10400003 */ beqz $v0, .L8024292C +/* EF4F30 80242920 24020001 */ addiu $v0, $zero, 1 +/* EF4F34 80242924 08090A4C */ j .L80242930 +/* EF4F38 80242928 A22200B5 */ sb $v0, 0xb5($s1) +.L8024292C: +/* EF4F3C 8024292C A22000B5 */ sb $zero, 0xb5($s1) +.L80242930: +/* EF4F40 80242930 8E22008C */ lw $v0, 0x8c($s1) +/* EF4F44 80242934 1040000F */ beqz $v0, .L80242974 +/* EF4F48 80242938 3C03FFAA */ lui $v1, 0xffaa +/* EF4F4C 8024293C 8E420028 */ lw $v0, 0x28($s2) +/* EF4F50 80242940 3463FFFC */ ori $v1, $v1, 0xfffc +/* EF4F54 80242944 00431821 */ addu $v1, $v0, $v1 +/* EF4F58 80242948 2C620015 */ sltiu $v0, $v1, 0x15 +/* EF4F5C 8024294C 10400009 */ beqz $v0, .L80242974 +/* EF4F60 80242950 00031080 */ sll $v0, $v1, 2 +/* EF4F64 80242954 3C018024 */ lui $at, %hi(D_80245410) +/* EF4F68 80242958 00220821 */ addu $at, $at, $v0 +/* EF4F6C 8024295C 8C225410 */ lw $v0, %lo(D_80245410)($at) +/* EF4F70 80242960 00400008 */ jr $v0 +/* EF4F74 80242964 00000000 */ nop +/* EF4F78 80242968 8E420028 */ lw $v0, 0x28($s2) +/* EF4F7C 8024296C 24420001 */ addiu $v0, $v0, 1 +/* EF4F80 80242970 AE420028 */ sw $v0, 0x28($s2) +.L80242974: +/* EF4F84 80242974 0000102D */ daddu $v0, $zero, $zero +.L80242978: +/* EF4F88 80242978 8FBF0068 */ lw $ra, 0x68($sp) +/* EF4F8C 8024297C 8FB50064 */ lw $s5, 0x64($sp) +/* EF4F90 80242980 8FB40060 */ lw $s4, 0x60($sp) +/* EF4F94 80242984 8FB3005C */ lw $s3, 0x5c($sp) +/* EF4F98 80242988 8FB20058 */ lw $s2, 0x58($sp) +/* EF4F9C 8024298C 8FB10054 */ lw $s1, 0x54($sp) +/* EF4FA0 80242990 8FB00050 */ lw $s0, 0x50($sp) +/* EF4FA4 80242994 03E00008 */ jr $ra +/* EF4FA8 80242998 27BD0070 */ addiu $sp, $sp, 0x70 diff --git a/asm/nonmatchings/code_EF2680/func_8024299C_EF4FAC.s b/asm/nonmatchings/code_EF2680/func_8024299C_EF4FAC.s new file mode 100644 index 0000000000..ee1f0ef834 --- /dev/null +++ b/asm/nonmatchings/code_EF2680/func_8024299C_EF4FAC.s @@ -0,0 +1,630 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024299C_EF4FAC +/* EF4FAC 8024299C 27BDFF68 */ addiu $sp, $sp, -0x98 +/* EF4FB0 802429A0 AFB5007C */ sw $s5, 0x7c($sp) +/* EF4FB4 802429A4 0080A82D */ daddu $s5, $a0, $zero +/* EF4FB8 802429A8 AFBF0080 */ sw $ra, 0x80($sp) +/* EF4FBC 802429AC AFB40078 */ sw $s4, 0x78($sp) +/* EF4FC0 802429B0 AFB30074 */ sw $s3, 0x74($sp) +/* EF4FC4 802429B4 AFB20070 */ sw $s2, 0x70($sp) +/* EF4FC8 802429B8 AFB1006C */ sw $s1, 0x6c($sp) +/* EF4FCC 802429BC AFB00068 */ sw $s0, 0x68($sp) +/* EF4FD0 802429C0 F7B60090 */ sdc1 $f22, 0x90($sp) +/* EF4FD4 802429C4 F7B40088 */ sdc1 $f20, 0x88($sp) +/* EF4FD8 802429C8 8EB20148 */ lw $s2, 0x148($s5) +/* EF4FDC 802429CC 86440008 */ lh $a0, 8($s2) +/* EF4FE0 802429D0 0C00F92F */ jal func_8003E4BC +/* EF4FE4 802429D4 00A0802D */ daddu $s0, $a1, $zero +/* EF4FE8 802429D8 8EA3000C */ lw $v1, 0xc($s5) +/* EF4FEC 802429DC 02A0202D */ daddu $a0, $s5, $zero +/* EF4FF0 802429E0 8C650000 */ lw $a1, ($v1) +/* EF4FF4 802429E4 0C0B53A3 */ jal func_802D4E8C +/* EF4FF8 802429E8 0040882D */ daddu $s1, $v0, $zero +/* EF4FFC 802429EC AFA00028 */ sw $zero, 0x28($sp) +/* EF5000 802429F0 8E4300D0 */ lw $v1, 0xd0($s2) +/* EF5004 802429F4 8C630030 */ lw $v1, 0x30($v1) +/* EF5008 802429F8 AFA3002C */ sw $v1, 0x2c($sp) +/* EF500C 802429FC 8E4300D0 */ lw $v1, 0xd0($s2) +/* EF5010 80242A00 8C63001C */ lw $v1, 0x1c($v1) +/* EF5014 80242A04 AFA30030 */ sw $v1, 0x30($sp) +/* EF5018 80242A08 8E4300D0 */ lw $v1, 0xd0($s2) +/* EF501C 80242A0C 8C630024 */ lw $v1, 0x24($v1) +/* EF5020 80242A10 AFA30034 */ sw $v1, 0x34($sp) +/* EF5024 80242A14 8E4300D0 */ lw $v1, 0xd0($s2) +/* EF5028 80242A18 8C630028 */ lw $v1, 0x28($v1) +/* EF502C 80242A1C AFA30038 */ sw $v1, 0x38($sp) +/* EF5030 80242A20 8E4300D0 */ lw $v1, 0xd0($s2) +/* EF5034 80242A24 3C014282 */ lui $at, 0x4282 +/* EF5038 80242A28 44810000 */ mtc1 $at, $f0 +/* EF503C 80242A2C 8C63002C */ lw $v1, 0x2c($v1) +/* EF5040 80242A30 E7A00040 */ swc1 $f0, 0x40($sp) +/* EF5044 80242A34 A7A00044 */ sh $zero, 0x44($sp) +/* EF5048 80242A38 AFA3003C */ sw $v1, 0x3c($sp) +/* EF504C 80242A3C C6200038 */ lwc1 $f0, 0x38($s1) +/* EF5050 80242A40 E6400108 */ swc1 $f0, 0x108($s2) +/* EF5054 80242A44 C620003C */ lwc1 $f0, 0x3c($s1) +/* EF5058 80242A48 27B40028 */ addiu $s4, $sp, 0x28 +/* EF505C 80242A4C E640010C */ swc1 $f0, 0x10c($s2) +/* EF5060 80242A50 3C0138D1 */ lui $at, 0x38d1 +/* EF5064 80242A54 3421B717 */ ori $at, $at, 0xb717 +/* EF5068 80242A58 44810000 */ mtc1 $at, $f0 +/* EF506C 80242A5C C6220040 */ lwc1 $f2, 0x40($s1) +/* EF5070 80242A60 0040982D */ daddu $s3, $v0, $zero +/* EF5074 80242A64 E6400114 */ swc1 $f0, 0x114($s2) +/* EF5078 80242A68 E6400118 */ swc1 $f0, 0x118($s2) +/* EF507C 80242A6C 12000007 */ beqz $s0, .L80242A8C +/* EF5080 80242A70 E6420110 */ swc1 $f2, 0x110($s2) +/* EF5084 80242A74 8E4200B0 */ lw $v0, 0xb0($s2) +/* EF5088 80242A78 862300A8 */ lh $v1, 0xa8($s1) +/* EF508C 80242A7C 34420008 */ ori $v0, $v0, 8 +/* EF5090 80242A80 AE430084 */ sw $v1, 0x84($s2) +/* EF5094 80242A84 08090AA7 */ j .L80242A9C +/* EF5098 80242A88 AE4200B0 */ sw $v0, 0xb0($s2) +.L80242A8C: +/* EF509C 80242A8C 8E430094 */ lw $v1, 0x94($s2) +/* EF50A0 80242A90 24020064 */ addiu $v0, $zero, 0x64 +/* EF50A4 80242A94 1462001C */ bne $v1, $v0, .L80242B08 +/* EF50A8 80242A98 00000000 */ nop +.L80242A9C: +/* EF50AC 80242A9C 24020064 */ addiu $v0, $zero, 0x64 +/* EF50B0 80242AA0 2404F7FF */ addiu $a0, $zero, -0x801 +/* EF50B4 80242AA4 AEA20070 */ sw $v0, 0x70($s5) +/* EF50B8 80242AA8 A620008E */ sh $zero, 0x8e($s1) +/* EF50BC 80242AAC 8E4300CC */ lw $v1, 0xcc($s2) +/* EF50C0 80242AB0 8E220000 */ lw $v0, ($s1) +/* EF50C4 80242AB4 3C01C47A */ lui $at, 0xc47a +/* EF50C8 80242AB8 44810000 */ mtc1 $at, $f0 +/* EF50CC 80242ABC 8C630000 */ lw $v1, ($v1) +/* EF50D0 80242AC0 00441024 */ and $v0, $v0, $a0 +/* EF50D4 80242AC4 AE220000 */ sw $v0, ($s1) +/* EF50D8 80242AC8 AE230028 */ sw $v1, 0x28($s1) +/* EF50DC 80242ACC 8E420000 */ lw $v0, ($s2) +/* EF50E0 80242AD0 3C030020 */ lui $v1, 0x20 +/* EF50E4 80242AD4 00431025 */ or $v0, $v0, $v1 +/* EF50E8 80242AD8 AE420000 */ sw $v0, ($s2) +/* EF50EC 80242ADC 8E220000 */ lw $v0, ($s1) +/* EF50F0 80242AE0 2403FDFF */ addiu $v1, $zero, -0x201 +/* EF50F4 80242AE4 00431024 */ and $v0, $v0, $v1 +/* EF50F8 80242AE8 34420008 */ ori $v0, $v0, 8 +/* EF50FC 80242AEC AE220000 */ sw $v0, ($s1) +/* EF5100 80242AF0 2402FFFF */ addiu $v0, $zero, -1 +/* EF5104 80242AF4 AE400094 */ sw $zero, 0x94($s2) +/* EF5108 80242AF8 AE420098 */ sw $v0, 0x98($s2) +/* EF510C 80242AFC AE200038 */ sw $zero, 0x38($s1) +/* EF5110 80242B00 E620003C */ swc1 $f0, 0x3c($s1) +/* EF5114 80242B04 AE200040 */ sw $zero, 0x40($s1) +.L80242B08: +/* EF5118 80242B08 8E4200B0 */ lw $v0, 0xb0($s2) +/* EF511C 80242B0C 30420004 */ andi $v0, $v0, 4 +/* EF5120 80242B10 10400030 */ beqz $v0, .L80242BD4 +/* EF5124 80242B14 2403FFFB */ addiu $v1, $zero, -5 +/* EF5128 80242B18 A620008E */ sh $zero, 0x8e($s1) +/* EF512C 80242B1C 96420086 */ lhu $v0, 0x86($s2) +/* EF5130 80242B20 A62200A8 */ sh $v0, 0xa8($s1) +/* EF5134 80242B24 8E4200B0 */ lw $v0, 0xb0($s2) +/* EF5138 80242B28 00431024 */ and $v0, $v0, $v1 +/* EF513C 80242B2C AE4200B0 */ sw $v0, 0xb0($s2) +/* EF5140 80242B30 8E220000 */ lw $v0, ($s1) +/* EF5144 80242B34 30420800 */ andi $v0, $v0, 0x800 +/* EF5148 80242B38 1040000A */ beqz $v0, .L80242B64 +/* EF514C 80242B3C 3C02004A */ lui $v0, 0x4a +/* EF5150 80242B40 3C013F80 */ lui $at, 0x3f80 +/* EF5154 80242B44 44810000 */ mtc1 $at, $f0 +/* EF5158 80242B48 34420018 */ ori $v0, $v0, 0x18 +/* EF515C 80242B4C AE220028 */ sw $v0, 0x28($s1) +/* EF5160 80242B50 24020066 */ addiu $v0, $zero, 0x66 +/* EF5164 80242B54 AE200018 */ sw $zero, 0x18($s1) +/* EF5168 80242B58 AE20001C */ sw $zero, 0x1c($s1) +/* EF516C 80242B5C 08090AF4 */ j .L80242BD0 +/* EF5170 80242B60 E6200014 */ swc1 $f0, 0x14($s1) +.L80242B64: +/* EF5174 80242B64 24040002 */ addiu $a0, $zero, 2 +/* EF5178 80242B68 0220282D */ daddu $a1, $s1, $zero +/* EF517C 80242B6C 0000302D */ daddu $a2, $zero, $zero +/* EF5180 80242B70 862300A8 */ lh $v1, 0xa8($s1) +/* EF5184 80242B74 3C013F80 */ lui $at, 0x3f80 +/* EF5188 80242B78 44810000 */ mtc1 $at, $f0 +/* EF518C 80242B7C 3C014000 */ lui $at, 0x4000 +/* EF5190 80242B80 44811000 */ mtc1 $at, $f2 +/* EF5194 80242B84 3C01C1A0 */ lui $at, 0xc1a0 +/* EF5198 80242B88 44812000 */ mtc1 $at, $f4 +/* EF519C 80242B8C 24020028 */ addiu $v0, $zero, 0x28 +/* EF51A0 80242B90 AFA2001C */ sw $v0, 0x1c($sp) +/* EF51A4 80242B94 44834000 */ mtc1 $v1, $f8 +/* EF51A8 80242B98 00000000 */ nop +/* EF51AC 80242B9C 46804220 */ cvt.s.w $f8, $f8 +/* EF51B0 80242BA0 44074000 */ mfc1 $a3, $f8 +/* EF51B4 80242BA4 27A20048 */ addiu $v0, $sp, 0x48 +/* EF51B8 80242BA8 AFA20020 */ sw $v0, 0x20($sp) +/* EF51BC 80242BAC E7A00010 */ swc1 $f0, 0x10($sp) +/* EF51C0 80242BB0 E7A20014 */ swc1 $f2, 0x14($sp) +/* EF51C4 80242BB4 0C01D444 */ jal func_80075110 +/* EF51C8 80242BB8 E7A40018 */ swc1 $f4, 0x18($sp) +/* EF51CC 80242BBC 8E4200CC */ lw $v0, 0xcc($s2) +/* EF51D0 80242BC0 8C420000 */ lw $v0, ($v0) +/* EF51D4 80242BC4 AE220028 */ sw $v0, 0x28($s1) +/* EF51D8 80242BC8 240200C8 */ addiu $v0, $zero, 0xc8 +/* EF51DC 80242BCC AEA00074 */ sw $zero, 0x74($s5) +.L80242BD0: +/* EF51E0 80242BD0 AEA20070 */ sw $v0, 0x70($s5) +.L80242BD4: +/* EF51E4 80242BD4 27A2004C */ addiu $v0, $sp, 0x4c +/* EF51E8 80242BD8 AFA20010 */ sw $v0, 0x10($sp) +/* EF51EC 80242BDC 27A20050 */ addiu $v0, $sp, 0x50 +/* EF51F0 80242BE0 AFA20014 */ sw $v0, 0x14($sp) +/* EF51F4 80242BE4 27A20054 */ addiu $v0, $sp, 0x54 +/* EF51F8 80242BE8 AFA20018 */ sw $v0, 0x18($sp) +/* EF51FC 80242BEC 8E250038 */ lw $a1, 0x38($s1) +/* EF5200 80242BF0 8E26003C */ lw $a2, 0x3c($s1) +/* EF5204 80242BF4 8E270040 */ lw $a3, 0x40($s1) +/* EF5208 80242BF8 0C00BF2F */ jal func_8002FCBC +/* EF520C 80242BFC 0000202D */ daddu $a0, $zero, $zero +/* EF5210 80242C00 8EA20070 */ lw $v0, 0x70($s5) +/* EF5214 80242C04 28420064 */ slti $v0, $v0, 0x64 +/* EF5218 80242C08 10400007 */ beqz $v0, .L80242C28 +/* EF521C 80242C0C 00000000 */ nop +/* EF5220 80242C10 8FA2004C */ lw $v0, 0x4c($sp) +/* EF5224 80242C14 24420032 */ addiu $v0, $v0, 0x32 +/* EF5228 80242C18 2C4201A5 */ sltiu $v0, $v0, 0x1a5 +/* EF522C 80242C1C 14400002 */ bnez $v0, .L80242C28 +/* EF5230 80242C20 2402006E */ addiu $v0, $zero, 0x6e +/* EF5234 80242C24 AEA20070 */ sw $v0, 0x70($s5) +.L80242C28: +/* EF5238 80242C28 8EA30070 */ lw $v1, 0x70($s5) +/* EF523C 80242C2C 2402000F */ addiu $v0, $zero, 0xf +/* EF5240 80242C30 1062006B */ beq $v1, $v0, .L80242DE0 +/* EF5244 80242C34 28620010 */ slti $v0, $v1, 0x10 +/* EF5248 80242C38 10400016 */ beqz $v0, .L80242C94 +/* EF524C 80242C3C 24020003 */ addiu $v0, $zero, 3 +/* EF5250 80242C40 10620051 */ beq $v1, $v0, .L80242D88 +/* EF5254 80242C44 28620004 */ slti $v0, $v1, 4 +/* EF5258 80242C48 10400009 */ beqz $v0, .L80242C70 +/* EF525C 80242C4C 24020001 */ addiu $v0, $zero, 1 +/* EF5260 80242C50 10620044 */ beq $v1, $v0, .L80242D64 +/* EF5264 80242C54 28620002 */ slti $v0, $v1, 2 +/* EF5268 80242C58 50400048 */ beql $v0, $zero, .L80242D7C +/* EF526C 80242C5C 02A0202D */ daddu $a0, $s5, $zero +/* EF5270 80242C60 50600027 */ beql $v1, $zero, .L80242D00 +/* EF5274 80242C64 02A0202D */ daddu $a0, $s5, $zero +/* EF5278 80242C68 08090CA5 */ j .L80243294 +/* EF527C 80242C6C 00000000 */ nop +.L80242C70: +/* EF5280 80242C70 2402000D */ addiu $v0, $zero, 0xd +/* EF5284 80242C74 1062004D */ beq $v1, $v0, .L80242DAC +/* EF5288 80242C78 2862000E */ slti $v0, $v1, 0xe +/* EF528C 80242C7C 10400052 */ beqz $v0, .L80242DC8 +/* EF5290 80242C80 2402000C */ addiu $v0, $zero, 0xc +/* EF5294 80242C84 10620046 */ beq $v1, $v0, .L80242DA0 +/* EF5298 80242C88 02A0202D */ daddu $a0, $s5, $zero +/* EF529C 80242C8C 08090CA5 */ j .L80243294 +/* EF52A0 80242C90 00000000 */ nop +.L80242C94: +/* EF52A4 80242C94 24020067 */ addiu $v0, $zero, 0x67 +/* EF52A8 80242C98 10620158 */ beq $v1, $v0, .L802431FC +/* EF52AC 80242C9C 28620068 */ slti $v0, $v1, 0x68 +/* EF52B0 80242CA0 10400009 */ beqz $v0, .L80242CC8 +/* EF52B4 80242CA4 24020065 */ addiu $v0, $zero, 0x65 +/* EF52B8 80242CA8 1062008F */ beq $v1, $v0, .L80242EE8 +/* EF52BC 80242CAC 28620066 */ slti $v0, $v1, 0x66 +/* EF52C0 80242CB0 104000A9 */ beqz $v0, .L80242F58 +/* EF52C4 80242CB4 24020064 */ addiu $v0, $zero, 0x64 +/* EF52C8 80242CB8 1062004F */ beq $v1, $v0, .L80242DF8 +/* EF52CC 80242CBC 24020002 */ addiu $v0, $zero, 2 +/* EF52D0 80242CC0 08090CA5 */ j .L80243294 +/* EF52D4 80242CC4 00000000 */ nop +.L80242CC8: +/* EF52D8 80242CC8 2404006F */ addiu $a0, $zero, 0x6f +/* EF52DC 80242CCC 10640166 */ beq $v1, $a0, .L80243268 +/* EF52E0 80242CD0 28620070 */ slti $v0, $v1, 0x70 +/* EF52E4 80242CD4 10400005 */ beqz $v0, .L80242CEC +/* EF52E8 80242CD8 2402006E */ addiu $v0, $zero, 0x6e +/* EF52EC 80242CDC 10620156 */ beq $v1, $v0, .L80243238 +/* EF52F0 80242CE0 2402001E */ addiu $v0, $zero, 0x1e +/* EF52F4 80242CE4 08090CA5 */ j .L80243294 +/* EF52F8 80242CE8 00000000 */ nop +.L80242CEC: +/* EF52FC 80242CEC 240200C8 */ addiu $v0, $zero, 0xc8 +/* EF5300 80242CF0 10620166 */ beq $v1, $v0, .L8024328C +/* EF5304 80242CF4 00000000 */ nop +/* EF5308 80242CF8 08090CA5 */ j .L80243294 +/* EF530C 80242CFC 00000000 */ nop +.L80242D00: +/* EF5310 80242D00 0260282D */ daddu $a1, $s3, $zero +/* EF5314 80242D04 0C013670 */ jal func_8004D9C0 +/* EF5318 80242D08 0280302D */ daddu $a2, $s4, $zero +/* EF531C 80242D0C 96420086 */ lhu $v0, 0x86($s2) +/* EF5320 80242D10 A62200A8 */ sh $v0, 0xa8($s1) +/* EF5324 80242D14 8E4200A0 */ lw $v0, 0xa0($s2) +/* EF5328 80242D18 10400013 */ beqz $v0, .L80242D68 +/* EF532C 80242D1C 02A0202D */ daddu $a0, $s5, $zero +/* EF5330 80242D20 C620003C */ lwc1 $f0, 0x3c($s1) +/* EF5334 80242D24 44801000 */ mtc1 $zero, $f2 +/* EF5338 80242D28 44801800 */ mtc1 $zero, $f3 +/* EF533C 80242D2C 46000021 */ cvt.d.s $f0, $f0 +/* EF5340 80242D30 4622003E */ c.le.d $f0, $f2 +/* EF5344 80242D34 00000000 */ nop +/* EF5348 80242D38 45000005 */ bc1f .L80242D50 +/* EF534C 80242D3C 2403FDFF */ addiu $v1, $zero, -0x201 +/* EF5350 80242D40 8E220000 */ lw $v0, ($s1) +/* EF5354 80242D44 00431024 */ and $v0, $v0, $v1 +/* EF5358 80242D48 08090B58 */ j .L80242D60 +/* EF535C 80242D4C 34420008 */ ori $v0, $v0, 8 +.L80242D50: +/* EF5360 80242D50 8E220000 */ lw $v0, ($s1) +/* EF5364 80242D54 2403FFF7 */ addiu $v1, $zero, -9 +/* EF5368 80242D58 34420200 */ ori $v0, $v0, 0x200 +/* EF536C 80242D5C 00431024 */ and $v0, $v0, $v1 +.L80242D60: +/* EF5370 80242D60 AE220000 */ sw $v0, ($s1) +.L80242D64: +/* EF5374 80242D64 02A0202D */ daddu $a0, $s5, $zero +.L80242D68: +/* EF5378 80242D68 0260282D */ daddu $a1, $s3, $zero +/* EF537C 80242D6C 0C0136B6 */ jal func_8004DAD8 +/* EF5380 80242D70 0280302D */ daddu $a2, $s4, $zero +/* EF5384 80242D74 08090CA5 */ j .L80243294 +/* EF5388 80242D78 00000000 */ nop +.L80242D7C: +/* EF538C 80242D7C 0260282D */ daddu $a1, $s3, $zero +/* EF5390 80242D80 0C0137D9 */ jal func_8004DF64 +/* EF5394 80242D84 0280302D */ daddu $a2, $s4, $zero +.L80242D88: +/* EF5398 80242D88 02A0202D */ daddu $a0, $s5, $zero +/* EF539C 80242D8C 0260282D */ daddu $a1, $s3, $zero +/* EF53A0 80242D90 0C013809 */ jal func_8004E024 +/* EF53A4 80242D94 0280302D */ daddu $a2, $s4, $zero +/* EF53A8 80242D98 08090CA5 */ j .L80243294 +/* EF53AC 80242D9C 00000000 */ nop +.L80242DA0: +/* EF53B0 80242DA0 0260282D */ daddu $a1, $s3, $zero +/* EF53B4 80242DA4 0C090867 */ jal func_8024219C_EF47AC +/* EF53B8 80242DA8 0280302D */ daddu $a2, $s4, $zero +.L80242DAC: +/* EF53BC 80242DAC 02A0202D */ daddu $a0, $s5, $zero +/* EF53C0 80242DB0 0260282D */ daddu $a1, $s3, $zero +/* EF53C4 80242DB4 0C090886 */ jal func_80242218_EF4828 +/* EF53C8 80242DB8 0280302D */ daddu $a2, $s4, $zero +/* EF53CC 80242DBC 96420086 */ lhu $v0, 0x86($s2) +/* EF53D0 80242DC0 08090CA5 */ j .L80243294 +/* EF53D4 80242DC4 A62200A8 */ sh $v0, 0xa8($s1) +.L80242DC8: +/* EF53D8 80242DC8 02A0202D */ daddu $a0, $s5, $zero +/* EF53DC 80242DCC 0260282D */ daddu $a1, $s3, $zero +/* EF53E0 80242DD0 0C0908D3 */ jal func_8024234C_EF495C +/* EF53E4 80242DD4 0280302D */ daddu $a2, $s4, $zero +/* EF53E8 80242DD8 08090CA5 */ j .L80243294 +/* EF53EC 80242DDC 00000000 */ nop +.L80242DE0: +/* EF53F0 80242DE0 02A0202D */ daddu $a0, $s5, $zero +/* EF53F4 80242DE4 0260282D */ daddu $a1, $s3, $zero +/* EF53F8 80242DE8 0C09092C */ jal func_802424B0_EF4AC0 +/* EF53FC 80242DEC 0280302D */ daddu $a2, $s4, $zero +/* EF5400 80242DF0 08090CA5 */ j .L80243294 +/* EF5404 80242DF4 00000000 */ nop +.L80242DF8: +/* EF5408 80242DF8 8E430094 */ lw $v1, 0x94($s2) +/* EF540C 80242DFC 14620125 */ bne $v1, $v0, .L80243294 +/* EF5410 80242E00 00000000 */ nop +/* EF5414 80242E04 0C010ABD */ jal func_80042AF4 +/* EF5418 80242E08 8E440098 */ lw $a0, 0x98($s2) +/* EF541C 80242E0C 0C00F92F */ jal func_8003E4BC +/* EF5420 80242E10 84440008 */ lh $a0, 8($v0) +/* EF5424 80242E14 C440000C */ lwc1 $f0, 0xc($v0) +/* EF5428 80242E18 3C018024 */ lui $at, %hi(D_80245468) +/* EF542C 80242E1C D4225468 */ ldc1 $f2, %lo(D_80245468)($at) +/* EF5430 80242E20 46000021 */ cvt.d.s $f0, $f0 +/* EF5434 80242E24 4622003C */ c.lt.d $f0, $f2 +/* EF5438 80242E28 00000000 */ nop +/* EF543C 80242E2C 45000008 */ bc1f .L80242E50 +/* EF5440 80242E30 00000000 */ nop +/* EF5444 80242E34 C4400038 */ lwc1 $f0, 0x38($v0) +/* EF5448 80242E38 3C014028 */ lui $at, 0x4028 +/* EF544C 80242E3C 44811800 */ mtc1 $at, $f3 +/* EF5450 80242E40 44801000 */ mtc1 $zero, $f2 +/* EF5454 80242E44 46000021 */ cvt.d.s $f0, $f0 +/* EF5458 80242E48 08090B9A */ j .L80242E68 +/* EF545C 80242E4C 46220000 */ add.d $f0, $f0, $f2 +.L80242E50: +/* EF5460 80242E50 C4400038 */ lwc1 $f0, 0x38($v0) +/* EF5464 80242E54 3C014028 */ lui $at, 0x4028 +/* EF5468 80242E58 44811800 */ mtc1 $at, $f3 +/* EF546C 80242E5C 44801000 */ mtc1 $zero, $f2 +/* EF5470 80242E60 46000021 */ cvt.d.s $f0, $f0 +/* EF5474 80242E64 46220001 */ sub.d $f0, $f0, $f2 +.L80242E68: +/* EF5478 80242E68 46200020 */ cvt.s.d $f0, $f0 +/* EF547C 80242E6C E6200038 */ swc1 $f0, 0x38($s1) +/* EF5480 80242E70 3C04004A */ lui $a0, 0x4a +/* EF5484 80242E74 C440003C */ lwc1 $f0, 0x3c($v0) +/* EF5488 80242E78 3C014039 */ lui $at, 0x4039 +/* EF548C 80242E7C 44811800 */ mtc1 $at, $f3 +/* EF5490 80242E80 44801000 */ mtc1 $zero, $f2 +/* EF5494 80242E84 46000021 */ cvt.d.s $f0, $f0 +/* EF5498 80242E88 46220000 */ add.d $f0, $f0, $f2 +/* EF549C 80242E8C 34840018 */ ori $a0, $a0, 0x18 +/* EF54A0 80242E90 3C013FF0 */ lui $at, 0x3ff0 +/* EF54A4 80242E94 44811800 */ mtc1 $at, $f3 +/* EF54A8 80242E98 44801000 */ mtc1 $zero, $f2 +/* EF54AC 80242E9C 46200020 */ cvt.s.d $f0, $f0 +/* EF54B0 80242EA0 E620003C */ swc1 $f0, 0x3c($s1) +/* EF54B4 80242EA4 C4400040 */ lwc1 $f0, 0x40($v0) +/* EF54B8 80242EA8 8E220000 */ lw $v0, ($s1) +/* EF54BC 80242EAC 2403FFFD */ addiu $v1, $zero, -3 +/* EF54C0 80242EB0 AE200048 */ sw $zero, 0x48($s1) +/* EF54C4 80242EB4 AE200034 */ sw $zero, 0x34($s1) +/* EF54C8 80242EB8 AE240028 */ sw $a0, 0x28($s1) +/* EF54CC 80242EBC 34420008 */ ori $v0, $v0, 8 +/* EF54D0 80242EC0 00431024 */ and $v0, $v0, $v1 +/* EF54D4 80242EC4 2403FDFF */ addiu $v1, $zero, -0x201 +/* EF54D8 80242EC8 00431024 */ and $v0, $v0, $v1 +/* EF54DC 80242ECC 46000021 */ cvt.d.s $f0, $f0 +/* EF54E0 80242ED0 46220000 */ add.d $f0, $f0, $f2 +/* EF54E4 80242ED4 AE220000 */ sw $v0, ($s1) +/* EF54E8 80242ED8 24020065 */ addiu $v0, $zero, 0x65 +/* EF54EC 80242EDC 46200020 */ cvt.s.d $f0, $f0 +/* EF54F0 80242EE0 E6200040 */ swc1 $f0, 0x40($s1) +/* EF54F4 80242EE4 AEA20070 */ sw $v0, 0x70($s5) +.L80242EE8: +/* EF54F8 80242EE8 8E430094 */ lw $v1, 0x94($s2) +/* EF54FC 80242EEC 24020003 */ addiu $v0, $zero, 3 +/* EF5500 80242EF0 146200E8 */ bne $v1, $v0, .L80243294 +/* EF5504 80242EF4 24020004 */ addiu $v0, $zero, 4 +/* EF5508 80242EF8 AE420094 */ sw $v0, 0x94($s2) +/* EF550C 80242EFC C62C0038 */ lwc1 $f12, 0x38($s1) +/* EF5510 80242F00 3C028010 */ lui $v0, %hi(D_800FFC90) +/* EF5514 80242F04 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0) +/* EF5518 80242F08 C62E0040 */ lwc1 $f14, 0x40($s1) +/* EF551C 80242F0C 8C460028 */ lw $a2, 0x28($v0) +/* EF5520 80242F10 0C00ABDC */ jal fio_validate_header_checksums +/* EF5524 80242F14 8C470030 */ lw $a3, 0x30($v0) +/* EF5528 80242F18 3C014020 */ lui $at, 0x4020 +/* EF552C 80242F1C 44811000 */ mtc1 $at, $f2 +/* EF5530 80242F20 3C014100 */ lui $at, 0x4100 +/* EF5534 80242F24 44812000 */ mtc1 $at, $f4 +/* EF5538 80242F28 3C013F4C */ lui $at, 0x3f4c +/* EF553C 80242F2C 3421CCCD */ ori $at, $at, 0xcccd +/* EF5540 80242F30 44813000 */ mtc1 $at, $f6 +/* EF5544 80242F34 8E220000 */ lw $v0, ($s1) +/* EF5548 80242F38 E620000C */ swc1 $f0, 0xc($s1) +/* EF554C 80242F3C 34420800 */ ori $v0, $v0, 0x800 +/* EF5550 80242F40 AE220000 */ sw $v0, ($s1) +/* EF5554 80242F44 24020066 */ addiu $v0, $zero, 0x66 +/* EF5558 80242F48 E6220018 */ swc1 $f2, 0x18($s1) +/* EF555C 80242F4C E624001C */ swc1 $f4, 0x1c($s1) +/* EF5560 80242F50 E6260014 */ swc1 $f6, 0x14($s1) +/* EF5564 80242F54 AEA20070 */ sw $v0, 0x70($s5) +.L80242F58: +/* EF5568 80242F58 C6200018 */ lwc1 $f0, 0x18($s1) +/* EF556C 80242F5C 44801000 */ mtc1 $zero, $f2 +/* EF5570 80242F60 44801800 */ mtc1 $zero, $f3 +/* EF5574 80242F64 46000021 */ cvt.d.s $f0, $f0 +/* EF5578 80242F68 4620103C */ c.lt.d $f2, $f0 +/* EF557C 80242F6C 00000000 */ nop +/* EF5580 80242F70 4500001F */ bc1f .L80242FF0 +/* EF5584 80242F74 27A50058 */ addiu $a1, $sp, 0x58 +/* EF5588 80242F78 C6200038 */ lwc1 $f0, 0x38($s1) +/* EF558C 80242F7C C622003C */ lwc1 $f2, 0x3c($s1) +/* EF5590 80242F80 C6240040 */ lwc1 $f4, 0x40($s1) +/* EF5594 80242F84 C6260018 */ lwc1 $f6, 0x18($s1) +/* EF5598 80242F88 E7A00058 */ swc1 $f0, 0x58($sp) +/* EF559C 80242F8C E7A2005C */ swc1 $f2, 0x5c($sp) +/* EF55A0 80242F90 E7A40060 */ swc1 $f4, 0x60($sp) +/* EF55A4 80242F94 E7A60010 */ swc1 $f6, 0x10($sp) +/* EF55A8 80242F98 C620000C */ lwc1 $f0, 0xc($s1) +/* EF55AC 80242F9C E7A00014 */ swc1 $f0, 0x14($sp) +/* EF55B0 80242FA0 862200A8 */ lh $v0, 0xa8($s1) +/* EF55B4 80242FA4 44820000 */ mtc1 $v0, $f0 +/* EF55B8 80242FA8 00000000 */ nop +/* EF55BC 80242FAC 46800020 */ cvt.s.w $f0, $f0 +/* EF55C0 80242FB0 E7A00018 */ swc1 $f0, 0x18($sp) +/* EF55C4 80242FB4 862200A6 */ lh $v0, 0xa6($s1) +/* EF55C8 80242FB8 27A6005C */ addiu $a2, $sp, 0x5c +/* EF55CC 80242FBC 44820000 */ mtc1 $v0, $f0 +/* EF55D0 80242FC0 00000000 */ nop +/* EF55D4 80242FC4 46800020 */ cvt.s.w $f0, $f0 +/* EF55D8 80242FC8 E7A0001C */ swc1 $f0, 0x1c($sp) +/* EF55DC 80242FCC 8E240080 */ lw $a0, 0x80($s1) +/* EF55E0 80242FD0 0C0394C1 */ jal func_800E5304 +/* EF55E4 80242FD4 27A70060 */ addiu $a3, $sp, 0x60 +/* EF55E8 80242FD8 54400005 */ bnel $v0, $zero, .L80242FF0 +/* EF55EC 80242FDC AE200018 */ sw $zero, 0x18($s1) +/* EF55F0 80242FE0 8E250018 */ lw $a1, 0x18($s1) +/* EF55F4 80242FE4 8E26000C */ lw $a2, 0xc($s1) +/* EF55F8 80242FE8 0C00F909 */ jal func_8003E424 +/* EF55FC 80242FEC 0220202D */ daddu $a0, $s1, $zero +.L80242FF0: +/* EF5600 80242FF0 C620001C */ lwc1 $f0, 0x1c($s1) +/* EF5604 80242FF4 4480B000 */ mtc1 $zero, $f22 +/* EF5608 80242FF8 4480B800 */ mtc1 $zero, $f23 +/* EF560C 80242FFC 46000021 */ cvt.d.s $f0, $f0 +/* EF5610 80243000 4636003C */ c.lt.d $f0, $f22 +/* EF5614 80243004 00000000 */ nop +/* EF5618 80243008 45000074 */ bc1f .L802431DC +/* EF561C 8024300C 27A50058 */ addiu $a1, $sp, 0x58 +/* EF5620 80243010 27A6005C */ addiu $a2, $sp, 0x5c +/* EF5624 80243014 27A20064 */ addiu $v0, $sp, 0x64 +/* EF5628 80243018 C622003C */ lwc1 $f2, 0x3c($s1) +/* EF562C 8024301C C6260038 */ lwc1 $f6, 0x38($s1) +/* EF5630 80243020 3C01402A */ lui $at, 0x402a +/* EF5634 80243024 4481A800 */ mtc1 $at, $f21 +/* EF5638 80243028 4480A000 */ mtc1 $zero, $f20 +/* EF563C 8024302C 460010A1 */ cvt.d.s $f2, $f2 +/* EF5640 80243030 46341080 */ add.d $f2, $f2, $f20 +/* EF5644 80243034 C620001C */ lwc1 $f0, 0x1c($s1) +/* EF5648 80243038 C6240040 */ lwc1 $f4, 0x40($s1) +/* EF564C 8024303C 46000005 */ abs.s $f0, $f0 +/* EF5650 80243040 E7A40060 */ swc1 $f4, 0x60($sp) +/* EF5654 80243044 3C014030 */ lui $at, 0x4030 +/* EF5658 80243048 44812800 */ mtc1 $at, $f5 +/* EF565C 8024304C 44802000 */ mtc1 $zero, $f4 +/* EF5660 80243050 46000021 */ cvt.d.s $f0, $f0 +/* EF5664 80243054 E7A60058 */ swc1 $f6, 0x58($sp) +/* EF5668 80243058 46240000 */ add.d $f0, $f0, $f4 +/* EF566C 8024305C 462010A0 */ cvt.s.d $f2, $f2 +/* EF5670 80243060 E7A2005C */ swc1 $f2, 0x5c($sp) +/* EF5674 80243064 46200020 */ cvt.s.d $f0, $f0 +/* EF5678 80243068 E7A00064 */ swc1 $f0, 0x64($sp) +/* EF567C 8024306C AFA20010 */ sw $v0, 0x10($sp) +/* EF5680 80243070 8E240080 */ lw $a0, 0x80($s1) +/* EF5684 80243074 0C03908F */ jal func_800E423C +/* EF5688 80243078 27A70060 */ addiu $a3, $sp, 0x60 +/* EF568C 8024307C 10400057 */ beqz $v0, .L802431DC +/* EF5690 80243080 00000000 */ nop +/* EF5694 80243084 C620001C */ lwc1 $f0, 0x1c($s1) +/* EF5698 80243088 C7A20064 */ lwc1 $f2, 0x64($sp) +/* EF569C 8024308C 46000005 */ abs.s $f0, $f0 +/* EF56A0 80243090 46000021 */ cvt.d.s $f0, $f0 +/* EF56A4 80243094 46340000 */ add.d $f0, $f0, $f20 +/* EF56A8 80243098 460010A1 */ cvt.d.s $f2, $f2 +/* EF56AC 8024309C 4620103E */ c.le.d $f2, $f0 +/* EF56B0 802430A0 00000000 */ nop +/* EF56B4 802430A4 4500004D */ bc1f .L802431DC +/* EF56B8 802430A8 00000000 */ nop +/* EF56BC 802430AC C7A0005C */ lwc1 $f0, 0x5c($sp) +/* EF56C0 802430B0 E620003C */ swc1 $f0, 0x3c($s1) +/* EF56C4 802430B4 8E4200D0 */ lw $v0, 0xd0($s2) +/* EF56C8 802430B8 C6200038 */ lwc1 $f0, 0x38($s1) +/* EF56CC 802430BC 4600020D */ trunc.w.s $f8, $f0 +/* EF56D0 802430C0 E4480000 */ swc1 $f8, ($v0) +/* EF56D4 802430C4 8E4200D0 */ lw $v0, 0xd0($s2) +/* EF56D8 802430C8 C620003C */ lwc1 $f0, 0x3c($s1) +/* EF56DC 802430CC 4600020D */ trunc.w.s $f8, $f0 +/* EF56E0 802430D0 E4480004 */ swc1 $f8, 4($v0) +/* EF56E4 802430D4 8E4200D0 */ lw $v0, 0xd0($s2) +/* EF56E8 802430D8 C6200040 */ lwc1 $f0, 0x40($s1) +/* EF56EC 802430DC 4600020D */ trunc.w.s $f8, $f0 +/* EF56F0 802430E0 E4480008 */ swc1 $f8, 8($v0) +/* EF56F4 802430E4 8E4200D0 */ lw $v0, 0xd0($s2) +/* EF56F8 802430E8 C6200038 */ lwc1 $f0, 0x38($s1) +/* EF56FC 802430EC 4600020D */ trunc.w.s $f8, $f0 +/* EF5700 802430F0 E448001C */ swc1 $f8, 0x1c($v0) +/* EF5704 802430F4 8E4200D0 */ lw $v0, 0xd0($s2) +/* EF5708 802430F8 C620003C */ lwc1 $f0, 0x3c($s1) +/* EF570C 802430FC 4600020D */ trunc.w.s $f8, $f0 +/* EF5710 80243100 E4480020 */ swc1 $f8, 0x20($v0) +/* EF5714 80243104 8E4200D0 */ lw $v0, 0xd0($s2) +/* EF5718 80243108 C6200040 */ lwc1 $f0, 0x40($s1) +/* EF571C 8024310C 4600020D */ trunc.w.s $f8, $f0 +/* EF5720 80243110 E4480024 */ swc1 $f8, 0x24($v0) +/* EF5724 80243114 8E4300A0 */ lw $v1, 0xa0($s2) +/* EF5728 80243118 24020005 */ addiu $v0, $zero, 5 +/* EF572C 8024311C 1060000B */ beqz $v1, .L8024314C +/* EF5730 80243120 AE420094 */ sw $v0, 0x94($s2) +/* EF5734 80243124 C620003C */ lwc1 $f0, 0x3c($s1) +/* EF5738 80243128 46000021 */ cvt.d.s $f0, $f0 +/* EF573C 8024312C 4636003E */ c.le.d $f0, $f22 +/* EF5740 80243130 00000000 */ nop +/* EF5744 80243134 4501000D */ bc1t .L8024316C +/* EF5748 80243138 2403FFF7 */ addiu $v1, $zero, -9 +/* EF574C 8024313C 8E220000 */ lw $v0, ($s1) +/* EF5750 80243140 34420200 */ ori $v0, $v0, 0x200 +/* EF5754 80243144 08090C5F */ j .L8024317C +/* EF5758 80243148 00431024 */ and $v0, $v0, $v1 +.L8024314C: +/* EF575C 8024314C 8E4200D0 */ lw $v0, 0xd0($s2) +/* EF5760 80243150 8C420034 */ lw $v0, 0x34($v0) +/* EF5764 80243154 14400005 */ bnez $v0, .L8024316C +/* EF5768 80243158 2403FFF7 */ addiu $v1, $zero, -9 +/* EF576C 8024315C 8E220000 */ lw $v0, ($s1) +/* EF5770 80243160 34420200 */ ori $v0, $v0, 0x200 +/* EF5774 80243164 08090C5F */ j .L8024317C +/* EF5778 80243168 00431024 */ and $v0, $v0, $v1 +.L8024316C: +/* EF577C 8024316C 8E220000 */ lw $v0, ($s1) +/* EF5780 80243170 2403FDFF */ addiu $v1, $zero, -0x201 +/* EF5784 80243174 00431024 */ and $v0, $v0, $v1 +/* EF5788 80243178 34420008 */ ori $v0, $v0, 8 +.L8024317C: +/* EF578C 8024317C AE220000 */ sw $v0, ($s1) +/* EF5790 80243180 C62C0038 */ lwc1 $f12, 0x38($s1) +/* EF5794 80243184 C62E0040 */ lwc1 $f14, 0x40($s1) +/* EF5798 80243188 8E220000 */ lw $v0, ($s1) +/* EF579C 8024318C 3C048010 */ lui $a0, %hi(D_800FFC90) +/* EF57A0 80243190 8C84FC90 */ lw $a0, %lo(D_800FFC90)($a0) +/* EF57A4 80243194 3C030004 */ lui $v1, 4 +/* EF57A8 80243198 AE20001C */ sw $zero, 0x1c($s1) +/* EF57AC 8024319C 00431025 */ or $v0, $v0, $v1 +/* EF57B0 802431A0 2403F7FF */ addiu $v1, $zero, -0x801 +/* EF57B4 802431A4 00431024 */ and $v0, $v0, $v1 +/* EF57B8 802431A8 AE220000 */ sw $v0, ($s1) +/* EF57BC 802431AC 8C860028 */ lw $a2, 0x28($a0) +/* EF57C0 802431B0 0C00ABDC */ jal fio_validate_header_checksums +/* EF57C4 802431B4 8C870030 */ lw $a3, 0x30($a0) +/* EF57C8 802431B8 3C02004A */ lui $v0, 0x4a +/* EF57CC 802431BC 3442001A */ ori $v0, $v0, 0x1a +/* EF57D0 802431C0 AE220028 */ sw $v0, 0x28($s1) +/* EF57D4 802431C4 24020003 */ addiu $v0, $zero, 3 +/* EF57D8 802431C8 A622008E */ sh $v0, 0x8e($s1) +/* EF57DC 802431CC 24020067 */ addiu $v0, $zero, 0x67 +/* EF57E0 802431D0 E620000C */ swc1 $f0, 0xc($s1) +/* EF57E4 802431D4 08090CA5 */ j .L80243294 +/* EF57E8 802431D8 AEA20070 */ sw $v0, 0x70($s5) +.L802431DC: +/* EF57EC 802431DC C624003C */ lwc1 $f4, 0x3c($s1) +/* EF57F0 802431E0 C620001C */ lwc1 $f0, 0x1c($s1) +/* EF57F4 802431E4 46002100 */ add.s $f4, $f4, $f0 +/* EF57F8 802431E8 C6220014 */ lwc1 $f2, 0x14($s1) +/* EF57FC 802431EC 46020001 */ sub.s $f0, $f0, $f2 +/* EF5800 802431F0 E624003C */ swc1 $f4, 0x3c($s1) +/* EF5804 802431F4 08090CA5 */ j .L80243294 +/* EF5808 802431F8 E620001C */ swc1 $f0, 0x1c($s1) +.L802431FC: +/* EF580C 802431FC 9622008E */ lhu $v0, 0x8e($s1) +/* EF5810 80243200 2442FFFF */ addiu $v0, $v0, -1 +/* EF5814 80243204 A622008E */ sh $v0, 0x8e($s1) +/* EF5818 80243208 00021400 */ sll $v0, $v0, 0x10 +/* EF581C 8024320C 1C400021 */ bgtz $v0, .L80243294 +/* EF5820 80243210 3C03004A */ lui $v1, 0x4a +/* EF5824 80243214 3C04FFFB */ lui $a0, 0xfffb +/* EF5828 80243218 3484FFFF */ ori $a0, $a0, 0xffff +/* EF582C 8024321C 8E220000 */ lw $v0, ($s1) +/* EF5830 80243220 34630001 */ ori $v1, $v1, 1 +/* EF5834 80243224 AE230028 */ sw $v1, 0x28($s1) +/* EF5838 80243228 00441024 */ and $v0, $v0, $a0 +/* EF583C 8024322C AE220000 */ sw $v0, ($s1) +/* EF5840 80243230 08090CA5 */ j .L80243294 +/* EF5844 80243234 AEA00070 */ sw $zero, 0x70($s5) +.L80243238: +/* EF5848 80243238 3C01C47A */ lui $at, 0xc47a +/* EF584C 8024323C 44810000 */ mtc1 $at, $f0 +/* EF5850 80243240 8E230000 */ lw $v1, ($s1) +/* EF5854 80243244 A622008E */ sh $v0, 0x8e($s1) +/* EF5858 80243248 2402FDFF */ addiu $v0, $zero, -0x201 +/* EF585C 8024324C AE200038 */ sw $zero, 0x38($s1) +/* EF5860 80243250 AE200040 */ sw $zero, 0x40($s1) +/* EF5864 80243254 3463000A */ ori $v1, $v1, 0xa +/* EF5868 80243258 00621824 */ and $v1, $v1, $v0 +/* EF586C 8024325C E620003C */ swc1 $f0, 0x3c($s1) +/* EF5870 80243260 AE230000 */ sw $v1, ($s1) +/* EF5874 80243264 AEA40070 */ sw $a0, 0x70($s5) +.L80243268: +/* EF5878 80243268 9622008E */ lhu $v0, 0x8e($s1) +/* EF587C 8024326C 2442FFFF */ addiu $v0, $v0, -1 +/* EF5880 80243270 A622008E */ sh $v0, 0x8e($s1) +/* EF5884 80243274 00021400 */ sll $v0, $v0, 0x10 +/* EF5888 80243278 1C400006 */ bgtz $v0, .L80243294 +/* EF588C 8024327C 24020064 */ addiu $v0, $zero, 0x64 +/* EF5890 80243280 AE400094 */ sw $zero, 0x94($s2) +/* EF5894 80243284 08090CA5 */ j .L80243294 +/* EF5898 80243288 AEA20070 */ sw $v0, 0x70($s5) +.L8024328C: +/* EF589C 8024328C 0C013AE3 */ jal func_8004EB8C +/* EF58A0 80243290 02A0202D */ daddu $a0, $s5, $zero +.L80243294: +/* EF58A4 80243294 8FBF0080 */ lw $ra, 0x80($sp) +/* EF58A8 80243298 8FB5007C */ lw $s5, 0x7c($sp) +/* EF58AC 8024329C 8FB40078 */ lw $s4, 0x78($sp) +/* EF58B0 802432A0 8FB30074 */ lw $s3, 0x74($sp) +/* EF58B4 802432A4 8FB20070 */ lw $s2, 0x70($sp) +/* EF58B8 802432A8 8FB1006C */ lw $s1, 0x6c($sp) +/* EF58BC 802432AC 8FB00068 */ lw $s0, 0x68($sp) +/* EF58C0 802432B0 D7B60090 */ ldc1 $f22, 0x90($sp) +/* EF58C4 802432B4 D7B40088 */ ldc1 $f20, 0x88($sp) +/* EF58C8 802432B8 0000102D */ daddu $v0, $zero, $zero +/* EF58CC 802432BC 03E00008 */ jr $ra +/* EF58D0 802432C0 27BD0098 */ addiu $sp, $sp, 0x98 +/* EF58D4 802432C4 00000000 */ nop +/* EF58D8 802432C8 00000000 */ nop +/* EF58DC 802432CC 00000000 */ nop diff --git a/asm/nonmatchings/code_EF7A80/func_80240000_EF7A80.s b/asm/nonmatchings/code_EF7A80/func_80240000_EF7A80.s new file mode 100644 index 0000000000..d4bbe8bd3a --- /dev/null +++ b/asm/nonmatchings/code_EF7A80/func_80240000_EF7A80.s @@ -0,0 +1,89 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EF7A80 +/* EF7A80 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EF7A84 80240004 AFB00010 */ sw $s0, 0x10($sp) +/* EF7A88 80240008 0080802D */ daddu $s0, $a0, $zero +/* EF7A8C 8024000C AFBF0014 */ sw $ra, 0x14($sp) +/* EF7A90 80240010 8E0300A8 */ lw $v1, 0xa8($s0) +/* EF7A94 80240014 8E020088 */ lw $v0, 0x88($s0) +/* EF7A98 80240018 00621821 */ addu $v1, $v1, $v0 +/* EF7A9C 8024001C 04610004 */ bgez $v1, .L80240030 +/* EF7AA0 80240020 AE0300A8 */ sw $v1, 0xa8($s0) +/* EF7AA4 80240024 3C020002 */ lui $v0, 2 +/* EF7AA8 80240028 08090010 */ j .L80240040 +/* EF7AAC 8024002C 00621021 */ addu $v0, $v1, $v0 +.L80240030: +/* EF7AB0 80240030 3C040002 */ lui $a0, 2 +/* EF7AB4 80240034 0083102A */ slt $v0, $a0, $v1 +/* EF7AB8 80240038 10400002 */ beqz $v0, .L80240044 +/* EF7ABC 8024003C 00641023 */ subu $v0, $v1, $a0 +.L80240040: +/* EF7AC0 80240040 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240044: +/* EF7AC4 80240044 8E0300AC */ lw $v1, 0xac($s0) +/* EF7AC8 80240048 8E02008C */ lw $v0, 0x8c($s0) +/* EF7ACC 8024004C 00621821 */ addu $v1, $v1, $v0 +/* EF7AD0 80240050 04610004 */ bgez $v1, .L80240064 +/* EF7AD4 80240054 AE0300AC */ sw $v1, 0xac($s0) +/* EF7AD8 80240058 3C020002 */ lui $v0, 2 +/* EF7ADC 8024005C 0809001D */ j .L80240074 +/* EF7AE0 80240060 00621021 */ addu $v0, $v1, $v0 +.L80240064: +/* EF7AE4 80240064 3C040002 */ lui $a0, 2 +/* EF7AE8 80240068 0083102A */ slt $v0, $a0, $v1 +/* EF7AEC 8024006C 10400002 */ beqz $v0, .L80240078 +/* EF7AF0 80240070 00641023 */ subu $v0, $v1, $a0 +.L80240074: +/* EF7AF4 80240074 AE0200AC */ sw $v0, 0xac($s0) +.L80240078: +/* EF7AF8 80240078 8E0300B0 */ lw $v1, 0xb0($s0) +/* EF7AFC 8024007C 8E020090 */ lw $v0, 0x90($s0) +/* EF7B00 80240080 00621821 */ addu $v1, $v1, $v0 +/* EF7B04 80240084 04610004 */ bgez $v1, .L80240098 +/* EF7B08 80240088 AE0300B0 */ sw $v1, 0xb0($s0) +/* EF7B0C 8024008C 3C020002 */ lui $v0, 2 +/* EF7B10 80240090 0809002A */ j .L802400A8 +/* EF7B14 80240094 00621021 */ addu $v0, $v1, $v0 +.L80240098: +/* EF7B18 80240098 3C040002 */ lui $a0, 2 +/* EF7B1C 8024009C 0083102A */ slt $v0, $a0, $v1 +/* EF7B20 802400A0 10400002 */ beqz $v0, .L802400AC +/* EF7B24 802400A4 00641023 */ subu $v0, $v1, $a0 +.L802400A8: +/* EF7B28 802400A8 AE0200B0 */ sw $v0, 0xb0($s0) +.L802400AC: +/* EF7B2C 802400AC 8E0300B4 */ lw $v1, 0xb4($s0) +/* EF7B30 802400B0 8E020094 */ lw $v0, 0x94($s0) +/* EF7B34 802400B4 00621821 */ addu $v1, $v1, $v0 +/* EF7B38 802400B8 04610004 */ bgez $v1, .L802400CC +/* EF7B3C 802400BC AE0300B4 */ sw $v1, 0xb4($s0) +/* EF7B40 802400C0 3C020002 */ lui $v0, 2 +/* EF7B44 802400C4 08090037 */ j .L802400DC +/* EF7B48 802400C8 00621021 */ addu $v0, $v1, $v0 +.L802400CC: +/* EF7B4C 802400CC 3C040002 */ lui $a0, 2 +/* EF7B50 802400D0 0083102A */ slt $v0, $a0, $v1 +/* EF7B54 802400D4 10400002 */ beqz $v0, .L802400E0 +/* EF7B58 802400D8 00641023 */ subu $v0, $v1, $a0 +.L802400DC: +/* EF7B5C 802400DC AE0200B4 */ sw $v0, 0xb4($s0) +.L802400E0: +/* EF7B60 802400E0 8E040084 */ lw $a0, 0x84($s0) +/* EF7B64 802400E4 0C049819 */ jal func_80126064 +/* EF7B68 802400E8 8E0500A8 */ lw $a1, 0xa8($s0) +/* EF7B6C 802400EC 8E040084 */ lw $a0, 0x84($s0) +/* EF7B70 802400F0 0C04981F */ jal func_8012607C +/* EF7B74 802400F4 8E0500AC */ lw $a1, 0xac($s0) +/* EF7B78 802400F8 8E040084 */ lw $a0, 0x84($s0) +/* EF7B7C 802400FC 0C049825 */ jal func_80126094 +/* EF7B80 80240100 8E0500B0 */ lw $a1, 0xb0($s0) +/* EF7B84 80240104 8E040084 */ lw $a0, 0x84($s0) +/* EF7B88 80240108 0C04982B */ jal func_801260AC +/* EF7B8C 8024010C 8E0500B4 */ lw $a1, 0xb4($s0) +/* EF7B90 80240110 8FBF0014 */ lw $ra, 0x14($sp) +/* EF7B94 80240114 8FB00010 */ lw $s0, 0x10($sp) +/* EF7B98 80240118 0000102D */ daddu $v0, $zero, $zero +/* EF7B9C 8024011C 03E00008 */ jr $ra +/* EF7BA0 80240120 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EF7A80/func_80240124_EF7BA4.s b/asm/nonmatchings/code_EF7A80/func_80240124_EF7BA4.s new file mode 100644 index 0000000000..62f9c85bef --- /dev/null +++ b/asm/nonmatchings/code_EF7A80/func_80240124_EF7BA4.s @@ -0,0 +1,143 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240124_EF7BA4 +/* EF7BA4 80240124 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EF7BA8 80240128 AFB00010 */ sw $s0, 0x10($sp) +/* EF7BAC 8024012C 0080802D */ daddu $s0, $a0, $zero +/* EF7BB0 80240130 10A00005 */ beqz $a1, .L80240148 +/* EF7BB4 80240134 AFBF0014 */ sw $ra, 0x14($sp) +/* EF7BB8 80240138 AE000070 */ sw $zero, 0x70($s0) +/* EF7BBC 8024013C AE000074 */ sw $zero, 0x74($s0) +/* EF7BC0 80240140 AE000078 */ sw $zero, 0x78($s0) +/* EF7BC4 80240144 AE00007C */ sw $zero, 0x7c($s0) +.L80240148: +/* EF7BC8 80240148 8E020070 */ lw $v0, 0x70($s0) +/* EF7BCC 8024014C 1440000E */ bnez $v0, .L80240188 +/* EF7BD0 80240150 00000000 */ nop +/* EF7BD4 80240154 8E0300A8 */ lw $v1, 0xa8($s0) +/* EF7BD8 80240158 8E020088 */ lw $v0, 0x88($s0) +/* EF7BDC 8024015C 00621821 */ addu $v1, $v1, $v0 +/* EF7BE0 80240160 04610004 */ bgez $v1, .L80240174 +/* EF7BE4 80240164 AE0300A8 */ sw $v1, 0xa8($s0) +/* EF7BE8 80240168 3C020002 */ lui $v0, 2 +/* EF7BEC 8024016C 08090061 */ j .L80240184 +/* EF7BF0 80240170 00621021 */ addu $v0, $v1, $v0 +.L80240174: +/* EF7BF4 80240174 3C040002 */ lui $a0, 2 +/* EF7BF8 80240178 0083102A */ slt $v0, $a0, $v1 +/* EF7BFC 8024017C 10400002 */ beqz $v0, .L80240188 +/* EF7C00 80240180 00641023 */ subu $v0, $v1, $a0 +.L80240184: +/* EF7C04 80240184 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240188: +/* EF7C08 80240188 8E020074 */ lw $v0, 0x74($s0) +/* EF7C0C 8024018C 1440000E */ bnez $v0, .L802401C8 +/* EF7C10 80240190 00000000 */ nop +/* EF7C14 80240194 8E0300AC */ lw $v1, 0xac($s0) +/* EF7C18 80240198 8E02008C */ lw $v0, 0x8c($s0) +/* EF7C1C 8024019C 00621821 */ addu $v1, $v1, $v0 +/* EF7C20 802401A0 04610004 */ bgez $v1, .L802401B4 +/* EF7C24 802401A4 AE0300AC */ sw $v1, 0xac($s0) +/* EF7C28 802401A8 3C020002 */ lui $v0, 2 +/* EF7C2C 802401AC 08090071 */ j .L802401C4 +/* EF7C30 802401B0 00621021 */ addu $v0, $v1, $v0 +.L802401B4: +/* EF7C34 802401B4 3C040002 */ lui $a0, 2 +/* EF7C38 802401B8 0083102A */ slt $v0, $a0, $v1 +/* EF7C3C 802401BC 10400002 */ beqz $v0, .L802401C8 +/* EF7C40 802401C0 00641023 */ subu $v0, $v1, $a0 +.L802401C4: +/* EF7C44 802401C4 AE0200AC */ sw $v0, 0xac($s0) +.L802401C8: +/* EF7C48 802401C8 8E020078 */ lw $v0, 0x78($s0) +/* EF7C4C 802401CC 1440000E */ bnez $v0, .L80240208 +/* EF7C50 802401D0 00000000 */ nop +/* EF7C54 802401D4 8E0300B0 */ lw $v1, 0xb0($s0) +/* EF7C58 802401D8 8E020090 */ lw $v0, 0x90($s0) +/* EF7C5C 802401DC 00621821 */ addu $v1, $v1, $v0 +/* EF7C60 802401E0 04610004 */ bgez $v1, .L802401F4 +/* EF7C64 802401E4 AE0300B0 */ sw $v1, 0xb0($s0) +/* EF7C68 802401E8 3C020002 */ lui $v0, 2 +/* EF7C6C 802401EC 08090081 */ j .L80240204 +/* EF7C70 802401F0 00621021 */ addu $v0, $v1, $v0 +.L802401F4: +/* EF7C74 802401F4 3C040002 */ lui $a0, 2 +/* EF7C78 802401F8 0083102A */ slt $v0, $a0, $v1 +/* EF7C7C 802401FC 10400002 */ beqz $v0, .L80240208 +/* EF7C80 80240200 00641023 */ subu $v0, $v1, $a0 +.L80240204: +/* EF7C84 80240204 AE0200B0 */ sw $v0, 0xb0($s0) +.L80240208: +/* EF7C88 80240208 8E02007C */ lw $v0, 0x7c($s0) +/* EF7C8C 8024020C 1440000E */ bnez $v0, .L80240248 +/* EF7C90 80240210 00000000 */ nop +/* EF7C94 80240214 8E0300B4 */ lw $v1, 0xb4($s0) +/* EF7C98 80240218 8E020094 */ lw $v0, 0x94($s0) +/* EF7C9C 8024021C 00621821 */ addu $v1, $v1, $v0 +/* EF7CA0 80240220 04610004 */ bgez $v1, .L80240234 +/* EF7CA4 80240224 AE0300B4 */ sw $v1, 0xb4($s0) +/* EF7CA8 80240228 3C020002 */ lui $v0, 2 +/* EF7CAC 8024022C 08090091 */ j .L80240244 +/* EF7CB0 80240230 00621021 */ addu $v0, $v1, $v0 +.L80240234: +/* EF7CB4 80240234 3C040002 */ lui $a0, 2 +/* EF7CB8 80240238 0083102A */ slt $v0, $a0, $v1 +/* EF7CBC 8024023C 10400002 */ beqz $v0, .L80240248 +/* EF7CC0 80240240 00641023 */ subu $v0, $v1, $a0 +.L80240244: +/* EF7CC4 80240244 AE0200B4 */ sw $v0, 0xb4($s0) +.L80240248: +/* EF7CC8 80240248 8E040084 */ lw $a0, 0x84($s0) +/* EF7CCC 8024024C 0C049819 */ jal func_80126064 +/* EF7CD0 80240250 8E0500A8 */ lw $a1, 0xa8($s0) +/* EF7CD4 80240254 8E040084 */ lw $a0, 0x84($s0) +/* EF7CD8 80240258 0C04981F */ jal func_8012607C +/* EF7CDC 8024025C 8E0500AC */ lw $a1, 0xac($s0) +/* EF7CE0 80240260 8E040084 */ lw $a0, 0x84($s0) +/* EF7CE4 80240264 0C049825 */ jal func_80126094 +/* EF7CE8 80240268 8E0500B0 */ lw $a1, 0xb0($s0) +/* EF7CEC 8024026C 8E040084 */ lw $a0, 0x84($s0) +/* EF7CF0 80240270 0C04982B */ jal func_801260AC +/* EF7CF4 80240274 8E0500B4 */ lw $a1, 0xb4($s0) +/* EF7CF8 80240278 8E020070 */ lw $v0, 0x70($s0) +/* EF7CFC 8024027C 8E030078 */ lw $v1, 0x78($s0) +/* EF7D00 80240280 8E040098 */ lw $a0, 0x98($s0) +/* EF7D04 80240284 24420001 */ addiu $v0, $v0, 1 +/* EF7D08 80240288 AE020070 */ sw $v0, 0x70($s0) +/* EF7D0C 8024028C 8E020074 */ lw $v0, 0x74($s0) +/* EF7D10 80240290 24630001 */ addiu $v1, $v1, 1 +/* EF7D14 80240294 AE030078 */ sw $v1, 0x78($s0) +/* EF7D18 80240298 8E030070 */ lw $v1, 0x70($s0) +/* EF7D1C 8024029C 24420001 */ addiu $v0, $v0, 1 +/* EF7D20 802402A0 AE020074 */ sw $v0, 0x74($s0) +/* EF7D24 802402A4 8E02007C */ lw $v0, 0x7c($s0) +/* EF7D28 802402A8 0064182A */ slt $v1, $v1, $a0 +/* EF7D2C 802402AC 24420001 */ addiu $v0, $v0, 1 +/* EF7D30 802402B0 14600002 */ bnez $v1, .L802402BC +/* EF7D34 802402B4 AE02007C */ sw $v0, 0x7c($s0) +/* EF7D38 802402B8 AE000070 */ sw $zero, 0x70($s0) +.L802402BC: +/* EF7D3C 802402BC 8E020074 */ lw $v0, 0x74($s0) +/* EF7D40 802402C0 8E03009C */ lw $v1, 0x9c($s0) +/* EF7D44 802402C4 0043102A */ slt $v0, $v0, $v1 +/* EF7D48 802402C8 50400001 */ beql $v0, $zero, .L802402D0 +/* EF7D4C 802402CC AE000074 */ sw $zero, 0x74($s0) +.L802402D0: +/* EF7D50 802402D0 8E020078 */ lw $v0, 0x78($s0) +/* EF7D54 802402D4 8E0300A0 */ lw $v1, 0xa0($s0) +/* EF7D58 802402D8 0043102A */ slt $v0, $v0, $v1 +/* EF7D5C 802402DC 50400001 */ beql $v0, $zero, .L802402E4 +/* EF7D60 802402E0 AE000078 */ sw $zero, 0x78($s0) +.L802402E4: +/* EF7D64 802402E4 8E02007C */ lw $v0, 0x7c($s0) +/* EF7D68 802402E8 8E0300A4 */ lw $v1, 0xa4($s0) +/* EF7D6C 802402EC 0043102A */ slt $v0, $v0, $v1 +/* EF7D70 802402F0 50400001 */ beql $v0, $zero, .L802402F8 +/* EF7D74 802402F4 AE00007C */ sw $zero, 0x7c($s0) +.L802402F8: +/* EF7D78 802402F8 8FBF0014 */ lw $ra, 0x14($sp) +/* EF7D7C 802402FC 8FB00010 */ lw $s0, 0x10($sp) +/* EF7D80 80240300 0000102D */ daddu $v0, $zero, $zero +/* EF7D84 80240304 03E00008 */ jr $ra +/* EF7D88 80240308 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EF7A80/func_8024030C_EF7D8C.s b/asm/nonmatchings/code_EF7A80/func_8024030C_EF7D8C.s new file mode 100644 index 0000000000..83d1d5f136 --- /dev/null +++ b/asm/nonmatchings/code_EF7A80/func_8024030C_EF7D8C.s @@ -0,0 +1,17 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024030C_EF7D8C +/* EF7D8C 8024030C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EF7D90 80240310 24040001 */ addiu $a0, $zero, 1 +/* EF7D94 80240314 0000282D */ daddu $a1, $zero, $zero +/* EF7D98 80240318 00A0302D */ daddu $a2, $a1, $zero +/* EF7D9C 8024031C 00A0382D */ daddu $a3, $a1, $zero +/* EF7DA0 80240320 AFBF0018 */ sw $ra, 0x18($sp) +/* EF7DA4 80240324 AFA00010 */ sw $zero, 0x10($sp) +/* EF7DA8 80240328 0C01DEF4 */ jal func_80077BD0 +/* EF7DAC 8024032C AFA00014 */ sw $zero, 0x14($sp) +/* EF7DB0 80240330 8FBF0018 */ lw $ra, 0x18($sp) +/* EF7DB4 80240334 24020002 */ addiu $v0, $zero, 2 +/* EF7DB8 80240338 03E00008 */ jr $ra +/* EF7DBC 8024033C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EF7A80/func_80240340_EF7DC0.s b/asm/nonmatchings/code_EF7A80/func_80240340_EF7DC0.s new file mode 100644 index 0000000000..1d75a809aa --- /dev/null +++ b/asm/nonmatchings/code_EF7A80/func_80240340_EF7DC0.s @@ -0,0 +1,25 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240340_EF7DC0 +/* EF7DC0 80240340 8C8400C0 */ lw $a0, 0xc0($a0) +/* EF7DC4 80240344 8C83000C */ lw $v1, 0xc($a0) +/* EF7DC8 80240348 24020045 */ addiu $v0, $zero, 0x45 +/* EF7DCC 8024034C AC620030 */ sw $v0, 0x30($v1) +/* EF7DD0 80240350 8C83000C */ lw $v1, 0xc($a0) +/* EF7DD4 80240354 240200FF */ addiu $v0, $zero, 0xff +/* EF7DD8 80240358 AC620034 */ sw $v0, 0x34($v1) +/* EF7DDC 8024035C 8C83000C */ lw $v1, 0xc($a0) +/* EF7DE0 80240360 240200D9 */ addiu $v0, $zero, 0xd9 +/* EF7DE4 80240364 AC620038 */ sw $v0, 0x38($v1) +/* EF7DE8 80240368 8C83000C */ lw $v1, 0xc($a0) +/* EF7DEC 8024036C 240200B0 */ addiu $v0, $zero, 0xb0 +/* EF7DF0 80240370 AC620040 */ sw $v0, 0x40($v1) +/* EF7DF4 80240374 8C83000C */ lw $v1, 0xc($a0) +/* EF7DF8 80240378 240200FE */ addiu $v0, $zero, 0xfe +/* EF7DFC 8024037C AC620044 */ sw $v0, 0x44($v1) +/* EF7E00 80240380 8C83000C */ lw $v1, 0xc($a0) +/* EF7E04 80240384 2402007C */ addiu $v0, $zero, 0x7c +/* EF7E08 80240388 AC620048 */ sw $v0, 0x48($v1) +/* EF7E0C 8024038C 03E00008 */ jr $ra +/* EF7E10 80240390 24020002 */ addiu $v0, $zero, 2 diff --git a/asm/nonmatchings/code_EF7A80/func_80240394_EF7E14.s b/asm/nonmatchings/code_EF7A80/func_80240394_EF7E14.s new file mode 100644 index 0000000000..3f5c5aea2e --- /dev/null +++ b/asm/nonmatchings/code_EF7A80/func_80240394_EF7E14.s @@ -0,0 +1,108 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240394_EF7E14 +/* EF7E14 80240394 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EF7E18 80240398 AFB20018 */ sw $s2, 0x18($sp) +/* EF7E1C 8024039C 0080902D */ daddu $s2, $a0, $zero +/* EF7E20 802403A0 AFBF0028 */ sw $ra, 0x28($sp) +/* EF7E24 802403A4 AFB50024 */ sw $s5, 0x24($sp) +/* EF7E28 802403A8 AFB40020 */ sw $s4, 0x20($sp) +/* EF7E2C 802403AC AFB3001C */ sw $s3, 0x1c($sp) +/* EF7E30 802403B0 AFB10014 */ sw $s1, 0x14($sp) +/* EF7E34 802403B4 AFB00010 */ sw $s0, 0x10($sp) +/* EF7E38 802403B8 F7B80040 */ sdc1 $f24, 0x40($sp) +/* EF7E3C 802403BC F7B60038 */ sdc1 $f22, 0x38($sp) +/* EF7E40 802403C0 F7B40030 */ sdc1 $f20, 0x30($sp) +/* EF7E44 802403C4 8E50000C */ lw $s0, 0xc($s2) +/* EF7E48 802403C8 8E140000 */ lw $s4, ($s0) +/* EF7E4C 802403CC 26100004 */ addiu $s0, $s0, 4 +/* EF7E50 802403D0 0C0B53A3 */ jal func_802D4E8C +/* EF7E54 802403D4 0280282D */ daddu $a1, $s4, $zero +/* EF7E58 802403D8 0040982D */ daddu $s3, $v0, $zero +/* EF7E5C 802403DC 8E150000 */ lw $s5, ($s0) +/* EF7E60 802403E0 26100004 */ addiu $s0, $s0, 4 +/* EF7E64 802403E4 8E050000 */ lw $a1, ($s0) +/* EF7E68 802403E8 26100004 */ addiu $s0, $s0, 4 +/* EF7E6C 802403EC 0C0B55FF */ jal func_802D57FC +/* EF7E70 802403F0 0240202D */ daddu $a0, $s2, $zero +/* EF7E74 802403F4 8E050000 */ lw $a1, ($s0) +/* EF7E78 802403F8 26100004 */ addiu $s0, $s0, 4 +/* EF7E7C 802403FC 0240202D */ daddu $a0, $s2, $zero +/* EF7E80 80240400 0C0B55FF */ jal func_802D57FC +/* EF7E84 80240404 46000606 */ mov.s $f24, $f0 +/* EF7E88 80240408 8E050000 */ lw $a1, ($s0) +/* EF7E8C 8024040C 26100004 */ addiu $s0, $s0, 4 +/* EF7E90 80240410 0240202D */ daddu $a0, $s2, $zero +/* EF7E94 80240414 0C0B53A3 */ jal func_802D4E8C +/* EF7E98 80240418 46000506 */ mov.s $f20, $f0 +/* EF7E9C 8024041C 8E050000 */ lw $a1, ($s0) +/* EF7EA0 80240420 26100004 */ addiu $s0, $s0, 4 +/* EF7EA4 80240424 0240202D */ daddu $a0, $s2, $zero +/* EF7EA8 80240428 0C0B53A3 */ jal func_802D4E8C +/* EF7EAC 8024042C 0040882D */ daddu $s1, $v0, $zero +/* EF7EB0 80240430 0240202D */ daddu $a0, $s2, $zero +/* EF7EB4 80240434 8E050000 */ lw $a1, ($s0) +/* EF7EB8 80240438 0C0B55FF */ jal func_802D57FC +/* EF7EBC 8024043C 0040802D */ daddu $s0, $v0, $zero +/* EF7EC0 80240440 3C014334 */ lui $at, 0x4334 +/* EF7EC4 80240444 44811000 */ mtc1 $at, $f2 +/* EF7EC8 80240448 3C014049 */ lui $at, 0x4049 +/* EF7ECC 8024044C 34210FD8 */ ori $at, $at, 0xfd8 +/* EF7ED0 80240450 44812000 */ mtc1 $at, $f4 +/* EF7ED4 80240454 46020003 */ div.s $f0, $f0, $f2 +/* EF7ED8 80240458 46040582 */ mul.s $f22, $f0, $f4 +/* EF7EDC 8024045C 00000000 */ nop +/* EF7EE0 80240460 4618A501 */ sub.s $f20, $f20, $f24 +/* EF7EE4 80240464 3C013F00 */ lui $at, 0x3f00 +/* EF7EE8 80240468 44810000 */ mtc1 $at, $f0 +/* EF7EEC 8024046C 00000000 */ nop +/* EF7EF0 80240470 4600A502 */ mul.s $f20, $f20, $f0 +/* EF7EF4 80240474 00000000 */ nop +/* EF7EF8 80240478 12000007 */ beqz $s0, .L80240498 +/* EF7EFC 8024047C 0233102A */ slt $v0, $s1, $s3 +/* EF7F00 80240480 10400005 */ beqz $v0, .L80240498 +/* EF7F04 80240484 0240202D */ daddu $a0, $s2, $zero +/* EF7F08 80240488 0220982D */ daddu $s3, $s1, $zero +/* EF7F0C 8024048C 0280282D */ daddu $a1, $s4, $zero +/* EF7F10 80240490 0C0B551A */ jal func_802D5468 +/* EF7F14 80240494 0220302D */ daddu $a2, $s1, $zero +.L80240498: +/* EF7F18 80240498 3C014049 */ lui $at, 0x4049 +/* EF7F1C 8024049C 34210FD8 */ ori $at, $at, 0xfd8 +/* EF7F20 802404A0 44810000 */ mtc1 $at, $f0 +/* EF7F24 802404A4 44936000 */ mtc1 $s3, $f12 +/* EF7F28 802404A8 00000000 */ nop +/* EF7F2C 802404AC 46806320 */ cvt.s.w $f12, $f12 +/* EF7F30 802404B0 46006302 */ mul.s $f12, $f12, $f0 +/* EF7F34 802404B4 00000000 */ nop +/* EF7F38 802404B8 44910000 */ mtc1 $s1, $f0 +/* EF7F3C 802404BC 00000000 */ nop +/* EF7F40 802404C0 46800020 */ cvt.s.w $f0, $f0 +/* EF7F44 802404C4 46006303 */ div.s $f12, $f12, $f0 +/* EF7F48 802404C8 0C00AD30 */ jal func_8002B4C0 +/* EF7F4C 802404CC 46166300 */ add.s $f12, $f12, $f22 +/* EF7F50 802404D0 4600A002 */ mul.s $f0, $f20, $f0 +/* EF7F54 802404D4 00000000 */ nop +/* EF7F58 802404D8 4614C080 */ add.s $f2, $f24, $f20 +/* EF7F5C 802404DC 46001081 */ sub.s $f2, $f2, $f0 +/* EF7F60 802404E0 0240202D */ daddu $a0, $s2, $zero +/* EF7F64 802404E4 44061000 */ mfc1 $a2, $f2 +/* EF7F68 802404E8 0C0B5684 */ jal func_802D5A10 +/* EF7F6C 802404EC 02A0282D */ daddu $a1, $s5, $zero +/* EF7F70 802404F0 8FBF0028 */ lw $ra, 0x28($sp) +/* EF7F74 802404F4 8FB50024 */ lw $s5, 0x24($sp) +/* EF7F78 802404F8 8FB40020 */ lw $s4, 0x20($sp) +/* EF7F7C 802404FC 8FB3001C */ lw $s3, 0x1c($sp) +/* EF7F80 80240500 8FB20018 */ lw $s2, 0x18($sp) +/* EF7F84 80240504 8FB10014 */ lw $s1, 0x14($sp) +/* EF7F88 80240508 8FB00010 */ lw $s0, 0x10($sp) +/* EF7F8C 8024050C D7B80040 */ ldc1 $f24, 0x40($sp) +/* EF7F90 80240510 D7B60038 */ ldc1 $f22, 0x38($sp) +/* EF7F94 80240514 D7B40030 */ ldc1 $f20, 0x30($sp) +/* EF7F98 80240518 24020002 */ addiu $v0, $zero, 2 +/* EF7F9C 8024051C 03E00008 */ jr $ra +/* EF7FA0 80240520 27BD0048 */ addiu $sp, $sp, 0x48 +/* EF7FA4 80240524 00000000 */ nop +/* EF7FA8 80240528 00000000 */ nop +/* EF7FAC 8024052C 00000000 */ nop diff --git a/asm/nonmatchings/code_EF7FB0/func_80240530_EF7FB0.s b/asm/nonmatchings/code_EF7FB0/func_80240530_EF7FB0.s new file mode 100644 index 0000000000..5501498f37 --- /dev/null +++ b/asm/nonmatchings/code_EF7FB0/func_80240530_EF7FB0.s @@ -0,0 +1,28 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240530_EF7FB0 +/* EF7FB0 80240530 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EF7FB4 80240534 AFB00010 */ sw $s0, 0x10($sp) +/* EF7FB8 80240538 0080802D */ daddu $s0, $a0, $zero +/* EF7FBC 8024053C AFBF0014 */ sw $ra, 0x14($sp) +/* EF7FC0 80240540 C60C0084 */ lwc1 $f12, 0x84($s0) +/* EF7FC4 80240544 46806320 */ cvt.s.w $f12, $f12 +/* EF7FC8 80240548 C6020090 */ lwc1 $f2, 0x90($s0) +/* EF7FCC 8024054C 468010A0 */ cvt.s.w $f2, $f2 +/* EF7FD0 80240550 44061000 */ mfc1 $a2, $f2 +/* EF7FD4 80240554 C6020098 */ lwc1 $f2, 0x98($s0) +/* EF7FD8 80240558 468010A0 */ cvt.s.w $f2, $f2 +/* EF7FDC 8024055C 44071000 */ mfc1 $a3, $f2 +/* EF7FE0 80240560 C60E008C */ lwc1 $f14, 0x8c($s0) +/* EF7FE4 80240564 0C00ABDC */ jal fio_validate_header_checksums +/* EF7FE8 80240568 468073A0 */ cvt.s.w $f14, $f14 +/* EF7FEC 8024056C 4600008D */ trunc.w.s $f2, $f0 +/* EF7FF0 80240570 E60200AC */ swc1 $f2, 0xac($s0) +/* EF7FF4 80240574 8FBF0014 */ lw $ra, 0x14($sp) +/* EF7FF8 80240578 8FB00010 */ lw $s0, 0x10($sp) +/* EF7FFC 8024057C 24020002 */ addiu $v0, $zero, 2 +/* EF8000 80240580 03E00008 */ jr $ra +/* EF8004 80240584 27BD0018 */ addiu $sp, $sp, 0x18 +/* EF8008 80240588 00000000 */ nop +/* EF800C 8024058C 00000000 */ nop diff --git a/asm/nonmatchings/code_EF8010/func_80240590_EF8010.s b/asm/nonmatchings/code_EF8010/func_80240590_EF8010.s new file mode 100644 index 0000000000..0f6490f665 --- /dev/null +++ b/asm/nonmatchings/code_EF8010/func_80240590_EF8010.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240590_EF8010 +/* EF8010 80240590 27BDFFD0 */ addiu $sp, $sp, -0x30 +/* EF8014 80240594 F7B40018 */ sdc1 $f20, 0x18($sp) +/* EF8018 80240598 4485A000 */ mtc1 $a1, $f20 +/* EF801C 8024059C F7B60020 */ sdc1 $f22, 0x20($sp) +/* EF8020 802405A0 4486B000 */ mtc1 $a2, $f22 +/* EF8024 802405A4 AFB00010 */ sw $s0, 0x10($sp) +/* EF8028 802405A8 F7B80028 */ sdc1 $f24, 0x28($sp) +/* EF802C 802405AC 4487C000 */ mtc1 $a3, $f24 +/* EF8030 802405B0 AFBF0014 */ sw $ra, 0x14($sp) +/* EF8034 802405B4 0C01B198 */ jal osGetCause +/* EF8038 802405B8 0080802D */ daddu $s0, $a0, $zero +/* EF803C 802405BC 4616A582 */ mul.s $f22, $f20, $f22 +/* EF8040 802405C0 00000000 */ nop +/* EF8044 802405C4 4618A502 */ mul.s $f20, $f20, $f24 +/* EF8048 802405C8 00000000 */ nop +/* EF804C 802405CC 3C013F80 */ lui $at, 0x3f80 +/* EF8050 802405D0 44810000 */ mtc1 $at, $f0 +/* EF8054 802405D4 00000000 */ nop +/* EF8058 802405D8 E6000014 */ swc1 $f0, 0x14($s0) +/* EF805C 802405DC E6160010 */ swc1 $f22, 0x10($s0) +/* EF8060 802405E0 E6140018 */ swc1 $f20, 0x18($s0) +/* EF8064 802405E4 8FBF0014 */ lw $ra, 0x14($sp) +/* EF8068 802405E8 8FB00010 */ lw $s0, 0x10($sp) +/* EF806C 802405EC D7B80028 */ ldc1 $f24, 0x28($sp) +/* EF8070 802405F0 D7B60020 */ ldc1 $f22, 0x20($sp) +/* EF8074 802405F4 D7B40018 */ ldc1 $f20, 0x18($sp) +/* EF8078 802405F8 03E00008 */ jr $ra +/* EF807C 802405FC 27BD0030 */ addiu $sp, $sp, 0x30 diff --git a/asm/nonmatchings/code_EF8010/func_80240600_EF8080.s b/asm/nonmatchings/code_EF8010/func_80240600_EF8080.s new file mode 100644 index 0000000000..6b42edb237 --- /dev/null +++ b/asm/nonmatchings/code_EF8010/func_80240600_EF8080.s @@ -0,0 +1,122 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240600_EF8080 +/* EF8080 80240600 27BDFF78 */ addiu $sp, $sp, -0x88 +/* EF8084 80240604 AFB10054 */ sw $s1, 0x54($sp) +/* EF8088 80240608 0080882D */ daddu $s1, $a0, $zero +/* EF808C 8024060C AFBF005C */ sw $ra, 0x5c($sp) +/* EF8090 80240610 AFB20058 */ sw $s2, 0x58($sp) +/* EF8094 80240614 AFB00050 */ sw $s0, 0x50($sp) +/* EF8098 80240618 F7BC0080 */ sdc1 $f28, 0x80($sp) +/* EF809C 8024061C F7BA0078 */ sdc1 $f26, 0x78($sp) +/* EF80A0 80240620 F7B80070 */ sdc1 $f24, 0x70($sp) +/* EF80A4 80240624 F7B60068 */ sdc1 $f22, 0x68($sp) +/* EF80A8 80240628 F7B40060 */ sdc1 $f20, 0x60($sp) +/* EF80AC 8024062C 8E30000C */ lw $s0, 0xc($s1) +/* EF80B0 80240630 8E050000 */ lw $a1, ($s0) +/* EF80B4 80240634 0C0B53A3 */ jal func_802D4E8C +/* EF80B8 80240638 26100004 */ addiu $s0, $s0, 4 +/* EF80BC 8024063C 0C04949C */ jal func_80125270 +/* EF80C0 80240640 0040202D */ daddu $a0, $v0, $zero +/* EF80C4 80240644 8E050000 */ lw $a1, ($s0) +/* EF80C8 80240648 26100004 */ addiu $s0, $s0, 4 +/* EF80CC 8024064C 0220202D */ daddu $a0, $s1, $zero +/* EF80D0 80240650 0C0B55FF */ jal func_802D57FC +/* EF80D4 80240654 0040902D */ daddu $s2, $v0, $zero +/* EF80D8 80240658 8E050000 */ lw $a1, ($s0) +/* EF80DC 8024065C 26100004 */ addiu $s0, $s0, 4 +/* EF80E0 80240660 0220202D */ daddu $a0, $s1, $zero +/* EF80E4 80240664 0C0B55FF */ jal func_802D57FC +/* EF80E8 80240668 46000706 */ mov.s $f28, $f0 +/* EF80EC 8024066C 8E050000 */ lw $a1, ($s0) +/* EF80F0 80240670 26100004 */ addiu $s0, $s0, 4 +/* EF80F4 80240674 0220202D */ daddu $a0, $s1, $zero +/* EF80F8 80240678 0C0B55FF */ jal func_802D57FC +/* EF80FC 8024067C 46000686 */ mov.s $f26, $f0 +/* EF8100 80240680 0220202D */ daddu $a0, $s1, $zero +/* EF8104 80240684 8E050000 */ lw $a1, ($s0) +/* EF8108 80240688 0C0B55FF */ jal func_802D57FC +/* EF810C 8024068C 46000586 */ mov.s $f22, $f0 +/* EF8110 80240690 0240202D */ daddu $a0, $s2, $zero +/* EF8114 80240694 0C0493D1 */ jal func_80124F44 +/* EF8118 80240698 46000606 */ mov.s $f24, $f0 +/* EF811C 8024069C 0040882D */ daddu $s1, $v0, $zero +/* EF8120 802406A0 96220000 */ lhu $v0, ($s1) +/* EF8124 802406A4 30420400 */ andi $v0, $v0, 0x400 +/* EF8128 802406A8 1440001E */ bnez $v0, .L80240724 +/* EF812C 802406AC 26300058 */ addiu $s0, $s1, 0x58 +/* EF8130 802406B0 4480A000 */ mtc1 $zero, $f20 +/* EF8134 802406B4 4406B000 */ mfc1 $a2, $f22 +/* EF8138 802406B8 4405A000 */ mfc1 $a1, $f20 +/* EF813C 802406BC 4407A000 */ mfc1 $a3, $f20 +/* EF8140 802406C0 0C01B2B0 */ jal func_8006CAC0 +/* EF8144 802406C4 0200202D */ daddu $a0, $s0, $zero +/* EF8148 802406C8 4405E000 */ mfc1 $a1, $f28 +/* EF814C 802406CC 4406D000 */ mfc1 $a2, $f26 +/* EF8150 802406D0 4407C000 */ mfc1 $a3, $f24 +/* EF8154 802406D4 0C090164 */ jal func_80240590_EF8010 +/* EF8158 802406D8 27A40010 */ addiu $a0, $sp, 0x10 +/* EF815C 802406DC 27A40010 */ addiu $a0, $sp, 0x10 +/* EF8160 802406E0 0200282D */ daddu $a1, $s0, $zero +/* EF8164 802406E4 0C01B1F0 */ jal osSiRawReadIo +/* EF8168 802406E8 0200302D */ daddu $a2, $s0, $zero +/* EF816C 802406EC 27A40010 */ addiu $a0, $sp, 0x10 +/* EF8170 802406F0 4600B587 */ neg.s $f22, $f22 +/* EF8174 802406F4 4405A000 */ mfc1 $a1, $f20 +/* EF8178 802406F8 4406B000 */ mfc1 $a2, $f22 +/* EF817C 802406FC 0C01B2B0 */ jal func_8006CAC0 +/* EF8180 80240700 00A0382D */ daddu $a3, $a1, $zero +/* EF8184 80240704 27A40010 */ addiu $a0, $sp, 0x10 +/* EF8188 80240708 0200282D */ daddu $a1, $s0, $zero +/* EF818C 8024070C 0C01B1F0 */ jal osSiRawReadIo +/* EF8190 80240710 00A0302D */ daddu $a2, $a1, $zero +/* EF8194 80240714 96220000 */ lhu $v0, ($s1) +/* EF8198 80240718 34421400 */ ori $v0, $v0, 0x1400 +/* EF819C 8024071C 080901E7 */ j .L8024079C +/* EF81A0 80240720 A6220000 */ sh $v0, ($s1) +.L80240724: +/* EF81A4 80240724 4480A000 */ mtc1 $zero, $f20 +/* EF81A8 80240728 4406B000 */ mfc1 $a2, $f22 +/* EF81AC 8024072C 4405A000 */ mfc1 $a1, $f20 +/* EF81B0 80240730 4407A000 */ mfc1 $a3, $f20 +/* EF81B4 80240734 0C01B2B0 */ jal func_8006CAC0 +/* EF81B8 80240738 27A40010 */ addiu $a0, $sp, 0x10 +/* EF81BC 8024073C 27A40010 */ addiu $a0, $sp, 0x10 +/* EF81C0 80240740 26300058 */ addiu $s0, $s1, 0x58 +/* EF81C4 80240744 0200282D */ daddu $a1, $s0, $zero +/* EF81C8 80240748 0C01B1F0 */ jal osSiRawReadIo +/* EF81CC 8024074C 0200302D */ daddu $a2, $s0, $zero +/* EF81D0 80240750 4405E000 */ mfc1 $a1, $f28 +/* EF81D4 80240754 4406D000 */ mfc1 $a2, $f26 +/* EF81D8 80240758 4407C000 */ mfc1 $a3, $f24 +/* EF81DC 8024075C 0C090164 */ jal func_80240590_EF8010 +/* EF81E0 80240760 27A40010 */ addiu $a0, $sp, 0x10 +/* EF81E4 80240764 27A40010 */ addiu $a0, $sp, 0x10 +/* EF81E8 80240768 0200282D */ daddu $a1, $s0, $zero +/* EF81EC 8024076C 0C01B1F0 */ jal osSiRawReadIo +/* EF81F0 80240770 0200302D */ daddu $a2, $s0, $zero +/* EF81F4 80240774 27A40010 */ addiu $a0, $sp, 0x10 +/* EF81F8 80240778 4600B587 */ neg.s $f22, $f22 +/* EF81FC 8024077C 4405A000 */ mfc1 $a1, $f20 +/* EF8200 80240780 4406B000 */ mfc1 $a2, $f22 +/* EF8204 80240784 0C01B2B0 */ jal func_8006CAC0 +/* EF8208 80240788 00A0382D */ daddu $a3, $a1, $zero +/* EF820C 8024078C 27A40010 */ addiu $a0, $sp, 0x10 +/* EF8210 80240790 0200282D */ daddu $a1, $s0, $zero +/* EF8214 80240794 0C01B1F0 */ jal osSiRawReadIo +/* EF8218 80240798 00A0302D */ daddu $a2, $a1, $zero +.L8024079C: +/* EF821C 8024079C 8FBF005C */ lw $ra, 0x5c($sp) +/* EF8220 802407A0 8FB20058 */ lw $s2, 0x58($sp) +/* EF8224 802407A4 8FB10054 */ lw $s1, 0x54($sp) +/* EF8228 802407A8 8FB00050 */ lw $s0, 0x50($sp) +/* EF822C 802407AC D7BC0080 */ ldc1 $f28, 0x80($sp) +/* EF8230 802407B0 D7BA0078 */ ldc1 $f26, 0x78($sp) +/* EF8234 802407B4 D7B80070 */ ldc1 $f24, 0x70($sp) +/* EF8238 802407B8 D7B60068 */ ldc1 $f22, 0x68($sp) +/* EF823C 802407BC D7B40060 */ ldc1 $f20, 0x60($sp) +/* EF8240 802407C0 24020002 */ addiu $v0, $zero, 2 +/* EF8244 802407C4 03E00008 */ jr $ra +/* EF8248 802407C8 27BD0088 */ addiu $sp, $sp, 0x88 +/* EF824C 802407CC 00000000 */ nop diff --git a/asm/nonmatchings/code_EFEB00/func_80240000_EFEB00.s b/asm/nonmatchings/code_EFEB00/func_80240000_EFEB00.s new file mode 100644 index 0000000000..d208483c6b --- /dev/null +++ b/asm/nonmatchings/code_EFEB00/func_80240000_EFEB00.s @@ -0,0 +1,89 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240000_EFEB00 +/* EFEB00 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EFEB04 80240004 AFB00010 */ sw $s0, 0x10($sp) +/* EFEB08 80240008 0080802D */ daddu $s0, $a0, $zero +/* EFEB0C 8024000C AFBF0014 */ sw $ra, 0x14($sp) +/* EFEB10 80240010 8E0300A8 */ lw $v1, 0xa8($s0) +/* EFEB14 80240014 8E020088 */ lw $v0, 0x88($s0) +/* EFEB18 80240018 00621821 */ addu $v1, $v1, $v0 +/* EFEB1C 8024001C 04610004 */ bgez $v1, .L80240030 +/* EFEB20 80240020 AE0300A8 */ sw $v1, 0xa8($s0) +/* EFEB24 80240024 3C020002 */ lui $v0, 2 +/* EFEB28 80240028 08090010 */ j .L80240040 +/* EFEB2C 8024002C 00621021 */ addu $v0, $v1, $v0 +.L80240030: +/* EFEB30 80240030 3C040002 */ lui $a0, 2 +/* EFEB34 80240034 0083102A */ slt $v0, $a0, $v1 +/* EFEB38 80240038 10400002 */ beqz $v0, .L80240044 +/* EFEB3C 8024003C 00641023 */ subu $v0, $v1, $a0 +.L80240040: +/* EFEB40 80240040 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240044: +/* EFEB44 80240044 8E0300AC */ lw $v1, 0xac($s0) +/* EFEB48 80240048 8E02008C */ lw $v0, 0x8c($s0) +/* EFEB4C 8024004C 00621821 */ addu $v1, $v1, $v0 +/* EFEB50 80240050 04610004 */ bgez $v1, .L80240064 +/* EFEB54 80240054 AE0300AC */ sw $v1, 0xac($s0) +/* EFEB58 80240058 3C020002 */ lui $v0, 2 +/* EFEB5C 8024005C 0809001D */ j .L80240074 +/* EFEB60 80240060 00621021 */ addu $v0, $v1, $v0 +.L80240064: +/* EFEB64 80240064 3C040002 */ lui $a0, 2 +/* EFEB68 80240068 0083102A */ slt $v0, $a0, $v1 +/* EFEB6C 8024006C 10400002 */ beqz $v0, .L80240078 +/* EFEB70 80240070 00641023 */ subu $v0, $v1, $a0 +.L80240074: +/* EFEB74 80240074 AE0200AC */ sw $v0, 0xac($s0) +.L80240078: +/* EFEB78 80240078 8E0300B0 */ lw $v1, 0xb0($s0) +/* EFEB7C 8024007C 8E020090 */ lw $v0, 0x90($s0) +/* EFEB80 80240080 00621821 */ addu $v1, $v1, $v0 +/* EFEB84 80240084 04610004 */ bgez $v1, .L80240098 +/* EFEB88 80240088 AE0300B0 */ sw $v1, 0xb0($s0) +/* EFEB8C 8024008C 3C020002 */ lui $v0, 2 +/* EFEB90 80240090 0809002A */ j .L802400A8 +/* EFEB94 80240094 00621021 */ addu $v0, $v1, $v0 +.L80240098: +/* EFEB98 80240098 3C040002 */ lui $a0, 2 +/* EFEB9C 8024009C 0083102A */ slt $v0, $a0, $v1 +/* EFEBA0 802400A0 10400002 */ beqz $v0, .L802400AC +/* EFEBA4 802400A4 00641023 */ subu $v0, $v1, $a0 +.L802400A8: +/* EFEBA8 802400A8 AE0200B0 */ sw $v0, 0xb0($s0) +.L802400AC: +/* EFEBAC 802400AC 8E0300B4 */ lw $v1, 0xb4($s0) +/* EFEBB0 802400B0 8E020094 */ lw $v0, 0x94($s0) +/* EFEBB4 802400B4 00621821 */ addu $v1, $v1, $v0 +/* EFEBB8 802400B8 04610004 */ bgez $v1, .L802400CC +/* EFEBBC 802400BC AE0300B4 */ sw $v1, 0xb4($s0) +/* EFEBC0 802400C0 3C020002 */ lui $v0, 2 +/* EFEBC4 802400C4 08090037 */ j .L802400DC +/* EFEBC8 802400C8 00621021 */ addu $v0, $v1, $v0 +.L802400CC: +/* EFEBCC 802400CC 3C040002 */ lui $a0, 2 +/* EFEBD0 802400D0 0083102A */ slt $v0, $a0, $v1 +/* EFEBD4 802400D4 10400002 */ beqz $v0, .L802400E0 +/* EFEBD8 802400D8 00641023 */ subu $v0, $v1, $a0 +.L802400DC: +/* EFEBDC 802400DC AE0200B4 */ sw $v0, 0xb4($s0) +.L802400E0: +/* EFEBE0 802400E0 8E040084 */ lw $a0, 0x84($s0) +/* EFEBE4 802400E4 0C049819 */ jal func_80126064 +/* EFEBE8 802400E8 8E0500A8 */ lw $a1, 0xa8($s0) +/* EFEBEC 802400EC 8E040084 */ lw $a0, 0x84($s0) +/* EFEBF0 802400F0 0C04981F */ jal func_8012607C +/* EFEBF4 802400F4 8E0500AC */ lw $a1, 0xac($s0) +/* EFEBF8 802400F8 8E040084 */ lw $a0, 0x84($s0) +/* EFEBFC 802400FC 0C049825 */ jal func_80126094 +/* EFEC00 80240100 8E0500B0 */ lw $a1, 0xb0($s0) +/* EFEC04 80240104 8E040084 */ lw $a0, 0x84($s0) +/* EFEC08 80240108 0C04982B */ jal func_801260AC +/* EFEC0C 8024010C 8E0500B4 */ lw $a1, 0xb4($s0) +/* EFEC10 80240110 8FBF0014 */ lw $ra, 0x14($sp) +/* EFEC14 80240114 8FB00010 */ lw $s0, 0x10($sp) +/* EFEC18 80240118 0000102D */ daddu $v0, $zero, $zero +/* EFEC1C 8024011C 03E00008 */ jr $ra +/* EFEC20 80240120 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EFEB00/func_80240124_EFEC24.s b/asm/nonmatchings/code_EFEB00/func_80240124_EFEC24.s new file mode 100644 index 0000000000..6de3abae8b --- /dev/null +++ b/asm/nonmatchings/code_EFEB00/func_80240124_EFEC24.s @@ -0,0 +1,143 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240124_EFEC24 +/* EFEC24 80240124 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EFEC28 80240128 AFB00010 */ sw $s0, 0x10($sp) +/* EFEC2C 8024012C 0080802D */ daddu $s0, $a0, $zero +/* EFEC30 80240130 10A00005 */ beqz $a1, .L80240148 +/* EFEC34 80240134 AFBF0014 */ sw $ra, 0x14($sp) +/* EFEC38 80240138 AE000070 */ sw $zero, 0x70($s0) +/* EFEC3C 8024013C AE000074 */ sw $zero, 0x74($s0) +/* EFEC40 80240140 AE000078 */ sw $zero, 0x78($s0) +/* EFEC44 80240144 AE00007C */ sw $zero, 0x7c($s0) +.L80240148: +/* EFEC48 80240148 8E020070 */ lw $v0, 0x70($s0) +/* EFEC4C 8024014C 1440000E */ bnez $v0, .L80240188 +/* EFEC50 80240150 00000000 */ nop +/* EFEC54 80240154 8E0300A8 */ lw $v1, 0xa8($s0) +/* EFEC58 80240158 8E020088 */ lw $v0, 0x88($s0) +/* EFEC5C 8024015C 00621821 */ addu $v1, $v1, $v0 +/* EFEC60 80240160 04610004 */ bgez $v1, .L80240174 +/* EFEC64 80240164 AE0300A8 */ sw $v1, 0xa8($s0) +/* EFEC68 80240168 3C020002 */ lui $v0, 2 +/* EFEC6C 8024016C 08090061 */ j .L80240184 +/* EFEC70 80240170 00621021 */ addu $v0, $v1, $v0 +.L80240174: +/* EFEC74 80240174 3C040002 */ lui $a0, 2 +/* EFEC78 80240178 0083102A */ slt $v0, $a0, $v1 +/* EFEC7C 8024017C 10400002 */ beqz $v0, .L80240188 +/* EFEC80 80240180 00641023 */ subu $v0, $v1, $a0 +.L80240184: +/* EFEC84 80240184 AE0200A8 */ sw $v0, 0xa8($s0) +.L80240188: +/* EFEC88 80240188 8E020074 */ lw $v0, 0x74($s0) +/* EFEC8C 8024018C 1440000E */ bnez $v0, .L802401C8 +/* EFEC90 80240190 00000000 */ nop +/* EFEC94 80240194 8E0300AC */ lw $v1, 0xac($s0) +/* EFEC98 80240198 8E02008C */ lw $v0, 0x8c($s0) +/* EFEC9C 8024019C 00621821 */ addu $v1, $v1, $v0 +/* EFECA0 802401A0 04610004 */ bgez $v1, .L802401B4 +/* EFECA4 802401A4 AE0300AC */ sw $v1, 0xac($s0) +/* EFECA8 802401A8 3C020002 */ lui $v0, 2 +/* EFECAC 802401AC 08090071 */ j .L802401C4 +/* EFECB0 802401B0 00621021 */ addu $v0, $v1, $v0 +.L802401B4: +/* EFECB4 802401B4 3C040002 */ lui $a0, 2 +/* EFECB8 802401B8 0083102A */ slt $v0, $a0, $v1 +/* EFECBC 802401BC 10400002 */ beqz $v0, .L802401C8 +/* EFECC0 802401C0 00641023 */ subu $v0, $v1, $a0 +.L802401C4: +/* EFECC4 802401C4 AE0200AC */ sw $v0, 0xac($s0) +.L802401C8: +/* EFECC8 802401C8 8E020078 */ lw $v0, 0x78($s0) +/* EFECCC 802401CC 1440000E */ bnez $v0, .L80240208 +/* EFECD0 802401D0 00000000 */ nop +/* EFECD4 802401D4 8E0300B0 */ lw $v1, 0xb0($s0) +/* EFECD8 802401D8 8E020090 */ lw $v0, 0x90($s0) +/* EFECDC 802401DC 00621821 */ addu $v1, $v1, $v0 +/* EFECE0 802401E0 04610004 */ bgez $v1, .L802401F4 +/* EFECE4 802401E4 AE0300B0 */ sw $v1, 0xb0($s0) +/* EFECE8 802401E8 3C020002 */ lui $v0, 2 +/* EFECEC 802401EC 08090081 */ j .L80240204 +/* EFECF0 802401F0 00621021 */ addu $v0, $v1, $v0 +.L802401F4: +/* EFECF4 802401F4 3C040002 */ lui $a0, 2 +/* EFECF8 802401F8 0083102A */ slt $v0, $a0, $v1 +/* EFECFC 802401FC 10400002 */ beqz $v0, .L80240208 +/* EFED00 80240200 00641023 */ subu $v0, $v1, $a0 +.L80240204: +/* EFED04 80240204 AE0200B0 */ sw $v0, 0xb0($s0) +.L80240208: +/* EFED08 80240208 8E02007C */ lw $v0, 0x7c($s0) +/* EFED0C 8024020C 1440000E */ bnez $v0, .L80240248 +/* EFED10 80240210 00000000 */ nop +/* EFED14 80240214 8E0300B4 */ lw $v1, 0xb4($s0) +/* EFED18 80240218 8E020094 */ lw $v0, 0x94($s0) +/* EFED1C 8024021C 00621821 */ addu $v1, $v1, $v0 +/* EFED20 80240220 04610004 */ bgez $v1, .L80240234 +/* EFED24 80240224 AE0300B4 */ sw $v1, 0xb4($s0) +/* EFED28 80240228 3C020002 */ lui $v0, 2 +/* EFED2C 8024022C 08090091 */ j .L80240244 +/* EFED30 80240230 00621021 */ addu $v0, $v1, $v0 +.L80240234: +/* EFED34 80240234 3C040002 */ lui $a0, 2 +/* EFED38 80240238 0083102A */ slt $v0, $a0, $v1 +/* EFED3C 8024023C 10400002 */ beqz $v0, .L80240248 +/* EFED40 80240240 00641023 */ subu $v0, $v1, $a0 +.L80240244: +/* EFED44 80240244 AE0200B4 */ sw $v0, 0xb4($s0) +.L80240248: +/* EFED48 80240248 8E040084 */ lw $a0, 0x84($s0) +/* EFED4C 8024024C 0C049819 */ jal func_80126064 +/* EFED50 80240250 8E0500A8 */ lw $a1, 0xa8($s0) +/* EFED54 80240254 8E040084 */ lw $a0, 0x84($s0) +/* EFED58 80240258 0C04981F */ jal func_8012607C +/* EFED5C 8024025C 8E0500AC */ lw $a1, 0xac($s0) +/* EFED60 80240260 8E040084 */ lw $a0, 0x84($s0) +/* EFED64 80240264 0C049825 */ jal func_80126094 +/* EFED68 80240268 8E0500B0 */ lw $a1, 0xb0($s0) +/* EFED6C 8024026C 8E040084 */ lw $a0, 0x84($s0) +/* EFED70 80240270 0C04982B */ jal func_801260AC +/* EFED74 80240274 8E0500B4 */ lw $a1, 0xb4($s0) +/* EFED78 80240278 8E020070 */ lw $v0, 0x70($s0) +/* EFED7C 8024027C 8E030078 */ lw $v1, 0x78($s0) +/* EFED80 80240280 8E040098 */ lw $a0, 0x98($s0) +/* EFED84 80240284 24420001 */ addiu $v0, $v0, 1 +/* EFED88 80240288 AE020070 */ sw $v0, 0x70($s0) +/* EFED8C 8024028C 8E020074 */ lw $v0, 0x74($s0) +/* EFED90 80240290 24630001 */ addiu $v1, $v1, 1 +/* EFED94 80240294 AE030078 */ sw $v1, 0x78($s0) +/* EFED98 80240298 8E030070 */ lw $v1, 0x70($s0) +/* EFED9C 8024029C 24420001 */ addiu $v0, $v0, 1 +/* EFEDA0 802402A0 AE020074 */ sw $v0, 0x74($s0) +/* EFEDA4 802402A4 8E02007C */ lw $v0, 0x7c($s0) +/* EFEDA8 802402A8 0064182A */ slt $v1, $v1, $a0 +/* EFEDAC 802402AC 24420001 */ addiu $v0, $v0, 1 +/* EFEDB0 802402B0 14600002 */ bnez $v1, .L802402BC +/* EFEDB4 802402B4 AE02007C */ sw $v0, 0x7c($s0) +/* EFEDB8 802402B8 AE000070 */ sw $zero, 0x70($s0) +.L802402BC: +/* EFEDBC 802402BC 8E020074 */ lw $v0, 0x74($s0) +/* EFEDC0 802402C0 8E03009C */ lw $v1, 0x9c($s0) +/* EFEDC4 802402C4 0043102A */ slt $v0, $v0, $v1 +/* EFEDC8 802402C8 50400001 */ beql $v0, $zero, .L802402D0 +/* EFEDCC 802402CC AE000074 */ sw $zero, 0x74($s0) +.L802402D0: +/* EFEDD0 802402D0 8E020078 */ lw $v0, 0x78($s0) +/* EFEDD4 802402D4 8E0300A0 */ lw $v1, 0xa0($s0) +/* EFEDD8 802402D8 0043102A */ slt $v0, $v0, $v1 +/* EFEDDC 802402DC 50400001 */ beql $v0, $zero, .L802402E4 +/* EFEDE0 802402E0 AE000078 */ sw $zero, 0x78($s0) +.L802402E4: +/* EFEDE4 802402E4 8E02007C */ lw $v0, 0x7c($s0) +/* EFEDE8 802402E8 8E0300A4 */ lw $v1, 0xa4($s0) +/* EFEDEC 802402EC 0043102A */ slt $v0, $v0, $v1 +/* EFEDF0 802402F0 50400001 */ beql $v0, $zero, .L802402F8 +/* EFEDF4 802402F4 AE00007C */ sw $zero, 0x7c($s0) +.L802402F8: +/* EFEDF8 802402F8 8FBF0014 */ lw $ra, 0x14($sp) +/* EFEDFC 802402FC 8FB00010 */ lw $s0, 0x10($sp) +/* EFEE00 80240300 0000102D */ daddu $v0, $zero, $zero +/* EFEE04 80240304 03E00008 */ jr $ra +/* EFEE08 80240308 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EFEB00/func_8024030C_EFEE0C.s b/asm/nonmatchings/code_EFEB00/func_8024030C_EFEE0C.s new file mode 100644 index 0000000000..2a44c1446c --- /dev/null +++ b/asm/nonmatchings/code_EFEB00/func_8024030C_EFEE0C.s @@ -0,0 +1,17 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_8024030C_EFEE0C +/* EFEE0C 8024030C 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EFEE10 80240310 24040001 */ addiu $a0, $zero, 1 +/* EFEE14 80240314 0000282D */ daddu $a1, $zero, $zero +/* EFEE18 80240318 00A0302D */ daddu $a2, $a1, $zero +/* EFEE1C 8024031C 00A0382D */ daddu $a3, $a1, $zero +/* EFEE20 80240320 AFBF0018 */ sw $ra, 0x18($sp) +/* EFEE24 80240324 AFA00010 */ sw $zero, 0x10($sp) +/* EFEE28 80240328 0C01DEF4 */ jal func_80077BD0 +/* EFEE2C 8024032C AFA00014 */ sw $zero, 0x14($sp) +/* EFEE30 80240330 8FBF0018 */ lw $ra, 0x18($sp) +/* EFEE34 80240334 24020002 */ addiu $v0, $zero, 2 +/* EFEE38 80240338 03E00008 */ jr $ra +/* EFEE3C 8024033C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EFEB00/func_80240340_EFEE40.s b/asm/nonmatchings/code_EFEB00/func_80240340_EFEE40.s new file mode 100644 index 0000000000..ce24a54627 --- /dev/null +++ b/asm/nonmatchings/code_EFEB00/func_80240340_EFEE40.s @@ -0,0 +1,105 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240340_EFEE40 +/* EFEE40 80240340 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EFEE44 80240344 AFB20018 */ sw $s2, 0x18($sp) +/* EFEE48 80240348 0080902D */ daddu $s2, $a0, $zero +/* EFEE4C 8024034C AFBF0028 */ sw $ra, 0x28($sp) +/* EFEE50 80240350 AFB50024 */ sw $s5, 0x24($sp) +/* EFEE54 80240354 AFB40020 */ sw $s4, 0x20($sp) +/* EFEE58 80240358 AFB3001C */ sw $s3, 0x1c($sp) +/* EFEE5C 8024035C AFB10014 */ sw $s1, 0x14($sp) +/* EFEE60 80240360 AFB00010 */ sw $s0, 0x10($sp) +/* EFEE64 80240364 F7B80040 */ sdc1 $f24, 0x40($sp) +/* EFEE68 80240368 F7B60038 */ sdc1 $f22, 0x38($sp) +/* EFEE6C 8024036C F7B40030 */ sdc1 $f20, 0x30($sp) +/* EFEE70 80240370 8E50000C */ lw $s0, 0xc($s2) +/* EFEE74 80240374 8E140000 */ lw $s4, ($s0) +/* EFEE78 80240378 26100004 */ addiu $s0, $s0, 4 +/* EFEE7C 8024037C 0C0B53A3 */ jal func_802D4E8C +/* EFEE80 80240380 0280282D */ daddu $a1, $s4, $zero +/* EFEE84 80240384 0040982D */ daddu $s3, $v0, $zero +/* EFEE88 80240388 8E150000 */ lw $s5, ($s0) +/* EFEE8C 8024038C 26100004 */ addiu $s0, $s0, 4 +/* EFEE90 80240390 8E050000 */ lw $a1, ($s0) +/* EFEE94 80240394 26100004 */ addiu $s0, $s0, 4 +/* EFEE98 80240398 0C0B55FF */ jal func_802D57FC +/* EFEE9C 8024039C 0240202D */ daddu $a0, $s2, $zero +/* EFEEA0 802403A0 8E050000 */ lw $a1, ($s0) +/* EFEEA4 802403A4 26100004 */ addiu $s0, $s0, 4 +/* EFEEA8 802403A8 0240202D */ daddu $a0, $s2, $zero +/* EFEEAC 802403AC 0C0B55FF */ jal func_802D57FC +/* EFEEB0 802403B0 46000606 */ mov.s $f24, $f0 +/* EFEEB4 802403B4 8E050000 */ lw $a1, ($s0) +/* EFEEB8 802403B8 26100004 */ addiu $s0, $s0, 4 +/* EFEEBC 802403BC 0240202D */ daddu $a0, $s2, $zero +/* EFEEC0 802403C0 0C0B53A3 */ jal func_802D4E8C +/* EFEEC4 802403C4 46000506 */ mov.s $f20, $f0 +/* EFEEC8 802403C8 8E050000 */ lw $a1, ($s0) +/* EFEECC 802403CC 26100004 */ addiu $s0, $s0, 4 +/* EFEED0 802403D0 0240202D */ daddu $a0, $s2, $zero +/* EFEED4 802403D4 0C0B53A3 */ jal func_802D4E8C +/* EFEED8 802403D8 0040882D */ daddu $s1, $v0, $zero +/* EFEEDC 802403DC 0240202D */ daddu $a0, $s2, $zero +/* EFEEE0 802403E0 8E050000 */ lw $a1, ($s0) +/* EFEEE4 802403E4 0C0B55FF */ jal func_802D57FC +/* EFEEE8 802403E8 0040802D */ daddu $s0, $v0, $zero +/* EFEEEC 802403EC 3C014334 */ lui $at, 0x4334 +/* EFEEF0 802403F0 44811000 */ mtc1 $at, $f2 +/* EFEEF4 802403F4 3C014049 */ lui $at, 0x4049 +/* EFEEF8 802403F8 34210FD8 */ ori $at, $at, 0xfd8 +/* EFEEFC 802403FC 44812000 */ mtc1 $at, $f4 +/* EFEF00 80240400 46020003 */ div.s $f0, $f0, $f2 +/* EFEF04 80240404 46040582 */ mul.s $f22, $f0, $f4 +/* EFEF08 80240408 00000000 */ nop +/* EFEF0C 8024040C 4618A501 */ sub.s $f20, $f20, $f24 +/* EFEF10 80240410 3C013F00 */ lui $at, 0x3f00 +/* EFEF14 80240414 44810000 */ mtc1 $at, $f0 +/* EFEF18 80240418 4600A505 */ abs.s $f20, $f20 +/* EFEF1C 8024041C 4600A502 */ mul.s $f20, $f20, $f0 +/* EFEF20 80240420 00000000 */ nop +/* EFEF24 80240424 12000007 */ beqz $s0, .L80240444 +/* EFEF28 80240428 0233102A */ slt $v0, $s1, $s3 +/* EFEF2C 8024042C 10400005 */ beqz $v0, .L80240444 +/* EFEF30 80240430 0240202D */ daddu $a0, $s2, $zero +/* EFEF34 80240434 0220982D */ daddu $s3, $s1, $zero +/* EFEF38 80240438 0280282D */ daddu $a1, $s4, $zero +/* EFEF3C 8024043C 0C0B551A */ jal func_802D5468 +/* EFEF40 80240440 0220302D */ daddu $a2, $s1, $zero +.L80240444: +/* EFEF44 80240444 3C014049 */ lui $at, 0x4049 +/* EFEF48 80240448 34210FD8 */ ori $at, $at, 0xfd8 +/* EFEF4C 8024044C 44810000 */ mtc1 $at, $f0 +/* EFEF50 80240450 44936000 */ mtc1 $s3, $f12 +/* EFEF54 80240454 00000000 */ nop +/* EFEF58 80240458 46806320 */ cvt.s.w $f12, $f12 +/* EFEF5C 8024045C 46006302 */ mul.s $f12, $f12, $f0 +/* EFEF60 80240460 00000000 */ nop +/* EFEF64 80240464 44910000 */ mtc1 $s1, $f0 +/* EFEF68 80240468 00000000 */ nop +/* EFEF6C 8024046C 46800020 */ cvt.s.w $f0, $f0 +/* EFEF70 80240470 46006303 */ div.s $f12, $f12, $f0 +/* EFEF74 80240474 0C00AD30 */ jal func_8002B4C0 +/* EFEF78 80240478 46166300 */ add.s $f12, $f12, $f22 +/* EFEF7C 8024047C 4600A002 */ mul.s $f0, $f20, $f0 +/* EFEF80 80240480 00000000 */ nop +/* EFEF84 80240484 4614C080 */ add.s $f2, $f24, $f20 +/* EFEF88 80240488 46001081 */ sub.s $f2, $f2, $f0 +/* EFEF8C 8024048C 0240202D */ daddu $a0, $s2, $zero +/* EFEF90 80240490 44061000 */ mfc1 $a2, $f2 +/* EFEF94 80240494 0C0B5684 */ jal func_802D5A10 +/* EFEF98 80240498 02A0282D */ daddu $a1, $s5, $zero +/* EFEF9C 8024049C 8FBF0028 */ lw $ra, 0x28($sp) +/* EFEFA0 802404A0 8FB50024 */ lw $s5, 0x24($sp) +/* EFEFA4 802404A4 8FB40020 */ lw $s4, 0x20($sp) +/* EFEFA8 802404A8 8FB3001C */ lw $s3, 0x1c($sp) +/* EFEFAC 802404AC 8FB20018 */ lw $s2, 0x18($sp) +/* EFEFB0 802404B0 8FB10014 */ lw $s1, 0x14($sp) +/* EFEFB4 802404B4 8FB00010 */ lw $s0, 0x10($sp) +/* EFEFB8 802404B8 D7B80040 */ ldc1 $f24, 0x40($sp) +/* EFEFBC 802404BC D7B60038 */ ldc1 $f22, 0x38($sp) +/* EFEFC0 802404C0 D7B40030 */ ldc1 $f20, 0x30($sp) +/* EFEFC4 802404C4 24020002 */ addiu $v0, $zero, 2 +/* EFEFC8 802404C8 03E00008 */ jr $ra +/* EFEFCC 802404CC 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/asm/nonmatchings/code_EFEB00/func_802404D0_EFEFD0.s b/asm/nonmatchings/code_EFEB00/func_802404D0_EFEFD0.s new file mode 100644 index 0000000000..57480e2d5b --- /dev/null +++ b/asm/nonmatchings/code_EFEB00/func_802404D0_EFEFD0.s @@ -0,0 +1,32 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802404D0_EFEFD0 +/* EFEFD0 802404D0 27BDFFE0 */ addiu $sp, $sp, -0x20 +/* EFEFD4 802404D4 AFB00010 */ sw $s0, 0x10($sp) +/* EFEFD8 802404D8 0080802D */ daddu $s0, $a0, $zero +/* EFEFDC 802404DC AFB20018 */ sw $s2, 0x18($sp) +/* EFEFE0 802404E0 3C128011 */ lui $s2, %hi(D_80117578) +/* EFEFE4 802404E4 26527578 */ addiu $s2, $s2, %lo(D_80117578) +/* EFEFE8 802404E8 AFBF001C */ sw $ra, 0x1c($sp) +/* EFEFEC 802404EC AFB10014 */ sw $s1, 0x14($sp) +/* EFEFF0 802404F0 C64000A8 */ lwc1 $f0, 0xa8($s2) +/* EFEFF4 802404F4 8E02000C */ lw $v0, 0xc($s0) +/* EFEFF8 802404F8 4600008D */ trunc.w.s $f2, $f0 +/* EFEFFC 802404FC 44061000 */ mfc1 $a2, $f2 +/* EFF000 80240500 8C450000 */ lw $a1, ($v0) +/* EFF004 80240504 0C0B551A */ jal func_802D5468 +/* EFF008 80240508 8C510004 */ lw $s1, 4($v0) +/* EFF00C 8024050C 0200202D */ daddu $a0, $s0, $zero +/* EFF010 80240510 C6400080 */ lwc1 $f0, 0x80($s2) +/* EFF014 80240514 4600008D */ trunc.w.s $f2, $f0 +/* EFF018 80240518 44061000 */ mfc1 $a2, $f2 +/* EFF01C 8024051C 0C0B551A */ jal func_802D5468 +/* EFF020 80240520 0220282D */ daddu $a1, $s1, $zero +/* EFF024 80240524 8FBF001C */ lw $ra, 0x1c($sp) +/* EFF028 80240528 8FB20018 */ lw $s2, 0x18($sp) +/* EFF02C 8024052C 8FB10014 */ lw $s1, 0x14($sp) +/* EFF030 80240530 8FB00010 */ lw $s0, 0x10($sp) +/* EFF034 80240534 24020002 */ addiu $v0, $zero, 2 +/* EFF038 80240538 03E00008 */ jr $ra +/* EFF03C 8024053C 27BD0020 */ addiu $sp, $sp, 0x20 diff --git a/asm/nonmatchings/code_EFEB00/func_80240540_EFF040.s b/asm/nonmatchings/code_EFEB00/func_80240540_EFF040.s new file mode 100644 index 0000000000..bab86726c1 --- /dev/null +++ b/asm/nonmatchings/code_EFEB00/func_80240540_EFF040.s @@ -0,0 +1,76 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240540_EFF040 +/* EFF040 80240540 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* EFF044 80240544 AFB00010 */ sw $s0, 0x10($sp) +/* EFF048 80240548 0080802D */ daddu $s0, $a0, $zero +/* EFF04C 8024054C AFBF0018 */ sw $ra, 0x18($sp) +/* EFF050 80240550 AFB10014 */ sw $s1, 0x14($sp) +/* EFF054 80240554 F7B80030 */ sdc1 $f24, 0x30($sp) +/* EFF058 80240558 F7B60028 */ sdc1 $f22, 0x28($sp) +/* EFF05C 8024055C F7B40020 */ sdc1 $f20, 0x20($sp) +/* EFF060 80240560 8E05008C */ lw $a1, 0x8c($s0) +/* EFF064 80240564 4480B000 */ mtc1 $zero, $f22 +/* EFF068 80240568 0C0B53A3 */ jal func_802D4E8C +/* EFF06C 8024056C 0000202D */ daddu $a0, $zero, $zero +/* EFF070 80240570 4600B306 */ mov.s $f12, $f22 +/* EFF074 80240574 C60200A8 */ lwc1 $f2, 0xa8($s0) +/* EFF078 80240578 468010A0 */ cvt.s.w $f2, $f2 +/* EFF07C 8024057C 44061000 */ mfc1 $a2, $f2 +/* EFF080 80240580 C60200B0 */ lwc1 $f2, 0xb0($s0) +/* EFF084 80240584 468010A0 */ cvt.s.w $f2, $f2 +/* EFF088 80240588 44071000 */ mfc1 $a3, $f2 +/* EFF08C 8024058C 4482A000 */ mtc1 $v0, $f20 +/* EFF090 80240590 00000000 */ nop +/* EFF094 80240594 4680A520 */ cvt.s.w $f20, $f20 +/* EFF098 80240598 0C00AC71 */ jal func_8002B1C4 +/* EFF09C 8024059C 4600B386 */ mov.s $f14, $f22 +/* EFF0A0 802405A0 4600B306 */ mov.s $f12, $f22 +/* EFF0A4 802405A4 4600B386 */ mov.s $f14, $f22 +/* EFF0A8 802405A8 C60200A8 */ lwc1 $f2, 0xa8($s0) +/* EFF0AC 802405AC 468010A0 */ cvt.s.w $f2, $f2 +/* EFF0B0 802405B0 44061000 */ mfc1 $a2, $f2 +/* EFF0B4 802405B4 C60200B0 */ lwc1 $f2, 0xb0($s0) +/* EFF0B8 802405B8 468010A0 */ cvt.s.w $f2, $f2 +/* EFF0BC 802405BC 44071000 */ mfc1 $a3, $f2 +/* EFF0C0 802405C0 0C00ABDC */ jal fio_validate_header_checksums +/* EFF0C4 802405C4 46000606 */ mov.s $f24, $f0 +/* EFF0C8 802405C8 0C00AB85 */ jal func_8002AE14 +/* EFF0CC 802405CC 46140301 */ sub.s $f12, $f0, $f20 +/* EFF0D0 802405D0 46000506 */ mov.s $f20, $f0 +/* EFF0D4 802405D4 0C00AD77 */ jal func_8002B5DC +/* EFF0D8 802405D8 4600A306 */ mov.s $f12, $f20 +/* EFF0DC 802405DC 4600C002 */ mul.s $f0, $f24, $f0 +/* EFF0E0 802405E0 00000000 */ nop +/* EFF0E4 802405E4 46160000 */ add.s $f0, $f0, $f22 +/* EFF0E8 802405E8 3C118011 */ lui $s1, %hi(D_80117578) +/* EFF0EC 802405EC 26317578 */ addiu $s1, $s1, %lo(D_80117578) +/* EFF0F0 802405F0 E6200028 */ swc1 $f0, 0x28($s1) +/* EFF0F4 802405F4 8E0500AC */ lw $a1, 0xac($s0) +/* EFF0F8 802405F8 0C0B53A3 */ jal func_802D4E8C +/* EFF0FC 802405FC 0000202D */ daddu $a0, $zero, $zero +/* EFF100 80240600 0000202D */ daddu $a0, $zero, $zero +/* EFF104 80240604 8E050090 */ lw $a1, 0x90($s0) +/* EFF108 80240608 0C0B53A3 */ jal func_802D4E8C +/* EFF10C 8024060C 0040802D */ daddu $s0, $v0, $zero +/* EFF110 80240610 4600A306 */ mov.s $f12, $f20 +/* EFF114 80240614 02028021 */ addu $s0, $s0, $v0 +/* EFF118 80240618 44900000 */ mtc1 $s0, $f0 +/* EFF11C 8024061C 00000000 */ nop +/* EFF120 80240620 46800020 */ cvt.s.w $f0, $f0 +/* EFF124 80240624 0C00AD90 */ jal func_8002B640 +/* EFF128 80240628 E620002C */ swc1 $f0, 0x2c($s1) +/* EFF12C 8024062C 4600C602 */ mul.s $f24, $f24, $f0 +/* EFF130 80240630 00000000 */ nop +/* EFF134 80240634 4618B581 */ sub.s $f22, $f22, $f24 +/* EFF138 80240638 E6360030 */ swc1 $f22, 0x30($s1) +/* EFF13C 8024063C 8FBF0018 */ lw $ra, 0x18($sp) +/* EFF140 80240640 8FB10014 */ lw $s1, 0x14($sp) +/* EFF144 80240644 8FB00010 */ lw $s0, 0x10($sp) +/* EFF148 80240648 D7B80030 */ ldc1 $f24, 0x30($sp) +/* EFF14C 8024064C D7B60028 */ ldc1 $f22, 0x28($sp) +/* EFF150 80240650 D7B40020 */ ldc1 $f20, 0x20($sp) +/* EFF154 80240654 24020002 */ addiu $v0, $zero, 2 +/* EFF158 80240658 03E00008 */ jr $ra +/* EFF15C 8024065C 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_EFEB00/func_80240660_EFF160.s b/asm/nonmatchings/code_EFEB00/func_80240660_EFF160.s new file mode 100644 index 0000000000..c6013d1b8f --- /dev/null +++ b/asm/nonmatchings/code_EFEB00/func_80240660_EFF160.s @@ -0,0 +1,77 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240660_EFF160 +/* EFF160 80240660 27BDFFC8 */ addiu $sp, $sp, -0x38 +/* EFF164 80240664 AFB00010 */ sw $s0, 0x10($sp) +/* EFF168 80240668 0080802D */ daddu $s0, $a0, $zero +/* EFF16C 8024066C AFBF0018 */ sw $ra, 0x18($sp) +/* EFF170 80240670 AFB10014 */ sw $s1, 0x14($sp) +/* EFF174 80240674 F7B80030 */ sdc1 $f24, 0x30($sp) +/* EFF178 80240678 F7B60028 */ sdc1 $f22, 0x28($sp) +/* EFF17C 8024067C F7B40020 */ sdc1 $f20, 0x20($sp) +/* EFF180 80240680 0C00F10F */ jal func_8003C43C +/* EFF184 80240684 0000202D */ daddu $a0, $zero, $zero +/* EFF188 80240688 0000202D */ daddu $a0, $zero, $zero +/* EFF18C 8024068C 8E05008C */ lw $a1, 0x8c($s0) +/* EFF190 80240690 4480B000 */ mtc1 $zero, $f22 +/* EFF194 80240694 0C0B53A3 */ jal func_802D4E8C +/* EFF198 80240698 0040882D */ daddu $s1, $v0, $zero +/* EFF19C 8024069C 4600B306 */ mov.s $f12, $f22 +/* EFF1A0 802406A0 C60200B4 */ lwc1 $f2, 0xb4($s0) +/* EFF1A4 802406A4 468010A0 */ cvt.s.w $f2, $f2 +/* EFF1A8 802406A8 44061000 */ mfc1 $a2, $f2 +/* EFF1AC 802406AC C60200BC */ lwc1 $f2, 0xbc($s0) +/* EFF1B0 802406B0 468010A0 */ cvt.s.w $f2, $f2 +/* EFF1B4 802406B4 44071000 */ mfc1 $a3, $f2 +/* EFF1B8 802406B8 4482A000 */ mtc1 $v0, $f20 +/* EFF1BC 802406BC 00000000 */ nop +/* EFF1C0 802406C0 4680A520 */ cvt.s.w $f20, $f20 +/* EFF1C4 802406C4 0C00AC71 */ jal func_8002B1C4 +/* EFF1C8 802406C8 4600B386 */ mov.s $f14, $f22 +/* EFF1CC 802406CC 4600B306 */ mov.s $f12, $f22 +/* EFF1D0 802406D0 4600B386 */ mov.s $f14, $f22 +/* EFF1D4 802406D4 C60200B4 */ lwc1 $f2, 0xb4($s0) +/* EFF1D8 802406D8 468010A0 */ cvt.s.w $f2, $f2 +/* EFF1DC 802406DC 44061000 */ mfc1 $a2, $f2 +/* EFF1E0 802406E0 C60200BC */ lwc1 $f2, 0xbc($s0) +/* EFF1E4 802406E4 468010A0 */ cvt.s.w $f2, $f2 +/* EFF1E8 802406E8 44071000 */ mfc1 $a3, $f2 +/* EFF1EC 802406EC 0C00ABDC */ jal fio_validate_header_checksums +/* EFF1F0 802406F0 46000606 */ mov.s $f24, $f0 +/* EFF1F4 802406F4 0C00AB85 */ jal func_8002AE14 +/* EFF1F8 802406F8 46140301 */ sub.s $f12, $f0, $f20 +/* EFF1FC 802406FC 46000506 */ mov.s $f20, $f0 +/* EFF200 80240700 0C00AD77 */ jal func_8002B5DC +/* EFF204 80240704 4600A306 */ mov.s $f12, $f20 +/* EFF208 80240708 4600C002 */ mul.s $f0, $f24, $f0 +/* EFF20C 8024070C 00000000 */ nop +/* EFF210 80240710 46160000 */ add.s $f0, $f0, $f22 +/* EFF214 80240714 E6200038 */ swc1 $f0, 0x38($s1) +/* EFF218 80240718 8E0500B8 */ lw $a1, 0xb8($s0) +/* EFF21C 8024071C 0C0B53A3 */ jal func_802D4E8C +/* EFF220 80240720 0000202D */ daddu $a0, $zero, $zero +/* EFF224 80240724 0000202D */ daddu $a0, $zero, $zero +/* EFF228 80240728 8E050090 */ lw $a1, 0x90($s0) +/* EFF22C 8024072C 0C0B53A3 */ jal func_802D4E8C +/* EFF230 80240730 0040802D */ daddu $s0, $v0, $zero +/* EFF234 80240734 4600A306 */ mov.s $f12, $f20 +/* EFF238 80240738 02028021 */ addu $s0, $s0, $v0 +/* EFF23C 8024073C 44900000 */ mtc1 $s0, $f0 +/* EFF240 80240740 00000000 */ nop +/* EFF244 80240744 46800020 */ cvt.s.w $f0, $f0 +/* EFF248 80240748 0C00AD90 */ jal func_8002B640 +/* EFF24C 8024074C E620003C */ swc1 $f0, 0x3c($s1) +/* EFF250 80240750 4600C602 */ mul.s $f24, $f24, $f0 +/* EFF254 80240754 00000000 */ nop +/* EFF258 80240758 4618B581 */ sub.s $f22, $f22, $f24 +/* EFF25C 8024075C E6360040 */ swc1 $f22, 0x40($s1) +/* EFF260 80240760 8FBF0018 */ lw $ra, 0x18($sp) +/* EFF264 80240764 8FB10014 */ lw $s1, 0x14($sp) +/* EFF268 80240768 8FB00010 */ lw $s0, 0x10($sp) +/* EFF26C 8024076C D7B80030 */ ldc1 $f24, 0x30($sp) +/* EFF270 80240770 D7B60028 */ ldc1 $f22, 0x28($sp) +/* EFF274 80240774 D7B40020 */ ldc1 $f20, 0x20($sp) +/* EFF278 80240778 24020002 */ addiu $v0, $zero, 2 +/* EFF27C 8024077C 03E00008 */ jr $ra +/* EFF280 80240780 27BD0038 */ addiu $sp, $sp, 0x38 diff --git a/asm/nonmatchings/code_EFEB00/func_80240784_EFF284.s b/asm/nonmatchings/code_EFEB00/func_80240784_EFF284.s new file mode 100644 index 0000000000..11a91c05c9 --- /dev/null +++ b/asm/nonmatchings/code_EFEB00/func_80240784_EFF284.s @@ -0,0 +1,15 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_80240784_EFF284 +/* EFF284 80240784 27BDFFE8 */ addiu $sp, $sp, -0x18 +/* EFF288 80240788 AFBF0010 */ sw $ra, 0x10($sp) +/* EFF28C 8024078C C4800084 */ lwc1 $f0, 0x84($a0) +/* EFF290 80240790 46800020 */ cvt.s.w $f0, $f0 +/* EFF294 80240794 44050000 */ mfc1 $a1, $f0 +/* EFF298 80240798 0C051065 */ jal func_80144194 +/* EFF29C 8024079C 24040001 */ addiu $a0, $zero, 1 +/* EFF2A0 802407A0 8FBF0010 */ lw $ra, 0x10($sp) +/* EFF2A4 802407A4 24020002 */ addiu $v0, $zero, 2 +/* EFF2A8 802407A8 03E00008 */ jr $ra +/* EFF2AC 802407AC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/asm/nonmatchings/code_EFEB00/func_802407B0_EFF2B0.s b/asm/nonmatchings/code_EFEB00/func_802407B0_EFF2B0.s new file mode 100644 index 0000000000..8dea533338 --- /dev/null +++ b/asm/nonmatchings/code_EFEB00/func_802407B0_EFF2B0.s @@ -0,0 +1,105 @@ +.set noat # allow manual use of $at +.set noreorder # don't insert nops after branches + +glabel func_802407B0_EFF2B0 +/* EFF2B0 802407B0 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* EFF2B4 802407B4 AFB20018 */ sw $s2, 0x18($sp) +/* EFF2B8 802407B8 0080902D */ daddu $s2, $a0, $zero +/* EFF2BC 802407BC AFBF0028 */ sw $ra, 0x28($sp) +/* EFF2C0 802407C0 AFB50024 */ sw $s5, 0x24($sp) +/* EFF2C4 802407C4 AFB40020 */ sw $s4, 0x20($sp) +/* EFF2C8 802407C8 AFB3001C */ sw $s3, 0x1c($sp) +/* EFF2CC 802407CC AFB10014 */ sw $s1, 0x14($sp) +/* EFF2D0 802407D0 AFB00010 */ sw $s0, 0x10($sp) +/* EFF2D4 802407D4 F7B80040 */ sdc1 $f24, 0x40($sp) +/* EFF2D8 802407D8 F7B60038 */ sdc1 $f22, 0x38($sp) +/* EFF2DC 802407DC F7B40030 */ sdc1 $f20, 0x30($sp) +/* EFF2E0 802407E0 8E50000C */ lw $s0, 0xc($s2) +/* EFF2E4 802407E4 8E140000 */ lw $s4, ($s0) +/* EFF2E8 802407E8 26100004 */ addiu $s0, $s0, 4 +/* EFF2EC 802407EC 0C0B53A3 */ jal func_802D4E8C +/* EFF2F0 802407F0 0280282D */ daddu $a1, $s4, $zero +/* EFF2F4 802407F4 0040982D */ daddu $s3, $v0, $zero +/* EFF2F8 802407F8 8E150000 */ lw $s5, ($s0) +/* EFF2FC 802407FC 26100004 */ addiu $s0, $s0, 4 +/* EFF300 80240800 8E050000 */ lw $a1, ($s0) +/* EFF304 80240804 26100004 */ addiu $s0, $s0, 4 +/* EFF308 80240808 0C0B55FF */ jal func_802D57FC +/* EFF30C 8024080C 0240202D */ daddu $a0, $s2, $zero +/* EFF310 80240810 8E050000 */ lw $a1, ($s0) +/* EFF314 80240814 26100004 */ addiu $s0, $s0, 4 +/* EFF318 80240818 0240202D */ daddu $a0, $s2, $zero +/* EFF31C 8024081C 0C0B55FF */ jal func_802D57FC +/* EFF320 80240820 46000606 */ mov.s $f24, $f0 +/* EFF324 80240824 8E050000 */ lw $a1, ($s0) +/* EFF328 80240828 26100004 */ addiu $s0, $s0, 4 +/* EFF32C 8024082C 0240202D */ daddu $a0, $s2, $zero +/* EFF330 80240830 0C0B53A3 */ jal func_802D4E8C +/* EFF334 80240834 46000506 */ mov.s $f20, $f0 +/* EFF338 80240838 8E050000 */ lw $a1, ($s0) +/* EFF33C 8024083C 26100004 */ addiu $s0, $s0, 4 +/* EFF340 80240840 0240202D */ daddu $a0, $s2, $zero +/* EFF344 80240844 0C0B53A3 */ jal func_802D4E8C +/* EFF348 80240848 0040882D */ daddu $s1, $v0, $zero +/* EFF34C 8024084C 0240202D */ daddu $a0, $s2, $zero +/* EFF350 80240850 8E050000 */ lw $a1, ($s0) +/* EFF354 80240854 0C0B55FF */ jal func_802D57FC +/* EFF358 80240858 0040802D */ daddu $s0, $v0, $zero +/* EFF35C 8024085C 3C014334 */ lui $at, 0x4334 +/* EFF360 80240860 44811000 */ mtc1 $at, $f2 +/* EFF364 80240864 3C014049 */ lui $at, 0x4049 +/* EFF368 80240868 34210FD8 */ ori $at, $at, 0xfd8 +/* EFF36C 8024086C 44812000 */ mtc1 $at, $f4 +/* EFF370 80240870 46020003 */ div.s $f0, $f0, $f2 +/* EFF374 80240874 46040582 */ mul.s $f22, $f0, $f4 +/* EFF378 80240878 00000000 */ nop +/* EFF37C 8024087C 4618A501 */ sub.s $f20, $f20, $f24 +/* EFF380 80240880 3C013F00 */ lui $at, 0x3f00 +/* EFF384 80240884 44810000 */ mtc1 $at, $f0 +/* EFF388 80240888 00000000 */ nop +/* EFF38C 8024088C 4600A502 */ mul.s $f20, $f20, $f0 +/* EFF390 80240890 00000000 */ nop +/* EFF394 80240894 12000007 */ beqz $s0, .L802408B4 +/* EFF398 80240898 0233102A */ slt $v0, $s1, $s3 +/* EFF39C 8024089C 10400005 */ beqz $v0, .L802408B4 +/* EFF3A0 802408A0 0240202D */ daddu $a0, $s2, $zero +/* EFF3A4 802408A4 0220982D */ daddu $s3, $s1, $zero +/* EFF3A8 802408A8 0280282D */ daddu $a1, $s4, $zero +/* EFF3AC 802408AC 0C0B551A */ jal func_802D5468 +/* EFF3B0 802408B0 0220302D */ daddu $a2, $s1, $zero +.L802408B4: +/* EFF3B4 802408B4 3C014049 */ lui $at, 0x4049 +/* EFF3B8 802408B8 34210FD8 */ ori $at, $at, 0xfd8 +/* EFF3BC 802408BC 44810000 */ mtc1 $at, $f0 +/* EFF3C0 802408C0 44936000 */ mtc1 $s3, $f12 +/* EFF3C4 802408C4 00000000 */ nop +/* EFF3C8 802408C8 46806320 */ cvt.s.w $f12, $f12 +/* EFF3CC 802408CC 46006302 */ mul.s $f12, $f12, $f0 +/* EFF3D0 802408D0 00000000 */ nop +/* EFF3D4 802408D4 44910000 */ mtc1 $s1, $f0 +/* EFF3D8 802408D8 00000000 */ nop +/* EFF3DC 802408DC 46800020 */ cvt.s.w $f0, $f0 +/* EFF3E0 802408E0 46006303 */ div.s $f12, $f12, $f0 +/* EFF3E4 802408E4 0C00AD30 */ jal func_8002B4C0 +/* EFF3E8 802408E8 46166300 */ add.s $f12, $f12, $f22 +/* EFF3EC 802408EC 4600A002 */ mul.s $f0, $f20, $f0 +/* EFF3F0 802408F0 00000000 */ nop +/* EFF3F4 802408F4 4614C080 */ add.s $f2, $f24, $f20 +/* EFF3F8 802408F8 46001081 */ sub.s $f2, $f2, $f0 +/* EFF3FC 802408FC 0240202D */ daddu $a0, $s2, $zero +/* EFF400 80240900 44061000 */ mfc1 $a2, $f2 +/* EFF404 80240904 0C0B5684 */ jal func_802D5A10 +/* EFF408 80240908 02A0282D */ daddu $a1, $s5, $zero +/* EFF40C 8024090C 8FBF0028 */ lw $ra, 0x28($sp) +/* EFF410 80240910 8FB50024 */ lw $s5, 0x24($sp) +/* EFF414 80240914 8FB40020 */ lw $s4, 0x20($sp) +/* EFF418 80240918 8FB3001C */ lw $s3, 0x1c($sp) +/* EFF41C 8024091C 8FB20018 */ lw $s2, 0x18($sp) +/* EFF420 80240920 8FB10014 */ lw $s1, 0x14($sp) +/* EFF424 80240924 8FB00010 */ lw $s0, 0x10($sp) +/* EFF428 80240928 D7B80040 */ ldc1 $f24, 0x40($sp) +/* EFF42C 8024092C D7B60038 */ ldc1 $f22, 0x38($sp) +/* EFF430 80240930 D7B40030 */ ldc1 $f20, 0x30($sp) +/* EFF434 80240934 24020002 */ addiu $v0, $zero, 2 +/* EFF438 80240938 03E00008 */ jr $ra +/* EFF43C 8024093C 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/src/code_EA0900.c b/src/code_EA0900.c new file mode 100644 index 0000000000..8bcedd484d --- /dev/null +++ b/src/code_EA0900.c @@ -0,0 +1,5 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EA0900", func_80240000_EA0900); + +INCLUDE_ASM(s32, "code_EA0900", func_80240124_EA0A24); diff --git a/src/code_EA0C10.c b/src/code_EA0C10.c new file mode 100644 index 0000000000..05a46d147d --- /dev/null +++ b/src/code_EA0C10.c @@ -0,0 +1,69 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EA0C10", func_80240310_EA0C10); + +INCLUDE_ASM(s32, "code_EA0C10", func_8024037C_EA0C7C); + +INCLUDE_ASM(s32, "code_EA0C10", func_802403EC_EA0CEC); + +INCLUDE_ASM(s32, "code_EA0C10", func_802404C4_EA0DC4); + +INCLUDE_ASM(s32, "code_EA0C10", func_80240518_EA0E18); + +INCLUDE_ASM(s32, "code_EA0C10", func_802406CC_EA0FCC); + +INCLUDE_ASM(s32, "code_EA0C10", func_8024097C_EA127C); + +INCLUDE_ASM(s32, "code_EA0C10", func_80240C5C_EA155C); + +INCLUDE_ASM(s32, "code_EA0C10", func_80240CC8_EA15C8); + +INCLUDE_ASM(s32, "code_EA0C10", func_80240DC4_EA16C4); + +INCLUDE_ASM(s32, "code_EA0C10", func_80241804_EA2104); + +INCLUDE_ASM(s32, "code_EA0C10", func_80241894_EA2194); + +INCLUDE_ASM(s32, "code_EA0C10", func_80241994_EA2294); + +INCLUDE_ASM(s32, "code_EA0C10", func_802419F4_EA22F4); + +INCLUDE_ASM(s32, "code_EA0C10", func_80241AE0_EA23E0); + +INCLUDE_ASM(s32, "code_EA0C10", func_80241D68_EA2668); + +INCLUDE_ASM(s32, "code_EA0C10", func_80241DE4_EA26E4); + +INCLUDE_ASM(s32, "code_EA0C10", func_80241F18_EA2818); + +INCLUDE_ASM(s32, "code_EA0C10", func_8024207C_EA297C); + +INCLUDE_ASM(s32, "code_EA0C10", func_802420FC_EA29FC); + +INCLUDE_ASM(s32, "code_EA0C10", func_80242568_EA2E68); + +INCLUDE_ASM(s32, "code_EA0C10", func_802425B0_EA2EB0); + +INCLUDE_ASM(s32, "code_EA0C10", func_80242608_EA2F08); + +INCLUDE_ASM(s32, "code_EA0C10", func_8024267C_EA2F7C); + +INCLUDE_ASM(s32, "code_EA0C10", func_80242730_EA3030); + +INCLUDE_ASM(s32, "code_EA0C10", func_80242794_EA3094); + +INCLUDE_ASM(s32, "code_EA0C10", func_802427F0_EA30F0); + +INCLUDE_ASM(s32, "code_EA0C10", func_802429C0_EA32C0); + +INCLUDE_ASM(s32, "code_EA0C10", func_80242A14_EA3314); + +INCLUDE_ASM(s32, "code_EA0C10", func_80242A4C_EA334C); + +INCLUDE_ASM(s32, "code_EA0C10", func_80242AE8_EA33E8); + +INCLUDE_ASM(s32, "code_EA0C10", func_80242BD8_EA34D8); + +INCLUDE_ASM(s32, "code_EA0C10", func_80242D64_EA3664); + +INCLUDE_ASM(s32, "code_EA0C10", func_80242DA8_EA36A8); diff --git a/src/code_EA36E0.c b/src/code_EA36E0.c new file mode 100644 index 0000000000..9975ec0db6 --- /dev/null +++ b/src/code_EA36E0.c @@ -0,0 +1,17 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EA36E0", func_80242DE0_EA36E0); + +INCLUDE_ASM(s32, "code_EA36E0", func_80242E00_EA3700); + +INCLUDE_ASM(s32, "code_EA36E0", func_80242E2C_EA372C); + +INCLUDE_ASM(s32, "code_EA36E0", func_80242EC4_EA37C4); + +INCLUDE_ASM(s32, "code_EA36E0", func_80242F64_EA3864); + +INCLUDE_ASM(s32, "code_EA36E0", func_80242F9C_EA389C); + +INCLUDE_ASM(s32, "code_EA36E0", func_80243054_EA3954); + +INCLUDE_ASM(s32, "code_EA36E0", func_802430E4_EA39E4); diff --git a/src/code_EA6FD0.c b/src/code_EA6FD0.c new file mode 100644 index 0000000000..aae81a4ed5 --- /dev/null +++ b/src/code_EA6FD0.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EA6FD0", func_80240000_EA6FD0); diff --git a/src/code_EA7010.c b/src/code_EA7010.c new file mode 100644 index 0000000000..2b30b49b7d --- /dev/null +++ b/src/code_EA7010.c @@ -0,0 +1,5 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EA7010", func_80240040_EA7010); + +INCLUDE_ASM(s32, "code_EA7010", func_80240164_EA7134); diff --git a/src/code_EA7320.c b/src/code_EA7320.c new file mode 100644 index 0000000000..372ba6e85a --- /dev/null +++ b/src/code_EA7320.c @@ -0,0 +1,7 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EA7320", func_80240350_EA7320); + +INCLUDE_ASM(s32, "code_EA7320", func_8024036C_EA733C); + +INCLUDE_ASM(s32, "code_EA7320", func_80240388_EA7358); diff --git a/src/code_EA8AE0.c b/src/code_EA8AE0.c new file mode 100644 index 0000000000..53779228a5 --- /dev/null +++ b/src/code_EA8AE0.c @@ -0,0 +1,57 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EA8AE0", func_80240000_EA8AE0); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80240124_EA8C04); + +INCLUDE_ASM(s32, "code_EA8AE0", func_8024030C_EA8DEC); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80240358_EA8E38); + +INCLUDE_ASM(s32, "code_EA8AE0", func_802404B8_EA8F98); + +INCLUDE_ASM(s32, "code_EA8AE0", func_802408C8_EA93A8); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80240908_EA93E8); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80240A14_EA94F4); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80240B00_EA95E0); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80240BD4_EA96B4); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80240CD8_EA97B8); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80240DA4_EA9884); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80240E2C_EA990C); + +INCLUDE_ASM(s32, "code_EA8AE0", func_802413C0_EA9EA0); + +INCLUDE_ASM(s32, "code_EA8AE0", func_802413FC_EA9EDC); + +INCLUDE_ASM(s32, "code_EA8AE0", func_8024140C_EA9EEC); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80241468_EA9F48); + +INCLUDE_ASM(s32, "code_EA8AE0", func_8024151C_EA9FFC); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80241580_EAA060); + +INCLUDE_ASM(s32, "code_EA8AE0", func_802415DC_EAA0BC); + +INCLUDE_ASM(s32, "code_EA8AE0", func_802417AC_EAA28C); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80241800_EAA2E0); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80241838_EAA318); + +INCLUDE_ASM(s32, "code_EA8AE0", func_802418D4_EAA3B4); + +INCLUDE_ASM(s32, "code_EA8AE0", func_802419C4_EAA4A4); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80241B50_EAA630); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80241B94_EAA674); + +INCLUDE_ASM(s32, "code_EA8AE0", func_80241BC0_EAA6A0); diff --git a/src/code_EB0E60.c b/src/code_EB0E60.c new file mode 100644 index 0000000000..35947375b6 --- /dev/null +++ b/src/code_EB0E60.c @@ -0,0 +1,5 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EB0E60", func_80240000_EB0E60); + +INCLUDE_ASM(s32, "code_EB0E60", func_80240124_EB0F84); diff --git a/src/code_EB1170.c b/src/code_EB1170.c new file mode 100644 index 0000000000..cc0839bf34 --- /dev/null +++ b/src/code_EB1170.c @@ -0,0 +1,27 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EB1170", func_80240310_EB1170); + +INCLUDE_ASM(s32, "code_EB1170", func_802403C4_EB1224); + +INCLUDE_ASM(s32, "code_EB1170", func_80240428_EB1288); + +INCLUDE_ASM(s32, "code_EB1170", func_80240484_EB12E4); + +INCLUDE_ASM(s32, "code_EB1170", func_80240654_EB14B4); + +INCLUDE_ASM(s32, "code_EB1170", func_802406A8_EB1508); + +INCLUDE_ASM(s32, "code_EB1170", func_802406E0_EB1540); + +INCLUDE_ASM(s32, "code_EB1170", func_8024077C_EB15DC); + +INCLUDE_ASM(s32, "code_EB1170", func_8024086C_EB16CC); + +INCLUDE_ASM(s32, "code_EB1170", func_802409F8_EB1858); + +INCLUDE_ASM(s32, "code_EB1170", func_80240A3C_EB189C); + +INCLUDE_ASM(s32, "code_EB1170", func_80240A68_EB18C8); + +INCLUDE_ASM(s32, "code_EB1170", func_80240A8C_EB18EC); diff --git a/src/code_EB5130.c b/src/code_EB5130.c new file mode 100644 index 0000000000..ce7c5cfe87 --- /dev/null +++ b/src/code_EB5130.c @@ -0,0 +1,7 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EB5130", func_80240000_EB5130); + +INCLUDE_ASM(s32, "code_EB5130", func_80240124_EB5254); + +INCLUDE_ASM(s32, "code_EB5130", func_8024030C_EB543C); diff --git a/src/code_EB5470.c b/src/code_EB5470.c new file mode 100644 index 0000000000..75afab2315 --- /dev/null +++ b/src/code_EB5470.c @@ -0,0 +1,5 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EB5470", func_80240340_EB5470); + +INCLUDE_ASM(s32, "code_EB5470", func_8024036C_EB549C); diff --git a/src/code_EB7230.c b/src/code_EB7230.c new file mode 100644 index 0000000000..a244f851db --- /dev/null +++ b/src/code_EB7230.c @@ -0,0 +1,5 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EB7230", func_80240000_EB7230); + +INCLUDE_ASM(s32, "code_EB7230", func_80240124_EB7354); diff --git a/src/code_EB7540.c b/src/code_EB7540.c new file mode 100644 index 0000000000..31ec2a8e6c --- /dev/null +++ b/src/code_EB7540.c @@ -0,0 +1,11 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EB7540", func_80240310_EB7540); + +INCLUDE_ASM(s32, "code_EB7540", func_802403D8_EB7608); + +INCLUDE_ASM(s32, "code_EB7540", func_80240478_EB76A8); + +INCLUDE_ASM(s32, "code_EB7540", func_80240504_EB7734); + +INCLUDE_ASM(s32, "code_EB7540", func_80240520_EB7750); diff --git a/src/code_EB8E50.c b/src/code_EB8E50.c new file mode 100644 index 0000000000..97ecac8178 --- /dev/null +++ b/src/code_EB8E50.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EB8E50", func_80240000_EB8E50); diff --git a/src/code_EB8E90.c b/src/code_EB8E90.c new file mode 100644 index 0000000000..2dffe36b5e --- /dev/null +++ b/src/code_EB8E90.c @@ -0,0 +1,27 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EB8E90", func_80240040_EB8E90); + +INCLUDE_ASM(s32, "code_EB8E90", func_80240198_EB8FE8); + +INCLUDE_ASM(s32, "code_EB8E90", func_80240440_EB9290); + +INCLUDE_ASM(s32, "code_EB8E90", func_80240500_EB9350); + +INCLUDE_ASM(s32, "code_EB8E90", func_802406BC_EB950C); + +INCLUDE_ASM(s32, "code_EB8E90", func_80240770_EB95C0); + +INCLUDE_ASM(s32, "code_EB8E90", func_802407E4_EB9634); + +INCLUDE_ASM(s32, "code_EB8E90", func_8024085C_EB96AC); + +INCLUDE_ASM(s32, "code_EB8E90", func_8024098C_EB97DC); + +INCLUDE_ASM(s32, "code_EB8E90", func_80240AAC_EB98FC); + +INCLUDE_ASM(s32, "code_EB8E90", func_80240B14_EB9964); + +INCLUDE_ASM(s32, "code_EB8E90", func_80240BD4_EB9A24); + +INCLUDE_ASM(s32, "code_EB8E90", func_80240EFC_EB9D4C); diff --git a/src/code_EB9D90.c b/src/code_EB9D90.c new file mode 100644 index 0000000000..4d2b35fa67 --- /dev/null +++ b/src/code_EB9D90.c @@ -0,0 +1,15 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EB9D90", func_80240F40_EB9D90); + +INCLUDE_ASM(s32, "code_EB9D90", func_80240FB0_EB9E00); + +INCLUDE_ASM(s32, "code_EB9D90", func_802410E4_EB9F34); + +INCLUDE_ASM(s32, "code_EB9D90", func_8024121C_EBA06C); + +INCLUDE_ASM(s32, "code_EB9D90", func_802413AC_EBA1FC); + +INCLUDE_ASM(s32, "code_EB9D90", func_802413CC_EBA21C); + +INCLUDE_ASM(s32, "code_EB9D90", func_802413EC_EBA23C); diff --git a/src/code_EC2200.c b/src/code_EC2200.c new file mode 100644 index 0000000000..635d7b56aa --- /dev/null +++ b/src/code_EC2200.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EC2200", func_80240000_EC2200); diff --git a/src/code_EC2240.c b/src/code_EC2240.c new file mode 100644 index 0000000000..379872b653 --- /dev/null +++ b/src/code_EC2240.c @@ -0,0 +1,7 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EC2240", func_80240040_EC2240); + +INCLUDE_ASM(s32, "code_EC2240", func_802400F4_EC22F4); + +INCLUDE_ASM(s32, "code_EC2240", func_80240158_EC2358); diff --git a/src/code_EC2610.c b/src/code_EC2610.c new file mode 100644 index 0000000000..8f5385d8e0 --- /dev/null +++ b/src/code_EC2610.c @@ -0,0 +1,5 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EC2610", func_80240410_EC2610); + +INCLUDE_ASM(s32, "code_EC2610", func_80240480_EC2680); diff --git a/src/code_EC71B0.c b/src/code_EC71B0.c new file mode 100644 index 0000000000..abc5bf3a28 --- /dev/null +++ b/src/code_EC71B0.c @@ -0,0 +1,9 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EC71B0", func_80240000_EC71B0); + +INCLUDE_ASM(s32, "code_EC71B0", func_80240124_EC72D4); + +INCLUDE_ASM(s32, "code_EC71B0", func_8024030C_EC74BC); + +INCLUDE_ASM(s32, "code_EC71B0", func_80240344_EC74F4); diff --git a/src/code_EC7590.c b/src/code_EC7590.c new file mode 100644 index 0000000000..4b094f377f --- /dev/null +++ b/src/code_EC7590.c @@ -0,0 +1,9 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EC7590", func_802403E0_EC7590); + +INCLUDE_ASM(s32, "code_EC7590", func_80240450_EC7600); + +INCLUDE_ASM(s32, "code_EC7590", func_8024061C_EC77CC); + +INCLUDE_ASM(s32, "code_EC7590", func_802406D0_EC7880); diff --git a/src/code_EC9D00.c b/src/code_EC9D00.c new file mode 100644 index 0000000000..b80727a124 --- /dev/null +++ b/src/code_EC9D00.c @@ -0,0 +1,37 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EC9D00", func_80240000_EC9D00); + +INCLUDE_ASM(s32, "code_EC9D00", func_8024001C_EC9D1C); + +INCLUDE_ASM(s32, "code_EC9D00", func_8024003C_EC9D3C); + +INCLUDE_ASM(s32, "code_EC9D00", func_80240068_EC9D68); + +INCLUDE_ASM(s32, "code_EC9D00", func_802400D4_EC9DD4); + +INCLUDE_ASM(s32, "code_EC9D00", func_80240120_EC9E20); + +INCLUDE_ASM(s32, "code_EC9D00", func_802401CC_EC9ECC); + +INCLUDE_ASM(s32, "code_EC9D00", func_8024041C_ECA11C); + +INCLUDE_ASM(s32, "code_EC9D00", func_80240448_ECA148); + +INCLUDE_ASM(s32, "code_EC9D00", func_80240480_ECA180); + +INCLUDE_ASM(s32, "code_EC9D00", func_80240510_ECA210); + +INCLUDE_ASM(s32, "code_EC9D00", func_80240544_ECA244); + +INCLUDE_ASM(s32, "code_EC9D00", func_802405A8_ECA2A8); + +INCLUDE_ASM(s32, "code_EC9D00", func_80240600_ECA300); + +INCLUDE_ASM(s32, "code_EC9D00", func_80240B38_ECA838); + +INCLUDE_ASM(s32, "code_EC9D00", func_80240C78_ECA978); + +INCLUDE_ASM(s32, "code_EC9D00", func_80240CC0_ECA9C0); + +INCLUDE_ASM(s32, "code_EC9D00", func_80240D08_ECAA08); diff --git a/src/code_ECAA40.c b/src/code_ECAA40.c new file mode 100644 index 0000000000..1b53f01609 --- /dev/null +++ b/src/code_ECAA40.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ECAA40", func_80240D40_ECAA40); diff --git a/src/code_ECAA80.c b/src/code_ECAA80.c new file mode 100644 index 0000000000..b62edade57 --- /dev/null +++ b/src/code_ECAA80.c @@ -0,0 +1,25 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ECAA80", func_80240D80_ECAA80); + +INCLUDE_ASM(s32, "code_ECAA80", func_80241364_ECB064); + +INCLUDE_ASM(s32, "code_ECAA80", func_802414C8_ECB1C8); + +INCLUDE_ASM(s32, "code_ECAA80", func_8024150C_ECB20C); + +INCLUDE_ASM(s32, "code_ECAA80", func_80241770_ECB470); + +INCLUDE_ASM(s32, "code_ECAA80", func_802417CC_ECB4CC); + +INCLUDE_ASM(s32, "code_ECAA80", func_8024199C_ECB69C); + +INCLUDE_ASM(s32, "code_ECAA80", func_802419F0_ECB6F0); + +INCLUDE_ASM(s32, "code_ECAA80", func_80241A28_ECB728); + +INCLUDE_ASM(s32, "code_ECAA80", func_80241AC4_ECB7C4); + +INCLUDE_ASM(s32, "code_ECAA80", func_80241B88_ECB888); + +INCLUDE_ASM(s32, "code_ECAA80", func_80241BF8_ECB8F8); diff --git a/src/code_ECB930.c b/src/code_ECB930.c new file mode 100644 index 0000000000..c5d4105ff8 --- /dev/null +++ b/src/code_ECB930.c @@ -0,0 +1,5 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ECB930", func_80241C30_ECB930); + +INCLUDE_ASM(s32, "code_ECB930", func_80241CA0_ECB9A0); diff --git a/src/code_ECBB70.c b/src/code_ECBB70.c new file mode 100644 index 0000000000..38d162fe67 --- /dev/null +++ b/src/code_ECBB70.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ECBB70", func_80241E70_ECBB70); diff --git a/src/code_ECFFF0.c b/src/code_ECFFF0.c new file mode 100644 index 0000000000..74710aed6e --- /dev/null +++ b/src/code_ECFFF0.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ECFFF0", func_80240000_ECFFF0); diff --git a/src/code_ED0030.c b/src/code_ED0030.c new file mode 100644 index 0000000000..dc55d5ffd1 --- /dev/null +++ b/src/code_ED0030.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ED0030", func_80240040_ED0030); diff --git a/src/code_ED00D0.c b/src/code_ED00D0.c new file mode 100644 index 0000000000..248a3df936 --- /dev/null +++ b/src/code_ED00D0.c @@ -0,0 +1,5 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ED00D0", func_802400E0_ED00D0); + +INCLUDE_ASM(s32, "code_ED00D0", func_80240150_ED0140); diff --git a/src/code_ED0310.c b/src/code_ED0310.c new file mode 100644 index 0000000000..0566191e4b --- /dev/null +++ b/src/code_ED0310.c @@ -0,0 +1,23 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ED0310", func_80240320_ED0310); + +INCLUDE_ASM(s32, "code_ED0310", func_802404D0_ED04C0); + +INCLUDE_ASM(s32, "code_ED0310", func_80240AF8_ED0AE8); + +INCLUDE_ASM(s32, "code_ED0310", func_80240BB8_ED0BA8); + +INCLUDE_ASM(s32, "code_ED0310", func_80240EFC_ED0EEC); + +INCLUDE_ASM(s32, "code_ED0310", func_80240F74_ED0F64); + +INCLUDE_ASM(s32, "code_ED0310", func_80240FE0_ED0FD0); + +INCLUDE_ASM(s32, "code_ED0310", func_80241114_ED1104); + +INCLUDE_ASM(s32, "code_ED0310", func_80241178_ED1168); + +INCLUDE_ASM(s32, "code_ED0310", func_80241508_ED14F8); + +INCLUDE_ASM(s32, "code_ED0310", func_8024162C_ED161C); diff --git a/src/code_ED4220.c b/src/code_ED4220.c new file mode 100644 index 0000000000..714bc59dbf --- /dev/null +++ b/src/code_ED4220.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ED4220", func_80240000_ED4220); diff --git a/src/code_ED4260.c b/src/code_ED4260.c new file mode 100644 index 0000000000..eca897e20f --- /dev/null +++ b/src/code_ED4260.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ED4260", func_80240040_ED4260); diff --git a/src/code_ED42A0.c b/src/code_ED42A0.c new file mode 100644 index 0000000000..ca7a7ea2d9 --- /dev/null +++ b/src/code_ED42A0.c @@ -0,0 +1,9 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ED42A0", func_80240080_ED42A0); + +INCLUDE_ASM(s32, "code_ED42A0", func_80240134_ED4354); + +INCLUDE_ASM(s32, "code_ED42A0", func_80240198_ED43B8); + +INCLUDE_ASM(s32, "code_ED42A0", func_802402BC_ED44DC); diff --git a/src/code_ED46D0.c b/src/code_ED46D0.c new file mode 100644 index 0000000000..36173b2a6d --- /dev/null +++ b/src/code_ED46D0.c @@ -0,0 +1,5 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ED46D0", func_802404B0_ED46D0); + +INCLUDE_ASM(s32, "code_ED46D0", func_80240B10_ED4D30); diff --git a/src/code_ED5540.c b/src/code_ED5540.c new file mode 100644 index 0000000000..8a4354c95c --- /dev/null +++ b/src/code_ED5540.c @@ -0,0 +1,5 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ED5540", func_80241320_ED5540); + +INCLUDE_ASM(s32, "code_ED5540", func_80241390_ED55B0); diff --git a/src/code_ED8E20.c b/src/code_ED8E20.c new file mode 100644 index 0000000000..ecf88c9d16 --- /dev/null +++ b/src/code_ED8E20.c @@ -0,0 +1,15 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_ED8E20", func_80240000_ED8E20); + +INCLUDE_ASM(s32, "code_ED8E20", func_80240020_ED8E40); + +INCLUDE_ASM(s32, "code_ED8E20", func_80240034_ED8E54); + +INCLUDE_ASM(s32, "code_ED8E20", func_802400F0_ED8F10); + +INCLUDE_ASM(s32, "code_ED8E20", func_80240208_ED9028); + +INCLUDE_ASM(s32, "code_ED8E20", func_80240274_ED9094); + +INCLUDE_ASM(s32, "code_ED8E20", func_80240318_ED9138); diff --git a/src/code_EDBFE0.c b/src/code_EDBFE0.c new file mode 100644 index 0000000000..b11b9228af --- /dev/null +++ b/src/code_EDBFE0.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EDBFE0", func_80240000_EDBFE0); diff --git a/src/code_EDC020.c b/src/code_EDC020.c new file mode 100644 index 0000000000..e66c837219 --- /dev/null +++ b/src/code_EDC020.c @@ -0,0 +1,19 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EDC020", func_80240040_EDC020); + +INCLUDE_ASM(s32, "code_EDC020", func_802400B0_EDC090); + +INCLUDE_ASM(s32, "code_EDC020", func_8024027C_EDC25C); + +INCLUDE_ASM(s32, "code_EDC020", func_80240330_EDC310); + +INCLUDE_ASM(s32, "code_EDC020", func_80240394_EDC374); + +INCLUDE_ASM(s32, "code_EDC020", func_802403F0_EDC3D0); + +INCLUDE_ASM(s32, "code_EDC020", func_802405C0_EDC5A0); + +INCLUDE_ASM(s32, "code_EDC020", func_80240614_EDC5F4); + +INCLUDE_ASM(s32, "code_EDC020", func_8024064C_EDC62C); diff --git a/src/code_EDE9C0.c b/src/code_EDE9C0.c new file mode 100644 index 0000000000..3ac7bdaa70 --- /dev/null +++ b/src/code_EDE9C0.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EDE9C0", func_80240000_EDE9C0); diff --git a/src/code_EDEA00.c b/src/code_EDEA00.c new file mode 100644 index 0000000000..9fd6185982 --- /dev/null +++ b/src/code_EDEA00.c @@ -0,0 +1,51 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EDEA00", func_80240040_EDEA00); + +INCLUDE_ASM(s32, "code_EDEA00", func_802401C4_EDEB84); + +INCLUDE_ASM(s32, "code_EDEA00", func_80240374_EDED34); + +INCLUDE_ASM(s32, "code_EDEA00", func_8024099C_EDF35C); + +INCLUDE_ASM(s32, "code_EDEA00", func_80240A5C_EDF41C); + +INCLUDE_ASM(s32, "code_EDEA00", func_80240DA0_EDF760); + +INCLUDE_ASM(s32, "code_EDEA00", func_80240E18_EDF7D8); + +INCLUDE_ASM(s32, "code_EDEA00", func_80240E84_EDF844); + +INCLUDE_ASM(s32, "code_EDEA00", func_80240FB8_EDF978); + +INCLUDE_ASM(s32, "code_EDEA00", func_8024101C_EDF9DC); + +INCLUDE_ASM(s32, "code_EDEA00", func_802413AC_EDFD6C); + +INCLUDE_ASM(s32, "code_EDEA00", func_802414D0_EDFE90); + +INCLUDE_ASM(s32, "code_EDEA00", func_802416E8_EE00A8); + +INCLUDE_ASM(s32, "code_EDEA00", func_80241730_EE00F0); + +INCLUDE_ASM(s32, "code_EDEA00", func_80241B94_EE0554); + +INCLUDE_ASM(s32, "code_EDEA00", func_80241DE4_EE07A4); + +INCLUDE_ASM(s32, "code_EDEA00", func_802422F0_EE0CB0); + +INCLUDE_ASM(s32, "code_EDEA00", func_8024236C_EE0D2C); + +INCLUDE_ASM(s32, "code_EDEA00", func_802424A0_EE0E60); + +INCLUDE_ASM(s32, "code_EDEA00", func_80242604_EE0FC4); + +INCLUDE_ASM(s32, "code_EDEA00", func_80242684_EE1044); + +INCLUDE_ASM(s32, "code_EDEA00", func_80242AF0_EE14B0); + +INCLUDE_ASM(s32, "code_EDEA00", pause_interp_text_scroll_EE1DD8); + +INCLUDE_ASM(s32, "code_EDEA00", func_80243470_EE1E30); + +INCLUDE_ASM(s32, "code_EDEA00", func_80243584_EE1F44); diff --git a/src/code_EE2040.c b/src/code_EE2040.c new file mode 100644 index 0000000000..64fe03621a --- /dev/null +++ b/src/code_EE2040.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EE2040", func_80243680_EE2040); diff --git a/src/code_EE65B0.c b/src/code_EE65B0.c new file mode 100644 index 0000000000..c49788212e --- /dev/null +++ b/src/code_EE65B0.c @@ -0,0 +1,19 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EE65B0", func_80240000_EE65B0); + +INCLUDE_ASM(s32, "code_EE65B0", func_80240124_EE66D4); + +INCLUDE_ASM(s32, "code_EE65B0", func_8024030C_EE68BC); + +INCLUDE_ASM(s32, "code_EE65B0", func_80240340_EE68F0); + +INCLUDE_ASM(s32, "code_EE65B0", func_802403D4_EE6984); + +INCLUDE_ASM(s32, "code_EE65B0", func_8024042C_EE69DC); + +INCLUDE_ASM(s32, "code_EE65B0", func_8024046C_EE6A1C); + +INCLUDE_ASM(s32, "code_EE65B0", func_80240504_EE6AB4); + +INCLUDE_ASM(s32, "code_EE65B0", func_802407D4_EE6D84); diff --git a/src/code_EE70C0.c b/src/code_EE70C0.c new file mode 100644 index 0000000000..2e0f905b8d --- /dev/null +++ b/src/code_EE70C0.c @@ -0,0 +1,33 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EE70C0", func_80240B10_EE70C0); + +INCLUDE_ASM(s32, "code_EE70C0", func_80240CC0_EE7270); + +INCLUDE_ASM(s32, "code_EE70C0", func_802412E8_EE7898); + +INCLUDE_ASM(s32, "code_EE70C0", func_802413A8_EE7958); + +INCLUDE_ASM(s32, "code_EE70C0", func_802416EC_EE7C9C); + +INCLUDE_ASM(s32, "code_EE70C0", func_80241764_EE7D14); + +INCLUDE_ASM(s32, "code_EE70C0", func_802417D0_EE7D80); + +INCLUDE_ASM(s32, "code_EE70C0", func_80241904_EE7EB4); + +INCLUDE_ASM(s32, "code_EE70C0", func_80241968_EE7F18); + +INCLUDE_ASM(s32, "code_EE70C0", func_80241CF8_EE82A8); + +INCLUDE_ASM(s32, "code_EE70C0", func_80241E1C_EE83CC); + +INCLUDE_ASM(s32, "code_EE70C0", func_80242034_EE85E4); + +INCLUDE_ASM(s32, "code_EE70C0", func_80242090_EE8640); + +INCLUDE_ASM(s32, "code_EE70C0", func_80242260_EE8810); + +INCLUDE_ASM(s32, "code_EE70C0", func_802422B4_EE8864); + +INCLUDE_ASM(s32, "code_EE70C0", func_802422EC_EE889C); diff --git a/src/code_EE8940.c b/src/code_EE8940.c new file mode 100644 index 0000000000..48f0a3a275 --- /dev/null +++ b/src/code_EE8940.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EE8940", func_80242390_EE8940); diff --git a/src/code_EED100.c b/src/code_EED100.c new file mode 100644 index 0000000000..2a123e4d89 --- /dev/null +++ b/src/code_EED100.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EED100", func_80240000_EED100); diff --git a/src/code_EED140.c b/src/code_EED140.c new file mode 100644 index 0000000000..f8605950b2 --- /dev/null +++ b/src/code_EED140.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EED140", func_80240040_EED140); diff --git a/src/code_EED1E0.c b/src/code_EED1E0.c new file mode 100644 index 0000000000..f647c343f2 --- /dev/null +++ b/src/code_EED1E0.c @@ -0,0 +1,39 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EED1E0", func_802400E0_EED1E0); + +INCLUDE_ASM(s32, "code_EED1E0", func_802400FC_EED1FC); + +INCLUDE_ASM(s32, "code_EED1E0", func_8024011C_EED21C); + +INCLUDE_ASM(s32, "code_EED1E0", func_80240148_EED248); + +INCLUDE_ASM(s32, "code_EED1E0", func_802401B4_EED2B4); + +INCLUDE_ASM(s32, "code_EED1E0", func_80240200_EED300); + +INCLUDE_ASM(s32, "code_EED1E0", func_802402AC_EED3AC); + +INCLUDE_ASM(s32, "code_EED1E0", func_802404FC_EED5FC); + +INCLUDE_ASM(s32, "code_EED1E0", func_80240528_EED628); + +INCLUDE_ASM(s32, "code_EED1E0", func_80240560_EED660); + +INCLUDE_ASM(s32, "code_EED1E0", func_802405F0_EED6F0); + +INCLUDE_ASM(s32, "code_EED1E0", func_80240624_EED724); + +INCLUDE_ASM(s32, "code_EED1E0", func_80240688_EED788); + +INCLUDE_ASM(s32, "code_EED1E0", func_802406E0_EED7E0); + +INCLUDE_ASM(s32, "code_EED1E0", func_80240C18_EEDD18); + +INCLUDE_ASM(s32, "code_EED1E0", func_80240D58_EEDE58); + +INCLUDE_ASM(s32, "code_EED1E0", func_80240DA0_EEDEA0); + +INCLUDE_ASM(s32, "code_EED1E0", func_80240DE8_EEDEE8); + +INCLUDE_ASM(s32, "code_EED1E0", func_80240E18_EEDF18); diff --git a/src/code_EEDF50.c b/src/code_EEDF50.c new file mode 100644 index 0000000000..11ee79dbcc --- /dev/null +++ b/src/code_EEDF50.c @@ -0,0 +1,31 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EEDF50", func_80240E50_EEDF50); + +INCLUDE_ASM(s32, "code_EEDF50", func_80241000_EEE100); + +INCLUDE_ASM(s32, "code_EEDF50", func_80241628_EEE728); + +INCLUDE_ASM(s32, "code_EEDF50", func_802416E8_EEE7E8); + +INCLUDE_ASM(s32, "code_EEDF50", func_80241A2C_EEEB2C); + +INCLUDE_ASM(s32, "code_EEDF50", func_80241AA4_EEEBA4); + +INCLUDE_ASM(s32, "code_EEDF50", func_80241B10_EEEC10); + +INCLUDE_ASM(s32, "code_EEDF50", func_80241C44_EEED44); + +INCLUDE_ASM(s32, "code_EEDF50", func_80241CA8_EEEDA8); + +INCLUDE_ASM(s32, "code_EEDF50", func_80242038_EEF138); + +INCLUDE_ASM(s32, "code_EEDF50", func_8024215C_EEF25C); + +INCLUDE_ASM(s32, "code_EEDF50", func_80242374_EEF474); + +INCLUDE_ASM(s32, "code_EEDF50", func_802424A4_EEF5A4); + +INCLUDE_ASM(s32, "code_EEDF50", func_80242724_EEF824); + +INCLUDE_ASM(s32, "code_EEDF50", func_80242780_EEF880); diff --git a/src/code_EEFAA0.c b/src/code_EEFAA0.c new file mode 100644 index 0000000000..539f893270 --- /dev/null +++ b/src/code_EEFAA0.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EEFAA0", func_802429A0_EEFAA0); diff --git a/src/code_EF2610.c b/src/code_EF2610.c new file mode 100644 index 0000000000..912396f5f3 --- /dev/null +++ b/src/code_EF2610.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EF2610", func_80240000_EF2610); diff --git a/src/code_EF2650.c b/src/code_EF2650.c new file mode 100644 index 0000000000..9909ad6690 --- /dev/null +++ b/src/code_EF2650.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EF2650", func_80240040_EF2650); diff --git a/src/code_EF2680.c b/src/code_EF2680.c new file mode 100644 index 0000000000..de8da5f105 --- /dev/null +++ b/src/code_EF2680.c @@ -0,0 +1,43 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EF2680", func_80240070_EF2680); + +INCLUDE_ASM(s32, "code_EF2680", func_80240220_EF2830); + +INCLUDE_ASM(s32, "code_EF2680", func_80240848_EF2E58); + +INCLUDE_ASM(s32, "code_EF2680", func_80240908_EF2F18); + +INCLUDE_ASM(s32, "code_EF2680", func_80240C4C_EF325C); + +INCLUDE_ASM(s32, "code_EF2680", func_80240CC4_EF32D4); + +INCLUDE_ASM(s32, "code_EF2680", func_80240D30_EF3340); + +INCLUDE_ASM(s32, "code_EF2680", func_80240E64_EF3474); + +INCLUDE_ASM(s32, "code_EF2680", func_80240EC8_EF34D8); + +INCLUDE_ASM(s32, "code_EF2680", func_80241258_EF3868); + +INCLUDE_ASM(s32, "code_EF2680", func_8024137C_EF398C); + +INCLUDE_ASM(s32, "code_EF2680", func_80241594_EF3BA4); + +INCLUDE_ASM(s32, "code_EF2680", func_802415DC_EF3BEC); + +INCLUDE_ASM(s32, "code_EF2680", func_80241A40_EF4050); + +INCLUDE_ASM(s32, "code_EF2680", func_80241C90_EF42A0); + +INCLUDE_ASM(s32, "code_EF2680", func_8024219C_EF47AC); + +INCLUDE_ASM(s32, "code_EF2680", func_80242218_EF4828); + +INCLUDE_ASM(s32, "code_EF2680", func_8024234C_EF495C); + +INCLUDE_ASM(s32, "code_EF2680", func_802424B0_EF4AC0); + +INCLUDE_ASM(s32, "code_EF2680", func_80242530_EF4B40); + +INCLUDE_ASM(s32, "code_EF2680", func_8024299C_EF4FAC); diff --git a/src/code_EF7A80.c b/src/code_EF7A80.c new file mode 100644 index 0000000000..170b82100c --- /dev/null +++ b/src/code_EF7A80.c @@ -0,0 +1,11 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EF7A80", func_80240000_EF7A80); + +INCLUDE_ASM(s32, "code_EF7A80", func_80240124_EF7BA4); + +INCLUDE_ASM(s32, "code_EF7A80", func_8024030C_EF7D8C); + +INCLUDE_ASM(s32, "code_EF7A80", func_80240340_EF7DC0); + +INCLUDE_ASM(s32, "code_EF7A80", func_80240394_EF7E14); diff --git a/src/code_EF7FB0.c b/src/code_EF7FB0.c new file mode 100644 index 0000000000..7e65ef8c00 --- /dev/null +++ b/src/code_EF7FB0.c @@ -0,0 +1,3 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EF7FB0", func_80240530_EF7FB0); diff --git a/src/code_EF8010.c b/src/code_EF8010.c new file mode 100644 index 0000000000..ac3e62aef6 --- /dev/null +++ b/src/code_EF8010.c @@ -0,0 +1,5 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EF8010", func_80240590_EF8010); + +INCLUDE_ASM(s32, "code_EF8010", func_80240600_EF8080); diff --git a/src/code_EFEB00.c b/src/code_EFEB00.c new file mode 100644 index 0000000000..d8ed16444a --- /dev/null +++ b/src/code_EFEB00.c @@ -0,0 +1,19 @@ +#include "common.h" + +INCLUDE_ASM(s32, "code_EFEB00", func_80240000_EFEB00); + +INCLUDE_ASM(s32, "code_EFEB00", func_80240124_EFEC24); + +INCLUDE_ASM(s32, "code_EFEB00", func_8024030C_EFEE0C); + +INCLUDE_ASM(s32, "code_EFEB00", func_80240340_EFEE40); + +INCLUDE_ASM(s32, "code_EFEB00", func_802404D0_EFEFD0); + +INCLUDE_ASM(s32, "code_EFEB00", func_80240540_EFF040); + +INCLUDE_ASM(s32, "code_EFEB00", func_80240660_EFF160); + +INCLUDE_ASM(s32, "code_EFEB00", func_80240784_EFF284); + +INCLUDE_ASM(s32, "code_EFEB00", func_802407B0_EFF2B0); diff --git a/tools/splat.yaml b/tools/splat.yaml index 18fd4f7c88..c8acc9f2a2 100644 --- a/tools/splat.yaml +++ b/tools/splat.yaml @@ -8446,82 +8446,182 @@ segments: - [0xE2F750, c] - [0xE31380, bin] - [0xE31530, bin] # unk data - - [0xEA0900, bin] # code - - [0xEA0C10, bin] # code - - [0xEA36E0, bin] # code - - [0xEA3A80, bin] # data ___ - - [0xEA6FD0, bin] # code - - [0xEA7010, bin] # code - - [0xEA7320, bin] # code - - [0xEA7390, bin] # data ___ - - [0xEA8AE0, bin] # code - - [0xEAA810, bin] # data ___ - - [0xEB0E60, bin] # code - - [0xEB1170, bin] # code - - [0xEB1920, bin] # data ___ - - [0xEB5130, bin] # code - - [0xEB5470, bin] # code - - [0xEB54C0, bin] # data ___ - - [0xEB7230, bin] # code - - [0xEB7540, bin] # code - - [0xEB7850, bin] # data ___ - - [0xEB8E50, bin] # code - - [0xEB8E90, bin] # code - - [0xEB9D90, bin] # code - - [0xEBA260, bin] # data ___ - - [0xEC2200, bin] # code - - [0xEC2240, bin] # code - - [0xEC2610, bin] # code - - [0xEC2850, bin] # data ___ - - [0xEC71B0, bin] # code - - [0xEC7590, bin] # code - - [0xEC78F0, bin] # data ___ - - [0xEC9D00, bin] # code - - [0xECAA40, bin] # code - - [0xECAA80, bin] # code - - [0xECB930, bin] # code - - [0xECBB70, bin] # code - - [0xECBC10, bin] # data ___ - - [0xECFFF0, bin] # code - - [0xED0030, bin] # code - - [0xED00D0, bin] # code - - [0xED0310, bin] # code - - [0xED1840, bin] # data ___ - - [0xED4220, bin] # code - - [0xED4260, bin] # code - - [0xED42A0, bin] # code - - [0xED46D0, bin] # code - - [0xED5540, bin] # code - - [0xED5780, bin] # data ___ - - [0xED8E20, bin] # code - - [0xED9170, bin] # data ___ - - [0xEDBFE0, bin] # code - - [0xEDC020, bin] # code - - [0xEDC6D0, bin] # data ___ - - [0xEDE9C0, bin] # code - - [0xEDEA00, bin] # code - - [0xEE2040, bin] # code - - [0xEE20E0, bin] # data ___ - - [0xEE65B0, bin] # code - - [0xEE70C0, bin] # code - - [0xEE8940, bin] # code - - [0xEE8970, bin] # data ___ - - [0xEED100, bin] # code - - [0xEED140, bin] # code - - [0xEED1E0, bin] # code - - [0xEEDF50, bin] # code - - [0xEEFAA0, bin] # code - - [0xEEFAD0, bin] # data ___ - - [0xEF2610, bin] # code - - [0xEF2650, bin] # code - - [0xEF2680, bin] # code - - [0xEF58E0, bin] # data ___ - - [0xEF7A80, bin] # code - - [0xEF7FB0, bin] # code - - [0xEF8010, bin] # code - - [0xEF8250, bin] # data ___ - - [0xEFEB00, bin] # code - - [0xEFF440, bin] # data ___ + - type: code + start: 0xEA0900 + vram: 0x80240000 + overlay: True + files: + - [0xEA0900, c] + - [0xEA0C10, c] + - [0xEA36E0, c] + - [0xEA3A80, bin] + - type: code + start: 0xEA6FD0 + vram: 0x80240000 + overlay: True + files: + - [0xEA6FD0, c] + - [0xEA7010, c] + - [0xEA7320, c] + - [0xEA7390, bin] + - type: code + start: 0xEA8AE0 + vram: 0x80240000 + overlay: True + files: + - [0xEA8AE0, c] + - [0xEAA810, bin] + - type: code + start: 0xEB0E60 + vram: 0x80240000 + overlay: True + files: + - [0xEB0E60, c] + - [0xEB1170, c] + - [0xEB1920, bin] + - type: code + start: 0xEB5130 + vram: 0x80240000 + overlay: True + files: + - [0xEB5130, c] + - [0xEB5470, c] + - [0xEB54C0, bin] + - type: code + start: 0xEB7230 + vram: 0x80240000 + overlay: True + files: + - [0xEB7230, c] + - [0xEB7540, c] + - [0xEB7850, bin] + - type: code + start: 0xEB8E50 + vram: 0x80240000 + overlay: True + files: + - [0xEB8E50, c] + - [0xEB8E90, c] + - [0xEB9D90, c] + - [0xEBA260, bin] + - type: code + start: 0xEC2200 + vram: 0x80240000 + overlay: True + files: + - [0xEC2200, c] + - [0xEC2240, c] + - [0xEC2610, c] + - [0xEC2850, bin] + - type: code + start: 0xEC71B0 + vram: 0x80240000 + overlay: True + files: + - [0xEC71B0, c] + - [0xEC7590, c] + - [0xEC78F0, bin] + - type: code + start: 0xEC9D00 + vram: 0x80240000 + overlay: True + files: + - [0xEC9D00, c] + - [0xECAA40, c] + - [0xECAA80, c] + - [0xECB930, c] + - [0xECBB70, c] + - [0xECBC10, bin] + - type: code + start: 0xECFFF0 + vram: 0x80240000 + overlay: True + files: + - [0xECFFF0, c] + - [0xED0030, c] + - [0xED00D0, c] + - [0xED0310, c] + - [0xED1840, bin] + - type: code + start: 0xED4220 + vram: 0x80240000 + overlay: True + files: + - [0xED4220, c] + - [0xED4260, c] + - [0xED42A0, c] + - [0xED46D0, c] + - [0xED5540, c] + - [0xED5780, bin] + - type: code + start: 0xED8E20 + vram: 0x80240000 + overlay: True + files: + - [0xED8E20, c] + - [0xED9170, bin] + - type: code + start: 0xEDBFE0 + vram: 0x80240000 + overlay: True + files: + - [0xEDBFE0, c] + - [0xEDC020, c] + - [0xEDC6D0, bin] + - type: code + start: 0xEDE9C0 + vram: 0x80240000 + overlay: True + files: + - [0xEDE9C0, c] + - [0xEDEA00, c] + - [0xEE2040, c] + - [0xEE20E0, bin] + - type: code + start: 0xEE65B0 + vram: 0x80240000 + overlay: True + files: + - [0xEE65B0, c] + - [0xEE70C0, c] + - [0xEE8940, c] + - [0xEE8970, bin] + - type: code + start: 0xEED100 + vram: 0x80240000 + overlay: True + files: + - [0xEED100, c] + - [0xEED140, c] + - [0xEED1E0, c] + - [0xEEDF50, c] + - [0xEEFAA0, c] + - [0xEEFAD0, bin] + - type: code + start: 0xEF2610 + vram: 0x80240000 + overlay: True + files: + - [0xEF2610, c] + - [0xEF2650, c] + - [0xEF2680, c] + - [0xEF58E0, bin] + - type: code + start: 0xEF7A80 + vram: 0x80240000 + overlay: True + files: + - [0xEF7A80, c] + - [0xEF7FB0, c] + - [0xEF8010, c] + - [0xEF8250, bin] + - type: code + start: 0xEFEB00 + vram: 0x80240000 + overlay: True + files: + - [0xEFEB00, c] + - [0xEFF440, bin] - [0xF007C0, bin, Battle_Fanfare_02] # BGM start - [0xF02160, bin, Hey_You_03] - [0xF03740, bin, The_Goomba_King_s_Decree_07] diff --git a/undefined_funcs_auto.txt b/undefined_funcs_auto.txt index 244f06a5f7..706ea94c9d 100644 --- a/undefined_funcs_auto.txt +++ b/undefined_funcs_auto.txt @@ -1,7 +1,107 @@ +func_8002A910 = 0x8002A910; +func_8002AA2C = 0x8002AA2C; +func_8002ACEC = 0x8002ACEC; +func_8002AE14 = 0x8002AE14; +func_8002AF18 = 0x8002AF18; +func_8002B1C4 = 0x8002B1C4; +func_8002B21C = 0x8002B21C; +func_8002B28C = 0x8002B28C; +func_8002B45C = 0x8002B45C; +func_8002B4C0 = 0x8002B4C0; +func_8002B524 = 0x8002B524; +func_8002B5DC = 0x8002B5DC; +func_8002B640 = 0x8002B640; +func_8002B6A4 = 0x8002B6A4; +func_8002BF18 = 0x8002BF18; +func_8002BF68 = 0x8002BF68; +func_8002BFD4 = 0x8002BFD4; +func_8002C01C = 0x8002C01C; +func_8002FCBC = 0x8002FCBC; +func_8003C43C = 0x8003C43C; +func_8003E424 = 0x8003E424; +func_8003E4BC = 0x8003E4BC; +func_8003E534 = 0x8003E534; +func_8003E5E8 = 0x8003E5E8; +func_8003ED50 = 0x8003ED50; +func_80041080 = 0x80041080; +func_80042AF4 = 0x80042AF4; +func_8004D0C4 = 0x8004D0C4; +func_8004D1A4 = 0x8004D1A4; +func_8004D800 = 0x8004D800; +func_8004D8E0 = 0x8004D8E0; +func_8004D9C0 = 0x8004D9C0; +func_8004DAD8 = 0x8004DAD8; +func_8004DF64 = 0x8004DF64; +func_8004E024 = 0x8004E024; +func_8004E25C = 0x8004E25C; +func_8004E2EC = 0x8004E2EC; +func_8004E39C = 0x8004E39C; +func_8004E544 = 0x8004E544; +func_8004E808 = 0x8004E808; +func_8004EB8C = 0x8004EB8C; +func_80059AC8 = 0x80059AC8; +func_8005F128 = 0x8005F128; +func_8005F238 = 0x8005F238; +func_80066FE0 = 0x80066FE0; +func_80067040 = 0x80067040; +func_8006CAC0 = 0x8006CAC0; +func_80074070 = 0x80074070; +func_80075110 = 0x80075110; +func_80075170 = 0x80075170; +func_80075E30 = 0x80075E30; +func_80076970 = 0x80076970; +func_800769D0 = 0x800769D0; +func_800775D0 = 0x800775D0; +func_80077930 = 0x80077930; +func_80077BD0 = 0x80077BD0; +func_80077C30 = 0x80077C30; +func_800E423C = 0x800E423C; +func_800E5304 = 0x800E5304; +func_800E53AC = 0x800E53AC; +func_800F16F4 = 0x800F16F4; +func_800F1718 = 0x800F1718; +func_800F1730 = 0x800F1730; +func_800F1D9C = 0x800F1D9C; +func_800F1EF8 = 0x800F1EF8; +func_800F2D5C = 0x800F2D5C; +func_800F2E98 = 0x800F2E98; +func_800F7278 = 0x800F7278; +func_800F9260 = 0x800F9260; +func_800F93E8 = 0x800F93E8; +func_800FCD0C = 0x800FCD0C; +func_80118BB0 = 0x80118BB0; +func_8011AAB4 = 0x8011AAB4; +func_80124F44 = 0x80124F44; +func_80125270 = 0x80125270; +func_80126064 = 0x80126064; +func_8012607C = 0x8012607C; +func_80126094 = 0x80126094; +func_801260AC = 0x801260AC; +func_801266F8 = 0x801266F8; +func_80126734 = 0x80126734; +func_80128510 = 0x80128510; +func_8012DFE8 = 0x8012DFE8; +func_80130C64 = 0x80130C64; +func_80130C74 = 0x80130C74; +func_8013CF98 = 0x8013CF98; +func_80144178 = 0x80144178; +func_80144194 = 0x80144194; +func_80144200 = 0x80144200; +func_8015704C = 0x8015704C; +func_80157118 = 0x80157118; +func_801574DC = 0x801574DC; func_802409F4 = 0x802409F4; func_80240AA8 = 0x80240AA8; func_80241190 = 0x80241190; +func_80242E00 = 0x80242E00; func_802AE000 = 0x802AE000; func_802B7000 = 0x802B7000; func_802B71C8 = 0x802B71C8; func_802BD100 = 0x802BD100; +func_802D4E8C = 0x802D4E8C; +func_802D5468 = 0x802D5468; +func_802D57FC = 0x802D57FC; +func_802D5A10 = 0x802D5A10; +func_802E2A80 = 0x802E2A80; +func_802E2B74 = 0x802E2B74; +func_802F3B00 = 0x802F3B00; diff --git a/undefined_syms_auto.txt b/undefined_syms_auto.txt index aa9a47b68e..cbd21b2673 100644 --- a/undefined_syms_auto.txt +++ b/undefined_syms_auto.txt @@ -16,6 +16,9 @@ D_800779B0 = 0x800779B0; D_800779C4 = 0x800779C4; D_800779CB = 0x800779CB; D_80077A24 = 0x80077A24; +D_80079430 = 0x80079430; +D_80079540 = 0x80079540; +D_8007C760 = 0x8007C760; D_8007FF20 = 0x8007FF20; D_80080208 = 0x80080208; D_800806A0 = 0x800806A0; @@ -35,6 +38,7 @@ D_80082358 = 0x80082358; D_80082388 = 0x80082388; gItemTable = 0x800878E0; D_8008A680 = 0x8008A680; +D_8008D2C0 = 0x8008D2C0; D_8008DDD4 = 0x8008DDD4; D_8008E3D8 = 0x8008E3D8; D_8008E94C = 0x8008E94C; @@ -111,6 +115,7 @@ D_80094694 = 0x80094694; D_80094698 = 0x80094698; D_8009469C = 0x8009469C; osViModeTable = 0x800946A0; +D_80094900 = 0x80094900; D_80095820 = 0x80095820; D_80095870 = 0x80095870; D_800958C0 = 0x800958C0; @@ -411,6 +416,12 @@ D_800A0F40 = 0x800A0F40; D_800A0F44 = 0x800A0F44; D_800A0F50 = 0x800A0F50; D_800A0F58 = 0x800A0F58; +D_800A1530 = 0x800A1530; +D_800A158C = 0x800A158C; +D_800A15A4 = 0x800A15A4; +D_800A15A8 = 0x800A15A8; +D_800A15C4 = 0x800A15C4; +D_800A15CC = 0x800A15CC; D_800A3510 = 0x800A3510; D_800A3520 = 0x800A3520; D_800A3628 = 0x800A3628; @@ -565,7 +576,10 @@ D_800B451E = 0x800B451E; D_800B451F = 0x800B451F; D_800B4520 = 0x800B4520; D_800B6590 = 0x800B6590; +D_800B7EF0 = 0x800B7EF0; D_800B8590 = 0x800B8590; +D_800B8D80 = 0x800B8D80; +D_800B8DEC = 0x800B8DEC; D_800B91A0 = 0x800B91A0; D_800B91D0 = 0x800B91D0; D_800D91D0 = 0x800D91D0; @@ -657,6 +671,9 @@ gPartnerAnimations = 0x800F8348; D_800F84F8 = 0x800F84F8; D_800FBB60 = 0x800FBB60; D_800FBBE0 = 0x800FBBE0; +D_800FFC90 = 0x800FFC90; +D_80100060 = 0x80100060; +D_801000A0 = 0x801000A0; D_80104A00 = 0x80104A00; D_80104A28 = 0x80104A28; D_80104AC0 = 0x80104AC0; @@ -934,10 +951,18 @@ D_8010F250 = 0x8010F250; gPlayerData = 0x8010F290; D_8010F6B8 = 0x8010F6B8; update_entities = 0x8010F6D0; -func_80147474 = 0x80147474; +D_80117160 = 0x80117160; +D_80117163 = 0x80117163; +D_80117578 = 0x80117578; +D_80117604 = 0x80117604; +D_8011762C = 0x8011762C; +D_80117840 = 0x80117840; +D_80117848 = 0x80117848; +D_80117852 = 0x80117852; D_80147474 = 0x80147474; -func_80147574 = 0x80147574; +func_80147474 = 0x80147474; D_80147574 = 0x80147574; +func_80147574 = 0x80147574; func_80147650 = 0x80147650; D_8014B7F0 = 0x8014B7F0; D_8014C248 = 0x8014C248; @@ -1360,6 +1385,8 @@ D_8015C7D2 = 0x8015C7D2; D_8015C7D8 = 0x8015C7D8; D_8015C7E0 = 0x8015C7E0; D_80164000 = 0x80164000; +D_80169B12 = 0x80169B12; +D_80169B16 = 0x80169B16; D_80197000 = 0x80197000; D_801A6000 = 0x801A6000; D_801A7000 = 0x801A7000; @@ -1729,6 +1756,7 @@ func_80240E94_9C6274 = 0x80240E94; D_80240EF0 = 0x80240EF0; D_80240F00 = 0x80240F00; D_80240F08 = 0x80240F08; +D_80240F28 = 0x80240F28; func_80240F2C_95C12C = 0x80240F2C; func_80240FD0_A3A4B0 = 0x80240FD0; D_80240FF8 = 0x80240FF8; @@ -1795,6 +1823,7 @@ func_80241760_C50C70 = 0x80241760; D_80241768 = 0x80241768; func_80241770_832F70 = 0x80241770; D_80241778 = 0x80241778; +func_80241780_E13EE0 = 0x80241780; func_80241780_8ED5A0 = 0x80241780; D_802417C8 = 0x802417C8; D_802417CC = 0x802417CC; @@ -1820,8 +1849,8 @@ D_80241A00 = 0x80241A00; func_80241A78_BA61F8 = 0x80241A78; func_80241AC8_D2D7F8 = 0x80241AC8; func_80241AD4_B4C544 = 0x80241AD4; -func_80241AE0_DCE7B0 = 0x80241AE0; func_80241AE0_9F6520 = 0x80241AE0; +func_80241AE0_DCE7B0 = 0x80241AE0; D_80241AE8 = 0x80241AE8; func_80241AEC_80236C = 0x80241AEC; func_80241AF0_A6FED0 = 0x80241AF0; @@ -1870,6 +1899,7 @@ func_80241D38_991518 = 0x80241D38; D_80241D3B = 0x80241D3B; D_80241D98 = 0x80241D98; D_80241D9C = 0x80241D9C; +func_80241DA0_7ECAB0 = 0x80241DA0; D_80241DA8 = 0x80241DA8; D_80241DD0 = 0x80241DD0; D_80241E20 = 0x80241E20; @@ -1880,8 +1910,8 @@ func_80241E48_C70178 = 0x80241E48; func_80241E50_A4A410 = 0x80241E50; func_80241E58_9C7238 = 0x80241E58; func_80241E90_8B1F00 = 0x80241E90; -D_80241E98 = 0x80241E98; func_80241E98_A1CF98 = 0x80241E98; +D_80241E98 = 0x80241E98; D_80241EA0 = 0x80241EA0; D_80241EA8 = 0x80241EA8; D_80241ECC = 0x80241ECC; @@ -1895,13 +1925,16 @@ D_80241FB8 = 0x80241FB8; D_80241FC0 = 0x80241FC0; func_80241FC8_C87A78 = 0x80241FC8; D_80241FE0 = 0x80241FE0; +func_80241FE8_D3C5B8 = 0x80241FE8; D_80241FF4 = 0x80241FF4; +func_80241FF8_C41DA8 = 0x80241FF8; D_80242000 = 0x80242000; func_80242000_C48BE0 = 0x80242000; D_80242008 = 0x80242008; D_80242010 = 0x80242010; -func_80242030_8EDE50 = 0x80242030; D_80242030 = 0x80242030; +func_80242030_8EDE50 = 0x80242030; +func_80242038_CD3E68 = 0x80242038; D_80242038 = 0x80242038; func_80242040_8B20B0 = 0x80242040; D_80242048 = 0x80242048; @@ -1966,8 +1999,8 @@ D_80242518 = 0x80242518; D_80242520 = 0x80242520; D_80242528 = 0x80242528; D_80242530 = 0x80242530; -func_80242538_D223C8 = 0x80242538; D_80242538 = 0x80242538; +func_80242538_D223C8 = 0x80242538; D_8024253C = 0x8024253C; func_80242540_A09440 = 0x80242540; func_80242558_A1D658 = 0x80242558; @@ -2013,8 +2046,8 @@ D_80242888 = 0x80242888; D_802428E0_DF1780 = 0x802428E0; func_8024291C_C494FC = 0x8024291C; D_8024292C = 0x8024292C; -func_80242930_9C7D10 = 0x80242930; D_80242930 = 0x80242930; +func_80242930_9C7D10 = 0x80242930; D_8024296C_C8841C = 0x8024296C; func_80242970_7ED680 = 0x80242970; D_802429A4 = 0x802429A4; @@ -2035,8 +2068,8 @@ D_80242AC4 = 0x80242AC4; D_80242ACC = 0x80242ACC; D_80242AD0 = 0x80242AD0; D_80242B7E = 0x80242B7E; -func_80242B90_A1DC90 = 0x80242B90; func_80242B90_803410 = 0x80242B90; +func_80242B90_A1DC90 = 0x80242B90; D_80242B98 = 0x80242B98; D_80242B9C = 0x80242B9C; pause_set_cursor_opacity = 0x80242BA0; @@ -2048,8 +2081,8 @@ D_80242BF8 = 0x80242BF8; func_80242C00_BB0540 = 0x80242C00; D_80242C08 = 0x80242C08; D_80242C0E = 0x80242C0E; -D_80242C30 = 0x80242C30; func_80242C30_B37800 = 0x80242C30; +D_80242C30 = 0x80242C30; D_80242C38 = 0x80242C38; D_80242C40 = 0x80242C40; func_80242C48_9122F8 = 0x80242C48; @@ -2112,24 +2145,28 @@ D_80243078 = 0x80243078; D_80243080 = 0x80243080; func_80243088_8551F8 = 0x80243088; D_8024308C = 0x8024308C; -func_80243090_8B3100 = 0x80243090; func_80243090_C395C0 = 0x80243090; +func_80243090_8B3100 = 0x80243090; D_80243098 = 0x80243098; func_8024309C_95E29C = 0x8024309C; D_802430A0 = 0x802430A0; func_802430A8_A967E8 = 0x802430A8; D_802430B0 = 0x802430B0; +func_802430B8_8B3128 = 0x802430B8; +D_802430BC = 0x802430BC; func_802430C0_B37C90 = 0x802430C0; D_802430E8 = 0x802430E8; func_802430F0_C49CD0 = 0x802430F0; D_80243110 = 0x80243110; D_80243168 = 0x80243168; +D_80243170 = 0x80243170; D_80243178 = 0x80243178; D_80243190 = 0x80243190; D_802431CC = 0x802431CC; func_802431E4_8B3254 = 0x802431E4; D_802431F0 = 0x802431F0; D_802431F8 = 0x802431F8; +func_802431FC_95E3FC = 0x802431FC; D_80243200 = 0x80243200; func_80243210_8B3280 = 0x80243210; func_80243220_DC04D0 = 0x80243220; @@ -2193,11 +2230,11 @@ func_802435C8_96C788 = 0x802435C8; func_802435D0_CC6DE0 = 0x802435D0; func_802435D8_C43388 = 0x802435D8; D_802435E0 = 0x802435E0; -D_802435E8 = 0x802435E8; func_802435E8_DD02B8 = 0x802435E8; +D_802435E8 = 0x802435E8; D_802435EC = 0x802435EC; -func_802435F0_C7A2D0 = 0x802435F0; D_802435F0 = 0x802435F0; +func_802435F0_C7A2D0 = 0x802435F0; D_80243600 = 0x80243600; D_80243608 = 0x80243608; D_80243610 = 0x80243610; @@ -2205,6 +2242,7 @@ D_80243614 = 0x80243614; D_8024362C = 0x8024362C; D_80243650 = 0x80243650; D_80243658 = 0x80243658; +D_8024365C = 0x8024365C; D_80243660 = 0x80243660; D_802436D0 = 0x802436D0; D_802436DC = 0x802436DC; @@ -2217,7 +2255,10 @@ D_80243720 = 0x80243720; D_80243730 = 0x80243730; D_8024373C = 0x8024373C; func_80243758_A2D998 = 0x80243758; +func_80243760_8B37D0 = 0x80243760; +D_80243768 = 0x80243768; D_80243770 = 0x80243770; +func_80243778_96C938 = 0x80243778; D_802437A0 = 0x802437A0; D_802437B0 = 0x802437B0; D_802437B4 = 0x802437B4; @@ -2261,6 +2302,8 @@ D_80243A90 = 0x80243A90; D_80243AD8 = 0x80243AD8; D_80243B14 = 0x80243B14; D_80243B18 = 0x80243B18; +func_80243B44_C74FC4 = 0x80243B44; +D_80243B48 = 0x80243B48; D_80243BB8 = 0x80243BB8; D_80243BC0 = 0x80243BC0; D_80243BCC = 0x80243BCC; @@ -2365,6 +2408,7 @@ D_80244138 = 0x80244138; D_80244140 = 0x80244140; D_80244154 = 0x80244154; D_80244158 = 0x80244158; +D_80244160 = 0x80244160; D_80244170 = 0x80244170; D_80244180 = 0x80244180; D_80244188 = 0x80244188; @@ -2372,7 +2416,12 @@ D_802441A0 = 0x802441A0; D_802441A8 = 0x802441A8; D_802441B0 = 0x802441B0; D_802441B8 = 0x802441B8; +D_802441BC = 0x802441BC; +D_802441D0 = 0x802441D0; D_802441D8 = 0x802441D8; +D_802441DC = 0x802441DC; +D_802441E0 = 0x802441E0; +D_802441E8 = 0x802441E8; D_802441F0 = 0x802441F0; D_80244204 = 0x80244204; D_80244208 = 0x80244208; @@ -2410,7 +2459,9 @@ D_802444A0 = 0x802444A0; D_802444A8 = 0x802444A8; D_802444B0 = 0x802444B0; D_802444B8 = 0x802444B8; +D_802444BC = 0x802444BC; D_802444C0 = 0x802444C0; +D_802444F0 = 0x802444F0; D_802445C0 = 0x802445C0; D_802445C8 = 0x802445C8; D_802445D0 = 0x802445D0; @@ -2421,6 +2472,7 @@ D_802445FC = 0x802445FC; D_80244600 = 0x80244600; D_80244620 = 0x80244620; D_80244628 = 0x80244628; +D_8024462C = 0x8024462C; D_80244630 = 0x80244630; D_80244638 = 0x80244638; D_80244678 = 0x80244678; @@ -2484,6 +2536,8 @@ D_80244B8C = 0x80244B8C; pause_tabs_draw_invis = 0x80244B90; pause_tabs_draw_stats_805418 = 0x80244B98; D_80244BB0 = 0x80244BB0; +D_80244BB8 = 0x80244BB8; +D_80244BEC = 0x80244BEC; D_80244C18 = 0x80244C18; D_80244C48 = 0x80244C48; D_80244C4C = 0x80244C4C; @@ -2537,6 +2591,8 @@ D_80244F38 = 0x80244F38; D_80244F40 = 0x80244F40; D_80244F48 = 0x80244F48; D_80244F78 = 0x80244F78; +D_80244F88 = 0x80244F88; +D_80244F90 = 0x80244F90; D_80244FA0 = 0x80244FA0; D_80244FA8 = 0x80244FA8; D_80244FB0 = 0x80244FB0; @@ -2587,16 +2643,24 @@ D_80245350 = 0x80245350; D_80245358 = 0x80245358; D_80245360 = 0x80245360; D_80245368 = 0x80245368; +D_80245370 = 0x80245370; +D_80245378 = 0x80245378; +D_80245380 = 0x80245380; +D_80245388 = 0x80245388; D_80245390 = 0x80245390; D_80245398 = 0x80245398; D_802453B0 = 0x802453B0; D_802453B8 = 0x802453B8; +D_802453C0 = 0x802453C0; +D_802453C8 = 0x802453C8; D_802453D0 = 0x802453D0; D_802453D8 = 0x802453D8; +D_802453E0 = 0x802453E0; D_802453F0 = 0x802453F0; D_802453F8 = 0x802453F8; D_80245400 = 0x80245400; D_80245408 = 0x80245408; +D_80245410 = 0x80245410; D_80245430 = 0x80245430; D_80245434 = 0x80245434; func_80245438 = 0x80245438; @@ -2604,6 +2668,7 @@ D_80245448 = 0x80245448; D_80245450 = 0x80245450; D_80245458 = 0x80245458; D_80245460 = 0x80245460; +D_80245468 = 0x80245468; D_80245490 = 0x80245490; D_80245498 = 0x80245498; D_802454A0 = 0x802454A0; @@ -2752,6 +2817,7 @@ D_80245FE8 = 0x80245FE8; D_802460E0 = 0x802460E0; D_80246130 = 0x80246130; D_80246150 = 0x80246150; +D_80246160 = 0x80246160; D_80246184 = 0x80246184; D_802461B0 = 0x802461B0; D_802461B4 = 0x802461B4; @@ -2767,6 +2833,7 @@ D_80246288 = 0x80246288; D_802462C0 = 0x802462C0; D_802462C8 = 0x802462C8; D_802462E0 = 0x802462E0; +D_802462F0 = 0x802462F0; D_80246300 = 0x80246300; D_8024636C = 0x8024636C; D_80246370 = 0x80246370; @@ -2784,6 +2851,8 @@ D_802463D0 = 0x802463D0; D_802463D8 = 0x802463D8; D_80246424 = 0x80246424; D_80246430 = 0x80246430; +D_80246480 = 0x80246480; +D_80246488 = 0x80246488; D_802464A4 = 0x802464A4; D_802464D0 = 0x802464D0; D_802464D8 = 0x802464D8; @@ -2813,6 +2882,7 @@ D_802465A0 = 0x802465A0; D_802465B8 = 0x802465B8; D_802465C0 = 0x802465C0; D_802465C8 = 0x802465C8; +D_802465CC = 0x802465CC; D_802465D0 = 0x802465D0; D_802465D8 = 0x802465D8; D_802465E0 = 0x802465E0; @@ -2820,12 +2890,26 @@ D_802465E8 = 0x802465E8; D_802465F0 = 0x802465F0; D_80246610 = 0x80246610; D_80246614 = 0x80246614; +D_80246618 = 0x80246618; +D_80246620 = 0x80246620; +D_80246628 = 0x80246628; +D_80246630 = 0x80246630; +D_80246638 = 0x80246638; +D_80246640 = 0x80246640; D_80246644 = 0x80246644; +D_80246648 = 0x80246648; +D_80246650 = 0x80246650; D_802466A8 = 0x802466A8; +D_802466B0 = 0x802466B0; +D_802466B8 = 0x802466B8; +D_802466C0 = 0x802466C0; +D_802466C8 = 0x802466C8; +D_802466D0 = 0x802466D0; D_802466E8 = 0x802466E8; D_80246750 = 0x80246750; D_80246794 = 0x80246794; D_802467B4 = 0x802467B4; +D_80246894 = 0x80246894; D_80246990 = 0x80246990; D_80246A00 = 0x80246A00; D_80246A08 = 0x80246A08; @@ -2961,18 +3045,25 @@ D_80247A98 = 0x80247A98; D_80247AB8 = 0x80247AB8; D_80247AE8 = 0x80247AE8; D_80247AF0 = 0x80247AF0; +D_80247AF8 = 0x80247AF8; D_80247B00 = 0x80247B00; +D_80247B08 = 0x80247B08; +D_80247B50 = 0x80247B50; +D_80247B58 = 0x80247B58; +D_80247BB0 = 0x80247BB0; D_80247BB8 = 0x80247BB8; D_80247BC0 = 0x80247BC0; D_80247BC8 = 0x80247BC8; D_80247BD0 = 0x80247BD0; D_80247BD8 = 0x80247BD8; D_80247BE0 = 0x80247BE0; +D_80247BF0 = 0x80247BF0; D_80247C28 = 0x80247C28; D_80247C90 = 0x80247C90; D_80247CA0 = 0x80247CA0; D_80247CB4 = 0x80247CB4; D_80247D00 = 0x80247D00; +D_80247DF0 = 0x80247DF0; D_80247E30 = 0x80247E30; D_80247E34 = 0x80247E34; D_80247E68 = 0x80247E68; @@ -3046,6 +3137,9 @@ D_80249158 = 0x80249158; D_802491C0 = 0x802491C0; D_802491C8 = 0x802491C8; D_802491D0 = 0x802491D0; +D_802491F0 = 0x802491F0; +D_802491F8 = 0x802491F8; +D_80249200 = 0x80249200; D_802493A0 = 0x802493A0; D_802493E0 = 0x802493E0; D_80249420 = 0x80249420; @@ -3218,6 +3312,7 @@ D_8024B9B8 = 0x8024B9B8; D_8024B9D0 = 0x8024B9D0; D_8024BA90 = 0x8024BA90; D_8024BB40 = 0x8024BB40; +D_8024BB80 = 0x8024BB80; D_8024BD60 = 0x8024BD60; D_8024BD70 = 0x8024BD70; D_8024BD78 = 0x8024BD78;