mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
🐟 🐟 🐟 🐟
This commit is contained in:
parent
eccd9cf39a
commit
a2625b01b7
125
asm/nonmatchings/code_715850/func_802A1000_715850.s
Normal file
125
asm/nonmatchings/code_715850/func_802A1000_715850.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_715850
|
||||
/* 715850 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 715854 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 715858 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 71585C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 715860 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 715864 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 715868 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 71586C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 715870 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 715874 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 715878 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 71587C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 715880 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 715884 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 715888 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 71588C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 715890 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 715894 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 715898 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 71589C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 7158A0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 7158A4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 7158A8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 7158AC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 7158B0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 7158B4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 7158B8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 7158BC 802A106C 00000000 */ nop
|
||||
/* 7158C0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 7158C4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 7158C8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 7158CC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 7158D0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 7158D4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 7158D8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 7158DC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 7158E0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 7158E4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 7158E8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 7158EC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 7158F0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 7158F4 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 7158F8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 7158FC 802A10AC 00004010 */ mfhi $t0
|
||||
/* 715900 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 715904 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 715908 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 71590C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 715910 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 715914 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 715918 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 71591C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 715920 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 715924 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 715928 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71592C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 715930 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 715934 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 715938 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 71593C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 715940 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 715944 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 715948 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 71594C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 715950 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 715954 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 715958 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 71595C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 715960 802A1110 0C03A830 */ jal add_coins
|
||||
/* 715964 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 715968 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 71596C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 715970 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 715974 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 715978 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 71597C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 715980 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 715984 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 715988 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71598C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 715990 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 715994 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 715998 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 71599C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 7159A0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 7159A4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 7159A8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 7159AC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 7159B0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 7159B4 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 7159B8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 7159BC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 7159C0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 7159C4 802A1174 0C050529 */ jal create_icon
|
||||
/* 7159C8 802A1178 00000000 */ nop
|
||||
/* 7159CC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 7159D0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 7159D4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 7159D8 802A1188 3C01802A */ lui $at, %hi(D_802A2410)
|
||||
/* 7159DC 802A118C AC242410 */ sw $a0, %lo(D_802A2410)($at)
|
||||
/* 7159E0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 7159E4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 7159E8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 7159EC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 7159F0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 7159F4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 7159F8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 7159FC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 715A00 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 715A04 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 715A08 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 715A0C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 715A10 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 715A14 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 715A18 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 715A1C 802A11CC 03E00008 */ jr $ra
|
||||
/* 715A20 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_715850/func_802A11D4_715A24.s
Normal file
31
asm/nonmatchings/code_715850/func_802A11D4_715A24.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_715A24
|
||||
/* 715A24 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 715A28 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 715A2C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 715A30 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 715A34 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 715A38 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 715A3C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 715A40 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 715A44 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 715A48 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 715A4C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 715A50 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 715A54 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 715A58 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 715A5C 802A120C 00000000 */ nop
|
||||
/* 715A60 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 715A64 802A1214 00000000 */ nop
|
||||
/* 715A68 802A1218 3C04802A */ lui $a0, %hi(D_802A2410)
|
||||
/* 715A6C 802A121C 8C842410 */ lw $a0, %lo(D_802A2410)($a0)
|
||||
/* 715A70 802A1220 0C05123D */ jal free_icon
|
||||
/* 715A74 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 715A78 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 715A7C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 715A80 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 715A84 802A1234 03E00008 */ jr $ra
|
||||
/* 715A88 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
48
asm/nonmatchings/code_715850/func_802A123C_715A8C.s
Normal file
48
asm/nonmatchings/code_715850/func_802A123C_715A8C.s
Normal file
@ -0,0 +1,48 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_715A8C
|
||||
/* 715A8C 802A123C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 715A90 802A1240 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 715A94 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 715A98 802A1248 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 715A9C 802A124C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 715AA0 802A1250 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 715AA4 802A1254 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 715AA8 802A1258 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 715AAC 802A125C 8E050000 */ lw $a1, ($s0)
|
||||
/* 715AB0 802A1260 0C0B1EAF */ jal get_variable
|
||||
/* 715AB4 802A1264 26100004 */ addiu $s0, $s0, 4
|
||||
/* 715AB8 802A1268 8E050000 */ lw $a1, ($s0)
|
||||
/* 715ABC 802A126C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 715AC0 802A1270 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 715AC4 802A1274 0C0B1EAF */ jal get_variable
|
||||
/* 715AC8 802A1278 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 715ACC 802A127C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 715AD0 802A1280 8E050000 */ lw $a1, ($s0)
|
||||
/* 715AD4 802A1284 0C0B1EAF */ jal get_variable
|
||||
/* 715AD8 802A1288 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 715ADC 802A128C 8E2400BC */ lw $a0, 0xbc($s1)
|
||||
/* 715AE0 802A1290 0C04C3D6 */ jal get_item_entity
|
||||
/* 715AE4 802A1294 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 715AE8 802A1298 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 715AEC 802A129C 44930000 */ mtc1 $s3, $f0
|
||||
/* 715AF0 802A12A0 00000000 */ nop
|
||||
/* 715AF4 802A12A4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 715AF8 802A12A8 E4600008 */ swc1 $f0, 8($v1)
|
||||
/* 715AFC 802A12AC 44920000 */ mtc1 $s2, $f0
|
||||
/* 715B00 802A12B0 00000000 */ nop
|
||||
/* 715B04 802A12B4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 715B08 802A12B8 E460000C */ swc1 $f0, 0xc($v1)
|
||||
/* 715B0C 802A12BC 44900000 */ mtc1 $s0, $f0
|
||||
/* 715B10 802A12C0 00000000 */ nop
|
||||
/* 715B14 802A12C4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 715B18 802A12C8 E4600010 */ swc1 $f0, 0x10($v1)
|
||||
/* 715B1C 802A12CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 715B20 802A12D0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 715B24 802A12D4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 715B28 802A12D8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 715B2C 802A12DC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 715B30 802A12E0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 715B34 802A12E4 03E00008 */ jr $ra
|
||||
/* 715B38 802A12E8 27BD0028 */ addiu $sp, $sp, 0x28
|
43
asm/nonmatchings/code_715850/func_802A12EC_715B3C.s
Normal file
43
asm/nonmatchings/code_715850/func_802A12EC_715B3C.s
Normal file
@ -0,0 +1,43 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12EC_715B3C
|
||||
/* 715B3C 802A12EC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 715B40 802A12F0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 715B44 802A12F4 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 715B48 802A12F8 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 715B4C 802A12FC AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 715B50 802A1300 82020217 */ lb $v0, 0x217($s0)
|
||||
/* 715B54 802A1304 8C85000C */ lw $a1, 0xc($a0)
|
||||
/* 715B58 802A1308 10400017 */ beqz $v0, .L802A1368
|
||||
/* 715B5C 802A130C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 715B60 802A1310 8CA50000 */ lw $a1, ($a1)
|
||||
/* 715B64 802A1314 0C0B1EAF */ jal get_variable
|
||||
/* 715B68 802A1318 00000000 */ nop
|
||||
/* 715B6C 802A131C 92030217 */ lbu $v1, 0x217($s0)
|
||||
/* 715B70 802A1320 00621823 */ subu $v1, $v1, $v0
|
||||
/* 715B74 802A1324 A2030217 */ sb $v1, 0x217($s0)
|
||||
/* 715B78 802A1328 00031E00 */ sll $v1, $v1, 0x18
|
||||
/* 715B7C 802A132C 04620001 */ bltzl $v1, .L802A1334
|
||||
/* 715B80 802A1330 A2000217 */ sb $zero, 0x217($s0)
|
||||
.L802A1334:
|
||||
/* 715B84 802A1334 82030217 */ lb $v1, 0x217($s0)
|
||||
/* 715B88 802A1338 18600005 */ blez $v1, .L802A1350
|
||||
/* 715B8C 802A133C 24040034 */ addiu $a0, $zero, 0x34
|
||||
/* 715B90 802A1340 8E020440 */ lw $v0, 0x440($s0)
|
||||
/* 715B94 802A1344 8C42000C */ lw $v0, 0xc($v0)
|
||||
/* 715B98 802A1348 080A84D9 */ j .L802A1364
|
||||
/* 715B9C 802A134C AC43003C */ sw $v1, 0x3c($v0)
|
||||
.L802A1350:
|
||||
/* 715BA0 802A1350 0C09F7A0 */ jal dispatch_event_partner
|
||||
/* 715BA4 802A1354 A2000216 */ sb $zero, 0x216($s0)
|
||||
/* 715BA8 802A1358 8E020440 */ lw $v0, 0x440($s0)
|
||||
/* 715BAC 802A135C 8C42000C */ lw $v0, 0xc($v0)
|
||||
/* 715BB0 802A1360 AC40003C */ sw $zero, 0x3c($v0)
|
||||
.L802A1364:
|
||||
/* 715BB4 802A1364 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A1368:
|
||||
/* 715BB8 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 715BBC 802A136C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 715BC0 802A1370 03E00008 */ jr $ra
|
||||
/* 715BC4 802A1374 27BD0018 */ addiu $sp, $sp, 0x18
|
52
asm/nonmatchings/code_715850/func_802A1378_715BC8.s
Normal file
52
asm/nonmatchings/code_715850/func_802A1378_715BC8.s
Normal file
@ -0,0 +1,52 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1378_715BC8
|
||||
/* 715BC8 802A1378 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 715BCC 802A137C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 715BD0 802A1380 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 715BD4 802A1384 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 715BD8 802A1388 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 715BDC 802A138C AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 715BE0 802A1390 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 715BE4 802A1394 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 715BE8 802A1398 8E050000 */ lw $a1, ($s0)
|
||||
/* 715BEC 802A139C 0C0B1EAF */ jal get_variable
|
||||
/* 715BF0 802A13A0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 715BF4 802A13A4 8E050000 */ lw $a1, ($s0)
|
||||
/* 715BF8 802A13A8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 715BFC 802A13AC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 715C00 802A13B0 0C0B1EAF */ jal get_variable
|
||||
/* 715C04 802A13B4 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 715C08 802A13B8 8E050000 */ lw $a1, ($s0)
|
||||
/* 715C0C 802A13BC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 715C10 802A13C0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 715C14 802A13C4 0C0B1EAF */ jal get_variable
|
||||
/* 715C18 802A13C8 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 715C1C 802A13CC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 715C20 802A13D0 8E050000 */ lw $a1, ($s0)
|
||||
/* 715C24 802A13D4 0C0B1EAF */ jal get_variable
|
||||
/* 715C28 802A13D8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 715C2C 802A13DC 44930000 */ mtc1 $s3, $f0
|
||||
/* 715C30 802A13E0 00000000 */ nop
|
||||
/* 715C34 802A13E4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 715C38 802A13E8 44050000 */ mfc1 $a1, $f0
|
||||
/* 715C3C 802A13EC 44920000 */ mtc1 $s2, $f0
|
||||
/* 715C40 802A13F0 00000000 */ nop
|
||||
/* 715C44 802A13F4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 715C48 802A13F8 44060000 */ mfc1 $a2, $f0
|
||||
/* 715C4C 802A13FC 44900000 */ mtc1 $s0, $f0
|
||||
/* 715C50 802A1400 00000000 */ nop
|
||||
/* 715C54 802A1404 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 715C58 802A1408 44070000 */ mfc1 $a3, $f0
|
||||
/* 715C5C 802A140C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 715C60 802A1410 0C01C424 */ jal func_80071090
|
||||
/* 715C64 802A1414 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 715C68 802A1418 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 715C6C 802A141C 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 715C70 802A1420 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 715C74 802A1424 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 715C78 802A1428 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 715C7C 802A142C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 715C80 802A1430 03E00008 */ jr $ra
|
||||
/* 715C84 802A1434 27BD0030 */ addiu $sp, $sp, 0x30
|
52
asm/nonmatchings/code_715850/func_802A1438_715C88.s
Normal file
52
asm/nonmatchings/code_715850/func_802A1438_715C88.s
Normal file
@ -0,0 +1,52 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1438_715C88
|
||||
/* 715C88 802A1438 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 715C8C 802A143C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 715C90 802A1440 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 715C94 802A1444 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 715C98 802A1448 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 715C9C 802A144C AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 715CA0 802A1450 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 715CA4 802A1454 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 715CA8 802A1458 8E050000 */ lw $a1, ($s0)
|
||||
/* 715CAC 802A145C 0C0B1EAF */ jal get_variable
|
||||
/* 715CB0 802A1460 26100004 */ addiu $s0, $s0, 4
|
||||
/* 715CB4 802A1464 8E050000 */ lw $a1, ($s0)
|
||||
/* 715CB8 802A1468 26100004 */ addiu $s0, $s0, 4
|
||||
/* 715CBC 802A146C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 715CC0 802A1470 0C0B1EAF */ jal get_variable
|
||||
/* 715CC4 802A1474 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 715CC8 802A1478 8E050000 */ lw $a1, ($s0)
|
||||
/* 715CCC 802A147C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 715CD0 802A1480 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 715CD4 802A1484 0C0B1EAF */ jal get_variable
|
||||
/* 715CD8 802A1488 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 715CDC 802A148C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 715CE0 802A1490 8E050000 */ lw $a1, ($s0)
|
||||
/* 715CE4 802A1494 0C0B1EAF */ jal get_variable
|
||||
/* 715CE8 802A1498 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 715CEC 802A149C 44930000 */ mtc1 $s3, $f0
|
||||
/* 715CF0 802A14A0 00000000 */ nop
|
||||
/* 715CF4 802A14A4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 715CF8 802A14A8 44050000 */ mfc1 $a1, $f0
|
||||
/* 715CFC 802A14AC 44920000 */ mtc1 $s2, $f0
|
||||
/* 715D00 802A14B0 00000000 */ nop
|
||||
/* 715D04 802A14B4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 715D08 802A14B8 44060000 */ mfc1 $a2, $f0
|
||||
/* 715D0C 802A14BC 44900000 */ mtc1 $s0, $f0
|
||||
/* 715D10 802A14C0 00000000 */ nop
|
||||
/* 715D14 802A14C4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 715D18 802A14C8 44070000 */ mfc1 $a3, $f0
|
||||
/* 715D1C 802A14CC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 715D20 802A14D0 0C01C424 */ jal func_80071090
|
||||
/* 715D24 802A14D4 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 715D28 802A14D8 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 715D2C 802A14DC 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 715D30 802A14E0 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 715D34 802A14E4 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 715D38 802A14E8 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 715D3C 802A14EC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 715D40 802A14F0 03E00008 */ jr $ra
|
||||
/* 715D44 802A14F4 27BD0030 */ addiu $sp, $sp, 0x30
|
26
asm/nonmatchings/code_715850/func_802A14F8_715D48.s
Normal file
26
asm/nonmatchings/code_715850/func_802A14F8_715D48.s
Normal file
@ -0,0 +1,26 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A14F8_715D48
|
||||
/* 715D48 802A14F8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 715D4C 802A14FC AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 715D50 802A1500 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 715D54 802A1504 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 715D58 802A1508 0C0B1EAF */ jal get_variable
|
||||
/* 715D5C 802A150C 8C450000 */ lw $a1, ($v0)
|
||||
/* 715D60 802A1510 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||
/* 715D64 802A1514 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||
/* 715D68 802A1518 80640002 */ lb $a0, 2($v1)
|
||||
/* 715D6C 802A151C 80650003 */ lb $a1, 3($v1)
|
||||
/* 715D70 802A1520 00822021 */ addu $a0, $a0, $v0
|
||||
/* 715D74 802A1524 00A4102A */ slt $v0, $a1, $a0
|
||||
/* 715D78 802A1528 10400002 */ beqz $v0, .L802A1534
|
||||
/* 715D7C 802A152C 0060802D */ daddu $s0, $v1, $zero
|
||||
/* 715D80 802A1530 00A0202D */ daddu $a0, $a1, $zero
|
||||
.L802A1534:
|
||||
/* 715D84 802A1534 A2040002 */ sb $a0, 2($s0)
|
||||
/* 715D88 802A1538 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 715D8C 802A153C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 715D90 802A1540 24020002 */ addiu $v0, $zero, 2
|
||||
/* 715D94 802A1544 03E00008 */ jr $ra
|
||||
/* 715D98 802A1548 27BD0018 */ addiu $sp, $sp, 0x18
|
26
asm/nonmatchings/code_715850/func_802A154C_715D9C.s
Normal file
26
asm/nonmatchings/code_715850/func_802A154C_715D9C.s
Normal file
@ -0,0 +1,26 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A154C_715D9C
|
||||
/* 715D9C 802A154C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 715DA0 802A1550 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 715DA4 802A1554 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 715DA8 802A1558 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 715DAC 802A155C 0C0B1EAF */ jal get_variable
|
||||
/* 715DB0 802A1560 8C450000 */ lw $a1, ($v0)
|
||||
/* 715DB4 802A1564 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||
/* 715DB8 802A1568 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||
/* 715DBC 802A156C 80640005 */ lb $a0, 5($v1)
|
||||
/* 715DC0 802A1570 80650006 */ lb $a1, 6($v1)
|
||||
/* 715DC4 802A1574 00822021 */ addu $a0, $a0, $v0
|
||||
/* 715DC8 802A1578 00A4102A */ slt $v0, $a1, $a0
|
||||
/* 715DCC 802A157C 10400002 */ beqz $v0, .L802A1588
|
||||
/* 715DD0 802A1580 0060802D */ daddu $s0, $v1, $zero
|
||||
/* 715DD4 802A1584 00A0202D */ daddu $a0, $a1, $zero
|
||||
.L802A1588:
|
||||
/* 715DD8 802A1588 A2040005 */ sb $a0, 5($s0)
|
||||
/* 715DDC 802A158C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 715DE0 802A1590 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 715DE4 802A1594 24020002 */ addiu $v0, $zero, 2
|
||||
/* 715DE8 802A1598 03E00008 */ jr $ra
|
||||
/* 715DEC 802A159C 27BD0018 */ addiu $sp, $sp, 0x18
|
28
asm/nonmatchings/code_715850/func_802A15A0_715DF0.s
Normal file
28
asm/nonmatchings/code_715850/func_802A15A0_715DF0.s
Normal file
@ -0,0 +1,28 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A15A0_715DF0
|
||||
/* 715DF0 802A15A0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 715DF4 802A15A4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 715DF8 802A15A8 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 715DFC 802A15AC AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 715E00 802A15B0 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 715E04 802A15B4 0C0B1EAF */ jal get_variable
|
||||
/* 715E08 802A15B8 8C450000 */ lw $a1, ($v0)
|
||||
/* 715E0C 802A15BC 3C038008 */ lui $v1, %hi(gItemTable)
|
||||
/* 715E10 802A15C0 246378E0 */ addiu $v1, $v1, %lo(gItemTable)
|
||||
/* 715E14 802A15C4 00021140 */ sll $v0, $v0, 5
|
||||
/* 715E18 802A15C8 00431021 */ addu $v0, $v0, $v1
|
||||
/* 715E1C 802A15CC 8043001B */ lb $v1, 0x1b($v0)
|
||||
/* 715E20 802A15D0 AE0300B0 */ sw $v1, 0xb0($s0)
|
||||
/* 715E24 802A15D4 8043001C */ lb $v1, 0x1c($v0)
|
||||
/* 715E28 802A15D8 AE0300B4 */ sw $v1, 0xb4($s0)
|
||||
/* 715E2C 802A15DC 8043001B */ lb $v1, 0x1b($v0)
|
||||
/* 715E30 802A15E0 38630001 */ xori $v1, $v1, 1
|
||||
/* 715E34 802A15E4 2C630001 */ sltiu $v1, $v1, 1
|
||||
/* 715E38 802A15E8 AE0300C0 */ sw $v1, 0xc0($s0)
|
||||
/* 715E3C 802A15EC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 715E40 802A15F0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 715E44 802A15F4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 715E48 802A15F8 03E00008 */ jr $ra
|
||||
/* 715E4C 802A15FC 27BD0018 */ addiu $sp, $sp, 0x18
|
125
asm/nonmatchings/code_716C60/func_802A1000_716C60.s
Normal file
125
asm/nonmatchings/code_716C60/func_802A1000_716C60.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_716C60
|
||||
/* 716C60 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 716C64 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 716C68 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 716C6C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 716C70 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 716C74 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 716C78 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 716C7C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 716C80 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 716C84 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 716C88 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 716C8C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 716C90 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 716C94 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 716C98 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 716C9C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 716CA0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 716CA4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 716CA8 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 716CAC 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 716CB0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 716CB4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 716CB8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 716CBC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 716CC0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 716CC4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 716CC8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 716CCC 802A106C 00000000 */ nop
|
||||
/* 716CD0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 716CD4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 716CD8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 716CDC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 716CE0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 716CE4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 716CE8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 716CEC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 716CF0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 716CF4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 716CF8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 716CFC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 716D00 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 716D04 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 716D08 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 716D0C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 716D10 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 716D14 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 716D18 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 716D1C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 716D20 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 716D24 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 716D28 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 716D2C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 716D30 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 716D34 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 716D38 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 716D3C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 716D40 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 716D44 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 716D48 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 716D4C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 716D50 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 716D54 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 716D58 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 716D5C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 716D60 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 716D64 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 716D68 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 716D6C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 716D70 802A1110 0C03A830 */ jal add_coins
|
||||
/* 716D74 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 716D78 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 716D7C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 716D80 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 716D84 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 716D88 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 716D8C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 716D90 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 716D94 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 716D98 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 716D9C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 716DA0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 716DA4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 716DA8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 716DAC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 716DB0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 716DB4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 716DB8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 716DBC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 716DC0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 716DC4 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 716DC8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 716DCC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 716DD0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 716DD4 802A1174 0C050529 */ jal create_icon
|
||||
/* 716DD8 802A1178 00000000 */ nop
|
||||
/* 716DDC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 716DE0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 716DE4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 716DE8 802A1188 3C01802A */ lui $at, %hi(D_802A1D70)
|
||||
/* 716DEC 802A118C AC241D70 */ sw $a0, %lo(D_802A1D70)($at)
|
||||
/* 716DF0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 716DF4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 716DF8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 716DFC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 716E00 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 716E04 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 716E08 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 716E0C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 716E10 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 716E14 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 716E18 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 716E1C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 716E20 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 716E24 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 716E28 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 716E2C 802A11CC 03E00008 */ jr $ra
|
||||
/* 716E30 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_716C60/func_802A11D4_716E34.s
Normal file
31
asm/nonmatchings/code_716C60/func_802A11D4_716E34.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_716E34
|
||||
/* 716E34 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 716E38 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 716E3C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 716E40 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 716E44 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 716E48 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 716E4C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 716E50 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 716E54 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 716E58 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 716E5C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 716E60 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 716E64 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 716E68 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 716E6C 802A120C 00000000 */ nop
|
||||
/* 716E70 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 716E74 802A1214 00000000 */ nop
|
||||
/* 716E78 802A1218 3C04802A */ lui $a0, %hi(D_802A1D70)
|
||||
/* 716E7C 802A121C 8C841D70 */ lw $a0, %lo(D_802A1D70)($a0)
|
||||
/* 716E80 802A1220 0C05123D */ jal free_icon
|
||||
/* 716E84 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 716E88 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 716E8C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 716E90 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 716E94 802A1234 03E00008 */ jr $ra
|
||||
/* 716E98 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
45
asm/nonmatchings/code_716C60/func_802A123C_716E9C.s
Normal file
45
asm/nonmatchings/code_716C60/func_802A123C_716E9C.s
Normal file
@ -0,0 +1,45 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_716E9C
|
||||
/* 716E9C 802A123C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 716EA0 802A1240 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 716EA4 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 716EA8 802A1248 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 716EAC 802A124C AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 716EB0 802A1250 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 716EB4 802A1254 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 716EB8 802A1258 8E050000 */ lw $a1, ($s0)
|
||||
/* 716EBC 802A125C 0C0B1EAF */ jal get_variable
|
||||
/* 716EC0 802A1260 26100004 */ addiu $s0, $s0, 4
|
||||
/* 716EC4 802A1264 8E050000 */ lw $a1, ($s0)
|
||||
/* 716EC8 802A1268 26100004 */ addiu $s0, $s0, 4
|
||||
/* 716ECC 802A126C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 716ED0 802A1270 0C0B1EAF */ jal get_variable
|
||||
/* 716ED4 802A1274 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 716ED8 802A1278 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 716EDC 802A127C 8E050000 */ lw $a1, ($s0)
|
||||
/* 716EE0 802A1280 0C0B1EAF */ jal get_variable
|
||||
/* 716EE4 802A1284 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 716EE8 802A1288 44920000 */ mtc1 $s2, $f0
|
||||
/* 716EEC 802A128C 00000000 */ nop
|
||||
/* 716EF0 802A1290 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 716EF4 802A1294 44050000 */ mfc1 $a1, $f0
|
||||
/* 716EF8 802A1298 44900000 */ mtc1 $s0, $f0
|
||||
/* 716EFC 802A129C 00000000 */ nop
|
||||
/* 716F00 802A12A0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 716F04 802A12A4 44060000 */ mfc1 $a2, $f0
|
||||
/* 716F08 802A12A8 44820000 */ mtc1 $v0, $f0
|
||||
/* 716F0C 802A12AC 00000000 */ nop
|
||||
/* 716F10 802A12B0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 716F14 802A12B4 44070000 */ mfc1 $a3, $f0
|
||||
/* 716F18 802A12B8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 716F1C 802A12BC 0C01C40C */ jal func_80071030
|
||||
/* 716F20 802A12C0 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 716F24 802A12C4 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 716F28 802A12C8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 716F2C 802A12CC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 716F30 802A12D0 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 716F34 802A12D4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 716F38 802A12D8 03E00008 */ jr $ra
|
||||
/* 716F3C 802A12DC 27BD0028 */ addiu $sp, $sp, 0x28
|
43
asm/nonmatchings/code_716C60/func_802A12E0_716F40.s
Normal file
43
asm/nonmatchings/code_716C60/func_802A12E0_716F40.s
Normal file
@ -0,0 +1,43 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12E0_716F40
|
||||
/* 716F40 802A12E0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 716F44 802A12E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 716F48 802A12E8 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 716F4C 802A12EC 10A0000E */ beqz $a1, .L802A1328
|
||||
/* 716F50 802A12F0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 716F54 802A12F4 0C04760B */ jal func_8011D82C
|
||||
/* 716F58 802A12F8 24040001 */ addiu $a0, $zero, 1
|
||||
/* 716F5C 802A12FC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 716F60 802A1300 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 716F64 802A1304 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 716F68 802A1308 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 716F6C 802A130C 3C028015 */ lui $v0, %hi(D_801512F0)
|
||||
/* 716F70 802A1310 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
|
||||
/* 716F74 802A1314 24030001 */ addiu $v1, $zero, 1
|
||||
/* 716F78 802A1318 0C046F97 */ jal set_background_color_blend
|
||||
/* 716F7C 802A131C A0430000 */ sb $v1, ($v0)
|
||||
/* 716F80 802A1320 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 716F84 802A1324 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A1328:
|
||||
/* 716F88 802A1328 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 716F8C 802A132C 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 716F90 802A1330 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 716F94 802A1334 8E030070 */ lw $v1, 0x70($s0)
|
||||
/* 716F98 802A1338 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 716F9C 802A133C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 716FA0 802A1340 00023880 */ sll $a3, $v0, 2
|
||||
/* 716FA4 802A1344 00E23821 */ addu $a3, $a3, $v0
|
||||
/* 716FA8 802A1348 00073840 */ sll $a3, $a3, 1
|
||||
/* 716FAC 802A134C 0C046F97 */ jal set_background_color_blend
|
||||
/* 716FB0 802A1350 30E700FE */ andi $a3, $a3, 0xfe
|
||||
/* 716FB4 802A1354 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 716FB8 802A1358 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 716FBC 802A135C AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 716FC0 802A1360 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 716FC4 802A1364 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 716FC8 802A1368 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 716FCC 802A136C 00021040 */ sll $v0, $v0, 1
|
||||
/* 716FD0 802A1370 03E00008 */ jr $ra
|
||||
/* 716FD4 802A1374 27BD0018 */ addiu $sp, $sp, 0x18
|
41
asm/nonmatchings/code_716C60/func_802A1378_716FD8.s
Normal file
41
asm/nonmatchings/code_716C60/func_802A1378_716FD8.s
Normal file
@ -0,0 +1,41 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1378_716FD8
|
||||
/* 716FD8 802A1378 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 716FDC 802A137C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 716FE0 802A1380 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 716FE4 802A1384 10A00003 */ beqz $a1, .L802A1394
|
||||
/* 716FE8 802A1388 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 716FEC 802A138C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 716FF0 802A1390 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A1394:
|
||||
/* 716FF4 802A1394 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 716FF8 802A1398 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 716FFC 802A139C 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 717000 802A13A0 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 717004 802A13A4 00023880 */ sll $a3, $v0, 2
|
||||
/* 717008 802A13A8 00E23821 */ addu $a3, $a3, $v0
|
||||
/* 71700C 802A13AC 00073840 */ sll $a3, $a3, 1
|
||||
/* 717010 802A13B0 0C046F97 */ jal set_background_color_blend
|
||||
/* 717014 802A13B4 30E700FE */ andi $a3, $a3, 0xfe
|
||||
/* 717018 802A13B8 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 71701C 802A13BC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 717020 802A13C0 10400003 */ beqz $v0, .L802A13D0
|
||||
/* 717024 802A13C4 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 717028 802A13C8 080A84FA */ j .L802A13E8
|
||||
/* 71702C 802A13CC 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802A13D0:
|
||||
/* 717030 802A13D0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 717034 802A13D4 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 717038 802A13D8 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71703C 802A13DC 0C046F97 */ jal set_background_color_blend
|
||||
/* 717040 802A13E0 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 717044 802A13E4 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A13E8:
|
||||
/* 717048 802A13E8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71704C 802A13EC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 717050 802A13F0 03E00008 */ jr $ra
|
||||
/* 717054 802A13F4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 717058 802A13F8 00000000 */ nop
|
||||
/* 71705C 802A13FC 00000000 */ nop
|
125
asm/nonmatchings/code_7179D0/func_802A1000_7179D0.s
Normal file
125
asm/nonmatchings/code_7179D0/func_802A1000_7179D0.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_7179D0
|
||||
/* 7179D0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 7179D4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 7179D8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 7179DC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 7179E0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 7179E4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 7179E8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 7179EC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 7179F0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 7179F4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 7179F8 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 7179FC 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 717A00 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 717A04 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 717A08 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 717A0C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 717A10 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 717A14 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 717A18 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 717A1C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 717A20 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 717A24 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 717A28 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 717A2C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 717A30 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 717A34 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 717A38 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 717A3C 802A106C 00000000 */ nop
|
||||
/* 717A40 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 717A44 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 717A48 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 717A4C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 717A50 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 717A54 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 717A58 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 717A5C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 717A60 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 717A64 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 717A68 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 717A6C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 717A70 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 717A74 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 717A78 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 717A7C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 717A80 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 717A84 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 717A88 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 717A8C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 717A90 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 717A94 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 717A98 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 717A9C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 717AA0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 717AA4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 717AA8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 717AAC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 717AB0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 717AB4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 717AB8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 717ABC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 717AC0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 717AC4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 717AC8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 717ACC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 717AD0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 717AD4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 717AD8 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 717ADC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 717AE0 802A1110 0C03A830 */ jal add_coins
|
||||
/* 717AE4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 717AE8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 717AEC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 717AF0 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 717AF4 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 717AF8 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 717AFC 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 717B00 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 717B04 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 717B08 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 717B0C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 717B10 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 717B14 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 717B18 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 717B1C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 717B20 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 717B24 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 717B28 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 717B2C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 717B30 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 717B34 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 717B38 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 717B3C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 717B40 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 717B44 802A1174 0C050529 */ jal create_icon
|
||||
/* 717B48 802A1178 00000000 */ nop
|
||||
/* 717B4C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 717B50 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 717B54 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 717B58 802A1188 3C01802A */ lui $at, %hi(D_802A1E80)
|
||||
/* 717B5C 802A118C AC241E80 */ sw $a0, %lo(D_802A1E80)($at)
|
||||
/* 717B60 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 717B64 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 717B68 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 717B6C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 717B70 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 717B74 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 717B78 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 717B7C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 717B80 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 717B84 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 717B88 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 717B8C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 717B90 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 717B94 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 717B98 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 717B9C 802A11CC 03E00008 */ jr $ra
|
||||
/* 717BA0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
32
asm/nonmatchings/code_7179D0/func_802A11D4_717BA4.s
Normal file
32
asm/nonmatchings/code_7179D0/func_802A11D4_717BA4.s
Normal file
@ -0,0 +1,32 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_717BA4
|
||||
/* 717BA4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 717BA8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 717BAC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 717BB0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 717BB4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 717BB8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 717BBC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 717BC0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 717BC4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 717BC8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 717BCC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 717BD0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 717BD4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 717BD8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 717BDC 802A120C 00000000 */ nop
|
||||
/* 717BE0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 717BE4 802A1214 00000000 */ nop
|
||||
/* 717BE8 802A1218 3C04802A */ lui $a0, %hi(D_802A1E80)
|
||||
/* 717BEC 802A121C 8C841E80 */ lw $a0, %lo(D_802A1E80)($a0)
|
||||
/* 717BF0 802A1220 0C05123D */ jal free_icon
|
||||
/* 717BF4 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 717BF8 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 717BFC 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 717C00 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 717C04 802A1234 03E00008 */ jr $ra
|
||||
/* 717C08 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 717C0C 802A123C 00000000 */ nop
|
125
asm/nonmatchings/code_718850/func_802A1000_718850.s
Normal file
125
asm/nonmatchings/code_718850/func_802A1000_718850.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_718850
|
||||
/* 718850 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 718854 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 718858 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 71885C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 718860 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 718864 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 718868 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 71886C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 718870 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 718874 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 718878 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 71887C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 718880 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 718884 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 718888 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 71888C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 718890 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 718894 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 718898 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 71889C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 7188A0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 7188A4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 7188A8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 7188AC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 7188B0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 7188B4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 7188B8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 7188BC 802A106C 00000000 */ nop
|
||||
/* 7188C0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 7188C4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 7188C8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 7188CC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 7188D0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 7188D4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 7188D8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 7188DC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 7188E0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 7188E4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 7188E8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 7188EC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 7188F0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 7188F4 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 7188F8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 7188FC 802A10AC 00004010 */ mfhi $t0
|
||||
/* 718900 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 718904 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 718908 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 71890C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 718910 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 718914 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 718918 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 71891C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 718920 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 718924 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 718928 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71892C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 718930 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 718934 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 718938 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 71893C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 718940 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 718944 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 718948 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 71894C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 718950 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 718954 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 718958 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 71895C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 718960 802A1110 0C03A830 */ jal add_coins
|
||||
/* 718964 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 718968 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 71896C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 718970 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 718974 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 718978 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 71897C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 718980 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 718984 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 718988 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71898C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 718990 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 718994 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 718998 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 71899C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 7189A0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 7189A4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 7189A8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 7189AC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 7189B0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 7189B4 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 7189B8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 7189BC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 7189C0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 7189C4 802A1174 0C050529 */ jal create_icon
|
||||
/* 7189C8 802A1178 00000000 */ nop
|
||||
/* 7189CC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 7189D0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 7189D4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 7189D8 802A1188 3C01802A */ lui $at, %hi(D_802A2120)
|
||||
/* 7189DC 802A118C AC242120 */ sw $a0, %lo(D_802A2120)($at)
|
||||
/* 7189E0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 7189E4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 7189E8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 7189EC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 7189F0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 7189F4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 7189F8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 7189FC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 718A00 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 718A04 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 718A08 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 718A0C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 718A10 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 718A14 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 718A18 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 718A1C 802A11CC 03E00008 */ jr $ra
|
||||
/* 718A20 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_718850/func_802A11D4_718A24.s
Normal file
31
asm/nonmatchings/code_718850/func_802A11D4_718A24.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_718A24
|
||||
/* 718A24 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 718A28 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 718A2C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 718A30 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 718A34 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 718A38 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 718A3C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 718A40 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 718A44 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 718A48 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 718A4C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 718A50 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 718A54 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 718A58 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 718A5C 802A120C 00000000 */ nop
|
||||
/* 718A60 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 718A64 802A1214 00000000 */ nop
|
||||
/* 718A68 802A1218 3C04802A */ lui $a0, %hi(D_802A2120)
|
||||
/* 718A6C 802A121C 8C842120 */ lw $a0, %lo(D_802A2120)($a0)
|
||||
/* 718A70 802A1220 0C05123D */ jal free_icon
|
||||
/* 718A74 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 718A78 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 718A7C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 718A80 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 718A84 802A1234 03E00008 */ jr $ra
|
||||
/* 718A88 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
47
asm/nonmatchings/code_718850/func_802A123C_718A8C.s
Normal file
47
asm/nonmatchings/code_718850/func_802A123C_718A8C.s
Normal file
@ -0,0 +1,47 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_718A8C
|
||||
/* 718A8C 802A123C 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8)
|
||||
/* 718A90 802A1240 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0)
|
||||
/* 718A94 802A1244 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 718A98 802A1248 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 718A9C 802A124C 3C128016 */ lui $s2, %hi(gCollisionStatus)
|
||||
/* 718AA0 802A1250 2652A550 */ addiu $s2, $s2, %lo(gCollisionStatus)
|
||||
/* 718AA4 802A1254 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 718AA8 802A1258 3C118011 */ lui $s1, %hi(gPlayerStatus)
|
||||
/* 718AAC 802A125C 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus)
|
||||
/* 718AB0 802A1260 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 718AB4 802A1264 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 718AB8 802A1268 C4400188 */ lwc1 $f0, 0x188($v0)
|
||||
/* 718ABC 802A126C 3C013FF0 */ lui $at, 0x3ff0
|
||||
/* 718AC0 802A1270 44811800 */ mtc1 $at, $f3
|
||||
/* 718AC4 802A1274 44801000 */ mtc1 $zero, $f2
|
||||
/* 718AC8 802A1278 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 718ACC 802A127C 46220032 */ c.eq.d $f0, $f2
|
||||
/* 718AD0 802A1280 00000000 */ nop
|
||||
/* 718AD4 802A1284 45000011 */ bc1f .L802A12CC
|
||||
/* 718AD8 802A1288 24020002 */ addiu $v0, $zero, 2
|
||||
/* 718ADC 802A128C 8C9000AC */ lw $s0, 0xac($a0)
|
||||
/* 718AE0 802A1290 0C04417A */ jal get_entity_by_index
|
||||
/* 718AE4 802A1294 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 718AE8 802A1298 8E220000 */ lw $v0, ($s1)
|
||||
/* 718AEC 802A129C 36104000 */ ori $s0, $s0, 0x4000
|
||||
/* 718AF0 802A12A0 A6500008 */ sh $s0, 8($s2)
|
||||
/* 718AF4 802A12A4 34420002 */ ori $v0, $v0, 2
|
||||
/* 718AF8 802A12A8 0C043DB4 */ jal update_entities
|
||||
/* 718AFC 802A12AC AE220000 */ sw $v0, ($s1)
|
||||
/* 718B00 802A12B0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 718B04 802A12B4 2403FFFF */ addiu $v1, $zero, -1
|
||||
/* 718B08 802A12B8 A6430008 */ sh $v1, 8($s2)
|
||||
/* 718B0C 802A12BC 8E230000 */ lw $v1, ($s1)
|
||||
/* 718B10 802A12C0 2404FFFD */ addiu $a0, $zero, -3
|
||||
/* 718B14 802A12C4 00641824 */ and $v1, $v1, $a0
|
||||
/* 718B18 802A12C8 AE230000 */ sw $v1, ($s1)
|
||||
.L802A12CC:
|
||||
/* 718B1C 802A12CC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 718B20 802A12D0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 718B24 802A12D4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 718B28 802A12D8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 718B2C 802A12DC 03E00008 */ jr $ra
|
||||
/* 718B30 802A12E0 27BD0020 */ addiu $sp, $sp, 0x20
|
17
asm/nonmatchings/code_718850/func_802A12E4_718B34.s
Normal file
17
asm/nonmatchings/code_718850/func_802A12E4_718B34.s
Normal file
@ -0,0 +1,17 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12E4_718B34
|
||||
/* 718B34 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 718B38 802A12E8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 718B3C 802A12EC 0C04417A */ jal get_entity_by_index
|
||||
/* 718B40 802A12F0 8C8400AC */ lw $a0, 0xac($a0)
|
||||
/* 718B44 802A12F4 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 718B48 802A12F8 8C640000 */ lw $a0, ($v1)
|
||||
/* 718B4C 802A12FC 3C052000 */ lui $a1, 0x2000
|
||||
/* 718B50 802A1300 00852025 */ or $a0, $a0, $a1
|
||||
/* 718B54 802A1304 AC640000 */ sw $a0, ($v1)
|
||||
/* 718B58 802A1308 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 718B5C 802A130C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 718B60 802A1310 03E00008 */ jr $ra
|
||||
/* 718B64 802A1314 27BD0018 */ addiu $sp, $sp, 0x18
|
39
asm/nonmatchings/code_718850/func_802A1318_718B68.s
Normal file
39
asm/nonmatchings/code_718850/func_802A1318_718B68.s
Normal file
@ -0,0 +1,39 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1318_718B68
|
||||
/* 718B68 802A1318 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 718B6C 802A131C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 718B70 802A1320 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 718B74 802A1324 8C8400AC */ lw $a0, 0xac($a0)
|
||||
/* 718B78 802A1328 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
|
||||
/* 718B7C 802A132C 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
|
||||
/* 718B80 802A1330 0C04417A */ jal get_entity_by_index
|
||||
/* 718B84 802A1334 00000000 */ nop
|
||||
/* 718B88 802A1338 C6000188 */ lwc1 $f0, 0x188($s0)
|
||||
/* 718B8C 802A133C E4400054 */ swc1 $f0, 0x54($v0)
|
||||
/* 718B90 802A1340 C6000188 */ lwc1 $f0, 0x188($s0)
|
||||
/* 718B94 802A1344 E4400058 */ swc1 $f0, 0x58($v0)
|
||||
/* 718B98 802A1348 C6000188 */ lwc1 $f0, 0x188($s0)
|
||||
/* 718B9C 802A134C E440005C */ swc1 $f0, 0x5c($v0)
|
||||
/* 718BA0 802A1350 C6000188 */ lwc1 $f0, 0x188($s0)
|
||||
/* 718BA4 802A1354 3C013FF0 */ lui $at, 0x3ff0
|
||||
/* 718BA8 802A1358 44811800 */ mtc1 $at, $f3
|
||||
/* 718BAC 802A135C 44801000 */ mtc1 $zero, $f2
|
||||
/* 718BB0 802A1360 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 718BB4 802A1364 46220032 */ c.eq.d $f0, $f2
|
||||
/* 718BB8 802A1368 00000000 */ nop
|
||||
/* 718BBC 802A136C 45010007 */ bc1t .L802A138C
|
||||
/* 718BC0 802A1370 00000000 */ nop
|
||||
/* 718BC4 802A1374 C440004C */ lwc1 $f0, 0x4c($v0)
|
||||
/* 718BC8 802A1378 3C014120 */ lui $at, 0x4120
|
||||
/* 718BCC 802A137C 44811000 */ mtc1 $at, $f2
|
||||
/* 718BD0 802A1380 00000000 */ nop
|
||||
/* 718BD4 802A1384 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 718BD8 802A1388 E440004C */ swc1 $f0, 0x4c($v0)
|
||||
.L802A138C:
|
||||
/* 718BDC 802A138C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 718BE0 802A1390 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 718BE4 802A1394 24020002 */ addiu $v0, $zero, 2
|
||||
/* 718BE8 802A1398 03E00008 */ jr $ra
|
||||
/* 718BEC 802A139C 27BD0018 */ addiu $sp, $sp, 0x18
|
125
asm/nonmatchings/code_719970/func_802A1000_719970.s
Normal file
125
asm/nonmatchings/code_719970/func_802A1000_719970.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_719970
|
||||
/* 719970 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 719974 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 719978 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 71997C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 719980 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 719984 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 719988 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 71998C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 719990 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 719994 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 719998 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 71999C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 7199A0 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 7199A4 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 7199A8 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 7199AC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 7199B0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 7199B4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 7199B8 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 7199BC 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 7199C0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 7199C4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 7199C8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 7199CC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 7199D0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 7199D4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 7199D8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 7199DC 802A106C 00000000 */ nop
|
||||
/* 7199E0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 7199E4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 7199E8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 7199EC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 7199F0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 7199F4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 7199F8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 7199FC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 719A00 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 719A04 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 719A08 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 719A0C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 719A10 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 719A14 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 719A18 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 719A1C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 719A20 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 719A24 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 719A28 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 719A2C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 719A30 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 719A34 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 719A38 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 719A3C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 719A40 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 719A44 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 719A48 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 719A4C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 719A50 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 719A54 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 719A58 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 719A5C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 719A60 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 719A64 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 719A68 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 719A6C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 719A70 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 719A74 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 719A78 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 719A7C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 719A80 802A1110 0C03A830 */ jal add_coins
|
||||
/* 719A84 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 719A88 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 719A8C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 719A90 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 719A94 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 719A98 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 719A9C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 719AA0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 719AA4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 719AA8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 719AAC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 719AB0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 719AB4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 719AB8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 719ABC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 719AC0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 719AC4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 719AC8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 719ACC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 719AD0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 719AD4 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 719AD8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 719ADC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 719AE0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 719AE4 802A1174 0C050529 */ jal create_icon
|
||||
/* 719AE8 802A1178 00000000 */ nop
|
||||
/* 719AEC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 719AF0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 719AF4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 719AF8 802A1188 3C01802A */ lui $at, %hi(D_802A1E80)
|
||||
/* 719AFC 802A118C AC241E80 */ sw $a0, %lo(D_802A1E80)($at)
|
||||
/* 719B00 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 719B04 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 719B08 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 719B0C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 719B10 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 719B14 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 719B18 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 719B1C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 719B20 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 719B24 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 719B28 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 719B2C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 719B30 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 719B34 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 719B38 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 719B3C 802A11CC 03E00008 */ jr $ra
|
||||
/* 719B40 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
32
asm/nonmatchings/code_719970/func_802A11D4_719B44.s
Normal file
32
asm/nonmatchings/code_719970/func_802A11D4_719B44.s
Normal file
@ -0,0 +1,32 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_719B44
|
||||
/* 719B44 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 719B48 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 719B4C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 719B50 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 719B54 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 719B58 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 719B5C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 719B60 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 719B64 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 719B68 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 719B6C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 719B70 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 719B74 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 719B78 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 719B7C 802A120C 00000000 */ nop
|
||||
/* 719B80 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 719B84 802A1214 00000000 */ nop
|
||||
/* 719B88 802A1218 3C04802A */ lui $a0, %hi(D_802A1E80)
|
||||
/* 719B8C 802A121C 8C841E80 */ lw $a0, %lo(D_802A1E80)($a0)
|
||||
/* 719B90 802A1220 0C05123D */ jal free_icon
|
||||
/* 719B94 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 719B98 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 719B9C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 719BA0 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 719BA4 802A1234 03E00008 */ jr $ra
|
||||
/* 719BA8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 719BAC 802A123C 00000000 */ nop
|
125
asm/nonmatchings/code_71A7F0/func_802A1000_71A7F0.s
Normal file
125
asm/nonmatchings/code_71A7F0/func_802A1000_71A7F0.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_71A7F0
|
||||
/* 71A7F0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 71A7F4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 71A7F8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 71A7FC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 71A800 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 71A804 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 71A808 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 71A80C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 71A810 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 71A814 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 71A818 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 71A81C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 71A820 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 71A824 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 71A828 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 71A82C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 71A830 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 71A834 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 71A838 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 71A83C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 71A840 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 71A844 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 71A848 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 71A84C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 71A850 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 71A854 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 71A858 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 71A85C 802A106C 00000000 */ nop
|
||||
/* 71A860 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71A864 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 71A868 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 71A86C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 71A870 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 71A874 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 71A878 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 71A87C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 71A880 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 71A884 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 71A888 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 71A88C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 71A890 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 71A894 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 71A898 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 71A89C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 71A8A0 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 71A8A4 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 71A8A8 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 71A8AC 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 71A8B0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 71A8B4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 71A8B8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 71A8BC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 71A8C0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 71A8C4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 71A8C8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71A8CC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 71A8D0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 71A8D4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 71A8D8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 71A8DC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 71A8E0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 71A8E4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 71A8E8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 71A8EC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 71A8F0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 71A8F4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 71A8F8 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 71A8FC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 71A900 802A1110 0C03A830 */ jal add_coins
|
||||
/* 71A904 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 71A908 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 71A90C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 71A910 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 71A914 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 71A918 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 71A91C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 71A920 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 71A924 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 71A928 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71A92C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 71A930 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 71A934 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 71A938 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 71A93C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 71A940 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 71A944 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 71A948 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 71A94C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 71A950 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 71A954 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 71A958 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 71A95C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 71A960 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 71A964 802A1174 0C050529 */ jal create_icon
|
||||
/* 71A968 802A1178 00000000 */ nop
|
||||
/* 71A96C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 71A970 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 71A974 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 71A978 802A1188 3C01802A */ lui $at, %hi(D_802A19B0)
|
||||
/* 71A97C 802A118C AC2419B0 */ sw $a0, %lo(D_802A19B0)($at)
|
||||
/* 71A980 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 71A984 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 71A988 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 71A98C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 71A990 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 71A994 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 71A998 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 71A99C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 71A9A0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 71A9A4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 71A9A8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 71A9AC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 71A9B0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 71A9B4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 71A9B8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71A9BC 802A11CC 03E00008 */ jr $ra
|
||||
/* 71A9C0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_71A7F0/func_802A11D4_71A9C4.s
Normal file
31
asm/nonmatchings/code_71A7F0/func_802A11D4_71A9C4.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_71A9C4
|
||||
/* 71A9C4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71A9C8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 71A9CC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 71A9D0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71A9D4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71A9D8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 71A9DC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 71A9E0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 71A9E4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 71A9E8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 71A9EC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 71A9F0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 71A9F4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 71A9F8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 71A9FC 802A120C 00000000 */ nop
|
||||
/* 71AA00 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 71AA04 802A1214 00000000 */ nop
|
||||
/* 71AA08 802A1218 3C04802A */ lui $a0, %hi(D_802A19B0)
|
||||
/* 71AA0C 802A121C 8C8419B0 */ lw $a0, %lo(D_802A19B0)($a0)
|
||||
/* 71AA10 802A1220 0C05123D */ jal free_icon
|
||||
/* 71AA14 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 71AA18 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71AA1C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71AA20 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71AA24 802A1234 03E00008 */ jr $ra
|
||||
/* 71AA28 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
21
asm/nonmatchings/code_71A7F0/func_802A123C_71AA2C.s
Normal file
21
asm/nonmatchings/code_71A7F0/func_802A123C_71AA2C.s
Normal file
@ -0,0 +1,21 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_71AA2C
|
||||
/* 71AA2C 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71AA30 802A1240 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 71AA34 802A1244 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71AA38 802A1248 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
|
||||
/* 71AA3C 802A124C 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
|
||||
/* 71AA40 802A1250 2405000B */ addiu $a1, $zero, 0xb
|
||||
/* 71AA44 802A1254 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71AA48 802A1258 8C460084 */ lw $a2, 0x84($v0)
|
||||
/* 71AA4C 802A125C 0C0997D0 */ jal inflict_status
|
||||
/* 71AA50 802A1260 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 71AA54 802A1264 A200021C */ sb $zero, 0x21c($s0)
|
||||
/* 71AA58 802A1268 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71AA5C 802A126C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71AA60 802A1270 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71AA64 802A1274 03E00008 */ jr $ra
|
||||
/* 71AA68 802A1278 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 71AA6C 802A127C 00000000 */ nop
|
125
asm/nonmatchings/code_71B1A0/func_802A1000_71B1A0.s
Normal file
125
asm/nonmatchings/code_71B1A0/func_802A1000_71B1A0.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_71B1A0
|
||||
/* 71B1A0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 71B1A4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 71B1A8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 71B1AC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 71B1B0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 71B1B4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 71B1B8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 71B1BC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 71B1C0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 71B1C4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 71B1C8 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 71B1CC 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 71B1D0 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 71B1D4 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 71B1D8 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 71B1DC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 71B1E0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 71B1E4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 71B1E8 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 71B1EC 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 71B1F0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 71B1F4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 71B1F8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 71B1FC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 71B200 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 71B204 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 71B208 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 71B20C 802A106C 00000000 */ nop
|
||||
/* 71B210 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71B214 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 71B218 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 71B21C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 71B220 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 71B224 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 71B228 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 71B22C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 71B230 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 71B234 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 71B238 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 71B23C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 71B240 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 71B244 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 71B248 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 71B24C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 71B250 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 71B254 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 71B258 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 71B25C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 71B260 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 71B264 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 71B268 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 71B26C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 71B270 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 71B274 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 71B278 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71B27C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 71B280 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 71B284 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 71B288 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 71B28C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 71B290 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 71B294 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 71B298 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 71B29C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 71B2A0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 71B2A4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 71B2A8 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 71B2AC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 71B2B0 802A1110 0C03A830 */ jal add_coins
|
||||
/* 71B2B4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 71B2B8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 71B2BC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 71B2C0 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 71B2C4 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 71B2C8 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 71B2CC 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 71B2D0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 71B2D4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 71B2D8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71B2DC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 71B2E0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 71B2E4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 71B2E8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 71B2EC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 71B2F0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 71B2F4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 71B2F8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 71B2FC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 71B300 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 71B304 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 71B308 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 71B30C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 71B310 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 71B314 802A1174 0C050529 */ jal create_icon
|
||||
/* 71B318 802A1178 00000000 */ nop
|
||||
/* 71B31C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 71B320 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 71B324 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 71B328 802A1188 3C01802A */ lui $at, %hi(D_802A1C90)
|
||||
/* 71B32C 802A118C AC241C90 */ sw $a0, %lo(D_802A1C90)($at)
|
||||
/* 71B330 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 71B334 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 71B338 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 71B33C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 71B340 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 71B344 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 71B348 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 71B34C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 71B350 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 71B354 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 71B358 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 71B35C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 71B360 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 71B364 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 71B368 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71B36C 802A11CC 03E00008 */ jr $ra
|
||||
/* 71B370 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_71B1A0/func_802A11D4_71B374.s
Normal file
31
asm/nonmatchings/code_71B1A0/func_802A11D4_71B374.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_71B374
|
||||
/* 71B374 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71B378 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 71B37C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 71B380 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71B384 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71B388 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 71B38C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 71B390 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 71B394 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 71B398 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 71B39C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 71B3A0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 71B3A4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 71B3A8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 71B3AC 802A120C 00000000 */ nop
|
||||
/* 71B3B0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 71B3B4 802A1214 00000000 */ nop
|
||||
/* 71B3B8 802A1218 3C04802A */ lui $a0, %hi(D_802A1C90)
|
||||
/* 71B3BC 802A121C 8C841C90 */ lw $a0, %lo(D_802A1C90)($a0)
|
||||
/* 71B3C0 802A1220 0C05123D */ jal free_icon
|
||||
/* 71B3C4 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 71B3C8 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71B3CC 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71B3D0 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71B3D4 802A1234 03E00008 */ jr $ra
|
||||
/* 71B3D8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
43
asm/nonmatchings/code_71B1A0/func_802A123C_71B3DC.s
Normal file
43
asm/nonmatchings/code_71B1A0/func_802A123C_71B3DC.s
Normal file
@ -0,0 +1,43 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_71B3DC
|
||||
/* 71B3DC 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71B3E0 802A1240 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71B3E4 802A1244 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 71B3E8 802A1248 10A0000E */ beqz $a1, .L802A1284
|
||||
/* 71B3EC 802A124C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71B3F0 802A1250 0C04760B */ jal func_8011D82C
|
||||
/* 71B3F4 802A1254 24040001 */ addiu $a0, $zero, 1
|
||||
/* 71B3F8 802A1258 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71B3FC 802A125C 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 71B400 802A1260 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71B404 802A1264 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 71B408 802A1268 3C028015 */ lui $v0, %hi(D_801512F0)
|
||||
/* 71B40C 802A126C 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
|
||||
/* 71B410 802A1270 24030001 */ addiu $v1, $zero, 1
|
||||
/* 71B414 802A1274 0C046F97 */ jal set_background_color_blend
|
||||
/* 71B418 802A1278 A0430000 */ sb $v1, ($v0)
|
||||
/* 71B41C 802A127C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 71B420 802A1280 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A1284:
|
||||
/* 71B424 802A1284 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71B428 802A1288 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 71B42C 802A128C 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71B430 802A1290 8E030070 */ lw $v1, 0x70($s0)
|
||||
/* 71B434 802A1294 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 71B438 802A1298 00431023 */ subu $v0, $v0, $v1
|
||||
/* 71B43C 802A129C 00023880 */ sll $a3, $v0, 2
|
||||
/* 71B440 802A12A0 00E23821 */ addu $a3, $a3, $v0
|
||||
/* 71B444 802A12A4 00073840 */ sll $a3, $a3, 1
|
||||
/* 71B448 802A12A8 0C046F97 */ jal set_background_color_blend
|
||||
/* 71B44C 802A12AC 30E700FE */ andi $a3, $a3, 0xfe
|
||||
/* 71B450 802A12B0 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 71B454 802A12B4 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 71B458 802A12B8 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 71B45C 802A12BC 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 71B460 802A12C0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71B464 802A12C4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71B468 802A12C8 00021040 */ sll $v0, $v0, 1
|
||||
/* 71B46C 802A12CC 03E00008 */ jr $ra
|
||||
/* 71B470 802A12D0 27BD0018 */ addiu $sp, $sp, 0x18
|
39
asm/nonmatchings/code_71B1A0/func_802A12D4_71B474.s
Normal file
39
asm/nonmatchings/code_71B1A0/func_802A12D4_71B474.s
Normal file
@ -0,0 +1,39 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12D4_71B474
|
||||
/* 71B474 802A12D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71B478 802A12D8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71B47C 802A12DC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 71B480 802A12E0 10A00003 */ beqz $a1, .L802A12F0
|
||||
/* 71B484 802A12E4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71B488 802A12E8 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 71B48C 802A12EC AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A12F0:
|
||||
/* 71B490 802A12F0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71B494 802A12F4 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 71B498 802A12F8 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 71B49C 802A12FC 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71B4A0 802A1300 00023880 */ sll $a3, $v0, 2
|
||||
/* 71B4A4 802A1304 00E23821 */ addu $a3, $a3, $v0
|
||||
/* 71B4A8 802A1308 00073840 */ sll $a3, $a3, 1
|
||||
/* 71B4AC 802A130C 0C046F97 */ jal set_background_color_blend
|
||||
/* 71B4B0 802A1310 30E700FE */ andi $a3, $a3, 0xfe
|
||||
/* 71B4B4 802A1314 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 71B4B8 802A1318 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 71B4BC 802A131C 10400003 */ beqz $v0, .L802A132C
|
||||
/* 71B4C0 802A1320 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 71B4C4 802A1324 080A84D1 */ j .L802A1344
|
||||
/* 71B4C8 802A1328 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802A132C:
|
||||
/* 71B4CC 802A132C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71B4D0 802A1330 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 71B4D4 802A1334 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71B4D8 802A1338 0C046F97 */ jal set_background_color_blend
|
||||
/* 71B4DC 802A133C 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 71B4E0 802A1340 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A1344:
|
||||
/* 71B4E4 802A1344 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71B4E8 802A1348 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71B4EC 802A134C 03E00008 */ jr $ra
|
||||
/* 71B4F0 802A1350 27BD0018 */ addiu $sp, $sp, 0x18
|
89
asm/nonmatchings/code_71B1A0/func_802A1354_71B4F4.s
Normal file
89
asm/nonmatchings/code_71B1A0/func_802A1354_71B4F4.s
Normal file
@ -0,0 +1,89 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1354_71B4F4
|
||||
/* 71B4F4 802A1354 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 71B4F8 802A1358 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 71B4FC 802A135C AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 71B500 802A1360 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 71B504 802A1364 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 71B508 802A1368 F7B80038 */ sdc1 $f24, 0x38($sp)
|
||||
/* 71B50C 802A136C F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 71B510 802A1370 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 71B514 802A1374 0C09A75B */ jal get_actor
|
||||
/* 71B518 802A1378 8C840148 */ lw $a0, 0x148($a0)
|
||||
/* 71B51C 802A137C 0C09A75B */ jal get_actor
|
||||
/* 71B520 802A1380 84440428 */ lh $a0, 0x428($v0)
|
||||
/* 71B524 802A1384 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 71B528 802A1388 1200003C */ beqz $s0, .L802A147C
|
||||
/* 71B52C 802A138C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71B530 802A1390 0C05272D */ jal play_sound
|
||||
/* 71B534 802A1394 24040366 */ addiu $a0, $zero, 0x366
|
||||
/* 71B538 802A1398 3C03CCCC */ lui $v1, 0xcccc
|
||||
/* 71B53C 802A139C 3463CCCD */ ori $v1, $v1, 0xcccd
|
||||
/* 71B540 802A13A0 92040191 */ lbu $a0, 0x191($s0)
|
||||
/* 71B544 802A13A4 92020190 */ lbu $v0, 0x190($s0)
|
||||
/* 71B548 802A13A8 00830019 */ multu $a0, $v1
|
||||
/* 71B54C 802A13AC C6000188 */ lwc1 $f0, 0x188($s0)
|
||||
/* 71B550 802A13B0 00021882 */ srl $v1, $v0, 2
|
||||
/* 71B554 802A13B4 00431021 */ addu $v0, $v0, $v1
|
||||
/* 71B558 802A13B8 44823000 */ mtc1 $v0, $f6
|
||||
/* 71B55C 802A13BC 00000000 */ nop
|
||||
/* 71B560 802A13C0 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 71B564 802A13C4 46003182 */ mul.s $f6, $f6, $f0
|
||||
/* 71B568 802A13C8 00000000 */ nop
|
||||
/* 71B56C 802A13CC 2482FFFE */ addiu $v0, $a0, -2
|
||||
/* 71B570 802A13D0 44822000 */ mtc1 $v0, $f4
|
||||
/* 71B574 802A13D4 00000000 */ nop
|
||||
/* 71B578 802A13D8 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 71B57C 802A13DC 46002102 */ mul.s $f4, $f4, $f0
|
||||
/* 71B580 802A13E0 00000000 */ nop
|
||||
/* 71B584 802A13E4 C6020148 */ lwc1 $f2, 0x148($s0)
|
||||
/* 71B588 802A13E8 C6160144 */ lwc1 $f22, 0x144($s0)
|
||||
/* 71B58C 802A13EC C618014C */ lwc1 $f24, 0x14c($s0)
|
||||
/* 71B590 802A13F0 00004010 */ mfhi $t0
|
||||
/* 71B594 802A13F4 000810C2 */ srl $v0, $t0, 3
|
||||
/* 71B598 802A13F8 304200FF */ andi $v0, $v0, 0xff
|
||||
/* 71B59C 802A13FC 44820000 */ mtc1 $v0, $f0
|
||||
/* 71B5A0 802A1400 00000000 */ nop
|
||||
/* 71B5A4 802A1404 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71B5A8 802A1408 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 71B5AC 802A140C 44114000 */ mfc1 $s1, $f8
|
||||
/* 71B5B0 802A1410 4600220D */ trunc.w.s $f8, $f4
|
||||
/* 71B5B4 802A1414 44124000 */ mfc1 $s2, $f8
|
||||
/* 71B5B8 802A1418 8E020000 */ lw $v0, ($s0)
|
||||
/* 71B5BC 802A141C 30428000 */ andi $v0, $v0, 0x8000
|
||||
/* 71B5C0 802A1420 10400006 */ beqz $v0, .L802A143C
|
||||
/* 71B5C4 802A1424 46001500 */ add.s $f20, $f2, $f0
|
||||
/* 71B5C8 802A1428 00041042 */ srl $v0, $a0, 1
|
||||
/* 71B5CC 802A142C 44820000 */ mtc1 $v0, $f0
|
||||
/* 71B5D0 802A1430 00000000 */ nop
|
||||
/* 71B5D4 802A1434 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71B5D8 802A1438 4600A501 */ sub.s $f20, $f20, $f0
|
||||
.L802A143C:
|
||||
/* 71B5DC 802A143C 0C00A67F */ jal rand_int
|
||||
/* 71B5E0 802A1440 24040002 */ addiu $a0, $zero, 2
|
||||
/* 71B5E4 802A1444 24440003 */ addiu $a0, $v0, 3
|
||||
/* 71B5E8 802A1448 4405B000 */ mfc1 $a1, $f22
|
||||
/* 71B5EC 802A144C 4406A000 */ mfc1 $a2, $f20
|
||||
/* 71B5F0 802A1450 4407C000 */ mfc1 $a3, $f24
|
||||
/* 71B5F4 802A1454 44910000 */ mtc1 $s1, $f0
|
||||
/* 71B5F8 802A1458 00000000 */ nop
|
||||
/* 71B5FC 802A145C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71B600 802A1460 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 71B604 802A1464 44920000 */ mtc1 $s2, $f0
|
||||
/* 71B608 802A1468 00000000 */ nop
|
||||
/* 71B60C 802A146C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71B610 802A1470 0C01C334 */ jal func_80070CD0
|
||||
/* 71B614 802A1474 E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 71B618 802A1478 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A147C:
|
||||
/* 71B61C 802A147C 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 71B620 802A1480 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 71B624 802A1484 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 71B628 802A1488 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 71B62C 802A148C D7B80038 */ ldc1 $f24, 0x38($sp)
|
||||
/* 71B630 802A1490 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 71B634 802A1494 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 71B638 802A1498 03E00008 */ jr $ra
|
||||
/* 71B63C 802A149C 27BD0040 */ addiu $sp, $sp, 0x40
|
125
asm/nonmatchings/code_71BE30/func_802A1000_71BE30.s
Normal file
125
asm/nonmatchings/code_71BE30/func_802A1000_71BE30.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_71BE30
|
||||
/* 71BE30 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 71BE34 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 71BE38 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 71BE3C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 71BE40 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 71BE44 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 71BE48 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 71BE4C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 71BE50 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 71BE54 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 71BE58 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 71BE5C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 71BE60 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 71BE64 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 71BE68 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 71BE6C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 71BE70 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 71BE74 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 71BE78 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 71BE7C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 71BE80 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 71BE84 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 71BE88 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 71BE8C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 71BE90 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 71BE94 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 71BE98 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 71BE9C 802A106C 00000000 */ nop
|
||||
/* 71BEA0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71BEA4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 71BEA8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 71BEAC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 71BEB0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 71BEB4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 71BEB8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 71BEBC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 71BEC0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 71BEC4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 71BEC8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 71BECC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 71BED0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 71BED4 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 71BED8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 71BEDC 802A10AC 00004010 */ mfhi $t0
|
||||
/* 71BEE0 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 71BEE4 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 71BEE8 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 71BEEC 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 71BEF0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 71BEF4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 71BEF8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 71BEFC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 71BF00 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 71BF04 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 71BF08 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71BF0C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 71BF10 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 71BF14 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 71BF18 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 71BF1C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 71BF20 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 71BF24 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 71BF28 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 71BF2C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 71BF30 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 71BF34 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 71BF38 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 71BF3C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 71BF40 802A1110 0C03A830 */ jal add_coins
|
||||
/* 71BF44 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 71BF48 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 71BF4C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 71BF50 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 71BF54 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 71BF58 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 71BF5C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 71BF60 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 71BF64 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 71BF68 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71BF6C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 71BF70 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 71BF74 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 71BF78 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 71BF7C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 71BF80 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 71BF84 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 71BF88 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 71BF8C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 71BF90 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 71BF94 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 71BF98 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 71BF9C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 71BFA0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 71BFA4 802A1174 0C050529 */ jal create_icon
|
||||
/* 71BFA8 802A1178 00000000 */ nop
|
||||
/* 71BFAC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 71BFB0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 71BFB4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 71BFB8 802A1188 3C01802A */ lui $at, %hi(D_802A1EB0)
|
||||
/* 71BFBC 802A118C AC241EB0 */ sw $a0, %lo(D_802A1EB0)($at)
|
||||
/* 71BFC0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 71BFC4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 71BFC8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 71BFCC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 71BFD0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 71BFD4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 71BFD8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 71BFDC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 71BFE0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 71BFE4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 71BFE8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 71BFEC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 71BFF0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 71BFF4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 71BFF8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71BFFC 802A11CC 03E00008 */ jr $ra
|
||||
/* 71C000 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_71BE30/func_802A11D4_71C004.s
Normal file
31
asm/nonmatchings/code_71BE30/func_802A11D4_71C004.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_71C004
|
||||
/* 71C004 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71C008 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 71C00C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 71C010 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71C014 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71C018 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 71C01C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 71C020 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 71C024 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 71C028 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 71C02C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 71C030 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 71C034 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 71C038 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 71C03C 802A120C 00000000 */ nop
|
||||
/* 71C040 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 71C044 802A1214 00000000 */ nop
|
||||
/* 71C048 802A1218 3C04802A */ lui $a0, %hi(D_802A1EB0)
|
||||
/* 71C04C 802A121C 8C841EB0 */ lw $a0, %lo(D_802A1EB0)($a0)
|
||||
/* 71C050 802A1220 0C05123D */ jal free_icon
|
||||
/* 71C054 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 71C058 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71C05C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71C060 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71C064 802A1234 03E00008 */ jr $ra
|
||||
/* 71C068 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
61
asm/nonmatchings/code_71BE30/func_802A123C_71C06C.s
Normal file
61
asm/nonmatchings/code_71BE30/func_802A123C_71C06C.s
Normal file
@ -0,0 +1,61 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_71C06C
|
||||
/* 71C06C 802A123C 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 71C070 802A1240 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 71C074 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 71C078 802A1248 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 71C07C 802A124C AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 71C080 802A1250 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 71C084 802A1254 F7BA0040 */ sdc1 $f26, 0x40($sp)
|
||||
/* 71C088 802A1258 F7B80038 */ sdc1 $f24, 0x38($sp)
|
||||
/* 71C08C 802A125C F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 71C090 802A1260 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 71C094 802A1264 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 71C098 802A1268 8E050000 */ lw $a1, ($s0)
|
||||
/* 71C09C 802A126C 0C0B1EAF */ jal get_variable
|
||||
/* 71C0A0 802A1270 26100004 */ addiu $s0, $s0, 4
|
||||
/* 71C0A4 802A1274 8E050000 */ lw $a1, ($s0)
|
||||
/* 71C0A8 802A1278 26100004 */ addiu $s0, $s0, 4
|
||||
/* 71C0AC 802A127C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 71C0B0 802A1280 0C0B1EAF */ jal get_variable
|
||||
/* 71C0B4 802A1284 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 71C0B8 802A1288 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 71C0BC 802A128C 8E050000 */ lw $a1, ($s0)
|
||||
/* 71C0C0 802A1290 0C0B1EAF */ jal get_variable
|
||||
/* 71C0C4 802A1294 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 71C0C8 802A1298 4492D000 */ mtc1 $s2, $f26
|
||||
/* 71C0CC 802A129C 00000000 */ nop
|
||||
/* 71C0D0 802A12A0 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 71C0D4 802A12A4 4490C000 */ mtc1 $s0, $f24
|
||||
/* 71C0D8 802A12A8 00000000 */ nop
|
||||
/* 71C0DC 802A12AC 4680C620 */ cvt.s.w $f24, $f24
|
||||
/* 71C0E0 802A12B0 4482A000 */ mtc1 $v0, $f20
|
||||
/* 71C0E4 802A12B4 00000000 */ nop
|
||||
/* 71C0E8 802A12B8 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 71C0EC 802A12BC 4405D000 */ mfc1 $a1, $f26
|
||||
/* 71C0F0 802A12C0 4406C000 */ mfc1 $a2, $f24
|
||||
/* 71C0F4 802A12C4 4407A000 */ mfc1 $a3, $f20
|
||||
/* 71C0F8 802A12C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 71C0FC 802A12CC 4481B000 */ mtc1 $at, $f22
|
||||
/* 71C100 802A12D0 24040002 */ addiu $a0, $zero, 2
|
||||
/* 71C104 802A12D4 0C01BFBC */ jal func_8006FEF0
|
||||
/* 71C108 802A12D8 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 71C10C 802A12DC 4405D000 */ mfc1 $a1, $f26
|
||||
/* 71C110 802A12E0 4406C000 */ mfc1 $a2, $f24
|
||||
/* 71C114 802A12E4 4407A000 */ mfc1 $a3, $f20
|
||||
/* 71C118 802A12E8 24040002 */ addiu $a0, $zero, 2
|
||||
/* 71C11C 802A12EC 0C01BFBC */ jal func_8006FEF0
|
||||
/* 71C120 802A12F0 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 71C124 802A12F4 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 71C128 802A12F8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 71C12C 802A12FC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 71C130 802A1300 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 71C134 802A1304 D7BA0040 */ ldc1 $f26, 0x40($sp)
|
||||
/* 71C138 802A1308 D7B80038 */ ldc1 $f24, 0x38($sp)
|
||||
/* 71C13C 802A130C D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 71C140 802A1310 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 71C144 802A1314 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71C148 802A1318 03E00008 */ jr $ra
|
||||
/* 71C14C 802A131C 27BD0048 */ addiu $sp, $sp, 0x48
|
43
asm/nonmatchings/code_71BE30/func_802A1320_71C150.s
Normal file
43
asm/nonmatchings/code_71BE30/func_802A1320_71C150.s
Normal file
@ -0,0 +1,43 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1320_71C150
|
||||
/* 71C150 802A1320 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71C154 802A1324 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71C158 802A1328 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 71C15C 802A132C 10A0000E */ beqz $a1, .L802A1368
|
||||
/* 71C160 802A1330 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71C164 802A1334 0C04760B */ jal func_8011D82C
|
||||
/* 71C168 802A1338 24040001 */ addiu $a0, $zero, 1
|
||||
/* 71C16C 802A133C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71C170 802A1340 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 71C174 802A1344 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71C178 802A1348 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 71C17C 802A134C 3C028015 */ lui $v0, %hi(D_801512F0)
|
||||
/* 71C180 802A1350 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
|
||||
/* 71C184 802A1354 24030001 */ addiu $v1, $zero, 1
|
||||
/* 71C188 802A1358 0C046F97 */ jal set_background_color_blend
|
||||
/* 71C18C 802A135C A0430000 */ sb $v1, ($v0)
|
||||
/* 71C190 802A1360 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 71C194 802A1364 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A1368:
|
||||
/* 71C198 802A1368 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71C19C 802A136C 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 71C1A0 802A1370 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71C1A4 802A1374 8E030070 */ lw $v1, 0x70($s0)
|
||||
/* 71C1A8 802A1378 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 71C1AC 802A137C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 71C1B0 802A1380 00023880 */ sll $a3, $v0, 2
|
||||
/* 71C1B4 802A1384 00E23821 */ addu $a3, $a3, $v0
|
||||
/* 71C1B8 802A1388 00073840 */ sll $a3, $a3, 1
|
||||
/* 71C1BC 802A138C 0C046F97 */ jal set_background_color_blend
|
||||
/* 71C1C0 802A1390 30E700FE */ andi $a3, $a3, 0xfe
|
||||
/* 71C1C4 802A1394 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 71C1C8 802A1398 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 71C1CC 802A139C AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 71C1D0 802A13A0 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 71C1D4 802A13A4 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71C1D8 802A13A8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71C1DC 802A13AC 00021040 */ sll $v0, $v0, 1
|
||||
/* 71C1E0 802A13B0 03E00008 */ jr $ra
|
||||
/* 71C1E4 802A13B4 27BD0018 */ addiu $sp, $sp, 0x18
|
41
asm/nonmatchings/code_71BE30/func_802A13B8_71C1E8.s
Normal file
41
asm/nonmatchings/code_71BE30/func_802A13B8_71C1E8.s
Normal file
@ -0,0 +1,41 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A13B8_71C1E8
|
||||
/* 71C1E8 802A13B8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71C1EC 802A13BC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71C1F0 802A13C0 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 71C1F4 802A13C4 10A00003 */ beqz $a1, .L802A13D4
|
||||
/* 71C1F8 802A13C8 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71C1FC 802A13CC 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 71C200 802A13D0 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A13D4:
|
||||
/* 71C204 802A13D4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71C208 802A13D8 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 71C20C 802A13DC 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 71C210 802A13E0 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71C214 802A13E4 00023880 */ sll $a3, $v0, 2
|
||||
/* 71C218 802A13E8 00E23821 */ addu $a3, $a3, $v0
|
||||
/* 71C21C 802A13EC 00073840 */ sll $a3, $a3, 1
|
||||
/* 71C220 802A13F0 0C046F97 */ jal set_background_color_blend
|
||||
/* 71C224 802A13F4 30E700FE */ andi $a3, $a3, 0xfe
|
||||
/* 71C228 802A13F8 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 71C22C 802A13FC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 71C230 802A1400 10400003 */ beqz $v0, .L802A1410
|
||||
/* 71C234 802A1404 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 71C238 802A1408 080A850A */ j .L802A1428
|
||||
/* 71C23C 802A140C 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802A1410:
|
||||
/* 71C240 802A1410 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71C244 802A1414 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 71C248 802A1418 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71C24C 802A141C 0C046F97 */ jal set_background_color_blend
|
||||
/* 71C250 802A1420 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 71C254 802A1424 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A1428:
|
||||
/* 71C258 802A1428 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71C25C 802A142C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71C260 802A1430 03E00008 */ jr $ra
|
||||
/* 71C264 802A1434 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 71C268 802A1438 00000000 */ nop
|
||||
/* 71C26C 802A143C 00000000 */ nop
|
125
asm/nonmatchings/code_71CCE0/func_802A1000_71CCE0.s
Normal file
125
asm/nonmatchings/code_71CCE0/func_802A1000_71CCE0.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_71CCE0
|
||||
/* 71CCE0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 71CCE4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 71CCE8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 71CCEC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 71CCF0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 71CCF4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 71CCF8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 71CCFC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 71CD00 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 71CD04 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 71CD08 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 71CD0C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 71CD10 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 71CD14 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 71CD18 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 71CD1C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 71CD20 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 71CD24 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 71CD28 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 71CD2C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 71CD30 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 71CD34 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 71CD38 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 71CD3C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 71CD40 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 71CD44 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 71CD48 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 71CD4C 802A106C 00000000 */ nop
|
||||
/* 71CD50 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71CD54 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 71CD58 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 71CD5C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 71CD60 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 71CD64 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 71CD68 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 71CD6C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 71CD70 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 71CD74 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 71CD78 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 71CD7C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 71CD80 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 71CD84 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 71CD88 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 71CD8C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 71CD90 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 71CD94 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 71CD98 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 71CD9C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 71CDA0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 71CDA4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 71CDA8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 71CDAC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 71CDB0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 71CDB4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 71CDB8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71CDBC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 71CDC0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 71CDC4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 71CDC8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 71CDCC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 71CDD0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 71CDD4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 71CDD8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 71CDDC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 71CDE0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 71CDE4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 71CDE8 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 71CDEC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 71CDF0 802A1110 0C03A830 */ jal add_coins
|
||||
/* 71CDF4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 71CDF8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 71CDFC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 71CE00 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 71CE04 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 71CE08 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 71CE0C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 71CE10 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 71CE14 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 71CE18 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71CE1C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 71CE20 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 71CE24 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 71CE28 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 71CE2C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 71CE30 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 71CE34 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 71CE38 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 71CE3C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 71CE40 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 71CE44 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 71CE48 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 71CE4C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 71CE50 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 71CE54 802A1174 0C050529 */ jal create_icon
|
||||
/* 71CE58 802A1178 00000000 */ nop
|
||||
/* 71CE5C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 71CE60 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 71CE64 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 71CE68 802A1188 3C01802A */ lui $at, %hi(D_802A1A90)
|
||||
/* 71CE6C 802A118C AC241A90 */ sw $a0, %lo(D_802A1A90)($at)
|
||||
/* 71CE70 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 71CE74 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 71CE78 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 71CE7C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 71CE80 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 71CE84 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 71CE88 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 71CE8C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 71CE90 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 71CE94 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 71CE98 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 71CE9C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 71CEA0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 71CEA4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 71CEA8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71CEAC 802A11CC 03E00008 */ jr $ra
|
||||
/* 71CEB0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_71CCE0/func_802A11D4_71CEB4.s
Normal file
31
asm/nonmatchings/code_71CCE0/func_802A11D4_71CEB4.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_71CEB4
|
||||
/* 71CEB4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71CEB8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 71CEBC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 71CEC0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71CEC4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71CEC8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 71CECC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 71CED0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 71CED4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 71CED8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 71CEDC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 71CEE0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 71CEE4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 71CEE8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 71CEEC 802A120C 00000000 */ nop
|
||||
/* 71CEF0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 71CEF4 802A1214 00000000 */ nop
|
||||
/* 71CEF8 802A1218 3C04802A */ lui $a0, %hi(D_802A1A90)
|
||||
/* 71CEFC 802A121C 8C841A90 */ lw $a0, %lo(D_802A1A90)($a0)
|
||||
/* 71CF00 802A1220 0C05123D */ jal free_icon
|
||||
/* 71CF04 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 71CF08 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71CF0C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71CF10 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71CF14 802A1234 03E00008 */ jr $ra
|
||||
/* 71CF18 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
52
asm/nonmatchings/code_71CCE0/func_802A123C_71CF1C.s
Normal file
52
asm/nonmatchings/code_71CCE0/func_802A123C_71CF1C.s
Normal file
@ -0,0 +1,52 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_71CF1C
|
||||
/* 71CF1C 802A123C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 71CF20 802A1240 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 71CF24 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 71CF28 802A1248 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 71CF2C 802A124C AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 71CF30 802A1250 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 71CF34 802A1254 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 71CF38 802A1258 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 71CF3C 802A125C 8E050000 */ lw $a1, ($s0)
|
||||
/* 71CF40 802A1260 0C0B1EAF */ jal get_variable
|
||||
/* 71CF44 802A1264 26100004 */ addiu $s0, $s0, 4
|
||||
/* 71CF48 802A1268 8E050000 */ lw $a1, ($s0)
|
||||
/* 71CF4C 802A126C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 71CF50 802A1270 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 71CF54 802A1274 0C0B1EAF */ jal get_variable
|
||||
/* 71CF58 802A1278 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 71CF5C 802A127C 8E050000 */ lw $a1, ($s0)
|
||||
/* 71CF60 802A1280 26100004 */ addiu $s0, $s0, 4
|
||||
/* 71CF64 802A1284 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 71CF68 802A1288 0C0B1EAF */ jal get_variable
|
||||
/* 71CF6C 802A128C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 71CF70 802A1290 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 71CF74 802A1294 8E050000 */ lw $a1, ($s0)
|
||||
/* 71CF78 802A1298 0C0B1EAF */ jal get_variable
|
||||
/* 71CF7C 802A129C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 71CF80 802A12A0 44930000 */ mtc1 $s3, $f0
|
||||
/* 71CF84 802A12A4 00000000 */ nop
|
||||
/* 71CF88 802A12A8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71CF8C 802A12AC 44050000 */ mfc1 $a1, $f0
|
||||
/* 71CF90 802A12B0 44920000 */ mtc1 $s2, $f0
|
||||
/* 71CF94 802A12B4 00000000 */ nop
|
||||
/* 71CF98 802A12B8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71CF9C 802A12BC 44060000 */ mfc1 $a2, $f0
|
||||
/* 71CFA0 802A12C0 44900000 */ mtc1 $s0, $f0
|
||||
/* 71CFA4 802A12C4 00000000 */ nop
|
||||
/* 71CFA8 802A12C8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71CFAC 802A12CC 44070000 */ mfc1 $a3, $f0
|
||||
/* 71CFB0 802A12D0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71CFB4 802A12D4 0C01C424 */ jal func_80071090
|
||||
/* 71CFB8 802A12D8 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 71CFBC 802A12DC 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 71CFC0 802A12E0 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 71CFC4 802A12E4 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 71CFC8 802A12E8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 71CFCC 802A12EC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 71CFD0 802A12F0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71CFD4 802A12F4 03E00008 */ jr $ra
|
||||
/* 71CFD8 802A12F8 27BD0030 */ addiu $sp, $sp, 0x30
|
18
asm/nonmatchings/code_71CCE0/func_802A12FC_71CFDC.s
Normal file
18
asm/nonmatchings/code_71CCE0/func_802A12FC_71CFDC.s
Normal file
@ -0,0 +1,18 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12FC_71CFDC
|
||||
/* 71CFDC 802A12FC 3C048011 */ lui $a0, %hi(gPlayerData)
|
||||
/* 71CFE0 802A1300 2484F290 */ addiu $a0, $a0, %lo(gPlayerData)
|
||||
/* 71CFE4 802A1304 90820002 */ lbu $v0, 2($a0)
|
||||
/* 71CFE8 802A1308 80830003 */ lb $v1, 3($a0)
|
||||
/* 71CFEC 802A130C 24420001 */ addiu $v0, $v0, 1
|
||||
/* 71CFF0 802A1310 A0820002 */ sb $v0, 2($a0)
|
||||
/* 71CFF4 802A1314 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 71CFF8 802A1318 00021603 */ sra $v0, $v0, 0x18
|
||||
/* 71CFFC 802A131C 0062182A */ slt $v1, $v1, $v0
|
||||
/* 71D000 802A1320 90820003 */ lbu $v0, 3($a0)
|
||||
/* 71D004 802A1324 54600001 */ bnel $v1, $zero, .L802A132C
|
||||
/* 71D008 802A1328 A0820002 */ sb $v0, 2($a0)
|
||||
.L802A132C:
|
||||
/* 71D00C 802A132C 03E00008 */ jr $ra
|
125
asm/nonmatchings/code_71D770/func_802A1000_71D770.s
Normal file
125
asm/nonmatchings/code_71D770/func_802A1000_71D770.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_71D770
|
||||
/* 71D770 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 71D774 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 71D778 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 71D77C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 71D780 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 71D784 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 71D788 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 71D78C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 71D790 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 71D794 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 71D798 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 71D79C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 71D7A0 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 71D7A4 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 71D7A8 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 71D7AC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 71D7B0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 71D7B4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 71D7B8 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 71D7BC 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 71D7C0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 71D7C4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 71D7C8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 71D7CC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 71D7D0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 71D7D4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 71D7D8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 71D7DC 802A106C 00000000 */ nop
|
||||
/* 71D7E0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71D7E4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 71D7E8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 71D7EC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 71D7F0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 71D7F4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 71D7F8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 71D7FC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 71D800 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 71D804 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 71D808 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 71D80C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 71D810 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 71D814 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 71D818 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 71D81C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 71D820 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 71D824 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 71D828 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 71D82C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 71D830 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 71D834 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 71D838 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 71D83C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 71D840 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 71D844 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 71D848 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71D84C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 71D850 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 71D854 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 71D858 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 71D85C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 71D860 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 71D864 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 71D868 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 71D86C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 71D870 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 71D874 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 71D878 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 71D87C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 71D880 802A1110 0C03A830 */ jal add_coins
|
||||
/* 71D884 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 71D888 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 71D88C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 71D890 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 71D894 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 71D898 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 71D89C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 71D8A0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 71D8A4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 71D8A8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71D8AC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 71D8B0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 71D8B4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 71D8B8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 71D8BC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 71D8C0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 71D8C4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 71D8C8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 71D8CC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 71D8D0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 71D8D4 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 71D8D8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 71D8DC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 71D8E0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 71D8E4 802A1174 0C050529 */ jal create_icon
|
||||
/* 71D8E8 802A1178 00000000 */ nop
|
||||
/* 71D8EC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 71D8F0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 71D8F4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 71D8F8 802A1188 3C01802A */ lui $at, %hi(D_802A1EE0)
|
||||
/* 71D8FC 802A118C AC241EE0 */ sw $a0, %lo(D_802A1EE0)($at)
|
||||
/* 71D900 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 71D904 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 71D908 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 71D90C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 71D910 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 71D914 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 71D918 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 71D91C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 71D920 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 71D924 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 71D928 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 71D92C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 71D930 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 71D934 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 71D938 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71D93C 802A11CC 03E00008 */ jr $ra
|
||||
/* 71D940 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_71D770/func_802A11D4_71D944.s
Normal file
31
asm/nonmatchings/code_71D770/func_802A11D4_71D944.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_71D944
|
||||
/* 71D944 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71D948 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 71D94C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 71D950 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71D954 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71D958 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 71D95C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 71D960 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 71D964 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 71D968 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 71D96C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 71D970 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 71D974 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 71D978 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 71D97C 802A120C 00000000 */ nop
|
||||
/* 71D980 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 71D984 802A1214 00000000 */ nop
|
||||
/* 71D988 802A1218 3C04802A */ lui $a0, %hi(D_802A1EE0)
|
||||
/* 71D98C 802A121C 8C841EE0 */ lw $a0, %lo(D_802A1EE0)($a0)
|
||||
/* 71D990 802A1220 0C05123D */ jal free_icon
|
||||
/* 71D994 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 71D998 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71D99C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71D9A0 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71D9A4 802A1234 03E00008 */ jr $ra
|
||||
/* 71D9A8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
89
asm/nonmatchings/code_71D770/func_802A123C_71D9AC.s
Normal file
89
asm/nonmatchings/code_71D770/func_802A123C_71D9AC.s
Normal file
@ -0,0 +1,89 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_71D9AC
|
||||
/* 71D9AC 802A123C 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 71D9B0 802A1240 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 71D9B4 802A1244 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 71D9B8 802A1248 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 71D9BC 802A124C AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 71D9C0 802A1250 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 71D9C4 802A1254 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 71D9C8 802A1258 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 71D9CC 802A125C 0C00A67F */ jal rand_int
|
||||
/* 71D9D0 802A1260 240400C8 */ addiu $a0, $zero, 0xc8
|
||||
/* 71D9D4 802A1264 24040028 */ addiu $a0, $zero, 0x28
|
||||
/* 71D9D8 802A1268 0C00A67F */ jal rand_int
|
||||
/* 71D9DC 802A126C 24510064 */ addiu $s1, $v0, 0x64
|
||||
/* 71D9E0 802A1270 241200C8 */ addiu $s2, $zero, 0xc8
|
||||
/* 71D9E4 802A1274 8E030084 */ lw $v1, 0x84($s0)
|
||||
/* 71D9E8 802A1278 30630003 */ andi $v1, $v1, 3
|
||||
/* 71D9EC 802A127C 10600013 */ beqz $v1, .L802A12CC
|
||||
/* 71D9F0 802A1280 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 71D9F4 802A1284 0C00A67F */ jal rand_int
|
||||
/* 71D9F8 802A1288 24040064 */ addiu $a0, $zero, 0x64
|
||||
/* 71D9FC 802A128C 00521021 */ addu $v0, $v0, $s2
|
||||
/* 71DA00 802A1290 02221023 */ subu $v0, $s1, $v0
|
||||
/* 71DA04 802A1294 4482B000 */ mtc1 $v0, $f22
|
||||
/* 71DA08 802A1298 00000000 */ nop
|
||||
/* 71DA0C 802A129C 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 71DA10 802A12A0 0C00A67F */ jal rand_int
|
||||
/* 71DA14 802A12A4 24040064 */ addiu $a0, $zero, 0x64
|
||||
/* 71DA18 802A12A8 2442FFCE */ addiu $v0, $v0, -0x32
|
||||
/* 71DA1C 802A12AC 02021023 */ subu $v0, $s0, $v0
|
||||
/* 71DA20 802A12B0 4482A000 */ mtc1 $v0, $f20
|
||||
/* 71DA24 802A12B4 00000000 */ nop
|
||||
/* 71DA28 802A12B8 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 71DA2C 802A12BC 0C00A67F */ jal rand_int
|
||||
/* 71DA30 802A12C0 2404000A */ addiu $a0, $zero, 0xa
|
||||
/* 71DA34 802A12C4 080A84C4 */ j .L802A1310
|
||||
/* 71DA38 802A12C8 24040002 */ addiu $a0, $zero, 2
|
||||
.L802A12CC:
|
||||
/* 71DA3C 802A12CC 0C00A67F */ jal rand_int
|
||||
/* 71DA40 802A12D0 24040064 */ addiu $a0, $zero, 0x64
|
||||
/* 71DA44 802A12D4 244200C8 */ addiu $v0, $v0, 0xc8
|
||||
/* 71DA48 802A12D8 02221023 */ subu $v0, $s1, $v0
|
||||
/* 71DA4C 802A12DC 4482B000 */ mtc1 $v0, $f22
|
||||
/* 71DA50 802A12E0 00000000 */ nop
|
||||
/* 71DA54 802A12E4 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 71DA58 802A12E8 0C00A67F */ jal rand_int
|
||||
/* 71DA5C 802A12EC 24040064 */ addiu $a0, $zero, 0x64
|
||||
/* 71DA60 802A12F0 2442FFCE */ addiu $v0, $v0, -0x32
|
||||
/* 71DA64 802A12F4 02021023 */ subu $v0, $s0, $v0
|
||||
/* 71DA68 802A12F8 4482A000 */ mtc1 $v0, $f20
|
||||
/* 71DA6C 802A12FC 00000000 */ nop
|
||||
/* 71DA70 802A1300 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 71DA74 802A1304 0C00A67F */ jal rand_int
|
||||
/* 71DA78 802A1308 2404000A */ addiu $a0, $zero, 0xa
|
||||
/* 71DA7C 802A130C 24040003 */ addiu $a0, $zero, 3
|
||||
.L802A1310:
|
||||
/* 71DA80 802A1310 44911000 */ mtc1 $s1, $f2
|
||||
/* 71DA84 802A1314 00000000 */ nop
|
||||
/* 71DA88 802A1318 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 71DA8C 802A131C 44051000 */ mfc1 $a1, $f2
|
||||
/* 71DA90 802A1320 44921000 */ mtc1 $s2, $f2
|
||||
/* 71DA94 802A1324 00000000 */ nop
|
||||
/* 71DA98 802A1328 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 71DA9C 802A132C 44061000 */ mfc1 $a2, $f2
|
||||
/* 71DAA0 802A1330 44901000 */ mtc1 $s0, $f2
|
||||
/* 71DAA4 802A1334 00000000 */ nop
|
||||
/* 71DAA8 802A1338 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 71DAAC 802A133C 24420007 */ addiu $v0, $v0, 7
|
||||
/* 71DAB0 802A1340 44071000 */ mfc1 $a3, $f2
|
||||
/* 71DAB4 802A1344 44820000 */ mtc1 $v0, $f0
|
||||
/* 71DAB8 802A1348 00000000 */ nop
|
||||
/* 71DABC 802A134C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71DAC0 802A1350 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 71DAC4 802A1354 AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 71DAC8 802A1358 E7B40018 */ swc1 $f20, 0x18($sp)
|
||||
/* 71DACC 802A135C 0C01BF8C */ jal func_8006FE30
|
||||
/* 71DAD0 802A1360 E7A0001C */ swc1 $f0, 0x1c($sp)
|
||||
/* 71DAD4 802A1364 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 71DAD8 802A1368 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* 71DADC 802A136C 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 71DAE0 802A1370 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 71DAE4 802A1374 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 71DAE8 802A1378 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 71DAEC 802A137C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71DAF0 802A1380 03E00008 */ jr $ra
|
||||
/* 71DAF4 802A1384 27BD0040 */ addiu $sp, $sp, 0x40
|
51
asm/nonmatchings/code_71D770/func_802A1388_71DAF8.s
Normal file
51
asm/nonmatchings/code_71D770/func_802A1388_71DAF8.s
Normal file
@ -0,0 +1,51 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1388_71DAF8
|
||||
/* 71DAF8 802A1388 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 71DAFC 802A138C AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 71DB00 802A1390 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 71DB04 802A1394 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 71DB08 802A1398 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 71DB0C 802A139C AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 71DB10 802A13A0 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 71DB14 802A13A4 8E050000 */ lw $a1, ($s0)
|
||||
/* 71DB18 802A13A8 0C0B1EAF */ jal get_variable
|
||||
/* 71DB1C 802A13AC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 71DB20 802A13B0 8E050000 */ lw $a1, ($s0)
|
||||
/* 71DB24 802A13B4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 71DB28 802A13B8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 71DB2C 802A13BC 0C0B1EAF */ jal get_variable
|
||||
/* 71DB30 802A13C0 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 71DB34 802A13C4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 71DB38 802A13C8 8E050000 */ lw $a1, ($s0)
|
||||
/* 71DB3C 802A13CC 0C0B1EAF */ jal get_variable
|
||||
/* 71DB40 802A13D0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 71DB44 802A13D4 24040002 */ addiu $a0, $zero, 2
|
||||
/* 71DB48 802A13D8 44921000 */ mtc1 $s2, $f2
|
||||
/* 71DB4C 802A13DC 00000000 */ nop
|
||||
/* 71DB50 802A13E0 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 71DB54 802A13E4 44051000 */ mfc1 $a1, $f2
|
||||
/* 71DB58 802A13E8 44901000 */ mtc1 $s0, $f2
|
||||
/* 71DB5C 802A13EC 00000000 */ nop
|
||||
/* 71DB60 802A13F0 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 71DB64 802A13F4 44061000 */ mfc1 $a2, $f2
|
||||
/* 71DB68 802A13F8 44821000 */ mtc1 $v0, $f2
|
||||
/* 71DB6C 802A13FC 00000000 */ nop
|
||||
/* 71DB70 802A1400 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 71DB74 802A1404 3C01BF80 */ lui $at, 0xbf80
|
||||
/* 71DB78 802A1408 44810000 */ mtc1 $at, $f0
|
||||
/* 71DB7C 802A140C 44071000 */ mfc1 $a3, $f2
|
||||
/* 71DB80 802A1410 24030005 */ addiu $v1, $zero, 5
|
||||
/* 71DB84 802A1414 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 71DB88 802A1418 AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 71DB8C 802A141C AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* 71DB90 802A1420 0C01C064 */ jal func_80070190
|
||||
/* 71DB94 802A1424 E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 71DB98 802A1428 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 71DB9C 802A142C 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* 71DBA0 802A1430 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 71DBA4 802A1434 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 71DBA8 802A1438 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71DBAC 802A143C 03E00008 */ jr $ra
|
||||
/* 71DBB0 802A1440 27BD0030 */ addiu $sp, $sp, 0x30
|
41
asm/nonmatchings/code_71D770/func_802A1444_71DBB4.s
Normal file
41
asm/nonmatchings/code_71D770/func_802A1444_71DBB4.s
Normal file
@ -0,0 +1,41 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1444_71DBB4
|
||||
/* 71DBB4 802A1444 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71DBB8 802A1448 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71DBBC 802A144C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 71DBC0 802A1450 10A0000E */ beqz $a1, .L802A148C
|
||||
/* 71DBC4 802A1454 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71DBC8 802A1458 0C04760B */ jal func_8011D82C
|
||||
/* 71DBCC 802A145C 24040001 */ addiu $a0, $zero, 1
|
||||
/* 71DBD0 802A1460 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71DBD4 802A1464 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 71DBD8 802A1468 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71DBDC 802A146C 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 71DBE0 802A1470 3C028015 */ lui $v0, %hi(D_801512F0)
|
||||
/* 71DBE4 802A1474 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
|
||||
/* 71DBE8 802A1478 24030001 */ addiu $v1, $zero, 1
|
||||
/* 71DBEC 802A147C 0C046F97 */ jal set_background_color_blend
|
||||
/* 71DBF0 802A1480 A0430000 */ sb $v1, ($v0)
|
||||
/* 71DBF4 802A1484 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 71DBF8 802A1488 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A148C:
|
||||
/* 71DBFC 802A148C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71DC00 802A1490 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 71DC04 802A1494 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71DC08 802A1498 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 71DC0C 802A149C 2407000A */ addiu $a3, $zero, 0xa
|
||||
/* 71DC10 802A14A0 00E23823 */ subu $a3, $a3, $v0
|
||||
/* 71DC14 802A14A4 00073900 */ sll $a3, $a3, 4
|
||||
/* 71DC18 802A14A8 0C046F97 */ jal set_background_color_blend
|
||||
/* 71DC1C 802A14AC 30E700F0 */ andi $a3, $a3, 0xf0
|
||||
/* 71DC20 802A14B0 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 71DC24 802A14B4 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 71DC28 802A14B8 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 71DC2C 802A14BC 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 71DC30 802A14C0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71DC34 802A14C4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71DC38 802A14C8 00021040 */ sll $v0, $v0, 1
|
||||
/* 71DC3C 802A14CC 03E00008 */ jr $ra
|
||||
/* 71DC40 802A14D0 27BD0018 */ addiu $sp, $sp, 0x18
|
38
asm/nonmatchings/code_71D770/func_802A14D4_71DC44.s
Normal file
38
asm/nonmatchings/code_71D770/func_802A14D4_71DC44.s
Normal file
@ -0,0 +1,38 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A14D4_71DC44
|
||||
/* 71DC44 802A14D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71DC48 802A14D8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71DC4C 802A14DC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 71DC50 802A14E0 10A00003 */ beqz $a1, .L802A14F0
|
||||
/* 71DC54 802A14E4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71DC58 802A14E8 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 71DC5C 802A14EC AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A14F0:
|
||||
/* 71DC60 802A14F0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71DC64 802A14F4 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 71DC68 802A14F8 8E070070 */ lw $a3, 0x70($s0)
|
||||
/* 71DC6C 802A14FC 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71DC70 802A1500 00073900 */ sll $a3, $a3, 4
|
||||
/* 71DC74 802A1504 0C046F97 */ jal set_background_color_blend
|
||||
/* 71DC78 802A1508 30E700F0 */ andi $a3, $a3, 0xf0
|
||||
/* 71DC7C 802A150C 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 71DC80 802A1510 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 71DC84 802A1514 10400003 */ beqz $v0, .L802A1524
|
||||
/* 71DC88 802A1518 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 71DC8C 802A151C 080A854F */ j .L802A153C
|
||||
/* 71DC90 802A1520 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802A1524:
|
||||
/* 71DC94 802A1524 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 71DC98 802A1528 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 71DC9C 802A152C 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 71DCA0 802A1530 0C046F97 */ jal set_background_color_blend
|
||||
/* 71DCA4 802A1534 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 71DCA8 802A1538 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A153C:
|
||||
/* 71DCAC 802A153C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71DCB0 802A1540 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71DCB4 802A1544 03E00008 */ jr $ra
|
||||
/* 71DCB8 802A1548 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 71DCBC 802A154C 00000000 */ nop
|
125
asm/nonmatchings/code_71E650/func_802A1000_71E650.s
Normal file
125
asm/nonmatchings/code_71E650/func_802A1000_71E650.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_71E650
|
||||
/* 71E650 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 71E654 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 71E658 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 71E65C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 71E660 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 71E664 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 71E668 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 71E66C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 71E670 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 71E674 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 71E678 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 71E67C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 71E680 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 71E684 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 71E688 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 71E68C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 71E690 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 71E694 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 71E698 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 71E69C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 71E6A0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 71E6A4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 71E6A8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 71E6AC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 71E6B0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 71E6B4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 71E6B8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 71E6BC 802A106C 00000000 */ nop
|
||||
/* 71E6C0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71E6C4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 71E6C8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 71E6CC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 71E6D0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 71E6D4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 71E6D8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 71E6DC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 71E6E0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 71E6E4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 71E6E8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 71E6EC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 71E6F0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 71E6F4 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 71E6F8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 71E6FC 802A10AC 00004010 */ mfhi $t0
|
||||
/* 71E700 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 71E704 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 71E708 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 71E70C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 71E710 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 71E714 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 71E718 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 71E71C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 71E720 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 71E724 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 71E728 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71E72C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 71E730 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 71E734 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 71E738 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 71E73C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 71E740 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 71E744 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 71E748 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 71E74C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 71E750 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 71E754 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 71E758 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 71E75C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 71E760 802A1110 0C03A830 */ jal add_coins
|
||||
/* 71E764 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 71E768 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 71E76C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 71E770 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 71E774 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 71E778 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 71E77C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 71E780 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 71E784 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 71E788 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 71E78C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 71E790 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 71E794 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 71E798 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 71E79C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 71E7A0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 71E7A4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 71E7A8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 71E7AC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 71E7B0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 71E7B4 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 71E7B8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 71E7BC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 71E7C0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 71E7C4 802A1174 0C050529 */ jal create_icon
|
||||
/* 71E7C8 802A1178 00000000 */ nop
|
||||
/* 71E7CC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 71E7D0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 71E7D4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 71E7D8 802A1188 3C01802A */ lui $at, %hi(D_802A3F50)
|
||||
/* 71E7DC 802A118C AC243F50 */ sw $a0, %lo(D_802A3F50)($at)
|
||||
/* 71E7E0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 71E7E4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 71E7E8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 71E7EC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 71E7F0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 71E7F4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 71E7F8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 71E7FC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 71E800 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 71E804 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 71E808 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 71E80C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 71E810 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 71E814 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 71E818 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71E81C 802A11CC 03E00008 */ jr $ra
|
||||
/* 71E820 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_71E650/func_802A11D4_71E824.s
Normal file
31
asm/nonmatchings/code_71E650/func_802A11D4_71E824.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_71E824
|
||||
/* 71E824 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 71E828 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 71E82C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 71E830 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 71E834 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71E838 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 71E83C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 71E840 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 71E844 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 71E848 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 71E84C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 71E850 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 71E854 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 71E858 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 71E85C 802A120C 00000000 */ nop
|
||||
/* 71E860 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 71E864 802A1214 00000000 */ nop
|
||||
/* 71E868 802A1218 3C04802A */ lui $a0, %hi(D_802A3F50)
|
||||
/* 71E86C 802A121C 8C843F50 */ lw $a0, %lo(D_802A3F50)($a0)
|
||||
/* 71E870 802A1220 0C05123D */ jal free_icon
|
||||
/* 71E874 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 71E878 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 71E87C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71E880 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71E884 802A1234 03E00008 */ jr $ra
|
||||
/* 71E888 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
341
asm/nonmatchings/code_71E650/func_802A123C_71E88C.s
Normal file
341
asm/nonmatchings/code_71E650/func_802A123C_71E88C.s
Normal file
@ -0,0 +1,341 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_71E88C
|
||||
/* 71E88C 802A123C 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 71E890 802A1240 AFBE0038 */ sw $fp, 0x38($sp)
|
||||
/* 71E894 802A1244 3C1E802A */ lui $fp, %hi(D_802A3F88)
|
||||
/* 71E898 802A1248 27DE3F88 */ addiu $fp, $fp, %lo(D_802A3F88)
|
||||
/* 71E89C 802A124C AFBF003C */ sw $ra, 0x3c($sp)
|
||||
/* 71E8A0 802A1250 AFB70034 */ sw $s7, 0x34($sp)
|
||||
/* 71E8A4 802A1254 AFB60030 */ sw $s6, 0x30($sp)
|
||||
/* 71E8A8 802A1258 AFB5002C */ sw $s5, 0x2c($sp)
|
||||
/* 71E8AC 802A125C AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 71E8B0 802A1260 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 71E8B4 802A1264 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 71E8B8 802A1268 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 71E8BC 802A126C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 71E8C0 802A1270 F7BA0058 */ sdc1 $f26, 0x58($sp)
|
||||
/* 71E8C4 802A1274 F7B80050 */ sdc1 $f24, 0x50($sp)
|
||||
/* 71E8C8 802A1278 F7B60048 */ sdc1 $f22, 0x48($sp)
|
||||
/* 71E8CC 802A127C F7B40040 */ sdc1 $f20, 0x40($sp)
|
||||
/* 71E8D0 802A1280 10A00002 */ beqz $a1, .L802A128C
|
||||
/* 71E8D4 802A1284 AFA40060 */ sw $a0, 0x60($sp)
|
||||
/* 71E8D8 802A1288 AC800070 */ sw $zero, 0x70($a0)
|
||||
.L802A128C:
|
||||
/* 71E8DC 802A128C 8FA80060 */ lw $t0, 0x60($sp)
|
||||
/* 71E8E0 802A1290 8D030070 */ lw $v1, 0x70($t0)
|
||||
/* 71E8E4 802A1294 24020001 */ addiu $v0, $zero, 1
|
||||
/* 71E8E8 802A1298 1062005A */ beq $v1, $v0, .L802A1404
|
||||
/* 71E8EC 802A129C 28620002 */ slti $v0, $v1, 2
|
||||
/* 71E8F0 802A12A0 10400005 */ beqz $v0, .L802A12B8
|
||||
/* 71E8F4 802A12A4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71E8F8 802A12A8 10600007 */ beqz $v1, .L802A12C8
|
||||
/* 71E8FC 802A12AC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 71E900 802A12B0 080A85C0 */ j .L802A1700
|
||||
/* 71E904 802A12B4 00000000 */ nop
|
||||
.L802A12B8:
|
||||
/* 71E908 802A12B8 10620104 */ beq $v1, $v0, .L802A16CC
|
||||
/* 71E90C 802A12BC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 71E910 802A12C0 080A85C0 */ j .L802A1700
|
||||
/* 71E914 802A12C4 00000000 */ nop
|
||||
.L802A12C8:
|
||||
/* 71E918 802A12C8 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 71E91C 802A12CC 3C17802A */ lui $s7, %hi(D_802A3F00)
|
||||
/* 71E920 802A12D0 26F73F00 */ addiu $s7, $s7, %lo(D_802A3F00)
|
||||
/* 71E924 802A12D4 24160008 */ addiu $s6, $zero, 8
|
||||
/* 71E928 802A12D8 24150004 */ addiu $s5, $zero, 4
|
||||
/* 71E92C 802A12DC 3C14802A */ lui $s4, %hi(D_802A3E88)
|
||||
/* 71E930 802A12E0 26943E88 */ addiu $s4, $s4, %lo(D_802A3E88)
|
||||
/* 71E934 802A12E4 3C13802A */ lui $s3, %hi(D_802A3F58)
|
||||
/* 71E938 802A12E8 26733F58 */ addiu $s3, $s3, %lo(D_802A3F58)
|
||||
/* 71E93C 802A12EC 3C01C348 */ lui $at, 0xc348
|
||||
/* 71E940 802A12F0 44810000 */ mtc1 $at, $f0
|
||||
/* 71E944 802A12F4 3C014120 */ lui $at, 0x4120
|
||||
/* 71E948 802A12F8 44811000 */ mtc1 $at, $f2
|
||||
/* 71E94C 802A12FC 3C12802A */ lui $s2, %hi(D_802A3F28)
|
||||
/* 71E950 802A1300 26523F28 */ addiu $s2, $s2, %lo(D_802A3F28)
|
||||
/* 71E954 802A1304 E7C00000 */ swc1 $f0, ($fp)
|
||||
/* 71E958 802A1308 E7C20008 */ swc1 $f2, 8($fp)
|
||||
.L802A130C:
|
||||
/* 71E95C 802A130C 8E440000 */ lw $a0, ($s2)
|
||||
/* 71E960 802A1310 26520004 */ addiu $s2, $s2, 4
|
||||
/* 71E964 802A1314 0C0B5083 */ jal func_802D420C
|
||||
/* 71E968 802A1318 26310001 */ addiu $s1, $s1, 1
|
||||
/* 71E96C 802A131C 3C08802A */ lui $t0, %hi(D_802A3E88)
|
||||
/* 71E970 802A1320 25083E88 */ addiu $t0, $t0, %lo(D_802A3E88)
|
||||
/* 71E974 802A1324 02A81821 */ addu $v1, $s5, $t0
|
||||
/* 71E978 802A1328 AE620000 */ sw $v0, ($s3)
|
||||
/* 71E97C 802A132C C4740000 */ lwc1 $f20, ($v1)
|
||||
/* 71E980 802A1330 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 71E984 802A1334 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 71E988 802A1338 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 71E98C 802A133C 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 71E990 802A1340 44062000 */ mfc1 $a2, $f4
|
||||
/* 71E994 802A1344 3C08802A */ lui $t0, %hi(D_802A3E88)
|
||||
/* 71E998 802A1348 25083E88 */ addiu $t0, $t0, %lo(D_802A3E88)
|
||||
/* 71E99C 802A134C 02C81021 */ addu $v0, $s6, $t0
|
||||
/* 71E9A0 802A1350 26D6000C */ addiu $s6, $s6, 0xc
|
||||
/* 71E9A4 802A1354 26B5000C */ addiu $s5, $s5, 0xc
|
||||
/* 71E9A8 802A1358 C6820000 */ lwc1 $f2, ($s4)
|
||||
/* 71E9AC 802A135C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 71E9B0 802A1360 C7C00000 */ lwc1 $f0, ($fp)
|
||||
/* 71E9B4 802A1364 2694000C */ addiu $s4, $s4, 0xc
|
||||
/* 71E9B8 802A1368 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 71E9BC 802A136C C7C20008 */ lwc1 $f2, 8($fp)
|
||||
/* 71E9C0 802A1370 C4400000 */ lwc1 $f0, ($v0)
|
||||
/* 71E9C4 802A1374 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71E9C8 802A1378 46020600 */ add.s $f24, $f0, $f2
|
||||
/* 71E9CC 802A137C 4600B10D */ trunc.w.s $f4, $f22
|
||||
/* 71E9D0 802A1380 44052000 */ mfc1 $a1, $f4
|
||||
/* 71E9D4 802A1384 4600C10D */ trunc.w.s $f4, $f24
|
||||
/* 71E9D8 802A1388 44072000 */ mfc1 $a3, $f4
|
||||
/* 71E9DC 802A138C 0C0B50D9 */ jal func_802D4364
|
||||
/* 71E9E0 802A1390 26730004 */ addiu $s3, $s3, 4
|
||||
/* 71E9E4 802A1394 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 71E9E8 802A1398 8EE50000 */ lw $a1, ($s7)
|
||||
/* 71E9EC 802A139C 26F70004 */ addiu $s7, $s7, 4
|
||||
/* 71E9F0 802A13A0 3C073F80 */ lui $a3, 0x3f80
|
||||
/* 71E9F4 802A13A4 0C0B50EB */ jal func_802D43AC
|
||||
/* 71E9F8 802A13A8 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 71E9FC 802A13AC 2A22000A */ slti $v0, $s1, 0xa
|
||||
/* 71EA00 802A13B0 1440FFD6 */ bnez $v0, .L802A130C
|
||||
/* 71EA04 802A13B4 00000000 */ nop
|
||||
/* 71EA08 802A13B8 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 71EA0C 802A13BC 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 71EA10 802A13C0 94440134 */ lhu $a0, 0x134($v0)
|
||||
/* 71EA14 802A13C4 3C02CCCC */ lui $v0, 0xcccc
|
||||
/* 71EA18 802A13C8 3442CCCD */ ori $v0, $v0, 0xcccd
|
||||
/* 71EA1C 802A13CC 00820019 */ multu $a0, $v0
|
||||
/* 71EA20 802A13D0 8FA80060 */ lw $t0, 0x60($sp)
|
||||
/* 71EA24 802A13D4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 71EA28 802A13D8 AD020070 */ sw $v0, 0x70($t0)
|
||||
/* 71EA2C 802A13DC 00004010 */ mfhi $t0
|
||||
/* 71EA30 802A13E0 000818C2 */ srl $v1, $t0, 3
|
||||
/* 71EA34 802A13E4 00031080 */ sll $v0, $v1, 2
|
||||
/* 71EA38 802A13E8 00431021 */ addu $v0, $v0, $v1
|
||||
/* 71EA3C 802A13EC 00021040 */ sll $v0, $v0, 1
|
||||
/* 71EA40 802A13F0 00822023 */ subu $a0, $a0, $v0
|
||||
/* 71EA44 802A13F4 8FA80060 */ lw $t0, 0x60($sp)
|
||||
/* 71EA48 802A13F8 3084FFFF */ andi $a0, $a0, 0xffff
|
||||
/* 71EA4C 802A13FC 080A85BF */ j .L802A16FC
|
||||
/* 71EA50 802A1400 AD040074 */ sw $a0, 0x74($t0)
|
||||
.L802A1404:
|
||||
/* 71EA54 802A1404 C7C00000 */ lwc1 $f0, ($fp)
|
||||
/* 71EA58 802A1408 3C0140C0 */ lui $at, 0x40c0
|
||||
/* 71EA5C 802A140C 44811000 */ mtc1 $at, $f2
|
||||
/* 71EA60 802A1410 00000000 */ nop
|
||||
/* 71EA64 802A1414 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 71EA68 802A1418 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 71EA6C 802A141C 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 71EA70 802A1420 E7C00000 */ swc1 $f0, ($fp)
|
||||
/* 71EA74 802A1424 94430134 */ lhu $v1, 0x134($v0)
|
||||
/* 71EA78 802A1428 3C02AAAA */ lui $v0, 0xaaaa
|
||||
/* 71EA7C 802A142C 3442AAAB */ ori $v0, $v0, 0xaaab
|
||||
/* 71EA80 802A1430 00620019 */ multu $v1, $v0
|
||||
/* 71EA84 802A1434 00004010 */ mfhi $t0
|
||||
/* 71EA88 802A1438 00082042 */ srl $a0, $t0, 1
|
||||
/* 71EA8C 802A143C 00041040 */ sll $v0, $a0, 1
|
||||
/* 71EA90 802A1440 00441021 */ addu $v0, $v0, $a0
|
||||
/* 71EA94 802A1444 00621823 */ subu $v1, $v1, $v0
|
||||
/* 71EA98 802A1448 3063FFFF */ andi $v1, $v1, 0xffff
|
||||
/* 71EA9C 802A144C 14600011 */ bnez $v1, .L802A1494
|
||||
/* 71EAA0 802A1450 0000A82D */ daddu $s5, $zero, $zero
|
||||
/* 71EAA4 802A1454 8FA80060 */ lw $t0, 0x60($sp)
|
||||
/* 71EAA8 802A1458 3C026666 */ lui $v0, 0x6666
|
||||
/* 71EAAC 802A145C 8D040074 */ lw $a0, 0x74($t0)
|
||||
/* 71EAB0 802A1460 34426667 */ ori $v0, $v0, 0x6667
|
||||
/* 71EAB4 802A1464 24840001 */ addiu $a0, $a0, 1
|
||||
/* 71EAB8 802A1468 00820018 */ mult $a0, $v0
|
||||
/* 71EABC 802A146C 000417C3 */ sra $v0, $a0, 0x1f
|
||||
/* 71EAC0 802A1470 00004010 */ mfhi $t0
|
||||
/* 71EAC4 802A1474 00081883 */ sra $v1, $t0, 2
|
||||
/* 71EAC8 802A1478 00621823 */ subu $v1, $v1, $v0
|
||||
/* 71EACC 802A147C 00031080 */ sll $v0, $v1, 2
|
||||
/* 71EAD0 802A1480 00431021 */ addu $v0, $v0, $v1
|
||||
/* 71EAD4 802A1484 00021040 */ sll $v0, $v0, 1
|
||||
/* 71EAD8 802A1488 8FA80060 */ lw $t0, 0x60($sp)
|
||||
/* 71EADC 802A148C 00822023 */ subu $a0, $a0, $v0
|
||||
/* 71EAE0 802A1490 AD040074 */ sw $a0, 0x74($t0)
|
||||
.L802A1494:
|
||||
/* 71EAE4 802A1494 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 71EAE8 802A1498 3C014220 */ lui $at, 0x4220
|
||||
/* 71EAEC 802A149C 4481D000 */ mtc1 $at, $f26
|
||||
/* 71EAF0 802A14A0 24140008 */ addiu $s4, $zero, 8
|
||||
/* 71EAF4 802A14A4 24130004 */ addiu $s3, $zero, 4
|
||||
/* 71EAF8 802A14A8 3C16802A */ lui $s6, %hi(D_802A3E88)
|
||||
/* 71EAFC 802A14AC 26D63E88 */ addiu $s6, $s6, %lo(D_802A3E88)
|
||||
/* 71EB00 802A14B0 02C0902D */ daddu $s2, $s6, $zero
|
||||
/* 71EB04 802A14B4 3C10802A */ lui $s0, %hi(D_802A3F58)
|
||||
/* 71EB08 802A14B8 26103F58 */ addiu $s0, $s0, %lo(D_802A3F58)
|
||||
.L802A14BC:
|
||||
/* 71EB0C 802A14BC 02761021 */ addu $v0, $s3, $s6
|
||||
/* 71EB10 802A14C0 C4540000 */ lwc1 $f20, ($v0)
|
||||
/* 71EB14 802A14C4 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 71EB18 802A14C8 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 71EB1C 802A14CC 44062000 */ mfc1 $a2, $f4
|
||||
/* 71EB20 802A14D0 C6400000 */ lwc1 $f0, ($s2)
|
||||
/* 71EB24 802A14D4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71EB28 802A14D8 C7C20000 */ lwc1 $f2, ($fp)
|
||||
/* 71EB2C 802A14DC 02961021 */ addu $v0, $s4, $s6
|
||||
/* 71EB30 802A14E0 46020580 */ add.s $f22, $f0, $f2
|
||||
/* 71EB34 802A14E4 C7C20008 */ lwc1 $f2, 8($fp)
|
||||
/* 71EB38 802A14E8 C4400000 */ lwc1 $f0, ($v0)
|
||||
/* 71EB3C 802A14EC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71EB40 802A14F0 46020600 */ add.s $f24, $f0, $f2
|
||||
/* 71EB44 802A14F4 8E040000 */ lw $a0, ($s0)
|
||||
/* 71EB48 802A14F8 4600B10D */ trunc.w.s $f4, $f22
|
||||
/* 71EB4C 802A14FC 44052000 */ mfc1 $a1, $f4
|
||||
/* 71EB50 802A1500 4600C10D */ trunc.w.s $f4, $f24
|
||||
/* 71EB54 802A1504 44072000 */ mfc1 $a3, $f4
|
||||
/* 71EB58 802A1508 0C0B50D9 */ jal func_802D4364
|
||||
/* 71EB5C 802A150C 00000000 */ nop
|
||||
/* 71EB60 802A1510 56A00038 */ bnel $s5, $zero, .L802A15F4
|
||||
/* 71EB64 802A1514 2694000C */ addiu $s4, $s4, 0xc
|
||||
/* 71EB68 802A1518 8FA80060 */ lw $t0, 0x60($sp)
|
||||
/* 71EB6C 802A151C 8D020074 */ lw $v0, 0x74($t0)
|
||||
/* 71EB70 802A1520 54510034 */ bnel $v0, $s1, .L802A15F4
|
||||
/* 71EB74 802A1524 2694000C */ addiu $s4, $s4, 0xc
|
||||
/* 71EB78 802A1528 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 71EB7C 802A152C 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 71EB80 802A1530 94440134 */ lhu $a0, 0x134($v0)
|
||||
/* 71EB84 802A1534 3C02CCCC */ lui $v0, 0xcccc
|
||||
/* 71EB88 802A1538 3442CCCD */ ori $v0, $v0, 0xcccd
|
||||
/* 71EB8C 802A153C 00820019 */ multu $a0, $v0
|
||||
/* 71EB90 802A1540 00004010 */ mfhi $t0
|
||||
/* 71EB94 802A1544 00081882 */ srl $v1, $t0, 2
|
||||
/* 71EB98 802A1548 00031080 */ sll $v0, $v1, 2
|
||||
/* 71EB9C 802A154C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 71EBA0 802A1550 00822023 */ subu $a0, $a0, $v0
|
||||
/* 71EBA4 802A1554 3084FFFF */ andi $a0, $a0, 0xffff
|
||||
/* 71EBA8 802A1558 54800026 */ bnel $a0, $zero, .L802A15F4
|
||||
/* 71EBAC 802A155C 2694000C */ addiu $s4, $s4, 0xc
|
||||
/* 71EBB0 802A1560 44800000 */ mtc1 $zero, $f0
|
||||
/* 71EBB4 802A1564 00000000 */ nop
|
||||
/* 71EBB8 802A1568 4616003C */ c.lt.s $f0, $f22
|
||||
/* 71EBBC 802A156C 00000000 */ nop
|
||||
/* 71EBC0 802A1570 45000013 */ bc1f .L802A15C0
|
||||
/* 71EBC4 802A1574 00000000 */ nop
|
||||
/* 71EBC8 802A1578 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 71EBCC 802A157C 44810000 */ mtc1 $at, $f0
|
||||
/* 71EBD0 802A1580 00000000 */ nop
|
||||
/* 71EBD4 802A1584 4616003C */ c.lt.s $f0, $f22
|
||||
/* 71EBD8 802A1588 00000000 */ nop
|
||||
/* 71EBDC 802A158C 45000005 */ bc1f .L802A15A4
|
||||
/* 71EBE0 802A1590 4600B506 */ mov.s $f20, $f22
|
||||
/* 71EBE4 802A1594 3C014248 */ lui $at, 0x4248
|
||||
/* 71EBE8 802A1598 44810000 */ mtc1 $at, $f0
|
||||
/* 71EBEC 802A159C 00000000 */ nop
|
||||
/* 71EBF0 802A15A0 4600A501 */ sub.s $f20, $f20, $f0
|
||||
.L802A15A4:
|
||||
/* 71EBF4 802A15A4 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 71EBF8 802A15A8 44042000 */ mfc1 $a0, $f4
|
||||
/* 71EBFC 802A15AC 0C00A67F */ jal rand_int
|
||||
/* 71EC00 802A15B0 00000000 */ nop
|
||||
/* 71EC04 802A15B4 4482A000 */ mtc1 $v0, $f20
|
||||
/* 71EC08 802A15B8 00000000 */ nop
|
||||
/* 71EC0C 802A15BC 4680A520 */ cvt.s.w $f20, $f20
|
||||
.L802A15C0:
|
||||
/* 71EC10 802A15C0 4616D03C */ c.lt.s $f26, $f22
|
||||
/* 71EC14 802A15C4 00000000 */ nop
|
||||
/* 71EC18 802A15C8 45000003 */ bc1f .L802A15D8
|
||||
/* 71EC1C 802A15CC 24040003 */ addiu $a0, $zero, 3
|
||||
/* 71EC20 802A15D0 461AB001 */ sub.s $f0, $f22, $f26
|
||||
/* 71EC24 802A15D4 46000587 */ neg.s $f22, $f0
|
||||
.L802A15D8:
|
||||
/* 71EC28 802A15D8 4405B000 */ mfc1 $a1, $f22
|
||||
/* 71EC2C 802A15DC 4406A000 */ mfc1 $a2, $f20
|
||||
/* 71EC30 802A15E0 4407C000 */ mfc1 $a3, $f24
|
||||
/* 71EC34 802A15E4 24150001 */ addiu $s5, $zero, 1
|
||||
/* 71EC38 802A15E8 0C01BEB4 */ jal fx_walk_large
|
||||
/* 71EC3C 802A15EC AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 71EC40 802A15F0 2694000C */ addiu $s4, $s4, 0xc
|
||||
.L802A15F4:
|
||||
/* 71EC44 802A15F4 2673000C */ addiu $s3, $s3, 0xc
|
||||
/* 71EC48 802A15F8 2652000C */ addiu $s2, $s2, 0xc
|
||||
/* 71EC4C 802A15FC 26310001 */ addiu $s1, $s1, 1
|
||||
/* 71EC50 802A1600 2A22000A */ slti $v0, $s1, 0xa
|
||||
/* 71EC54 802A1604 1440FFAD */ bnez $v0, .L802A14BC
|
||||
/* 71EC58 802A1608 26100004 */ addiu $s0, $s0, 4
|
||||
/* 71EC5C 802A160C 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 71EC60 802A1610 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 71EC64 802A1614 94420134 */ lhu $v0, 0x134($v0)
|
||||
/* 71EC68 802A1618 30420001 */ andi $v0, $v0, 1
|
||||
/* 71EC6C 802A161C 10400020 */ beqz $v0, .L802A16A0
|
||||
/* 71EC70 802A1620 00000000 */ nop
|
||||
/* 71EC74 802A1624 0C00A67F */ jal rand_int
|
||||
/* 71EC78 802A1628 24040009 */ addiu $a0, $zero, 9
|
||||
/* 71EC7C 802A162C 00021840 */ sll $v1, $v0, 1
|
||||
/* 71EC80 802A1630 00621821 */ addu $v1, $v1, $v0
|
||||
/* 71EC84 802A1634 24620001 */ addiu $v0, $v1, 1
|
||||
/* 71EC88 802A1638 00021080 */ sll $v0, $v0, 2
|
||||
/* 71EC8C 802A163C 3C01802A */ lui $at, %hi(D_802A3E88)
|
||||
/* 71EC90 802A1640 00220821 */ addu $at, $at, $v0
|
||||
/* 71EC94 802A1644 C4343E88 */ lwc1 $f20, %lo(D_802A3E88)($at)
|
||||
/* 71EC98 802A1648 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 71EC9C 802A164C 00031080 */ sll $v0, $v1, 2
|
||||
/* 71ECA0 802A1650 3C01802A */ lui $at, %hi(D_802A3E88)
|
||||
/* 71ECA4 802A1654 00220821 */ addu $at, $at, $v0
|
||||
/* 71ECA8 802A1658 C4203E88 */ lwc1 $f0, %lo(D_802A3E88)($at)
|
||||
/* 71ECAC 802A165C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71ECB0 802A1660 C7C20000 */ lwc1 $f2, ($fp)
|
||||
/* 71ECB4 802A1664 24630002 */ addiu $v1, $v1, 2
|
||||
/* 71ECB8 802A1668 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 71ECBC 802A166C 00031880 */ sll $v1, $v1, 2
|
||||
/* 71ECC0 802A1670 C7C20008 */ lwc1 $f2, 8($fp)
|
||||
/* 71ECC4 802A1674 44050000 */ mfc1 $a1, $f0
|
||||
/* 71ECC8 802A1678 3C01802A */ lui $at, %hi(D_802A3E88)
|
||||
/* 71ECCC 802A167C 00230821 */ addu $at, $at, $v1
|
||||
/* 71ECD0 802A1680 C4203E88 */ lwc1 $f0, %lo(D_802A3E88)($at)
|
||||
/* 71ECD4 802A1684 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 71ECD8 802A1688 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 71ECDC 802A168C 4406A000 */ mfc1 $a2, $f20
|
||||
/* 71ECE0 802A1690 44070000 */ mfc1 $a3, $f0
|
||||
/* 71ECE4 802A1694 24040002 */ addiu $a0, $zero, 2
|
||||
/* 71ECE8 802A1698 0C01BEB4 */ jal fx_walk_large
|
||||
/* 71ECEC 802A169C AFA00010 */ sw $zero, 0x10($sp)
|
||||
.L802A16A0:
|
||||
/* 71ECF0 802A16A0 C7C20000 */ lwc1 $f2, ($fp)
|
||||
/* 71ECF4 802A16A4 3C0143A0 */ lui $at, 0x43a0
|
||||
/* 71ECF8 802A16A8 44810000 */ mtc1 $at, $f0
|
||||
/* 71ECFC 802A16AC 00000000 */ nop
|
||||
/* 71ED00 802A16B0 4602003E */ c.le.s $f0, $f2
|
||||
/* 71ED04 802A16B4 00000000 */ nop
|
||||
/* 71ED08 802A16B8 45000010 */ bc1f .L802A16FC
|
||||
/* 71ED0C 802A16BC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71ED10 802A16C0 8FA80060 */ lw $t0, 0x60($sp)
|
||||
/* 71ED14 802A16C4 080A85BF */ j .L802A16FC
|
||||
/* 71ED18 802A16C8 AD020070 */ sw $v0, 0x70($t0)
|
||||
.L802A16CC:
|
||||
/* 71ED1C 802A16CC 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 71ED20 802A16D0 3C10802A */ lui $s0, %hi(D_802A3F58)
|
||||
/* 71ED24 802A16D4 26103F58 */ addiu $s0, $s0, %lo(D_802A3F58)
|
||||
.L802A16D8:
|
||||
/* 71ED28 802A16D8 8E040000 */ lw $a0, ($s0)
|
||||
/* 71ED2C 802A16DC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 71ED30 802A16E0 0C0B50FD */ jal func_802D43F4
|
||||
/* 71ED34 802A16E4 26310001 */ addiu $s1, $s1, 1
|
||||
/* 71ED38 802A16E8 2A22000A */ slti $v0, $s1, 0xa
|
||||
/* 71ED3C 802A16EC 1440FFFA */ bnez $v0, .L802A16D8
|
||||
/* 71ED40 802A16F0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 71ED44 802A16F4 080A85C0 */ j .L802A1700
|
||||
/* 71ED48 802A16F8 00000000 */ nop
|
||||
.L802A16FC:
|
||||
/* 71ED4C 802A16FC 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802A1700:
|
||||
/* 71ED50 802A1700 8FBF003C */ lw $ra, 0x3c($sp)
|
||||
/* 71ED54 802A1704 8FBE0038 */ lw $fp, 0x38($sp)
|
||||
/* 71ED58 802A1708 8FB70034 */ lw $s7, 0x34($sp)
|
||||
/* 71ED5C 802A170C 8FB60030 */ lw $s6, 0x30($sp)
|
||||
/* 71ED60 802A1710 8FB5002C */ lw $s5, 0x2c($sp)
|
||||
/* 71ED64 802A1714 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* 71ED68 802A1718 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 71ED6C 802A171C 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 71ED70 802A1720 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 71ED74 802A1724 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 71ED78 802A1728 D7BA0058 */ ldc1 $f26, 0x58($sp)
|
||||
/* 71ED7C 802A172C D7B80050 */ ldc1 $f24, 0x50($sp)
|
||||
/* 71ED80 802A1730 D7B60048 */ ldc1 $f22, 0x48($sp)
|
||||
/* 71ED84 802A1734 D7B40040 */ ldc1 $f20, 0x40($sp)
|
||||
/* 71ED88 802A1738 03E00008 */ jr $ra
|
||||
/* 71ED8C 802A173C 27BD0060 */ addiu $sp, $sp, 0x60
|
76
asm/nonmatchings/code_71E650/func_802A1740_71ED90.s
Normal file
76
asm/nonmatchings/code_71E650/func_802A1740_71ED90.s
Normal file
@ -0,0 +1,76 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1740_71ED90
|
||||
/* 71ED90 802A1740 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 71ED94 802A1744 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 71ED98 802A1748 3C13800E */ lui $s3, %hi(gBattleStatus+0xD8)
|
||||
/* 71ED9C 802A174C 8E73C148 */ lw $s3, %lo(gBattleStatus+0xD8)($s3)
|
||||
/* 71EDA0 802A1750 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 71EDA4 802A1754 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 71EDA8 802A1758 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 71EDAC 802A175C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 71EDB0 802A1760 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71EDB4 802A1764 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 71EDB8 802A1768 10A00004 */ beqz $a1, .L802A177C
|
||||
/* 71EDBC 802A176C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 71EDC0 802A1770 2402005A */ addiu $v0, $zero, 0x5a
|
||||
/* 71EDC4 802A1774 AE800070 */ sw $zero, 0x70($s4)
|
||||
/* 71EDC8 802A1778 AE820074 */ sw $v0, 0x74($s4)
|
||||
.L802A177C:
|
||||
/* 71EDCC 802A177C 8262040C */ lb $v0, 0x40c($s3)
|
||||
/* 71EDD0 802A1780 18400021 */ blez $v0, .L802A1808
|
||||
/* 71EDD4 802A1784 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 71EDD8 802A1788 3C014204 */ lui $at, 0x4204
|
||||
/* 71EDDC 802A178C 4481A000 */ mtc1 $at, $f20
|
||||
/* 71EDE0 802A1790 02721021 */ addu $v0, $s3, $s2
|
||||
.L802A1794:
|
||||
/* 71EDE4 802A1794 8042040D */ lb $v0, 0x40d($v0)
|
||||
/* 71EDE8 802A1798 00028080 */ sll $s0, $v0, 2
|
||||
/* 71EDEC 802A179C 02028021 */ addu $s0, $s0, $v0
|
||||
/* 71EDF0 802A17A0 00108080 */ sll $s0, $s0, 2
|
||||
/* 71EDF4 802A17A4 2610022C */ addiu $s0, $s0, 0x22c
|
||||
/* 71EDF8 802A17A8 02708021 */ addu $s0, $s3, $s0
|
||||
/* 71EDFC 802A17AC 0C09A75B */ jal get_actor
|
||||
/* 71EE00 802A17B0 86040000 */ lh $a0, ($s0)
|
||||
/* 71EE04 802A17B4 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 71EE08 802A17B8 86050002 */ lh $a1, 2($s0)
|
||||
/* 71EE0C 802A17BC 0C099117 */ jal get_actor_part
|
||||
/* 71EE10 802A17C0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 71EE14 802A17C4 82230218 */ lb $v1, 0x218($s1)
|
||||
/* 71EE18 802A17C8 1460000A */ bnez $v1, .L802A17F4
|
||||
/* 71EE1C 802A17CC 00000000 */ nop
|
||||
/* 71EE20 802A17D0 8C42007C */ lw $v0, 0x7c($v0)
|
||||
/* 71EE24 802A17D4 30420020 */ andi $v0, $v0, 0x20
|
||||
/* 71EE28 802A17D8 14400006 */ bnez $v0, .L802A17F4
|
||||
/* 71EE2C 802A17DC 00000000 */ nop
|
||||
/* 71EE30 802A17E0 C62C018C */ lwc1 $f12, 0x18c($s1)
|
||||
/* 71EE34 802A17E4 46146300 */ add.s $f12, $f12, $f20
|
||||
/* 71EE38 802A17E8 0C00A6C9 */ jal clamp_angle
|
||||
/* 71EE3C 802A17EC E62C018C */ swc1 $f12, 0x18c($s1)
|
||||
/* 71EE40 802A17F0 E620018C */ swc1 $f0, 0x18c($s1)
|
||||
.L802A17F4:
|
||||
/* 71EE44 802A17F4 8262040C */ lb $v0, 0x40c($s3)
|
||||
/* 71EE48 802A17F8 26520001 */ addiu $s2, $s2, 1
|
||||
/* 71EE4C 802A17FC 0242102A */ slt $v0, $s2, $v0
|
||||
/* 71EE50 802A1800 1440FFE4 */ bnez $v0, .L802A1794
|
||||
/* 71EE54 802A1804 02721021 */ addu $v0, $s3, $s2
|
||||
.L802A1808:
|
||||
/* 71EE58 802A1808 8E820074 */ lw $v0, 0x74($s4)
|
||||
/* 71EE5C 802A180C 14400003 */ bnez $v0, .L802A181C
|
||||
/* 71EE60 802A1810 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 71EE64 802A1814 080A8609 */ j .L802A1824
|
||||
/* 71EE68 802A1818 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A181C:
|
||||
/* 71EE6C 802A181C AE820074 */ sw $v0, 0x74($s4)
|
||||
/* 71EE70 802A1820 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802A1824:
|
||||
/* 71EE74 802A1824 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 71EE78 802A1828 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 71EE7C 802A182C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 71EE80 802A1830 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 71EE84 802A1834 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 71EE88 802A1838 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71EE8C 802A183C D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 71EE90 802A1840 03E00008 */ jr $ra
|
||||
/* 71EE94 802A1844 27BD0030 */ addiu $sp, $sp, 0x30
|
83
asm/nonmatchings/code_71E650/func_802A1848_71EE98.s
Normal file
83
asm/nonmatchings/code_71E650/func_802A1848_71EE98.s
Normal file
@ -0,0 +1,83 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1848_71EE98
|
||||
/* 71EE98 802A1848 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 71EE9C 802A184C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 71EEA0 802A1850 3C13800E */ lui $s3, %hi(gBattleStatus+0xD8)
|
||||
/* 71EEA4 802A1854 8E73C148 */ lw $s3, %lo(gBattleStatus+0xD8)($s3)
|
||||
/* 71EEA8 802A1858 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 71EEAC 802A185C AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 71EEB0 802A1860 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 71EEB4 802A1864 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 71EEB8 802A1868 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 71EEBC 802A186C F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 71EEC0 802A1870 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 71EEC4 802A1874 54A00001 */ bnel $a1, $zero, .L802A187C
|
||||
/* 71EEC8 802A1878 AC800070 */ sw $zero, 0x70($a0)
|
||||
.L802A187C:
|
||||
/* 71EECC 802A187C 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 71EED0 802A1880 8262040C */ lb $v0, 0x40c($s3)
|
||||
/* 71EED4 802A1884 1840002C */ blez $v0, .L802A1938
|
||||
/* 71EED8 802A1888 0240A02D */ daddu $s4, $s2, $zero
|
||||
/* 71EEDC 802A188C 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 71EEE0 802A1890 4481A000 */ mtc1 $at, $f20
|
||||
/* 71EEE4 802A1894 3C014204 */ lui $at, 0x4204
|
||||
/* 71EEE8 802A1898 4481B000 */ mtc1 $at, $f22
|
||||
/* 71EEEC 802A189C 02721021 */ addu $v0, $s3, $s2
|
||||
.L802A18A0:
|
||||
/* 71EEF0 802A18A0 8043040D */ lb $v1, 0x40d($v0)
|
||||
/* 71EEF4 802A18A4 00031080 */ sll $v0, $v1, 2
|
||||
/* 71EEF8 802A18A8 00431021 */ addu $v0, $v0, $v1
|
||||
/* 71EEFC 802A18AC 00021080 */ sll $v0, $v0, 2
|
||||
/* 71EF00 802A18B0 2442022C */ addiu $v0, $v0, 0x22c
|
||||
/* 71EF04 802A18B4 02628821 */ addu $s1, $s3, $v0
|
||||
/* 71EF08 802A18B8 0C09A75B */ jal get_actor
|
||||
/* 71EF0C 802A18BC 86240000 */ lh $a0, ($s1)
|
||||
/* 71EF10 802A18C0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 71EF14 802A18C4 12000017 */ beqz $s0, .L802A1924
|
||||
/* 71EF18 802A18C8 00000000 */ nop
|
||||
/* 71EF1C 802A18CC 86250002 */ lh $a1, 2($s1)
|
||||
/* 71EF20 802A18D0 0C099117 */ jal get_actor_part
|
||||
/* 71EF24 802A18D4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 71EF28 802A18D8 82030218 */ lb $v1, 0x218($s0)
|
||||
/* 71EF2C 802A18DC 14600011 */ bnez $v1, .L802A1924
|
||||
/* 71EF30 802A18E0 00000000 */ nop
|
||||
/* 71EF34 802A18E4 8C42007C */ lw $v0, 0x7c($v0)
|
||||
/* 71EF38 802A18E8 30420020 */ andi $v0, $v0, 0x20
|
||||
/* 71EF3C 802A18EC 1440000D */ bnez $v0, .L802A1924
|
||||
/* 71EF40 802A18F0 00000000 */ nop
|
||||
/* 71EF44 802A18F4 C600018C */ lwc1 $f0, 0x18c($s0)
|
||||
/* 71EF48 802A18F8 4614003C */ c.lt.s $f0, $f20
|
||||
/* 71EF4C 802A18FC 00000000 */ nop
|
||||
/* 71EF50 802A1900 45000008 */ bc1f .L802A1924
|
||||
/* 71EF54 802A1904 00000000 */ nop
|
||||
/* 71EF58 802A1908 46160000 */ add.s $f0, $f0, $f22
|
||||
/* 71EF5C 802A190C 4600A03E */ c.le.s $f20, $f0
|
||||
/* 71EF60 802A1910 00000000 */ nop
|
||||
/* 71EF64 802A1914 45000002 */ bc1f .L802A1920
|
||||
/* 71EF68 802A1918 E600018C */ swc1 $f0, 0x18c($s0)
|
||||
/* 71EF6C 802A191C E614018C */ swc1 $f20, 0x18c($s0)
|
||||
.L802A1920:
|
||||
/* 71EF70 802A1920 24140001 */ addiu $s4, $zero, 1
|
||||
.L802A1924:
|
||||
/* 71EF74 802A1924 8262040C */ lb $v0, 0x40c($s3)
|
||||
/* 71EF78 802A1928 26520001 */ addiu $s2, $s2, 1
|
||||
/* 71EF7C 802A192C 0242102A */ slt $v0, $s2, $v0
|
||||
/* 71EF80 802A1930 1440FFDB */ bnez $v0, .L802A18A0
|
||||
/* 71EF84 802A1934 02721021 */ addu $v0, $s3, $s2
|
||||
.L802A1938:
|
||||
/* 71EF88 802A1938 2E820001 */ sltiu $v0, $s4, 1
|
||||
/* 71EF8C 802A193C 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 71EF90 802A1940 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 71EF94 802A1944 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 71EF98 802A1948 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 71EF9C 802A194C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 71EFA0 802A1950 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 71EFA4 802A1954 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 71EFA8 802A1958 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 71EFAC 802A195C 00021040 */ sll $v0, $v0, 1
|
||||
/* 71EFB0 802A1960 03E00008 */ jr $ra
|
||||
/* 71EFB4 802A1964 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
/* 71EFB8 802A1968 00000000 */ nop
|
||||
/* 71EFBC 802A196C 00000000 */ nop
|
125
asm/nonmatchings/code_7215A0/func_802A1000_7215A0.s
Normal file
125
asm/nonmatchings/code_7215A0/func_802A1000_7215A0.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_7215A0
|
||||
/* 7215A0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 7215A4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 7215A8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 7215AC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 7215B0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 7215B4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 7215B8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 7215BC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 7215C0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 7215C4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 7215C8 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 7215CC 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 7215D0 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 7215D4 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 7215D8 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 7215DC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 7215E0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 7215E4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 7215E8 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 7215EC 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 7215F0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 7215F4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 7215F8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 7215FC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 721600 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 721604 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 721608 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 72160C 802A106C 00000000 */ nop
|
||||
/* 721610 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 721614 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 721618 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 72161C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 721620 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 721624 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 721628 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 72162C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 721630 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 721634 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 721638 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 72163C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 721640 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 721644 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 721648 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 72164C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 721650 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 721654 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 721658 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 72165C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 721660 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 721664 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 721668 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 72166C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 721670 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 721674 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 721678 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 72167C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 721680 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 721684 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 721688 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 72168C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 721690 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 721694 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 721698 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 72169C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 7216A0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 7216A4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 7216A8 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 7216AC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 7216B0 802A1110 0C03A830 */ jal add_coins
|
||||
/* 7216B4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 7216B8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 7216BC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 7216C0 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 7216C4 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 7216C8 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 7216CC 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 7216D0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 7216D4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 7216D8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 7216DC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 7216E0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 7216E4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 7216E8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 7216EC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 7216F0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 7216F4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 7216F8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 7216FC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 721700 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 721704 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 721708 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 72170C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 721710 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 721714 802A1174 0C050529 */ jal create_icon
|
||||
/* 721718 802A1178 00000000 */ nop
|
||||
/* 72171C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 721720 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 721724 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 721728 802A1188 3C01802A */ lui $at, %hi(D_802A1A60)
|
||||
/* 72172C 802A118C AC241A60 */ sw $a0, %lo(D_802A1A60)($at)
|
||||
/* 721730 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 721734 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 721738 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 72173C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 721740 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 721744 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 721748 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 72174C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 721750 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 721754 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 721758 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 72175C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 721760 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 721764 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 721768 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72176C 802A11CC 03E00008 */ jr $ra
|
||||
/* 721770 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_7215A0/func_802A11D4_721774.s
Normal file
31
asm/nonmatchings/code_7215A0/func_802A11D4_721774.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_721774
|
||||
/* 721774 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 721778 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 72177C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 721780 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 721784 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 721788 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 72178C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 721790 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 721794 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 721798 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 72179C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 7217A0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 7217A4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 7217A8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 7217AC 802A120C 00000000 */ nop
|
||||
/* 7217B0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 7217B4 802A1214 00000000 */ nop
|
||||
/* 7217B8 802A1218 3C04802A */ lui $a0, %hi(D_802A1A60)
|
||||
/* 7217BC 802A121C 8C841A60 */ lw $a0, %lo(D_802A1A60)($a0)
|
||||
/* 7217C0 802A1220 0C05123D */ jal free_icon
|
||||
/* 7217C4 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 7217C8 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7217CC 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7217D0 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7217D4 802A1234 03E00008 */ jr $ra
|
||||
/* 7217D8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
112
asm/nonmatchings/code_7215A0/func_802A123C_7217DC.s
Normal file
112
asm/nonmatchings/code_7215A0/func_802A123C_7217DC.s
Normal file
@ -0,0 +1,112 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_7217DC
|
||||
/* 7217DC 802A123C 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 7217E0 802A1240 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 7217E4 802A1244 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 7217E8 802A1248 3C13800E */ lui $s3, %hi(gBattleStatus)
|
||||
/* 7217EC 802A124C 2673C070 */ addiu $s3, $s3, %lo(gBattleStatus)
|
||||
/* 7217F0 802A1250 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 7217F4 802A1254 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 7217F8 802A1258 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 7217FC 802A125C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 721800 802A1260 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 721804 802A1264 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 721808 802A1268 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 72180C 802A126C 8E7000D8 */ lw $s0, 0xd8($s3)
|
||||
/* 721810 802A1270 10A00002 */ beqz $a1, .L802A127C
|
||||
/* 721814 802A1274 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 721818 802A1278 AE400070 */ sw $zero, 0x70($s2)
|
||||
.L802A127C:
|
||||
/* 72181C 802A127C 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* 721820 802A1280 10600005 */ beqz $v1, .L802A1298
|
||||
/* 721824 802A1284 24020001 */ addiu $v0, $zero, 1
|
||||
/* 721828 802A1288 1062000D */ beq $v1, $v0, .L802A12C0
|
||||
/* 72182C 802A128C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 721830 802A1290 080A84E9 */ j .L802A13A4
|
||||
/* 721834 802A1294 00000000 */ nop
|
||||
.L802A1298:
|
||||
/* 721838 802A1298 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 72183C 802A129C 8E460084 */ lw $a2, 0x84($s2)
|
||||
/* 721840 802A12A0 0C0997D0 */ jal inflict_status
|
||||
/* 721844 802A12A4 2405000C */ addiu $a1, $zero, 0xc
|
||||
/* 721848 802A12A8 24020003 */ addiu $v0, $zero, 3
|
||||
/* 72184C 802A12AC A200021C */ sb $zero, 0x21c($s0)
|
||||
/* 721850 802A12B0 AE420074 */ sw $v0, 0x74($s2)
|
||||
/* 721854 802A12B4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 721858 802A12B8 080A84E8 */ j .L802A13A0
|
||||
/* 72185C 802A12BC AE420070 */ sw $v0, 0x70($s2)
|
||||
.L802A12C0:
|
||||
/* 721860 802A12C0 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 721864 802A12C4 24140019 */ addiu $s4, $zero, 0x19
|
||||
/* 721868 802A12C8 3C0140A0 */ lui $at, 0x40a0
|
||||
/* 72186C 802A12CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 721870 802A12D0 3C013F80 */ lui $at, 0x3f80
|
||||
/* 721874 802A12D4 4481B000 */ mtc1 $at, $f22
|
||||
.L802A12D8:
|
||||
/* 721878 802A12D8 0C00A67F */ jal rand_int
|
||||
/* 72187C 802A12DC 24040014 */ addiu $a0, $zero, 0x14
|
||||
/* 721880 802A12E0 2442FFF6 */ addiu $v0, $v0, -0xa
|
||||
/* 721884 802A12E4 C6020188 */ lwc1 $f2, 0x188($s0)
|
||||
/* 721888 802A12E8 44820000 */ mtc1 $v0, $f0
|
||||
/* 72188C 802A12EC 00000000 */ nop
|
||||
/* 721890 802A12F0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 721894 802A12F4 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 721898 802A12F8 00000000 */ nop
|
||||
/* 72189C 802A12FC C6140144 */ lwc1 $f20, 0x144($s0)
|
||||
/* 7218A0 802A1300 24040014 */ addiu $a0, $zero, 0x14
|
||||
/* 7218A4 802A1304 0C00A67F */ jal rand_int
|
||||
/* 7218A8 802A1308 4600A500 */ add.s $f20, $f20, $f0
|
||||
/* 7218AC 802A130C 2442000A */ addiu $v0, $v0, 0xa
|
||||
/* 7218B0 802A1310 C6020188 */ lwc1 $f2, 0x188($s0)
|
||||
/* 7218B4 802A1314 44820000 */ mtc1 $v0, $f0
|
||||
/* 7218B8 802A1318 00000000 */ nop
|
||||
/* 7218BC 802A131C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 7218C0 802A1320 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 7218C4 802A1324 00000000 */ nop
|
||||
/* 7218C8 802A1328 C6020148 */ lwc1 $f2, 0x148($s0)
|
||||
/* 7218CC 802A132C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 7218D0 802A1330 C600014C */ lwc1 $f0, 0x14c($s0)
|
||||
/* 7218D4 802A1334 26310001 */ addiu $s1, $s1, 1
|
||||
/* 7218D8 802A1338 46180000 */ add.s $f0, $f0, $f24
|
||||
/* 7218DC 802A133C 4405A000 */ mfc1 $a1, $f20
|
||||
/* 7218E0 802A1340 44061000 */ mfc1 $a2, $f2
|
||||
/* 7218E4 802A1344 44070000 */ mfc1 $a3, $f0
|
||||
/* 7218E8 802A1348 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 7218EC 802A134C E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 7218F0 802A1350 0C01C7FC */ jal func_80071FF0
|
||||
/* 7218F4 802A1354 AFB40014 */ sw $s4, 0x14($sp)
|
||||
/* 7218F8 802A1358 2A22000A */ slti $v0, $s1, 0xa
|
||||
/* 7218FC 802A135C 1440FFDE */ bnez $v0, .L802A12D8
|
||||
/* 721900 802A1360 00000000 */ nop
|
||||
/* 721904 802A1364 8E420074 */ lw $v0, 0x74($s2)
|
||||
/* 721908 802A1368 1440000C */ bnez $v0, .L802A139C
|
||||
/* 72190C 802A136C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 721910 802A1370 3C05FBFF */ lui $a1, 0xfbff
|
||||
/* 721914 802A1374 34A5FFFF */ ori $a1, $a1, 0xffff
|
||||
/* 721918 802A1378 3C04800E */ lui $a0, %hi(gBattleStatus)
|
||||
/* 72191C 802A137C 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
|
||||
/* 721920 802A1380 8C830000 */ lw $v1, ($a0)
|
||||
/* 721924 802A1384 24020002 */ addiu $v0, $zero, 2
|
||||
/* 721928 802A1388 A260008B */ sb $zero, 0x8b($s3)
|
||||
/* 72192C 802A138C A2600088 */ sb $zero, 0x88($s3)
|
||||
/* 721930 802A1390 00651824 */ and $v1, $v1, $a1
|
||||
/* 721934 802A1394 080A84E9 */ j .L802A13A4
|
||||
/* 721938 802A1398 AC830000 */ sw $v1, ($a0)
|
||||
.L802A139C:
|
||||
/* 72193C 802A139C AE420074 */ sw $v0, 0x74($s2)
|
||||
.L802A13A0:
|
||||
/* 721940 802A13A0 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802A13A4:
|
||||
/* 721944 802A13A4 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 721948 802A13A8 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* 72194C 802A13AC 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 721950 802A13B0 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 721954 802A13B4 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 721958 802A13B8 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 72195C 802A13BC D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 721960 802A13C0 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 721964 802A13C4 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 721968 802A13C8 03E00008 */ jr $ra
|
||||
/* 72196C 802A13CC 27BD0048 */ addiu $sp, $sp, 0x48
|
125
asm/nonmatchings/code_722000/func_802A1000_722000.s
Normal file
125
asm/nonmatchings/code_722000/func_802A1000_722000.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_722000
|
||||
/* 722000 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 722004 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 722008 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 72200C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 722010 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 722014 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 722018 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 72201C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 722020 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 722024 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 722028 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 72202C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 722030 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 722034 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 722038 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 72203C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 722040 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 722044 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 722048 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 72204C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 722050 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 722054 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 722058 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 72205C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 722060 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 722064 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 722068 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 72206C 802A106C 00000000 */ nop
|
||||
/* 722070 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 722074 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 722078 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 72207C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 722080 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 722084 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 722088 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 72208C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 722090 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 722094 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 722098 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 72209C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 7220A0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 7220A4 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 7220A8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 7220AC 802A10AC 00004010 */ mfhi $t0
|
||||
/* 7220B0 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 7220B4 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 7220B8 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 7220BC 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 7220C0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 7220C4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 7220C8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 7220CC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 7220D0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 7220D4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 7220D8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 7220DC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 7220E0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 7220E4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 7220E8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 7220EC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 7220F0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 7220F4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 7220F8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 7220FC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 722100 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 722104 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 722108 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 72210C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 722110 802A1110 0C03A830 */ jal add_coins
|
||||
/* 722114 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 722118 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 72211C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 722120 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 722124 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 722128 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 72212C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 722130 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 722134 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 722138 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 72213C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 722140 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 722144 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 722148 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 72214C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 722150 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 722154 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 722158 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 72215C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 722160 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 722164 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 722168 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 72216C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 722170 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 722174 802A1174 0C050529 */ jal create_icon
|
||||
/* 722178 802A1178 00000000 */ nop
|
||||
/* 72217C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 722180 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 722184 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 722188 802A1188 3C01802A */ lui $at, %hi(D_802A1B40)
|
||||
/* 72218C 802A118C AC241B40 */ sw $a0, %lo(D_802A1B40)($at)
|
||||
/* 722190 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 722194 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 722198 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 72219C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 7221A0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 7221A4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 7221A8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 7221AC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 7221B0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 7221B4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 7221B8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 7221BC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 7221C0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 7221C4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 7221C8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7221CC 802A11CC 03E00008 */ jr $ra
|
||||
/* 7221D0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_722000/func_802A11D4_7221D4.s
Normal file
31
asm/nonmatchings/code_722000/func_802A11D4_7221D4.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_7221D4
|
||||
/* 7221D4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7221D8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 7221DC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 7221E0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7221E4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7221E8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 7221EC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 7221F0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 7221F4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 7221F8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 7221FC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 722200 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 722204 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 722208 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 72220C 802A120C 00000000 */ nop
|
||||
/* 722210 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 722214 802A1214 00000000 */ nop
|
||||
/* 722218 802A1218 3C04802A */ lui $a0, %hi(D_802A1B40)
|
||||
/* 72221C 802A121C 8C841B40 */ lw $a0, %lo(D_802A1B40)($a0)
|
||||
/* 722220 802A1220 0C05123D */ jal free_icon
|
||||
/* 722224 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 722228 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 72222C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 722230 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 722234 802A1234 03E00008 */ jr $ra
|
||||
/* 722238 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
44
asm/nonmatchings/code_722000/func_802A123C_72223C.s
Normal file
44
asm/nonmatchings/code_722000/func_802A123C_72223C.s
Normal file
@ -0,0 +1,44 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_72223C
|
||||
/* 72223C 802A123C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 722240 802A1240 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 722244 802A1244 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 722248 802A1248 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 72224C 802A124C 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 722250 802A1250 0C0B1EAF */ jal get_variable
|
||||
/* 722254 802A1254 8C450000 */ lw $a1, ($v0)
|
||||
/* 722258 802A1258 0C09A75B */ jal get_actor
|
||||
/* 72225C 802A125C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 722260 802A1260 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 722264 802A1264 96020192 */ lhu $v0, 0x192($s0)
|
||||
/* 722268 802A1268 82030210 */ lb $v1, 0x210($s0)
|
||||
/* 72226C 802A126C 10600005 */ beqz $v1, .L802A1284
|
||||
/* 722270 802A1270 30510700 */ andi $s1, $v0, 0x700
|
||||
/* 722274 802A1274 86040436 */ lh $a0, 0x436($s0)
|
||||
/* 722278 802A1278 A2000211 */ sb $zero, 0x211($s0)
|
||||
/* 72227C 802A127C 0C011E26 */ jal func_80047898
|
||||
/* 722280 802A1280 A2000210 */ sb $zero, 0x210($s0)
|
||||
.L802A1284:
|
||||
/* 722284 802A1284 82020216 */ lb $v0, 0x216($s0)
|
||||
/* 722288 802A1288 1040000C */ beqz $v0, .L802A12BC
|
||||
/* 72228C 802A128C 00000000 */ nop
|
||||
/* 722290 802A1290 A2000217 */ sb $zero, 0x217($s0)
|
||||
/* 722294 802A1294 12200006 */ beqz $s1, .L802A12B0
|
||||
/* 722298 802A1298 A2000216 */ sb $zero, 0x216($s0)
|
||||
/* 72229C 802A129C 24020100 */ addiu $v0, $zero, 0x100
|
||||
/* 7222A0 802A12A0 16220003 */ bne $s1, $v0, .L802A12B0
|
||||
/* 7222A4 802A12A4 00000000 */ nop
|
||||
/* 7222A8 802A12A8 0C09F7A0 */ jal dispatch_event_partner
|
||||
/* 7222AC 802A12AC 24040031 */ addiu $a0, $zero, 0x31
|
||||
.L802A12B0:
|
||||
/* 7222B0 802A12B0 8E020440 */ lw $v0, 0x440($s0)
|
||||
/* 7222B4 802A12B4 8C42000C */ lw $v0, 0xc($v0)
|
||||
/* 7222B8 802A12B8 AC40003C */ sw $zero, 0x3c($v0)
|
||||
.L802A12BC:
|
||||
/* 7222BC 802A12BC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 7222C0 802A12C0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 7222C4 802A12C4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7222C8 802A12C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7222CC 802A12CC 03E00008 */ jr $ra
|
125
asm/nonmatchings/code_722B40/func_802A1000_722B40.s
Normal file
125
asm/nonmatchings/code_722B40/func_802A1000_722B40.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_722B40
|
||||
/* 722B40 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 722B44 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 722B48 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 722B4C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 722B50 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 722B54 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 722B58 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 722B5C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 722B60 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 722B64 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 722B68 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 722B6C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 722B70 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 722B74 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 722B78 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 722B7C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 722B80 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 722B84 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 722B88 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 722B8C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 722B90 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 722B94 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 722B98 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 722B9C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 722BA0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 722BA4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 722BA8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 722BAC 802A106C 00000000 */ nop
|
||||
/* 722BB0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 722BB4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 722BB8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 722BBC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 722BC0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 722BC4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 722BC8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 722BCC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 722BD0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 722BD4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 722BD8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 722BDC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 722BE0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 722BE4 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 722BE8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 722BEC 802A10AC 00004010 */ mfhi $t0
|
||||
/* 722BF0 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 722BF4 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 722BF8 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 722BFC 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 722C00 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 722C04 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 722C08 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 722C0C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 722C10 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 722C14 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 722C18 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 722C1C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 722C20 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 722C24 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 722C28 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 722C2C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 722C30 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 722C34 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 722C38 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 722C3C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 722C40 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 722C44 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 722C48 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 722C4C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 722C50 802A1110 0C03A830 */ jal add_coins
|
||||
/* 722C54 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 722C58 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 722C5C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 722C60 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 722C64 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 722C68 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 722C6C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 722C70 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 722C74 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 722C78 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 722C7C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 722C80 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 722C84 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 722C88 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 722C8C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 722C90 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 722C94 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 722C98 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 722C9C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 722CA0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 722CA4 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 722CA8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 722CAC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 722CB0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 722CB4 802A1174 0C050529 */ jal create_icon
|
||||
/* 722CB8 802A1178 00000000 */ nop
|
||||
/* 722CBC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 722CC0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 722CC4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 722CC8 802A1188 3C01802A */ lui $at, %hi(D_802A1C40)
|
||||
/* 722CCC 802A118C AC241C40 */ sw $a0, %lo(D_802A1C40)($at)
|
||||
/* 722CD0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 722CD4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 722CD8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 722CDC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 722CE0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 722CE4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 722CE8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 722CEC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 722CF0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 722CF4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 722CF8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 722CFC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 722D00 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 722D04 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 722D08 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 722D0C 802A11CC 03E00008 */ jr $ra
|
||||
/* 722D10 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_722B40/func_802A11D4_722D14.s
Normal file
31
asm/nonmatchings/code_722B40/func_802A11D4_722D14.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_722D14
|
||||
/* 722D14 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 722D18 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 722D1C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 722D20 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 722D24 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 722D28 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 722D2C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 722D30 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 722D34 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 722D38 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 722D3C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 722D40 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 722D44 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 722D48 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 722D4C 802A120C 00000000 */ nop
|
||||
/* 722D50 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 722D54 802A1214 00000000 */ nop
|
||||
/* 722D58 802A1218 3C04802A */ lui $a0, %hi(D_802A1C40)
|
||||
/* 722D5C 802A121C 8C841C40 */ lw $a0, %lo(D_802A1C40)($a0)
|
||||
/* 722D60 802A1220 0C05123D */ jal free_icon
|
||||
/* 722D64 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 722D68 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 722D6C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 722D70 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 722D74 802A1234 03E00008 */ jr $ra
|
||||
/* 722D78 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
89
asm/nonmatchings/code_722B40/func_802A123C_722D7C.s
Normal file
89
asm/nonmatchings/code_722B40/func_802A123C_722D7C.s
Normal file
@ -0,0 +1,89 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_722D7C
|
||||
/* 722D7C 802A123C 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 722D80 802A1240 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 722D84 802A1244 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 722D88 802A1248 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 722D8C 802A124C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 722D90 802A1250 F7B80038 */ sdc1 $f24, 0x38($sp)
|
||||
/* 722D94 802A1254 F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 722D98 802A1258 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 722D9C 802A125C 0C09A75B */ jal get_actor
|
||||
/* 722DA0 802A1260 8C840148 */ lw $a0, 0x148($a0)
|
||||
/* 722DA4 802A1264 0C09A75B */ jal get_actor
|
||||
/* 722DA8 802A1268 84440428 */ lh $a0, 0x428($v0)
|
||||
/* 722DAC 802A126C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 722DB0 802A1270 1200003C */ beqz $s0, .L802A1364
|
||||
/* 722DB4 802A1274 24020002 */ addiu $v0, $zero, 2
|
||||
/* 722DB8 802A1278 0C05272D */ jal play_sound
|
||||
/* 722DBC 802A127C 24040366 */ addiu $a0, $zero, 0x366
|
||||
/* 722DC0 802A1280 3C03CCCC */ lui $v1, 0xcccc
|
||||
/* 722DC4 802A1284 3463CCCD */ ori $v1, $v1, 0xcccd
|
||||
/* 722DC8 802A1288 92040191 */ lbu $a0, 0x191($s0)
|
||||
/* 722DCC 802A128C 92020190 */ lbu $v0, 0x190($s0)
|
||||
/* 722DD0 802A1290 00830019 */ multu $a0, $v1
|
||||
/* 722DD4 802A1294 C6000188 */ lwc1 $f0, 0x188($s0)
|
||||
/* 722DD8 802A1298 00021882 */ srl $v1, $v0, 2
|
||||
/* 722DDC 802A129C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 722DE0 802A12A0 44823000 */ mtc1 $v0, $f6
|
||||
/* 722DE4 802A12A4 00000000 */ nop
|
||||
/* 722DE8 802A12A8 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 722DEC 802A12AC 46003182 */ mul.s $f6, $f6, $f0
|
||||
/* 722DF0 802A12B0 00000000 */ nop
|
||||
/* 722DF4 802A12B4 2482FFFE */ addiu $v0, $a0, -2
|
||||
/* 722DF8 802A12B8 44822000 */ mtc1 $v0, $f4
|
||||
/* 722DFC 802A12BC 00000000 */ nop
|
||||
/* 722E00 802A12C0 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 722E04 802A12C4 46002102 */ mul.s $f4, $f4, $f0
|
||||
/* 722E08 802A12C8 00000000 */ nop
|
||||
/* 722E0C 802A12CC C6020148 */ lwc1 $f2, 0x148($s0)
|
||||
/* 722E10 802A12D0 C6160144 */ lwc1 $f22, 0x144($s0)
|
||||
/* 722E14 802A12D4 C618014C */ lwc1 $f24, 0x14c($s0)
|
||||
/* 722E18 802A12D8 00004010 */ mfhi $t0
|
||||
/* 722E1C 802A12DC 000810C2 */ srl $v0, $t0, 3
|
||||
/* 722E20 802A12E0 304200FF */ andi $v0, $v0, 0xff
|
||||
/* 722E24 802A12E4 44820000 */ mtc1 $v0, $f0
|
||||
/* 722E28 802A12E8 00000000 */ nop
|
||||
/* 722E2C 802A12EC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 722E30 802A12F0 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 722E34 802A12F4 44114000 */ mfc1 $s1, $f8
|
||||
/* 722E38 802A12F8 4600220D */ trunc.w.s $f8, $f4
|
||||
/* 722E3C 802A12FC 44124000 */ mfc1 $s2, $f8
|
||||
/* 722E40 802A1300 8E020000 */ lw $v0, ($s0)
|
||||
/* 722E44 802A1304 30428000 */ andi $v0, $v0, 0x8000
|
||||
/* 722E48 802A1308 10400006 */ beqz $v0, .L802A1324
|
||||
/* 722E4C 802A130C 46001500 */ add.s $f20, $f2, $f0
|
||||
/* 722E50 802A1310 00041042 */ srl $v0, $a0, 1
|
||||
/* 722E54 802A1314 44820000 */ mtc1 $v0, $f0
|
||||
/* 722E58 802A1318 00000000 */ nop
|
||||
/* 722E5C 802A131C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 722E60 802A1320 4600A501 */ sub.s $f20, $f20, $f0
|
||||
.L802A1324:
|
||||
/* 722E64 802A1324 0C00A67F */ jal rand_int
|
||||
/* 722E68 802A1328 24040002 */ addiu $a0, $zero, 2
|
||||
/* 722E6C 802A132C 24440003 */ addiu $a0, $v0, 3
|
||||
/* 722E70 802A1330 4405B000 */ mfc1 $a1, $f22
|
||||
/* 722E74 802A1334 4406A000 */ mfc1 $a2, $f20
|
||||
/* 722E78 802A1338 4407C000 */ mfc1 $a3, $f24
|
||||
/* 722E7C 802A133C 44910000 */ mtc1 $s1, $f0
|
||||
/* 722E80 802A1340 00000000 */ nop
|
||||
/* 722E84 802A1344 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 722E88 802A1348 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 722E8C 802A134C 44920000 */ mtc1 $s2, $f0
|
||||
/* 722E90 802A1350 00000000 */ nop
|
||||
/* 722E94 802A1354 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 722E98 802A1358 0C01C334 */ jal func_80070CD0
|
||||
/* 722E9C 802A135C E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 722EA0 802A1360 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A1364:
|
||||
/* 722EA4 802A1364 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 722EA8 802A1368 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 722EAC 802A136C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 722EB0 802A1370 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 722EB4 802A1374 D7B80038 */ ldc1 $f24, 0x38($sp)
|
||||
/* 722EB8 802A1378 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 722EBC 802A137C D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 722EC0 802A1380 03E00008 */ jr $ra
|
||||
/* 722EC4 802A1384 27BD0040 */ addiu $sp, $sp, 0x40
|
43
asm/nonmatchings/code_722B40/func_802A1388_722EC8.s
Normal file
43
asm/nonmatchings/code_722B40/func_802A1388_722EC8.s
Normal file
@ -0,0 +1,43 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1388_722EC8
|
||||
/* 722EC8 802A1388 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 722ECC 802A138C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 722ED0 802A1390 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 722ED4 802A1394 10A0000E */ beqz $a1, .L802A13D0
|
||||
/* 722ED8 802A1398 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 722EDC 802A139C 0C04760B */ jal func_8011D82C
|
||||
/* 722EE0 802A13A0 24040001 */ addiu $a0, $zero, 1
|
||||
/* 722EE4 802A13A4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 722EE8 802A13A8 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 722EEC 802A13AC 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 722EF0 802A13B0 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 722EF4 802A13B4 3C028015 */ lui $v0, %hi(D_801512F0)
|
||||
/* 722EF8 802A13B8 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
|
||||
/* 722EFC 802A13BC 24030001 */ addiu $v1, $zero, 1
|
||||
/* 722F00 802A13C0 0C046F97 */ jal set_background_color_blend
|
||||
/* 722F04 802A13C4 A0430000 */ sb $v1, ($v0)
|
||||
/* 722F08 802A13C8 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 722F0C 802A13CC AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A13D0:
|
||||
/* 722F10 802A13D0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 722F14 802A13D4 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 722F18 802A13D8 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 722F1C 802A13DC 8E030070 */ lw $v1, 0x70($s0)
|
||||
/* 722F20 802A13E0 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 722F24 802A13E4 00431023 */ subu $v0, $v0, $v1
|
||||
/* 722F28 802A13E8 00023880 */ sll $a3, $v0, 2
|
||||
/* 722F2C 802A13EC 00E23821 */ addu $a3, $a3, $v0
|
||||
/* 722F30 802A13F0 00073840 */ sll $a3, $a3, 1
|
||||
/* 722F34 802A13F4 0C046F97 */ jal set_background_color_blend
|
||||
/* 722F38 802A13F8 30E700FE */ andi $a3, $a3, 0xfe
|
||||
/* 722F3C 802A13FC 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 722F40 802A1400 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 722F44 802A1404 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 722F48 802A1408 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 722F4C 802A140C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 722F50 802A1410 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 722F54 802A1414 00021040 */ sll $v0, $v0, 1
|
||||
/* 722F58 802A1418 03E00008 */ jr $ra
|
||||
/* 722F5C 802A141C 27BD0018 */ addiu $sp, $sp, 0x18
|
39
asm/nonmatchings/code_722B40/func_802A1420_722F60.s
Normal file
39
asm/nonmatchings/code_722B40/func_802A1420_722F60.s
Normal file
@ -0,0 +1,39 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1420_722F60
|
||||
/* 722F60 802A1420 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 722F64 802A1424 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 722F68 802A1428 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 722F6C 802A142C 10A00003 */ beqz $a1, .L802A143C
|
||||
/* 722F70 802A1430 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 722F74 802A1434 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 722F78 802A1438 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A143C:
|
||||
/* 722F7C 802A143C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 722F80 802A1440 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 722F84 802A1444 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 722F88 802A1448 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 722F8C 802A144C 00023880 */ sll $a3, $v0, 2
|
||||
/* 722F90 802A1450 00E23821 */ addu $a3, $a3, $v0
|
||||
/* 722F94 802A1454 00073840 */ sll $a3, $a3, 1
|
||||
/* 722F98 802A1458 0C046F97 */ jal set_background_color_blend
|
||||
/* 722F9C 802A145C 30E700FE */ andi $a3, $a3, 0xfe
|
||||
/* 722FA0 802A1460 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 722FA4 802A1464 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 722FA8 802A1468 10400003 */ beqz $v0, .L802A1478
|
||||
/* 722FAC 802A146C AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 722FB0 802A1470 080A8524 */ j .L802A1490
|
||||
/* 722FB4 802A1474 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802A1478:
|
||||
/* 722FB8 802A1478 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 722FBC 802A147C 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 722FC0 802A1480 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 722FC4 802A1484 0C046F97 */ jal set_background_color_blend
|
||||
/* 722FC8 802A1488 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 722FCC 802A148C 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A1490:
|
||||
/* 722FD0 802A1490 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 722FD4 802A1494 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 722FD8 802A1498 03E00008 */ jr $ra
|
||||
/* 722FDC 802A149C 27BD0018 */ addiu $sp, $sp, 0x18
|
125
asm/nonmatchings/code_723780/func_802A1000_723780.s
Normal file
125
asm/nonmatchings/code_723780/func_802A1000_723780.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_723780
|
||||
/* 723780 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 723784 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 723788 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 72378C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 723790 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 723794 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 723798 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 72379C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 7237A0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 7237A4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 7237A8 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 7237AC 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 7237B0 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 7237B4 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 7237B8 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 7237BC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 7237C0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 7237C4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 7237C8 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 7237CC 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 7237D0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 7237D4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 7237D8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 7237DC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 7237E0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 7237E4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 7237E8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 7237EC 802A106C 00000000 */ nop
|
||||
/* 7237F0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 7237F4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 7237F8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 7237FC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 723800 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 723804 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 723808 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 72380C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 723810 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 723814 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 723818 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 72381C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 723820 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 723824 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 723828 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 72382C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 723830 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 723834 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 723838 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 72383C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 723840 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 723844 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 723848 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 72384C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 723850 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 723854 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 723858 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 72385C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 723860 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 723864 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 723868 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 72386C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 723870 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 723874 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 723878 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 72387C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 723880 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 723884 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 723888 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 72388C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 723890 802A1110 0C03A830 */ jal add_coins
|
||||
/* 723894 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 723898 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 72389C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 7238A0 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 7238A4 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 7238A8 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 7238AC 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 7238B0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 7238B4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 7238B8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 7238BC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 7238C0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 7238C4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 7238C8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 7238CC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 7238D0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 7238D4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 7238D8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 7238DC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 7238E0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 7238E4 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 7238E8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 7238EC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 7238F0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 7238F4 802A1174 0C050529 */ jal create_icon
|
||||
/* 7238F8 802A1178 00000000 */ nop
|
||||
/* 7238FC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 723900 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 723904 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 723908 802A1188 3C01802A */ lui $at, %hi(D_802A1AC0)
|
||||
/* 72390C 802A118C AC241AC0 */ sw $a0, %lo(D_802A1AC0)($at)
|
||||
/* 723910 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 723914 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 723918 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 72391C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 723920 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 723924 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 723928 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 72392C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 723930 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 723934 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 723938 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 72393C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 723940 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 723944 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 723948 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72394C 802A11CC 03E00008 */ jr $ra
|
||||
/* 723950 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_723780/func_802A11D4_723954.s
Normal file
31
asm/nonmatchings/code_723780/func_802A11D4_723954.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_723954
|
||||
/* 723954 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 723958 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 72395C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 723960 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 723964 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 723968 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 72396C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 723970 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 723974 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 723978 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 72397C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 723980 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 723984 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 723988 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 72398C 802A120C 00000000 */ nop
|
||||
/* 723990 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 723994 802A1214 00000000 */ nop
|
||||
/* 723998 802A1218 3C04802A */ lui $a0, %hi(D_802A1AC0)
|
||||
/* 72399C 802A121C 8C841AC0 */ lw $a0, %lo(D_802A1AC0)($a0)
|
||||
/* 7239A0 802A1220 0C05123D */ jal free_icon
|
||||
/* 7239A4 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 7239A8 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7239AC 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7239B0 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7239B4 802A1234 03E00008 */ jr $ra
|
||||
/* 7239B8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
52
asm/nonmatchings/code_723780/func_802A123C_7239BC.s
Normal file
52
asm/nonmatchings/code_723780/func_802A123C_7239BC.s
Normal file
@ -0,0 +1,52 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_7239BC
|
||||
/* 7239BC 802A123C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 7239C0 802A1240 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 7239C4 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 7239C8 802A1248 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 7239CC 802A124C AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 7239D0 802A1250 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 7239D4 802A1254 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 7239D8 802A1258 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 7239DC 802A125C 8E050000 */ lw $a1, ($s0)
|
||||
/* 7239E0 802A1260 0C0B1EAF */ jal get_variable
|
||||
/* 7239E4 802A1264 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7239E8 802A1268 8E050000 */ lw $a1, ($s0)
|
||||
/* 7239EC 802A126C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7239F0 802A1270 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7239F4 802A1274 0C0B1EAF */ jal get_variable
|
||||
/* 7239F8 802A1278 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 7239FC 802A127C 8E050000 */ lw $a1, ($s0)
|
||||
/* 723A00 802A1280 26100004 */ addiu $s0, $s0, 4
|
||||
/* 723A04 802A1284 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 723A08 802A1288 0C0B1EAF */ jal get_variable
|
||||
/* 723A0C 802A128C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 723A10 802A1290 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 723A14 802A1294 8E050000 */ lw $a1, ($s0)
|
||||
/* 723A18 802A1298 0C0B1EAF */ jal get_variable
|
||||
/* 723A1C 802A129C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 723A20 802A12A0 44930000 */ mtc1 $s3, $f0
|
||||
/* 723A24 802A12A4 00000000 */ nop
|
||||
/* 723A28 802A12A8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 723A2C 802A12AC 44050000 */ mfc1 $a1, $f0
|
||||
/* 723A30 802A12B0 44920000 */ mtc1 $s2, $f0
|
||||
/* 723A34 802A12B4 00000000 */ nop
|
||||
/* 723A38 802A12B8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 723A3C 802A12BC 44060000 */ mfc1 $a2, $f0
|
||||
/* 723A40 802A12C0 44900000 */ mtc1 $s0, $f0
|
||||
/* 723A44 802A12C4 00000000 */ nop
|
||||
/* 723A48 802A12C8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 723A4C 802A12CC 44070000 */ mfc1 $a3, $f0
|
||||
/* 723A50 802A12D0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 723A54 802A12D4 0C01C424 */ jal func_80071090
|
||||
/* 723A58 802A12D8 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 723A5C 802A12DC 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 723A60 802A12E0 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 723A64 802A12E4 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 723A68 802A12E8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 723A6C 802A12EC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 723A70 802A12F0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 723A74 802A12F4 03E00008 */ jr $ra
|
||||
/* 723A78 802A12F8 27BD0030 */ addiu $sp, $sp, 0x30
|
18
asm/nonmatchings/code_723780/func_802A12FC_723A7C.s
Normal file
18
asm/nonmatchings/code_723780/func_802A12FC_723A7C.s
Normal file
@ -0,0 +1,18 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12FC_723A7C
|
||||
/* 723A7C 802A12FC 3C048011 */ lui $a0, %hi(gPlayerData)
|
||||
/* 723A80 802A1300 2484F290 */ addiu $a0, $a0, %lo(gPlayerData)
|
||||
/* 723A84 802A1304 90820002 */ lbu $v0, 2($a0)
|
||||
/* 723A88 802A1308 80830003 */ lb $v1, 3($a0)
|
||||
/* 723A8C 802A130C 2442000A */ addiu $v0, $v0, 0xa
|
||||
/* 723A90 802A1310 A0820002 */ sb $v0, 2($a0)
|
||||
/* 723A94 802A1314 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 723A98 802A1318 00021603 */ sra $v0, $v0, 0x18
|
||||
/* 723A9C 802A131C 0062182A */ slt $v1, $v1, $v0
|
||||
/* 723AA0 802A1320 90820003 */ lbu $v0, 3($a0)
|
||||
/* 723AA4 802A1324 54600001 */ bnel $v1, $zero, .L802A132C
|
||||
/* 723AA8 802A1328 A0820002 */ sb $v0, 2($a0)
|
||||
.L802A132C:
|
||||
/* 723AAC 802A132C 03E00008 */ jr $ra
|
125
asm/nonmatchings/code_724CE0/func_802A1000_724CE0.s
Normal file
125
asm/nonmatchings/code_724CE0/func_802A1000_724CE0.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_724CE0
|
||||
/* 724CE0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 724CE4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 724CE8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 724CEC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 724CF0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 724CF4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 724CF8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 724CFC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 724D00 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 724D04 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 724D08 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 724D0C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 724D10 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 724D14 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 724D18 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 724D1C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 724D20 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 724D24 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 724D28 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 724D2C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 724D30 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 724D34 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 724D38 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 724D3C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 724D40 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 724D44 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 724D48 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 724D4C 802A106C 00000000 */ nop
|
||||
/* 724D50 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 724D54 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 724D58 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 724D5C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 724D60 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 724D64 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 724D68 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 724D6C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 724D70 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 724D74 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 724D78 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 724D7C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 724D80 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 724D84 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 724D88 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 724D8C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 724D90 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 724D94 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 724D98 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 724D9C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 724DA0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 724DA4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 724DA8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 724DAC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 724DB0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 724DB4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 724DB8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 724DBC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 724DC0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 724DC4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 724DC8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 724DCC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 724DD0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 724DD4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 724DD8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 724DDC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 724DE0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 724DE4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 724DE8 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 724DEC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 724DF0 802A1110 0C03A830 */ jal add_coins
|
||||
/* 724DF4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 724DF8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 724DFC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 724E00 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 724E04 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 724E08 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 724E0C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 724E10 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 724E14 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 724E18 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 724E1C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 724E20 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 724E24 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 724E28 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 724E2C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 724E30 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 724E34 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 724E38 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 724E3C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 724E40 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 724E44 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 724E48 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 724E4C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 724E50 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 724E54 802A1174 0C050529 */ jal create_icon
|
||||
/* 724E58 802A1178 00000000 */ nop
|
||||
/* 724E5C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 724E60 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 724E64 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 724E68 802A1188 3C01802A */ lui $at, %hi(D_802A2280)
|
||||
/* 724E6C 802A118C AC242280 */ sw $a0, %lo(D_802A2280)($at)
|
||||
/* 724E70 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 724E74 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 724E78 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 724E7C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 724E80 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 724E84 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 724E88 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 724E8C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 724E90 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 724E94 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 724E98 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 724E9C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 724EA0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 724EA4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 724EA8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 724EAC 802A11CC 03E00008 */ jr $ra
|
||||
/* 724EB0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_724CE0/func_802A11D4_724EB4.s
Normal file
31
asm/nonmatchings/code_724CE0/func_802A11D4_724EB4.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_724EB4
|
||||
/* 724EB4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 724EB8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 724EBC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 724EC0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 724EC4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 724EC8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 724ECC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 724ED0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 724ED4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 724ED8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 724EDC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 724EE0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 724EE4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 724EE8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 724EEC 802A120C 00000000 */ nop
|
||||
/* 724EF0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 724EF4 802A1214 00000000 */ nop
|
||||
/* 724EF8 802A1218 3C04802A */ lui $a0, %hi(D_802A2280)
|
||||
/* 724EFC 802A121C 8C842280 */ lw $a0, %lo(D_802A2280)($a0)
|
||||
/* 724F00 802A1220 0C05123D */ jal free_icon
|
||||
/* 724F04 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 724F08 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 724F0C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 724F10 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 724F14 802A1234 03E00008 */ jr $ra
|
||||
/* 724F18 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
48
asm/nonmatchings/code_724CE0/func_802A123C_724F1C.s
Normal file
48
asm/nonmatchings/code_724CE0/func_802A123C_724F1C.s
Normal file
@ -0,0 +1,48 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_724F1C
|
||||
/* 724F1C 802A123C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 724F20 802A1240 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 724F24 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 724F28 802A1248 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 724F2C 802A124C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 724F30 802A1250 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 724F34 802A1254 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 724F38 802A1258 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 724F3C 802A125C 8E050000 */ lw $a1, ($s0)
|
||||
/* 724F40 802A1260 0C0B1EAF */ jal get_variable
|
||||
/* 724F44 802A1264 26100004 */ addiu $s0, $s0, 4
|
||||
/* 724F48 802A1268 8E050000 */ lw $a1, ($s0)
|
||||
/* 724F4C 802A126C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 724F50 802A1270 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 724F54 802A1274 0C0B1EAF */ jal get_variable
|
||||
/* 724F58 802A1278 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 724F5C 802A127C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 724F60 802A1280 8E050000 */ lw $a1, ($s0)
|
||||
/* 724F64 802A1284 0C0B1EAF */ jal get_variable
|
||||
/* 724F68 802A1288 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 724F6C 802A128C 8E2400BC */ lw $a0, 0xbc($s1)
|
||||
/* 724F70 802A1290 0C04C3D6 */ jal get_item_entity
|
||||
/* 724F74 802A1294 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 724F78 802A1298 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 724F7C 802A129C 44930000 */ mtc1 $s3, $f0
|
||||
/* 724F80 802A12A0 00000000 */ nop
|
||||
/* 724F84 802A12A4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 724F88 802A12A8 E4600008 */ swc1 $f0, 8($v1)
|
||||
/* 724F8C 802A12AC 44920000 */ mtc1 $s2, $f0
|
||||
/* 724F90 802A12B0 00000000 */ nop
|
||||
/* 724F94 802A12B4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 724F98 802A12B8 E460000C */ swc1 $f0, 0xc($v1)
|
||||
/* 724F9C 802A12BC 44900000 */ mtc1 $s0, $f0
|
||||
/* 724FA0 802A12C0 00000000 */ nop
|
||||
/* 724FA4 802A12C4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 724FA8 802A12C8 E4600010 */ swc1 $f0, 0x10($v1)
|
||||
/* 724FAC 802A12CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 724FB0 802A12D0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 724FB4 802A12D4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 724FB8 802A12D8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 724FBC 802A12DC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 724FC0 802A12E0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 724FC4 802A12E4 03E00008 */ jr $ra
|
||||
/* 724FC8 802A12E8 27BD0028 */ addiu $sp, $sp, 0x28
|
43
asm/nonmatchings/code_724CE0/func_802A12EC_724FCC.s
Normal file
43
asm/nonmatchings/code_724CE0/func_802A12EC_724FCC.s
Normal file
@ -0,0 +1,43 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12EC_724FCC
|
||||
/* 724FCC 802A12EC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 724FD0 802A12F0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 724FD4 802A12F4 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 724FD8 802A12F8 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 724FDC 802A12FC AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 724FE0 802A1300 82020217 */ lb $v0, 0x217($s0)
|
||||
/* 724FE4 802A1304 8C85000C */ lw $a1, 0xc($a0)
|
||||
/* 724FE8 802A1308 10400017 */ beqz $v0, .L802A1368
|
||||
/* 724FEC 802A130C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 724FF0 802A1310 8CA50000 */ lw $a1, ($a1)
|
||||
/* 724FF4 802A1314 0C0B1EAF */ jal get_variable
|
||||
/* 724FF8 802A1318 00000000 */ nop
|
||||
/* 724FFC 802A131C 92030217 */ lbu $v1, 0x217($s0)
|
||||
/* 725000 802A1320 00621823 */ subu $v1, $v1, $v0
|
||||
/* 725004 802A1324 A2030217 */ sb $v1, 0x217($s0)
|
||||
/* 725008 802A1328 00031E00 */ sll $v1, $v1, 0x18
|
||||
/* 72500C 802A132C 04620001 */ bltzl $v1, .L802A1334
|
||||
/* 725010 802A1330 A2000217 */ sb $zero, 0x217($s0)
|
||||
.L802A1334:
|
||||
/* 725014 802A1334 82030217 */ lb $v1, 0x217($s0)
|
||||
/* 725018 802A1338 18600005 */ blez $v1, .L802A1350
|
||||
/* 72501C 802A133C 24040034 */ addiu $a0, $zero, 0x34
|
||||
/* 725020 802A1340 8E020440 */ lw $v0, 0x440($s0)
|
||||
/* 725024 802A1344 8C42000C */ lw $v0, 0xc($v0)
|
||||
/* 725028 802A1348 080A84D9 */ j .L802A1364
|
||||
/* 72502C 802A134C AC43003C */ sw $v1, 0x3c($v0)
|
||||
.L802A1350:
|
||||
/* 725030 802A1350 0C09F7A0 */ jal dispatch_event_partner
|
||||
/* 725034 802A1354 A2000216 */ sb $zero, 0x216($s0)
|
||||
/* 725038 802A1358 8E020440 */ lw $v0, 0x440($s0)
|
||||
/* 72503C 802A135C 8C42000C */ lw $v0, 0xc($v0)
|
||||
/* 725040 802A1360 AC40003C */ sw $zero, 0x3c($v0)
|
||||
.L802A1364:
|
||||
/* 725044 802A1364 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A1368:
|
||||
/* 725048 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 72504C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 725050 802A1370 03E00008 */ jr $ra
|
||||
/* 725054 802A1374 27BD0018 */ addiu $sp, $sp, 0x18
|
47
asm/nonmatchings/code_724CE0/func_802A1378_725058.s
Normal file
47
asm/nonmatchings/code_724CE0/func_802A1378_725058.s
Normal file
@ -0,0 +1,47 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1378_725058
|
||||
/* 725058 802A1378 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 72505C 802A137C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 725060 802A1380 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 725064 802A1384 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 725068 802A1388 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 72506C 802A138C 0C0B1EAF */ jal get_variable
|
||||
/* 725070 802A1390 8C450000 */ lw $a1, ($v0)
|
||||
/* 725074 802A1394 0C09A75B */ jal get_actor
|
||||
/* 725078 802A1398 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 72507C 802A139C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 725080 802A13A0 96020192 */ lhu $v0, 0x192($s0)
|
||||
/* 725084 802A13A4 82030210 */ lb $v1, 0x210($s0)
|
||||
/* 725088 802A13A8 10600005 */ beqz $v1, .L802A13C0
|
||||
/* 72508C 802A13AC 30510700 */ andi $s1, $v0, 0x700
|
||||
/* 725090 802A13B0 86040436 */ lh $a0, 0x436($s0)
|
||||
/* 725094 802A13B4 A2000211 */ sb $zero, 0x211($s0)
|
||||
/* 725098 802A13B8 0C011E26 */ jal func_80047898
|
||||
/* 72509C 802A13BC A2000210 */ sb $zero, 0x210($s0)
|
||||
.L802A13C0:
|
||||
/* 7250A0 802A13C0 82020216 */ lb $v0, 0x216($s0)
|
||||
/* 7250A4 802A13C4 1040000C */ beqz $v0, .L802A13F8
|
||||
/* 7250A8 802A13C8 00000000 */ nop
|
||||
/* 7250AC 802A13CC A2000217 */ sb $zero, 0x217($s0)
|
||||
/* 7250B0 802A13D0 12200006 */ beqz $s1, .L802A13EC
|
||||
/* 7250B4 802A13D4 A2000216 */ sb $zero, 0x216($s0)
|
||||
/* 7250B8 802A13D8 24020100 */ addiu $v0, $zero, 0x100
|
||||
/* 7250BC 802A13DC 16220003 */ bne $s1, $v0, .L802A13EC
|
||||
/* 7250C0 802A13E0 00000000 */ nop
|
||||
/* 7250C4 802A13E4 0C09F7A0 */ jal dispatch_event_partner
|
||||
/* 7250C8 802A13E8 24040031 */ addiu $a0, $zero, 0x31
|
||||
.L802A13EC:
|
||||
/* 7250CC 802A13EC 8E020440 */ lw $v0, 0x440($s0)
|
||||
/* 7250D0 802A13F0 8C42000C */ lw $v0, 0xc($v0)
|
||||
/* 7250D4 802A13F4 AC40003C */ sw $zero, 0x3c($v0)
|
||||
.L802A13F8:
|
||||
/* 7250D8 802A13F8 0C099DDF */ jal func_8026777C
|
||||
/* 7250DC 802A13FC 00000000 */ nop
|
||||
/* 7250E0 802A1400 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 7250E4 802A1404 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 7250E8 802A1408 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7250EC 802A140C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7250F0 802A1410 03E00008 */ jr $ra
|
||||
/* 7250F4 802A1414 27BD0020 */ addiu $sp, $sp, 0x20
|
52
asm/nonmatchings/code_724CE0/func_802A1418_7250F8.s
Normal file
52
asm/nonmatchings/code_724CE0/func_802A1418_7250F8.s
Normal file
@ -0,0 +1,52 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1418_7250F8
|
||||
/* 7250F8 802A1418 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 7250FC 802A141C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 725100 802A1420 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 725104 802A1424 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 725108 802A1428 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 72510C 802A142C AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 725110 802A1430 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 725114 802A1434 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 725118 802A1438 8E050000 */ lw $a1, ($s0)
|
||||
/* 72511C 802A143C 0C0B1EAF */ jal get_variable
|
||||
/* 725120 802A1440 26100004 */ addiu $s0, $s0, 4
|
||||
/* 725124 802A1444 8E050000 */ lw $a1, ($s0)
|
||||
/* 725128 802A1448 26100004 */ addiu $s0, $s0, 4
|
||||
/* 72512C 802A144C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 725130 802A1450 0C0B1EAF */ jal get_variable
|
||||
/* 725134 802A1454 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 725138 802A1458 8E050000 */ lw $a1, ($s0)
|
||||
/* 72513C 802A145C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 725140 802A1460 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 725144 802A1464 0C0B1EAF */ jal get_variable
|
||||
/* 725148 802A1468 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 72514C 802A146C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 725150 802A1470 8E050000 */ lw $a1, ($s0)
|
||||
/* 725154 802A1474 0C0B1EAF */ jal get_variable
|
||||
/* 725158 802A1478 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 72515C 802A147C 44930000 */ mtc1 $s3, $f0
|
||||
/* 725160 802A1480 00000000 */ nop
|
||||
/* 725164 802A1484 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 725168 802A1488 44050000 */ mfc1 $a1, $f0
|
||||
/* 72516C 802A148C 44920000 */ mtc1 $s2, $f0
|
||||
/* 725170 802A1490 00000000 */ nop
|
||||
/* 725174 802A1494 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 725178 802A1498 44060000 */ mfc1 $a2, $f0
|
||||
/* 72517C 802A149C 44900000 */ mtc1 $s0, $f0
|
||||
/* 725180 802A14A0 00000000 */ nop
|
||||
/* 725184 802A14A4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 725188 802A14A8 44070000 */ mfc1 $a3, $f0
|
||||
/* 72518C 802A14AC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 725190 802A14B0 0C01C424 */ jal func_80071090
|
||||
/* 725194 802A14B4 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 725198 802A14B8 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 72519C 802A14BC 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 7251A0 802A14C0 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 7251A4 802A14C4 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 7251A8 802A14C8 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 7251AC 802A14CC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7251B0 802A14D0 03E00008 */ jr $ra
|
||||
/* 7251B4 802A14D4 27BD0030 */ addiu $sp, $sp, 0x30
|
27
asm/nonmatchings/code_724CE0/func_802A14D8_7251B8.s
Normal file
27
asm/nonmatchings/code_724CE0/func_802A14D8_7251B8.s
Normal file
@ -0,0 +1,27 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A14D8_7251B8
|
||||
/* 7251B8 802A14D8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7251BC 802A14DC AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7251C0 802A14E0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7251C4 802A14E4 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 7251C8 802A14E8 0C0B1EAF */ jal get_variable
|
||||
/* 7251CC 802A14EC 8C450000 */ lw $a1, ($v0)
|
||||
/* 7251D0 802A14F0 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||
/* 7251D4 802A14F4 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||
/* 7251D8 802A14F8 80640005 */ lb $a0, 5($v1)
|
||||
/* 7251DC 802A14FC 80650006 */ lb $a1, 6($v1)
|
||||
/* 7251E0 802A1500 00822021 */ addu $a0, $a0, $v0
|
||||
/* 7251E4 802A1504 00A4102A */ slt $v0, $a1, $a0
|
||||
/* 7251E8 802A1508 10400002 */ beqz $v0, .L802A1514
|
||||
/* 7251EC 802A150C 0060802D */ daddu $s0, $v1, $zero
|
||||
/* 7251F0 802A1510 00A0202D */ daddu $a0, $a1, $zero
|
||||
.L802A1514:
|
||||
/* 7251F4 802A1514 A2040005 */ sb $a0, 5($s0)
|
||||
/* 7251F8 802A1518 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7251FC 802A151C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 725200 802A1520 24020002 */ addiu $v0, $zero, 2
|
||||
/* 725204 802A1524 03E00008 */ jr $ra
|
||||
/* 725208 802A1528 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 72520C 802A152C 00000000 */ nop
|
125
asm/nonmatchings/code_725F60/func_802A1000_725F60.s
Normal file
125
asm/nonmatchings/code_725F60/func_802A1000_725F60.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_725F60
|
||||
/* 725F60 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 725F64 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 725F68 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 725F6C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 725F70 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 725F74 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 725F78 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 725F7C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 725F80 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 725F84 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 725F88 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 725F8C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 725F90 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 725F94 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 725F98 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 725F9C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 725FA0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 725FA4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 725FA8 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 725FAC 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 725FB0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 725FB4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 725FB8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 725FBC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 725FC0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 725FC4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 725FC8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 725FCC 802A106C 00000000 */ nop
|
||||
/* 725FD0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 725FD4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 725FD8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 725FDC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 725FE0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 725FE4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 725FE8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 725FEC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 725FF0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 725FF4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 725FF8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 725FFC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 726000 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 726004 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 726008 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 72600C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 726010 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 726014 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 726018 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 72601C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 726020 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 726024 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 726028 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 72602C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 726030 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 726034 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 726038 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 72603C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 726040 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 726044 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 726048 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 72604C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 726050 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 726054 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 726058 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 72605C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 726060 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 726064 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 726068 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 72606C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 726070 802A1110 0C03A830 */ jal add_coins
|
||||
/* 726074 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 726078 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 72607C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 726080 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 726084 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 726088 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 72608C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 726090 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 726094 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 726098 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 72609C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 7260A0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 7260A4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 7260A8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 7260AC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 7260B0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 7260B4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 7260B8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 7260BC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 7260C0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 7260C4 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 7260C8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 7260CC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 7260D0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 7260D4 802A1174 0C050529 */ jal create_icon
|
||||
/* 7260D8 802A1178 00000000 */ nop
|
||||
/* 7260DC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 7260E0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 7260E4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 7260E8 802A1188 3C01802A */ lui $at, %hi(D_802A1E70)
|
||||
/* 7260EC 802A118C AC241E70 */ sw $a0, %lo(D_802A1E70)($at)
|
||||
/* 7260F0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 7260F4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 7260F8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 7260FC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 726100 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 726104 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 726108 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 72610C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 726110 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 726114 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 726118 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 72611C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 726120 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 726124 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 726128 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72612C 802A11CC 03E00008 */ jr $ra
|
||||
/* 726130 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_725F60/func_802A11D4_726134.s
Normal file
31
asm/nonmatchings/code_725F60/func_802A11D4_726134.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_726134
|
||||
/* 726134 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 726138 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 72613C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 726140 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 726144 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 726148 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 72614C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 726150 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 726154 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 726158 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 72615C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 726160 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 726164 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 726168 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 72616C 802A120C 00000000 */ nop
|
||||
/* 726170 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 726174 802A1214 00000000 */ nop
|
||||
/* 726178 802A1218 3C04802A */ lui $a0, %hi(D_802A1E70)
|
||||
/* 72617C 802A121C 8C841E70 */ lw $a0, %lo(D_802A1E70)($a0)
|
||||
/* 726180 802A1220 0C05123D */ jal free_icon
|
||||
/* 726184 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 726188 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 72618C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 726190 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 726194 802A1234 03E00008 */ jr $ra
|
||||
/* 726198 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
42
asm/nonmatchings/code_725F60/func_802A123C_72619C.s
Normal file
42
asm/nonmatchings/code_725F60/func_802A123C_72619C.s
Normal file
@ -0,0 +1,42 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_72619C
|
||||
/* 72619C 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7261A0 802A1240 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7261A4 802A1244 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
|
||||
/* 7261A8 802A1248 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
|
||||
/* 7261AC 802A124C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7261B0 802A1250 82020210 */ lb $v0, 0x210($s0)
|
||||
/* 7261B4 802A1254 10400005 */ beqz $v0, .L802A126C
|
||||
/* 7261B8 802A1258 00000000 */ nop
|
||||
/* 7261BC 802A125C 86040436 */ lh $a0, 0x436($s0)
|
||||
/* 7261C0 802A1260 A2000211 */ sb $zero, 0x211($s0)
|
||||
/* 7261C4 802A1264 0C011E26 */ jal func_80047898
|
||||
/* 7261C8 802A1268 A2000210 */ sb $zero, 0x210($s0)
|
||||
.L802A126C:
|
||||
/* 7261CC 802A126C 82020212 */ lb $v0, 0x212($s0)
|
||||
/* 7261D0 802A1270 10400005 */ beqz $v0, .L802A1288
|
||||
/* 7261D4 802A1274 00000000 */ nop
|
||||
/* 7261D8 802A1278 86040436 */ lh $a0, 0x436($s0)
|
||||
/* 7261DC 802A127C A2000213 */ sb $zero, 0x213($s0)
|
||||
/* 7261E0 802A1280 0C011E68 */ jal func_800479A0
|
||||
/* 7261E4 802A1284 A2000212 */ sb $zero, 0x212($s0)
|
||||
.L802A1288:
|
||||
/* 7261E8 802A1288 82020214 */ lb $v0, 0x214($s0)
|
||||
/* 7261EC 802A128C 10400003 */ beqz $v0, .L802A129C
|
||||
/* 7261F0 802A1290 00000000 */ nop
|
||||
/* 7261F4 802A1294 A2000215 */ sb $zero, 0x215($s0)
|
||||
/* 7261F8 802A1298 A2000214 */ sb $zero, 0x214($s0)
|
||||
.L802A129C:
|
||||
/* 7261FC 802A129C 82020218 */ lb $v0, 0x218($s0)
|
||||
/* 726200 802A12A0 10400003 */ beqz $v0, .L802A12B0
|
||||
/* 726204 802A12A4 00000000 */ nop
|
||||
/* 726208 802A12A8 A2000219 */ sb $zero, 0x219($s0)
|
||||
/* 72620C 802A12AC A2000218 */ sb $zero, 0x218($s0)
|
||||
.L802A12B0:
|
||||
/* 726210 802A12B0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 726214 802A12B4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 726218 802A12B8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72621C 802A12BC 03E00008 */ jr $ra
|
||||
/* 726220 802A12C0 27BD0018 */ addiu $sp, $sp, 0x18
|
11
asm/nonmatchings/code_725F60/func_802A12C4_726224.s
Normal file
11
asm/nonmatchings/code_725F60/func_802A12C4_726224.s
Normal file
@ -0,0 +1,11 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12C4_726224
|
||||
/* 726224 802A12C4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 726228 802A12C8 3C01800E */ lui $at, %hi(gBattleStatus+0x8B)
|
||||
/* 72622C 802A12CC A022C0FB */ sb $v0, %lo(gBattleStatus+0x8B)($at)
|
||||
/* 726230 802A12D0 03E00008 */ jr $ra
|
||||
/* 726234 802A12D4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 726238 802A12D8 00000000 */ nop
|
||||
/* 72623C 802A12DC 00000000 */ nop
|
125
asm/nonmatchings/code_726DD0/func_802A1000_726DD0.s
Normal file
125
asm/nonmatchings/code_726DD0/func_802A1000_726DD0.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_726DD0
|
||||
/* 726DD0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 726DD4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 726DD8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 726DDC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 726DE0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 726DE4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 726DE8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 726DEC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 726DF0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 726DF4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 726DF8 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 726DFC 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 726E00 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 726E04 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 726E08 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 726E0C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 726E10 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 726E14 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 726E18 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 726E1C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 726E20 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 726E24 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 726E28 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 726E2C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 726E30 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 726E34 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 726E38 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 726E3C 802A106C 00000000 */ nop
|
||||
/* 726E40 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 726E44 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 726E48 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 726E4C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 726E50 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 726E54 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 726E58 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 726E5C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 726E60 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 726E64 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 726E68 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 726E6C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 726E70 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 726E74 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 726E78 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 726E7C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 726E80 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 726E84 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 726E88 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 726E8C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 726E90 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 726E94 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 726E98 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 726E9C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 726EA0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 726EA4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 726EA8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 726EAC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 726EB0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 726EB4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 726EB8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 726EBC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 726EC0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 726EC4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 726EC8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 726ECC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 726ED0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 726ED4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 726ED8 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 726EDC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 726EE0 802A1110 0C03A830 */ jal add_coins
|
||||
/* 726EE4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 726EE8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 726EEC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 726EF0 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 726EF4 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 726EF8 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 726EFC 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 726F00 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 726F04 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 726F08 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 726F0C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 726F10 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 726F14 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 726F18 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 726F1C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 726F20 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 726F24 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 726F28 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 726F2C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 726F30 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 726F34 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 726F38 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 726F3C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 726F40 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 726F44 802A1174 0C050529 */ jal create_icon
|
||||
/* 726F48 802A1178 00000000 */ nop
|
||||
/* 726F4C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 726F50 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 726F54 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 726F58 802A1188 3C01802A */ lui $at, %hi(D_802A1B40)
|
||||
/* 726F5C 802A118C AC241B40 */ sw $a0, %lo(D_802A1B40)($at)
|
||||
/* 726F60 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 726F64 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 726F68 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 726F6C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 726F70 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 726F74 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 726F78 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 726F7C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 726F80 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 726F84 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 726F88 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 726F8C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 726F90 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 726F94 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 726F98 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 726F9C 802A11CC 03E00008 */ jr $ra
|
||||
/* 726FA0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_726DD0/func_802A11D4_726FA4.s
Normal file
31
asm/nonmatchings/code_726DD0/func_802A11D4_726FA4.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_726FA4
|
||||
/* 726FA4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 726FA8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 726FAC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 726FB0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 726FB4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 726FB8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 726FBC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 726FC0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 726FC4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 726FC8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 726FCC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 726FD0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 726FD4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 726FD8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 726FDC 802A120C 00000000 */ nop
|
||||
/* 726FE0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 726FE4 802A1214 00000000 */ nop
|
||||
/* 726FE8 802A1218 3C04802A */ lui $a0, %hi(D_802A1B40)
|
||||
/* 726FEC 802A121C 8C841B40 */ lw $a0, %lo(D_802A1B40)($a0)
|
||||
/* 726FF0 802A1220 0C05123D */ jal free_icon
|
||||
/* 726FF4 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 726FF8 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 726FFC 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 727000 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 727004 802A1234 03E00008 */ jr $ra
|
||||
/* 727008 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
43
asm/nonmatchings/code_726DD0/func_802A123C_72700C.s
Normal file
43
asm/nonmatchings/code_726DD0/func_802A123C_72700C.s
Normal file
@ -0,0 +1,43 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_72700C
|
||||
/* 72700C 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 727010 802A1240 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 727014 802A1244 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 727018 802A1248 10A0000E */ beqz $a1, .L802A1284
|
||||
/* 72701C 802A124C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 727020 802A1250 0C04760B */ jal func_8011D82C
|
||||
/* 727024 802A1254 24040001 */ addiu $a0, $zero, 1
|
||||
/* 727028 802A1258 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 72702C 802A125C 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 727030 802A1260 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 727034 802A1264 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 727038 802A1268 3C028015 */ lui $v0, %hi(D_801512F0)
|
||||
/* 72703C 802A126C 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
|
||||
/* 727040 802A1270 24030001 */ addiu $v1, $zero, 1
|
||||
/* 727044 802A1274 0C046F97 */ jal set_background_color_blend
|
||||
/* 727048 802A1278 A0430000 */ sb $v1, ($v0)
|
||||
/* 72704C 802A127C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 727050 802A1280 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A1284:
|
||||
/* 727054 802A1284 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 727058 802A1288 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 72705C 802A128C 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 727060 802A1290 8E030070 */ lw $v1, 0x70($s0)
|
||||
/* 727064 802A1294 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 727068 802A1298 00431023 */ subu $v0, $v0, $v1
|
||||
/* 72706C 802A129C 00023880 */ sll $a3, $v0, 2
|
||||
/* 727070 802A12A0 00E23821 */ addu $a3, $a3, $v0
|
||||
/* 727074 802A12A4 00073840 */ sll $a3, $a3, 1
|
||||
/* 727078 802A12A8 0C046F97 */ jal set_background_color_blend
|
||||
/* 72707C 802A12AC 30E700FE */ andi $a3, $a3, 0xfe
|
||||
/* 727080 802A12B0 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 727084 802A12B4 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 727088 802A12B8 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 72708C 802A12BC 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 727090 802A12C0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 727094 802A12C4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 727098 802A12C8 00021040 */ sll $v0, $v0, 1
|
||||
/* 72709C 802A12CC 03E00008 */ jr $ra
|
||||
/* 7270A0 802A12D0 27BD0018 */ addiu $sp, $sp, 0x18
|
38
asm/nonmatchings/code_726DD0/func_802A12D4_7270A4.s
Normal file
38
asm/nonmatchings/code_726DD0/func_802A12D4_7270A4.s
Normal file
@ -0,0 +1,38 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12D4_7270A4
|
||||
/* 7270A4 802A12D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7270A8 802A12D8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7270AC 802A12DC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 7270B0 802A12E0 10A00003 */ beqz $a1, .L802A12F0
|
||||
/* 7270B4 802A12E4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7270B8 802A12E8 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 7270BC 802A12EC AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A12F0:
|
||||
/* 7270C0 802A12F0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 7270C4 802A12F4 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 7270C8 802A12F8 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 7270CC 802A12FC 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 7270D0 802A1300 00023880 */ sll $a3, $v0, 2
|
||||
/* 7270D4 802A1304 00E23821 */ addu $a3, $a3, $v0
|
||||
/* 7270D8 802A1308 00073840 */ sll $a3, $a3, 1
|
||||
/* 7270DC 802A130C 0C046F97 */ jal set_background_color_blend
|
||||
/* 7270E0 802A1310 30E700FE */ andi $a3, $a3, 0xfe
|
||||
/* 7270E4 802A1314 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 7270E8 802A1318 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 7270EC 802A131C 10400003 */ beqz $v0, .L802A132C
|
||||
/* 7270F0 802A1320 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 7270F4 802A1324 080A84D1 */ j .L802A1344
|
||||
/* 7270F8 802A1328 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802A132C:
|
||||
/* 7270FC 802A132C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 727100 802A1330 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 727104 802A1334 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 727108 802A1338 0C046F97 */ jal set_background_color_blend
|
||||
/* 72710C 802A133C 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 727110 802A1340 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A1344:
|
||||
/* 727114 802A1344 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 727118 802A1348 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 72711C 802A134C 03E00008 */ jr $ra
|
125
asm/nonmatchings/code_727910/func_802A1000_727910.s
Normal file
125
asm/nonmatchings/code_727910/func_802A1000_727910.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_727910
|
||||
/* 727910 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 727914 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 727918 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 72791C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 727920 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 727924 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 727928 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 72792C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 727930 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 727934 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 727938 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 72793C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 727940 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 727944 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 727948 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 72794C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 727950 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 727954 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 727958 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 72795C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 727960 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 727964 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 727968 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 72796C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 727970 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 727974 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 727978 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 72797C 802A106C 00000000 */ nop
|
||||
/* 727980 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 727984 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 727988 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 72798C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 727990 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 727994 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 727998 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 72799C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 7279A0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 7279A4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 7279A8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 7279AC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 7279B0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 7279B4 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 7279B8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 7279BC 802A10AC 00004010 */ mfhi $t0
|
||||
/* 7279C0 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 7279C4 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 7279C8 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 7279CC 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 7279D0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 7279D4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 7279D8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 7279DC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 7279E0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 7279E4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 7279E8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 7279EC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 7279F0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 7279F4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 7279F8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 7279FC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 727A00 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 727A04 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 727A08 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 727A0C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 727A10 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 727A14 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 727A18 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 727A1C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 727A20 802A1110 0C03A830 */ jal add_coins
|
||||
/* 727A24 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 727A28 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 727A2C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 727A30 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 727A34 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 727A38 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 727A3C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 727A40 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 727A44 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 727A48 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 727A4C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 727A50 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 727A54 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 727A58 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 727A5C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 727A60 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 727A64 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 727A68 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 727A6C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 727A70 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 727A74 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 727A78 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 727A7C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 727A80 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 727A84 802A1174 0C050529 */ jal create_icon
|
||||
/* 727A88 802A1178 00000000 */ nop
|
||||
/* 727A8C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 727A90 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 727A94 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 727A98 802A1188 3C01802A */ lui $at, %hi(D_802A1CD4)
|
||||
/* 727A9C 802A118C AC241CD4 */ sw $a0, %lo(D_802A1CD4)($at)
|
||||
/* 727AA0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 727AA4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 727AA8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 727AAC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 727AB0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 727AB4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 727AB8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 727ABC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 727AC0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 727AC4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 727AC8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 727ACC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 727AD0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 727AD4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 727AD8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 727ADC 802A11CC 03E00008 */ jr $ra
|
||||
/* 727AE0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_727910/func_802A11D4_727AE4.s
Normal file
31
asm/nonmatchings/code_727910/func_802A11D4_727AE4.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_727AE4
|
||||
/* 727AE4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 727AE8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 727AEC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 727AF0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 727AF4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 727AF8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 727AFC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 727B00 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 727B04 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 727B08 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 727B0C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 727B10 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 727B14 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 727B18 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 727B1C 802A120C 00000000 */ nop
|
||||
/* 727B20 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 727B24 802A1214 00000000 */ nop
|
||||
/* 727B28 802A1218 3C04802A */ lui $a0, %hi(D_802A1CD4)
|
||||
/* 727B2C 802A121C 8C841CD4 */ lw $a0, %lo(D_802A1CD4)($a0)
|
||||
/* 727B30 802A1220 0C05123D */ jal free_icon
|
||||
/* 727B34 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 727B38 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 727B3C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 727B40 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 727B44 802A1234 03E00008 */ jr $ra
|
||||
/* 727B48 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
17
asm/nonmatchings/code_727910/func_802A123C_727B4C.s
Normal file
17
asm/nonmatchings/code_727910/func_802A123C_727B4C.s
Normal file
@ -0,0 +1,17 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_727B4C
|
||||
/* 727B4C 802A123C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 727B50 802A1240 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 727B54 802A1244 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 727B58 802A1248 24060140 */ addiu $a2, $zero, 0x140
|
||||
/* 727B5C 802A124C 3C014320 */ lui $at, 0x4320
|
||||
/* 727B60 802A1250 44810000 */ mtc1 $at, $f0
|
||||
/* 727B64 802A1254 240700F0 */ addiu $a3, $zero, 0xf0
|
||||
/* 727B68 802A1258 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 727B6C 802A125C 0C04E362 */ jal func_80138D88
|
||||
/* 727B70 802A1260 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 727B74 802A1264 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 727B78 802A1268 03E00008 */ jr $ra
|
||||
/* 727B7C 802A126C 27BD0020 */ addiu $sp, $sp, 0x20
|
96
asm/nonmatchings/code_727910/func_802A1270_727B80.s
Normal file
96
asm/nonmatchings/code_727910/func_802A1270_727B80.s
Normal file
@ -0,0 +1,96 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1270_727B80
|
||||
/* 727B80 802A1270 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 727B84 802A1274 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 727B88 802A1278 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 727B8C 802A127C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 727B90 802A1280 3C11800B */ lui $s1, %hi(D_800B22D8)
|
||||
/* 727B94 802A1284 263122D8 */ addiu $s1, $s1, %lo(D_800B22D8)
|
||||
/* 727B98 802A1288 10A00002 */ beqz $a1, .L802A1294
|
||||
/* 727B9C 802A128C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 727BA0 802A1290 AE000070 */ sw $zero, 0x70($s0)
|
||||
.L802A1294:
|
||||
/* 727BA4 802A1294 8E030070 */ lw $v1, 0x70($s0)
|
||||
/* 727BA8 802A1298 10600005 */ beqz $v1, .L802A12B0
|
||||
/* 727BAC 802A129C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 727BB0 802A12A0 10620010 */ beq $v1, $v0, .L802A12E4
|
||||
/* 727BB4 802A12A4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 727BB8 802A12A8 080A84EF */ j .L802A13BC
|
||||
/* 727BBC 802A12AC 00000000 */ nop
|
||||
.L802A12B0:
|
||||
/* 727BC0 802A12B0 24042033 */ addiu $a0, $zero, 0x2033
|
||||
/* 727BC4 802A12B4 AE000074 */ sw $zero, 0x74($s0)
|
||||
/* 727BC8 802A12B8 0C05272D */ jal play_sound
|
||||
/* 727BCC 802A12BC AE000078 */ sw $zero, 0x78($s0)
|
||||
/* 727BD0 802A12C0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 727BD4 802A12C4 3C05802A */ lui $a1, %hi(func_802A123C_727B4C)
|
||||
/* 727BD8 802A12C8 24A5123C */ addiu $a1, $a1, %lo(func_802A123C_727B4C)
|
||||
/* 727BDC 802A12CC 0C048C8F */ jal bind_dynamic_entity_7
|
||||
/* 727BE0 802A12D0 A620001C */ sh $zero, 0x1c($s1)
|
||||
/* 727BE4 802A12D4 3C01802A */ lui $at, %hi(D_802A1CD0)
|
||||
/* 727BE8 802A12D8 AC221CD0 */ sw $v0, %lo(D_802A1CD0)($at)
|
||||
/* 727BEC 802A12DC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 727BF0 802A12E0 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A12E4:
|
||||
/* 727BF4 802A12E4 96220000 */ lhu $v0, ($s1)
|
||||
/* 727BF8 802A12E8 34420008 */ ori $v0, $v0, 8
|
||||
/* 727BFC 802A12EC A6220000 */ sh $v0, ($s1)
|
||||
/* 727C00 802A12F0 C6000074 */ lwc1 $f0, 0x74($s0)
|
||||
/* 727C04 802A12F4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 727C08 802A12F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 727C0C 802A12FC 44800000 */ mtc1 $zero, $f0
|
||||
/* 727C10 802A1300 3C013F80 */ lui $at, 0x3f80
|
||||
/* 727C14 802A1304 44811000 */ mtc1 $at, $f2
|
||||
/* 727C18 802A1308 44060000 */ mfc1 $a2, $f0
|
||||
/* 727C1C 802A130C 26240194 */ addiu $a0, $s1, 0x194
|
||||
/* 727C20 802A1310 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 727C24 802A1314 0C019EC8 */ jal guRotateF
|
||||
/* 727C28 802A1318 00C0382D */ daddu $a3, $a2, $zero
|
||||
/* 727C2C 802A131C 8E020078 */ lw $v0, 0x78($s0)
|
||||
/* 727C30 802A1320 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 727C34 802A1324 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 727C38 802A1328 44810000 */ mtc1 $at, $f0
|
||||
/* 727C3C 802A132C 2442005A */ addiu $v0, $v0, 0x5a
|
||||
/* 727C40 802A1330 44826000 */ mtc1 $v0, $f12
|
||||
/* 727C44 802A1334 00000000 */ nop
|
||||
/* 727C48 802A1338 46806320 */ cvt.s.w $f12, $f12
|
||||
/* 727C4C 802A133C 46006302 */ mul.s $f12, $f12, $f0
|
||||
/* 727C50 802A1340 00000000 */ nop
|
||||
/* 727C54 802A1344 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 727C58 802A1348 44810000 */ mtc1 $at, $f0
|
||||
/* 727C5C 802A134C 0C00A85B */ jal sin_rad
|
||||
/* 727C60 802A1350 46006303 */ div.s $f12, $f12, $f0
|
||||
/* 727C64 802A1354 3C013FF0 */ lui $at, 0x3ff0
|
||||
/* 727C68 802A1358 44811800 */ mtc1 $at, $f3
|
||||
/* 727C6C 802A135C 44801000 */ mtc1 $zero, $f2
|
||||
/* 727C70 802A1360 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 727C74 802A1364 46201081 */ sub.d $f2, $f2, $f0
|
||||
/* 727C78 802A1368 3C01802A */ lui $at, %hi(D_802A1CC0)
|
||||
/* 727C7C 802A136C D4201CC0 */ ldc1 $f0, %lo(D_802A1CC0)($at)
|
||||
/* 727C80 802A1370 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 727C84 802A1374 00000000 */ nop
|
||||
/* 727C88 802A1378 8E020078 */ lw $v0, 0x78($s0)
|
||||
/* 727C8C 802A137C 24420001 */ addiu $v0, $v0, 1
|
||||
/* 727C90 802A1380 46221080 */ add.d $f2, $f2, $f2
|
||||
/* 727C94 802A1384 AE020078 */ sw $v0, 0x78($s0)
|
||||
/* 727C98 802A1388 2842005B */ slti $v0, $v0, 0x5b
|
||||
/* 727C9C 802A138C 4620110D */ trunc.w.d $f4, $f2
|
||||
/* 727CA0 802A1390 E6040074 */ swc1 $f4, 0x74($s0)
|
||||
/* 727CA4 802A1394 54400009 */ bnel $v0, $zero, .L802A13BC
|
||||
/* 727CA8 802A1398 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 727CAC 802A139C 3C04802A */ lui $a0, %hi(D_802A1CD0)
|
||||
/* 727CB0 802A13A0 8C841CD0 */ lw $a0, %lo(D_802A1CD0)($a0)
|
||||
/* 727CB4 802A13A4 96220000 */ lhu $v0, ($s1)
|
||||
/* 727CB8 802A13A8 A620001C */ sh $zero, 0x1c($s1)
|
||||
/* 727CBC 802A13AC 3042FFF7 */ andi $v0, $v0, 0xfff7
|
||||
/* 727CC0 802A13B0 0C048D70 */ jal func_801235C0
|
||||
/* 727CC4 802A13B4 A6220000 */ sh $v0, ($s1)
|
||||
/* 727CC8 802A13B8 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A13BC:
|
||||
/* 727CCC 802A13BC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 727CD0 802A13C0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 727CD4 802A13C4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 727CD8 802A13C8 03E00008 */ jr $ra
|
||||
/* 727CDC 802A13CC 27BD0028 */ addiu $sp, $sp, 0x28
|
125
asm/nonmatchings/code_7285E0/func_802A1000_7285E0.s
Normal file
125
asm/nonmatchings/code_7285E0/func_802A1000_7285E0.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_7285E0
|
||||
/* 7285E0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 7285E4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 7285E8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 7285EC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 7285F0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 7285F4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 7285F8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 7285FC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 728600 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 728604 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 728608 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 72860C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 728610 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 728614 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 728618 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 72861C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 728620 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 728624 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 728628 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 72862C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 728630 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 728634 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 728638 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 72863C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 728640 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 728644 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 728648 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 72864C 802A106C 00000000 */ nop
|
||||
/* 728650 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 728654 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 728658 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 72865C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 728660 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 728664 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 728668 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 72866C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 728670 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 728674 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 728678 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 72867C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 728680 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 728684 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 728688 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 72868C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 728690 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 728694 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 728698 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 72869C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 7286A0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 7286A4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 7286A8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 7286AC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 7286B0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 7286B4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 7286B8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 7286BC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 7286C0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 7286C4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 7286C8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 7286CC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 7286D0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 7286D4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 7286D8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 7286DC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 7286E0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 7286E4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 7286E8 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 7286EC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 7286F0 802A1110 0C03A830 */ jal add_coins
|
||||
/* 7286F4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 7286F8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 7286FC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 728700 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 728704 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 728708 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 72870C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 728710 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 728714 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 728718 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 72871C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 728720 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 728724 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 728728 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 72872C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 728730 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 728734 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 728738 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 72873C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 728740 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 728744 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 728748 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 72874C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 728750 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 728754 802A1174 0C050529 */ jal create_icon
|
||||
/* 728758 802A1178 00000000 */ nop
|
||||
/* 72875C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 728760 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 728764 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 728768 802A1188 3C01802A */ lui $at, %hi(D_802A18E0)
|
||||
/* 72876C 802A118C AC2418E0 */ sw $a0, %lo(D_802A18E0)($at)
|
||||
/* 728770 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 728774 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 728778 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 72877C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 728780 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 728784 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 728788 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 72878C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 728790 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 728794 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 728798 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 72879C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 7287A0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 7287A4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 7287A8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7287AC 802A11CC 03E00008 */ jr $ra
|
||||
/* 7287B0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
32
asm/nonmatchings/code_7285E0/func_802A11D4_7287B4.s
Normal file
32
asm/nonmatchings/code_7285E0/func_802A11D4_7287B4.s
Normal file
@ -0,0 +1,32 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_7287B4
|
||||
/* 7287B4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7287B8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 7287BC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 7287C0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7287C4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7287C8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 7287CC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 7287D0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 7287D4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 7287D8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 7287DC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 7287E0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 7287E4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 7287E8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 7287EC 802A120C 00000000 */ nop
|
||||
/* 7287F0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 7287F4 802A1214 00000000 */ nop
|
||||
/* 7287F8 802A1218 3C04802A */ lui $a0, %hi(D_802A18E0)
|
||||
/* 7287FC 802A121C 8C8418E0 */ lw $a0, %lo(D_802A18E0)($a0)
|
||||
/* 728800 802A1220 0C05123D */ jal free_icon
|
||||
/* 728804 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 728808 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 72880C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 728810 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 728814 802A1234 03E00008 */ jr $ra
|
||||
/* 728818 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 72881C 802A123C 00000000 */ nop
|
125
asm/nonmatchings/code_728EC0/func_802A1000_728EC0.s
Normal file
125
asm/nonmatchings/code_728EC0/func_802A1000_728EC0.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_728EC0
|
||||
/* 728EC0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 728EC4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 728EC8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 728ECC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 728ED0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 728ED4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 728ED8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 728EDC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 728EE0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 728EE4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 728EE8 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 728EEC 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 728EF0 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 728EF4 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 728EF8 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 728EFC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 728F00 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 728F04 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 728F08 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 728F0C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 728F10 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 728F14 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 728F18 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 728F1C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 728F20 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 728F24 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 728F28 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 728F2C 802A106C 00000000 */ nop
|
||||
/* 728F30 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 728F34 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 728F38 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 728F3C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 728F40 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 728F44 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 728F48 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 728F4C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 728F50 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 728F54 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 728F58 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 728F5C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 728F60 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 728F64 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 728F68 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 728F6C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 728F70 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 728F74 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 728F78 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 728F7C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 728F80 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 728F84 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 728F88 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 728F8C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 728F90 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 728F94 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 728F98 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 728F9C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 728FA0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 728FA4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 728FA8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 728FAC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 728FB0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 728FB4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 728FB8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 728FBC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 728FC0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 728FC4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 728FC8 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 728FCC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 728FD0 802A1110 0C03A830 */ jal add_coins
|
||||
/* 728FD4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 728FD8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 728FDC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 728FE0 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 728FE4 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 728FE8 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 728FEC 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 728FF0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 728FF4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 728FF8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 728FFC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 729000 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 729004 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 729008 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 72900C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 729010 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 729014 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 729018 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 72901C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 729020 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 729024 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 729028 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 72902C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 729030 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 729034 802A1174 0C050529 */ jal create_icon
|
||||
/* 729038 802A1178 00000000 */ nop
|
||||
/* 72903C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 729040 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 729044 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 729048 802A1188 3C01802A */ lui $at, %hi(D_802A2890)
|
||||
/* 72904C 802A118C AC242890 */ sw $a0, %lo(D_802A2890)($at)
|
||||
/* 729050 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 729054 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 729058 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 72905C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 729060 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 729064 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 729068 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 72906C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 729070 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 729074 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 729078 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 72907C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 729080 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 729084 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 729088 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72908C 802A11CC 03E00008 */ jr $ra
|
||||
/* 729090 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_728EC0/func_802A11D4_729094.s
Normal file
31
asm/nonmatchings/code_728EC0/func_802A11D4_729094.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_729094
|
||||
/* 729094 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 729098 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 72909C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 7290A0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7290A4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7290A8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 7290AC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 7290B0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 7290B4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 7290B8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 7290BC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 7290C0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 7290C4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 7290C8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 7290CC 802A120C 00000000 */ nop
|
||||
/* 7290D0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 7290D4 802A1214 00000000 */ nop
|
||||
/* 7290D8 802A1218 3C04802A */ lui $a0, %hi(D_802A2890)
|
||||
/* 7290DC 802A121C 8C842890 */ lw $a0, %lo(D_802A2890)($a0)
|
||||
/* 7290E0 802A1220 0C05123D */ jal free_icon
|
||||
/* 7290E4 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 7290E8 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7290EC 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7290F0 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7290F4 802A1234 03E00008 */ jr $ra
|
||||
/* 7290F8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
57
asm/nonmatchings/code_728EC0/func_802A123C_7290FC.s
Normal file
57
asm/nonmatchings/code_728EC0/func_802A123C_7290FC.s
Normal file
@ -0,0 +1,57 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_7290FC
|
||||
/* 7290FC 802A123C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 729100 802A1240 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 729104 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 729108 802A1248 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 72910C 802A124C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 729110 802A1250 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 729114 802A1254 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 729118 802A1258 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 72911C 802A125C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 729120 802A1260 8E050000 */ lw $a1, ($s0)
|
||||
/* 729124 802A1264 0C0B1EAF */ jal get_variable
|
||||
/* 729128 802A1268 26100004 */ addiu $s0, $s0, 4
|
||||
/* 72912C 802A126C 8E050000 */ lw $a1, ($s0)
|
||||
/* 729130 802A1270 26100004 */ addiu $s0, $s0, 4
|
||||
/* 729134 802A1274 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 729138 802A1278 0C0B1EAF */ jal get_variable
|
||||
/* 72913C 802A127C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 729140 802A1280 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 729144 802A1284 8E050000 */ lw $a1, ($s0)
|
||||
/* 729148 802A1288 0C0B1EAF */ jal get_variable
|
||||
/* 72914C 802A128C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 729150 802A1290 4492B000 */ mtc1 $s2, $f22
|
||||
/* 729154 802A1294 00000000 */ nop
|
||||
/* 729158 802A1298 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 72915C 802A129C 4482A000 */ mtc1 $v0, $f20
|
||||
/* 729160 802A12A0 00000000 */ nop
|
||||
/* 729164 802A12A4 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 729168 802A12A8 44900000 */ mtc1 $s0, $f0
|
||||
/* 72916C 802A12AC 00000000 */ nop
|
||||
/* 729170 802A12B0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 729174 802A12B4 4405B000 */ mfc1 $a1, $f22
|
||||
/* 729178 802A12B8 4407A000 */ mfc1 $a3, $f20
|
||||
/* 72917C 802A12BC 44060000 */ mfc1 $a2, $f0
|
||||
/* 729180 802A12C0 0C01C04C */ jal func_80070130
|
||||
/* 729184 802A12C4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 729188 802A12C8 26100014 */ addiu $s0, $s0, 0x14
|
||||
/* 72918C 802A12CC 44900000 */ mtc1 $s0, $f0
|
||||
/* 729190 802A12D0 00000000 */ nop
|
||||
/* 729194 802A12D4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 729198 802A12D8 4405B000 */ mfc1 $a1, $f22
|
||||
/* 72919C 802A12DC 4407A000 */ mfc1 $a3, $f20
|
||||
/* 7291A0 802A12E0 44060000 */ mfc1 $a2, $f0
|
||||
/* 7291A4 802A12E4 0C01C07C */ jal func_800701F0
|
||||
/* 7291A8 802A12E8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 7291AC 802A12EC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 7291B0 802A12F0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 7291B4 802A12F4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 7291B8 802A12F8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7291BC 802A12FC D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 7291C0 802A1300 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 7291C4 802A1304 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7291C8 802A1308 03E00008 */ jr $ra
|
||||
/* 7291CC 802A130C 27BD0030 */ addiu $sp, $sp, 0x30
|
125
asm/nonmatchings/code_72A750/func_802A1000_72A750.s
Normal file
125
asm/nonmatchings/code_72A750/func_802A1000_72A750.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_72A750
|
||||
/* 72A750 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 72A754 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 72A758 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 72A75C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 72A760 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 72A764 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 72A768 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 72A76C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 72A770 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 72A774 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 72A778 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 72A77C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 72A780 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 72A784 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 72A788 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 72A78C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 72A790 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 72A794 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 72A798 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 72A79C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 72A7A0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 72A7A4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 72A7A8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 72A7AC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 72A7B0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 72A7B4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 72A7B8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 72A7BC 802A106C 00000000 */ nop
|
||||
/* 72A7C0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 72A7C4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 72A7C8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 72A7CC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 72A7D0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 72A7D4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 72A7D8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 72A7DC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 72A7E0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 72A7E4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 72A7E8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 72A7EC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 72A7F0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 72A7F4 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 72A7F8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 72A7FC 802A10AC 00004010 */ mfhi $t0
|
||||
/* 72A800 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 72A804 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 72A808 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 72A80C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 72A810 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 72A814 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 72A818 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 72A81C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 72A820 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 72A824 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 72A828 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 72A82C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 72A830 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 72A834 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 72A838 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 72A83C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 72A840 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 72A844 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 72A848 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 72A84C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 72A850 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 72A854 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 72A858 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 72A85C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 72A860 802A1110 0C03A830 */ jal add_coins
|
||||
/* 72A864 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 72A868 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 72A86C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 72A870 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 72A874 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 72A878 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 72A87C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 72A880 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 72A884 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 72A888 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 72A88C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 72A890 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 72A894 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 72A898 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 72A89C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 72A8A0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 72A8A4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 72A8A8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 72A8AC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 72A8B0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 72A8B4 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 72A8B8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 72A8BC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 72A8C0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 72A8C4 802A1174 0C050529 */ jal create_icon
|
||||
/* 72A8C8 802A1178 00000000 */ nop
|
||||
/* 72A8CC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 72A8D0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 72A8D4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 72A8D8 802A1188 3C01802A */ lui $at, %hi(D_802A21C0)
|
||||
/* 72A8DC 802A118C AC2421C0 */ sw $a0, %lo(D_802A21C0)($at)
|
||||
/* 72A8E0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 72A8E4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 72A8E8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 72A8EC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 72A8F0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 72A8F4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 72A8F8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 72A8FC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 72A900 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 72A904 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 72A908 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 72A90C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 72A910 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 72A914 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 72A918 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72A91C 802A11CC 03E00008 */ jr $ra
|
||||
/* 72A920 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_72A750/func_802A11D4_72A924.s
Normal file
31
asm/nonmatchings/code_72A750/func_802A11D4_72A924.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_72A924
|
||||
/* 72A924 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 72A928 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 72A92C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 72A930 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 72A934 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 72A938 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 72A93C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 72A940 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 72A944 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 72A948 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 72A94C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 72A950 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 72A954 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 72A958 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 72A95C 802A120C 00000000 */ nop
|
||||
/* 72A960 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 72A964 802A1214 00000000 */ nop
|
||||
/* 72A968 802A1218 3C04802A */ lui $a0, %hi(D_802A21C0)
|
||||
/* 72A96C 802A121C 8C8421C0 */ lw $a0, %lo(D_802A21C0)($a0)
|
||||
/* 72A970 802A1220 0C05123D */ jal free_icon
|
||||
/* 72A974 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 72A978 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 72A97C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 72A980 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72A984 802A1234 03E00008 */ jr $ra
|
||||
/* 72A988 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
21
asm/nonmatchings/code_72A750/func_802A123C_72A98C.s
Normal file
21
asm/nonmatchings/code_72A750/func_802A123C_72A98C.s
Normal file
@ -0,0 +1,21 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_72A98C
|
||||
/* 72A98C 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 72A990 802A1240 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 72A994 802A1244 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 72A998 802A1248 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 72A99C 802A124C 0C09A75B */ jal get_actor
|
||||
/* 72A9A0 802A1250 8E040148 */ lw $a0, 0x148($s0)
|
||||
/* 72A9A4 802A1254 0C09A75B */ jal get_actor
|
||||
/* 72A9A8 802A1258 84440428 */ lh $a0, 0x428($v0)
|
||||
/* 72A9AC 802A125C 90430136 */ lbu $v1, 0x136($v0)
|
||||
/* 72A9B0 802A1260 38630031 */ xori $v1, $v1, 0x31
|
||||
/* 72A9B4 802A1264 2C630001 */ sltiu $v1, $v1, 1
|
||||
/* 72A9B8 802A1268 AE0300A8 */ sw $v1, 0xa8($s0)
|
||||
/* 72A9BC 802A126C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 72A9C0 802A1270 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 72A9C4 802A1274 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72A9C8 802A1278 03E00008 */ jr $ra
|
||||
/* 72A9CC 802A127C 27BD0018 */ addiu $sp, $sp, 0x18
|
28
asm/nonmatchings/code_72A750/func_802A1280_72A9D0.s
Normal file
28
asm/nonmatchings/code_72A750/func_802A1280_72A9D0.s
Normal file
@ -0,0 +1,28 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1280_72A9D0
|
||||
/* 72A9D0 802A1280 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 72A9D4 802A1284 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 72A9D8 802A1288 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 72A9DC 802A128C 0C09A75B */ jal get_actor
|
||||
/* 72A9E0 802A1290 8C840148 */ lw $a0, 0x148($a0)
|
||||
/* 72A9E4 802A1294 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 72A9E8 802A1298 C6000020 */ lwc1 $f0, 0x20($s0)
|
||||
/* 72A9EC 802A129C 24040231 */ addiu $a0, $zero, 0x231
|
||||
/* 72A9F0 802A12A0 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 72A9F4 802A12A4 8E060018 */ lw $a2, 0x18($s0)
|
||||
/* 72A9F8 802A12A8 8E07001C */ lw $a3, 0x1c($s0)
|
||||
/* 72A9FC 802A12AC 0C052757 */ jal play_sound_at_position
|
||||
/* 72AA00 802A12B0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 72AA04 802A12B4 86040428 */ lh $a0, 0x428($s0)
|
||||
/* 72AA08 802A12B8 0C09A75B */ jal get_actor
|
||||
/* 72AA0C 802A12BC 00000000 */ nop
|
||||
/* 72AA10 802A12C0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 72AA14 802A12C4 0C09DC58 */ jal dispatch_event_actor
|
||||
/* 72AA18 802A12C8 24050039 */ addiu $a1, $zero, 0x39
|
||||
/* 72AA1C 802A12CC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 72AA20 802A12D0 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 72AA24 802A12D4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72AA28 802A12D8 03E00008 */ jr $ra
|
||||
/* 72AA2C 802A12DC 27BD0020 */ addiu $sp, $sp, 0x20
|
84
asm/nonmatchings/code_72A750/func_802A12E0_72AA30.s
Normal file
84
asm/nonmatchings/code_72A750/func_802A12E0_72AA30.s
Normal file
@ -0,0 +1,84 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12E0_72AA30
|
||||
/* 72AA30 802A12E0 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 72AA34 802A12E4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 72AA38 802A12E8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 72AA3C 802A12EC AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 72AA40 802A12F0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 72AA44 802A12F4 F7B80038 */ sdc1 $f24, 0x38($sp)
|
||||
/* 72AA48 802A12F8 F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 72AA4C 802A12FC F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 72AA50 802A1300 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 72AA54 802A1304 8E050000 */ lw $a1, ($s0)
|
||||
/* 72AA58 802A1308 0C0B1EAF */ jal get_variable
|
||||
/* 72AA5C 802A130C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 72AA60 802A1310 4482A000 */ mtc1 $v0, $f20
|
||||
/* 72AA64 802A1314 00000000 */ nop
|
||||
/* 72AA68 802A1318 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 72AA6C 802A131C 8E050000 */ lw $a1, ($s0)
|
||||
/* 72AA70 802A1320 26100004 */ addiu $s0, $s0, 4
|
||||
/* 72AA74 802A1324 0C0B1EAF */ jal get_variable
|
||||
/* 72AA78 802A1328 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 72AA7C 802A132C 4482B000 */ mtc1 $v0, $f22
|
||||
/* 72AA80 802A1330 00000000 */ nop
|
||||
/* 72AA84 802A1334 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 72AA88 802A1338 8E050000 */ lw $a1, ($s0)
|
||||
/* 72AA8C 802A133C 0C0B1EAF */ jal get_variable
|
||||
/* 72AA90 802A1340 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 72AA94 802A1344 4482C000 */ mtc1 $v0, $f24
|
||||
/* 72AA98 802A1348 00000000 */ nop
|
||||
/* 72AA9C 802A134C 4680C620 */ cvt.s.w $f24, $f24
|
||||
/* 72AAA0 802A1350 0C00A67F */ jal rand_int
|
||||
/* 72AAA4 802A1354 24040014 */ addiu $a0, $zero, 0x14
|
||||
/* 72AAA8 802A1358 2404000A */ addiu $a0, $zero, 0xa
|
||||
/* 72AAAC 802A135C 2442FFF6 */ addiu $v0, $v0, -0xa
|
||||
/* 72AAB0 802A1360 44820000 */ mtc1 $v0, $f0
|
||||
/* 72AAB4 802A1364 00000000 */ nop
|
||||
/* 72AAB8 802A1368 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 72AABC 802A136C 0C00A67F */ jal rand_int
|
||||
/* 72AAC0 802A1370 4600A500 */ add.s $f20, $f20, $f0
|
||||
/* 72AAC4 802A1374 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 72AAC8 802A1378 2442FFFB */ addiu $v0, $v0, -5
|
||||
/* 72AACC 802A137C 44820000 */ mtc1 $v0, $f0
|
||||
/* 72AAD0 802A1380 00000000 */ nop
|
||||
/* 72AAD4 802A1384 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 72AAD8 802A1388 4600B580 */ add.s $f22, $f22, $f0
|
||||
/* 72AADC 802A138C 3C013F80 */ lui $at, 0x3f80
|
||||
/* 72AAE0 802A1390 44811000 */ mtc1 $at, $f2
|
||||
/* 72AAE4 802A1394 4407C000 */ mfc1 $a3, $f24
|
||||
/* 72AAE8 802A1398 4405A000 */ mfc1 $a1, $f20
|
||||
/* 72AAEC 802A139C 4406B000 */ mfc1 $a2, $f22
|
||||
/* 72AAF0 802A13A0 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 72AAF4 802A13A4 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 72AAF8 802A13A8 0C01C88C */ jal func_80072230
|
||||
/* 72AAFC 802A13AC E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 72AB00 802A13B0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 72AB04 802A13B4 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 72AB08 802A13B8 240300F4 */ addiu $v1, $zero, 0xf4
|
||||
/* 72AB0C 802A13BC AC430018 */ sw $v1, 0x18($v0)
|
||||
/* 72AB10 802A13C0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 72AB14 802A13C4 AC43001C */ sw $v1, 0x1c($v0)
|
||||
/* 72AB18 802A13C8 8C83000C */ lw $v1, 0xc($a0)
|
||||
/* 72AB1C 802A13CC 240200DC */ addiu $v0, $zero, 0xdc
|
||||
/* 72AB20 802A13D0 AC620020 */ sw $v0, 0x20($v1)
|
||||
/* 72AB24 802A13D4 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 72AB28 802A13D8 240500D2 */ addiu $a1, $zero, 0xd2
|
||||
/* 72AB2C 802A13DC AC450028 */ sw $a1, 0x28($v0)
|
||||
/* 72AB30 802A13E0 8C83000C */ lw $v1, 0xc($a0)
|
||||
/* 72AB34 802A13E4 AC65002C */ sw $a1, 0x2c($v1)
|
||||
/* 72AB38 802A13E8 8C84000C */ lw $a0, 0xc($a0)
|
||||
/* 72AB3C 802A13EC 240300BE */ addiu $v1, $zero, 0xbe
|
||||
/* 72AB40 802A13F0 AC830030 */ sw $v1, 0x30($a0)
|
||||
/* 72AB44 802A13F4 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 72AB48 802A13F8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 72AB4C 802A13FC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 72AB50 802A1400 D7B80038 */ ldc1 $f24, 0x38($sp)
|
||||
/* 72AB54 802A1404 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 72AB58 802A1408 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 72AB5C 802A140C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72AB60 802A1410 03E00008 */ jr $ra
|
||||
/* 72AB64 802A1414 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
/* 72AB68 802A1418 00000000 */ nop
|
||||
/* 72AB6C 802A141C 00000000 */ nop
|
125
asm/nonmatchings/code_72B910/func_802A1000_72B910.s
Normal file
125
asm/nonmatchings/code_72B910/func_802A1000_72B910.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_72B910
|
||||
/* 72B910 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 72B914 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 72B918 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 72B91C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 72B920 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 72B924 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 72B928 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 72B92C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 72B930 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 72B934 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 72B938 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 72B93C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 72B940 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 72B944 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 72B948 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 72B94C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 72B950 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 72B954 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 72B958 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 72B95C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 72B960 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 72B964 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 72B968 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 72B96C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 72B970 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 72B974 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 72B978 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 72B97C 802A106C 00000000 */ nop
|
||||
/* 72B980 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 72B984 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 72B988 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 72B98C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 72B990 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 72B994 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 72B998 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 72B99C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 72B9A0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 72B9A4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 72B9A8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 72B9AC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 72B9B0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 72B9B4 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 72B9B8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 72B9BC 802A10AC 00004010 */ mfhi $t0
|
||||
/* 72B9C0 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 72B9C4 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 72B9C8 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 72B9CC 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 72B9D0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 72B9D4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 72B9D8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 72B9DC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 72B9E0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 72B9E4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 72B9E8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 72B9EC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 72B9F0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 72B9F4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 72B9F8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 72B9FC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 72BA00 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 72BA04 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 72BA08 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 72BA0C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 72BA10 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 72BA14 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 72BA18 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 72BA1C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 72BA20 802A1110 0C03A830 */ jal add_coins
|
||||
/* 72BA24 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 72BA28 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 72BA2C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 72BA30 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 72BA34 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 72BA38 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 72BA3C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 72BA40 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 72BA44 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 72BA48 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 72BA4C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 72BA50 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 72BA54 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 72BA58 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 72BA5C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 72BA60 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 72BA64 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 72BA68 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 72BA6C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 72BA70 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 72BA74 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 72BA78 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 72BA7C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 72BA80 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 72BA84 802A1174 0C050529 */ jal create_icon
|
||||
/* 72BA88 802A1178 00000000 */ nop
|
||||
/* 72BA8C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 72BA90 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 72BA94 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 72BA98 802A1188 3C01802A */ lui $at, %hi(D_802A1CA0)
|
||||
/* 72BA9C 802A118C AC241CA0 */ sw $a0, %lo(D_802A1CA0)($at)
|
||||
/* 72BAA0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 72BAA4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 72BAA8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 72BAAC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 72BAB0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 72BAB4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 72BAB8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 72BABC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 72BAC0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 72BAC4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 72BAC8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 72BACC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 72BAD0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 72BAD4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 72BAD8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72BADC 802A11CC 03E00008 */ jr $ra
|
||||
/* 72BAE0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/code_72B910/func_802A11D4_72BAE4.s
Normal file
31
asm/nonmatchings/code_72B910/func_802A11D4_72BAE4.s
Normal file
@ -0,0 +1,31 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11D4_72BAE4
|
||||
/* 72BAE4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 72BAE8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 72BAEC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 72BAF0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 72BAF4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 72BAF8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||
/* 72BAFC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||
/* 72BB00 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 72BB04 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||
/* 72BB08 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 72BB0C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||
/* 72BB10 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 72BB14 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 72BB18 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||
/* 72BB1C 802A120C 00000000 */ nop
|
||||
/* 72BB20 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||
/* 72BB24 802A1214 00000000 */ nop
|
||||
/* 72BB28 802A1218 3C04802A */ lui $a0, %hi(D_802A1CA0)
|
||||
/* 72BB2C 802A121C 8C841CA0 */ lw $a0, %lo(D_802A1CA0)($a0)
|
||||
/* 72BB30 802A1220 0C05123D */ jal free_icon
|
||||
/* 72BB34 802A1224 00000000 */ nop
|
||||
.L802A1228:
|
||||
/* 72BB38 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 72BB3C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 72BB40 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72BB44 802A1234 03E00008 */ jr $ra
|
||||
/* 72BB48 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
43
asm/nonmatchings/code_72B910/func_802A123C_72BB4C.s
Normal file
43
asm/nonmatchings/code_72B910/func_802A123C_72BB4C.s
Normal file
@ -0,0 +1,43 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A123C_72BB4C
|
||||
/* 72BB4C 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 72BB50 802A1240 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 72BB54 802A1244 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 72BB58 802A1248 10A0000E */ beqz $a1, .L802A1284
|
||||
/* 72BB5C 802A124C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 72BB60 802A1250 0C04760B */ jal func_8011D82C
|
||||
/* 72BB64 802A1254 24040001 */ addiu $a0, $zero, 1
|
||||
/* 72BB68 802A1258 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 72BB6C 802A125C 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 72BB70 802A1260 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 72BB74 802A1264 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 72BB78 802A1268 3C028015 */ lui $v0, %hi(D_801512F0)
|
||||
/* 72BB7C 802A126C 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
|
||||
/* 72BB80 802A1270 24030001 */ addiu $v1, $zero, 1
|
||||
/* 72BB84 802A1274 0C046F97 */ jal set_background_color_blend
|
||||
/* 72BB88 802A1278 A0430000 */ sb $v1, ($v0)
|
||||
/* 72BB8C 802A127C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 72BB90 802A1280 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A1284:
|
||||
/* 72BB94 802A1284 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 72BB98 802A1288 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 72BB9C 802A128C 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 72BBA0 802A1290 8E030070 */ lw $v1, 0x70($s0)
|
||||
/* 72BBA4 802A1294 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 72BBA8 802A1298 00431023 */ subu $v0, $v0, $v1
|
||||
/* 72BBAC 802A129C 00023880 */ sll $a3, $v0, 2
|
||||
/* 72BBB0 802A12A0 00E23821 */ addu $a3, $a3, $v0
|
||||
/* 72BBB4 802A12A4 00073840 */ sll $a3, $a3, 1
|
||||
/* 72BBB8 802A12A8 0C046F97 */ jal set_background_color_blend
|
||||
/* 72BBBC 802A12AC 30E700FE */ andi $a3, $a3, 0xfe
|
||||
/* 72BBC0 802A12B0 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 72BBC4 802A12B4 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 72BBC8 802A12B8 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 72BBCC 802A12BC 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 72BBD0 802A12C0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 72BBD4 802A12C4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 72BBD8 802A12C8 00021040 */ sll $v0, $v0, 1
|
||||
/* 72BBDC 802A12CC 03E00008 */ jr $ra
|
||||
/* 72BBE0 802A12D0 27BD0018 */ addiu $sp, $sp, 0x18
|
38
asm/nonmatchings/code_72B910/func_802A12D4_72BBE4.s
Normal file
38
asm/nonmatchings/code_72B910/func_802A12D4_72BBE4.s
Normal file
@ -0,0 +1,38 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12D4_72BBE4
|
||||
/* 72BBE4 802A12D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 72BBE8 802A12D8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 72BBEC 802A12DC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 72BBF0 802A12E0 10A00003 */ beqz $a1, .L802A12F0
|
||||
/* 72BBF4 802A12E4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 72BBF8 802A12E8 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 72BBFC 802A12EC AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A12F0:
|
||||
/* 72BC00 802A12F0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 72BC04 802A12F4 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 72BC08 802A12F8 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 72BC0C 802A12FC 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 72BC10 802A1300 00023880 */ sll $a3, $v0, 2
|
||||
/* 72BC14 802A1304 00E23821 */ addu $a3, $a3, $v0
|
||||
/* 72BC18 802A1308 00073840 */ sll $a3, $a3, 1
|
||||
/* 72BC1C 802A130C 0C046F97 */ jal set_background_color_blend
|
||||
/* 72BC20 802A1310 30E700FE */ andi $a3, $a3, 0xfe
|
||||
/* 72BC24 802A1314 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 72BC28 802A1318 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 72BC2C 802A131C 10400003 */ beqz $v0, .L802A132C
|
||||
/* 72BC30 802A1320 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 72BC34 802A1324 080A84D1 */ j .L802A1344
|
||||
/* 72BC38 802A1328 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802A132C:
|
||||
/* 72BC3C 802A132C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 72BC40 802A1330 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 72BC44 802A1334 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 72BC48 802A1338 0C046F97 */ jal set_background_color_blend
|
||||
/* 72BC4C 802A133C 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 72BC50 802A1340 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A1344:
|
||||
/* 72BC54 802A1344 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 72BC58 802A1348 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 72BC5C 802A134C 03E00008 */ jr $ra
|
125
asm/nonmatchings/code_72C5B0/func_802A1000_72C5B0.s
Normal file
125
asm/nonmatchings/code_72C5B0/func_802A1000_72C5B0.s
Normal file
@ -0,0 +1,125 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_72C5B0
|
||||
/* 72C5B0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 72C5B4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 72C5B8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 72C5BC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 72C5C0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 72C5C4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||
/* 72C5C8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 72C5CC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 72C5D0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 72C5D4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 72C5D8 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||
/* 72C5DC 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 72C5E0 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 72C5E4 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 72C5E8 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 72C5EC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 72C5F0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||
/* 72C5F4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||
/* 72C5F8 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||
/* 72C5FC 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 72C600 802A1050 00021140 */ sll $v0, $v0, 5
|
||||
/* 72C604 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||
/* 72C608 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||
/* 72C60C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||
/* 72C610 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||
/* 72C614 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||
/* 72C618 802A1068 44820000 */ mtc1 $v0, $f0
|
||||
/* 72C61C 802A106C 00000000 */ nop
|
||||
/* 72C620 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 72C624 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||
/* 72C628 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||
/* 72C62C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||
/* 72C630 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||
/* 72C634 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||
/* 72C638 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||
/* 72C63C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||
/* 72C640 802A1090 00121880 */ sll $v1, $s2, 2
|
||||
/* 72C644 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||
/* 72C648 802A1098 00031100 */ sll $v0, $v1, 4
|
||||
/* 72C64C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||
/* 72C650 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||
/* 72C654 802A10A4 00440018 */ mult $v0, $a0
|
||||
/* 72C658 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 72C65C 802A10AC 00004010 */ mfhi $t0
|
||||
/* 72C660 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||
/* 72C664 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||
/* 72C668 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||
/* 72C66C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||
/* 72C670 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 72C674 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||
/* 72C678 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 72C67C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 72C680 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||
.L802A10D4:
|
||||
/* 72C684 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 72C688 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 72C68C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||
/* 72C690 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||
/* 72C694 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 72C698 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 72C69C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||
/* 72C6A0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||
/* 72C6A4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 72C6A8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||
/* 72C6AC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||
/* 72C6B0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||
/* 72C6B4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||
/* 72C6B8 802A1108 0C04C4FD */ jal make_item_entity
|
||||
/* 72C6BC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 72C6C0 802A1110 0C03A830 */ jal add_coins
|
||||
/* 72C6C4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 72C6C8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||
/* 72C6CC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||
/* 72C6D0 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 72C6D4 802A1124 00101040 */ sll $v0, $s0, 1
|
||||
/* 72C6D8 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||
/* 72C6DC 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||
/* 72C6E0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||
/* 72C6E4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||
/* 72C6E8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||
/* 72C6EC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||
/* 72C6F0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||
/* 72C6F4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 72C6F8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 72C6FC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||
/* 72C700 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 72C704 802A1154 44050000 */ mfc1 $a1, $f0
|
||||
/* 72C708 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||
/* 72C70C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||
/* 72C710 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 72C714 802A1164 0C00B94E */ jal get_screen_coords
|
||||
/* 72C718 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 72C71C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||
/* 72C720 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||
/* 72C724 802A1174 0C050529 */ jal create_icon
|
||||
/* 72C728 802A1178 00000000 */ nop
|
||||
/* 72C72C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 72C730 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 72C734 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 72C738 802A1188 3C01802A */ lui $at, %hi(D_802A25C0)
|
||||
/* 72C73C 802A118C AC2425C0 */ sw $a0, %lo(D_802A25C0)($at)
|
||||
/* 72C740 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||
/* 72C744 802A1194 0C051261 */ jal set_icon_render_pos
|
||||
/* 72C748 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||
.L802A119C:
|
||||
/* 72C74C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||
.L802A11A0:
|
||||
/* 72C750 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||
/* 72C754 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 72C758 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 72C75C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 72C760 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 72C764 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 72C768 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 72C76C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||
/* 72C770 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||
/* 72C774 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||
/* 72C778 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 72C77C 802A11CC 03E00008 */ jr $ra
|
||||
/* 72C780 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user