Battle funcs

This commit is contained in:
Ethan Roseman 2020-12-28 14:34:30 +09:00
parent 609df8dc94
commit b70f74279a
857 changed files with 760702 additions and 66 deletions

16812
asm/battle/area_arn/4FEA50.s Normal file

File diff suppressed because it is too large Load Diff

3460
asm/battle/area_dgb/50F020.s Normal file

File diff suppressed because it is too large Load Diff

19316
asm/battle/area_dig/6DDDC0.s Normal file

File diff suppressed because it is too large Load Diff

29948
asm/battle/area_flo/5B14B0.s Normal file

File diff suppressed because it is too large Load Diff

31078
asm/battle/area_flo2/5CE690.s Normal file

File diff suppressed because it is too large Load Diff

14530
asm/battle/area_hos/47F0B0.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

10524
asm/battle/area_iwa/4D01F0.s Normal file

File diff suppressed because it is too large Load Diff

17475
asm/battle/area_jan/573920.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

5572
asm/battle/area_kgr/56E2A0.s Normal file

File diff suppressed because it is too large Load Diff

2181
asm/battle/area_kkj/6DBDA0.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

27275
asm/battle/area_kpa/684A30.s Normal file

File diff suppressed because it is too large Load Diff

29797
asm/battle/area_kpa2/69F200.s Normal file

File diff suppressed because it is too large Load Diff

16782
asm/battle/area_kpa3/6BBB90.s Normal file

File diff suppressed because it is too large Load Diff

16302
asm/battle/area_kpa4/6CC070.s Normal file

File diff suppressed because it is too large Load Diff

18742
asm/battle/area_kzn/58C2F0.s Normal file

File diff suppressed because it is too large Load Diff

19518
asm/battle/area_kzn2/59E6E0.s Normal file

File diff suppressed because it is too large Load Diff

27522
asm/battle/area_mac/464490.s Normal file

File diff suppressed because it is too large Load Diff

7089
asm/battle/area_mim/4F7BE0.s Normal file

File diff suppressed because it is too large Load Diff

20466
asm/battle/area_nok/48D1A0.s Normal file

File diff suppressed because it is too large Load Diff

25711
asm/battle/area_omo/5125D0.s Normal file

File diff suppressed because it is too large Load Diff

25002
asm/battle/area_omo2/52B6A0.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,510 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purpose registers
.section .text, "ax"
glabel func_80231000_552440
/* 552440 80231000 00000001 */ movf $zero, $zero, $fcc0
/* 552444 80231004 00000000 */ nop
/* 552448 80231008 00000000 */ nop
/* 55244C 8023100C 00000001 */ movf $zero, $zero, $fcc0
/* 552450 80231010 00000000 */ nop
/* 552454 80231014 00000002 */ srl $zero, $zero, 0
/* 552458 80231018 00000000 */ nop
/* 55245C 8023101C 00000006 */ srlv $zero, $zero, $zero
/* 552460 80231020 00000000 */ nop
/* 552464 80231024 00000009 */ jr $zero
/* 552468 80231028 00000000 */ nop
glabel func_8023102C_55246C
/* 55246C 8023102C 00000007 */ srav $zero, $zero, $zero
/* 552470 80231030 00000000 */ nop
/* 552474 80231034 00000004 */ sllv $zero, $zero, $zero
/* 552478 80231038 00000000 */ nop
/* 55247C 8023103C 00000003 */ sra $zero, $zero, 0
/* 552480 80231040 00000000 */ nop
/* 552484 80231044 0000000B */ movn $zero, $zero, $zero
/* 552488 80231048 00000000 */ nop
/* 55248C 8023104C 00000005 */ lsa $zero, $zero, $zero, 1
/* 552490 80231050 00000000 */ nop
/* 552494 80231054 0000000A */ movz $zero, $zero, $zero
/* 552498 80231058 00000000 */ nop
/* 55249C 8023105C 00000008 */ jr $zero
/* 5524A0 80231060 00000000 */ nop
glabel func_80231064_5524A4
/* 5524A4 80231064 0000001F */ ddivu $zero, $zero, $zero
/* 5524A8 80231068 00000000 */ nop
/* 5524AC 8023106C 00000020 */ add $zero, $zero, $zero
/* 5524B0 80231070 00000000 */ nop
/* 5524B4 80231074 00000025 */ or $zero, $zero, $zero
/* 5524B8 80231078 00000000 */ nop
/* 5524BC 8023107C 00000022 */ neg $zero, $zero
/* 5524C0 80231080 00000000 */ nop
/* 5524C4 80231084 00000024 */ and $zero, $zero, $zero
/* 5524C8 80231088 00000000 */ nop
/* 5524CC 8023108C 00000023 */ negu $zero, $zero
/* 5524D0 80231090 00000000 */ nop
/* 5524D4 80231094 00000021 */ addu $zero, $zero, $zero
/* 5524D8 80231098 00000000 */ nop
/* 5524DC 8023109C 00000026 */ xor $zero, $zero, $zero
/* 5524E0 802310A0 00000000 */ nop
/* 5524E4 802310A4 00000027 */ not $zero, $zero
/* 5524E8 802310A8 00000000 */ nop
/* 5524EC 802310AC 00000029 */ .byte 0x00, 0x00, 0x00, 0x29
/* 5524F0 802310B0 00000000 */ nop
/* 5524F4 802310B4 00000000 */ nop
/* 5524F8 802310B8 20820000 */ addi $v0, $a0, 0
/* 5524FC 802310BC 01000000 */ .byte 0x01, 0x00, 0x00, 0x00
/* 552500 802310C0 001800FF */ dsra32 $zero, $t8, 3
/* 552504 802310C4 80231104 */ lb $v1, 0x1104($at)
/* 552508 802310C8 80231000 */ lb $v1, 0x1000($at)
/* 55250C 802310CC 00000000 */ nop
/* 552510 802310D0 00000000 */ nop
/* 552514 802310D4 FFF60000 */ sd $s6, ($ra)
/* 552518 802310D8 00000000 */ nop
/* 55251C 802310DC 02000000 */ .byte 0x02, 0x00, 0x00, 0x00
/* 552520 802310E0 00AC0008 */ .byte 0x00, 0xac, 0x00, 0x08
/* 552524 802310E4 00010000 */ sll $zero, $at, 0
/* 552528 802310E8 802310B8 */ lb $v1, 0x10b8($at)
/* 55252C 802310EC 80231110 */ lb $v1, 0x1110($at)
/* 552530 802310F0 8023100C */ lb $v1, 0x100c($at)
/* 552534 802310F4 00000000 */ nop
/* 552538 802310F8 00045000 */ sll $t2, $a0, 0
/* 55253C 802310FC 1E1E0000 */ .byte 0x1e, 0x1e, 0x00, 0x00
/* 552540 80231100 F6140A14 */ sdc1 $f20, 0xa14($s0)
/* 552544 80231104 00000001 */ movf $zero, $zero, $fcc0
/* 552548 80231108 006F0001 */ .byte 0x00, 0x6f, 0x00, 0x01
/* 55254C 8023110C 00000000 */ nop
/* 552550 80231110 00000043 */ sra $zero, $zero, 1
/* 552554 80231114 00000003 */ sra $zero, $zero, 0
/* 552558 80231118 80278930 */ lb $a3, -0x76d0($at)
/* 55255C 8023111C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552560 80231120 80231754 */ lb $v1, 0x1754($at)
/* 552564 80231124 00000043 */ sra $zero, $zero, 1
/* 552568 80231128 00000003 */ sra $zero, $zero, 0
/* 55256C 8023112C 80278A94 */ lb $a3, -0x756c($at)
/* 552570 80231130 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552574 80231134 8023129C */ lb $v1, 0x129c($at)
/* 552578 80231138 00000043 */ sra $zero, $zero, 1
/* 55257C 8023113C 00000003 */ sra $zero, $zero, 0
/* 552580 80231140 80278C20 */ lb $a3, -0x73e0($at)
/* 552584 80231144 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552588 80231148 802312D0 */ lb $v1, 0x12d0($at)
/* 55258C 8023114C 00000043 */ sra $zero, $zero, 1
/* 552590 80231150 00000005 */ lsa $zero, $zero, $zero, 1
/* 552594 80231154 8026AE40 */ lb $a2, -0x51c0($at)
/* 552598 80231158 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 55259C 8023115C 000000B4 */ teq $zero, $zero, 2
/* 5525A0 80231160 00000000 */ nop
/* 5525A4 80231164 00000000 */ nop
/* 5525A8 80231168 00000043 */ sra $zero, $zero, 1
/* 5525AC 8023116C 00000005 */ lsa $zero, $zero, $zero, 1
/* 5525B0 80231170 8026A1EC */ lb $a2, -0x5e14($at)
/* 5525B4 80231174 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5525B8 80231178 000000B4 */ teq $zero, $zero, 2
/* 5525BC 8023117C 00000000 */ nop
/* 5525C0 80231180 00000000 */ nop
/* 5525C4 80231184 00000043 */ sra $zero, $zero, 1
/* 5525C8 80231188 00000002 */ srl $zero, $zero, 0
/* 5525CC 8023118C 8026D664 */ lb $a2, -0x299c($at)
/* 5525D0 80231190 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5525D4 80231194 00000056 */ drotrv $zero, $zero, $zero
/* 5525D8 80231198 00000000 */ nop
/* 5525DC 8023119C 00000043 */ sra $zero, $zero, 1
/* 5525E0 802311A0 00000004 */ sllv $zero, $zero, $zero
/* 5525E4 802311A4 8026B1B0 */ lb $a2, -0x4e50($at)
/* 5525E8 802311A8 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5525EC 802311AC 00000001 */ movf $zero, $zero, $fcc0
/* 5525F0 802311B0 006F000F */ sync
/* 5525F4 802311B4 00000043 */ sra $zero, $zero, 1
/* 5525F8 802311B8 00000003 */ sra $zero, $zero, 0
/* 5525FC 802311BC 8026B654 */ lb $a2, -0x49ac($at)
/* 552600 802311C0 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552604 802311C4 F24A8E80 */ scd $t2, -0x7180($s2)
/* 552608 802311C8 00000043 */ sra $zero, $zero, 1
/* 55260C 802311CC 00000005 */ lsa $zero, $zero, $zero, 1
/* 552610 802311D0 8026A510 */ lb $a2, -0x5af0($at)
/* 552614 802311D4 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552618 802311D8 00000000 */ nop
/* 55261C 802311DC 00000000 */ nop
/* 552620 802311E0 00000000 */ nop
/* 552624 802311E4 00000043 */ sra $zero, $zero, 1
/* 552628 802311E8 00000004 */ sllv $zero, $zero, $zero
/* 55262C 802311EC 80279E64 */ lb $a3, -0x619c($at)
/* 552630 802311F0 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552634 802311F4 00000000 */ nop
/* 552638 802311F8 00000000 */ nop
/* 55263C 802311FC 00000043 */ sra $zero, $zero, 1
/* 552640 80231200 00000003 */ sra $zero, $zero, 0
/* 552644 80231204 8026B358 */ lb $a2, -0x4ca8($at)
/* 552648 80231208 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 55264C 8023120C 000000B4 */ teq $zero, $zero, 2
/* 552650 80231210 00000043 */ sra $zero, $zero, 1
/* 552654 80231214 00000003 */ sra $zero, $zero, 0
/* 552658 80231218 8025385C */ lb $a1, 0x385c($at)
/* 55265C 8023121C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552660 80231220 00000395 */ .byte 0x00, 0x00, 0x03, 0x95
/* 552664 80231224 00000043 */ sra $zero, $zero, 1
/* 552668 80231228 00000004 */ sllv $zero, $zero, $zero
/* 55266C 8023122C 8026B1B0 */ lb $a2, -0x4e50($at)
/* 552670 80231230 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552674 80231234 00000001 */ movf $zero, $zero, $fcc0
/* 552678 80231238 006F0004 */ sllv $zero, $t7, $v1
/* 55267C 8023123C 00000008 */ jr $zero
/* 552680 80231240 00000001 */ movf $zero, $zero, $fcc0
glabel func_80231244_552684
/* 552684 80231244 00000014 */ dsllv $zero, $zero, $zero
/* 552688 80231248 00000043 */ sra $zero, $zero, 1
/* 55268C 8023124C 00000004 */ sllv $zero, $zero, $zero
/* 552690 80231250 8026B1B0 */ lb $a2, -0x4e50($at)
/* 552694 80231254 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552698 80231258 00000001 */ movf $zero, $zero, $fcc0
/* 55269C 8023125C 006F0005 */ lsa $zero, $v1, $t7, 1
/* 5526A0 80231260 00000008 */ jr $zero
/* 5526A4 80231264 00000001 */ movf $zero, $zero, $fcc0
glabel func_80231268_5526A8
/* 5526A8 80231268 0000000F */ sync
/* 5526AC 8023126C 00000043 */ sra $zero, $zero, 1
/* 5526B0 80231270 00000004 */ sllv $zero, $zero, $zero
/* 5526B4 80231274 8026B1B0 */ lb $a2, -0x4e50($at)
/* 5526B8 80231278 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5526BC 8023127C 00000001 */ movf $zero, $zero, $fcc0
/* 5526C0 80231280 006F0009 */ .byte 0x00, 0x6f, 0x00, 0x09
/* 5526C4 80231284 00000057 */ .byte 0x00, 0x00, 0x00, 0x57
/* 5526C8 80231288 00000000 */ nop
/* 5526CC 8023128C 00000002 */ srl $zero, $zero, 0
/* 5526D0 80231290 00000000 */ nop
/* 5526D4 80231294 00000001 */ movf $zero, $zero, $fcc0
/* 5526D8 80231298 00000000 */ nop
/* 5526DC 8023129C 00000003 */ sra $zero, $zero, 0
/* 5526E0 802312A0 00000001 */ movf $zero, $zero, $fcc0
/* 5526E4 802312A4 00000000 */ nop
/* 5526E8 802312A8 00000008 */ jr $zero
/* 5526EC 802312AC 00000001 */ movf $zero, $zero, $fcc0
glabel func_802312B0_5526F0
/* 5526F0 802312B0 00000001 */ movf $zero, $zero, $fcc0
/* 5526F4 802312B4 00000004 */ sllv $zero, $zero, $zero
/* 5526F8 802312B8 00000001 */ movf $zero, $zero, $fcc0
/* 5526FC 802312BC 00000000 */ nop
/* 552700 802312C0 00000002 */ srl $zero, $zero, 0
/* 552704 802312C4 00000000 */ nop
/* 552708 802312C8 00000001 */ movf $zero, $zero, $fcc0
/* 55270C 802312CC 00000000 */ nop
/* 552710 802312D0 00000043 */ sra $zero, $zero, 1
/* 552714 802312D4 00000003 */ sra $zero, $zero, 0
/* 552718 802312D8 8026F0EC */ lb $a2, -0xf14($at)
/* 55271C 802312DC FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552720 802312E0 00000000 */ nop
/* 552724 802312E4 00000043 */ sra $zero, $zero, 1
/* 552728 802312E8 00000003 */ sra $zero, $zero, 0
/* 55272C 802312EC 8027C4E0 */ lb $a3, -0x3b20($at)
/* 552730 802312F0 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552734 802312F4 FE363C80 */ sd $s6, 0x3c80($s1)
/* 552738 802312F8 00000014 */ dsllv $zero, $zero, $zero
/* 55273C 802312FC 00000001 */ movf $zero, $zero, $fcc0
/* 552740 80231300 FE363C80 */ sd $s6, 0x3c80($s1)
/* 552744 80231304 00000016 */ dsrlv $zero, $zero, $zero
/* 552748 80231308 00000001 */ movf $zero, $zero, $fcc0
/* 55274C 8023130C 00000038 */ dsll $zero, $zero, 0
/* 552750 80231310 0000001D */ dmultu $zero, $zero
/* 552754 80231314 00000001 */ movf $zero, $zero, $fcc0
/* 552758 80231318 00000009 */ jr $zero
/* 55275C 8023131C 0000001D */ dmultu $zero, $zero
glabel func_80231320_552760
/* 552760 80231320 00000001 */ movf $zero, $zero, $fcc0
/* 552764 80231324 0000000A */ movz $zero, $zero, $zero
/* 552768 80231328 0000001D */ dmultu $zero, $zero
/* 55276C 8023132C 00000001 */ movf $zero, $zero, $fcc0
/* 552770 80231330 0000000E */ .byte 0x00, 0x00, 0x00, 0x0e
/* 552774 80231334 0000001D */ dmultu $zero, $zero
/* 552778 80231338 00000001 */ movf $zero, $zero, $fcc0
/* 55277C 8023133C 00000024 */ and $zero, $zero, $zero
/* 552780 80231340 0000001D */ dmultu $zero, $zero
/* 552784 80231344 00000001 */ movf $zero, $zero, $fcc0
/* 552788 80231348 0000000B */ movn $zero, $zero, $zero
/* 55278C 8023134C 0000001D */ dmultu $zero, $zero
/* 552790 80231350 00000001 */ movf $zero, $zero, $fcc0
/* 552794 80231354 00000021 */ addu $zero, $zero, $zero
/* 552798 80231358 0000001D */ dmultu $zero, $zero
/* 55279C 8023135C 00000001 */ movf $zero, $zero, $fcc0
/* 5527A0 80231360 0000002F */ dsubu $zero, $zero, $zero
/* 5527A4 80231364 0000001D */ dmultu $zero, $zero
/* 5527A8 80231368 00000001 */ movf $zero, $zero, $fcc0
/* 5527AC 8023136C 00000017 */ dsrav $zero, $zero, $zero
/* 5527B0 80231370 0000001D */ dmultu $zero, $zero
/* 5527B4 80231374 00000001 */ movf $zero, $zero, $fcc0
/* 5527B8 80231378 00000019 */ multu $zero, $zero
/* 5527BC 8023137C 0000001D */ dmultu $zero, $zero
/* 5527C0 80231380 00000001 */ movf $zero, $zero, $fcc0
/* 5527C4 80231384 0000001B */ divu $zero, $zero, $zero
/* 5527C8 80231388 0000001D */ dmultu $zero, $zero
/* 5527CC 8023138C 00000001 */ movf $zero, $zero, $fcc0
/* 5527D0 80231390 00000020 */ add $zero, $zero, $zero
/* 5527D4 80231394 00000043 */ sra $zero, $zero, 1
/* 5527D8 80231398 00000004 */ sllv $zero, $zero, $zero
/* 5527DC 8023139C 8026B1B0 */ lb $a2, -0x4e50($at)
/* 5527E0 802313A0 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5527E4 802313A4 00000001 */ movf $zero, $zero, $fcc0
/* 5527E8 802313A8 006F000A */ movz $zero, $v1, $t7
/* 5527EC 802313AC 00000043 */ sra $zero, $zero, 1
/* 5527F0 802313B0 00000003 */ sra $zero, $zero, 0
/* 5527F4 802313B4 8026B55C */ lb $a2, -0x4aa4($at)
/* 5527F8 802313B8 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5527FC 802313BC F24A8080 */ scd $t2, -0x7f80($s2)
/* 552800 802313C0 00000043 */ sra $zero, $zero, 1
/* 552804 802313C4 00000005 */ lsa $zero, $zero, $zero, 1
/* 552808 802313C8 8026AAA8 */ lb $a2, -0x5558($at)
/* 55280C 802313CC FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552810 802313D0 FE363C80 */ sd $s6, 0x3c80($s1)
/* 552814 802313D4 FE363C81 */ sd $s6, 0x3c81($s1)
/* 552818 802313D8 FE363C82 */ sd $s6, 0x3c82($s1)
/* 55281C 802313DC 00000028 */ .byte 0x00, 0x00, 0x00, 0x28
/* 552820 802313E0 00000002 */ srl $zero, $zero, 0
/* 552824 802313E4 FE363C80 */ sd $s6, 0x3c80($s1)
/* 552828 802313E8 00000023 */ negu $zero, $zero
/* 55282C 802313EC 00000043 */ sra $zero, $zero, 1
/* 552830 802313F0 00000005 */ lsa $zero, $zero, $zero, 1
/* 552834 802313F4 8026A510 */ lb $a2, -0x5af0($at)
/* 552838 802313F8 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 55283C 802313FC FE363C80 */ sd $s6, 0x3c80($s1)
/* 552840 80231400 FE363C81 */ sd $s6, 0x3c81($s1)
/* 552844 80231404 FE363C82 */ sd $s6, 0x3c82($s1)
/* 552848 80231408 00000043 */ sra $zero, $zero, 1
/* 55284C 8023140C 00000006 */ srlv $zero, $zero, $zero
/* 552850 80231410 80278D08 */ lb $a3, -0x72f8($at)
/* 552854 80231414 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552858 80231418 00000008 */ jr $zero
/* 55285C 8023141C 00000000 */ nop
glabel func_80231420_552860
/* 552860 80231420 00000001 */ movf $zero, $zero, $fcc0
/* 552864 80231424 00000000 */ nop
/* 552868 80231428 00000043 */ sra $zero, $zero, 1
/* 55286C 8023142C 00000003 */ sra $zero, $zero, 0
/* 552870 80231430 8026B358 */ lb $a2, -0x4ca8($at)
/* 552874 80231434 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552878 80231438 00000000 */ nop
/* 55287C 8023143C 00000043 */ sra $zero, $zero, 1
/* 552880 80231440 00000004 */ sllv $zero, $zero, $zero
/* 552884 80231444 8026B1B0 */ lb $a2, -0x4e50($at)
/* 552888 80231448 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 55288C 8023144C 00000001 */ movf $zero, $zero, $fcc0
/* 552890 80231450 006F0002 */ .byte 0x00, 0x6f, 0x00, 0x02
/* 552894 80231454 00000008 */ jr $zero
/* 552898 80231458 00000001 */ movf $zero, $zero, $fcc0
glabel func_8023145C_55289C
/* 55289C 8023145C 00000018 */ mult $zero, $zero
/* 5528A0 80231460 00000043 */ sra $zero, $zero, 1
/* 5528A4 80231464 00000004 */ sllv $zero, $zero, $zero
/* 5528A8 80231468 8026B1B0 */ lb $a2, -0x4e50($at)
/* 5528AC 8023146C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5528B0 80231470 00000001 */ movf $zero, $zero, $fcc0
/* 5528B4 80231474 006F0003 */ .byte 0x00, 0x6f, 0x00, 0x03
/* 5528B8 80231478 00000043 */ sra $zero, $zero, 1
/* 5528BC 8023147C 00000005 */ lsa $zero, $zero, $zero, 1
/* 5528C0 80231480 8026AAA8 */ lb $a2, -0x5558($at)
/* 5528C4 80231484 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5528C8 80231488 FE363C80 */ sd $s6, 0x3c80($s1)
/* 5528CC 8023148C FE363C81 */ sd $s6, 0x3c81($s1)
/* 5528D0 80231490 FE363C82 */ sd $s6, 0x3c82($s1)
/* 5528D4 80231494 00000027 */ not $zero, $zero
/* 5528D8 80231498 00000002 */ srl $zero, $zero, 0
/* 5528DC 8023149C FE363C80 */ sd $s6, 0x3c80($s1)
/* 5528E0 802314A0 00000005 */ lsa $zero, $zero, $zero, 1
/* 5528E4 802314A4 00000027 */ not $zero, $zero
/* 5528E8 802314A8 00000002 */ srl $zero, $zero, 0
/* 5528EC 802314AC FE363C81 */ sd $s6, 0x3c81($s1)
/* 5528F0 802314B0 0000000A */ movz $zero, $zero, $zero
/* 5528F4 802314B4 00000005 */ lsa $zero, $zero, $zero, 1
/* 5528F8 802314B8 00000001 */ movf $zero, $zero, $fcc0
/* 5528FC 802314BC 00000004 */ sllv $zero, $zero, $zero
/* 552900 802314C0 00000043 */ sra $zero, $zero, 1
/* 552904 802314C4 0000000F */ sync
/* 552908 802314C8 802D829C */ lb $t5, -0x7d64($at)
/* 55290C 802314CC 00000028 */ .byte 0x00, 0x00, 0x00, 0x28
/* 552910 802314D0 00000000 */ nop
/* 552914 802314D4 FE363C80 */ sd $s6, 0x3c80($s1)
/* 552918 802314D8 FE363C81 */ sd $s6, 0x3c81($s1)
/* 55291C 802314DC FE363C82 */ sd $s6, 0x3c82($s1)
/* 552920 802314E0 0000000A */ movz $zero, $zero, $zero
/* 552924 802314E4 0000002D */ daddu $zero, $zero, $zero
/* 552928 802314E8 00000004 */ sllv $zero, $zero, $zero
/* 55292C 802314EC 00000000 */ nop
/* 552930 802314F0 00000000 */ nop
/* 552934 802314F4 00000000 */ nop
/* 552938 802314F8 00000000 */ nop
/* 55293C 802314FC 00000000 */ nop
/* 552940 80231500 00000000 */ nop
/* 552944 80231504 00000008 */ jr $zero
/* 552948 80231508 00000001 */ movf $zero, $zero, $fcc0
glabel func_8023150C_55294C
/* 55294C 8023150C 00000006 */ srlv $zero, $zero, $zero
/* 552950 80231510 00000006 */ srlv $zero, $zero, $zero
/* 552954 80231514 00000000 */ nop
/* 552958 80231518 00000043 */ sra $zero, $zero, 1
/* 55295C 8023151C 00000005 */ lsa $zero, $zero, $zero, 1
/* 552960 80231520 8026F740 */ lb $a2, -0x8c0($at)
/* 552964 80231524 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552968 80231528 00000000 */ nop
/* 55296C 8023152C 000020BA */ dsrl $a0, $zero, 2
/* 552970 80231530 000003B4 */ teq $zero, $zero, 0xe
/* 552974 80231534 00000043 */ sra $zero, $zero, 1
/* 552978 80231538 00000005 */ lsa $zero, $zero, $zero, 1
/* 55297C 8023153C 8026F740 */ lb $a2, -0x8c0($at)
/* 552980 80231540 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552984 80231544 00000004 */ sllv $zero, $zero, $zero
/* 552988 80231548 0000000A */ movz $zero, $zero, $zero
/* 55298C 8023154C 00000000 */ nop
/* 552990 80231550 00000043 */ sra $zero, $zero, 1
/* 552994 80231554 00000004 */ sllv $zero, $zero, $zero
/* 552998 80231558 8026B1B0 */ lb $a2, -0x4e50($at)
/* 55299C 8023155C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5529A0 80231560 00000001 */ movf $zero, $zero, $fcc0
/* 5529A4 80231564 006F000C */ syscall 0x1bc00
/* 5529A8 80231568 00000043 */ sra $zero, $zero, 1
/* 5529AC 8023156C 00000003 */ sra $zero, $zero, 0
/* 5529B0 80231570 8026B654 */ lb $a2, -0x49ac($at)
/* 5529B4 80231574 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5529B8 80231578 F24A9280 */ scd $t2, -0x6d80($s2)
/* 5529BC 8023157C 00000043 */ sra $zero, $zero, 1
/* 5529C0 80231580 00000005 */ lsa $zero, $zero, $zero, 1
/* 5529C4 80231584 8026EE88 */ lb $a2, -0x1178($at)
/* 5529C8 80231588 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5529CC 8023158C 00000001 */ movf $zero, $zero, $fcc0
/* 5529D0 80231590 00000000 */ nop
/* 5529D4 80231594 00000008 */ jr $zero
/* 5529D8 80231598 00000043 */ sra $zero, $zero, 1
glabel func_8023159C_5529DC
/* 5529DC 8023159C 00000005 */ lsa $zero, $zero, $zero, 1
/* 5529E0 802315A0 8026A510 */ lb $a2, -0x5af0($at)
/* 5529E4 802315A4 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5529E8 802315A8 FFFFFF38 */ sd $ra, -0xc8($ra)
/* 5529EC 802315AC 00000000 */ nop
/* 5529F0 802315B0 00000014 */ dsllv $zero, $zero, $zero
/* 5529F4 802315B4 00000043 */ sra $zero, $zero, 1
/* 5529F8 802315B8 00000004 */ sllv $zero, $zero, $zero
/* 5529FC 802315BC 80279E64 */ lb $a3, -0x619c($at)
/* 552A00 802315C0 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552A04 802315C4 00000000 */ nop
/* 552A08 802315C8 00000000 */ nop
/* 552A0C 802315CC 00000043 */ sra $zero, $zero, 1
/* 552A10 802315D0 00000004 */ sllv $zero, $zero, $zero
/* 552A14 802315D4 8026EF4C */ lb $a2, -0x10b4($at)
/* 552A18 802315D8 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552A1C 802315DC FE363C80 */ sd $s6, 0x3c80($s1)
/* 552A20 802315E0 00000000 */ nop
/* 552A24 802315E4 00000043 */ sra $zero, $zero, 1
/* 552A28 802315E8 00000002 */ srl $zero, $zero, 0
/* 552A2C 802315EC 8027C7B0 */ lb $a3, -0x3850($at)
/* 552A30 802315F0 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552A34 802315F4 00000002 */ srl $zero, $zero, 0
/* 552A38 802315F8 00000000 */ nop
/* 552A3C 802315FC 00000020 */ add $zero, $zero, $zero
/* 552A40 80231600 00000000 */ nop
/* 552A44 80231604 00000016 */ dsrlv $zero, $zero, $zero
/* 552A48 80231608 00000001 */ movf $zero, $zero, $fcc0
/* 552A4C 8023160C 00000035 */ .byte 0x00, 0x00, 0x00, 0x35
/* 552A50 80231610 00000043 */ sra $zero, $zero, 1
/* 552A54 80231614 00000002 */ srl $zero, $zero, 0
/* 552A58 80231618 8026D664 */ lb $a2, -0x299c($at)
/* 552A5C 8023161C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552A60 80231620 00000016 */ dsrlv $zero, $zero, $zero
/* 552A64 80231624 00000001 */ movf $zero, $zero, $fcc0
/* 552A68 80231628 00000031 */ tgeu $zero, $zero
/* 552A6C 8023162C 00000025 */ or $zero, $zero, $zero
/* 552A70 80231630 00000002 */ srl $zero, $zero, 0
/* 552A74 80231634 FE363C80 */ sd $s6, 0x3c80($s1)
/* 552A78 80231638 00000001 */ movf $zero, $zero, $fcc0
/* 552A7C 8023163C 00000025 */ or $zero, $zero, $zero
/* 552A80 80231640 00000002 */ srl $zero, $zero, 0
/* 552A84 80231644 FE363C81 */ sd $s6, 0x3c81($s1)
/* 552A88 80231648 006F0001 */ .byte 0x00, 0x6f, 0x00, 0x01
/* 552A8C 8023164C 00000046 */ rotrv $zero, $zero, $zero
/* 552A90 80231650 00000001 */ movf $zero, $zero, $fcc0
/* 552A94 80231654 8029BFA0 */ lb $t1, -0x4060($at)
/* 552A98 80231658 00000016 */ dsrlv $zero, $zero, $zero
/* 552A9C 8023165C 00000001 */ movf $zero, $zero, $fcc0
/* 552AA0 80231660 00000030 */ tge $zero, $zero
/* 552AA4 80231664 00000025 */ or $zero, $zero, $zero
/* 552AA8 80231668 00000002 */ srl $zero, $zero, 0
/* 552AAC 8023166C FE363C80 */ sd $s6, 0x3c80($s1)
/* 552AB0 80231670 00000001 */ movf $zero, $zero, $fcc0
/* 552AB4 80231674 00000025 */ or $zero, $zero, $zero
/* 552AB8 80231678 00000002 */ srl $zero, $zero, 0
/* 552ABC 8023167C FE363C81 */ sd $s6, 0x3c81($s1)
/* 552AC0 80231680 006F000A */ movz $zero, $v1, $t7
/* 552AC4 80231684 00000046 */ rotrv $zero, $zero, $zero
/* 552AC8 80231688 00000001 */ movf $zero, $zero, $fcc0
/* 552ACC 8023168C 80299044 */ lb $t1, -0x6fbc($at)
/* 552AD0 80231690 00000008 */ jr $zero
/* 552AD4 80231694 00000001 */ movf $zero, $zero, $fcc0
glabel func_80231698_552AD8
/* 552AD8 80231698 000003E8 */ .byte 0x00, 0x00, 0x03, 0xe8
/* 552ADC 8023169C 00000016 */ dsrlv $zero, $zero, $zero
/* 552AE0 802316A0 00000001 */ movf $zero, $zero, $fcc0
/* 552AE4 802316A4 00000039 */ .byte 0x00, 0x00, 0x00, 0x39
/* 552AE8 802316A8 00000025 */ or $zero, $zero, $zero
/* 552AEC 802316AC 00000002 */ srl $zero, $zero, 0
/* 552AF0 802316B0 FE363C80 */ sd $s6, 0x3c80($s1)
/* 552AF4 802316B4 00000001 */ movf $zero, $zero, $fcc0
/* 552AF8 802316B8 00000025 */ or $zero, $zero, $zero
/* 552AFC 802316BC 00000002 */ srl $zero, $zero, 0
/* 552B00 802316C0 FE363C81 */ sd $s6, 0x3c81($s1)
/* 552B04 802316C4 006F0001 */ .byte 0x00, 0x6f, 0x00, 0x01
/* 552B08 802316C8 00000025 */ or $zero, $zero, $zero
/* 552B0C 802316CC 00000002 */ srl $zero, $zero, 0
/* 552B10 802316D0 FE363C82 */ sd $s6, 0x3c82($s1)
/* 552B14 802316D4 006F000A */ movz $zero, $v1, $t7
/* 552B18 802316D8 00000046 */ rotrv $zero, $zero, $zero
/* 552B1C 802316DC 00000001 */ movf $zero, $zero, $fcc0
/* 552B20 802316E0 8029B22C */ lb $t1, -0x4dd4($at)
/* 552B24 802316E4 00000002 */ srl $zero, $zero, 0
/* 552B28 802316E8 00000000 */ nop
/* 552B2C 802316EC 0000001C */ dmult $zero, $zero
/* 552B30 802316F0 00000000 */ nop
/* 552B34 802316F4 00000025 */ or $zero, $zero, $zero
/* 552B38 802316F8 00000002 */ srl $zero, $zero, 0
/* 552B3C 802316FC FE363C81 */ sd $s6, 0x3c81($s1)
/* 552B40 80231700 006F000A */ movz $zero, $v1, $t7
/* 552B44 80231704 00000043 */ sra $zero, $zero, 1
/* 552B48 80231708 00000004 */ sllv $zero, $zero, $zero
/* 552B4C 8023170C 8026B1B0 */ lb $a2, -0x4e50($at)
/* 552B50 80231710 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552B54 80231714 00000001 */ movf $zero, $zero, $fcc0
/* 552B58 80231718 FE363C81 */ sd $s6, 0x3c81($s1)
/* 552B5C 8023171C 00000008 */ jr $zero
/* 552B60 80231720 00000001 */ movf $zero, $zero, $fcc0
glabel func_80231724_552B64
/* 552B64 80231724 00000014 */ dsllv $zero, $zero, $zero
/* 552B68 80231728 00000023 */ negu $zero, $zero
/* 552B6C 8023172C 00000000 */ nop
/* 552B70 80231730 00000043 */ sra $zero, $zero, 1
/* 552B74 80231734 00000003 */ sra $zero, $zero, 0
/* 552B78 80231738 8026F0EC */ lb $a2, -0xf14($at)
/* 552B7C 8023173C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 552B80 80231740 00000001 */ movf $zero, $zero, $fcc0
/* 552B84 80231744 00000002 */ srl $zero, $zero, 0
/* 552B88 80231748 00000000 */ nop
/* 552B8C 8023174C 00000001 */ movf $zero, $zero, $fcc0
/* 552B90 80231750 00000000 */ nop
/* 552B94 80231754 00000002 */ srl $zero, $zero, 0
/* 552B98 80231758 00000000 */ nop
/* 552B9C 8023175C 00000001 */ movf $zero, $zero, $fcc0
/* 552BA0 80231760 00000000 */ nop
/* 552BA4 80231764 00000000 */ nop
/* 552BA8 80231768 00000000 */ nop
/* 552BAC 8023176C 00000000 */ nop

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,482 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purpose registers
.section .text, "ax"
glabel func_80231000_556C90
/* 556C90 80231000 00000001 */ movf $zero, $zero, $fcc0
/* 556C94 80231004 00000000 */ nop
/* 556C98 80231008 00000000 */ nop
/* 556C9C 8023100C 00000001 */ movf $zero, $zero, $fcc0
/* 556CA0 80231010 00000000 */ nop
/* 556CA4 80231014 00000002 */ srl $zero, $zero, 0
/* 556CA8 80231018 00000000 */ nop
/* 556CAC 8023101C 00000006 */ srlv $zero, $zero, $zero
/* 556CB0 80231020 00000000 */ nop
/* 556CB4 80231024 00000009 */ jr $zero
/* 556CB8 80231028 00000000 */ nop
/* 556CBC 8023102C 00000007 */ srav $zero, $zero, $zero
/* 556CC0 80231030 00000000 */ nop
/* 556CC4 80231034 00000004 */ sllv $zero, $zero, $zero
/* 556CC8 80231038 00000000 */ nop
/* 556CCC 8023103C 00000003 */ sra $zero, $zero, 0
/* 556CD0 80231040 00000000 */ nop
/* 556CD4 80231044 0000000B */ movn $zero, $zero, $zero
/* 556CD8 80231048 00000000 */ nop
/* 556CDC 8023104C 00000005 */ lsa $zero, $zero, $zero, 1
/* 556CE0 80231050 00000000 */ nop
/* 556CE4 80231054 0000000A */ movz $zero, $zero, $zero
/* 556CE8 80231058 00000000 */ nop
/* 556CEC 8023105C 00000008 */ jr $zero
/* 556CF0 80231060 00000000 */ nop
/* 556CF4 80231064 0000001F */ ddivu $zero, $zero, $zero
/* 556CF8 80231068 00000000 */ nop
/* 556CFC 8023106C 00000020 */ add $zero, $zero, $zero
/* 556D00 80231070 00000000 */ nop
/* 556D04 80231074 00000025 */ or $zero, $zero, $zero
/* 556D08 80231078 00000000 */ nop
/* 556D0C 8023107C 00000022 */ neg $zero, $zero
/* 556D10 80231080 00000000 */ nop
/* 556D14 80231084 00000024 */ and $zero, $zero, $zero
/* 556D18 80231088 00000000 */ nop
/* 556D1C 8023108C 00000023 */ negu $zero, $zero
/* 556D20 80231090 00000000 */ nop
/* 556D24 80231094 00000021 */ addu $zero, $zero, $zero
/* 556D28 80231098 00000000 */ nop
/* 556D2C 8023109C 00000026 */ xor $zero, $zero, $zero
/* 556D30 802310A0 00000000 */ nop
/* 556D34 802310A4 00000027 */ not $zero, $zero
/* 556D38 802310A8 00000000 */ nop
/* 556D3C 802310AC 00000029 */ .byte 0x00, 0x00, 0x00, 0x29
/* 556D40 802310B0 00000000 */ nop
/* 556D44 802310B4 00000000 */ nop
/* 556D48 802310B8 00820001 */ .byte 0x00, 0x82, 0x00, 0x01
/* 556D4C 802310BC 01000000 */ .byte 0x01, 0x00, 0x00, 0x00
/* 556D50 802310C0 001800FF */ dsra32 $zero, $t8, 3
/* 556D54 802310C4 00000000 */ nop
/* 556D58 802310C8 80231000 */ lb $v1, 0x1000($at)
/* 556D5C 802310CC 00000000 */ nop
/* 556D60 802310D0 00000000 */ nop
/* 556D64 802310D4 00000000 */ nop
/* 556D68 802310D8 00000000 */ nop
/* 556D6C 802310DC 00120000 */ sll $zero, $s2, 0
/* 556D70 802310E0 02000000 */ .byte 0x02, 0x00, 0x00, 0x00
/* 556D74 802310E4 001800FF */ dsra32 $zero, $t8, 3
/* 556D78 802310E8 80231224 */ lb $v1, 0x1224($at)
/* 556D7C 802310EC 80231000 */ lb $v1, 0x1000($at)
/* 556D80 802310F0 00000000 */ nop
/* 556D84 802310F4 00000000 */ nop
/* 556D88 802310F8 00000000 */ nop
/* 556D8C 802310FC 00000000 */ nop
/* 556D90 80231100 00120000 */ sll $zero, $s2, 0
/* 556D94 80231104 03000000 */ .byte 0x03, 0x00, 0x00, 0x00
/* 556D98 80231108 001800FF */ dsra32 $zero, $t8, 3
/* 556D9C 8023110C 80231224 */ lb $v1, 0x1224($at)
/* 556DA0 80231110 80231000 */ lb $v1, 0x1000($at)
/* 556DA4 80231114 00000000 */ nop
/* 556DA8 80231118 00000000 */ nop
/* 556DAC 8023111C 00000000 */ nop
/* 556DB0 80231120 00000000 */ nop
/* 556DB4 80231124 00120000 */ sll $zero, $s2, 0
/* 556DB8 80231128 04000000 */ bltz $zero, .L8023112C
.L8023112C:
/* 556DBC 8023112C 001800FF */ dsra32 $zero, $t8, 3
/* 556DC0 80231130 80231224 */ lb $v1, 0x1224($at)
/* 556DC4 80231134 80231000 */ lb $v1, 0x1000($at)
/* 556DC8 80231138 00000000 */ nop
/* 556DCC 8023113C 00000000 */ nop
/* 556DD0 80231140 00000000 */ nop
/* 556DD4 80231144 00000000 */ nop
/* 556DD8 80231148 00120000 */ sll $zero, $s2, 0
/* 556DDC 8023114C 05000000 */ bltz $t0, .L80231150
.L80231150:
/* 556DE0 80231150 001800FF */ dsra32 $zero, $t8, 3
/* 556DE4 80231154 80231224 */ lb $v1, 0x1224($at)
/* 556DE8 80231158 80231000 */ lb $v1, 0x1000($at)
/* 556DEC 8023115C 00000000 */ nop
/* 556DF0 80231160 00000000 */ nop
/* 556DF4 80231164 00000000 */ nop
/* 556DF8 80231168 00000000 */ nop
/* 556DFC 8023116C 00120000 */ sll $zero, $s2, 0
/* 556E00 80231170 06000000 */ bltz $s0, .L80231174
.L80231174:
/* 556E04 80231174 001800FF */ dsra32 $zero, $t8, 3
/* 556E08 80231178 80231224 */ lb $v1, 0x1224($at)
/* 556E0C 8023117C 80231000 */ lb $v1, 0x1000($at)
/* 556E10 80231180 00000000 */ nop
/* 556E14 80231184 00000000 */ nop
/* 556E18 80231188 00000000 */ nop
/* 556E1C 8023118C 00000000 */ nop
/* 556E20 80231190 00120000 */ sll $zero, $s2, 0
/* 556E24 80231194 07000000 */ bltz $t8, .L80231198
.L80231198:
/* 556E28 80231198 001800FF */ dsra32 $zero, $t8, 3
/* 556E2C 8023119C 80231224 */ lb $v1, 0x1224($at)
/* 556E30 802311A0 80231000 */ lb $v1, 0x1000($at)
/* 556E34 802311A4 00000000 */ nop
/* 556E38 802311A8 00000000 */ nop
/* 556E3C 802311AC 00000000 */ nop
/* 556E40 802311B0 00000000 */ nop
/* 556E44 802311B4 00120000 */ sll $zero, $s2, 0
/* 556E48 802311B8 08000000 */ j .L80000000
/* 556E4C 802311BC 001800FF */ dsra32 $zero, $t8, 3
/* 556E50 802311C0 80231224 */ lb $v1, 0x1224($at)
/* 556E54 802311C4 80231000 */ lb $v1, 0x1000($at)
/* 556E58 802311C8 00000000 */ nop
/* 556E5C 802311CC 00000000 */ nop
/* 556E60 802311D0 00000000 */ nop
/* 556E64 802311D4 00000000 */ nop
/* 556E68 802311D8 00120000 */ sll $zero, $s2, 0
/* 556E6C 802311DC 09000000 */ j .L84000000
/* 556E70 802311E0 001800FF */ dsra32 $zero, $t8, 3
/* 556E74 802311E4 80231224 */ lb $v1, 0x1224($at)
/* 556E78 802311E8 80231000 */ lb $v1, 0x1000($at)
/* 556E7C 802311EC 00000000 */ nop
/* 556E80 802311F0 00000000 */ nop
/* 556E84 802311F4 00000000 */ nop
/* 556E88 802311F8 00000000 */ nop
/* 556E8C 802311FC 00040004 */ sllv $zero, $a0, $zero
/* 556E90 80231200 00AE000A */ movz $zero, $a1, $t6
/* 556E94 80231204 00090000 */ sll $zero, $t1, 0
/* 556E98 80231208 802310B8 */ lb $v1, 0x10b8($at)
/* 556E9C 8023120C 80231280 */ lb $v1, 0x1280($at)
/* 556EA0 80231210 8023100C */ lb $v1, 0x100c($at)
/* 556EA4 80231214 00000000 */ nop
/* 556EA8 80231218 00045000 */ sll $t2, $a0, 0
/* 556EAC 8023121C 1E1E0000 */ .byte 0x1e, 0x1e, 0x00, 0x00
/* 556EB0 80231220 F6140A14 */ sdc1 $f20, 0xa14($s0)
/* 556EB4 80231224 00000001 */ movf $zero, $zero, $fcc0
/* 556EB8 80231228 00780001 */ movf $zero, $v1, $fcc6
/* 556EBC 8023122C 0000000C */ syscall
/* 556EC0 80231230 00780000 */ .byte 0x00, 0x78, 0x00, 0x00
/* 556EC4 80231234 00000006 */ srlv $zero, $zero, $zero
/* 556EC8 80231238 00780000 */ .byte 0x00, 0x78, 0x00, 0x00
/* 556ECC 8023123C 00000009 */ jr $zero
/* 556ED0 80231240 00780001 */ movf $zero, $v1, $fcc6
/* 556ED4 80231244 00000008 */ jr $zero
/* 556ED8 80231248 00780000 */ .byte 0x00, 0x78, 0x00, 0x00
/* 556EDC 8023124C 0000000B */ movn $zero, $zero, $zero
/* 556EE0 80231250 00780000 */ .byte 0x00, 0x78, 0x00, 0x00
/* 556EE4 80231254 00000005 */ lsa $zero, $zero, $zero, 1
/* 556EE8 80231258 00780000 */ .byte 0x00, 0x78, 0x00, 0x00
/* 556EEC 8023125C 00000005 */ lsa $zero, $zero, $zero, 1
/* 556EF0 80231260 00780000 */ .byte 0x00, 0x78, 0x00, 0x00
/* 556EF4 80231264 00000004 */ sllv $zero, $zero, $zero
/* 556EF8 80231268 00780001 */ movf $zero, $v1, $fcc6
/* 556EFC 8023126C 00000004 */ sllv $zero, $zero, $zero
/* 556F00 80231270 00780001 */ movf $zero, $v1, $fcc6
/* 556F04 80231274 00000003 */ sra $zero, $zero, 0
/* 556F08 80231278 00780000 */ .byte 0x00, 0x78, 0x00, 0x00
/* 556F0C 8023127C 00000000 */ nop
/* 556F10 80231280 00000043 */ sra $zero, $zero, 1
/* 556F14 80231284 00000003 */ sra $zero, $zero, 0
/* 556F18 80231288 80278930 */ lb $a3, -0x76d0($at)
/* 556F1C 8023128C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 556F20 80231290 8023173C */ lb $v1, 0x173c($at)
/* 556F24 80231294 00000043 */ sra $zero, $zero, 1
/* 556F28 80231298 00000003 */ sra $zero, $zero, 0
/* 556F2C 8023129C 80278A94 */ lb $a3, -0x756c($at)
/* 556F30 802312A0 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 556F34 802312A4 802315EC */ lb $v1, 0x15ec($at)
/* 556F38 802312A8 00000043 */ sra $zero, $zero, 1
/* 556F3C 802312AC 00000003 */ sra $zero, $zero, 0
/* 556F40 802312B0 80278C20 */ lb $a3, -0x73e0($at)
/* 556F44 802312B4 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 556F48 802312B8 8023172C */ lb $v1, 0x172c($at)
/* 556F4C 802312BC 00000043 */ sra $zero, $zero, 1
/* 556F50 802312C0 00000005 */ lsa $zero, $zero, $zero, 1
/* 556F54 802312C4 8026C22C */ lb $a2, -0x3dd4($at)
/* 556F58 802312C8 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 556F5C 802312CC 00000002 */ srl $zero, $zero, 0
/* 556F60 802312D0 00000000 */ nop
/* 556F64 802312D4 00000000 */ nop
/* 556F68 802312D8 00000043 */ sra $zero, $zero, 1
/* 556F6C 802312DC 00000005 */ lsa $zero, $zero, $zero, 1
/* 556F70 802312E0 8026C22C */ lb $a2, -0x3dd4($at)
/* 556F74 802312E4 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 556F78 802312E8 00000002 */ srl $zero, $zero, 0
/* 556F7C 802312EC 00000001 */ movf $zero, $zero, $fcc0
/* 556F80 802312F0 FFFFFFF6 */ sd $ra, -0xa($ra)
/* 556F84 802312F4 00000043 */ sra $zero, $zero, 1
/* 556F88 802312F8 00000005 */ lsa $zero, $zero, $zero, 1
/* 556F8C 802312FC 8026C22C */ lb $a2, -0x3dd4($at)
/* 556F90 80231300 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 556F94 80231304 00000003 */ sra $zero, $zero, 0
/* 556F98 80231308 00000000 */ nop
/* 556F9C 8023130C 0000000A */ movz $zero, $zero, $zero
/* 556FA0 80231310 00000043 */ sra $zero, $zero, 1
/* 556FA4 80231314 00000005 */ lsa $zero, $zero, $zero, 1
/* 556FA8 80231318 8026C22C */ lb $a2, -0x3dd4($at)
/* 556FAC 8023131C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 556FB0 80231320 00000003 */ sra $zero, $zero, 0
/* 556FB4 80231324 00000001 */ movf $zero, $zero, $fcc0
/* 556FB8 80231328 FFFFFFE2 */ sd $ra, -0x1e($ra)
/* 556FBC 8023132C 00000043 */ sra $zero, $zero, 1
/* 556FC0 80231330 00000005 */ lsa $zero, $zero, $zero, 1
/* 556FC4 80231334 8026C22C */ lb $a2, -0x3dd4($at)
/* 556FC8 80231338 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 556FCC 8023133C 00000004 */ sllv $zero, $zero, $zero
/* 556FD0 80231340 00000000 */ nop
/* 556FD4 80231344 0000000A */ movz $zero, $zero, $zero
/* 556FD8 80231348 00000043 */ sra $zero, $zero, 1
/* 556FDC 8023134C 00000005 */ lsa $zero, $zero, $zero, 1
/* 556FE0 80231350 8026C22C */ lb $a2, -0x3dd4($at)
/* 556FE4 80231354 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 556FE8 80231358 00000004 */ sllv $zero, $zero, $zero
/* 556FEC 8023135C 00000001 */ movf $zero, $zero, $fcc0
/* 556FF0 80231360 0000000A */ movz $zero, $zero, $zero
/* 556FF4 80231364 00000043 */ sra $zero, $zero, 1
/* 556FF8 80231368 00000005 */ lsa $zero, $zero, $zero, 1
/* 556FFC 8023136C 8026C22C */ lb $a2, -0x3dd4($at)
/* 557000 80231370 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557004 80231374 00000005 */ lsa $zero, $zero, $zero, 1
/* 557008 80231378 00000000 */ nop
/* 55700C 8023137C 00000014 */ dsllv $zero, $zero, $zero
/* 557010 80231380 00000043 */ sra $zero, $zero, 1
/* 557014 80231384 00000005 */ lsa $zero, $zero, $zero, 1
/* 557018 80231388 8026C22C */ lb $a2, -0x3dd4($at)
/* 55701C 8023138C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557020 80231390 00000005 */ lsa $zero, $zero, $zero, 1
/* 557024 80231394 00000001 */ movf $zero, $zero, $fcc0
/* 557028 80231398 FFFFFFF6 */ sd $ra, -0xa($ra)
/* 55702C 8023139C 00000043 */ sra $zero, $zero, 1
/* 557030 802313A0 00000005 */ lsa $zero, $zero, $zero, 1
/* 557034 802313A4 8026C22C */ lb $a2, -0x3dd4($at)
/* 557038 802313A8 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 55703C 802313AC 00000006 */ srlv $zero, $zero, $zero
/* 557040 802313B0 00000000 */ nop
/* 557044 802313B4 0000001E */ ddiv $zero, $zero, $zero
/* 557048 802313B8 00000043 */ sra $zero, $zero, 1
/* 55704C 802313BC 00000005 */ lsa $zero, $zero, $zero, 1
/* 557050 802313C0 8026C22C */ lb $a2, -0x3dd4($at)
/* 557054 802313C4 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557058 802313C8 00000006 */ srlv $zero, $zero, $zero
/* 55705C 802313CC 00000001 */ movf $zero, $zero, $fcc0
/* 557060 802313D0 0000000A */ movz $zero, $zero, $zero
/* 557064 802313D4 00000043 */ sra $zero, $zero, 1
/* 557068 802313D8 00000005 */ lsa $zero, $zero, $zero, 1
/* 55706C 802313DC 8026C22C */ lb $a2, -0x3dd4($at)
/* 557070 802313E0 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557074 802313E4 00000007 */ srav $zero, $zero, $zero
/* 557078 802313E8 00000000 */ nop
/* 55707C 802313EC 0000001E */ ddiv $zero, $zero, $zero
/* 557080 802313F0 00000043 */ sra $zero, $zero, 1
/* 557084 802313F4 00000005 */ lsa $zero, $zero, $zero, 1
/* 557088 802313F8 8026C22C */ lb $a2, -0x3dd4($at)
/* 55708C 802313FC FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557090 80231400 00000007 */ srav $zero, $zero, $zero
/* 557094 80231404 00000001 */ movf $zero, $zero, $fcc0
/* 557098 80231408 FFFFFFE2 */ sd $ra, -0x1e($ra)
/* 55709C 8023140C 00000043 */ sra $zero, $zero, 1
/* 5570A0 80231410 00000005 */ lsa $zero, $zero, $zero, 1
/* 5570A4 80231414 8026C22C */ lb $a2, -0x3dd4($at)
/* 5570A8 80231418 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5570AC 8023141C 00000008 */ jr $zero
/* 5570B0 80231420 00000000 */ nop
/* 5570B4 80231424 00000028 */ .byte 0x00, 0x00, 0x00, 0x28
/* 5570B8 80231428 00000043 */ sra $zero, $zero, 1
/* 5570BC 8023142C 00000005 */ lsa $zero, $zero, $zero, 1
/* 5570C0 80231430 8026C22C */ lb $a2, -0x3dd4($at)
/* 5570C4 80231434 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5570C8 80231438 00000008 */ jr $zero
/* 5570CC 8023143C 00000001 */ movf $zero, $zero, $fcc0
/* 5570D0 80231440 FFFFFFF6 */ sd $ra, -0xa($ra)
/* 5570D4 80231444 00000043 */ sra $zero, $zero, 1
/* 5570D8 80231448 00000005 */ lsa $zero, $zero, $zero, 1
/* 5570DC 8023144C 8026C22C */ lb $a2, -0x3dd4($at)
/* 5570E0 80231450 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5570E4 80231454 00000009 */ jr $zero
/* 5570E8 80231458 00000000 */ nop
/* 5570EC 8023145C 00000032 */ tlt $zero, $zero
/* 5570F0 80231460 00000043 */ sra $zero, $zero, 1
/* 5570F4 80231464 00000005 */ lsa $zero, $zero, $zero, 1
/* 5570F8 80231468 8026C22C */ lb $a2, -0x3dd4($at)
/* 5570FC 8023146C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557100 80231470 00000009 */ jr $zero
/* 557104 80231474 00000001 */ movf $zero, $zero, $fcc0
/* 557108 80231478 0000000A */ movz $zero, $zero, $zero
/* 55710C 8023147C 00000024 */ and $zero, $zero, $zero
/* 557110 80231480 00000002 */ srl $zero, $zero, 0
/* 557114 80231484 FE363C80 */ sd $s6, 0x3c80($s1)
/* 557118 80231488 00000002 */ srl $zero, $zero, 0
/* 55711C 8023148C 00000005 */ lsa $zero, $zero, $zero, 1
/* 557120 80231490 00000001 */ movf $zero, $zero, $fcc0
/* 557124 80231494 00000008 */ jr $zero
/* 557128 80231498 00000043 */ sra $zero, $zero, 1
/* 55712C 8023149C 00000006 */ srlv $zero, $zero, $zero
/* 557130 802314A0 8026AF18 */ lb $a2, -0x50e8($at)
/* 557134 802314A4 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557138 802314A8 FE363C80 */ sd $s6, 0x3c80($s1)
/* 55713C 802314AC 000000B9 */ .byte 0x00, 0x00, 0x00, 0xb9
/* 557140 802314B0 00000000 */ nop
/* 557144 802314B4 0000002F */ dsubu $zero, $zero, $zero
/* 557148 802314B8 00000027 */ not $zero, $zero
/* 55714C 802314BC 00000002 */ srl $zero, $zero, 0
/* 557150 802314C0 FE363C80 */ sd $s6, 0x3c80($s1)
/* 557154 802314C4 00000001 */ movf $zero, $zero, $fcc0
/* 557158 802314C8 00000006 */ srlv $zero, $zero, $zero
/* 55715C 802314CC 00000000 */ nop
/* 557160 802314D0 00000043 */ sra $zero, $zero, 1
/* 557164 802314D4 00000005 */ lsa $zero, $zero, $zero, 1
/* 557168 802314D8 8026A1EC */ lb $a2, -0x5e14($at)
/* 55716C 802314DC FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557170 802314E0 00000014 */ dsllv $zero, $zero, $zero
/* 557174 802314E4 00000000 */ nop
/* 557178 802314E8 FFFFFFF6 */ sd $ra, -0xa($ra)
/* 55717C 802314EC 00000043 */ sra $zero, $zero, 1
/* 557180 802314F0 00000002 */ srl $zero, $zero, 0
/* 557184 802314F4 8026D664 */ lb $a2, -0x299c($at)
/* 557188 802314F8 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 55718C 802314FC 00000024 */ and $zero, $zero, $zero
/* 557190 80231500 00000002 */ srl $zero, $zero, 0
/* 557194 80231504 FE363C80 */ sd $s6, 0x3c80($s1)
/* 557198 80231508 00000002 */ srl $zero, $zero, 0
/* 55719C 8023150C 00000024 */ and $zero, $zero, $zero
/* 5571A0 80231510 00000002 */ srl $zero, $zero, 0
/* 5571A4 80231514 FE363C81 */ sd $s6, 0x3c81($s1)
/* 5571A8 80231518 00780003 */ .byte 0x00, 0x78, 0x00, 0x03
/* 5571AC 8023151C 00000024 */ and $zero, $zero, $zero
/* 5571B0 80231520 00000002 */ srl $zero, $zero, 0
/* 5571B4 80231524 FE363C84 */ sd $s6, 0x3c84($s1)
/* 5571B8 80231528 F24A8A80 */ scd $t2, -0x7580($s2)
/* 5571BC 8023152C 00000024 */ and $zero, $zero, $zero
/* 5571C0 80231530 00000002 */ srl $zero, $zero, 0
/* 5571C4 80231534 FE363C85 */ sd $s6, 0x3c85($s1)
/* 5571C8 80231538 00000005 */ lsa $zero, $zero, $zero, 1
/* 5571CC 8023153C 00000005 */ lsa $zero, $zero, $zero, 1
/* 5571D0 80231540 00000001 */ movf $zero, $zero, $fcc0
/* 5571D4 80231544 00000008 */ jr $zero
/* 5571D8 80231548 00000056 */ drotrv $zero, $zero, $zero
/* 5571DC 8023154C 00000000 */ nop
/* 5571E0 80231550 00000043 */ sra $zero, $zero, 1
/* 5571E4 80231554 00000005 */ lsa $zero, $zero, $zero, 1
/* 5571E8 80231558 8026C170 */ lb $a2, -0x3e90($at)
/* 5571EC 8023155C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5571F0 80231560 FE363C80 */ sd $s6, 0x3c80($s1)
/* 5571F4 80231564 00000000 */ nop
/* 5571F8 80231568 FE363C82 */ sd $s6, 0x3c82($s1)
/* 5571FC 8023156C 00000043 */ sra $zero, $zero, 1
/* 557200 80231570 00000005 */ lsa $zero, $zero, $zero, 1
/* 557204 80231574 8026C170 */ lb $a2, -0x3e90($at)
/* 557208 80231578 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 55720C 8023157C FE363C80 */ sd $s6, 0x3c80($s1)
/* 557210 80231580 00000001 */ movf $zero, $zero, $fcc0
/* 557214 80231584 FE363C83 */ sd $s6, 0x3c83($s1)
/* 557218 80231588 00000024 */ and $zero, $zero, $zero
/* 55721C 8023158C 00000002 */ srl $zero, $zero, 0
/* 557220 80231590 FE363C85 */ sd $s6, 0x3c85($s1)
/* 557224 80231594 00000014 */ dsllv $zero, $zero, $zero
/* 557228 80231598 00000046 */ rotrv $zero, $zero, $zero
/* 55722C 8023159C 00000001 */ movf $zero, $zero, $fcc0
/* 557230 802315A0 80231620 */ lb $v1, 0x1620($at)
/* 557234 802315A4 00000043 */ sra $zero, $zero, 1
/* 557238 802315A8 00000004 */ sllv $zero, $zero, $zero
/* 55723C 802315AC 8026B1B0 */ lb $a2, -0x4e50($at)
/* 557240 802315B0 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557244 802315B4 FE363C80 */ sd $s6, 0x3c80($s1)
/* 557248 802315B8 00780001 */ movf $zero, $v1, $fcc6
/* 55724C 802315BC 00000057 */ .byte 0x00, 0x00, 0x00, 0x57
/* 557250 802315C0 00000000 */ nop
/* 557254 802315C4 00000027 */ not $zero, $zero
/* 557258 802315C8 00000002 */ srl $zero, $zero, 0
/* 55725C 802315CC FE363C80 */ sd $s6, 0x3c80($s1)
/* 557260 802315D0 00000001 */ movf $zero, $zero, $fcc0
/* 557264 802315D4 00000006 */ srlv $zero, $zero, $zero
/* 557268 802315D8 00000000 */ nop
/* 55726C 802315DC 00000002 */ srl $zero, $zero, 0
/* 557270 802315E0 00000000 */ nop
/* 557274 802315E4 00000001 */ movf $zero, $zero, $fcc0
/* 557278 802315E8 00000000 */ nop
/* 55727C 802315EC 00000003 */ sra $zero, $zero, 0
/* 557280 802315F0 00000001 */ movf $zero, $zero, $fcc0
/* 557284 802315F4 00000000 */ nop
/* 557288 802315F8 00000008 */ jr $zero
/* 55728C 802315FC 00000001 */ movf $zero, $zero, $fcc0
/* 557290 80231600 00000001 */ movf $zero, $zero, $fcc0
/* 557294 80231604 00000004 */ sllv $zero, $zero, $zero
/* 557298 80231608 00000001 */ movf $zero, $zero, $fcc0
/* 55729C 8023160C 00000000 */ nop
/* 5572A0 80231610 00000002 */ srl $zero, $zero, 0
/* 5572A4 80231614 00000000 */ nop
/* 5572A8 80231618 00000001 */ movf $zero, $zero, $fcc0
/* 5572AC 8023161C 00000000 */ nop
/* 5572B0 80231620 00000043 */ sra $zero, $zero, 1
/* 5572B4 80231624 00000006 */ srlv $zero, $zero, $zero
/* 5572B8 80231628 8026AB74 */ lb $a2, -0x548c($at)
/* 5572BC 8023162C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5572C0 80231630 FE363C80 */ sd $s6, 0x3c80($s1)
/* 5572C4 80231634 FE363C86 */ sd $s6, 0x3c86($s1)
/* 5572C8 80231638 00000000 */ nop
/* 5572CC 8023163C FE363C87 */ sd $s6, 0x3c87($s1)
/* 5572D0 80231640 0000000C */ syscall
/* 5572D4 80231644 00000002 */ srl $zero, $zero, 0
/* 5572D8 80231648 FE363C86 */ sd $s6, 0x3c86($s1)
/* 5572DC 8023164C FE363C82 */ sd $s6, 0x3c82($s1)
/* 5572E0 80231650 00000043 */ sra $zero, $zero, 1
/* 5572E4 80231654 00000004 */ sllv $zero, $zero, $zero
/* 5572E8 80231658 8026B438 */ lb $a2, -0x4bc8($at)
/* 5572EC 8023165C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 5572F0 80231660 FE363C80 */ sd $s6, 0x3c80($s1)
/* 5572F4 80231664 000000B4 */ teq $zero, $zero, 2
/* 5572F8 80231668 00000012 */ mflo $zero
/* 5572FC 8023166C 00000000 */ nop
/* 557300 80231670 00000043 */ sra $zero, $zero, 1
/* 557304 80231674 00000004 */ sllv $zero, $zero, $zero
/* 557308 80231678 8026B438 */ lb $a2, -0x4bc8($at)
/* 55730C 8023167C FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557310 80231680 FE363C80 */ sd $s6, 0x3c80($s1)
/* 557314 80231684 00000000 */ nop
/* 557318 80231688 00000013 */ mtlo $zero
/* 55731C 8023168C 00000000 */ nop
/* 557320 80231690 00000043 */ sra $zero, $zero, 1
/* 557324 80231694 00000006 */ srlv $zero, $zero, $zero
/* 557328 80231698 802D5770 */ lb $t5, 0x5770($at)
/* 55732C 8023169C FE363C89 */ sd $s6, 0x3c89($s1)
/* 557330 802316A0 FE363C86 */ sd $s6, 0x3c86($s1)
/* 557334 802316A4 FE363C87 */ sd $s6, 0x3c87($s1)
/* 557338 802316A8 FE363C82 */ sd $s6, 0x3c82($s1)
/* 55733C 802316AC FE363C83 */ sd $s6, 0x3c83($s1)
/* 557340 802316B0 0000000F */ sync
/* 557344 802316B4 00000002 */ srl $zero, $zero, 0
/* 557348 802316B8 FE363C89 */ sd $s6, 0x3c89($s1)
/* 55734C 802316BC FE363C84 */ sd $s6, 0x3c84($s1)
/* 557350 802316C0 00000043 */ sra $zero, $zero, 1
/* 557354 802316C4 00000004 */ sllv $zero, $zero, $zero
/* 557358 802316C8 8026B1B0 */ lb $a2, -0x4e50($at)
/* 55735C 802316CC FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557360 802316D0 FE363C80 */ sd $s6, 0x3c80($s1)
/* 557364 802316D4 FE363C81 */ sd $s6, 0x3c81($s1)
/* 557368 802316D8 00000043 */ sra $zero, $zero, 1
/* 55736C 802316DC 00000004 */ sllv $zero, $zero, $zero
/* 557370 802316E0 8026B7EC */ lb $a2, -0x4814($at)
/* 557374 802316E4 FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557378 802316E8 FE363C80 */ sd $s6, 0x3c80($s1)
/* 55737C 802316EC FE363C84 */ sd $s6, 0x3c84($s1)
/* 557380 802316F0 00000043 */ sra $zero, $zero, 1
/* 557384 802316F4 00000007 */ srav $zero, $zero, $zero
/* 557388 802316F8 8027ACAC */ lb $a3, -0x5354($at)
/* 55738C 802316FC FFFFFF81 */ sd $ra, -0x7f($ra)
/* 557390 80231700 FE363C80 */ sd $s6, 0x3c80($s1)
/* 557394 80231704 FE363C82 */ sd $s6, 0x3c82($s1)
/* 557398 80231708 00000000 */ nop
/* 55739C 8023170C FE363C83 */ sd $s6, 0x3c83($s1)
/* 5573A0 80231710 FE363C85 */ sd $s6, 0x3c85($s1)
/* 5573A4 80231714 00000013 */ mtlo $zero
/* 5573A8 80231718 00000000 */ nop
/* 5573AC 8023171C 00000002 */ srl $zero, $zero, 0
/* 5573B0 80231720 00000000 */ nop
/* 5573B4 80231724 00000001 */ movf $zero, $zero, $fcc0
/* 5573B8 80231728 00000000 */ nop
/* 5573BC 8023172C 00000002 */ srl $zero, $zero, 0
/* 5573C0 80231730 00000000 */ nop
/* 5573C4 80231734 00000001 */ movf $zero, $zero, $fcc0
/* 5573C8 80231738 00000000 */ nop
/* 5573CC 8023173C 00000002 */ srl $zero, $zero, 0
/* 5573D0 80231740 00000000 */ nop
/* 5573D4 80231744 00000001 */ movf $zero, $zero, $fcc0
/* 5573D8 80231748 00000000 */ nop
/* 5573DC 8023174C 00000000 */ nop

23559
asm/battle/area_omo3/5573E0.s Normal file

File diff suppressed because it is too large Load Diff

24239
asm/battle/area_pra/648E10.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

27645
asm/battle/area_pra3/669D80.s Normal file

File diff suppressed because it is too large Load Diff

26134
asm/battle/area_sam/623BA0.s Normal file

File diff suppressed because it is too large Load Diff

12136
asm/battle/area_sam2/63D1E0.s Normal file

File diff suppressed because it is too large Load Diff

29198
asm/battle/area_tik/5EC490.s Normal file

File diff suppressed because it is too large Load Diff

16385
asm/battle/area_tik2/608AB0.s Normal file

File diff suppressed because it is too large Load Diff

11666
asm/battle/area_tik3/6186F0.s Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218000_4FEA50
/* 4FEA50 80218000 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4FEA54 80218004 AFB10014 */ sw $s1, 0x14($sp)
/* 4FEA58 80218008 0080882D */ daddu $s1, $a0, $zero
/* 4FEA5C 8021800C AFBF0018 */ sw $ra, 0x18($sp)
/* 4FEA60 80218010 AFB00010 */ sw $s0, 0x10($sp)
/* 4FEA64 80218014 8E30000C */ lw $s0, 0xc($s1)
/* 4FEA68 80218018 8E050000 */ lw $a1, ($s0)
/* 4FEA6C 8021801C 0C0B1EAF */ jal get_variable
/* 4FEA70 80218020 26100004 */ addiu $s0, $s0, 4
/* 4FEA74 80218024 0220202D */ daddu $a0, $s1, $zero
/* 4FEA78 80218028 8E050000 */ lw $a1, ($s0)
/* 4FEA7C 8021802C 0C0B1EAF */ jal get_variable
/* 4FEA80 80218030 0040802D */ daddu $s0, $v0, $zero
/* 4FEA84 80218034 0200202D */ daddu $a0, $s0, $zero
/* 4FEA88 80218038 0C00A3C2 */ jal start_rumble
/* 4FEA8C 8021803C 0040282D */ daddu $a1, $v0, $zero
/* 4FEA90 80218040 8FBF0018 */ lw $ra, 0x18($sp)
/* 4FEA94 80218044 8FB10014 */ lw $s1, 0x14($sp)
/* 4FEA98 80218048 8FB00010 */ lw $s0, 0x10($sp)
/* 4FEA9C 8021804C 24020002 */ addiu $v0, $zero, 2
/* 4FEAA0 80218050 03E00008 */ jr $ra
/* 4FEAA4 80218054 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,111 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218058_4FEAA8
/* 4FEAA8 80218058 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4FEAAC 8021805C F7B60020 */ sdc1 $f22, 0x20($sp)
/* 4FEAB0 80218060 46006586 */ mov.s $f22, $f12
/* 4FEAB4 80218064 F7B40018 */ sdc1 $f20, 0x18($sp)
/* 4FEAB8 80218068 AFBF0010 */ sw $ra, 0x10($sp)
/* 4FEABC 8021806C 0C00A3FC */ jal length2D
/* 4FEAC0 80218070 46007506 */ mov.s $f20, $f14
/* 4FEAC4 80218074 4600A18D */ trunc.w.s $f6, $f20
/* 4FEAC8 80218078 44023000 */ mfc1 $v0, $f6
/* 4FEACC 8021807C 00000000 */ nop
/* 4FEAD0 80218080 04420001 */ bltzl $v0, .L80218088
/* 4FEAD4 80218084 00021023 */ negu $v0, $v0
.L80218088:
/* 4FEAD8 80218088 44821000 */ mtc1 $v0, $f2
/* 4FEADC 8021808C 00000000 */ nop
/* 4FEAE0 80218090 468010A0 */ cvt.s.w $f2, $f2
/* 4FEAE4 80218094 46001103 */ div.s $f4, $f2, $f0
/* 4FEAE8 80218098 0000202D */ daddu $a0, $zero, $zero
/* 4FEAEC 8021809C 2406005A */ addiu $a2, $zero, 0x5a
/* 4FEAF0 802180A0 0080282D */ daddu $a1, $a0, $zero
/* 4FEAF4 802180A4 3C078022 */ lui $a3, %hi(D_8021A4BC)
/* 4FEAF8 802180A8 24E7A4BC */ addiu $a3, $a3, %lo(D_8021A4BC)
/* 4FEAFC 802180AC 30C2FFFF */ andi $v0, $a2, 0xffff
.L802180B0:
/* 4FEB00 802180B0 3083FFFF */ andi $v1, $a0, 0xffff
/* 4FEB04 802180B4 00431023 */ subu $v0, $v0, $v1
/* 4FEB08 802180B8 00021FC2 */ srl $v1, $v0, 0x1f
/* 4FEB0C 802180BC 00431021 */ addu $v0, $v0, $v1
/* 4FEB10 802180C0 00021043 */ sra $v0, $v0, 1
/* 4FEB14 802180C4 00821821 */ addu $v1, $a0, $v0
/* 4FEB18 802180C8 3062FFFF */ andi $v0, $v1, 0xffff
/* 4FEB1C 802180CC 00021080 */ sll $v0, $v0, 2
/* 4FEB20 802180D0 00471021 */ addu $v0, $v0, $a3
/* 4FEB24 802180D4 C4400000 */ lwc1 $f0, ($v0)
/* 4FEB28 802180D8 4604003C */ c.lt.s $f0, $f4
/* 4FEB2C 802180DC 00000000 */ nop
/* 4FEB30 802180E0 45020002 */ bc1fl .L802180EC
/* 4FEB34 802180E4 0060302D */ daddu $a2, $v1, $zero
/* 4FEB38 802180E8 0060202D */ daddu $a0, $v1, $zero
.L802180EC:
/* 4FEB3C 802180EC 24A50001 */ addiu $a1, $a1, 1
/* 4FEB40 802180F0 30A2FFFF */ andi $v0, $a1, 0xffff
/* 4FEB44 802180F4 2C420007 */ sltiu $v0, $v0, 7
/* 4FEB48 802180F8 1440FFED */ bnez $v0, .L802180B0
/* 4FEB4C 802180FC 30C2FFFF */ andi $v0, $a2, 0xffff
/* 4FEB50 80218100 3082FFFF */ andi $v0, $a0, 0xffff
/* 4FEB54 80218104 00021080 */ sll $v0, $v0, 2
/* 4FEB58 80218108 30C3FFFF */ andi $v1, $a2, 0xffff
/* 4FEB5C 8021810C 3C018022 */ lui $at, %hi(D_8021A4BC)
/* 4FEB60 80218110 00220821 */ addu $at, $at, $v0
/* 4FEB64 80218114 C422A4BC */ lwc1 $f2, %lo(D_8021A4BC)($at)
/* 4FEB68 80218118 00031880 */ sll $v1, $v1, 2
/* 4FEB6C 8021811C 46041081 */ sub.s $f2, $f2, $f4
/* 4FEB70 80218120 3C018022 */ lui $at, %hi(D_8021A4BC)
/* 4FEB74 80218124 00230821 */ addu $at, $at, $v1
/* 4FEB78 80218128 C420A4BC */ lwc1 $f0, %lo(D_8021A4BC)($at)
/* 4FEB7C 8021812C 46040001 */ sub.s $f0, $f0, $f4
/* 4FEB80 80218130 46001085 */ abs.s $f2, $f2
/* 4FEB84 80218134 46000005 */ abs.s $f0, $f0
/* 4FEB88 80218138 4600103C */ c.lt.s $f2, $f0
/* 4FEB8C 8021813C 00000000 */ nop
/* 4FEB90 80218140 45000002 */ bc1f .L8021814C
/* 4FEB94 80218144 00C0182D */ daddu $v1, $a2, $zero
/* 4FEB98 80218148 0080182D */ daddu $v1, $a0, $zero
.L8021814C:
/* 4FEB9C 8021814C 44800000 */ mtc1 $zero, $f0
/* 4FEBA0 80218150 00000000 */ nop
/* 4FEBA4 80218154 4600B03C */ c.lt.s $f22, $f0
/* 4FEBA8 80218158 00000000 */ nop
/* 4FEBAC 8021815C 4500000A */ bc1f .L80218188
/* 4FEBB0 80218160 00000000 */ nop
/* 4FEBB4 80218164 4614003E */ c.le.s $f0, $f20
/* 4FEBB8 80218168 00000000 */ nop
/* 4FEBBC 8021816C 45000004 */ bc1f .L80218180
/* 4FEBC0 80218170 240200B4 */ addiu $v0, $zero, 0xb4
/* 4FEBC4 80218174 00431823 */ subu $v1, $v0, $v1
/* 4FEBC8 80218178 44800000 */ mtc1 $zero, $f0
/* 4FEBCC 8021817C 00000000 */ nop
.L80218180:
/* 4FEBD0 80218180 4600B03C */ c.lt.s $f22, $f0
/* 4FEBD4 80218184 00000000 */ nop
.L80218188:
/* 4FEBD8 80218188 45000005 */ bc1f .L802181A0
/* 4FEBDC 8021818C 00000000 */ nop
/* 4FEBE0 80218190 4600A03C */ c.lt.s $f20, $f0
/* 4FEBE4 80218194 00000000 */ nop
/* 4FEBE8 80218198 45030001 */ bc1tl .L802181A0
/* 4FEBEC 8021819C 246300B4 */ addiu $v1, $v1, 0xb4
.L802181A0:
/* 4FEBF0 802181A0 44800000 */ mtc1 $zero, $f0
/* 4FEBF4 802181A4 00000000 */ nop
/* 4FEBF8 802181A8 4616003E */ c.le.s $f0, $f22
/* 4FEBFC 802181AC 00000000 */ nop
/* 4FEC00 802181B0 45000006 */ bc1f .L802181CC
/* 4FEC04 802181B4 00000000 */ nop
/* 4FEC08 802181B8 4600A03C */ c.lt.s $f20, $f0
/* 4FEC0C 802181BC 00000000 */ nop
/* 4FEC10 802181C0 45000002 */ bc1f .L802181CC
/* 4FEC14 802181C4 24020168 */ addiu $v0, $zero, 0x168
/* 4FEC18 802181C8 00431823 */ subu $v1, $v0, $v1
.L802181CC:
/* 4FEC1C 802181CC 8FBF0010 */ lw $ra, 0x10($sp)
/* 4FEC20 802181D0 D7B60020 */ ldc1 $f22, 0x20($sp)
/* 4FEC24 802181D4 D7B40018 */ ldc1 $f20, 0x18($sp)
/* 4FEC28 802181D8 3062FFFF */ andi $v0, $v1, 0xffff
/* 4FEC2C 802181DC 03E00008 */ jr $ra
/* 4FEC30 802181E0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,69 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802181E4_4FEC34
/* 4FEC34 802181E4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4FEC38 802181E8 AFB40020 */ sw $s4, 0x20($sp)
/* 4FEC3C 802181EC 0080A02D */ daddu $s4, $a0, $zero
/* 4FEC40 802181F0 AFBF0024 */ sw $ra, 0x24($sp)
/* 4FEC44 802181F4 AFB3001C */ sw $s3, 0x1c($sp)
/* 4FEC48 802181F8 AFB20018 */ sw $s2, 0x18($sp)
/* 4FEC4C 802181FC AFB10014 */ sw $s1, 0x14($sp)
/* 4FEC50 80218200 AFB00010 */ sw $s0, 0x10($sp)
/* 4FEC54 80218204 8E92000C */ lw $s2, 0xc($s4)
/* 4FEC58 80218208 8E450000 */ lw $a1, ($s2)
/* 4FEC5C 8021820C 0C0B1EAF */ jal get_variable
/* 4FEC60 80218210 26520004 */ addiu $s2, $s2, 4
/* 4FEC64 80218214 8E450000 */ lw $a1, ($s2)
/* 4FEC68 80218218 26520004 */ addiu $s2, $s2, 4
/* 4FEC6C 8021821C 0280202D */ daddu $a0, $s4, $zero
/* 4FEC70 80218220 0C0B1EAF */ jal get_variable
/* 4FEC74 80218224 0040802D */ daddu $s0, $v0, $zero
/* 4FEC78 80218228 8E450000 */ lw $a1, ($s2)
/* 4FEC7C 8021822C 26520004 */ addiu $s2, $s2, 4
/* 4FEC80 80218230 0280202D */ daddu $a0, $s4, $zero
/* 4FEC84 80218234 0C0B1EAF */ jal get_variable
/* 4FEC88 80218238 0040882D */ daddu $s1, $v0, $zero
/* 4FEC8C 8021823C 0040982D */ daddu $s3, $v0, $zero
/* 4FEC90 80218240 8E450000 */ lw $a1, ($s2)
/* 4FEC94 80218244 26520004 */ addiu $s2, $s2, 4
/* 4FEC98 80218248 0280202D */ daddu $a0, $s4, $zero
/* 4FEC9C 8021824C 0C0B1EAF */ jal get_variable
/* 4FECA0 80218250 02709823 */ subu $s3, $s3, $s0
/* 4FECA4 80218254 0040802D */ daddu $s0, $v0, $zero
/* 4FECA8 80218258 0280202D */ daddu $a0, $s4, $zero
/* 4FECAC 8021825C 8E450000 */ lw $a1, ($s2)
/* 4FECB0 80218260 0C0B1EAF */ jal get_variable
/* 4FECB4 80218264 02118023 */ subu $s0, $s0, $s1
/* 4FECB8 80218268 16600006 */ bnez $s3, .L80218284
/* 4FECBC 8021826C 00000000 */ nop
/* 4FECC0 80218270 16000004 */ bnez $s0, .L80218284
/* 4FECC4 80218274 0280202D */ daddu $a0, $s4, $zero
/* 4FECC8 80218278 8E450000 */ lw $a1, ($s2)
/* 4FECCC 8021827C 080860AB */ j .L802182AC
/* 4FECD0 80218280 0040302D */ daddu $a2, $v0, $zero
.L80218284:
/* 4FECD4 80218284 44936000 */ mtc1 $s3, $f12
/* 4FECD8 80218288 00000000 */ nop
/* 4FECDC 8021828C 46806320 */ cvt.s.w $f12, $f12
/* 4FECE0 80218290 44907000 */ mtc1 $s0, $f14
/* 4FECE4 80218294 00000000 */ nop
/* 4FECE8 80218298 0C086016 */ jal func_80218058_4FEAA8
/* 4FECEC 8021829C 468073A0 */ cvt.s.w $f14, $f14
/* 4FECF0 802182A0 0280202D */ daddu $a0, $s4, $zero
/* 4FECF4 802182A4 8E450000 */ lw $a1, ($s2)
/* 4FECF8 802182A8 2446FFA6 */ addiu $a2, $v0, -0x5a
.L802182AC:
/* 4FECFC 802182AC 0C0B2026 */ jal set_variable
/* 4FED00 802182B0 00000000 */ nop
/* 4FED04 802182B4 24020002 */ addiu $v0, $zero, 2
/* 4FED08 802182B8 8FBF0024 */ lw $ra, 0x24($sp)
/* 4FED0C 802182BC 8FB40020 */ lw $s4, 0x20($sp)
/* 4FED10 802182C0 8FB3001C */ lw $s3, 0x1c($sp)
/* 4FED14 802182C4 8FB20018 */ lw $s2, 0x18($sp)
/* 4FED18 802182C8 8FB10014 */ lw $s1, 0x14($sp)
/* 4FED1C 802182CC 8FB00010 */ lw $s0, 0x10($sp)
/* 4FED20 802182D0 03E00008 */ jr $ra
/* 4FED24 802182D4 27BD0028 */ addiu $sp, $sp, 0x28
/* 4FED28 802182D8 00000000 */ nop
/* 4FED2C 802182DC 00000000 */ nop

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802182E0_4FED30
/* 4FED30 802182E0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4FED34 802182E4 AFB10014 */ sw $s1, 0x14($sp)
/* 4FED38 802182E8 0080882D */ daddu $s1, $a0, $zero
/* 4FED3C 802182EC AFBF0018 */ sw $ra, 0x18($sp)
/* 4FED40 802182F0 AFB00010 */ sw $s0, 0x10($sp)
/* 4FED44 802182F4 8E30000C */ lw $s0, 0xc($s1)
/* 4FED48 802182F8 8E050000 */ lw $a1, ($s0)
/* 4FED4C 802182FC 0C0B1EAF */ jal get_variable
/* 4FED50 80218300 26100004 */ addiu $s0, $s0, 4
/* 4FED54 80218304 0220202D */ daddu $a0, $s1, $zero
/* 4FED58 80218308 8E050000 */ lw $a1, ($s0)
/* 4FED5C 8021830C 0C0B1EAF */ jal get_variable
/* 4FED60 80218310 0040802D */ daddu $s0, $v0, $zero
/* 4FED64 80218314 0200202D */ daddu $a0, $s0, $zero
/* 4FED68 80218318 0C00A3C2 */ jal start_rumble
/* 4FED6C 8021831C 0040282D */ daddu $a1, $v0, $zero
/* 4FED70 80218320 8FBF0018 */ lw $ra, 0x18($sp)
/* 4FED74 80218324 8FB10014 */ lw $s1, 0x14($sp)
/* 4FED78 80218328 8FB00010 */ lw $s0, 0x10($sp)
/* 4FED7C 8021832C 24020002 */ addiu $v0, $zero, 2
/* 4FED80 80218330 03E00008 */ jr $ra
/* 4FED84 80218334 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,111 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218338_4FED88
/* 4FED88 80218338 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4FED8C 8021833C F7B60020 */ sdc1 $f22, 0x20($sp)
/* 4FED90 80218340 46006586 */ mov.s $f22, $f12
/* 4FED94 80218344 F7B40018 */ sdc1 $f20, 0x18($sp)
/* 4FED98 80218348 AFBF0010 */ sw $ra, 0x10($sp)
/* 4FED9C 8021834C 0C00A3FC */ jal length2D
/* 4FEDA0 80218350 46007506 */ mov.s $f20, $f14
/* 4FEDA4 80218354 4600A18D */ trunc.w.s $f6, $f20
/* 4FEDA8 80218358 44023000 */ mfc1 $v0, $f6
/* 4FEDAC 8021835C 00000000 */ nop
/* 4FEDB0 80218360 04420001 */ bltzl $v0, .L80218368
/* 4FEDB4 80218364 00021023 */ negu $v0, $v0
.L80218368:
/* 4FEDB8 80218368 44821000 */ mtc1 $v0, $f2
/* 4FEDBC 8021836C 00000000 */ nop
/* 4FEDC0 80218370 468010A0 */ cvt.s.w $f2, $f2
/* 4FEDC4 80218374 46001103 */ div.s $f4, $f2, $f0
/* 4FEDC8 80218378 0000202D */ daddu $a0, $zero, $zero
/* 4FEDCC 8021837C 2406005A */ addiu $a2, $zero, 0x5a
/* 4FEDD0 80218380 0080282D */ daddu $a1, $a0, $zero
/* 4FEDD4 80218384 3C078022 */ lui $a3, %hi(D_8021FD00)
/* 4FEDD8 80218388 24E7FD00 */ addiu $a3, $a3, %lo(D_8021FD00)
/* 4FEDDC 8021838C 30C2FFFF */ andi $v0, $a2, 0xffff
.L80218390:
/* 4FEDE0 80218390 3083FFFF */ andi $v1, $a0, 0xffff
/* 4FEDE4 80218394 00431023 */ subu $v0, $v0, $v1
/* 4FEDE8 80218398 00021FC2 */ srl $v1, $v0, 0x1f
/* 4FEDEC 8021839C 00431021 */ addu $v0, $v0, $v1
/* 4FEDF0 802183A0 00021043 */ sra $v0, $v0, 1
/* 4FEDF4 802183A4 00821821 */ addu $v1, $a0, $v0
/* 4FEDF8 802183A8 3062FFFF */ andi $v0, $v1, 0xffff
/* 4FEDFC 802183AC 00021080 */ sll $v0, $v0, 2
/* 4FEE00 802183B0 00471021 */ addu $v0, $v0, $a3
/* 4FEE04 802183B4 C4400000 */ lwc1 $f0, ($v0)
/* 4FEE08 802183B8 4604003C */ c.lt.s $f0, $f4
/* 4FEE0C 802183BC 00000000 */ nop
/* 4FEE10 802183C0 45020002 */ bc1fl .L802183CC
/* 4FEE14 802183C4 0060302D */ daddu $a2, $v1, $zero
/* 4FEE18 802183C8 0060202D */ daddu $a0, $v1, $zero
.L802183CC:
/* 4FEE1C 802183CC 24A50001 */ addiu $a1, $a1, 1
/* 4FEE20 802183D0 30A2FFFF */ andi $v0, $a1, 0xffff
/* 4FEE24 802183D4 2C420007 */ sltiu $v0, $v0, 7
/* 4FEE28 802183D8 1440FFED */ bnez $v0, .L80218390
/* 4FEE2C 802183DC 30C2FFFF */ andi $v0, $a2, 0xffff
/* 4FEE30 802183E0 3082FFFF */ andi $v0, $a0, 0xffff
/* 4FEE34 802183E4 00021080 */ sll $v0, $v0, 2
/* 4FEE38 802183E8 30C3FFFF */ andi $v1, $a2, 0xffff
/* 4FEE3C 802183EC 3C018022 */ lui $at, %hi(D_8021FD00)
/* 4FEE40 802183F0 00220821 */ addu $at, $at, $v0
/* 4FEE44 802183F4 C422FD00 */ lwc1 $f2, %lo(D_8021FD00)($at)
/* 4FEE48 802183F8 00031880 */ sll $v1, $v1, 2
/* 4FEE4C 802183FC 46041081 */ sub.s $f2, $f2, $f4
/* 4FEE50 80218400 3C018022 */ lui $at, %hi(D_8021FD00)
/* 4FEE54 80218404 00230821 */ addu $at, $at, $v1
/* 4FEE58 80218408 C420FD00 */ lwc1 $f0, %lo(D_8021FD00)($at)
/* 4FEE5C 8021840C 46040001 */ sub.s $f0, $f0, $f4
/* 4FEE60 80218410 46001085 */ abs.s $f2, $f2
/* 4FEE64 80218414 46000005 */ abs.s $f0, $f0
/* 4FEE68 80218418 4600103C */ c.lt.s $f2, $f0
/* 4FEE6C 8021841C 00000000 */ nop
/* 4FEE70 80218420 45000002 */ bc1f .L8021842C
/* 4FEE74 80218424 00C0182D */ daddu $v1, $a2, $zero
/* 4FEE78 80218428 0080182D */ daddu $v1, $a0, $zero
.L8021842C:
/* 4FEE7C 8021842C 44800000 */ mtc1 $zero, $f0
/* 4FEE80 80218430 00000000 */ nop
/* 4FEE84 80218434 4600B03C */ c.lt.s $f22, $f0
/* 4FEE88 80218438 00000000 */ nop
/* 4FEE8C 8021843C 4500000A */ bc1f .L80218468
/* 4FEE90 80218440 00000000 */ nop
/* 4FEE94 80218444 4614003E */ c.le.s $f0, $f20
/* 4FEE98 80218448 00000000 */ nop
/* 4FEE9C 8021844C 45000004 */ bc1f .L80218460
/* 4FEEA0 80218450 240200B4 */ addiu $v0, $zero, 0xb4
/* 4FEEA4 80218454 00431823 */ subu $v1, $v0, $v1
/* 4FEEA8 80218458 44800000 */ mtc1 $zero, $f0
/* 4FEEAC 8021845C 00000000 */ nop
.L80218460:
/* 4FEEB0 80218460 4600B03C */ c.lt.s $f22, $f0
/* 4FEEB4 80218464 00000000 */ nop
.L80218468:
/* 4FEEB8 80218468 45000005 */ bc1f .L80218480
/* 4FEEBC 8021846C 00000000 */ nop
/* 4FEEC0 80218470 4600A03C */ c.lt.s $f20, $f0
/* 4FEEC4 80218474 00000000 */ nop
/* 4FEEC8 80218478 45030001 */ bc1tl .L80218480
/* 4FEECC 8021847C 246300B4 */ addiu $v1, $v1, 0xb4
.L80218480:
/* 4FEED0 80218480 44800000 */ mtc1 $zero, $f0
/* 4FEED4 80218484 00000000 */ nop
/* 4FEED8 80218488 4616003E */ c.le.s $f0, $f22
/* 4FEEDC 8021848C 00000000 */ nop
/* 4FEEE0 80218490 45000006 */ bc1f .L802184AC
/* 4FEEE4 80218494 00000000 */ nop
/* 4FEEE8 80218498 4600A03C */ c.lt.s $f20, $f0
/* 4FEEEC 8021849C 00000000 */ nop
/* 4FEEF0 802184A0 45000002 */ bc1f .L802184AC
/* 4FEEF4 802184A4 24020168 */ addiu $v0, $zero, 0x168
/* 4FEEF8 802184A8 00431823 */ subu $v1, $v0, $v1
.L802184AC:
/* 4FEEFC 802184AC 8FBF0010 */ lw $ra, 0x10($sp)
/* 4FEF00 802184B0 D7B60020 */ ldc1 $f22, 0x20($sp)
/* 4FEF04 802184B4 D7B40018 */ ldc1 $f20, 0x18($sp)
/* 4FEF08 802184B8 3062FFFF */ andi $v0, $v1, 0xffff
/* 4FEF0C 802184BC 03E00008 */ jr $ra
/* 4FEF10 802184C0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,69 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802184C4_4FEF14
/* 4FEF14 802184C4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4FEF18 802184C8 AFB40020 */ sw $s4, 0x20($sp)
/* 4FEF1C 802184CC 0080A02D */ daddu $s4, $a0, $zero
/* 4FEF20 802184D0 AFBF0024 */ sw $ra, 0x24($sp)
/* 4FEF24 802184D4 AFB3001C */ sw $s3, 0x1c($sp)
/* 4FEF28 802184D8 AFB20018 */ sw $s2, 0x18($sp)
/* 4FEF2C 802184DC AFB10014 */ sw $s1, 0x14($sp)
/* 4FEF30 802184E0 AFB00010 */ sw $s0, 0x10($sp)
/* 4FEF34 802184E4 8E92000C */ lw $s2, 0xc($s4)
/* 4FEF38 802184E8 8E450000 */ lw $a1, ($s2)
/* 4FEF3C 802184EC 0C0B1EAF */ jal get_variable
/* 4FEF40 802184F0 26520004 */ addiu $s2, $s2, 4
/* 4FEF44 802184F4 8E450000 */ lw $a1, ($s2)
/* 4FEF48 802184F8 26520004 */ addiu $s2, $s2, 4
/* 4FEF4C 802184FC 0280202D */ daddu $a0, $s4, $zero
/* 4FEF50 80218500 0C0B1EAF */ jal get_variable
/* 4FEF54 80218504 0040802D */ daddu $s0, $v0, $zero
/* 4FEF58 80218508 8E450000 */ lw $a1, ($s2)
/* 4FEF5C 8021850C 26520004 */ addiu $s2, $s2, 4
/* 4FEF60 80218510 0280202D */ daddu $a0, $s4, $zero
/* 4FEF64 80218514 0C0B1EAF */ jal get_variable
/* 4FEF68 80218518 0040882D */ daddu $s1, $v0, $zero
/* 4FEF6C 8021851C 0040982D */ daddu $s3, $v0, $zero
/* 4FEF70 80218520 8E450000 */ lw $a1, ($s2)
/* 4FEF74 80218524 26520004 */ addiu $s2, $s2, 4
/* 4FEF78 80218528 0280202D */ daddu $a0, $s4, $zero
/* 4FEF7C 8021852C 0C0B1EAF */ jal get_variable
/* 4FEF80 80218530 02709823 */ subu $s3, $s3, $s0
/* 4FEF84 80218534 0040802D */ daddu $s0, $v0, $zero
/* 4FEF88 80218538 0280202D */ daddu $a0, $s4, $zero
/* 4FEF8C 8021853C 8E450000 */ lw $a1, ($s2)
/* 4FEF90 80218540 0C0B1EAF */ jal get_variable
/* 4FEF94 80218544 02118023 */ subu $s0, $s0, $s1
/* 4FEF98 80218548 16600006 */ bnez $s3, .L80218564
/* 4FEF9C 8021854C 00000000 */ nop
/* 4FEFA0 80218550 16000004 */ bnez $s0, .L80218564
/* 4FEFA4 80218554 0280202D */ daddu $a0, $s4, $zero
/* 4FEFA8 80218558 8E450000 */ lw $a1, ($s2)
/* 4FEFAC 8021855C 08086163 */ j .L8021858C
/* 4FEFB0 80218560 0040302D */ daddu $a2, $v0, $zero
.L80218564:
/* 4FEFB4 80218564 44936000 */ mtc1 $s3, $f12
/* 4FEFB8 80218568 00000000 */ nop
/* 4FEFBC 8021856C 46806320 */ cvt.s.w $f12, $f12
/* 4FEFC0 80218570 44907000 */ mtc1 $s0, $f14
/* 4FEFC4 80218574 00000000 */ nop
/* 4FEFC8 80218578 0C0860CE */ jal func_80218338_4FED88
/* 4FEFCC 8021857C 468073A0 */ cvt.s.w $f14, $f14
/* 4FEFD0 80218580 0280202D */ daddu $a0, $s4, $zero
/* 4FEFD4 80218584 8E450000 */ lw $a1, ($s2)
/* 4FEFD8 80218588 2446FFA6 */ addiu $a2, $v0, -0x5a
.L8021858C:
/* 4FEFDC 8021858C 0C0B2026 */ jal set_variable
/* 4FEFE0 80218590 00000000 */ nop
/* 4FEFE4 80218594 24020002 */ addiu $v0, $zero, 2
/* 4FEFE8 80218598 8FBF0024 */ lw $ra, 0x24($sp)
/* 4FEFEC 8021859C 8FB40020 */ lw $s4, 0x20($sp)
/* 4FEFF0 802185A0 8FB3001C */ lw $s3, 0x1c($sp)
/* 4FEFF4 802185A4 8FB20018 */ lw $s2, 0x18($sp)
/* 4FEFF8 802185A8 8FB10014 */ lw $s1, 0x14($sp)
/* 4FEFFC 802185AC 8FB00010 */ lw $s0, 0x10($sp)
/* 4FF000 802185B0 03E00008 */ jr $ra
/* 4FF004 802185B4 27BD0028 */ addiu $sp, $sp, 0x28
/* 4FF008 802185B8 00000000 */ nop
/* 4FF00C 802185BC 00000000 */ nop

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802185C0_4FF010
/* 4FF010 802185C0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4FF014 802185C4 AFB10014 */ sw $s1, 0x14($sp)
/* 4FF018 802185C8 0080882D */ daddu $s1, $a0, $zero
/* 4FF01C 802185CC AFBF0018 */ sw $ra, 0x18($sp)
/* 4FF020 802185D0 AFB00010 */ sw $s0, 0x10($sp)
/* 4FF024 802185D4 8E30000C */ lw $s0, 0xc($s1)
/* 4FF028 802185D8 8E050000 */ lw $a1, ($s0)
/* 4FF02C 802185DC 0C0B1EAF */ jal get_variable
/* 4FF030 802185E0 26100004 */ addiu $s0, $s0, 4
/* 4FF034 802185E4 0220202D */ daddu $a0, $s1, $zero
/* 4FF038 802185E8 8E050000 */ lw $a1, ($s0)
/* 4FF03C 802185EC 0C0B1EAF */ jal get_variable
/* 4FF040 802185F0 0040802D */ daddu $s0, $v0, $zero
/* 4FF044 802185F4 0200202D */ daddu $a0, $s0, $zero
/* 4FF048 802185F8 0C00A3C2 */ jal start_rumble
/* 4FF04C 802185FC 0040282D */ daddu $a1, $v0, $zero
/* 4FF050 80218600 8FBF0018 */ lw $ra, 0x18($sp)
/* 4FF054 80218604 8FB10014 */ lw $s1, 0x14($sp)
/* 4FF058 80218608 8FB00010 */ lw $s0, 0x10($sp)
/* 4FF05C 8021860C 24020002 */ addiu $v0, $zero, 2
/* 4FF060 80218610 03E00008 */ jr $ra
/* 4FF064 80218614 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,32 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218618_4FF068
/* 4FF068 80218618 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4FF06C 8021861C AFB00010 */ sw $s0, 0x10($sp)
/* 4FF070 80218620 0080802D */ daddu $s0, $a0, $zero
/* 4FF074 80218624 AFBF0014 */ sw $ra, 0x14($sp)
/* 4FF078 80218628 8E02000C */ lw $v0, 0xc($s0)
/* 4FF07C 8021862C 0C0B1EAF */ jal get_variable
/* 4FF080 80218630 8C450000 */ lw $a1, ($v0)
/* 4FF084 80218634 8E040148 */ lw $a0, 0x148($s0)
/* 4FF088 80218638 0C09A75B */ jal get_actor
/* 4FF08C 8021863C 0040802D */ daddu $s0, $v0, $zero
/* 4FF090 80218640 16000005 */ bnez $s0, .L80218658
/* 4FF094 80218644 00000000 */ nop
/* 4FF098 80218648 8C430008 */ lw $v1, 8($v0)
/* 4FF09C 8021864C 24020004 */ addiu $v0, $zero, 4
/* 4FF0A0 80218650 08086198 */ j .L80218660
/* 4FF0A4 80218654 A062001D */ sb $v0, 0x1d($v1)
.L80218658:
/* 4FF0A8 80218658 8C420008 */ lw $v0, 8($v0)
/* 4FF0AC 8021865C A040001D */ sb $zero, 0x1d($v0)
.L80218660:
/* 4FF0B0 80218660 8FBF0014 */ lw $ra, 0x14($sp)
/* 4FF0B4 80218664 8FB00010 */ lw $s0, 0x10($sp)
/* 4FF0B8 80218668 24020002 */ addiu $v0, $zero, 2
/* 4FF0BC 8021866C 03E00008 */ jr $ra
/* 4FF0C0 80218670 27BD0018 */ addiu $sp, $sp, 0x18
/* 4FF0C4 80218674 00000000 */ nop
/* 4FF0C8 80218678 00000000 */ nop
/* 4FF0CC 8021867C 00000000 */ nop

View File

@ -0,0 +1,64 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218680_4FF0D0
/* 4FF0D0 80218680 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4FF0D4 80218684 AFB10014 */ sw $s1, 0x14($sp)
/* 4FF0D8 80218688 0080882D */ daddu $s1, $a0, $zero
/* 4FF0DC 8021868C AFBF0024 */ sw $ra, 0x24($sp)
/* 4FF0E0 80218690 AFB40020 */ sw $s4, 0x20($sp)
/* 4FF0E4 80218694 AFB3001C */ sw $s3, 0x1c($sp)
/* 4FF0E8 80218698 AFB20018 */ sw $s2, 0x18($sp)
/* 4FF0EC 8021869C AFB00010 */ sw $s0, 0x10($sp)
/* 4FF0F0 802186A0 8E30000C */ lw $s0, 0xc($s1)
/* 4FF0F4 802186A4 8E050000 */ lw $a1, ($s0)
/* 4FF0F8 802186A8 0C0B1EAF */ jal get_variable
/* 4FF0FC 802186AC 26100004 */ addiu $s0, $s0, 4
/* 4FF100 802186B0 8E050000 */ lw $a1, ($s0)
/* 4FF104 802186B4 26100004 */ addiu $s0, $s0, 4
/* 4FF108 802186B8 0220202D */ daddu $a0, $s1, $zero
/* 4FF10C 802186BC 0C0B1EAF */ jal get_variable
/* 4FF110 802186C0 0040902D */ daddu $s2, $v0, $zero
/* 4FF114 802186C4 8E050000 */ lw $a1, ($s0)
/* 4FF118 802186C8 26100004 */ addiu $s0, $s0, 4
/* 4FF11C 802186CC 0220202D */ daddu $a0, $s1, $zero
/* 4FF120 802186D0 0C0B1EAF */ jal get_variable
/* 4FF124 802186D4 0040A02D */ daddu $s4, $v0, $zero
/* 4FF128 802186D8 8E050000 */ lw $a1, ($s0)
/* 4FF12C 802186DC 26100004 */ addiu $s0, $s0, 4
/* 4FF130 802186E0 0220202D */ daddu $a0, $s1, $zero
/* 4FF134 802186E4 0C0B1EAF */ jal get_variable
/* 4FF138 802186E8 0040982D */ daddu $s3, $v0, $zero
/* 4FF13C 802186EC 0220202D */ daddu $a0, $s1, $zero
/* 4FF140 802186F0 8E050000 */ lw $a1, ($s0)
/* 4FF144 802186F4 0C0B210B */ jal get_float_variable
/* 4FF148 802186F8 0040802D */ daddu $s0, $v0, $zero
/* 4FF14C 802186FC 8E42000C */ lw $v0, 0xc($s2)
/* 4FF150 80218700 44941000 */ mtc1 $s4, $f2
/* 4FF154 80218704 00000000 */ nop
/* 4FF158 80218708 468010A0 */ cvt.s.w $f2, $f2
/* 4FF15C 8021870C E4420004 */ swc1 $f2, 4($v0)
/* 4FF160 80218710 8E42000C */ lw $v0, 0xc($s2)
/* 4FF164 80218714 44931000 */ mtc1 $s3, $f2
/* 4FF168 80218718 00000000 */ nop
/* 4FF16C 8021871C 468010A0 */ cvt.s.w $f2, $f2
/* 4FF170 80218720 E4420008 */ swc1 $f2, 8($v0)
/* 4FF174 80218724 8E42000C */ lw $v0, 0xc($s2)
/* 4FF178 80218728 44901000 */ mtc1 $s0, $f2
/* 4FF17C 8021872C 00000000 */ nop
/* 4FF180 80218730 468010A0 */ cvt.s.w $f2, $f2
/* 4FF184 80218734 E442000C */ swc1 $f2, 0xc($v0)
/* 4FF188 80218738 8E43000C */ lw $v1, 0xc($s2)
/* 4FF18C 8021873C E4600034 */ swc1 $f0, 0x34($v1)
/* 4FF190 80218740 8FBF0024 */ lw $ra, 0x24($sp)
/* 4FF194 80218744 8FB40020 */ lw $s4, 0x20($sp)
/* 4FF198 80218748 8FB3001C */ lw $s3, 0x1c($sp)
/* 4FF19C 8021874C 8FB20018 */ lw $s2, 0x18($sp)
/* 4FF1A0 80218750 8FB10014 */ lw $s1, 0x14($sp)
/* 4FF1A4 80218754 8FB00010 */ lw $s0, 0x10($sp)
/* 4FF1A8 80218758 24020002 */ addiu $v0, $zero, 2
/* 4FF1AC 8021875C 03E00008 */ jr $ra
/* 4FF1B0 80218760 27BD0028 */ addiu $sp, $sp, 0x28
/* 4FF1B4 80218764 00000000 */ nop
/* 4FF1B8 80218768 00000000 */ nop
/* 4FF1BC 8021876C 00000000 */ nop

View File

@ -0,0 +1,56 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218000_6DDDC0
/* 6DDDC0 80218000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 6DDDC4 80218004 AFB10014 */ sw $s1, 0x14($sp)
/* 6DDDC8 80218008 0080882D */ daddu $s1, $a0, $zero
/* 6DDDCC 8021800C AFBF0020 */ sw $ra, 0x20($sp)
/* 6DDDD0 80218010 AFB3001C */ sw $s3, 0x1c($sp)
/* 6DDDD4 80218014 AFB20018 */ sw $s2, 0x18($sp)
/* 6DDDD8 80218018 AFB00010 */ sw $s0, 0x10($sp)
/* 6DDDDC 8021801C 8E30000C */ lw $s0, 0xc($s1)
/* 6DDDE0 80218020 8E050000 */ lw $a1, ($s0)
/* 6DDDE4 80218024 0C0B1EAF */ jal get_variable
/* 6DDDE8 80218028 26100004 */ addiu $s0, $s0, 4
/* 6DDDEC 8021802C 8E050000 */ lw $a1, ($s0)
/* 6DDDF0 80218030 26100004 */ addiu $s0, $s0, 4
/* 6DDDF4 80218034 0220202D */ daddu $a0, $s1, $zero
/* 6DDDF8 80218038 0C0B1EAF */ jal get_variable
/* 6DDDFC 8021803C 0040982D */ daddu $s3, $v0, $zero
/* 6DDE00 80218040 8E050000 */ lw $a1, ($s0)
/* 6DDE04 80218044 26100004 */ addiu $s0, $s0, 4
/* 6DDE08 80218048 0220202D */ daddu $a0, $s1, $zero
/* 6DDE0C 8021804C 0C0B1EAF */ jal get_variable
/* 6DDE10 80218050 0040902D */ daddu $s2, $v0, $zero
/* 6DDE14 80218054 0220202D */ daddu $a0, $s1, $zero
/* 6DDE18 80218058 8E050000 */ lw $a1, ($s0)
/* 6DDE1C 8021805C 0C0B1EAF */ jal get_variable
/* 6DDE20 80218060 0040802D */ daddu $s0, $v0, $zero
/* 6DDE24 80218064 8E240148 */ lw $a0, 0x148($s1)
/* 6DDE28 80218068 0C09A75B */ jal get_actor
/* 6DDE2C 8021806C 0040882D */ daddu $s1, $v0, $zero
/* 6DDE30 80218070 0040182D */ daddu $v1, $v0, $zero
/* 6DDE34 80218074 8C620008 */ lw $v0, 8($v1)
/* 6DDE38 80218078 90420024 */ lbu $v0, 0x24($v0)
/* 6DDE3C 8021807C 8C640008 */ lw $a0, 8($v1)
/* 6DDE40 80218080 02629823 */ subu $s3, $s3, $v0
/* 6DDE44 80218084 A0730194 */ sb $s3, 0x194($v1)
/* 6DDE48 80218088 90820025 */ lbu $v0, 0x25($a0)
/* 6DDE4C 8021808C 02429023 */ subu $s2, $s2, $v0
/* 6DDE50 80218090 A0720195 */ sb $s2, 0x195($v1)
/* 6DDE54 80218094 90820026 */ lbu $v0, 0x26($a0)
/* 6DDE58 80218098 02028023 */ subu $s0, $s0, $v0
/* 6DDE5C 8021809C A0700196 */ sb $s0, 0x196($v1)
/* 6DDE60 802180A0 90840027 */ lbu $a0, 0x27($a0)
/* 6DDE64 802180A4 02248823 */ subu $s1, $s1, $a0
/* 6DDE68 802180A8 A0710197 */ sb $s1, 0x197($v1)
/* 6DDE6C 802180AC 8FBF0020 */ lw $ra, 0x20($sp)
/* 6DDE70 802180B0 8FB3001C */ lw $s3, 0x1c($sp)
/* 6DDE74 802180B4 8FB20018 */ lw $s2, 0x18($sp)
/* 6DDE78 802180B8 8FB10014 */ lw $s1, 0x14($sp)
/* 6DDE7C 802180BC 8FB00010 */ lw $s0, 0x10($sp)
/* 6DDE80 802180C0 24020002 */ addiu $v0, $zero, 2
/* 6DDE84 802180C4 03E00008 */ jr $ra
/* 6DDE88 802180C8 27BD0028 */ addiu $sp, $sp, 0x28
/* 6DDE8C 802180CC 00000000 */ nop

View File

@ -0,0 +1,49 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802180D0_6DDE90
/* 6DDE90 802180D0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 6DDE94 802180D4 AFB10014 */ sw $s1, 0x14($sp)
/* 6DDE98 802180D8 0080882D */ daddu $s1, $a0, $zero
/* 6DDE9C 802180DC AFBF0020 */ sw $ra, 0x20($sp)
/* 6DDEA0 802180E0 AFB3001C */ sw $s3, 0x1c($sp)
/* 6DDEA4 802180E4 AFB20018 */ sw $s2, 0x18($sp)
/* 6DDEA8 802180E8 AFB00010 */ sw $s0, 0x10($sp)
/* 6DDEAC 802180EC 8E30000C */ lw $s0, 0xc($s1)
/* 6DDEB0 802180F0 8E050000 */ lw $a1, ($s0)
/* 6DDEB4 802180F4 0C0B1EAF */ jal get_variable
/* 6DDEB8 802180F8 26100004 */ addiu $s0, $s0, 4
/* 6DDEBC 802180FC 8E050000 */ lw $a1, ($s0)
/* 6DDEC0 80218100 26100004 */ addiu $s0, $s0, 4
/* 6DDEC4 80218104 0220202D */ daddu $a0, $s1, $zero
/* 6DDEC8 80218108 0C0B1EAF */ jal get_variable
/* 6DDECC 8021810C 0040982D */ daddu $s3, $v0, $zero
/* 6DDED0 80218110 8E050000 */ lw $a1, ($s0)
/* 6DDED4 80218114 26100004 */ addiu $s0, $s0, 4
/* 6DDED8 80218118 0220202D */ daddu $a0, $s1, $zero
/* 6DDEDC 8021811C 0C0B1EAF */ jal get_variable
/* 6DDEE0 80218120 0040902D */ daddu $s2, $v0, $zero
/* 6DDEE4 80218124 0220202D */ daddu $a0, $s1, $zero
/* 6DDEE8 80218128 8E050000 */ lw $a1, ($s0)
/* 6DDEEC 8021812C 0C0B1EAF */ jal get_variable
/* 6DDEF0 80218130 0040802D */ daddu $s0, $v0, $zero
/* 6DDEF4 80218134 44936000 */ mtc1 $s3, $f12
/* 6DDEF8 80218138 00000000 */ nop
/* 6DDEFC 8021813C 46806320 */ cvt.s.w $f12, $f12
/* 6DDF00 80218140 44927000 */ mtc1 $s2, $f14
/* 6DDF04 80218144 00000000 */ nop
/* 6DDF08 80218148 468073A0 */ cvt.s.w $f14, $f14
/* 6DDF0C 8021814C 44900000 */ mtc1 $s0, $f0
/* 6DDF10 80218150 00000000 */ nop
/* 6DDF14 80218154 46800020 */ cvt.s.w $f0, $f0
/* 6DDF18 80218158 44060000 */ mfc1 $a2, $f0
/* 6DDF1C 8021815C 0C0B5D18 */ jal func_802D7460
/* 6DDF20 80218160 0040382D */ daddu $a3, $v0, $zero
/* 6DDF24 80218164 8FBF0020 */ lw $ra, 0x20($sp)
/* 6DDF28 80218168 8FB3001C */ lw $s3, 0x1c($sp)
/* 6DDF2C 8021816C 8FB20018 */ lw $s2, 0x18($sp)
/* 6DDF30 80218170 8FB10014 */ lw $s1, 0x14($sp)
/* 6DDF34 80218174 8FB00010 */ lw $s0, 0x10($sp)
/* 6DDF38 80218178 24020002 */ addiu $v0, $zero, 2
/* 6DDF3C 8021817C 03E00008 */ jr $ra
/* 6DDF40 80218180 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,51 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218184_6DDF44
/* 6DDF44 80218184 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 6DDF48 80218188 AFB10014 */ sw $s1, 0x14($sp)
/* 6DDF4C 8021818C 0080882D */ daddu $s1, $a0, $zero
/* 6DDF50 80218190 AFBF0020 */ sw $ra, 0x20($sp)
/* 6DDF54 80218194 AFB3001C */ sw $s3, 0x1c($sp)
/* 6DDF58 80218198 AFB20018 */ sw $s2, 0x18($sp)
/* 6DDF5C 8021819C AFB00010 */ sw $s0, 0x10($sp)
/* 6DDF60 802181A0 8E30000C */ lw $s0, 0xc($s1)
/* 6DDF64 802181A4 8E050000 */ lw $a1, ($s0)
/* 6DDF68 802181A8 0C0B1EAF */ jal get_variable
/* 6DDF6C 802181AC 26100004 */ addiu $s0, $s0, 4
/* 6DDF70 802181B0 8E050000 */ lw $a1, ($s0)
/* 6DDF74 802181B4 26100004 */ addiu $s0, $s0, 4
/* 6DDF78 802181B8 0220202D */ daddu $a0, $s1, $zero
/* 6DDF7C 802181BC 0C0B1EAF */ jal get_variable
/* 6DDF80 802181C0 0040982D */ daddu $s3, $v0, $zero
/* 6DDF84 802181C4 8E050000 */ lw $a1, ($s0)
/* 6DDF88 802181C8 26100004 */ addiu $s0, $s0, 4
/* 6DDF8C 802181CC 0220202D */ daddu $a0, $s1, $zero
/* 6DDF90 802181D0 0C0B1EAF */ jal get_variable
/* 6DDF94 802181D4 0040902D */ daddu $s2, $v0, $zero
/* 6DDF98 802181D8 0220202D */ daddu $a0, $s1, $zero
/* 6DDF9C 802181DC 8E050000 */ lw $a1, ($s0)
/* 6DDFA0 802181E0 0C0B1EAF */ jal get_variable
/* 6DDFA4 802181E4 0040802D */ daddu $s0, $v0, $zero
/* 6DDFA8 802181E8 44936000 */ mtc1 $s3, $f12
/* 6DDFAC 802181EC 00000000 */ nop
/* 6DDFB0 802181F0 46806320 */ cvt.s.w $f12, $f12
/* 6DDFB4 802181F4 44927000 */ mtc1 $s2, $f14
/* 6DDFB8 802181F8 00000000 */ nop
/* 6DDFBC 802181FC 468073A0 */ cvt.s.w $f14, $f14
/* 6DDFC0 80218200 44900000 */ mtc1 $s0, $f0
/* 6DDFC4 80218204 00000000 */ nop
/* 6DDFC8 80218208 46800020 */ cvt.s.w $f0, $f0
/* 6DDFCC 8021820C 44060000 */ mfc1 $a2, $f0
/* 6DDFD0 80218210 0C0B5D30 */ jal func_802D74C0
/* 6DDFD4 80218214 0040382D */ daddu $a3, $v0, $zero
/* 6DDFD8 80218218 8FBF0020 */ lw $ra, 0x20($sp)
/* 6DDFDC 8021821C 8FB3001C */ lw $s3, 0x1c($sp)
/* 6DDFE0 80218220 8FB20018 */ lw $s2, 0x18($sp)
/* 6DDFE4 80218224 8FB10014 */ lw $s1, 0x14($sp)
/* 6DDFE8 80218228 8FB00010 */ lw $s0, 0x10($sp)
/* 6DDFEC 8021822C 24020002 */ addiu $v0, $zero, 2
/* 6DDFF0 80218230 03E00008 */ jr $ra
/* 6DDFF4 80218234 27BD0028 */ addiu $sp, $sp, 0x28
/* 6DDFF8 80218238 00000000 */ nop
/* 6DDFFC 8021823C 00000000 */ nop

View File

@ -0,0 +1,56 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218240_6DE000
/* 6DE000 80218240 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 6DE004 80218244 AFB10014 */ sw $s1, 0x14($sp)
/* 6DE008 80218248 0080882D */ daddu $s1, $a0, $zero
/* 6DE00C 8021824C AFBF0020 */ sw $ra, 0x20($sp)
/* 6DE010 80218250 AFB3001C */ sw $s3, 0x1c($sp)
/* 6DE014 80218254 AFB20018 */ sw $s2, 0x18($sp)
/* 6DE018 80218258 AFB00010 */ sw $s0, 0x10($sp)
/* 6DE01C 8021825C 8E30000C */ lw $s0, 0xc($s1)
/* 6DE020 80218260 8E050000 */ lw $a1, ($s0)
/* 6DE024 80218264 0C0B1EAF */ jal get_variable
/* 6DE028 80218268 26100004 */ addiu $s0, $s0, 4
/* 6DE02C 8021826C 8E050000 */ lw $a1, ($s0)
/* 6DE030 80218270 26100004 */ addiu $s0, $s0, 4
/* 6DE034 80218274 0220202D */ daddu $a0, $s1, $zero
/* 6DE038 80218278 0C0B1EAF */ jal get_variable
/* 6DE03C 8021827C 0040982D */ daddu $s3, $v0, $zero
/* 6DE040 80218280 8E050000 */ lw $a1, ($s0)
/* 6DE044 80218284 26100004 */ addiu $s0, $s0, 4
/* 6DE048 80218288 0220202D */ daddu $a0, $s1, $zero
/* 6DE04C 8021828C 0C0B1EAF */ jal get_variable
/* 6DE050 80218290 0040902D */ daddu $s2, $v0, $zero
/* 6DE054 80218294 0220202D */ daddu $a0, $s1, $zero
/* 6DE058 80218298 8E050000 */ lw $a1, ($s0)
/* 6DE05C 8021829C 0C0B1EAF */ jal get_variable
/* 6DE060 802182A0 0040802D */ daddu $s0, $v0, $zero
/* 6DE064 802182A4 8E240148 */ lw $a0, 0x148($s1)
/* 6DE068 802182A8 0C09A75B */ jal get_actor
/* 6DE06C 802182AC 0040882D */ daddu $s1, $v0, $zero
/* 6DE070 802182B0 0040182D */ daddu $v1, $v0, $zero
/* 6DE074 802182B4 8C620008 */ lw $v0, 8($v1)
/* 6DE078 802182B8 90420024 */ lbu $v0, 0x24($v0)
/* 6DE07C 802182BC 8C640008 */ lw $a0, 8($v1)
/* 6DE080 802182C0 02629823 */ subu $s3, $s3, $v0
/* 6DE084 802182C4 A0730194 */ sb $s3, 0x194($v1)
/* 6DE088 802182C8 90820025 */ lbu $v0, 0x25($a0)
/* 6DE08C 802182CC 02429023 */ subu $s2, $s2, $v0
/* 6DE090 802182D0 A0720195 */ sb $s2, 0x195($v1)
/* 6DE094 802182D4 90820026 */ lbu $v0, 0x26($a0)
/* 6DE098 802182D8 02028023 */ subu $s0, $s0, $v0
/* 6DE09C 802182DC A0700196 */ sb $s0, 0x196($v1)
/* 6DE0A0 802182E0 90840027 */ lbu $a0, 0x27($a0)
/* 6DE0A4 802182E4 02248823 */ subu $s1, $s1, $a0
/* 6DE0A8 802182E8 A0710197 */ sb $s1, 0x197($v1)
/* 6DE0AC 802182EC 8FBF0020 */ lw $ra, 0x20($sp)
/* 6DE0B0 802182F0 8FB3001C */ lw $s3, 0x1c($sp)
/* 6DE0B4 802182F4 8FB20018 */ lw $s2, 0x18($sp)
/* 6DE0B8 802182F8 8FB10014 */ lw $s1, 0x14($sp)
/* 6DE0BC 802182FC 8FB00010 */ lw $s0, 0x10($sp)
/* 6DE0C0 80218300 24020002 */ addiu $v0, $zero, 2
/* 6DE0C4 80218304 03E00008 */ jr $ra
/* 6DE0C8 80218308 27BD0028 */ addiu $sp, $sp, 0x28
/* 6DE0CC 8021830C 00000000 */ nop

View File

@ -0,0 +1,56 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218310_6DE0D0
/* 6DE0D0 80218310 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 6DE0D4 80218314 AFB10014 */ sw $s1, 0x14($sp)
/* 6DE0D8 80218318 0080882D */ daddu $s1, $a0, $zero
/* 6DE0DC 8021831C AFBF0020 */ sw $ra, 0x20($sp)
/* 6DE0E0 80218320 AFB3001C */ sw $s3, 0x1c($sp)
/* 6DE0E4 80218324 AFB20018 */ sw $s2, 0x18($sp)
/* 6DE0E8 80218328 AFB00010 */ sw $s0, 0x10($sp)
/* 6DE0EC 8021832C 8E30000C */ lw $s0, 0xc($s1)
/* 6DE0F0 80218330 8E050000 */ lw $a1, ($s0)
/* 6DE0F4 80218334 0C0B1EAF */ jal get_variable
/* 6DE0F8 80218338 26100004 */ addiu $s0, $s0, 4
/* 6DE0FC 8021833C 8E050000 */ lw $a1, ($s0)
/* 6DE100 80218340 26100004 */ addiu $s0, $s0, 4
/* 6DE104 80218344 0220202D */ daddu $a0, $s1, $zero
/* 6DE108 80218348 0C0B1EAF */ jal get_variable
/* 6DE10C 8021834C 0040982D */ daddu $s3, $v0, $zero
/* 6DE110 80218350 8E050000 */ lw $a1, ($s0)
/* 6DE114 80218354 26100004 */ addiu $s0, $s0, 4
/* 6DE118 80218358 0220202D */ daddu $a0, $s1, $zero
/* 6DE11C 8021835C 0C0B1EAF */ jal get_variable
/* 6DE120 80218360 0040902D */ daddu $s2, $v0, $zero
/* 6DE124 80218364 0220202D */ daddu $a0, $s1, $zero
/* 6DE128 80218368 8E050000 */ lw $a1, ($s0)
/* 6DE12C 8021836C 0C0B1EAF */ jal get_variable
/* 6DE130 80218370 0040802D */ daddu $s0, $v0, $zero
/* 6DE134 80218374 8E240148 */ lw $a0, 0x148($s1)
/* 6DE138 80218378 0C09A75B */ jal get_actor
/* 6DE13C 8021837C 0040882D */ daddu $s1, $v0, $zero
/* 6DE140 80218380 0040182D */ daddu $v1, $v0, $zero
/* 6DE144 80218384 8C620008 */ lw $v0, 8($v1)
/* 6DE148 80218388 90420024 */ lbu $v0, 0x24($v0)
/* 6DE14C 8021838C 8C640008 */ lw $a0, 8($v1)
/* 6DE150 80218390 02629823 */ subu $s3, $s3, $v0
/* 6DE154 80218394 A0730194 */ sb $s3, 0x194($v1)
/* 6DE158 80218398 90820025 */ lbu $v0, 0x25($a0)
/* 6DE15C 8021839C 02429023 */ subu $s2, $s2, $v0
/* 6DE160 802183A0 A0720195 */ sb $s2, 0x195($v1)
/* 6DE164 802183A4 90820026 */ lbu $v0, 0x26($a0)
/* 6DE168 802183A8 02028023 */ subu $s0, $s0, $v0
/* 6DE16C 802183AC A0700196 */ sb $s0, 0x196($v1)
/* 6DE170 802183B0 90840027 */ lbu $a0, 0x27($a0)
/* 6DE174 802183B4 02248823 */ subu $s1, $s1, $a0
/* 6DE178 802183B8 A0710197 */ sb $s1, 0x197($v1)
/* 6DE17C 802183BC 8FBF0020 */ lw $ra, 0x20($sp)
/* 6DE180 802183C0 8FB3001C */ lw $s3, 0x1c($sp)
/* 6DE184 802183C4 8FB20018 */ lw $s2, 0x18($sp)
/* 6DE188 802183C8 8FB10014 */ lw $s1, 0x14($sp)
/* 6DE18C 802183CC 8FB00010 */ lw $s0, 0x10($sp)
/* 6DE190 802183D0 24020002 */ addiu $v0, $zero, 2
/* 6DE194 802183D4 03E00008 */ jr $ra
/* 6DE198 802183D8 27BD0028 */ addiu $sp, $sp, 0x28
/* 6DE19C 802183DC 00000000 */ nop

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802183E0_6DE1A0
/* 6DE1A0 802183E0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6DE1A4 802183E4 AFB00010 */ sw $s0, 0x10($sp)
/* 6DE1A8 802183E8 0080802D */ daddu $s0, $a0, $zero
/* 6DE1AC 802183EC 3C05F5DE */ lui $a1, 0xf5de
/* 6DE1B0 802183F0 34A501FB */ ori $a1, $a1, 0x1fb
/* 6DE1B4 802183F4 0000202D */ daddu $a0, $zero, $zero
/* 6DE1B8 802183F8 AFBF0014 */ sw $ra, 0x14($sp)
/* 6DE1BC 802183FC 0C0B1EAF */ jal get_variable
/* 6DE1C0 80218400 AE000084 */ sw $zero, 0x84($s0)
/* 6DE1C4 80218404 28420008 */ slti $v0, $v0, 8
/* 6DE1C8 80218408 14400002 */ bnez $v0, .L80218414
/* 6DE1CC 8021840C 24020001 */ addiu $v0, $zero, 1
/* 6DE1D0 80218410 AE020084 */ sw $v0, 0x84($s0)
.L80218414:
/* 6DE1D4 80218414 8FBF0014 */ lw $ra, 0x14($sp)
/* 6DE1D8 80218418 8FB00010 */ lw $s0, 0x10($sp)
/* 6DE1DC 8021841C 24020002 */ addiu $v0, $zero, 2
/* 6DE1E0 80218420 03E00008 */ jr $ra
/* 6DE1E4 80218424 27BD0018 */ addiu $sp, $sp, 0x18
/* 6DE1E8 80218428 00000000 */ nop
/* 6DE1EC 8021842C 00000000 */ nop

View File

@ -0,0 +1,88 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218430_6DE1F0
/* 6DE1F0 80218430 27BDFF78 */ addiu $sp, $sp, -0x88
/* 6DE1F4 80218434 AFB10054 */ sw $s1, 0x54($sp)
/* 6DE1F8 80218438 0080882D */ daddu $s1, $a0, $zero
/* 6DE1FC 8021843C AFBF0060 */ sw $ra, 0x60($sp)
/* 6DE200 80218440 AFB3005C */ sw $s3, 0x5c($sp)
/* 6DE204 80218444 AFB20058 */ sw $s2, 0x58($sp)
/* 6DE208 80218448 AFB00050 */ sw $s0, 0x50($sp)
/* 6DE20C 8021844C F7BA0080 */ sdc1 $f26, 0x80($sp)
/* 6DE210 80218450 F7B80078 */ sdc1 $f24, 0x78($sp)
/* 6DE214 80218454 F7B60070 */ sdc1 $f22, 0x70($sp)
/* 6DE218 80218458 F7B40068 */ sdc1 $f20, 0x68($sp)
/* 6DE21C 8021845C 8E30000C */ lw $s0, 0xc($s1)
/* 6DE220 80218460 8E050000 */ lw $a1, ($s0)
/* 6DE224 80218464 0C0B1EAF */ jal get_variable
/* 6DE228 80218468 26100004 */ addiu $s0, $s0, 4
/* 6DE22C 8021846C 4482A000 */ mtc1 $v0, $f20
/* 6DE230 80218470 00000000 */ nop
/* 6DE234 80218474 4680A521 */ cvt.d.w $f20, $f20
/* 6DE238 80218478 3C014024 */ lui $at, 0x4024
/* 6DE23C 8021847C 44810800 */ mtc1 $at, $f1
/* 6DE240 80218480 44800000 */ mtc1 $zero, $f0
/* 6DE244 80218484 8E120000 */ lw $s2, ($s0)
/* 6DE248 80218488 26100004 */ addiu $s0, $s0, 4
/* 6DE24C 8021848C 4620A503 */ div.d $f20, $f20, $f0
/* 6DE250 80218490 3C0140C9 */ lui $at, 0x40c9
/* 6DE254 80218494 34210FD0 */ ori $at, $at, 0xfd0
/* 6DE258 80218498 44810000 */ mtc1 $at, $f0
/* 6DE25C 8021849C 4620A520 */ cvt.s.d $f20, $f20
/* 6DE260 802184A0 4600A502 */ mul.s $f20, $f20, $f0
/* 6DE264 802184A4 00000000 */ nop
/* 6DE268 802184A8 8E130000 */ lw $s3, ($s0)
/* 6DE26C 802184AC 8E100004 */ lw $s0, 4($s0)
/* 6DE270 802184B0 3C0143B4 */ lui $at, 0x43b4
/* 6DE274 802184B4 44810000 */ mtc1 $at, $f0
/* 6DE278 802184B8 3C014316 */ lui $at, 0x4316
/* 6DE27C 802184BC 4481C000 */ mtc1 $at, $f24
/* 6DE280 802184C0 4600A503 */ div.s $f20, $f20, $f0
/* 6DE284 802184C4 0C00A85B */ jal sin_rad
/* 6DE288 802184C8 4600A306 */ mov.s $f12, $f20
/* 6DE28C 802184CC 46180582 */ mul.s $f22, $f0, $f24
/* 6DE290 802184D0 00000000 */ nop
/* 6DE294 802184D4 4480D000 */ mtc1 $zero, $f26
/* 6DE298 802184D8 00000000 */ nop
/* 6DE29C 802184DC 461AB580 */ add.s $f22, $f22, $f26
/* 6DE2A0 802184E0 0C00A874 */ jal cos_rad
/* 6DE2A4 802184E4 4600A306 */ mov.s $f12, $f20
/* 6DE2A8 802184E8 46180502 */ mul.s $f20, $f0, $f24
/* 6DE2AC 802184EC 00000000 */ nop
/* 6DE2B0 802184F0 3C01C37C */ lui $at, 0xc37c
/* 6DE2B4 802184F4 4481C000 */ mtc1 $at, $f24
/* 6DE2B8 802184F8 C62000B8 */ lwc1 $f0, 0xb8($s1)
/* 6DE2BC 802184FC 46800020 */ cvt.s.w $f0, $f0
/* 6DE2C0 80218500 4600C601 */ sub.s $f24, $f24, $f0
/* 6DE2C4 80218504 C62000B0 */ lwc1 $f0, 0xb0($s1)
/* 6DE2C8 80218508 46800020 */ cvt.s.w $f0, $f0
/* 6DE2CC 8021850C 4600B581 */ sub.s $f22, $f22, $f0
/* 6DE2D0 80218510 0220202D */ daddu $a0, $s1, $zero
/* 6DE2D4 80218514 0240282D */ daddu $a1, $s2, $zero
/* 6DE2D8 80218518 461AA500 */ add.s $f20, $f20, $f26
/* 6DE2DC 8021851C C62000B4 */ lwc1 $f0, 0xb4($s1)
/* 6DE2E0 80218520 46800020 */ cvt.s.w $f0, $f0
/* 6DE2E4 80218524 4406B000 */ mfc1 $a2, $f22
/* 6DE2E8 80218528 0C0B2190 */ jal set_float_variable
/* 6DE2EC 8021852C 4600A501 */ sub.s $f20, $f20, $f0
/* 6DE2F0 80218530 0220202D */ daddu $a0, $s1, $zero
/* 6DE2F4 80218534 4406A000 */ mfc1 $a2, $f20
/* 6DE2F8 80218538 0C0B2190 */ jal set_float_variable
/* 6DE2FC 8021853C 0260282D */ daddu $a1, $s3, $zero
/* 6DE300 80218540 0220202D */ daddu $a0, $s1, $zero
/* 6DE304 80218544 4406C000 */ mfc1 $a2, $f24
/* 6DE308 80218548 0C0B2190 */ jal set_float_variable
/* 6DE30C 8021854C 0200282D */ daddu $a1, $s0, $zero
/* 6DE310 80218550 8FBF0060 */ lw $ra, 0x60($sp)
/* 6DE314 80218554 8FB3005C */ lw $s3, 0x5c($sp)
/* 6DE318 80218558 8FB20058 */ lw $s2, 0x58($sp)
/* 6DE31C 8021855C 8FB10054 */ lw $s1, 0x54($sp)
/* 6DE320 80218560 8FB00050 */ lw $s0, 0x50($sp)
/* 6DE324 80218564 D7BA0080 */ ldc1 $f26, 0x80($sp)
/* 6DE328 80218568 D7B80078 */ ldc1 $f24, 0x78($sp)
/* 6DE32C 8021856C D7B60070 */ ldc1 $f22, 0x70($sp)
/* 6DE330 80218570 D7B40068 */ ldc1 $f20, 0x68($sp)
/* 6DE334 80218574 24020002 */ addiu $v0, $zero, 2
/* 6DE338 80218578 03E00008 */ jr $ra
/* 6DE33C 8021857C 27BD0088 */ addiu $sp, $sp, 0x88

View File

@ -0,0 +1,28 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218580_6DE340
/* 6DE340 80218580 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6DE344 80218584 AFB00010 */ sw $s0, 0x10($sp)
/* 6DE348 80218588 0080802D */ daddu $s0, $a0, $zero
/* 6DE34C 8021858C AFBF0014 */ sw $ra, 0x14($sp)
/* 6DE350 80218590 0C046C04 */ jal get_model_list_index_from_tree_index
/* 6DE354 80218594 8E0400AC */ lw $a0, 0xac($s0)
/* 6DE358 80218598 0C046B4C */ jal get_model_from_list_index
/* 6DE35C 8021859C 0040202D */ daddu $a0, $v0, $zero
/* 6DE360 802185A0 C4400098 */ lwc1 $f0, 0x98($v0)
/* 6DE364 802185A4 4600008D */ trunc.w.s $f2, $f0
/* 6DE368 802185A8 E60200B0 */ swc1 $f2, 0xb0($s0)
/* 6DE36C 802185AC C440009C */ lwc1 $f0, 0x9c($v0)
/* 6DE370 802185B0 4600008D */ trunc.w.s $f2, $f0
/* 6DE374 802185B4 E60200B4 */ swc1 $f2, 0xb4($s0)
/* 6DE378 802185B8 C44000A0 */ lwc1 $f0, 0xa0($v0)
/* 6DE37C 802185BC 4600008D */ trunc.w.s $f2, $f0
/* 6DE380 802185C0 E60200B8 */ swc1 $f2, 0xb8($s0)
/* 6DE384 802185C4 8FBF0014 */ lw $ra, 0x14($sp)
/* 6DE388 802185C8 8FB00010 */ lw $s0, 0x10($sp)
/* 6DE38C 802185CC 24020002 */ addiu $v0, $zero, 2
/* 6DE390 802185D0 03E00008 */ jr $ra
/* 6DE394 802185D4 27BD0018 */ addiu $sp, $sp, 0x18
/* 6DE398 802185D8 00000000 */ nop
/* 6DE39C 802185DC 00000000 */ nop

View File

@ -0,0 +1,15 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802185E0_6DE3A0
/* 6DE3A0 802185E0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 6DE3A4 802185E4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 6DE3A8 802185E8 AC800084 */ sw $zero, 0x84($a0)
/* 6DE3AC 802185EC 904200AA */ lbu $v0, 0xaa($v0)
/* 6DE3B0 802185F0 30420001 */ andi $v0, $v0, 1
/* 6DE3B4 802185F4 10400002 */ beqz $v0, .L80218600
/* 6DE3B8 802185F8 24020001 */ addiu $v0, $zero, 1
/* 6DE3BC 802185FC AC820084 */ sw $v0, 0x84($a0)
.L80218600:
/* 6DE3C0 80218600 03E00008 */ jr $ra
/* 6DE3C4 80218604 24020002 */ addiu $v0, $zero, 2

View File

@ -0,0 +1,14 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218608_6DE3C8
/* 6DE3C8 80218608 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6DE3CC 8021860C AFBF0010 */ sw $ra, 0x10($sp)
/* 6DE3D0 80218610 0C03A830 */ jal add_coins
/* 6DE3D4 80218614 24040001 */ addiu $a0, $zero, 1
/* 6DE3D8 80218618 8FBF0010 */ lw $ra, 0x10($sp)
/* 6DE3DC 8021861C 24020002 */ addiu $v0, $zero, 2
/* 6DE3E0 80218620 03E00008 */ jr $ra
/* 6DE3E4 80218624 27BD0018 */ addiu $sp, $sp, 0x18
/* 6DE3E8 80218628 00000000 */ nop
/* 6DE3EC 8021862C 00000000 */ nop

View File

@ -0,0 +1,9 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218630_6DE3F0
/* 6DE3F0 80218630 94820086 */ lhu $v0, 0x86($a0)
/* 6DE3F4 80218634 3C018028 */ lui $at, %hi(D_802809F8)
/* 6DE3F8 80218638 A42209F8 */ sh $v0, %lo(D_802809F8)($at)
/* 6DE3FC 8021863C 03E00008 */ jr $ra
/* 6DE400 80218640 24020002 */ addiu $v0, $zero, 2

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218644_6DE404
/* 6DE404 80218644 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6DE408 80218648 3C04800E */ lui $a0, %hi(gBattleStatus)
/* 6DE40C 8021864C 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
/* 6DE410 80218650 24020001 */ addiu $v0, $zero, 1
/* 6DE414 80218654 AFBF0014 */ sw $ra, 0x14($sp)
/* 6DE418 80218658 AFB00010 */ sw $s0, 0x10($sp)
/* 6DE41C 8021865C A0820178 */ sb $v0, 0x178($a0)
/* 6DE420 80218660 3C03800B */ lui $v1, %hi(gCurrentEncounter+0x6)
/* 6DE424 80218664 90630F16 */ lbu $v1, %lo(gCurrentEncounter+0x6)($v1)
/* 6DE428 80218668 8C9000D8 */ lw $s0, 0xd8($a0)
/* 6DE42C 8021866C 24020003 */ addiu $v0, $zero, 3
/* 6DE430 80218670 A482017C */ sh $v0, 0x17c($a0)
/* 6DE434 80218674 3C028009 */ lui $v0, %hi(D_8008F0A0)
/* 6DE438 80218678 8C42F0A0 */ lw $v0, %lo(D_8008F0A0)($v0)
/* 6DE43C 8021867C 00031E00 */ sll $v1, $v1, 0x18
/* 6DE440 80218680 00031E03 */ sra $v1, $v1, 0x18
/* 6DE444 80218684 A483017A */ sh $v1, 0x17a($a0)
/* 6DE448 80218688 AC820184 */ sw $v0, 0x184($a0)
/* 6DE44C 8021868C 0C098C0B */ jal player_create_target_list
/* 6DE450 80218690 0200202D */ daddu $a0, $s0, $zero
/* 6DE454 80218694 8203040D */ lb $v1, 0x40d($s0)
/* 6DE458 80218698 A2000425 */ sb $zero, 0x425($s0)
/* 6DE45C 8021869C 00031080 */ sll $v0, $v1, 2
/* 6DE460 802186A0 00431021 */ addu $v0, $v0, $v1
/* 6DE464 802186A4 00021080 */ sll $v0, $v0, 2
/* 6DE468 802186A8 2442022C */ addiu $v0, $v0, 0x22c
/* 6DE46C 802186AC 02021021 */ addu $v0, $s0, $v0
/* 6DE470 802186B0 94430000 */ lhu $v1, ($v0)
/* 6DE474 802186B4 A6030428 */ sh $v1, 0x428($s0)
/* 6DE478 802186B8 90420003 */ lbu $v0, 3($v0)
/* 6DE47C 802186BC A2020426 */ sb $v0, 0x426($s0)
/* 6DE480 802186C0 8FBF0014 */ lw $ra, 0x14($sp)
/* 6DE484 802186C4 8FB00010 */ lw $s0, 0x10($sp)
/* 6DE488 802186C8 24020002 */ addiu $v0, $zero, 2
/* 6DE48C 802186CC 03E00008 */ jr $ra
/* 6DE490 802186D0 27BD0018 */ addiu $sp, $sp, 0x18
/* 6DE494 802186D4 00000000 */ nop
/* 6DE498 802186D8 00000000 */ nop
/* 6DE49C 802186DC 00000000 */ nop

View File

@ -0,0 +1,40 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802186E0_6DE4A0
/* 6DE4A0 802186E0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6DE4A4 802186E4 3C04800E */ lui $a0, %hi(gBattleStatus)
/* 6DE4A8 802186E8 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
/* 6DE4AC 802186EC AFBF0014 */ sw $ra, 0x14($sp)
/* 6DE4B0 802186F0 AFB00010 */ sw $s0, 0x10($sp)
/* 6DE4B4 802186F4 A0800178 */ sb $zero, 0x178($a0)
/* 6DE4B8 802186F8 3C03800B */ lui $v1, %hi(gCurrentEncounter+0x6)
/* 6DE4BC 802186FC 90630F16 */ lbu $v1, %lo(gCurrentEncounter+0x6)($v1)
/* 6DE4C0 80218700 8C9000D8 */ lw $s0, 0xd8($a0)
/* 6DE4C4 80218704 24020020 */ addiu $v0, $zero, 0x20
/* 6DE4C8 80218708 A482017C */ sh $v0, 0x17c($a0)
/* 6DE4CC 8021870C 3C028009 */ lui $v0, %hi(D_8008F2E4)
/* 6DE4D0 80218710 8C42F2E4 */ lw $v0, %lo(D_8008F2E4)($v0)
/* 6DE4D4 80218714 00031E00 */ sll $v1, $v1, 0x18
/* 6DE4D8 80218718 00031E03 */ sra $v1, $v1, 0x18
/* 6DE4DC 8021871C A483017A */ sh $v1, 0x17a($a0)
/* 6DE4E0 80218720 AC820184 */ sw $v0, 0x184($a0)
/* 6DE4E4 80218724 0C098C0B */ jal player_create_target_list
/* 6DE4E8 80218728 0200202D */ daddu $a0, $s0, $zero
/* 6DE4EC 8021872C 8203040E */ lb $v1, 0x40e($s0)
/* 6DE4F0 80218730 24020001 */ addiu $v0, $zero, 1
/* 6DE4F4 80218734 A2020425 */ sb $v0, 0x425($s0)
/* 6DE4F8 80218738 00031080 */ sll $v0, $v1, 2
/* 6DE4FC 8021873C 00431021 */ addu $v0, $v0, $v1
/* 6DE500 80218740 00021080 */ sll $v0, $v0, 2
/* 6DE504 80218744 2442022C */ addiu $v0, $v0, 0x22c
/* 6DE508 80218748 02021021 */ addu $v0, $s0, $v0
/* 6DE50C 8021874C 94430000 */ lhu $v1, ($v0)
/* 6DE510 80218750 A6030428 */ sh $v1, 0x428($s0)
/* 6DE514 80218754 90420003 */ lbu $v0, 3($v0)
/* 6DE518 80218758 A2020426 */ sb $v0, 0x426($s0)
/* 6DE51C 8021875C 8FBF0014 */ lw $ra, 0x14($sp)
/* 6DE520 80218760 8FB00010 */ lw $s0, 0x10($sp)
/* 6DE524 80218764 24020002 */ addiu $v0, $zero, 2
/* 6DE528 80218768 03E00008 */ jr $ra
/* 6DE52C 8021876C 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_80218770_6DE530
/* 6DE530 80218770 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6DE534 80218774 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 6DE538 80218778 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 6DE53C 8021877C AFBF0014 */ sw $ra, 0x14($sp)
/* 6DE540 80218780 AFB00010 */ sw $s0, 0x10($sp)
/* 6DE544 80218784 8C7000DC */ lw $s0, 0xdc($v1)
/* 6DE548 80218788 24020006 */ addiu $v0, $zero, 6
/* 6DE54C 8021878C A0620178 */ sb $v0, 0x178($v1)
/* 6DE550 80218790 A460017A */ sh $zero, 0x17a($v1)
/* 6DE554 80218794 3C048009 */ lui $a0, %hi(D_8008FC44)
/* 6DE558 80218798 8C84FC44 */ lw $a0, %lo(D_8008FC44)($a0)
/* 6DE55C 8021879C 24020098 */ addiu $v0, $zero, 0x98
/* 6DE560 802187A0 A462017C */ sh $v0, 0x17c($v1)
/* 6DE564 802187A4 AC640184 */ sw $a0, 0x184($v1)
/* 6DE568 802187A8 0C098C0B */ jal player_create_target_list
/* 6DE56C 802187AC 0200202D */ daddu $a0, $s0, $zero
/* 6DE570 802187B0 8203040D */ lb $v1, 0x40d($s0)
/* 6DE574 802187B4 A2000425 */ sb $zero, 0x425($s0)
/* 6DE578 802187B8 00031080 */ sll $v0, $v1, 2
/* 6DE57C 802187BC 00431021 */ addu $v0, $v0, $v1
/* 6DE580 802187C0 00021080 */ sll $v0, $v0, 2
/* 6DE584 802187C4 2442022C */ addiu $v0, $v0, 0x22c
/* 6DE588 802187C8 02021021 */ addu $v0, $s0, $v0
/* 6DE58C 802187CC 94430000 */ lhu $v1, ($v0)
/* 6DE590 802187D0 A6030428 */ sh $v1, 0x428($s0)
/* 6DE594 802187D4 90420003 */ lbu $v0, 3($v0)
/* 6DE598 802187D8 A2020426 */ sb $v0, 0x426($s0)
/* 6DE59C 802187DC 8FBF0014 */ lw $ra, 0x14($sp)
/* 6DE5A0 802187E0 8FB00010 */ lw $s0, 0x10($sp)
/* 6DE5A4 802187E4 24020002 */ addiu $v0, $zero, 2
/* 6DE5A8 802187E8 03E00008 */ jr $ra
/* 6DE5AC 802187EC 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_802187F0_6DE5B0
/* 6DE5B0 802187F0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6DE5B4 802187F4 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 6DE5B8 802187F8 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 6DE5BC 802187FC 24020002 */ addiu $v0, $zero, 2
/* 6DE5C0 80218800 AFBF0014 */ sw $ra, 0x14($sp)
/* 6DE5C4 80218804 AFB00010 */ sw $s0, 0x10($sp)
/* 6DE5C8 80218808 A0620178 */ sb $v0, 0x178($v1)
/* 6DE5CC 8021880C 24020082 */ addiu $v0, $zero, 0x82
/* 6DE5D0 80218810 A462017A */ sh $v0, 0x17a($v1)
/* 6DE5D4 80218814 24020082 */ addiu $v0, $zero, 0x82
/* 6DE5D8 80218818 A460017C */ sh $zero, 0x17c($v1)
/* 6DE5DC 8021881C AC600188 */ sw $zero, 0x188($v1)
/* 6DE5E0 80218820 3C018011 */ lui $at, %hi(gPlayerData+0x1B4)
/* 6DE5E4 80218824 A422F444 */ sh $v0, %lo(gPlayerData+0x1B4)($at)
/* 6DE5E8 80218828 3C028009 */ lui $v0, %hi(gItemTable+0x1048)
/* 6DE5EC 8021882C 8C428928 */ lw $v0, %lo(gItemTable+0x1048)($v0)
/* 6DE5F0 80218830 8C7000D8 */ lw $s0, 0xd8($v1)
/* 6DE5F4 80218834 34428000 */ ori $v0, $v0, 0x8000
/* 6DE5F8 80218838 0200202D */ daddu $a0, $s0, $zero
/* 6DE5FC 8021883C 0C098C0B */ jal player_create_target_list
/* 6DE600 80218840 AC620184 */ sw $v0, 0x184($v1)
/* 6DE604 80218844 8203040D */ lb $v1, 0x40d($s0)
/* 6DE608 80218848 A2000425 */ sb $zero, 0x425($s0)
/* 6DE60C 8021884C 00031080 */ sll $v0, $v1, 2
/* 6DE610 80218850 00431021 */ addu $v0, $v0, $v1
/* 6DE614 80218854 00021080 */ sll $v0, $v0, 2
/* 6DE618 80218858 2442022C */ addiu $v0, $v0, 0x22c
/* 6DE61C 8021885C 02021021 */ addu $v0, $s0, $v0
/* 6DE620 80218860 94430000 */ lhu $v1, ($v0)
/* 6DE624 80218864 A6030428 */ sh $v1, 0x428($s0)
/* 6DE628 80218868 90420003 */ lbu $v0, 3($v0)
/* 6DE62C 8021886C A2020426 */ sb $v0, 0x426($s0)
/* 6DE630 80218870 8FBF0014 */ lw $ra, 0x14($sp)
/* 6DE634 80218874 8FB00010 */ lw $s0, 0x10($sp)
/* 6DE638 80218878 24020002 */ addiu $v0, $zero, 2
/* 6DE63C 8021887C 03E00008 */ jr $ra
/* 6DE640 80218880 27BD0018 */ addiu $sp, $sp, 0x18
/* 6DE644 80218884 00000000 */ nop
/* 6DE648 80218888 00000000 */ nop
/* 6DE64C 8021888C 00000000 */ nop

View File

@ -0,0 +1,12 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218890_6DE650
/* 6DE650 80218890 94820086 */ lhu $v0, 0x86($a0)
/* 6DE654 80218894 3C018028 */ lui $at, %hi(D_802809F8)
/* 6DE658 80218898 A42209F8 */ sh $v0, %lo(D_802809F8)($at)
/* 6DE65C 8021889C 03E00008 */ jr $ra
/* 6DE660 802188A0 24020002 */ addiu $v0, $zero, 2
/* 6DE664 802188A4 00000000 */ nop
/* 6DE668 802188A8 00000000 */ nop
/* 6DE66C 802188AC 00000000 */ nop

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218000_5B14B0
/* 5B14B0 80218000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 5B14B4 80218004 AFB10014 */ sw $s1, 0x14($sp)
/* 5B14B8 80218008 0080882D */ daddu $s1, $a0, $zero
/* 5B14BC 8021800C AFBF0020 */ sw $ra, 0x20($sp)
/* 5B14C0 80218010 AFB3001C */ sw $s3, 0x1c($sp)
/* 5B14C4 80218014 AFB20018 */ sw $s2, 0x18($sp)
/* 5B14C8 80218018 AFB00010 */ sw $s0, 0x10($sp)
/* 5B14CC 8021801C 8E30000C */ lw $s0, 0xc($s1)
/* 5B14D0 80218020 8E050000 */ lw $a1, ($s0)
/* 5B14D4 80218024 0C0B1EAF */ jal get_variable
/* 5B14D8 80218028 26100004 */ addiu $s0, $s0, 4
/* 5B14DC 8021802C 8E050000 */ lw $a1, ($s0)
/* 5B14E0 80218030 26100004 */ addiu $s0, $s0, 4
/* 5B14E4 80218034 0220202D */ daddu $a0, $s1, $zero
/* 5B14E8 80218038 0C0B1EAF */ jal get_variable
/* 5B14EC 8021803C 0040982D */ daddu $s3, $v0, $zero
/* 5B14F0 80218040 8E050000 */ lw $a1, ($s0)
/* 5B14F4 80218044 26100004 */ addiu $s0, $s0, 4
/* 5B14F8 80218048 0220202D */ daddu $a0, $s1, $zero
/* 5B14FC 8021804C 0C0B1EAF */ jal get_variable
/* 5B1500 80218050 0040902D */ daddu $s2, $v0, $zero
/* 5B1504 80218054 0220202D */ daddu $a0, $s1, $zero
/* 5B1508 80218058 8E050000 */ lw $a1, ($s0)
/* 5B150C 8021805C 0C0B1EAF */ jal get_variable
/* 5B1510 80218060 0040802D */ daddu $s0, $v0, $zero
/* 5B1514 80218064 8E240148 */ lw $a0, 0x148($s1)
/* 5B1518 80218068 0C09A75B */ jal get_actor
/* 5B151C 8021806C 0040882D */ daddu $s1, $v0, $zero
/* 5B1520 80218070 0040182D */ daddu $v1, $v0, $zero
/* 5B1524 80218074 8C620008 */ lw $v0, 8($v1)
/* 5B1528 80218078 90420024 */ lbu $v0, 0x24($v0)
/* 5B152C 8021807C 8C640008 */ lw $a0, 8($v1)
/* 5B1530 80218080 02629823 */ subu $s3, $s3, $v0
/* 5B1534 80218084 A0730194 */ sb $s3, 0x194($v1)
/* 5B1538 80218088 90820025 */ lbu $v0, 0x25($a0)
/* 5B153C 8021808C 02429023 */ subu $s2, $s2, $v0
/* 5B1540 80218090 A0720195 */ sb $s2, 0x195($v1)
/* 5B1544 80218094 90820026 */ lbu $v0, 0x26($a0)
/* 5B1548 80218098 02028023 */ subu $s0, $s0, $v0
/* 5B154C 8021809C A0700196 */ sb $s0, 0x196($v1)
/* 5B1550 802180A0 90840027 */ lbu $a0, 0x27($a0)
/* 5B1554 802180A4 02248823 */ subu $s1, $s1, $a0
/* 5B1558 802180A8 A0710197 */ sb $s1, 0x197($v1)
/* 5B155C 802180AC 8FBF0020 */ lw $ra, 0x20($sp)
/* 5B1560 802180B0 8FB3001C */ lw $s3, 0x1c($sp)
/* 5B1564 802180B4 8FB20018 */ lw $s2, 0x18($sp)
/* 5B1568 802180B8 8FB10014 */ lw $s1, 0x14($sp)
/* 5B156C 802180BC 8FB00010 */ lw $s0, 0x10($sp)
/* 5B1570 802180C0 24020002 */ addiu $v0, $zero, 2
/* 5B1574 802180C4 03E00008 */ jr $ra
/* 5B1578 802180C8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,77 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802180CC_5B157C
/* 5B157C 802180CC 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 5B1580 802180D0 AFB10014 */ sw $s1, 0x14($sp)
/* 5B1584 802180D4 0080882D */ daddu $s1, $a0, $zero
/* 5B1588 802180D8 AFBF0024 */ sw $ra, 0x24($sp)
/* 5B158C 802180DC AFB40020 */ sw $s4, 0x20($sp)
/* 5B1590 802180E0 AFB3001C */ sw $s3, 0x1c($sp)
/* 5B1594 802180E4 AFB20018 */ sw $s2, 0x18($sp)
/* 5B1598 802180E8 AFB00010 */ sw $s0, 0x10($sp)
/* 5B159C 802180EC F7B60030 */ sdc1 $f22, 0x30($sp)
/* 5B15A0 802180F0 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 5B15A4 802180F4 8E30000C */ lw $s0, 0xc($s1)
/* 5B15A8 802180F8 8E050000 */ lw $a1, ($s0)
/* 5B15AC 802180FC 0C0B1EAF */ jal get_variable
/* 5B15B0 80218100 26100004 */ addiu $s0, $s0, 4
/* 5B15B4 80218104 8E050000 */ lw $a1, ($s0)
/* 5B15B8 80218108 26100004 */ addiu $s0, $s0, 4
/* 5B15BC 8021810C 0220202D */ daddu $a0, $s1, $zero
/* 5B15C0 80218110 0C0B1EAF */ jal get_variable
/* 5B15C4 80218114 0040982D */ daddu $s3, $v0, $zero
/* 5B15C8 80218118 8E050000 */ lw $a1, ($s0)
/* 5B15CC 8021811C 26100004 */ addiu $s0, $s0, 4
/* 5B15D0 80218120 0220202D */ daddu $a0, $s1, $zero
/* 5B15D4 80218124 0C0B1EAF */ jal get_variable
/* 5B15D8 80218128 0040A02D */ daddu $s4, $v0, $zero
/* 5B15DC 8021812C 0220202D */ daddu $a0, $s1, $zero
/* 5B15E0 80218130 8E050000 */ lw $a1, ($s0)
/* 5B15E4 80218134 0C0B1EAF */ jal get_variable
/* 5B15E8 80218138 0040902D */ daddu $s2, $v0, $zero
/* 5B15EC 8021813C 4482A000 */ mtc1 $v0, $f20
/* 5B15F0 80218140 00000000 */ nop
/* 5B15F4 80218144 4680A520 */ cvt.s.w $f20, $f20
/* 5B15F8 80218148 0C00A8D4 */ jal cos_deg
/* 5B15FC 8021814C 4600A306 */ mov.s $f12, $f20
/* 5B1600 80218150 4492B000 */ mtc1 $s2, $f22
/* 5B1604 80218154 00000000 */ nop
/* 5B1608 80218158 4680B5A0 */ cvt.s.w $f22, $f22
/* 5B160C 8021815C 4600B002 */ mul.s $f0, $f22, $f0
/* 5B1610 80218160 00000000 */ nop
/* 5B1614 80218164 4600A306 */ mov.s $f12, $f20
/* 5B1618 80218168 4493A000 */ mtc1 $s3, $f20
/* 5B161C 8021816C 00000000 */ nop
/* 5B1620 80218170 4680A520 */ cvt.s.w $f20, $f20
/* 5B1624 80218174 4600A500 */ add.s $f20, $f20, $f0
/* 5B1628 80218178 0C00A8BB */ jal sin_deg
/* 5B162C 8021817C 26100004 */ addiu $s0, $s0, 4
/* 5B1630 80218180 4600B582 */ mul.s $f22, $f22, $f0
/* 5B1634 80218184 00000000 */ nop
/* 5B1638 80218188 8E050000 */ lw $a1, ($s0)
/* 5B163C 8021818C 26100004 */ addiu $s0, $s0, 4
/* 5B1640 80218190 0220202D */ daddu $a0, $s1, $zero
/* 5B1644 80218194 4406A000 */ mfc1 $a2, $f20
/* 5B1648 80218198 4494A000 */ mtc1 $s4, $f20
/* 5B164C 8021819C 00000000 */ nop
/* 5B1650 802181A0 4680A520 */ cvt.s.w $f20, $f20
/* 5B1654 802181A4 0C0B2190 */ jal set_float_variable
/* 5B1658 802181A8 4616A501 */ sub.s $f20, $f20, $f22
/* 5B165C 802181AC 8E050000 */ lw $a1, ($s0)
/* 5B1660 802181B0 4406A000 */ mfc1 $a2, $f20
/* 5B1664 802181B4 0C0B2190 */ jal set_float_variable
/* 5B1668 802181B8 0220202D */ daddu $a0, $s1, $zero
/* 5B166C 802181BC 8FBF0024 */ lw $ra, 0x24($sp)
/* 5B1670 802181C0 8FB40020 */ lw $s4, 0x20($sp)
/* 5B1674 802181C4 8FB3001C */ lw $s3, 0x1c($sp)
/* 5B1678 802181C8 8FB20018 */ lw $s2, 0x18($sp)
/* 5B167C 802181CC 8FB10014 */ lw $s1, 0x14($sp)
/* 5B1680 802181D0 8FB00010 */ lw $s0, 0x10($sp)
/* 5B1684 802181D4 D7B60030 */ ldc1 $f22, 0x30($sp)
/* 5B1688 802181D8 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 5B168C 802181DC 24020002 */ addiu $v0, $zero, 2
/* 5B1690 802181E0 03E00008 */ jr $ra
/* 5B1694 802181E4 27BD0038 */ addiu $sp, $sp, 0x38
/* 5B1698 802181E8 00000000 */ nop
/* 5B169C 802181EC 00000000 */ nop

View File

@ -0,0 +1,105 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802181F0_5B16A0
/* 5B16A0 802181F0 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 5B16A4 802181F4 AFB20018 */ sw $s2, 0x18($sp)
/* 5B16A8 802181F8 0080902D */ daddu $s2, $a0, $zero
/* 5B16AC 802181FC AFBF0028 */ sw $ra, 0x28($sp)
/* 5B16B0 80218200 AFB50024 */ sw $s5, 0x24($sp)
/* 5B16B4 80218204 AFB40020 */ sw $s4, 0x20($sp)
/* 5B16B8 80218208 AFB3001C */ sw $s3, 0x1c($sp)
/* 5B16BC 8021820C AFB10014 */ sw $s1, 0x14($sp)
/* 5B16C0 80218210 AFB00010 */ sw $s0, 0x10($sp)
/* 5B16C4 80218214 F7B80040 */ sdc1 $f24, 0x40($sp)
/* 5B16C8 80218218 F7B60038 */ sdc1 $f22, 0x38($sp)
/* 5B16CC 8021821C F7B40030 */ sdc1 $f20, 0x30($sp)
/* 5B16D0 80218220 8E50000C */ lw $s0, 0xc($s2)
/* 5B16D4 80218224 8E140000 */ lw $s4, ($s0)
/* 5B16D8 80218228 26100004 */ addiu $s0, $s0, 4
/* 5B16DC 8021822C 0C0B1EAF */ jal get_variable
/* 5B16E0 80218230 0280282D */ daddu $a1, $s4, $zero
/* 5B16E4 80218234 0040982D */ daddu $s3, $v0, $zero
/* 5B16E8 80218238 8E150000 */ lw $s5, ($s0)
/* 5B16EC 8021823C 26100004 */ addiu $s0, $s0, 4
/* 5B16F0 80218240 8E050000 */ lw $a1, ($s0)
/* 5B16F4 80218244 26100004 */ addiu $s0, $s0, 4
/* 5B16F8 80218248 0C0B210B */ jal get_float_variable
/* 5B16FC 8021824C 0240202D */ daddu $a0, $s2, $zero
/* 5B1700 80218250 8E050000 */ lw $a1, ($s0)
/* 5B1704 80218254 26100004 */ addiu $s0, $s0, 4
/* 5B1708 80218258 0240202D */ daddu $a0, $s2, $zero
/* 5B170C 8021825C 0C0B210B */ jal get_float_variable
/* 5B1710 80218260 46000606 */ mov.s $f24, $f0
/* 5B1714 80218264 8E050000 */ lw $a1, ($s0)
/* 5B1718 80218268 26100004 */ addiu $s0, $s0, 4
/* 5B171C 8021826C 0240202D */ daddu $a0, $s2, $zero
/* 5B1720 80218270 0C0B1EAF */ jal get_variable
/* 5B1724 80218274 46000506 */ mov.s $f20, $f0
/* 5B1728 80218278 8E050000 */ lw $a1, ($s0)
/* 5B172C 8021827C 26100004 */ addiu $s0, $s0, 4
/* 5B1730 80218280 0240202D */ daddu $a0, $s2, $zero
/* 5B1734 80218284 0C0B1EAF */ jal get_variable
/* 5B1738 80218288 0040882D */ daddu $s1, $v0, $zero
/* 5B173C 8021828C 0240202D */ daddu $a0, $s2, $zero
/* 5B1740 80218290 8E050000 */ lw $a1, ($s0)
/* 5B1744 80218294 0C0B210B */ jal get_float_variable
/* 5B1748 80218298 0040802D */ daddu $s0, $v0, $zero
/* 5B174C 8021829C 3C014334 */ lui $at, 0x4334
/* 5B1750 802182A0 44811000 */ mtc1 $at, $f2
/* 5B1754 802182A4 3C014049 */ lui $at, 0x4049
/* 5B1758 802182A8 34210FD8 */ ori $at, $at, 0xfd8
/* 5B175C 802182AC 44812000 */ mtc1 $at, $f4
/* 5B1760 802182B0 46020003 */ div.s $f0, $f0, $f2
/* 5B1764 802182B4 46040582 */ mul.s $f22, $f0, $f4
/* 5B1768 802182B8 00000000 */ nop
/* 5B176C 802182BC 4618A501 */ sub.s $f20, $f20, $f24
/* 5B1770 802182C0 3C013F00 */ lui $at, 0x3f00
/* 5B1774 802182C4 44810000 */ mtc1 $at, $f0
/* 5B1778 802182C8 00000000 */ nop
/* 5B177C 802182CC 4600A502 */ mul.s $f20, $f20, $f0
/* 5B1780 802182D0 00000000 */ nop
/* 5B1784 802182D4 12000007 */ beqz $s0, .L802182F4
/* 5B1788 802182D8 0233102A */ slt $v0, $s1, $s3
/* 5B178C 802182DC 10400005 */ beqz $v0, .L802182F4
/* 5B1790 802182E0 0240202D */ daddu $a0, $s2, $zero
/* 5B1794 802182E4 0220982D */ daddu $s3, $s1, $zero
/* 5B1798 802182E8 0280282D */ daddu $a1, $s4, $zero
/* 5B179C 802182EC 0C0B2026 */ jal set_variable
/* 5B17A0 802182F0 0220302D */ daddu $a2, $s1, $zero
.L802182F4:
/* 5B17A4 802182F4 3C014049 */ lui $at, 0x4049
/* 5B17A8 802182F8 34210FD8 */ ori $at, $at, 0xfd8
/* 5B17AC 802182FC 44810000 */ mtc1 $at, $f0
/* 5B17B0 80218300 44936000 */ mtc1 $s3, $f12
/* 5B17B4 80218304 00000000 */ nop
/* 5B17B8 80218308 46806320 */ cvt.s.w $f12, $f12
/* 5B17BC 8021830C 46006302 */ mul.s $f12, $f12, $f0
/* 5B17C0 80218310 00000000 */ nop
/* 5B17C4 80218314 44910000 */ mtc1 $s1, $f0
/* 5B17C8 80218318 00000000 */ nop
/* 5B17CC 8021831C 46800020 */ cvt.s.w $f0, $f0
/* 5B17D0 80218320 46006303 */ div.s $f12, $f12, $f0
/* 5B17D4 80218324 0C00A874 */ jal cos_rad
/* 5B17D8 80218328 46166300 */ add.s $f12, $f12, $f22
/* 5B17DC 8021832C 4600A002 */ mul.s $f0, $f20, $f0
/* 5B17E0 80218330 00000000 */ nop
/* 5B17E4 80218334 4614C080 */ add.s $f2, $f24, $f20
/* 5B17E8 80218338 46001081 */ sub.s $f2, $f2, $f0
/* 5B17EC 8021833C 0240202D */ daddu $a0, $s2, $zero
/* 5B17F0 80218340 44061000 */ mfc1 $a2, $f2
/* 5B17F4 80218344 0C0B2190 */ jal set_float_variable
/* 5B17F8 80218348 02A0282D */ daddu $a1, $s5, $zero
/* 5B17FC 8021834C 8FBF0028 */ lw $ra, 0x28($sp)
/* 5B1800 80218350 8FB50024 */ lw $s5, 0x24($sp)
/* 5B1804 80218354 8FB40020 */ lw $s4, 0x20($sp)
/* 5B1808 80218358 8FB3001C */ lw $s3, 0x1c($sp)
/* 5B180C 8021835C 8FB20018 */ lw $s2, 0x18($sp)
/* 5B1810 80218360 8FB10014 */ lw $s1, 0x14($sp)
/* 5B1814 80218364 8FB00010 */ lw $s0, 0x10($sp)
/* 5B1818 80218368 D7B80040 */ ldc1 $f24, 0x40($sp)
/* 5B181C 8021836C D7B60038 */ ldc1 $f22, 0x38($sp)
/* 5B1820 80218370 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 5B1824 80218374 24020002 */ addiu $v0, $zero, 2
/* 5B1828 80218378 03E00008 */ jr $ra
/* 5B182C 8021837C 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218380_5B1830
/* 5B1830 80218380 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 5B1834 80218384 AFB10014 */ sw $s1, 0x14($sp)
/* 5B1838 80218388 0080882D */ daddu $s1, $a0, $zero
/* 5B183C 8021838C AFBF0020 */ sw $ra, 0x20($sp)
/* 5B1840 80218390 AFB3001C */ sw $s3, 0x1c($sp)
/* 5B1844 80218394 AFB20018 */ sw $s2, 0x18($sp)
/* 5B1848 80218398 AFB00010 */ sw $s0, 0x10($sp)
/* 5B184C 8021839C 8E30000C */ lw $s0, 0xc($s1)
/* 5B1850 802183A0 8E050000 */ lw $a1, ($s0)
/* 5B1854 802183A4 0C0B1EAF */ jal get_variable
/* 5B1858 802183A8 26100004 */ addiu $s0, $s0, 4
/* 5B185C 802183AC 8E050000 */ lw $a1, ($s0)
/* 5B1860 802183B0 26100004 */ addiu $s0, $s0, 4
/* 5B1864 802183B4 0220202D */ daddu $a0, $s1, $zero
/* 5B1868 802183B8 0C0B1EAF */ jal get_variable
/* 5B186C 802183BC 0040982D */ daddu $s3, $v0, $zero
/* 5B1870 802183C0 8E050000 */ lw $a1, ($s0)
/* 5B1874 802183C4 26100004 */ addiu $s0, $s0, 4
/* 5B1878 802183C8 0220202D */ daddu $a0, $s1, $zero
/* 5B187C 802183CC 0C0B1EAF */ jal get_variable
/* 5B1880 802183D0 0040902D */ daddu $s2, $v0, $zero
/* 5B1884 802183D4 0220202D */ daddu $a0, $s1, $zero
/* 5B1888 802183D8 8E050000 */ lw $a1, ($s0)
/* 5B188C 802183DC 0C0B1EAF */ jal get_variable
/* 5B1890 802183E0 0040802D */ daddu $s0, $v0, $zero
/* 5B1894 802183E4 8E240148 */ lw $a0, 0x148($s1)
/* 5B1898 802183E8 0C09A75B */ jal get_actor
/* 5B189C 802183EC 0040882D */ daddu $s1, $v0, $zero
/* 5B18A0 802183F0 0040182D */ daddu $v1, $v0, $zero
/* 5B18A4 802183F4 8C620008 */ lw $v0, 8($v1)
/* 5B18A8 802183F8 90420024 */ lbu $v0, 0x24($v0)
/* 5B18AC 802183FC 8C640008 */ lw $a0, 8($v1)
/* 5B18B0 80218400 02629823 */ subu $s3, $s3, $v0
/* 5B18B4 80218404 A0730194 */ sb $s3, 0x194($v1)
/* 5B18B8 80218408 90820025 */ lbu $v0, 0x25($a0)
/* 5B18BC 8021840C 02429023 */ subu $s2, $s2, $v0
/* 5B18C0 80218410 A0720195 */ sb $s2, 0x195($v1)
/* 5B18C4 80218414 90820026 */ lbu $v0, 0x26($a0)
/* 5B18C8 80218418 02028023 */ subu $s0, $s0, $v0
/* 5B18CC 8021841C A0700196 */ sb $s0, 0x196($v1)
/* 5B18D0 80218420 90840027 */ lbu $a0, 0x27($a0)
/* 5B18D4 80218424 02248823 */ subu $s1, $s1, $a0
/* 5B18D8 80218428 A0710197 */ sb $s1, 0x197($v1)
/* 5B18DC 8021842C 8FBF0020 */ lw $ra, 0x20($sp)
/* 5B18E0 80218430 8FB3001C */ lw $s3, 0x1c($sp)
/* 5B18E4 80218434 8FB20018 */ lw $s2, 0x18($sp)
/* 5B18E8 80218438 8FB10014 */ lw $s1, 0x14($sp)
/* 5B18EC 8021843C 8FB00010 */ lw $s0, 0x10($sp)
/* 5B18F0 80218440 24020002 */ addiu $v0, $zero, 2
/* 5B18F4 80218444 03E00008 */ jr $ra
/* 5B18F8 80218448 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,73 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021844C_5B18FC
/* 5B18FC 8021844C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 5B1900 80218450 AFB10014 */ sw $s1, 0x14($sp)
/* 5B1904 80218454 0080882D */ daddu $s1, $a0, $zero
/* 5B1908 80218458 AFBF0024 */ sw $ra, 0x24($sp)
/* 5B190C 8021845C AFB40020 */ sw $s4, 0x20($sp)
/* 5B1910 80218460 AFB3001C */ sw $s3, 0x1c($sp)
/* 5B1914 80218464 AFB20018 */ sw $s2, 0x18($sp)
/* 5B1918 80218468 AFB00010 */ sw $s0, 0x10($sp)
/* 5B191C 8021846C F7B40028 */ sdc1 $f20, 0x28($sp)
/* 5B1920 80218470 8E30000C */ lw $s0, 0xc($s1)
/* 5B1924 80218474 8E050000 */ lw $a1, ($s0)
/* 5B1928 80218478 0C0B1EAF */ jal get_variable
/* 5B192C 8021847C 26100004 */ addiu $s0, $s0, 4
/* 5B1930 80218480 8E140000 */ lw $s4, ($s0)
/* 5B1934 80218484 26100004 */ addiu $s0, $s0, 4
/* 5B1938 80218488 8E050000 */ lw $a1, ($s0)
/* 5B193C 8021848C 26100004 */ addiu $s0, $s0, 4
/* 5B1940 80218490 0220202D */ daddu $a0, $s1, $zero
/* 5B1944 80218494 0C0B1EAF */ jal get_variable
/* 5B1948 80218498 0040902D */ daddu $s2, $v0, $zero
/* 5B194C 8021849C 8E050000 */ lw $a1, ($s0)
/* 5B1950 802184A0 26100004 */ addiu $s0, $s0, 4
/* 5B1954 802184A4 0220202D */ daddu $a0, $s1, $zero
/* 5B1958 802184A8 0C0B1EAF */ jal get_variable
/* 5B195C 802184AC 0040982D */ daddu $s3, $v0, $zero
/* 5B1960 802184B0 0220202D */ daddu $a0, $s1, $zero
/* 5B1964 802184B4 8E050000 */ lw $a1, ($s0)
/* 5B1968 802184B8 0C0B210B */ jal get_float_variable
/* 5B196C 802184BC 0040802D */ daddu $s0, $v0, $zero
/* 5B1970 802184C0 3C0140C9 */ lui $at, 0x40c9
/* 5B1974 802184C4 34210FD8 */ ori $at, $at, 0xfd8
/* 5B1978 802184C8 44814000 */ mtc1 $at, $f8
/* 5B197C 802184CC 44922000 */ mtc1 $s2, $f4
/* 5B1980 802184D0 00000000 */ nop
/* 5B1984 802184D4 46802120 */ cvt.s.w $f4, $f4
/* 5B1988 802184D8 46082202 */ mul.s $f8, $f4, $f8
/* 5B198C 802184DC 00000000 */ nop
/* 5B1990 802184E0 44903000 */ mtc1 $s0, $f6
/* 5B1994 802184E4 00000000 */ nop
/* 5B1998 802184E8 468031A0 */ cvt.s.w $f6, $f6
/* 5B199C 802184EC 3C013F80 */ lui $at, 0x3f80
/* 5B19A0 802184F0 44811000 */ mtc1 $at, $f2
/* 5B19A4 802184F4 46062103 */ div.s $f4, $f4, $f6
/* 5B19A8 802184F8 46041081 */ sub.s $f2, $f2, $f4
/* 5B19AC 802184FC 46020502 */ mul.s $f20, $f0, $f2
/* 5B19B0 80218500 00000000 */ nop
/* 5B19B4 80218504 44936000 */ mtc1 $s3, $f12
/* 5B19B8 80218508 00000000 */ nop
/* 5B19BC 8021850C 46806320 */ cvt.s.w $f12, $f12
/* 5B19C0 80218510 0C00A874 */ jal cos_rad
/* 5B19C4 80218514 460C4303 */ div.s $f12, $f8, $f12
/* 5B19C8 80218518 4600A502 */ mul.s $f20, $f20, $f0
/* 5B19CC 8021851C 00000000 */ nop
/* 5B19D0 80218520 0220202D */ daddu $a0, $s1, $zero
/* 5B19D4 80218524 4600A28D */ trunc.w.s $f10, $f20
/* 5B19D8 80218528 44065000 */ mfc1 $a2, $f10
/* 5B19DC 8021852C 0C0B2026 */ jal set_variable
/* 5B19E0 80218530 0280282D */ daddu $a1, $s4, $zero
/* 5B19E4 80218534 8FBF0024 */ lw $ra, 0x24($sp)
/* 5B19E8 80218538 8FB40020 */ lw $s4, 0x20($sp)
/* 5B19EC 8021853C 8FB3001C */ lw $s3, 0x1c($sp)
/* 5B19F0 80218540 8FB20018 */ lw $s2, 0x18($sp)
/* 5B19F4 80218544 8FB10014 */ lw $s1, 0x14($sp)
/* 5B19F8 80218548 8FB00010 */ lw $s0, 0x10($sp)
/* 5B19FC 8021854C D7B40028 */ ldc1 $f20, 0x28($sp)
/* 5B1A00 80218550 24020002 */ addiu $v0, $zero, 2
/* 5B1A04 80218554 03E00008 */ jr $ra
/* 5B1A08 80218558 27BD0030 */ addiu $sp, $sp, 0x30
/* 5B1A0C 8021855C 00000000 */ nop

View File

@ -0,0 +1,91 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218560_5B1A10
/* 5B1A10 80218560 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 5B1A14 80218564 AFB10024 */ sw $s1, 0x24($sp)
/* 5B1A18 80218568 0080882D */ daddu $s1, $a0, $zero
/* 5B1A1C 8021856C AFBF0028 */ sw $ra, 0x28($sp)
/* 5B1A20 80218570 AFB00020 */ sw $s0, 0x20($sp)
/* 5B1A24 80218574 F7BE0058 */ sdc1 $f30, 0x58($sp)
/* 5B1A28 80218578 F7BC0050 */ sdc1 $f28, 0x50($sp)
/* 5B1A2C 8021857C F7BA0048 */ sdc1 $f26, 0x48($sp)
/* 5B1A30 80218580 F7B80040 */ sdc1 $f24, 0x40($sp)
/* 5B1A34 80218584 F7B60038 */ sdc1 $f22, 0x38($sp)
/* 5B1A38 80218588 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 5B1A3C 8021858C 8E30000C */ lw $s0, 0xc($s1)
/* 5B1A40 80218590 8E050000 */ lw $a1, ($s0)
/* 5B1A44 80218594 0C0B210B */ jal get_float_variable
/* 5B1A48 80218598 26100004 */ addiu $s0, $s0, 4
/* 5B1A4C 8021859C 8E050000 */ lw $a1, ($s0)
/* 5B1A50 802185A0 26100004 */ addiu $s0, $s0, 4
/* 5B1A54 802185A4 0220202D */ daddu $a0, $s1, $zero
/* 5B1A58 802185A8 0C0B210B */ jal get_float_variable
/* 5B1A5C 802185AC 46000786 */ mov.s $f30, $f0
/* 5B1A60 802185B0 8E050000 */ lw $a1, ($s0)
/* 5B1A64 802185B4 26100004 */ addiu $s0, $s0, 4
/* 5B1A68 802185B8 0220202D */ daddu $a0, $s1, $zero
/* 5B1A6C 802185BC 0C0B210B */ jal get_float_variable
/* 5B1A70 802185C0 46000506 */ mov.s $f20, $f0
/* 5B1A74 802185C4 8E050000 */ lw $a1, ($s0)
/* 5B1A78 802185C8 26100004 */ addiu $s0, $s0, 4
/* 5B1A7C 802185CC 0220202D */ daddu $a0, $s1, $zero
/* 5B1A80 802185D0 0C0B210B */ jal get_float_variable
/* 5B1A84 802185D4 46000706 */ mov.s $f28, $f0
/* 5B1A88 802185D8 8E050000 */ lw $a1, ($s0)
/* 5B1A8C 802185DC 26100004 */ addiu $s0, $s0, 4
/* 5B1A90 802185E0 0220202D */ daddu $a0, $s1, $zero
/* 5B1A94 802185E4 0C0B210B */ jal get_float_variable
/* 5B1A98 802185E8 46000686 */ mov.s $f26, $f0
/* 5B1A9C 802185EC 8E050000 */ lw $a1, ($s0)
/* 5B1AA0 802185F0 26100004 */ addiu $s0, $s0, 4
/* 5B1AA4 802185F4 0220202D */ daddu $a0, $s1, $zero
/* 5B1AA8 802185F8 0C0B210B */ jal get_float_variable
/* 5B1AAC 802185FC 46000606 */ mov.s $f24, $f0
/* 5B1AB0 80218600 0220202D */ daddu $a0, $s1, $zero
/* 5B1AB4 80218604 8E050000 */ lw $a1, ($s0)
/* 5B1AB8 80218608 0C0B1EAF */ jal get_variable
/* 5B1ABC 8021860C 46000586 */ mov.s $f22, $f0
/* 5B1AC0 80218610 8E240148 */ lw $a0, 0x148($s1)
/* 5B1AC4 80218614 0C09A75B */ jal get_actor
/* 5B1AC8 80218618 0040802D */ daddu $s0, $v0, $zero
/* 5B1ACC 8021861C 4600A521 */ cvt.d.s $f20, $f20
/* 5B1AD0 80218620 4405F000 */ mfc1 $a1, $f30
/* 5B1AD4 80218624 3C014014 */ lui $at, 0x4014
/* 5B1AD8 80218628 44810800 */ mtc1 $at, $f1
/* 5B1ADC 8021862C 44800000 */ mtc1 $zero, $f0
/* 5B1AE0 80218630 4407E000 */ mfc1 $a3, $f28
/* 5B1AE4 80218634 4620A500 */ add.d $f20, $f20, $f0
/* 5B1AE8 80218638 0000202D */ daddu $a0, $zero, $zero
/* 5B1AEC 8021863C AFB0001C */ sw $s0, 0x1c($sp)
/* 5B1AF0 80218640 4620A520 */ cvt.s.d $f20, $f20
/* 5B1AF4 80218644 4406A000 */ mfc1 $a2, $f20
/* 5B1AF8 80218648 0040802D */ daddu $s0, $v0, $zero
/* 5B1AFC 8021864C E7BA0010 */ swc1 $f26, 0x10($sp)
/* 5B1B00 80218650 E7B80014 */ swc1 $f24, 0x14($sp)
/* 5B1B04 80218654 0C01BFD4 */ jal func_8006FF50
/* 5B1B08 80218658 E7B60018 */ swc1 $f22, 0x18($sp)
/* 5B1B0C 8021865C 0040202D */ daddu $a0, $v0, $zero
/* 5B1B10 80218660 82030210 */ lb $v1, 0x210($s0)
/* 5B1B14 80218664 2402000A */ addiu $v0, $zero, 0xa
/* 5B1B18 80218668 14620007 */ bne $v1, $v0, .L80218688
/* 5B1B1C 8021866C 00000000 */ nop
/* 5B1B20 80218670 8C82000C */ lw $v0, 0xc($a0)
/* 5B1B24 80218674 3C013ECC */ lui $at, 0x3ecc
/* 5B1B28 80218678 3421CCCD */ ori $at, $at, 0xcccd
/* 5B1B2C 8021867C 44810000 */ mtc1 $at, $f0
/* 5B1B30 80218680 00000000 */ nop
/* 5B1B34 80218684 E4400028 */ swc1 $f0, 0x28($v0)
.L80218688:
/* 5B1B38 80218688 8FBF0028 */ lw $ra, 0x28($sp)
/* 5B1B3C 8021868C 8FB10024 */ lw $s1, 0x24($sp)
/* 5B1B40 80218690 8FB00020 */ lw $s0, 0x20($sp)
/* 5B1B44 80218694 D7BE0058 */ ldc1 $f30, 0x58($sp)
/* 5B1B48 80218698 D7BC0050 */ ldc1 $f28, 0x50($sp)
/* 5B1B4C 8021869C D7BA0048 */ ldc1 $f26, 0x48($sp)
/* 5B1B50 802186A0 D7B80040 */ ldc1 $f24, 0x40($sp)
/* 5B1B54 802186A4 D7B60038 */ ldc1 $f22, 0x38($sp)
/* 5B1B58 802186A8 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 5B1B5C 802186AC 24020002 */ addiu $v0, $zero, 2
/* 5B1B60 802186B0 03E00008 */ jr $ra
/* 5B1B64 802186B4 27BD0060 */ addiu $sp, $sp, 0x60

View File

@ -0,0 +1,15 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802186B8_5B1B68
/* 5B1B68 802186B8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 5B1B6C 802186BC AFBF0010 */ sw $ra, 0x10($sp)
/* 5B1B70 802186C0 8C82000C */ lw $v0, 0xc($a0)
/* 5B1B74 802186C4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
/* 5B1B78 802186C8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
/* 5B1B7C 802186CC 0C0B2026 */ jal set_variable
/* 5B1B80 802186D0 8C450000 */ lw $a1, ($v0)
/* 5B1B84 802186D4 8FBF0010 */ lw $ra, 0x10($sp)
/* 5B1B88 802186D8 24020002 */ addiu $v0, $zero, 2
/* 5B1B8C 802186DC 03E00008 */ jr $ra
/* 5B1B90 802186E0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802186E4_5B1B94
/* 5B1B94 802186E4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 5B1B98 802186E8 AFB10014 */ sw $s1, 0x14($sp)
/* 5B1B9C 802186EC 0080882D */ daddu $s1, $a0, $zero
/* 5B1BA0 802186F0 AFBF0020 */ sw $ra, 0x20($sp)
/* 5B1BA4 802186F4 AFB3001C */ sw $s3, 0x1c($sp)
/* 5B1BA8 802186F8 AFB20018 */ sw $s2, 0x18($sp)
/* 5B1BAC 802186FC AFB00010 */ sw $s0, 0x10($sp)
/* 5B1BB0 80218700 8E30000C */ lw $s0, 0xc($s1)
/* 5B1BB4 80218704 8E050000 */ lw $a1, ($s0)
/* 5B1BB8 80218708 0C0B1EAF */ jal get_variable
/* 5B1BBC 8021870C 26100004 */ addiu $s0, $s0, 4
/* 5B1BC0 80218710 8E050000 */ lw $a1, ($s0)
/* 5B1BC4 80218714 26100004 */ addiu $s0, $s0, 4
/* 5B1BC8 80218718 0220202D */ daddu $a0, $s1, $zero
/* 5B1BCC 8021871C 0C0B1EAF */ jal get_variable
/* 5B1BD0 80218720 0040982D */ daddu $s3, $v0, $zero
/* 5B1BD4 80218724 8E050000 */ lw $a1, ($s0)
/* 5B1BD8 80218728 26100004 */ addiu $s0, $s0, 4
/* 5B1BDC 8021872C 0220202D */ daddu $a0, $s1, $zero
/* 5B1BE0 80218730 0C0B1EAF */ jal get_variable
/* 5B1BE4 80218734 0040902D */ daddu $s2, $v0, $zero
/* 5B1BE8 80218738 0220202D */ daddu $a0, $s1, $zero
/* 5B1BEC 8021873C 8E050000 */ lw $a1, ($s0)
/* 5B1BF0 80218740 0C0B1EAF */ jal get_variable
/* 5B1BF4 80218744 0040802D */ daddu $s0, $v0, $zero
/* 5B1BF8 80218748 8E240148 */ lw $a0, 0x148($s1)
/* 5B1BFC 8021874C 0C09A75B */ jal get_actor
/* 5B1C00 80218750 0040882D */ daddu $s1, $v0, $zero
/* 5B1C04 80218754 0040182D */ daddu $v1, $v0, $zero
/* 5B1C08 80218758 8C620008 */ lw $v0, 8($v1)
/* 5B1C0C 8021875C 90420024 */ lbu $v0, 0x24($v0)
/* 5B1C10 80218760 8C640008 */ lw $a0, 8($v1)
/* 5B1C14 80218764 02629823 */ subu $s3, $s3, $v0
/* 5B1C18 80218768 A0730194 */ sb $s3, 0x194($v1)
/* 5B1C1C 8021876C 90820025 */ lbu $v0, 0x25($a0)
/* 5B1C20 80218770 02429023 */ subu $s2, $s2, $v0
/* 5B1C24 80218774 A0720195 */ sb $s2, 0x195($v1)
/* 5B1C28 80218778 90820026 */ lbu $v0, 0x26($a0)
/* 5B1C2C 8021877C 02028023 */ subu $s0, $s0, $v0
/* 5B1C30 80218780 A0700196 */ sb $s0, 0x196($v1)
/* 5B1C34 80218784 90840027 */ lbu $a0, 0x27($a0)
/* 5B1C38 80218788 02248823 */ subu $s1, $s1, $a0
/* 5B1C3C 8021878C A0710197 */ sb $s1, 0x197($v1)
/* 5B1C40 80218790 8FBF0020 */ lw $ra, 0x20($sp)
/* 5B1C44 80218794 8FB3001C */ lw $s3, 0x1c($sp)
/* 5B1C48 80218798 8FB20018 */ lw $s2, 0x18($sp)
/* 5B1C4C 8021879C 8FB10014 */ lw $s1, 0x14($sp)
/* 5B1C50 802187A0 8FB00010 */ lw $s0, 0x10($sp)
/* 5B1C54 802187A4 24020002 */ addiu $v0, $zero, 2
/* 5B1C58 802187A8 03E00008 */ jr $ra
/* 5B1C5C 802187AC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802187B0_5B1C60
/* 5B1C60 802187B0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 5B1C64 802187B4 AFB10014 */ sw $s1, 0x14($sp)
/* 5B1C68 802187B8 0080882D */ daddu $s1, $a0, $zero
/* 5B1C6C 802187BC AFBF0018 */ sw $ra, 0x18($sp)
/* 5B1C70 802187C0 AFB00010 */ sw $s0, 0x10($sp)
/* 5B1C74 802187C4 8E30000C */ lw $s0, 0xc($s1)
/* 5B1C78 802187C8 8E050000 */ lw $a1, ($s0)
/* 5B1C7C 802187CC 0C0B1EAF */ jal get_variable
/* 5B1C80 802187D0 26100004 */ addiu $s0, $s0, 4
/* 5B1C84 802187D4 0220202D */ daddu $a0, $s1, $zero
/* 5B1C88 802187D8 8E050000 */ lw $a1, ($s0)
/* 5B1C8C 802187DC 0C0B1EAF */ jal get_variable
/* 5B1C90 802187E0 0040802D */ daddu $s0, $v0, $zero
/* 5B1C94 802187E4 0200202D */ daddu $a0, $s0, $zero
/* 5B1C98 802187E8 0C00A3C2 */ jal start_rumble
/* 5B1C9C 802187EC 0040282D */ daddu $a1, $v0, $zero
/* 5B1CA0 802187F0 8FBF0018 */ lw $ra, 0x18($sp)
/* 5B1CA4 802187F4 8FB10014 */ lw $s1, 0x14($sp)
/* 5B1CA8 802187F8 8FB00010 */ lw $s0, 0x10($sp)
/* 5B1CAC 802187FC 24020002 */ addiu $v0, $zero, 2
/* 5B1CB0 80218800 03E00008 */ jr $ra
/* 5B1CB4 80218804 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,59 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218808_5B1CB8
/* 5B1CB8 80218808 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 5B1CBC 8021880C AFB10014 */ sw $s1, 0x14($sp)
/* 5B1CC0 80218810 0080882D */ daddu $s1, $a0, $zero
/* 5B1CC4 80218814 AFBF0018 */ sw $ra, 0x18($sp)
/* 5B1CC8 80218818 AFB00010 */ sw $s0, 0x10($sp)
/* 5B1CCC 8021881C 8E30000C */ lw $s0, 0xc($s1)
/* 5B1CD0 80218820 8E050000 */ lw $a1, ($s0)
/* 5B1CD4 80218824 0C0B1EAF */ jal get_variable
/* 5B1CD8 80218828 26100004 */ addiu $s0, $s0, 4
/* 5B1CDC 8021882C 0040202D */ daddu $a0, $v0, $zero
/* 5B1CE0 80218830 2402FF81 */ addiu $v0, $zero, -0x7f
/* 5B1CE4 80218834 14820002 */ bne $a0, $v0, .L80218840
/* 5B1CE8 80218838 00000000 */ nop
/* 5B1CEC 8021883C 8E240148 */ lw $a0, 0x148($s1)
.L80218840:
/* 5B1CF0 80218840 0C09A75B */ jal get_actor
/* 5B1CF4 80218844 00000000 */ nop
/* 5B1CF8 80218848 0040202D */ daddu $a0, $v0, $zero
/* 5B1CFC 8021884C 90830136 */ lbu $v1, 0x136($a0)
/* 5B1D00 80218850 24020047 */ addiu $v0, $zero, 0x47
/* 5B1D04 80218854 1062000B */ beq $v1, $v0, .L80218884
/* 5B1D08 80218858 0062102A */ slt $v0, $v1, $v0
/* 5B1D0C 8021885C 54400011 */ bnel $v0, $zero, .L802188A4
/* 5B1D10 80218860 0220202D */ daddu $a0, $s1, $zero
/* 5B1D14 80218864 28620065 */ slti $v0, $v1, 0x65
/* 5B1D18 80218868 1040000D */ beqz $v0, .L802188A0
/* 5B1D1C 8021886C 2862004D */ slti $v0, $v1, 0x4d
/* 5B1D20 80218870 1440000C */ bnez $v0, .L802188A4
/* 5B1D24 80218874 0220202D */ daddu $a0, $s1, $zero
/* 5B1D28 80218878 8E050000 */ lw $a1, ($s0)
/* 5B1D2C 8021887C 0808622B */ j .L802188AC
/* 5B1D30 80218880 2406FFFF */ addiu $a2, $zero, -1
.L80218884:
/* 5B1D34 80218884 8C8300A8 */ lw $v1, 0xa8($a0)
/* 5B1D38 80218888 24020001 */ addiu $v0, $zero, 1
/* 5B1D3C 8021888C 14620005 */ bne $v1, $v0, .L802188A4
/* 5B1D40 80218890 0220202D */ daddu $a0, $s1, $zero
/* 5B1D44 80218894 8E050000 */ lw $a1, ($s0)
/* 5B1D48 80218898 0808622B */ j .L802188AC
/* 5B1D4C 8021889C 2406FFFF */ addiu $a2, $zero, -1
.L802188A0:
/* 5B1D50 802188A0 0220202D */ daddu $a0, $s1, $zero
.L802188A4:
/* 5B1D54 802188A4 8E050000 */ lw $a1, ($s0)
/* 5B1D58 802188A8 0000302D */ daddu $a2, $zero, $zero
.L802188AC:
/* 5B1D5C 802188AC 0C0B2026 */ jal set_variable
/* 5B1D60 802188B0 00000000 */ nop
/* 5B1D64 802188B4 8FBF0018 */ lw $ra, 0x18($sp)
/* 5B1D68 802188B8 8FB10014 */ lw $s1, 0x14($sp)
/* 5B1D6C 802188BC 8FB00010 */ lw $s0, 0x10($sp)
/* 5B1D70 802188C0 24020002 */ addiu $v0, $zero, 2
/* 5B1D74 802188C4 03E00008 */ jr $ra
/* 5B1D78 802188C8 27BD0020 */ addiu $sp, $sp, 0x20
/* 5B1D7C 802188CC 00000000 */ nop

View File

@ -0,0 +1,91 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802188D0_5B1D80
/* 5B1D80 802188D0 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 5B1D84 802188D4 AFB10024 */ sw $s1, 0x24($sp)
/* 5B1D88 802188D8 0080882D */ daddu $s1, $a0, $zero
/* 5B1D8C 802188DC AFBF0028 */ sw $ra, 0x28($sp)
/* 5B1D90 802188E0 AFB00020 */ sw $s0, 0x20($sp)
/* 5B1D94 802188E4 F7BE0058 */ sdc1 $f30, 0x58($sp)
/* 5B1D98 802188E8 F7BC0050 */ sdc1 $f28, 0x50($sp)
/* 5B1D9C 802188EC F7BA0048 */ sdc1 $f26, 0x48($sp)
/* 5B1DA0 802188F0 F7B80040 */ sdc1 $f24, 0x40($sp)
/* 5B1DA4 802188F4 F7B60038 */ sdc1 $f22, 0x38($sp)
/* 5B1DA8 802188F8 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 5B1DAC 802188FC 8E30000C */ lw $s0, 0xc($s1)
/* 5B1DB0 80218900 8E050000 */ lw $a1, ($s0)
/* 5B1DB4 80218904 0C0B210B */ jal get_float_variable
/* 5B1DB8 80218908 26100004 */ addiu $s0, $s0, 4
/* 5B1DBC 8021890C 8E050000 */ lw $a1, ($s0)
/* 5B1DC0 80218910 26100004 */ addiu $s0, $s0, 4
/* 5B1DC4 80218914 0220202D */ daddu $a0, $s1, $zero
/* 5B1DC8 80218918 0C0B210B */ jal get_float_variable
/* 5B1DCC 8021891C 46000786 */ mov.s $f30, $f0
/* 5B1DD0 80218920 8E050000 */ lw $a1, ($s0)
/* 5B1DD4 80218924 26100004 */ addiu $s0, $s0, 4
/* 5B1DD8 80218928 0220202D */ daddu $a0, $s1, $zero
/* 5B1DDC 8021892C 0C0B210B */ jal get_float_variable
/* 5B1DE0 80218930 46000506 */ mov.s $f20, $f0
/* 5B1DE4 80218934 8E050000 */ lw $a1, ($s0)
/* 5B1DE8 80218938 26100004 */ addiu $s0, $s0, 4
/* 5B1DEC 8021893C 0220202D */ daddu $a0, $s1, $zero
/* 5B1DF0 80218940 0C0B210B */ jal get_float_variable
/* 5B1DF4 80218944 46000706 */ mov.s $f28, $f0
/* 5B1DF8 80218948 8E050000 */ lw $a1, ($s0)
/* 5B1DFC 8021894C 26100004 */ addiu $s0, $s0, 4
/* 5B1E00 80218950 0220202D */ daddu $a0, $s1, $zero
/* 5B1E04 80218954 0C0B210B */ jal get_float_variable
/* 5B1E08 80218958 46000686 */ mov.s $f26, $f0
/* 5B1E0C 8021895C 8E050000 */ lw $a1, ($s0)
/* 5B1E10 80218960 26100004 */ addiu $s0, $s0, 4
/* 5B1E14 80218964 0220202D */ daddu $a0, $s1, $zero
/* 5B1E18 80218968 0C0B210B */ jal get_float_variable
/* 5B1E1C 8021896C 46000606 */ mov.s $f24, $f0
/* 5B1E20 80218970 0220202D */ daddu $a0, $s1, $zero
/* 5B1E24 80218974 8E050000 */ lw $a1, ($s0)
/* 5B1E28 80218978 0C0B1EAF */ jal get_variable
/* 5B1E2C 8021897C 46000586 */ mov.s $f22, $f0
/* 5B1E30 80218980 8E240148 */ lw $a0, 0x148($s1)
/* 5B1E34 80218984 0C09A75B */ jal get_actor
/* 5B1E38 80218988 0040802D */ daddu $s0, $v0, $zero
/* 5B1E3C 8021898C 4600A521 */ cvt.d.s $f20, $f20
/* 5B1E40 80218990 4405F000 */ mfc1 $a1, $f30
/* 5B1E44 80218994 3C014014 */ lui $at, 0x4014
/* 5B1E48 80218998 44810800 */ mtc1 $at, $f1
/* 5B1E4C 8021899C 44800000 */ mtc1 $zero, $f0
/* 5B1E50 802189A0 4407E000 */ mfc1 $a3, $f28
/* 5B1E54 802189A4 4620A500 */ add.d $f20, $f20, $f0
/* 5B1E58 802189A8 0000202D */ daddu $a0, $zero, $zero
/* 5B1E5C 802189AC AFB0001C */ sw $s0, 0x1c($sp)
/* 5B1E60 802189B0 4620A520 */ cvt.s.d $f20, $f20
/* 5B1E64 802189B4 4406A000 */ mfc1 $a2, $f20
/* 5B1E68 802189B8 0040802D */ daddu $s0, $v0, $zero
/* 5B1E6C 802189BC E7BA0010 */ swc1 $f26, 0x10($sp)
/* 5B1E70 802189C0 E7B80014 */ swc1 $f24, 0x14($sp)
/* 5B1E74 802189C4 0C01BFD4 */ jal func_8006FF50
/* 5B1E78 802189C8 E7B60018 */ swc1 $f22, 0x18($sp)
/* 5B1E7C 802189CC 0040202D */ daddu $a0, $v0, $zero
/* 5B1E80 802189D0 82030210 */ lb $v1, 0x210($s0)
/* 5B1E84 802189D4 2402000A */ addiu $v0, $zero, 0xa
/* 5B1E88 802189D8 14620007 */ bne $v1, $v0, .L802189F8
/* 5B1E8C 802189DC 00000000 */ nop
/* 5B1E90 802189E0 8C82000C */ lw $v0, 0xc($a0)
/* 5B1E94 802189E4 3C013ECC */ lui $at, 0x3ecc
/* 5B1E98 802189E8 3421CCCD */ ori $at, $at, 0xcccd
/* 5B1E9C 802189EC 44810000 */ mtc1 $at, $f0
/* 5B1EA0 802189F0 00000000 */ nop
/* 5B1EA4 802189F4 E4400028 */ swc1 $f0, 0x28($v0)
.L802189F8:
/* 5B1EA8 802189F8 8FBF0028 */ lw $ra, 0x28($sp)
/* 5B1EAC 802189FC 8FB10024 */ lw $s1, 0x24($sp)
/* 5B1EB0 80218A00 8FB00020 */ lw $s0, 0x20($sp)
/* 5B1EB4 80218A04 D7BE0058 */ ldc1 $f30, 0x58($sp)
/* 5B1EB8 80218A08 D7BC0050 */ ldc1 $f28, 0x50($sp)
/* 5B1EBC 80218A0C D7BA0048 */ ldc1 $f26, 0x48($sp)
/* 5B1EC0 80218A10 D7B80040 */ ldc1 $f24, 0x40($sp)
/* 5B1EC4 80218A14 D7B60038 */ ldc1 $f22, 0x38($sp)
/* 5B1EC8 80218A18 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 5B1ECC 80218A1C 24020002 */ addiu $v0, $zero, 2
/* 5B1ED0 80218A20 03E00008 */ jr $ra
/* 5B1ED4 80218A24 27BD0060 */ addiu $sp, $sp, 0x60

View File

@ -0,0 +1,15 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218A28_5B1ED8
/* 5B1ED8 80218A28 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 5B1EDC 80218A2C AFBF0010 */ sw $ra, 0x10($sp)
/* 5B1EE0 80218A30 8C82000C */ lw $v0, 0xc($a0)
/* 5B1EE4 80218A34 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
/* 5B1EE8 80218A38 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
/* 5B1EEC 80218A3C 0C0B2026 */ jal set_variable
/* 5B1EF0 80218A40 8C450000 */ lw $a1, ($v0)
/* 5B1EF4 80218A44 8FBF0010 */ lw $ra, 0x10($sp)
/* 5B1EF8 80218A48 24020002 */ addiu $v0, $zero, 2
/* 5B1EFC 80218A4C 03E00008 */ jr $ra
/* 5B1F00 80218A50 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218A54_5B1F04
/* 5B1F04 80218A54 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 5B1F08 80218A58 AFB10014 */ sw $s1, 0x14($sp)
/* 5B1F0C 80218A5C 0080882D */ daddu $s1, $a0, $zero
/* 5B1F10 80218A60 AFBF0020 */ sw $ra, 0x20($sp)
/* 5B1F14 80218A64 AFB3001C */ sw $s3, 0x1c($sp)
/* 5B1F18 80218A68 AFB20018 */ sw $s2, 0x18($sp)
/* 5B1F1C 80218A6C AFB00010 */ sw $s0, 0x10($sp)
/* 5B1F20 80218A70 8E30000C */ lw $s0, 0xc($s1)
/* 5B1F24 80218A74 8E050000 */ lw $a1, ($s0)
/* 5B1F28 80218A78 0C0B1EAF */ jal get_variable
/* 5B1F2C 80218A7C 26100004 */ addiu $s0, $s0, 4
/* 5B1F30 80218A80 8E050000 */ lw $a1, ($s0)
/* 5B1F34 80218A84 26100004 */ addiu $s0, $s0, 4
/* 5B1F38 80218A88 0220202D */ daddu $a0, $s1, $zero
/* 5B1F3C 80218A8C 0C0B1EAF */ jal get_variable
/* 5B1F40 80218A90 0040982D */ daddu $s3, $v0, $zero
/* 5B1F44 80218A94 8E050000 */ lw $a1, ($s0)
/* 5B1F48 80218A98 26100004 */ addiu $s0, $s0, 4
/* 5B1F4C 80218A9C 0220202D */ daddu $a0, $s1, $zero
/* 5B1F50 80218AA0 0C0B1EAF */ jal get_variable
/* 5B1F54 80218AA4 0040902D */ daddu $s2, $v0, $zero
/* 5B1F58 80218AA8 0220202D */ daddu $a0, $s1, $zero
/* 5B1F5C 80218AAC 8E050000 */ lw $a1, ($s0)
/* 5B1F60 80218AB0 0C0B1EAF */ jal get_variable
/* 5B1F64 80218AB4 0040802D */ daddu $s0, $v0, $zero
/* 5B1F68 80218AB8 8E240148 */ lw $a0, 0x148($s1)
/* 5B1F6C 80218ABC 0C09A75B */ jal get_actor
/* 5B1F70 80218AC0 0040882D */ daddu $s1, $v0, $zero
/* 5B1F74 80218AC4 0040182D */ daddu $v1, $v0, $zero
/* 5B1F78 80218AC8 8C620008 */ lw $v0, 8($v1)
/* 5B1F7C 80218ACC 90420024 */ lbu $v0, 0x24($v0)
/* 5B1F80 80218AD0 8C640008 */ lw $a0, 8($v1)
/* 5B1F84 80218AD4 02629823 */ subu $s3, $s3, $v0
/* 5B1F88 80218AD8 A0730194 */ sb $s3, 0x194($v1)
/* 5B1F8C 80218ADC 90820025 */ lbu $v0, 0x25($a0)
/* 5B1F90 80218AE0 02429023 */ subu $s2, $s2, $v0
/* 5B1F94 80218AE4 A0720195 */ sb $s2, 0x195($v1)
/* 5B1F98 80218AE8 90820026 */ lbu $v0, 0x26($a0)
/* 5B1F9C 80218AEC 02028023 */ subu $s0, $s0, $v0
/* 5B1FA0 80218AF0 A0700196 */ sb $s0, 0x196($v1)
/* 5B1FA4 80218AF4 90840027 */ lbu $a0, 0x27($a0)
/* 5B1FA8 80218AF8 02248823 */ subu $s1, $s1, $a0
/* 5B1FAC 80218AFC A0710197 */ sb $s1, 0x197($v1)
/* 5B1FB0 80218B00 8FBF0020 */ lw $ra, 0x20($sp)
/* 5B1FB4 80218B04 8FB3001C */ lw $s3, 0x1c($sp)
/* 5B1FB8 80218B08 8FB20018 */ lw $s2, 0x18($sp)
/* 5B1FBC 80218B0C 8FB10014 */ lw $s1, 0x14($sp)
/* 5B1FC0 80218B10 8FB00010 */ lw $s0, 0x10($sp)
/* 5B1FC4 80218B14 24020002 */ addiu $v0, $zero, 2
/* 5B1FC8 80218B18 03E00008 */ jr $ra
/* 5B1FCC 80218B1C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218B20_5B1FD0
/* 5B1FD0 80218B20 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 5B1FD4 80218B24 AFB10014 */ sw $s1, 0x14($sp)
/* 5B1FD8 80218B28 0080882D */ daddu $s1, $a0, $zero
/* 5B1FDC 80218B2C AFBF0018 */ sw $ra, 0x18($sp)
/* 5B1FE0 80218B30 AFB00010 */ sw $s0, 0x10($sp)
/* 5B1FE4 80218B34 8E30000C */ lw $s0, 0xc($s1)
/* 5B1FE8 80218B38 8E050000 */ lw $a1, ($s0)
/* 5B1FEC 80218B3C 0C0B1EAF */ jal get_variable
/* 5B1FF0 80218B40 26100004 */ addiu $s0, $s0, 4
/* 5B1FF4 80218B44 0220202D */ daddu $a0, $s1, $zero
/* 5B1FF8 80218B48 8E050000 */ lw $a1, ($s0)
/* 5B1FFC 80218B4C 0C0B1EAF */ jal get_variable
/* 5B2000 80218B50 0040802D */ daddu $s0, $v0, $zero
/* 5B2004 80218B54 0200202D */ daddu $a0, $s0, $zero
/* 5B2008 80218B58 0C00A3C2 */ jal start_rumble
/* 5B200C 80218B5C 0040282D */ daddu $a1, $v0, $zero
/* 5B2010 80218B60 8FBF0018 */ lw $ra, 0x18($sp)
/* 5B2014 80218B64 8FB10014 */ lw $s1, 0x14($sp)
/* 5B2018 80218B68 8FB00010 */ lw $s0, 0x10($sp)
/* 5B201C 80218B6C 24020002 */ addiu $v0, $zero, 2
/* 5B2020 80218B70 03E00008 */ jr $ra
/* 5B2024 80218B74 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,59 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218B78_5B2028
/* 5B2028 80218B78 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 5B202C 80218B7C AFB10014 */ sw $s1, 0x14($sp)
/* 5B2030 80218B80 0080882D */ daddu $s1, $a0, $zero
/* 5B2034 80218B84 AFBF0018 */ sw $ra, 0x18($sp)
/* 5B2038 80218B88 AFB00010 */ sw $s0, 0x10($sp)
/* 5B203C 80218B8C 8E30000C */ lw $s0, 0xc($s1)
/* 5B2040 80218B90 8E050000 */ lw $a1, ($s0)
/* 5B2044 80218B94 0C0B1EAF */ jal get_variable
/* 5B2048 80218B98 26100004 */ addiu $s0, $s0, 4
/* 5B204C 80218B9C 0040202D */ daddu $a0, $v0, $zero
/* 5B2050 80218BA0 2402FF81 */ addiu $v0, $zero, -0x7f
/* 5B2054 80218BA4 14820002 */ bne $a0, $v0, .L80218BB0
/* 5B2058 80218BA8 00000000 */ nop
/* 5B205C 80218BAC 8E240148 */ lw $a0, 0x148($s1)
.L80218BB0:
/* 5B2060 80218BB0 0C09A75B */ jal get_actor
/* 5B2064 80218BB4 00000000 */ nop
/* 5B2068 80218BB8 0040202D */ daddu $a0, $v0, $zero
/* 5B206C 80218BBC 90830136 */ lbu $v1, 0x136($a0)
/* 5B2070 80218BC0 24020047 */ addiu $v0, $zero, 0x47
/* 5B2074 80218BC4 1062000B */ beq $v1, $v0, .L80218BF4
/* 5B2078 80218BC8 0062102A */ slt $v0, $v1, $v0
/* 5B207C 80218BCC 54400011 */ bnel $v0, $zero, .L80218C14
/* 5B2080 80218BD0 0220202D */ daddu $a0, $s1, $zero
/* 5B2084 80218BD4 28620065 */ slti $v0, $v1, 0x65
/* 5B2088 80218BD8 1040000D */ beqz $v0, .L80218C10
/* 5B208C 80218BDC 2862004D */ slti $v0, $v1, 0x4d
/* 5B2090 80218BE0 1440000C */ bnez $v0, .L80218C14
/* 5B2094 80218BE4 0220202D */ daddu $a0, $s1, $zero
/* 5B2098 80218BE8 8E050000 */ lw $a1, ($s0)
/* 5B209C 80218BEC 08086307 */ j .L80218C1C
/* 5B20A0 80218BF0 2406FFFF */ addiu $a2, $zero, -1
.L80218BF4:
/* 5B20A4 80218BF4 8C8300A8 */ lw $v1, 0xa8($a0)
/* 5B20A8 80218BF8 24020001 */ addiu $v0, $zero, 1
/* 5B20AC 80218BFC 14620005 */ bne $v1, $v0, .L80218C14
/* 5B20B0 80218C00 0220202D */ daddu $a0, $s1, $zero
/* 5B20B4 80218C04 8E050000 */ lw $a1, ($s0)
/* 5B20B8 80218C08 08086307 */ j .L80218C1C
/* 5B20BC 80218C0C 2406FFFF */ addiu $a2, $zero, -1
.L80218C10:
/* 5B20C0 80218C10 0220202D */ daddu $a0, $s1, $zero
.L80218C14:
/* 5B20C4 80218C14 8E050000 */ lw $a1, ($s0)
/* 5B20C8 80218C18 0000302D */ daddu $a2, $zero, $zero
.L80218C1C:
/* 5B20CC 80218C1C 0C0B2026 */ jal set_variable
/* 5B20D0 80218C20 00000000 */ nop
/* 5B20D4 80218C24 8FBF0018 */ lw $ra, 0x18($sp)
/* 5B20D8 80218C28 8FB10014 */ lw $s1, 0x14($sp)
/* 5B20DC 80218C2C 8FB00010 */ lw $s0, 0x10($sp)
/* 5B20E0 80218C30 24020002 */ addiu $v0, $zero, 2
/* 5B20E4 80218C34 03E00008 */ jr $ra
/* 5B20E8 80218C38 27BD0020 */ addiu $sp, $sp, 0x20
/* 5B20EC 80218C3C 00000000 */ nop

View File

@ -0,0 +1,91 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218C40_5B20F0
/* 5B20F0 80218C40 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 5B20F4 80218C44 AFB10024 */ sw $s1, 0x24($sp)
/* 5B20F8 80218C48 0080882D */ daddu $s1, $a0, $zero
/* 5B20FC 80218C4C AFBF0028 */ sw $ra, 0x28($sp)
/* 5B2100 80218C50 AFB00020 */ sw $s0, 0x20($sp)
/* 5B2104 80218C54 F7BE0058 */ sdc1 $f30, 0x58($sp)
/* 5B2108 80218C58 F7BC0050 */ sdc1 $f28, 0x50($sp)
/* 5B210C 80218C5C F7BA0048 */ sdc1 $f26, 0x48($sp)
/* 5B2110 80218C60 F7B80040 */ sdc1 $f24, 0x40($sp)
/* 5B2114 80218C64 F7B60038 */ sdc1 $f22, 0x38($sp)
/* 5B2118 80218C68 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 5B211C 80218C6C 8E30000C */ lw $s0, 0xc($s1)
/* 5B2120 80218C70 8E050000 */ lw $a1, ($s0)
/* 5B2124 80218C74 0C0B210B */ jal get_float_variable
/* 5B2128 80218C78 26100004 */ addiu $s0, $s0, 4
/* 5B212C 80218C7C 8E050000 */ lw $a1, ($s0)
/* 5B2130 80218C80 26100004 */ addiu $s0, $s0, 4
/* 5B2134 80218C84 0220202D */ daddu $a0, $s1, $zero
/* 5B2138 80218C88 0C0B210B */ jal get_float_variable
/* 5B213C 80218C8C 46000786 */ mov.s $f30, $f0
/* 5B2140 80218C90 8E050000 */ lw $a1, ($s0)
/* 5B2144 80218C94 26100004 */ addiu $s0, $s0, 4
/* 5B2148 80218C98 0220202D */ daddu $a0, $s1, $zero
/* 5B214C 80218C9C 0C0B210B */ jal get_float_variable
/* 5B2150 80218CA0 46000506 */ mov.s $f20, $f0
/* 5B2154 80218CA4 8E050000 */ lw $a1, ($s0)
/* 5B2158 80218CA8 26100004 */ addiu $s0, $s0, 4
/* 5B215C 80218CAC 0220202D */ daddu $a0, $s1, $zero
/* 5B2160 80218CB0 0C0B210B */ jal get_float_variable
/* 5B2164 80218CB4 46000706 */ mov.s $f28, $f0
/* 5B2168 80218CB8 8E050000 */ lw $a1, ($s0)
/* 5B216C 80218CBC 26100004 */ addiu $s0, $s0, 4
/* 5B2170 80218CC0 0220202D */ daddu $a0, $s1, $zero
/* 5B2174 80218CC4 0C0B210B */ jal get_float_variable
/* 5B2178 80218CC8 46000686 */ mov.s $f26, $f0
/* 5B217C 80218CCC 8E050000 */ lw $a1, ($s0)
/* 5B2180 80218CD0 26100004 */ addiu $s0, $s0, 4
/* 5B2184 80218CD4 0220202D */ daddu $a0, $s1, $zero
/* 5B2188 80218CD8 0C0B210B */ jal get_float_variable
/* 5B218C 80218CDC 46000606 */ mov.s $f24, $f0
/* 5B2190 80218CE0 0220202D */ daddu $a0, $s1, $zero
/* 5B2194 80218CE4 8E050000 */ lw $a1, ($s0)
/* 5B2198 80218CE8 0C0B1EAF */ jal get_variable
/* 5B219C 80218CEC 46000586 */ mov.s $f22, $f0
/* 5B21A0 80218CF0 8E240148 */ lw $a0, 0x148($s1)
/* 5B21A4 80218CF4 0C09A75B */ jal get_actor
/* 5B21A8 80218CF8 0040802D */ daddu $s0, $v0, $zero
/* 5B21AC 80218CFC 4600A521 */ cvt.d.s $f20, $f20
/* 5B21B0 80218D00 4405F000 */ mfc1 $a1, $f30
/* 5B21B4 80218D04 3C014014 */ lui $at, 0x4014
/* 5B21B8 80218D08 44810800 */ mtc1 $at, $f1
/* 5B21BC 80218D0C 44800000 */ mtc1 $zero, $f0
/* 5B21C0 80218D10 4407E000 */ mfc1 $a3, $f28
/* 5B21C4 80218D14 4620A500 */ add.d $f20, $f20, $f0
/* 5B21C8 80218D18 0000202D */ daddu $a0, $zero, $zero
/* 5B21CC 80218D1C AFB0001C */ sw $s0, 0x1c($sp)
/* 5B21D0 80218D20 4620A520 */ cvt.s.d $f20, $f20
/* 5B21D4 80218D24 4406A000 */ mfc1 $a2, $f20
/* 5B21D8 80218D28 0040802D */ daddu $s0, $v0, $zero
/* 5B21DC 80218D2C E7BA0010 */ swc1 $f26, 0x10($sp)
/* 5B21E0 80218D30 E7B80014 */ swc1 $f24, 0x14($sp)
/* 5B21E4 80218D34 0C01BFD4 */ jal func_8006FF50
/* 5B21E8 80218D38 E7B60018 */ swc1 $f22, 0x18($sp)
/* 5B21EC 80218D3C 0040202D */ daddu $a0, $v0, $zero
/* 5B21F0 80218D40 82030210 */ lb $v1, 0x210($s0)
/* 5B21F4 80218D44 2402000A */ addiu $v0, $zero, 0xa
/* 5B21F8 80218D48 14620007 */ bne $v1, $v0, .L80218D68
/* 5B21FC 80218D4C 00000000 */ nop
/* 5B2200 80218D50 8C82000C */ lw $v0, 0xc($a0)
/* 5B2204 80218D54 3C013ECC */ lui $at, 0x3ecc
/* 5B2208 80218D58 3421CCCD */ ori $at, $at, 0xcccd
/* 5B220C 80218D5C 44810000 */ mtc1 $at, $f0
/* 5B2210 80218D60 00000000 */ nop
/* 5B2214 80218D64 E4400028 */ swc1 $f0, 0x28($v0)
.L80218D68:
/* 5B2218 80218D68 8FBF0028 */ lw $ra, 0x28($sp)
/* 5B221C 80218D6C 8FB10024 */ lw $s1, 0x24($sp)
/* 5B2220 80218D70 8FB00020 */ lw $s0, 0x20($sp)
/* 5B2224 80218D74 D7BE0058 */ ldc1 $f30, 0x58($sp)
/* 5B2228 80218D78 D7BC0050 */ ldc1 $f28, 0x50($sp)
/* 5B222C 80218D7C D7BA0048 */ ldc1 $f26, 0x48($sp)
/* 5B2230 80218D80 D7B80040 */ ldc1 $f24, 0x40($sp)
/* 5B2234 80218D84 D7B60038 */ ldc1 $f22, 0x38($sp)
/* 5B2238 80218D88 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 5B223C 80218D8C 24020002 */ addiu $v0, $zero, 2
/* 5B2240 80218D90 03E00008 */ jr $ra
/* 5B2244 80218D94 27BD0060 */ addiu $sp, $sp, 0x60

View File

@ -0,0 +1,15 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218D98_5B2248
/* 5B2248 80218D98 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 5B224C 80218D9C AFBF0010 */ sw $ra, 0x10($sp)
/* 5B2250 80218DA0 8C82000C */ lw $v0, 0xc($a0)
/* 5B2254 80218DA4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
/* 5B2258 80218DA8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
/* 5B225C 80218DAC 0C0B2026 */ jal set_variable
/* 5B2260 80218DB0 8C450000 */ lw $a1, ($v0)
/* 5B2264 80218DB4 8FBF0010 */ lw $ra, 0x10($sp)
/* 5B2268 80218DB8 24020002 */ addiu $v0, $zero, 2
/* 5B226C 80218DBC 03E00008 */ jr $ra
/* 5B2270 80218DC0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218DC4_5B2274
/* 5B2274 80218DC4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 5B2278 80218DC8 AFB10014 */ sw $s1, 0x14($sp)
/* 5B227C 80218DCC 0080882D */ daddu $s1, $a0, $zero
/* 5B2280 80218DD0 AFBF0020 */ sw $ra, 0x20($sp)
/* 5B2284 80218DD4 AFB3001C */ sw $s3, 0x1c($sp)
/* 5B2288 80218DD8 AFB20018 */ sw $s2, 0x18($sp)
/* 5B228C 80218DDC AFB00010 */ sw $s0, 0x10($sp)
/* 5B2290 80218DE0 8E30000C */ lw $s0, 0xc($s1)
/* 5B2294 80218DE4 8E050000 */ lw $a1, ($s0)
/* 5B2298 80218DE8 0C0B1EAF */ jal get_variable
/* 5B229C 80218DEC 26100004 */ addiu $s0, $s0, 4
/* 5B22A0 80218DF0 8E050000 */ lw $a1, ($s0)
/* 5B22A4 80218DF4 26100004 */ addiu $s0, $s0, 4
/* 5B22A8 80218DF8 0220202D */ daddu $a0, $s1, $zero
/* 5B22AC 80218DFC 0C0B1EAF */ jal get_variable
/* 5B22B0 80218E00 0040982D */ daddu $s3, $v0, $zero
/* 5B22B4 80218E04 8E050000 */ lw $a1, ($s0)
/* 5B22B8 80218E08 26100004 */ addiu $s0, $s0, 4
/* 5B22BC 80218E0C 0220202D */ daddu $a0, $s1, $zero
/* 5B22C0 80218E10 0C0B1EAF */ jal get_variable
/* 5B22C4 80218E14 0040902D */ daddu $s2, $v0, $zero
/* 5B22C8 80218E18 0220202D */ daddu $a0, $s1, $zero
/* 5B22CC 80218E1C 8E050000 */ lw $a1, ($s0)
/* 5B22D0 80218E20 0C0B1EAF */ jal get_variable
/* 5B22D4 80218E24 0040802D */ daddu $s0, $v0, $zero
/* 5B22D8 80218E28 8E240148 */ lw $a0, 0x148($s1)
/* 5B22DC 80218E2C 0C09A75B */ jal get_actor
/* 5B22E0 80218E30 0040882D */ daddu $s1, $v0, $zero
/* 5B22E4 80218E34 0040182D */ daddu $v1, $v0, $zero
/* 5B22E8 80218E38 8C620008 */ lw $v0, 8($v1)
/* 5B22EC 80218E3C 90420024 */ lbu $v0, 0x24($v0)
/* 5B22F0 80218E40 8C640008 */ lw $a0, 8($v1)
/* 5B22F4 80218E44 02629823 */ subu $s3, $s3, $v0
/* 5B22F8 80218E48 A0730194 */ sb $s3, 0x194($v1)
/* 5B22FC 80218E4C 90820025 */ lbu $v0, 0x25($a0)
/* 5B2300 80218E50 02429023 */ subu $s2, $s2, $v0
/* 5B2304 80218E54 A0720195 */ sb $s2, 0x195($v1)
/* 5B2308 80218E58 90820026 */ lbu $v0, 0x26($a0)
/* 5B230C 80218E5C 02028023 */ subu $s0, $s0, $v0
/* 5B2310 80218E60 A0700196 */ sb $s0, 0x196($v1)
/* 5B2314 80218E64 90840027 */ lbu $a0, 0x27($a0)
/* 5B2318 80218E68 02248823 */ subu $s1, $s1, $a0
/* 5B231C 80218E6C A0710197 */ sb $s1, 0x197($v1)
/* 5B2320 80218E70 8FBF0020 */ lw $ra, 0x20($sp)
/* 5B2324 80218E74 8FB3001C */ lw $s3, 0x1c($sp)
/* 5B2328 80218E78 8FB20018 */ lw $s2, 0x18($sp)
/* 5B232C 80218E7C 8FB10014 */ lw $s1, 0x14($sp)
/* 5B2330 80218E80 8FB00010 */ lw $s0, 0x10($sp)
/* 5B2334 80218E84 24020002 */ addiu $v0, $zero, 2
/* 5B2338 80218E88 03E00008 */ jr $ra
/* 5B233C 80218E8C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218E90_5B2340
/* 5B2340 80218E90 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 5B2344 80218E94 AFB10014 */ sw $s1, 0x14($sp)
/* 5B2348 80218E98 0080882D */ daddu $s1, $a0, $zero
/* 5B234C 80218E9C AFBF0018 */ sw $ra, 0x18($sp)
/* 5B2350 80218EA0 AFB00010 */ sw $s0, 0x10($sp)
/* 5B2354 80218EA4 8E30000C */ lw $s0, 0xc($s1)
/* 5B2358 80218EA8 8E050000 */ lw $a1, ($s0)
/* 5B235C 80218EAC 0C0B1EAF */ jal get_variable
/* 5B2360 80218EB0 26100004 */ addiu $s0, $s0, 4
/* 5B2364 80218EB4 0220202D */ daddu $a0, $s1, $zero
/* 5B2368 80218EB8 8E050000 */ lw $a1, ($s0)
/* 5B236C 80218EBC 0C0B1EAF */ jal get_variable
/* 5B2370 80218EC0 0040802D */ daddu $s0, $v0, $zero
/* 5B2374 80218EC4 0200202D */ daddu $a0, $s0, $zero
/* 5B2378 80218EC8 0C00A3C2 */ jal start_rumble
/* 5B237C 80218ECC 0040282D */ daddu $a1, $v0, $zero
/* 5B2380 80218ED0 8FBF0018 */ lw $ra, 0x18($sp)
/* 5B2384 80218ED4 8FB10014 */ lw $s1, 0x14($sp)
/* 5B2388 80218ED8 8FB00010 */ lw $s0, 0x10($sp)
/* 5B238C 80218EDC 24020002 */ addiu $v0, $zero, 2
/* 5B2390 80218EE0 03E00008 */ jr $ra
/* 5B2394 80218EE4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,58 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218EE8_5B2398
/* 5B2398 80218EE8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 5B239C 80218EEC AFB10014 */ sw $s1, 0x14($sp)
/* 5B23A0 80218EF0 0080882D */ daddu $s1, $a0, $zero
/* 5B23A4 80218EF4 AFBF0018 */ sw $ra, 0x18($sp)
/* 5B23A8 80218EF8 AFB00010 */ sw $s0, 0x10($sp)
/* 5B23AC 80218EFC 8E30000C */ lw $s0, 0xc($s1)
/* 5B23B0 80218F00 8E050000 */ lw $a1, ($s0)
/* 5B23B4 80218F04 0C0B1EAF */ jal get_variable
/* 5B23B8 80218F08 26100004 */ addiu $s0, $s0, 4
/* 5B23BC 80218F0C 0040202D */ daddu $a0, $v0, $zero
/* 5B23C0 80218F10 2402FF81 */ addiu $v0, $zero, -0x7f
/* 5B23C4 80218F14 14820002 */ bne $a0, $v0, .L80218F20
/* 5B23C8 80218F18 00000000 */ nop
/* 5B23CC 80218F1C 8E240148 */ lw $a0, 0x148($s1)
.L80218F20:
/* 5B23D0 80218F20 0C09A75B */ jal get_actor
/* 5B23D4 80218F24 00000000 */ nop
/* 5B23D8 80218F28 0040202D */ daddu $a0, $v0, $zero
/* 5B23DC 80218F2C 90830136 */ lbu $v1, 0x136($a0)
/* 5B23E0 80218F30 24020047 */ addiu $v0, $zero, 0x47
/* 5B23E4 80218F34 1062000B */ beq $v1, $v0, .L80218F64
/* 5B23E8 80218F38 0062102A */ slt $v0, $v1, $v0
/* 5B23EC 80218F3C 54400011 */ bnel $v0, $zero, .L80218F84
/* 5B23F0 80218F40 0220202D */ daddu $a0, $s1, $zero
/* 5B23F4 80218F44 28620065 */ slti $v0, $v1, 0x65
/* 5B23F8 80218F48 1040000D */ beqz $v0, .L80218F80
/* 5B23FC 80218F4C 2862004D */ slti $v0, $v1, 0x4d
/* 5B2400 80218F50 1440000C */ bnez $v0, .L80218F84
/* 5B2404 80218F54 0220202D */ daddu $a0, $s1, $zero
/* 5B2408 80218F58 8E050000 */ lw $a1, ($s0)
/* 5B240C 80218F5C 080863E3 */ j .L80218F8C
/* 5B2410 80218F60 2406FFFF */ addiu $a2, $zero, -1
.L80218F64:
/* 5B2414 80218F64 8C8300A8 */ lw $v1, 0xa8($a0)
/* 5B2418 80218F68 24020001 */ addiu $v0, $zero, 1
/* 5B241C 80218F6C 14620005 */ bne $v1, $v0, .L80218F84
/* 5B2420 80218F70 0220202D */ daddu $a0, $s1, $zero
/* 5B2424 80218F74 8E050000 */ lw $a1, ($s0)
/* 5B2428 80218F78 080863E3 */ j .L80218F8C
/* 5B242C 80218F7C 2406FFFF */ addiu $a2, $zero, -1
.L80218F80:
/* 5B2430 80218F80 0220202D */ daddu $a0, $s1, $zero
.L80218F84:
/* 5B2434 80218F84 8E050000 */ lw $a1, ($s0)
/* 5B2438 80218F88 0000302D */ daddu $a2, $zero, $zero
.L80218F8C:
/* 5B243C 80218F8C 0C0B2026 */ jal set_variable
/* 5B2440 80218F90 00000000 */ nop
/* 5B2444 80218F94 8FBF0018 */ lw $ra, 0x18($sp)
/* 5B2448 80218F98 8FB10014 */ lw $s1, 0x14($sp)
/* 5B244C 80218F9C 8FB00010 */ lw $s0, 0x10($sp)
/* 5B2450 80218FA0 24020002 */ addiu $v0, $zero, 2
/* 5B2454 80218FA4 03E00008 */ jr $ra
/* 5B2458 80218FA8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,28 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218FAC_5B245C
/* 5B245C 80218FAC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 5B2460 80218FB0 AFB10014 */ sw $s1, 0x14($sp)
/* 5B2464 80218FB4 0080882D */ daddu $s1, $a0, $zero
/* 5B2468 80218FB8 AFB20018 */ sw $s2, 0x18($sp)
/* 5B246C 80218FBC 3C128011 */ lui $s2, %hi(gPlayerData)
/* 5B2470 80218FC0 2652F290 */ addiu $s2, $s2, %lo(gPlayerData)
/* 5B2474 80218FC4 AFBF001C */ sw $ra, 0x1c($sp)
/* 5B2478 80218FC8 AFB00010 */ sw $s0, 0x10($sp)
/* 5B247C 80218FCC 8E30000C */ lw $s0, 0xc($s1)
/* 5B2480 80218FD0 82460000 */ lb $a2, ($s2)
/* 5B2484 80218FD4 8E050000 */ lw $a1, ($s0)
/* 5B2488 80218FD8 0C0B2026 */ jal set_variable
/* 5B248C 80218FDC 26100004 */ addiu $s0, $s0, 4
/* 5B2490 80218FE0 8E050000 */ lw $a1, ($s0)
/* 5B2494 80218FE4 82460001 */ lb $a2, 1($s2)
/* 5B2498 80218FE8 0C0B2026 */ jal set_variable
/* 5B249C 80218FEC 0220202D */ daddu $a0, $s1, $zero
/* 5B24A0 80218FF0 8FBF001C */ lw $ra, 0x1c($sp)
/* 5B24A4 80218FF4 8FB20018 */ lw $s2, 0x18($sp)
/* 5B24A8 80218FF8 8FB10014 */ lw $s1, 0x14($sp)
/* 5B24AC 80218FFC 8FB00010 */ lw $s0, 0x10($sp)
/* 5B24B0 80219000 24020002 */ addiu $v0, $zero, 2
/* 5B24B4 80219004 03E00008 */ jr $ra
/* 5B24B8 80219008 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,46 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021900C_5B24BC
/* 5B24BC 8021900C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 5B24C0 80219010 AFB3001C */ sw $s3, 0x1c($sp)
/* 5B24C4 80219014 0080982D */ daddu $s3, $a0, $zero
/* 5B24C8 80219018 AFBF0020 */ sw $ra, 0x20($sp)
/* 5B24CC 8021901C AFB20018 */ sw $s2, 0x18($sp)
/* 5B24D0 80219020 AFB10014 */ sw $s1, 0x14($sp)
/* 5B24D4 80219024 AFB00010 */ sw $s0, 0x10($sp)
/* 5B24D8 80219028 8E70000C */ lw $s0, 0xc($s3)
/* 5B24DC 8021902C 8E050000 */ lw $a1, ($s0)
/* 5B24E0 80219030 0C0B1EAF */ jal get_variable
/* 5B24E4 80219034 26100004 */ addiu $s0, $s0, 4
/* 5B24E8 80219038 0040882D */ daddu $s1, $v0, $zero
/* 5B24EC 8021903C 8E050000 */ lw $a1, ($s0)
/* 5B24F0 80219040 26100004 */ addiu $s0, $s0, 4
/* 5B24F4 80219044 0C0B1EAF */ jal get_variable
/* 5B24F8 80219048 0260202D */ daddu $a0, $s3, $zero
/* 5B24FC 8021904C 0040902D */ daddu $s2, $v0, $zero
/* 5B2500 80219050 2402FF81 */ addiu $v0, $zero, -0x7f
/* 5B2504 80219054 16220002 */ bne $s1, $v0, .L80219060
/* 5B2508 80219058 00000000 */ nop
/* 5B250C 8021905C 8E710148 */ lw $s1, 0x148($s3)
.L80219060:
/* 5B2510 80219060 0C09A75B */ jal get_actor
/* 5B2514 80219064 0220202D */ daddu $a0, $s1, $zero
/* 5B2518 80219068 0040202D */ daddu $a0, $v0, $zero
/* 5B251C 8021906C 0C099117 */ jal get_actor_part
/* 5B2520 80219070 0240282D */ daddu $a1, $s2, $zero
/* 5B2524 80219074 8C440078 */ lw $a0, 0x78($v0)
/* 5B2528 80219078 0C099791 */ jal lookup_defense
/* 5B252C 8021907C 24050001 */ addiu $a1, $zero, 1
/* 5B2530 80219080 0260202D */ daddu $a0, $s3, $zero
/* 5B2534 80219084 8E050000 */ lw $a1, ($s0)
/* 5B2538 80219088 0C0B2026 */ jal set_variable
/* 5B253C 8021908C 0040302D */ daddu $a2, $v0, $zero
/* 5B2540 80219090 8FBF0020 */ lw $ra, 0x20($sp)
/* 5B2544 80219094 8FB3001C */ lw $s3, 0x1c($sp)
/* 5B2548 80219098 8FB20018 */ lw $s2, 0x18($sp)
/* 5B254C 8021909C 8FB10014 */ lw $s1, 0x14($sp)
/* 5B2550 802190A0 8FB00010 */ lw $s0, 0x10($sp)
/* 5B2554 802190A4 24020002 */ addiu $v0, $zero, 2
/* 5B2558 802190A8 03E00008 */ jr $ra
/* 5B255C 802190AC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,91 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802190B0_5B2560
/* 5B2560 802190B0 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 5B2564 802190B4 AFB10024 */ sw $s1, 0x24($sp)
/* 5B2568 802190B8 0080882D */ daddu $s1, $a0, $zero
/* 5B256C 802190BC AFBF0028 */ sw $ra, 0x28($sp)
/* 5B2570 802190C0 AFB00020 */ sw $s0, 0x20($sp)
/* 5B2574 802190C4 F7BE0058 */ sdc1 $f30, 0x58($sp)
/* 5B2578 802190C8 F7BC0050 */ sdc1 $f28, 0x50($sp)
/* 5B257C 802190CC F7BA0048 */ sdc1 $f26, 0x48($sp)
/* 5B2580 802190D0 F7B80040 */ sdc1 $f24, 0x40($sp)
/* 5B2584 802190D4 F7B60038 */ sdc1 $f22, 0x38($sp)
/* 5B2588 802190D8 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 5B258C 802190DC 8E30000C */ lw $s0, 0xc($s1)
/* 5B2590 802190E0 8E050000 */ lw $a1, ($s0)
/* 5B2594 802190E4 0C0B210B */ jal get_float_variable
/* 5B2598 802190E8 26100004 */ addiu $s0, $s0, 4
/* 5B259C 802190EC 8E050000 */ lw $a1, ($s0)
/* 5B25A0 802190F0 26100004 */ addiu $s0, $s0, 4
/* 5B25A4 802190F4 0220202D */ daddu $a0, $s1, $zero
/* 5B25A8 802190F8 0C0B210B */ jal get_float_variable
/* 5B25AC 802190FC 46000786 */ mov.s $f30, $f0
/* 5B25B0 80219100 8E050000 */ lw $a1, ($s0)
/* 5B25B4 80219104 26100004 */ addiu $s0, $s0, 4
/* 5B25B8 80219108 0220202D */ daddu $a0, $s1, $zero
/* 5B25BC 8021910C 0C0B210B */ jal get_float_variable
/* 5B25C0 80219110 46000506 */ mov.s $f20, $f0
/* 5B25C4 80219114 8E050000 */ lw $a1, ($s0)
/* 5B25C8 80219118 26100004 */ addiu $s0, $s0, 4
/* 5B25CC 8021911C 0220202D */ daddu $a0, $s1, $zero
/* 5B25D0 80219120 0C0B210B */ jal get_float_variable
/* 5B25D4 80219124 46000706 */ mov.s $f28, $f0
/* 5B25D8 80219128 8E050000 */ lw $a1, ($s0)
/* 5B25DC 8021912C 26100004 */ addiu $s0, $s0, 4
/* 5B25E0 80219130 0220202D */ daddu $a0, $s1, $zero
/* 5B25E4 80219134 0C0B210B */ jal get_float_variable
/* 5B25E8 80219138 46000686 */ mov.s $f26, $f0
/* 5B25EC 8021913C 8E050000 */ lw $a1, ($s0)
/* 5B25F0 80219140 26100004 */ addiu $s0, $s0, 4
/* 5B25F4 80219144 0220202D */ daddu $a0, $s1, $zero
/* 5B25F8 80219148 0C0B210B */ jal get_float_variable
/* 5B25FC 8021914C 46000606 */ mov.s $f24, $f0
/* 5B2600 80219150 0220202D */ daddu $a0, $s1, $zero
/* 5B2604 80219154 8E050000 */ lw $a1, ($s0)
/* 5B2608 80219158 0C0B1EAF */ jal get_variable
/* 5B260C 8021915C 46000586 */ mov.s $f22, $f0
/* 5B2610 80219160 8E240148 */ lw $a0, 0x148($s1)
/* 5B2614 80219164 0C09A75B */ jal get_actor
/* 5B2618 80219168 0040802D */ daddu $s0, $v0, $zero
/* 5B261C 8021916C 4600A521 */ cvt.d.s $f20, $f20
/* 5B2620 80219170 4405F000 */ mfc1 $a1, $f30
/* 5B2624 80219174 3C014014 */ lui $at, 0x4014
/* 5B2628 80219178 44810800 */ mtc1 $at, $f1
/* 5B262C 8021917C 44800000 */ mtc1 $zero, $f0
/* 5B2630 80219180 4407E000 */ mfc1 $a3, $f28
/* 5B2634 80219184 4620A500 */ add.d $f20, $f20, $f0
/* 5B2638 80219188 0000202D */ daddu $a0, $zero, $zero
/* 5B263C 8021918C AFB0001C */ sw $s0, 0x1c($sp)
/* 5B2640 80219190 4620A520 */ cvt.s.d $f20, $f20
/* 5B2644 80219194 4406A000 */ mfc1 $a2, $f20
/* 5B2648 80219198 0040802D */ daddu $s0, $v0, $zero
/* 5B264C 8021919C E7BA0010 */ swc1 $f26, 0x10($sp)
/* 5B2650 802191A0 E7B80014 */ swc1 $f24, 0x14($sp)
/* 5B2654 802191A4 0C01BFD4 */ jal func_8006FF50
/* 5B2658 802191A8 E7B60018 */ swc1 $f22, 0x18($sp)
/* 5B265C 802191AC 0040202D */ daddu $a0, $v0, $zero
/* 5B2660 802191B0 82030210 */ lb $v1, 0x210($s0)
/* 5B2664 802191B4 2402000A */ addiu $v0, $zero, 0xa
/* 5B2668 802191B8 14620007 */ bne $v1, $v0, .L802191D8
/* 5B266C 802191BC 00000000 */ nop
/* 5B2670 802191C0 8C82000C */ lw $v0, 0xc($a0)
/* 5B2674 802191C4 3C013ECC */ lui $at, 0x3ecc
/* 5B2678 802191C8 3421CCCD */ ori $at, $at, 0xcccd
/* 5B267C 802191CC 44810000 */ mtc1 $at, $f0
/* 5B2680 802191D0 00000000 */ nop
/* 5B2684 802191D4 E4400028 */ swc1 $f0, 0x28($v0)
.L802191D8:
/* 5B2688 802191D8 8FBF0028 */ lw $ra, 0x28($sp)
/* 5B268C 802191DC 8FB10024 */ lw $s1, 0x24($sp)
/* 5B2690 802191E0 8FB00020 */ lw $s0, 0x20($sp)
/* 5B2694 802191E4 D7BE0058 */ ldc1 $f30, 0x58($sp)
/* 5B2698 802191E8 D7BC0050 */ ldc1 $f28, 0x50($sp)
/* 5B269C 802191EC D7BA0048 */ ldc1 $f26, 0x48($sp)
/* 5B26A0 802191F0 D7B80040 */ ldc1 $f24, 0x40($sp)
/* 5B26A4 802191F4 D7B60038 */ ldc1 $f22, 0x38($sp)
/* 5B26A8 802191F8 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 5B26AC 802191FC 24020002 */ addiu $v0, $zero, 2
/* 5B26B0 80219200 03E00008 */ jr $ra
/* 5B26B4 80219204 27BD0060 */ addiu $sp, $sp, 0x60

View File

@ -0,0 +1,15 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80219208_5B26B8
/* 5B26B8 80219208 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 5B26BC 8021920C AFBF0010 */ sw $ra, 0x10($sp)
/* 5B26C0 80219210 8C82000C */ lw $v0, 0xc($a0)
/* 5B26C4 80219214 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
/* 5B26C8 80219218 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
/* 5B26CC 8021921C 0C0B2026 */ jal set_variable
/* 5B26D0 80219220 8C450000 */ lw $a1, ($v0)
/* 5B26D4 80219224 8FBF0010 */ lw $ra, 0x10($sp)
/* 5B26D8 80219228 24020002 */ addiu $v0, $zero, 2
/* 5B26DC 8021922C 03E00008 */ jr $ra
/* 5B26E0 80219230 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80219234_5B26E4
/* 5B26E4 80219234 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 5B26E8 80219238 AFB10014 */ sw $s1, 0x14($sp)
/* 5B26EC 8021923C 0080882D */ daddu $s1, $a0, $zero
/* 5B26F0 80219240 AFBF0020 */ sw $ra, 0x20($sp)
/* 5B26F4 80219244 AFB3001C */ sw $s3, 0x1c($sp)
/* 5B26F8 80219248 AFB20018 */ sw $s2, 0x18($sp)
/* 5B26FC 8021924C AFB00010 */ sw $s0, 0x10($sp)
/* 5B2700 80219250 8E30000C */ lw $s0, 0xc($s1)
/* 5B2704 80219254 8E050000 */ lw $a1, ($s0)
/* 5B2708 80219258 0C0B1EAF */ jal get_variable
/* 5B270C 8021925C 26100004 */ addiu $s0, $s0, 4
/* 5B2710 80219260 8E050000 */ lw $a1, ($s0)
/* 5B2714 80219264 26100004 */ addiu $s0, $s0, 4
/* 5B2718 80219268 0220202D */ daddu $a0, $s1, $zero
/* 5B271C 8021926C 0C0B1EAF */ jal get_variable
/* 5B2720 80219270 0040982D */ daddu $s3, $v0, $zero
/* 5B2724 80219274 8E050000 */ lw $a1, ($s0)
/* 5B2728 80219278 26100004 */ addiu $s0, $s0, 4
/* 5B272C 8021927C 0220202D */ daddu $a0, $s1, $zero
/* 5B2730 80219280 0C0B1EAF */ jal get_variable
/* 5B2734 80219284 0040902D */ daddu $s2, $v0, $zero
/* 5B2738 80219288 0220202D */ daddu $a0, $s1, $zero
/* 5B273C 8021928C 8E050000 */ lw $a1, ($s0)
/* 5B2740 80219290 0C0B1EAF */ jal get_variable
/* 5B2744 80219294 0040802D */ daddu $s0, $v0, $zero
/* 5B2748 80219298 8E240148 */ lw $a0, 0x148($s1)
/* 5B274C 8021929C 0C09A75B */ jal get_actor
/* 5B2750 802192A0 0040882D */ daddu $s1, $v0, $zero
/* 5B2754 802192A4 0040182D */ daddu $v1, $v0, $zero
/* 5B2758 802192A8 8C620008 */ lw $v0, 8($v1)
/* 5B275C 802192AC 90420024 */ lbu $v0, 0x24($v0)
/* 5B2760 802192B0 8C640008 */ lw $a0, 8($v1)
/* 5B2764 802192B4 02629823 */ subu $s3, $s3, $v0
/* 5B2768 802192B8 A0730194 */ sb $s3, 0x194($v1)
/* 5B276C 802192BC 90820025 */ lbu $v0, 0x25($a0)
/* 5B2770 802192C0 02429023 */ subu $s2, $s2, $v0
/* 5B2774 802192C4 A0720195 */ sb $s2, 0x195($v1)
/* 5B2778 802192C8 90820026 */ lbu $v0, 0x26($a0)
/* 5B277C 802192CC 02028023 */ subu $s0, $s0, $v0
/* 5B2780 802192D0 A0700196 */ sb $s0, 0x196($v1)
/* 5B2784 802192D4 90840027 */ lbu $a0, 0x27($a0)
/* 5B2788 802192D8 02248823 */ subu $s1, $s1, $a0
/* 5B278C 802192DC A0710197 */ sb $s1, 0x197($v1)
/* 5B2790 802192E0 8FBF0020 */ lw $ra, 0x20($sp)
/* 5B2794 802192E4 8FB3001C */ lw $s3, 0x1c($sp)
/* 5B2798 802192E8 8FB20018 */ lw $s2, 0x18($sp)
/* 5B279C 802192EC 8FB10014 */ lw $s1, 0x14($sp)
/* 5B27A0 802192F0 8FB00010 */ lw $s0, 0x10($sp)
/* 5B27A4 802192F4 24020002 */ addiu $v0, $zero, 2
/* 5B27A8 802192F8 03E00008 */ jr $ra
/* 5B27AC 802192FC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80219300_5B27B0
/* 5B27B0 80219300 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 5B27B4 80219304 AFB10014 */ sw $s1, 0x14($sp)
/* 5B27B8 80219308 0080882D */ daddu $s1, $a0, $zero
/* 5B27BC 8021930C AFBF0018 */ sw $ra, 0x18($sp)
/* 5B27C0 80219310 AFB00010 */ sw $s0, 0x10($sp)
/* 5B27C4 80219314 8E30000C */ lw $s0, 0xc($s1)
/* 5B27C8 80219318 8E050000 */ lw $a1, ($s0)
/* 5B27CC 8021931C 0C0B1EAF */ jal get_variable
/* 5B27D0 80219320 26100004 */ addiu $s0, $s0, 4
/* 5B27D4 80219324 0220202D */ daddu $a0, $s1, $zero
/* 5B27D8 80219328 8E050000 */ lw $a1, ($s0)
/* 5B27DC 8021932C 0C0B1EAF */ jal get_variable
/* 5B27E0 80219330 0040802D */ daddu $s0, $v0, $zero
/* 5B27E4 80219334 0200202D */ daddu $a0, $s0, $zero
/* 5B27E8 80219338 0C00A3C2 */ jal start_rumble
/* 5B27EC 8021933C 0040282D */ daddu $a1, $v0, $zero
/* 5B27F0 80219340 8FBF0018 */ lw $ra, 0x18($sp)
/* 5B27F4 80219344 8FB10014 */ lw $s1, 0x14($sp)
/* 5B27F8 80219348 8FB00010 */ lw $s0, 0x10($sp)
/* 5B27FC 8021934C 24020002 */ addiu $v0, $zero, 2
/* 5B2800 80219350 03E00008 */ jr $ra
/* 5B2804 80219354 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,59 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80219358_5B2808
/* 5B2808 80219358 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 5B280C 8021935C AFB10014 */ sw $s1, 0x14($sp)
/* 5B2810 80219360 0080882D */ daddu $s1, $a0, $zero
/* 5B2814 80219364 AFBF0018 */ sw $ra, 0x18($sp)
/* 5B2818 80219368 AFB00010 */ sw $s0, 0x10($sp)
/* 5B281C 8021936C 8E30000C */ lw $s0, 0xc($s1)
/* 5B2820 80219370 8E050000 */ lw $a1, ($s0)
/* 5B2824 80219374 0C0B1EAF */ jal get_variable
/* 5B2828 80219378 26100004 */ addiu $s0, $s0, 4
/* 5B282C 8021937C 0040202D */ daddu $a0, $v0, $zero
/* 5B2830 80219380 2402FF81 */ addiu $v0, $zero, -0x7f
/* 5B2834 80219384 14820002 */ bne $a0, $v0, .L80219390
/* 5B2838 80219388 00000000 */ nop
/* 5B283C 8021938C 8E240148 */ lw $a0, 0x148($s1)
.L80219390:
/* 5B2840 80219390 0C09A75B */ jal get_actor
/* 5B2844 80219394 00000000 */ nop
/* 5B2848 80219398 0040202D */ daddu $a0, $v0, $zero
/* 5B284C 8021939C 90830136 */ lbu $v1, 0x136($a0)
/* 5B2850 802193A0 24020047 */ addiu $v0, $zero, 0x47
/* 5B2854 802193A4 1062000B */ beq $v1, $v0, .L802193D4
/* 5B2858 802193A8 0062102A */ slt $v0, $v1, $v0
/* 5B285C 802193AC 54400011 */ bnel $v0, $zero, .L802193F4
/* 5B2860 802193B0 0220202D */ daddu $a0, $s1, $zero
/* 5B2864 802193B4 28620065 */ slti $v0, $v1, 0x65
/* 5B2868 802193B8 1040000D */ beqz $v0, .L802193F0
/* 5B286C 802193BC 2862004D */ slti $v0, $v1, 0x4d
/* 5B2870 802193C0 1440000C */ bnez $v0, .L802193F4
/* 5B2874 802193C4 0220202D */ daddu $a0, $s1, $zero
/* 5B2878 802193C8 8E050000 */ lw $a1, ($s0)
/* 5B287C 802193CC 080864FF */ j .L802193FC
/* 5B2880 802193D0 2406FFFF */ addiu $a2, $zero, -1
.L802193D4:
/* 5B2884 802193D4 8C8300A8 */ lw $v1, 0xa8($a0)
/* 5B2888 802193D8 24020001 */ addiu $v0, $zero, 1
/* 5B288C 802193DC 14620005 */ bne $v1, $v0, .L802193F4
/* 5B2890 802193E0 0220202D */ daddu $a0, $s1, $zero
/* 5B2894 802193E4 8E050000 */ lw $a1, ($s0)
/* 5B2898 802193E8 080864FF */ j .L802193FC
/* 5B289C 802193EC 2406FFFF */ addiu $a2, $zero, -1
.L802193F0:
/* 5B28A0 802193F0 0220202D */ daddu $a0, $s1, $zero
.L802193F4:
/* 5B28A4 802193F4 8E050000 */ lw $a1, ($s0)
/* 5B28A8 802193F8 0000302D */ daddu $a2, $zero, $zero
.L802193FC:
/* 5B28AC 802193FC 0C0B2026 */ jal set_variable
/* 5B28B0 80219400 00000000 */ nop
/* 5B28B4 80219404 8FBF0018 */ lw $ra, 0x18($sp)
/* 5B28B8 80219408 8FB10014 */ lw $s1, 0x14($sp)
/* 5B28BC 8021940C 8FB00010 */ lw $s0, 0x10($sp)
/* 5B28C0 80219410 24020002 */ addiu $v0, $zero, 2
/* 5B28C4 80219414 03E00008 */ jr $ra
/* 5B28C8 80219418 27BD0020 */ addiu $sp, $sp, 0x20
/* 5B28CC 8021941C 00000000 */ nop

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80219420_5B28D0
/* 5B28D0 80219420 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 5B28D4 80219424 AFB20020 */ sw $s2, 0x20($sp)
/* 5B28D8 80219428 0000902D */ daddu $s2, $zero, $zero
/* 5B28DC 8021942C AFB1001C */ sw $s1, 0x1c($sp)
/* 5B28E0 80219430 0240882D */ daddu $s1, $s2, $zero
/* 5B28E4 80219434 AFB30024 */ sw $s3, 0x24($sp)
/* 5B28E8 80219438 3C138009 */ lui $s3, %hi(gAreas)
/* 5B28EC 8021943C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
/* 5B28F0 80219440 AFB00018 */ sw $s0, 0x18($sp)
/* 5B28F4 80219444 3C108023 */ lui $s0, %hi(D_802311D8)
/* 5B28F8 80219448 261011D8 */ addiu $s0, $s0, %lo(D_802311D8)
/* 5B28FC 8021944C AFBF0028 */ sw $ra, 0x28($sp)
.L80219450:
/* 5B2900 80219450 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 5B2904 80219454 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 5B2908 80219458 8E050000 */ lw $a1, ($s0)
/* 5B290C 8021945C 84430086 */ lh $v1, 0x86($v0)
/* 5B2910 80219460 8442008C */ lh $v0, 0x8c($v0)
/* 5B2914 80219464 00031900 */ sll $v1, $v1, 4
/* 5B2918 80219468 00731821 */ addu $v1, $v1, $s3
/* 5B291C 8021946C 8C630004 */ lw $v1, 4($v1)
/* 5B2920 80219470 00021140 */ sll $v0, $v0, 5
/* 5B2924 80219474 00431021 */ addu $v0, $v0, $v1
/* 5B2928 80219478 0C01BB5C */ jal strcmp
/* 5B292C 8021947C 8C440000 */ lw $a0, ($v0)
/* 5B2930 80219480 14400003 */ bnez $v0, .L80219490
/* 5B2934 80219484 26310001 */ addiu $s1, $s1, 1
/* 5B2938 80219488 08086527 */ j .L8021949C
/* 5B293C 8021948C 24120001 */ addiu $s2, $zero, 1
.L80219490:
/* 5B2940 80219490 2E22000B */ sltiu $v0, $s1, 0xb
/* 5B2944 80219494 1440FFEE */ bnez $v0, .L80219450
/* 5B2948 80219498 26100004 */ addiu $s0, $s0, 4
.L8021949C:
/* 5B294C 8021949C 44800000 */ mtc1 $zero, $f0
/* 5B2950 802194A0 00000000 */ nop
/* 5B2954 802194A4 44050000 */ mfc1 $a1, $f0
/* 5B2958 802194A8 0240202D */ daddu $a0, $s2, $zero
/* 5B295C 802194AC AFA00014 */ sw $zero, 0x14($sp)
/* 5B2960 802194B0 00A0302D */ daddu $a2, $a1, $zero
/* 5B2964 802194B4 00A0382D */ daddu $a3, $a1, $zero
/* 5B2968 802194B8 0C01CA54 */ jal func_80072950
/* 5B296C 802194BC AFA50010 */ sw $a1, 0x10($sp)
/* 5B2970 802194C0 8FBF0028 */ lw $ra, 0x28($sp)
/* 5B2974 802194C4 8FB30024 */ lw $s3, 0x24($sp)
/* 5B2978 802194C8 8FB20020 */ lw $s2, 0x20($sp)
/* 5B297C 802194CC 8FB1001C */ lw $s1, 0x1c($sp)
/* 5B2980 802194D0 8FB00018 */ lw $s0, 0x18($sp)
/* 5B2984 802194D4 24020002 */ addiu $v0, $zero, 2
/* 5B2988 802194D8 03E00008 */ jr $ra
/* 5B298C 802194DC 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802194E0_5B2990
/* 5B2990 802194E0 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 5B2994 802194E4 AFB20020 */ sw $s2, 0x20($sp)
/* 5B2998 802194E8 0000902D */ daddu $s2, $zero, $zero
/* 5B299C 802194EC AFB1001C */ sw $s1, 0x1c($sp)
/* 5B29A0 802194F0 0240882D */ daddu $s1, $s2, $zero
/* 5B29A4 802194F4 AFB30024 */ sw $s3, 0x24($sp)
/* 5B29A8 802194F8 3C138009 */ lui $s3, %hi(gAreas)
/* 5B29AC 802194FC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
/* 5B29B0 80219500 AFB00018 */ sw $s0, 0x18($sp)
/* 5B29B4 80219504 3C108023 */ lui $s0, %hi(D_80231678)
/* 5B29B8 80219508 26101678 */ addiu $s0, $s0, %lo(D_80231678)
/* 5B29BC 8021950C AFBF0028 */ sw $ra, 0x28($sp)
.L80219510:
/* 5B29C0 80219510 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 5B29C4 80219514 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 5B29C8 80219518 8E050000 */ lw $a1, ($s0)
/* 5B29CC 8021951C 84430086 */ lh $v1, 0x86($v0)
/* 5B29D0 80219520 8442008C */ lh $v0, 0x8c($v0)
/* 5B29D4 80219524 00031900 */ sll $v1, $v1, 4
/* 5B29D8 80219528 00731821 */ addu $v1, $v1, $s3
/* 5B29DC 8021952C 8C630004 */ lw $v1, 4($v1)
/* 5B29E0 80219530 00021140 */ sll $v0, $v0, 5
/* 5B29E4 80219534 00431021 */ addu $v0, $v0, $v1
/* 5B29E8 80219538 0C01BB5C */ jal strcmp
/* 5B29EC 8021953C 8C440000 */ lw $a0, ($v0)
/* 5B29F0 80219540 14400003 */ bnez $v0, .L80219550
/* 5B29F4 80219544 26310001 */ addiu $s1, $s1, 1
/* 5B29F8 80219548 08086557 */ j .L8021955C
/* 5B29FC 8021954C 24120001 */ addiu $s2, $zero, 1
.L80219550:
/* 5B2A00 80219550 2E22000B */ sltiu $v0, $s1, 0xb
/* 5B2A04 80219554 1440FFEE */ bnez $v0, .L80219510
/* 5B2A08 80219558 26100004 */ addiu $s0, $s0, 4
.L8021955C:
/* 5B2A0C 8021955C 44800000 */ mtc1 $zero, $f0
/* 5B2A10 80219560 00000000 */ nop
/* 5B2A14 80219564 44050000 */ mfc1 $a1, $f0
/* 5B2A18 80219568 0240202D */ daddu $a0, $s2, $zero
/* 5B2A1C 8021956C AFA00014 */ sw $zero, 0x14($sp)
/* 5B2A20 80219570 00A0302D */ daddu $a2, $a1, $zero
/* 5B2A24 80219574 00A0382D */ daddu $a3, $a1, $zero
/* 5B2A28 80219578 0C01CA54 */ jal func_80072950
/* 5B2A2C 8021957C AFA50010 */ sw $a1, 0x10($sp)
/* 5B2A30 80219580 8FBF0028 */ lw $ra, 0x28($sp)
/* 5B2A34 80219584 8FB30024 */ lw $s3, 0x24($sp)
/* 5B2A38 80219588 8FB20020 */ lw $s2, 0x20($sp)
/* 5B2A3C 8021958C 8FB1001C */ lw $s1, 0x1c($sp)
/* 5B2A40 80219590 8FB00018 */ lw $s0, 0x18($sp)
/* 5B2A44 80219594 24020002 */ addiu $v0, $zero, 2
/* 5B2A48 80219598 03E00008 */ jr $ra
/* 5B2A4C 8021959C 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802195A0_5B2A50
/* 5B2A50 802195A0 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 5B2A54 802195A4 AFB20020 */ sw $s2, 0x20($sp)
/* 5B2A58 802195A8 0000902D */ daddu $s2, $zero, $zero
/* 5B2A5C 802195AC AFB1001C */ sw $s1, 0x1c($sp)
/* 5B2A60 802195B0 0240882D */ daddu $s1, $s2, $zero
/* 5B2A64 802195B4 AFB30024 */ sw $s3, 0x24($sp)
/* 5B2A68 802195B8 3C138009 */ lui $s3, %hi(gAreas)
/* 5B2A6C 802195BC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
/* 5B2A70 802195C0 AFB00018 */ sw $s0, 0x18($sp)
/* 5B2A74 802195C4 3C108023 */ lui $s0, %hi(D_80231B08)
/* 5B2A78 802195C8 26101B08 */ addiu $s0, $s0, %lo(D_80231B08)
/* 5B2A7C 802195CC AFBF0028 */ sw $ra, 0x28($sp)
.L802195D0:
/* 5B2A80 802195D0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 5B2A84 802195D4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 5B2A88 802195D8 8E050000 */ lw $a1, ($s0)
/* 5B2A8C 802195DC 84430086 */ lh $v1, 0x86($v0)
/* 5B2A90 802195E0 8442008C */ lh $v0, 0x8c($v0)
/* 5B2A94 802195E4 00031900 */ sll $v1, $v1, 4
/* 5B2A98 802195E8 00731821 */ addu $v1, $v1, $s3
/* 5B2A9C 802195EC 8C630004 */ lw $v1, 4($v1)
/* 5B2AA0 802195F0 00021140 */ sll $v0, $v0, 5
/* 5B2AA4 802195F4 00431021 */ addu $v0, $v0, $v1
/* 5B2AA8 802195F8 0C01BB5C */ jal strcmp
/* 5B2AAC 802195FC 8C440000 */ lw $a0, ($v0)
/* 5B2AB0 80219600 14400003 */ bnez $v0, .L80219610
/* 5B2AB4 80219604 26310001 */ addiu $s1, $s1, 1
/* 5B2AB8 80219608 08086587 */ j .L8021961C
/* 5B2ABC 8021960C 24120001 */ addiu $s2, $zero, 1
.L80219610:
/* 5B2AC0 80219610 2E22000B */ sltiu $v0, $s1, 0xb
/* 5B2AC4 80219614 1440FFEE */ bnez $v0, .L802195D0
/* 5B2AC8 80219618 26100004 */ addiu $s0, $s0, 4
.L8021961C:
/* 5B2ACC 8021961C 44800000 */ mtc1 $zero, $f0
/* 5B2AD0 80219620 00000000 */ nop
/* 5B2AD4 80219624 44050000 */ mfc1 $a1, $f0
/* 5B2AD8 80219628 0240202D */ daddu $a0, $s2, $zero
/* 5B2ADC 8021962C AFA00014 */ sw $zero, 0x14($sp)
/* 5B2AE0 80219630 00A0302D */ daddu $a2, $a1, $zero
/* 5B2AE4 80219634 00A0382D */ daddu $a3, $a1, $zero
/* 5B2AE8 80219638 0C01CA54 */ jal func_80072950
/* 5B2AEC 8021963C AFA50010 */ sw $a1, 0x10($sp)
/* 5B2AF0 80219640 8FBF0028 */ lw $ra, 0x28($sp)
/* 5B2AF4 80219644 8FB30024 */ lw $s3, 0x24($sp)
/* 5B2AF8 80219648 8FB20020 */ lw $s2, 0x20($sp)
/* 5B2AFC 8021964C 8FB1001C */ lw $s1, 0x1c($sp)
/* 5B2B00 80219650 8FB00018 */ lw $s0, 0x18($sp)
/* 5B2B04 80219654 24020002 */ addiu $v0, $zero, 2
/* 5B2B08 80219658 03E00008 */ jr $ra
/* 5B2B0C 8021965C 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80219660_5B2B10
/* 5B2B10 80219660 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 5B2B14 80219664 AFB20020 */ sw $s2, 0x20($sp)
/* 5B2B18 80219668 0000902D */ daddu $s2, $zero, $zero
/* 5B2B1C 8021966C AFB1001C */ sw $s1, 0x1c($sp)
/* 5B2B20 80219670 0240882D */ daddu $s1, $s2, $zero
/* 5B2B24 80219674 AFB30024 */ sw $s3, 0x24($sp)
/* 5B2B28 80219678 3C138009 */ lui $s3, %hi(gAreas)
/* 5B2B2C 8021967C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
/* 5B2B30 80219680 AFB00018 */ sw $s0, 0x18($sp)
/* 5B2B34 80219684 3C108023 */ lui $s0, %hi(D_80231FA8)
/* 5B2B38 80219688 26101FA8 */ addiu $s0, $s0, %lo(D_80231FA8)
/* 5B2B3C 8021968C AFBF0028 */ sw $ra, 0x28($sp)
.L80219690:
/* 5B2B40 80219690 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 5B2B44 80219694 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 5B2B48 80219698 8E050000 */ lw $a1, ($s0)
/* 5B2B4C 8021969C 84430086 */ lh $v1, 0x86($v0)
/* 5B2B50 802196A0 8442008C */ lh $v0, 0x8c($v0)
/* 5B2B54 802196A4 00031900 */ sll $v1, $v1, 4
/* 5B2B58 802196A8 00731821 */ addu $v1, $v1, $s3
/* 5B2B5C 802196AC 8C630004 */ lw $v1, 4($v1)
/* 5B2B60 802196B0 00021140 */ sll $v0, $v0, 5
/* 5B2B64 802196B4 00431021 */ addu $v0, $v0, $v1
/* 5B2B68 802196B8 0C01BB5C */ jal strcmp
/* 5B2B6C 802196BC 8C440000 */ lw $a0, ($v0)
/* 5B2B70 802196C0 14400003 */ bnez $v0, .L802196D0
/* 5B2B74 802196C4 26310001 */ addiu $s1, $s1, 1
/* 5B2B78 802196C8 080865B7 */ j .L802196DC
/* 5B2B7C 802196CC 24120001 */ addiu $s2, $zero, 1
.L802196D0:
/* 5B2B80 802196D0 2E22000B */ sltiu $v0, $s1, 0xb
/* 5B2B84 802196D4 1440FFEE */ bnez $v0, .L80219690
/* 5B2B88 802196D8 26100004 */ addiu $s0, $s0, 4
.L802196DC:
/* 5B2B8C 802196DC 44800000 */ mtc1 $zero, $f0
/* 5B2B90 802196E0 00000000 */ nop
/* 5B2B94 802196E4 44050000 */ mfc1 $a1, $f0
/* 5B2B98 802196E8 0240202D */ daddu $a0, $s2, $zero
/* 5B2B9C 802196EC AFA00014 */ sw $zero, 0x14($sp)
/* 5B2BA0 802196F0 00A0302D */ daddu $a2, $a1, $zero
/* 5B2BA4 802196F4 00A0382D */ daddu $a3, $a1, $zero
/* 5B2BA8 802196F8 0C01CA54 */ jal func_80072950
/* 5B2BAC 802196FC AFA50010 */ sw $a1, 0x10($sp)
/* 5B2BB0 80219700 8FBF0028 */ lw $ra, 0x28($sp)
/* 5B2BB4 80219704 8FB30024 */ lw $s3, 0x24($sp)
/* 5B2BB8 80219708 8FB20020 */ lw $s2, 0x20($sp)
/* 5B2BBC 8021970C 8FB1001C */ lw $s1, 0x1c($sp)
/* 5B2BC0 80219710 8FB00018 */ lw $s0, 0x18($sp)
/* 5B2BC4 80219714 24020002 */ addiu $v0, $zero, 2
/* 5B2BC8 80219718 03E00008 */ jr $ra
/* 5B2BCC 8021971C 27BD0030 */ addiu $sp, $sp, 0x30

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