mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 04:52:34 +01:00
360 lines
16 KiB
ArmAsm
360 lines
16 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_80038AFC
|
|
/* 013EFC 80038AFC 27BDFFC8 */ addiu $sp, $sp, -0x38
|
|
/* 013F00 80038B00 AFB00030 */ sw $s0, 0x30($sp)
|
|
/* 013F04 80038B04 0080802D */ daddu $s0, $a0, $zero
|
|
/* 013F08 80038B08 AFBF0034 */ sw $ra, 0x34($sp)
|
|
/* 013F0C 80038B0C 8E030000 */ lw $v1, ($s0)
|
|
/* 013F10 80038B10 30620040 */ andi $v0, $v1, 0x40
|
|
/* 013F14 80038B14 10400003 */ beqz $v0, .L80038B24
|
|
/* 013F18 80038B18 3C020800 */ lui $v0, 0x800
|
|
/* 013F1C 80038B1C 0800E3FE */ j .L80038FF8
|
|
/* 013F20 80038B20 00621025 */ or $v0, $v1, $v0
|
|
|
|
.L80038B24:
|
|
/* 013F24 80038B24 C6020038 */ lwc1 $f2, 0x38($s0)
|
|
/* 013F28 80038B28 C600006C */ lwc1 $f0, 0x6c($s0)
|
|
/* 013F2C 80038B2C 46001032 */ c.eq.s $f2, $f0
|
|
/* 013F30 80038B30 00000000 */ nop
|
|
/* 013F34 80038B34 45020011 */ bc1fl .L80038B7C
|
|
/* 013F38 80038B38 3C03F7FF */ lui $v1, 0xf7ff
|
|
/* 013F3C 80038B3C C602003C */ lwc1 $f2, 0x3c($s0)
|
|
/* 013F40 80038B40 C6000070 */ lwc1 $f0, 0x70($s0)
|
|
/* 013F44 80038B44 46001032 */ c.eq.s $f2, $f0
|
|
/* 013F48 80038B48 00000000 */ nop
|
|
/* 013F4C 80038B4C 4502000B */ bc1fl .L80038B7C
|
|
/* 013F50 80038B50 3C03F7FF */ lui $v1, 0xf7ff
|
|
/* 013F54 80038B54 C6020040 */ lwc1 $f2, 0x40($s0)
|
|
/* 013F58 80038B58 C6000074 */ lwc1 $f0, 0x74($s0)
|
|
/* 013F5C 80038B5C 46001032 */ c.eq.s $f2, $f0
|
|
/* 013F60 80038B60 00000000 */ nop
|
|
/* 013F64 80038B64 45000004 */ bc1f .L80038B78
|
|
/* 013F68 80038B68 3C020800 */ lui $v0, 0x800
|
|
/* 013F6C 80038B6C 00621024 */ and $v0, $v1, $v0
|
|
/* 013F70 80038B70 10400122 */ beqz $v0, .L80038FFC
|
|
/* 013F74 80038B74 00000000 */ nop
|
|
.L80038B78:
|
|
/* 013F78 80038B78 3C03F7FF */ lui $v1, 0xf7ff
|
|
.L80038B7C:
|
|
/* 013F7C 80038B7C 3463FFFF */ ori $v1, $v1, 0xffff
|
|
/* 013F80 80038B80 8E020000 */ lw $v0, ($s0)
|
|
/* 013F84 80038B84 C60C000C */ lwc1 $f12, 0xc($s0)
|
|
/* 013F88 80038B88 00431024 */ and $v0, $v0, $v1
|
|
/* 013F8C 80038B8C 0C00A6C9 */ jal clamp_angle
|
|
/* 013F90 80038B90 AE020000 */ sw $v0, ($s0)
|
|
/* 013F94 80038B94 C6020038 */ lwc1 $f2, 0x38($s0)
|
|
/* 013F98 80038B98 C604003C */ lwc1 $f4, 0x3c($s0)
|
|
/* 013F9C 80038B9C C6060040 */ lwc1 $f6, 0x40($s0)
|
|
/* 013FA0 80038BA0 E7A20020 */ swc1 $f2, 0x20($sp)
|
|
/* 013FA4 80038BA4 E7A40024 */ swc1 $f4, 0x24($sp)
|
|
/* 013FA8 80038BA8 E7A60028 */ swc1 $f6, 0x28($sp)
|
|
/* 013FAC 80038BAC 8E020000 */ lw $v0, ($s0)
|
|
/* 013FB0 80038BB0 3C030400 */ lui $v1, 0x400
|
|
/* 013FB4 80038BB4 00431024 */ and $v0, $v0, $v1
|
|
/* 013FB8 80038BB8 14400013 */ bnez $v0, .L80038C08
|
|
/* 013FBC 80038BBC AFA00010 */ sw $zero, 0x10($sp)
|
|
/* 013FC0 80038BC0 E7A00014 */ swc1 $f0, 0x14($sp)
|
|
/* 013FC4 80038BC4 860200A8 */ lh $v0, 0xa8($s0)
|
|
/* 013FC8 80038BC8 27A50020 */ addiu $a1, $sp, 0x20
|
|
/* 013FCC 80038BCC 44820000 */ mtc1 $v0, $f0
|
|
/* 013FD0 80038BD0 00000000 */ nop
|
|
/* 013FD4 80038BD4 46800020 */ cvt.s.w $f0, $f0
|
|
/* 013FD8 80038BD8 E7A00018 */ swc1 $f0, 0x18($sp)
|
|
/* 013FDC 80038BDC 860200A6 */ lh $v0, 0xa6($s0)
|
|
/* 013FE0 80038BE0 27A60024 */ addiu $a2, $sp, 0x24
|
|
/* 013FE4 80038BE4 44820000 */ mtc1 $v0, $f0
|
|
/* 013FE8 80038BE8 00000000 */ nop
|
|
/* 013FEC 80038BEC 46800020 */ cvt.s.w $f0, $f0
|
|
/* 013FF0 80038BF0 E7A0001C */ swc1 $f0, 0x1c($sp)
|
|
/* 013FF4 80038BF4 8E040080 */ lw $a0, 0x80($s0)
|
|
/* 013FF8 80038BF8 0C037711 */ jal func_800DDC44
|
|
/* 013FFC 80038BFC 27A70028 */ addiu $a3, $sp, 0x28
|
|
/* 014000 80038C00 0800E312 */ j .L80038C48
|
|
/* 014004 80038C04 00000000 */ nop
|
|
|
|
.L80038C08:
|
|
/* 014008 80038C08 E7A00014 */ swc1 $f0, 0x14($sp)
|
|
/* 01400C 80038C0C 860200A8 */ lh $v0, 0xa8($s0)
|
|
/* 014010 80038C10 27A50020 */ addiu $a1, $sp, 0x20
|
|
/* 014014 80038C14 44820000 */ mtc1 $v0, $f0
|
|
/* 014018 80038C18 00000000 */ nop
|
|
/* 01401C 80038C1C 46800020 */ cvt.s.w $f0, $f0
|
|
/* 014020 80038C20 E7A00018 */ swc1 $f0, 0x18($sp)
|
|
/* 014024 80038C24 860200A6 */ lh $v0, 0xa6($s0)
|
|
/* 014028 80038C28 27A60024 */ addiu $a2, $sp, 0x24
|
|
/* 01402C 80038C2C 44820000 */ mtc1 $v0, $f0
|
|
/* 014030 80038C30 00000000 */ nop
|
|
/* 014034 80038C34 46800020 */ cvt.s.w $f0, $f0
|
|
/* 014038 80038C38 E7A0001C */ swc1 $f0, 0x1c($sp)
|
|
/* 01403C 80038C3C 8E040080 */ lw $a0, 0x80($s0)
|
|
/* 014040 80038C40 0C037765 */ jal func_800DDD94
|
|
/* 014044 80038C44 27A70028 */ addiu $a3, $sp, 0x28
|
|
.L80038C48:
|
|
/* 014048 80038C48 1040000C */ beqz $v0, .L80038C7C
|
|
/* 01404C 80038C4C 24039FFF */ addiu $v1, $zero, -0x6001
|
|
/* 014050 80038C50 8E020000 */ lw $v0, ($s0)
|
|
/* 014054 80038C54 3C038011 */ lui $v1, 0x8011
|
|
/* 014058 80038C58 9463C97A */ lhu $v1, -0x3686($v1)
|
|
/* 01405C 80038C5C C7A00020 */ lwc1 $f0, 0x20($sp)
|
|
/* 014060 80038C60 C7A20028 */ lwc1 $f2, 0x28($sp)
|
|
/* 014064 80038C64 34426000 */ ori $v0, $v0, 0x6000
|
|
/* 014068 80038C68 AE020000 */ sw $v0, ($s0)
|
|
/* 01406C 80038C6C A6030086 */ sh $v1, 0x86($s0)
|
|
/* 014070 80038C70 E6000038 */ swc1 $f0, 0x38($s0)
|
|
/* 014074 80038C74 0800E322 */ j .L80038C88
|
|
/* 014078 80038C78 E6020040 */ swc1 $f2, 0x40($s0)
|
|
|
|
.L80038C7C:
|
|
/* 01407C 80038C7C 8E020000 */ lw $v0, ($s0)
|
|
/* 014080 80038C80 00431024 */ and $v0, $v0, $v1
|
|
/* 014084 80038C84 AE020000 */ sw $v0, ($s0)
|
|
.L80038C88:
|
|
/* 014088 80038C88 C600000C */ lwc1 $f0, 0xc($s0)
|
|
/* 01408C 80038C8C 3C014234 */ lui $at, 0x4234
|
|
/* 014090 80038C90 44816000 */ mtc1 $at, $f12
|
|
/* 014094 80038C94 0C00A6C9 */ jal clamp_angle
|
|
/* 014098 80038C98 460C0300 */ add.s $f12, $f0, $f12
|
|
/* 01409C 80038C9C C6020038 */ lwc1 $f2, 0x38($s0)
|
|
/* 0140A0 80038CA0 C604003C */ lwc1 $f4, 0x3c($s0)
|
|
/* 0140A4 80038CA4 C6060040 */ lwc1 $f6, 0x40($s0)
|
|
/* 0140A8 80038CA8 E7A20020 */ swc1 $f2, 0x20($sp)
|
|
/* 0140AC 80038CAC E7A40024 */ swc1 $f4, 0x24($sp)
|
|
/* 0140B0 80038CB0 E7A60028 */ swc1 $f6, 0x28($sp)
|
|
/* 0140B4 80038CB4 8E020000 */ lw $v0, ($s0)
|
|
/* 0140B8 80038CB8 3C030400 */ lui $v1, 0x400
|
|
/* 0140BC 80038CBC 00431024 */ and $v0, $v0, $v1
|
|
/* 0140C0 80038CC0 14400013 */ bnez $v0, .L80038D10
|
|
/* 0140C4 80038CC4 AFA00010 */ sw $zero, 0x10($sp)
|
|
/* 0140C8 80038CC8 E7A00014 */ swc1 $f0, 0x14($sp)
|
|
/* 0140CC 80038CCC 860200A8 */ lh $v0, 0xa8($s0)
|
|
/* 0140D0 80038CD0 27A50020 */ addiu $a1, $sp, 0x20
|
|
/* 0140D4 80038CD4 44820000 */ mtc1 $v0, $f0
|
|
/* 0140D8 80038CD8 00000000 */ nop
|
|
/* 0140DC 80038CDC 46800020 */ cvt.s.w $f0, $f0
|
|
/* 0140E0 80038CE0 E7A00018 */ swc1 $f0, 0x18($sp)
|
|
/* 0140E4 80038CE4 860200A6 */ lh $v0, 0xa6($s0)
|
|
/* 0140E8 80038CE8 27A60024 */ addiu $a2, $sp, 0x24
|
|
/* 0140EC 80038CEC 44820000 */ mtc1 $v0, $f0
|
|
/* 0140F0 80038CF0 00000000 */ nop
|
|
/* 0140F4 80038CF4 46800020 */ cvt.s.w $f0, $f0
|
|
/* 0140F8 80038CF8 E7A0001C */ swc1 $f0, 0x1c($sp)
|
|
/* 0140FC 80038CFC 8E040080 */ lw $a0, 0x80($s0)
|
|
/* 014100 80038D00 0C037711 */ jal func_800DDC44
|
|
/* 014104 80038D04 27A70028 */ addiu $a3, $sp, 0x28
|
|
/* 014108 80038D08 0800E354 */ j .L80038D50
|
|
/* 01410C 80038D0C 00000000 */ nop
|
|
|
|
.L80038D10:
|
|
/* 014110 80038D10 E7A00014 */ swc1 $f0, 0x14($sp)
|
|
/* 014114 80038D14 860200A8 */ lh $v0, 0xa8($s0)
|
|
/* 014118 80038D18 27A50020 */ addiu $a1, $sp, 0x20
|
|
/* 01411C 80038D1C 44820000 */ mtc1 $v0, $f0
|
|
/* 014120 80038D20 00000000 */ nop
|
|
/* 014124 80038D24 46800020 */ cvt.s.w $f0, $f0
|
|
/* 014128 80038D28 E7A00018 */ swc1 $f0, 0x18($sp)
|
|
/* 01412C 80038D2C 860200A6 */ lh $v0, 0xa6($s0)
|
|
/* 014130 80038D30 27A60024 */ addiu $a2, $sp, 0x24
|
|
/* 014134 80038D34 44820000 */ mtc1 $v0, $f0
|
|
/* 014138 80038D38 00000000 */ nop
|
|
/* 01413C 80038D3C 46800020 */ cvt.s.w $f0, $f0
|
|
/* 014140 80038D40 E7A0001C */ swc1 $f0, 0x1c($sp)
|
|
/* 014144 80038D44 8E040080 */ lw $a0, 0x80($s0)
|
|
/* 014148 80038D48 0C0376B9 */ jal func_800DDAE4
|
|
/* 01414C 80038D4C 27A70028 */ addiu $a3, $sp, 0x28
|
|
.L80038D50:
|
|
/* 014150 80038D50 10400009 */ beqz $v0, .L80038D78
|
|
/* 014154 80038D54 2403DFFF */ addiu $v1, $zero, -0x2001
|
|
/* 014158 80038D58 8E020000 */ lw $v0, ($s0)
|
|
/* 01415C 80038D5C C7A00020 */ lwc1 $f0, 0x20($sp)
|
|
/* 014160 80038D60 C7A20028 */ lwc1 $f2, 0x28($sp)
|
|
/* 014164 80038D64 34422000 */ ori $v0, $v0, 0x2000
|
|
/* 014168 80038D68 AE020000 */ sw $v0, ($s0)
|
|
/* 01416C 80038D6C E6000038 */ swc1 $f0, 0x38($s0)
|
|
/* 014170 80038D70 0800E361 */ j .L80038D84
|
|
/* 014174 80038D74 E6020040 */ swc1 $f2, 0x40($s0)
|
|
|
|
.L80038D78:
|
|
/* 014178 80038D78 8E020000 */ lw $v0, ($s0)
|
|
/* 01417C 80038D7C 00431024 */ and $v0, $v0, $v1
|
|
/* 014180 80038D80 AE020000 */ sw $v0, ($s0)
|
|
.L80038D84:
|
|
/* 014184 80038D84 C600000C */ lwc1 $f0, 0xc($s0)
|
|
/* 014188 80038D88 3C014234 */ lui $at, 0x4234
|
|
/* 01418C 80038D8C 44816000 */ mtc1 $at, $f12
|
|
/* 014190 80038D90 0C00A6C9 */ jal clamp_angle
|
|
/* 014194 80038D94 460C0301 */ sub.s $f12, $f0, $f12
|
|
/* 014198 80038D98 C6020038 */ lwc1 $f2, 0x38($s0)
|
|
/* 01419C 80038D9C C604003C */ lwc1 $f4, 0x3c($s0)
|
|
/* 0141A0 80038DA0 C6060040 */ lwc1 $f6, 0x40($s0)
|
|
/* 0141A4 80038DA4 E7A20020 */ swc1 $f2, 0x20($sp)
|
|
/* 0141A8 80038DA8 E7A40024 */ swc1 $f4, 0x24($sp)
|
|
/* 0141AC 80038DAC E7A60028 */ swc1 $f6, 0x28($sp)
|
|
/* 0141B0 80038DB0 8E020000 */ lw $v0, ($s0)
|
|
/* 0141B4 80038DB4 3C030400 */ lui $v1, 0x400
|
|
/* 0141B8 80038DB8 00431024 */ and $v0, $v0, $v1
|
|
/* 0141BC 80038DBC 14400013 */ bnez $v0, .L80038E0C
|
|
/* 0141C0 80038DC0 AFA00010 */ sw $zero, 0x10($sp)
|
|
/* 0141C4 80038DC4 E7A00014 */ swc1 $f0, 0x14($sp)
|
|
/* 0141C8 80038DC8 860200A8 */ lh $v0, 0xa8($s0)
|
|
/* 0141CC 80038DCC 27A50020 */ addiu $a1, $sp, 0x20
|
|
/* 0141D0 80038DD0 44820000 */ mtc1 $v0, $f0
|
|
/* 0141D4 80038DD4 00000000 */ nop
|
|
/* 0141D8 80038DD8 46800020 */ cvt.s.w $f0, $f0
|
|
/* 0141DC 80038DDC E7A00018 */ swc1 $f0, 0x18($sp)
|
|
/* 0141E0 80038DE0 860200A6 */ lh $v0, 0xa6($s0)
|
|
/* 0141E4 80038DE4 27A60024 */ addiu $a2, $sp, 0x24
|
|
/* 0141E8 80038DE8 44820000 */ mtc1 $v0, $f0
|
|
/* 0141EC 80038DEC 00000000 */ nop
|
|
/* 0141F0 80038DF0 46800020 */ cvt.s.w $f0, $f0
|
|
/* 0141F4 80038DF4 E7A0001C */ swc1 $f0, 0x1c($sp)
|
|
/* 0141F8 80038DF8 8E040080 */ lw $a0, 0x80($s0)
|
|
/* 0141FC 80038DFC 0C037711 */ jal func_800DDC44
|
|
/* 014200 80038E00 27A70028 */ addiu $a3, $sp, 0x28
|
|
/* 014204 80038E04 0800E393 */ j .L80038E4C
|
|
/* 014208 80038E08 00000000 */ nop
|
|
|
|
.L80038E0C:
|
|
/* 01420C 80038E0C E7A00014 */ swc1 $f0, 0x14($sp)
|
|
/* 014210 80038E10 860200A8 */ lh $v0, 0xa8($s0)
|
|
/* 014214 80038E14 27A50020 */ addiu $a1, $sp, 0x20
|
|
/* 014218 80038E18 44820000 */ mtc1 $v0, $f0
|
|
/* 01421C 80038E1C 00000000 */ nop
|
|
/* 014220 80038E20 46800020 */ cvt.s.w $f0, $f0
|
|
/* 014224 80038E24 E7A00018 */ swc1 $f0, 0x18($sp)
|
|
/* 014228 80038E28 860200A6 */ lh $v0, 0xa6($s0)
|
|
/* 01422C 80038E2C 27A60024 */ addiu $a2, $sp, 0x24
|
|
/* 014230 80038E30 44820000 */ mtc1 $v0, $f0
|
|
/* 014234 80038E34 00000000 */ nop
|
|
/* 014238 80038E38 46800020 */ cvt.s.w $f0, $f0
|
|
/* 01423C 80038E3C E7A0001C */ swc1 $f0, 0x1c($sp)
|
|
/* 014240 80038E40 8E040080 */ lw $a0, 0x80($s0)
|
|
/* 014244 80038E44 0C0376B9 */ jal func_800DDAE4
|
|
/* 014248 80038E48 27A70028 */ addiu $a3, $sp, 0x28
|
|
.L80038E4C:
|
|
/* 01424C 80038E4C 10400009 */ beqz $v0, .L80038E74
|
|
/* 014250 80038E50 2403DFFF */ addiu $v1, $zero, -0x2001
|
|
/* 014254 80038E54 8E020000 */ lw $v0, ($s0)
|
|
/* 014258 80038E58 C7A00020 */ lwc1 $f0, 0x20($sp)
|
|
/* 01425C 80038E5C C7A20028 */ lwc1 $f2, 0x28($sp)
|
|
/* 014260 80038E60 34422000 */ ori $v0, $v0, 0x2000
|
|
/* 014264 80038E64 AE020000 */ sw $v0, ($s0)
|
|
/* 014268 80038E68 E6000038 */ swc1 $f0, 0x38($s0)
|
|
/* 01426C 80038E6C 0800E3A0 */ j .L80038E80
|
|
/* 014270 80038E70 E6020040 */ swc1 $f2, 0x40($s0)
|
|
|
|
.L80038E74:
|
|
/* 014274 80038E74 8E020000 */ lw $v0, ($s0)
|
|
/* 014278 80038E78 00431024 */ and $v0, $v0, $v1
|
|
/* 01427C 80038E7C AE020000 */ sw $v0, ($s0)
|
|
.L80038E80:
|
|
/* 014280 80038E80 8E020000 */ lw $v0, ($s0)
|
|
/* 014284 80038E84 3C030400 */ lui $v1, 0x400
|
|
/* 014288 80038E88 00431024 */ and $v0, $v0, $v1
|
|
/* 01428C 80038E8C 1040005B */ beqz $v0, .L80038FFC
|
|
/* 014290 80038E90 00000000 */ nop
|
|
/* 014294 80038E94 C60C000C */ lwc1 $f12, 0xc($s0)
|
|
/* 014298 80038E98 3C014234 */ lui $at, 0x4234
|
|
/* 01429C 80038E9C 44810000 */ mtc1 $at, $f0
|
|
/* 0142A0 80038EA0 00000000 */ nop
|
|
/* 0142A4 80038EA4 46006300 */ add.s $f12, $f12, $f0
|
|
/* 0142A8 80038EA8 3C014334 */ lui $at, 0x4334
|
|
/* 0142AC 80038EAC 44810000 */ mtc1 $at, $f0
|
|
/* 0142B0 80038EB0 0C00A6C9 */ jal clamp_angle
|
|
/* 0142B4 80038EB4 46006300 */ add.s $f12, $f12, $f0
|
|
/* 0142B8 80038EB8 C6020038 */ lwc1 $f2, 0x38($s0)
|
|
/* 0142BC 80038EBC C604003C */ lwc1 $f4, 0x3c($s0)
|
|
/* 0142C0 80038EC0 C6060040 */ lwc1 $f6, 0x40($s0)
|
|
/* 0142C4 80038EC4 E7A20020 */ swc1 $f2, 0x20($sp)
|
|
/* 0142C8 80038EC8 E7A40024 */ swc1 $f4, 0x24($sp)
|
|
/* 0142CC 80038ECC E7A60028 */ swc1 $f6, 0x28($sp)
|
|
/* 0142D0 80038ED0 AFA00010 */ sw $zero, 0x10($sp)
|
|
/* 0142D4 80038ED4 E7A00014 */ swc1 $f0, 0x14($sp)
|
|
/* 0142D8 80038ED8 860200A8 */ lh $v0, 0xa8($s0)
|
|
/* 0142DC 80038EDC 27A50020 */ addiu $a1, $sp, 0x20
|
|
/* 0142E0 80038EE0 44820000 */ mtc1 $v0, $f0
|
|
/* 0142E4 80038EE4 00000000 */ nop
|
|
/* 0142E8 80038EE8 46800020 */ cvt.s.w $f0, $f0
|
|
/* 0142EC 80038EEC E7A00018 */ swc1 $f0, 0x18($sp)
|
|
/* 0142F0 80038EF0 860200A6 */ lh $v0, 0xa6($s0)
|
|
/* 0142F4 80038EF4 27A60024 */ addiu $a2, $sp, 0x24
|
|
/* 0142F8 80038EF8 44820000 */ mtc1 $v0, $f0
|
|
/* 0142FC 80038EFC 00000000 */ nop
|
|
/* 014300 80038F00 46800020 */ cvt.s.w $f0, $f0
|
|
/* 014304 80038F04 E7A0001C */ swc1 $f0, 0x1c($sp)
|
|
/* 014308 80038F08 8E040080 */ lw $a0, 0x80($s0)
|
|
/* 01430C 80038F0C 0C037711 */ jal func_800DDC44
|
|
/* 014310 80038F10 27A70028 */ addiu $a3, $sp, 0x28
|
|
/* 014314 80038F14 10400009 */ beqz $v0, .L80038F3C
|
|
/* 014318 80038F18 2403DFFF */ addiu $v1, $zero, -0x2001
|
|
/* 01431C 80038F1C 8E020000 */ lw $v0, ($s0)
|
|
/* 014320 80038F20 C7A00020 */ lwc1 $f0, 0x20($sp)
|
|
/* 014324 80038F24 C7A20028 */ lwc1 $f2, 0x28($sp)
|
|
/* 014328 80038F28 34422000 */ ori $v0, $v0, 0x2000
|
|
/* 01432C 80038F2C AE020000 */ sw $v0, ($s0)
|
|
/* 014330 80038F30 E6000038 */ swc1 $f0, 0x38($s0)
|
|
/* 014334 80038F34 0800E3D2 */ j .L80038F48
|
|
/* 014338 80038F38 E6020040 */ swc1 $f2, 0x40($s0)
|
|
|
|
.L80038F3C:
|
|
/* 01433C 80038F3C 8E020000 */ lw $v0, ($s0)
|
|
/* 014340 80038F40 00431024 */ and $v0, $v0, $v1
|
|
/* 014344 80038F44 AE020000 */ sw $v0, ($s0)
|
|
.L80038F48:
|
|
/* 014348 80038F48 C60C000C */ lwc1 $f12, 0xc($s0)
|
|
/* 01434C 80038F4C 3C014234 */ lui $at, 0x4234
|
|
/* 014350 80038F50 44810000 */ mtc1 $at, $f0
|
|
/* 014354 80038F54 00000000 */ nop
|
|
/* 014358 80038F58 46006301 */ sub.s $f12, $f12, $f0
|
|
/* 01435C 80038F5C 3C014334 */ lui $at, 0x4334
|
|
/* 014360 80038F60 44810000 */ mtc1 $at, $f0
|
|
/* 014364 80038F64 0C00A6C9 */ jal clamp_angle
|
|
/* 014368 80038F68 46006300 */ add.s $f12, $f12, $f0
|
|
/* 01436C 80038F6C C6020038 */ lwc1 $f2, 0x38($s0)
|
|
/* 014370 80038F70 C604003C */ lwc1 $f4, 0x3c($s0)
|
|
/* 014374 80038F74 C6060040 */ lwc1 $f6, 0x40($s0)
|
|
/* 014378 80038F78 E7A20020 */ swc1 $f2, 0x20($sp)
|
|
/* 01437C 80038F7C E7A40024 */ swc1 $f4, 0x24($sp)
|
|
/* 014380 80038F80 E7A60028 */ swc1 $f6, 0x28($sp)
|
|
/* 014384 80038F84 AFA00010 */ sw $zero, 0x10($sp)
|
|
/* 014388 80038F88 E7A00014 */ swc1 $f0, 0x14($sp)
|
|
/* 01438C 80038F8C 860200A8 */ lh $v0, 0xa8($s0)
|
|
/* 014390 80038F90 27A50020 */ addiu $a1, $sp, 0x20
|
|
/* 014394 80038F94 44820000 */ mtc1 $v0, $f0
|
|
/* 014398 80038F98 00000000 */ nop
|
|
/* 01439C 80038F9C 46800020 */ cvt.s.w $f0, $f0
|
|
/* 0143A0 80038FA0 E7A00018 */ swc1 $f0, 0x18($sp)
|
|
/* 0143A4 80038FA4 860200A6 */ lh $v0, 0xa6($s0)
|
|
/* 0143A8 80038FA8 27A60024 */ addiu $a2, $sp, 0x24
|
|
/* 0143AC 80038FAC 44820000 */ mtc1 $v0, $f0
|
|
/* 0143B0 80038FB0 00000000 */ nop
|
|
/* 0143B4 80038FB4 46800020 */ cvt.s.w $f0, $f0
|
|
/* 0143B8 80038FB8 E7A0001C */ swc1 $f0, 0x1c($sp)
|
|
/* 0143BC 80038FBC 8E040080 */ lw $a0, 0x80($s0)
|
|
/* 0143C0 80038FC0 0C037711 */ jal func_800DDC44
|
|
/* 0143C4 80038FC4 27A70028 */ addiu $a3, $sp, 0x28
|
|
/* 0143C8 80038FC8 10400009 */ beqz $v0, .L80038FF0
|
|
/* 0143CC 80038FCC 2403DFFF */ addiu $v1, $zero, -0x2001
|
|
/* 0143D0 80038FD0 8E020000 */ lw $v0, ($s0)
|
|
/* 0143D4 80038FD4 C7A00020 */ lwc1 $f0, 0x20($sp)
|
|
/* 0143D8 80038FD8 C7A20028 */ lwc1 $f2, 0x28($sp)
|
|
/* 0143DC 80038FDC 34422000 */ ori $v0, $v0, 0x2000
|
|
/* 0143E0 80038FE0 AE020000 */ sw $v0, ($s0)
|
|
/* 0143E4 80038FE4 E6000038 */ swc1 $f0, 0x38($s0)
|
|
/* 0143E8 80038FE8 0800E3FF */ j .L80038FFC
|
|
/* 0143EC 80038FEC E6020040 */ swc1 $f2, 0x40($s0)
|
|
|
|
.L80038FF0:
|
|
/* 0143F0 80038FF0 8E020000 */ lw $v0, ($s0)
|
|
/* 0143F4 80038FF4 00431024 */ and $v0, $v0, $v1
|
|
.L80038FF8:
|
|
/* 0143F8 80038FF8 AE020000 */ sw $v0, ($s0)
|
|
.L80038FFC:
|
|
/* 0143FC 80038FFC 8FBF0034 */ lw $ra, 0x34($sp)
|
|
/* 014400 80039000 8FB00030 */ lw $s0, 0x30($sp)
|
|
/* 014404 80039004 03E00008 */ jr $ra
|
|
/* 014408 80039008 27BD0038 */ addiu $sp, $sp, 0x38
|
|
|