mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-29 03:34:07 +00:00
1037 lines
48 KiB
ArmAsm
1037 lines
48 KiB
ArmAsm
|
.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 purposee registers
|
||
|
|
||
|
.section .text
|
||
|
|
||
|
.align 4
|
||
|
|
||
|
glabel func_80092500
|
||
|
/* B096A0 80092500 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||
|
/* B096A4 80092504 AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* B096A8 80092508 AFA40030 */ sw $a0, 0x30($sp)
|
||
|
/* B096AC 8009250C 00A03825 */ move $a3, $a1
|
||
|
/* B096B0 80092510 AFA70034 */ sw $a3, 0x34($sp)
|
||
|
/* B096B4 80092514 00C02825 */ move $a1, $a2
|
||
|
/* B096B8 80092518 0C01F097 */ jal func_8007C25C
|
||
|
/* B096BC 8009251C 27A40018 */ addiu $a0, $sp, 0x18
|
||
|
/* B096C0 80092520 8FA70034 */ lw $a3, 0x34($sp)
|
||
|
/* B096C4 80092524 C7A60018 */ lwc1 $f6, 0x18($sp)
|
||
|
/* B096C8 80092528 C7B0001C */ lwc1 $f16, 0x1c($sp)
|
||
|
/* B096CC 8009252C C4E40000 */ lwc1 $f4, ($a3)
|
||
|
/* B096D0 80092530 27AE0024 */ addiu $t6, $sp, 0x24
|
||
|
/* B096D4 80092534 8FA20030 */ lw $v0, 0x30($sp)
|
||
|
/* B096D8 80092538 46062200 */ add.s $f8, $f4, $f6
|
||
|
/* B096DC 8009253C C7A60020 */ lwc1 $f6, 0x20($sp)
|
||
|
/* B096E0 80092540 E7A80024 */ swc1 $f8, 0x24($sp)
|
||
|
/* B096E4 80092544 C4EA0004 */ lwc1 $f10, 4($a3)
|
||
|
/* B096E8 80092548 46105480 */ add.s $f18, $f10, $f16
|
||
|
/* B096EC 8009254C E7B20028 */ swc1 $f18, 0x28($sp)
|
||
|
/* B096F0 80092550 C4E40008 */ lwc1 $f4, 8($a3)
|
||
|
/* B096F4 80092554 46062200 */ add.s $f8, $f4, $f6
|
||
|
/* B096F8 80092558 E7A8002C */ swc1 $f8, 0x2c($sp)
|
||
|
/* B096FC 8009255C 8DD80000 */ lw $t8, ($t6)
|
||
|
/* B09700 80092560 AC580000 */ sw $t8, ($v0)
|
||
|
/* B09704 80092564 8DCF0004 */ lw $t7, 4($t6)
|
||
|
/* B09708 80092568 AC4F0004 */ sw $t7, 4($v0)
|
||
|
/* B0970C 8009256C 8DD80008 */ lw $t8, 8($t6)
|
||
|
/* B09710 80092570 AC580008 */ sw $t8, 8($v0)
|
||
|
/* B09714 80092574 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* B09718 80092578 27BD0030 */ addiu $sp, $sp, 0x30
|
||
|
/* B0971C 8009257C 03E00008 */ jr $ra
|
||
|
/* B09720 80092580 00000000 */ nop
|
||
|
|
||
|
glabel func_80092584
|
||
|
/* B09724 80092584 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||
|
/* B09728 80092588 AFBF0024 */ sw $ra, 0x24($sp)
|
||
|
/* B0972C 8009258C AFB10020 */ sw $s1, 0x20($sp)
|
||
|
/* B09730 80092590 AFB0001C */ sw $s0, 0x1c($sp)
|
||
|
/* B09734 80092594 F7B40010 */ sdc1 $f20, 0x10($sp)
|
||
|
/* B09738 80092598 AFA50064 */ sw $a1, 0x64($sp)
|
||
|
/* B0973C 8009259C AFA7006C */ sw $a3, 0x6c($sp)
|
||
|
/* B09740 800925A0 8C820004 */ lw $v0, 4($a0)
|
||
|
/* B09744 800925A4 848E001C */ lh $t6, 0x1c($a0)
|
||
|
/* B09748 800925A8 4486A000 */ mtc1 $a2, $f20
|
||
|
/* B0974C 800925AC 00A03825 */ move $a3, $a1
|
||
|
/* B09750 800925B0 00808025 */ move $s0, $a0
|
||
|
/* B09754 800925B4 24460050 */ addiu $a2, $v0, 0x50
|
||
|
/* B09758 800925B8 11C00031 */ beqz $t6, .L80092680
|
||
|
/* B0975C 800925BC 2451005C */ addiu $s1, $v0, 0x5c
|
||
|
/* B09760 800925C0 44800000 */ mtc1 $zero, $f0
|
||
|
/* B09764 800925C4 27A4003C */ addiu $a0, $sp, 0x3c
|
||
|
/* B09768 800925C8 02202825 */ move $a1, $s1
|
||
|
/* B0976C 800925CC AFA70064 */ sw $a3, 0x64($sp)
|
||
|
/* B09770 800925D0 E7A0004C */ swc1 $f0, 0x4c($sp)
|
||
|
/* B09774 800925D4 E7A00050 */ swc1 $f0, 0x50($sp)
|
||
|
/* B09778 800925D8 0C01F124 */ jal func_8007C490
|
||
|
/* B0977C 800925DC E7A00054 */ swc1 $f0, 0x54($sp)
|
||
|
/* B09780 800925E0 860F000C */ lh $t7, 0xc($s0)
|
||
|
/* B09784 800925E4 87B80040 */ lh $t8, 0x40($sp)
|
||
|
/* B09788 800925E8 87AA0042 */ lh $t2, 0x42($sp)
|
||
|
/* B0978C 800925EC 448F2000 */ mtc1 $t7, $f4
|
||
|
/* B09790 800925F0 27B1004C */ addiu $s1, $sp, 0x4c
|
||
|
/* B09794 800925F4 02202025 */ move $a0, $s1
|
||
|
/* B09798 800925F8 468021A0 */ cvt.s.w $f6, $f4
|
||
|
/* B0979C 800925FC 02202825 */ move $a1, $s1
|
||
|
/* B097A0 80092600 27A60044 */ addiu $a2, $sp, 0x44
|
||
|
/* B097A4 80092604 46143202 */ mul.s $f8, $f6, $f20
|
||
|
/* B097A8 80092608 E7A80044 */ swc1 $f8, 0x44($sp)
|
||
|
/* B097AC 8009260C 86190014 */ lh $t9, 0x14($s0)
|
||
|
/* B097B0 80092610 03194021 */ addu $t0, $t8, $t9
|
||
|
/* B097B4 80092614 25094000 */ addiu $t1, $t0, 0x4000
|
||
|
/* B097B8 80092618 A7A90048 */ sh $t1, 0x48($sp)
|
||
|
/* B097BC 8009261C 860B0016 */ lh $t3, 0x16($s0)
|
||
|
/* B097C0 80092620 014B6021 */ addu $t4, $t2, $t3
|
||
|
/* B097C4 80092624 0C024940 */ jal func_80092500
|
||
|
/* B097C8 80092628 A7AC004A */ sh $t4, 0x4a($sp)
|
||
|
/* B097CC 8009262C 860D000E */ lh $t5, 0xe($s0)
|
||
|
/* B097D0 80092630 C7B2006C */ lwc1 $f18, 0x6c($sp)
|
||
|
/* B097D4 80092634 87AE0040 */ lh $t6, 0x40($sp)
|
||
|
/* B097D8 80092638 448D5000 */ mtc1 $t5, $f10
|
||
|
/* B097DC 8009263C 87B90042 */ lh $t9, 0x42($sp)
|
||
|
/* B097E0 80092640 02202025 */ move $a0, $s1
|
||
|
/* B097E4 80092644 46805420 */ cvt.s.w $f16, $f10
|
||
|
/* B097E8 80092648 02202825 */ move $a1, $s1
|
||
|
/* B097EC 8009264C 27A60044 */ addiu $a2, $sp, 0x44
|
||
|
/* B097F0 80092650 46128102 */ mul.s $f4, $f16, $f18
|
||
|
/* B097F4 80092654 E7A40044 */ swc1 $f4, 0x44($sp)
|
||
|
/* B097F8 80092658 860F0014 */ lh $t7, 0x14($s0)
|
||
|
/* B097FC 8009265C 01CFC021 */ addu $t8, $t6, $t7
|
||
|
/* B09800 80092660 A7B80048 */ sh $t8, 0x48($sp)
|
||
|
/* B09804 80092664 86080016 */ lh $t0, 0x16($s0)
|
||
|
/* B09808 80092668 03284821 */ addu $t1, $t9, $t0
|
||
|
/* B0980C 8009266C 252A4000 */ addiu $t2, $t1, 0x4000
|
||
|
/* B09810 80092670 0C024940 */ jal func_80092500
|
||
|
/* B09814 80092674 A7AA004A */ sh $t2, 0x4a($sp)
|
||
|
/* B09818 80092678 1000001B */ b .L800926E8
|
||
|
/* B0981C 8009267C 8FA70064 */ lw $a3, 0x64($sp)
|
||
|
.L80092680:
|
||
|
/* B09820 80092680 44800000 */ mtc1 $zero, $f0
|
||
|
/* B09824 80092684 C7A4006C */ lwc1 $f4, 0x6c($sp)
|
||
|
/* B09828 80092688 27B1004C */ addiu $s1, $sp, 0x4c
|
||
|
/* B0982C 8009268C E7A0004C */ swc1 $f0, 0x4c($sp)
|
||
|
/* B09830 80092690 860B000C */ lh $t3, 0xc($s0)
|
||
|
/* B09834 80092694 E7A00054 */ swc1 $f0, 0x54($sp)
|
||
|
/* B09838 80092698 02202025 */ move $a0, $s1
|
||
|
/* B0983C 8009269C 448B3000 */ mtc1 $t3, $f6
|
||
|
/* B09840 800926A0 02202825 */ move $a1, $s1
|
||
|
/* B09844 800926A4 27A60044 */ addiu $a2, $sp, 0x44
|
||
|
/* B09848 800926A8 46803220 */ cvt.s.w $f8, $f6
|
||
|
/* B0984C 800926AC 46144282 */ mul.s $f10, $f8, $f20
|
||
|
/* B09850 800926B0 E7AA0050 */ swc1 $f10, 0x50($sp)
|
||
|
/* B09854 800926B4 860C000E */ lh $t4, 0xe($s0)
|
||
|
/* B09858 800926B8 448C8000 */ mtc1 $t4, $f16
|
||
|
/* B0985C 800926BC 00000000 */ nop
|
||
|
/* B09860 800926C0 468084A0 */ cvt.s.w $f18, $f16
|
||
|
/* B09864 800926C4 46049182 */ mul.s $f6, $f18, $f4
|
||
|
/* B09868 800926C8 E7A60044 */ swc1 $f6, 0x44($sp)
|
||
|
/* B0986C 800926CC 860D0014 */ lh $t5, 0x14($s0)
|
||
|
/* B09870 800926D0 A7AD0048 */ sh $t5, 0x48($sp)
|
||
|
/* B09874 800926D4 860E0016 */ lh $t6, 0x16($s0)
|
||
|
/* B09878 800926D8 AFA70064 */ sw $a3, 0x64($sp)
|
||
|
/* B0987C 800926DC 0C024940 */ jal func_80092500
|
||
|
/* B09880 800926E0 A7AE004A */ sh $t6, 0x4a($sp)
|
||
|
/* B09884 800926E4 8FA70064 */ lw $a3, 0x64($sp)
|
||
|
.L800926E8:
|
||
|
/* B09888 800926E8 8E380000 */ lw $t8, ($s1)
|
||
|
/* B0988C 800926EC 27A20030 */ addiu $v0, $sp, 0x30
|
||
|
/* B09890 800926F0 8E2F0004 */ lw $t7, 4($s1)
|
||
|
/* B09894 800926F4 AC580000 */ sw $t8, ($v0)
|
||
|
/* B09898 800926F8 8E380008 */ lw $t8, 8($s1)
|
||
|
/* B0989C 800926FC 8C480000 */ lw $t0, ($v0)
|
||
|
/* B098A0 80092700 AC4F0004 */ sw $t7, 4($v0)
|
||
|
/* B098A4 80092704 AC580008 */ sw $t8, 8($v0)
|
||
|
/* B098A8 80092708 ACE8000C */ sw $t0, 0xc($a3)
|
||
|
/* B098AC 8009270C 8C590004 */ lw $t9, 4($v0)
|
||
|
/* B098B0 80092710 3C014700 */ li $at, 0x47000000 # 0.000000
|
||
|
/* B098B4 80092714 44814000 */ mtc1 $at, $f8
|
||
|
/* B098B8 80092718 ACF90010 */ sw $t9, 0x10($a3)
|
||
|
/* B098BC 8009271C 8C480008 */ lw $t0, 8($v0)
|
||
|
/* B098C0 80092720 46144282 */ mul.s $f10, $f8, $f20
|
||
|
/* B098C4 80092724 ACE80014 */ sw $t0, 0x14($a3)
|
||
|
/* B098C8 80092728 8C4A0000 */ lw $t2, ($v0)
|
||
|
/* B098CC 8009272C ACEA0000 */ sw $t2, ($a3)
|
||
|
/* B098D0 80092730 4600540D */ trunc.w.s $f16, $f10
|
||
|
/* B098D4 80092734 8C490004 */ lw $t1, 4($v0)
|
||
|
/* B098D8 80092738 ACE90004 */ sw $t1, 4($a3)
|
||
|
/* B098DC 8009273C 8C4A0008 */ lw $t2, 8($v0)
|
||
|
/* B098E0 80092740 440C8000 */ mfc1 $t4, $f16
|
||
|
/* B098E4 80092744 ACEA0008 */ sw $t2, 8($a3)
|
||
|
/* B098E8 80092748 A4EC001A */ sh $t4, 0x1a($a3)
|
||
|
/* B098EC 8009274C 860D0012 */ lh $t5, 0x12($s0)
|
||
|
/* B098F0 80092750 448D9000 */ mtc1 $t5, $f18
|
||
|
/* B098F4 80092754 00000000 */ nop
|
||
|
/* B098F8 80092758 46809120 */ cvt.s.w $f4, $f18
|
||
|
/* B098FC 8009275C 46142182 */ mul.s $f6, $f4, $f20
|
||
|
/* B09900 80092760 4600320D */ trunc.w.s $f8, $f6
|
||
|
/* B09904 80092764 440F4000 */ mfc1 $t7, $f8
|
||
|
/* B09908 80092768 00000000 */ nop
|
||
|
/* B0990C 8009276C A4EF0018 */ sh $t7, 0x18($a3)
|
||
|
/* B09910 80092770 86180010 */ lh $t8, 0x10($s0)
|
||
|
/* B09914 80092774 44985000 */ mtc1 $t8, $f10
|
||
|
/* B09918 80092778 00000000 */ nop
|
||
|
/* B0991C 8009277C 46805420 */ cvt.s.w $f16, $f10
|
||
|
/* B09920 80092780 46148482 */ mul.s $f18, $f16, $f20
|
||
|
/* B09924 80092784 4600910D */ trunc.w.s $f4, $f18
|
||
|
/* B09928 80092788 44082000 */ mfc1 $t0, $f4
|
||
|
/* B0992C 8009278C 00000000 */ nop
|
||
|
/* B09930 80092790 A4E8001C */ sh $t0, 0x1c($a3)
|
||
|
/* B09934 80092794 8FBF0024 */ lw $ra, 0x24($sp)
|
||
|
/* B09938 80092798 8FB10020 */ lw $s1, 0x20($sp)
|
||
|
/* B0993C 8009279C 8FB0001C */ lw $s0, 0x1c($sp)
|
||
|
/* B09940 800927A0 D7B40010 */ ldc1 $f20, 0x10($sp)
|
||
|
/* B09944 800927A4 03E00008 */ jr $ra
|
||
|
/* B09948 800927A8 27BD0060 */ addiu $sp, $sp, 0x60
|
||
|
|
||
|
glabel func_800927AC
|
||
|
/* B0994C 800927AC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||
|
/* B09950 800927B0 AFBF001C */ sw $ra, 0x1c($sp)
|
||
|
/* B09954 800927B4 AFB00018 */ sw $s0, 0x18($sp)
|
||
|
/* B09958 800927B8 AFA5002C */ sw $a1, 0x2c($sp)
|
||
|
/* B0995C 800927BC 8483001E */ lh $v1, 0x1e($a0)
|
||
|
/* B09960 800927C0 00808025 */ move $s0, $a0
|
||
|
/* B09964 800927C4 58600016 */ blezl $v1, .L80092820
|
||
|
/* B09968 800927C8 8FBF001C */ lw $ra, 0x1c($sp)
|
||
|
/* B0996C 800927CC 848E001A */ lh $t6, 0x1a($a0)
|
||
|
/* B09970 800927D0 01C30019 */ multu $t6, $v1
|
||
|
/* B09974 800927D4 00002012 */ mflo $a0
|
||
|
/* B09978 800927D8 00042400 */ sll $a0, $a0, 0x10
|
||
|
/* B0997C 800927DC 0C01DE1C */ jal Math_Sins
|
||
|
/* B09980 800927E0 00042403 */ sra $a0, $a0, 0x10
|
||
|
/* B09984 800927E4 0C03F66B */ jal Math_Rand_ZeroOne
|
||
|
/* B09988 800927E8 E7A00020 */ swc1 $f0, 0x20($sp)
|
||
|
/* B0998C 800927EC C7A20020 */ lwc1 $f2, 0x20($sp)
|
||
|
/* B09990 800927F0 02002025 */ move $a0, $s0
|
||
|
/* B09994 800927F4 8FA5002C */ lw $a1, 0x2c($sp)
|
||
|
/* B09998 800927F8 46020102 */ mul.s $f4, $f0, $f2
|
||
|
/* B0999C 800927FC 44061000 */ mfc1 $a2, $f2
|
||
|
/* B099A0 80092800 44072000 */ mfc1 $a3, $f4
|
||
|
/* B099A4 80092804 0C024961 */ jal func_80092584
|
||
|
/* B099A8 80092808 00000000 */ nop
|
||
|
/* B099AC 8009280C 860F001E */ lh $t7, 0x1e($s0)
|
||
|
/* B099B0 80092810 25F8FFFF */ addiu $t8, $t7, -1
|
||
|
/* B099B4 80092814 A618001E */ sh $t8, 0x1e($s0)
|
||
|
/* B099B8 80092818 8603001E */ lh $v1, 0x1e($s0)
|
||
|
/* B099BC 8009281C 8FBF001C */ lw $ra, 0x1c($sp)
|
||
|
.L80092820:
|
||
|
/* B099C0 80092820 8FB00018 */ lw $s0, 0x18($sp)
|
||
|
/* B099C4 80092824 27BD0028 */ addiu $sp, $sp, 0x28
|
||
|
/* B099C8 80092828 03E00008 */ jr $ra
|
||
|
/* B099CC 8009282C 00601025 */ move $v0, $v1
|
||
|
|
||
|
glabel func_80092830
|
||
|
/* B099D0 80092830 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||
|
/* B099D4 80092834 AFBF001C */ sw $ra, 0x1c($sp)
|
||
|
/* B099D8 80092838 AFB00018 */ sw $s0, 0x18($sp)
|
||
|
/* B099DC 8009283C AFA50024 */ sw $a1, 0x24($sp)
|
||
|
/* B099E0 80092840 8483001E */ lh $v1, 0x1e($a0)
|
||
|
/* B099E4 80092844 00808025 */ move $s0, $a0
|
||
|
/* B099E8 80092848 58600011 */ blezl $v1, .L80092890
|
||
|
/* B099EC 8009284C 8FBF001C */ lw $ra, 0x1c($sp)
|
||
|
/* B099F0 80092850 848E001A */ lh $t6, 0x1a($a0)
|
||
|
/* B099F4 80092854 01C30019 */ multu $t6, $v1
|
||
|
/* B099F8 80092858 00002012 */ mflo $a0
|
||
|
/* B099FC 8009285C 00042400 */ sll $a0, $a0, 0x10
|
||
|
/* B09A00 80092860 0C01DE1C */ jal Math_Sins
|
||
|
/* B09A04 80092864 00042403 */ sra $a0, $a0, 0x10
|
||
|
/* B09A08 80092868 44060000 */ mfc1 $a2, $f0
|
||
|
/* B09A0C 8009286C 44070000 */ mfc1 $a3, $f0
|
||
|
/* B09A10 80092870 02002025 */ move $a0, $s0
|
||
|
/* B09A14 80092874 0C024961 */ jal func_80092584
|
||
|
/* B09A18 80092878 8FA50024 */ lw $a1, 0x24($sp)
|
||
|
/* B09A1C 8009287C 860F001E */ lh $t7, 0x1e($s0)
|
||
|
/* B09A20 80092880 25F8FFFF */ addiu $t8, $t7, -1
|
||
|
/* B09A24 80092884 A618001E */ sh $t8, 0x1e($s0)
|
||
|
/* B09A28 80092888 8603001E */ lh $v1, 0x1e($s0)
|
||
|
/* B09A2C 8009288C 8FBF001C */ lw $ra, 0x1c($sp)
|
||
|
.L80092890:
|
||
|
/* B09A30 80092890 8FB00018 */ lw $s0, 0x18($sp)
|
||
|
/* B09A34 80092894 27BD0020 */ addiu $sp, $sp, 0x20
|
||
|
/* B09A38 80092898 03E00008 */ jr $ra
|
||
|
/* B09A3C 8009289C 00601025 */ move $v0, $v1
|
||
|
|
||
|
glabel func_800928A0
|
||
|
/* B09A40 800928A0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||
|
/* B09A44 800928A4 AFBF001C */ sw $ra, 0x1c($sp)
|
||
|
/* B09A48 800928A8 AFB00018 */ sw $s0, 0x18($sp)
|
||
|
/* B09A4C 800928AC AFA5002C */ sw $a1, 0x2c($sp)
|
||
|
/* B09A50 800928B0 848E001E */ lh $t6, 0x1e($a0)
|
||
|
/* B09A54 800928B4 8498001A */ lh $t8, 0x1a($a0)
|
||
|
/* B09A58 800928B8 00808025 */ move $s0, $a0
|
||
|
/* B09A5C 800928BC 25CFFFFF */ addiu $t7, $t6, -1
|
||
|
/* B09A60 800928C0 A48F001E */ sh $t7, 0x1e($a0)
|
||
|
/* B09A64 800928C4 8499001E */ lh $t9, 0x1e($a0)
|
||
|
/* B09A68 800928C8 3328000F */ andi $t0, $t9, 0xf
|
||
|
/* B09A6C 800928CC 250901F4 */ addiu $t1, $t0, 0x1f4
|
||
|
/* B09A70 800928D0 03090019 */ multu $t8, $t1
|
||
|
/* B09A74 800928D4 00002012 */ mflo $a0
|
||
|
/* B09A78 800928D8 00042400 */ sll $a0, $a0, 0x10
|
||
|
/* B09A7C 800928DC 0C01DE1C */ jal Math_Sins
|
||
|
/* B09A80 800928E0 00042403 */ sra $a0, $a0, 0x10
|
||
|
/* B09A84 800928E4 0C03F66B */ jal Math_Rand_ZeroOne
|
||
|
/* B09A88 800928E8 E7A00020 */ swc1 $f0, 0x20($sp)
|
||
|
/* B09A8C 800928EC C7A20020 */ lwc1 $f2, 0x20($sp)
|
||
|
/* B09A90 800928F0 02002025 */ move $a0, $s0
|
||
|
/* B09A94 800928F4 8FA5002C */ lw $a1, 0x2c($sp)
|
||
|
/* B09A98 800928F8 46020102 */ mul.s $f4, $f0, $f2
|
||
|
/* B09A9C 800928FC 44061000 */ mfc1 $a2, $f2
|
||
|
/* B09AA0 80092900 44072000 */ mfc1 $a3, $f4
|
||
|
/* B09AA4 80092904 0C024961 */ jal func_80092584
|
||
|
/* B09AA8 80092908 00000000 */ nop
|
||
|
/* B09AAC 8009290C 8FBF001C */ lw $ra, 0x1c($sp)
|
||
|
/* B09AB0 80092910 8FB00018 */ lw $s0, 0x18($sp)
|
||
|
/* B09AB4 80092914 27BD0028 */ addiu $sp, $sp, 0x28
|
||
|
/* B09AB8 80092918 03E00008 */ jr $ra
|
||
|
/* B09ABC 8009291C 24020001 */ li $v0, 1
|
||
|
|
||
|
glabel func_80092920
|
||
|
/* B09AC0 80092920 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||
|
/* B09AC4 80092924 AFBF001C */ sw $ra, 0x1c($sp)
|
||
|
/* B09AC8 80092928 AFB00018 */ sw $s0, 0x18($sp)
|
||
|
/* B09ACC 8009292C AFA50024 */ sw $a1, 0x24($sp)
|
||
|
/* B09AD0 80092930 8483001E */ lh $v1, 0x1e($a0)
|
||
|
/* B09AD4 80092934 00808025 */ move $s0, $a0
|
||
|
/* B09AD8 80092938 5860001A */ blezl $v1, .L800929A4
|
||
|
/* B09ADC 8009293C 8FBF001C */ lw $ra, 0x1c($sp)
|
||
|
/* B09AE0 80092940 848E001A */ lh $t6, 0x1a($a0)
|
||
|
/* B09AE4 80092944 01C30019 */ multu $t6, $v1
|
||
|
/* B09AE8 80092948 00002012 */ mflo $a0
|
||
|
/* B09AEC 8009294C 00042400 */ sll $a0, $a0, 0x10
|
||
|
/* B09AF0 80092950 0C01DE1C */ jal Math_Sins
|
||
|
/* B09AF4 80092954 00042403 */ sra $a0, $a0, 0x10
|
||
|
/* B09AF8 80092958 860F001E */ lh $t7, 0x1e($s0)
|
||
|
/* B09AFC 8009295C 86180002 */ lh $t8, 2($s0)
|
||
|
/* B09B00 80092960 02002025 */ move $a0, $s0
|
||
|
/* B09B04 80092964 448F2000 */ mtc1 $t7, $f4
|
||
|
/* B09B08 80092968 44984000 */ mtc1 $t8, $f8
|
||
|
/* B09B0C 8009296C 8FA50024 */ lw $a1, 0x24($sp)
|
||
|
/* B09B10 80092970 468021A0 */ cvt.s.w $f6, $f4
|
||
|
/* B09B14 80092974 468042A0 */ cvt.s.w $f10, $f8
|
||
|
/* B09B18 80092978 460A3403 */ div.s $f16, $f6, $f10
|
||
|
/* B09B1C 8009297C 46100082 */ mul.s $f2, $f0, $f16
|
||
|
/* B09B20 80092980 44061000 */ mfc1 $a2, $f2
|
||
|
/* B09B24 80092984 44071000 */ mfc1 $a3, $f2
|
||
|
/* B09B28 80092988 0C024961 */ jal func_80092584
|
||
|
/* B09B2C 8009298C 00000000 */ nop
|
||
|
/* B09B30 80092990 8619001E */ lh $t9, 0x1e($s0)
|
||
|
/* B09B34 80092994 2728FFFF */ addiu $t0, $t9, -1
|
||
|
/* B09B38 80092998 A608001E */ sh $t0, 0x1e($s0)
|
||
|
/* B09B3C 8009299C 8603001E */ lh $v1, 0x1e($s0)
|
||
|
/* B09B40 800929A0 8FBF001C */ lw $ra, 0x1c($sp)
|
||
|
.L800929A4:
|
||
|
/* B09B44 800929A4 8FB00018 */ lw $s0, 0x18($sp)
|
||
|
/* B09B48 800929A8 27BD0020 */ addiu $sp, $sp, 0x20
|
||
|
/* B09B4C 800929AC 03E00008 */ jr $ra
|
||
|
/* B09B50 800929B0 00601025 */ move $v0, $v1
|
||
|
|
||
|
glabel func_800929B4
|
||
|
/* B09B54 800929B4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||
|
/* B09B58 800929B8 AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* B09B5C 800929BC AFA50024 */ sw $a1, 0x24($sp)
|
||
|
/* B09B60 800929C0 8483001E */ lh $v1, 0x1e($a0)
|
||
|
/* B09B64 800929C4 58600013 */ blezl $v1, .L80092A14
|
||
|
/* B09B68 800929C8 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* B09B6C 800929CC 0C03F66B */ jal Math_Rand_ZeroOne
|
||
|
/* B09B70 800929D0 AFA40020 */ sw $a0, 0x20($sp)
|
||
|
/* B09B74 800929D4 0C03F66B */ jal Math_Rand_ZeroOne
|
||
|
/* B09B78 800929D8 E7A0001C */ swc1 $f0, 0x1c($sp)
|
||
|
/* B09B7C 800929DC C7A2001C */ lwc1 $f2, 0x1c($sp)
|
||
|
/* B09B80 800929E0 8FA40020 */ lw $a0, 0x20($sp)
|
||
|
/* B09B84 800929E4 8FA50024 */ lw $a1, 0x24($sp)
|
||
|
/* B09B88 800929E8 46020102 */ mul.s $f4, $f0, $f2
|
||
|
/* B09B8C 800929EC 44061000 */ mfc1 $a2, $f2
|
||
|
/* B09B90 800929F0 44072000 */ mfc1 $a3, $f4
|
||
|
/* B09B94 800929F4 0C024961 */ jal func_80092584
|
||
|
/* B09B98 800929F8 00000000 */ nop
|
||
|
/* B09B9C 800929FC 8FA40020 */ lw $a0, 0x20($sp)
|
||
|
/* B09BA0 80092A00 848E001E */ lh $t6, 0x1e($a0)
|
||
|
/* B09BA4 80092A04 25CFFFFF */ addiu $t7, $t6, -1
|
||
|
/* B09BA8 80092A08 A48F001E */ sh $t7, 0x1e($a0)
|
||
|
/* B09BAC 80092A0C 8483001E */ lh $v1, 0x1e($a0)
|
||
|
/* B09BB0 80092A10 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
.L80092A14:
|
||
|
/* B09BB4 80092A14 27BD0020 */ addiu $sp, $sp, 0x20
|
||
|
/* B09BB8 80092A18 00601025 */ move $v0, $v1
|
||
|
/* B09BBC 80092A1C 03E00008 */ jr $ra
|
||
|
/* B09BC0 80092A20 00000000 */ nop
|
||
|
|
||
|
glabel func_80092A24
|
||
|
/* B09BC4 80092A24 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||
|
/* B09BC8 80092A28 AFBF001C */ sw $ra, 0x1c($sp)
|
||
|
/* B09BCC 80092A2C AFB00018 */ sw $s0, 0x18($sp)
|
||
|
/* B09BD0 80092A30 AFA5002C */ sw $a1, 0x2c($sp)
|
||
|
/* B09BD4 80092A34 8483001E */ lh $v1, 0x1e($a0)
|
||
|
/* B09BD8 80092A38 00808025 */ move $s0, $a0
|
||
|
/* B09BDC 80092A3C 5860001A */ blezl $v1, .L80092AA8
|
||
|
/* B09BE0 80092A40 8FBF001C */ lw $ra, 0x1c($sp)
|
||
|
/* B09BE4 80092A44 0C03F66B */ jal Math_Rand_ZeroOne
|
||
|
/* B09BE8 80092A48 00000000 */ nop
|
||
|
/* B09BEC 80092A4C 860E001E */ lh $t6, 0x1e($s0)
|
||
|
/* B09BF0 80092A50 860F0002 */ lh $t7, 2($s0)
|
||
|
/* B09BF4 80092A54 448E2000 */ mtc1 $t6, $f4
|
||
|
/* B09BF8 80092A58 448F4000 */ mtc1 $t7, $f8
|
||
|
/* B09BFC 80092A5C 468021A0 */ cvt.s.w $f6, $f4
|
||
|
/* B09C00 80092A60 468042A0 */ cvt.s.w $f10, $f8
|
||
|
/* B09C04 80092A64 460A3403 */ div.s $f16, $f6, $f10
|
||
|
/* B09C08 80092A68 46100082 */ mul.s $f2, $f0, $f16
|
||
|
/* B09C0C 80092A6C 0C03F66B */ jal Math_Rand_ZeroOne
|
||
|
/* B09C10 80092A70 E7A20024 */ swc1 $f2, 0x24($sp)
|
||
|
/* B09C14 80092A74 C7A20024 */ lwc1 $f2, 0x24($sp)
|
||
|
/* B09C18 80092A78 02002025 */ move $a0, $s0
|
||
|
/* B09C1C 80092A7C 8FA5002C */ lw $a1, 0x2c($sp)
|
||
|
/* B09C20 80092A80 46020482 */ mul.s $f18, $f0, $f2
|
||
|
/* B09C24 80092A84 44061000 */ mfc1 $a2, $f2
|
||
|
/* B09C28 80092A88 44079000 */ mfc1 $a3, $f18
|
||
|
/* B09C2C 80092A8C 0C024961 */ jal func_80092584
|
||
|
/* B09C30 80092A90 00000000 */ nop
|
||
|
/* B09C34 80092A94 8618001E */ lh $t8, 0x1e($s0)
|
||
|
/* B09C38 80092A98 2719FFFF */ addiu $t9, $t8, -1
|
||
|
/* B09C3C 80092A9C A619001E */ sh $t9, 0x1e($s0)
|
||
|
/* B09C40 80092AA0 8603001E */ lh $v1, 0x1e($s0)
|
||
|
/* B09C44 80092AA4 8FBF001C */ lw $ra, 0x1c($sp)
|
||
|
.L80092AA8:
|
||
|
/* B09C48 80092AA8 8FB00018 */ lw $s0, 0x18($sp)
|
||
|
/* B09C4C 80092AAC 27BD0028 */ addiu $sp, $sp, 0x28
|
||
|
/* B09C50 80092AB0 03E00008 */ jr $ra
|
||
|
/* B09C54 80092AB4 00601025 */ move $v0, $v1
|
||
|
|
||
|
glabel func_80092AB8
|
||
|
/* B09C58 80092AB8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||
|
/* B09C5C 80092ABC 3C028016 */ lui $v0, %hi(D_80160020) # $v0, 0x8016
|
||
|
/* B09C60 80092AC0 AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* B09C64 80092AC4 3C050001 */ lui $a1, 1
|
||
|
/* B09C68 80092AC8 24420020 */ addiu $v0, %lo(D_80160020) # addiu $v0, $v0, 0x20
|
||
|
/* B09C6C 80092ACC 8FA70018 */ lw $a3, 0x18($sp)
|
||
|
/* B09C70 80092AD0 00002025 */ move $a0, $zero
|
||
|
/* B09C74 80092AD4 24060004 */ li $a2, 4
|
||
|
.L80092AD8:
|
||
|
/* B09C78 80092AD8 8C4E0008 */ lw $t6, 8($v0)
|
||
|
/* B09C7C 80092ADC 55C00005 */ bnezl $t6, .L80092AF4
|
||
|
/* B09C80 80092AE0 8443001E */ lh $v1, 0x1e($v0)
|
||
|
/* B09C84 80092AE4 00803825 */ move $a3, $a0
|
||
|
/* B09C88 80092AE8 1000000A */ b .L80092B14
|
||
|
/* B09C8C 80092AEC 3C050002 */ lui $a1, 2
|
||
|
/* B09C90 80092AF0 8443001E */ lh $v1, 0x1e($v0)
|
||
|
.L80092AF4:
|
||
|
/* B09C94 80092AF4 0065082A */ slt $at, $v1, $a1
|
||
|
/* B09C98 80092AF8 50200004 */ beql $at, $zero, .L80092B0C
|
||
|
/* B09C9C 80092AFC 24840001 */ addiu $a0, $a0, 1
|
||
|
/* B09CA0 80092B00 00602825 */ move $a1, $v1
|
||
|
/* B09CA4 80092B04 00803825 */ move $a3, $a0
|
||
|
/* B09CA8 80092B08 24840001 */ addiu $a0, $a0, 1
|
||
|
.L80092B0C:
|
||
|
/* B09CAC 80092B0C 1486FFF2 */ bne $a0, $a2, .L80092AD8
|
||
|
/* B09CB0 80092B10 24420024 */ addiu $v0, $v0, 0x24
|
||
|
.L80092B14:
|
||
|
/* B09CB4 80092B14 3C010002 */ lui $at, 2
|
||
|
/* B09CB8 80092B18 10A10006 */ beq $a1, $at, .L80092B34
|
||
|
/* B09CBC 80092B1C 3C048014 */ lui $a0, %hi(D_8013E9E0) # $a0, 0x8014
|
||
|
/* B09CC0 80092B20 2484E9E0 */ addiu $a0, %lo(D_8013E9E0) # addiu $a0, $a0, -0x1620
|
||
|
/* B09CC4 80092B24 00E02825 */ move $a1, $a3
|
||
|
/* B09CC8 80092B28 0C00084C */ jal osSyncPrintf
|
||
|
/* B09CCC 80092B2C AFA70018 */ sw $a3, 0x18($sp)
|
||
|
/* B09CD0 80092B30 8FA70018 */ lw $a3, 0x18($sp)
|
||
|
.L80092B34:
|
||
|
/* B09CD4 80092B34 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* B09CD8 80092B38 00071400 */ sll $v0, $a3, 0x10
|
||
|
/* B09CDC 80092B3C 00021403 */ sra $v0, $v0, 0x10
|
||
|
/* B09CE0 80092B40 03E00008 */ jr $ra
|
||
|
/* B09CE4 80092B44 27BD0020 */ addiu $sp, $sp, 0x20
|
||
|
|
||
|
glabel func_80092B48
|
||
|
/* B09CE8 80092B48 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||
|
/* B09CEC 80092B4C AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* B09CF0 80092B50 AFA40020 */ sw $a0, 0x20($sp)
|
||
|
/* B09CF4 80092B54 0C024AAE */ jal func_80092AB8
|
||
|
/* B09CF8 80092B58 AFA50024 */ sw $a1, 0x24($sp)
|
||
|
/* B09CFC 80092B5C 000270C0 */ sll $t6, $v0, 3
|
||
|
/* B09D00 80092B60 01C27021 */ addu $t6, $t6, $v0
|
||
|
/* B09D04 80092B64 3C0F8016 */ lui $t7, %hi(D_80160020) # $t7, 0x8016
|
||
|
/* B09D08 80092B68 25EF0020 */ addiu $t7, %lo(D_80160020) # addiu $t7, $t7, 0x20
|
||
|
/* B09D0C 80092B6C 000E7080 */ sll $t6, $t6, 2
|
||
|
/* B09D10 80092B70 01CF2021 */ addu $a0, $t6, $t7
|
||
|
/* B09D14 80092B74 A7A2001E */ sh $v0, 0x1e($sp)
|
||
|
/* B09D18 80092B78 AFA40018 */ sw $a0, 0x18($sp)
|
||
|
/* B09D1C 80092B7C 00002825 */ move $a1, $zero
|
||
|
/* B09D20 80092B80 0C041A18 */ jal func_80106860
|
||
|
/* B09D24 80092B84 24060024 */ li $a2, 36
|
||
|
/* B09D28 80092B88 8FA30018 */ lw $v1, 0x18($sp)
|
||
|
/* B09D2C 80092B8C 8FA40020 */ lw $a0, 0x20($sp)
|
||
|
/* B09D30 80092B90 24080001 */ li $t0, 1
|
||
|
/* B09D34 80092B94 AC640004 */ sw $a0, 4($v1)
|
||
|
/* B09D38 80092B98 84980164 */ lh $t8, 0x164($a0)
|
||
|
/* B09D3C 80092B9C A4780020 */ sh $t8, 0x20($v1)
|
||
|
/* B09D40 80092BA0 8FB90024 */ lw $t9, 0x24($sp)
|
||
|
/* B09D44 80092BA4 A468001C */ sh $t0, 0x1c($v1)
|
||
|
/* B09D48 80092BA8 0C03F66B */ jal Math_Rand_ZeroOne
|
||
|
/* B09D4C 80092BAC AC790008 */ sw $t9, 8($v1)
|
||
|
/* B09D50 80092BB0 3C014780 */ li $at, 0x47800000 # 0.000000
|
||
|
/* B09D54 80092BB4 44812000 */ mtc1 $at, $f4
|
||
|
/* B09D58 80092BB8 87AE001E */ lh $t6, 0x1e($sp)
|
||
|
/* B09D5C 80092BBC 8FA20018 */ lw $v0, 0x18($sp)
|
||
|
/* B09D60 80092BC0 46040182 */ mul.s $f6, $f0, $f4
|
||
|
/* B09D64 80092BC4 3C048012 */ lui $a0, %hi(D_80126254) # $a0, 0x8012
|
||
|
/* B09D68 80092BC8 24846254 */ addiu $a0, %lo(D_80126254) # addiu $a0, $a0, 0x6254
|
||
|
/* B09D6C 80092BCC 4600320D */ trunc.w.s $f8, $f6
|
||
|
/* B09D70 80092BD0 440C4000 */ mfc1 $t4, $f8
|
||
|
/* B09D74 80092BD4 00000000 */ nop
|
||
|
/* B09D78 80092BD8 318DFFFC */ andi $t5, $t4, 0xfffc
|
||
|
/* B09D7C 80092BDC 01AE7821 */ addu $t7, $t5, $t6
|
||
|
/* B09D80 80092BE0 A44F0000 */ sh $t7, ($v0)
|
||
|
/* B09D84 80092BE4 84980000 */ lh $t8, ($a0)
|
||
|
/* B09D88 80092BE8 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* B09D8C 80092BEC 27BD0020 */ addiu $sp, $sp, 0x20
|
||
|
/* B09D90 80092BF0 27190001 */ addiu $t9, $t8, 1
|
||
|
/* B09D94 80092BF4 03E00008 */ jr $ra
|
||
|
/* B09D98 80092BF8 A4990000 */ sh $t9, ($a0)
|
||
|
|
||
|
glabel func_80092BFC
|
||
|
/* B09D9C 80092BFC 3C028012 */ lui $v0, %hi(D_80126254) # $v0, 0x8012
|
||
|
/* B09DA0 80092C00 240EFFFF */ li $t6, -1
|
||
|
/* B09DA4 80092C04 24426254 */ addiu $v0, %lo(D_80126254) # addiu $v0, $v0, 0x6254
|
||
|
/* B09DA8 80092C08 AC800008 */ sw $zero, 8($a0)
|
||
|
/* B09DAC 80092C0C A48E001E */ sh $t6, 0x1e($a0)
|
||
|
/* B09DB0 80092C10 844F0000 */ lh $t7, ($v0)
|
||
|
/* B09DB4 80092C14 25F8FFFF */ addiu $t8, $t7, -1
|
||
|
/* B09DB8 80092C18 03E00008 */ jr $ra
|
||
|
/* B09DBC 80092C1C A4580000 */ sh $t8, ($v0)
|
||
|
|
||
|
glabel func_80092C20
|
||
|
/* B09DC0 80092C20 AFA40000 */ sw $a0, ($sp)
|
||
|
/* B09DC4 80092C24 00042400 */ sll $a0, $a0, 0x10
|
||
|
/* B09DC8 80092C28 00042403 */ sra $a0, $a0, 0x10
|
||
|
/* B09DCC 80092C2C 308E0003 */ andi $t6, $a0, 3
|
||
|
/* B09DD0 80092C30 000E78C0 */ sll $t7, $t6, 3
|
||
|
/* B09DD4 80092C34 01EE7821 */ addu $t7, $t7, $t6
|
||
|
/* B09DD8 80092C38 3C188016 */ lui $t8, %hi(D_80160020) # $t8, 0x8016
|
||
|
/* B09DDC 80092C3C 27180020 */ addiu $t8, %lo(D_80160020) # addiu $t8, $t8, 0x20
|
||
|
/* B09DE0 80092C40 000F7880 */ sll $t7, $t7, 2
|
||
|
/* B09DE4 80092C44 01F81821 */ addu $v1, $t7, $t8
|
||
|
/* B09DE8 80092C48 8C790008 */ lw $t9, 8($v1)
|
||
|
/* B09DEC 80092C4C 57200004 */ bnezl $t9, .L80092C60
|
||
|
/* B09DF0 80092C50 84680000 */ lh $t0, ($v1)
|
||
|
/* B09DF4 80092C54 03E00008 */ jr $ra
|
||
|
/* B09DF8 80092C58 00001025 */ move $v0, $zero
|
||
|
/* B09DFC 80092C5C 84680000 */ lh $t0, ($v1)
|
||
|
.L80092C60:
|
||
|
/* B09E00 80092C60 00601025 */ move $v0, $v1
|
||
|
/* B09E04 80092C64 10880003 */ beq $a0, $t0, .L80092C74
|
||
|
/* B09E08 80092C68 00000000 */ nop
|
||
|
/* B09E0C 80092C6C 03E00008 */ jr $ra
|
||
|
/* B09E10 80092C70 00001025 */ move $v0, $zero
|
||
|
.L80092C74:
|
||
|
/* B09E14 80092C74 03E00008 */ jr $ra
|
||
|
/* B09E18 80092C78 00000000 */ nop
|
||
|
|
||
|
glabel func_80092C7C
|
||
|
/* B09E1C 80092C7C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* B09E20 80092C80 AFA5001C */ sw $a1, 0x1c($sp)
|
||
|
/* B09E24 80092C84 AFA60020 */ sw $a2, 0x20($sp)
|
||
|
/* B09E28 80092C88 00063400 */ sll $a2, $a2, 0x10
|
||
|
/* B09E2C 80092C8C 00052C00 */ sll $a1, $a1, 0x10
|
||
|
/* B09E30 80092C90 AFA40018 */ sw $a0, 0x18($sp)
|
||
|
/* B09E34 80092C94 00042400 */ sll $a0, $a0, 0x10
|
||
|
/* B09E38 80092C98 00052C03 */ sra $a1, $a1, 0x10
|
||
|
/* B09E3C 80092C9C 00063403 */ sra $a2, $a2, 0x10
|
||
|
/* B09E40 80092CA0 AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* B09E44 80092CA4 00042403 */ sra $a0, $a0, 0x10
|
||
|
/* B09E48 80092CA8 A7A60022 */ sh $a2, 0x22($sp)
|
||
|
/* B09E4C 80092CAC 0C024B08 */ jal func_80092C20
|
||
|
/* B09E50 80092CB0 A7A5001E */ sh $a1, 0x1e($sp)
|
||
|
/* B09E54 80092CB4 87A5001E */ lh $a1, 0x1e($sp)
|
||
|
/* B09E58 80092CB8 14400003 */ bnez $v0, .L80092CC8
|
||
|
/* B09E5C 80092CBC 87A60022 */ lh $a2, 0x22($sp)
|
||
|
/* B09E60 80092CC0 10000036 */ b .L80092D9C
|
||
|
/* B09E64 80092CC4 00001025 */ move $v0, $zero
|
||
|
.L80092CC8:
|
||
|
/* B09E68 80092CC8 28A10081 */ slti $at, $a1, 0x81
|
||
|
/* B09E6C 80092CCC 14200007 */ bnez $at, .L80092CEC
|
||
|
/* B09E70 80092CD0 24010100 */ li $at, 256
|
||
|
/* B09E74 80092CD4 10A1002C */ beq $a1, $at, .L80092D88
|
||
|
/* B09E78 80092CD8 24010200 */ li $at, 512
|
||
|
/* B09E7C 80092CDC 50A1002F */ beql $a1, $at, .L80092D9C
|
||
|
/* B09E80 80092CE0 A446001C */ sh $a2, 0x1c($v0)
|
||
|
/* B09E84 80092CE4 1000002E */ b .L80092DA0
|
||
|
/* B09E88 80092CE8 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
.L80092CEC:
|
||
|
/* B09E8C 80092CEC 28A10041 */ slti $at, $a1, 0x41
|
||
|
/* B09E90 80092CF0 14200005 */ bnez $at, .L80092D08
|
||
|
/* B09E94 80092CF4 24010080 */ li $at, 128
|
||
|
/* B09E98 80092CF8 10A10021 */ beq $a1, $at, .L80092D80
|
||
|
/* B09E9C 80092CFC 00000000 */ nop
|
||
|
/* B09EA0 80092D00 10000027 */ b .L80092DA0
|
||
|
/* B09EA4 80092D04 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
.L80092D08:
|
||
|
/* B09EA8 80092D08 28A10021 */ slti $at, $a1, 0x21
|
||
|
/* B09EAC 80092D0C 14200006 */ bnez $at, .L80092D28
|
||
|
/* B09EB0 80092D10 24AEFFFF */ addiu $t6, $a1, -1
|
||
|
/* B09EB4 80092D14 24010040 */ li $at, 64
|
||
|
/* B09EB8 80092D18 10A10017 */ beq $a1, $at, .L80092D78
|
||
|
/* B09EBC 80092D1C 00000000 */ nop
|
||
|
/* B09EC0 80092D20 1000001F */ b .L80092DA0
|
||
|
/* B09EC4 80092D24 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
.L80092D28:
|
||
|
/* B09EC8 80092D28 2DC10020 */ sltiu $at, $t6, 0x20
|
||
|
/* B09ECC 80092D2C 1020001B */ beqz $at, .L80092D9C
|
||
|
/* B09ED0 80092D30 000E7080 */ sll $t6, $t6, 2
|
||
|
/* B09ED4 80092D34 3C018014 */ lui $at, %hi(jtbl_8013EA58)
|
||
|
/* B09ED8 80092D38 002E0821 */ addu $at, $at, $t6
|
||
|
/* B09EDC 80092D3C 8C2EEA58 */ lw $t6, %lo(jtbl_8013EA58)($at)
|
||
|
/* B09EE0 80092D40 01C00008 */ jr $t6
|
||
|
/* B09EE4 80092D44 00000000 */ nop
|
||
|
glabel L80092D48
|
||
|
/* B09EE8 80092D48 10000014 */ b .L80092D9C
|
||
|
/* B09EEC 80092D4C A446001A */ sh $a2, 0x1a($v0)
|
||
|
glabel L80092D50
|
||
|
/* B09EF0 80092D50 10000012 */ b .L80092D9C
|
||
|
/* B09EF4 80092D54 A446000C */ sh $a2, 0xc($v0)
|
||
|
glabel L80092D58
|
||
|
/* B09EF8 80092D58 10000010 */ b .L80092D9C
|
||
|
/* B09EFC 80092D5C A446000E */ sh $a2, 0xe($v0)
|
||
|
glabel L80092D60
|
||
|
/* B09F00 80092D60 1000000E */ b .L80092D9C
|
||
|
/* B09F04 80092D64 A4460010 */ sh $a2, 0x10($v0)
|
||
|
glabel L80092D68
|
||
|
/* B09F08 80092D68 1000000C */ b .L80092D9C
|
||
|
/* B09F0C 80092D6C A4460012 */ sh $a2, 0x12($v0)
|
||
|
glabel L80092D70
|
||
|
/* B09F10 80092D70 1000000A */ b .L80092D9C
|
||
|
/* B09F14 80092D74 A4460014 */ sh $a2, 0x14($v0)
|
||
|
.L80092D78:
|
||
|
/* B09F18 80092D78 10000008 */ b .L80092D9C
|
||
|
/* B09F1C 80092D7C A4460016 */ sh $a2, 0x16($v0)
|
||
|
.L80092D80:
|
||
|
/* B09F20 80092D80 10000006 */ b .L80092D9C
|
||
|
/* B09F24 80092D84 A4460018 */ sh $a2, 0x18($v0)
|
||
|
.L80092D88:
|
||
|
/* B09F28 80092D88 A446001E */ sh $a2, 0x1e($v0)
|
||
|
/* B09F2C 80092D8C 844F001E */ lh $t7, 0x1e($v0)
|
||
|
/* B09F30 80092D90 10000002 */ b .L80092D9C
|
||
|
/* B09F34 80092D94 A44F0002 */ sh $t7, 2($v0)
|
||
|
/* B09F38 80092D98 A446001C */ sh $a2, 0x1c($v0)
|
||
|
.L80092D9C:
|
||
|
glabel L80092D9C
|
||
|
/* B09F3C 80092D9C 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
.L80092DA0:
|
||
|
/* B09F40 80092DA0 27BD0018 */ addiu $sp, $sp, 0x18
|
||
|
/* B09F44 80092DA4 03E00008 */ jr $ra
|
||
|
/* B09F48 80092DA8 00000000 */ nop
|
||
|
|
||
|
glabel func_80092DAC
|
||
|
/* B09F4C 80092DAC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* B09F50 80092DB0 AFA40018 */ sw $a0, 0x18($sp)
|
||
|
/* B09F54 80092DB4 00042400 */ sll $a0, $a0, 0x10
|
||
|
/* B09F58 80092DB8 AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* B09F5C 80092DBC 00042403 */ sra $a0, $a0, 0x10
|
||
|
/* B09F60 80092DC0 0C024B08 */ jal func_80092C20
|
||
|
/* B09F64 80092DC4 AFA5001C */ sw $a1, 0x1c($sp)
|
||
|
/* B09F68 80092DC8 10400004 */ beqz $v0, .L80092DDC
|
||
|
/* B09F6C 80092DCC 87AE001E */ lh $t6, 0x1e($sp)
|
||
|
/* B09F70 80092DD0 A44E001A */ sh $t6, 0x1a($v0)
|
||
|
/* B09F74 80092DD4 10000002 */ b .L80092DE0
|
||
|
/* B09F78 80092DD8 24020001 */ li $v0, 1
|
||
|
.L80092DDC:
|
||
|
/* B09F7C 80092DDC 00001025 */ move $v0, $zero
|
||
|
.L80092DE0:
|
||
|
/* B09F80 80092DE0 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* B09F84 80092DE4 27BD0018 */ addiu $sp, $sp, 0x18
|
||
|
/* B09F88 80092DE8 03E00008 */ jr $ra
|
||
|
/* B09F8C 80092DEC 00000000 */ nop
|
||
|
|
||
|
glabel func_80092DF0
|
||
|
/* B09F90 80092DF0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* B09F94 80092DF4 AFA40018 */ sw $a0, 0x18($sp)
|
||
|
/* B09F98 80092DF8 00042400 */ sll $a0, $a0, 0x10
|
||
|
/* B09F9C 80092DFC AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* B09FA0 80092E00 00042403 */ sra $a0, $a0, 0x10
|
||
|
/* B09FA4 80092E04 0C024B08 */ jal func_80092C20
|
||
|
/* B09FA8 80092E08 AFA5001C */ sw $a1, 0x1c($sp)
|
||
|
/* B09FAC 80092E0C 10400006 */ beqz $v0, .L80092E28
|
||
|
/* B09FB0 80092E10 87AE001E */ lh $t6, 0x1e($sp)
|
||
|
/* B09FB4 80092E14 A44E001E */ sh $t6, 0x1e($v0)
|
||
|
/* B09FB8 80092E18 844F001E */ lh $t7, 0x1e($v0)
|
||
|
/* B09FBC 80092E1C A44F0002 */ sh $t7, 2($v0)
|
||
|
/* B09FC0 80092E20 10000002 */ b .L80092E2C
|
||
|
/* B09FC4 80092E24 24020001 */ li $v0, 1
|
||
|
.L80092E28:
|
||
|
/* B09FC8 80092E28 00001025 */ move $v0, $zero
|
||
|
.L80092E2C:
|
||
|
/* B09FCC 80092E2C 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* B09FD0 80092E30 27BD0018 */ addiu $sp, $sp, 0x18
|
||
|
/* B09FD4 80092E34 03E00008 */ jr $ra
|
||
|
/* B09FD8 80092E38 00000000 */ nop
|
||
|
|
||
|
glabel func_80092E3C
|
||
|
/* B09FDC 80092E3C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* B09FE0 80092E40 AFA40018 */ sw $a0, 0x18($sp)
|
||
|
/* B09FE4 80092E44 00042400 */ sll $a0, $a0, 0x10
|
||
|
/* B09FE8 80092E48 AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* B09FEC 80092E4C 0C024B08 */ jal func_80092C20
|
||
|
/* B09FF0 80092E50 00042403 */ sra $a0, $a0, 0x10
|
||
|
/* B09FF4 80092E54 10400003 */ beqz $v0, .L80092E64
|
||
|
/* B09FF8 80092E58 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* B09FFC 80092E5C 10000002 */ b .L80092E68
|
||
|
/* B0A000 80092E60 8442001E */ lh $v0, 0x1e($v0)
|
||
|
.L80092E64:
|
||
|
/* B0A004 80092E64 00001025 */ move $v0, $zero
|
||
|
.L80092E68:
|
||
|
/* B0A008 80092E68 03E00008 */ jr $ra
|
||
|
/* B0A00C 80092E6C 27BD0018 */ addiu $sp, $sp, 0x18
|
||
|
|
||
|
glabel func_80092E70
|
||
|
/* B0A010 80092E70 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* B0A014 80092E74 AFA40018 */ sw $a0, 0x18($sp)
|
||
|
/* B0A018 80092E78 00042400 */ sll $a0, $a0, 0x10
|
||
|
/* B0A01C 80092E7C AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* B0A020 80092E80 00042403 */ sra $a0, $a0, 0x10
|
||
|
/* B0A024 80092E84 AFA5001C */ sw $a1, 0x1c($sp)
|
||
|
/* B0A028 80092E88 AFA60020 */ sw $a2, 0x20($sp)
|
||
|
/* B0A02C 80092E8C 0C024B08 */ jal func_80092C20
|
||
|
/* B0A030 80092E90 AFA70024 */ sw $a3, 0x24($sp)
|
||
|
/* B0A034 80092E94 1040000A */ beqz $v0, .L80092EC0
|
||
|
/* B0A038 80092E98 87AE001E */ lh $t6, 0x1e($sp)
|
||
|
/* B0A03C 80092E9C A44E000C */ sh $t6, 0xc($v0)
|
||
|
/* B0A040 80092EA0 87AF0022 */ lh $t7, 0x22($sp)
|
||
|
/* B0A044 80092EA4 A44F000E */ sh $t7, 0xe($v0)
|
||
|
/* B0A048 80092EA8 87B80026 */ lh $t8, 0x26($sp)
|
||
|
/* B0A04C 80092EAC A4580010 */ sh $t8, 0x10($v0)
|
||
|
/* B0A050 80092EB0 87B9002A */ lh $t9, 0x2a($sp)
|
||
|
/* B0A054 80092EB4 A4590012 */ sh $t9, 0x12($v0)
|
||
|
/* B0A058 80092EB8 10000002 */ b .L80092EC4
|
||
|
/* B0A05C 80092EBC 24020001 */ li $v0, 1
|
||
|
.L80092EC0:
|
||
|
/* B0A060 80092EC0 00001025 */ move $v0, $zero
|
||
|
.L80092EC4:
|
||
|
/* B0A064 80092EC4 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* B0A068 80092EC8 27BD0018 */ addiu $sp, $sp, 0x18
|
||
|
/* B0A06C 80092ECC 03E00008 */ jr $ra
|
||
|
/* B0A070 80092ED0 00000000 */ nop
|
||
|
|
||
|
glabel func_80092ED4
|
||
|
/* B0A074 80092ED4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* B0A078 80092ED8 AFA40018 */ sw $a0, 0x18($sp)
|
||
|
/* B0A07C 80092EDC 00042400 */ sll $a0, $a0, 0x10
|
||
|
/* B0A080 80092EE0 AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* B0A084 80092EE4 00042403 */ sra $a0, $a0, 0x10
|
||
|
/* B0A088 80092EE8 AFA5001C */ sw $a1, 0x1c($sp)
|
||
|
/* B0A08C 80092EEC AFA60020 */ sw $a2, 0x20($sp)
|
||
|
/* B0A090 80092EF0 0C024B08 */ jal func_80092C20
|
||
|
/* B0A094 80092EF4 AFA70024 */ sw $a3, 0x24($sp)
|
||
|
/* B0A098 80092EF8 1040000A */ beqz $v0, .L80092F24
|
||
|
/* B0A09C 80092EFC 87AE001E */ lh $t6, 0x1e($sp)
|
||
|
/* B0A0A0 80092F00 A44E001C */ sh $t6, 0x1c($v0)
|
||
|
/* B0A0A4 80092F04 27AF0020 */ addiu $t7, $sp, 0x20
|
||
|
/* B0A0A8 80092F08 8DF90000 */ lw $t9, ($t7)
|
||
|
/* B0A0AC 80092F0C A8590014 */ swl $t9, 0x14($v0)
|
||
|
/* B0A0B0 80092F10 B8590017 */ swr $t9, 0x17($v0)
|
||
|
/* B0A0B4 80092F14 95F90004 */ lhu $t9, 4($t7)
|
||
|
/* B0A0B8 80092F18 A4590018 */ sh $t9, 0x18($v0)
|
||
|
/* B0A0BC 80092F1C 10000002 */ b .L80092F28
|
||
|
/* B0A0C0 80092F20 24020001 */ li $v0, 1
|
||
|
.L80092F24:
|
||
|
/* B0A0C4 80092F24 00001025 */ move $v0, $zero
|
||
|
.L80092F28:
|
||
|
/* B0A0C8 80092F28 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* B0A0CC 80092F2C 27BD0018 */ addiu $sp, $sp, 0x18
|
||
|
/* B0A0D0 80092F30 03E00008 */ jr $ra
|
||
|
/* B0A0D4 80092F34 00000000 */ nop
|
||
|
|
||
|
glabel func_80092F38
|
||
|
/* B0A0D8 80092F38 3C048016 */ lui $a0, %hi(D_80160020) # $a0, 0x8016
|
||
|
/* B0A0DC 80092F3C 24840020 */ addiu $a0, %lo(D_80160020) # addiu $a0, $a0, 0x20
|
||
|
/* B0A0E0 80092F40 00001025 */ move $v0, $zero
|
||
|
/* B0A0E4 80092F44 24050024 */ li $a1, 36
|
||
|
.L80092F48:
|
||
|
/* B0A0E8 80092F48 00450019 */ multu $v0, $a1
|
||
|
/* B0A0EC 80092F4C 24420001 */ addiu $v0, $v0, 1
|
||
|
/* B0A0F0 80092F50 00021400 */ sll $v0, $v0, 0x10
|
||
|
/* B0A0F4 80092F54 00021403 */ sra $v0, $v0, 0x10
|
||
|
/* B0A0F8 80092F58 28410004 */ slti $at, $v0, 4
|
||
|
/* B0A0FC 80092F5C 00007012 */ mflo $t6
|
||
|
/* B0A100 80092F60 008E1821 */ addu $v1, $a0, $t6
|
||
|
/* B0A104 80092F64 AC600008 */ sw $zero, 8($v1)
|
||
|
/* B0A108 80092F68 1420FFF7 */ bnez $at, .L80092F48
|
||
|
/* B0A10C 80092F6C A460001E */ sh $zero, 0x1e($v1)
|
||
|
/* B0A110 80092F70 240F0001 */ li $t7, 1
|
||
|
/* B0A114 80092F74 3C018012 */ lui $at, %hi(D_80126250) # $at, 0x8012
|
||
|
/* B0A118 80092F78 A42F6250 */ sh $t7, %lo(D_80126250)($at)
|
||
|
/* B0A11C 80092F7C 3C018012 */ lui $at, %hi(D_80126254)
|
||
|
/* B0A120 80092F80 03E00008 */ jr $ra
|
||
|
/* B0A124 80092F84 A4206254 */ sh $zero, %lo(D_80126254)($at)
|
||
|
|
||
|
glabel func_80092F88
|
||
|
/* B0A128 80092F88 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* B0A12C 80092F8C AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* B0A130 80092F90 0C024AD2 */ jal func_80092B48
|
||
|
/* B0A134 80092F94 00000000 */ nop
|
||
|
/* B0A138 80092F98 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* B0A13C 80092F9C 84420000 */ lh $v0, ($v0)
|
||
|
/* B0A140 80092FA0 27BD0018 */ addiu $sp, $sp, 0x18
|
||
|
/* B0A144 80092FA4 03E00008 */ jr $ra
|
||
|
/* B0A148 80092FA8 00000000 */ nop
|
||
|
|
||
|
glabel func_80092FAC
|
||
|
/* B0A14C 80092FAC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* B0A150 80092FB0 AFA40018 */ sw $a0, 0x18($sp)
|
||
|
/* B0A154 80092FB4 00042400 */ sll $a0, $a0, 0x10
|
||
|
/* B0A158 80092FB8 AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* B0A15C 80092FBC 0C024B08 */ jal func_80092C20
|
||
|
/* B0A160 80092FC0 00042403 */ sra $a0, $a0, 0x10
|
||
|
/* B0A164 80092FC4 10400005 */ beqz $v0, .L80092FDC
|
||
|
/* B0A168 80092FC8 00402025 */ move $a0, $v0
|
||
|
/* B0A16C 80092FCC 0C024AFF */ jal func_80092BFC
|
||
|
/* B0A170 80092FD0 00000000 */ nop
|
||
|
/* B0A174 80092FD4 10000002 */ b .L80092FE0
|
||
|
/* B0A178 80092FD8 24020001 */ li $v0, 1
|
||
|
.L80092FDC:
|
||
|
/* B0A17C 80092FDC 00001025 */ move $v0, $zero
|
||
|
.L80092FE0:
|
||
|
/* B0A180 80092FE0 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* B0A184 80092FE4 27BD0018 */ addiu $sp, $sp, 0x18
|
||
|
/* B0A188 80092FE8 03E00008 */ jr $ra
|
||
|
/* B0A18C 80092FEC 00000000 */ nop
|
||
|
|
||
|
glabel func_80092FF0
|
||
|
/* B0A190 80092FF0 27BDFF48 */ addiu $sp, $sp, -0xb8
|
||
|
/* B0A194 80092FF4 44800000 */ mtc1 $zero, $f0
|
||
|
/* B0A198 80092FF8 AFBF004C */ sw $ra, 0x4c($sp)
|
||
|
/* B0A19C 80092FFC AFB40048 */ sw $s4, 0x48($sp)
|
||
|
/* B0A1A0 80093000 AFB30044 */ sw $s3, 0x44($sp)
|
||
|
/* B0A1A4 80093004 AFB20040 */ sw $s2, 0x40($sp)
|
||
|
/* B0A1A8 80093008 AFB1003C */ sw $s1, 0x3c($sp)
|
||
|
/* B0A1AC 8009300C AFB00038 */ sw $s0, 0x38($sp)
|
||
|
/* B0A1B0 80093010 F7BA0030 */ sdc1 $f26, 0x30($sp)
|
||
|
/* B0A1B4 80093014 F7B80028 */ sdc1 $f24, 0x28($sp)
|
||
|
/* B0A1B8 80093018 F7B60020 */ sdc1 $f22, 0x20($sp)
|
||
|
/* B0A1BC 8009301C F7B40018 */ sdc1 $f20, 0x18($sp)
|
||
|
/* B0A1C0 80093020 AFA400B8 */ sw $a0, 0xb8($sp)
|
||
|
/* B0A1C4 80093024 8C8F008C */ lw $t7, 0x8c($a0)
|
||
|
/* B0A1C8 80093028 E7A00068 */ swc1 $f0, 0x68($sp)
|
||
|
/* B0A1CC 8009302C E7A0006C */ swc1 $f0, 0x6c($sp)
|
||
|
/* B0A1D0 80093030 E7A00070 */ swc1 $f0, 0x70($sp)
|
||
|
/* B0A1D4 80093034 AFAF0064 */ sw $t7, 0x64($sp)
|
||
|
/* B0A1D8 80093038 A4A00018 */ sh $zero, 0x18($a1)
|
||
|
/* B0A1DC 8009303C A4A0001A */ sh $zero, 0x1a($a1)
|
||
|
/* B0A1E0 80093040 A4A0001C */ sh $zero, 0x1c($a1)
|
||
|
/* B0A1E4 80093044 3C188012 */ lui $t8, %hi(D_80126254) # $t8, 0x8012
|
||
|
/* B0A1E8 80093048 E4A00000 */ swc1 $f0, ($a1)
|
||
|
/* B0A1EC 8009304C E4A00004 */ swc1 $f0, 4($a1)
|
||
|
/* B0A1F0 80093050 E4A00008 */ swc1 $f0, 8($a1)
|
||
|
/* B0A1F4 80093054 E4A0000C */ swc1 $f0, 0xc($a1)
|
||
|
/* B0A1F8 80093058 E4A00010 */ swc1 $f0, 0x10($a1)
|
||
|
/* B0A1FC 8009305C E4A00014 */ swc1 $f0, 0x14($a1)
|
||
|
/* B0A200 80093060 E4A00020 */ swc1 $f0, 0x20($a1)
|
||
|
/* B0A204 80093064 87186254 */ lh $t8, %lo(D_80126254)($t8)
|
||
|
/* B0A208 80093068 00A08025 */ move $s0, $a1
|
||
|
/* B0A20C 8009306C 00009025 */ move $s2, $zero
|
||
|
/* B0A210 80093070 17000003 */ bnez $t8, .L80093080
|
||
|
/* B0A214 80093074 3C118016 */ lui $s1, %hi(D_80160020) # $s1, 0x8016
|
||
|
/* B0A218 80093078 100000AE */ b .L80093334
|
||
|
/* B0A21C 8009307C 00001025 */ move $v0, $zero
|
||
|
.L80093080:
|
||
|
/* B0A220 80093080 3C018014 */ lui $at, %hi(D_8013EAD8)
|
||
|
/* B0A224 80093084 C43AEAD8 */ lwc1 $f26, %lo(D_8013EAD8)($at)
|
||
|
/* B0A228 80093088 26310020 */ addiu $s1, %lo(D_80160020) # addiu $s1, $s1, 0x20
|
||
|
/* B0A22C 8009308C 27B40068 */ addiu $s4, $sp, 0x68
|
||
|
/* B0A230 80093090 27B3008C */ addiu $s3, $sp, 0x8c
|
||
|
/* B0A234 80093094 8E260008 */ lw $a2, 8($s1)
|
||
|
.L80093098:
|
||
|
/* B0A238 80093098 10C0009F */ beqz $a2, .L80093318
|
||
|
/* B0A23C 8009309C 00000000 */ nop
|
||
|
/* B0A240 800930A0 86250020 */ lh $a1, 0x20($s1)
|
||
|
/* B0A244 800930A4 8FB90064 */ lw $t9, 0x64($sp)
|
||
|
/* B0A248 800930A8 3C048014 */ lui $a0, %hi(D_8013EA20)
|
||
|
/* B0A24C 800930AC 00054080 */ sll $t0, $a1, 2
|
||
|
/* B0A250 800930B0 03284821 */ addu $t1, $t9, $t0
|
||
|
/* B0A254 800930B4 8D2A0790 */ lw $t2, 0x790($t1)
|
||
|
/* B0A258 800930B8 8FAD00B8 */ lw $t5, 0xb8($sp)
|
||
|
/* B0A25C 800930BC 55400008 */ bnezl $t2, .L800930E0
|
||
|
/* B0A260 800930C0 8E2B0004 */ lw $t3, 4($s1)
|
||
|
/* B0A264 800930C4 0C00084C */ jal osSyncPrintf
|
||
|
/* B0A268 800930C8 2484EA20 */ addiu $a0, %lo(D_8013EA20) # addiu $a0, $a0, -0x15e0
|
||
|
/* B0A26C 800930CC 0C024AFF */ jal func_80092BFC
|
||
|
/* B0A270 800930D0 02202025 */ move $a0, $s1
|
||
|
/* B0A274 800930D4 10000090 */ b .L80093318
|
||
|
/* B0A278 800930D8 00000000 */ nop
|
||
|
/* B0A27C 800930DC 8E2B0004 */ lw $t3, 4($s1)
|
||
|
.L800930E0:
|
||
|
/* B0A280 800930E0 85AE0164 */ lh $t6, 0x164($t5)
|
||
|
/* B0A284 800930E4 8622001A */ lh $v0, 0x1a($s1)
|
||
|
/* B0A288 800930E8 856C0164 */ lh $t4, 0x164($t3)
|
||
|
/* B0A28C 800930EC 00021823 */ negu $v1, $v0
|
||
|
/* B0A290 800930F0 018E3826 */ xor $a3, $t4, $t6
|
||
|
/* B0A294 800930F4 04400003 */ bltz $v0, .L80093104
|
||
|
/* B0A298 800930F8 0007382B */ sltu $a3, $zero, $a3
|
||
|
/* B0A29C 800930FC 10000001 */ b .L80093104
|
||
|
/* B0A2A0 80093100 00401825 */ move $v1, $v0
|
||
|
.L80093104:
|
||
|
/* B0A2A4 80093104 44832000 */ mtc1 $v1, $f4
|
||
|
/* B0A2A8 80093108 3C014700 */ li $at, 0x47000000 # 0.000000
|
||
|
/* B0A2AC 8009310C 44814000 */ mtc1 $at, $f8
|
||
|
/* B0A2B0 80093110 468021A0 */ cvt.s.w $f6, $f4
|
||
|
/* B0A2B4 80093114 00067880 */ sll $t7, $a2, 2
|
||
|
/* B0A2B8 80093118 3C198012 */ lui $t9, %hi(D_80126258)
|
||
|
/* B0A2BC 8009311C 032FC821 */ addu $t9, $t9, $t7
|
||
|
/* B0A2C0 80093120 8F396258 */ lw $t9, %lo(D_80126258)($t9)
|
||
|
/* B0A2C4 80093124 02202025 */ move $a0, $s1
|
||
|
/* B0A2C8 80093128 46083583 */ div.s $f22, $f6, $f8
|
||
|
/* B0A2CC 8009312C 02602825 */ move $a1, $s3
|
||
|
/* B0A2D0 80093130 AFA70074 */ sw $a3, 0x74($sp)
|
||
|
/* B0A2D4 80093134 0320F809 */ jalr $t9
|
||
|
/* B0A2D8 80093138 4600B606 */ mov.s $f24, $f22
|
||
|
/* B0A2DC 8009313C 14400005 */ bnez $v0, .L80093154
|
||
|
/* B0A2E0 80093140 8FA70074 */ lw $a3, 0x74($sp)
|
||
|
/* B0A2E4 80093144 0C024AFF */ jal func_80092BFC
|
||
|
/* B0A2E8 80093148 02202025 */ move $a0, $s1
|
||
|
/* B0A2EC 8009314C 10000072 */ b .L80093318
|
||
|
/* B0A2F0 80093150 00000000 */ nop
|
||
|
.L80093154:
|
||
|
/* B0A2F4 80093154 14E00070 */ bnez $a3, .L80093318
|
||
|
/* B0A2F8 80093158 02602025 */ move $a0, $s3
|
||
|
/* B0A2FC 8009315C C6000000 */ lwc1 $f0, ($s0)
|
||
|
/* B0A300 80093160 C7AA008C */ lwc1 $f10, 0x8c($sp)
|
||
|
/* B0A304 80093164 46000085 */ abs.s $f2, $f0
|
||
|
/* B0A308 80093168 46005005 */ abs.s $f0, $f10
|
||
|
/* B0A30C 8009316C 4600103C */ c.lt.s $f2, $f0
|
||
|
/* B0A310 80093170 00000000 */ nop
|
||
|
/* B0A314 80093174 45020003 */ bc1fl .L80093184
|
||
|
/* B0A318 80093178 C6000004 */ lwc1 $f0, 4($s0)
|
||
|
/* B0A31C 8009317C E60A0000 */ swc1 $f10, ($s0)
|
||
|
/* B0A320 80093180 C6000004 */ lwc1 $f0, 4($s0)
|
||
|
.L80093184:
|
||
|
/* B0A324 80093184 C7B00090 */ lwc1 $f16, 0x90($sp)
|
||
|
/* B0A328 80093188 46000085 */ abs.s $f2, $f0
|
||
|
/* B0A32C 8009318C 46008005 */ abs.s $f0, $f16
|
||
|
/* B0A330 80093190 4600103C */ c.lt.s $f2, $f0
|
||
|
/* B0A334 80093194 00000000 */ nop
|
||
|
/* B0A338 80093198 45020003 */ bc1fl .L800931A8
|
||
|
/* B0A33C 8009319C C6000008 */ lwc1 $f0, 8($s0)
|
||
|
/* B0A340 800931A0 E6100004 */ swc1 $f16, 4($s0)
|
||
|
/* B0A344 800931A4 C6000008 */ lwc1 $f0, 8($s0)
|
||
|
.L800931A8:
|
||
|
/* B0A348 800931A8 C7B20094 */ lwc1 $f18, 0x94($sp)
|
||
|
/* B0A34C 800931AC 46000085 */ abs.s $f2, $f0
|
||
|
/* B0A350 800931B0 46009005 */ abs.s $f0, $f18
|
||
|
/* B0A354 800931B4 4600103C */ c.lt.s $f2, $f0
|
||
|
/* B0A358 800931B8 00000000 */ nop
|
||
|
/* B0A35C 800931BC 45020003 */ bc1fl .L800931CC
|
||
|
/* B0A360 800931C0 C600000C */ lwc1 $f0, 0xc($s0)
|
||
|
/* B0A364 800931C4 E6120008 */ swc1 $f18, 8($s0)
|
||
|
/* B0A368 800931C8 C600000C */ lwc1 $f0, 0xc($s0)
|
||
|
.L800931CC:
|
||
|
/* B0A36C 800931CC C7A40098 */ lwc1 $f4, 0x98($sp)
|
||
|
/* B0A370 800931D0 46000085 */ abs.s $f2, $f0
|
||
|
/* B0A374 800931D4 46002005 */ abs.s $f0, $f4
|
||
|
/* B0A378 800931D8 4600103C */ c.lt.s $f2, $f0
|
||
|
/* B0A37C 800931DC 00000000 */ nop
|
||
|
/* B0A380 800931E0 45020003 */ bc1fl .L800931F0
|
||
|
/* B0A384 800931E4 C6000010 */ lwc1 $f0, 0x10($s0)
|
||
|
/* B0A388 800931E8 E604000C */ swc1 $f4, 0xc($s0)
|
||
|
/* B0A38C 800931EC C6000010 */ lwc1 $f0, 0x10($s0)
|
||
|
.L800931F0:
|
||
|
/* B0A390 800931F0 C7A6009C */ lwc1 $f6, 0x9c($sp)
|
||
|
/* B0A394 800931F4 46000085 */ abs.s $f2, $f0
|
||
|
/* B0A398 800931F8 46003005 */ abs.s $f0, $f6
|
||
|
/* B0A39C 800931FC 4600103C */ c.lt.s $f2, $f0
|
||
|
/* B0A3A0 80093200 00000000 */ nop
|
||
|
/* B0A3A4 80093204 45020003 */ bc1fl .L80093214
|
||
|
/* B0A3A8 80093208 C6000014 */ lwc1 $f0, 0x14($s0)
|
||
|
/* B0A3AC 8009320C E6060010 */ swc1 $f6, 0x10($s0)
|
||
|
/* B0A3B0 80093210 C6000014 */ lwc1 $f0, 0x14($s0)
|
||
|
.L80093214:
|
||
|
/* B0A3B4 80093214 C7A800A0 */ lwc1 $f8, 0xa0($sp)
|
||
|
/* B0A3B8 80093218 46000085 */ abs.s $f2, $f0
|
||
|
/* B0A3BC 8009321C 46004005 */ abs.s $f0, $f8
|
||
|
/* B0A3C0 80093220 4600103C */ c.lt.s $f2, $f0
|
||
|
/* B0A3C4 80093224 00000000 */ nop
|
||
|
/* B0A3C8 80093228 45020003 */ bc1fl .L80093238
|
||
|
/* B0A3CC 8009322C 86180018 */ lh $t8, 0x18($s0)
|
||
|
/* B0A3D0 80093230 E6080014 */ swc1 $f8, 0x14($s0)
|
||
|
/* B0A3D4 80093234 86180018 */ lh $t8, 0x18($s0)
|
||
|
.L80093238:
|
||
|
/* B0A3D8 80093238 87A800A4 */ lh $t0, 0xa4($sp)
|
||
|
/* B0A3DC 8009323C 0308082A */ slt $at, $t8, $t0
|
||
|
/* B0A3E0 80093240 50200005 */ beql $at, $zero, .L80093258
|
||
|
/* B0A3E4 80093244 860A001C */ lh $t2, 0x1c($s0)
|
||
|
/* B0A3E8 80093248 A6080018 */ sh $t0, 0x18($s0)
|
||
|
/* B0A3EC 8009324C 87A900A6 */ lh $t1, 0xa6($sp)
|
||
|
/* B0A3F0 80093250 A609001A */ sh $t1, 0x1a($s0)
|
||
|
/* B0A3F4 80093254 860A001C */ lh $t2, 0x1c($s0)
|
||
|
.L80093258:
|
||
|
/* B0A3F8 80093258 87AB00A8 */ lh $t3, 0xa8($sp)
|
||
|
/* B0A3FC 8009325C 014B082A */ slt $at, $t2, $t3
|
||
|
/* B0A400 80093260 10200002 */ beqz $at, .L8009326C
|
||
|
/* B0A404 80093264 00000000 */ nop
|
||
|
/* B0A408 80093268 A60B001C */ sh $t3, 0x1c($s0)
|
||
|
.L8009326C:
|
||
|
/* B0A40C 8009326C 0C01EFE4 */ jal func_8007BF90
|
||
|
/* B0A410 80093270 02802825 */ move $a1, $s4
|
||
|
/* B0A414 80093274 46160502 */ mul.s $f20, $f0, $f22
|
||
|
/* B0A418 80093278 27A40098 */ addiu $a0, $sp, 0x98
|
||
|
/* B0A41C 8009327C 0C01EFE4 */ jal func_8007BF90
|
||
|
/* B0A420 80093280 02802825 */ move $a1, $s4
|
||
|
/* B0A424 80093284 46160082 */ mul.s $f2, $f0, $f22
|
||
|
/* B0A428 80093288 26520001 */ addiu $s2, $s2, 1
|
||
|
/* B0A42C 8009328C 4602A03C */ c.lt.s $f20, $f2
|
||
|
/* B0A430 80093290 00000000 */ nop
|
||
|
/* B0A434 80093294 45020003 */ bc1fl .L800932A4
|
||
|
/* B0A438 80093298 860D0018 */ lh $t5, 0x18($s0)
|
||
|
/* B0A43C 8009329C 46001506 */ mov.s $f20, $f2
|
||
|
/* B0A440 800932A0 860D0018 */ lh $t5, 0x18($s0)
|
||
|
.L800932A4:
|
||
|
/* B0A444 800932A4 448D5000 */ mtc1 $t5, $f10
|
||
|
/* B0A448 800932A8 00000000 */ nop
|
||
|
/* B0A44C 800932AC 46805420 */ cvt.s.w $f16, $f10
|
||
|
/* B0A450 800932B0 461A8482 */ mul.s $f18, $f16, $f26
|
||
|
/* B0A454 800932B4 00000000 */ nop
|
||
|
/* B0A458 800932B8 46189002 */ mul.s $f0, $f18, $f24
|
||
|
/* B0A45C 800932BC 4600A03C */ c.lt.s $f20, $f0
|
||
|
/* B0A460 800932C0 00000000 */ nop
|
||
|
/* B0A464 800932C4 45000002 */ bc1f .L800932D0
|
||
|
/* B0A468 800932C8 00000000 */ nop
|
||
|
/* B0A46C 800932CC 46000506 */ mov.s $f20, $f0
|
||
|
.L800932D0:
|
||
|
/* B0A470 800932D0 860C001C */ lh $t4, 0x1c($s0)
|
||
|
/* B0A474 800932D4 448C2000 */ mtc1 $t4, $f4
|
||
|
/* B0A478 800932D8 00000000 */ nop
|
||
|
/* B0A47C 800932DC 468021A0 */ cvt.s.w $f6, $f4
|
||
|
/* B0A480 800932E0 461A3202 */ mul.s $f8, $f6, $f26
|
||
|
/* B0A484 800932E4 00000000 */ nop
|
||
|
/* B0A488 800932E8 46184002 */ mul.s $f0, $f8, $f24
|
||
|
/* B0A48C 800932EC 4600A03C */ c.lt.s $f20, $f0
|
||
|
/* B0A490 800932F0 00000000 */ nop
|
||
|
/* B0A494 800932F4 45000002 */ bc1f .L80093300
|
||
|
/* B0A498 800932F8 00000000 */ nop
|
||
|
/* B0A49C 800932FC 46000506 */ mov.s $f20, $f0
|
||
|
.L80093300:
|
||
|
/* B0A4A0 80093300 C60A0020 */ lwc1 $f10, 0x20($s0)
|
||
|
/* B0A4A4 80093304 4614503C */ c.lt.s $f10, $f20
|
||
|
/* B0A4A8 80093308 00000000 */ nop
|
||
|
/* B0A4AC 8009330C 45000002 */ bc1f .L80093318
|
||
|
/* B0A4B0 80093310 00000000 */ nop
|
||
|
/* B0A4B4 80093314 E6140020 */ swc1 $f20, 0x20($s0)
|
||
|
.L80093318:
|
||
|
/* B0A4B8 80093318 3C0E8016 */ lui $t6, %hi(D_80160020+0x24*4) # $t6, 0x8016
|
||
|
/* B0A4BC 8009331C 25CE00B0 */ addiu $t6, %lo(D_80160020+0x24*4) # addiu $t6, $t6, 0xb0
|
||
|
/* B0A4C0 80093320 26310024 */ addiu $s1, $s1, 0x24
|
||
|
/* B0A4C4 80093324 562EFF5C */ bnel $s1, $t6, .L80093098
|
||
|
/* B0A4C8 80093328 8E260008 */ lw $a2, 8($s1)
|
||
|
/* B0A4CC 8009332C 00121400 */ sll $v0, $s2, 0x10
|
||
|
/* B0A4D0 80093330 00021403 */ sra $v0, $v0, 0x10
|
||
|
.L80093334:
|
||
|
/* B0A4D4 80093334 8FBF004C */ lw $ra, 0x4c($sp)
|
||
|
/* B0A4D8 80093338 D7B40018 */ ldc1 $f20, 0x18($sp)
|
||
|
/* B0A4DC 8009333C D7B60020 */ ldc1 $f22, 0x20($sp)
|
||
|
/* B0A4E0 80093340 D7B80028 */ ldc1 $f24, 0x28($sp)
|
||
|
/* B0A4E4 80093344 D7BA0030 */ ldc1 $f26, 0x30($sp)
|
||
|
/* B0A4E8 80093348 8FB00038 */ lw $s0, 0x38($sp)
|
||
|
/* B0A4EC 8009334C 8FB1003C */ lw $s1, 0x3c($sp)
|
||
|
/* B0A4F0 80093350 8FB20040 */ lw $s2, 0x40($sp)
|
||
|
/* B0A4F4 80093354 8FB30044 */ lw $s3, 0x44($sp)
|
||
|
/* B0A4F8 80093358 8FB40048 */ lw $s4, 0x48($sp)
|
||
|
/* B0A4FC 8009335C 03E00008 */ jr $ra
|
||
|
/* B0A500 80093360 27BD00B8 */ addiu $sp, $sp, 0xb8
|