mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 04:52:34 +01:00
388 lines
17 KiB
ArmAsm
388 lines
17 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_80259D9C
|
|
/* 18867C 80259D9C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
/* 188680 80259DA0 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 188684 80259DA4 0080902D */ daddu $s2, $a0, $zero
|
|
/* 188688 80259DA8 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 18868C 80259DAC 00A0882D */ daddu $s1, $a1, $zero
|
|
/* 188690 80259DB0 AFB3001C */ sw $s3, 0x1c($sp)
|
|
/* 188694 80259DB4 00C0982D */ daddu $s3, $a2, $zero
|
|
/* 188698 80259DB8 AFBF0028 */ sw $ra, 0x28($sp)
|
|
/* 18869C 80259DBC AFB50024 */ sw $s5, 0x24($sp)
|
|
/* 1886A0 80259DC0 AFB40020 */ sw $s4, 0x20($sp)
|
|
/* 1886A4 80259DC4 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 1886A8 80259DC8 8E3000C0 */ lw $s0, 0xc0($s1)
|
|
/* 1886AC 80259DCC 820206C1 */ lb $v0, 0x6c1($s0)
|
|
/* 1886B0 80259DD0 8FB50040 */ lw $s5, 0x40($sp)
|
|
/* 1886B4 80259DD4 1040004B */ beqz $v0, .L80259F04
|
|
/* 1886B8 80259DD8 00E0A02D */ daddu $s4, $a3, $zero
|
|
/* 1886BC 80259DDC 16400016 */ bnez $s2, .L80259E38
|
|
/* 1886C0 80259DE0 00000000 */ nop
|
|
/* 1886C4 80259DE4 0C0B7830 */ jal func_802DE0C0
|
|
/* 1886C8 80259DE8 96240088 */ lhu $a0, 0x88($s1)
|
|
/* 1886CC 80259DEC AE0206D0 */ sw $v0, 0x6d0($s0)
|
|
/* 1886D0 80259DF0 0040202D */ daddu $a0, $v0, $zero
|
|
/* 1886D4 80259DF4 A20006CD */ sb $zero, 0x6cd($s0)
|
|
/* 1886D8 80259DF8 8C830000 */ lw $v1, ($a0)
|
|
/* 1886DC 80259DFC 2402FFFF */ addiu $v0, $zero, -1
|
|
/* 1886E0 80259E00 1062000B */ beq $v1, $v0, .L80259E30
|
|
/* 1886E4 80259E04 0080182D */ daddu $v1, $a0, $zero
|
|
/* 1886E8 80259E08 0040202D */ daddu $a0, $v0, $zero
|
|
.L80259E0C:
|
|
/* 1886EC 80259E0C 920206CD */ lbu $v0, 0x6cd($s0)
|
|
/* 1886F0 80259E10 24420001 */ addiu $v0, $v0, 1
|
|
/* 1886F4 80259E14 A20206CD */ sb $v0, 0x6cd($s0)
|
|
/* 1886F8 80259E18 00021600 */ sll $v0, $v0, 0x18
|
|
/* 1886FC 80259E1C 00021583 */ sra $v0, $v0, 0x16
|
|
/* 188700 80259E20 00431021 */ addu $v0, $v0, $v1
|
|
/* 188704 80259E24 8C420000 */ lw $v0, ($v0)
|
|
/* 188708 80259E28 1444FFF8 */ bne $v0, $a0, .L80259E0C
|
|
/* 18870C 80259E2C 00000000 */ nop
|
|
.L80259E30:
|
|
/* 188710 80259E30 080967A4 */ j .L80259E90
|
|
/* 188714 80259E34 24020006 */ addiu $v0, $zero, 6
|
|
|
|
.L80259E38:
|
|
/* 188718 80259E38 96240088 */ lhu $a0, 0x88($s1)
|
|
/* 18871C 80259E3C 0C0B7A90 */ jal func_802DEA40
|
|
/* 188720 80259E40 00000000 */ nop
|
|
/* 188724 80259E44 AE0206D0 */ sw $v0, 0x6d0($s0)
|
|
/* 188728 80259E48 0040202D */ daddu $a0, $v0, $zero
|
|
/* 18872C 80259E4C A20006CD */ sb $zero, 0x6cd($s0)
|
|
/* 188730 80259E50 8C830000 */ lw $v1, ($a0)
|
|
/* 188734 80259E54 2402FFFF */ addiu $v0, $zero, -1
|
|
/* 188738 80259E58 1062000B */ beq $v1, $v0, .L80259E88
|
|
/* 18873C 80259E5C 0080182D */ daddu $v1, $a0, $zero
|
|
/* 188740 80259E60 0040202D */ daddu $a0, $v0, $zero
|
|
.L80259E64:
|
|
/* 188744 80259E64 920206CD */ lbu $v0, 0x6cd($s0)
|
|
/* 188748 80259E68 24420001 */ addiu $v0, $v0, 1
|
|
/* 18874C 80259E6C A20206CD */ sb $v0, 0x6cd($s0)
|
|
/* 188750 80259E70 00021600 */ sll $v0, $v0, 0x18
|
|
/* 188754 80259E74 00021583 */ sra $v0, $v0, 0x16
|
|
/* 188758 80259E78 00431021 */ addu $v0, $v0, $v1
|
|
/* 18875C 80259E7C 8C420000 */ lw $v0, ($v0)
|
|
/* 188760 80259E80 1444FFF8 */ bne $v0, $a0, .L80259E64
|
|
/* 188764 80259E84 00000000 */ nop
|
|
.L80259E88:
|
|
/* 188768 80259E88 0C0B7A9B */ jal func_802DEA6C
|
|
/* 18876C 80259E8C 96240088 */ lhu $a0, 0x88($s1)
|
|
.L80259E90:
|
|
/* 188770 80259E90 A20206CC */ sb $v0, 0x6cc($s0)
|
|
/* 188774 80259E94 820206CD */ lb $v0, 0x6cd($s0)
|
|
/* 188778 80259E98 18400015 */ blez $v0, .L80259EF0
|
|
/* 18877C 80259E9C 0000482D */ daddu $t1, $zero, $zero
|
|
.L80259EA0:
|
|
/* 188780 80259EA0 8E0206D0 */ lw $v0, 0x6d0($s0)
|
|
/* 188784 80259EA4 00091880 */ sll $v1, $t1, 2
|
|
/* 188788 80259EA8 00621821 */ addu $v1, $v1, $v0
|
|
/* 18878C 80259EAC 00091140 */ sll $v0, $t1, 5
|
|
/* 188790 80259EB0 8C660000 */ lw $a2, ($v1)
|
|
/* 188794 80259EB4 10C00009 */ beqz $a2, .L80259EDC
|
|
/* 188798 80259EB8 02024021 */ addu $t0, $s0, $v0
|
|
/* 18879C 80259EBC 0000382D */ daddu $a3, $zero, $zero
|
|
.L80259EC0:
|
|
/* 1887A0 80259EC0 94C20000 */ lhu $v0, ($a2)
|
|
/* 1887A4 80259EC4 24C60002 */ addiu $a2, $a2, 2
|
|
/* 1887A8 80259EC8 24E70001 */ addiu $a3, $a3, 1
|
|
/* 1887AC 80259ECC A5020000 */ sh $v0, ($t0)
|
|
/* 1887B0 80259ED0 28E20010 */ slti $v0, $a3, 0x10
|
|
/* 1887B4 80259ED4 1440FFFA */ bnez $v0, .L80259EC0
|
|
/* 1887B8 80259ED8 25080002 */ addiu $t0, $t0, 2
|
|
.L80259EDC:
|
|
/* 1887BC 80259EDC 820206CD */ lb $v0, 0x6cd($s0)
|
|
/* 1887C0 80259EE0 25290001 */ addiu $t1, $t1, 1
|
|
/* 1887C4 80259EE4 0122102A */ slt $v0, $t1, $v0
|
|
/* 1887C8 80259EE8 1440FFED */ bnez $v0, .L80259EA0
|
|
/* 1887CC 80259EEC 00000000 */ nop
|
|
.L80259EF0:
|
|
/* 1887D0 80259EF0 2402FFFE */ addiu $v0, $zero, -2
|
|
/* 1887D4 80259EF4 A20206C2 */ sb $v0, 0x6c2($s0)
|
|
/* 1887D8 80259EF8 A60006CA */ sh $zero, 0x6ca($s0)
|
|
/* 1887DC 80259EFC A20006C1 */ sb $zero, 0x6c1($s0)
|
|
/* 1887E0 80259F00 A60006C8 */ sh $zero, 0x6c8($s0)
|
|
.L80259F04:
|
|
/* 1887E4 80259F04 16A0001E */ bnez $s5, .L80259F80
|
|
/* 1887E8 80259F08 00000000 */ nop
|
|
/* 1887EC 80259F0C 860206C8 */ lh $v0, 0x6c8($s0)
|
|
/* 1887F0 80259F10 14400013 */ bnez $v0, .L80259F60
|
|
/* 1887F4 80259F14 00000000 */ nop
|
|
/* 1887F8 80259F18 920206C2 */ lbu $v0, 0x6c2($s0)
|
|
/* 1887FC 80259F1C 3C048028 */ lui $a0, 0x8028
|
|
/* 188800 80259F20 24844080 */ addiu $a0, $a0, 0x4080
|
|
/* 188804 80259F24 24420002 */ addiu $v0, $v0, 2
|
|
/* 188808 80259F28 A20206C2 */ sb $v0, 0x6c2($s0)
|
|
/* 18880C 80259F2C 00021600 */ sll $v0, $v0, 0x18
|
|
/* 188810 80259F30 00021603 */ sra $v0, $v0, 0x18
|
|
/* 188814 80259F34 3C038028 */ lui $v1, 0x8028
|
|
/* 188818 80259F38 00621821 */ addu $v1, $v1, $v0
|
|
/* 18881C 80259F3C 90634080 */ lbu $v1, 0x4080($v1)
|
|
/* 188820 80259F40 240200FF */ addiu $v0, $zero, 0xff
|
|
/* 188824 80259F44 50620001 */ beql $v1, $v0, .L80259F4C
|
|
/* 188828 80259F48 A20006C2 */ sb $zero, 0x6c2($s0)
|
|
.L80259F4C:
|
|
/* 18882C 80259F4C 820206C2 */ lb $v0, 0x6c2($s0)
|
|
/* 188830 80259F50 00441021 */ addu $v0, $v0, $a0
|
|
/* 188834 80259F54 90420001 */ lbu $v0, 1($v0)
|
|
/* 188838 80259F58 00021042 */ srl $v0, $v0, 1
|
|
/* 18883C 80259F5C A60206C8 */ sh $v0, 0x6c8($s0)
|
|
.L80259F60:
|
|
/* 188840 80259F60 820306C2 */ lb $v1, 0x6c2($s0)
|
|
/* 188844 80259F64 960206C8 */ lhu $v0, 0x6c8($s0)
|
|
/* 188848 80259F68 3C018028 */ lui $at, 0x8028
|
|
/* 18884C 80259F6C 00230821 */ addu $at, $at, $v1
|
|
/* 188850 80259F70 90234080 */ lbu $v1, 0x4080($at)
|
|
/* 188854 80259F74 2442FFFF */ addiu $v0, $v0, -1
|
|
/* 188858 80259F78 080967E4 */ j .L80259F90
|
|
/* 18885C 80259F7C A60206C8 */ sh $v0, 0x6c8($s0)
|
|
|
|
.L80259F80:
|
|
/* 188860 80259F80 820206C2 */ lb $v0, 0x6c2($s0)
|
|
/* 188864 80259F84 3C038028 */ lui $v1, 0x8028
|
|
/* 188868 80259F88 00621821 */ addu $v1, $v1, $v0
|
|
/* 18886C 80259F8C 90634080 */ lbu $v1, 0x4080($v1)
|
|
.L80259F90:
|
|
/* 188870 80259F90 24020001 */ addiu $v0, $zero, 1
|
|
/* 188874 80259F94 10620024 */ beq $v1, $v0, .L8025A028
|
|
/* 188878 80259F98 28620002 */ slti $v0, $v1, 2
|
|
/* 18887C 80259F9C 10400005 */ beqz $v0, .L80259FB4
|
|
/* 188880 80259FA0 24020002 */ addiu $v0, $zero, 2
|
|
/* 188884 80259FA4 10600007 */ beqz $v1, .L80259FC4
|
|
/* 188888 80259FA8 00000000 */ nop
|
|
/* 18888C 80259FAC 0809688D */ j .L8025A234
|
|
/* 188890 80259FB0 00000000 */ nop
|
|
|
|
.L80259FB4:
|
|
/* 188894 80259FB4 1062003C */ beq $v1, $v0, .L8025A0A8
|
|
/* 188898 80259FB8 00000000 */ nop
|
|
/* 18889C 80259FBC 0809688D */ j .L8025A234
|
|
/* 1888A0 80259FC0 00000000 */ nop
|
|
|
|
.L80259FC4:
|
|
/* 1888A4 80259FC4 820206CC */ lb $v0, 0x6cc($s0)
|
|
/* 1888A8 80259FC8 1840009A */ blez $v0, .L8025A234
|
|
/* 1888AC 80259FCC 0000482D */ daddu $t1, $zero, $zero
|
|
.L80259FD0:
|
|
/* 1888B0 80259FD0 8E0206D0 */ lw $v0, 0x6d0($s0)
|
|
/* 1888B4 80259FD4 00091880 */ sll $v1, $t1, 2
|
|
/* 1888B8 80259FD8 00621821 */ addu $v1, $v1, $v0
|
|
/* 1888BC 80259FDC 00091140 */ sll $v0, $t1, 5
|
|
/* 1888C0 80259FE0 8C660000 */ lw $a2, ($v1)
|
|
/* 1888C4 80259FE4 10C00009 */ beqz $a2, .L8025A00C
|
|
/* 1888C8 80259FE8 02024021 */ addu $t0, $s0, $v0
|
|
/* 1888CC 80259FEC 0000382D */ daddu $a3, $zero, $zero
|
|
.L80259FF0:
|
|
/* 1888D0 80259FF0 94C20000 */ lhu $v0, ($a2)
|
|
/* 1888D4 80259FF4 24C60002 */ addiu $a2, $a2, 2
|
|
/* 1888D8 80259FF8 24E70001 */ addiu $a3, $a3, 1
|
|
/* 1888DC 80259FFC A5020000 */ sh $v0, ($t0)
|
|
/* 1888E0 8025A000 28E20010 */ slti $v0, $a3, 0x10
|
|
/* 1888E4 8025A004 1440FFFA */ bnez $v0, .L80259FF0
|
|
/* 1888E8 8025A008 25080002 */ addiu $t0, $t0, 2
|
|
.L8025A00C:
|
|
/* 1888EC 8025A00C 820206CC */ lb $v0, 0x6cc($s0)
|
|
/* 1888F0 8025A010 25290001 */ addiu $t1, $t1, 1
|
|
/* 1888F4 8025A014 0122102A */ slt $v0, $t1, $v0
|
|
/* 1888F8 8025A018 10400086 */ beqz $v0, .L8025A234
|
|
/* 1888FC 8025A01C 00000000 */ nop
|
|
/* 188900 8025A020 080967F4 */ j .L80259FD0
|
|
/* 188904 8025A024 00000000 */ nop
|
|
|
|
.L8025A028:
|
|
/* 188908 8025A028 820206CC */ lb $v0, 0x6cc($s0)
|
|
/* 18890C 8025A02C 920306CC */ lbu $v1, 0x6cc($s0)
|
|
/* 188910 8025A030 18400080 */ blez $v0, .L8025A234
|
|
/* 188914 8025A034 0000482D */ daddu $t1, $zero, $zero
|
|
/* 188918 8025A038 00031E00 */ sll $v1, $v1, 0x18
|
|
.L8025A03C:
|
|
/* 18891C 8025A03C 00031E03 */ sra $v1, $v1, 0x18
|
|
/* 188920 8025A040 00031040 */ sll $v0, $v1, 1
|
|
/* 188924 8025A044 00431021 */ addu $v0, $v0, $v1
|
|
/* 188928 8025A048 00491021 */ addu $v0, $v0, $t1
|
|
/* 18892C 8025A04C 8E0306D0 */ lw $v1, 0x6d0($s0)
|
|
/* 188930 8025A050 00021080 */ sll $v0, $v0, 2
|
|
/* 188934 8025A054 00431021 */ addu $v0, $v0, $v1
|
|
/* 188938 8025A058 8C460000 */ lw $a2, ($v0)
|
|
/* 18893C 8025A05C 00091140 */ sll $v0, $t1, 5
|
|
/* 188940 8025A060 10C00009 */ beqz $a2, .L8025A088
|
|
/* 188944 8025A064 02024021 */ addu $t0, $s0, $v0
|
|
/* 188948 8025A068 0000382D */ daddu $a3, $zero, $zero
|
|
.L8025A06C:
|
|
/* 18894C 8025A06C 94C20000 */ lhu $v0, ($a2)
|
|
/* 188950 8025A070 24C60002 */ addiu $a2, $a2, 2
|
|
/* 188954 8025A074 24E70001 */ addiu $a3, $a3, 1
|
|
/* 188958 8025A078 A5020000 */ sh $v0, ($t0)
|
|
/* 18895C 8025A07C 28E20010 */ slti $v0, $a3, 0x10
|
|
/* 188960 8025A080 1440FFFA */ bnez $v0, .L8025A06C
|
|
/* 188964 8025A084 25080002 */ addiu $t0, $t0, 2
|
|
.L8025A088:
|
|
/* 188968 8025A088 25290001 */ addiu $t1, $t1, 1
|
|
/* 18896C 8025A08C 820206CC */ lb $v0, 0x6cc($s0)
|
|
/* 188970 8025A090 920306CC */ lbu $v1, 0x6cc($s0)
|
|
/* 188974 8025A094 0122102A */ slt $v0, $t1, $v0
|
|
/* 188978 8025A098 1440FFE8 */ bnez $v0, .L8025A03C
|
|
/* 18897C 8025A09C 00031E00 */ sll $v1, $v1, 0x18
|
|
/* 188980 8025A0A0 0809688D */ j .L8025A234
|
|
/* 188984 8025A0A4 00000000 */ nop
|
|
|
|
.L8025A0A8:
|
|
/* 188988 8025A0A8 820206CC */ lb $v0, 0x6cc($s0)
|
|
/* 18898C 8025A0AC 18400061 */ blez $v0, .L8025A234
|
|
/* 188990 8025A0B0 0000482D */ daddu $t1, $zero, $zero
|
|
/* 188994 8025A0B4 3C0B8000 */ lui $t3, 0x8000
|
|
/* 188998 8025A0B8 3C01802A */ lui $at, 0x802a
|
|
/* 18899C 8025A0BC D424D400 */ ldc1 $f4, -0x2c00($at)
|
|
/* 1889A0 8025A0C0 3C0141E0 */ lui $at, 0x41e0
|
|
/* 1889A4 8025A0C4 44811800 */ mtc1 $at, $f3
|
|
/* 1889A8 8025A0C8 44801000 */ mtc1 $zero, $f2
|
|
.L8025A0CC:
|
|
/* 1889AC 8025A0CC 8E0206D0 */ lw $v0, 0x6d0($s0)
|
|
/* 1889B0 8025A0D0 00091880 */ sll $v1, $t1, 2
|
|
/* 1889B4 8025A0D4 00621821 */ addu $v1, $v1, $v0
|
|
/* 1889B8 8025A0D8 00091140 */ sll $v0, $t1, 5
|
|
/* 1889BC 8025A0DC 8C660000 */ lw $a2, ($v1)
|
|
/* 1889C0 8025A0E0 10C0004F */ beqz $a2, .L8025A220
|
|
/* 1889C4 8025A0E4 02024021 */ addu $t0, $s0, $v0
|
|
/* 1889C8 8025A0E8 0000382D */ daddu $a3, $zero, $zero
|
|
.L8025A0EC:
|
|
/* 1889CC 8025A0EC 94C30000 */ lhu $v1, ($a2)
|
|
/* 1889D0 8025A0F0 000312C2 */ srl $v0, $v1, 0xb
|
|
/* 1889D4 8025A0F4 44820000 */ mtc1 $v0, $f0
|
|
/* 1889D8 8025A0F8 00000000 */ nop
|
|
/* 1889DC 8025A0FC 46800021 */ cvt.d.w $f0, $f0
|
|
/* 1889E0 8025A100 46240002 */ mul.d $f0, $f0, $f4
|
|
/* 1889E4 8025A104 00000000 */ nop
|
|
/* 1889E8 8025A108 90C40001 */ lbu $a0, 1($a2)
|
|
/* 1889EC 8025A10C 24C60002 */ addiu $a2, $a2, 2
|
|
/* 1889F0 8025A110 00031182 */ srl $v0, $v1, 6
|
|
/* 1889F4 8025A114 3042001F */ andi $v0, $v0, 0x1f
|
|
/* 1889F8 8025A118 00031842 */ srl $v1, $v1, 1
|
|
/* 1889FC 8025A11C 306A001F */ andi $t2, $v1, 0x1f
|
|
/* 188A00 8025A120 4620103E */ c.le.d $f2, $f0
|
|
/* 188A04 8025A124 00000000 */ nop
|
|
/* 188A08 8025A128 45010005 */ bc1t .L8025A140
|
|
/* 188A0C 8025A12C 30840001 */ andi $a0, $a0, 1
|
|
/* 188A10 8025A130 4620018D */ trunc.w.d $f6, $f0
|
|
/* 188A14 8025A134 44033000 */ mfc1 $v1, $f6
|
|
/* 188A18 8025A138 08096856 */ j .L8025A158
|
|
/* 188A1C 8025A13C 304200FF */ andi $v0, $v0, 0xff
|
|
|
|
.L8025A140:
|
|
/* 188A20 8025A140 46220001 */ sub.d $f0, $f0, $f2
|
|
/* 188A24 8025A144 4620018D */ trunc.w.d $f6, $f0
|
|
/* 188A28 8025A148 44033000 */ mfc1 $v1, $f6
|
|
/* 188A2C 8025A14C 00000000 */ nop
|
|
/* 188A30 8025A150 006B1825 */ or $v1, $v1, $t3
|
|
/* 188A34 8025A154 304200FF */ andi $v0, $v0, 0xff
|
|
.L8025A158:
|
|
/* 188A38 8025A158 44820000 */ mtc1 $v0, $f0
|
|
/* 188A3C 8025A15C 00000000 */ nop
|
|
/* 188A40 8025A160 46800021 */ cvt.d.w $f0, $f0
|
|
/* 188A44 8025A164 46240002 */ mul.d $f0, $f0, $f4
|
|
/* 188A48 8025A168 00000000 */ nop
|
|
/* 188A4C 8025A16C 4620103E */ c.le.d $f2, $f0
|
|
/* 188A50 8025A170 00000000 */ nop
|
|
/* 188A54 8025A174 45030005 */ bc1tl .L8025A18C
|
|
/* 188A58 8025A178 46220001 */ sub.d $f0, $f0, $f2
|
|
/* 188A5C 8025A17C 4620018D */ trunc.w.d $f6, $f0
|
|
/* 188A60 8025A180 44053000 */ mfc1 $a1, $f6
|
|
/* 188A64 8025A184 08096868 */ j .L8025A1A0
|
|
/* 188A68 8025A188 314200FF */ andi $v0, $t2, 0xff
|
|
|
|
.L8025A18C:
|
|
/* 188A6C 8025A18C 4620018D */ trunc.w.d $f6, $f0
|
|
/* 188A70 8025A190 44053000 */ mfc1 $a1, $f6
|
|
/* 188A74 8025A194 00000000 */ nop
|
|
/* 188A78 8025A198 00AB2825 */ or $a1, $a1, $t3
|
|
/* 188A7C 8025A19C 314200FF */ andi $v0, $t2, 0xff
|
|
.L8025A1A0:
|
|
/* 188A80 8025A1A0 44820000 */ mtc1 $v0, $f0
|
|
/* 188A84 8025A1A4 00000000 */ nop
|
|
/* 188A88 8025A1A8 46800021 */ cvt.d.w $f0, $f0
|
|
/* 188A8C 8025A1AC 46240002 */ mul.d $f0, $f0, $f4
|
|
/* 188A90 8025A1B0 00000000 */ nop
|
|
/* 188A94 8025A1B4 4620103E */ c.le.d $f2, $f0
|
|
/* 188A98 8025A1B8 00000000 */ nop
|
|
/* 188A9C 8025A1BC 45010005 */ bc1t .L8025A1D4
|
|
/* 188AA0 8025A1C0 00A0102D */ daddu $v0, $a1, $zero
|
|
/* 188AA4 8025A1C4 4620018D */ trunc.w.d $f6, $f0
|
|
/* 188AA8 8025A1C8 44053000 */ mfc1 $a1, $f6
|
|
/* 188AAC 8025A1CC 0809687B */ j .L8025A1EC
|
|
/* 188AB0 8025A1D0 306300FF */ andi $v1, $v1, 0xff
|
|
|
|
.L8025A1D4:
|
|
/* 188AB4 8025A1D4 46220001 */ sub.d $f0, $f0, $f2
|
|
/* 188AB8 8025A1D8 4620018D */ trunc.w.d $f6, $f0
|
|
/* 188ABC 8025A1DC 44053000 */ mfc1 $a1, $f6
|
|
/* 188AC0 8025A1E0 00000000 */ nop
|
|
/* 188AC4 8025A1E4 00AB2825 */ or $a1, $a1, $t3
|
|
/* 188AC8 8025A1E8 306300FF */ andi $v1, $v1, 0xff
|
|
.L8025A1EC:
|
|
/* 188ACC 8025A1EC 00031AC0 */ sll $v1, $v1, 0xb
|
|
/* 188AD0 8025A1F0 304200FF */ andi $v0, $v0, 0xff
|
|
/* 188AD4 8025A1F4 00021180 */ sll $v0, $v0, 6
|
|
/* 188AD8 8025A1F8 00621825 */ or $v1, $v1, $v0
|
|
/* 188ADC 8025A1FC 30A200FF */ andi $v0, $a1, 0xff
|
|
/* 188AE0 8025A200 00021040 */ sll $v0, $v0, 1
|
|
/* 188AE4 8025A204 00621825 */ or $v1, $v1, $v0
|
|
/* 188AE8 8025A208 00831825 */ or $v1, $a0, $v1
|
|
/* 188AEC 8025A20C A5030000 */ sh $v1, ($t0)
|
|
/* 188AF0 8025A210 24E70001 */ addiu $a3, $a3, 1
|
|
/* 188AF4 8025A214 28E20010 */ slti $v0, $a3, 0x10
|
|
/* 188AF8 8025A218 1440FFB4 */ bnez $v0, .L8025A0EC
|
|
/* 188AFC 8025A21C 25080002 */ addiu $t0, $t0, 2
|
|
.L8025A220:
|
|
/* 188B00 8025A220 820206CC */ lb $v0, 0x6cc($s0)
|
|
/* 188B04 8025A224 25290001 */ addiu $t1, $t1, 1
|
|
/* 188B08 8025A228 0122102A */ slt $v0, $t1, $v0
|
|
/* 188B0C 8025A22C 1440FFA7 */ bnez $v0, .L8025A0CC
|
|
/* 188B10 8025A230 00000000 */ nop
|
|
.L8025A234:
|
|
.L8025A234:
|
|
/* 188B14 8025A234 820206CD */ lb $v0, 0x6cd($s0)
|
|
/* 188B18 8025A238 1840000A */ blez $v0, .L8025A264
|
|
/* 188B1C 8025A23C 0000482D */ daddu $t1, $zero, $zero
|
|
/* 188B20 8025A240 0200202D */ daddu $a0, $s0, $zero
|
|
/* 188B24 8025A244 0200182D */ daddu $v1, $s0, $zero
|
|
.L8025A248:
|
|
/* 188B28 8025A248 AC6406D4 */ sw $a0, 0x6d4($v1)
|
|
/* 188B2C 8025A24C 24840020 */ addiu $a0, $a0, 0x20
|
|
/* 188B30 8025A250 820206CD */ lb $v0, 0x6cd($s0)
|
|
/* 188B34 8025A254 25290001 */ addiu $t1, $t1, 1
|
|
/* 188B38 8025A258 0122102A */ slt $v0, $t1, $v0
|
|
/* 188B3C 8025A25C 1440FFFA */ bnez $v0, .L8025A248
|
|
/* 188B40 8025A260 24630004 */ addiu $v1, $v1, 4
|
|
.L8025A264:
|
|
/* 188B44 8025A264 16400006 */ bnez $s2, .L8025A280
|
|
/* 188B48 8025A268 0220202D */ daddu $a0, $s1, $zero
|
|
/* 188B4C 8025A26C 0260282D */ daddu $a1, $s3, $zero
|
|
/* 188B50 8025A270 0C096657 */ jal func_8025995C
|
|
/* 188B54 8025A274 0280302D */ daddu $a2, $s4, $zero
|
|
/* 188B58 8025A278 080968A3 */ j .L8025A28C
|
|
/* 188B5C 8025A27C 00000000 */ nop
|
|
|
|
.L8025A280:
|
|
/* 188B60 8025A280 0260282D */ daddu $a1, $s3, $zero
|
|
/* 188B64 8025A284 0C0965B0 */ jal func_802596C0
|
|
/* 188B68 8025A288 0280302D */ daddu $a2, $s4, $zero
|
|
.L8025A28C:
|
|
/* 188B6C 8025A28C 16A00004 */ bnez $s5, .L8025A2A0
|
|
/* 188B70 8025A290 00000000 */ nop
|
|
/* 188B74 8025A294 960206CA */ lhu $v0, 0x6ca($s0)
|
|
/* 188B78 8025A298 2442FFFF */ addiu $v0, $v0, -1
|
|
/* 188B7C 8025A29C A60206CA */ sh $v0, 0x6ca($s0)
|
|
.L8025A2A0:
|
|
/* 188B80 8025A2A0 8FBF0028 */ lw $ra, 0x28($sp)
|
|
/* 188B84 8025A2A4 8FB50024 */ lw $s5, 0x24($sp)
|
|
/* 188B88 8025A2A8 8FB40020 */ lw $s4, 0x20($sp)
|
|
/* 188B8C 8025A2AC 8FB3001C */ lw $s3, 0x1c($sp)
|
|
/* 188B90 8025A2B0 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 188B94 8025A2B4 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 188B98 8025A2B8 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 188B9C 8025A2BC 03E00008 */ jr $ra
|
|
/* 188BA0 8025A2C0 27BD0030 */ addiu $sp, $sp, 0x30
|
|
|