This commit is contained in:
Ethan Roseman 2021-01-10 23:52:28 +09:00
parent 39c2c200e3
commit 6a18fb8862
151 changed files with 8201 additions and 10 deletions

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_789E60
/* 789E60 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 789E64 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 789E68 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 789E6C 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 789E70 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 789E74 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 789E78 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 789E7C 802A101C 8E050000 */ lw $a1, ($s0)
/* 789E80 802A1020 0C0B1EAF */ jal get_variable
/* 789E84 802A1024 26100004 */ addiu $s0, $s0, 4
/* 789E88 802A1028 8E050000 */ lw $a1, ($s0)
/* 789E8C 802A102C 26100004 */ addiu $s0, $s0, 4
/* 789E90 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 789E94 802A1034 0C0B1EAF */ jal get_variable
/* 789E98 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 789E9C 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 789EA0 802A1040 8E050000 */ lw $a1, ($s0)
/* 789EA4 802A1044 0C0B1EAF */ jal get_variable
/* 789EA8 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 789EAC 802A104C 44921000 */ mtc1 $s2, $f2
/* 789EB0 802A1050 00000000 */ nop
/* 789EB4 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 789EB8 802A1058 44051000 */ mfc1 $a1, $f2
/* 789EBC 802A105C 44901000 */ mtc1 $s0, $f2
/* 789EC0 802A1060 00000000 */ nop
/* 789EC4 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 789EC8 802A1068 44061000 */ mfc1 $a2, $f2
/* 789ECC 802A106C 44821000 */ mtc1 $v0, $f2
/* 789ED0 802A1070 00000000 */ nop
/* 789ED4 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 789ED8 802A1078 3C014220 */ lui $at, 0x4220
/* 789EDC 802A107C 44810000 */ mtc1 $at, $f0
/* 789EE0 802A1080 44071000 */ mfc1 $a3, $f2
/* 789EE4 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 789EE8 802A1088 0C01BFBC */ jal func_8006FEF0
/* 789EEC 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 789EF0 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 789EF4 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 789EF8 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 789EFC 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 789F00 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 789F04 802A10A4 03E00008 */ jr $ra
/* 789F08 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_789F0C
/* 789F0C 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 789F10 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 789F14 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 789F18 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 789F1C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 789F20 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 789F24 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 789F28 802A10C8 8E050000 */ lw $a1, ($s0)
/* 789F2C 802A10CC 0C0B1EAF */ jal get_variable
/* 789F30 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 789F34 802A10D4 8E050000 */ lw $a1, ($s0)
/* 789F38 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 789F3C 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 789F40 802A10E0 0C0B1EAF */ jal get_variable
/* 789F44 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 789F48 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 789F4C 802A10EC 8E050000 */ lw $a1, ($s0)
/* 789F50 802A10F0 0C0B1EAF */ jal get_variable
/* 789F54 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 789F58 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 789F5C 802A10FC 44921000 */ mtc1 $s2, $f2
/* 789F60 802A1100 00000000 */ nop
/* 789F64 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 789F68 802A1108 44051000 */ mfc1 $a1, $f2
/* 789F6C 802A110C 44901000 */ mtc1 $s0, $f2
/* 789F70 802A1110 00000000 */ nop
/* 789F74 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 789F78 802A1118 44061000 */ mfc1 $a2, $f2
/* 789F7C 802A111C 44821000 */ mtc1 $v0, $f2
/* 789F80 802A1120 00000000 */ nop
/* 789F84 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 789F88 802A1128 3C014248 */ lui $at, 0x4248
/* 789F8C 802A112C 44810000 */ mtc1 $at, $f0
/* 789F90 802A1130 44071000 */ mfc1 $a3, $f2
/* 789F94 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 789F98 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 789F9C 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 789FA0 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 789FA4 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 789FA8 802A1148 0C01C154 */ jal func_80070550
/* 789FAC 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 789FB0 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 789FB4 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 789FB8 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 789FBC 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 789FC0 802A1160 24020002 */ addiu $v0, $zero, 2
/* 789FC4 802A1164 03E00008 */ jr $ra
/* 789FC8 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_789FCC
/* 789FCC 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 789FD0 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 789FD4 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 789FD8 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 789FDC 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 789FE0 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 789FE4 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 789FE8 802A1188 8E050000 */ lw $a1, ($s0)
/* 789FEC 802A118C 0C0B1EAF */ jal get_variable
/* 789FF0 802A1190 26100004 */ addiu $s0, $s0, 4
/* 789FF4 802A1194 8E050000 */ lw $a1, ($s0)
/* 789FF8 802A1198 26100004 */ addiu $s0, $s0, 4
/* 789FFC 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 78A000 802A11A0 0C0B1EAF */ jal get_variable
/* 78A004 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 78A008 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 78A00C 802A11AC 8E050000 */ lw $a1, ($s0)
/* 78A010 802A11B0 0C0B1EAF */ jal get_variable
/* 78A014 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 78A018 802A11B8 44921000 */ mtc1 $s2, $f2
/* 78A01C 802A11BC 00000000 */ nop
/* 78A020 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 78A024 802A11C4 44051000 */ mfc1 $a1, $f2
/* 78A028 802A11C8 44901000 */ mtc1 $s0, $f2
/* 78A02C 802A11CC 00000000 */ nop
/* 78A030 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 78A034 802A11D4 44061000 */ mfc1 $a2, $f2
/* 78A038 802A11D8 44821000 */ mtc1 $v0, $f2
/* 78A03C 802A11DC 00000000 */ nop
/* 78A040 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 78A044 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 78A048 802A11E8 44810000 */ mtc1 $at, $f0
/* 78A04C 802A11EC 44071000 */ mfc1 $a3, $f2
/* 78A050 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 78A054 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 78A058 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78A05C 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 78A060 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 78A064 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 78A068 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 78A06C 802A120C 24020002 */ addiu $v0, $zero, 2
/* 78A070 802A1210 03E00008 */ jr $ra
/* 78A074 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_78A078
/* 78A078 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 78A07C 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 78A080 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 78A084 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 78A088 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 78A08C 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 78A090 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 78A094 802A1234 8E050000 */ lw $a1, ($s0)
/* 78A098 802A1238 0C0B1EAF */ jal get_variable
/* 78A09C 802A123C 26100004 */ addiu $s0, $s0, 4
/* 78A0A0 802A1240 8E050000 */ lw $a1, ($s0)
/* 78A0A4 802A1244 26100004 */ addiu $s0, $s0, 4
/* 78A0A8 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 78A0AC 802A124C 0C0B1EAF */ jal get_variable
/* 78A0B0 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 78A0B4 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 78A0B8 802A1258 8E050000 */ lw $a1, ($s0)
/* 78A0BC 802A125C 0C0B1EAF */ jal get_variable
/* 78A0C0 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 78A0C4 802A1264 24040004 */ addiu $a0, $zero, 4
/* 78A0C8 802A1268 44922000 */ mtc1 $s2, $f4
/* 78A0CC 802A126C 00000000 */ nop
/* 78A0D0 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 78A0D4 802A1274 44052000 */ mfc1 $a1, $f4
/* 78A0D8 802A1278 44902000 */ mtc1 $s0, $f4
/* 78A0DC 802A127C 00000000 */ nop
/* 78A0E0 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 78A0E4 802A1284 44062000 */ mfc1 $a2, $f4
/* 78A0E8 802A1288 44822000 */ mtc1 $v0, $f4
/* 78A0EC 802A128C 00000000 */ nop
/* 78A0F0 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 78A0F4 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 78A0F8 802A1298 44810000 */ mtc1 $at, $f0
/* 78A0FC 802A129C 3C013F80 */ lui $at, 0x3f80
/* 78A100 802A12A0 44811000 */ mtc1 $at, $f2
/* 78A104 802A12A4 44072000 */ mfc1 $a3, $f4
/* 78A108 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 78A10C 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 78A110 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 78A114 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 78A118 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78A11C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 78A120 802A12C0 0C01C8D4 */ jal func_80072350
/* 78A124 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 78A128 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 78A12C 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 78A130 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 78A134 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 78A138 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 78A13C 802A12DC 03E00008 */ jr $ra
/* 78A140 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_78A144
/* 78A144 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78A148 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 78A14C 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 78A150 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 78A154 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 78A158 802A12F8 0C04760B */ jal func_8011D82C
/* 78A15C 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 78A160 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 78A164 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 78A168 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 78A16C 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 78A170 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 78A174 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 78A178 802A1318 24030001 */ addiu $v1, $zero, 1
/* 78A17C 802A131C 0C046F97 */ jal set_background_color_blend
/* 78A180 802A1320 A0430000 */ sb $v1, ($v0)
/* 78A184 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 78A188 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 78A18C 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 78A190 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 78A194 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 78A198 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 78A19C 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 78A1A0 802A1340 00431023 */ subu $v0, $v0, $v1
/* 78A1A4 802A1344 00023880 */ sll $a3, $v0, 2
/* 78A1A8 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 78A1AC 802A134C 00073840 */ sll $a3, $a3, 1
/* 78A1B0 802A1350 0C046F97 */ jal set_background_color_blend
/* 78A1B4 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 78A1B8 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 78A1BC 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 78A1C0 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 78A1C4 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 78A1C8 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 78A1CC 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 78A1D0 802A1370 00021040 */ sll $v0, $v0, 1
/* 78A1D4 802A1374 03E00008 */ jr $ra
/* 78A1D8 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_78A1DC
/* 78A1DC 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78A1E0 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 78A1E4 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 78A1E8 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 78A1EC 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 78A1F0 802A1390 0C04760B */ jal func_8011D82C
/* 78A1F4 802A1394 24040001 */ addiu $a0, $zero, 1
/* 78A1F8 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 78A1FC 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 78A200 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 78A204 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 78A208 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 78A20C 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 78A210 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 78A214 802A13B4 0C046F97 */ jal set_background_color_blend
/* 78A218 802A13B8 A0620000 */ sb $v0, ($v1)
/* 78A21C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 78A220 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 78A224 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 78A228 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 78A22C 802A13CC 0C046F97 */ jal set_background_color_blend
/* 78A230 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 78A234 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 78A238 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 78A23C 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 78A240 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 78A244 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 78A248 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 78A24C 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 78A250 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 78A254 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 78A258 802A13F8 0C046F97 */ jal set_background_color_blend
/* 78A25C 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 78A260 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 78A264 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 78A268 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 78A26C 802A140C 03E00008 */ jr $ra
/* 78A270 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_78A274
/* 78A274 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78A278 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 78A27C 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 78A280 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 78A284 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 78A288 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 78A28C 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 78A290 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 78A294 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 78A298 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 78A29C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 78A2A0 802A1440 00023880 */ sll $a3, $v0, 2
/* 78A2A4 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 78A2A8 802A1448 00073840 */ sll $a3, $a3, 1
/* 78A2AC 802A144C 0C046F97 */ jal set_background_color_blend
/* 78A2B0 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 78A2B4 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 78A2B8 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 78A2BC 802A145C 10400003 */ beqz $v0, .L802A146C
/* 78A2C0 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 78A2C4 802A1464 080A8521 */ j .L802A1484
/* 78A2C8 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 78A2CC 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 78A2D0 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 78A2D4 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 78A2D8 802A1478 0C046F97 */ jal set_background_color_blend
/* 78A2DC 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 78A2E0 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 78A2E4 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 78A2E8 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 78A2EC 802A148C 03E00008 */ jr $ra
/* 78A2F0 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_78A2F4
/* 78A2F4 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78A2F8 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 78A2FC 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 78A300 802A14A0 0C0B1EAF */ jal get_variable
/* 78A304 802A14A4 8C450000 */ lw $a1, ($v0)
/* 78A308 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 78A30C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 78A310 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 78A314 802A14B4 00051880 */ sll $v1, $a1, 2
/* 78A318 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 78A31C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 78A320 802A14C0 00031880 */ sll $v1, $v1, 2
/* 78A324 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 78A328 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 78A32C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 78A330 802A14D0 0C098F3F */ jal set_animation
/* 78A334 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 78A338 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 78A33C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 78A340 802A14E0 03E00008 */ jr $ra
/* 78A344 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_78A348
/* 78A348 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78A34C 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 78A350 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 78A354 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 78A358 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 78A35C 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 78A360 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 78A364 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 78A368 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 78A36C 802A150C 24020002 */ addiu $v0, $zero, 2
/* 78A370 802A1510 03E00008 */ jr $ra
/* 78A374 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_78A378
/* 78A378 802A1518 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 78A37C 802A151C AFB20018 */ sw $s2, 0x18($sp)
/* 78A380 802A1520 0080902D */ daddu $s2, $a0, $zero
/* 78A384 802A1524 3C028011 */ lui $v0, %hi(gPlayerData)
/* 78A388 802A1528 2442F290 */ addiu $v0, $v0, %lo(gPlayerData)
/* 78A38C 802A152C AFB10014 */ sw $s1, 0x14($sp)
/* 78A390 802A1530 0040882D */ daddu $s1, $v0, $zero
/* 78A394 802A1534 AFBF001C */ sw $ra, 0x1c($sp)
/* 78A398 802A1538 AFB00010 */ sw $s0, 0x10($sp)
/* 78A39C 802A153C AE400084 */ sw $zero, 0x84($s2)
/* 78A3A0 802A1540 8222028E */ lb $v0, 0x28e($s1)
/* 78A3A4 802A1544 86230290 */ lh $v1, 0x290($s1)
/* 78A3A8 802A1548 00021200 */ sll $v0, $v0, 8
/* 78A3AC 802A154C 0062182A */ slt $v1, $v1, $v0
/* 78A3B0 802A1550 1060000F */ beqz $v1, .L802A1590
/* 78A3B4 802A1554 24020001 */ addiu $v0, $zero, 1
/* 78A3B8 802A1558 0C03A752 */ jal is_ability_active
/* 78A3BC 802A155C 24040030 */ addiu $a0, $zero, 0x30
/* 78A3C0 802A1560 24040031 */ addiu $a0, $zero, 0x31
/* 78A3C4 802A1564 0C03A752 */ jal is_ability_active
/* 78A3C8 802A1568 00028180 */ sll $s0, $v0, 6
/* 78A3CC 802A156C 000211C0 */ sll $v0, $v0, 7
/* 78A3D0 802A1570 02028021 */ addu $s0, $s0, $v0
/* 78A3D4 802A1574 0C03A87D */ jal add_SP
/* 78A3D8 802A1578 26040080 */ addiu $a0, $s0, 0x80
/* 78A3DC 802A157C 8222028E */ lb $v0, 0x28e($s1)
/* 78A3E0 802A1580 86230290 */ lh $v1, 0x290($s1)
/* 78A3E4 802A1584 00021200 */ sll $v0, $v0, 8
/* 78A3E8 802A1588 14620003 */ bne $v1, $v0, .L802A1598
/* 78A3EC 802A158C 24020002 */ addiu $v0, $zero, 2
.L802A1590:
/* 78A3F0 802A1590 AE420084 */ sw $v0, 0x84($s2)
/* 78A3F4 802A1594 24020002 */ addiu $v0, $zero, 2
.L802A1598:
/* 78A3F8 802A1598 8FBF001C */ lw $ra, 0x1c($sp)
/* 78A3FC 802A159C 8FB20018 */ lw $s2, 0x18($sp)
/* 78A400 802A15A0 8FB10014 */ lw $s1, 0x14($sp)
/* 78A404 802A15A4 8FB00010 */ lw $s0, 0x10($sp)
/* 78A408 802A15A8 03E00008 */ jr $ra
/* 78A40C 802A15AC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,34 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A15B0_78A410
/* 78A410 802A15B0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 78A414 802A15B4 AFB10014 */ sw $s1, 0x14($sp)
/* 78A418 802A15B8 0080882D */ daddu $s1, $a0, $zero
/* 78A41C 802A15BC 3C028011 */ lui $v0, %hi(gPlayerData)
/* 78A420 802A15C0 2442F290 */ addiu $v0, $v0, %lo(gPlayerData)
/* 78A424 802A15C4 AFB00010 */ sw $s0, 0x10($sp)
/* 78A428 802A15C8 0040802D */ daddu $s0, $v0, $zero
/* 78A42C 802A15CC AFBF0018 */ sw $ra, 0x18($sp)
/* 78A430 802A15D0 AE200084 */ sw $zero, 0x84($s1)
/* 78A434 802A15D4 8202028E */ lb $v0, 0x28e($s0)
/* 78A438 802A15D8 86030290 */ lh $v1, 0x290($s0)
/* 78A43C 802A15DC 00021200 */ sll $v0, $v0, 8
/* 78A440 802A15E0 0062182A */ slt $v1, $v1, $v0
/* 78A444 802A15E4 10600008 */ beqz $v1, .L802A1608
/* 78A448 802A15E8 24020001 */ addiu $v0, $zero, 1
/* 78A44C 802A15EC 0C03A87D */ jal add_SP
/* 78A450 802A15F0 24040080 */ addiu $a0, $zero, 0x80
/* 78A454 802A15F4 8202028E */ lb $v0, 0x28e($s0)
/* 78A458 802A15F8 86030290 */ lh $v1, 0x290($s0)
/* 78A45C 802A15FC 00021200 */ sll $v0, $v0, 8
/* 78A460 802A1600 14620003 */ bne $v1, $v0, .L802A1610
/* 78A464 802A1604 24020002 */ addiu $v0, $zero, 2
.L802A1608:
/* 78A468 802A1608 AE220084 */ sw $v0, 0x84($s1)
/* 78A46C 802A160C 24020002 */ addiu $v0, $zero, 2
.L802A1610:
/* 78A470 802A1610 8FBF0018 */ lw $ra, 0x18($sp)
/* 78A474 802A1614 8FB10014 */ lw $s1, 0x14($sp)
/* 78A478 802A1618 8FB00010 */ lw $s0, 0x10($sp)
/* 78A47C 802A161C 03E00008 */ jr $ra

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_78B600
/* 78B600 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 78B604 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 78B608 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 78B60C 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 78B610 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 78B614 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 78B618 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 78B61C 802A101C 8E050000 */ lw $a1, ($s0)
/* 78B620 802A1020 0C0B1EAF */ jal get_variable
/* 78B624 802A1024 26100004 */ addiu $s0, $s0, 4
/* 78B628 802A1028 8E050000 */ lw $a1, ($s0)
/* 78B62C 802A102C 26100004 */ addiu $s0, $s0, 4
/* 78B630 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 78B634 802A1034 0C0B1EAF */ jal get_variable
/* 78B638 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 78B63C 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 78B640 802A1040 8E050000 */ lw $a1, ($s0)
/* 78B644 802A1044 0C0B1EAF */ jal get_variable
/* 78B648 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 78B64C 802A104C 44921000 */ mtc1 $s2, $f2
/* 78B650 802A1050 00000000 */ nop
/* 78B654 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 78B658 802A1058 44051000 */ mfc1 $a1, $f2
/* 78B65C 802A105C 44901000 */ mtc1 $s0, $f2
/* 78B660 802A1060 00000000 */ nop
/* 78B664 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 78B668 802A1068 44061000 */ mfc1 $a2, $f2
/* 78B66C 802A106C 44821000 */ mtc1 $v0, $f2
/* 78B670 802A1070 00000000 */ nop
/* 78B674 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 78B678 802A1078 3C014220 */ lui $at, 0x4220
/* 78B67C 802A107C 44810000 */ mtc1 $at, $f0
/* 78B680 802A1080 44071000 */ mfc1 $a3, $f2
/* 78B684 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 78B688 802A1088 0C01BFBC */ jal func_8006FEF0
/* 78B68C 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 78B690 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 78B694 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 78B698 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 78B69C 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 78B6A0 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 78B6A4 802A10A4 03E00008 */ jr $ra
/* 78B6A8 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_78B6AC
/* 78B6AC 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 78B6B0 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 78B6B4 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 78B6B8 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 78B6BC 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 78B6C0 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 78B6C4 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 78B6C8 802A10C8 8E050000 */ lw $a1, ($s0)
/* 78B6CC 802A10CC 0C0B1EAF */ jal get_variable
/* 78B6D0 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 78B6D4 802A10D4 8E050000 */ lw $a1, ($s0)
/* 78B6D8 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 78B6DC 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 78B6E0 802A10E0 0C0B1EAF */ jal get_variable
/* 78B6E4 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 78B6E8 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 78B6EC 802A10EC 8E050000 */ lw $a1, ($s0)
/* 78B6F0 802A10F0 0C0B1EAF */ jal get_variable
/* 78B6F4 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 78B6F8 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 78B6FC 802A10FC 44921000 */ mtc1 $s2, $f2
/* 78B700 802A1100 00000000 */ nop
/* 78B704 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 78B708 802A1108 44051000 */ mfc1 $a1, $f2
/* 78B70C 802A110C 44901000 */ mtc1 $s0, $f2
/* 78B710 802A1110 00000000 */ nop
/* 78B714 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 78B718 802A1118 44061000 */ mfc1 $a2, $f2
/* 78B71C 802A111C 44821000 */ mtc1 $v0, $f2
/* 78B720 802A1120 00000000 */ nop
/* 78B724 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 78B728 802A1128 3C014248 */ lui $at, 0x4248
/* 78B72C 802A112C 44810000 */ mtc1 $at, $f0
/* 78B730 802A1130 44071000 */ mfc1 $a3, $f2
/* 78B734 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 78B738 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 78B73C 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 78B740 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 78B744 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78B748 802A1148 0C01C154 */ jal func_80070550
/* 78B74C 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 78B750 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 78B754 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 78B758 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 78B75C 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 78B760 802A1160 24020002 */ addiu $v0, $zero, 2
/* 78B764 802A1164 03E00008 */ jr $ra
/* 78B768 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_78B76C
/* 78B76C 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 78B770 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 78B774 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 78B778 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 78B77C 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 78B780 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 78B784 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 78B788 802A1188 8E050000 */ lw $a1, ($s0)
/* 78B78C 802A118C 0C0B1EAF */ jal get_variable
/* 78B790 802A1190 26100004 */ addiu $s0, $s0, 4
/* 78B794 802A1194 8E050000 */ lw $a1, ($s0)
/* 78B798 802A1198 26100004 */ addiu $s0, $s0, 4
/* 78B79C 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 78B7A0 802A11A0 0C0B1EAF */ jal get_variable
/* 78B7A4 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 78B7A8 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 78B7AC 802A11AC 8E050000 */ lw $a1, ($s0)
/* 78B7B0 802A11B0 0C0B1EAF */ jal get_variable
/* 78B7B4 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 78B7B8 802A11B8 44921000 */ mtc1 $s2, $f2
/* 78B7BC 802A11BC 00000000 */ nop
/* 78B7C0 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 78B7C4 802A11C4 44051000 */ mfc1 $a1, $f2
/* 78B7C8 802A11C8 44901000 */ mtc1 $s0, $f2
/* 78B7CC 802A11CC 00000000 */ nop
/* 78B7D0 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 78B7D4 802A11D4 44061000 */ mfc1 $a2, $f2
/* 78B7D8 802A11D8 44821000 */ mtc1 $v0, $f2
/* 78B7DC 802A11DC 00000000 */ nop
/* 78B7E0 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 78B7E4 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 78B7E8 802A11E8 44810000 */ mtc1 $at, $f0
/* 78B7EC 802A11EC 44071000 */ mfc1 $a3, $f2
/* 78B7F0 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 78B7F4 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 78B7F8 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78B7FC 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 78B800 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 78B804 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 78B808 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 78B80C 802A120C 24020002 */ addiu $v0, $zero, 2
/* 78B810 802A1210 03E00008 */ jr $ra
/* 78B814 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_78B818
/* 78B818 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 78B81C 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 78B820 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 78B824 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 78B828 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 78B82C 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 78B830 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 78B834 802A1234 8E050000 */ lw $a1, ($s0)
/* 78B838 802A1238 0C0B1EAF */ jal get_variable
/* 78B83C 802A123C 26100004 */ addiu $s0, $s0, 4
/* 78B840 802A1240 8E050000 */ lw $a1, ($s0)
/* 78B844 802A1244 26100004 */ addiu $s0, $s0, 4
/* 78B848 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 78B84C 802A124C 0C0B1EAF */ jal get_variable
/* 78B850 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 78B854 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 78B858 802A1258 8E050000 */ lw $a1, ($s0)
/* 78B85C 802A125C 0C0B1EAF */ jal get_variable
/* 78B860 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 78B864 802A1264 24040004 */ addiu $a0, $zero, 4
/* 78B868 802A1268 44922000 */ mtc1 $s2, $f4
/* 78B86C 802A126C 00000000 */ nop
/* 78B870 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 78B874 802A1274 44052000 */ mfc1 $a1, $f4
/* 78B878 802A1278 44902000 */ mtc1 $s0, $f4
/* 78B87C 802A127C 00000000 */ nop
/* 78B880 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 78B884 802A1284 44062000 */ mfc1 $a2, $f4
/* 78B888 802A1288 44822000 */ mtc1 $v0, $f4
/* 78B88C 802A128C 00000000 */ nop
/* 78B890 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 78B894 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 78B898 802A1298 44810000 */ mtc1 $at, $f0
/* 78B89C 802A129C 3C013F80 */ lui $at, 0x3f80
/* 78B8A0 802A12A0 44811000 */ mtc1 $at, $f2
/* 78B8A4 802A12A4 44072000 */ mfc1 $a3, $f4
/* 78B8A8 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 78B8AC 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 78B8B0 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 78B8B4 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 78B8B8 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78B8BC 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 78B8C0 802A12C0 0C01C8D4 */ jal func_80072350
/* 78B8C4 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 78B8C8 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 78B8CC 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 78B8D0 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 78B8D4 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 78B8D8 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 78B8DC 802A12DC 03E00008 */ jr $ra
/* 78B8E0 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_78B8E4
/* 78B8E4 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78B8E8 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 78B8EC 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 78B8F0 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 78B8F4 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 78B8F8 802A12F8 0C04760B */ jal func_8011D82C
/* 78B8FC 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 78B900 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 78B904 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 78B908 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 78B90C 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 78B910 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 78B914 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 78B918 802A1318 24030001 */ addiu $v1, $zero, 1
/* 78B91C 802A131C 0C046F97 */ jal set_background_color_blend
/* 78B920 802A1320 A0430000 */ sb $v1, ($v0)
/* 78B924 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 78B928 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 78B92C 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 78B930 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 78B934 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 78B938 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 78B93C 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 78B940 802A1340 00431023 */ subu $v0, $v0, $v1
/* 78B944 802A1344 00023880 */ sll $a3, $v0, 2
/* 78B948 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 78B94C 802A134C 00073840 */ sll $a3, $a3, 1
/* 78B950 802A1350 0C046F97 */ jal set_background_color_blend
/* 78B954 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 78B958 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 78B95C 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 78B960 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 78B964 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 78B968 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 78B96C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 78B970 802A1370 00021040 */ sll $v0, $v0, 1
/* 78B974 802A1374 03E00008 */ jr $ra
/* 78B978 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_78B97C
/* 78B97C 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78B980 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 78B984 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 78B988 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 78B98C 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 78B990 802A1390 0C04760B */ jal func_8011D82C
/* 78B994 802A1394 24040001 */ addiu $a0, $zero, 1
/* 78B998 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 78B99C 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 78B9A0 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 78B9A4 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 78B9A8 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 78B9AC 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 78B9B0 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 78B9B4 802A13B4 0C046F97 */ jal set_background_color_blend
/* 78B9B8 802A13B8 A0620000 */ sb $v0, ($v1)
/* 78B9BC 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 78B9C0 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 78B9C4 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 78B9C8 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 78B9CC 802A13CC 0C046F97 */ jal set_background_color_blend
/* 78B9D0 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 78B9D4 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 78B9D8 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 78B9DC 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 78B9E0 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 78B9E4 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 78B9E8 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 78B9EC 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 78B9F0 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 78B9F4 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 78B9F8 802A13F8 0C046F97 */ jal set_background_color_blend
/* 78B9FC 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 78BA00 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 78BA04 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 78BA08 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 78BA0C 802A140C 03E00008 */ jr $ra
/* 78BA10 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_78BA14
/* 78BA14 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BA18 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 78BA1C 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 78BA20 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 78BA24 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 78BA28 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 78BA2C 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 78BA30 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 78BA34 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 78BA38 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 78BA3C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 78BA40 802A1440 00023880 */ sll $a3, $v0, 2
/* 78BA44 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 78BA48 802A1448 00073840 */ sll $a3, $a3, 1
/* 78BA4C 802A144C 0C046F97 */ jal set_background_color_blend
/* 78BA50 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 78BA54 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 78BA58 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 78BA5C 802A145C 10400003 */ beqz $v0, .L802A146C
/* 78BA60 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 78BA64 802A1464 080A8521 */ j .L802A1484
/* 78BA68 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 78BA6C 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 78BA70 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 78BA74 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 78BA78 802A1478 0C046F97 */ jal set_background_color_blend
/* 78BA7C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 78BA80 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 78BA84 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 78BA88 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 78BA8C 802A148C 03E00008 */ jr $ra
/* 78BA90 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_78BA94
/* 78BA94 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BA98 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 78BA9C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 78BAA0 802A14A0 0C0B1EAF */ jal get_variable
/* 78BAA4 802A14A4 8C450000 */ lw $a1, ($v0)
/* 78BAA8 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 78BAAC 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 78BAB0 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 78BAB4 802A14B4 00051880 */ sll $v1, $a1, 2
/* 78BAB8 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 78BABC 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 78BAC0 802A14C0 00031880 */ sll $v1, $v1, 2
/* 78BAC4 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 78BAC8 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 78BACC 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 78BAD0 802A14D0 0C098F3F */ jal set_animation
/* 78BAD4 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 78BAD8 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 78BADC 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 78BAE0 802A14E0 03E00008 */ jr $ra
/* 78BAE4 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_78BAE8
/* 78BAE8 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BAEC 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 78BAF0 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 78BAF4 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 78BAF8 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 78BAFC 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 78BB00 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 78BB04 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 78BB08 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 78BB0C 802A150C 24020002 */ addiu $v0, $zero, 2
/* 78BB10 802A1510 03E00008 */ jr $ra
/* 78BB14 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,192 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_78BB18
/* 78BB18 802A1518 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 78BB1C 802A151C AFB1001C */ sw $s1, 0x1c($sp)
/* 78BB20 802A1520 0080882D */ daddu $s1, $a0, $zero
/* 78BB24 802A1524 AFBF0024 */ sw $ra, 0x24($sp)
/* 78BB28 802A1528 AFB20020 */ sw $s2, 0x20($sp)
/* 78BB2C 802A152C AFB00018 */ sw $s0, 0x18($sp)
/* 78BB30 802A1530 8E24000C */ lw $a0, 0xc($s1)
/* 78BB34 802A1534 54A00001 */ bnel $a1, $zero, .L802A153C
/* 78BB38 802A1538 AE200070 */ sw $zero, 0x70($s1)
.L802A153C:
/* 78BB3C 802A153C 24120001 */ addiu $s2, $zero, 1
/* 78BB40 802A1540 8E230070 */ lw $v1, 0x70($s1)
/* 78BB44 802A1544 8E300074 */ lw $s0, 0x74($s1)
/* 78BB48 802A1548 10720027 */ beq $v1, $s2, .L802A15E8
/* 78BB4C 802A154C 28620002 */ slti $v0, $v1, 2
/* 78BB50 802A1550 10400005 */ beqz $v0, .L802A1568
/* 78BB54 802A1554 24020002 */ addiu $v0, $zero, 2
/* 78BB58 802A1558 10600007 */ beqz $v1, .L802A1578
/* 78BB5C 802A155C 0000102D */ daddu $v0, $zero, $zero
/* 78BB60 802A1560 080A85EF */ j .L802A17BC
/* 78BB64 802A1564 00000000 */ nop
.L802A1568:
/* 78BB68 802A1568 10620091 */ beq $v1, $v0, .L802A17B0
/* 78BB6C 802A156C 0000102D */ daddu $v0, $zero, $zero
/* 78BB70 802A1570 080A85EF */ j .L802A17BC
/* 78BB74 802A1574 00000000 */ nop
.L802A1578:
/* 78BB78 802A1578 8C850000 */ lw $a1, ($a0)
/* 78BB7C 802A157C 0C0B1EAF */ jal get_variable
/* 78BB80 802A1580 0220202D */ daddu $a0, $s1, $zero
/* 78BB84 802A1584 0C00EABB */ jal get_npc_unsafe
/* 78BB88 802A1588 0040202D */ daddu $a0, $v0, $zero
/* 78BB8C 802A158C 3C01BFC0 */ lui $at, 0xbfc0
/* 78BB90 802A1590 44810000 */ mtc1 $at, $f0
/* 78BB94 802A1594 3C013CA3 */ lui $at, 0x3ca3
/* 78BB98 802A1598 3421D70A */ ori $at, $at, 0xd70a
/* 78BB9C 802A159C 44811000 */ mtc1 $at, $f2
/* 78BBA0 802A15A0 3C013F80 */ lui $at, 0x3f80
/* 78BBA4 802A15A4 44812000 */ mtc1 $at, $f4
/* 78BBA8 802A15A8 0040802D */ daddu $s0, $v0, $zero
/* 78BBAC 802A15AC AE300074 */ sw $s0, 0x74($s1)
/* 78BBB0 802A15B0 C6060038 */ lwc1 $f6, 0x38($s0)
/* 78BBB4 802A15B4 C608003C */ lwc1 $f8, 0x3c($s0)
/* 78BBB8 802A15B8 C60A0040 */ lwc1 $f10, 0x40($s0)
/* 78BBBC 802A15BC AE000010 */ sw $zero, 0x10($s0)
/* 78BBC0 802A15C0 AE00000C */ sw $zero, 0xc($s0)
/* 78BBC4 802A15C4 A600008E */ sh $zero, 0x8e($s0)
/* 78BBC8 802A15C8 E600001C */ swc1 $f0, 0x1c($s0)
/* 78BBCC 802A15CC E6020014 */ swc1 $f2, 0x14($s0)
/* 78BBD0 802A15D0 E6040018 */ swc1 $f4, 0x18($s0)
/* 78BBD4 802A15D4 E6060060 */ swc1 $f6, 0x60($s0)
/* 78BBD8 802A15D8 E6080064 */ swc1 $f8, 0x64($s0)
/* 78BBDC 802A15DC E60A0068 */ swc1 $f10, 0x68($s0)
/* 78BBE0 802A15E0 080A85EE */ j .L802A17B8
/* 78BBE4 802A15E4 AE320070 */ sw $s2, 0x70($s1)
.L802A15E8:
/* 78BBE8 802A15E8 C602001C */ lwc1 $f2, 0x1c($s0)
/* 78BBEC 802A15EC 44800000 */ mtc1 $zero, $f0
/* 78BBF0 802A15F0 00000000 */ nop
/* 78BBF4 802A15F4 4600103C */ c.lt.s $f2, $f0
/* 78BBF8 802A15F8 00000000 */ nop
/* 78BBFC 802A15FC 4500000D */ bc1f .L802A1634
/* 78BC00 802A1600 00000000 */ nop
/* 78BC04 802A1604 C6000010 */ lwc1 $f0, 0x10($s0)
/* 78BC08 802A1608 3C014008 */ lui $at, 0x4008
/* 78BC0C 802A160C 44811800 */ mtc1 $at, $f3
/* 78BC10 802A1610 44801000 */ mtc1 $zero, $f2
/* 78BC14 802A1614 46000021 */ cvt.d.s $f0, $f0
/* 78BC18 802A1618 46220000 */ add.d $f0, $f0, $f2
/* 78BC1C 802A161C 3C014220 */ lui $at, 0x4220
/* 78BC20 802A1620 44811000 */ mtc1 $at, $f2
/* 78BC24 802A1624 46200020 */ cvt.s.d $f0, $f0
/* 78BC28 802A1628 4600103C */ c.lt.s $f2, $f0
/* 78BC2C 802A162C 080A8598 */ j .L802A1660
/* 78BC30 802A1630 E6000010 */ swc1 $f0, 0x10($s0)
.L802A1634:
/* 78BC34 802A1634 C6000010 */ lwc1 $f0, 0x10($s0)
/* 78BC38 802A1638 3C014000 */ lui $at, 0x4000
/* 78BC3C 802A163C 44811800 */ mtc1 $at, $f3
/* 78BC40 802A1640 44801000 */ mtc1 $zero, $f2
/* 78BC44 802A1644 46000021 */ cvt.d.s $f0, $f0
/* 78BC48 802A1648 46220001 */ sub.d $f0, $f0, $f2
/* 78BC4C 802A164C 3C0141A0 */ lui $at, 0x41a0
/* 78BC50 802A1650 44811000 */ mtc1 $at, $f2
/* 78BC54 802A1654 46200020 */ cvt.s.d $f0, $f0
/* 78BC58 802A1658 4602003C */ c.lt.s $f0, $f2
/* 78BC5C 802A165C E6000010 */ swc1 $f0, 0x10($s0)
.L802A1660:
/* 78BC60 802A1660 45030001 */ bc1tl .L802A1668
/* 78BC64 802A1664 E6020010 */ swc1 $f2, 0x10($s0)
.L802A1668:
/* 78BC68 802A1668 C6000018 */ lwc1 $f0, 0x18($s0)
/* 78BC6C 802A166C 3C013FE8 */ lui $at, 0x3fe8
/* 78BC70 802A1670 44811800 */ mtc1 $at, $f3
/* 78BC74 802A1674 44801000 */ mtc1 $zero, $f2
/* 78BC78 802A1678 C604001C */ lwc1 $f4, 0x1c($s0)
/* 78BC7C 802A167C 46000021 */ cvt.d.s $f0, $f0
/* 78BC80 802A1680 46220000 */ add.d $f0, $f0, $f2
/* 78BC84 802A1684 C6020014 */ lwc1 $f2, 0x14($s0)
/* 78BC88 802A1688 3C014204 */ lui $at, 0x4204
/* 78BC8C 802A168C 44813000 */ mtc1 $at, $f6
/* 78BC90 802A1690 46022100 */ add.s $f4, $f4, $f2
/* 78BC94 802A1694 C602003C */ lwc1 $f2, 0x3c($s0)
/* 78BC98 802A1698 46200020 */ cvt.s.d $f0, $f0
/* 78BC9C 802A169C 4600303C */ c.lt.s $f6, $f0
/* 78BCA0 802A16A0 46041080 */ add.s $f2, $f2, $f4
/* 78BCA4 802A16A4 E6000018 */ swc1 $f0, 0x18($s0)
/* 78BCA8 802A16A8 E604001C */ swc1 $f4, 0x1c($s0)
/* 78BCAC 802A16AC 45000002 */ bc1f .L802A16B8
/* 78BCB0 802A16B0 E602003C */ swc1 $f2, 0x3c($s0)
/* 78BCB4 802A16B4 E6060018 */ swc1 $f6, 0x18($s0)
.L802A16B8:
/* 78BCB8 802A16B8 C602000C */ lwc1 $f2, 0xc($s0)
/* 78BCBC 802A16BC C6000018 */ lwc1 $f0, 0x18($s0)
/* 78BCC0 802A16C0 8E060010 */ lw $a2, 0x10($s0)
/* 78BCC4 802A16C4 46001080 */ add.s $f2, $f2, $f0
/* 78BCC8 802A16C8 C6000060 */ lwc1 $f0, 0x60($s0)
/* 78BCCC 802A16CC 26040038 */ addiu $a0, $s0, 0x38
/* 78BCD0 802A16D0 E602000C */ swc1 $f2, 0xc($s0)
/* 78BCD4 802A16D4 44071000 */ mfc1 $a3, $f2
/* 78BCD8 802A16D8 C6020068 */ lwc1 $f2, 0x68($s0)
/* 78BCDC 802A16DC 26050040 */ addiu $a1, $s0, 0x40
/* 78BCE0 802A16E0 E6000038 */ swc1 $f0, 0x38($s0)
/* 78BCE4 802A16E4 0C00A7E7 */ jal add_vec2D_polar
/* 78BCE8 802A16E8 E6020040 */ swc1 $f2, 0x40($s0)
/* 78BCEC 802A16EC 3C039249 */ lui $v1, 0x9249
/* 78BCF0 802A16F0 9602008E */ lhu $v0, 0x8e($s0)
/* 78BCF4 802A16F4 34632493 */ ori $v1, $v1, 0x2493
/* 78BCF8 802A16F8 00021400 */ sll $v0, $v0, 0x10
/* 78BCFC 802A16FC 00022403 */ sra $a0, $v0, 0x10
/* 78BD00 802A1700 00830018 */ mult $a0, $v1
/* 78BD04 802A1704 000217C3 */ sra $v0, $v0, 0x1f
/* 78BD08 802A1708 00004010 */ mfhi $t0
/* 78BD0C 802A170C 01041821 */ addu $v1, $t0, $a0
/* 78BD10 802A1710 000318C3 */ sra $v1, $v1, 3
/* 78BD14 802A1714 00621823 */ subu $v1, $v1, $v0
/* 78BD18 802A1718 000310C0 */ sll $v0, $v1, 3
/* 78BD1C 802A171C 00431023 */ subu $v0, $v0, $v1
/* 78BD20 802A1720 00021040 */ sll $v0, $v0, 1
/* 78BD24 802A1724 00822023 */ subu $a0, $a0, $v0
/* 78BD28 802A1728 00042400 */ sll $a0, $a0, 0x10
/* 78BD2C 802A172C 1480000A */ bnez $a0, .L802A1758
/* 78BD30 802A1730 00000000 */ nop
/* 78BD34 802A1734 3C0141F0 */ lui $at, 0x41f0
/* 78BD38 802A1738 44810000 */ mtc1 $at, $f0
/* 78BD3C 802A173C 00000000 */ nop
/* 78BD40 802A1740 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78BD44 802A1744 8E050038 */ lw $a1, 0x38($s0)
/* 78BD48 802A1748 8E06003C */ lw $a2, 0x3c($s0)
/* 78BD4C 802A174C 8E070040 */ lw $a3, 0x40($s0)
/* 78BD50 802A1750 0C01BFBC */ jal func_8006FEF0
/* 78BD54 802A1754 0000202D */ daddu $a0, $zero, $zero
.L802A1758:
/* 78BD58 802A1758 9602008E */ lhu $v0, 0x8e($s0)
/* 78BD5C 802A175C 24420001 */ addiu $v0, $v0, 1
/* 78BD60 802A1760 A602008E */ sh $v0, 0x8e($s0)
/* 78BD64 802A1764 00021400 */ sll $v0, $v0, 0x10
/* 78BD68 802A1768 00021403 */ sra $v0, $v0, 0x10
/* 78BD6C 802A176C 28420029 */ slti $v0, $v0, 0x29
/* 78BD70 802A1770 14400005 */ bnez $v0, .L802A1788
/* 78BD74 802A1774 00000000 */ nop
/* 78BD78 802A1778 3C013F00 */ lui $at, 0x3f00
/* 78BD7C 802A177C 44810000 */ mtc1 $at, $f0
/* 78BD80 802A1780 00000000 */ nop
/* 78BD84 802A1784 E6000014 */ swc1 $f0, 0x14($s0)
.L802A1788:
/* 78BD88 802A1788 C602003C */ lwc1 $f2, 0x3c($s0)
/* 78BD8C 802A178C 3C014348 */ lui $at, 0x4348
/* 78BD90 802A1790 44810000 */ mtc1 $at, $f0
/* 78BD94 802A1794 00000000 */ nop
/* 78BD98 802A1798 4602003C */ c.lt.s $f0, $f2
/* 78BD9C 802A179C 00000000 */ nop
/* 78BDA0 802A17A0 45000005 */ bc1f .L802A17B8
/* 78BDA4 802A17A4 24020002 */ addiu $v0, $zero, 2
/* 78BDA8 802A17A8 080A85EE */ j .L802A17B8
/* 78BDAC 802A17AC AE220070 */ sw $v0, 0x70($s1)
.L802A17B0:
/* 78BDB0 802A17B0 080A85EF */ j .L802A17BC
/* 78BDB4 802A17B4 24020002 */ addiu $v0, $zero, 2
.L802A17B8:
/* 78BDB8 802A17B8 0000102D */ daddu $v0, $zero, $zero
.L802A17BC:
/* 78BDBC 802A17BC 8FBF0024 */ lw $ra, 0x24($sp)
/* 78BDC0 802A17C0 8FB20020 */ lw $s2, 0x20($sp)
/* 78BDC4 802A17C4 8FB1001C */ lw $s1, 0x1c($sp)
/* 78BDC8 802A17C8 8FB00018 */ lw $s0, 0x18($sp)
/* 78BDCC 802A17CC 03E00008 */ jr $ra
/* 78BDD0 802A17D0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,33 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A17D4_78BDD4
/* 78BDD4 802A17D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BDD8 802A17D8 AFB00010 */ sw $s0, 0x10($sp)
/* 78BDDC 802A17DC 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
/* 78BDE0 802A17E0 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
/* 78BDE4 802A17E4 AFBF0014 */ sw $ra, 0x14($sp)
/* 78BDE8 802A17E8 82020210 */ lb $v0, 0x210($s0)
/* 78BDEC 802A17EC 10400005 */ beqz $v0, .L802A1804
/* 78BDF0 802A17F0 00000000 */ nop
/* 78BDF4 802A17F4 86040436 */ lh $a0, 0x436($s0)
/* 78BDF8 802A17F8 A2000211 */ sb $zero, 0x211($s0)
/* 78BDFC 802A17FC 0C011E26 */ jal func_80047898
/* 78BE00 802A1800 A2000210 */ sb $zero, 0x210($s0)
.L802A1804:
/* 78BE04 802A1804 82020216 */ lb $v0, 0x216($s0)
/* 78BE08 802A1808 10400006 */ beqz $v0, .L802A1824
/* 78BE0C 802A180C 00000000 */ nop
/* 78BE10 802A1810 8E020440 */ lw $v0, 0x440($s0)
/* 78BE14 802A1814 A2000217 */ sb $zero, 0x217($s0)
/* 78BE18 802A1818 A2000216 */ sb $zero, 0x216($s0)
/* 78BE1C 802A181C 8C42000C */ lw $v0, 0xc($v0)
/* 78BE20 802A1820 AC40003C */ sw $zero, 0x3c($v0)
.L802A1824:
/* 78BE24 802A1824 0C099DDF */ jal func_8026777C
/* 78BE28 802A1828 00000000 */ nop
/* 78BE2C 802A182C 8FBF0014 */ lw $ra, 0x14($sp)
/* 78BE30 802A1830 8FB00010 */ lw $s0, 0x10($sp)
/* 78BE34 802A1834 24020002 */ addiu $v0, $zero, 2
/* 78BE38 802A1838 03E00008 */ jr $ra
/* 78BE3C 802A183C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1840_78BE40
/* 78BE40 802A1840 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BE44 802A1844 AFBF0014 */ sw $ra, 0x14($sp)
/* 78BE48 802A1848 AFB00010 */ sw $s0, 0x10($sp)
/* 78BE4C 802A184C 8C82000C */ lw $v0, 0xc($a0)
/* 78BE50 802A1850 0C0B1EAF */ jal get_variable
/* 78BE54 802A1854 8C450000 */ lw $a1, ($v0)
/* 78BE58 802A1858 3C038011 */ lui $v1, %hi(gPlayerData)
/* 78BE5C 802A185C 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
/* 78BE60 802A1860 80640002 */ lb $a0, 2($v1)
/* 78BE64 802A1864 80650003 */ lb $a1, 3($v1)
/* 78BE68 802A1868 00822021 */ addu $a0, $a0, $v0
/* 78BE6C 802A186C 00A4102A */ slt $v0, $a1, $a0
/* 78BE70 802A1870 10400002 */ beqz $v0, .L802A187C
/* 78BE74 802A1874 0060802D */ daddu $s0, $v1, $zero
/* 78BE78 802A1878 00A0202D */ daddu $a0, $a1, $zero
.L802A187C:
/* 78BE7C 802A187C A2040002 */ sb $a0, 2($s0)
/* 78BE80 802A1880 8FBF0014 */ lw $ra, 0x14($sp)
/* 78BE84 802A1884 8FB00010 */ lw $s0, 0x10($sp)
/* 78BE88 802A1888 24020002 */ addiu $v0, $zero, 2
/* 78BE8C 802A188C 03E00008 */ jr $ra
/* 78BE90 802A1890 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1894_78BE94
/* 78BE94 802A1894 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BE98 802A1898 AFBF0014 */ sw $ra, 0x14($sp)
/* 78BE9C 802A189C AFB00010 */ sw $s0, 0x10($sp)
/* 78BEA0 802A18A0 8C82000C */ lw $v0, 0xc($a0)
/* 78BEA4 802A18A4 0C0B1EAF */ jal get_variable
/* 78BEA8 802A18A8 8C450000 */ lw $a1, ($v0)
/* 78BEAC 802A18AC 3C038011 */ lui $v1, %hi(gPlayerData)
/* 78BEB0 802A18B0 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
/* 78BEB4 802A18B4 80640005 */ lb $a0, 5($v1)
/* 78BEB8 802A18B8 80650006 */ lb $a1, 6($v1)
/* 78BEBC 802A18BC 00822021 */ addu $a0, $a0, $v0
/* 78BEC0 802A18C0 00A4102A */ slt $v0, $a1, $a0
/* 78BEC4 802A18C4 10400002 */ beqz $v0, .L802A18D0
/* 78BEC8 802A18C8 0060802D */ daddu $s0, $v1, $zero
/* 78BECC 802A18CC 00A0202D */ daddu $a0, $a1, $zero
.L802A18D0:
/* 78BED0 802A18D0 A2040005 */ sb $a0, 5($s0)
/* 78BED4 802A18D4 8FBF0014 */ lw $ra, 0x14($sp)
/* 78BED8 802A18D8 8FB00010 */ lw $s0, 0x10($sp)
/* 78BEDC 802A18DC 24020002 */ addiu $v0, $zero, 2
/* 78BEE0 802A18E0 03E00008 */ jr $ra
/* 78BEE4 802A18E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A18E8_78BEE8
/* 78BEE8 802A18E8 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 78BEEC 802A18EC AFB1001C */ sw $s1, 0x1c($sp)
/* 78BEF0 802A18F0 0080882D */ daddu $s1, $a0, $zero
/* 78BEF4 802A18F4 AFBF0028 */ sw $ra, 0x28($sp)
/* 78BEF8 802A18F8 AFB30024 */ sw $s3, 0x24($sp)
/* 78BEFC 802A18FC AFB20020 */ sw $s2, 0x20($sp)
/* 78BF00 802A1900 AFB00018 */ sw $s0, 0x18($sp)
/* 78BF04 802A1904 8E30000C */ lw $s0, 0xc($s1)
/* 78BF08 802A1908 8E050000 */ lw $a1, ($s0)
/* 78BF0C 802A190C 0C0B1EAF */ jal get_variable
/* 78BF10 802A1910 26100004 */ addiu $s0, $s0, 4
/* 78BF14 802A1914 8E050000 */ lw $a1, ($s0)
/* 78BF18 802A1918 26100004 */ addiu $s0, $s0, 4
/* 78BF1C 802A191C 0220202D */ daddu $a0, $s1, $zero
/* 78BF20 802A1920 0C0B1EAF */ jal get_variable
/* 78BF24 802A1924 0040982D */ daddu $s3, $v0, $zero
/* 78BF28 802A1928 8E050000 */ lw $a1, ($s0)
/* 78BF2C 802A192C 26100004 */ addiu $s0, $s0, 4
/* 78BF30 802A1930 0220202D */ daddu $a0, $s1, $zero
/* 78BF34 802A1934 0C0B1EAF */ jal get_variable
/* 78BF38 802A1938 0040902D */ daddu $s2, $v0, $zero
/* 78BF3C 802A193C 0220202D */ daddu $a0, $s1, $zero
/* 78BF40 802A1940 8E050000 */ lw $a1, ($s0)
/* 78BF44 802A1944 0C0B1EAF */ jal get_variable
/* 78BF48 802A1948 0040802D */ daddu $s0, $v0, $zero
/* 78BF4C 802A194C 44930000 */ mtc1 $s3, $f0
/* 78BF50 802A1950 00000000 */ nop
/* 78BF54 802A1954 46800020 */ cvt.s.w $f0, $f0
/* 78BF58 802A1958 44050000 */ mfc1 $a1, $f0
/* 78BF5C 802A195C 44920000 */ mtc1 $s2, $f0
/* 78BF60 802A1960 00000000 */ nop
/* 78BF64 802A1964 46800020 */ cvt.s.w $f0, $f0
/* 78BF68 802A1968 44060000 */ mfc1 $a2, $f0
/* 78BF6C 802A196C 44900000 */ mtc1 $s0, $f0
/* 78BF70 802A1970 00000000 */ nop
/* 78BF74 802A1974 46800020 */ cvt.s.w $f0, $f0
/* 78BF78 802A1978 44070000 */ mfc1 $a3, $f0
/* 78BF7C 802A197C 0000202D */ daddu $a0, $zero, $zero
/* 78BF80 802A1980 0C01C424 */ jal func_80071090
/* 78BF84 802A1984 AFA20010 */ sw $v0, 0x10($sp)
/* 78BF88 802A1988 8FBF0028 */ lw $ra, 0x28($sp)
/* 78BF8C 802A198C 8FB30024 */ lw $s3, 0x24($sp)
/* 78BF90 802A1990 8FB20020 */ lw $s2, 0x20($sp)
/* 78BF94 802A1994 8FB1001C */ lw $s1, 0x1c($sp)
/* 78BF98 802A1998 8FB00018 */ lw $s0, 0x18($sp)
/* 78BF9C 802A199C 24020002 */ addiu $v0, $zero, 2
/* 78BFA0 802A19A0 03E00008 */ jr $ra
/* 78BFA4 802A19A4 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,54 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A19A8_78BFA8
/* 78BFA8 802A19A8 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 78BFAC 802A19AC AFB1001C */ sw $s1, 0x1c($sp)
/* 78BFB0 802A19B0 0080882D */ daddu $s1, $a0, $zero
/* 78BFB4 802A19B4 AFBF0028 */ sw $ra, 0x28($sp)
/* 78BFB8 802A19B8 AFB30024 */ sw $s3, 0x24($sp)
/* 78BFBC 802A19BC AFB20020 */ sw $s2, 0x20($sp)
/* 78BFC0 802A19C0 AFB00018 */ sw $s0, 0x18($sp)
/* 78BFC4 802A19C4 8E30000C */ lw $s0, 0xc($s1)
/* 78BFC8 802A19C8 8E050000 */ lw $a1, ($s0)
/* 78BFCC 802A19CC 0C0B1EAF */ jal get_variable
/* 78BFD0 802A19D0 26100004 */ addiu $s0, $s0, 4
/* 78BFD4 802A19D4 8E050000 */ lw $a1, ($s0)
/* 78BFD8 802A19D8 26100004 */ addiu $s0, $s0, 4
/* 78BFDC 802A19DC 0220202D */ daddu $a0, $s1, $zero
/* 78BFE0 802A19E0 0C0B1EAF */ jal get_variable
/* 78BFE4 802A19E4 0040982D */ daddu $s3, $v0, $zero
/* 78BFE8 802A19E8 8E050000 */ lw $a1, ($s0)
/* 78BFEC 802A19EC 26100004 */ addiu $s0, $s0, 4
/* 78BFF0 802A19F0 0220202D */ daddu $a0, $s1, $zero
/* 78BFF4 802A19F4 0C0B1EAF */ jal get_variable
/* 78BFF8 802A19F8 0040902D */ daddu $s2, $v0, $zero
/* 78BFFC 802A19FC 0220202D */ daddu $a0, $s1, $zero
/* 78C000 802A1A00 8E050000 */ lw $a1, ($s0)
/* 78C004 802A1A04 0C0B1EAF */ jal get_variable
/* 78C008 802A1A08 0040802D */ daddu $s0, $v0, $zero
/* 78C00C 802A1A0C 44930000 */ mtc1 $s3, $f0
/* 78C010 802A1A10 00000000 */ nop
/* 78C014 802A1A14 46800020 */ cvt.s.w $f0, $f0
/* 78C018 802A1A18 44050000 */ mfc1 $a1, $f0
/* 78C01C 802A1A1C 44920000 */ mtc1 $s2, $f0
/* 78C020 802A1A20 00000000 */ nop
/* 78C024 802A1A24 46800020 */ cvt.s.w $f0, $f0
/* 78C028 802A1A28 44060000 */ mfc1 $a2, $f0
/* 78C02C 802A1A2C 44900000 */ mtc1 $s0, $f0
/* 78C030 802A1A30 00000000 */ nop
/* 78C034 802A1A34 46800020 */ cvt.s.w $f0, $f0
/* 78C038 802A1A38 44070000 */ mfc1 $a3, $f0
/* 78C03C 802A1A3C 24040001 */ addiu $a0, $zero, 1
/* 78C040 802A1A40 0C01C424 */ jal func_80071090
/* 78C044 802A1A44 AFA20010 */ sw $v0, 0x10($sp)
/* 78C048 802A1A48 8FBF0028 */ lw $ra, 0x28($sp)
/* 78C04C 802A1A4C 8FB30024 */ lw $s3, 0x24($sp)
/* 78C050 802A1A50 8FB20020 */ lw $s2, 0x20($sp)
/* 78C054 802A1A54 8FB1001C */ lw $s1, 0x1c($sp)
/* 78C058 802A1A58 8FB00018 */ lw $s0, 0x18($sp)
/* 78C05C 802A1A5C 24020002 */ addiu $v0, $zero, 2
/* 78C060 802A1A60 03E00008 */ jr $ra
/* 78C064 802A1A64 27BD0030 */ addiu $sp, $sp, 0x30
/* 78C068 802A1A68 00000000 */ nop
/* 78C06C 802A1A6C 00000000 */ nop

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_78D150
/* 78D150 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 78D154 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 78D158 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 78D15C 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 78D160 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 78D164 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 78D168 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 78D16C 802A101C 8E050000 */ lw $a1, ($s0)
/* 78D170 802A1020 0C0B1EAF */ jal get_variable
/* 78D174 802A1024 26100004 */ addiu $s0, $s0, 4
/* 78D178 802A1028 8E050000 */ lw $a1, ($s0)
/* 78D17C 802A102C 26100004 */ addiu $s0, $s0, 4
/* 78D180 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 78D184 802A1034 0C0B1EAF */ jal get_variable
/* 78D188 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 78D18C 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 78D190 802A1040 8E050000 */ lw $a1, ($s0)
/* 78D194 802A1044 0C0B1EAF */ jal get_variable
/* 78D198 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 78D19C 802A104C 44921000 */ mtc1 $s2, $f2
/* 78D1A0 802A1050 00000000 */ nop
/* 78D1A4 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 78D1A8 802A1058 44051000 */ mfc1 $a1, $f2
/* 78D1AC 802A105C 44901000 */ mtc1 $s0, $f2
/* 78D1B0 802A1060 00000000 */ nop
/* 78D1B4 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 78D1B8 802A1068 44061000 */ mfc1 $a2, $f2
/* 78D1BC 802A106C 44821000 */ mtc1 $v0, $f2
/* 78D1C0 802A1070 00000000 */ nop
/* 78D1C4 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 78D1C8 802A1078 3C014220 */ lui $at, 0x4220
/* 78D1CC 802A107C 44810000 */ mtc1 $at, $f0
/* 78D1D0 802A1080 44071000 */ mfc1 $a3, $f2
/* 78D1D4 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 78D1D8 802A1088 0C01BFBC */ jal func_8006FEF0
/* 78D1DC 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 78D1E0 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 78D1E4 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 78D1E8 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 78D1EC 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 78D1F0 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 78D1F4 802A10A4 03E00008 */ jr $ra
/* 78D1F8 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_78D1FC
/* 78D1FC 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 78D200 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 78D204 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 78D208 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 78D20C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 78D210 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 78D214 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 78D218 802A10C8 8E050000 */ lw $a1, ($s0)
/* 78D21C 802A10CC 0C0B1EAF */ jal get_variable
/* 78D220 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 78D224 802A10D4 8E050000 */ lw $a1, ($s0)
/* 78D228 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 78D22C 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 78D230 802A10E0 0C0B1EAF */ jal get_variable
/* 78D234 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 78D238 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 78D23C 802A10EC 8E050000 */ lw $a1, ($s0)
/* 78D240 802A10F0 0C0B1EAF */ jal get_variable
/* 78D244 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 78D248 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 78D24C 802A10FC 44921000 */ mtc1 $s2, $f2
/* 78D250 802A1100 00000000 */ nop
/* 78D254 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 78D258 802A1108 44051000 */ mfc1 $a1, $f2
/* 78D25C 802A110C 44901000 */ mtc1 $s0, $f2
/* 78D260 802A1110 00000000 */ nop
/* 78D264 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 78D268 802A1118 44061000 */ mfc1 $a2, $f2
/* 78D26C 802A111C 44821000 */ mtc1 $v0, $f2
/* 78D270 802A1120 00000000 */ nop
/* 78D274 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 78D278 802A1128 3C014248 */ lui $at, 0x4248
/* 78D27C 802A112C 44810000 */ mtc1 $at, $f0
/* 78D280 802A1130 44071000 */ mfc1 $a3, $f2
/* 78D284 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 78D288 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 78D28C 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 78D290 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 78D294 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78D298 802A1148 0C01C154 */ jal func_80070550
/* 78D29C 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 78D2A0 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 78D2A4 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 78D2A8 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 78D2AC 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 78D2B0 802A1160 24020002 */ addiu $v0, $zero, 2
/* 78D2B4 802A1164 03E00008 */ jr $ra
/* 78D2B8 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_78D2BC
/* 78D2BC 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 78D2C0 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 78D2C4 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 78D2C8 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 78D2CC 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 78D2D0 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 78D2D4 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 78D2D8 802A1188 8E050000 */ lw $a1, ($s0)
/* 78D2DC 802A118C 0C0B1EAF */ jal get_variable
/* 78D2E0 802A1190 26100004 */ addiu $s0, $s0, 4
/* 78D2E4 802A1194 8E050000 */ lw $a1, ($s0)
/* 78D2E8 802A1198 26100004 */ addiu $s0, $s0, 4
/* 78D2EC 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 78D2F0 802A11A0 0C0B1EAF */ jal get_variable
/* 78D2F4 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 78D2F8 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 78D2FC 802A11AC 8E050000 */ lw $a1, ($s0)
/* 78D300 802A11B0 0C0B1EAF */ jal get_variable
/* 78D304 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 78D308 802A11B8 44921000 */ mtc1 $s2, $f2
/* 78D30C 802A11BC 00000000 */ nop
/* 78D310 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 78D314 802A11C4 44051000 */ mfc1 $a1, $f2
/* 78D318 802A11C8 44901000 */ mtc1 $s0, $f2
/* 78D31C 802A11CC 00000000 */ nop
/* 78D320 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 78D324 802A11D4 44061000 */ mfc1 $a2, $f2
/* 78D328 802A11D8 44821000 */ mtc1 $v0, $f2
/* 78D32C 802A11DC 00000000 */ nop
/* 78D330 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 78D334 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 78D338 802A11E8 44810000 */ mtc1 $at, $f0
/* 78D33C 802A11EC 44071000 */ mfc1 $a3, $f2
/* 78D340 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 78D344 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 78D348 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78D34C 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 78D350 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 78D354 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 78D358 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 78D35C 802A120C 24020002 */ addiu $v0, $zero, 2
/* 78D360 802A1210 03E00008 */ jr $ra
/* 78D364 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_78D368
/* 78D368 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 78D36C 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 78D370 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 78D374 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 78D378 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 78D37C 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 78D380 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 78D384 802A1234 8E050000 */ lw $a1, ($s0)
/* 78D388 802A1238 0C0B1EAF */ jal get_variable
/* 78D38C 802A123C 26100004 */ addiu $s0, $s0, 4
/* 78D390 802A1240 8E050000 */ lw $a1, ($s0)
/* 78D394 802A1244 26100004 */ addiu $s0, $s0, 4
/* 78D398 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 78D39C 802A124C 0C0B1EAF */ jal get_variable
/* 78D3A0 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 78D3A4 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 78D3A8 802A1258 8E050000 */ lw $a1, ($s0)
/* 78D3AC 802A125C 0C0B1EAF */ jal get_variable
/* 78D3B0 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 78D3B4 802A1264 24040004 */ addiu $a0, $zero, 4
/* 78D3B8 802A1268 44922000 */ mtc1 $s2, $f4
/* 78D3BC 802A126C 00000000 */ nop
/* 78D3C0 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 78D3C4 802A1274 44052000 */ mfc1 $a1, $f4
/* 78D3C8 802A1278 44902000 */ mtc1 $s0, $f4
/* 78D3CC 802A127C 00000000 */ nop
/* 78D3D0 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 78D3D4 802A1284 44062000 */ mfc1 $a2, $f4
/* 78D3D8 802A1288 44822000 */ mtc1 $v0, $f4
/* 78D3DC 802A128C 00000000 */ nop
/* 78D3E0 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 78D3E4 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 78D3E8 802A1298 44810000 */ mtc1 $at, $f0
/* 78D3EC 802A129C 3C013F80 */ lui $at, 0x3f80
/* 78D3F0 802A12A0 44811000 */ mtc1 $at, $f2
/* 78D3F4 802A12A4 44072000 */ mfc1 $a3, $f4
/* 78D3F8 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 78D3FC 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 78D400 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 78D404 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 78D408 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78D40C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 78D410 802A12C0 0C01C8D4 */ jal func_80072350
/* 78D414 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 78D418 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 78D41C 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 78D420 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 78D424 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 78D428 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 78D42C 802A12DC 03E00008 */ jr $ra
/* 78D430 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_78D434
/* 78D434 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78D438 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 78D43C 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 78D440 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 78D444 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 78D448 802A12F8 0C04760B */ jal func_8011D82C
/* 78D44C 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 78D450 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 78D454 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 78D458 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 78D45C 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 78D460 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 78D464 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 78D468 802A1318 24030001 */ addiu $v1, $zero, 1
/* 78D46C 802A131C 0C046F97 */ jal set_background_color_blend
/* 78D470 802A1320 A0430000 */ sb $v1, ($v0)
/* 78D474 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 78D478 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 78D47C 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 78D480 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 78D484 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 78D488 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 78D48C 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 78D490 802A1340 00431023 */ subu $v0, $v0, $v1
/* 78D494 802A1344 00023880 */ sll $a3, $v0, 2
/* 78D498 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 78D49C 802A134C 00073840 */ sll $a3, $a3, 1
/* 78D4A0 802A1350 0C046F97 */ jal set_background_color_blend
/* 78D4A4 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 78D4A8 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 78D4AC 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 78D4B0 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 78D4B4 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 78D4B8 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 78D4BC 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 78D4C0 802A1370 00021040 */ sll $v0, $v0, 1
/* 78D4C4 802A1374 03E00008 */ jr $ra
/* 78D4C8 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_78D4CC
/* 78D4CC 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78D4D0 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 78D4D4 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 78D4D8 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 78D4DC 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 78D4E0 802A1390 0C04760B */ jal func_8011D82C
/* 78D4E4 802A1394 24040001 */ addiu $a0, $zero, 1
/* 78D4E8 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 78D4EC 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 78D4F0 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 78D4F4 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 78D4F8 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 78D4FC 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 78D500 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 78D504 802A13B4 0C046F97 */ jal set_background_color_blend
/* 78D508 802A13B8 A0620000 */ sb $v0, ($v1)
/* 78D50C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 78D510 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 78D514 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 78D518 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 78D51C 802A13CC 0C046F97 */ jal set_background_color_blend
/* 78D520 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 78D524 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 78D528 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 78D52C 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 78D530 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 78D534 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 78D538 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 78D53C 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 78D540 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 78D544 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 78D548 802A13F8 0C046F97 */ jal set_background_color_blend
/* 78D54C 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 78D550 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 78D554 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 78D558 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 78D55C 802A140C 03E00008 */ jr $ra
/* 78D560 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_78D564
/* 78D564 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78D568 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 78D56C 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 78D570 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 78D574 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 78D578 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 78D57C 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 78D580 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 78D584 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 78D588 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 78D58C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 78D590 802A1440 00023880 */ sll $a3, $v0, 2
/* 78D594 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 78D598 802A1448 00073840 */ sll $a3, $a3, 1
/* 78D59C 802A144C 0C046F97 */ jal set_background_color_blend
/* 78D5A0 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 78D5A4 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 78D5A8 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 78D5AC 802A145C 10400003 */ beqz $v0, .L802A146C
/* 78D5B0 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 78D5B4 802A1464 080A8521 */ j .L802A1484
/* 78D5B8 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 78D5BC 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 78D5C0 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 78D5C4 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 78D5C8 802A1478 0C046F97 */ jal set_background_color_blend
/* 78D5CC 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 78D5D0 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 78D5D4 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 78D5D8 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 78D5DC 802A148C 03E00008 */ jr $ra
/* 78D5E0 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_78D5E4
/* 78D5E4 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78D5E8 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 78D5EC 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 78D5F0 802A14A0 0C0B1EAF */ jal get_variable
/* 78D5F4 802A14A4 8C450000 */ lw $a1, ($v0)
/* 78D5F8 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 78D5FC 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 78D600 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 78D604 802A14B4 00051880 */ sll $v1, $a1, 2
/* 78D608 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 78D60C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 78D610 802A14C0 00031880 */ sll $v1, $v1, 2
/* 78D614 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 78D618 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 78D61C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 78D620 802A14D0 0C098F3F */ jal set_animation
/* 78D624 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 78D628 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 78D62C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 78D630 802A14E0 03E00008 */ jr $ra
/* 78D634 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_78D638
/* 78D638 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78D63C 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 78D640 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 78D644 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 78D648 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 78D64C 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 78D650 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 78D654 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 78D658 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 78D65C 802A150C 24020002 */ addiu $v0, $zero, 2
/* 78D660 802A1510 03E00008 */ jr $ra
/* 78D664 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,74 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_78D668
/* 78D668 802A1518 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 78D66C 802A151C AFB10014 */ sw $s1, 0x14($sp)
/* 78D670 802A1520 0080882D */ daddu $s1, $a0, $zero
/* 78D674 802A1524 AFBF0018 */ sw $ra, 0x18($sp)
/* 78D678 802A1528 10A00002 */ beqz $a1, .L802A1534
/* 78D67C 802A152C AFB00010 */ sw $s0, 0x10($sp)
/* 78D680 802A1530 AE200070 */ sw $zero, 0x70($s1)
.L802A1534:
/* 78D684 802A1534 8E230070 */ lw $v1, 0x70($s1)
/* 78D688 802A1538 10600005 */ beqz $v1, .L802A1550
/* 78D68C 802A153C 24020001 */ addiu $v0, $zero, 1
/* 78D690 802A1540 10620008 */ beq $v1, $v0, .L802A1564
/* 78D694 802A1544 0000102D */ daddu $v0, $zero, $zero
/* 78D698 802A1548 080A8582 */ j .L802A1608
/* 78D69C 802A154C 00000000 */ nop
.L802A1550:
/* 78D6A0 802A1550 2402FFB0 */ addiu $v0, $zero, -0x50
/* 78D6A4 802A1554 AE220078 */ sw $v0, 0x78($s1)
/* 78D6A8 802A1558 24020001 */ addiu $v0, $zero, 1
/* 78D6AC 802A155C AE200074 */ sw $zero, 0x74($s1)
/* 78D6B0 802A1560 AE220070 */ sw $v0, 0x70($s1)
.L802A1564:
/* 78D6B4 802A1564 3C0140C9 */ lui $at, 0x40c9
/* 78D6B8 802A1568 34210FD0 */ ori $at, $at, 0xfd0
/* 78D6BC 802A156C 44810000 */ mtc1 $at, $f0
/* 78D6C0 802A1570 C62C0074 */ lwc1 $f12, 0x74($s1)
/* 78D6C4 802A1574 46806320 */ cvt.s.w $f12, $f12
/* 78D6C8 802A1578 46006302 */ mul.s $f12, $f12, $f0
/* 78D6CC 802A157C 00000000 */ nop
/* 78D6D0 802A1580 3C0143B4 */ lui $at, 0x43b4
/* 78D6D4 802A1584 44810000 */ mtc1 $at, $f0
/* 78D6D8 802A1588 8E300078 */ lw $s0, 0x78($s1)
/* 78D6DC 802A158C 0C00A85B */ jal sin_rad
/* 78D6E0 802A1590 46006303 */ div.s $f12, $f12, $f0
/* 78D6E4 802A1594 3C0141F0 */ lui $at, 0x41f0
/* 78D6E8 802A1598 44811000 */ mtc1 $at, $f2
/* 78D6EC 802A159C 00000000 */ nop
/* 78D6F0 802A15A0 46020002 */ mul.s $f0, $f0, $f2
/* 78D6F4 802A15A4 00000000 */ nop
/* 78D6F8 802A15A8 46020000 */ add.s $f0, $f0, $f2
/* 78D6FC 802A15AC 3C074248 */ lui $a3, 0x4248
/* 78D700 802A15B0 4600010D */ trunc.w.s $f4, $f0
/* 78D704 802A15B4 44022000 */ mfc1 $v0, $f4
/* 78D708 802A15B8 44902000 */ mtc1 $s0, $f4
/* 78D70C 802A15BC 00000000 */ nop
/* 78D710 802A15C0 46802120 */ cvt.s.w $f4, $f4
/* 78D714 802A15C4 44052000 */ mfc1 $a1, $f4
/* 78D718 802A15C8 44822000 */ mtc1 $v0, $f4
/* 78D71C 802A15CC 00000000 */ nop
/* 78D720 802A15D0 46802120 */ cvt.s.w $f4, $f4
/* 78D724 802A15D4 44062000 */ mfc1 $a2, $f4
/* 78D728 802A15D8 0C01C1B4 */ jal func_800706D0
/* 78D72C 802A15DC 0000202D */ daddu $a0, $zero, $zero
/* 78D730 802A15E0 24020002 */ addiu $v0, $zero, 2
/* 78D734 802A15E4 8E230078 */ lw $v1, 0x78($s1)
/* 78D738 802A15E8 8E240074 */ lw $a0, 0x74($s1)
/* 78D73C 802A15EC 2463000E */ addiu $v1, $v1, 0xe
/* 78D740 802A15F0 24840014 */ addiu $a0, $a0, 0x14
/* 78D744 802A15F4 AE240074 */ sw $a0, 0x74($s1)
/* 78D748 802A15F8 28840168 */ slti $a0, $a0, 0x168
/* 78D74C 802A15FC 10800002 */ beqz $a0, .L802A1608
/* 78D750 802A1600 AE230078 */ sw $v1, 0x78($s1)
/* 78D754 802A1604 0000102D */ daddu $v0, $zero, $zero
.L802A1608:
/* 78D758 802A1608 8FBF0018 */ lw $ra, 0x18($sp)
/* 78D75C 802A160C 8FB10014 */ lw $s1, 0x14($sp)
/* 78D760 802A1610 8FB00010 */ lw $s0, 0x10($sp)
/* 78D764 802A1614 03E00008 */ jr $ra
/* 78D768 802A1618 27BD0020 */ addiu $sp, $sp, 0x20
/* 78D76C 802A161C 00000000 */ nop

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_78E7D0
/* 78E7D0 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 78E7D4 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 78E7D8 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 78E7DC 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 78E7E0 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 78E7E4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 78E7E8 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 78E7EC 802A101C 8E050000 */ lw $a1, ($s0)
/* 78E7F0 802A1020 0C0B1EAF */ jal get_variable
/* 78E7F4 802A1024 26100004 */ addiu $s0, $s0, 4
/* 78E7F8 802A1028 8E050000 */ lw $a1, ($s0)
/* 78E7FC 802A102C 26100004 */ addiu $s0, $s0, 4
/* 78E800 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 78E804 802A1034 0C0B1EAF */ jal get_variable
/* 78E808 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 78E80C 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 78E810 802A1040 8E050000 */ lw $a1, ($s0)
/* 78E814 802A1044 0C0B1EAF */ jal get_variable
/* 78E818 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 78E81C 802A104C 44921000 */ mtc1 $s2, $f2
/* 78E820 802A1050 00000000 */ nop
/* 78E824 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 78E828 802A1058 44051000 */ mfc1 $a1, $f2
/* 78E82C 802A105C 44901000 */ mtc1 $s0, $f2
/* 78E830 802A1060 00000000 */ nop
/* 78E834 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 78E838 802A1068 44061000 */ mfc1 $a2, $f2
/* 78E83C 802A106C 44821000 */ mtc1 $v0, $f2
/* 78E840 802A1070 00000000 */ nop
/* 78E844 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 78E848 802A1078 3C014220 */ lui $at, 0x4220
/* 78E84C 802A107C 44810000 */ mtc1 $at, $f0
/* 78E850 802A1080 44071000 */ mfc1 $a3, $f2
/* 78E854 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 78E858 802A1088 0C01BFBC */ jal func_8006FEF0
/* 78E85C 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 78E860 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 78E864 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 78E868 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 78E86C 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 78E870 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 78E874 802A10A4 03E00008 */ jr $ra
/* 78E878 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_78E87C
/* 78E87C 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 78E880 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 78E884 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 78E888 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 78E88C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 78E890 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 78E894 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 78E898 802A10C8 8E050000 */ lw $a1, ($s0)
/* 78E89C 802A10CC 0C0B1EAF */ jal get_variable
/* 78E8A0 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 78E8A4 802A10D4 8E050000 */ lw $a1, ($s0)
/* 78E8A8 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 78E8AC 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 78E8B0 802A10E0 0C0B1EAF */ jal get_variable
/* 78E8B4 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 78E8B8 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 78E8BC 802A10EC 8E050000 */ lw $a1, ($s0)
/* 78E8C0 802A10F0 0C0B1EAF */ jal get_variable
/* 78E8C4 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 78E8C8 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 78E8CC 802A10FC 44921000 */ mtc1 $s2, $f2
/* 78E8D0 802A1100 00000000 */ nop
/* 78E8D4 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 78E8D8 802A1108 44051000 */ mfc1 $a1, $f2
/* 78E8DC 802A110C 44901000 */ mtc1 $s0, $f2
/* 78E8E0 802A1110 00000000 */ nop
/* 78E8E4 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 78E8E8 802A1118 44061000 */ mfc1 $a2, $f2
/* 78E8EC 802A111C 44821000 */ mtc1 $v0, $f2
/* 78E8F0 802A1120 00000000 */ nop
/* 78E8F4 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 78E8F8 802A1128 3C014248 */ lui $at, 0x4248
/* 78E8FC 802A112C 44810000 */ mtc1 $at, $f0
/* 78E900 802A1130 44071000 */ mfc1 $a3, $f2
/* 78E904 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 78E908 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 78E90C 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 78E910 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 78E914 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78E918 802A1148 0C01C154 */ jal func_80070550
/* 78E91C 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 78E920 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 78E924 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 78E928 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 78E92C 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 78E930 802A1160 24020002 */ addiu $v0, $zero, 2
/* 78E934 802A1164 03E00008 */ jr $ra
/* 78E938 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_78E93C
/* 78E93C 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 78E940 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 78E944 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 78E948 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 78E94C 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 78E950 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 78E954 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 78E958 802A1188 8E050000 */ lw $a1, ($s0)
/* 78E95C 802A118C 0C0B1EAF */ jal get_variable
/* 78E960 802A1190 26100004 */ addiu $s0, $s0, 4
/* 78E964 802A1194 8E050000 */ lw $a1, ($s0)
/* 78E968 802A1198 26100004 */ addiu $s0, $s0, 4
/* 78E96C 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 78E970 802A11A0 0C0B1EAF */ jal get_variable
/* 78E974 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 78E978 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 78E97C 802A11AC 8E050000 */ lw $a1, ($s0)
/* 78E980 802A11B0 0C0B1EAF */ jal get_variable
/* 78E984 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 78E988 802A11B8 44921000 */ mtc1 $s2, $f2
/* 78E98C 802A11BC 00000000 */ nop
/* 78E990 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 78E994 802A11C4 44051000 */ mfc1 $a1, $f2
/* 78E998 802A11C8 44901000 */ mtc1 $s0, $f2
/* 78E99C 802A11CC 00000000 */ nop
/* 78E9A0 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 78E9A4 802A11D4 44061000 */ mfc1 $a2, $f2
/* 78E9A8 802A11D8 44821000 */ mtc1 $v0, $f2
/* 78E9AC 802A11DC 00000000 */ nop
/* 78E9B0 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 78E9B4 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 78E9B8 802A11E8 44810000 */ mtc1 $at, $f0
/* 78E9BC 802A11EC 44071000 */ mfc1 $a3, $f2
/* 78E9C0 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 78E9C4 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 78E9C8 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78E9CC 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 78E9D0 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 78E9D4 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 78E9D8 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 78E9DC 802A120C 24020002 */ addiu $v0, $zero, 2
/* 78E9E0 802A1210 03E00008 */ jr $ra
/* 78E9E4 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_78E9E8
/* 78E9E8 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 78E9EC 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 78E9F0 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 78E9F4 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 78E9F8 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 78E9FC 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 78EA00 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 78EA04 802A1234 8E050000 */ lw $a1, ($s0)
/* 78EA08 802A1238 0C0B1EAF */ jal get_variable
/* 78EA0C 802A123C 26100004 */ addiu $s0, $s0, 4
/* 78EA10 802A1240 8E050000 */ lw $a1, ($s0)
/* 78EA14 802A1244 26100004 */ addiu $s0, $s0, 4
/* 78EA18 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 78EA1C 802A124C 0C0B1EAF */ jal get_variable
/* 78EA20 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 78EA24 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 78EA28 802A1258 8E050000 */ lw $a1, ($s0)
/* 78EA2C 802A125C 0C0B1EAF */ jal get_variable
/* 78EA30 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 78EA34 802A1264 24040004 */ addiu $a0, $zero, 4
/* 78EA38 802A1268 44922000 */ mtc1 $s2, $f4
/* 78EA3C 802A126C 00000000 */ nop
/* 78EA40 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 78EA44 802A1274 44052000 */ mfc1 $a1, $f4
/* 78EA48 802A1278 44902000 */ mtc1 $s0, $f4
/* 78EA4C 802A127C 00000000 */ nop
/* 78EA50 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 78EA54 802A1284 44062000 */ mfc1 $a2, $f4
/* 78EA58 802A1288 44822000 */ mtc1 $v0, $f4
/* 78EA5C 802A128C 00000000 */ nop
/* 78EA60 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 78EA64 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 78EA68 802A1298 44810000 */ mtc1 $at, $f0
/* 78EA6C 802A129C 3C013F80 */ lui $at, 0x3f80
/* 78EA70 802A12A0 44811000 */ mtc1 $at, $f2
/* 78EA74 802A12A4 44072000 */ mfc1 $a3, $f4
/* 78EA78 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 78EA7C 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 78EA80 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 78EA84 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 78EA88 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78EA8C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 78EA90 802A12C0 0C01C8D4 */ jal func_80072350
/* 78EA94 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 78EA98 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 78EA9C 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 78EAA0 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 78EAA4 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 78EAA8 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 78EAAC 802A12DC 03E00008 */ jr $ra
/* 78EAB0 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_78EAB4
/* 78EAB4 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78EAB8 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 78EABC 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 78EAC0 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 78EAC4 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 78EAC8 802A12F8 0C04760B */ jal func_8011D82C
/* 78EACC 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 78EAD0 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 78EAD4 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 78EAD8 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 78EADC 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 78EAE0 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 78EAE4 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 78EAE8 802A1318 24030001 */ addiu $v1, $zero, 1
/* 78EAEC 802A131C 0C046F97 */ jal set_background_color_blend
/* 78EAF0 802A1320 A0430000 */ sb $v1, ($v0)
/* 78EAF4 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 78EAF8 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 78EAFC 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 78EB00 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 78EB04 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 78EB08 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 78EB0C 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 78EB10 802A1340 00431023 */ subu $v0, $v0, $v1
/* 78EB14 802A1344 00023880 */ sll $a3, $v0, 2
/* 78EB18 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 78EB1C 802A134C 00073840 */ sll $a3, $a3, 1
/* 78EB20 802A1350 0C046F97 */ jal set_background_color_blend
/* 78EB24 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 78EB28 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 78EB2C 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 78EB30 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 78EB34 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 78EB38 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 78EB3C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 78EB40 802A1370 00021040 */ sll $v0, $v0, 1
/* 78EB44 802A1374 03E00008 */ jr $ra
/* 78EB48 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_78EB4C
/* 78EB4C 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78EB50 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 78EB54 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 78EB58 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 78EB5C 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 78EB60 802A1390 0C04760B */ jal func_8011D82C
/* 78EB64 802A1394 24040001 */ addiu $a0, $zero, 1
/* 78EB68 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 78EB6C 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 78EB70 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 78EB74 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 78EB78 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 78EB7C 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 78EB80 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 78EB84 802A13B4 0C046F97 */ jal set_background_color_blend
/* 78EB88 802A13B8 A0620000 */ sb $v0, ($v1)
/* 78EB8C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 78EB90 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 78EB94 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 78EB98 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 78EB9C 802A13CC 0C046F97 */ jal set_background_color_blend
/* 78EBA0 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 78EBA4 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 78EBA8 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 78EBAC 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 78EBB0 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 78EBB4 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 78EBB8 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 78EBBC 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 78EBC0 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 78EBC4 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 78EBC8 802A13F8 0C046F97 */ jal set_background_color_blend
/* 78EBCC 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 78EBD0 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 78EBD4 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 78EBD8 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 78EBDC 802A140C 03E00008 */ jr $ra
/* 78EBE0 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_78EBE4
/* 78EBE4 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78EBE8 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 78EBEC 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 78EBF0 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 78EBF4 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 78EBF8 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 78EBFC 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 78EC00 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 78EC04 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 78EC08 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 78EC0C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 78EC10 802A1440 00023880 */ sll $a3, $v0, 2
/* 78EC14 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 78EC18 802A1448 00073840 */ sll $a3, $a3, 1
/* 78EC1C 802A144C 0C046F97 */ jal set_background_color_blend
/* 78EC20 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 78EC24 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 78EC28 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 78EC2C 802A145C 10400003 */ beqz $v0, .L802A146C
/* 78EC30 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 78EC34 802A1464 080A8521 */ j .L802A1484
/* 78EC38 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 78EC3C 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 78EC40 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 78EC44 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 78EC48 802A1478 0C046F97 */ jal set_background_color_blend
/* 78EC4C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 78EC50 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 78EC54 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 78EC58 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 78EC5C 802A148C 03E00008 */ jr $ra
/* 78EC60 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_78EC64
/* 78EC64 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78EC68 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 78EC6C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 78EC70 802A14A0 0C0B1EAF */ jal get_variable
/* 78EC74 802A14A4 8C450000 */ lw $a1, ($v0)
/* 78EC78 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 78EC7C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 78EC80 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 78EC84 802A14B4 00051880 */ sll $v1, $a1, 2
/* 78EC88 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 78EC8C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 78EC90 802A14C0 00031880 */ sll $v1, $v1, 2
/* 78EC94 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 78EC98 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 78EC9C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 78ECA0 802A14D0 0C098F3F */ jal set_animation
/* 78ECA4 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 78ECA8 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 78ECAC 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 78ECB0 802A14E0 03E00008 */ jr $ra
/* 78ECB4 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_78ECB8
/* 78ECB8 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78ECBC 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 78ECC0 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 78ECC4 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 78ECC8 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 78ECCC 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 78ECD0 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 78ECD4 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 78ECD8 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 78ECDC 802A150C 24020002 */ addiu $v0, $zero, 2
/* 78ECE0 802A1510 03E00008 */ jr $ra
/* 78ECE4 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,74 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_78ECE8
/* 78ECE8 802A1518 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 78ECEC 802A151C AFB00020 */ sw $s0, 0x20($sp)
/* 78ECF0 802A1520 0080802D */ daddu $s0, $a0, $zero
/* 78ECF4 802A1524 AFBF002C */ sw $ra, 0x2c($sp)
/* 78ECF8 802A1528 AFB20028 */ sw $s2, 0x28($sp)
/* 78ECFC 802A152C AFB10024 */ sw $s1, 0x24($sp)
/* 78ED00 802A1530 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 78ED04 802A1534 0C00A67F */ jal rand_int
/* 78ED08 802A1538 240400C8 */ addiu $a0, $zero, 0xc8
/* 78ED0C 802A153C 24040028 */ addiu $a0, $zero, 0x28
/* 78ED10 802A1540 2403FFCE */ addiu $v1, $zero, -0x32
/* 78ED14 802A1544 0C00A67F */ jal rand_int
/* 78ED18 802A1548 00628823 */ subu $s1, $v1, $v0
/* 78ED1C 802A154C 241200C8 */ addiu $s2, $zero, 0xc8
/* 78ED20 802A1550 8E030084 */ lw $v1, 0x84($s0)
/* 78ED24 802A1554 30630003 */ andi $v1, $v1, 3
/* 78ED28 802A1558 1060000C */ beqz $v1, .L802A158C
/* 78ED2C 802A155C 0040802D */ daddu $s0, $v0, $zero
/* 78ED30 802A1560 0C00A67F */ jal rand_int
/* 78ED34 802A1564 24040032 */ addiu $a0, $zero, 0x32
/* 78ED38 802A1568 00521021 */ addu $v0, $v0, $s2
/* 78ED3C 802A156C 02221021 */ addu $v0, $s1, $v0
/* 78ED40 802A1570 4482A000 */ mtc1 $v0, $f20
/* 78ED44 802A1574 00000000 */ nop
/* 78ED48 802A1578 4680A520 */ cvt.s.w $f20, $f20
/* 78ED4C 802A157C 0C00A67F */ jal rand_int
/* 78ED50 802A1580 2404000A */ addiu $a0, $zero, 0xa
/* 78ED54 802A1584 080A856D */ j .L802A15B4
/* 78ED58 802A1588 24040002 */ addiu $a0, $zero, 2
.L802A158C:
/* 78ED5C 802A158C 0C00A67F */ jal rand_int
/* 78ED60 802A1590 24040032 */ addiu $a0, $zero, 0x32
/* 78ED64 802A1594 244200C8 */ addiu $v0, $v0, 0xc8
/* 78ED68 802A1598 02221021 */ addu $v0, $s1, $v0
/* 78ED6C 802A159C 4482A000 */ mtc1 $v0, $f20
/* 78ED70 802A15A0 00000000 */ nop
/* 78ED74 802A15A4 4680A520 */ cvt.s.w $f20, $f20
/* 78ED78 802A15A8 0C00A67F */ jal rand_int
/* 78ED7C 802A15AC 2404000A */ addiu $a0, $zero, 0xa
/* 78ED80 802A15B0 24040003 */ addiu $a0, $zero, 3
.L802A15B4:
/* 78ED84 802A15B4 44911000 */ mtc1 $s1, $f2
/* 78ED88 802A15B8 00000000 */ nop
/* 78ED8C 802A15BC 468010A0 */ cvt.s.w $f2, $f2
/* 78ED90 802A15C0 44900000 */ mtc1 $s0, $f0
/* 78ED94 802A15C4 00000000 */ nop
/* 78ED98 802A15C8 46800020 */ cvt.s.w $f0, $f0
/* 78ED9C 802A15CC 44051000 */ mfc1 $a1, $f2
/* 78EDA0 802A15D0 44921000 */ mtc1 $s2, $f2
/* 78EDA4 802A15D4 00000000 */ nop
/* 78EDA8 802A15D8 468010A0 */ cvt.s.w $f2, $f2
/* 78EDAC 802A15DC 24420007 */ addiu $v0, $v0, 7
/* 78EDB0 802A15E0 44070000 */ mfc1 $a3, $f0
/* 78EDB4 802A15E4 44061000 */ mfc1 $a2, $f2
/* 78EDB8 802A15E8 44820000 */ mtc1 $v0, $f0
/* 78EDBC 802A15EC 00000000 */ nop
/* 78EDC0 802A15F0 46800020 */ cvt.s.w $f0, $f0
/* 78EDC4 802A15F4 E7B40010 */ swc1 $f20, 0x10($sp)
/* 78EDC8 802A15F8 AFA00014 */ sw $zero, 0x14($sp)
/* 78EDCC 802A15FC E7A0001C */ swc1 $f0, 0x1c($sp)
/* 78EDD0 802A1600 0C01BF8C */ jal func_8006FE30
/* 78EDD4 802A1604 AFA70018 */ sw $a3, 0x18($sp)
/* 78EDD8 802A1608 8FBF002C */ lw $ra, 0x2c($sp)
/* 78EDDC 802A160C 8FB20028 */ lw $s2, 0x28($sp)
/* 78EDE0 802A1610 8FB10024 */ lw $s1, 0x24($sp)
/* 78EDE4 802A1614 8FB00020 */ lw $s0, 0x20($sp)
/* 78EDE8 802A1618 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 78EDEC 802A161C 24020002 */ addiu $v0, $zero, 2
/* 78EDF0 802A1620 03E00008 */ jr $ra
/* 78EDF4 802A1624 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,50 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1628_78EDF8
/* 78EDF8 802A1628 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 78EDFC 802A162C AFB10024 */ sw $s1, 0x24($sp)
/* 78EE00 802A1630 0080882D */ daddu $s1, $a0, $zero
/* 78EE04 802A1634 AFBF002C */ sw $ra, 0x2c($sp)
/* 78EE08 802A1638 AFB20028 */ sw $s2, 0x28($sp)
/* 78EE0C 802A163C AFB00020 */ sw $s0, 0x20($sp)
/* 78EE10 802A1640 8E30000C */ lw $s0, 0xc($s1)
/* 78EE14 802A1644 8E050000 */ lw $a1, ($s0)
/* 78EE18 802A1648 0C0B1EAF */ jal get_variable
/* 78EE1C 802A164C 26100004 */ addiu $s0, $s0, 4
/* 78EE20 802A1650 8E050000 */ lw $a1, ($s0)
/* 78EE24 802A1654 26100004 */ addiu $s0, $s0, 4
/* 78EE28 802A1658 0220202D */ daddu $a0, $s1, $zero
/* 78EE2C 802A165C 0C0B1EAF */ jal get_variable
/* 78EE30 802A1660 0040902D */ daddu $s2, $v0, $zero
/* 78EE34 802A1664 0220202D */ daddu $a0, $s1, $zero
/* 78EE38 802A1668 8E050000 */ lw $a1, ($s0)
/* 78EE3C 802A166C 0C0B1EAF */ jal get_variable
/* 78EE40 802A1670 0040802D */ daddu $s0, $v0, $zero
/* 78EE44 802A1674 24040002 */ addiu $a0, $zero, 2
/* 78EE48 802A1678 44921000 */ mtc1 $s2, $f2
/* 78EE4C 802A167C 00000000 */ nop
/* 78EE50 802A1680 468010A0 */ cvt.s.w $f2, $f2
/* 78EE54 802A1684 44051000 */ mfc1 $a1, $f2
/* 78EE58 802A1688 44901000 */ mtc1 $s0, $f2
/* 78EE5C 802A168C 00000000 */ nop
/* 78EE60 802A1690 468010A0 */ cvt.s.w $f2, $f2
/* 78EE64 802A1694 44061000 */ mfc1 $a2, $f2
/* 78EE68 802A1698 44821000 */ mtc1 $v0, $f2
/* 78EE6C 802A169C 00000000 */ nop
/* 78EE70 802A16A0 468010A0 */ cvt.s.w $f2, $f2
/* 78EE74 802A16A4 3C01BF80 */ lui $at, 0xbf80
/* 78EE78 802A16A8 44810000 */ mtc1 $at, $f0
/* 78EE7C 802A16AC 44071000 */ mfc1 $a3, $f2
/* 78EE80 802A16B0 24030005 */ addiu $v1, $zero, 5
/* 78EE84 802A16B4 AFA00010 */ sw $zero, 0x10($sp)
/* 78EE88 802A16B8 AFA00018 */ sw $zero, 0x18($sp)
/* 78EE8C 802A16BC AFA3001C */ sw $v1, 0x1c($sp)
/* 78EE90 802A16C0 0C01C064 */ jal func_80070190
/* 78EE94 802A16C4 E7A00014 */ swc1 $f0, 0x14($sp)
/* 78EE98 802A16C8 8FBF002C */ lw $ra, 0x2c($sp)
/* 78EE9C 802A16CC 8FB20028 */ lw $s2, 0x28($sp)
/* 78EEA0 802A16D0 8FB10024 */ lw $s1, 0x24($sp)
/* 78EEA4 802A16D4 8FB00020 */ lw $s0, 0x20($sp)
/* 78EEA8 802A16D8 24020002 */ addiu $v0, $zero, 2
/* 78EEAC 802A16DC 03E00008 */ jr $ra

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_7900D0
/* 7900D0 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 7900D4 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 7900D8 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 7900DC 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 7900E0 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 7900E4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 7900E8 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 7900EC 802A101C 8E050000 */ lw $a1, ($s0)
/* 7900F0 802A1020 0C0B1EAF */ jal get_variable
/* 7900F4 802A1024 26100004 */ addiu $s0, $s0, 4
/* 7900F8 802A1028 8E050000 */ lw $a1, ($s0)
/* 7900FC 802A102C 26100004 */ addiu $s0, $s0, 4
/* 790100 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 790104 802A1034 0C0B1EAF */ jal get_variable
/* 790108 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 79010C 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 790110 802A1040 8E050000 */ lw $a1, ($s0)
/* 790114 802A1044 0C0B1EAF */ jal get_variable
/* 790118 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 79011C 802A104C 44921000 */ mtc1 $s2, $f2
/* 790120 802A1050 00000000 */ nop
/* 790124 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 790128 802A1058 44051000 */ mfc1 $a1, $f2
/* 79012C 802A105C 44901000 */ mtc1 $s0, $f2
/* 790130 802A1060 00000000 */ nop
/* 790134 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 790138 802A1068 44061000 */ mfc1 $a2, $f2
/* 79013C 802A106C 44821000 */ mtc1 $v0, $f2
/* 790140 802A1070 00000000 */ nop
/* 790144 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 790148 802A1078 3C014220 */ lui $at, 0x4220
/* 79014C 802A107C 44810000 */ mtc1 $at, $f0
/* 790150 802A1080 44071000 */ mfc1 $a3, $f2
/* 790154 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 790158 802A1088 0C01BFBC */ jal func_8006FEF0
/* 79015C 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 790160 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 790164 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 790168 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 79016C 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 790170 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 790174 802A10A4 03E00008 */ jr $ra
/* 790178 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_79017C
/* 79017C 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 790180 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 790184 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 790188 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 79018C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 790190 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 790194 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 790198 802A10C8 8E050000 */ lw $a1, ($s0)
/* 79019C 802A10CC 0C0B1EAF */ jal get_variable
/* 7901A0 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 7901A4 802A10D4 8E050000 */ lw $a1, ($s0)
/* 7901A8 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 7901AC 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 7901B0 802A10E0 0C0B1EAF */ jal get_variable
/* 7901B4 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 7901B8 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 7901BC 802A10EC 8E050000 */ lw $a1, ($s0)
/* 7901C0 802A10F0 0C0B1EAF */ jal get_variable
/* 7901C4 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 7901C8 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 7901CC 802A10FC 44921000 */ mtc1 $s2, $f2
/* 7901D0 802A1100 00000000 */ nop
/* 7901D4 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 7901D8 802A1108 44051000 */ mfc1 $a1, $f2
/* 7901DC 802A110C 44901000 */ mtc1 $s0, $f2
/* 7901E0 802A1110 00000000 */ nop
/* 7901E4 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 7901E8 802A1118 44061000 */ mfc1 $a2, $f2
/* 7901EC 802A111C 44821000 */ mtc1 $v0, $f2
/* 7901F0 802A1120 00000000 */ nop
/* 7901F4 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 7901F8 802A1128 3C014248 */ lui $at, 0x4248
/* 7901FC 802A112C 44810000 */ mtc1 $at, $f0
/* 790200 802A1130 44071000 */ mfc1 $a3, $f2
/* 790204 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 790208 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 79020C 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 790210 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 790214 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 790218 802A1148 0C01C154 */ jal func_80070550
/* 79021C 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 790220 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 790224 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 790228 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 79022C 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 790230 802A1160 24020002 */ addiu $v0, $zero, 2
/* 790234 802A1164 03E00008 */ jr $ra
/* 790238 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_79023C
/* 79023C 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 790240 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 790244 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 790248 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 79024C 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 790250 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 790254 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 790258 802A1188 8E050000 */ lw $a1, ($s0)
/* 79025C 802A118C 0C0B1EAF */ jal get_variable
/* 790260 802A1190 26100004 */ addiu $s0, $s0, 4
/* 790264 802A1194 8E050000 */ lw $a1, ($s0)
/* 790268 802A1198 26100004 */ addiu $s0, $s0, 4
/* 79026C 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 790270 802A11A0 0C0B1EAF */ jal get_variable
/* 790274 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 790278 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 79027C 802A11AC 8E050000 */ lw $a1, ($s0)
/* 790280 802A11B0 0C0B1EAF */ jal get_variable
/* 790284 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 790288 802A11B8 44921000 */ mtc1 $s2, $f2
/* 79028C 802A11BC 00000000 */ nop
/* 790290 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 790294 802A11C4 44051000 */ mfc1 $a1, $f2
/* 790298 802A11C8 44901000 */ mtc1 $s0, $f2
/* 79029C 802A11CC 00000000 */ nop
/* 7902A0 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 7902A4 802A11D4 44061000 */ mfc1 $a2, $f2
/* 7902A8 802A11D8 44821000 */ mtc1 $v0, $f2
/* 7902AC 802A11DC 00000000 */ nop
/* 7902B0 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 7902B4 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 7902B8 802A11E8 44810000 */ mtc1 $at, $f0
/* 7902BC 802A11EC 44071000 */ mfc1 $a3, $f2
/* 7902C0 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 7902C4 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 7902C8 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 7902CC 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 7902D0 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 7902D4 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 7902D8 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 7902DC 802A120C 24020002 */ addiu $v0, $zero, 2
/* 7902E0 802A1210 03E00008 */ jr $ra
/* 7902E4 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_7902E8
/* 7902E8 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 7902EC 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 7902F0 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 7902F4 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 7902F8 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 7902FC 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 790300 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 790304 802A1234 8E050000 */ lw $a1, ($s0)
/* 790308 802A1238 0C0B1EAF */ jal get_variable
/* 79030C 802A123C 26100004 */ addiu $s0, $s0, 4
/* 790310 802A1240 8E050000 */ lw $a1, ($s0)
/* 790314 802A1244 26100004 */ addiu $s0, $s0, 4
/* 790318 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 79031C 802A124C 0C0B1EAF */ jal get_variable
/* 790320 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 790324 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 790328 802A1258 8E050000 */ lw $a1, ($s0)
/* 79032C 802A125C 0C0B1EAF */ jal get_variable
/* 790330 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 790334 802A1264 24040004 */ addiu $a0, $zero, 4
/* 790338 802A1268 44922000 */ mtc1 $s2, $f4
/* 79033C 802A126C 00000000 */ nop
/* 790340 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 790344 802A1274 44052000 */ mfc1 $a1, $f4
/* 790348 802A1278 44902000 */ mtc1 $s0, $f4
/* 79034C 802A127C 00000000 */ nop
/* 790350 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 790354 802A1284 44062000 */ mfc1 $a2, $f4
/* 790358 802A1288 44822000 */ mtc1 $v0, $f4
/* 79035C 802A128C 00000000 */ nop
/* 790360 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 790364 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 790368 802A1298 44810000 */ mtc1 $at, $f0
/* 79036C 802A129C 3C013F80 */ lui $at, 0x3f80
/* 790370 802A12A0 44811000 */ mtc1 $at, $f2
/* 790374 802A12A4 44072000 */ mfc1 $a3, $f4
/* 790378 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 79037C 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 790380 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 790384 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 790388 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79038C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 790390 802A12C0 0C01C8D4 */ jal func_80072350
/* 790394 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 790398 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 79039C 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 7903A0 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 7903A4 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 7903A8 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 7903AC 802A12DC 03E00008 */ jr $ra
/* 7903B0 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_7903B4
/* 7903B4 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7903B8 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 7903BC 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 7903C0 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 7903C4 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 7903C8 802A12F8 0C04760B */ jal func_8011D82C
/* 7903CC 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 7903D0 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 7903D4 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 7903D8 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 7903DC 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 7903E0 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 7903E4 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 7903E8 802A1318 24030001 */ addiu $v1, $zero, 1
/* 7903EC 802A131C 0C046F97 */ jal set_background_color_blend
/* 7903F0 802A1320 A0430000 */ sb $v1, ($v0)
/* 7903F4 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 7903F8 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 7903FC 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 790400 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 790404 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 790408 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 79040C 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 790410 802A1340 00431023 */ subu $v0, $v0, $v1
/* 790414 802A1344 00023880 */ sll $a3, $v0, 2
/* 790418 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 79041C 802A134C 00073840 */ sll $a3, $a3, 1
/* 790420 802A1350 0C046F97 */ jal set_background_color_blend
/* 790424 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 790428 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 79042C 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 790430 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 790434 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 790438 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 79043C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 790440 802A1370 00021040 */ sll $v0, $v0, 1
/* 790444 802A1374 03E00008 */ jr $ra
/* 790448 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_79044C
/* 79044C 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 790450 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 790454 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 790458 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 79045C 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 790460 802A1390 0C04760B */ jal func_8011D82C
/* 790464 802A1394 24040001 */ addiu $a0, $zero, 1
/* 790468 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 79046C 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 790470 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 790474 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 790478 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 79047C 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 790480 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 790484 802A13B4 0C046F97 */ jal set_background_color_blend
/* 790488 802A13B8 A0620000 */ sb $v0, ($v1)
/* 79048C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 790490 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 790494 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 790498 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 79049C 802A13CC 0C046F97 */ jal set_background_color_blend
/* 7904A0 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 7904A4 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 7904A8 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 7904AC 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 7904B0 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 7904B4 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 7904B8 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 7904BC 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 7904C0 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 7904C4 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 7904C8 802A13F8 0C046F97 */ jal set_background_color_blend
/* 7904CC 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 7904D0 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 7904D4 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 7904D8 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 7904DC 802A140C 03E00008 */ jr $ra
/* 7904E0 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_7904E4
/* 7904E4 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7904E8 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 7904EC 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 7904F0 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 7904F4 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 7904F8 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 7904FC 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 790500 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 790504 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 790508 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 79050C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 790510 802A1440 00023880 */ sll $a3, $v0, 2
/* 790514 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 790518 802A1448 00073840 */ sll $a3, $a3, 1
/* 79051C 802A144C 0C046F97 */ jal set_background_color_blend
/* 790520 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 790524 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 790528 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 79052C 802A145C 10400003 */ beqz $v0, .L802A146C
/* 790530 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 790534 802A1464 080A8521 */ j .L802A1484
/* 790538 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 79053C 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 790540 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 790544 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 790548 802A1478 0C046F97 */ jal set_background_color_blend
/* 79054C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 790550 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 790554 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 790558 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 79055C 802A148C 03E00008 */ jr $ra
/* 790560 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_790564
/* 790564 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 790568 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79056C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 790570 802A14A0 0C0B1EAF */ jal get_variable
/* 790574 802A14A4 8C450000 */ lw $a1, ($v0)
/* 790578 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79057C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 790580 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 790584 802A14B4 00051880 */ sll $v1, $a1, 2
/* 790588 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79058C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 790590 802A14C0 00031880 */ sll $v1, $v1, 2
/* 790594 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 790598 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 79059C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 7905A0 802A14D0 0C098F3F */ jal set_animation
/* 7905A4 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 7905A8 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 7905AC 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 7905B0 802A14E0 03E00008 */ jr $ra
/* 7905B4 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_7905B8
/* 7905B8 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7905BC 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 7905C0 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 7905C4 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 7905C8 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 7905CC 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 7905D0 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 7905D4 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 7905D8 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 7905DC 802A150C 24020002 */ addiu $v0, $zero, 2
/* 7905E0 802A1510 03E00008 */ jr $ra
/* 7905E4 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,8 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_7905E8
/* 7905E8 802A1518 3C01802A */ lui $at, %hi(D_802A2CC0)
/* 7905EC 802A151C AC202CC0 */ sw $zero, %lo(D_802A2CC0)($at)
/* 7905F0 802A1520 03E00008 */ jr $ra
/* 7905F4 802A1524 24020002 */ addiu $v0, $zero, 2

View File

@ -0,0 +1,9 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1528_7905F8
/* 7905F8 802A1528 3C02802A */ lui $v0, %hi(D_802A2CC0)
/* 7905FC 802A152C 8C422CC0 */ lw $v0, %lo(D_802A2CC0)($v0)
/* 790600 802A1530 AC820084 */ sw $v0, 0x84($a0)
/* 790604 802A1534 03E00008 */ jr $ra
/* 790608 802A1538 24020002 */ addiu $v0, $zero, 2

View File

@ -0,0 +1,68 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A153C_79060C
/* 79060C 802A153C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 790610 802A1540 AFBF0018 */ sw $ra, 0x18($sp)
/* 790614 802A1544 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 790618 802A1548 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 79061C 802A154C 0C00A67F */ jal rand_int
/* 790620 802A1550 240400C8 */ addiu $a0, $zero, 0xc8
/* 790624 802A1554 2442FFE7 */ addiu $v0, $v0, -0x19
/* 790628 802A1558 4482B000 */ mtc1 $v0, $f22
/* 79062C 802A155C 00000000 */ nop
/* 790630 802A1560 4680B5A0 */ cvt.s.w $f22, $f22
/* 790634 802A1564 0C00A67F */ jal rand_int
/* 790638 802A1568 24040078 */ addiu $a0, $zero, 0x78
/* 79063C 802A156C 24420007 */ addiu $v0, $v0, 7
/* 790640 802A1570 4482A000 */ mtc1 $v0, $f20
/* 790644 802A1574 00000000 */ nop
/* 790648 802A1578 4680A520 */ cvt.s.w $f20, $f20
/* 79064C 802A157C 0C00A67F */ jal rand_int
/* 790650 802A1580 24040032 */ addiu $a0, $zero, 0x32
/* 790654 802A1584 24040002 */ addiu $a0, $zero, 2
/* 790658 802A1588 2442FFE7 */ addiu $v0, $v0, -0x19
/* 79065C 802A158C 44821000 */ mtc1 $v0, $f2
/* 790660 802A1590 00000000 */ nop
/* 790664 802A1594 468010A0 */ cvt.s.w $f2, $f2
/* 790668 802A1598 44071000 */ mfc1 $a3, $f2
/* 79066C 802A159C 4405B000 */ mfc1 $a1, $f22
/* 790670 802A15A0 4406A000 */ mfc1 $a2, $f20
/* 790674 802A15A4 3C014000 */ lui $at, 0x4000
/* 790678 802A15A8 44810000 */ mtc1 $at, $f0
/* 79067C 802A15AC 24020014 */ addiu $v0, $zero, 0x14
/* 790680 802A15B0 AFA20014 */ sw $v0, 0x14($sp)
/* 790684 802A15B4 0C01C88C */ jal func_80072230
/* 790688 802A15B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79068C 802A15BC 0C00A67F */ jal rand_int
/* 790690 802A15C0 240400C8 */ addiu $a0, $zero, 0xc8
/* 790694 802A15C4 2442FFE7 */ addiu $v0, $v0, -0x19
/* 790698 802A15C8 4482B000 */ mtc1 $v0, $f22
/* 79069C 802A15CC 00000000 */ nop
/* 7906A0 802A15D0 4680B5A0 */ cvt.s.w $f22, $f22
/* 7906A4 802A15D4 0C00A67F */ jal rand_int
/* 7906A8 802A15D8 24040078 */ addiu $a0, $zero, 0x78
/* 7906AC 802A15DC 24420007 */ addiu $v0, $v0, 7
/* 7906B0 802A15E0 4482A000 */ mtc1 $v0, $f20
/* 7906B4 802A15E4 00000000 */ nop
/* 7906B8 802A15E8 4680A520 */ cvt.s.w $f20, $f20
/* 7906BC 802A15EC 0C00A67F */ jal rand_int
/* 7906C0 802A15F0 24040032 */ addiu $a0, $zero, 0x32
/* 7906C4 802A15F4 2442FFE7 */ addiu $v0, $v0, -0x19
/* 7906C8 802A15F8 44821000 */ mtc1 $v0, $f2
/* 7906CC 802A15FC 00000000 */ nop
/* 7906D0 802A1600 468010A0 */ cvt.s.w $f2, $f2
/* 7906D4 802A1604 4405B000 */ mfc1 $a1, $f22
/* 7906D8 802A1608 4406A000 */ mfc1 $a2, $f20
/* 7906DC 802A160C 3C014220 */ lui $at, 0x4220
/* 7906E0 802A1610 44810000 */ mtc1 $at, $f0
/* 7906E4 802A1614 44071000 */ mfc1 $a3, $f2
/* 7906E8 802A1618 24040004 */ addiu $a0, $zero, 4
/* 7906EC 802A161C 0C01BFBC */ jal func_8006FEF0
/* 7906F0 802A1620 E7A00010 */ swc1 $f0, 0x10($sp)
/* 7906F4 802A1624 8FBF0018 */ lw $ra, 0x18($sp)
/* 7906F8 802A1628 D7B60028 */ ldc1 $f22, 0x28($sp)
/* 7906FC 802A162C D7B40020 */ ldc1 $f20, 0x20($sp)
/* 790700 802A1630 24020002 */ addiu $v0, $zero, 2
/* 790704 802A1634 03E00008 */ jr $ra
/* 790708 802A1638 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,51 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A163C_79070C
/* 79070C 802A163C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 790710 802A1640 AFB20018 */ sw $s2, 0x18($sp)
/* 790714 802A1644 0080902D */ daddu $s2, $a0, $zero
/* 790718 802A1648 AFBF001C */ sw $ra, 0x1c($sp)
/* 79071C 802A164C AFB10014 */ sw $s1, 0x14($sp)
/* 790720 802A1650 AFB00010 */ sw $s0, 0x10($sp)
/* 790724 802A1654 0C09A75B */ jal get_actor
/* 790728 802A1658 8E440148 */ lw $a0, 0x148($s2)
/* 79072C 802A165C 0040802D */ daddu $s0, $v0, $zero
/* 790730 802A1660 0C09A75B */ jal get_actor
/* 790734 802A1664 86040428 */ lh $a0, 0x428($s0)
/* 790738 802A1668 0040882D */ daddu $s1, $v0, $zero
/* 79073C 802A166C 82050426 */ lb $a1, 0x426($s0)
/* 790740 802A1670 0C099117 */ jal get_actor_part
/* 790744 802A1674 0220202D */ daddu $a0, $s1, $zero
/* 790748 802A1678 AE400084 */ sw $zero, 0x84($s2)
/* 79074C 802A167C 8E310000 */ lw $s1, ($s1)
/* 790750 802A1680 0040182D */ daddu $v1, $v0, $zero
/* 790754 802A1684 32224000 */ andi $v0, $s1, 0x4000
/* 790758 802A1688 14400014 */ bnez $v0, .L802A16DC
/* 79075C 802A168C 24020002 */ addiu $v0, $zero, 2
/* 790760 802A1690 3C020040 */ lui $v0, 0x40
/* 790764 802A1694 02221024 */ and $v0, $s1, $v0
/* 790768 802A1698 14400010 */ bnez $v0, .L802A16DC
/* 79076C 802A169C 24020002 */ addiu $v0, $zero, 2
/* 790770 802A16A0 32222000 */ andi $v0, $s1, 0x2000
/* 790774 802A16A4 1440000D */ bnez $v0, .L802A16DC
/* 790778 802A16A8 24020002 */ addiu $v0, $zero, 2
/* 79077C 802A16AC 8C63007C */ lw $v1, 0x7c($v1)
/* 790780 802A16B0 3C020004 */ lui $v0, 4
/* 790784 802A16B4 00621024 */ and $v0, $v1, $v0
/* 790788 802A16B8 14400008 */ bnez $v0, .L802A16DC
/* 79078C 802A16BC 24020002 */ addiu $v0, $zero, 2
/* 790790 802A16C0 3C020008 */ lui $v0, 8
/* 790794 802A16C4 00621024 */ and $v0, $v1, $v0
/* 790798 802A16C8 14400004 */ bnez $v0, .L802A16DC
/* 79079C 802A16CC 24020002 */ addiu $v0, $zero, 2
/* 7907A0 802A16D0 24020001 */ addiu $v0, $zero, 1
/* 7907A4 802A16D4 AE420084 */ sw $v0, 0x84($s2)
/* 7907A8 802A16D8 24020002 */ addiu $v0, $zero, 2
.L802A16DC:
/* 7907AC 802A16DC 8FBF001C */ lw $ra, 0x1c($sp)
/* 7907B0 802A16E0 8FB20018 */ lw $s2, 0x18($sp)
/* 7907B4 802A16E4 8FB10014 */ lw $s1, 0x14($sp)
/* 7907B8 802A16E8 8FB00010 */ lw $s0, 0x10($sp)
/* 7907BC 802A16EC 03E00008 */ jr $ra
/* 7907C0 802A16F0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,136 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A16F4_7907C4
/* 7907C4 802A16F4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 7907C8 802A16F8 AFBF001C */ sw $ra, 0x1c($sp)
/* 7907CC 802A16FC AFB00018 */ sw $s0, 0x18($sp)
/* 7907D0 802A1700 0C09A75B */ jal get_actor
/* 7907D4 802A1704 8C840148 */ lw $a0, 0x148($a0)
/* 7907D8 802A1708 0040802D */ daddu $s0, $v0, $zero
/* 7907DC 802A170C 0C09A75B */ jal get_actor
/* 7907E0 802A1710 86040428 */ lh $a0, 0x428($s0)
/* 7907E4 802A1714 82050426 */ lb $a1, 0x426($s0)
/* 7907E8 802A1718 0040802D */ daddu $s0, $v0, $zero
/* 7907EC 802A171C 0C099117 */ jal get_actor_part
/* 7907F0 802A1720 0200202D */ daddu $a0, $s0, $zero
/* 7907F4 802A1724 8E030000 */ lw $v1, ($s0)
/* 7907F8 802A1728 0040202D */ daddu $a0, $v0, $zero
/* 7907FC 802A172C 30624000 */ andi $v0, $v1, 0x4000
/* 790800 802A1730 14400069 */ bnez $v0, .L802A18D8
/* 790804 802A1734 24020002 */ addiu $v0, $zero, 2
/* 790808 802A1738 3C020040 */ lui $v0, 0x40
/* 79080C 802A173C 00621024 */ and $v0, $v1, $v0
/* 790810 802A1740 10400003 */ beqz $v0, .L802A1750
/* 790814 802A1744 30622000 */ andi $v0, $v1, 0x2000
/* 790818 802A1748 080A8636 */ j .L802A18D8
/* 79081C 802A174C 24020002 */ addiu $v0, $zero, 2
.L802A1750:
/* 790820 802A1750 14400061 */ bnez $v0, .L802A18D8
/* 790824 802A1754 24020002 */ addiu $v0, $zero, 2
/* 790828 802A1758 8C83007C */ lw $v1, 0x7c($a0)
/* 79082C 802A175C 3C020004 */ lui $v0, 4
/* 790830 802A1760 00621024 */ and $v0, $v1, $v0
/* 790834 802A1764 1440005C */ bnez $v0, .L802A18D8
/* 790838 802A1768 24020002 */ addiu $v0, $zero, 2
/* 79083C 802A176C 3C020008 */ lui $v0, 8
/* 790840 802A1770 00621024 */ and $v0, $v1, $v0
/* 790844 802A1774 14400058 */ bnez $v0, .L802A18D8
/* 790848 802A1778 24020002 */ addiu $v0, $zero, 2
/* 79084C 802A177C 0200202D */ daddu $a0, $s0, $zero
/* 790850 802A1780 0000282D */ daddu $a1, $zero, $zero
/* 790854 802A1784 2406000A */ addiu $a2, $zero, 0xa
/* 790858 802A1788 24020004 */ addiu $v0, $zero, 4
/* 79085C 802A178C A2020224 */ sb $v0, 0x224($s0)
/* 790860 802A1790 24020003 */ addiu $v0, $zero, 3
/* 790864 802A1794 0C09E23E */ jal dispatch_damage_event_actor_0
/* 790868 802A1798 A2020223 */ sb $v0, 0x223($s0)
/* 79086C 802A179C 86020150 */ lh $v0, 0x150($s0)
/* 790870 802A17A0 C6000144 */ lwc1 $f0, 0x144($s0)
/* 790874 802A17A4 8E030000 */ lw $v1, ($s0)
/* 790878 802A17A8 44821000 */ mtc1 $v0, $f2
/* 79087C 802A17AC 00000000 */ nop
/* 790880 802A17B0 468010A0 */ cvt.s.w $f2, $f2
/* 790884 802A17B4 92020190 */ lbu $v0, 0x190($s0)
/* 790888 802A17B8 46020000 */ add.s $f0, $f0, $f2
/* 79088C 802A17BC 00021042 */ srl $v0, $v0, 1
/* 790890 802A17C0 44821000 */ mtc1 $v0, $f2
/* 790894 802A17C4 00000000 */ nop
/* 790898 802A17C8 468010A0 */ cvt.s.w $f2, $f2
/* 79089C 802A17CC 30620800 */ andi $v0, $v1, 0x800
/* 7908A0 802A17D0 1040000D */ beqz $v0, .L802A1808
/* 7908A4 802A17D4 46020100 */ add.s $f4, $f0, $f2
/* 7908A8 802A17D8 86020152 */ lh $v0, 0x152($s0)
/* 7908AC 802A17DC C6000148 */ lwc1 $f0, 0x148($s0)
/* 7908B0 802A17E0 44821000 */ mtc1 $v0, $f2
/* 7908B4 802A17E4 00000000 */ nop
/* 7908B8 802A17E8 468010A0 */ cvt.s.w $f2, $f2
/* 7908BC 802A17EC 92020191 */ lbu $v0, 0x191($s0)
/* 7908C0 802A17F0 46020000 */ add.s $f0, $f0, $f2
/* 7908C4 802A17F4 44821000 */ mtc1 $v0, $f2
/* 7908C8 802A17F8 00000000 */ nop
/* 7908CC 802A17FC 468010A0 */ cvt.s.w $f2, $f2
/* 7908D0 802A1800 080A861D */ j .L802A1874
/* 7908D4 802A1804 46020001 */ sub.s $f0, $f0, $f2
.L802A1808:
/* 7908D8 802A1808 30628000 */ andi $v0, $v1, 0x8000
/* 7908DC 802A180C 1440000D */ bnez $v0, .L802A1844
/* 7908E0 802A1810 00000000 */ nop
/* 7908E4 802A1814 86020152 */ lh $v0, 0x152($s0)
/* 7908E8 802A1818 C6000148 */ lwc1 $f0, 0x148($s0)
/* 7908EC 802A181C 44821000 */ mtc1 $v0, $f2
/* 7908F0 802A1820 00000000 */ nop
/* 7908F4 802A1824 468010A0 */ cvt.s.w $f2, $f2
/* 7908F8 802A1828 92020191 */ lbu $v0, 0x191($s0)
/* 7908FC 802A182C 46020000 */ add.s $f0, $f0, $f2
/* 790900 802A1830 44821000 */ mtc1 $v0, $f2
/* 790904 802A1834 00000000 */ nop
/* 790908 802A1838 468010A0 */ cvt.s.w $f2, $f2
/* 79090C 802A183C 080A861D */ j .L802A1874
/* 790910 802A1840 46001000 */ add.s $f0, $f2, $f0
.L802A1844:
/* 790914 802A1844 86020152 */ lh $v0, 0x152($s0)
/* 790918 802A1848 C6020148 */ lwc1 $f2, 0x148($s0)
/* 79091C 802A184C 44820000 */ mtc1 $v0, $f0
/* 790920 802A1850 00000000 */ nop
/* 790924 802A1854 46800020 */ cvt.s.w $f0, $f0
/* 790928 802A1858 92020191 */ lbu $v0, 0x191($s0)
/* 79092C 802A185C 46001080 */ add.s $f2, $f2, $f0
/* 790930 802A1860 00021040 */ sll $v0, $v0, 1
/* 790934 802A1864 44820000 */ mtc1 $v0, $f0
/* 790938 802A1868 00000000 */ nop
/* 79093C 802A186C 46800020 */ cvt.s.w $f0, $f0
/* 790940 802A1870 46001000 */ add.s $f0, $f2, $f0
.L802A1874:
/* 790944 802A1874 86020154 */ lh $v0, 0x154($s0)
/* 790948 802A1878 44060000 */ mfc1 $a2, $f0
/* 79094C 802A187C C600014C */ lwc1 $f0, 0x14c($s0)
/* 790950 802A1880 44821000 */ mtc1 $v0, $f2
/* 790954 802A1884 00000000 */ nop
/* 790958 802A1888 468010A0 */ cvt.s.w $f2, $f2
/* 79095C 802A188C 46020000 */ add.s $f0, $f0, $f2
/* 790960 802A1890 3C0140A0 */ lui $at, 0x40a0
/* 790964 802A1894 44811000 */ mtc1 $at, $f2
/* 790968 802A1898 24040005 */ addiu $a0, $zero, 5
/* 79096C 802A189C 46020000 */ add.s $f0, $f0, $f2
/* 790970 802A18A0 44052000 */ mfc1 $a1, $f4
/* 790974 802A18A4 3C013F80 */ lui $at, 0x3f80
/* 790978 802A18A8 44812000 */ mtc1 $at, $f4
/* 79097C 802A18AC 44070000 */ mfc1 $a3, $f0
/* 790980 802A18B0 2402003C */ addiu $v0, $zero, 0x3c
/* 790984 802A18B4 AFA20014 */ sw $v0, 0x14($sp)
/* 790988 802A18B8 0C01C634 */ jal func_800718D0
/* 79098C 802A18BC E7A40010 */ swc1 $f4, 0x10($sp)
/* 790990 802A18C0 0C05272D */ jal play_sound
/* 790994 802A18C4 24042106 */ addiu $a0, $zero, 0x2106
/* 790998 802A18C8 24020002 */ addiu $v0, $zero, 2
/* 79099C 802A18CC 24030001 */ addiu $v1, $zero, 1
/* 7909A0 802A18D0 3C01802A */ lui $at, %hi(D_802A2CC0)
/* 7909A4 802A18D4 AC232CC0 */ sw $v1, %lo(D_802A2CC0)($at)
.L802A18D8:
/* 7909A8 802A18D8 8FBF001C */ lw $ra, 0x1c($sp)
/* 7909AC 802A18DC 8FB00018 */ lw $s0, 0x18($sp)
/* 7909B0 802A18E0 03E00008 */ jr $ra
/* 7909B4 802A18E4 27BD0020 */ addiu $sp, $sp, 0x20
/* 7909B8 802A18E8 00000000 */ nop
/* 7909BC 802A18EC 00000000 */ nop

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_791D90
/* 791D90 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 791D94 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 791D98 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 791D9C 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 791DA0 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 791DA4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 791DA8 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 791DAC 802A101C 8E050000 */ lw $a1, ($s0)
/* 791DB0 802A1020 0C0B1EAF */ jal get_variable
/* 791DB4 802A1024 26100004 */ addiu $s0, $s0, 4
/* 791DB8 802A1028 8E050000 */ lw $a1, ($s0)
/* 791DBC 802A102C 26100004 */ addiu $s0, $s0, 4
/* 791DC0 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 791DC4 802A1034 0C0B1EAF */ jal get_variable
/* 791DC8 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 791DCC 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 791DD0 802A1040 8E050000 */ lw $a1, ($s0)
/* 791DD4 802A1044 0C0B1EAF */ jal get_variable
/* 791DD8 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 791DDC 802A104C 44921000 */ mtc1 $s2, $f2
/* 791DE0 802A1050 00000000 */ nop
/* 791DE4 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 791DE8 802A1058 44051000 */ mfc1 $a1, $f2
/* 791DEC 802A105C 44901000 */ mtc1 $s0, $f2
/* 791DF0 802A1060 00000000 */ nop
/* 791DF4 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 791DF8 802A1068 44061000 */ mfc1 $a2, $f2
/* 791DFC 802A106C 44821000 */ mtc1 $v0, $f2
/* 791E00 802A1070 00000000 */ nop
/* 791E04 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 791E08 802A1078 3C014220 */ lui $at, 0x4220
/* 791E0C 802A107C 44810000 */ mtc1 $at, $f0
/* 791E10 802A1080 44071000 */ mfc1 $a3, $f2
/* 791E14 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 791E18 802A1088 0C01BFBC */ jal func_8006FEF0
/* 791E1C 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 791E20 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 791E24 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 791E28 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 791E2C 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 791E30 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 791E34 802A10A4 03E00008 */ jr $ra
/* 791E38 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_791E3C
/* 791E3C 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 791E40 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 791E44 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 791E48 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 791E4C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 791E50 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 791E54 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 791E58 802A10C8 8E050000 */ lw $a1, ($s0)
/* 791E5C 802A10CC 0C0B1EAF */ jal get_variable
/* 791E60 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 791E64 802A10D4 8E050000 */ lw $a1, ($s0)
/* 791E68 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 791E6C 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 791E70 802A10E0 0C0B1EAF */ jal get_variable
/* 791E74 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 791E78 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 791E7C 802A10EC 8E050000 */ lw $a1, ($s0)
/* 791E80 802A10F0 0C0B1EAF */ jal get_variable
/* 791E84 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 791E88 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 791E8C 802A10FC 44921000 */ mtc1 $s2, $f2
/* 791E90 802A1100 00000000 */ nop
/* 791E94 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 791E98 802A1108 44051000 */ mfc1 $a1, $f2
/* 791E9C 802A110C 44901000 */ mtc1 $s0, $f2
/* 791EA0 802A1110 00000000 */ nop
/* 791EA4 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 791EA8 802A1118 44061000 */ mfc1 $a2, $f2
/* 791EAC 802A111C 44821000 */ mtc1 $v0, $f2
/* 791EB0 802A1120 00000000 */ nop
/* 791EB4 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 791EB8 802A1128 3C014248 */ lui $at, 0x4248
/* 791EBC 802A112C 44810000 */ mtc1 $at, $f0
/* 791EC0 802A1130 44071000 */ mfc1 $a3, $f2
/* 791EC4 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 791EC8 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 791ECC 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 791ED0 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 791ED4 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 791ED8 802A1148 0C01C154 */ jal func_80070550
/* 791EDC 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 791EE0 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 791EE4 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 791EE8 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 791EEC 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 791EF0 802A1160 24020002 */ addiu $v0, $zero, 2
/* 791EF4 802A1164 03E00008 */ jr $ra
/* 791EF8 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_791EFC
/* 791EFC 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 791F00 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 791F04 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 791F08 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 791F0C 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 791F10 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 791F14 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 791F18 802A1188 8E050000 */ lw $a1, ($s0)
/* 791F1C 802A118C 0C0B1EAF */ jal get_variable
/* 791F20 802A1190 26100004 */ addiu $s0, $s0, 4
/* 791F24 802A1194 8E050000 */ lw $a1, ($s0)
/* 791F28 802A1198 26100004 */ addiu $s0, $s0, 4
/* 791F2C 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 791F30 802A11A0 0C0B1EAF */ jal get_variable
/* 791F34 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 791F38 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 791F3C 802A11AC 8E050000 */ lw $a1, ($s0)
/* 791F40 802A11B0 0C0B1EAF */ jal get_variable
/* 791F44 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 791F48 802A11B8 44921000 */ mtc1 $s2, $f2
/* 791F4C 802A11BC 00000000 */ nop
/* 791F50 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 791F54 802A11C4 44051000 */ mfc1 $a1, $f2
/* 791F58 802A11C8 44901000 */ mtc1 $s0, $f2
/* 791F5C 802A11CC 00000000 */ nop
/* 791F60 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 791F64 802A11D4 44061000 */ mfc1 $a2, $f2
/* 791F68 802A11D8 44821000 */ mtc1 $v0, $f2
/* 791F6C 802A11DC 00000000 */ nop
/* 791F70 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 791F74 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 791F78 802A11E8 44810000 */ mtc1 $at, $f0
/* 791F7C 802A11EC 44071000 */ mfc1 $a3, $f2
/* 791F80 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 791F84 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 791F88 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 791F8C 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 791F90 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 791F94 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 791F98 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 791F9C 802A120C 24020002 */ addiu $v0, $zero, 2
/* 791FA0 802A1210 03E00008 */ jr $ra
/* 791FA4 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_791FA8
/* 791FA8 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 791FAC 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 791FB0 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 791FB4 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 791FB8 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 791FBC 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 791FC0 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 791FC4 802A1234 8E050000 */ lw $a1, ($s0)
/* 791FC8 802A1238 0C0B1EAF */ jal get_variable
/* 791FCC 802A123C 26100004 */ addiu $s0, $s0, 4
/* 791FD0 802A1240 8E050000 */ lw $a1, ($s0)
/* 791FD4 802A1244 26100004 */ addiu $s0, $s0, 4
/* 791FD8 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 791FDC 802A124C 0C0B1EAF */ jal get_variable
/* 791FE0 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 791FE4 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 791FE8 802A1258 8E050000 */ lw $a1, ($s0)
/* 791FEC 802A125C 0C0B1EAF */ jal get_variable
/* 791FF0 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 791FF4 802A1264 24040004 */ addiu $a0, $zero, 4
/* 791FF8 802A1268 44922000 */ mtc1 $s2, $f4
/* 791FFC 802A126C 00000000 */ nop
/* 792000 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 792004 802A1274 44052000 */ mfc1 $a1, $f4
/* 792008 802A1278 44902000 */ mtc1 $s0, $f4
/* 79200C 802A127C 00000000 */ nop
/* 792010 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 792014 802A1284 44062000 */ mfc1 $a2, $f4
/* 792018 802A1288 44822000 */ mtc1 $v0, $f4
/* 79201C 802A128C 00000000 */ nop
/* 792020 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 792024 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 792028 802A1298 44810000 */ mtc1 $at, $f0
/* 79202C 802A129C 3C013F80 */ lui $at, 0x3f80
/* 792030 802A12A0 44811000 */ mtc1 $at, $f2
/* 792034 802A12A4 44072000 */ mfc1 $a3, $f4
/* 792038 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 79203C 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 792040 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 792044 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 792048 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79204C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 792050 802A12C0 0C01C8D4 */ jal func_80072350
/* 792054 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 792058 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 79205C 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 792060 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 792064 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 792068 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 79206C 802A12DC 03E00008 */ jr $ra
/* 792070 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_792074
/* 792074 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 792078 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 79207C 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 792080 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 792084 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 792088 802A12F8 0C04760B */ jal func_8011D82C
/* 79208C 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 792090 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 792094 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 792098 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 79209C 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 7920A0 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 7920A4 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 7920A8 802A1318 24030001 */ addiu $v1, $zero, 1
/* 7920AC 802A131C 0C046F97 */ jal set_background_color_blend
/* 7920B0 802A1320 A0430000 */ sb $v1, ($v0)
/* 7920B4 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 7920B8 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 7920BC 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 7920C0 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 7920C4 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 7920C8 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 7920CC 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 7920D0 802A1340 00431023 */ subu $v0, $v0, $v1
/* 7920D4 802A1344 00023880 */ sll $a3, $v0, 2
/* 7920D8 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 7920DC 802A134C 00073840 */ sll $a3, $a3, 1
/* 7920E0 802A1350 0C046F97 */ jal set_background_color_blend
/* 7920E4 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 7920E8 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 7920EC 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 7920F0 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 7920F4 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 7920F8 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 7920FC 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 792100 802A1370 00021040 */ sll $v0, $v0, 1
/* 792104 802A1374 03E00008 */ jr $ra
/* 792108 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_79210C
/* 79210C 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 792110 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 792114 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 792118 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 79211C 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 792120 802A1390 0C04760B */ jal func_8011D82C
/* 792124 802A1394 24040001 */ addiu $a0, $zero, 1
/* 792128 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 79212C 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 792130 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 792134 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 792138 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 79213C 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 792140 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 792144 802A13B4 0C046F97 */ jal set_background_color_blend
/* 792148 802A13B8 A0620000 */ sb $v0, ($v1)
/* 79214C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 792150 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 792154 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 792158 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 79215C 802A13CC 0C046F97 */ jal set_background_color_blend
/* 792160 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 792164 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 792168 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 79216C 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 792170 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 792174 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 792178 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 79217C 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 792180 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 792184 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 792188 802A13F8 0C046F97 */ jal set_background_color_blend
/* 79218C 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 792190 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 792194 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 792198 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 79219C 802A140C 03E00008 */ jr $ra
/* 7921A0 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_7921A4
/* 7921A4 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7921A8 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 7921AC 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 7921B0 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 7921B4 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 7921B8 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 7921BC 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 7921C0 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 7921C4 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 7921C8 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 7921CC 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 7921D0 802A1440 00023880 */ sll $a3, $v0, 2
/* 7921D4 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 7921D8 802A1448 00073840 */ sll $a3, $a3, 1
/* 7921DC 802A144C 0C046F97 */ jal set_background_color_blend
/* 7921E0 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 7921E4 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 7921E8 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 7921EC 802A145C 10400003 */ beqz $v0, .L802A146C
/* 7921F0 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 7921F4 802A1464 080A8521 */ j .L802A1484
/* 7921F8 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 7921FC 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 792200 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 792204 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 792208 802A1478 0C046F97 */ jal set_background_color_blend
/* 79220C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 792210 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 792214 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 792218 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 79221C 802A148C 03E00008 */ jr $ra
/* 792220 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_792224
/* 792224 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 792228 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79222C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 792230 802A14A0 0C0B1EAF */ jal get_variable
/* 792234 802A14A4 8C450000 */ lw $a1, ($v0)
/* 792238 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79223C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 792240 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 792244 802A14B4 00051880 */ sll $v1, $a1, 2
/* 792248 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79224C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 792250 802A14C0 00031880 */ sll $v1, $v1, 2
/* 792254 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 792258 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 79225C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 792260 802A14D0 0C098F3F */ jal set_animation
/* 792264 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 792268 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 79226C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 792270 802A14E0 03E00008 */ jr $ra
/* 792274 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_792278
/* 792278 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79227C 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 792280 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 792284 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 792288 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 79228C 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 792290 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 792294 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 792298 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 79229C 802A150C 24020002 */ addiu $v0, $zero, 2
/* 7922A0 802A1510 03E00008 */ jr $ra
/* 7922A4 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_7922A8
/* 7922A8 802A1518 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7922AC 802A151C AFBF0014 */ sw $ra, 0x14($sp)
/* 7922B0 802A1520 AFB00010 */ sw $s0, 0x10($sp)
/* 7922B4 802A1524 8C82000C */ lw $v0, 0xc($a0)
/* 7922B8 802A1528 0C0B1EAF */ jal get_variable
/* 7922BC 802A152C 8C450000 */ lw $a1, ($v0)
/* 7922C0 802A1530 3C038011 */ lui $v1, %hi(gPlayerData)
/* 7922C4 802A1534 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
/* 7922C8 802A1538 80640002 */ lb $a0, 2($v1)
/* 7922CC 802A153C 80650003 */ lb $a1, 3($v1)
/* 7922D0 802A1540 00822021 */ addu $a0, $a0, $v0
/* 7922D4 802A1544 00A4102A */ slt $v0, $a1, $a0
/* 7922D8 802A1548 10400002 */ beqz $v0, .L802A1554
/* 7922DC 802A154C 0060802D */ daddu $s0, $v1, $zero
/* 7922E0 802A1550 00A0202D */ daddu $a0, $a1, $zero
.L802A1554:
/* 7922E4 802A1554 A2040002 */ sb $a0, 2($s0)
/* 7922E8 802A1558 8FBF0014 */ lw $ra, 0x14($sp)
/* 7922EC 802A155C 8FB00010 */ lw $s0, 0x10($sp)
/* 7922F0 802A1560 24020002 */ addiu $v0, $zero, 2
/* 7922F4 802A1564 03E00008 */ jr $ra
/* 7922F8 802A1568 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,53 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A156C_7922FC
/* 7922FC 802A156C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 792300 802A1570 AFB1001C */ sw $s1, 0x1c($sp)
/* 792304 802A1574 0080882D */ daddu $s1, $a0, $zero
/* 792308 802A1578 AFBF0028 */ sw $ra, 0x28($sp)
/* 79230C 802A157C AFB30024 */ sw $s3, 0x24($sp)
/* 792310 802A1580 AFB20020 */ sw $s2, 0x20($sp)
/* 792314 802A1584 AFB00018 */ sw $s0, 0x18($sp)
/* 792318 802A1588 8E30000C */ lw $s0, 0xc($s1)
/* 79231C 802A158C 8E050000 */ lw $a1, ($s0)
/* 792320 802A1590 0C0B1EAF */ jal get_variable
/* 792324 802A1594 26100004 */ addiu $s0, $s0, 4
/* 792328 802A1598 8E050000 */ lw $a1, ($s0)
/* 79232C 802A159C 26100004 */ addiu $s0, $s0, 4
/* 792330 802A15A0 0220202D */ daddu $a0, $s1, $zero
/* 792334 802A15A4 0C0B1EAF */ jal get_variable
/* 792338 802A15A8 0040982D */ daddu $s3, $v0, $zero
/* 79233C 802A15AC 8E050000 */ lw $a1, ($s0)
/* 792340 802A15B0 26100004 */ addiu $s0, $s0, 4
/* 792344 802A15B4 0220202D */ daddu $a0, $s1, $zero
/* 792348 802A15B8 0C0B1EAF */ jal get_variable
/* 79234C 802A15BC 0040902D */ daddu $s2, $v0, $zero
/* 792350 802A15C0 0220202D */ daddu $a0, $s1, $zero
/* 792354 802A15C4 8E050000 */ lw $a1, ($s0)
/* 792358 802A15C8 0C0B1EAF */ jal get_variable
/* 79235C 802A15CC 0040802D */ daddu $s0, $v0, $zero
/* 792360 802A15D0 44930000 */ mtc1 $s3, $f0
/* 792364 802A15D4 00000000 */ nop
/* 792368 802A15D8 46800020 */ cvt.s.w $f0, $f0
/* 79236C 802A15DC 44050000 */ mfc1 $a1, $f0
/* 792370 802A15E0 44920000 */ mtc1 $s2, $f0
/* 792374 802A15E4 00000000 */ nop
/* 792378 802A15E8 46800020 */ cvt.s.w $f0, $f0
/* 79237C 802A15EC 44060000 */ mfc1 $a2, $f0
/* 792380 802A15F0 44900000 */ mtc1 $s0, $f0
/* 792384 802A15F4 00000000 */ nop
/* 792388 802A15F8 46800020 */ cvt.s.w $f0, $f0
/* 79238C 802A15FC 44070000 */ mfc1 $a3, $f0
/* 792390 802A1600 0000202D */ daddu $a0, $zero, $zero
/* 792394 802A1604 0C01C424 */ jal func_80071090
/* 792398 802A1608 AFA20010 */ sw $v0, 0x10($sp)
/* 79239C 802A160C 8FBF0028 */ lw $ra, 0x28($sp)
/* 7923A0 802A1610 8FB30024 */ lw $s3, 0x24($sp)
/* 7923A4 802A1614 8FB20020 */ lw $s2, 0x20($sp)
/* 7923A8 802A1618 8FB1001C */ lw $s1, 0x1c($sp)
/* 7923AC 802A161C 8FB00018 */ lw $s0, 0x18($sp)
/* 7923B0 802A1620 24020002 */ addiu $v0, $zero, 2
/* 7923B4 802A1624 03E00008 */ jr $ra
/* 7923B8 802A1628 27BD0030 */ addiu $sp, $sp, 0x30
/* 7923BC 802A162C 00000000 */ nop

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_793D20
/* 793D20 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 793D24 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 793D28 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 793D2C 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 793D30 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 793D34 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 793D38 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 793D3C 802A101C 8E050000 */ lw $a1, ($s0)
/* 793D40 802A1020 0C0B1EAF */ jal get_variable
/* 793D44 802A1024 26100004 */ addiu $s0, $s0, 4
/* 793D48 802A1028 8E050000 */ lw $a1, ($s0)
/* 793D4C 802A102C 26100004 */ addiu $s0, $s0, 4
/* 793D50 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 793D54 802A1034 0C0B1EAF */ jal get_variable
/* 793D58 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 793D5C 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 793D60 802A1040 8E050000 */ lw $a1, ($s0)
/* 793D64 802A1044 0C0B1EAF */ jal get_variable
/* 793D68 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 793D6C 802A104C 44921000 */ mtc1 $s2, $f2
/* 793D70 802A1050 00000000 */ nop
/* 793D74 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 793D78 802A1058 44051000 */ mfc1 $a1, $f2
/* 793D7C 802A105C 44901000 */ mtc1 $s0, $f2
/* 793D80 802A1060 00000000 */ nop
/* 793D84 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 793D88 802A1068 44061000 */ mfc1 $a2, $f2
/* 793D8C 802A106C 44821000 */ mtc1 $v0, $f2
/* 793D90 802A1070 00000000 */ nop
/* 793D94 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 793D98 802A1078 3C014220 */ lui $at, 0x4220
/* 793D9C 802A107C 44810000 */ mtc1 $at, $f0
/* 793DA0 802A1080 44071000 */ mfc1 $a3, $f2
/* 793DA4 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 793DA8 802A1088 0C01BFBC */ jal func_8006FEF0
/* 793DAC 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 793DB0 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 793DB4 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 793DB8 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 793DBC 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 793DC0 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 793DC4 802A10A4 03E00008 */ jr $ra
/* 793DC8 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_793DCC
/* 793DCC 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 793DD0 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 793DD4 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 793DD8 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 793DDC 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 793DE0 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 793DE4 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 793DE8 802A10C8 8E050000 */ lw $a1, ($s0)
/* 793DEC 802A10CC 0C0B1EAF */ jal get_variable
/* 793DF0 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 793DF4 802A10D4 8E050000 */ lw $a1, ($s0)
/* 793DF8 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 793DFC 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 793E00 802A10E0 0C0B1EAF */ jal get_variable
/* 793E04 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 793E08 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 793E0C 802A10EC 8E050000 */ lw $a1, ($s0)
/* 793E10 802A10F0 0C0B1EAF */ jal get_variable
/* 793E14 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 793E18 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 793E1C 802A10FC 44921000 */ mtc1 $s2, $f2
/* 793E20 802A1100 00000000 */ nop
/* 793E24 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 793E28 802A1108 44051000 */ mfc1 $a1, $f2
/* 793E2C 802A110C 44901000 */ mtc1 $s0, $f2
/* 793E30 802A1110 00000000 */ nop
/* 793E34 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 793E38 802A1118 44061000 */ mfc1 $a2, $f2
/* 793E3C 802A111C 44821000 */ mtc1 $v0, $f2
/* 793E40 802A1120 00000000 */ nop
/* 793E44 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 793E48 802A1128 3C014248 */ lui $at, 0x4248
/* 793E4C 802A112C 44810000 */ mtc1 $at, $f0
/* 793E50 802A1130 44071000 */ mfc1 $a3, $f2
/* 793E54 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 793E58 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 793E5C 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 793E60 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 793E64 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 793E68 802A1148 0C01C154 */ jal func_80070550
/* 793E6C 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 793E70 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 793E74 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 793E78 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 793E7C 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 793E80 802A1160 24020002 */ addiu $v0, $zero, 2
/* 793E84 802A1164 03E00008 */ jr $ra
/* 793E88 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_793E8C
/* 793E8C 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 793E90 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 793E94 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 793E98 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 793E9C 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 793EA0 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 793EA4 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 793EA8 802A1188 8E050000 */ lw $a1, ($s0)
/* 793EAC 802A118C 0C0B1EAF */ jal get_variable
/* 793EB0 802A1190 26100004 */ addiu $s0, $s0, 4
/* 793EB4 802A1194 8E050000 */ lw $a1, ($s0)
/* 793EB8 802A1198 26100004 */ addiu $s0, $s0, 4
/* 793EBC 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 793EC0 802A11A0 0C0B1EAF */ jal get_variable
/* 793EC4 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 793EC8 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 793ECC 802A11AC 8E050000 */ lw $a1, ($s0)
/* 793ED0 802A11B0 0C0B1EAF */ jal get_variable
/* 793ED4 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 793ED8 802A11B8 44921000 */ mtc1 $s2, $f2
/* 793EDC 802A11BC 00000000 */ nop
/* 793EE0 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 793EE4 802A11C4 44051000 */ mfc1 $a1, $f2
/* 793EE8 802A11C8 44901000 */ mtc1 $s0, $f2
/* 793EEC 802A11CC 00000000 */ nop
/* 793EF0 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 793EF4 802A11D4 44061000 */ mfc1 $a2, $f2
/* 793EF8 802A11D8 44821000 */ mtc1 $v0, $f2
/* 793EFC 802A11DC 00000000 */ nop
/* 793F00 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 793F04 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 793F08 802A11E8 44810000 */ mtc1 $at, $f0
/* 793F0C 802A11EC 44071000 */ mfc1 $a3, $f2
/* 793F10 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 793F14 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 793F18 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 793F1C 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 793F20 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 793F24 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 793F28 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 793F2C 802A120C 24020002 */ addiu $v0, $zero, 2
/* 793F30 802A1210 03E00008 */ jr $ra
/* 793F34 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_793F38
/* 793F38 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 793F3C 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 793F40 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 793F44 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 793F48 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 793F4C 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 793F50 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 793F54 802A1234 8E050000 */ lw $a1, ($s0)
/* 793F58 802A1238 0C0B1EAF */ jal get_variable
/* 793F5C 802A123C 26100004 */ addiu $s0, $s0, 4
/* 793F60 802A1240 8E050000 */ lw $a1, ($s0)
/* 793F64 802A1244 26100004 */ addiu $s0, $s0, 4
/* 793F68 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 793F6C 802A124C 0C0B1EAF */ jal get_variable
/* 793F70 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 793F74 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 793F78 802A1258 8E050000 */ lw $a1, ($s0)
/* 793F7C 802A125C 0C0B1EAF */ jal get_variable
/* 793F80 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 793F84 802A1264 24040004 */ addiu $a0, $zero, 4
/* 793F88 802A1268 44922000 */ mtc1 $s2, $f4
/* 793F8C 802A126C 00000000 */ nop
/* 793F90 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 793F94 802A1274 44052000 */ mfc1 $a1, $f4
/* 793F98 802A1278 44902000 */ mtc1 $s0, $f4
/* 793F9C 802A127C 00000000 */ nop
/* 793FA0 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 793FA4 802A1284 44062000 */ mfc1 $a2, $f4
/* 793FA8 802A1288 44822000 */ mtc1 $v0, $f4
/* 793FAC 802A128C 00000000 */ nop
/* 793FB0 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 793FB4 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 793FB8 802A1298 44810000 */ mtc1 $at, $f0
/* 793FBC 802A129C 3C013F80 */ lui $at, 0x3f80
/* 793FC0 802A12A0 44811000 */ mtc1 $at, $f2
/* 793FC4 802A12A4 44072000 */ mfc1 $a3, $f4
/* 793FC8 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 793FCC 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 793FD0 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 793FD4 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 793FD8 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 793FDC 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 793FE0 802A12C0 0C01C8D4 */ jal func_80072350
/* 793FE4 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 793FE8 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 793FEC 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 793FF0 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 793FF4 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 793FF8 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 793FFC 802A12DC 03E00008 */ jr $ra
/* 794000 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_794004
/* 794004 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 794008 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 79400C 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 794010 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 794014 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 794018 802A12F8 0C04760B */ jal func_8011D82C
/* 79401C 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 794020 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 794024 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 794028 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 79402C 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 794030 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 794034 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 794038 802A1318 24030001 */ addiu $v1, $zero, 1
/* 79403C 802A131C 0C046F97 */ jal set_background_color_blend
/* 794040 802A1320 A0430000 */ sb $v1, ($v0)
/* 794044 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 794048 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 79404C 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 794050 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 794054 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 794058 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 79405C 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 794060 802A1340 00431023 */ subu $v0, $v0, $v1
/* 794064 802A1344 00023880 */ sll $a3, $v0, 2
/* 794068 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 79406C 802A134C 00073840 */ sll $a3, $a3, 1
/* 794070 802A1350 0C046F97 */ jal set_background_color_blend
/* 794074 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 794078 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 79407C 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 794080 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 794084 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 794088 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 79408C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 794090 802A1370 00021040 */ sll $v0, $v0, 1
/* 794094 802A1374 03E00008 */ jr $ra
/* 794098 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_79409C
/* 79409C 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7940A0 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 7940A4 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 7940A8 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 7940AC 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 7940B0 802A1390 0C04760B */ jal func_8011D82C
/* 7940B4 802A1394 24040001 */ addiu $a0, $zero, 1
/* 7940B8 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 7940BC 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 7940C0 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 7940C4 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 7940C8 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 7940CC 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 7940D0 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 7940D4 802A13B4 0C046F97 */ jal set_background_color_blend
/* 7940D8 802A13B8 A0620000 */ sb $v0, ($v1)
/* 7940DC 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 7940E0 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 7940E4 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 7940E8 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 7940EC 802A13CC 0C046F97 */ jal set_background_color_blend
/* 7940F0 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 7940F4 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 7940F8 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 7940FC 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 794100 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 794104 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 794108 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 79410C 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 794110 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 794114 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 794118 802A13F8 0C046F97 */ jal set_background_color_blend
/* 79411C 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 794120 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 794124 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 794128 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 79412C 802A140C 03E00008 */ jr $ra
/* 794130 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_794134
/* 794134 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 794138 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 79413C 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 794140 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 794144 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 794148 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 79414C 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 794150 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 794154 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 794158 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 79415C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 794160 802A1440 00023880 */ sll $a3, $v0, 2
/* 794164 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 794168 802A1448 00073840 */ sll $a3, $a3, 1
/* 79416C 802A144C 0C046F97 */ jal set_background_color_blend
/* 794170 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 794174 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 794178 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 79417C 802A145C 10400003 */ beqz $v0, .L802A146C
/* 794180 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 794184 802A1464 080A8521 */ j .L802A1484
/* 794188 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 79418C 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 794190 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 794194 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 794198 802A1478 0C046F97 */ jal set_background_color_blend
/* 79419C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 7941A0 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 7941A4 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 7941A8 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 7941AC 802A148C 03E00008 */ jr $ra
/* 7941B0 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_7941B4
/* 7941B4 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7941B8 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 7941BC 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 7941C0 802A14A0 0C0B1EAF */ jal get_variable
/* 7941C4 802A14A4 8C450000 */ lw $a1, ($v0)
/* 7941C8 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 7941CC 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 7941D0 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 7941D4 802A14B4 00051880 */ sll $v1, $a1, 2
/* 7941D8 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 7941DC 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 7941E0 802A14C0 00031880 */ sll $v1, $v1, 2
/* 7941E4 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 7941E8 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 7941EC 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 7941F0 802A14D0 0C098F3F */ jal set_animation
/* 7941F4 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 7941F8 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 7941FC 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 794200 802A14E0 03E00008 */ jr $ra
/* 794204 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,18 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_794208
/* 794208 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79420C 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 794210 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 794214 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 794218 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 79421C 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 794220 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 794224 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 794228 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 79422C 802A150C 24020002 */ addiu $v0, $zero, 2
/* 794230 802A1510 03E00008 */ jr $ra
/* 794234 802A1514 27BD0018 */ addiu $sp, $sp, 0x18
/* 794238 802A1518 00000000 */ nop
/* 79423C 802A151C 00000000 */ nop

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_7952E0
/* 7952E0 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 7952E4 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 7952E8 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 7952EC 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 7952F0 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 7952F4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 7952F8 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 7952FC 802A101C 8E050000 */ lw $a1, ($s0)
/* 795300 802A1020 0C0B1EAF */ jal get_variable
/* 795304 802A1024 26100004 */ addiu $s0, $s0, 4
/* 795308 802A1028 8E050000 */ lw $a1, ($s0)
/* 79530C 802A102C 26100004 */ addiu $s0, $s0, 4
/* 795310 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 795314 802A1034 0C0B1EAF */ jal get_variable
/* 795318 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 79531C 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 795320 802A1040 8E050000 */ lw $a1, ($s0)
/* 795324 802A1044 0C0B1EAF */ jal get_variable
/* 795328 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 79532C 802A104C 44921000 */ mtc1 $s2, $f2
/* 795330 802A1050 00000000 */ nop
/* 795334 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 795338 802A1058 44051000 */ mfc1 $a1, $f2
/* 79533C 802A105C 44901000 */ mtc1 $s0, $f2
/* 795340 802A1060 00000000 */ nop
/* 795344 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 795348 802A1068 44061000 */ mfc1 $a2, $f2
/* 79534C 802A106C 44821000 */ mtc1 $v0, $f2
/* 795350 802A1070 00000000 */ nop
/* 795354 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 795358 802A1078 3C014220 */ lui $at, 0x4220
/* 79535C 802A107C 44810000 */ mtc1 $at, $f0
/* 795360 802A1080 44071000 */ mfc1 $a3, $f2
/* 795364 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 795368 802A1088 0C01BFBC */ jal func_8006FEF0
/* 79536C 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 795370 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 795374 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 795378 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 79537C 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 795380 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 795384 802A10A4 03E00008 */ jr $ra
/* 795388 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_79538C
/* 79538C 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 795390 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 795394 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 795398 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 79539C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 7953A0 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 7953A4 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 7953A8 802A10C8 8E050000 */ lw $a1, ($s0)
/* 7953AC 802A10CC 0C0B1EAF */ jal get_variable
/* 7953B0 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 7953B4 802A10D4 8E050000 */ lw $a1, ($s0)
/* 7953B8 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 7953BC 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 7953C0 802A10E0 0C0B1EAF */ jal get_variable
/* 7953C4 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 7953C8 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 7953CC 802A10EC 8E050000 */ lw $a1, ($s0)
/* 7953D0 802A10F0 0C0B1EAF */ jal get_variable
/* 7953D4 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 7953D8 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 7953DC 802A10FC 44921000 */ mtc1 $s2, $f2
/* 7953E0 802A1100 00000000 */ nop
/* 7953E4 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 7953E8 802A1108 44051000 */ mfc1 $a1, $f2
/* 7953EC 802A110C 44901000 */ mtc1 $s0, $f2
/* 7953F0 802A1110 00000000 */ nop
/* 7953F4 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 7953F8 802A1118 44061000 */ mfc1 $a2, $f2
/* 7953FC 802A111C 44821000 */ mtc1 $v0, $f2
/* 795400 802A1120 00000000 */ nop
/* 795404 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 795408 802A1128 3C014248 */ lui $at, 0x4248
/* 79540C 802A112C 44810000 */ mtc1 $at, $f0
/* 795410 802A1130 44071000 */ mfc1 $a3, $f2
/* 795414 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 795418 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 79541C 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 795420 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 795424 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 795428 802A1148 0C01C154 */ jal func_80070550
/* 79542C 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 795430 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 795434 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 795438 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 79543C 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 795440 802A1160 24020002 */ addiu $v0, $zero, 2
/* 795444 802A1164 03E00008 */ jr $ra
/* 795448 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_79544C
/* 79544C 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 795450 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 795454 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 795458 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 79545C 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 795460 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 795464 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 795468 802A1188 8E050000 */ lw $a1, ($s0)
/* 79546C 802A118C 0C0B1EAF */ jal get_variable
/* 795470 802A1190 26100004 */ addiu $s0, $s0, 4
/* 795474 802A1194 8E050000 */ lw $a1, ($s0)
/* 795478 802A1198 26100004 */ addiu $s0, $s0, 4
/* 79547C 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 795480 802A11A0 0C0B1EAF */ jal get_variable
/* 795484 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 795488 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 79548C 802A11AC 8E050000 */ lw $a1, ($s0)
/* 795490 802A11B0 0C0B1EAF */ jal get_variable
/* 795494 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 795498 802A11B8 44921000 */ mtc1 $s2, $f2
/* 79549C 802A11BC 00000000 */ nop
/* 7954A0 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 7954A4 802A11C4 44051000 */ mfc1 $a1, $f2
/* 7954A8 802A11C8 44901000 */ mtc1 $s0, $f2
/* 7954AC 802A11CC 00000000 */ nop
/* 7954B0 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 7954B4 802A11D4 44061000 */ mfc1 $a2, $f2
/* 7954B8 802A11D8 44821000 */ mtc1 $v0, $f2
/* 7954BC 802A11DC 00000000 */ nop
/* 7954C0 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 7954C4 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 7954C8 802A11E8 44810000 */ mtc1 $at, $f0
/* 7954CC 802A11EC 44071000 */ mfc1 $a3, $f2
/* 7954D0 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 7954D4 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 7954D8 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 7954DC 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 7954E0 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 7954E4 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 7954E8 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 7954EC 802A120C 24020002 */ addiu $v0, $zero, 2
/* 7954F0 802A1210 03E00008 */ jr $ra
/* 7954F4 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_7954F8
/* 7954F8 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 7954FC 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 795500 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 795504 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 795508 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 79550C 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 795510 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 795514 802A1234 8E050000 */ lw $a1, ($s0)
/* 795518 802A1238 0C0B1EAF */ jal get_variable
/* 79551C 802A123C 26100004 */ addiu $s0, $s0, 4
/* 795520 802A1240 8E050000 */ lw $a1, ($s0)
/* 795524 802A1244 26100004 */ addiu $s0, $s0, 4
/* 795528 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 79552C 802A124C 0C0B1EAF */ jal get_variable
/* 795530 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 795534 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 795538 802A1258 8E050000 */ lw $a1, ($s0)
/* 79553C 802A125C 0C0B1EAF */ jal get_variable
/* 795540 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 795544 802A1264 24040004 */ addiu $a0, $zero, 4
/* 795548 802A1268 44922000 */ mtc1 $s2, $f4
/* 79554C 802A126C 00000000 */ nop
/* 795550 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 795554 802A1274 44052000 */ mfc1 $a1, $f4
/* 795558 802A1278 44902000 */ mtc1 $s0, $f4
/* 79555C 802A127C 00000000 */ nop
/* 795560 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 795564 802A1284 44062000 */ mfc1 $a2, $f4
/* 795568 802A1288 44822000 */ mtc1 $v0, $f4
/* 79556C 802A128C 00000000 */ nop
/* 795570 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 795574 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 795578 802A1298 44810000 */ mtc1 $at, $f0
/* 79557C 802A129C 3C013F80 */ lui $at, 0x3f80
/* 795580 802A12A0 44811000 */ mtc1 $at, $f2
/* 795584 802A12A4 44072000 */ mfc1 $a3, $f4
/* 795588 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 79558C 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 795590 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 795594 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 795598 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79559C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 7955A0 802A12C0 0C01C8D4 */ jal func_80072350
/* 7955A4 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 7955A8 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 7955AC 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 7955B0 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 7955B4 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 7955B8 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 7955BC 802A12DC 03E00008 */ jr $ra
/* 7955C0 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_7955C4
/* 7955C4 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7955C8 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 7955CC 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 7955D0 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 7955D4 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 7955D8 802A12F8 0C04760B */ jal func_8011D82C
/* 7955DC 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 7955E0 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 7955E4 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 7955E8 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 7955EC 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 7955F0 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 7955F4 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 7955F8 802A1318 24030001 */ addiu $v1, $zero, 1
/* 7955FC 802A131C 0C046F97 */ jal set_background_color_blend
/* 795600 802A1320 A0430000 */ sb $v1, ($v0)
/* 795604 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 795608 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 79560C 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 795610 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 795614 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 795618 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 79561C 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 795620 802A1340 00431023 */ subu $v0, $v0, $v1
/* 795624 802A1344 00023880 */ sll $a3, $v0, 2
/* 795628 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 79562C 802A134C 00073840 */ sll $a3, $a3, 1
/* 795630 802A1350 0C046F97 */ jal set_background_color_blend
/* 795634 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 795638 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 79563C 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 795640 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 795644 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 795648 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 79564C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 795650 802A1370 00021040 */ sll $v0, $v0, 1
/* 795654 802A1374 03E00008 */ jr $ra
/* 795658 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_79565C
/* 79565C 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 795660 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 795664 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 795668 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 79566C 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 795670 802A1390 0C04760B */ jal func_8011D82C
/* 795674 802A1394 24040001 */ addiu $a0, $zero, 1
/* 795678 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 79567C 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 795680 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 795684 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 795688 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 79568C 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 795690 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 795694 802A13B4 0C046F97 */ jal set_background_color_blend
/* 795698 802A13B8 A0620000 */ sb $v0, ($v1)
/* 79569C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 7956A0 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 7956A4 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 7956A8 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 7956AC 802A13CC 0C046F97 */ jal set_background_color_blend
/* 7956B0 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 7956B4 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 7956B8 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 7956BC 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 7956C0 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 7956C4 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 7956C8 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 7956CC 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 7956D0 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 7956D4 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 7956D8 802A13F8 0C046F97 */ jal set_background_color_blend
/* 7956DC 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 7956E0 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 7956E4 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 7956E8 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 7956EC 802A140C 03E00008 */ jr $ra
/* 7956F0 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_7956F4
/* 7956F4 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7956F8 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 7956FC 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 795700 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 795704 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 795708 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 79570C 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 795710 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 795714 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 795718 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 79571C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 795720 802A1440 00023880 */ sll $a3, $v0, 2
/* 795724 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 795728 802A1448 00073840 */ sll $a3, $a3, 1
/* 79572C 802A144C 0C046F97 */ jal set_background_color_blend
/* 795730 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 795734 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 795738 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 79573C 802A145C 10400003 */ beqz $v0, .L802A146C
/* 795740 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 795744 802A1464 080A8521 */ j .L802A1484
/* 795748 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 79574C 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 795750 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 795754 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 795758 802A1478 0C046F97 */ jal set_background_color_blend
/* 79575C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 795760 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 795764 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 795768 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 79576C 802A148C 03E00008 */ jr $ra
/* 795770 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_795774
/* 795774 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 795778 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79577C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 795780 802A14A0 0C0B1EAF */ jal get_variable
/* 795784 802A14A4 8C450000 */ lw $a1, ($v0)
/* 795788 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79578C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 795790 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 795794 802A14B4 00051880 */ sll $v1, $a1, 2
/* 795798 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79579C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 7957A0 802A14C0 00031880 */ sll $v1, $v1, 2
/* 7957A4 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 7957A8 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 7957AC 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 7957B0 802A14D0 0C098F3F */ jal set_animation
/* 7957B4 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 7957B8 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 7957BC 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 7957C0 802A14E0 03E00008 */ jr $ra
/* 7957C4 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_7957C8
/* 7957C8 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7957CC 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 7957D0 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 7957D4 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 7957D8 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 7957DC 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 7957E0 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 7957E4 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 7957E8 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 7957EC 802A150C 24020002 */ addiu $v0, $zero, 2
/* 7957F0 802A1510 03E00008 */ jr $ra
/* 7957F4 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,45 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_7957F8
/* 7957F8 802A1518 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7957FC 802A151C AFB00010 */ sw $s0, 0x10($sp)
/* 795800 802A1520 0080802D */ daddu $s0, $a0, $zero
/* 795804 802A1524 10A0000E */ beqz $a1, .L802A1560
/* 795808 802A1528 AFBF0014 */ sw $ra, 0x14($sp)
/* 79580C 802A152C 0C04760B */ jal func_8011D82C
/* 795810 802A1530 24040001 */ addiu $a0, $zero, 1
/* 795814 802A1534 0000202D */ daddu $a0, $zero, $zero
/* 795818 802A1538 0080282D */ daddu $a1, $a0, $zero
/* 79581C 802A153C 0080302D */ daddu $a2, $a0, $zero
/* 795820 802A1540 0080382D */ daddu $a3, $a0, $zero
/* 795824 802A1544 3C028015 */ lui $v0, %hi(D_801512F0)
/* 795828 802A1548 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 79582C 802A154C 24030001 */ addiu $v1, $zero, 1
/* 795830 802A1550 0C046F97 */ jal set_background_color_blend
/* 795834 802A1554 A0430000 */ sb $v1, ($v0)
/* 795838 802A1558 240200C8 */ addiu $v0, $zero, 0xc8
/* 79583C 802A155C AE020070 */ sw $v0, 0x70($s0)
.L802A1560:
/* 795840 802A1560 0000202D */ daddu $a0, $zero, $zero
/* 795844 802A1564 0080282D */ daddu $a1, $a0, $zero
/* 795848 802A1568 92070073 */ lbu $a3, 0x73($s0)
/* 79584C 802A156C 0C046F97 */ jal set_background_color_blend
/* 795850 802A1570 0080302D */ daddu $a2, $a0, $zero
/* 795854 802A1574 8E020070 */ lw $v0, 0x70($s0)
/* 795858 802A1578 24420002 */ addiu $v0, $v0, 2
/* 79585C 802A157C AE020070 */ sw $v0, 0x70($s0)
/* 795860 802A1580 284200FE */ slti $v0, $v0, 0xfe
/* 795864 802A1584 14400007 */ bnez $v0, .L802A15A4
/* 795868 802A1588 0000102D */ daddu $v0, $zero, $zero
/* 79586C 802A158C 0000202D */ daddu $a0, $zero, $zero
/* 795870 802A1590 0080282D */ daddu $a1, $a0, $zero
/* 795874 802A1594 0080302D */ daddu $a2, $a0, $zero
/* 795878 802A1598 0C046F97 */ jal set_background_color_blend
/* 79587C 802A159C 240700FE */ addiu $a3, $zero, 0xfe
/* 795880 802A15A0 24020002 */ addiu $v0, $zero, 2
.L802A15A4:
/* 795884 802A15A4 8FBF0014 */ lw $ra, 0x14($sp)
/* 795888 802A15A8 8FB00010 */ lw $s0, 0x10($sp)
/* 79588C 802A15AC 03E00008 */ jr $ra
/* 795890 802A15B0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,36 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A15B4_795894
/* 795894 802A15B4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 795898 802A15B8 AFB00010 */ sw $s0, 0x10($sp)
/* 79589C 802A15BC 0080802D */ daddu $s0, $a0, $zero
/* 7958A0 802A15C0 10A00003 */ beqz $a1, .L802A15D0
/* 7958A4 802A15C4 AFBF0014 */ sw $ra, 0x14($sp)
/* 7958A8 802A15C8 240200FE */ addiu $v0, $zero, 0xfe
/* 7958AC 802A15CC AE020070 */ sw $v0, 0x70($s0)
.L802A15D0:
/* 7958B0 802A15D0 0000202D */ daddu $a0, $zero, $zero
/* 7958B4 802A15D4 0080282D */ daddu $a1, $a0, $zero
/* 7958B8 802A15D8 92070073 */ lbu $a3, 0x73($s0)
/* 7958BC 802A15DC 0C046F97 */ jal set_background_color_blend
/* 7958C0 802A15E0 0080302D */ daddu $a2, $a0, $zero
/* 7958C4 802A15E4 8E020070 */ lw $v0, 0x70($s0)
/* 7958C8 802A15E8 2442FFFB */ addiu $v0, $v0, -5
/* 7958CC 802A15EC AE020070 */ sw $v0, 0x70($s0)
/* 7958D0 802A15F0 284200C9 */ slti $v0, $v0, 0xc9
/* 7958D4 802A15F4 14400003 */ bnez $v0, .L802A1604
/* 7958D8 802A15F8 0000202D */ daddu $a0, $zero, $zero
/* 7958DC 802A15FC 080A8586 */ j .L802A1618
/* 7958E0 802A1600 0000102D */ daddu $v0, $zero, $zero
.L802A1604:
/* 7958E4 802A1604 0080282D */ daddu $a1, $a0, $zero
/* 7958E8 802A1608 0080302D */ daddu $a2, $a0, $zero
/* 7958EC 802A160C 0C046F97 */ jal set_background_color_blend
/* 7958F0 802A1610 240700C8 */ addiu $a3, $zero, 0xc8
/* 7958F4 802A1614 24020002 */ addiu $v0, $zero, 2
.L802A1618:
/* 7958F8 802A1618 8FBF0014 */ lw $ra, 0x14($sp)
/* 7958FC 802A161C 8FB00010 */ lw $s0, 0x10($sp)
/* 795900 802A1620 03E00008 */ jr $ra
/* 795904 802A1624 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1628_795908
/* 795908 802A1628 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 79590C 802A162C AFB10014 */ sw $s1, 0x14($sp)
/* 795910 802A1630 0080882D */ daddu $s1, $a0, $zero
/* 795914 802A1634 AFBF0018 */ sw $ra, 0x18($sp)
/* 795918 802A1638 AFB00010 */ sw $s0, 0x10($sp)
/* 79591C 802A163C 0C09A75B */ jal get_actor
/* 795920 802A1640 8E240148 */ lw $a0, 0x148($s1)
/* 795924 802A1644 0C09A75B */ jal get_actor
/* 795928 802A1648 84440428 */ lh $a0, 0x428($v0)
/* 79592C 802A164C 0040802D */ daddu $s0, $v0, $zero
/* 795930 802A1650 AE200084 */ sw $zero, 0x84($s1)
/* 795934 802A1654 8E030000 */ lw $v1, ($s0)
/* 795938 802A1658 30624000 */ andi $v0, $v1, 0x4000
/* 79593C 802A165C 14400016 */ bnez $v0, .L802A16B8
/* 795940 802A1660 24020002 */ addiu $v0, $zero, 2
/* 795944 802A1664 3C020040 */ lui $v0, 0x40
/* 795948 802A1668 00621024 */ and $v0, $v1, $v0
/* 79594C 802A166C 14400012 */ bnez $v0, .L802A16B8
/* 795950 802A1670 24020002 */ addiu $v0, $zero, 2
/* 795954 802A1674 30622000 */ andi $v0, $v1, 0x2000
/* 795958 802A1678 1440000F */ bnez $v0, .L802A16B8
/* 79595C 802A167C 24020002 */ addiu $v0, $zero, 2
/* 795960 802A1680 8E020008 */ lw $v0, 8($s0)
/* 795964 802A1684 9042001C */ lbu $v0, 0x1c($v0)
/* 795968 802A1688 1040000B */ beqz $v0, .L802A16B8
/* 79596C 802A168C 24020002 */ addiu $v0, $zero, 2
/* 795970 802A1690 0C00A67F */ jal rand_int
/* 795974 802A1694 24040064 */ addiu $a0, $zero, 0x64
/* 795978 802A1698 8E030008 */ lw $v1, 8($s0)
/* 79597C 802A169C 9063001C */ lbu $v1, 0x1c($v1)
/* 795980 802A16A0 0062182A */ slt $v1, $v1, $v0
/* 795984 802A16A4 14600004 */ bnez $v1, .L802A16B8
/* 795988 802A16A8 24020002 */ addiu $v0, $zero, 2
/* 79598C 802A16AC 24020001 */ addiu $v0, $zero, 1
/* 795990 802A16B0 AE220084 */ sw $v0, 0x84($s1)
/* 795994 802A16B4 24020002 */ addiu $v0, $zero, 2
.L802A16B8:
/* 795998 802A16B8 8FBF0018 */ lw $ra, 0x18($sp)
/* 79599C 802A16BC 8FB10014 */ lw $s1, 0x14($sp)
/* 7959A0 802A16C0 8FB00010 */ lw $s0, 0x10($sp)
/* 7959A4 802A16C4 03E00008 */ jr $ra
/* 7959A8 802A16C8 27BD0020 */ addiu $sp, $sp, 0x20
/* 7959AC 802A16CC 00000000 */ nop

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_796FC0
/* 796FC0 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 796FC4 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 796FC8 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 796FCC 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 796FD0 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 796FD4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 796FD8 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 796FDC 802A101C 8E050000 */ lw $a1, ($s0)
/* 796FE0 802A1020 0C0B1EAF */ jal get_variable
/* 796FE4 802A1024 26100004 */ addiu $s0, $s0, 4
/* 796FE8 802A1028 8E050000 */ lw $a1, ($s0)
/* 796FEC 802A102C 26100004 */ addiu $s0, $s0, 4
/* 796FF0 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 796FF4 802A1034 0C0B1EAF */ jal get_variable
/* 796FF8 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 796FFC 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 797000 802A1040 8E050000 */ lw $a1, ($s0)
/* 797004 802A1044 0C0B1EAF */ jal get_variable
/* 797008 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 79700C 802A104C 44921000 */ mtc1 $s2, $f2
/* 797010 802A1050 00000000 */ nop
/* 797014 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 797018 802A1058 44051000 */ mfc1 $a1, $f2
/* 79701C 802A105C 44901000 */ mtc1 $s0, $f2
/* 797020 802A1060 00000000 */ nop
/* 797024 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 797028 802A1068 44061000 */ mfc1 $a2, $f2
/* 79702C 802A106C 44821000 */ mtc1 $v0, $f2
/* 797030 802A1070 00000000 */ nop
/* 797034 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 797038 802A1078 3C014220 */ lui $at, 0x4220
/* 79703C 802A107C 44810000 */ mtc1 $at, $f0
/* 797040 802A1080 44071000 */ mfc1 $a3, $f2
/* 797044 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 797048 802A1088 0C01BFBC */ jal func_8006FEF0
/* 79704C 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 797050 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 797054 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 797058 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 79705C 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 797060 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 797064 802A10A4 03E00008 */ jr $ra
/* 797068 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_79706C
/* 79706C 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 797070 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 797074 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 797078 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 79707C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 797080 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 797084 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 797088 802A10C8 8E050000 */ lw $a1, ($s0)
/* 79708C 802A10CC 0C0B1EAF */ jal get_variable
/* 797090 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 797094 802A10D4 8E050000 */ lw $a1, ($s0)
/* 797098 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 79709C 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 7970A0 802A10E0 0C0B1EAF */ jal get_variable
/* 7970A4 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 7970A8 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 7970AC 802A10EC 8E050000 */ lw $a1, ($s0)
/* 7970B0 802A10F0 0C0B1EAF */ jal get_variable
/* 7970B4 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 7970B8 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 7970BC 802A10FC 44921000 */ mtc1 $s2, $f2
/* 7970C0 802A1100 00000000 */ nop
/* 7970C4 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 7970C8 802A1108 44051000 */ mfc1 $a1, $f2
/* 7970CC 802A110C 44901000 */ mtc1 $s0, $f2
/* 7970D0 802A1110 00000000 */ nop
/* 7970D4 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 7970D8 802A1118 44061000 */ mfc1 $a2, $f2
/* 7970DC 802A111C 44821000 */ mtc1 $v0, $f2
/* 7970E0 802A1120 00000000 */ nop
/* 7970E4 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 7970E8 802A1128 3C014248 */ lui $at, 0x4248
/* 7970EC 802A112C 44810000 */ mtc1 $at, $f0
/* 7970F0 802A1130 44071000 */ mfc1 $a3, $f2
/* 7970F4 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 7970F8 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 7970FC 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 797100 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 797104 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 797108 802A1148 0C01C154 */ jal func_80070550
/* 79710C 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 797110 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 797114 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 797118 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 79711C 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 797120 802A1160 24020002 */ addiu $v0, $zero, 2
/* 797124 802A1164 03E00008 */ jr $ra
/* 797128 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_79712C
/* 79712C 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 797130 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 797134 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 797138 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 79713C 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 797140 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 797144 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 797148 802A1188 8E050000 */ lw $a1, ($s0)
/* 79714C 802A118C 0C0B1EAF */ jal get_variable
/* 797150 802A1190 26100004 */ addiu $s0, $s0, 4
/* 797154 802A1194 8E050000 */ lw $a1, ($s0)
/* 797158 802A1198 26100004 */ addiu $s0, $s0, 4
/* 79715C 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 797160 802A11A0 0C0B1EAF */ jal get_variable
/* 797164 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 797168 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 79716C 802A11AC 8E050000 */ lw $a1, ($s0)
/* 797170 802A11B0 0C0B1EAF */ jal get_variable
/* 797174 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 797178 802A11B8 44921000 */ mtc1 $s2, $f2
/* 79717C 802A11BC 00000000 */ nop
/* 797180 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 797184 802A11C4 44051000 */ mfc1 $a1, $f2
/* 797188 802A11C8 44901000 */ mtc1 $s0, $f2
/* 79718C 802A11CC 00000000 */ nop
/* 797190 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 797194 802A11D4 44061000 */ mfc1 $a2, $f2
/* 797198 802A11D8 44821000 */ mtc1 $v0, $f2
/* 79719C 802A11DC 00000000 */ nop
/* 7971A0 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 7971A4 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 7971A8 802A11E8 44810000 */ mtc1 $at, $f0
/* 7971AC 802A11EC 44071000 */ mfc1 $a3, $f2
/* 7971B0 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 7971B4 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 7971B8 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 7971BC 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 7971C0 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 7971C4 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 7971C8 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 7971CC 802A120C 24020002 */ addiu $v0, $zero, 2
/* 7971D0 802A1210 03E00008 */ jr $ra
/* 7971D4 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_7971D8
/* 7971D8 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 7971DC 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 7971E0 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 7971E4 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 7971E8 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 7971EC 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 7971F0 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 7971F4 802A1234 8E050000 */ lw $a1, ($s0)
/* 7971F8 802A1238 0C0B1EAF */ jal get_variable
/* 7971FC 802A123C 26100004 */ addiu $s0, $s0, 4
/* 797200 802A1240 8E050000 */ lw $a1, ($s0)
/* 797204 802A1244 26100004 */ addiu $s0, $s0, 4
/* 797208 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 79720C 802A124C 0C0B1EAF */ jal get_variable
/* 797210 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 797214 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 797218 802A1258 8E050000 */ lw $a1, ($s0)
/* 79721C 802A125C 0C0B1EAF */ jal get_variable
/* 797220 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 797224 802A1264 24040004 */ addiu $a0, $zero, 4
/* 797228 802A1268 44922000 */ mtc1 $s2, $f4
/* 79722C 802A126C 00000000 */ nop
/* 797230 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 797234 802A1274 44052000 */ mfc1 $a1, $f4
/* 797238 802A1278 44902000 */ mtc1 $s0, $f4
/* 79723C 802A127C 00000000 */ nop
/* 797240 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 797244 802A1284 44062000 */ mfc1 $a2, $f4
/* 797248 802A1288 44822000 */ mtc1 $v0, $f4
/* 79724C 802A128C 00000000 */ nop
/* 797250 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 797254 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 797258 802A1298 44810000 */ mtc1 $at, $f0
/* 79725C 802A129C 3C013F80 */ lui $at, 0x3f80
/* 797260 802A12A0 44811000 */ mtc1 $at, $f2
/* 797264 802A12A4 44072000 */ mfc1 $a3, $f4
/* 797268 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 79726C 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 797270 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 797274 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 797278 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79727C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 797280 802A12C0 0C01C8D4 */ jal func_80072350
/* 797284 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 797288 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 79728C 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 797290 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 797294 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 797298 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 79729C 802A12DC 03E00008 */ jr $ra
/* 7972A0 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_7972A4
/* 7972A4 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7972A8 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 7972AC 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 7972B0 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 7972B4 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 7972B8 802A12F8 0C04760B */ jal func_8011D82C
/* 7972BC 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 7972C0 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 7972C4 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 7972C8 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 7972CC 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 7972D0 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 7972D4 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 7972D8 802A1318 24030001 */ addiu $v1, $zero, 1
/* 7972DC 802A131C 0C046F97 */ jal set_background_color_blend
/* 7972E0 802A1320 A0430000 */ sb $v1, ($v0)
/* 7972E4 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 7972E8 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 7972EC 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 7972F0 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 7972F4 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 7972F8 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 7972FC 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 797300 802A1340 00431023 */ subu $v0, $v0, $v1
/* 797304 802A1344 00023880 */ sll $a3, $v0, 2
/* 797308 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 79730C 802A134C 00073840 */ sll $a3, $a3, 1
/* 797310 802A1350 0C046F97 */ jal set_background_color_blend
/* 797314 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 797318 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 79731C 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 797320 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 797324 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 797328 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 79732C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 797330 802A1370 00021040 */ sll $v0, $v0, 1
/* 797334 802A1374 03E00008 */ jr $ra
/* 797338 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_79733C
/* 79733C 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 797340 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 797344 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 797348 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 79734C 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 797350 802A1390 0C04760B */ jal func_8011D82C
/* 797354 802A1394 24040001 */ addiu $a0, $zero, 1
/* 797358 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 79735C 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 797360 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 797364 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 797368 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 79736C 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 797370 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 797374 802A13B4 0C046F97 */ jal set_background_color_blend
/* 797378 802A13B8 A0620000 */ sb $v0, ($v1)
/* 79737C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 797380 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 797384 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 797388 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 79738C 802A13CC 0C046F97 */ jal set_background_color_blend
/* 797390 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 797394 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 797398 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 79739C 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 7973A0 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 7973A4 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 7973A8 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 7973AC 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 7973B0 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 7973B4 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 7973B8 802A13F8 0C046F97 */ jal set_background_color_blend
/* 7973BC 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 7973C0 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 7973C4 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 7973C8 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 7973CC 802A140C 03E00008 */ jr $ra
/* 7973D0 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_7973D4
/* 7973D4 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7973D8 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 7973DC 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 7973E0 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 7973E4 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 7973E8 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 7973EC 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 7973F0 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 7973F4 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 7973F8 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 7973FC 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 797400 802A1440 00023880 */ sll $a3, $v0, 2
/* 797404 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 797408 802A1448 00073840 */ sll $a3, $a3, 1
/* 79740C 802A144C 0C046F97 */ jal set_background_color_blend
/* 797410 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 797414 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 797418 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 79741C 802A145C 10400003 */ beqz $v0, .L802A146C
/* 797420 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 797424 802A1464 080A8521 */ j .L802A1484
/* 797428 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 79742C 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 797430 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 797434 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 797438 802A1478 0C046F97 */ jal set_background_color_blend
/* 79743C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 797440 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 797444 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 797448 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 79744C 802A148C 03E00008 */ jr $ra
/* 797450 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

Some files were not shown because too many files have changed in this diff Show More