mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
big boi
This commit is contained in:
parent
bbf92babcb
commit
64189a672f
@ -7,7 +7,7 @@ SHELL=/bin/bash -o pipefail
|
||||
# BUILD_DIR is location where all build artifacts are placed
|
||||
BUILD_DIR = build
|
||||
|
||||
SRC_DIRS := src
|
||||
SRC_DIRS := src src/os
|
||||
ASM_DIRS := asm asm/os
|
||||
DATA_DIRS := bin
|
||||
COMPRESSED_DIRS := yay0
|
||||
|
@ -1,669 +0,0 @@
|
||||
# %s disassembly and split file
|
||||
# generated by n64split v%s - N64 ROM splitter
|
||||
|
||||
# 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
|
||||
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802DEAA0, "ax"
|
||||
|
||||
glabel func_802DEAA0
|
||||
/* 101B90 802DEAA0 00C0102D */ daddu $v0, $a2, $zero
|
||||
/* 101B94 802DEAA4 24C60010 */ addiu $a2, $a2, 0x10
|
||||
/* 101B98 802DEAA8 2408FFFF */ addiu $t0, $zero, -1
|
||||
/* 101B9C 802DEAAC 00052882 */ srl $a1, $a1, 2
|
||||
/* 101BA0 802DEAB0 00052880 */ sll $a1, $a1, 2
|
||||
/* 101BA4 802DEAB4 00021082 */ srl $v0, $v0, 2
|
||||
/* 101BA8 802DEAB8 00023880 */ sll $a3, $v0, 2
|
||||
.L802DEABC:
|
||||
/* 101BAC 802DEABC 8CC20000 */ lw $v0, ($a2)
|
||||
/* 101BB0 802DEAC0 10480010 */ beq $v0, $t0, .L802DEB04
|
||||
/* 101BB4 802DEAC4 00452023 */ subu $a0, $v0, $a1
|
||||
/* 101BB8 802DEAC8 00872021 */ addu $a0, $a0, $a3
|
||||
/* 101BBC 802DEACC ACC40000 */ sw $a0, ($a2)
|
||||
.L802DEAD0:
|
||||
/* 101BC0 802DEAD0 8C830000 */ lw $v1, ($a0)
|
||||
/* 101BC4 802DEAD4 10680009 */ beq $v1, $t0, .L802DEAFC
|
||||
/* 101BC8 802DEAD8 00651823 */ subu $v1, $v1, $a1
|
||||
/* 101BCC 802DEADC 00671821 */ addu $v1, $v1, $a3
|
||||
/* 101BD0 802DEAE0 AC830000 */ sw $v1, ($a0)
|
||||
/* 101BD4 802DEAE4 8C620000 */ lw $v0, ($v1)
|
||||
/* 101BD8 802DEAE8 24840004 */ addiu $a0, $a0, 4
|
||||
/* 101BDC 802DEAEC 00451023 */ subu $v0, $v0, $a1
|
||||
/* 101BE0 802DEAF0 00471021 */ addu $v0, $v0, $a3
|
||||
/* 101BE4 802DEAF4 080B7AB4 */ j .L802DEAD0
|
||||
/* 101BE8 802DEAF8 AC620000 */ sw $v0, ($v1)
|
||||
|
||||
.L802DEAFC:
|
||||
/* 101BEC 802DEAFC 080B7AAF */ j .L802DEABC
|
||||
/* 101BF0 802DEB00 24C60004 */ addiu $a2, $a2, 4
|
||||
|
||||
.L802DEB04:
|
||||
/* 101BF4 802DEB04 03E00008 */ jr $ra
|
||||
/* 101BF8 802DEB08 00000000 */ nop
|
||||
|
||||
glabel load_sprite
|
||||
/* 101BFC 802DEB0C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 101C00 802DEB10 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 101C04 802DEB14 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 101C08 802DEB18 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 101C0C 802DEB1C 00A0A02D */ daddu $s4, $a1, $zero
|
||||
/* 101C10 802DEB20 AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 101C14 802DEB24 00C0B02D */ daddu $s6, $a2, $zero
|
||||
/* 101C18 802DEB28 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 101C1C 802DEB2C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 101C20 802DEB30 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 101C24 802DEB34 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 101C28 802DEB38 12800005 */ beqz $s4, .L802DEB50
|
||||
/* 101C2C 802DEB3C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 101C30 802DEB40 3C13802E */ lui $s3, 0x802e
|
||||
/* 101C34 802DEB44 8E730C64 */ lw $s3, 0xc64($s3)
|
||||
/* 101C38 802DEB48 080B7AD7 */ j .L802DEB5C
|
||||
/* 101C3C 802DEB4C 00152080 */ sll $a0, $s5, 2
|
||||
|
||||
.L802DEB50:
|
||||
/* 101C40 802DEB50 3C13802E */ lui $s3, 0x802e
|
||||
/* 101C44 802DEB54 8E730C68 */ lw $s3, 0xc68($s3)
|
||||
/* 101C48 802DEB58 00152080 */ sll $a0, $s5, 2
|
||||
.L802DEB5C:
|
||||
/* 101C4C 802DEB5C 02642021 */ addu $a0, $s3, $a0
|
||||
/* 101C50 802DEB60 3C11802E */ lui $s1, 0x802e
|
||||
/* 101C54 802DEB64 2631FEB0 */ addiu $s1, $s1, -0x150
|
||||
/* 101C58 802DEB68 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 101C5C 802DEB6C 0C017D24 */ jal nuPiReadRom
|
||||
/* 101C60 802DEB70 24060008 */ addiu $a2, $zero, 8
|
||||
/* 101C64 802DEB74 8E300004 */ lw $s0, 4($s1)
|
||||
/* 101C68 802DEB78 8E220000 */ lw $v0, ($s1)
|
||||
/* 101C6C 802DEB7C 02028023 */ subu $s0, $s0, $v0
|
||||
/* 101C70 802DEB80 26100007 */ addiu $s0, $s0, 7
|
||||
/* 101C74 802DEB84 2402FFF8 */ addiu $v0, $zero, -8
|
||||
/* 101C78 802DEB88 02028024 */ and $s0, $s0, $v0
|
||||
/* 101C7C 802DEB8C 0C00AB0A */ jal general_heap_malloc
|
||||
/* 101C80 802DEB90 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 101C84 802DEB94 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 101C88 802DEB98 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 101C8C 802DEB9C 8E240000 */ lw $a0, ($s1)
|
||||
/* 101C90 802DEBA0 0200302D */ daddu $a2, $s0, $zero
|
||||
/* 101C94 802DEBA4 0C017D24 */ jal nuPiReadRom
|
||||
/* 101C98 802DEBA8 02642021 */ addu $a0, $s3, $a0
|
||||
/* 101C9C 802DEBAC 12C00008 */ beqz $s6, .L802DEBD0
|
||||
/* 101CA0 802DEBB0 26450004 */ addiu $a1, $s2, 4
|
||||
/* 101CA4 802DEBB4 8CA50000 */ lw $a1, ($a1)
|
||||
/* 101CA8 802DEBB8 3C048035 */ lui $a0, 0x8035
|
||||
/* 101CAC 802DEBBC 2484F800 */ addiu $a0, $a0, -0x800
|
||||
/* 101CB0 802DEBC0 0C00A459 */ jal _heap_malloc_tail
|
||||
/* 101CB4 802DEBC4 00000000 */ nop
|
||||
/* 101CB8 802DEBC8 080B7AFA */ j .L802DEBE8
|
||||
/* 101CBC 802DEBCC 0040882D */ daddu $s1, $v0, $zero
|
||||
|
||||
.L802DEBD0:
|
||||
/* 101CC0 802DEBD0 8CA50000 */ lw $a1, ($a1)
|
||||
/* 101CC4 802DEBD4 3C048035 */ lui $a0, 0x8035
|
||||
/* 101CC8 802DEBD8 2484F800 */ addiu $a0, $a0, -0x800
|
||||
/* 101CCC 802DEBDC 0C00A41B */ jal _heap_malloc
|
||||
/* 101CD0 802DEBE0 00000000 */ nop
|
||||
/* 101CD4 802DEBE4 0040882D */ daddu $s1, $v0, $zero
|
||||
.L802DEBE8:
|
||||
/* 101CD8 802DEBE8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 101CDC 802DEBEC 0C01BB7C */ jal decode_yay0
|
||||
/* 101CE0 802DEBF0 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 101CE4 802DEBF4 0C00AB1E */ jal general_heap_free
|
||||
/* 101CE8 802DEBF8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 101CEC 802DEBFC 2404FFFF */ addiu $a0, $zero, -1
|
||||
/* 101CF0 802DEC00 00111082 */ srl $v0, $s1, 2
|
||||
/* 101CF4 802DEC04 8E320000 */ lw $s2, ($s1)
|
||||
/* 101CF8 802DEC08 00021080 */ sll $v0, $v0, 2
|
||||
/* 101CFC 802DEC0C 02429021 */ addu $s2, $s2, $v0
|
||||
/* 101D00 802DEC10 AE320000 */ sw $s2, ($s1)
|
||||
.L802DEC14:
|
||||
/* 101D04 802DEC14 8E450000 */ lw $a1, ($s2)
|
||||
/* 101D08 802DEC18 10A40008 */ beq $a1, $a0, .L802DEC3C
|
||||
/* 101D0C 802DEC1C 00A22821 */ addu $a1, $a1, $v0
|
||||
/* 101D10 802DEC20 AE450000 */ sw $a1, ($s2)
|
||||
/* 101D14 802DEC24 8CA30000 */ lw $v1, ($a1)
|
||||
/* 101D18 802DEC28 1680FFFA */ bnez $s4, .L802DEC14
|
||||
/* 101D1C 802DEC2C 26520004 */ addiu $s2, $s2, 4
|
||||
/* 101D20 802DEC30 00621821 */ addu $v1, $v1, $v0
|
||||
/* 101D24 802DEC34 080B7B05 */ j .L802DEC14
|
||||
/* 101D28 802DEC38 ACA30000 */ sw $v1, ($a1)
|
||||
|
||||
.L802DEC3C:
|
||||
/* 101D2C 802DEC3C 1280002D */ beqz $s4, .L802DECF4
|
||||
/* 101D30 802DEC40 00151880 */ sll $v1, $s5, 2
|
||||
/* 101D34 802DEC44 3C13802E */ lui $s3, 0x802e
|
||||
/* 101D38 802DEC48 2673FEB8 */ addiu $s3, $s3, -0x148
|
||||
/* 101D3C 802DEC4C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 101D40 802DEC50 24060194 */ addiu $a2, $zero, 0x194
|
||||
/* 101D44 802DEC54 3C12802E */ lui $s2, 0x802e
|
||||
/* 101D48 802DEC58 2652004C */ addiu $s2, $s2, 0x4c
|
||||
/* 101D4C 802DEC5C 8E420000 */ lw $v0, ($s2)
|
||||
/* 101D50 802DEC60 3C04802E */ lui $a0, 0x802e
|
||||
/* 101D54 802DEC64 24840C20 */ addiu $a0, $a0, 0xc20
|
||||
/* 101D58 802DEC68 3C01802E */ lui $at, 0x802e
|
||||
/* 101D5C 802DEC6C 00230821 */ addu $at, $at, $v1
|
||||
/* 101D60 802DEC70 AC220050 */ sw $v0, 0x50($at)
|
||||
/* 101D64 802DEC74 26A20001 */ addiu $v0, $s5, 1
|
||||
/* 101D68 802DEC78 00021080 */ sll $v0, $v0, 2
|
||||
/* 101D6C 802DEC7C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 101D70 802DEC80 00641821 */ addu $v1, $v1, $a0
|
||||
/* 101D74 802DEC84 3C04802E */ lui $a0, 0x802e
|
||||
/* 101D78 802DEC88 8C840C60 */ lw $a0, 0xc60($a0)
|
||||
/* 101D7C 802DEC8C 3C07802E */ lui $a3, 0x802e
|
||||
/* 101D80 802DEC90 8CE70C14 */ lw $a3, 0xc14($a3)
|
||||
/* 101D84 802DEC94 8C680000 */ lw $t0, ($v1)
|
||||
/* 101D88 802DEC98 8C420000 */ lw $v0, ($v0)
|
||||
/* 101D8C 802DEC9C 00872021 */ addu $a0, $a0, $a3
|
||||
/* 101D90 802DECA0 00081880 */ sll $v1, $t0, 2
|
||||
/* 101D94 802DECA4 00832021 */ addu $a0, $a0, $v1
|
||||
/* 101D98 802DECA8 0C017D24 */ jal nuPiReadRom
|
||||
/* 101D9C 802DECAC 00488023 */ subu $s0, $v0, $t0
|
||||
/* 101DA0 802DECB0 1A000010 */ blez $s0, .L802DECF4
|
||||
/* 101DA4 802DECB4 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 101DA8 802DECB8 3C08802E */ lui $t0, 0x802e
|
||||
/* 101DAC 802DECBC 25080090 */ addiu $t0, $t0, 0x90
|
||||
/* 101DB0 802DECC0 0240382D */ daddu $a3, $s2, $zero
|
||||
/* 101DB4 802DECC4 0260282D */ daddu $a1, $s3, $zero
|
||||
.L802DECC8:
|
||||
/* 101DB8 802DECC8 8CA40000 */ lw $a0, ($a1)
|
||||
/* 101DBC 802DECCC 24A50004 */ addiu $a1, $a1, 4
|
||||
/* 101DC0 802DECD0 8CE30000 */ lw $v1, ($a3)
|
||||
/* 101DC4 802DECD4 24C60001 */ addiu $a2, $a2, 1
|
||||
/* 101DC8 802DECD8 00031080 */ sll $v0, $v1, 2
|
||||
/* 101DCC 802DECDC 24630001 */ addiu $v1, $v1, 1
|
||||
/* 101DD0 802DECE0 00481021 */ addu $v0, $v0, $t0
|
||||
/* 101DD4 802DECE4 AC440000 */ sw $a0, ($v0)
|
||||
/* 101DD8 802DECE8 00D0102A */ slt $v0, $a2, $s0
|
||||
/* 101DDC 802DECEC 1440FFF6 */ bnez $v0, .L802DECC8
|
||||
/* 101DE0 802DECF0 ACE30000 */ sw $v1, ($a3)
|
||||
.L802DECF4:
|
||||
/* 101DE4 802DECF4 2404FFFF */ addiu $a0, $zero, -1
|
||||
/* 101DE8 802DECF8 00111082 */ srl $v0, $s1, 2
|
||||
/* 101DEC 802DECFC 8E230004 */ lw $v1, 4($s1)
|
||||
/* 101DF0 802DED00 00021080 */ sll $v0, $v0, 2
|
||||
/* 101DF4 802DED04 00621821 */ addu $v1, $v1, $v0
|
||||
/* 101DF8 802DED08 AE230004 */ sw $v1, 4($s1)
|
||||
.L802DED0C:
|
||||
/* 101DFC 802DED0C 8C650000 */ lw $a1, ($v1)
|
||||
/* 101E00 802DED10 10A40004 */ beq $a1, $a0, .L802DED24
|
||||
/* 101E04 802DED14 00A22821 */ addu $a1, $a1, $v0
|
||||
/* 101E08 802DED18 AC650000 */ sw $a1, ($v1)
|
||||
/* 101E0C 802DED1C 080B7B43 */ j .L802DED0C
|
||||
/* 101E10 802DED20 24630004 */ addiu $v1, $v1, 4
|
||||
|
||||
.L802DED24:
|
||||
/* 101E14 802DED24 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 101E18 802DED28 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 101E1C 802DED2C 0C0B7AA8 */ jal func_802DEAA0
|
||||
/* 101E20 802DED30 0220302D */ daddu $a2, $s1, $zero
|
||||
/* 101E24 802DED34 0220102D */ daddu $v0, $s1, $zero
|
||||
/* 101E28 802DED38 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 101E2C 802DED3C 8FB60028 */ lw $s6, 0x28($sp)
|
||||
/* 101E30 802DED40 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 101E34 802DED44 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 101E38 802DED48 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 101E3C 802DED4C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 101E40 802DED50 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 101E44 802DED54 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 101E48 802DED58 03E00008 */ jr $ra
|
||||
/* 101E4C 802DED5C 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
glabel func_802DED60
|
||||
/* 101E50 802DED60 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 101E54 802DED64 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 101E58 802DED68 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 101E5C 802DED6C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 101E60 802DED70 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* 101E64 802DED74 3C040194 */ lui $a0, 0x194
|
||||
/* 101E68 802DED78 34843010 */ ori $a0, $a0, 0x3010
|
||||
/* 101E6C 802DED7C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 101E70 802DED80 3C10802E */ lui $s0, 0x802e
|
||||
/* 101E74 802DED84 26100C60 */ addiu $s0, $s0, 0xc60
|
||||
/* 101E78 802DED88 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 101E7C 802DED8C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 101E80 802DED90 0C017D24 */ jal nuPiReadRom
|
||||
/* 101E84 802DED94 2406000C */ addiu $a2, $zero, 0xc
|
||||
/* 101E88 802DED98 3C060194 */ lui $a2, 0x194
|
||||
/* 101E8C 802DED9C 34C63010 */ ori $a2, $a2, 0x3010
|
||||
/* 101E90 802DEDA0 3C048035 */ lui $a0, 0x8035
|
||||
/* 101E94 802DEDA4 2484F800 */ addiu $a0, $a0, -0x800
|
||||
/* 101E98 802DEDA8 8E020000 */ lw $v0, ($s0)
|
||||
/* 101E9C 802DEDAC 02510018 */ mult $s2, $s1
|
||||
/* 101EA0 802DEDB0 3C01802E */ lui $at, 0x802e
|
||||
/* 101EA4 802DEDB4 AC310C58 */ sw $s1, 0xc58($at)
|
||||
/* 101EA8 802DEDB8 3C11802E */ lui $s1, 0x802e
|
||||
/* 101EAC 802DEDBC 26310C5C */ addiu $s1, $s1, 0xc5c
|
||||
/* 101EB0 802DEDC0 AE320000 */ sw $s2, ($s1)
|
||||
/* 101EB4 802DEDC4 8E030008 */ lw $v1, 8($s0)
|
||||
/* 101EB8 802DEDC8 00461021 */ addu $v0, $v0, $a2
|
||||
/* 101EBC 802DEDCC AE020000 */ sw $v0, ($s0)
|
||||
/* 101EC0 802DEDD0 8E020004 */ lw $v0, 4($s0)
|
||||
/* 101EC4 802DEDD4 00661821 */ addu $v1, $v1, $a2
|
||||
/* 101EC8 802DEDD8 AE030008 */ sw $v1, 8($s0)
|
||||
/* 101ECC 802DEDDC 00461021 */ addu $v0, $v0, $a2
|
||||
/* 101ED0 802DEDE0 00002812 */ mflo $a1
|
||||
/* 101ED4 802DEDE4 0C00A41B */ jal _heap_malloc
|
||||
/* 101ED8 802DEDE8 AE020004 */ sw $v0, 4($s0)
|
||||
/* 101EDC 802DEDEC 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 101EE0 802DEDF0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 101EE4 802DEDF4 240600FF */ addiu $a2, $zero, 0xff
|
||||
/* 101EE8 802DEDF8 3C03802E */ lui $v1, 0x802e
|
||||
/* 101EEC 802DEDFC 24630C70 */ addiu $v1, $v1, 0xc70
|
||||
/* 101EF0 802DEE00 8E310000 */ lw $s1, ($s1)
|
||||
.L802DEE04:
|
||||
/* 101EF4 802DEE04 AC65000C */ sw $a1, 0xc($v1)
|
||||
/* 101EF8 802DEE08 00B12821 */ addu $a1, $a1, $s1
|
||||
/* 101EFC 802DEE0C AC600000 */ sw $zero, ($v1)
|
||||
/* 101F00 802DEE10 AC600004 */ sw $zero, 4($v1)
|
||||
/* 101F04 802DEE14 AC660008 */ sw $a2, 8($v1)
|
||||
/* 101F08 802DEE18 24840001 */ addiu $a0, $a0, 1
|
||||
/* 101F0C 802DEE1C 28820012 */ slti $v0, $a0, 0x12
|
||||
/* 101F10 802DEE20 1440FFF8 */ bnez $v0, .L802DEE04
|
||||
/* 101F14 802DEE24 24630010 */ addiu $v1, $v1, 0x10
|
||||
/* 101F18 802DEE28 2404000C */ addiu $a0, $zero, 0xc
|
||||
/* 101F1C 802DEE2C 3C02802E */ lui $v0, 0x802e
|
||||
/* 101F20 802DEE30 24420080 */ addiu $v0, $v0, 0x80
|
||||
.L802DEE34:
|
||||
/* 101F24 802DEE34 AC400000 */ sw $zero, ($v0)
|
||||
/* 101F28 802DEE38 2484FFFF */ addiu $a0, $a0, -1
|
||||
/* 101F2C 802DEE3C 0481FFFD */ bgez $a0, .L802DEE34
|
||||
/* 101F30 802DEE40 2442FFFC */ addiu $v0, $v0, -4
|
||||
/* 101F34 802DEE44 3C11802E */ lui $s1, 0x802e
|
||||
/* 101F38 802DEE48 26310C10 */ addiu $s1, $s1, 0xc10
|
||||
/* 101F3C 802DEE4C 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 101F40 802DEE50 3C10802E */ lui $s0, 0x802e
|
||||
/* 101F44 802DEE54 26100C60 */ addiu $s0, $s0, 0xc60
|
||||
/* 101F48 802DEE58 8E040000 */ lw $a0, ($s0)
|
||||
/* 101F4C 802DEE5C 3C01802E */ lui $at, 0x802e
|
||||
/* 101F50 802DEE60 AC20004C */ sw $zero, 0x4c($at)
|
||||
/* 101F54 802DEE64 0C017D24 */ jal nuPiReadRom
|
||||
/* 101F58 802DEE68 2406000C */ addiu $a2, $zero, 0xc
|
||||
/* 101F5C 802DEE6C 3C05802E */ lui $a1, 0x802e
|
||||
/* 101F60 802DEE70 24A50C20 */ addiu $a1, $a1, 0xc20
|
||||
/* 101F64 802DEE74 8E020000 */ lw $v0, ($s0)
|
||||
/* 101F68 802DEE78 8E240000 */ lw $a0, ($s1)
|
||||
/* 101F6C 802DEE7C 24060038 */ addiu $a2, $zero, 0x38
|
||||
/* 101F70 802DEE80 0C017D24 */ jal nuPiReadRom
|
||||
/* 101F74 802DEE84 00442021 */ addu $a0, $v0, $a0
|
||||
/* 101F78 802DEE88 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 101F7C 802DEE8C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 101F80 802DEE90 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 101F84 802DEE94 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 101F88 802DEE98 03E00008 */ jr $ra
|
||||
/* 101F8C 802DEE9C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_802DEEA0
|
||||
/* 101F90 802DEEA0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 101F94 802DEEA4 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 101F98 802DEEA8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 101F9C 802DEEAC 2410FFFF */ addiu $s0, $zero, -1
|
||||
/* 101FA0 802DEEB0 3C02802E */ lui $v0, 0x802e
|
||||
/* 101FA4 802DEEB4 8C420C58 */ lw $v0, 0xc58($v0)
|
||||
/* 101FA8 802DEEB8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 101FAC 802DEEBC 18400018 */ blez $v0, .L802DEF20
|
||||
/* 101FB0 802DEEC0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 101FB4 802DEEC4 24090002 */ addiu $t1, $zero, 2
|
||||
/* 101FB8 802DEEC8 0200402D */ daddu $t0, $s0, $zero
|
||||
/* 101FBC 802DEECC 0040302D */ daddu $a2, $v0, $zero
|
||||
/* 101FC0 802DEED0 3C03802E */ lui $v1, 0x802e
|
||||
/* 101FC4 802DEED4 24630C70 */ addiu $v1, $v1, 0xc70
|
||||
.L802DEED8:
|
||||
/* 101FC8 802DEED8 8C620000 */ lw $v0, ($v1)
|
||||
/* 101FCC 802DEEDC 1040000A */ beqz $v0, .L802DEF08
|
||||
/* 101FD0 802DEEE0 00000000 */ nop
|
||||
/* 101FD4 802DEEE4 8C620004 */ lw $v0, 4($v1)
|
||||
/* 101FD8 802DEEE8 1447000A */ bne $v0, $a3, .L802DEF14
|
||||
/* 101FDC 802DEEEC 24840001 */ addiu $a0, $a0, 1
|
||||
/* 101FE0 802DEEF0 8C620008 */ lw $v0, 8($v1)
|
||||
/* 101FE4 802DEEF4 14450008 */ bne $v0, $a1, .L802DEF18
|
||||
/* 101FE8 802DEEF8 0086102A */ slt $v0, $a0, $a2
|
||||
/* 101FEC 802DEEFC 8C62000C */ lw $v0, 0xc($v1)
|
||||
/* 101FF0 802DEF00 080B7BE9 */ j .L802DEFA4
|
||||
/* 101FF4 802DEF04 AC690000 */ sw $t1, ($v1)
|
||||
|
||||
.L802DEF08:
|
||||
/* 101FF8 802DEF08 52080001 */ beql $s0, $t0, .L802DEF10
|
||||
/* 101FFC 802DEF0C 0080802D */ daddu $s0, $a0, $zero
|
||||
.L802DEF10:
|
||||
/* 102000 802DEF10 24840001 */ addiu $a0, $a0, 1
|
||||
.L802DEF14:
|
||||
/* 102004 802DEF14 0086102A */ slt $v0, $a0, $a2
|
||||
.L802DEF18:
|
||||
/* 102008 802DEF18 1440FFEF */ bnez $v0, .L802DEED8
|
||||
/* 10200C 802DEF1C 24630010 */ addiu $v1, $v1, 0x10
|
||||
.L802DEF20:
|
||||
/* 102010 802DEF20 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 102014 802DEF24 1202001E */ beq $s0, $v0, .L802DEFA0
|
||||
/* 102018 802DEF28 00108100 */ sll $s0, $s0, 4
|
||||
/* 10201C 802DEF2C 3C02802E */ lui $v0, 0x802e
|
||||
/* 102020 802DEF30 24420C70 */ addiu $v0, $v0, 0xc70
|
||||
/* 102024 802DEF34 02028021 */ addu $s0, $s0, $v0
|
||||
/* 102028 802DEF38 24020002 */ addiu $v0, $zero, 2
|
||||
/* 10202C 802DEF3C AE020000 */ sw $v0, ($s0)
|
||||
/* 102030 802DEF40 00451004 */ sllv $v0, $a1, $v0
|
||||
/* 102034 802DEF44 3C04000F */ lui $a0, 0xf
|
||||
/* 102038 802DEF48 3484FFFF */ ori $a0, $a0, 0xffff
|
||||
/* 10203C 802DEF4C AE070004 */ sw $a3, 4($s0)
|
||||
/* 102040 802DEF50 AE050008 */ sw $a1, 8($s0)
|
||||
/* 102044 802DEF54 3C01802E */ lui $at, 0x802e
|
||||
/* 102048 802DEF58 00220821 */ addu $at, $at, $v0
|
||||
/* 10204C 802DEF5C 8C220050 */ lw $v0, 0x50($at)
|
||||
/* 102050 802DEF60 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 102054 802DEF64 00471021 */ addu $v0, $v0, $a3
|
||||
/* 102058 802DEF68 00021080 */ sll $v0, $v0, 2
|
||||
/* 10205C 802DEF6C 3C06802E */ lui $a2, 0x802e
|
||||
/* 102060 802DEF70 00C23021 */ addu $a2, $a2, $v0
|
||||
/* 102064 802DEF74 8CC60090 */ lw $a2, 0x90($a2)
|
||||
/* 102068 802DEF78 3C02802E */ lui $v0, 0x802e
|
||||
/* 10206C 802DEF7C 8C420C60 */ lw $v0, 0xc60($v0)
|
||||
/* 102070 802DEF80 00C42024 */ and $a0, $a2, $a0
|
||||
/* 102074 802DEF84 00063402 */ srl $a2, $a2, 0x10
|
||||
/* 102078 802DEF88 00442021 */ addu $a0, $v0, $a0
|
||||
/* 10207C 802DEF8C 0C017D24 */ jal nuPiReadRom
|
||||
/* 102080 802DEF90 30C6FFF0 */ andi $a2, $a2, 0xfff0
|
||||
/* 102084 802DEF94 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 102088 802DEF98 080B7BE9 */ j .L802DEFA4
|
||||
/* 10208C 802DEF9C 00000000 */ nop
|
||||
|
||||
.L802DEFA0:
|
||||
/* 102090 802DEFA0 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802DEFA4:
|
||||
/* 102094 802DEFA4 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 102098 802DEFA8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 10209C 802DEFAC 03E00008 */ jr $ra
|
||||
/* 1020A0 802DEFB0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_802DEFB4
|
||||
/* 1020A4 802DEFB4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1020A8 802DEFB8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1020AC 802DEFBC 0C04E934 */ jal func_8013A4D0
|
||||
/* 1020B0 802DEFC0 00000000 */ nop
|
||||
/* 1020B4 802DEFC4 3C02802E */ lui $v0, 0x802e
|
||||
/* 1020B8 802DEFC8 8C420C58 */ lw $v0, 0xc58($v0)
|
||||
/* 1020BC 802DEFCC 1840000C */ blez $v0, .L802DF000
|
||||
/* 1020C0 802DEFD0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 1020C4 802DEFD4 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 1020C8 802DEFD8 3C03802E */ lui $v1, 0x802e
|
||||
/* 1020CC 802DEFDC 24630C70 */ addiu $v1, $v1, 0xc70
|
||||
.L802DEFE0:
|
||||
/* 1020D0 802DEFE0 8C620000 */ lw $v0, ($v1)
|
||||
/* 1020D4 802DEFE4 10400003 */ beqz $v0, .L802DEFF4
|
||||
/* 1020D8 802DEFE8 24840001 */ addiu $a0, $a0, 1
|
||||
/* 1020DC 802DEFEC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 1020E0 802DEFF0 AC620000 */ sw $v0, ($v1)
|
||||
.L802DEFF4:
|
||||
/* 1020E4 802DEFF4 0085102A */ slt $v0, $a0, $a1
|
||||
/* 1020E8 802DEFF8 1440FFF9 */ bnez $v0, .L802DEFE0
|
||||
/* 1020EC 802DEFFC 24630010 */ addiu $v1, $v1, 0x10
|
||||
.L802DF000:
|
||||
/* 1020F0 802DF000 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 1020F4 802DF004 03E00008 */ jr $ra
|
||||
/* 1020F8 802DF008 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_802DF00C
|
||||
/* 1020FC 802DF00C 27BDFE30 */ addiu $sp, $sp, -0x1d0
|
||||
/* 102100 802DF010 AFB601C0 */ sw $s6, 0x1c0($sp)
|
||||
/* 102104 802DF014 0080B02D */ daddu $s6, $a0, $zero
|
||||
/* 102108 802DF018 AFB101AC */ sw $s1, 0x1ac($sp)
|
||||
/* 10210C 802DF01C 24110063 */ addiu $s1, $zero, 0x63
|
||||
/* 102110 802DF020 27A2019C */ addiu $v0, $sp, 0x19c
|
||||
/* 102114 802DF024 AFBF01C8 */ sw $ra, 0x1c8($sp)
|
||||
/* 102118 802DF028 AFB701C4 */ sw $s7, 0x1c4($sp)
|
||||
/* 10211C 802DF02C AFB501BC */ sw $s5, 0x1bc($sp)
|
||||
/* 102120 802DF030 AFB401B8 */ sw $s4, 0x1b8($sp)
|
||||
/* 102124 802DF034 AFB301B4 */ sw $s3, 0x1b4($sp)
|
||||
/* 102128 802DF038 AFB201B0 */ sw $s2, 0x1b0($sp)
|
||||
/* 10212C 802DF03C AFB001A8 */ sw $s0, 0x1a8($sp)
|
||||
.L802DF040:
|
||||
/* 102130 802DF040 AC400000 */ sw $zero, ($v0)
|
||||
/* 102134 802DF044 2631FFFF */ addiu $s1, $s1, -1
|
||||
/* 102138 802DF048 0621FFFD */ bgez $s1, .L802DF040
|
||||
/* 10213C 802DF04C 2442FFFC */ addiu $v0, $v0, -4
|
||||
/* 102140 802DF050 8CA30000 */ lw $v1, ($a1)
|
||||
/* 102144 802DF054 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 102148 802DF058 1062004B */ beq $v1, $v0, .L802DF188
|
||||
/* 10214C 802DF05C 24A50004 */ addiu $a1, $a1, 4
|
||||
/* 102150 802DF060 0040602D */ daddu $t4, $v0, $zero
|
||||
/* 102154 802DF064 24124000 */ addiu $s2, $zero, 0x4000
|
||||
/* 102158 802DF068 24111000 */ addiu $s1, $zero, 0x1000
|
||||
/* 10215C 802DF06C 24102000 */ addiu $s0, $zero, 0x2000
|
||||
/* 102160 802DF070 240F3000 */ addiu $t7, $zero, 0x3000
|
||||
/* 102164 802DF074 240E6000 */ addiu $t6, $zero, 0x6000
|
||||
/* 102168 802DF078 240D5000 */ addiu $t5, $zero, 0x5000
|
||||
.L802DF07C:
|
||||
/* 10216C 802DF07C 306200FF */ andi $v0, $v1, 0xff
|
||||
/* 102170 802DF080 00021080 */ sll $v0, $v0, 2
|
||||
/* 102174 802DF084 02C21021 */ addu $v0, $s6, $v0
|
||||
/* 102178 802DF088 080B7C5C */ j .L802DF170
|
||||
/* 10217C 802DF08C 8C480010 */ lw $t0, 0x10($v0)
|
||||
|
||||
.L802DF090:
|
||||
/* 102180 802DF090 94620004 */ lhu $v0, 4($v1)
|
||||
/* 102184 802DF094 8C660000 */ lw $a2, ($v1)
|
||||
/* 102188 802DF098 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 10218C 802DF09C 00021C03 */ sra $v1, $v0, 0x10
|
||||
/* 102190 802DF0A0 000217C2 */ srl $v0, $v0, 0x1f
|
||||
/* 102194 802DF0A4 00621821 */ addu $v1, $v1, $v0
|
||||
/* 102198 802DF0A8 00031843 */ sra $v1, $v1, 1
|
||||
/* 10219C 802DF0AC 18600030 */ blez $v1, .L802DF170
|
||||
/* 1021A0 802DF0B0 00000000 */ nop
|
||||
/* 1021A4 802DF0B4 240B7000 */ addiu $t3, $zero, 0x7000
|
||||
/* 1021A8 802DF0B8 27A90010 */ addiu $t1, $sp, 0x10
|
||||
/* 1021AC 802DF0BC 240A0001 */ addiu $t2, $zero, 1
|
||||
.L802DF0C0:
|
||||
/* 1021B0 802DF0C0 94C70000 */ lhu $a3, ($a2)
|
||||
/* 1021B4 802DF0C4 24C60002 */ addiu $a2, $a2, 2
|
||||
/* 1021B8 802DF0C8 30E4F000 */ andi $a0, $a3, 0xf000
|
||||
/* 1021BC 802DF0CC 10920022 */ beq $a0, $s2, .L802DF158
|
||||
/* 1021C0 802DF0D0 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* 1021C4 802DF0D4 28824001 */ slti $v0, $a0, 0x4001
|
||||
/* 1021C8 802DF0D8 1040000B */ beqz $v0, .L802DF108
|
||||
/* 1021CC 802DF0DC 00000000 */ nop
|
||||
/* 1021D0 802DF0E0 10910015 */ beq $a0, $s1, .L802DF138
|
||||
/* 1021D4 802DF0E4 28821001 */ slti $v0, $a0, 0x1001
|
||||
/* 1021D8 802DF0E8 1440001F */ bnez $v0, .L802DF168
|
||||
/* 1021DC 802DF0EC 00000000 */ nop
|
||||
/* 1021E0 802DF0F0 1090001D */ beq $a0, $s0, .L802DF168
|
||||
/* 1021E4 802DF0F4 00000000 */ nop
|
||||
/* 1021E8 802DF0F8 508F0016 */ beql $a0, $t7, .L802DF154
|
||||
/* 1021EC 802DF0FC 24C60002 */ addiu $a2, $a2, 2
|
||||
/* 1021F0 802DF100 080B7C5A */ j .L802DF168
|
||||
/* 1021F4 802DF104 00000000 */ nop
|
||||
|
||||
.L802DF108:
|
||||
/* 1021F8 802DF108 108E0017 */ beq $a0, $t6, .L802DF168
|
||||
/* 1021FC 802DF10C 28826001 */ slti $v0, $a0, 0x6001
|
||||
/* 102200 802DF110 10400005 */ beqz $v0, .L802DF128
|
||||
/* 102204 802DF114 00000000 */ nop
|
||||
/* 102208 802DF118 508D0012 */ beql $a0, $t5, .L802DF164
|
||||
/* 10220C 802DF11C 24C60002 */ addiu $a2, $a2, 2
|
||||
/* 102210 802DF120 080B7C5A */ j .L802DF168
|
||||
/* 102214 802DF124 00000000 */ nop
|
||||
|
||||
.L802DF128:
|
||||
/* 102218 802DF128 508B000E */ beql $a0, $t3, .L802DF164
|
||||
/* 10221C 802DF12C 24C60002 */ addiu $a2, $a2, 2
|
||||
/* 102220 802DF130 080B7C5A */ j .L802DF168
|
||||
/* 102224 802DF134 00000000 */ nop
|
||||
|
||||
.L802DF138:
|
||||
/* 102228 802DF138 30E400FF */ andi $a0, $a3, 0xff
|
||||
/* 10222C 802DF13C 28820064 */ slti $v0, $a0, 0x64
|
||||
/* 102230 802DF140 10400009 */ beqz $v0, .L802DF168
|
||||
/* 102234 802DF144 00041080 */ sll $v0, $a0, 2
|
||||
/* 102238 802DF148 01221021 */ addu $v0, $t1, $v0
|
||||
/* 10223C 802DF14C 080B7C5A */ j .L802DF168
|
||||
/* 102240 802DF150 AC4A0000 */ sw $t2, ($v0)
|
||||
|
||||
.L802DF154:
|
||||
/* 102244 802DF154 2463FFFF */ addiu $v1, $v1, -1
|
||||
.L802DF158:
|
||||
/* 102248 802DF158 24C60002 */ addiu $a2, $a2, 2
|
||||
/* 10224C 802DF15C 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* 102250 802DF160 24C60002 */ addiu $a2, $a2, 2
|
||||
.L802DF164:
|
||||
/* 102254 802DF164 2463FFFF */ addiu $v1, $v1, -1
|
||||
.L802DF168:
|
||||
/* 102258 802DF168 1C60FFD5 */ bgtz $v1, .L802DF0C0
|
||||
/* 10225C 802DF16C 00000000 */ nop
|
||||
.L802DF170:
|
||||
/* 102260 802DF170 8D030000 */ lw $v1, ($t0)
|
||||
/* 102264 802DF174 146CFFC6 */ bne $v1, $t4, .L802DF090
|
||||
/* 102268 802DF178 25080004 */ addiu $t0, $t0, 4
|
||||
/* 10226C 802DF17C 8CA30000 */ lw $v1, ($a1)
|
||||
/* 102270 802DF180 146CFFBE */ bne $v1, $t4, .L802DF07C
|
||||
/* 102274 802DF184 24A50004 */ addiu $a1, $a1, 4
|
||||
.L802DF188:
|
||||
/* 102278 802DF188 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 10227C 802DF18C 8ED30000 */ lw $s3, ($s6)
|
||||
/* 102280 802DF190 2417FFFF */ addiu $s7, $zero, -1
|
||||
/* 102284 802DF194 8E650000 */ lw $a1, ($s3)
|
||||
/* 102288 802DF198 27B40010 */ addiu $s4, $sp, 0x10
|
||||
/* 10228C 802DF19C 8CB20000 */ lw $s2, ($a1)
|
||||
.L802DF1A0:
|
||||
/* 102290 802DF1A0 8E650000 */ lw $a1, ($s3)
|
||||
/* 102294 802DF1A4 50B70019 */ beql $a1, $s7, .L802DF20C
|
||||
/* 102298 802DF1A8 0240302D */ daddu $a2, $s2, $zero
|
||||
/* 10229C 802DF1AC 8E820000 */ lw $v0, ($s4)
|
||||
/* 1022A0 802DF1B0 50400011 */ beql $v0, $zero, .L802DF1F8
|
||||
/* 1022A4 802DF1B4 26730004 */ addiu $s3, $s3, 4
|
||||
/* 1022A8 802DF1B8 90A30004 */ lbu $v1, 4($a1)
|
||||
/* 1022AC 802DF1BC 90A20005 */ lbu $v0, 5($a1)
|
||||
/* 1022B0 802DF1C0 00620018 */ mult $v1, $v0
|
||||
/* 1022B4 802DF1C4 8CA40000 */ lw $a0, ($a1)
|
||||
/* 1022B8 802DF1C8 0000C012 */ mflo $t8
|
||||
/* 1022BC 802DF1CC 00188043 */ sra $s0, $t8, 1
|
||||
/* 1022C0 802DF1D0 0250A821 */ addu $s5, $s2, $s0
|
||||
/* 1022C4 802DF1D4 12440005 */ beq $s2, $a0, .L802DF1EC
|
||||
/* 1022C8 802DF1D8 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1022CC 802DF1DC ACB20000 */ sw $s2, ($a1)
|
||||
/* 1022D0 802DF1E0 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 1022D4 802DF1E4 0C019194 */ jal bcopy
|
||||
/* 1022D8 802DF1E8 0200302D */ daddu $a2, $s0, $zero
|
||||
.L802DF1EC:
|
||||
/* 1022DC 802DF1EC AE750000 */ sw $s5, ($s3)
|
||||
/* 1022E0 802DF1F0 02509021 */ addu $s2, $s2, $s0
|
||||
/* 1022E4 802DF1F4 26730004 */ addiu $s3, $s3, 4
|
||||
.L802DF1F8:
|
||||
/* 1022E8 802DF1F8 26310001 */ addiu $s1, $s1, 1
|
||||
/* 1022EC 802DF1FC 2A220064 */ slti $v0, $s1, 0x64
|
||||
/* 1022F0 802DF200 1440FFE7 */ bnez $v0, .L802DF1A0
|
||||
/* 1022F4 802DF204 26940004 */ addiu $s4, $s4, 4
|
||||
/* 1022F8 802DF208 0240302D */ daddu $a2, $s2, $zero
|
||||
.L802DF20C:
|
||||
/* 1022FC 802DF20C 00111080 */ sll $v0, $s1, 2
|
||||
/* 102300 802DF210 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 102304 802DF214 27A40010 */ addiu $a0, $sp, 0x10
|
||||
/* 102308 802DF218 00821021 */ addu $v0, $a0, $v0
|
||||
/* 10230C 802DF21C 24030001 */ addiu $v1, $zero, 1
|
||||
/* 102310 802DF220 AC430000 */ sw $v1, ($v0)
|
||||
/* 102314 802DF224 8ED30000 */ lw $s3, ($s6)
|
||||
/* 102318 802DF228 2407FFFF */ addiu $a3, $zero, -1
|
||||
/* 10231C 802DF22C AEC60000 */ sw $a2, ($s6)
|
||||
.L802DF230:
|
||||
/* 102320 802DF230 8E650000 */ lw $a1, ($s3)
|
||||
/* 102324 802DF234 8C820000 */ lw $v0, ($a0)
|
||||
/* 102328 802DF238 10400003 */ beqz $v0, .L802DF248
|
||||
/* 10232C 802DF23C 26730004 */ addiu $s3, $s3, 4
|
||||
/* 102330 802DF240 080B7C93 */ j .L802DF24C
|
||||
/* 102334 802DF244 ACC50000 */ sw $a1, ($a2)
|
||||
|
||||
.L802DF248:
|
||||
/* 102338 802DF248 ACD50000 */ sw $s5, ($a2)
|
||||
.L802DF24C:
|
||||
/* 10233C 802DF24C 10A70005 */ beq $a1, $a3, .L802DF264
|
||||
/* 102340 802DF250 24C60004 */ addiu $a2, $a2, 4
|
||||
/* 102344 802DF254 26310001 */ addiu $s1, $s1, 1
|
||||
/* 102348 802DF258 2A220064 */ slti $v0, $s1, 0x64
|
||||
/* 10234C 802DF25C 1440FFF4 */ bnez $v0, .L802DF230
|
||||
/* 102350 802DF260 24840004 */ addiu $a0, $a0, 4
|
||||
.L802DF264:
|
||||
/* 102354 802DF264 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 102358 802DF268 8EC30004 */ lw $v1, 4($s6)
|
||||
/* 10235C 802DF26C 2404FFFF */ addiu $a0, $zero, -1
|
||||
/* 102360 802DF270 AEC60004 */ sw $a2, 4($s6)
|
||||
.L802DF274:
|
||||
/* 102364 802DF274 8C650000 */ lw $a1, ($v1)
|
||||
/* 102368 802DF278 24630004 */ addiu $v1, $v1, 4
|
||||
/* 10236C 802DF27C ACC50000 */ sw $a1, ($a2)
|
||||
/* 102370 802DF280 10A40005 */ beq $a1, $a0, .L802DF298
|
||||
/* 102374 802DF284 24C60004 */ addiu $a2, $a2, 4
|
||||
/* 102378 802DF288 26310001 */ addiu $s1, $s1, 1
|
||||
/* 10237C 802DF28C 2A220064 */ slti $v0, $s1, 0x64
|
||||
/* 102380 802DF290 1440FFF8 */ bnez $v0, .L802DF274
|
||||
/* 102384 802DF294 00000000 */ nop
|
||||
.L802DF298:
|
||||
/* 102388 802DF298 3C048035 */ lui $a0, 0x8035
|
||||
/* 10238C 802DF29C 2484F800 */ addiu $a0, $a0, -0x800
|
||||
/* 102390 802DF2A0 02C0282D */ daddu $a1, $s6, $zero
|
||||
/* 102394 802DF2A4 0C00A4B1 */ jal _heap_realloc
|
||||
/* 102398 802DF2A8 00C53023 */ subu $a2, $a2, $a1
|
||||
/* 10239C 802DF2AC 8FBF01C8 */ lw $ra, 0x1c8($sp)
|
||||
/* 1023A0 802DF2B0 8FB701C4 */ lw $s7, 0x1c4($sp)
|
||||
/* 1023A4 802DF2B4 8FB601C0 */ lw $s6, 0x1c0($sp)
|
||||
/* 1023A8 802DF2B8 8FB501BC */ lw $s5, 0x1bc($sp)
|
||||
/* 1023AC 802DF2BC 8FB401B8 */ lw $s4, 0x1b8($sp)
|
||||
/* 1023B0 802DF2C0 8FB301B4 */ lw $s3, 0x1b4($sp)
|
||||
/* 1023B4 802DF2C4 8FB201B0 */ lw $s2, 0x1b0($sp)
|
||||
/* 1023B8 802DF2C8 8FB101AC */ lw $s1, 0x1ac($sp)
|
||||
/* 1023BC 802DF2CC 8FB001A8 */ lw $s0, 0x1a8($sp)
|
||||
/* 1023C0 802DF2D0 03E00008 */ jr $ra
|
||||
/* 1023C4 802DF2D4 27BD01D0 */ addiu $sp, $sp, 0x1d0
|
||||
|
||||
glabel func_802DF2D8
|
||||
/* 1023C8 802DF2D8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1023CC 802DF2DC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1023D0 802DF2E0 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 1023D4 802DF2E4 26020001 */ addiu $v0, $s0, 1
|
||||
/* 1023D8 802DF2E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1023DC 802DF2EC 00028880 */ sll $s1, $v0, 2
|
||||
/* 1023E0 802DF2F0 00101080 */ sll $v0, $s0, 2
|
||||
/* 1023E4 802DF2F4 00501021 */ addu $v0, $v0, $s0
|
||||
/* 1023E8 802DF2F8 00021100 */ sll $v0, $v0, 4
|
||||
/* 1023EC 802DF2FC 3C03802E */ lui $v1, 0x802e
|
||||
/* 1023F0 802DF300 8C63F524 */ lw $v1, -0xadc($v1)
|
||||
/* 1023F4 802DF304 00512821 */ addu $a1, $v0, $s1
|
||||
/* 1023F8 802DF308 3C048035 */ lui $a0, 0x8035
|
||||
/* 1023FC 802DF30C 2484F800 */ addiu $a0, $a0, -0x800
|
||||
/* 102400 802DF310 10600003 */ beqz $v1, .L802DF320
|
||||
/* 102404 802DF314 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 102408 802DF318 3C048030 */ lui $a0, 0x8030
|
||||
/* 10240C 802DF31C 2484B800 */ addiu $a0, $a0, -0x4800
|
||||
.L802DF320:
|
||||
/* 102410 802DF320 0C00A41B */ jal _heap_malloc
|
||||
/* 102414 802DF324 00000000 */ nop
|
||||
/* 102418 802DF328 0040302D */ daddu $a2, $v0, $zero
|
||||
/* 10241C 802DF32C 00C0282D */ daddu $a1, $a2, $zero
|
||||
/* 102420 802DF330 0220102D */ daddu $v0, $s1, $zero
|
||||
/* 102424 802DF334 04410002 */ bgez $v0, .L802DF340
|
||||
/* 102428 802DF338 00C0202D */ daddu $a0, $a2, $zero
|
||||
/* 10242C 802DF33C 24420003 */ addiu $v0, $v0, 3
|
||||
.L802DF340:
|
||||
/* 102430 802DF340 00021083 */ sra $v0, $v0, 2
|
||||
/* 102434 802DF344 00021080 */ sll $v0, $v0, 2
|
||||
/* 102438 802DF348 00822021 */ addu $a0, $a0, $v0
|
||||
/* 10243C 802DF34C 1A000007 */ blez $s0, .L802DF36C
|
||||
/* 102440 802DF350 0000182D */ daddu $v1, $zero, $zero
|
||||
.L802DF354:
|
||||
/* 102444 802DF354 ACA40000 */ sw $a0, ($a1)
|
||||
/* 102448 802DF358 24A50004 */ addiu $a1, $a1, 4
|
||||
/* 10244C 802DF35C 24630001 */ addiu $v1, $v1, 1
|
||||
/* 102450 802DF360 0070102A */ slt $v0, $v1, $s0
|
||||
/* 102454 802DF364 1440FFFB */ bnez $v0, .L802DF354
|
||||
/* 102458 802DF368 24840050 */ addiu $a0, $a0, 0x50
|
||||
.L802DF36C:
|
||||
/* 10245C 802DF36C 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 102460 802DF370 ACA20000 */ sw $v0, ($a1)
|
||||
/* 102464 802DF374 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 102468 802DF378 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 10246C 802DF37C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 102470 802DF380 00C0102D */ daddu $v0, $a2, $zero
|
||||
/* 102474 802DF384 03E00008 */ jr $ra
|
||||
/* 102478 802DF388 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 10247C 802DF38C 00000000 */ nop
|
||||
|
||||
.set reorder
|
File diff suppressed because it is too large
Load Diff
@ -1,940 +0,0 @@
|
||||
# %s disassembly and split file
|
||||
# generated by n64split v%s - N64 ROM splitter
|
||||
|
||||
# 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
|
||||
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80035000, "ax"
|
||||
|
||||
/* 010400 80035000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 010404 80035004 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 010408 80035008 3C10800A */ lui $s0, 0x800a
|
||||
/* 01040C 8003500C 26100932 */ addiu $s0, $s0, 0x932
|
||||
/* 010410 80035010 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 010414 80035014 3C01800A */ lui $at, 0x800a
|
||||
/* 010418 80035018 A0200931 */ sb $zero, 0x931($at)
|
||||
/* 01041C 8003501C 0C03805E */ jal func_800E0178
|
||||
/* 010420 80035020 A6000000 */ sh $zero, ($s0)
|
||||
/* 010424 80035024 0C009C22 */ jal func_80027088
|
||||
/* 010428 80035028 24040002 */ addiu $a0, $zero, 2
|
||||
/* 01042C 8003502C 86020000 */ lh $v0, ($s0)
|
||||
/* 010430 80035030 44820000 */ mtc1 $v0, $f0
|
||||
/* 010434 80035034 00000000 */ nop
|
||||
/* 010438 80035038 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 01043C 8003503C 44050000 */ mfc1 $a1, $f0
|
||||
/* 010440 80035040 0C04DF62 */ jal func_80137D88
|
||||
/* 010444 80035044 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010448 80035048 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 01044C 8003504C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 010450 80035050 03E00008 */ jr $ra
|
||||
/* 010454 80035054 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 010458 80035058 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 01045C 8003505C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 010460 80035060 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 010464 80035064 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 010468 80035068 3C01800A */ lui $at, 0x800a
|
||||
/* 01046C 8003506C A0200931 */ sb $zero, 0x931($at)
|
||||
/* 010470 80035070 3C01800A */ lui $at, 0x800a
|
||||
/* 010474 80035074 A4200932 */ sh $zero, 0x932($at)
|
||||
/* 010478 80035078 0C03805E */ jal func_800E0178
|
||||
/* 01047C 8003507C 00000000 */ nop
|
||||
/* 010480 80035080 0C009C22 */ jal func_80027088
|
||||
/* 010484 80035084 24040002 */ addiu $a0, $zero, 2
|
||||
/* 010488 80035088 0C00AB00 */ jal general_heap_create
|
||||
/* 01048C 8003508C 00000000 */ nop
|
||||
/* 010490 80035090 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010494 80035094 0C0514BA */ jal func_801452E8
|
||||
/* 010498 80035098 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 01049C 8003509C 0C050440 */ jal func_80141100
|
||||
/* 0104A0 800350A0 00000000 */ nop
|
||||
/* 0104A4 800350A4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0104A8 800350A8 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 0104AC 800350AC 0C045709 */ jal load_model_textures
|
||||
/* 0104B0 800350B0 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 0104B4 800350B4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0104B8 800350B8 2405000C */ addiu $a1, $zero, 0xc
|
||||
/* 0104BC 800350BC 2406001C */ addiu $a2, $zero, 0x1c
|
||||
/* 0104C0 800350C0 3C10800B */ lui $s0, 0x800b
|
||||
/* 0104C4 800350C4 26101D80 */ addiu $s0, $s0, 0x1d80
|
||||
/* 0104C8 800350C8 24020006 */ addiu $v0, $zero, 6
|
||||
/* 0104CC 800350CC A6020004 */ sh $v0, 4($s0)
|
||||
/* 0104D0 800350D0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0104D4 800350D4 A6020006 */ sh $v0, 6($s0)
|
||||
/* 0104D8 800350D8 24020010 */ addiu $v0, $zero, 0x10
|
||||
/* 0104DC 800350DC A6020012 */ sh $v0, 0x12($s0)
|
||||
/* 0104E0 800350E0 24021000 */ addiu $v0, $zero, 0x1000
|
||||
/* 0104E4 800350E4 A6020014 */ sh $v0, 0x14($s0)
|
||||
/* 0104E8 800350E8 96020000 */ lhu $v0, ($s0)
|
||||
/* 0104EC 800350EC 240300B8 */ addiu $v1, $zero, 0xb8
|
||||
/* 0104F0 800350F0 AFA30010 */ sw $v1, 0x10($sp)
|
||||
/* 0104F4 800350F4 96030AB0 */ lhu $v1, 0xab0($s0)
|
||||
/* 0104F8 800350F8 3C0141C8 */ lui $at, 0x41c8
|
||||
/* 0104FC 800350FC 4481A000 */ mtc1 $at, $f20
|
||||
/* 010500 80035100 34420002 */ ori $v0, $v0, 2
|
||||
/* 010504 80035104 A6020000 */ sh $v0, ($s0)
|
||||
/* 010508 80035108 96020558 */ lhu $v0, 0x558($s0)
|
||||
/* 01050C 8003510C 24070128 */ addiu $a3, $zero, 0x128
|
||||
/* 010510 80035110 3C018007 */ lui $at, 0x8007
|
||||
/* 010514 80035114 AC207410 */ sw $zero, 0x7410($at)
|
||||
/* 010518 80035118 34420002 */ ori $v0, $v0, 2
|
||||
/* 01051C 8003511C A6020558 */ sh $v0, 0x558($s0)
|
||||
/* 010520 80035120 96021008 */ lhu $v0, 0x1008($s0)
|
||||
/* 010524 80035124 34630002 */ ori $v1, $v1, 2
|
||||
/* 010528 80035128 A6030AB0 */ sh $v1, 0xab0($s0)
|
||||
/* 01052C 8003512C E6140018 */ swc1 $f20, 0x18($s0)
|
||||
/* 010530 80035130 34420002 */ ori $v0, $v0, 2
|
||||
/* 010534 80035134 0C00B8C5 */ jal set_cam_viewport
|
||||
/* 010538 80035138 A6021008 */ sh $v0, 0x1008($s0)
|
||||
/* 01053C 8003513C 24020028 */ addiu $v0, $zero, 0x28
|
||||
/* 010540 80035140 A602001E */ sh $v0, 0x1e($s0)
|
||||
/* 010544 80035144 24020064 */ addiu $v0, $zero, 0x64
|
||||
/* 010548 80035148 3C0143FA */ lui $at, 0x43fa
|
||||
/* 01054C 8003514C 44810000 */ mtc1 $at, $f0
|
||||
/* 010550 80035150 3C01447A */ lui $at, 0x447a
|
||||
/* 010554 80035154 44811000 */ mtc1 $at, $f2
|
||||
/* 010558 80035158 3C0144BB */ lui $at, 0x44bb
|
||||
/* 01055C 8003515C 34218000 */ ori $at, $at, 0x8000
|
||||
/* 010560 80035160 44812000 */ mtc1 $at, $f4
|
||||
/* 010564 80035164 3C014316 */ lui $at, 0x4316
|
||||
/* 010568 80035168 44813000 */ mtc1 $at, $f6
|
||||
/* 01056C 8003516C 3C04800A */ lui $a0, 0x800a
|
||||
/* 010570 80035170 2484A650 */ addiu $a0, $a0, -0x59b0
|
||||
/* 010574 80035174 A600002C */ sh $zero, 0x2c($s0)
|
||||
/* 010578 80035178 A600002E */ sh $zero, 0x2e($s0)
|
||||
/* 01057C 8003517C A6000030 */ sh $zero, 0x30($s0)
|
||||
/* 010580 80035180 E6140054 */ swc1 $f20, 0x54($s0)
|
||||
/* 010584 80035184 E6140058 */ swc1 $f20, 0x58($s0)
|
||||
/* 010588 80035188 A600001C */ sh $zero, 0x1c($s0)
|
||||
/* 01058C 8003518C A6020020 */ sh $v0, 0x20($s0)
|
||||
/* 010590 80035190 A6000022 */ sh $zero, 0x22($s0)
|
||||
/* 010594 80035194 E600003C */ swc1 $f0, 0x3c($s0)
|
||||
/* 010598 80035198 E6020040 */ swc1 $f2, 0x40($s0)
|
||||
/* 01059C 8003519C E6040044 */ swc1 $f4, 0x44($s0)
|
||||
/* 0105A0 800351A0 E606005C */ swc1 $f6, 0x5c($s0)
|
||||
/* 0105A4 800351A4 8C820000 */ lw $v0, ($a0)
|
||||
/* 0105A8 800351A8 3C030001 */ lui $v1, 1
|
||||
/* 0105AC 800351AC 00431025 */ or $v0, $v0, $v1
|
||||
/* 0105B0 800351B0 AC820000 */ sw $v0, ($a0)
|
||||
/* 0105B4 800351B4 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0105B8 800351B8 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 0105BC 800351BC D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0105C0 800351C0 03E00008 */ jr $ra
|
||||
/* 0105C4 800351C4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 0105C8 800351C8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0105CC 800351CC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0105D0 800351D0 3C11800A */ lui $s1, 0x800a
|
||||
/* 0105D4 800351D4 26310931 */ addiu $s1, $s1, 0x931
|
||||
/* 0105D8 800351D8 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 0105DC 800351DC AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0105E0 800351E0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0105E4 800351E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0105E8 800351E8 82230000 */ lb $v1, ($s1)
|
||||
/* 0105EC 800351EC 24120001 */ addiu $s2, $zero, 1
|
||||
/* 0105F0 800351F0 10720030 */ beq $v1, $s2, .L800352B4
|
||||
/* 0105F4 800351F4 28620002 */ slti $v0, $v1, 2
|
||||
/* 0105F8 800351F8 10400005 */ beqz $v0, .L80035210
|
||||
/* 0105FC 800351FC 24130002 */ addiu $s3, $zero, 2
|
||||
/* 010600 80035200 10600009 */ beqz $v1, .L80035228
|
||||
/* 010604 80035204 00000000 */ nop
|
||||
/* 010608 80035208 0800D534 */ j .L800354D0
|
||||
/* 01060C 8003520C 00000000 */ nop
|
||||
|
||||
.L80035210:
|
||||
/* 010610 80035210 10730033 */ beq $v1, $s3, .L800352E0
|
||||
/* 010614 80035214 24020003 */ addiu $v0, $zero, 3
|
||||
/* 010618 80035218 10620055 */ beq $v1, $v0, .L80035370
|
||||
/* 01061C 8003521C 00000000 */ nop
|
||||
/* 010620 80035220 0800D534 */ j .L800354D0
|
||||
/* 010624 80035224 00000000 */ nop
|
||||
|
||||
.L80035228:
|
||||
/* 010628 80035228 0C037DD0 */ jal func_800DF740
|
||||
/* 01062C 8003522C 00000000 */ nop
|
||||
/* 010630 80035230 0C00E64C */ jal func_80039930
|
||||
/* 010634 80035234 00000000 */ nop
|
||||
/* 010638 80035238 0C00F949 */ jal func_8003E524
|
||||
/* 01063C 8003523C 00000000 */ nop
|
||||
/* 010640 80035240 0C016754 */ jal func_80059D50
|
||||
/* 010644 80035244 00000000 */ nop
|
||||
/* 010648 80035248 3C10800A */ lui $s0, 0x800a
|
||||
/* 01064C 8003524C 26100932 */ addiu $s0, $s0, 0x932
|
||||
/* 010650 80035250 86020000 */ lh $v0, ($s0)
|
||||
/* 010654 80035254 96030000 */ lhu $v1, ($s0)
|
||||
/* 010658 80035258 284200FF */ slti $v0, $v0, 0xff
|
||||
/* 01065C 8003525C 10400013 */ beqz $v0, .L800352AC
|
||||
/* 010660 80035260 24620014 */ addiu $v0, $v1, 0x14
|
||||
/* 010664 80035264 A6020000 */ sh $v0, ($s0)
|
||||
/* 010668 80035268 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 01066C 8003526C 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 010670 80035270 28420100 */ slti $v0, $v0, 0x100
|
||||
/* 010674 80035274 14400002 */ bnez $v0, .L80035280
|
||||
/* 010678 80035278 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 01067C 8003527C A6020000 */ sh $v0, ($s0)
|
||||
.L80035280:
|
||||
/* 010680 80035280 86020000 */ lh $v0, ($s0)
|
||||
/* 010684 80035284 44820000 */ mtc1 $v0, $f0
|
||||
/* 010688 80035288 00000000 */ nop
|
||||
/* 01068C 8003528C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 010690 80035290 44050000 */ mfc1 $a1, $f0
|
||||
/* 010694 80035294 0C04DF62 */ jal func_80137D88
|
||||
/* 010698 80035298 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 01069C 8003529C 86030000 */ lh $v1, ($s0)
|
||||
/* 0106A0 800352A0 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 0106A4 800352A4 1462008A */ bne $v1, $v0, .L800354D0
|
||||
/* 0106A8 800352A8 00000000 */ nop
|
||||
.L800352AC:
|
||||
/* 0106AC 800352AC 0800D534 */ j .L800354D0
|
||||
/* 0106B0 800352B0 A2320000 */ sb $s2, ($s1)
|
||||
|
||||
.L800352B4:
|
||||
/* 0106B4 800352B4 24020005 */ addiu $v0, $zero, 5
|
||||
/* 0106B8 800352B8 3C04800A */ lui $a0, 0x800a
|
||||
/* 0106BC 800352BC 2484A650 */ addiu $a0, $a0, -0x59b0
|
||||
/* 0106C0 800352C0 3C01800A */ lui $at, 0x800a
|
||||
/* 0106C4 800352C4 A0220930 */ sb $v0, 0x930($at)
|
||||
/* 0106C8 800352C8 8C820000 */ lw $v0, ($a0)
|
||||
/* 0106CC 800352CC 24030002 */ addiu $v1, $zero, 2
|
||||
/* 0106D0 800352D0 A2230000 */ sb $v1, ($s1)
|
||||
/* 0106D4 800352D4 34420008 */ ori $v0, $v0, 8
|
||||
/* 0106D8 800352D8 0800D534 */ j .L800354D0
|
||||
/* 0106DC 800352DC AC820000 */ sw $v0, ($a0)
|
||||
|
||||
.L800352E0:
|
||||
/* 0106E0 800352E0 3C10800A */ lui $s0, 0x800a
|
||||
/* 0106E4 800352E4 26100930 */ addiu $s0, $s0, 0x930
|
||||
/* 0106E8 800352E8 92020000 */ lbu $v0, ($s0)
|
||||
/* 0106EC 800352EC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0106F0 800352F0 A2020000 */ sb $v0, ($s0)
|
||||
/* 0106F4 800352F4 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 0106F8 800352F8 14400075 */ bnez $v0, .L800354D0
|
||||
/* 0106FC 800352FC 00000000 */ nop
|
||||
/* 010700 80035300 3C048007 */ lui $a0, 0x8007
|
||||
/* 010704 80035304 24847980 */ addiu $a0, $a0, 0x7980
|
||||
/* 010708 80035308 0C017CBC */ jal nuGfxSetCfb
|
||||
/* 01070C 8003530C 24050002 */ addiu $a1, $zero, 2
|
||||
/* 010710 80035310 3C02800A */ lui $v0, 0x800a
|
||||
/* 010714 80035314 8C42A658 */ lw $v0, -0x59a8($v0)
|
||||
/* 010718 80035318 8C430008 */ lw $v1, 8($v0)
|
||||
/* 01071C 8003531C 3C02800A */ lui $v0, 0x800a
|
||||
/* 010720 80035320 8C42A64C */ lw $v0, -0x59b4($v0)
|
||||
/* 010724 80035324 14620008 */ bne $v1, $v0, .L80035348
|
||||
/* 010728 80035328 24040003 */ addiu $a0, $zero, 3
|
||||
/* 01072C 8003532C 3C02800A */ lui $v0, 0x800a
|
||||
/* 010730 80035330 2442A650 */ addiu $v0, $v0, -0x59b0
|
||||
/* 010734 80035334 8C430000 */ lw $v1, ($v0)
|
||||
/* 010738 80035338 2404FFF7 */ addiu $a0, $zero, -9
|
||||
/* 01073C 8003533C 00641824 */ and $v1, $v1, $a0
|
||||
/* 010740 80035340 0800D534 */ j .L800354D0
|
||||
/* 010744 80035344 AC430000 */ sw $v1, ($v0)
|
||||
|
||||
.L80035348:
|
||||
/* 010748 80035348 3C02800A */ lui $v0, 0x800a
|
||||
/* 01074C 8003534C 2442A650 */ addiu $v0, $v0, -0x59b0
|
||||
/* 010750 80035350 8C430000 */ lw $v1, ($v0)
|
||||
/* 010754 80035354 34630008 */ ori $v1, $v1, 8
|
||||
/* 010758 80035358 0C051FB1 */ jal func_80147EC4
|
||||
/* 01075C 8003535C AC430000 */ sw $v1, ($v0)
|
||||
/* 010760 80035360 24020003 */ addiu $v0, $zero, 3
|
||||
/* 010764 80035364 A2120000 */ sb $s2, ($s0)
|
||||
/* 010768 80035368 0800D534 */ j .L800354D0
|
||||
/* 01076C 8003536C A2220000 */ sb $v0, ($s1)
|
||||
|
||||
.L80035370:
|
||||
/* 010770 80035370 3C10800A */ lui $s0, 0x800a
|
||||
/* 010774 80035374 26100930 */ addiu $s0, $s0, 0x930
|
||||
/* 010778 80035378 82020000 */ lb $v0, ($s0)
|
||||
/* 01077C 8003537C 92030000 */ lbu $v1, ($s0)
|
||||
/* 010780 80035380 04400042 */ bltz $v0, .L8003548C
|
||||
/* 010784 80035384 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 010788 80035388 A2020000 */ sb $v0, ($s0)
|
||||
/* 01078C 8003538C 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 010790 80035390 1440003B */ bnez $v0, .L80035480
|
||||
/* 010794 80035394 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 010798 80035398 0C05260E */ jal func_80149838
|
||||
/* 01079C 8003539C A2020000 */ sb $v0, ($s0)
|
||||
/* 0107A0 800353A0 0C00EC6A */ jal func_8003B1A8
|
||||
/* 0107A4 800353A4 00000000 */ nop
|
||||
/* 0107A8 800353A8 3C028007 */ lui $v0, 0x8007
|
||||
/* 0107AC 800353AC 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0107B0 800353B0 0C016BA8 */ jal allocate_hit_tables
|
||||
/* 0107B4 800353B4 A0530070 */ sb $s3, 0x70($v0)
|
||||
/* 0107B8 800353B8 0C00AB28 */ jal battle_heap_create
|
||||
/* 0107BC 800353BC 00000000 */ nop
|
||||
/* 0107C0 800353C0 0C05259C */ jal func_80149670
|
||||
/* 0107C4 800353C4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0107C8 800353C8 0C0B763E */ jal func_802DD8F8
|
||||
/* 0107CC 800353CC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0107D0 800353D0 0C045751 */ jal clear_model_data
|
||||
/* 0107D4 800353D4 00000000 */ nop
|
||||
/* 0107D8 800353D8 0C052010 */ jal func_80148040
|
||||
/* 0107DC 800353DC 00000000 */ nop
|
||||
/* 0107E0 800353E0 0C05177E */ jal func_80145DF8
|
||||
/* 0107E4 800353E4 00000000 */ nop
|
||||
/* 0107E8 800353E8 0C0482EC */ jal func_80120BB0
|
||||
/* 0107EC 800353EC 00000000 */ nop
|
||||
/* 0107F0 800353F0 0C047889 */ jal func_8011E224
|
||||
/* 0107F4 800353F4 00000000 */ nop
|
||||
/* 0107F8 800353F8 0C048C2E */ jal func_801230B8
|
||||
/* 0107FC 800353FC 00000000 */ nop
|
||||
/* 010800 80035400 3C048020 */ lui $a0, 0x8020
|
||||
/* 010804 80035404 24840000 */ addiu $a0, $a0, 0
|
||||
/* 010808 80035408 0C0514BA */ jal func_801452E8
|
||||
/* 01080C 8003540C 3C050002 */ lui $a1, 2
|
||||
/* 010810 80035410 0C050440 */ jal func_80141100
|
||||
/* 010814 80035414 00000000 */ nop
|
||||
/* 010818 80035418 0C03A6EC */ jal reset_status_menu
|
||||
/* 01081C 8003541C 00000000 */ nop
|
||||
/* 010820 80035420 0C04C3FC */ jal clear_item_entity_data
|
||||
/* 010824 80035424 00000000 */ nop
|
||||
/* 010828 80035428 0C0B0C77 */ jal clear_script_list
|
||||
/* 01082C 8003542C 00000000 */ nop
|
||||
/* 010830 80035430 0C00E12F */ jal func_800384BC
|
||||
/* 010834 80035434 00000000 */ nop
|
||||
/* 010838 80035438 0C04432E */ jal func_80110CB8
|
||||
/* 01083C 8003543C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010840 80035440 0C0515A0 */ jal clear_trigger_data
|
||||
/* 010844 80035444 00000000 */ nop
|
||||
/* 010848 80035448 3C048007 */ lui $a0, 0x8007
|
||||
/* 01084C 8003544C 0C018038 */ jal nuPiReadRomOverlay
|
||||
/* 010850 80035450 2484798C */ addiu $a0, $a0, 0x798c
|
||||
/* 010854 80035454 0C091238 */ jal func_802448E0
|
||||
/* 010858 80035458 24040001 */ addiu $a0, $zero, 1
|
||||
/* 01085C 8003545C 240400FF */ addiu $a0, $zero, 0xff
|
||||
/* 010860 80035460 3C06800A */ lui $a2, 0x800a
|
||||
/* 010864 80035464 24C6A650 */ addiu $a2, $a2, -0x59b0
|
||||
/* 010868 80035468 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* 01086C 8003546C 8CC20000 */ lw $v0, ($a2)
|
||||
/* 010870 80035470 3C05437F */ lui $a1, 0x437f
|
||||
/* 010874 80035474 00431024 */ and $v0, $v0, $v1
|
||||
/* 010878 80035478 0C04DF62 */ jal func_80137D88
|
||||
/* 01087C 8003547C ACC20000 */ sw $v0, ($a2)
|
||||
.L80035480:
|
||||
/* 010880 80035480 82020000 */ lb $v0, ($s0)
|
||||
/* 010884 80035484 04410012 */ bgez $v0, .L800354D0
|
||||
/* 010888 80035488 00000000 */ nop
|
||||
.L8003548C:
|
||||
/* 01088C 8003548C 0C090C68 */ jal func_802431A0
|
||||
/* 010890 80035490 00000000 */ nop
|
||||
/* 010894 80035494 3C03800A */ lui $v1, 0x800a
|
||||
/* 010898 80035498 24630932 */ addiu $v1, $v1, 0x932
|
||||
/* 01089C 8003549C 94620000 */ lhu $v0, ($v1)
|
||||
/* 0108A0 800354A0 2442FFEC */ addiu $v0, $v0, -0x14
|
||||
/* 0108A4 800354A4 A4620000 */ sh $v0, ($v1)
|
||||
/* 0108A8 800354A8 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 0108AC 800354AC 04420001 */ bltzl $v0, .L800354B4
|
||||
/* 0108B0 800354B0 A4600000 */ sh $zero, ($v1)
|
||||
.L800354B4:
|
||||
/* 0108B4 800354B4 84620000 */ lh $v0, ($v1)
|
||||
/* 0108B8 800354B8 44820000 */ mtc1 $v0, $f0
|
||||
/* 0108BC 800354BC 00000000 */ nop
|
||||
/* 0108C0 800354C0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0108C4 800354C4 44050000 */ mfc1 $a1, $f0
|
||||
/* 0108C8 800354C8 0C04DF62 */ jal func_80137D88
|
||||
/* 0108CC 800354CC 0000202D */ daddu $a0, $zero, $zero
|
||||
.L800354D0:
|
||||
/* 0108D0 800354D0 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 0108D4 800354D4 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0108D8 800354D8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0108DC 800354DC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0108E0 800354E0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0108E4 800354E4 03E00008 */ jr $ra
|
||||
/* 0108E8 800354E8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 0108EC 800354EC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0108F0 800354F0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0108F4 800354F4 3C11800A */ lui $s1, 0x800a
|
||||
/* 0108F8 800354F8 26310931 */ addiu $s1, $s1, 0x931
|
||||
/* 0108FC 800354FC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 010900 80035500 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 010904 80035504 82300000 */ lb $s0, ($s1)
|
||||
/* 010908 80035508 24030001 */ addiu $v1, $zero, 1
|
||||
/* 01090C 8003550C 1203000B */ beq $s0, $v1, .L8003553C
|
||||
/* 010910 80035510 2A020002 */ slti $v0, $s0, 2
|
||||
/* 010914 80035514 50400005 */ beql $v0, $zero, .L8003552C
|
||||
/* 010918 80035518 24020002 */ addiu $v0, $zero, 2
|
||||
/* 01091C 8003551C 52000024 */ beql $s0, $zero, .L800355B0
|
||||
/* 010920 80035520 A2230000 */ sb $v1, ($s1)
|
||||
/* 010924 80035524 0800D56C */ j .L800355B0
|
||||
/* 010928 80035528 00000000 */ nop
|
||||
|
||||
.L8003552C:
|
||||
/* 01092C 8003552C 1202000A */ beq $s0, $v0, .L80035558
|
||||
/* 010930 80035530 00000000 */ nop
|
||||
/* 010934 80035534 0800D56C */ j .L800355B0
|
||||
/* 010938 80035538 00000000 */ nop
|
||||
|
||||
.L8003553C:
|
||||
/* 01093C 8003553C 0C051FB1 */ jal func_80147EC4
|
||||
/* 010940 80035540 24040003 */ addiu $a0, $zero, 3
|
||||
/* 010944 80035544 24020002 */ addiu $v0, $zero, 2
|
||||
/* 010948 80035548 3C01800A */ lui $at, 0x800a
|
||||
/* 01094C 8003554C A0300930 */ sb $s0, 0x930($at)
|
||||
/* 010950 80035550 0800D56C */ j .L800355B0
|
||||
/* 010954 80035554 A2220000 */ sb $v0, ($s1)
|
||||
|
||||
.L80035558:
|
||||
/* 010958 80035558 3C10800A */ lui $s0, 0x800a
|
||||
/* 01095C 8003555C 26100930 */ addiu $s0, $s0, 0x930
|
||||
/* 010960 80035560 82020000 */ lb $v0, ($s0)
|
||||
/* 010964 80035564 92030000 */ lbu $v1, ($s0)
|
||||
/* 010968 80035568 0440000F */ bltz $v0, .L800355A8
|
||||
/* 01096C 8003556C 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 010970 80035570 A2020000 */ sb $v0, ($s0)
|
||||
/* 010974 80035574 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 010978 80035578 14400008 */ bnez $v0, .L8003559C
|
||||
/* 01097C 8003557C 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 010980 80035580 0C00AB28 */ jal battle_heap_create
|
||||
/* 010984 80035584 A2020000 */ sb $v0, ($s0)
|
||||
/* 010988 80035588 3C048007 */ lui $a0, 0x8007
|
||||
/* 01098C 8003558C 0C018038 */ jal nuPiReadRomOverlay
|
||||
/* 010990 80035590 2484798C */ addiu $a0, $a0, 0x798c
|
||||
/* 010994 80035594 0C091238 */ jal func_802448E0
|
||||
/* 010998 80035598 0000202D */ daddu $a0, $zero, $zero
|
||||
.L8003559C:
|
||||
/* 01099C 8003559C 82020000 */ lb $v0, ($s0)
|
||||
/* 0109A0 800355A0 04410003 */ bgez $v0, .L800355B0
|
||||
/* 0109A4 800355A4 00000000 */ nop
|
||||
.L800355A8:
|
||||
/* 0109A8 800355A8 0C090C68 */ jal func_802431A0
|
||||
/* 0109AC 800355AC 00000000 */ nop
|
||||
.L800355B0:
|
||||
/* 0109B0 800355B0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0109B4 800355B4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0109B8 800355B8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0109BC 800355BC 03E00008 */ jr $ra
|
||||
/* 0109C0 800355C0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 0109C4 800355C4 03E00008 */ jr $ra
|
||||
/* 0109C8 800355C8 00000000 */ nop
|
||||
|
||||
/* 0109CC 800355CC 03E00008 */ jr $ra
|
||||
/* 0109D0 800355D0 00000000 */ nop
|
||||
|
||||
/* 0109D4 800355D4 3C05800A */ lui $a1, 0x800a
|
||||
/* 0109D8 800355D8 84A50932 */ lh $a1, 0x932($a1)
|
||||
/* 0109DC 800355DC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0109E0 800355E0 18A00009 */ blez $a1, .L80035608
|
||||
/* 0109E4 800355E4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0109E8 800355E8 44850000 */ mtc1 $a1, $f0
|
||||
/* 0109EC 800355EC 00000000 */ nop
|
||||
/* 0109F0 800355F0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0109F4 800355F4 44050000 */ mfc1 $a1, $f0
|
||||
/* 0109F8 800355F8 3C01800A */ lui $at, 0x800a
|
||||
/* 0109FC 800355FC A0200931 */ sb $zero, 0x931($at)
|
||||
/* 010A00 80035600 0800D58A */ j .L80035628
|
||||
/* 010A04 80035604 0000202D */ daddu $a0, $zero, $zero
|
||||
|
||||
.L80035608:
|
||||
/* 010A08 80035608 24020001 */ addiu $v0, $zero, 1
|
||||
/* 010A0C 8003560C 44850000 */ mtc1 $a1, $f0
|
||||
/* 010A10 80035610 00000000 */ nop
|
||||
/* 010A14 80035614 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 010A18 80035618 44050000 */ mfc1 $a1, $f0
|
||||
/* 010A1C 8003561C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010A20 80035620 3C01800A */ lui $at, 0x800a
|
||||
/* 010A24 80035624 A0220931 */ sb $v0, 0x931($at)
|
||||
.L80035628:
|
||||
/* 010A28 80035628 0C04DF62 */ jal func_80137D88
|
||||
/* 010A2C 8003562C 00000000 */ nop
|
||||
/* 010A30 80035630 24020001 */ addiu $v0, $zero, 1
|
||||
/* 010A34 80035634 3C04800A */ lui $a0, 0x800a
|
||||
/* 010A38 80035638 2484A650 */ addiu $a0, $a0, -0x59b0
|
||||
/* 010A3C 8003563C 3C01800A */ lui $at, 0x800a
|
||||
/* 010A40 80035640 A0220930 */ sb $v0, 0x930($at)
|
||||
/* 010A44 80035644 8C820000 */ lw $v0, ($a0)
|
||||
/* 010A48 80035648 2403FFBF */ addiu $v1, $zero, -0x41
|
||||
/* 010A4C 8003564C 00431024 */ and $v0, $v0, $v1
|
||||
/* 010A50 80035650 AC820000 */ sw $v0, ($a0)
|
||||
/* 010A54 80035654 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 010A58 80035658 03E00008 */ jr $ra
|
||||
/* 010A5C 8003565C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 010A60 80035660 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 010A64 80035664 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 010A68 80035668 3C01800A */ lui $at, 0x800a
|
||||
/* 010A6C 8003566C A0200931 */ sb $zero, 0x931($at)
|
||||
/* 010A70 80035670 3C01800A */ lui $at, 0x800a
|
||||
/* 010A74 80035674 A4200932 */ sh $zero, 0x932($at)
|
||||
/* 010A78 80035678 3C01800A */ lui $at, 0x800a
|
||||
/* 010A7C 8003567C A0200930 */ sb $zero, 0x930($at)
|
||||
/* 010A80 80035680 0C0912F1 */ jal func_80244BC4
|
||||
/* 010A84 80035684 00000000 */ nop
|
||||
/* 010A88 80035688 14400005 */ bnez $v0, .L800356A0
|
||||
/* 010A8C 8003568C 00000000 */ nop
|
||||
/* 010A90 80035690 0C04E0A8 */ jal set_map_transition_effect
|
||||
/* 010A94 80035694 24040007 */ addiu $a0, $zero, 7
|
||||
/* 010A98 80035698 0800D5B8 */ j .L800356E0
|
||||
/* 010A9C 8003569C 00000000 */ nop
|
||||
|
||||
.L800356A0:
|
||||
/* 010AA0 800356A0 0C04E0A8 */ jal set_map_transition_effect
|
||||
/* 010AA4 800356A4 24040008 */ addiu $a0, $zero, 8
|
||||
/* 010AA8 800356A8 3C06FFFE */ lui $a2, 0xfffe
|
||||
/* 010AAC 800356AC 34C6FFFF */ ori $a2, $a2, 0xffff
|
||||
/* 010AB0 800356B0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010AB4 800356B4 3C05800A */ lui $a1, 0x800a
|
||||
/* 010AB8 800356B8 24A5A650 */ addiu $a1, $a1, -0x59b0
|
||||
/* 010ABC 800356BC 24030008 */ addiu $v1, $zero, 8
|
||||
/* 010AC0 800356C0 8CA20000 */ lw $v0, ($a1)
|
||||
/* 010AC4 800356C4 240703E8 */ addiu $a3, $zero, 0x3e8
|
||||
/* 010AC8 800356C8 AFA30010 */ sw $v1, 0x10($sp)
|
||||
/* 010ACC 800356CC 00461024 */ and $v0, $v0, $a2
|
||||
/* 010AD0 800356D0 ACA20000 */ sw $v0, ($a1)
|
||||
/* 010AD4 800356D4 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* 010AD8 800356D8 0C052A46 */ jal set_music_track
|
||||
/* 010ADC 800356DC 0080302D */ daddu $a2, $a0, $zero
|
||||
.L800356E0:
|
||||
/* 010AE0 800356E0 3C02800A */ lui $v0, 0x800a
|
||||
/* 010AE4 800356E4 2442A650 */ addiu $v0, $v0, -0x59b0
|
||||
/* 010AE8 800356E8 8C430000 */ lw $v1, ($v0)
|
||||
/* 010AEC 800356EC 2404FFBF */ addiu $a0, $zero, -0x41
|
||||
/* 010AF0 800356F0 00641824 */ and $v1, $v1, $a0
|
||||
/* 010AF4 800356F4 AC430000 */ sw $v1, ($v0)
|
||||
/* 010AF8 800356F8 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 010AFC 800356FC 03E00008 */ jr $ra
|
||||
/* 010B00 80035700 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 010B04 80035704 3C03800A */ lui $v1, 0x800a
|
||||
/* 010B08 80035708 80630931 */ lb $v1, 0x931($v1)
|
||||
/* 010B0C 8003570C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 010B10 80035710 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 010B14 80035714 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 010B18 80035718 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 010B1C 8003571C 2C620005 */ sltiu $v0, $v1, 5
|
||||
/* 010B20 80035720 10400101 */ beqz $v0, .L80035B28
|
||||
/* 010B24 80035724 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 010B28 80035728 00031080 */ sll $v0, $v1, 2
|
||||
/* 010B2C 8003572C 3C01800A */ lui $at, 0x800a
|
||||
/* 010B30 80035730 00220821 */ addu $at, $at, $v0
|
||||
/* 010B34 80035734 8C2282E8 */ lw $v0, -0x7d18($at)
|
||||
/* 010B38 80035738 00400008 */ jr $v0
|
||||
/* 010B3C 8003573C 00000000 */ nop
|
||||
/* 010B40 80035740 3C10800A */ lui $s0, 0x800a
|
||||
/* 010B44 80035744 26100932 */ addiu $s0, $s0, 0x932
|
||||
/* 010B48 80035748 86020000 */ lh $v0, ($s0)
|
||||
/* 010B4C 8003574C 96030000 */ lhu $v1, ($s0)
|
||||
/* 010B50 80035750 1040000F */ beqz $v0, .L80035790
|
||||
/* 010B54 80035754 2462FFEC */ addiu $v0, $v1, -0x14
|
||||
/* 010B58 80035758 A6020000 */ sh $v0, ($s0)
|
||||
/* 010B5C 8003575C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 010B60 80035760 04420001 */ bltzl $v0, .L80035768
|
||||
/* 010B64 80035764 A6000000 */ sh $zero, ($s0)
|
||||
.L80035768:
|
||||
/* 010B68 80035768 86020000 */ lh $v0, ($s0)
|
||||
/* 010B6C 8003576C 44820000 */ mtc1 $v0, $f0
|
||||
/* 010B70 80035770 00000000 */ nop
|
||||
/* 010B74 80035774 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 010B78 80035778 44050000 */ mfc1 $a1, $f0
|
||||
/* 010B7C 8003577C 0C04DF62 */ jal func_80137D88
|
||||
/* 010B80 80035780 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010B84 80035784 86020000 */ lh $v0, ($s0)
|
||||
/* 010B88 80035788 144000E7 */ bnez $v0, .L80035B28
|
||||
/* 010B8C 8003578C 00000000 */ nop
|
||||
.L80035790:
|
||||
/* 010B90 80035790 24020001 */ addiu $v0, $zero, 1
|
||||
/* 010B94 80035794 3C01800A */ lui $at, 0x800a
|
||||
/* 010B98 80035798 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 010B9C 8003579C 0800D6CA */ j .L80035B28
|
||||
/* 010BA0 800357A0 00000000 */ nop
|
||||
|
||||
/* 010BA4 800357A4 3C10800A */ lui $s0, 0x800a
|
||||
/* 010BA8 800357A8 26100932 */ addiu $s0, $s0, 0x932
|
||||
/* 010BAC 800357AC 241100FF */ addiu $s1, $zero, 0xff
|
||||
/* 010BB0 800357B0 86020000 */ lh $v0, ($s0)
|
||||
/* 010BB4 800357B4 96030000 */ lhu $v1, ($s0)
|
||||
/* 010BB8 800357B8 10510011 */ beq $v0, $s1, .L80035800
|
||||
/* 010BBC 800357BC 24620014 */ addiu $v0, $v1, 0x14
|
||||
/* 010BC0 800357C0 A6020000 */ sh $v0, ($s0)
|
||||
/* 010BC4 800357C4 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 010BC8 800357C8 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 010BCC 800357CC 28420100 */ slti $v0, $v0, 0x100
|
||||
/* 010BD0 800357D0 50400001 */ beql $v0, $zero, .L800357D8
|
||||
/* 010BD4 800357D4 A6110000 */ sh $s1, ($s0)
|
||||
.L800357D8:
|
||||
/* 010BD8 800357D8 86020000 */ lh $v0, ($s0)
|
||||
/* 010BDC 800357DC 44820000 */ mtc1 $v0, $f0
|
||||
/* 010BE0 800357E0 00000000 */ nop
|
||||
/* 010BE4 800357E4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 010BE8 800357E8 44050000 */ mfc1 $a1, $f0
|
||||
/* 010BEC 800357EC 0C04DF62 */ jal func_80137D88
|
||||
/* 010BF0 800357F0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010BF4 800357F4 86020000 */ lh $v0, ($s0)
|
||||
/* 010BF8 800357F8 145100CB */ bne $v0, $s1, .L80035B28
|
||||
/* 010BFC 800357FC 00000000 */ nop
|
||||
.L80035800:
|
||||
/* 010C00 80035800 24020002 */ addiu $v0, $zero, 2
|
||||
/* 010C04 80035804 3C01800A */ lui $at, 0x800a
|
||||
/* 010C08 80035808 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 010C0C 8003580C 0800D6CA */ j .L80035B28
|
||||
/* 010C10 80035810 00000000 */ nop
|
||||
|
||||
/* 010C14 80035814 3C06800A */ lui $a2, 0x800a
|
||||
/* 010C18 80035818 24C60930 */ addiu $a2, $a2, 0x930
|
||||
/* 010C1C 8003581C 80C30000 */ lb $v1, ($a2)
|
||||
/* 010C20 80035820 24020003 */ addiu $v0, $zero, 3
|
||||
/* 010C24 80035824 14620006 */ bne $v1, $v0, .L80035840
|
||||
/* 010C28 80035828 00000000 */ nop
|
||||
/* 010C2C 8003582C 3C03800A */ lui $v1, 0x800a
|
||||
/* 010C30 80035830 2463A650 */ addiu $v1, $v1, -0x59b0
|
||||
/* 010C34 80035834 8C620000 */ lw $v0, ($v1)
|
||||
/* 010C38 80035838 34420008 */ ori $v0, $v0, 8
|
||||
/* 010C3C 8003583C AC620000 */ sw $v0, ($v1)
|
||||
.L80035840:
|
||||
/* 010C40 80035840 80C20000 */ lb $v0, ($a2)
|
||||
/* 010C44 80035844 90C30000 */ lbu $v1, ($a2)
|
||||
/* 010C48 80035848 044000B7 */ bltz $v0, .L80035B28
|
||||
/* 010C4C 8003584C 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 010C50 80035850 A0C20000 */ sb $v0, ($a2)
|
||||
/* 010C54 80035854 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 010C58 80035858 14400067 */ bnez $v0, .L800359F8
|
||||
/* 010C5C 8003585C 24050003 */ addiu $a1, $zero, 3
|
||||
/* 010C60 80035860 3C048007 */ lui $a0, 0x8007
|
||||
/* 010C64 80035864 24847980 */ addiu $a0, $a0, 0x7980
|
||||
/* 010C68 80035868 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 010C6C 8003586C 0C017CBC */ jal nuGfxSetCfb
|
||||
/* 010C70 80035870 A0C20000 */ sb $v0, ($a2)
|
||||
/* 010C74 80035874 0C0912C0 */ jal func_80244B00
|
||||
/* 010C78 80035878 00000000 */ nop
|
||||
/* 010C7C 8003587C 3C04800A */ lui $a0, 0x800a
|
||||
/* 010C80 80035880 2484A650 */ addiu $a0, $a0, -0x59b0
|
||||
/* 010C84 80035884 8C820000 */ lw $v0, ($a0)
|
||||
/* 010C88 80035888 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* 010C8C 8003588C 00431024 */ and $v0, $v0, $v1
|
||||
/* 010C90 80035890 0C016AFA */ jal get_current_map_header
|
||||
/* 010C94 80035894 AC820000 */ sw $v0, ($a0)
|
||||
/* 010C98 80035898 3C108007 */ lui $s0, 0x8007
|
||||
/* 010C9C 8003589C 2610419C */ addiu $s0, $s0, 0x419c
|
||||
/* 010CA0 800358A0 8E040000 */ lw $a0, ($s0)
|
||||
/* 010CA4 800358A4 84830086 */ lh $v1, 0x86($a0)
|
||||
/* 010CA8 800358A8 00031900 */ sll $v1, $v1, 4
|
||||
/* 010CAC 800358AC 3C058009 */ lui $a1, 0x8009
|
||||
/* 010CB0 800358B0 00A32821 */ addu $a1, $a1, $v1
|
||||
/* 010CB4 800358B4 8CA534F4 */ lw $a1, 0x34f4($a1)
|
||||
/* 010CB8 800358B8 8483008C */ lh $v1, 0x8c($a0)
|
||||
/* 010CBC 800358BC 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 010CC0 800358C0 A0800070 */ sb $zero, 0x70($a0)
|
||||
/* 010CC4 800358C4 00031940 */ sll $v1, $v1, 5
|
||||
/* 010CC8 800358C8 0C016BE1 */ jal func_8005AF84
|
||||
/* 010CCC 800358CC 00A38821 */ addu $s1, $a1, $v1
|
||||
/* 010CD0 800358D0 0C00AB37 */ jal func_8002ACDC
|
||||
/* 010CD4 800358D4 00000000 */ nop
|
||||
/* 010CD8 800358D8 0C05259C */ jal func_80149670
|
||||
/* 010CDC 800358DC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 010CE0 800358E0 8E020000 */ lw $v0, ($s0)
|
||||
/* 010CE4 800358E4 0C0B763E */ jal func_802DD8F8
|
||||
/* 010CE8 800358E8 80440084 */ lb $a0, 0x84($v0)
|
||||
/* 010CEC 800358EC 0C0457FA */ jal init_model_data
|
||||
/* 010CF0 800358F0 00000000 */ nop
|
||||
/* 010CF4 800358F4 0C05203C */ jal func_801480F0
|
||||
/* 010CF8 800358F8 00000000 */ nop
|
||||
/* 010CFC 800358FC 0C048316 */ jal func_80120C58
|
||||
/* 010D00 80035900 00000000 */ nop
|
||||
/* 010D04 80035904 0C0478C4 */ jal func_8011E310
|
||||
/* 010D08 80035908 00000000 */ nop
|
||||
/* 010D0C 8003590C 0C048C45 */ jal func_80123114
|
||||
/* 010D10 80035910 00000000 */ nop
|
||||
/* 010D14 80035914 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010D18 80035918 0C0514BA */ jal func_801452E8
|
||||
/* 010D1C 8003591C 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 010D20 80035920 0C0504C0 */ jal init_menu_icon_list
|
||||
/* 010D24 80035924 00000000 */ nop
|
||||
/* 010D28 80035928 0C04C433 */ jal init_item_entity_list
|
||||
/* 010D2C 8003592C 00000000 */ nop
|
||||
/* 010D30 80035930 0C0B0CBB */ jal init_script_list
|
||||
/* 010D34 80035934 00000000 */ nop
|
||||
/* 010D38 80035938 0C00E14B */ jal init_npc_list
|
||||
/* 010D3C 8003593C 00000000 */ nop
|
||||
/* 010D40 80035940 0C044396 */ jal func_80110E58
|
||||
/* 010D44 80035944 00000000 */ nop
|
||||
/* 010D48 80035948 0C0515CA */ jal init_trigger_list
|
||||
/* 010D4C 8003594C 00000000 */ nop
|
||||
/* 010D50 80035950 3C04800E */ lui $a0, 0x800e
|
||||
/* 010D54 80035954 24849230 */ addiu $a0, $a0, -0x6dd0
|
||||
/* 010D58 80035958 0C016B3A */ jal load_asset_by_name
|
||||
/* 010D5C 8003595C 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 010D60 80035960 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 010D64 80035964 3C058021 */ lui $a1, 0x8021
|
||||
/* 010D68 80035968 24A50000 */ addiu $a1, $a1, 0
|
||||
/* 010D6C 8003596C 0C01BB7C */ jal decode_yay0
|
||||
/* 010D70 80035970 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 010D74 80035974 0C00AB1E */ jal general_heap_free
|
||||
/* 010D78 80035978 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 010D7C 8003597C 0C016BE5 */ jal initialize_collision
|
||||
/* 010D80 80035980 00000000 */ nop
|
||||
/* 010D84 80035984 0C016C16 */ jal load_collision
|
||||
/* 010D88 80035988 00000000 */ nop
|
||||
/* 010D8C 8003598C 8E240008 */ lw $a0, 8($s1)
|
||||
/* 010D90 80035990 10800004 */ beqz $a0, .L800359A4
|
||||
/* 010D94 80035994 00000000 */ nop
|
||||
/* 010D98 80035998 8E25000C */ lw $a1, 0xc($s1)
|
||||
/* 010D9C 8003599C 0C00A5CF */ jal dma_copy
|
||||
/* 010DA0 800359A0 8E260010 */ lw $a2, 0x10($s1)
|
||||
.L800359A4:
|
||||
/* 010DA4 800359A4 0C05175C */ jal load_map_bg
|
||||
/* 010DA8 800359A8 8E240014 */ lw $a0, 0x14($s1)
|
||||
/* 010DAC 800359AC 8E440038 */ lw $a0, 0x38($s2)
|
||||
/* 010DB0 800359B0 50800005 */ beql $a0, $zero, .L800359C8
|
||||
/* 010DB4 800359B4 24040128 */ addiu $a0, $zero, 0x128
|
||||
/* 010DB8 800359B8 0C05178A */ jal read_background_size
|
||||
/* 010DBC 800359BC 00000000 */ nop
|
||||
/* 010DC0 800359C0 0800D676 */ j .L800359D8
|
||||
/* 010DC4 800359C4 00000000 */ nop
|
||||
|
||||
.L800359C8:
|
||||
/* 010DC8 800359C8 240500C8 */ addiu $a1, $zero, 0xc8
|
||||
/* 010DCC 800359CC 2406000C */ addiu $a2, $zero, 0xc
|
||||
/* 010DD0 800359D0 0C05179C */ jal set_background_size
|
||||
/* 010DD4 800359D4 24070014 */ addiu $a3, $zero, 0x14
|
||||
.L800359D8:
|
||||
/* 010DD8 800359D8 0C04584B */ jal calculate_model_sizes
|
||||
/* 010DDC 800359DC 00000000 */ nop
|
||||
/* 010DE0 800359E0 0C00EC6C */ jal func_8003B1B0
|
||||
/* 010DE4 800359E4 00000000 */ nop
|
||||
/* 010DE8 800359E8 0C03A631 */ jal func_800E98C4
|
||||
/* 010DEC 800359EC 00000000 */ nop
|
||||
/* 010DF0 800359F0 0C009C22 */ jal func_80027088
|
||||
/* 010DF4 800359F4 24040001 */ addiu $a0, $zero, 1
|
||||
.L800359F8:
|
||||
/* 010DF8 800359F8 0C051FB1 */ jal func_80147EC4
|
||||
/* 010DFC 800359FC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010E00 80035A00 24020003 */ addiu $v0, $zero, 3
|
||||
/* 010E04 80035A04 3C01800A */ lui $at, 0x800a
|
||||
/* 010E08 80035A08 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 010E0C 80035A0C 0C037DD0 */ jal func_800DF740
|
||||
/* 010E10 80035A10 00000000 */ nop
|
||||
/* 010E14 80035A14 0C00E64C */ jal func_80039930
|
||||
/* 010E18 80035A18 00000000 */ nop
|
||||
/* 010E1C 80035A1C 0C00F949 */ jal func_8003E524
|
||||
/* 010E20 80035A20 00000000 */ nop
|
||||
/* 010E24 80035A24 0C016754 */ jal func_80059D50
|
||||
/* 010E28 80035A28 00000000 */ nop
|
||||
/* 010E2C 80035A2C 3C03800A */ lui $v1, 0x800a
|
||||
/* 010E30 80035A30 24630932 */ addiu $v1, $v1, 0x932
|
||||
/* 010E34 80035A34 94620000 */ lhu $v0, ($v1)
|
||||
/* 010E38 80035A38 2442FFEC */ addiu $v0, $v0, -0x14
|
||||
/* 010E3C 80035A3C A4620000 */ sh $v0, ($v1)
|
||||
/* 010E40 80035A40 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 010E44 80035A44 04420001 */ bltzl $v0, .L80035A4C
|
||||
/* 010E48 80035A48 A4600000 */ sh $zero, ($v1)
|
||||
.L80035A4C:
|
||||
/* 010E4C 80035A4C 84620000 */ lh $v0, ($v1)
|
||||
/* 010E50 80035A50 44820000 */ mtc1 $v0, $f0
|
||||
/* 010E54 80035A54 00000000 */ nop
|
||||
/* 010E58 80035A58 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 010E5C 80035A5C 44050000 */ mfc1 $a1, $f0
|
||||
/* 010E60 80035A60 0800D6C8 */ j .L80035B20
|
||||
/* 010E64 80035A64 0000202D */ daddu $a0, $zero, $zero
|
||||
|
||||
/* 010E68 80035A68 0C037DD0 */ jal func_800DF740
|
||||
/* 010E6C 80035A6C 00000000 */ nop
|
||||
/* 010E70 80035A70 0C00E64C */ jal func_80039930
|
||||
/* 010E74 80035A74 00000000 */ nop
|
||||
/* 010E78 80035A78 0C00F949 */ jal func_8003E524
|
||||
/* 010E7C 80035A7C 00000000 */ nop
|
||||
/* 010E80 80035A80 0C016754 */ jal func_80059D50
|
||||
/* 010E84 80035A84 00000000 */ nop
|
||||
/* 010E88 80035A88 3C04800A */ lui $a0, 0x800a
|
||||
/* 010E8C 80035A8C 24840932 */ addiu $a0, $a0, 0x932
|
||||
/* 010E90 80035A90 84820000 */ lh $v0, ($a0)
|
||||
/* 010E94 80035A94 94830000 */ lhu $v1, ($a0)
|
||||
/* 010E98 80035A98 14400006 */ bnez $v0, .L80035AB4
|
||||
/* 010E9C 80035A9C 2462FFEC */ addiu $v0, $v1, -0x14
|
||||
/* 010EA0 80035AA0 24020004 */ addiu $v0, $zero, 4
|
||||
/* 010EA4 80035AA4 3C01800A */ lui $at, 0x800a
|
||||
/* 010EA8 80035AA8 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 010EAC 80035AAC 0800D6CA */ j .L80035B28
|
||||
/* 010EB0 80035AB0 00000000 */ nop
|
||||
|
||||
.L80035AB4:
|
||||
/* 010EB4 80035AB4 A4820000 */ sh $v0, ($a0)
|
||||
/* 010EB8 80035AB8 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 010EBC 80035ABC 04420001 */ bltzl $v0, .L80035AC4
|
||||
/* 010EC0 80035AC0 A4800000 */ sh $zero, ($a0)
|
||||
.L80035AC4:
|
||||
/* 010EC4 80035AC4 84820000 */ lh $v0, ($a0)
|
||||
/* 010EC8 80035AC8 44820000 */ mtc1 $v0, $f0
|
||||
/* 010ECC 80035ACC 00000000 */ nop
|
||||
/* 010ED0 80035AD0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 010ED4 80035AD4 44050000 */ mfc1 $a1, $f0
|
||||
/* 010ED8 80035AD8 0800D6C8 */ j .L80035B20
|
||||
/* 010EDC 80035ADC 0000202D */ daddu $a0, $zero, $zero
|
||||
|
||||
/* 010EE0 80035AE0 0C009C22 */ jal func_80027088
|
||||
/* 010EE4 80035AE4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010EE8 80035AE8 0C037DD0 */ jal func_800DF740
|
||||
/* 010EEC 80035AEC 00000000 */ nop
|
||||
/* 010EF0 80035AF0 0C00E64C */ jal func_80039930
|
||||
/* 010EF4 80035AF4 00000000 */ nop
|
||||
/* 010EF8 80035AF8 0C00F949 */ jal func_8003E524
|
||||
/* 010EFC 80035AFC 00000000 */ nop
|
||||
/* 010F00 80035B00 0C016754 */ jal func_80059D50
|
||||
/* 010F04 80035B04 00000000 */ nop
|
||||
/* 010F08 80035B08 0C038069 */ jal func_800E01A4
|
||||
/* 010F0C 80035B0C 00000000 */ nop
|
||||
/* 010F10 80035B10 0C00CD3C */ jal set_game_mode
|
||||
/* 010F14 80035B14 24040004 */ addiu $a0, $zero, 4
|
||||
/* 010F18 80035B18 3C05BF80 */ lui $a1, 0xbf80
|
||||
/* 010F1C 80035B1C 240400FF */ addiu $a0, $zero, 0xff
|
||||
.L80035B20:
|
||||
/* 010F20 80035B20 0C04DF62 */ jal func_80137D88
|
||||
/* 010F24 80035B24 00000000 */ nop
|
||||
.L80035B28:
|
||||
/* 010F28 80035B28 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 010F2C 80035B2C 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 010F30 80035B30 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 010F34 80035B34 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 010F38 80035B38 03E00008 */ jr $ra
|
||||
/* 010F3C 80035B3C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 010F40 80035B40 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 010F44 80035B44 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 010F48 80035B48 0C0912F1 */ jal func_80244BC4
|
||||
/* 010F4C 80035B4C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 010F50 80035B50 3C03800A */ lui $v1, 0x800a
|
||||
/* 010F54 80035B54 80630931 */ lb $v1, 0x931($v1)
|
||||
/* 010F58 80035B58 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 010F5C 80035B5C 2C620007 */ sltiu $v0, $v1, 7
|
||||
/* 010F60 80035B60 10400069 */ beqz $v0, .L80035D08
|
||||
/* 010F64 80035B64 00031080 */ sll $v0, $v1, 2
|
||||
/* 010F68 80035B68 3C01800A */ lui $at, 0x800a
|
||||
/* 010F6C 80035B6C 00220821 */ addu $at, $at, $v0
|
||||
/* 010F70 80035B70 8C228300 */ lw $v0, -0x7d00($at)
|
||||
/* 010F74 80035B74 00400008 */ jr $v0
|
||||
/* 010F78 80035B78 00000000 */ nop
|
||||
/* 010F7C 80035B7C 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 010F80 80035B80 2404002C */ addiu $a0, $zero, 0x2c
|
||||
/* 010F84 80035B84 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 010F88 80035B88 2406FFFF */ addiu $a2, $zero, -1
|
||||
/* 010F8C 80035B8C 3C038016 */ lui $v1, 0x8016
|
||||
/* 010F90 80035B90 2463A2D0 */ addiu $v1, $v1, -0x5d30
|
||||
.L80035B94:
|
||||
/* 010F94 80035B94 80620003 */ lb $v0, 3($v1)
|
||||
/* 010F98 80035B98 10470003 */ beq $v0, $a3, .L80035BA8
|
||||
/* 010F9C 80035B9C 00000000 */ nop
|
||||
/* 010FA0 80035BA0 54460005 */ bnel $v0, $a2, .L80035BB8
|
||||
/* 010FA4 80035BA4 24840001 */ addiu $a0, $a0, 1
|
||||
.L80035BA8:
|
||||
/* 010FA8 80035BA8 90620000 */ lbu $v0, ($v1)
|
||||
/* 010FAC 80035BAC 30420008 */ andi $v0, $v0, 8
|
||||
/* 010FB0 80035BB0 00A22821 */ addu $a1, $a1, $v0
|
||||
/* 010FB4 80035BB4 24840001 */ addiu $a0, $a0, 1
|
||||
.L80035BB8:
|
||||
/* 010FB8 80035BB8 28820040 */ slti $v0, $a0, 0x40
|
||||
/* 010FBC 80035BBC 1440FFF5 */ bnez $v0, .L80035B94
|
||||
/* 010FC0 80035BC0 24630020 */ addiu $v1, $v1, 0x20
|
||||
/* 010FC4 80035BC4 14A00050 */ bnez $a1, .L80035D08
|
||||
/* 010FC8 80035BC8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 010FCC 80035BCC 3C01800A */ lui $at, 0x800a
|
||||
/* 010FD0 80035BD0 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 010FD4 80035BD4 0800D742 */ j .L80035D08
|
||||
/* 010FD8 80035BD8 00000000 */ nop
|
||||
|
||||
/* 010FDC 80035BDC 12000008 */ beqz $s0, .L80035C00
|
||||
/* 010FE0 80035BE0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 010FE4 80035BE4 3C04800A */ lui $a0, 0x800a
|
||||
/* 010FE8 80035BE8 24840932 */ addiu $a0, $a0, 0x932
|
||||
/* 010FEC 80035BEC 0C04E0AB */ jal func_801382AC
|
||||
/* 010FF0 80035BF0 00000000 */ nop
|
||||
/* 010FF4 80035BF4 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 010FF8 80035BF8 10400043 */ beqz $v0, .L80035D08
|
||||
/* 010FFC 80035BFC 24020002 */ addiu $v0, $zero, 2
|
||||
.L80035C00:
|
||||
/* 011000 80035C00 3C01800A */ lui $at, 0x800a
|
||||
/* 011004 80035C04 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 011008 80035C08 0800D742 */ j .L80035D08
|
||||
/* 01100C 80035C0C 00000000 */ nop
|
||||
|
||||
/* 011010 80035C10 0C0912C0 */ jal func_80244B00
|
||||
/* 011014 80035C14 00000000 */ nop
|
||||
/* 011018 80035C18 0C051FB1 */ jal func_80147EC4
|
||||
/* 01101C 80035C1C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 011020 80035C20 24020003 */ addiu $v0, $zero, 3
|
||||
/* 011024 80035C24 3C01800A */ lui $at, 0x800a
|
||||
/* 011028 80035C28 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 01102C 80035C2C 0C009C22 */ jal func_80027088
|
||||
/* 011030 80035C30 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 011034 80035C34 1600000B */ bnez $s0, .L80035C64
|
||||
/* 011038 80035C38 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 01103C 80035C3C 0C00CD3C */ jal set_game_mode
|
||||
/* 011040 80035C40 24040002 */ addiu $a0, $zero, 2
|
||||
/* 011044 80035C44 3C04FFFE */ lui $a0, 0xfffe
|
||||
/* 011048 80035C48 3C03800A */ lui $v1, 0x800a
|
||||
/* 01104C 80035C4C 2463A650 */ addiu $v1, $v1, -0x59b0
|
||||
/* 011050 80035C50 8C620000 */ lw $v0, ($v1)
|
||||
/* 011054 80035C54 3484FFFF */ ori $a0, $a0, 0xffff
|
||||
/* 011058 80035C58 00441024 */ and $v0, $v0, $a0
|
||||
/* 01105C 80035C5C 0800D742 */ j .L80035D08
|
||||
/* 011060 80035C60 AC620000 */ sw $v0, ($v1)
|
||||
|
||||
.L80035C64:
|
||||
/* 011064 80035C64 3C01800A */ lui $at, 0x800a
|
||||
/* 011068 80035C68 A0220930 */ sb $v0, 0x930($at)
|
||||
/* 01106C 80035C6C 24020004 */ addiu $v0, $zero, 4
|
||||
/* 011070 80035C70 3C01800A */ lui $at, 0x800a
|
||||
/* 011074 80035C74 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 011078 80035C78 0800D742 */ j .L80035D08
|
||||
/* 01107C 80035C7C 00000000 */ nop
|
||||
|
||||
/* 011080 80035C80 3C10800A */ lui $s0, 0x800a
|
||||
/* 011084 80035C84 26100930 */ addiu $s0, $s0, 0x930
|
||||
/* 011088 80035C88 82020000 */ lb $v0, ($s0)
|
||||
/* 01108C 80035C8C 92030000 */ lbu $v1, ($s0)
|
||||
/* 011090 80035C90 18400003 */ blez $v0, .L80035CA0
|
||||
/* 011094 80035C94 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 011098 80035C98 0800D742 */ j .L80035D08
|
||||
/* 01109C 80035C9C A2020000 */ sb $v0, ($s0)
|
||||
|
||||
.L80035CA0:
|
||||
/* 0110A0 80035CA0 3C014000 */ lui $at, 0x4000
|
||||
/* 0110A4 80035CA4 44816000 */ mtc1 $at, $f12
|
||||
/* 0110A8 80035CA8 0C00AFB7 */ jal func_8002BEDC
|
||||
/* 0110AC 80035CAC 00000000 */ nop
|
||||
/* 0110B0 80035CB0 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 0110B4 80035CB4 A2020000 */ sb $v0, ($s0)
|
||||
/* 0110B8 80035CB8 24020005 */ addiu $v0, $zero, 5
|
||||
/* 0110BC 80035CBC 3C01800A */ lui $at, 0x800a
|
||||
/* 0110C0 80035CC0 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 0110C4 80035CC4 0800D742 */ j .L80035D08
|
||||
/* 0110C8 80035CC8 00000000 */ nop
|
||||
|
||||
/* 0110CC 80035CCC 3C04800A */ lui $a0, 0x800a
|
||||
/* 0110D0 80035CD0 24840930 */ addiu $a0, $a0, 0x930
|
||||
/* 0110D4 80035CD4 80820000 */ lb $v0, ($a0)
|
||||
/* 0110D8 80035CD8 90830000 */ lbu $v1, ($a0)
|
||||
/* 0110DC 80035CDC 18400003 */ blez $v0, .L80035CEC
|
||||
/* 0110E0 80035CE0 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 0110E4 80035CE4 0800D742 */ j .L80035D08
|
||||
/* 0110E8 80035CE8 A0820000 */ sb $v0, ($a0)
|
||||
|
||||
.L80035CEC:
|
||||
/* 0110EC 80035CEC 24020006 */ addiu $v0, $zero, 6
|
||||
/* 0110F0 80035CF0 3C01800A */ lui $at, 0x800a
|
||||
/* 0110F4 80035CF4 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 0110F8 80035CF8 0800D742 */ j .L80035D08
|
||||
/* 0110FC 80035CFC 00000000 */ nop
|
||||
|
||||
/* 011100 80035D00 0C00CD3C */ jal set_game_mode
|
||||
/* 011104 80035D04 24040007 */ addiu $a0, $zero, 7
|
||||
.L80035D08:
|
||||
/* 011108 80035D08 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 01110C 80035D0C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 011110 80035D10 03E00008 */ jr $ra
|
||||
/* 011114 80035D14 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 011118 80035D18 03E00008 */ jr $ra
|
||||
/* 01111C 80035D1C 00000000 */ nop
|
||||
|
||||
/* 011120 80035D20 03E00008 */ jr $ra
|
||||
/* 011124 80035D24 00000000 */ nop
|
||||
|
||||
/* 011128 80035D28 00000000 */ nop
|
||||
/* 01112C 80035D2C 00000000 */ nop
|
||||
|
||||
.set reorder
|
@ -1,987 +0,0 @@
|
||||
# %s disassembly and split file
|
||||
# generated by n64split v%s - N64 ROM splitter
|
||||
|
||||
# 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
|
||||
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802E30C0, "ax"
|
||||
|
||||
/* 104940 802E30C0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 104944 802E30C4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104948 802E30C8 3C10800A */ lui $s0, 0x800a
|
||||
/* 10494C 802E30CC 8E10A66C */ lw $s0, -0x5994($s0)
|
||||
/* 104950 802E30D0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 104954 802E30D4 0C04417A */ jal get_entity_by_index
|
||||
/* 104958 802E30D8 00000000 */ nop
|
||||
/* 10495C 802E30DC 3C04E300 */ lui $a0, 0xe300
|
||||
/* 104960 802E30E0 34841001 */ ori $a0, $a0, 0x1001
|
||||
/* 104964 802E30E4 3C05D700 */ lui $a1, 0xd700
|
||||
/* 104968 802E30E8 34A50002 */ ori $a1, $a1, 2
|
||||
/* 10496C 802E30EC 0200182D */ daddu $v1, $s0, $zero
|
||||
/* 104970 802E30F0 26100008 */ addiu $s0, $s0, 8
|
||||
/* 104974 802E30F4 AC640000 */ sw $a0, ($v1)
|
||||
/* 104978 802E30F8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 10497C 802E30FC AC600004 */ sw $zero, 4($v1)
|
||||
/* 104980 802E3100 2403FFFF */ addiu $v1, $zero, -1
|
||||
/* 104984 802E3104 AC850000 */ sw $a1, ($a0)
|
||||
/* 104988 802E3108 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 10498C 802E310C AC830004 */ sw $v1, 4($a0)
|
||||
/* 104990 802E3110 90A2000B */ lbu $v0, 0xb($a1)
|
||||
/* 104994 802E3114 2C4200FF */ sltiu $v0, $v0, 0xff
|
||||
/* 104998 802E3118 14400011 */ bnez $v0, .L802E3160
|
||||
/* 10499C 802E311C 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1049A0 802E3120 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1049A4 802E3124 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1049A8 802E3128 3C07E200 */ lui $a3, 0xe200
|
||||
/* 1049AC 802E312C 34E7001C */ ori $a3, $a3, 0x1c
|
||||
/* 1049B0 802E3130 3C060055 */ lui $a2, 0x55
|
||||
/* 1049B4 802E3134 34C62078 */ ori $a2, $a2, 0x2078
|
||||
/* 1049B8 802E3138 0200182D */ daddu $v1, $s0, $zero
|
||||
/* 1049BC 802E313C 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1049C0 802E3140 3C04FC12 */ lui $a0, 0xfc12
|
||||
/* 1049C4 802E3144 34841824 */ ori $a0, $a0, 0x1824
|
||||
/* 1049C8 802E3148 3C02FF33 */ lui $v0, 0xff33
|
||||
/* 1049CC 802E314C 3442FFFF */ ori $v0, $v0, 0xffff
|
||||
/* 1049D0 802E3150 ACA70000 */ sw $a3, ($a1)
|
||||
/* 1049D4 802E3154 ACA60004 */ sw $a2, 4($a1)
|
||||
/* 1049D8 802E3158 080B8C65 */ j .L802E3194
|
||||
/* 1049DC 802E315C AC640000 */ sw $a0, ($v1)
|
||||
|
||||
.L802E3160:
|
||||
/* 1049E0 802E3160 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1049E4 802E3164 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1049E8 802E3168 3C03FCFF */ lui $v1, 0xfcff
|
||||
/* 1049EC 802E316C 3463B3FF */ ori $v1, $v1, 0xb3ff
|
||||
/* 1049F0 802E3170 3C02FF2C */ lui $v0, 0xff2c
|
||||
/* 1049F4 802E3174 3442FE7F */ ori $v0, $v0, 0xfe7f
|
||||
/* 1049F8 802E3178 AC830000 */ sw $v1, ($a0)
|
||||
/* 1049FC 802E317C 0200182D */ daddu $v1, $s0, $zero
|
||||
/* 104A00 802E3180 AC820004 */ sw $v0, 4($a0)
|
||||
/* 104A04 802E3184 3C02FA00 */ lui $v0, 0xfa00
|
||||
/* 104A08 802E3188 AC620000 */ sw $v0, ($v1)
|
||||
/* 104A0C 802E318C 90A2000B */ lbu $v0, 0xb($a1)
|
||||
/* 104A10 802E3190 26100008 */ addiu $s0, $s0, 8
|
||||
.L802E3194:
|
||||
/* 104A14 802E3194 AC620004 */ sw $v0, 4($v1)
|
||||
/* 104A18 802E3198 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 104A1C 802E319C 3C01800A */ lui $at, 0x800a
|
||||
/* 104A20 802E31A0 AC30A66C */ sw $s0, -0x5994($at)
|
||||
/* 104A24 802E31A4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 104A28 802E31A8 03E00008 */ jr $ra
|
||||
/* 104A2C 802E31AC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 104A30 802E31B0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 104A34 802E31B4 3C013F80 */ lui $at, 0x3f80
|
||||
/* 104A38 802E31B8 44810000 */ mtc1 $at, $f0
|
||||
/* 104A3C 802E31BC 2402003C */ addiu $v0, $zero, 0x3c
|
||||
/* 104A40 802E31C0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 104A44 802E31C4 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 104A48 802E31C8 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 104A4C 802E31CC 8C850048 */ lw $a1, 0x48($a0)
|
||||
/* 104A50 802E31D0 8C86004C */ lw $a2, 0x4c($a0)
|
||||
/* 104A54 802E31D4 8C870050 */ lw $a3, 0x50($a0)
|
||||
/* 104A58 802E31D8 0C01C88C */ jal func_80072230
|
||||
/* 104A5C 802E31DC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 104A60 802E31E0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 104A64 802E31E4 03E00008 */ jr $ra
|
||||
/* 104A68 802E31E8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 104A6C 802E31EC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 104A70 802E31F0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104A74 802E31F4 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 104A78 802E31F8 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 104A7C 802E31FC 0C0441A9 */ jal func_801106A4
|
||||
/* 104A80 802E3200 92040004 */ lbu $a0, 4($s0)
|
||||
/* 104A84 802E3204 2442FFE8 */ addiu $v0, $v0, -0x18
|
||||
/* 104A88 802E3208 2C420003 */ sltiu $v0, $v0, 3
|
||||
/* 104A8C 802E320C 1040000D */ beqz $v0, .L802E3244
|
||||
/* 104A90 802E3210 00000000 */ nop
|
||||
/* 104A94 802E3214 3C013E6B */ lui $at, 0x3e6b
|
||||
/* 104A98 802E3218 3421851F */ ori $at, $at, 0x851f
|
||||
/* 104A9C 802E321C 44810000 */ mtc1 $at, $f0
|
||||
/* 104AA0 802E3220 3C014190 */ lui $at, 0x4190
|
||||
/* 104AA4 802E3224 44811000 */ mtc1 $at, $f2
|
||||
/* 104AA8 802E3228 E6000058 */ swc1 $f0, 0x58($s0)
|
||||
/* 104AAC 802E322C C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104AB0 802E3230 3C013F85 */ lui $at, 0x3f85
|
||||
/* 104AB4 802E3234 34211EB8 */ ori $at, $at, 0x1eb8
|
||||
/* 104AB8 802E3238 44812000 */ mtc1 $at, $f4
|
||||
/* 104ABC 802E323C 080B8C9C */ j .L802E3270
|
||||
/* 104AC0 802E3240 46020000 */ add.s $f0, $f0, $f2
|
||||
|
||||
.L802E3244:
|
||||
/* 104AC4 802E3244 3C013EEB */ lui $at, 0x3eeb
|
||||
/* 104AC8 802E3248 3421851F */ ori $at, $at, 0x851f
|
||||
/* 104ACC 802E324C 44810000 */ mtc1 $at, $f0
|
||||
/* 104AD0 802E3250 3C014190 */ lui $at, 0x4190
|
||||
/* 104AD4 802E3254 44811000 */ mtc1 $at, $f2
|
||||
/* 104AD8 802E3258 E6000058 */ swc1 $f0, 0x58($s0)
|
||||
/* 104ADC 802E325C C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104AE0 802E3260 3C014005 */ lui $at, 0x4005
|
||||
/* 104AE4 802E3264 34211EB8 */ ori $at, $at, 0x1eb8
|
||||
/* 104AE8 802E3268 44812000 */ mtc1 $at, $f4
|
||||
/* 104AEC 802E326C 46020000 */ add.s $f0, $f0, $f2
|
||||
.L802E3270:
|
||||
/* 104AF0 802E3270 E6040054 */ swc1 $f4, 0x54($s0)
|
||||
/* 104AF4 802E3274 E604005C */ swc1 $f4, 0x5c($s0)
|
||||
/* 104AF8 802E3278 E600004C */ swc1 $f0, 0x4c($s0)
|
||||
/* 104AFC 802E327C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 104B00 802E3280 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 104B04 802E3284 03E00008 */ jr $ra
|
||||
/* 104B08 802E3288 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 104B0C 802E328C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 104B10 802E3290 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104B14 802E3294 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 104B18 802E3298 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 104B1C 802E329C 0C0441A9 */ jal func_801106A4
|
||||
/* 104B20 802E32A0 92040004 */ lbu $a0, 4($s0)
|
||||
/* 104B24 802E32A4 2442FFE8 */ addiu $v0, $v0, -0x18
|
||||
/* 104B28 802E32A8 2C420003 */ sltiu $v0, $v0, 3
|
||||
/* 104B2C 802E32AC 10400012 */ beqz $v0, .L802E32F8
|
||||
/* 104B30 802E32B0 00000000 */ nop
|
||||
/* 104B34 802E32B4 C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 104B38 802E32B8 3C01802F */ lui $at, 0x802f
|
||||
/* 104B3C 802E32BC D424B1D0 */ ldc1 $f4, -0x4e30($at)
|
||||
/* 104B40 802E32C0 C602005C */ lwc1 $f2, 0x5c($s0)
|
||||
/* 104B44 802E32C4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 104B48 802E32C8 46240001 */ sub.d $f0, $f0, $f4
|
||||
/* 104B4C 802E32CC 3C014040 */ lui $at, 0x4040
|
||||
/* 104B50 802E32D0 44813000 */ mtc1 $at, $f6
|
||||
/* 104B54 802E32D4 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 104B58 802E32D8 46241081 */ sub.d $f2, $f2, $f4
|
||||
/* 104B5C 802E32DC 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 104B60 802E32E0 E6000054 */ swc1 $f0, 0x54($s0)
|
||||
/* 104B64 802E32E4 C6000058 */ lwc1 $f0, 0x58($s0)
|
||||
/* 104B68 802E32E8 3C01802F */ lui $at, 0x802f
|
||||
/* 104B6C 802E32EC D424B1D8 */ ldc1 $f4, -0x4e28($at)
|
||||
/* 104B70 802E32F0 080B8CCE */ j .L802E3338
|
||||
/* 104B74 802E32F4 46000021 */ cvt.d.s $f0, $f0
|
||||
|
||||
.L802E32F8:
|
||||
/* 104B78 802E32F8 C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 104B7C 802E32FC 3C01802F */ lui $at, 0x802f
|
||||
/* 104B80 802E3300 D424B1E0 */ ldc1 $f4, -0x4e20($at)
|
||||
/* 104B84 802E3304 C602005C */ lwc1 $f2, 0x5c($s0)
|
||||
/* 104B88 802E3308 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 104B8C 802E330C 46240001 */ sub.d $f0, $f0, $f4
|
||||
/* 104B90 802E3310 3C014040 */ lui $at, 0x4040
|
||||
/* 104B94 802E3314 44813000 */ mtc1 $at, $f6
|
||||
/* 104B98 802E3318 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 104B9C 802E331C 46241081 */ sub.d $f2, $f2, $f4
|
||||
/* 104BA0 802E3320 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 104BA4 802E3324 E6000054 */ swc1 $f0, 0x54($s0)
|
||||
/* 104BA8 802E3328 C6000058 */ lwc1 $f0, 0x58($s0)
|
||||
/* 104BAC 802E332C 3C01802F */ lui $at, 0x802f
|
||||
/* 104BB0 802E3330 D424B1E8 */ ldc1 $f4, -0x4e18($at)
|
||||
/* 104BB4 802E3334 46000021 */ cvt.d.s $f0, $f0
|
||||
.L802E3338:
|
||||
/* 104BB8 802E3338 46240000 */ add.d $f0, $f0, $f4
|
||||
/* 104BBC 802E333C C604004C */ lwc1 $f4, 0x4c($s0)
|
||||
/* 104BC0 802E3340 462010A0 */ cvt.s.d $f2, $f2
|
||||
/* 104BC4 802E3344 E602005C */ swc1 $f2, 0x5c($s0)
|
||||
/* 104BC8 802E3348 46062101 */ sub.s $f4, $f4, $f6
|
||||
/* 104BCC 802E334C 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 104BD0 802E3350 E6000058 */ swc1 $f0, 0x58($s0)
|
||||
/* 104BD4 802E3354 E604004C */ swc1 $f4, 0x4c($s0)
|
||||
/* 104BD8 802E3358 0C0B8D94 */ jal func_802E3650
|
||||
/* 104BDC 802E335C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 104BE0 802E3360 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 104BE4 802E3364 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 104BE8 802E3368 03E00008 */ jr $ra
|
||||
/* 104BEC 802E336C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_802E3370
|
||||
/* 104BF0 802E3370 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 104BF4 802E3374 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104BF8 802E3378 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 104BFC 802E337C 3C058011 */ lui $a1, 0x8011
|
||||
/* 104C00 802E3380 24A5EFC8 */ addiu $a1, $a1, -0x1038
|
||||
/* 104C04 802E3384 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 104C08 802E3388 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 104C0C 802E338C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 104C10 802E3390 9202000B */ lbu $v0, 0xb($s0)
|
||||
/* 104C14 802E3394 8E110040 */ lw $s1, 0x40($s0)
|
||||
/* 104C18 802E3398 2C4200FF */ sltiu $v0, $v0, 0xff
|
||||
/* 104C1C 802E339C 10400003 */ beqz $v0, .L802E33AC
|
||||
/* 104C20 802E33A0 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* 104C24 802E33A4 080B8D29 */ j .L802E34A4
|
||||
/* 104C28 802E33A8 3C03FFDF */ lui $v1, 0xffdf
|
||||
|
||||
.L802E33AC:
|
||||
/* 104C2C 802E33AC 8624000E */ lh $a0, 0xe($s1)
|
||||
/* 104C30 802E33B0 9623000E */ lhu $v1, 0xe($s1)
|
||||
/* 104C34 802E33B4 30828000 */ andi $v0, $a0, 0x8000
|
||||
/* 104C38 802E33B8 1440003F */ bnez $v0, .L802E34B8
|
||||
/* 104C3C 802E33BC 28820096 */ slti $v0, $a0, 0x96
|
||||
/* 104C40 802E33C0 1440009C */ bnez $v0, .L802E3634
|
||||
/* 104C44 802E33C4 24620001 */ addiu $v0, $v1, 1
|
||||
/* 104C48 802E33C8 C6220014 */ lwc1 $f2, 0x14($s1)
|
||||
/* 104C4C 802E33CC 3C0141C8 */ lui $at, 0x41c8
|
||||
/* 104C50 802E33D0 44810000 */ mtc1 $at, $f0
|
||||
/* 104C54 802E33D4 00000000 */ nop
|
||||
/* 104C58 802E33D8 46001001 */ sub.s $f0, $f2, $f0
|
||||
/* 104C5C 802E33DC C604004C */ lwc1 $f4, 0x4c($s0)
|
||||
/* 104C60 802E33E0 4600203C */ c.lt.s $f4, $f0
|
||||
/* 104C64 802E33E4 00000000 */ nop
|
||||
/* 104C68 802E33E8 4502000A */ bc1fl .L802E3414
|
||||
/* 104C6C 802E33EC 46041081 */ sub.s $f2, $f2, $f4
|
||||
/* 104C70 802E33F0 46022001 */ sub.s $f0, $f4, $f2
|
||||
/* 104C74 802E33F4 3C014248 */ lui $at, 0x4248
|
||||
/* 104C78 802E33F8 44811000 */ mtc1 $at, $f2
|
||||
/* 104C7C 802E33FC 00000000 */ nop
|
||||
/* 104C80 802E3400 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 104C84 802E3404 3C013E00 */ lui $at, 0x3e00
|
||||
/* 104C88 802E3408 44811000 */ mtc1 $at, $f2
|
||||
/* 104C8C 802E340C 080B8D08 */ j .L802E3420
|
||||
/* 104C90 802E3410 00000000 */ nop
|
||||
|
||||
.L802E3414:
|
||||
/* 104C94 802E3414 3C013E00 */ lui $at, 0x3e00
|
||||
/* 104C98 802E3418 44810000 */ mtc1 $at, $f0
|
||||
/* 104C9C 802E341C 00000000 */ nop
|
||||
.L802E3420:
|
||||
/* 104CA0 802E3420 46001102 */ mul.s $f4, $f2, $f0
|
||||
/* 104CA4 802E3424 00000000 */ nop
|
||||
/* 104CA8 802E3428 3C01802F */ lui $at, 0x802f
|
||||
/* 104CAC 802E342C D422B1F0 */ ldc1 $f2, -0x4e10($at)
|
||||
/* 104CB0 802E3430 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 104CB4 802E3434 4620103C */ c.lt.d $f2, $f0
|
||||
/* 104CB8 802E3438 00000000 */ nop
|
||||
/* 104CBC 802E343C 45000004 */ bc1f .L802E3450
|
||||
/* 104CC0 802E3440 00000000 */ nop
|
||||
/* 104CC4 802E3444 3C013F99 */ lui $at, 0x3f99
|
||||
/* 104CC8 802E3448 3421999A */ ori $at, $at, 0x999a
|
||||
/* 104CCC 802E344C 44812000 */ mtc1 $at, $f4
|
||||
.L802E3450:
|
||||
/* 104CD0 802E3450 3C01802F */ lui $at, 0x802f
|
||||
/* 104CD4 802E3454 D422B1F8 */ ldc1 $f2, -0x4e08($at)
|
||||
/* 104CD8 802E3458 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 104CDC 802E345C 4622003C */ c.lt.d $f0, $f2
|
||||
/* 104CE0 802E3460 00000000 */ nop
|
||||
/* 104CE4 802E3464 45000004 */ bc1f .L802E3478
|
||||
/* 104CE8 802E3468 00000000 */ nop
|
||||
/* 104CEC 802E346C 3C013E99 */ lui $at, 0x3e99
|
||||
/* 104CF0 802E3470 3421999A */ ori $at, $at, 0x999a
|
||||
/* 104CF4 802E3474 44812000 */ mtc1 $at, $f4
|
||||
.L802E3478:
|
||||
/* 104CF8 802E3478 C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104CFC 802E347C 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 104D00 802E3480 E600004C */ swc1 $f0, 0x4c($s0)
|
||||
/* 104D04 802E3484 C6220014 */ lwc1 $f2, 0x14($s1)
|
||||
/* 104D08 802E3488 4600103C */ c.lt.s $f2, $f0
|
||||
/* 104D0C 802E348C 00000000 */ nop
|
||||
/* 104D10 802E3490 45000069 */ bc1f .L802E3638
|
||||
/* 104D14 802E3494 3C03FFDF */ lui $v1, 0xffdf
|
||||
/* 104D18 802E3498 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 104D1C 802E349C E602004C */ swc1 $f2, 0x4c($s0)
|
||||
/* 104D20 802E34A0 A622000E */ sh $v0, 0xe($s1)
|
||||
.L802E34A4:
|
||||
/* 104D24 802E34A4 8E020000 */ lw $v0, ($s0)
|
||||
/* 104D28 802E34A8 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 104D2C 802E34AC 00431024 */ and $v0, $v0, $v1
|
||||
/* 104D30 802E34B0 080B8D8E */ j .L802E3638
|
||||
/* 104D34 802E34B4 AE020000 */ sw $v0, ($s0)
|
||||
|
||||
.L802E34B8:
|
||||
/* 104D38 802E34B8 92020006 */ lbu $v0, 6($s0)
|
||||
/* 104D3C 802E34BC 30420004 */ andi $v0, $v0, 4
|
||||
/* 104D40 802E34C0 10400014 */ beqz $v0, .L802E3514
|
||||
/* 104D44 802E34C4 00000000 */ nop
|
||||
/* 104D48 802E34C8 8CA20000 */ lw $v0, ($a1)
|
||||
/* 104D4C 802E34CC 30420002 */ andi $v0, $v0, 2
|
||||
/* 104D50 802E34D0 14400058 */ bnez $v0, .L802E3634
|
||||
/* 104D54 802E34D4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 104D58 802E34D8 86040016 */ lh $a0, 0x16($s0)
|
||||
/* 104D5C 802E34DC 0C044181 */ jal get_shadow_by_index
|
||||
/* 104D60 802E34E0 00000000 */ nop
|
||||
/* 104D64 802E34E4 10400017 */ beqz $v0, .L802E3544
|
||||
/* 104D68 802E34E8 00000000 */ nop
|
||||
/* 104D6C 802E34EC C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104D70 802E34F0 C4420014 */ lwc1 $f2, 0x14($v0)
|
||||
/* 104D74 802E34F4 46020081 */ sub.s $f2, $f0, $f2
|
||||
/* 104D78 802E34F8 864200B0 */ lh $v0, 0xb0($s2)
|
||||
/* 104D7C 802E34FC 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 104D80 802E3500 24420001 */ addiu $v0, $v0, 1
|
||||
/* 104D84 802E3504 44821000 */ mtc1 $v0, $f2
|
||||
/* 104D88 802E3508 00000000 */ nop
|
||||
/* 104D8C 802E350C 080B8D4B */ j .L802E352C
|
||||
/* 104D90 802E3510 468010A0 */ cvt.s.w $f2, $f2
|
||||
|
||||
.L802E3514:
|
||||
/* 104D94 802E3514 0C044181 */ jal get_shadow_by_index
|
||||
/* 104D98 802E3518 86040016 */ lh $a0, 0x16($s0)
|
||||
/* 104D9C 802E351C 10400009 */ beqz $v0, .L802E3544
|
||||
/* 104DA0 802E3520 00000000 */ nop
|
||||
/* 104DA4 802E3524 C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104DA8 802E3528 C4420014 */ lwc1 $f2, 0x14($v0)
|
||||
.L802E352C:
|
||||
/* 104DAC 802E352C 4602003E */ c.le.s $f0, $f2
|
||||
/* 104DB0 802E3530 00000000 */ nop
|
||||
/* 104DB4 802E3534 45000003 */ bc1f .L802E3544
|
||||
/* 104DB8 802E3538 24020001 */ addiu $v0, $zero, 1
|
||||
/* 104DBC 802E353C E602004C */ swc1 $f2, 0x4c($s0)
|
||||
/* 104DC0 802E3540 A622000E */ sh $v0, 0xe($s1)
|
||||
.L802E3544:
|
||||
/* 104DC4 802E3544 92020006 */ lbu $v0, 6($s0)
|
||||
/* 104DC8 802E3548 30420004 */ andi $v0, $v0, 4
|
||||
/* 104DCC 802E354C 14400039 */ bnez $v0, .L802E3634
|
||||
/* 104DD0 802E3550 24020001 */ addiu $v0, $zero, 1
|
||||
/* 104DD4 802E3554 C6220014 */ lwc1 $f2, 0x14($s1)
|
||||
/* 104DD8 802E3558 3C0141C8 */ lui $at, 0x41c8
|
||||
/* 104DDC 802E355C 44810000 */ mtc1 $at, $f0
|
||||
/* 104DE0 802E3560 00000000 */ nop
|
||||
/* 104DE4 802E3564 46001001 */ sub.s $f0, $f2, $f0
|
||||
/* 104DE8 802E3568 C604004C */ lwc1 $f4, 0x4c($s0)
|
||||
/* 104DEC 802E356C 4600203C */ c.lt.s $f4, $f0
|
||||
/* 104DF0 802E3570 00000000 */ nop
|
||||
/* 104DF4 802E3574 4502000A */ bc1fl .L802E35A0
|
||||
/* 104DF8 802E3578 46041081 */ sub.s $f2, $f2, $f4
|
||||
/* 104DFC 802E357C 46022001 */ sub.s $f0, $f4, $f2
|
||||
/* 104E00 802E3580 3C014248 */ lui $at, 0x4248
|
||||
/* 104E04 802E3584 44811000 */ mtc1 $at, $f2
|
||||
/* 104E08 802E3588 00000000 */ nop
|
||||
/* 104E0C 802E358C 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 104E10 802E3590 3C013E00 */ lui $at, 0x3e00
|
||||
/* 104E14 802E3594 44811000 */ mtc1 $at, $f2
|
||||
/* 104E18 802E3598 080B8D6B */ j .L802E35AC
|
||||
/* 104E1C 802E359C 00000000 */ nop
|
||||
|
||||
.L802E35A0:
|
||||
/* 104E20 802E35A0 3C013E00 */ lui $at, 0x3e00
|
||||
/* 104E24 802E35A4 44810000 */ mtc1 $at, $f0
|
||||
/* 104E28 802E35A8 00000000 */ nop
|
||||
.L802E35AC:
|
||||
/* 104E2C 802E35AC 46001102 */ mul.s $f4, $f2, $f0
|
||||
/* 104E30 802E35B0 00000000 */ nop
|
||||
/* 104E34 802E35B4 3C01802F */ lui $at, 0x802f
|
||||
/* 104E38 802E35B8 D422B200 */ ldc1 $f2, -0x4e00($at)
|
||||
/* 104E3C 802E35BC 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 104E40 802E35C0 4620103C */ c.lt.d $f2, $f0
|
||||
/* 104E44 802E35C4 00000000 */ nop
|
||||
/* 104E48 802E35C8 45000004 */ bc1f .L802E35DC
|
||||
/* 104E4C 802E35CC 00000000 */ nop
|
||||
/* 104E50 802E35D0 3C013F99 */ lui $at, 0x3f99
|
||||
/* 104E54 802E35D4 3421999A */ ori $at, $at, 0x999a
|
||||
/* 104E58 802E35D8 44812000 */ mtc1 $at, $f4
|
||||
.L802E35DC:
|
||||
/* 104E5C 802E35DC 3C01802F */ lui $at, 0x802f
|
||||
/* 104E60 802E35E0 D422B208 */ ldc1 $f2, -0x4df8($at)
|
||||
/* 104E64 802E35E4 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 104E68 802E35E8 4622003C */ c.lt.d $f0, $f2
|
||||
/* 104E6C 802E35EC 00000000 */ nop
|
||||
/* 104E70 802E35F0 45000004 */ bc1f .L802E3604
|
||||
/* 104E74 802E35F4 00000000 */ nop
|
||||
/* 104E78 802E35F8 3C013E99 */ lui $at, 0x3e99
|
||||
/* 104E7C 802E35FC 3421999A */ ori $at, $at, 0x999a
|
||||
/* 104E80 802E3600 44812000 */ mtc1 $at, $f4
|
||||
.L802E3604:
|
||||
/* 104E84 802E3604 C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104E88 802E3608 46040001 */ sub.s $f0, $f0, $f4
|
||||
/* 104E8C 802E360C 3C014248 */ lui $at, 0x4248
|
||||
/* 104E90 802E3610 44811000 */ mtc1 $at, $f2
|
||||
/* 104E94 802E3614 E600004C */ swc1 $f0, 0x4c($s0)
|
||||
/* 104E98 802E3618 C6240014 */ lwc1 $f4, 0x14($s1)
|
||||
/* 104E9C 802E361C 46022101 */ sub.s $f4, $f4, $f2
|
||||
/* 104EA0 802E3620 4604003C */ c.lt.s $f0, $f4
|
||||
/* 104EA4 802E3624 00000000 */ nop
|
||||
/* 104EA8 802E3628 45000003 */ bc1f .L802E3638
|
||||
/* 104EAC 802E362C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 104EB0 802E3630 E604004C */ swc1 $f4, 0x4c($s0)
|
||||
.L802E3634:
|
||||
/* 104EB4 802E3634 A622000E */ sh $v0, 0xe($s1)
|
||||
.L802E3638:
|
||||
/* 104EB8 802E3638 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 104EBC 802E363C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 104EC0 802E3640 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 104EC4 802E3644 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 104EC8 802E3648 03E00008 */ jr $ra
|
||||
/* 104ECC 802E364C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_802E3650
|
||||
/* 104ED0 802E3650 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 104ED4 802E3654 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104ED8 802E3658 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 104EDC 802E365C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 104EE0 802E3660 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 104EE4 802E3664 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 104EE8 802E3668 8E110040 */ lw $s1, 0x40($s0)
|
||||
/* 104EEC 802E366C 0C044AC8 */ jal func_80112B20
|
||||
/* 104EF0 802E3670 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 104EF4 802E3674 10400014 */ beqz $v0, .L802E36C8
|
||||
/* 104EF8 802E3678 3C030020 */ lui $v1, 0x20
|
||||
/* 104EFC 802E367C 8E020000 */ lw $v0, ($s0)
|
||||
/* 104F00 802E3680 00431024 */ and $v0, $v0, $v1
|
||||
/* 104F04 802E3684 10400011 */ beqz $v0, .L802E36CC
|
||||
/* 104F08 802E3688 0240102D */ daddu $v0, $s2, $zero
|
||||
/* 104F0C 802E368C 24120001 */ addiu $s2, $zero, 1
|
||||
/* 104F10 802E3690 0C0B8CDC */ jal func_802E3370
|
||||
/* 104F14 802E3694 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 104F18 802E3698 86240010 */ lh $a0, 0x10($s1)
|
||||
/* 104F1C 802E369C 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 104F20 802E36A0 1082000A */ beq $a0, $v0, .L802E36CC
|
||||
/* 104F24 802E36A4 0240102D */ daddu $v0, $s2, $zero
|
||||
/* 104F28 802E36A8 0C04C3D6 */ jal get_item_entity
|
||||
/* 104F2C 802E36AC 00000000 */ nop
|
||||
/* 104F30 802E36B0 C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104F34 802E36B4 3C014080 */ lui $at, 0x4080
|
||||
/* 104F38 802E36B8 44811000 */ mtc1 $at, $f2
|
||||
/* 104F3C 802E36BC 00000000 */ nop
|
||||
/* 104F40 802E36C0 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 104F44 802E36C4 E440000C */ swc1 $f0, 0xc($v0)
|
||||
.L802E36C8:
|
||||
/* 104F48 802E36C8 0240102D */ daddu $v0, $s2, $zero
|
||||
.L802E36CC:
|
||||
/* 104F4C 802E36CC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 104F50 802E36D0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 104F54 802E36D4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 104F58 802E36D8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 104F5C 802E36DC 03E00008 */ jr $ra
|
||||
/* 104F60 802E36E0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_802E36E4
|
||||
/* 104F64 802E36E4 8C820040 */ lw $v0, 0x40($a0)
|
||||
/* 104F68 802E36E8 2403FFFF */ addiu $v1, $zero, -1
|
||||
/* 104F6C 802E36EC A4430010 */ sh $v1, 0x10($v0)
|
||||
/* 104F70 802E36F0 C480004C */ lwc1 $f0, 0x4c($a0)
|
||||
/* 104F74 802E36F4 3C05FFDF */ lui $a1, 0xffdf
|
||||
/* 104F78 802E36F8 A443000E */ sh $v1, 0xe($v0)
|
||||
/* 104F7C 802E36FC E4400014 */ swc1 $f0, 0x14($v0)
|
||||
/* 104F80 802E3700 8C820000 */ lw $v0, ($a0)
|
||||
/* 104F84 802E3704 34A5FFFF */ ori $a1, $a1, 0xffff
|
||||
/* 104F88 802E3708 00451024 */ and $v0, $v0, $a1
|
||||
/* 104F8C 802E370C 03E00008 */ jr $ra
|
||||
/* 104F90 802E3710 AC820000 */ sw $v0, ($a0)
|
||||
|
||||
/* 104F94 802E3714 8C820040 */ lw $v0, 0x40($a0)
|
||||
/* 104F98 802E3718 3C0142B4 */ lui $at, 0x42b4
|
||||
/* 104F9C 802E371C 44810000 */ mtc1 $at, $f0
|
||||
/* 104FA0 802E3720 03E00008 */ jr $ra
|
||||
/* 104FA4 802E3724 E4400018 */ swc1 $f0, 0x18($v0)
|
||||
|
||||
/* 104FA8 802E3728 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 104FAC 802E372C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 104FB0 802E3730 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 104FB4 802E3734 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 104FB8 802E3738 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104FBC 802E373C F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 104FC0 802E3740 0C0B8E80 */ jal func_802E3A00
|
||||
/* 104FC4 802E3744 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 104FC8 802E3748 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 104FCC 802E374C 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 104FD0 802E3750 44810000 */ mtc1 $at, $f0
|
||||
/* 104FD4 802E3754 C60C0018 */ lwc1 $f12, 0x18($s0)
|
||||
/* 104FD8 802E3758 46006302 */ mul.s $f12, $f12, $f0
|
||||
/* 104FDC 802E375C 00000000 */ nop
|
||||
/* 104FE0 802E3760 C634004C */ lwc1 $f20, 0x4c($s1)
|
||||
/* 104FE4 802E3764 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 104FE8 802E3768 44810000 */ mtc1 $at, $f0
|
||||
/* 104FEC 802E376C 4600A521 */ cvt.d.s $f20, $f20
|
||||
/* 104FF0 802E3770 0C00A85B */ jal sin_rad
|
||||
/* 104FF4 802E3774 46006303 */ div.s $f12, $f12, $f0
|
||||
/* 104FF8 802E3778 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 104FFC 802E377C 46200000 */ add.d $f0, $f0, $f0
|
||||
/* 105000 802E3780 4620A500 */ add.d $f20, $f20, $f0
|
||||
/* 105004 802E3784 3C014270 */ lui $at, 0x4270
|
||||
/* 105008 802E3788 44810000 */ mtc1 $at, $f0
|
||||
/* 10500C 802E378C 4620A520 */ cvt.s.d $f20, $f20
|
||||
/* 105010 802E3790 E634004C */ swc1 $f20, 0x4c($s1)
|
||||
/* 105014 802E3794 C6020018 */ lwc1 $f2, 0x18($s0)
|
||||
/* 105018 802E3798 46001300 */ add.s $f12, $f2, $f0
|
||||
/* 10501C 802E379C 3C0143E1 */ lui $at, 0x43e1
|
||||
/* 105020 802E37A0 44810000 */ mtc1 $at, $f0
|
||||
/* 105024 802E37A4 00000000 */ nop
|
||||
/* 105028 802E37A8 460C003C */ c.lt.s $f0, $f12
|
||||
/* 10502C 802E37AC 00000000 */ nop
|
||||
/* 105030 802E37B0 45000006 */ bc1f .L802E37CC
|
||||
/* 105034 802E37B4 E60C0018 */ swc1 $f12, 0x18($s0)
|
||||
/* 105038 802E37B8 0C00A6C9 */ jal clamp_angle
|
||||
/* 10503C 802E37BC 00000000 */ nop
|
||||
/* 105040 802E37C0 E6000018 */ swc1 $f0, 0x18($s0)
|
||||
/* 105044 802E37C4 0C043F5A */ jal func_8010FD68
|
||||
/* 105048 802E37C8 0220202D */ daddu $a0, $s1, $zero
|
||||
.L802E37CC:
|
||||
/* 10504C 802E37CC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 105050 802E37D0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 105054 802E37D4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 105058 802E37D8 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 10505C 802E37DC 03E00008 */ jr $ra
|
||||
/* 105060 802E37E0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 105064 802E37E4 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 105068 802E37E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 10506C 802E37EC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 105070 802E37F0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 105074 802E37F4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105078 802E37F8 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 10507C 802E37FC F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 105080 802E3800 0C0B8E80 */ jal func_802E3A00
|
||||
/* 105084 802E3804 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 105088 802E3808 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 10508C 802E380C 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 105090 802E3810 44810000 */ mtc1 $at, $f0
|
||||
/* 105094 802E3814 C60C0018 */ lwc1 $f12, 0x18($s0)
|
||||
/* 105098 802E3818 46006302 */ mul.s $f12, $f12, $f0
|
||||
/* 10509C 802E381C 00000000 */ nop
|
||||
/* 1050A0 802E3820 C634004C */ lwc1 $f20, 0x4c($s1)
|
||||
/* 1050A4 802E3824 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 1050A8 802E3828 4481B000 */ mtc1 $at, $f22
|
||||
/* 1050AC 802E382C 4600A521 */ cvt.d.s $f20, $f20
|
||||
/* 1050B0 802E3830 0C00A85B */ jal sin_rad
|
||||
/* 1050B4 802E3834 46166303 */ div.s $f12, $f12, $f22
|
||||
/* 1050B8 802E3838 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 1050BC 802E383C 4620A500 */ add.d $f20, $f20, $f0
|
||||
/* 1050C0 802E3840 3C014270 */ lui $at, 0x4270
|
||||
/* 1050C4 802E3844 44811000 */ mtc1 $at, $f2
|
||||
/* 1050C8 802E3848 4620A520 */ cvt.s.d $f20, $f20
|
||||
/* 1050CC 802E384C E634004C */ swc1 $f20, 0x4c($s1)
|
||||
/* 1050D0 802E3850 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 1050D4 802E3854 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 1050D8 802E3858 4600B03E */ c.le.s $f22, $f0
|
||||
/* 1050DC 802E385C 00000000 */ nop
|
||||
/* 1050E0 802E3860 45000006 */ bc1f .L802E387C
|
||||
/* 1050E4 802E3864 E6000018 */ swc1 $f0, 0x18($s0)
|
||||
/* 1050E8 802E3868 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 1050EC 802E386C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1050F0 802E3870 AE000018 */ sw $zero, 0x18($s0)
|
||||
/* 1050F4 802E3874 0C043F5A */ jal func_8010FD68
|
||||
/* 1050F8 802E3878 E480004C */ swc1 $f0, 0x4c($a0)
|
||||
.L802E387C:
|
||||
/* 1050FC 802E387C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 105100 802E3880 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 105104 802E3884 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 105108 802E3888 D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 10510C 802E388C D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 105110 802E3890 03E00008 */ jr $ra
|
||||
/* 105114 802E3894 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
/* 105118 802E3898 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 10511C 802E389C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105120 802E38A0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 105124 802E38A4 0C0B8DB9 */ jal func_802E36E4
|
||||
/* 105128 802E38A8 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 10512C 802E38AC 8E030040 */ lw $v1, 0x40($s0)
|
||||
/* 105130 802E38B0 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 105134 802E38B4 A4620004 */ sh $v0, 4($v1)
|
||||
/* 105138 802E38B8 2402007B */ addiu $v0, $zero, 0x7b
|
||||
/* 10513C 802E38BC A4620006 */ sh $v0, 6($v1)
|
||||
/* 105140 802E38C0 3402FFFF */ ori $v0, $zero, 0xffff
|
||||
/* 105144 802E38C4 A462000A */ sh $v0, 0xa($v1)
|
||||
/* 105148 802E38C8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 10514C 802E38CC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 105150 802E38D0 03E00008 */ jr $ra
|
||||
/* 105154 802E38D4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 105158 802E38D8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 10515C 802E38DC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 105160 802E38E0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 105164 802E38E4 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 105168 802E38E8 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 10516C 802E38EC 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 105170 802E38F0 86030004 */ lh $v1, 4($s0)
|
||||
/* 105174 802E38F4 18600018 */ blez $v1, .L802E3958
|
||||
/* 105178 802E38F8 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 10517C 802E38FC 14620004 */ bne $v1, $v0, .L802E3910
|
||||
/* 105180 802E3900 24030014 */ addiu $v1, $zero, 0x14
|
||||
/* 105184 802E3904 9602000A */ lhu $v0, 0xa($s0)
|
||||
/* 105188 802E3908 080B8E45 */ j .L802E3914
|
||||
/* 10518C 802E390C 24030015 */ addiu $v1, $zero, 0x15
|
||||
|
||||
.L802E3910:
|
||||
/* 105190 802E3910 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802E3914:
|
||||
/* 105194 802E3914 C620004C */ lwc1 $f0, 0x4c($s1)
|
||||
/* 105198 802E3918 3C01403C */ lui $at, 0x403c
|
||||
/* 10519C 802E391C 44811800 */ mtc1 $at, $f3
|
||||
/* 1051A0 802E3920 44801000 */ mtc1 $zero, $f2
|
||||
/* 1051A4 802E3924 AFA30010 */ sw $v1, 0x10($sp)
|
||||
/* 1051A8 802E3928 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 1051AC 802E392C 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 1051B0 802E3930 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 1051B4 802E3934 8E250048 */ lw $a1, 0x48($s1)
|
||||
/* 1051B8 802E3938 8E270050 */ lw $a3, 0x50($s1)
|
||||
/* 1051BC 802E393C 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 1051C0 802E3940 44060000 */ mfc1 $a2, $f0
|
||||
/* 1051C4 802E3944 0C04C6A5 */ jal make_item_entity_nodelay
|
||||
/* 1051C8 802E3948 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 1051CC 802E394C 96020004 */ lhu $v0, 4($s0)
|
||||
/* 1051D0 802E3950 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 1051D4 802E3954 A6020004 */ sh $v0, 4($s0)
|
||||
.L802E3958:
|
||||
/* 1051D8 802E3958 86020004 */ lh $v0, 4($s0)
|
||||
/* 1051DC 802E395C 10400004 */ beqz $v0, .L802E3970
|
||||
/* 1051E0 802E3960 00000000 */ nop
|
||||
/* 1051E4 802E3964 86020006 */ lh $v0, 6($s0)
|
||||
/* 1051E8 802E3968 14400020 */ bnez $v0, .L802E39EC
|
||||
/* 1051EC 802E396C 00000000 */ nop
|
||||
.L802E3970:
|
||||
/* 1051F0 802E3970 3C04802F */ lui $a0, 0x802f
|
||||
/* 1051F4 802E3974 2484A07C */ addiu $a0, $a0, -0x5f84
|
||||
/* 1051F8 802E3978 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1051FC 802E397C A2020003 */ sb $v0, 3($s0)
|
||||
/* 105200 802E3980 C6220048 */ lwc1 $f2, 0x48($s1)
|
||||
/* 105204 802E3984 C624004C */ lwc1 $f4, 0x4c($s1)
|
||||
/* 105208 802E3988 C6260050 */ lwc1 $f6, 0x50($s1)
|
||||
/* 10520C 802E398C C6200064 */ lwc1 $f0, 0x64($s1)
|
||||
/* 105210 802E3990 3C028000 */ lui $v0, 0x8000
|
||||
/* 105214 802E3994 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 105218 802E3998 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 10521C 802E399C E7A80010 */ swc1 $f8, 0x10($sp)
|
||||
/* 105220 802E39A0 4600120D */ trunc.w.s $f8, $f2
|
||||
/* 105224 802E39A4 44054000 */ mfc1 $a1, $f8
|
||||
/* 105228 802E39A8 4600220D */ trunc.w.s $f8, $f4
|
||||
/* 10522C 802E39AC 44064000 */ mfc1 $a2, $f8
|
||||
/* 105230 802E39B0 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 105234 802E39B4 44074000 */ mfc1 $a3, $f8
|
||||
/* 105238 802E39B8 0C044631 */ jal create_entity
|
||||
/* 10523C 802E39BC 00000000 */ nop
|
||||
/* 105240 802E39C0 0C04417A */ jal get_entity_by_index
|
||||
/* 105244 802E39C4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 105248 802E39C8 3C05802F */ lui $a1, 0x802f
|
||||
/* 10524C 802E39CC 24A59E54 */ addiu $a1, $a1, -0x61ac
|
||||
/* 105250 802E39D0 0C043EF0 */ jal func_8010FBC0
|
||||
/* 105254 802E39D4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 105258 802E39D8 3C032000 */ lui $v1, 0x2000
|
||||
/* 10525C 802E39DC 8E220000 */ lw $v0, ($s1)
|
||||
/* 105260 802E39E0 34630020 */ ori $v1, $v1, 0x20
|
||||
/* 105264 802E39E4 00431025 */ or $v0, $v0, $v1
|
||||
/* 105268 802E39E8 AE220000 */ sw $v0, ($s1)
|
||||
.L802E39EC:
|
||||
/* 10526C 802E39EC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 105270 802E39F0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 105274 802E39F4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 105278 802E39F8 03E00008 */ jr $ra
|
||||
/* 10527C 802E39FC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
glabel func_802E3A00
|
||||
/* 105280 802E3A00 2403000E */ addiu $v1, $zero, 0xe
|
||||
/* 105284 802E3A04 9082000A */ lbu $v0, 0xa($a0)
|
||||
/* 105288 802E3A08 8C840040 */ lw $a0, 0x40($a0)
|
||||
/* 10528C 802E3A0C 1443000C */ bne $v0, $v1, .L802E3A40
|
||||
/* 105290 802E3A10 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 105294 802E3A14 84830004 */ lh $v1, 4($a0)
|
||||
/* 105298 802E3A18 10620009 */ beq $v1, $v0, .L802E3A40
|
||||
/* 10529C 802E3A1C 00000000 */ nop
|
||||
/* 1052A0 802E3A20 94820006 */ lhu $v0, 6($a0)
|
||||
/* 1052A4 802E3A24 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 1052A8 802E3A28 A4820006 */ sh $v0, 6($a0)
|
||||
/* 1052AC 802E3A2C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 1052B0 802E3A30 04410003 */ bgez $v0, .L802E3A40
|
||||
/* 1052B4 802E3A34 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1052B8 802E3A38 A4800006 */ sh $zero, 6($a0)
|
||||
/* 1052BC 802E3A3C A4820004 */ sh $v0, 4($a0)
|
||||
.L802E3A40:
|
||||
/* 1052C0 802E3A40 03E00008 */ jr $ra
|
||||
/* 1052C4 802E3A44 00000000 */ nop
|
||||
|
||||
/* 1052C8 802E3A48 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 1052CC 802E3A4C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 1052D0 802E3A50 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 1052D4 802E3A54 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 1052D8 802E3A58 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 1052DC 802E3A5C 92020006 */ lbu $v0, 6($s0)
|
||||
/* 1052E0 802E3A60 8E110040 */ lw $s1, 0x40($s0)
|
||||
/* 1052E4 802E3A64 30420080 */ andi $v0, $v0, 0x80
|
||||
/* 1052E8 802E3A68 10400005 */ beqz $v0, .L802E3A80
|
||||
/* 1052EC 802E3A6C 00000000 */ nop
|
||||
/* 1052F0 802E3A70 0C043F5A */ jal func_8010FD68
|
||||
/* 1052F4 802E3A74 00000000 */ nop
|
||||
/* 1052F8 802E3A78 080B8EBD */ j .L802E3AF4
|
||||
/* 1052FC 802E3A7C 00000000 */ nop
|
||||
|
||||
.L802E3A80:
|
||||
/* 105300 802E3A80 0C0B8E80 */ jal func_802E3A00
|
||||
/* 105304 802E3A84 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 105308 802E3A88 0C0B8D94 */ jal func_802E3650
|
||||
/* 10530C 802E3A8C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 105310 802E3A90 82220003 */ lb $v0, 3($s1)
|
||||
/* 105314 802E3A94 10400017 */ beqz $v0, .L802E3AF4
|
||||
/* 105318 802E3A98 3C028000 */ lui $v0, 0x8000
|
||||
/* 10531C 802E3A9C 3C04802F */ lui $a0, 0x802f
|
||||
/* 105320 802E3AA0 2484A07C */ addiu $a0, $a0, -0x5f84
|
||||
/* 105324 802E3AA4 C6020048 */ lwc1 $f2, 0x48($s0)
|
||||
/* 105328 802E3AA8 C604004C */ lwc1 $f4, 0x4c($s0)
|
||||
/* 10532C 802E3AAC C6060050 */ lwc1 $f6, 0x50($s0)
|
||||
/* 105330 802E3AB0 C6000064 */ lwc1 $f0, 0x64($s0)
|
||||
/* 105334 802E3AB4 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 105338 802E3AB8 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 10533C 802E3ABC E7A80010 */ swc1 $f8, 0x10($sp)
|
||||
/* 105340 802E3AC0 4600120D */ trunc.w.s $f8, $f2
|
||||
/* 105344 802E3AC4 44054000 */ mfc1 $a1, $f8
|
||||
/* 105348 802E3AC8 4600220D */ trunc.w.s $f8, $f4
|
||||
/* 10534C 802E3ACC 44064000 */ mfc1 $a2, $f8
|
||||
/* 105350 802E3AD0 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 105354 802E3AD4 44074000 */ mfc1 $a3, $f8
|
||||
/* 105358 802E3AD8 0C044631 */ jal create_entity
|
||||
/* 10535C 802E3ADC 00000000 */ nop
|
||||
/* 105360 802E3AE0 3C032000 */ lui $v1, 0x2000
|
||||
/* 105364 802E3AE4 8E020000 */ lw $v0, ($s0)
|
||||
/* 105368 802E3AE8 34630020 */ ori $v1, $v1, 0x20
|
||||
/* 10536C 802E3AEC 00431025 */ or $v0, $v0, $v1
|
||||
/* 105370 802E3AF0 AE020000 */ sw $v0, ($s0)
|
||||
.L802E3AF4:
|
||||
/* 105374 802E3AF4 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 105378 802E3AF8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 10537C 802E3AFC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 105380 802E3B00 03E00008 */ jr $ra
|
||||
/* 105384 802E3B04 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 105388 802E3B08 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 10538C 802E3B0C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 105390 802E3B10 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 105394 802E3B14 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 105398 802E3B18 8E040040 */ lw $a0, 0x40($s0)
|
||||
/* 10539C 802E3B1C 9483000A */ lhu $v1, 0xa($a0)
|
||||
/* 1053A0 802E3B20 3402FFFF */ ori $v0, $zero, 0xffff
|
||||
/* 1053A4 802E3B24 1062001B */ beq $v1, $v0, .L802E3B94
|
||||
/* 1053A8 802E3B28 00000000 */ nop
|
||||
/* 1053AC 802E3B2C 0C05152F */ jal get_global_flag
|
||||
/* 1053B0 802E3B30 0060202D */ daddu $a0, $v1, $zero
|
||||
/* 1053B4 802E3B34 10400017 */ beqz $v0, .L802E3B94
|
||||
/* 1053B8 802E3B38 3C028000 */ lui $v0, 0x8000
|
||||
/* 1053BC 802E3B3C 3C04802F */ lui $a0, 0x802f
|
||||
/* 1053C0 802E3B40 2484A07C */ addiu $a0, $a0, -0x5f84
|
||||
/* 1053C4 802E3B44 C6020048 */ lwc1 $f2, 0x48($s0)
|
||||
/* 1053C8 802E3B48 C604004C */ lwc1 $f4, 0x4c($s0)
|
||||
/* 1053CC 802E3B4C C6060050 */ lwc1 $f6, 0x50($s0)
|
||||
/* 1053D0 802E3B50 C6000064 */ lwc1 $f0, 0x64($s0)
|
||||
/* 1053D4 802E3B54 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 1053D8 802E3B58 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 1053DC 802E3B5C E7A80010 */ swc1 $f8, 0x10($sp)
|
||||
/* 1053E0 802E3B60 4600120D */ trunc.w.s $f8, $f2
|
||||
/* 1053E4 802E3B64 44054000 */ mfc1 $a1, $f8
|
||||
/* 1053E8 802E3B68 4600220D */ trunc.w.s $f8, $f4
|
||||
/* 1053EC 802E3B6C 44064000 */ mfc1 $a2, $f8
|
||||
/* 1053F0 802E3B70 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 1053F4 802E3B74 44074000 */ mfc1 $a3, $f8
|
||||
/* 1053F8 802E3B78 0C044631 */ jal create_entity
|
||||
/* 1053FC 802E3B7C 00000000 */ nop
|
||||
/* 105400 802E3B80 3C032000 */ lui $v1, 0x2000
|
||||
/* 105404 802E3B84 8E020000 */ lw $v0, ($s0)
|
||||
/* 105408 802E3B88 34630020 */ ori $v1, $v1, 0x20
|
||||
/* 10540C 802E3B8C 00431025 */ or $v0, $v0, $v1
|
||||
/* 105410 802E3B90 AE020000 */ sw $v0, ($s0)
|
||||
.L802E3B94:
|
||||
/* 105414 802E3B94 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 105418 802E3B98 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 10541C 802E3B9C 03E00008 */ jr $ra
|
||||
/* 105420 802E3BA0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 105424 802E3BA4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 105428 802E3BA8 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 10542C 802E3BAC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 105430 802E3BB0 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 105434 802E3BB4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 105438 802E3BB8 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 10543C 802E3BBC 9222000B */ lbu $v0, 0xb($s1)
|
||||
/* 105440 802E3BC0 3C128011 */ lui $s2, 0x8011
|
||||
/* 105444 802E3BC4 2652EFC8 */ addiu $s2, $s2, -0x1038
|
||||
/* 105448 802E3BC8 14400005 */ bnez $v0, .L802E3BE0
|
||||
/* 10544C 802E3BCC 00000000 */ nop
|
||||
/* 105450 802E3BD0 92220006 */ lbu $v0, 6($s1)
|
||||
/* 105454 802E3BD4 30420001 */ andi $v0, $v0, 1
|
||||
/* 105458 802E3BD8 14400083 */ bnez $v0, .L802E3DE8
|
||||
/* 10545C 802E3BDC 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802E3BE0:
|
||||
/* 105460 802E3BE0 92230006 */ lbu $v1, 6($s1)
|
||||
/* 105464 802E3BE4 30620004 */ andi $v0, $v1, 4
|
||||
/* 105468 802E3BE8 10400016 */ beqz $v0, .L802E3C44
|
||||
/* 10546C 802E3BEC 30620080 */ andi $v0, $v1, 0x80
|
||||
/* 105470 802E3BF0 92240004 */ lbu $a0, 4($s1)
|
||||
/* 105474 802E3BF4 0C0441A9 */ jal func_801106A4
|
||||
/* 105478 802E3BF8 00000000 */ nop
|
||||
/* 10547C 802E3BFC 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 105480 802E3C00 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 105484 802E3C04 10620019 */ beq $v1, $v0, .L802E3C6C
|
||||
/* 105488 802E3C08 0062102A */ slt $v0, $v1, $v0
|
||||
/* 10548C 802E3C0C 14400005 */ bnez $v0, .L802E3C24
|
||||
/* 105490 802E3C10 2862001B */ slti $v0, $v1, 0x1b
|
||||
/* 105494 802E3C14 10400003 */ beqz $v0, .L802E3C24
|
||||
/* 105498 802E3C18 28620015 */ slti $v0, $v1, 0x15
|
||||
/* 10549C 802E3C1C 10400072 */ beqz $v0, .L802E3DE8
|
||||
/* 1054A0 802E3C20 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802E3C24:
|
||||
/* 1054A4 802E3C24 8E420000 */ lw $v0, ($s2)
|
||||
/* 1054A8 802E3C28 30420002 */ andi $v0, $v0, 2
|
||||
/* 1054AC 802E3C2C 1040006E */ beqz $v0, .L802E3DE8
|
||||
/* 1054B0 802E3C30 24020001 */ addiu $v0, $zero, 1
|
||||
.L802E3C34:
|
||||
/* 1054B4 802E3C34 0C043F5A */ jal func_8010FD68
|
||||
/* 1054B8 802E3C38 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1054BC 802E3C3C 080B8F7A */ j .L802E3DE8
|
||||
/* 1054C0 802E3C40 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
.L802E3C44:
|
||||
/* 1054C4 802E3C44 1440FFFB */ bnez $v0, .L802E3C34
|
||||
/* 1054C8 802E3C48 30620001 */ andi $v0, $v1, 1
|
||||
/* 1054CC 802E3C4C 1040000F */ beqz $v0, .L802E3C8C
|
||||
/* 1054D0 802E3C50 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 1054D4 802E3C54 824300B4 */ lb $v1, 0xb4($s2)
|
||||
/* 1054D8 802E3C58 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* 1054DC 802E3C5C 10620003 */ beq $v1, $v0, .L802E3C6C
|
||||
/* 1054E0 802E3C60 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 1054E4 802E3C64 14620003 */ bne $v1, $v0, .L802E3C74
|
||||
/* 1054E8 802E3C68 2402000E */ addiu $v0, $zero, 0xe
|
||||
.L802E3C6C:
|
||||
/* 1054EC 802E3C6C 080B8F7A */ j .L802E3DE8
|
||||
/* 1054F0 802E3C70 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
.L802E3C74:
|
||||
/* 1054F4 802E3C74 10620003 */ beq $v1, $v0, .L802E3C84
|
||||
/* 1054F8 802E3C78 24020010 */ addiu $v0, $zero, 0x10
|
||||
/* 1054FC 802E3C7C 1462005A */ bne $v1, $v0, .L802E3DE8
|
||||
/* 105500 802E3C80 24020001 */ addiu $v0, $zero, 1
|
||||
.L802E3C84:
|
||||
/* 105504 802E3C84 080B8F2A */ j .L802E3CA8
|
||||
/* 105508 802E3C88 24100001 */ addiu $s0, $zero, 1
|
||||
|
||||
.L802E3C8C:
|
||||
/* 10550C 802E3C8C 30620040 */ andi $v0, $v1, 0x40
|
||||
/* 105510 802E3C90 10400054 */ beqz $v0, .L802E3DE4
|
||||
/* 105514 802E3C94 3C030100 */ lui $v1, 0x100
|
||||
/* 105518 802E3C98 8E420000 */ lw $v0, ($s2)
|
||||
/* 10551C 802E3C9C 00431024 */ and $v0, $v0, $v1
|
||||
/* 105520 802E3CA0 10400051 */ beqz $v0, .L802E3DE8
|
||||
/* 105524 802E3CA4 24020001 */ addiu $v0, $zero, 1
|
||||
.L802E3CA8:
|
||||
/* 105528 802E3CA8 92240004 */ lbu $a0, 4($s1)
|
||||
/* 10552C 802E3CAC 0C0441A9 */ jal func_801106A4
|
||||
/* 105530 802E3CB0 00000000 */ nop
|
||||
/* 105534 802E3CB4 2443FFF5 */ addiu $v1, $v0, -0xb
|
||||
/* 105538 802E3CB8 2C620015 */ sltiu $v0, $v1, 0x15
|
||||
/* 10553C 802E3CBC 10400049 */ beqz $v0, .L802E3DE4
|
||||
/* 105540 802E3CC0 00031080 */ sll $v0, $v1, 2
|
||||
/* 105544 802E3CC4 3C01802F */ lui $at, 0x802f
|
||||
/* 105548 802E3CC8 00220821 */ addu $at, $at, $v0
|
||||
/* 10554C 802E3CCC 8C22B210 */ lw $v0, -0x4df0($at)
|
||||
/* 105550 802E3CD0 00400008 */ jr $v0
|
||||
/* 105554 802E3CD4 00000000 */ nop
|
||||
/* 105558 802E3CD8 12000007 */ beqz $s0, .L802E3CF8
|
||||
/* 10555C 802E3CDC 00000000 */ nop
|
||||
/* 105560 802E3CE0 3C028011 */ lui $v0, 0x8011
|
||||
/* 105564 802E3CE4 8042F290 */ lb $v0, -0xd70($v0)
|
||||
/* 105568 802E3CE8 58400007 */ blezl $v0, .L802E3D08
|
||||
/* 10556C 802E3CEC 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 105570 802E3CF0 080B8F42 */ j .L802E3D08
|
||||
/* 105574 802E3CF4 00000000 */ nop
|
||||
|
||||
.L802E3CF8:
|
||||
/* 105578 802E3CF8 3C028011 */ lui $v0, 0x8011
|
||||
/* 10557C 802E3CFC 8042F291 */ lb $v0, -0xd6f($v0)
|
||||
/* 105580 802E3D00 04430001 */ bgezl $v0, .L802E3D08
|
||||
/* 105584 802E3D04 24100001 */ addiu $s0, $zero, 1
|
||||
.L802E3D08:
|
||||
/* 105588 802E3D08 12000037 */ beqz $s0, .L802E3DE8
|
||||
/* 10558C 802E3D0C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 105590 802E3D10 3C05802F */ lui $a1, 0x802f
|
||||
/* 105594 802E3D14 24A59E80 */ addiu $a1, $a1, -0x6180
|
||||
/* 105598 802E3D18 0C043EF0 */ jal func_8010FBC0
|
||||
/* 10559C 802E3D1C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1055A0 802E3D20 C6200050 */ lwc1 $f0, 0x50($s1)
|
||||
/* 1055A4 802E3D24 080B8F6C */ j .L802E3DB0
|
||||
/* 1055A8 802E3D28 2404014F */ addiu $a0, $zero, 0x14f
|
||||
|
||||
/* 1055AC 802E3D2C 12000008 */ beqz $s0, .L802E3D50
|
||||
/* 1055B0 802E3D30 00000000 */ nop
|
||||
/* 1055B4 802E3D34 3C028011 */ lui $v0, 0x8011
|
||||
/* 1055B8 802E3D38 8042F290 */ lb $v0, -0xd70($v0)
|
||||
/* 1055BC 802E3D3C 28420002 */ slti $v0, $v0, 2
|
||||
/* 1055C0 802E3D40 54400007 */ bnel $v0, $zero, .L802E3D60
|
||||
/* 1055C4 802E3D44 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 1055C8 802E3D48 080B8F58 */ j .L802E3D60
|
||||
/* 1055CC 802E3D4C 00000000 */ nop
|
||||
|
||||
.L802E3D50:
|
||||
/* 1055D0 802E3D50 3C028011 */ lui $v0, 0x8011
|
||||
/* 1055D4 802E3D54 8042F291 */ lb $v0, -0xd6f($v0)
|
||||
/* 1055D8 802E3D58 5C400001 */ bgtzl $v0, .L802E3D60
|
||||
/* 1055DC 802E3D5C 24100001 */ addiu $s0, $zero, 1
|
||||
.L802E3D60:
|
||||
/* 1055E0 802E3D60 12000021 */ beqz $s0, .L802E3DE8
|
||||
/* 1055E4 802E3D64 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1055E8 802E3D68 3C05802F */ lui $a1, 0x802f
|
||||
/* 1055EC 802E3D6C 24A59E80 */ addiu $a1, $a1, -0x6180
|
||||
/* 1055F0 802E3D70 0C043EF0 */ jal func_8010FBC0
|
||||
/* 1055F4 802E3D74 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1055F8 802E3D78 C6200050 */ lwc1 $f0, 0x50($s1)
|
||||
/* 1055FC 802E3D7C 080B8F6C */ j .L802E3DB0
|
||||
/* 105600 802E3D80 24040150 */ addiu $a0, $zero, 0x150
|
||||
|
||||
/* 105604 802E3D84 3C028011 */ lui $v0, 0x8011
|
||||
/* 105608 802E3D88 8042F291 */ lb $v0, -0xd6f($v0)
|
||||
/* 10560C 802E3D8C 28420002 */ slti $v0, $v0, 2
|
||||
/* 105610 802E3D90 14400015 */ bnez $v0, .L802E3DE8
|
||||
/* 105614 802E3D94 24020001 */ addiu $v0, $zero, 1
|
||||
/* 105618 802E3D98 3C05802F */ lui $a1, 0x802f
|
||||
/* 10561C 802E3D9C 24A59E80 */ addiu $a1, $a1, -0x6180
|
||||
/* 105620 802E3DA0 0C043EF0 */ jal func_8010FBC0
|
||||
/* 105624 802E3DA4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 105628 802E3DA8 C6200050 */ lwc1 $f0, 0x50($s1)
|
||||
/* 10562C 802E3DAC 24040151 */ addiu $a0, $zero, 0x151
|
||||
.L802E3DB0:
|
||||
/* 105630 802E3DB0 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 105634 802E3DB4 8E260048 */ lw $a2, 0x48($s1)
|
||||
/* 105638 802E3DB8 8E27004C */ lw $a3, 0x4c($s1)
|
||||
/* 10563C 802E3DBC 0C052757 */ jal play_sound_at_position
|
||||
/* 105640 802E3DC0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 105644 802E3DC4 080B8F7A */ j .L802E3DE8
|
||||
/* 105648 802E3DC8 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
/* 10564C 802E3DCC 0C04419E */ jal func_80110678
|
||||
/* 105650 802E3DD0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 105654 802E3DD4 080B8F0D */ j .L802E3C34
|
||||
/* 105658 802E3DD8 00000000 */ nop
|
||||
|
||||
/* 10565C 802E3DDC 0C04419E */ jal func_80110678
|
||||
/* 105660 802E3DE0 0220202D */ daddu $a0, $s1, $zero
|
||||
.L802E3DE4:
|
||||
/* 105664 802E3DE4 24020001 */ addiu $v0, $zero, 1
|
||||
.L802E3DE8:
|
||||
/* 105668 802E3DE8 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 10566C 802E3DEC 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 105670 802E3DF0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 105674 802E3DF4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 105678 802E3DF8 03E00008 */ jr $ra
|
||||
/* 10567C 802E3DFC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 105680 802E3E00 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 105684 802E3E04 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105688 802E3E08 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 10568C 802E3E0C 0C0B8DB9 */ jal func_802E36E4
|
||||
/* 105690 802E3E10 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 105694 802E3E14 3C02802E */ lui $v0, 0x802e
|
||||
/* 105698 802E3E18 244230C0 */ addiu $v0, $v0, 0x30c0
|
||||
/* 10569C 802E3E1C AE02003C */ sw $v0, 0x3c($s0)
|
||||
/* 1056A0 802E3E20 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 1056A4 802E3E24 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1056A8 802E3E28 03E00008 */ jr $ra
|
||||
/* 1056AC 802E3E2C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 1056B0 802E3E30 2403FFFF */ addiu $v1, $zero, -1
|
||||
/* 1056B4 802E3E34 8C820040 */ lw $v0, 0x40($a0)
|
||||
/* 1056B8 802E3E38 3C05FFDF */ lui $a1, 0xffdf
|
||||
/* 1056BC 802E3E3C A4430010 */ sh $v1, 0x10($v0)
|
||||
/* 1056C0 802E3E40 C480004C */ lwc1 $f0, 0x4c($a0)
|
||||
/* 1056C4 802E3E44 34A5FFFF */ ori $a1, $a1, 0xffff
|
||||
/* 1056C8 802E3E48 A443000E */ sh $v1, 0xe($v0)
|
||||
/* 1056CC 802E3E4C E4400014 */ swc1 $f0, 0x14($v0)
|
||||
/* 1056D0 802E3E50 8C820000 */ lw $v0, ($a0)
|
||||
/* 1056D4 802E3E54 3C013F00 */ lui $at, 0x3f00
|
||||
/* 1056D8 802E3E58 44810000 */ mtc1 $at, $f0
|
||||
/* 1056DC 802E3E5C 00451024 */ and $v0, $v0, $a1
|
||||
/* 1056E0 802E3E60 E4800054 */ swc1 $f0, 0x54($a0)
|
||||
/* 1056E4 802E3E64 E4800058 */ swc1 $f0, 0x58($a0)
|
||||
/* 1056E8 802E3E68 E480005C */ swc1 $f0, 0x5c($a0)
|
||||
/* 1056EC 802E3E6C 03E00008 */ jr $ra
|
||||
/* 1056F0 802E3E70 AC820000 */ sw $v0, ($a0)
|
||||
|
||||
/* 1056F4 802E3E74 00000000 */ nop
|
||||
/* 1056F8 802E3E78 00000000 */ nop
|
||||
/* 1056FC 802E3E7C 00000000 */ nop
|
||||
|
||||
.set reorder
|
File diff suppressed because it is too large
Load Diff
@ -1,614 +0,0 @@
|
||||
# %s disassembly and split file
|
||||
# generated by n64split v%s - N64 ROM splitter
|
||||
|
||||
# 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
|
||||
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80035DF0, "ax"
|
||||
|
||||
/* 0111F0 80035DF0 3C01800A */ lui $at, 0x800a
|
||||
/* 0111F4 80035DF4 A4240942 */ sh $a0, 0x942($at)
|
||||
/* 0111F8 80035DF8 03E00008 */ jr $ra
|
||||
/* 0111FC 80035DFC 00000000 */ nop
|
||||
|
||||
/* 011200 80035E00 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 011204 80035E04 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 011208 80035E08 3C01800A */ lui $at, 0x800a
|
||||
/* 01120C 80035E0C A4200948 */ sh $zero, 0x948($at)
|
||||
/* 011210 80035E10 0C00D795 */ jal func_80035E54
|
||||
/* 011214 80035E14 00000000 */ nop
|
||||
/* 011218 80035E18 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 01121C 80035E1C 03E00008 */ jr $ra
|
||||
/* 011220 80035E20 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 011224 80035E24 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 011228 80035E28 24020001 */ addiu $v0, $zero, 1
|
||||
/* 01122C 80035E2C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 011230 80035E30 3C01800A */ lui $at, 0x800a
|
||||
/* 011234 80035E34 A4220948 */ sh $v0, 0x948($at)
|
||||
/* 011238 80035E38 0C04E0A8 */ jal set_map_transition_effect
|
||||
/* 01123C 80035E3C 24040008 */ addiu $a0, $zero, 8
|
||||
/* 011240 80035E40 0C00D795 */ jal func_80035E54
|
||||
/* 011244 80035E44 00000000 */ nop
|
||||
/* 011248 80035E48 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 01124C 80035E4C 03E00008 */ jr $ra
|
||||
/* 011250 80035E50 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_80035E54
|
||||
/* 011254 80035E54 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 011258 80035E58 24020004 */ addiu $v0, $zero, 4
|
||||
/* 01125C 80035E5C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 011260 80035E60 3C118007 */ lui $s1, 0x8007
|
||||
/* 011264 80035E64 2631419C */ addiu $s1, $s1, 0x419c
|
||||
/* 011268 80035E68 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 01126C 80035E6C 3C10800A */ lui $s0, 0x800a
|
||||
/* 011270 80035E70 26100940 */ addiu $s0, $s0, 0x940
|
||||
/* 011274 80035E74 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 011278 80035E78 3C01800A */ lui $at, 0x800a
|
||||
/* 01127C 80035E7C A4200944 */ sh $zero, 0x944($at)
|
||||
/* 011280 80035E80 3C01800A */ lui $at, 0x800a
|
||||
/* 011284 80035E84 A4220946 */ sh $v0, 0x946($at)
|
||||
/* 011288 80035E88 8E230000 */ lw $v1, ($s1)
|
||||
/* 01128C 80035E8C 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 011290 80035E90 A6020000 */ sh $v0, ($s0)
|
||||
/* 011294 80035E94 0C018030 */ jal nuContRmbForceStopEnd
|
||||
/* 011298 80035E98 AC600094 */ sw $zero, 0x94($v1)
|
||||
/* 01129C 80035E9C 0C04E0AB */ jal func_801382AC
|
||||
/* 0112A0 80035EA0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0112A4 80035EA4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0112A8 80035EA8 3C05F5DE */ lui $a1, 0xf5de
|
||||
/* 0112AC 80035EAC 3C03800A */ lui $v1, 0x800a
|
||||
/* 0112B0 80035EB0 2463A650 */ addiu $v1, $v1, -0x59b0
|
||||
/* 0112B4 80035EB4 8C620000 */ lw $v0, ($v1)
|
||||
/* 0112B8 80035EB8 8E260000 */ lw $a2, ($s1)
|
||||
/* 0112BC 80035EBC 34420008 */ ori $v0, $v0, 8
|
||||
/* 0112C0 80035EC0 AC620000 */ sw $v0, ($v1)
|
||||
/* 0112C4 80035EC4 80C600A9 */ lb $a2, 0xa9($a2)
|
||||
/* 0112C8 80035EC8 0C0B2026 */ jal set_variable
|
||||
/* 0112CC 80035ECC 34A50181 */ ori $a1, $a1, 0x181
|
||||
/* 0112D0 80035ED0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0112D4 80035ED4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0112D8 80035ED8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0112DC 80035EDC 3C01800A */ lui $at, 0x800a
|
||||
/* 0112E0 80035EE0 AC20A5D8 */ sw $zero, -0x5a28($at)
|
||||
/* 0112E4 80035EE4 03E00008 */ jr $ra
|
||||
/* 0112E8 80035EE8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 0112EC 80035EEC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0112F0 80035EF0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0112F4 80035EF4 3C10800A */ lui $s0, 0x800a
|
||||
/* 0112F8 80035EF8 26100944 */ addiu $s0, $s0, 0x944
|
||||
/* 0112FC 80035EFC AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 011300 80035F00 86030000 */ lh $v1, ($s0)
|
||||
/* 011304 80035F04 24020001 */ addiu $v0, $zero, 1
|
||||
/* 011308 80035F08 1062003D */ beq $v1, $v0, .L80036000
|
||||
/* 01130C 80035F0C 28620002 */ slti $v0, $v1, 2
|
||||
/* 011310 80035F10 50400005 */ beql $v0, $zero, .L80035F28
|
||||
/* 011314 80035F14 24020002 */ addiu $v0, $zero, 2
|
||||
/* 011318 80035F18 10600007 */ beqz $v1, .L80035F38
|
||||
/* 01131C 80035F1C 00000000 */ nop
|
||||
/* 011320 80035F20 0800D83B */ j .L800360EC
|
||||
/* 011324 80035F24 00000000 */ nop
|
||||
|
||||
.L80035F28:
|
||||
/* 011328 80035F28 10620055 */ beq $v1, $v0, .L80036080
|
||||
/* 01132C 80035F2C 00000000 */ nop
|
||||
/* 011330 80035F30 0800D83B */ j .L800360EC
|
||||
/* 011334 80035F34 00000000 */ nop
|
||||
|
||||
.L80035F38:
|
||||
/* 011338 80035F38 3C04800A */ lui $a0, 0x800a
|
||||
/* 01133C 80035F3C 24840946 */ addiu $a0, $a0, 0x946
|
||||
/* 011340 80035F40 84820000 */ lh $v0, ($a0)
|
||||
/* 011344 80035F44 94830000 */ lhu $v1, ($a0)
|
||||
/* 011348 80035F48 1440003B */ bnez $v0, .L80036038
|
||||
/* 01134C 80035F4C 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 011350 80035F50 3C038007 */ lui $v1, 0x8007
|
||||
/* 011354 80035F54 2463419C */ addiu $v1, $v1, 0x419c
|
||||
/* 011358 80035F58 8C620000 */ lw $v0, ($v1)
|
||||
/* 01135C 80035F5C A0400070 */ sb $zero, 0x70($v0)
|
||||
/* 011360 80035F60 8C620000 */ lw $v0, ($v1)
|
||||
/* 011364 80035F64 A0400078 */ sb $zero, 0x78($v0)
|
||||
/* 011368 80035F68 3C02800A */ lui $v0, 0x800a
|
||||
/* 01136C 80035F6C 84420948 */ lh $v0, 0x948($v0)
|
||||
/* 011370 80035F70 14400006 */ bnez $v0, .L80035F8C
|
||||
/* 011374 80035F74 24060001 */ addiu $a2, $zero, 1
|
||||
/* 011378 80035F78 8C620000 */ lw $v0, ($v1)
|
||||
/* 01137C 80035F7C 84440086 */ lh $a0, 0x86($v0)
|
||||
/* 011380 80035F80 8445008C */ lh $a1, 0x8c($v0)
|
||||
/* 011384 80035F84 0800D7E6 */ j .L80035F98
|
||||
/* 011388 80035F88 0000302D */ daddu $a2, $zero, $zero
|
||||
|
||||
.L80035F8C:
|
||||
/* 01138C 80035F8C 8C620000 */ lw $v0, ($v1)
|
||||
/* 011390 80035F90 84440086 */ lh $a0, 0x86($v0)
|
||||
/* 011394 80035F94 8445008C */ lh $a1, 0x8c($v0)
|
||||
.L80035F98:
|
||||
/* 011398 80035F98 0C0169BD */ jal load_map_by_IDs
|
||||
/* 01139C 80035F9C 00000000 */ nop
|
||||
/* 0113A0 80035FA0 3C108007 */ lui $s0, 0x8007
|
||||
/* 0113A4 80035FA4 2610419C */ addiu $s0, $s0, 0x419c
|
||||
/* 0113A8 80035FA8 8E020000 */ lw $v0, ($s0)
|
||||
/* 0113AC 80035FAC 94430086 */ lhu $v1, 0x86($v0)
|
||||
/* 0113B0 80035FB0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0113B4 80035FB4 0C009C22 */ jal func_80027088
|
||||
/* 0113B8 80035FB8 A4430088 */ sh $v1, 0x88($v0)
|
||||
/* 0113BC 80035FBC 8E020000 */ lw $v0, ($s0)
|
||||
/* 0113C0 80035FC0 80420071 */ lb $v0, 0x71($v0)
|
||||
/* 0113C4 80035FC4 14400003 */ bnez $v0, .L80035FD4
|
||||
/* 0113C8 80035FC8 00000000 */ nop
|
||||
/* 0113CC 80035FCC 0C03805E */ jal func_800E0178
|
||||
/* 0113D0 80035FD0 00000000 */ nop
|
||||
.L80035FD4:
|
||||
/* 0113D4 80035FD4 0C00B500 */ jal update_cameras
|
||||
/* 0113D8 80035FD8 00000000 */ nop
|
||||
/* 0113DC 80035FDC 3C02800A */ lui $v0, 0x800a
|
||||
/* 0113E0 80035FE0 24420944 */ addiu $v0, $v0, 0x944
|
||||
/* 0113E4 80035FE4 94430000 */ lhu $v1, ($v0)
|
||||
/* 0113E8 80035FE8 24040002 */ addiu $a0, $zero, 2
|
||||
/* 0113EC 80035FEC 3C01800A */ lui $at, 0x800a
|
||||
/* 0113F0 80035FF0 A4240946 */ sh $a0, 0x946($at)
|
||||
/* 0113F4 80035FF4 24630001 */ addiu $v1, $v1, 1
|
||||
/* 0113F8 80035FF8 0800D83B */ j .L800360EC
|
||||
/* 0113FC 80035FFC A4430000 */ sh $v1, ($v0)
|
||||
|
||||
.L80036000:
|
||||
/* 011400 80036000 0C00F949 */ jal func_8003E524
|
||||
/* 011404 80036004 00000000 */ nop
|
||||
/* 011408 80036008 0C00E64C */ jal func_80039930
|
||||
/* 01140C 8003600C 00000000 */ nop
|
||||
/* 011410 80036010 0C037DD0 */ jal func_800DF740
|
||||
/* 011414 80036014 00000000 */ nop
|
||||
/* 011418 80036018 0C00B500 */ jal update_cameras
|
||||
/* 01141C 8003601C 00000000 */ nop
|
||||
/* 011420 80036020 3C04800A */ lui $a0, 0x800a
|
||||
/* 011424 80036024 24840946 */ addiu $a0, $a0, 0x946
|
||||
/* 011428 80036028 84820000 */ lh $v0, ($a0)
|
||||
/* 01142C 8003602C 94830000 */ lhu $v1, ($a0)
|
||||
/* 011430 80036030 10400003 */ beqz $v0, .L80036040
|
||||
/* 011434 80036034 2462FFFF */ addiu $v0, $v1, -1
|
||||
.L80036038:
|
||||
/* 011438 80036038 0800D83B */ j .L800360EC
|
||||
/* 01143C 8003603C A4820000 */ sh $v0, ($a0)
|
||||
|
||||
.L80036040:
|
||||
/* 011440 80036040 3C028007 */ lui $v0, 0x8007
|
||||
/* 011444 80036044 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 011448 80036048 0C0B1059 */ jal does_script_exist
|
||||
/* 01144C 8003604C 8C44006C */ lw $a0, 0x6c($v0)
|
||||
/* 011450 80036050 14400026 */ bnez $v0, .L800360EC
|
||||
/* 011454 80036054 00000000 */ nop
|
||||
/* 011458 80036058 3C05800A */ lui $a1, 0x800a
|
||||
/* 01145C 8003605C 24A5A650 */ addiu $a1, $a1, -0x59b0
|
||||
/* 011460 80036060 2404FFF7 */ addiu $a0, $zero, -9
|
||||
/* 011464 80036064 8CA20000 */ lw $v0, ($a1)
|
||||
/* 011468 80036068 96030000 */ lhu $v1, ($s0)
|
||||
/* 01146C 8003606C 00441024 */ and $v0, $v0, $a0
|
||||
/* 011470 80036070 24630001 */ addiu $v1, $v1, 1
|
||||
/* 011474 80036074 ACA20000 */ sw $v0, ($a1)
|
||||
/* 011478 80036078 0800D83B */ j .L800360EC
|
||||
/* 01147C 8003607C A6030000 */ sh $v1, ($s0)
|
||||
|
||||
.L80036080:
|
||||
/* 011480 80036080 0C00E64C */ jal func_80039930
|
||||
/* 011484 80036084 00000000 */ nop
|
||||
/* 011488 80036088 0C037DD0 */ jal func_800DF740
|
||||
/* 01148C 8003608C 00000000 */ nop
|
||||
/* 011490 80036090 0C016754 */ jal func_80059D50
|
||||
/* 011494 80036094 00000000 */ nop
|
||||
/* 011498 80036098 0C00B500 */ jal update_cameras
|
||||
/* 01149C 8003609C 00000000 */ nop
|
||||
/* 0114A0 800360A0 3C04800A */ lui $a0, 0x800a
|
||||
/* 0114A4 800360A4 24840940 */ addiu $a0, $a0, 0x940
|
||||
/* 0114A8 800360A8 0C04E175 */ jal func_801385D4
|
||||
/* 0114AC 800360AC 00000000 */ nop
|
||||
/* 0114B0 800360B0 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 0114B4 800360B4 1040000D */ beqz $v0, .L800360EC
|
||||
/* 0114B8 800360B8 00000000 */ nop
|
||||
/* 0114BC 800360BC 3C028007 */ lui $v0, 0x8007
|
||||
/* 0114C0 800360C0 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0114C4 800360C4 80420071 */ lb $v0, 0x71($v0)
|
||||
/* 0114C8 800360C8 14400003 */ bnez $v0, .L800360D8
|
||||
/* 0114CC 800360CC 00000000 */ nop
|
||||
/* 0114D0 800360D0 0C038069 */ jal func_800E01A4
|
||||
/* 0114D4 800360D4 00000000 */ nop
|
||||
.L800360D8:
|
||||
/* 0114D8 800360D8 3C05BF80 */ lui $a1, 0xbf80
|
||||
/* 0114DC 800360DC 0C04DF62 */ jal func_80137D88
|
||||
/* 0114E0 800360E0 240400FF */ addiu $a0, $zero, 0xff
|
||||
/* 0114E4 800360E4 0C00CD3C */ jal set_game_mode
|
||||
/* 0114E8 800360E8 24040004 */ addiu $a0, $zero, 4
|
||||
.L800360EC:
|
||||
/* 0114EC 800360EC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 0114F0 800360F0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0114F4 800360F4 03E00008 */ jr $ra
|
||||
/* 0114F8 800360F8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 0114FC 800360FC 3C028007 */ lui $v0, 0x8007
|
||||
/* 011500 80036100 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 011504 80036104 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 011508 80036108 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 01150C 8003610C 804300AC */ lb $v1, 0xac($v0)
|
||||
/* 011510 80036110 24020002 */ addiu $v0, $zero, 2
|
||||
/* 011514 80036114 14620003 */ bne $v1, $v0, .L80036124
|
||||
/* 011518 80036118 00000000 */ nop
|
||||
/* 01151C 8003611C 0C03A5CF */ jal func_800E973C
|
||||
/* 011520 80036120 00000000 */ nop
|
||||
.L80036124:
|
||||
/* 011524 80036124 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 011528 80036128 03E00008 */ jr $ra
|
||||
/* 01152C 8003612C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 011530 80036130 3C058007 */ lui $a1, 0x8007
|
||||
/* 011534 80036134 8CA5419C */ lw $a1, 0x419c($a1)
|
||||
/* 011538 80036138 84A40088 */ lh $a0, 0x88($a1)
|
||||
/* 01153C 8003613C 84A30086 */ lh $v1, 0x86($a1)
|
||||
/* 011540 80036140 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 011544 80036144 3C01800A */ lui $at, 0x800a
|
||||
/* 011548 80036148 A4200940 */ sh $zero, 0x940($at)
|
||||
/* 01154C 8003614C 3C01800A */ lui $at, 0x800a
|
||||
/* 011550 80036150 A4220942 */ sh $v0, 0x942($at)
|
||||
/* 011554 80036154 3C01800A */ lui $at, 0x800a
|
||||
/* 011558 80036158 A4200944 */ sh $zero, 0x944($at)
|
||||
/* 01155C 8003615C 10830005 */ beq $a0, $v1, .L80036174
|
||||
/* 011560 80036160 24020001 */ addiu $v0, $zero, 1
|
||||
/* 011564 80036164 94A30086 */ lhu $v1, 0x86($a1)
|
||||
/* 011568 80036168 A4A2008A */ sh $v0, 0x8a($a1)
|
||||
/* 01156C 8003616C 03E00008 */ jr $ra
|
||||
/* 011570 80036170 A4A30088 */ sh $v1, 0x88($a1)
|
||||
|
||||
.L80036174:
|
||||
/* 011574 80036174 03E00008 */ jr $ra
|
||||
/* 011578 80036178 A4A0008A */ sh $zero, 0x8a($a1)
|
||||
|
||||
/* 01157C 8003617C 3C03800A */ lui $v1, 0x800a
|
||||
/* 011580 80036180 84630944 */ lh $v1, 0x944($v1)
|
||||
/* 011584 80036184 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 011588 80036188 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 01158C 8003618C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 011590 80036190 2C620005 */ sltiu $v0, $v1, 5
|
||||
/* 011594 80036194 10400094 */ beqz $v0, .L800363E8
|
||||
/* 011598 80036198 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 01159C 8003619C 00031080 */ sll $v0, $v1, 2
|
||||
/* 0115A0 800361A0 3C01800A */ lui $at, 0x800a
|
||||
/* 0115A4 800361A4 00220821 */ addu $at, $at, $v0
|
||||
/* 0115A8 800361A8 8C228320 */ lw $v0, -0x7ce0($at)
|
||||
/* 0115AC 800361AC 00400008 */ jr $v0
|
||||
/* 0115B0 800361B0 00000000 */ nop
|
||||
/* 0115B4 800361B4 0C00E64C */ jal func_80039930
|
||||
/* 0115B8 800361B8 00000000 */ nop
|
||||
/* 0115BC 800361BC 0C037DD0 */ jal func_800DF740
|
||||
/* 0115C0 800361C0 00000000 */ nop
|
||||
/* 0115C4 800361C4 0C016754 */ jal func_80059D50
|
||||
/* 0115C8 800361C8 00000000 */ nop
|
||||
/* 0115CC 800361CC 0C00B500 */ jal update_cameras
|
||||
/* 0115D0 800361D0 00000000 */ nop
|
||||
/* 0115D4 800361D4 3C04800A */ lui $a0, 0x800a
|
||||
/* 0115D8 800361D8 24840940 */ addiu $a0, $a0, 0x940
|
||||
/* 0115DC 800361DC 0C04E0AB */ jal func_801382AC
|
||||
/* 0115E0 800361E0 00000000 */ nop
|
||||
/* 0115E4 800361E4 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 0115E8 800361E8 1040007F */ beqz $v0, .L800363E8
|
||||
/* 0115EC 800361EC 00000000 */ nop
|
||||
/* 0115F0 800361F0 3C03800A */ lui $v1, 0x800a
|
||||
/* 0115F4 800361F4 24630944 */ addiu $v1, $v1, 0x944
|
||||
/* 0115F8 800361F8 94620000 */ lhu $v0, ($v1)
|
||||
/* 0115FC 800361FC 24420001 */ addiu $v0, $v0, 1
|
||||
/* 011600 80036200 0800D8FA */ j .L800363E8
|
||||
/* 011604 80036204 A4620000 */ sh $v0, ($v1)
|
||||
|
||||
/* 011608 80036208 3C03800A */ lui $v1, 0x800a
|
||||
/* 01160C 8003620C 2463A650 */ addiu $v1, $v1, -0x59b0
|
||||
/* 011610 80036210 8C620000 */ lw $v0, ($v1)
|
||||
/* 011614 80036214 34420008 */ ori $v0, $v0, 8
|
||||
/* 011618 80036218 0C018028 */ jal nuContRmbForceStop
|
||||
/* 01161C 8003621C AC620000 */ sw $v0, ($v1)
|
||||
/* 011620 80036220 3C04800A */ lui $a0, 0x800a
|
||||
/* 011624 80036224 24840944 */ addiu $a0, $a0, 0x944
|
||||
/* 011628 80036228 94820000 */ lhu $v0, ($a0)
|
||||
/* 01162C 8003622C 24030004 */ addiu $v1, $zero, 4
|
||||
/* 011630 80036230 3C01800A */ lui $at, 0x800a
|
||||
/* 011634 80036234 A4230946 */ sh $v1, 0x946($at)
|
||||
/* 011638 80036238 24420001 */ addiu $v0, $v0, 1
|
||||
/* 01163C 8003623C 0800D8FA */ j .L800363E8
|
||||
/* 011640 80036240 A4820000 */ sh $v0, ($a0)
|
||||
|
||||
/* 011644 80036244 3C108007 */ lui $s0, 0x8007
|
||||
/* 011648 80036248 2610419C */ addiu $s0, $s0, 0x419c
|
||||
/* 01164C 8003624C 8E020000 */ lw $v0, ($s0)
|
||||
/* 011650 80036250 80420071 */ lb $v0, 0x71($v0)
|
||||
/* 011654 80036254 10400003 */ beqz $v0, .L80036264
|
||||
/* 011658 80036258 00000000 */ nop
|
||||
/* 01165C 8003625C 0C00CD3C */ jal set_game_mode
|
||||
/* 011660 80036260 24040011 */ addiu $a0, $zero, 0x11
|
||||
.L80036264:
|
||||
/* 011664 80036264 3C11800A */ lui $s1, 0x800a
|
||||
/* 011668 80036268 26310946 */ addiu $s1, $s1, 0x946
|
||||
/* 01166C 8003626C 86220000 */ lh $v0, ($s1)
|
||||
/* 011670 80036270 96230000 */ lhu $v1, ($s1)
|
||||
/* 011674 80036274 10400003 */ beqz $v0, .L80036284
|
||||
/* 011678 80036278 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 01167C 8003627C 0800D8FA */ j .L800363E8
|
||||
/* 011680 80036280 A6220000 */ sh $v0, ($s1)
|
||||
|
||||
.L80036284:
|
||||
/* 011684 80036284 8E020000 */ lw $v0, ($s0)
|
||||
/* 011688 80036288 A0400070 */ sb $zero, 0x70($v0)
|
||||
/* 01168C 8003628C 8E020000 */ lw $v0, ($s0)
|
||||
/* 011690 80036290 A0400078 */ sb $zero, 0x78($v0)
|
||||
/* 011694 80036294 8E020000 */ lw $v0, ($s0)
|
||||
/* 011698 80036298 84440086 */ lh $a0, 0x86($v0)
|
||||
/* 01169C 8003629C 8445008C */ lh $a1, 0x8c($v0)
|
||||
/* 0116A0 800362A0 0C0169BD */ jal load_map_by_IDs
|
||||
/* 0116A4 800362A4 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0116A8 800362A8 0C009C22 */ jal func_80027088
|
||||
/* 0116AC 800362AC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0116B0 800362B0 0C018030 */ jal nuContRmbForceStopEnd
|
||||
/* 0116B4 800362B4 00000000 */ nop
|
||||
/* 0116B8 800362B8 8E020000 */ lw $v0, ($s0)
|
||||
/* 0116BC 800362BC 80420071 */ lb $v0, 0x71($v0)
|
||||
/* 0116C0 800362C0 14400003 */ bnez $v0, .L800362D0
|
||||
/* 0116C4 800362C4 00000000 */ nop
|
||||
/* 0116C8 800362C8 0C03805E */ jal func_800E0178
|
||||
/* 0116CC 800362CC 00000000 */ nop
|
||||
.L800362D0:
|
||||
/* 0116D0 800362D0 0C00B500 */ jal update_cameras
|
||||
/* 0116D4 800362D4 00000000 */ nop
|
||||
/* 0116D8 800362D8 3C02800A */ lui $v0, 0x800a
|
||||
/* 0116DC 800362DC 24420944 */ addiu $v0, $v0, 0x944
|
||||
/* 0116E0 800362E0 94430000 */ lhu $v1, ($v0)
|
||||
/* 0116E4 800362E4 24040002 */ addiu $a0, $zero, 2
|
||||
/* 0116E8 800362E8 A6240000 */ sh $a0, ($s1)
|
||||
/* 0116EC 800362EC 24630001 */ addiu $v1, $v1, 1
|
||||
/* 0116F0 800362F0 0800D8FA */ j .L800363E8
|
||||
/* 0116F4 800362F4 A4430000 */ sh $v1, ($v0)
|
||||
|
||||
/* 0116F8 800362F8 0C00F949 */ jal func_8003E524
|
||||
/* 0116FC 800362FC 00000000 */ nop
|
||||
/* 011700 80036300 0C00E64C */ jal func_80039930
|
||||
/* 011704 80036304 00000000 */ nop
|
||||
/* 011708 80036308 0C037DD0 */ jal func_800DF740
|
||||
/* 01170C 8003630C 00000000 */ nop
|
||||
/* 011710 80036310 0C00B500 */ jal update_cameras
|
||||
/* 011714 80036314 00000000 */ nop
|
||||
/* 011718 80036318 3C04800A */ lui $a0, 0x800a
|
||||
/* 01171C 8003631C 24840946 */ addiu $a0, $a0, 0x946
|
||||
/* 011720 80036320 84820000 */ lh $v0, ($a0)
|
||||
/* 011724 80036324 94830000 */ lhu $v1, ($a0)
|
||||
/* 011728 80036328 10400003 */ beqz $v0, .L80036338
|
||||
/* 01172C 8003632C 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 011730 80036330 0800D8FA */ j .L800363E8
|
||||
/* 011734 80036334 A4820000 */ sh $v0, ($a0)
|
||||
|
||||
.L80036338:
|
||||
/* 011738 80036338 3C028007 */ lui $v0, 0x8007
|
||||
/* 01173C 8003633C 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 011740 80036340 0C0B1059 */ jal does_script_exist
|
||||
/* 011744 80036344 8C44006C */ lw $a0, 0x6c($v0)
|
||||
/* 011748 80036348 14400027 */ bnez $v0, .L800363E8
|
||||
/* 01174C 8003634C 2405FFF7 */ addiu $a1, $zero, -9
|
||||
/* 011750 80036350 3C04800A */ lui $a0, 0x800a
|
||||
/* 011754 80036354 2484A650 */ addiu $a0, $a0, -0x59b0
|
||||
/* 011758 80036358 3C06800A */ lui $a2, 0x800a
|
||||
/* 01175C 8003635C 24C60944 */ addiu $a2, $a2, 0x944
|
||||
/* 011760 80036360 8C820000 */ lw $v0, ($a0)
|
||||
/* 011764 80036364 94C30000 */ lhu $v1, ($a2)
|
||||
/* 011768 80036368 00451024 */ and $v0, $v0, $a1
|
||||
/* 01176C 8003636C 24630001 */ addiu $v1, $v1, 1
|
||||
/* 011770 80036370 AC820000 */ sw $v0, ($a0)
|
||||
/* 011774 80036374 0800D8FA */ j .L800363E8
|
||||
/* 011778 80036378 A4C30000 */ sh $v1, ($a2)
|
||||
|
||||
/* 01177C 8003637C 0C00E64C */ jal func_80039930
|
||||
/* 011780 80036380 00000000 */ nop
|
||||
/* 011784 80036384 0C037DD0 */ jal func_800DF740
|
||||
/* 011788 80036388 00000000 */ nop
|
||||
/* 01178C 8003638C 0C016754 */ jal func_80059D50
|
||||
/* 011790 80036390 00000000 */ nop
|
||||
/* 011794 80036394 0C00B500 */ jal update_cameras
|
||||
/* 011798 80036398 00000000 */ nop
|
||||
/* 01179C 8003639C 3C04800A */ lui $a0, 0x800a
|
||||
/* 0117A0 800363A0 24840940 */ addiu $a0, $a0, 0x940
|
||||
/* 0117A4 800363A4 0C04E175 */ jal func_801385D4
|
||||
/* 0117A8 800363A8 00000000 */ nop
|
||||
/* 0117AC 800363AC 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 0117B0 800363B0 1040000D */ beqz $v0, .L800363E8
|
||||
/* 0117B4 800363B4 00000000 */ nop
|
||||
/* 0117B8 800363B8 3C028007 */ lui $v0, 0x8007
|
||||
/* 0117BC 800363BC 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0117C0 800363C0 80420071 */ lb $v0, 0x71($v0)
|
||||
/* 0117C4 800363C4 14400003 */ bnez $v0, .L800363D4
|
||||
/* 0117C8 800363C8 00000000 */ nop
|
||||
/* 0117CC 800363CC 0C038069 */ jal func_800E01A4
|
||||
/* 0117D0 800363D0 00000000 */ nop
|
||||
.L800363D4:
|
||||
/* 0117D4 800363D4 3C05BF80 */ lui $a1, 0xbf80
|
||||
/* 0117D8 800363D8 0C04DF62 */ jal func_80137D88
|
||||
/* 0117DC 800363DC 240400FF */ addiu $a0, $zero, 0xff
|
||||
/* 0117E0 800363E0 0C00CD3C */ jal set_game_mode
|
||||
/* 0117E4 800363E4 24040004 */ addiu $a0, $zero, 4
|
||||
.L800363E8:
|
||||
/* 0117E8 800363E8 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0117EC 800363EC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0117F0 800363F0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0117F4 800363F4 03E00008 */ jr $ra
|
||||
/* 0117F8 800363F8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 0117FC 800363FC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 011800 80036400 3C03800A */ lui $v1, 0x800a
|
||||
/* 011804 80036404 84630944 */ lh $v1, 0x944($v1)
|
||||
/* 011808 80036408 24020004 */ addiu $v0, $zero, 4
|
||||
/* 01180C 8003640C 10620003 */ beq $v1, $v0, .L8003641C
|
||||
/* 011810 80036410 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 011814 80036414 14600003 */ bnez $v1, .L80036424
|
||||
/* 011818 80036418 00000000 */ nop
|
||||
.L8003641C:
|
||||
/* 01181C 8003641C 0C03A5CF */ jal func_800E973C
|
||||
/* 011820 80036420 00000000 */ nop
|
||||
.L80036424:
|
||||
/* 011824 80036424 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 011828 80036428 03E00008 */ jr $ra
|
||||
/* 01182C 8003642C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 011830 80036430 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 011834 80036434 3C01800A */ lui $at, 0x800a
|
||||
/* 011838 80036438 A4220940 */ sh $v0, 0x940($at)
|
||||
/* 01183C 8003643C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 011840 80036440 3C048011 */ lui $a0, 0x8011
|
||||
/* 011844 80036444 2484EFC8 */ addiu $a0, $a0, -0x1038
|
||||
/* 011848 80036448 3C01800A */ lui $at, 0x800a
|
||||
/* 01184C 8003644C A4220942 */ sh $v0, 0x942($at)
|
||||
/* 011850 80036450 8C820000 */ lw $v0, ($a0)
|
||||
/* 011854 80036454 24030001 */ addiu $v1, $zero, 1
|
||||
/* 011858 80036458 3C01800A */ lui $at, 0x800a
|
||||
/* 01185C 8003645C A4230944 */ sh $v1, 0x944($at)
|
||||
/* 011860 80036460 34421000 */ ori $v0, $v0, 0x1000
|
||||
/* 011864 80036464 03E00008 */ jr $ra
|
||||
/* 011868 80036468 AC820000 */ sw $v0, ($a0)
|
||||
|
||||
/* 01186C 8003646C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 011870 80036470 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 011874 80036474 3C10800A */ lui $s0, 0x800a
|
||||
/* 011878 80036478 26100944 */ addiu $s0, $s0, 0x944
|
||||
/* 01187C 8003647C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 011880 80036480 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 011884 80036484 86030000 */ lh $v1, ($s0)
|
||||
/* 011888 80036488 96070000 */ lhu $a3, ($s0)
|
||||
/* 01188C 8003648C 1062001A */ beq $v1, $v0, .L800364F8
|
||||
/* 011890 80036490 28620003 */ slti $v0, $v1, 3
|
||||
/* 011894 80036494 10400005 */ beqz $v0, .L800364AC
|
||||
/* 011898 80036498 24020001 */ addiu $v0, $zero, 1
|
||||
/* 01189C 8003649C 1062000A */ beq $v1, $v0, .L800364C8
|
||||
/* 0118A0 800364A0 00000000 */ nop
|
||||
/* 0118A4 800364A4 0800D984 */ j .L80036610
|
||||
/* 0118A8 800364A8 00000000 */ nop
|
||||
|
||||
.L800364AC:
|
||||
/* 0118AC 800364AC 24020003 */ addiu $v0, $zero, 3
|
||||
/* 0118B0 800364B0 1062002A */ beq $v1, $v0, .L8003655C
|
||||
/* 0118B4 800364B4 24020004 */ addiu $v0, $zero, 4
|
||||
/* 0118B8 800364B8 1062003C */ beq $v1, $v0, .L800365AC
|
||||
/* 0118BC 800364BC 00000000 */ nop
|
||||
/* 0118C0 800364C0 0800D984 */ j .L80036610
|
||||
/* 0118C4 800364C4 00000000 */ nop
|
||||
|
||||
.L800364C8:
|
||||
/* 0118C8 800364C8 3C03800A */ lui $v1, 0x800a
|
||||
/* 0118CC 800364CC 2463A650 */ addiu $v1, $v1, -0x59b0
|
||||
/* 0118D0 800364D0 8C620000 */ lw $v0, ($v1)
|
||||
/* 0118D4 800364D4 34420008 */ ori $v0, $v0, 8
|
||||
/* 0118D8 800364D8 0C018028 */ jal nuContRmbForceStop
|
||||
/* 0118DC 800364DC AC620000 */ sw $v0, ($v1)
|
||||
/* 0118E0 800364E0 96020000 */ lhu $v0, ($s0)
|
||||
/* 0118E4 800364E4 24030004 */ addiu $v1, $zero, 4
|
||||
/* 0118E8 800364E8 3C01800A */ lui $at, 0x800a
|
||||
/* 0118EC 800364EC A4230946 */ sh $v1, 0x946($at)
|
||||
/* 0118F0 800364F0 0800D955 */ j .L80036554
|
||||
/* 0118F4 800364F4 24420001 */ addiu $v0, $v0, 1
|
||||
|
||||
.L800364F8:
|
||||
/* 0118F8 800364F8 3C04800A */ lui $a0, 0x800a
|
||||
/* 0118FC 800364FC 24840946 */ addiu $a0, $a0, 0x946
|
||||
/* 011900 80036500 84820000 */ lh $v0, ($a0)
|
||||
/* 011904 80036504 94830000 */ lhu $v1, ($a0)
|
||||
/* 011908 80036508 10400003 */ beqz $v0, .L80036518
|
||||
/* 01190C 8003650C 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 011910 80036510 0800D984 */ j .L80036610
|
||||
/* 011914 80036514 A4820000 */ sh $v0, ($a0)
|
||||
|
||||
.L80036518:
|
||||
/* 011918 80036518 3C038007 */ lui $v1, 0x8007
|
||||
/* 01191C 8003651C 2463419C */ addiu $v1, $v1, 0x419c
|
||||
/* 011920 80036520 8C620000 */ lw $v0, ($v1)
|
||||
/* 011924 80036524 A0400070 */ sb $zero, 0x70($v0)
|
||||
/* 011928 80036528 8C620000 */ lw $v0, ($v1)
|
||||
/* 01192C 8003652C A0400078 */ sb $zero, 0x78($v0)
|
||||
/* 011930 80036530 8C620000 */ lw $v0, ($v1)
|
||||
/* 011934 80036534 84440086 */ lh $a0, 0x86($v0)
|
||||
/* 011938 80036538 8445008C */ lh $a1, 0x8c($v0)
|
||||
/* 01193C 8003653C 0C0169BD */ jal load_map_by_IDs
|
||||
/* 011940 80036540 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 011944 80036544 0C018030 */ jal nuContRmbForceStopEnd
|
||||
/* 011948 80036548 00000000 */ nop
|
||||
/* 01194C 8003654C 96020000 */ lhu $v0, ($s0)
|
||||
/* 011950 80036550 24420001 */ addiu $v0, $v0, 1
|
||||
.L80036554:
|
||||
/* 011954 80036554 0800D984 */ j .L80036610
|
||||
/* 011958 80036558 A6020000 */ sh $v0, ($s0)
|
||||
|
||||
.L8003655C:
|
||||
/* 01195C 8003655C 0C00F949 */ jal func_8003E524
|
||||
/* 011960 80036560 00000000 */ nop
|
||||
/* 011964 80036564 0C00E64C */ jal func_80039930
|
||||
/* 011968 80036568 00000000 */ nop
|
||||
/* 01196C 8003656C 3C028007 */ lui $v0, 0x8007
|
||||
/* 011970 80036570 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 011974 80036574 0C0B1059 */ jal does_script_exist
|
||||
/* 011978 80036578 8C44006C */ lw $a0, 0x6c($v0)
|
||||
/* 01197C 8003657C 1440002C */ bnez $v0, .L80036630
|
||||
/* 011980 80036580 00000000 */ nop
|
||||
/* 011984 80036584 3C05800A */ lui $a1, 0x800a
|
||||
/* 011988 80036588 24A5A650 */ addiu $a1, $a1, -0x59b0
|
||||
/* 01198C 8003658C 2404FFF7 */ addiu $a0, $zero, -9
|
||||
/* 011990 80036590 8CA20000 */ lw $v0, ($a1)
|
||||
/* 011994 80036594 96030000 */ lhu $v1, ($s0)
|
||||
/* 011998 80036598 00441024 */ and $v0, $v0, $a0
|
||||
/* 01199C 8003659C 24630001 */ addiu $v1, $v1, 1
|
||||
/* 0119A0 800365A0 ACA20000 */ sw $v0, ($a1)
|
||||
/* 0119A4 800365A4 0800D984 */ j .L80036610
|
||||
/* 0119A8 800365A8 A6030000 */ sh $v1, ($s0)
|
||||
|
||||
.L800365AC:
|
||||
/* 0119AC 800365AC 3C06800A */ lui $a2, 0x800a
|
||||
/* 0119B0 800365B0 24C60940 */ addiu $a2, $a2, 0x940
|
||||
/* 0119B4 800365B4 94C20000 */ lhu $v0, ($a2)
|
||||
/* 0119B8 800365B8 3C03800A */ lui $v1, 0x800a
|
||||
/* 0119BC 800365BC 94630942 */ lhu $v1, 0x942($v1)
|
||||
/* 0119C0 800365C0 00431023 */ subu $v0, $v0, $v1
|
||||
/* 0119C4 800365C4 A4C20000 */ sh $v0, ($a2)
|
||||
/* 0119C8 800365C8 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 0119CC 800365CC 04410008 */ bgez $v0, .L800365F0
|
||||
/* 0119D0 800365D0 240400FF */ addiu $a0, $zero, 0xff
|
||||
/* 0119D4 800365D4 3C05BF80 */ lui $a1, 0xbf80
|
||||
/* 0119D8 800365D8 24E20001 */ addiu $v0, $a3, 1
|
||||
/* 0119DC 800365DC A4C00000 */ sh $zero, ($a2)
|
||||
/* 0119E0 800365E0 0C04DF62 */ jal func_80137D88
|
||||
/* 0119E4 800365E4 A6020000 */ sh $v0, ($s0)
|
||||
/* 0119E8 800365E8 0C00CD3C */ jal set_game_mode
|
||||
/* 0119EC 800365EC 24040004 */ addiu $a0, $zero, 4
|
||||
.L800365F0:
|
||||
/* 0119F0 800365F0 0C00E64C */ jal func_80039930
|
||||
/* 0119F4 800365F4 00000000 */ nop
|
||||
/* 0119F8 800365F8 0C037DD0 */ jal func_800DF740
|
||||
/* 0119FC 800365FC 00000000 */ nop
|
||||
/* 011A00 80036600 0C016754 */ jal func_80059D50
|
||||
/* 011A04 80036604 00000000 */ nop
|
||||
/* 011A08 80036608 0C00B500 */ jal update_cameras
|
||||
/* 011A0C 8003660C 00000000 */ nop
|
||||
.L80036610:
|
||||
/* 011A10 80036610 3C02800A */ lui $v0, 0x800a
|
||||
/* 011A14 80036614 84420940 */ lh $v0, 0x940($v0)
|
||||
/* 011A18 80036618 44820000 */ mtc1 $v0, $f0
|
||||
/* 011A1C 8003661C 00000000 */ nop
|
||||
/* 011A20 80036620 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 011A24 80036624 44050000 */ mfc1 $a1, $f0
|
||||
/* 011A28 80036628 0C04DF62 */ jal func_80137D88
|
||||
/* 011A2C 8003662C 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80036630:
|
||||
/* 011A30 80036630 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 011A34 80036634 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 011A38 80036638 03E00008 */ jr $ra
|
||||
/* 011A3C 8003663C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 011A40 80036640 03E00008 */ jr $ra
|
||||
/* 011A44 80036644 00000000 */ nop
|
||||
|
||||
/* 011A48 80036648 00000000 */ nop
|
||||
/* 011A4C 8003664C 00000000 */ nop
|
||||
|
||||
.set reorder
|
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
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
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
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
@ -1,859 +0,0 @@
|
||||
# %s disassembly and split file
|
||||
# generated by n64split v%s - N64 ROM splitter
|
||||
|
||||
# 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
|
||||
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8002AE40, "ax"
|
||||
|
||||
glabel get_spirits_rescued
|
||||
/* 006240 8002AE40 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 006244 8002AE44 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 006248 8002AE48 3C05F5DE */ lui $a1, 0xf5de
|
||||
/* 00624C 8002AE4C 34A50180 */ ori $a1, $a1, 0x180
|
||||
/* 006250 8002AE50 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 006254 8002AE54 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 006258 8002AE58 0C0B1EAF */ jal get_variable
|
||||
/* 00625C 8002AE5C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 006260 8002AE60 24110007 */ addiu $s1, $zero, 7
|
||||
/* 006264 8002AE64 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 006268 8002AE68 2405FFB3 */ addiu $a1, $zero, -0x4d
|
||||
/* 00626C 8002AE6C 0C0B1EAF */ jal get_variable
|
||||
/* 006270 8002AE70 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 006274 8002AE74 0202102A */ slt $v0, $s0, $v0
|
||||
/* 006278 8002AE78 10400003 */ beqz $v0, .L8002AE88
|
||||
/* 00627C 8002AE7C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 006280 8002AE80 0800ABCA */ j .L8002AF28
|
||||
/* 006284 8002AE84 0000882D */ daddu $s1, $zero, $zero
|
||||
|
||||
.L8002AE88:
|
||||
/* 006288 8002AE88 0C0B1EAF */ jal get_variable
|
||||
/* 00628C 8002AE8C 2405FFC9 */ addiu $a1, $zero, -0x37
|
||||
/* 006290 8002AE90 0202102A */ slt $v0, $s0, $v0
|
||||
/* 006294 8002AE94 10400003 */ beqz $v0, .L8002AEA4
|
||||
/* 006298 8002AE98 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 00629C 8002AE9C 0800ABCA */ j .L8002AF28
|
||||
/* 0062A0 8002AEA0 24110001 */ addiu $s1, $zero, 1
|
||||
|
||||
.L8002AEA4:
|
||||
/* 0062A4 8002AEA4 0C0B1EAF */ jal get_variable
|
||||
/* 0062A8 8002AEA8 2405FFF1 */ addiu $a1, $zero, -0xf
|
||||
/* 0062AC 8002AEAC 0202102A */ slt $v0, $s0, $v0
|
||||
/* 0062B0 8002AEB0 10400003 */ beqz $v0, .L8002AEC0
|
||||
/* 0062B4 8002AEB4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0062B8 8002AEB8 0800ABCA */ j .L8002AF28
|
||||
/* 0062BC 8002AEBC 24110002 */ addiu $s1, $zero, 2
|
||||
|
||||
.L8002AEC0:
|
||||
/* 0062C0 8002AEC0 0C0B1EAF */ jal get_variable
|
||||
/* 0062C4 8002AEC4 24050005 */ addiu $a1, $zero, 5
|
||||
/* 0062C8 8002AEC8 0202102A */ slt $v0, $s0, $v0
|
||||
/* 0062CC 8002AECC 10400003 */ beqz $v0, .L8002AEDC
|
||||
/* 0062D0 8002AED0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0062D4 8002AED4 0800ABCA */ j .L8002AF28
|
||||
/* 0062D8 8002AED8 24110003 */ addiu $s1, $zero, 3
|
||||
|
||||
.L8002AEDC:
|
||||
/* 0062DC 8002AEDC 0C0B1EAF */ jal get_variable
|
||||
/* 0062E0 8002AEE0 24050025 */ addiu $a1, $zero, 0x25
|
||||
/* 0062E4 8002AEE4 0202102A */ slt $v0, $s0, $v0
|
||||
/* 0062E8 8002AEE8 10400003 */ beqz $v0, .L8002AEF8
|
||||
/* 0062EC 8002AEEC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0062F0 8002AEF0 0800ABCA */ j .L8002AF28
|
||||
/* 0062F4 8002AEF4 24110004 */ addiu $s1, $zero, 4
|
||||
|
||||
.L8002AEF8:
|
||||
/* 0062F8 8002AEF8 0C0B1EAF */ jal get_variable
|
||||
/* 0062FC 8002AEFC 24050039 */ addiu $a1, $zero, 0x39
|
||||
/* 006300 8002AF00 0202102A */ slt $v0, $s0, $v0
|
||||
/* 006304 8002AF04 10400003 */ beqz $v0, .L8002AF14
|
||||
/* 006308 8002AF08 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 00630C 8002AF0C 0800ABCA */ j .L8002AF28
|
||||
/* 006310 8002AF10 24110005 */ addiu $s1, $zero, 5
|
||||
|
||||
.L8002AF14:
|
||||
/* 006314 8002AF14 0C0B1EAF */ jal get_variable
|
||||
/* 006318 8002AF18 24050057 */ addiu $a1, $zero, 0x57
|
||||
/* 00631C 8002AF1C 0202102A */ slt $v0, $s0, $v0
|
||||
/* 006320 8002AF20 54400001 */ bnel $v0, $zero, .L8002AF28
|
||||
/* 006324 8002AF24 24110006 */ addiu $s1, $zero, 6
|
||||
.L8002AF28:
|
||||
/* 006328 8002AF28 0220102D */ daddu $v0, $s1, $zero
|
||||
/* 00632C 8002AF2C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 006330 8002AF30 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 006334 8002AF34 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 006338 8002AF38 03E00008 */ jr $ra
|
||||
/* 00633C 8002AF3C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel fio_calc_header_checksum
|
||||
/* 006340 8002AF40 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 006344 8002AF44 3C04800E */ lui $a0, 0x800e
|
||||
/* 006348 8002AF48 248495E8 */ addiu $a0, $a0, -0x6a18
|
||||
/* 00634C 8002AF4C 00A0182D */ daddu $v1, $a1, $zero
|
||||
.L8002AF50:
|
||||
/* 006350 8002AF50 24630001 */ addiu $v1, $v1, 1
|
||||
/* 006354 8002AF54 8C820000 */ lw $v0, ($a0)
|
||||
/* 006358 8002AF58 00A22821 */ addu $a1, $a1, $v0
|
||||
/* 00635C 8002AF5C 2C620020 */ sltiu $v0, $v1, 0x20
|
||||
/* 006360 8002AF60 1440FFFB */ bnez $v0, .L8002AF50
|
||||
/* 006364 8002AF64 24840004 */ addiu $a0, $a0, 4
|
||||
/* 006368 8002AF68 03E00008 */ jr $ra
|
||||
/* 00636C 8002AF6C 00A0102D */ daddu $v0, $a1, $zero
|
||||
|
||||
glabel fio_validate_header_checksums
|
||||
/* 006370 8002AF70 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006374 8002AF74 3C02800E */ lui $v0, 0x800e
|
||||
/* 006378 8002AF78 244295E8 */ addiu $v0, $v0, -0x6a18
|
||||
/* 00637C 8002AF7C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 006380 8002AF80 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 006384 8002AF84 3C058007 */ lui $a1, 0x8007
|
||||
/* 006388 8002AF88 24A545D0 */ addiu $a1, $a1, 0x45d0
|
||||
/* 00638C 8002AF8C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 006390 8002AF90 0C01BB5C */ jal strcmp
|
||||
/* 006394 8002AF94 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 006398 8002AF98 1440000B */ bnez $v0, .L8002AFC8
|
||||
/* 00639C 8002AF9C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 0063A0 8002AFA0 8E020034 */ lw $v0, 0x34($s0)
|
||||
/* 0063A4 8002AFA4 8E030030 */ lw $v1, 0x30($s0)
|
||||
/* 0063A8 8002AFA8 00021027 */ nor $v0, $zero, $v0
|
||||
/* 0063AC 8002AFAC 54620006 */ bnel $v1, $v0, .L8002AFC8
|
||||
/* 0063B0 8002AFB0 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 0063B4 8002AFB4 0C00ABD0 */ jal fio_calc_header_checksum
|
||||
/* 0063B8 8002AFB8 00000000 */ nop
|
||||
/* 0063BC 8002AFBC 8E030030 */ lw $v1, 0x30($s0)
|
||||
/* 0063C0 8002AFC0 00431026 */ xor $v0, $v0, $v1
|
||||
/* 0063C4 8002AFC4 2C420001 */ sltiu $v0, $v0, 1
|
||||
.L8002AFC8:
|
||||
/* 0063C8 8002AFC8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 0063CC 8002AFCC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0063D0 8002AFD0 03E00008 */ jr $ra
|
||||
/* 0063D4 8002AFD4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel fio_has_valid_backup
|
||||
/* 0063D8 8002AFD8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0063DC 8002AFDC 24040006 */ addiu $a0, $zero, 6
|
||||
/* 0063E0 8002AFE0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0063E4 8002AFE4 3C10800E */ lui $s0, 0x800e
|
||||
/* 0063E8 8002AFE8 261095E8 */ addiu $s0, $s0, -0x6a18
|
||||
/* 0063EC 8002AFEC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 0063F0 8002AFF0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 0063F4 8002AFF4 0C00AE1A */ jal fio_read_flash
|
||||
/* 0063F8 8002AFF8 24060080 */ addiu $a2, $zero, 0x80
|
||||
/* 0063FC 8002AFFC 0C00ABDC */ jal fio_validate_header_checksums
|
||||
/* 006400 8002B000 00000000 */ nop
|
||||
/* 006404 8002B004 1440000D */ bnez $v0, .L8002B03C
|
||||
/* 006408 8002B008 24020001 */ addiu $v0, $zero, 1
|
||||
/* 00640C 8002B00C 24040007 */ addiu $a0, $zero, 7
|
||||
/* 006410 8002B010 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 006414 8002B014 0C00AE1A */ jal fio_read_flash
|
||||
/* 006418 8002B018 24060080 */ addiu $a2, $zero, 0x80
|
||||
/* 00641C 8002B01C 0C00ABDC */ jal fio_validate_header_checksums
|
||||
/* 006420 8002B020 00000000 */ nop
|
||||
/* 006424 8002B024 14400005 */ bnez $v0, .L8002B03C
|
||||
/* 006428 8002B028 24020001 */ addiu $v0, $zero, 1
|
||||
/* 00642C 8002B02C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 006430 8002B030 0C01925C */ jal bzero
|
||||
/* 006434 8002B034 24050080 */ addiu $a1, $zero, 0x80
|
||||
/* 006438 8002B038 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8002B03C:
|
||||
/* 00643C 8002B03C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 006440 8002B040 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 006444 8002B044 03E00008 */ jr $ra
|
||||
/* 006448 8002B048 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel fio_flush_backups
|
||||
/* 00644C 8002B04C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006450 8002B050 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 006454 8002B054 3C10800E */ lui $s0, 0x800e
|
||||
/* 006458 8002B058 261095E8 */ addiu $s0, $s0, -0x6a18
|
||||
/* 00645C 8002B05C 3C058007 */ lui $a1, 0x8007
|
||||
/* 006460 8002B060 24A545D0 */ addiu $a1, $a1, 0x45d0
|
||||
/* 006464 8002B064 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 006468 8002B068 0C01BB50 */ jal strcpy
|
||||
/* 00646C 8002B06C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 006470 8002B070 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 006474 8002B074 AE000030 */ sw $zero, 0x30($s0)
|
||||
/* 006478 8002B078 0C00ABD0 */ jal fio_calc_header_checksum
|
||||
/* 00647C 8002B07C AE020034 */ sw $v0, 0x34($s0)
|
||||
/* 006480 8002B080 24040006 */ addiu $a0, $zero, 6
|
||||
/* 006484 8002B084 AE020030 */ sw $v0, 0x30($s0)
|
||||
/* 006488 8002B088 00021027 */ nor $v0, $zero, $v0
|
||||
/* 00648C 8002B08C 0C00AE87 */ jal fio_erase_flash
|
||||
/* 006490 8002B090 AE020034 */ sw $v0, 0x34($s0)
|
||||
/* 006494 8002B094 24040006 */ addiu $a0, $zero, 6
|
||||
/* 006498 8002B098 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 00649C 8002B09C 0C00AE52 */ jal fio_write_flash
|
||||
/* 0064A0 8002B0A0 24060080 */ addiu $a2, $zero, 0x80
|
||||
/* 0064A4 8002B0A4 0C00AE87 */ jal fio_erase_flash
|
||||
/* 0064A8 8002B0A8 24040007 */ addiu $a0, $zero, 7
|
||||
/* 0064AC 8002B0AC 24040007 */ addiu $a0, $zero, 7
|
||||
/* 0064B0 8002B0B0 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 0064B4 8002B0B4 0C00AE52 */ jal fio_write_flash
|
||||
/* 0064B8 8002B0B8 24060080 */ addiu $a2, $zero, 0x80
|
||||
/* 0064BC 8002B0BC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 0064C0 8002B0C0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0064C4 8002B0C4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0064C8 8002B0C8 03E00008 */ jr $ra
|
||||
/* 0064CC 8002B0CC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel fio_calc_file_checksum
|
||||
/* 0064D0 8002B0D0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 0064D4 8002B0D4 00A0182D */ daddu $v1, $a1, $zero
|
||||
.L8002B0D8:
|
||||
/* 0064D8 8002B0D8 24630001 */ addiu $v1, $v1, 1
|
||||
/* 0064DC 8002B0DC 8C820000 */ lw $v0, ($a0)
|
||||
/* 0064E0 8002B0E0 00A22821 */ addu $a1, $a1, $v0
|
||||
/* 0064E4 8002B0E4 2C6204E0 */ sltiu $v0, $v1, 0x4e0
|
||||
/* 0064E8 8002B0E8 1440FFFB */ bnez $v0, .L8002B0D8
|
||||
/* 0064EC 8002B0EC 24840004 */ addiu $a0, $a0, 4
|
||||
/* 0064F0 8002B0F0 03E00008 */ jr $ra
|
||||
/* 0064F4 8002B0F4 00A0102D */ daddu $v0, $a1, $zero
|
||||
|
||||
glabel fio_validate_file_checksum
|
||||
/* 0064F8 8002B0F8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0064FC 8002B0FC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 006500 8002B100 3C058007 */ lui $a1, 0x8007
|
||||
/* 006504 8002B104 24A545D0 */ addiu $a1, $a1, 0x45d0
|
||||
/* 006508 8002B108 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 00650C 8002B10C 0C01BB5C */ jal strcmp
|
||||
/* 006510 8002B110 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 006514 8002B114 1440000B */ bnez $v0, .L8002B144
|
||||
/* 006518 8002B118 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 00651C 8002B11C 8E020034 */ lw $v0, 0x34($s0)
|
||||
/* 006520 8002B120 8E030030 */ lw $v1, 0x30($s0)
|
||||
/* 006524 8002B124 00021027 */ nor $v0, $zero, $v0
|
||||
/* 006528 8002B128 54620006 */ bnel $v1, $v0, .L8002B144
|
||||
/* 00652C 8002B12C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 006530 8002B130 0C00AC34 */ jal fio_calc_file_checksum
|
||||
/* 006534 8002B134 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 006538 8002B138 8E030030 */ lw $v1, 0x30($s0)
|
||||
/* 00653C 8002B13C 00431026 */ xor $v0, $v0, $v1
|
||||
/* 006540 8002B140 2C420001 */ sltiu $v0, $v0, 1
|
||||
.L8002B144:
|
||||
/* 006544 8002B144 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 006548 8002B148 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 00654C 8002B14C 03E00008 */ jr $ra
|
||||
/* 006550 8002B150 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel fio_fetch_saved_file_info
|
||||
/* 006554 8002B154 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 006558 8002B158 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 00655C 8002B15C 3C12800A */ lui $s2, 0x800a
|
||||
/* 006560 8002B160 2652A6B0 */ addiu $s2, $s2, -0x5950
|
||||
/* 006564 8002B164 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 006568 8002B168 0240A02D */ daddu $s4, $s2, $zero
|
||||
/* 00656C 8002B16C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 006570 8002B170 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 006574 8002B174 2404FFFF */ addiu $a0, $zero, -1
|
||||
/* 006578 8002B178 3C03800A */ lui $v1, 0x800a
|
||||
/* 00657C 8002B17C 2463BA30 */ addiu $v1, $v1, -0x45d0
|
||||
/* 006580 8002B180 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 006584 8002B184 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 006588 8002B188 AFB10014 */ sw $s1, 0x14($sp)
|
||||
.L8002B18C:
|
||||
/* 00658C 8002B18C AC640000 */ sw $a0, ($v1)
|
||||
/* 006590 8002B190 AC640004 */ sw $a0, 4($v1)
|
||||
/* 006594 8002B194 26100001 */ addiu $s0, $s0, 1
|
||||
/* 006598 8002B198 2A020004 */ slti $v0, $s0, 4
|
||||
/* 00659C 8002B19C 1440FFFB */ bnez $v0, .L8002B18C
|
||||
/* 0065A0 8002B1A0 24630008 */ addiu $v1, $v1, 8
|
||||
/* 0065A4 8002B1A4 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 0065A8 8002B1A8 3C13800A */ lui $s3, 0x800a
|
||||
/* 0065AC 8002B1AC 2673BA30 */ addiu $s3, $s3, -0x45d0
|
||||
/* 0065B0 8002B1B0 3C11800A */ lui $s1, 0x800a
|
||||
/* 0065B4 8002B1B4 2631BA50 */ addiu $s1, $s1, -0x45b0
|
||||
.L8002B1B8:
|
||||
/* 0065B8 8002B1B8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0065BC 8002B1BC 0280282D */ daddu $a1, $s4, $zero
|
||||
/* 0065C0 8002B1C0 0C00AE1A */ jal fio_read_flash
|
||||
/* 0065C4 8002B1C4 24061380 */ addiu $a2, $zero, 0x1380
|
||||
/* 0065C8 8002B1C8 0C00AC3E */ jal fio_validate_file_checksum
|
||||
/* 0065CC 8002B1CC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 0065D0 8002B1D0 50400014 */ beql $v0, $zero, .L8002B224
|
||||
/* 0065D4 8002B1D4 26100001 */ addiu $s0, $s0, 1
|
||||
/* 0065D8 8002B1D8 8E420038 */ lw $v0, 0x38($s2)
|
||||
/* 0065DC 8002B1DC AE220000 */ sw $v0, ($s1)
|
||||
/* 0065E0 8002B1E0 8E42003C */ lw $v0, 0x3c($s2)
|
||||
/* 0065E4 8002B1E4 AE220004 */ sw $v0, 4($s1)
|
||||
/* 0065E8 8002B1E8 8E420038 */ lw $v0, 0x38($s2)
|
||||
/* 0065EC 8002B1EC 8E43003C */ lw $v1, 0x3c($s2)
|
||||
/* 0065F0 8002B1F0 000210C0 */ sll $v0, $v0, 3
|
||||
/* 0065F4 8002B1F4 00532021 */ addu $a0, $v0, $s3
|
||||
/* 0065F8 8002B1F8 8C820004 */ lw $v0, 4($a0)
|
||||
/* 0065FC 8002B1FC 0043102A */ slt $v0, $v0, $v1
|
||||
/* 006600 8002B200 50400008 */ beql $v0, $zero, .L8002B224
|
||||
/* 006604 8002B204 26100001 */ addiu $s0, $s0, 1
|
||||
/* 006608 8002B208 AC900000 */ sw $s0, ($a0)
|
||||
/* 00660C 8002B20C 8E420038 */ lw $v0, 0x38($s2)
|
||||
/* 006610 8002B210 8E43003C */ lw $v1, 0x3c($s2)
|
||||
/* 006614 8002B214 000210C0 */ sll $v0, $v0, 3
|
||||
/* 006618 8002B218 00531021 */ addu $v0, $v0, $s3
|
||||
/* 00661C 8002B21C AC430004 */ sw $v1, 4($v0)
|
||||
/* 006620 8002B220 26100001 */ addiu $s0, $s0, 1
|
||||
.L8002B224:
|
||||
/* 006624 8002B224 2A020006 */ slti $v0, $s0, 6
|
||||
/* 006628 8002B228 1440FFE3 */ bnez $v0, .L8002B1B8
|
||||
/* 00662C 8002B22C 26310008 */ addiu $s1, $s1, 8
|
||||
/* 006630 8002B230 3C067FFF */ lui $a2, 0x7fff
|
||||
/* 006634 8002B234 34C6FFFF */ ori $a2, $a2, 0xffff
|
||||
/* 006638 8002B238 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 00663C 8002B23C 3C09800A */ lui $t1, 0x800a
|
||||
/* 006640 8002B240 2529BA30 */ addiu $t1, $t1, -0x45d0
|
||||
/* 006644 8002B244 24080004 */ addiu $t0, $zero, 4
|
||||
/* 006648 8002B248 3C07800A */ lui $a3, 0x800a
|
||||
/* 00664C 8002B24C 24E7BA80 */ addiu $a3, $a3, -0x4580
|
||||
/* 006650 8002B250 3C05800A */ lui $a1, 0x800a
|
||||
/* 006654 8002B254 24A5BA50 */ addiu $a1, $a1, -0x45b0
|
||||
.L8002B258:
|
||||
/* 006658 8002B258 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 00665C 8002B25C 0120182D */ daddu $v1, $t1, $zero
|
||||
.L8002B260:
|
||||
/* 006660 8002B260 8C620000 */ lw $v0, ($v1)
|
||||
/* 006664 8002B264 10820005 */ beq $a0, $v0, .L8002B27C
|
||||
/* 006668 8002B268 00000000 */ nop
|
||||
/* 00666C 8002B26C 26100001 */ addiu $s0, $s0, 1
|
||||
/* 006670 8002B270 2A020004 */ slti $v0, $s0, 4
|
||||
/* 006674 8002B274 1440FFFA */ bnez $v0, .L8002B260
|
||||
/* 006678 8002B278 24630008 */ addiu $v1, $v1, 8
|
||||
.L8002B27C:
|
||||
/* 00667C 8002B27C 56080008 */ bnel $s0, $t0, .L8002B2A0
|
||||
/* 006680 8002B280 24840001 */ addiu $a0, $a0, 1
|
||||
/* 006684 8002B284 8CA30004 */ lw $v1, 4($a1)
|
||||
/* 006688 8002B288 0066102A */ slt $v0, $v1, $a2
|
||||
/* 00668C 8002B28C 50400004 */ beql $v0, $zero, .L8002B2A0
|
||||
/* 006690 8002B290 24840001 */ addiu $a0, $a0, 1
|
||||
/* 006694 8002B294 0060302D */ daddu $a2, $v1, $zero
|
||||
/* 006698 8002B298 ACE40000 */ sw $a0, ($a3)
|
||||
/* 00669C 8002B29C 24840001 */ addiu $a0, $a0, 1
|
||||
.L8002B2A0:
|
||||
/* 0066A0 8002B2A0 28820006 */ slti $v0, $a0, 6
|
||||
/* 0066A4 8002B2A4 1440FFEC */ bnez $v0, .L8002B258
|
||||
/* 0066A8 8002B2A8 24A50008 */ addiu $a1, $a1, 8
|
||||
/* 0066AC 8002B2AC 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 0066B0 8002B2B0 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 0066B4 8002B2B4 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0066B8 8002B2B8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0066BC 8002B2BC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0066C0 8002B2C0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0066C4 8002B2C4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0066C8 8002B2C8 03E00008 */ jr $ra
|
||||
/* 0066CC 8002B2CC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
glabel fio_load_game
|
||||
/* 0066D0 8002B2D0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0066D4 8002B2D4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0066D8 8002B2D8 3C128007 */ lui $s2, 0x8007
|
||||
/* 0066DC 8002B2DC 2652419C */ addiu $s2, $s2, 0x419c
|
||||
/* 0066E0 8002B2E0 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0066E4 8002B2E4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0066E8 8002B2E8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0066EC 8002B2EC 8E420000 */ lw $v0, ($s2)
|
||||
/* 0066F0 8002B2F0 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0066F4 8002B2F4 0C00AC55 */ jal fio_fetch_saved_file_info
|
||||
/* 0066F8 8002B2F8 A0500166 */ sb $s0, 0x166($v0)
|
||||
/* 0066FC 8002B2FC 3C11800E */ lui $s1, 0x800e
|
||||
/* 006700 8002B300 2631ACC0 */ addiu $s1, $s1, -0x5340
|
||||
/* 006704 8002B304 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 006708 8002B308 001080C0 */ sll $s0, $s0, 3
|
||||
/* 00670C 8002B30C 3C04800A */ lui $a0, 0x800a
|
||||
/* 006710 8002B310 00902021 */ addu $a0, $a0, $s0
|
||||
/* 006714 8002B314 8C84BA30 */ lw $a0, -0x45d0($a0)
|
||||
/* 006718 8002B318 0C00AE1A */ jal fio_read_flash
|
||||
/* 00671C 8002B31C 24061380 */ addiu $a2, $zero, 0x1380
|
||||
/* 006720 8002B320 3C058007 */ lui $a1, 0x8007
|
||||
/* 006724 8002B324 24A545D0 */ addiu $a1, $a1, 0x45d0
|
||||
/* 006728 8002B328 0C01BB5C */ jal strcmp
|
||||
/* 00672C 8002B32C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 006730 8002B330 1440000A */ bnez $v0, .L8002B35C
|
||||
/* 006734 8002B334 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 006738 8002B338 8E430000 */ lw $v1, ($s2)
|
||||
/* 00673C 8002B33C 8E24003C */ lw $a0, 0x3c($s1)
|
||||
/* 006740 8002B340 8C620168 */ lw $v0, 0x168($v1)
|
||||
/* 006744 8002B344 0044102B */ sltu $v0, $v0, $a0
|
||||
/* 006748 8002B348 54400001 */ bnel $v0, $zero, .L8002B350
|
||||
/* 00674C 8002B34C AC640168 */ sw $a0, 0x168($v1)
|
||||
.L8002B350:
|
||||
/* 006750 8002B350 0C00AD24 */ jal fio_deserialize_state
|
||||
/* 006754 8002B354 00000000 */ nop
|
||||
/* 006758 8002B358 24020001 */ addiu $v0, $zero, 1
|
||||
.L8002B35C:
|
||||
/* 00675C 8002B35C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 006760 8002B360 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 006764 8002B364 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 006768 8002B368 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 00676C 8002B36C 03E00008 */ jr $ra
|
||||
/* 006770 8002B370 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel fio_save_game
|
||||
/* 006774 8002B374 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 006778 8002B378 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 00677C 8002B37C 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 006780 8002B380 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 006784 8002B384 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 006788 8002B388 0C00AC55 */ jal fio_fetch_saved_file_info
|
||||
/* 00678C 8002B38C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 006790 8002B390 3C118007 */ lui $s1, 0x8007
|
||||
/* 006794 8002B394 2631419C */ addiu $s1, $s1, 0x419c
|
||||
/* 006798 8002B398 8E220000 */ lw $v0, ($s1)
|
||||
/* 00679C 8002B39C 0C00AD8C */ jal fio_serialize_state
|
||||
/* 0067A0 8002B3A0 A0520166 */ sb $s2, 0x166($v0)
|
||||
/* 0067A4 8002B3A4 3C10800E */ lui $s0, 0x800e
|
||||
/* 0067A8 8002B3A8 2610ACC0 */ addiu $s0, $s0, -0x5340
|
||||
/* 0067AC 8002B3AC 3C058007 */ lui $a1, 0x8007
|
||||
/* 0067B0 8002B3B0 24A545D0 */ addiu $a1, $a1, 0x45d0
|
||||
/* 0067B4 8002B3B4 0C01BB50 */ jal strcpy
|
||||
/* 0067B8 8002B3B8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0067BC 8002B3BC 8E230000 */ lw $v1, ($s1)
|
||||
/* 0067C0 8002B3C0 AE120038 */ sw $s2, 0x38($s0)
|
||||
/* 0067C4 8002B3C4 8C620168 */ lw $v0, 0x168($v1)
|
||||
/* 0067C8 8002B3C8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0067CC 8002B3CC 24420001 */ addiu $v0, $v0, 1
|
||||
/* 0067D0 8002B3D0 AC620168 */ sw $v0, 0x168($v1)
|
||||
/* 0067D4 8002B3D4 AE02003C */ sw $v0, 0x3c($s0)
|
||||
/* 0067D8 8002B3D8 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 0067DC 8002B3DC AE000030 */ sw $zero, 0x30($s0)
|
||||
/* 0067E0 8002B3E0 0C00AC34 */ jal fio_calc_file_checksum
|
||||
/* 0067E4 8002B3E4 AE020034 */ sw $v0, 0x34($s0)
|
||||
/* 0067E8 8002B3E8 3C11800A */ lui $s1, 0x800a
|
||||
/* 0067EC 8002B3EC 2631BA80 */ addiu $s1, $s1, -0x4580
|
||||
/* 0067F0 8002B3F0 8E240000 */ lw $a0, ($s1)
|
||||
/* 0067F4 8002B3F4 AE020030 */ sw $v0, 0x30($s0)
|
||||
/* 0067F8 8002B3F8 00021027 */ nor $v0, $zero, $v0
|
||||
/* 0067FC 8002B3FC 0C00AE87 */ jal fio_erase_flash
|
||||
/* 006800 8002B400 AE020034 */ sw $v0, 0x34($s0)
|
||||
/* 006804 8002B404 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 006808 8002B408 8E240000 */ lw $a0, ($s1)
|
||||
/* 00680C 8002B40C 0C00AE52 */ jal fio_write_flash
|
||||
/* 006810 8002B410 24061380 */ addiu $a2, $zero, 0x1380
|
||||
/* 006814 8002B414 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 006818 8002B418 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 00681C 8002B41C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 006820 8002B420 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 006824 8002B424 03E00008 */ jr $ra
|
||||
/* 006828 8002B428 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel fio_erase_game
|
||||
/* 00682C 8002B42C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 006830 8002B430 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 006834 8002B434 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 006838 8002B438 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 00683C 8002B43C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 006840 8002B440 0C00AC55 */ jal fio_fetch_saved_file_info
|
||||
/* 006844 8002B444 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 006848 8002B448 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 00684C 8002B44C 3C11800A */ lui $s1, 0x800a
|
||||
/* 006850 8002B450 2631BA50 */ addiu $s1, $s1, -0x45b0
|
||||
.L8002B454:
|
||||
/* 006854 8002B454 8E220000 */ lw $v0, ($s1)
|
||||
/* 006858 8002B458 54520004 */ bnel $v0, $s2, .L8002B46C
|
||||
/* 00685C 8002B45C 26100001 */ addiu $s0, $s0, 1
|
||||
/* 006860 8002B460 0C00AE87 */ jal fio_erase_flash
|
||||
/* 006864 8002B464 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 006868 8002B468 26100001 */ addiu $s0, $s0, 1
|
||||
.L8002B46C:
|
||||
/* 00686C 8002B46C 2A020006 */ slti $v0, $s0, 6
|
||||
/* 006870 8002B470 1440FFF8 */ bnez $v0, .L8002B454
|
||||
/* 006874 8002B474 26310008 */ addiu $s1, $s1, 8
|
||||
/* 006878 8002B478 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 00687C 8002B47C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 006880 8002B480 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 006884 8002B484 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 006888 8002B488 03E00008 */ jr $ra
|
||||
/* 00688C 8002B48C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel fio_deserialize_state
|
||||
/* 006890 8002B490 3C038011 */ lui $v1, 0x8011
|
||||
/* 006894 8002B494 2463F290 */ addiu $v1, $v1, -0xd70
|
||||
/* 006898 8002B498 3C07800E */ lui $a3, 0x800e
|
||||
/* 00689C 8002B49C 24E7ACC0 */ addiu $a3, $a3, -0x5340
|
||||
/* 0068A0 8002B4A0 24E20040 */ addiu $v0, $a3, 0x40
|
||||
/* 0068A4 8002B4A4 24E40460 */ addiu $a0, $a3, 0x460
|
||||
.L8002B4A8:
|
||||
/* 0068A8 8002B4A8 8C490000 */ lw $t1, ($v0)
|
||||
/* 0068AC 8002B4AC 8C4A0004 */ lw $t2, 4($v0)
|
||||
/* 0068B0 8002B4B0 8C4B0008 */ lw $t3, 8($v0)
|
||||
/* 0068B4 8002B4B4 8C4C000C */ lw $t4, 0xc($v0)
|
||||
/* 0068B8 8002B4B8 AC690000 */ sw $t1, ($v1)
|
||||
/* 0068BC 8002B4BC AC6A0004 */ sw $t2, 4($v1)
|
||||
/* 0068C0 8002B4C0 AC6B0008 */ sw $t3, 8($v1)
|
||||
/* 0068C4 8002B4C4 AC6C000C */ sw $t4, 0xc($v1)
|
||||
/* 0068C8 8002B4C8 24420010 */ addiu $v0, $v0, 0x10
|
||||
/* 0068CC 8002B4CC 1444FFF6 */ bne $v0, $a0, .L8002B4A8
|
||||
/* 0068D0 8002B4D0 24630010 */ addiu $v1, $v1, 0x10
|
||||
/* 0068D4 8002B4D4 8C490000 */ lw $t1, ($v0)
|
||||
/* 0068D8 8002B4D8 8C4A0004 */ lw $t2, 4($v0)
|
||||
/* 0068DC 8002B4DC AC690000 */ sw $t1, ($v1)
|
||||
/* 0068E0 8002B4E0 AC6A0004 */ sw $t2, 4($v1)
|
||||
/* 0068E4 8002B4E4 3C038007 */ lui $v1, 0x8007
|
||||
/* 0068E8 8002B4E8 8C63419C */ lw $v1, 0x419c($v1)
|
||||
/* 0068EC 8002B4EC 94E20468 */ lhu $v0, 0x468($a3)
|
||||
/* 0068F0 8002B4F0 A4620086 */ sh $v0, 0x86($v1)
|
||||
/* 0068F4 8002B4F4 94E2046A */ lhu $v0, 0x46a($a3)
|
||||
/* 0068F8 8002B4F8 A462008C */ sh $v0, 0x8c($v1)
|
||||
/* 0068FC 8002B4FC 94E2046C */ lhu $v0, 0x46c($a3)
|
||||
/* 006900 8002B500 A462008E */ sh $v0, 0x8e($v1)
|
||||
/* 006904 8002B504 94E212E6 */ lhu $v0, 0x12e6($a3)
|
||||
/* 006908 8002B508 A4620160 */ sh $v0, 0x160($v1)
|
||||
/* 00690C 8002B50C 94E212E8 */ lhu $v0, 0x12e8($a3)
|
||||
/* 006910 8002B510 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 006914 8002B514 A4620162 */ sh $v0, 0x162($v1)
|
||||
/* 006918 8002B518 94E212EA */ lhu $v0, 0x12ea($a3)
|
||||
/* 00691C 8002B51C 3C08800B */ lui $t0, 0x800b
|
||||
/* 006920 8002B520 25080F10 */ addiu $t0, $t0, 0xf10
|
||||
/* 006924 8002B524 A4620164 */ sh $v0, 0x164($v1)
|
||||
/* 006928 8002B528 0000282D */ daddu $a1, $zero, $zero
|
||||
.L8002B52C:
|
||||
/* 00692C 8002B52C 00062080 */ sll $a0, $a2, 2
|
||||
.L8002B530:
|
||||
/* 006930 8002B530 00881821 */ addu $v1, $a0, $t0
|
||||
/* 006934 8002B534 00E41021 */ addu $v0, $a3, $a0
|
||||
/* 006938 8002B538 8C420470 */ lw $v0, 0x470($v0)
|
||||
/* 00693C 8002B53C 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 006940 8002B540 AC6200B0 */ sw $v0, 0xb0($v1)
|
||||
/* 006944 8002B544 28A2003C */ slti $v0, $a1, 0x3c
|
||||
/* 006948 8002B548 1440FFF9 */ bnez $v0, .L8002B530
|
||||
/* 00694C 8002B54C 24840030 */ addiu $a0, $a0, 0x30
|
||||
/* 006950 8002B550 24C60001 */ addiu $a2, $a2, 1
|
||||
/* 006954 8002B554 28C2000C */ slti $v0, $a2, 0xc
|
||||
/* 006958 8002B558 1440FFF4 */ bnez $v0, .L8002B52C
|
||||
/* 00695C 8002B55C 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 006960 8002B560 3C038007 */ lui $v1, 0x8007
|
||||
/* 006964 8002B564 2463419C */ addiu $v1, $v1, 0x419c
|
||||
/* 006968 8002B568 8C620000 */ lw $v0, ($v1)
|
||||
/* 00696C 8002B56C A0400074 */ sb $zero, 0x74($v0)
|
||||
/* 006970 8002B570 8C620000 */ lw $v0, ($v1)
|
||||
/* 006974 8002B574 A0400076 */ sb $zero, 0x76($v0)
|
||||
/* 006978 8002B578 8C620000 */ lw $v0, ($v1)
|
||||
/* 00697C 8002B57C A0400077 */ sb $zero, 0x77($v0)
|
||||
/* 006980 8002B580 8C640000 */ lw $a0, ($v1)
|
||||
/* 006984 8002B584 24020001 */ addiu $v0, $zero, 1
|
||||
/* 006988 8002B588 A082007A */ sb $v0, 0x7a($a0)
|
||||
/* 00698C 8002B58C 8C620000 */ lw $v0, ($v1)
|
||||
/* 006990 8002B590 90430166 */ lbu $v1, 0x166($v0)
|
||||
/* 006994 8002B594 00031040 */ sll $v0, $v1, 1
|
||||
/* 006998 8002B598 00431021 */ addu $v0, $v0, $v1
|
||||
/* 00699C 8002B59C 000210C0 */ sll $v0, $v0, 3
|
||||
/* 0069A0 8002B5A0 8CE912EC */ lw $t1, 0x12ec($a3)
|
||||
/* 0069A4 8002B5A4 8CEA12F0 */ lw $t2, 0x12f0($a3)
|
||||
/* 0069A8 8002B5A8 8CEB12F4 */ lw $t3, 0x12f4($a3)
|
||||
/* 0069AC 8002B5AC 8CEC12F8 */ lw $t4, 0x12f8($a3)
|
||||
/* 0069B0 8002B5B0 3C018007 */ lui $at, 0x8007
|
||||
/* 0069B4 8002B5B4 00220821 */ addu $at, $at, $v0
|
||||
/* 0069B8 8002B5B8 AC2979C4 */ sw $t1, 0x79c4($at)
|
||||
/* 0069BC 8002B5BC 3C018007 */ lui $at, 0x8007
|
||||
/* 0069C0 8002B5C0 00220821 */ addu $at, $at, $v0
|
||||
/* 0069C4 8002B5C4 AC2A79C8 */ sw $t2, 0x79c8($at)
|
||||
/* 0069C8 8002B5C8 3C018007 */ lui $at, 0x8007
|
||||
/* 0069CC 8002B5CC 00220821 */ addu $at, $at, $v0
|
||||
/* 0069D0 8002B5D0 AC2B79CC */ sw $t3, 0x79cc($at)
|
||||
/* 0069D4 8002B5D4 3C018007 */ lui $at, 0x8007
|
||||
/* 0069D8 8002B5D8 00220821 */ addu $at, $at, $v0
|
||||
/* 0069DC 8002B5DC AC2C79D0 */ sw $t4, 0x79d0($at)
|
||||
/* 0069E0 8002B5E0 8CE912FC */ lw $t1, 0x12fc($a3)
|
||||
/* 0069E4 8002B5E4 8CEA1300 */ lw $t2, 0x1300($a3)
|
||||
/* 0069E8 8002B5E8 3C018007 */ lui $at, 0x8007
|
||||
/* 0069EC 8002B5EC 00220821 */ addu $at, $at, $v0
|
||||
/* 0069F0 8002B5F0 AC2979D4 */ sw $t1, 0x79d4($at)
|
||||
/* 0069F4 8002B5F4 3C018007 */ lui $at, 0x8007
|
||||
/* 0069F8 8002B5F8 00220821 */ addu $at, $at, $v0
|
||||
/* 0069FC 8002B5FC AC2A79D8 */ sw $t2, 0x79d8($at)
|
||||
/* 006A00 8002B600 03E00008 */ jr $ra
|
||||
/* 006A04 8002B604 00000000 */ nop
|
||||
|
||||
/* 006A08 8002B608 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006A0C 8002B60C 3C038007 */ lui $v1, 0x8007
|
||||
/* 006A10 8002B610 8C63419C */ lw $v1, 0x419c($v1)
|
||||
/* 006A14 8002B614 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 006A18 8002B618 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 006A1C 8002B61C 0C00AD8C */ jal fio_serialize_state
|
||||
/* 006A20 8002B620 A462008E */ sh $v0, 0x8e($v1)
|
||||
/* 006A24 8002B624 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 006A28 8002B628 03E00008 */ jr $ra
|
||||
/* 006A2C 8002B62C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel fio_serialize_state
|
||||
/* 006A30 8002B630 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 006A34 8002B634 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 006A38 8002B638 3C12800E */ lui $s2, 0x800e
|
||||
/* 006A3C 8002B63C 2652ACC0 */ addiu $s2, $s2, -0x5340
|
||||
/* 006A40 8002B640 26440040 */ addiu $a0, $s2, 0x40
|
||||
/* 006A44 8002B644 3C028011 */ lui $v0, 0x8011
|
||||
/* 006A48 8002B648 2442F290 */ addiu $v0, $v0, -0xd70
|
||||
/* 006A4C 8002B64C 24430420 */ addiu $v1, $v0, 0x420
|
||||
/* 006A50 8002B650 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 006A54 8002B654 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 006A58 8002B658 AFB00010 */ sw $s0, 0x10($sp)
|
||||
.L8002B65C:
|
||||
/* 006A5C 8002B65C 8C480000 */ lw $t0, ($v0)
|
||||
/* 006A60 8002B660 8C490004 */ lw $t1, 4($v0)
|
||||
/* 006A64 8002B664 8C4A0008 */ lw $t2, 8($v0)
|
||||
/* 006A68 8002B668 8C4B000C */ lw $t3, 0xc($v0)
|
||||
/* 006A6C 8002B66C AC880000 */ sw $t0, ($a0)
|
||||
/* 006A70 8002B670 AC890004 */ sw $t1, 4($a0)
|
||||
/* 006A74 8002B674 AC8A0008 */ sw $t2, 8($a0)
|
||||
/* 006A78 8002B678 AC8B000C */ sw $t3, 0xc($a0)
|
||||
/* 006A7C 8002B67C 24420010 */ addiu $v0, $v0, 0x10
|
||||
/* 006A80 8002B680 1443FFF6 */ bne $v0, $v1, .L8002B65C
|
||||
/* 006A84 8002B684 24840010 */ addiu $a0, $a0, 0x10
|
||||
/* 006A88 8002B688 3C038007 */ lui $v1, 0x8007
|
||||
/* 006A8C 8002B68C 8C63419C */ lw $v1, 0x419c($v1)
|
||||
/* 006A90 8002B690 8C480000 */ lw $t0, ($v0)
|
||||
/* 006A94 8002B694 8C490004 */ lw $t1, 4($v0)
|
||||
/* 006A98 8002B698 AC880000 */ sw $t0, ($a0)
|
||||
/* 006A9C 8002B69C AC890004 */ sw $t1, 4($a0)
|
||||
/* 006AA0 8002B6A0 94620086 */ lhu $v0, 0x86($v1)
|
||||
/* 006AA4 8002B6A4 A6420468 */ sh $v0, 0x468($s2)
|
||||
/* 006AA8 8002B6A8 9462008C */ lhu $v0, 0x8c($v1)
|
||||
/* 006AAC 8002B6AC A642046A */ sh $v0, 0x46a($s2)
|
||||
/* 006AB0 8002B6B0 9462008E */ lhu $v0, 0x8e($v1)
|
||||
/* 006AB4 8002B6B4 A642046C */ sh $v0, 0x46c($s2)
|
||||
/* 006AB8 8002B6B8 94620160 */ lhu $v0, 0x160($v1)
|
||||
/* 006ABC 8002B6BC A64212E6 */ sh $v0, 0x12e6($s2)
|
||||
/* 006AC0 8002B6C0 94620162 */ lhu $v0, 0x162($v1)
|
||||
/* 006AC4 8002B6C4 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 006AC8 8002B6C8 A64212E8 */ sh $v0, 0x12e8($s2)
|
||||
/* 006ACC 8002B6CC 94620164 */ lhu $v0, 0x164($v1)
|
||||
/* 006AD0 8002B6D0 3C07800B */ lui $a3, 0x800b
|
||||
/* 006AD4 8002B6D4 24E70F10 */ addiu $a3, $a3, 0xf10
|
||||
/* 006AD8 8002B6D8 A64212EA */ sh $v0, 0x12ea($s2)
|
||||
/* 006ADC 8002B6DC 0000282D */ daddu $a1, $zero, $zero
|
||||
.L8002B6E0:
|
||||
/* 006AE0 8002B6E0 00062080 */ sll $a0, $a2, 2
|
||||
.L8002B6E4:
|
||||
/* 006AE4 8002B6E4 02441821 */ addu $v1, $s2, $a0
|
||||
/* 006AE8 8002B6E8 00871021 */ addu $v0, $a0, $a3
|
||||
/* 006AEC 8002B6EC 8C4200B0 */ lw $v0, 0xb0($v0)
|
||||
/* 006AF0 8002B6F0 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 006AF4 8002B6F4 AC620470 */ sw $v0, 0x470($v1)
|
||||
/* 006AF8 8002B6F8 28A2003C */ slti $v0, $a1, 0x3c
|
||||
/* 006AFC 8002B6FC 1440FFF9 */ bnez $v0, .L8002B6E4
|
||||
/* 006B00 8002B700 24840030 */ addiu $a0, $a0, 0x30
|
||||
/* 006B04 8002B704 24C60001 */ addiu $a2, $a2, 1
|
||||
/* 006B08 8002B708 28C2000C */ slti $v0, $a2, 0xc
|
||||
/* 006B0C 8002B70C 1440FFF4 */ bnez $v0, .L8002B6E0
|
||||
/* 006B10 8002B710 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 006B14 8002B714 3C108007 */ lui $s0, 0x8007
|
||||
/* 006B18 8002B718 2610419C */ addiu $s0, $s0, 0x419c
|
||||
/* 006B1C 8002B71C 8E020000 */ lw $v0, ($s0)
|
||||
/* 006B20 8002B720 8E030000 */ lw $v1, ($s0)
|
||||
/* 006B24 8002B724 90420074 */ lbu $v0, 0x74($v0)
|
||||
/* 006B28 8002B728 A24212E0 */ sb $v0, 0x12e0($s2)
|
||||
/* 006B2C 8002B72C 90620076 */ lbu $v0, 0x76($v1)
|
||||
/* 006B30 8002B730 8E030000 */ lw $v1, ($s0)
|
||||
/* 006B34 8002B734 A24212E1 */ sb $v0, 0x12e1($s2)
|
||||
/* 006B38 8002B738 90620077 */ lbu $v0, 0x77($v1)
|
||||
/* 006B3C 8002B73C 8E030000 */ lw $v1, ($s0)
|
||||
/* 006B40 8002B740 A24212E2 */ sb $v0, 0x12e2($s2)
|
||||
/* 006B44 8002B744 9062007A */ lbu $v0, 0x7a($v1)
|
||||
/* 006B48 8002B748 8E030000 */ lw $v1, ($s0)
|
||||
/* 006B4C 8002B74C A24212E3 */ sb $v0, 0x12e3($s2)
|
||||
/* 006B50 8002B750 90630166 */ lbu $v1, 0x166($v1)
|
||||
/* 006B54 8002B754 3C118011 */ lui $s1, 0x8011
|
||||
/* 006B58 8002B758 2631F290 */ addiu $s1, $s1, -0xd70
|
||||
/* 006B5C 8002B75C 00031040 */ sll $v0, $v1, 1
|
||||
/* 006B60 8002B760 00431021 */ addu $v0, $v0, $v1
|
||||
/* 006B64 8002B764 92230009 */ lbu $v1, 9($s1)
|
||||
/* 006B68 8002B768 000210C0 */ sll $v0, $v0, 3
|
||||
/* 006B6C 8002B76C 3C018007 */ lui $at, 0x8007
|
||||
/* 006B70 8002B770 00220821 */ addu $at, $at, $v0
|
||||
/* 006B74 8002B774 A02379CA */ sb $v1, 0x79ca($at)
|
||||
/* 006B78 8002B778 0C00AB90 */ jal get_spirits_rescued
|
||||
/* 006B7C 8002B77C 00000000 */ nop
|
||||
/* 006B80 8002B780 8E030000 */ lw $v1, ($s0)
|
||||
/* 006B84 8002B784 90640166 */ lbu $a0, 0x166($v1)
|
||||
/* 006B88 8002B788 00041840 */ sll $v1, $a0, 1
|
||||
/* 006B8C 8002B78C 00641821 */ addu $v1, $v1, $a0
|
||||
/* 006B90 8002B790 000318C0 */ sll $v1, $v1, 3
|
||||
/* 006B94 8002B794 3C018007 */ lui $at, 0x8007
|
||||
/* 006B98 8002B798 00230821 */ addu $at, $at, $v1
|
||||
/* 006B9C 8002B79C A02279C8 */ sb $v0, 0x79c8($at)
|
||||
/* 006BA0 8002B7A0 8E040000 */ lw $a0, ($s0)
|
||||
/* 006BA4 8002B7A4 90830166 */ lbu $v1, 0x166($a0)
|
||||
/* 006BA8 8002B7A8 00031040 */ sll $v0, $v1, 1
|
||||
/* 006BAC 8002B7AC 00431021 */ addu $v0, $v0, $v1
|
||||
/* 006BB0 8002B7B0 8E2302BC */ lw $v1, 0x2bc($s1)
|
||||
/* 006BB4 8002B7B4 000210C0 */ sll $v0, $v0, 3
|
||||
/* 006BB8 8002B7B8 3C018007 */ lui $at, 0x8007
|
||||
/* 006BBC 8002B7BC 00220821 */ addu $at, $at, $v0
|
||||
/* 006BC0 8002B7C0 AC2379C4 */ sw $v1, 0x79c4($at)
|
||||
/* 006BC4 8002B7C4 90830166 */ lbu $v1, 0x166($a0)
|
||||
/* 006BC8 8002B7C8 00031040 */ sll $v0, $v1, 1
|
||||
/* 006BCC 8002B7CC 00431021 */ addu $v0, $v0, $v1
|
||||
/* 006BD0 8002B7D0 000210C0 */ sll $v0, $v0, 3
|
||||
/* 006BD4 8002B7D4 3C088007 */ lui $t0, 0x8007
|
||||
/* 006BD8 8002B7D8 01024021 */ addu $t0, $t0, $v0
|
||||
/* 006BDC 8002B7DC 8D0879C4 */ lw $t0, 0x79c4($t0)
|
||||
/* 006BE0 8002B7E0 3C098007 */ lui $t1, 0x8007
|
||||
/* 006BE4 8002B7E4 01224821 */ addu $t1, $t1, $v0
|
||||
/* 006BE8 8002B7E8 8D2979C8 */ lw $t1, 0x79c8($t1)
|
||||
/* 006BEC 8002B7EC 3C0A8007 */ lui $t2, 0x8007
|
||||
/* 006BF0 8002B7F0 01425021 */ addu $t2, $t2, $v0
|
||||
/* 006BF4 8002B7F4 8D4A79CC */ lw $t2, 0x79cc($t2)
|
||||
/* 006BF8 8002B7F8 3C0B8007 */ lui $t3, 0x8007
|
||||
/* 006BFC 8002B7FC 01625821 */ addu $t3, $t3, $v0
|
||||
/* 006C00 8002B800 8D6B79D0 */ lw $t3, 0x79d0($t3)
|
||||
/* 006C04 8002B804 AE4812EC */ sw $t0, 0x12ec($s2)
|
||||
/* 006C08 8002B808 AE4912F0 */ sw $t1, 0x12f0($s2)
|
||||
/* 006C0C 8002B80C AE4A12F4 */ sw $t2, 0x12f4($s2)
|
||||
/* 006C10 8002B810 AE4B12F8 */ sw $t3, 0x12f8($s2)
|
||||
/* 006C14 8002B814 3C088007 */ lui $t0, 0x8007
|
||||
/* 006C18 8002B818 01024021 */ addu $t0, $t0, $v0
|
||||
/* 006C1C 8002B81C 8D0879D4 */ lw $t0, 0x79d4($t0)
|
||||
/* 006C20 8002B820 3C098007 */ lui $t1, 0x8007
|
||||
/* 006C24 8002B824 01224821 */ addu $t1, $t1, $v0
|
||||
/* 006C28 8002B828 8D2979D8 */ lw $t1, 0x79d8($t1)
|
||||
/* 006C2C 8002B82C AE4812FC */ sw $t0, 0x12fc($s2)
|
||||
/* 006C30 8002B830 AE491300 */ sw $t1, 0x1300($s2)
|
||||
/* 006C34 8002B834 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 006C38 8002B838 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 006C3C 8002B83C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 006C40 8002B840 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 006C44 8002B844 03E00008 */ jr $ra
|
||||
/* 006C48 8002B848 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel fio_init_flash
|
||||
/* 006C4C 8002B84C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006C50 8002B850 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 006C54 8002B854 0C01BBDA */ jal osFlashInit
|
||||
/* 006C58 8002B858 00000000 */ nop
|
||||
/* 006C5C 8002B85C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 006C60 8002B860 03E00008 */ jr $ra
|
||||
/* 006C64 8002B864 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel fio_read_flash
|
||||
/* 006C68 8002B868 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
/* 006C6C 8002B86C AFB40060 */ sw $s4, 0x60($sp)
|
||||
/* 006C70 8002B870 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 006C74 8002B874 AFB10054 */ sw $s1, 0x54($sp)
|
||||
/* 006C78 8002B878 00C0882D */ daddu $s1, $a2, $zero
|
||||
/* 006C7C 8002B87C AFB20058 */ sw $s2, 0x58($sp)
|
||||
/* 006C80 8002B880 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* 006C84 8002B884 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 006C88 8002B888 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 006C8C 8002B88C AFBF006C */ sw $ra, 0x6c($sp)
|
||||
/* 006C90 8002B890 AFB60068 */ sw $s6, 0x68($sp)
|
||||
/* 006C94 8002B894 AFB50064 */ sw $s5, 0x64($sp)
|
||||
/* 006C98 8002B898 AFB3005C */ sw $s3, 0x5c($sp)
|
||||
/* 006C9C 8002B89C 0C0185C8 */ jal osInvalDCache
|
||||
/* 006CA0 8002B8A0 AFB00050 */ sw $s0, 0x50($sp)
|
||||
/* 006CA4 8002B8A4 27B00030 */ addiu $s0, $sp, 0x30
|
||||
/* 006CA8 8002B8A8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 006CAC 8002B8AC 27A50048 */ addiu $a1, $sp, 0x48
|
||||
/* 006CB0 8002B8B0 0C019560 */ jal osCreateMesgQueue
|
||||
/* 006CB4 8002B8B4 24060001 */ addiu $a2, $zero, 1
|
||||
/* 006CB8 8002B8B8 12200018 */ beqz $s1, .L8002B91C
|
||||
/* 006CBC 8002B8BC 0000982D */ daddu $s3, $zero, $zero
|
||||
/* 006CC0 8002B8C0 0014A9C0 */ sll $s5, $s4, 7
|
||||
/* 006CC4 8002B8C4 24160001 */ addiu $s6, $zero, 1
|
||||
/* 006CC8 8002B8C8 0200A02D */ daddu $s4, $s0, $zero
|
||||
.L8002B8CC:
|
||||
/* 006CCC 8002B8CC 2E220081 */ sltiu $v0, $s1, 0x81
|
||||
/* 006CD0 8002B8D0 14400002 */ bnez $v0, .L8002B8DC
|
||||
/* 006CD4 8002B8D4 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 006CD8 8002B8D8 24100080 */ addiu $s0, $zero, 0x80
|
||||
.L8002B8DC:
|
||||
/* 006CDC 8002B8DC 27A40018 */ addiu $a0, $sp, 0x18
|
||||
/* 006CE0 8002B8E0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 006CE4 8002B8E4 3266FFFF */ andi $a2, $s3, 0xffff
|
||||
/* 006CE8 8002B8E8 02A63021 */ addu $a2, $s5, $a2
|
||||
/* 006CEC 8002B8EC 0240382D */ daddu $a3, $s2, $zero
|
||||
/* 006CF0 8002B8F0 AFB60010 */ sw $s6, 0x10($sp)
|
||||
/* 006CF4 8002B8F4 0C01BDD7 */ jal osFlashReadArray
|
||||
/* 006CF8 8002B8F8 AFB40014 */ sw $s4, 0x14($sp)
|
||||
/* 006CFC 8002B8FC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 006D00 8002B900 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 006D04 8002B904 0C0195BC */ jal osRecvMesg
|
||||
/* 006D08 8002B908 24060001 */ addiu $a2, $zero, 1
|
||||
/* 006D0C 8002B90C 26730001 */ addiu $s3, $s3, 1
|
||||
/* 006D10 8002B910 02308823 */ subu $s1, $s1, $s0
|
||||
/* 006D14 8002B914 1620FFED */ bnez $s1, .L8002B8CC
|
||||
/* 006D18 8002B918 02509021 */ addu $s2, $s2, $s0
|
||||
.L8002B91C:
|
||||
/* 006D1C 8002B91C 8FBF006C */ lw $ra, 0x6c($sp)
|
||||
/* 006D20 8002B920 8FB60068 */ lw $s6, 0x68($sp)
|
||||
/* 006D24 8002B924 8FB50064 */ lw $s5, 0x64($sp)
|
||||
/* 006D28 8002B928 8FB40060 */ lw $s4, 0x60($sp)
|
||||
/* 006D2C 8002B92C 8FB3005C */ lw $s3, 0x5c($sp)
|
||||
/* 006D30 8002B930 8FB20058 */ lw $s2, 0x58($sp)
|
||||
/* 006D34 8002B934 8FB10054 */ lw $s1, 0x54($sp)
|
||||
/* 006D38 8002B938 8FB00050 */ lw $s0, 0x50($sp)
|
||||
/* 006D3C 8002B93C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 006D40 8002B940 03E00008 */ jr $ra
|
||||
/* 006D44 8002B944 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
glabel fio_write_flash
|
||||
/* 006D48 8002B948 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 006D4C 8002B94C AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* 006D50 8002B950 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 006D54 8002B954 AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* 006D58 8002B958 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* 006D5C 8002B95C AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* 006D60 8002B960 00C0882D */ daddu $s1, $a2, $zero
|
||||
/* 006D64 8002B964 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 006D68 8002B968 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 006D6C 8002B96C AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* 006D70 8002B970 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* 006D74 8002B974 AFB30054 */ sw $s3, 0x54($sp)
|
||||
/* 006D78 8002B978 0C018614 */ jal osWritebackDCache
|
||||
/* 006D7C 8002B97C AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* 006D80 8002B980 27B00028 */ addiu $s0, $sp, 0x28
|
||||
/* 006D84 8002B984 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 006D88 8002B988 27A50040 */ addiu $a1, $sp, 0x40
|
||||
/* 006D8C 8002B98C 0C019560 */ jal osCreateMesgQueue
|
||||
/* 006D90 8002B990 24060001 */ addiu $a2, $zero, 1
|
||||
/* 006D94 8002B994 12200017 */ beqz $s1, .L8002B9F4
|
||||
/* 006D98 8002B998 0000982D */ daddu $s3, $zero, $zero
|
||||
/* 006D9C 8002B99C 0200A02D */ daddu $s4, $s0, $zero
|
||||
/* 006DA0 8002B9A0 0015A9C0 */ sll $s5, $s5, 7
|
||||
.L8002B9A4:
|
||||
/* 006DA4 8002B9A4 2E220081 */ sltiu $v0, $s1, 0x81
|
||||
/* 006DA8 8002B9A8 14400002 */ bnez $v0, .L8002B9B4
|
||||
/* 006DAC 8002B9AC 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 006DB0 8002B9B0 24100080 */ addiu $s0, $zero, 0x80
|
||||
.L8002B9B4:
|
||||
/* 006DB4 8002B9B4 27A40010 */ addiu $a0, $sp, 0x10
|
||||
/* 006DB8 8002B9B8 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 006DBC 8002B9BC 0240302D */ daddu $a2, $s2, $zero
|
||||
/* 006DC0 8002B9C0 0C01BD54 */ jal osFlashWriteBuffer
|
||||
/* 006DC4 8002B9C4 0280382D */ daddu $a3, $s4, $zero
|
||||
/* 006DC8 8002B9C8 3264FFFF */ andi $a0, $s3, 0xffff
|
||||
/* 006DCC 8002B9CC 0C01BD87 */ jal osFlashWriteArray
|
||||
/* 006DD0 8002B9D0 02A42021 */ addu $a0, $s5, $a0
|
||||
/* 006DD4 8002B9D4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 006DD8 8002B9D8 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 006DDC 8002B9DC 0C0195BC */ jal osRecvMesg
|
||||
/* 006DE0 8002B9E0 24060001 */ addiu $a2, $zero, 1
|
||||
/* 006DE4 8002B9E4 26730001 */ addiu $s3, $s3, 1
|
||||
/* 006DE8 8002B9E8 02308823 */ subu $s1, $s1, $s0
|
||||
/* 006DEC 8002B9EC 1620FFED */ bnez $s1, .L8002B9A4
|
||||
/* 006DF0 8002B9F0 02509021 */ addu $s2, $s2, $s0
|
||||
.L8002B9F4:
|
||||
/* 006DF4 8002B9F4 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* 006DF8 8002B9F8 8FB5005C */ lw $s5, 0x5c($sp)
|
||||
/* 006DFC 8002B9FC 8FB40058 */ lw $s4, 0x58($sp)
|
||||
/* 006E00 8002BA00 8FB30054 */ lw $s3, 0x54($sp)
|
||||
/* 006E04 8002BA04 8FB20050 */ lw $s2, 0x50($sp)
|
||||
/* 006E08 8002BA08 8FB1004C */ lw $s1, 0x4c($sp)
|
||||
/* 006E0C 8002BA0C 8FB00048 */ lw $s0, 0x48($sp)
|
||||
/* 006E10 8002BA10 24020001 */ addiu $v0, $zero, 1
|
||||
/* 006E14 8002BA14 03E00008 */ jr $ra
|
||||
/* 006E18 8002BA18 27BD0068 */ addiu $sp, $sp, 0x68
|
||||
|
||||
glabel fio_erase_flash
|
||||
/* 006E1C 8002BA1C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006E20 8002BA20 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 006E24 8002BA24 0C01BD09 */ jal osFlashSectorErase
|
||||
/* 006E28 8002BA28 000421C0 */ sll $a0, $a0, 7
|
||||
/* 006E2C 8002BA2C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 006E30 8002BA30 03E00008 */ jr $ra
|
||||
/* 006E34 8002BA34 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 006E38 8002BA38 00000000 */ nop
|
||||
/* 006E3C 8002BA3C 00000000 */ nop
|
||||
|
||||
.set reorder
|
@ -1,780 +0,0 @@
|
||||
# %s disassembly and split file
|
||||
# generated by n64split v%s - N64 ROM splitter
|
||||
|
||||
# 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
|
||||
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8002BF40, "ax"
|
||||
|
||||
glabel crash_delay_msec
|
||||
/* 007340 8002BF40 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 007344 8002BF44 3402B71B */ ori $v0, $zero, 0xb71b
|
||||
/* 007348 8002BF48 00820018 */ mult $a0, $v0
|
||||
/* 00734C 8002BF4C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 007350 8002BF50 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 007354 8002BF54 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 007358 8002BF58 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 00735C 8002BF5C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 007360 8002BF60 00008010 */ mfhi $s0
|
||||
/* 007364 8002BF64 00008812 */ mflo $s1
|
||||
/* 007368 8002BF68 0C0198CC */ jal osSetTime
|
||||
/* 00736C 8002BF6C 00000000 */ nop
|
||||
.L8002BF70:
|
||||
/* 007370 8002BF70 0C0198A8 */ jal osGetTime
|
||||
/* 007374 8002BF74 00000000 */ nop
|
||||
/* 007378 8002BF78 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 00737C 8002BF7C 0060282D */ daddu $a1, $v1, $zero
|
||||
/* 007380 8002BF80 0090102B */ sltu $v0, $a0, $s0
|
||||
/* 007384 8002BF84 1440FFFA */ bnez $v0, .L8002BF70
|
||||
/* 007388 8002BF88 00000000 */ nop
|
||||
/* 00738C 8002BF8C 16040003 */ bne $s0, $a0, .L8002BF9C
|
||||
/* 007390 8002BF90 00B1102B */ sltu $v0, $a1, $s1
|
||||
/* 007394 8002BF94 1440FFF6 */ bnez $v0, .L8002BF70
|
||||
/* 007398 8002BF98 00000000 */ nop
|
||||
.L8002BF9C:
|
||||
/* 00739C 8002BF9C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0073A0 8002BFA0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0073A4 8002BFA4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0073A8 8002BFA8 03E00008 */ jr $ra
|
||||
/* 0073AC 8002BFAC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_8002BFB0
|
||||
/* 0073B0 8002BFB0 3C08800A */ lui $t0, 0x800a
|
||||
/* 0073B4 8002BFB4 2508BB30 */ addiu $t0, $t0, -0x44d0
|
||||
/* 0073B8 8002BFB8 950309D0 */ lhu $v1, 0x9d0($t0)
|
||||
/* 0073BC 8002BFBC 24020280 */ addiu $v0, $zero, 0x280
|
||||
/* 0073C0 8002BFC0 14620005 */ bne $v1, $v0, .L8002BFD8
|
||||
/* 0073C4 8002BFC4 00000000 */ nop
|
||||
/* 0073C8 8002BFC8 00042040 */ sll $a0, $a0, 1
|
||||
/* 0073CC 8002BFCC 00052840 */ sll $a1, $a1, 1
|
||||
/* 0073D0 8002BFD0 00063040 */ sll $a2, $a2, 1
|
||||
/* 0073D4 8002BFD4 00073840 */ sll $a3, $a3, 1
|
||||
.L8002BFD8:
|
||||
/* 0073D8 8002BFD8 950209D0 */ lhu $v0, 0x9d0($t0)
|
||||
/* 0073DC 8002BFDC 00450018 */ mult $v0, $a1
|
||||
/* 0073E0 8002BFE0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 0073E4 8002BFE4 8D0209CC */ lw $v0, 0x9cc($t0)
|
||||
/* 0073E8 8002BFE8 00004812 */ mflo $t1
|
||||
/* 0073EC 8002BFEC 00091840 */ sll $v1, $t1, 1
|
||||
/* 0073F0 8002BFF0 00431021 */ addu $v0, $v0, $v1
|
||||
/* 0073F4 8002BFF4 00041840 */ sll $v1, $a0, 1
|
||||
/* 0073F8 8002BFF8 18E00014 */ blez $a3, .L8002C04C
|
||||
/* 0073FC 8002BFFC 00432021 */ addu $a0, $v0, $v1
|
||||
.L8002C000:
|
||||
/* 007400 8002C000 18C0000A */ blez $a2, .L8002C02C
|
||||
/* 007404 8002C004 0000182D */ daddu $v1, $zero, $zero
|
||||
.L8002C008:
|
||||
/* 007408 8002C008 94820000 */ lhu $v0, ($a0)
|
||||
/* 00740C 8002C00C 24630001 */ addiu $v1, $v1, 1
|
||||
/* 007410 8002C010 3042E738 */ andi $v0, $v0, 0xe738
|
||||
/* 007414 8002C014 00021082 */ srl $v0, $v0, 2
|
||||
/* 007418 8002C018 34420001 */ ori $v0, $v0, 1
|
||||
/* 00741C 8002C01C A4820000 */ sh $v0, ($a0)
|
||||
/* 007420 8002C020 0066102A */ slt $v0, $v1, $a2
|
||||
/* 007424 8002C024 1440FFF8 */ bnez $v0, .L8002C008
|
||||
/* 007428 8002C028 24840002 */ addiu $a0, $a0, 2
|
||||
.L8002C02C:
|
||||
/* 00742C 8002C02C 950209D0 */ lhu $v0, 0x9d0($t0)
|
||||
/* 007430 8002C030 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 007434 8002C034 00461023 */ subu $v0, $v0, $a2
|
||||
/* 007438 8002C038 00021040 */ sll $v0, $v0, 1
|
||||
/* 00743C 8002C03C 00822021 */ addu $a0, $a0, $v0
|
||||
/* 007440 8002C040 00A7102A */ slt $v0, $a1, $a3
|
||||
/* 007444 8002C044 1440FFEE */ bnez $v0, .L8002C000
|
||||
/* 007448 8002C048 00000000 */ nop
|
||||
.L8002C04C:
|
||||
/* 00744C 8002C04C 03E00008 */ jr $ra
|
||||
/* 007450 8002C050 00000000 */ nop
|
||||
|
||||
glabel func_8002C054
|
||||
/* 007454 8002C054 3C026666 */ lui $v0, 0x6666
|
||||
/* 007458 8002C058 34426667 */ ori $v0, $v0, 0x6667
|
||||
/* 00745C 8002C05C 00C20018 */ mult $a2, $v0
|
||||
/* 007460 8002C060 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 007464 8002C064 000617C3 */ sra $v0, $a2, 0x1f
|
||||
/* 007468 8002C068 3C048007 */ lui $a0, 0x8007
|
||||
/* 00746C 8002C06C 24847290 */ addiu $a0, $a0, 0x7290
|
||||
/* 007470 8002C070 00007010 */ mfhi $t6
|
||||
/* 007474 8002C074 000E1843 */ sra $v1, $t6, 1
|
||||
/* 007478 8002C078 00621823 */ subu $v1, $v1, $v0
|
||||
/* 00747C 8002C07C 000310C0 */ sll $v0, $v1, 3
|
||||
/* 007480 8002C080 00431023 */ subu $v0, $v0, $v1
|
||||
/* 007484 8002C084 00021080 */ sll $v0, $v0, 2
|
||||
/* 007488 8002C088 00445021 */ addu $t2, $v0, $a0
|
||||
/* 00748C 8002C08C 00031080 */ sll $v0, $v1, 2
|
||||
/* 007490 8002C090 00431021 */ addu $v0, $v0, $v1
|
||||
/* 007494 8002C094 00C23023 */ subu $a2, $a2, $v0
|
||||
/* 007498 8002C098 00061040 */ sll $v0, $a2, 1
|
||||
/* 00749C 8002C09C 00461021 */ addu $v0, $v0, $a2
|
||||
/* 0074A0 8002C0A0 00026040 */ sll $t4, $v0, 1
|
||||
/* 0074A4 8002C0A4 3C04800A */ lui $a0, 0x800a
|
||||
/* 0074A8 8002C0A8 2484BB30 */ addiu $a0, $a0, -0x44d0
|
||||
/* 0074AC 8002C0AC 948309D0 */ lhu $v1, 0x9d0($a0)
|
||||
/* 0074B0 8002C0B0 24020140 */ addiu $v0, $zero, 0x140
|
||||
/* 0074B4 8002C0B4 14620024 */ bne $v1, $v0, .L8002C148
|
||||
/* 0074B8 8002C0B8 24020280 */ addiu $v0, $zero, 0x280
|
||||
/* 0074BC 8002C0BC 0060102D */ daddu $v0, $v1, $zero
|
||||
/* 0074C0 8002C0C0 00450018 */ mult $v0, $a1
|
||||
/* 0074C4 8002C0C4 0000482D */ daddu $t1, $zero, $zero
|
||||
/* 0074C8 8002C0C8 3C0D8000 */ lui $t5, 0x8000
|
||||
/* 0074CC 8002C0CC 0080582D */ daddu $t3, $a0, $zero
|
||||
/* 0074D0 8002C0D0 8D6209CC */ lw $v0, 0x9cc($t3)
|
||||
/* 0074D4 8002C0D4 00007012 */ mflo $t6
|
||||
/* 0074D8 8002C0D8 000E1840 */ sll $v1, $t6, 1
|
||||
/* 0074DC 8002C0DC 00431021 */ addu $v0, $v0, $v1
|
||||
/* 0074E0 8002C0E0 00071840 */ sll $v1, $a3, 1
|
||||
/* 0074E4 8002C0E4 00432821 */ addu $a1, $v0, $v1
|
||||
/* 0074E8 8002C0E8 018D2006 */ srlv $a0, $t5, $t4
|
||||
.L8002C0EC:
|
||||
/* 0074EC 8002C0EC 8D480000 */ lw $t0, ($t2)
|
||||
/* 0074F0 8002C0F0 254A0004 */ addiu $t2, $t2, 4
|
||||
/* 0074F4 8002C0F4 24060005 */ addiu $a2, $zero, 5
|
||||
.L8002C0F8:
|
||||
/* 0074F8 8002C0F8 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 0074FC 8002C0FC 24A50002 */ addiu $a1, $a1, 2
|
||||
/* 007500 8002C100 00881024 */ and $v0, $a0, $t0
|
||||
/* 007504 8002C104 10400002 */ beqz $v0, .L8002C110
|
||||
/* 007508 8002C108 24030001 */ addiu $v1, $zero, 1
|
||||
/* 00750C 8002C10C 3403FFFF */ ori $v1, $zero, 0xffff
|
||||
.L8002C110:
|
||||
/* 007510 8002C110 A4E30000 */ sh $v1, ($a3)
|
||||
/* 007514 8002C114 24C6FFFF */ addiu $a2, $a2, -1
|
||||
/* 007518 8002C118 04C1FFF7 */ bgez $a2, .L8002C0F8
|
||||
/* 00751C 8002C11C 00042042 */ srl $a0, $a0, 1
|
||||
/* 007520 8002C120 956209D0 */ lhu $v0, 0x9d0($t3)
|
||||
/* 007524 8002C124 25290001 */ addiu $t1, $t1, 1
|
||||
/* 007528 8002C128 00021040 */ sll $v0, $v0, 1
|
||||
/* 00752C 8002C12C 2442FFF4 */ addiu $v0, $v0, -0xc
|
||||
/* 007530 8002C130 00A22821 */ addu $a1, $a1, $v0
|
||||
/* 007534 8002C134 29220007 */ slti $v0, $t1, 7
|
||||
/* 007538 8002C138 1440FFEC */ bnez $v0, .L8002C0EC
|
||||
/* 00753C 8002C13C 018D2006 */ srlv $a0, $t5, $t4
|
||||
.L8002C140:
|
||||
/* 007540 8002C140 03E00008 */ jr $ra
|
||||
/* 007544 8002C144 00000000 */ nop
|
||||
|
||||
.L8002C148:
|
||||
/* 007548 8002C148 1462FFFD */ bne $v1, $v0, .L8002C140
|
||||
/* 00754C 8002C14C 0000482D */ daddu $t1, $zero, $zero
|
||||
/* 007550 8002C150 3C0B8000 */ lui $t3, 0x8000
|
||||
/* 007554 8002C154 00051080 */ sll $v0, $a1, 2
|
||||
/* 007558 8002C158 00451021 */ addu $v0, $v0, $a1
|
||||
/* 00755C 8002C15C 8C8309CC */ lw $v1, 0x9cc($a0)
|
||||
/* 007560 8002C160 00021240 */ sll $v0, $v0, 9
|
||||
/* 007564 8002C164 00621821 */ addu $v1, $v1, $v0
|
||||
/* 007568 8002C168 00071080 */ sll $v0, $a3, 2
|
||||
/* 00756C 8002C16C 00621821 */ addu $v1, $v1, $v0
|
||||
.L8002C170:
|
||||
/* 007570 8002C170 018B3806 */ srlv $a3, $t3, $t4
|
||||
/* 007574 8002C174 8D480000 */ lw $t0, ($t2)
|
||||
/* 007578 8002C178 254A0004 */ addiu $t2, $t2, 4
|
||||
/* 00757C 8002C17C 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 007580 8002C180 24650502 */ addiu $a1, $v1, 0x502
|
||||
.L8002C184:
|
||||
/* 007584 8002C184 00E81024 */ and $v0, $a3, $t0
|
||||
/* 007588 8002C188 10400002 */ beqz $v0, .L8002C194
|
||||
/* 00758C 8002C18C 24040001 */ addiu $a0, $zero, 1
|
||||
/* 007590 8002C190 3404FFFF */ ori $a0, $zero, 0xffff
|
||||
.L8002C194:
|
||||
/* 007594 8002C194 A4640000 */ sh $a0, ($v1)
|
||||
/* 007598 8002C198 A4A4FB00 */ sh $a0, -0x500($a1)
|
||||
/* 00759C 8002C19C A4A4FFFE */ sh $a0, -2($a1)
|
||||
/* 0075A0 8002C1A0 A4A40000 */ sh $a0, ($a1)
|
||||
/* 0075A4 8002C1A4 24A50004 */ addiu $a1, $a1, 4
|
||||
/* 0075A8 8002C1A8 24630004 */ addiu $v1, $v1, 4
|
||||
/* 0075AC 8002C1AC 24C60001 */ addiu $a2, $a2, 1
|
||||
/* 0075B0 8002C1B0 28C20006 */ slti $v0, $a2, 6
|
||||
/* 0075B4 8002C1B4 1440FFF3 */ bnez $v0, .L8002C184
|
||||
/* 0075B8 8002C1B8 00073842 */ srl $a3, $a3, 1
|
||||
/* 0075BC 8002C1BC 25290001 */ addiu $t1, $t1, 1
|
||||
/* 0075C0 8002C1C0 29220007 */ slti $v0, $t1, 7
|
||||
/* 0075C4 8002C1C4 1440FFEA */ bnez $v0, .L8002C170
|
||||
/* 0075C8 8002C1C8 246309E8 */ addiu $v1, $v1, 0x9e8
|
||||
/* 0075CC 8002C1CC 03E00008 */ jr $ra
|
||||
/* 0075D0 8002C1D0 00000000 */ nop
|
||||
|
||||
/* 0075D4 8002C1D4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0075D8 8002C1D8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0075DC 8002C1DC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0075E0 8002C1E0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0075E4 8002C1E4 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0075E8 8002C1E8 0C01929D */ jal memcpy
|
||||
/* 0075EC 8002C1EC 00C0802D */ daddu $s0, $a2, $zero
|
||||
/* 0075F0 8002C1F0 02301021 */ addu $v0, $s1, $s0
|
||||
/* 0075F4 8002C1F4 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0075F8 8002C1F8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0075FC 8002C1FC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 007600 8002C200 03E00008 */ jr $ra
|
||||
/* 007604 8002C204 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel crash_printf_string
|
||||
/* 007608 8002C208 AFA60008 */ sw $a2, 8($sp)
|
||||
/* 00760C 8002C20C AFA7000C */ sw $a3, 0xc($sp)
|
||||
/* 007610 8002C210 27BDFED0 */ addiu $sp, $sp, -0x130
|
||||
/* 007614 8002C214 AFB20118 */ sw $s2, 0x118($sp)
|
||||
/* 007618 8002C218 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 00761C 8002C21C AFB50124 */ sw $s5, 0x124($sp)
|
||||
/* 007620 8002C220 00A0A82D */ daddu $s5, $a1, $zero
|
||||
/* 007624 8002C224 3C048003 */ lui $a0, 0x8003
|
||||
/* 007628 8002C228 2484C1D4 */ addiu $a0, $a0, -0x3e2c
|
||||
/* 00762C 8002C22C 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 007630 8002C230 27A7013C */ addiu $a3, $sp, 0x13c
|
||||
/* 007634 8002C234 AFBF0128 */ sw $ra, 0x128($sp)
|
||||
/* 007638 8002C238 AFB40120 */ sw $s4, 0x120($sp)
|
||||
/* 00763C 8002C23C AFB3011C */ sw $s3, 0x11c($sp)
|
||||
/* 007640 8002C240 AFB10114 */ sw $s1, 0x114($sp)
|
||||
/* 007644 8002C244 0C0192A8 */ jal _Printf
|
||||
/* 007648 8002C248 AFB00110 */ sw $s0, 0x110($sp)
|
||||
/* 00764C 8002C24C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 007650 8002C250 1A000010 */ blez $s0, .L8002C294
|
||||
/* 007654 8002C254 27B10010 */ addiu $s1, $sp, 0x10
|
||||
/* 007658 8002C258 3C148007 */ lui $s4, 0x8007
|
||||
/* 00765C 8002C25C 26947210 */ addiu $s4, $s4, 0x7210
|
||||
/* 007660 8002C260 241300FF */ addiu $s3, $zero, 0xff
|
||||
.L8002C264:
|
||||
/* 007664 8002C264 92220000 */ lbu $v0, ($s1)
|
||||
/* 007668 8002C268 3042007F */ andi $v0, $v0, 0x7f
|
||||
/* 00766C 8002C26C 00541021 */ addu $v0, $v0, $s4
|
||||
/* 007670 8002C270 90460000 */ lbu $a2, ($v0)
|
||||
/* 007674 8002C274 10D30003 */ beq $a2, $s3, .L8002C284
|
||||
/* 007678 8002C278 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 00767C 8002C27C 0C00B015 */ jal func_8002C054
|
||||
/* 007680 8002C280 02A0282D */ daddu $a1, $s5, $zero
|
||||
.L8002C284:
|
||||
/* 007684 8002C284 26520006 */ addiu $s2, $s2, 6
|
||||
/* 007688 8002C288 2610FFFF */ addiu $s0, $s0, -1
|
||||
/* 00768C 8002C28C 1E00FFF5 */ bgtz $s0, .L8002C264
|
||||
/* 007690 8002C290 26310001 */ addiu $s1, $s1, 1
|
||||
.L8002C294:
|
||||
/* 007694 8002C294 8FBF0128 */ lw $ra, 0x128($sp)
|
||||
/* 007698 8002C298 8FB50124 */ lw $s5, 0x124($sp)
|
||||
/* 00769C 8002C29C 8FB40120 */ lw $s4, 0x120($sp)
|
||||
/* 0076A0 8002C2A0 8FB3011C */ lw $s3, 0x11c($sp)
|
||||
/* 0076A4 8002C2A4 8FB20118 */ lw $s2, 0x118($sp)
|
||||
/* 0076A8 8002C2A8 8FB10114 */ lw $s1, 0x114($sp)
|
||||
/* 0076AC 8002C2AC 8FB00110 */ lw $s0, 0x110($sp)
|
||||
/* 0076B0 8002C2B0 03E00008 */ jr $ra
|
||||
/* 0076B4 8002C2B4 27BD0130 */ addiu $sp, $sp, 0x130
|
||||
|
||||
glabel crash_print_fpr
|
||||
/* 0076B8 8002C2B8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0076BC 8002C2BC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0076C0 8002C2C0 8CE30000 */ lw $v1, ($a3)
|
||||
/* 0076C4 8002C2C4 000315C2 */ srl $v0, $v1, 0x17
|
||||
/* 0076C8 8002C2C8 304200FF */ andi $v0, $v0, 0xff
|
||||
/* 0076CC 8002C2CC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0076D0 8002C2D0 2C4200FE */ sltiu $v0, $v0, 0xfe
|
||||
/* 0076D4 8002C2D4 14400003 */ bnez $v0, .L8002C2E4
|
||||
/* 0076D8 8002C2D8 00C0402D */ daddu $t0, $a2, $zero
|
||||
/* 0076DC 8002C2DC 1460000A */ bnez $v1, .L8002C308
|
||||
/* 0076E0 8002C2E0 00000000 */ nop
|
||||
.L8002C2E4:
|
||||
/* 0076E4 8002C2E4 3C06800A */ lui $a2, 0x800a
|
||||
/* 0076E8 8002C2E8 24C68034 */ addiu $a2, $a2, -0x7fcc
|
||||
/* 0076EC 8002C2EC C4E00000 */ lwc1 $f0, ($a3)
|
||||
/* 0076F0 8002C2F0 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 0076F4 8002C2F4 F7A00010 */ sdc1 $f0, 0x10($sp)
|
||||
/* 0076F8 8002C2F8 0C00B082 */ jal crash_printf_string
|
||||
/* 0076FC 8002C2FC 0100382D */ daddu $a3, $t0, $zero
|
||||
/* 007700 8002C300 0800B0C6 */ j .L8002C318
|
||||
/* 007704 8002C304 00000000 */ nop
|
||||
|
||||
.L8002C308:
|
||||
/* 007708 8002C308 3C06800A */ lui $a2, 0x800a
|
||||
/* 00770C 8002C30C 24C68040 */ addiu $a2, $a2, -0x7fc0
|
||||
/* 007710 8002C310 0C00B082 */ jal crash_printf_string
|
||||
/* 007714 8002C314 0100382D */ daddu $a3, $t0, $zero
|
||||
.L8002C318:
|
||||
/* 007718 8002C318 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 00771C 8002C31C 03E00008 */ jr $ra
|
||||
/* 007720 8002C320 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_8002C324
|
||||
/* 007724 8002C324 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 007728 8002C328 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 00772C 8002C32C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 007730 8002C330 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 007734 8002C334 3C100002 */ lui $s0, 2
|
||||
/* 007738 8002C338 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 00773C 8002C33C 2405009B */ addiu $a1, $zero, 0x9b
|
||||
/* 007740 8002C340 3C06800A */ lui $a2, 0x800a
|
||||
/* 007744 8002C344 24C68050 */ addiu $a2, $a2, -0x7fb0
|
||||
/* 007748 8002C348 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 00774C 8002C34C 0C00B082 */ jal crash_printf_string
|
||||
/* 007750 8002C350 0220382D */ daddu $a3, $s1, $zero
|
||||
/* 007754 8002C354 0000182D */ daddu $v1, $zero, $zero
|
||||
/* 007758 8002C358 3C078007 */ lui $a3, 0x8007
|
||||
/* 00775C 8002C35C 24E773D8 */ addiu $a3, $a3, 0x73d8
|
||||
.L8002C360:
|
||||
/* 007760 8002C360 02301024 */ and $v0, $s1, $s0
|
||||
/* 007764 8002C364 50400009 */ beql $v0, $zero, .L8002C38C
|
||||
/* 007768 8002C368 24E70004 */ addiu $a3, $a3, 4
|
||||
/* 00776C 8002C36C 24040084 */ addiu $a0, $zero, 0x84
|
||||
/* 007770 8002C370 8CE70000 */ lw $a3, ($a3)
|
||||
/* 007774 8002C374 3C06800A */ lui $a2, 0x800a
|
||||
/* 007778 8002C378 24C6805C */ addiu $a2, $a2, -0x7fa4
|
||||
/* 00777C 8002C37C 0C00B082 */ jal crash_printf_string
|
||||
/* 007780 8002C380 2405009B */ addiu $a1, $zero, 0x9b
|
||||
/* 007784 8002C384 0800B0E7 */ j .L8002C39C
|
||||
/* 007788 8002C388 00000000 */ nop
|
||||
|
||||
.L8002C38C:
|
||||
/* 00778C 8002C38C 24630001 */ addiu $v1, $v1, 1
|
||||
/* 007790 8002C390 28620006 */ slti $v0, $v1, 6
|
||||
/* 007794 8002C394 1440FFF2 */ bnez $v0, .L8002C360
|
||||
/* 007798 8002C398 00108042 */ srl $s0, $s0, 1
|
||||
.L8002C39C:
|
||||
/* 00779C 8002C39C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0077A0 8002C3A0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0077A4 8002C3A4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0077A8 8002C3A8 03E00008 */ jr $ra
|
||||
/* 0077AC 8002C3AC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel crash_show_handler
|
||||
/* 0077B0 8002C3B0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0077B4 8002C3B4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 0077B8 8002C3B8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0077BC 8002C3BC AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 0077C0 8002C3C0 26320020 */ addiu $s2, $s1, 0x20
|
||||
/* 0077C4 8002C3C4 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 0077C8 8002C3C8 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 0077CC 8002C3CC 8E220120 */ lw $v0, 0x120($s1)
|
||||
/* 0077D0 8002C3D0 24030017 */ addiu $v1, $zero, 0x17
|
||||
/* 0077D4 8002C3D4 00021082 */ srl $v0, $v0, 2
|
||||
/* 0077D8 8002C3D8 3042001F */ andi $v0, $v0, 0x1f
|
||||
/* 0077DC 8002C3DC 14430002 */ bne $v0, $v1, .L8002C3E8
|
||||
/* 0077E0 8002C3E0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0077E4 8002C3E4 24100010 */ addiu $s0, $zero, 0x10
|
||||
.L8002C3E8:
|
||||
/* 0077E8 8002C3E8 2402001F */ addiu $v0, $zero, 0x1f
|
||||
/* 0077EC 8002C3EC 52020001 */ beql $s0, $v0, .L8002C3F4
|
||||
/* 0077F0 8002C3F0 24100011 */ addiu $s0, $zero, 0x11
|
||||
.L8002C3F4:
|
||||
/* 0077F4 8002C3F4 0C018634 */ jal osWritebackDCacheAll
|
||||
/* 0077F8 8002C3F8 00000000 */ nop
|
||||
/* 0077FC 8002C3FC 24040019 */ addiu $a0, $zero, 0x19
|
||||
/* 007800 8002C400 24050014 */ addiu $a1, $zero, 0x14
|
||||
/* 007804 8002C404 2406010E */ addiu $a2, $zero, 0x10e
|
||||
/* 007808 8002C408 0C00AFEC */ jal func_8002BFB0
|
||||
/* 00780C 8002C40C 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 007810 8002C410 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007814 8002C414 00101080 */ sll $v0, $s0, 2
|
||||
/* 007818 8002C418 3C018007 */ lui $at, 0x8007
|
||||
/* 00781C 8002C41C 00220821 */ addu $at, $at, $v0
|
||||
/* 007820 8002C420 8C227390 */ lw $v0, 0x7390($at)
|
||||
/* 007824 8002C424 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 007828 8002C428 8E270014 */ lw $a3, 0x14($s1)
|
||||
/* 00782C 8002C42C 3C06800A */ lui $a2, 0x800a
|
||||
/* 007830 8002C430 24C68064 */ addiu $a2, $a2, -0x7f9c
|
||||
/* 007834 8002C434 0C00B082 */ jal crash_printf_string
|
||||
/* 007838 8002C438 24050019 */ addiu $a1, $zero, 0x19
|
||||
/* 00783C 8002C43C 8E220118 */ lw $v0, 0x118($s1)
|
||||
/* 007840 8002C440 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007844 8002C444 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 007848 8002C448 8E220124 */ lw $v0, 0x124($s1)
|
||||
/* 00784C 8002C44C AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 007850 8002C450 8E27011C */ lw $a3, 0x11c($s1)
|
||||
/* 007854 8002C454 3C06800A */ lui $a2, 0x800a
|
||||
/* 007858 8002C458 24C68074 */ addiu $a2, $a2, -0x7f8c
|
||||
/* 00785C 8002C45C 0C00B082 */ jal crash_printf_string
|
||||
/* 007860 8002C460 24050023 */ addiu $a1, $zero, 0x23
|
||||
/* 007864 8002C464 0C00AFD0 */ jal crash_delay_msec
|
||||
/* 007868 8002C468 240407D0 */ addiu $a0, $zero, 0x7d0
|
||||
/* 00786C 8002C46C 0C019CE0 */ jal osViBlack
|
||||
/* 007870 8002C470 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 007874 8002C474 0C019CF8 */ jal osViRepeatLine
|
||||
/* 007878 8002C478 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 00787C 8002C47C 3C04800A */ lui $a0, 0x800a
|
||||
/* 007880 8002C480 8C84C4FC */ lw $a0, -0x3b04($a0)
|
||||
/* 007884 8002C484 0C019C08 */ jal osViSwapBuffer
|
||||
/* 007888 8002C488 00000000 */ nop
|
||||
/* 00788C 8002C48C 24040019 */ addiu $a0, $zero, 0x19
|
||||
/* 007890 8002C490 2405002D */ addiu $a1, $zero, 0x2d
|
||||
/* 007894 8002C494 2406010E */ addiu $a2, $zero, 0x10e
|
||||
/* 007898 8002C498 0C00AFEC */ jal func_8002BFB0
|
||||
/* 00789C 8002C49C 240700B9 */ addiu $a3, $zero, 0xb9
|
||||
/* 0078A0 8002C4A0 8E22002C */ lw $v0, 0x2c($s1)
|
||||
/* 0078A4 8002C4A4 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 0078A8 8002C4A8 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 0078AC 8002C4AC 8E220034 */ lw $v0, 0x34($s1)
|
||||
/* 0078B0 8002C4B0 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 0078B4 8002C4B4 8E270024 */ lw $a3, 0x24($s1)
|
||||
/* 0078B8 8002C4B8 3C06800A */ lui $a2, 0x800a
|
||||
/* 0078BC 8002C4BC 24C68094 */ addiu $a2, $a2, -0x7f6c
|
||||
/* 0078C0 8002C4C0 0C00B082 */ jal crash_printf_string
|
||||
/* 0078C4 8002C4C4 24050032 */ addiu $a1, $zero, 0x32
|
||||
/* 0078C8 8002C4C8 8E220044 */ lw $v0, 0x44($s1)
|
||||
/* 0078CC 8002C4CC 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 0078D0 8002C4D0 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 0078D4 8002C4D4 8E22004C */ lw $v0, 0x4c($s1)
|
||||
/* 0078D8 8002C4D8 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 0078DC 8002C4DC 8E27003C */ lw $a3, 0x3c($s1)
|
||||
/* 0078E0 8002C4E0 3C06800A */ lui $a2, 0x800a
|
||||
/* 0078E4 8002C4E4 24C680B4 */ addiu $a2, $a2, -0x7f4c
|
||||
/* 0078E8 8002C4E8 0C00B082 */ jal crash_printf_string
|
||||
/* 0078EC 8002C4EC 2405003C */ addiu $a1, $zero, 0x3c
|
||||
/* 0078F0 8002C4F0 8E22005C */ lw $v0, 0x5c($s1)
|
||||
/* 0078F4 8002C4F4 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 0078F8 8002C4F8 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 0078FC 8002C4FC 8E220064 */ lw $v0, 0x64($s1)
|
||||
/* 007900 8002C500 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 007904 8002C504 8E270054 */ lw $a3, 0x54($s1)
|
||||
/* 007908 8002C508 3C06800A */ lui $a2, 0x800a
|
||||
/* 00790C 8002C50C 24C680D4 */ addiu $a2, $a2, -0x7f2c
|
||||
/* 007910 8002C510 0C00B082 */ jal crash_printf_string
|
||||
/* 007914 8002C514 24050046 */ addiu $a1, $zero, 0x46
|
||||
/* 007918 8002C518 8E220074 */ lw $v0, 0x74($s1)
|
||||
/* 00791C 8002C51C 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007920 8002C520 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 007924 8002C524 8E22007C */ lw $v0, 0x7c($s1)
|
||||
/* 007928 8002C528 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 00792C 8002C52C 8E27006C */ lw $a3, 0x6c($s1)
|
||||
/* 007930 8002C530 3C06800A */ lui $a2, 0x800a
|
||||
/* 007934 8002C534 24C680F4 */ addiu $a2, $a2, -0x7f0c
|
||||
/* 007938 8002C538 0C00B082 */ jal crash_printf_string
|
||||
/* 00793C 8002C53C 24050050 */ addiu $a1, $zero, 0x50
|
||||
/* 007940 8002C540 8E22008C */ lw $v0, 0x8c($s1)
|
||||
/* 007944 8002C544 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007948 8002C548 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 00794C 8002C54C 8E220094 */ lw $v0, 0x94($s1)
|
||||
/* 007950 8002C550 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 007954 8002C554 8E270084 */ lw $a3, 0x84($s1)
|
||||
/* 007958 8002C558 3C06800A */ lui $a2, 0x800a
|
||||
/* 00795C 8002C55C 24C68114 */ addiu $a2, $a2, -0x7eec
|
||||
/* 007960 8002C560 0C00B082 */ jal crash_printf_string
|
||||
/* 007964 8002C564 2405005A */ addiu $a1, $zero, 0x5a
|
||||
/* 007968 8002C568 8E2200A4 */ lw $v0, 0xa4($s1)
|
||||
/* 00796C 8002C56C 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007970 8002C570 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 007974 8002C574 8E2200AC */ lw $v0, 0xac($s1)
|
||||
/* 007978 8002C578 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 00797C 8002C57C 8E27009C */ lw $a3, 0x9c($s1)
|
||||
/* 007980 8002C580 3C06800A */ lui $a2, 0x800a
|
||||
/* 007984 8002C584 24C68134 */ addiu $a2, $a2, -0x7ecc
|
||||
/* 007988 8002C588 0C00B082 */ jal crash_printf_string
|
||||
/* 00798C 8002C58C 24050064 */ addiu $a1, $zero, 0x64
|
||||
/* 007990 8002C590 8E2200BC */ lw $v0, 0xbc($s1)
|
||||
/* 007994 8002C594 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007998 8002C598 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 00799C 8002C59C 8E2200C4 */ lw $v0, 0xc4($s1)
|
||||
/* 0079A0 8002C5A0 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 0079A4 8002C5A4 8E2700B4 */ lw $a3, 0xb4($s1)
|
||||
/* 0079A8 8002C5A8 3C06800A */ lui $a2, 0x800a
|
||||
/* 0079AC 8002C5AC 24C68154 */ addiu $a2, $a2, -0x7eac
|
||||
/* 0079B0 8002C5B0 0C00B082 */ jal crash_printf_string
|
||||
/* 0079B4 8002C5B4 2405006E */ addiu $a1, $zero, 0x6e
|
||||
/* 0079B8 8002C5B8 8E2200D4 */ lw $v0, 0xd4($s1)
|
||||
/* 0079BC 8002C5BC 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 0079C0 8002C5C0 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 0079C4 8002C5C4 8E2200DC */ lw $v0, 0xdc($s1)
|
||||
/* 0079C8 8002C5C8 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 0079CC 8002C5CC 8E2700CC */ lw $a3, 0xcc($s1)
|
||||
/* 0079D0 8002C5D0 3C06800A */ lui $a2, 0x800a
|
||||
/* 0079D4 8002C5D4 24C68174 */ addiu $a2, $a2, -0x7e8c
|
||||
/* 0079D8 8002C5D8 0C00B082 */ jal crash_printf_string
|
||||
/* 0079DC 8002C5DC 24050078 */ addiu $a1, $zero, 0x78
|
||||
/* 0079E0 8002C5E0 8E2200EC */ lw $v0, 0xec($s1)
|
||||
/* 0079E4 8002C5E4 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 0079E8 8002C5E8 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 0079EC 8002C5EC 8E2200F4 */ lw $v0, 0xf4($s1)
|
||||
/* 0079F0 8002C5F0 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 0079F4 8002C5F4 8E2700E4 */ lw $a3, 0xe4($s1)
|
||||
/* 0079F8 8002C5F8 3C06800A */ lui $a2, 0x800a
|
||||
/* 0079FC 8002C5FC 24C68194 */ addiu $a2, $a2, -0x7e6c
|
||||
/* 007A00 8002C600 0C00B082 */ jal crash_printf_string
|
||||
/* 007A04 8002C604 24050082 */ addiu $a1, $zero, 0x82
|
||||
/* 007A08 8002C608 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007A0C 8002C60C 8E220104 */ lw $v0, 0x104($s1)
|
||||
/* 007A10 8002C610 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 007A14 8002C614 8E2700FC */ lw $a3, 0xfc($s1)
|
||||
/* 007A18 8002C618 3C06800A */ lui $a2, 0x800a
|
||||
/* 007A1C 8002C61C 24C681B4 */ addiu $a2, $a2, -0x7e4c
|
||||
/* 007A20 8002C620 0C00B082 */ jal crash_printf_string
|
||||
/* 007A24 8002C624 2405008C */ addiu $a1, $zero, 0x8c
|
||||
/* 007A28 8002C628 8E24012C */ lw $a0, 0x12c($s1)
|
||||
/* 007A2C 8002C62C 0C00B0C9 */ jal func_8002C324
|
||||
/* 007A30 8002C630 00000000 */ nop
|
||||
/* 007A34 8002C634 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007A38 8002C638 240500AA */ addiu $a1, $zero, 0xaa
|
||||
/* 007A3C 8002C63C 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 007A40 8002C640 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007A44 8002C644 26270134 */ addiu $a3, $s1, 0x134
|
||||
/* 007A48 8002C648 24040078 */ addiu $a0, $zero, 0x78
|
||||
/* 007A4C 8002C64C 240500AA */ addiu $a1, $zero, 0xaa
|
||||
/* 007A50 8002C650 24060002 */ addiu $a2, $zero, 2
|
||||
/* 007A54 8002C654 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007A58 8002C658 2627013C */ addiu $a3, $s1, 0x13c
|
||||
/* 007A5C 8002C65C 240400D2 */ addiu $a0, $zero, 0xd2
|
||||
/* 007A60 8002C660 240500AA */ addiu $a1, $zero, 0xaa
|
||||
/* 007A64 8002C664 24060004 */ addiu $a2, $zero, 4
|
||||
/* 007A68 8002C668 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007A6C 8002C66C 26270144 */ addiu $a3, $s1, 0x144
|
||||
/* 007A70 8002C670 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007A74 8002C674 240500B4 */ addiu $a1, $zero, 0xb4
|
||||
/* 007A78 8002C678 24060006 */ addiu $a2, $zero, 6
|
||||
/* 007A7C 8002C67C 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007A80 8002C680 2627014C */ addiu $a3, $s1, 0x14c
|
||||
/* 007A84 8002C684 24040078 */ addiu $a0, $zero, 0x78
|
||||
/* 007A88 8002C688 240500B4 */ addiu $a1, $zero, 0xb4
|
||||
/* 007A8C 8002C68C 24060008 */ addiu $a2, $zero, 8
|
||||
/* 007A90 8002C690 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007A94 8002C694 26270154 */ addiu $a3, $s1, 0x154
|
||||
/* 007A98 8002C698 240400D2 */ addiu $a0, $zero, 0xd2
|
||||
/* 007A9C 8002C69C 240500B4 */ addiu $a1, $zero, 0xb4
|
||||
/* 007AA0 8002C6A0 2406000A */ addiu $a2, $zero, 0xa
|
||||
/* 007AA4 8002C6A4 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007AA8 8002C6A8 2627015C */ addiu $a3, $s1, 0x15c
|
||||
/* 007AAC 8002C6AC 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007AB0 8002C6B0 240500BE */ addiu $a1, $zero, 0xbe
|
||||
/* 007AB4 8002C6B4 2406000C */ addiu $a2, $zero, 0xc
|
||||
/* 007AB8 8002C6B8 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007ABC 8002C6BC 26270164 */ addiu $a3, $s1, 0x164
|
||||
/* 007AC0 8002C6C0 24040078 */ addiu $a0, $zero, 0x78
|
||||
/* 007AC4 8002C6C4 240500BE */ addiu $a1, $zero, 0xbe
|
||||
/* 007AC8 8002C6C8 2406000E */ addiu $a2, $zero, 0xe
|
||||
/* 007ACC 8002C6CC 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007AD0 8002C6D0 2627016C */ addiu $a3, $s1, 0x16c
|
||||
/* 007AD4 8002C6D4 240400D2 */ addiu $a0, $zero, 0xd2
|
||||
/* 007AD8 8002C6D8 240500BE */ addiu $a1, $zero, 0xbe
|
||||
/* 007ADC 8002C6DC 24060010 */ addiu $a2, $zero, 0x10
|
||||
/* 007AE0 8002C6E0 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007AE4 8002C6E4 26270174 */ addiu $a3, $s1, 0x174
|
||||
/* 007AE8 8002C6E8 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007AEC 8002C6EC 240500C8 */ addiu $a1, $zero, 0xc8
|
||||
/* 007AF0 8002C6F0 24060012 */ addiu $a2, $zero, 0x12
|
||||
/* 007AF4 8002C6F4 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007AF8 8002C6F8 2627017C */ addiu $a3, $s1, 0x17c
|
||||
/* 007AFC 8002C6FC 24040078 */ addiu $a0, $zero, 0x78
|
||||
/* 007B00 8002C700 240500C8 */ addiu $a1, $zero, 0xc8
|
||||
/* 007B04 8002C704 24060014 */ addiu $a2, $zero, 0x14
|
||||
/* 007B08 8002C708 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007B0C 8002C70C 26270184 */ addiu $a3, $s1, 0x184
|
||||
/* 007B10 8002C710 240400D2 */ addiu $a0, $zero, 0xd2
|
||||
/* 007B14 8002C714 240500C8 */ addiu $a1, $zero, 0xc8
|
||||
/* 007B18 8002C718 24060016 */ addiu $a2, $zero, 0x16
|
||||
/* 007B1C 8002C71C 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007B20 8002C720 2627018C */ addiu $a3, $s1, 0x18c
|
||||
/* 007B24 8002C724 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007B28 8002C728 240500D2 */ addiu $a1, $zero, 0xd2
|
||||
/* 007B2C 8002C72C 24060018 */ addiu $a2, $zero, 0x18
|
||||
/* 007B30 8002C730 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007B34 8002C734 26270194 */ addiu $a3, $s1, 0x194
|
||||
/* 007B38 8002C738 24040078 */ addiu $a0, $zero, 0x78
|
||||
/* 007B3C 8002C73C 240500D2 */ addiu $a1, $zero, 0xd2
|
||||
/* 007B40 8002C740 2406001A */ addiu $a2, $zero, 0x1a
|
||||
/* 007B44 8002C744 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007B48 8002C748 2627019C */ addiu $a3, $s1, 0x19c
|
||||
/* 007B4C 8002C74C 240400D2 */ addiu $a0, $zero, 0xd2
|
||||
/* 007B50 8002C750 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 007B54 8002C754 2406001C */ addiu $a2, $zero, 0x1c
|
||||
/* 007B58 8002C758 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007B5C 8002C75C 262701A4 */ addiu $a3, $s1, 0x1a4
|
||||
/* 007B60 8002C760 2404001E */ addiu $a0, $zero, 0x1e
|
||||
/* 007B64 8002C764 240500DC */ addiu $a1, $zero, 0xdc
|
||||
/* 007B68 8002C768 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 007B6C 8002C76C 0C00B0AE */ jal crash_print_fpr
|
||||
/* 007B70 8002C770 262701AC */ addiu $a3, $s1, 0x1ac
|
||||
/* 007B74 8002C774 0C00AFD0 */ jal crash_delay_msec
|
||||
/* 007B78 8002C778 240401F4 */ addiu $a0, $zero, 0x1f4
|
||||
/* 007B7C 8002C77C 240400D2 */ addiu $a0, $zero, 0xd2
|
||||
/* 007B80 8002C780 8E4200FC */ lw $v0, 0xfc($s2)
|
||||
/* 007B84 8002C784 8C470000 */ lw $a3, ($v0)
|
||||
/* 007B88 8002C788 3C06800A */ lui $a2, 0x800a
|
||||
/* 007B8C 8002C78C 24C681C8 */ addiu $a2, $a2, -0x7e38
|
||||
/* 007B90 8002C790 0C00B082 */ jal crash_printf_string
|
||||
/* 007B94 8002C794 2405008C */ addiu $a1, $zero, 0x8c
|
||||
/* 007B98 8002C798 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 007B9C 8002C79C 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 007BA0 8002C7A0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 007BA4 8002C7A4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 007BA8 8002C7A8 03E00008 */ jr $ra
|
||||
/* 007BAC 8002C7AC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
glabel func_8002C7B0
|
||||
/* 007BB0 8002C7B0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 007BB4 8002C7B4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 007BB8 8002C7B8 0C0198A4 */ jal osGetActiveQueue
|
||||
/* 007BBC 8002C7BC 00000000 */ nop
|
||||
/* 007BC0 8002C7C0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 007BC4 8002C7C4 8C830004 */ lw $v1, 4($a0)
|
||||
/* 007BC8 8002C7C8 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 007BCC 8002C7CC 50620010 */ beql $v1, $v0, .L8002C810
|
||||
/* 007BD0 8002C7D0 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 007BD4 8002C7D4 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 007BD8 8002C7D8 8C820004 */ lw $v0, 4($a0)
|
||||
/* 007BDC 8002C7DC 2442FFFF */ addiu $v0, $v0, -1
|
||||
.L8002C7E0:
|
||||
/* 007BE0 8002C7E0 2C42007E */ sltiu $v0, $v0, 0x7e
|
||||
/* 007BE4 8002C7E4 10400005 */ beqz $v0, .L8002C7FC
|
||||
/* 007BE8 8002C7E8 00000000 */ nop
|
||||
/* 007BEC 8002C7EC 94820012 */ lhu $v0, 0x12($a0)
|
||||
/* 007BF0 8002C7F0 30420003 */ andi $v0, $v0, 3
|
||||
/* 007BF4 8002C7F4 14400006 */ bnez $v0, .L8002C810
|
||||
/* 007BF8 8002C7F8 0080102D */ daddu $v0, $a0, $zero
|
||||
.L8002C7FC:
|
||||
/* 007BFC 8002C7FC 8C84000C */ lw $a0, 0xc($a0)
|
||||
/* 007C00 8002C800 8C820004 */ lw $v0, 4($a0)
|
||||
/* 007C04 8002C804 1443FFF6 */ bne $v0, $v1, .L8002C7E0
|
||||
/* 007C08 8002C808 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 007C0C 8002C80C 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8002C810:
|
||||
/* 007C10 8002C810 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 007C14 8002C814 03E00008 */ jr $ra
|
||||
/* 007C18 8002C818 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel crash_monitor_thread
|
||||
/* 007C1C 8002C81C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 007C20 8002C820 2404000A */ addiu $a0, $zero, 0xa
|
||||
/* 007C24 8002C824 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 007C28 8002C828 3C10800A */ lui $s0, 0x800a
|
||||
/* 007C2C 8002C82C 2610C4E0 */ addiu $s0, $s0, -0x3b20
|
||||
/* 007C30 8002C830 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 007C34 8002C834 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 007C38 8002C838 0C019654 */ jal osSetEventMesg
|
||||
/* 007C3C 8002C83C 24060001 */ addiu $a2, $zero, 1
|
||||
/* 007C40 8002C840 2404000C */ addiu $a0, $zero, 0xc
|
||||
/* 007C44 8002C844 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 007C48 8002C848 0C019654 */ jal osSetEventMesg
|
||||
/* 007C4C 8002C84C 24060002 */ addiu $a2, $zero, 2
|
||||
.L8002C850:
|
||||
/* 007C50 8002C850 3C04800A */ lui $a0, 0x800a
|
||||
/* 007C54 8002C854 2484C4E0 */ addiu $a0, $a0, -0x3b20
|
||||
/* 007C58 8002C858 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 007C5C 8002C85C 0C0195BC */ jal osRecvMesg
|
||||
/* 007C60 8002C860 24060001 */ addiu $a2, $zero, 1
|
||||
/* 007C64 8002C864 0C00B1EC */ jal func_8002C7B0
|
||||
/* 007C68 8002C868 00000000 */ nop
|
||||
/* 007C6C 8002C86C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 007C70 8002C870 1200FFF7 */ beqz $s0, .L8002C850
|
||||
/* 007C74 8002C874 00000000 */ nop
|
||||
/* 007C78 8002C878 0C019850 */ jal osStopThread
|
||||
/* 007C7C 8002C87C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 007C80 8002C880 0C00B0EC */ jal crash_show_handler
|
||||
/* 007C84 8002C884 0200202D */ daddu $a0, $s0, $zero
|
||||
.L8002C888:
|
||||
/* 007C88 8002C888 0800B222 */ j .L8002C888
|
||||
/* 007C8C 8002C88C 00000000 */ nop
|
||||
|
||||
glabel func_8002C890
|
||||
/* 007C90 8002C890 3C02800A */ lui $v0, 0x800a
|
||||
/* 007C94 8002C894 2442BB30 */ addiu $v0, $v0, -0x44d0
|
||||
/* 007C98 8002C898 3C03A000 */ lui $v1, 0xa000
|
||||
/* 007C9C 8002C89C 00832025 */ or $a0, $a0, $v1
|
||||
/* 007CA0 8002C8A0 AC4409CC */ sw $a0, 0x9cc($v0)
|
||||
/* 007CA4 8002C8A4 A44509D0 */ sh $a1, 0x9d0($v0)
|
||||
/* 007CA8 8002C8A8 03E00008 */ jr $ra
|
||||
/* 007CAC 8002C8AC A44609D2 */ sh $a2, 0x9d2($v0)
|
||||
|
||||
glabel crash_create_monitor
|
||||
/* 007CB0 8002C8B0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 007CB4 8002C8B4 3C07FFFD */ lui $a3, 0xfffd
|
||||
/* 007CB8 8002C8B8 34E7A800 */ ori $a3, $a3, 0xa800
|
||||
/* 007CBC 8002C8BC AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 007CC0 8002C8C0 3C10800A */ lui $s0, 0x800a
|
||||
/* 007CC4 8002C8C4 2610BB30 */ addiu $s0, $s0, -0x44d0
|
||||
/* 007CC8 8002C8C8 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 007CCC 8002C8CC 261109B0 */ addiu $s1, $s0, 0x9b0
|
||||
/* 007CD0 8002C8D0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 007CD4 8002C8D4 260509C8 */ addiu $a1, $s0, 0x9c8
|
||||
/* 007CD8 8002C8D8 24060001 */ addiu $a2, $zero, 1
|
||||
/* 007CDC 8002C8DC 24020140 */ addiu $v0, $zero, 0x140
|
||||
/* 007CE0 8002C8E0 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 007CE4 8002C8E4 A60209D0 */ sh $v0, 0x9d0($s0)
|
||||
/* 007CE8 8002C8E8 24020010 */ addiu $v0, $zero, 0x10
|
||||
/* 007CEC 8002C8EC A60209D2 */ sh $v0, 0x9d2($s0)
|
||||
/* 007CF0 8002C8F0 3C028000 */ lui $v0, 0x8000
|
||||
/* 007CF4 8002C8F4 8C420318 */ lw $v0, 0x318($v0)
|
||||
/* 007CF8 8002C8F8 3C03A000 */ lui $v1, 0xa000
|
||||
/* 007CFC 8002C8FC 00431025 */ or $v0, $v0, $v1
|
||||
/* 007D00 8002C900 00471021 */ addu $v0, $v0, $a3
|
||||
/* 007D04 8002C904 0C019560 */ jal osCreateMesgQueue
|
||||
/* 007D08 8002C908 AE0209CC */ sw $v0, 0x9cc($s0)
|
||||
/* 007D0C 8002C90C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 007D10 8002C910 24050002 */ addiu $a1, $zero, 2
|
||||
/* 007D14 8002C914 3C068003 */ lui $a2, 0x8003
|
||||
/* 007D18 8002C918 24C6C81C */ addiu $a2, $a2, -0x37e4
|
||||
/* 007D1C 8002C91C 24020080 */ addiu $v0, $zero, 0x80
|
||||
/* 007D20 8002C920 0000382D */ daddu $a3, $zero, $zero
|
||||
/* 007D24 8002C924 AFB10010 */ sw $s1, 0x10($sp)
|
||||
/* 007D28 8002C928 0C019798 */ jal osCreateThread
|
||||
/* 007D2C 8002C92C AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 007D30 8002C930 0C019808 */ jal osStartThread
|
||||
/* 007D34 8002C934 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 007D38 8002C938 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 007D3C 8002C93C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 007D40 8002C940 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 007D44 8002C944 03E00008 */ jr $ra
|
||||
/* 007D48 8002C948 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 007D4C 8002C94C AFA60008 */ sw $a2, 8($sp)
|
||||
/* 007D50 8002C950 AFA7000C */ sw $a3, 0xc($sp)
|
||||
/* 007D54 8002C954 27BDFED0 */ addiu $sp, $sp, -0x130
|
||||
/* 007D58 8002C958 AFB20118 */ sw $s2, 0x118($sp)
|
||||
/* 007D5C 8002C95C 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 007D60 8002C960 AFB00110 */ sw $s0, 0x110($sp)
|
||||
/* 007D64 8002C964 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 007D68 8002C968 AFB3011C */ sw $s3, 0x11c($sp)
|
||||
/* 007D6C 8002C96C 0240982D */ daddu $s3, $s2, $zero
|
||||
/* 007D70 8002C970 3C048003 */ lui $a0, 0x8003
|
||||
/* 007D74 8002C974 2484C1D4 */ addiu $a0, $a0, -0x3e2c
|
||||
/* 007D78 8002C978 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 007D7C 8002C97C 27A7013C */ addiu $a3, $sp, 0x13c
|
||||
/* 007D80 8002C980 AFBF0128 */ sw $ra, 0x128($sp)
|
||||
/* 007D84 8002C984 AFB50124 */ sw $s5, 0x124($sp)
|
||||
/* 007D88 8002C988 AFB40120 */ sw $s4, 0x120($sp)
|
||||
/* 007D8C 8002C98C 0C0192A8 */ jal _Printf
|
||||
/* 007D90 8002C990 AFB10114 */ sw $s1, 0x114($sp)
|
||||
/* 007D94 8002C994 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 007D98 8002C998 1A20001D */ blez $s1, .L8002CA10
|
||||
/* 007D9C 8002C99C 00122400 */ sll $a0, $s2, 0x10
|
||||
/* 007DA0 8002C9A0 00042403 */ sra $a0, $a0, 0x10
|
||||
/* 007DA4 8002C9A4 2484FFFA */ addiu $a0, $a0, -6
|
||||
/* 007DA8 8002C9A8 00108400 */ sll $s0, $s0, 0x10
|
||||
/* 007DAC 8002C9AC 00102C03 */ sra $a1, $s0, 0x10
|
||||
/* 007DB0 8002C9B0 24A5FFFA */ addiu $a1, $a1, -6
|
||||
/* 007DB4 8002C9B4 26220002 */ addiu $v0, $s1, 2
|
||||
/* 007DB8 8002C9B8 00023040 */ sll $a2, $v0, 1
|
||||
/* 007DBC 8002C9BC 00C23021 */ addu $a2, $a2, $v0
|
||||
/* 007DC0 8002C9C0 00063040 */ sll $a2, $a2, 1
|
||||
/* 007DC4 8002C9C4 0C00AFEC */ jal func_8002BFB0
|
||||
/* 007DC8 8002C9C8 24070013 */ addiu $a3, $zero, 0x13
|
||||
/* 007DCC 8002C9CC 27B20010 */ addiu $s2, $sp, 0x10
|
||||
/* 007DD0 8002C9D0 3C158007 */ lui $s5, 0x8007
|
||||
/* 007DD4 8002C9D4 26B57210 */ addiu $s5, $s5, 0x7210
|
||||
/* 007DD8 8002C9D8 241400FF */ addiu $s4, $zero, 0xff
|
||||
.L8002C9DC:
|
||||
/* 007DDC 8002C9DC 92420000 */ lbu $v0, ($s2)
|
||||
/* 007DE0 8002C9E0 3042007F */ andi $v0, $v0, 0x7f
|
||||
/* 007DE4 8002C9E4 00551021 */ addu $v0, $v0, $s5
|
||||
/* 007DE8 8002C9E8 90460000 */ lbu $a2, ($v0)
|
||||
/* 007DEC 8002C9EC 10D40004 */ beq $a2, $s4, .L8002CA00
|
||||
/* 007DF0 8002C9F0 00132400 */ sll $a0, $s3, 0x10
|
||||
/* 007DF4 8002C9F4 00042403 */ sra $a0, $a0, 0x10
|
||||
/* 007DF8 8002C9F8 0C00B015 */ jal func_8002C054
|
||||
/* 007DFC 8002C9FC 00102C03 */ sra $a1, $s0, 0x10
|
||||
.L8002CA00:
|
||||
/* 007E00 8002CA00 26730006 */ addiu $s3, $s3, 6
|
||||
/* 007E04 8002CA04 2631FFFF */ addiu $s1, $s1, -1
|
||||
/* 007E08 8002CA08 1E20FFF4 */ bgtz $s1, .L8002C9DC
|
||||
/* 007E0C 8002CA0C 26520001 */ addiu $s2, $s2, 1
|
||||
.L8002CA10:
|
||||
/* 007E10 8002CA10 8FBF0128 */ lw $ra, 0x128($sp)
|
||||
/* 007E14 8002CA14 8FB50124 */ lw $s5, 0x124($sp)
|
||||
/* 007E18 8002CA18 8FB40120 */ lw $s4, 0x120($sp)
|
||||
/* 007E1C 8002CA1C 8FB3011C */ lw $s3, 0x11c($sp)
|
||||
/* 007E20 8002CA20 8FB20118 */ lw $s2, 0x118($sp)
|
||||
/* 007E24 8002CA24 8FB10114 */ lw $s1, 0x114($sp)
|
||||
/* 007E28 8002CA28 8FB00110 */ lw $s0, 0x110($sp)
|
||||
/* 007E2C 8002CA2C 03E00008 */ jr $ra
|
||||
/* 007E30 8002CA30 27BD0130 */ addiu $sp, $sp, 0x130
|
||||
|
||||
/* 007E34 8002CA34 00000000 */ nop
|
||||
/* 007E38 8002CA38 00000000 */ nop
|
||||
/* 007E3C 8002CA3C 00000000 */ nop
|
||||
|
||||
.set reorder
|
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
@ -1,825 +0,0 @@
|
||||
# %s disassembly and split file
|
||||
# generated by n64split v%s - N64 ROM splitter
|
||||
|
||||
# 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
|
||||
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text800E6860, "ax"
|
||||
|
||||
glabel func_800E6860
|
||||
/* 07FD10 800E6860 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 07FD14 800E6864 3C038011 */ lui $v1, 0x8011
|
||||
/* 07FD18 800E6868 2463EBB0 */ addiu $v1, $v1, -0x1450
|
||||
/* 07FD1C 800E686C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 07FD20 800E6870 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 07FD24 800E6874 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 07FD28 800E6878 80620000 */ lb $v0, ($v1)
|
||||
/* 07FD2C 800E687C 3C118011 */ lui $s1, 0x8011
|
||||
/* 07FD30 800E6880 2631EFC8 */ addiu $s1, $s1, -0x1038
|
||||
/* 07FD34 800E6884 1040001A */ beqz $v0, .L800E68F0
|
||||
/* 07FD38 800E6888 24020009 */ addiu $v0, $zero, 9
|
||||
/* 07FD3C 800E688C 80630003 */ lb $v1, 3($v1)
|
||||
/* 07FD40 800E6890 14620017 */ bne $v1, $v0, .L800E68F0
|
||||
/* 07FD44 800E6894 00000000 */ nop
|
||||
/* 07FD48 800E6898 0C00EABB */ jal get_npc_unsafe
|
||||
/* 07FD4C 800E689C 2404FFFC */ addiu $a0, $zero, -4
|
||||
/* 07FD50 800E68A0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 07FD54 800E68A4 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* 07FD58 800E68A8 24060007 */ addiu $a2, $zero, 7
|
||||
/* 07FD5C 800E68AC 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 07FD60 800E68B0 9223000E */ lbu $v1, 0xe($s1)
|
||||
/* 07FD64 800E68B4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 07FD68 800E68B8 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 07FD6C 800E68BC AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 07FD70 800E68C0 AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 07FD74 800E68C4 0C0B77B9 */ jal func_802DDEE4
|
||||
/* 07FD78 800E68C8 AFA30018 */ sw $v1, 0x18($sp)
|
||||
/* 07FD7C 800E68CC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 07FD80 800E68D0 24050007 */ addiu $a1, $zero, 7
|
||||
/* 07FD84 800E68D4 9226000E */ lbu $a2, 0xe($s1)
|
||||
/* 07FD88 800E68D8 0000382D */ daddu $a3, $zero, $zero
|
||||
/* 07FD8C 800E68DC AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 07FD90 800E68E0 AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 07FD94 800E68E4 0C00F589 */ jal func_8003D624
|
||||
/* 07FD98 800E68E8 AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 07FD9C 800E68EC A220000F */ sb $zero, 0xf($s1)
|
||||
.L800E68F0:
|
||||
/* 07FDA0 800E68F0 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 07FDA4 800E68F4 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 07FDA8 800E68F8 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 07FDAC 800E68FC 03E00008 */ jr $ra
|
||||
/* 07FDB0 800E6900 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
glabel func_800E6904
|
||||
/* 07FDB4 800E6904 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 07FDB8 800E6908 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 07FDBC 800E690C 3C118011 */ lui $s1, 0x8011
|
||||
/* 07FDC0 800E6910 2631EBB0 */ addiu $s1, $s1, -0x1450
|
||||
/* 07FDC4 800E6914 3C028011 */ lui $v0, 0x8011
|
||||
/* 07FDC8 800E6918 2442EFC8 */ addiu $v0, $v0, -0x1038
|
||||
/* 07FDCC 800E691C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 07FDD0 800E6920 3C030010 */ lui $v1, 0x10
|
||||
/* 07FDD4 800E6924 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 07FDD8 800E6928 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07FDDC 800E692C 8C820004 */ lw $v0, 4($a0)
|
||||
/* 07FDE0 800E6930 809000B4 */ lb $s0, 0xb4($a0)
|
||||
/* 07FDE4 800E6934 00431024 */ and $v0, $v0, $v1
|
||||
/* 07FDE8 800E6938 14400023 */ bnez $v0, .L800E69C8
|
||||
/* 07FDEC 800E693C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FDF0 800E6940 82220000 */ lb $v0, ($s1)
|
||||
/* 07FDF4 800E6944 1440000A */ bnez $v0, .L800E6970
|
||||
/* 07FDF8 800E6948 00000000 */ nop
|
||||
/* 07FDFC 800E694C 8C820000 */ lw $v0, ($a0)
|
||||
/* 07FE00 800E6950 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* 07FE04 800E6954 1440001C */ bnez $v0, .L800E69C8
|
||||
/* 07FE08 800E6958 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FE0C 800E695C 2E020003 */ sltiu $v0, $s0, 3
|
||||
/* 07FE10 800E6960 10400019 */ beqz $v0, .L800E69C8
|
||||
/* 07FE14 800E6964 0000102D */ daddu $v0, $zero, $zero
|
||||
.L800E6968:
|
||||
/* 07FE18 800E6968 08039A72 */ j .L800E69C8
|
||||
/* 07FE1C 800E696C 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
.L800E6970:
|
||||
/* 07FE20 800E6970 0C03ACF8 */ jal func_800EB3E0
|
||||
/* 07FE24 800E6974 00000000 */ nop
|
||||
/* 07FE28 800E6978 10400012 */ beqz $v0, .L800E69C4
|
||||
/* 07FE2C 800E697C 24020006 */ addiu $v0, $zero, 6
|
||||
/* 07FE30 800E6980 82230003 */ lb $v1, 3($s1)
|
||||
/* 07FE34 800E6984 1062FFF8 */ beq $v1, $v0, .L800E6968
|
||||
/* 07FE38 800E6988 24020009 */ addiu $v0, $zero, 9
|
||||
/* 07FE3C 800E698C 14620006 */ bne $v1, $v0, .L800E69A8
|
||||
/* 07FE40 800E6990 24020008 */ addiu $v0, $zero, 8
|
||||
/* 07FE44 800E6994 24020021 */ addiu $v0, $zero, 0x21
|
||||
/* 07FE48 800E6998 1602000B */ bne $s0, $v0, .L800E69C8
|
||||
/* 07FE4C 800E699C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FE50 800E69A0 08039A72 */ j .L800E69C8
|
||||
/* 07FE54 800E69A4 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
.L800E69A8:
|
||||
/* 07FE58 800E69A8 14620007 */ bne $v1, $v0, .L800E69C8
|
||||
/* 07FE5C 800E69AC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FE60 800E69B0 24020021 */ addiu $v0, $zero, 0x21
|
||||
/* 07FE64 800E69B4 12020004 */ beq $s0, $v0, .L800E69C8
|
||||
/* 07FE68 800E69B8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 07FE6C 800E69BC 0C05272D */ jal play_sound
|
||||
/* 07FE70 800E69C0 2404021D */ addiu $a0, $zero, 0x21d
|
||||
.L800E69C4:
|
||||
/* 07FE74 800E69C4 0000102D */ daddu $v0, $zero, $zero
|
||||
.L800E69C8:
|
||||
/* 07FE78 800E69C8 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 07FE7C 800E69CC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 07FE80 800E69D0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 07FE84 800E69D4 03E00008 */ jr $ra
|
||||
/* 07FE88 800E69D8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_800E69DC
|
||||
/* 07FE8C 800E69DC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 07FE90 800E69E0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 07FE94 800E69E4 3C128011 */ lui $s2, 0x8011
|
||||
/* 07FE98 800E69E8 2652EBB0 */ addiu $s2, $s2, -0x1450
|
||||
/* 07FE9C 800E69EC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 07FEA0 800E69F0 3C118011 */ lui $s1, 0x8011
|
||||
/* 07FEA4 800E69F4 2631EFC8 */ addiu $s1, $s1, -0x1038
|
||||
/* 07FEA8 800E69F8 3C030010 */ lui $v1, 0x10
|
||||
/* 07FEAC 800E69FC AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 07FEB0 800E6A00 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07FEB4 800E6A04 8E220004 */ lw $v0, 4($s1)
|
||||
/* 07FEB8 800E6A08 823000B4 */ lb $s0, 0xb4($s1)
|
||||
/* 07FEBC 800E6A0C 00431024 */ and $v0, $v0, $v1
|
||||
/* 07FEC0 800E6A10 1440004F */ bnez $v0, .L800E6B50
|
||||
/* 07FEC4 800E6A14 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FEC8 800E6A18 8E220000 */ lw $v0, ($s1)
|
||||
/* 07FECC 800E6A1C 30420100 */ andi $v0, $v0, 0x100
|
||||
/* 07FED0 800E6A20 1440004B */ bnez $v0, .L800E6B50
|
||||
/* 07FED4 800E6A24 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FED8 800E6A28 30822010 */ andi $v0, $a0, 0x2010
|
||||
/* 07FEDC 800E6A2C 14400048 */ bnez $v0, .L800E6B50
|
||||
/* 07FEE0 800E6A30 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FEE4 800E6A34 30A21003 */ andi $v0, $a1, 0x1003
|
||||
/* 07FEE8 800E6A38 10400045 */ beqz $v0, .L800E6B50
|
||||
/* 07FEEC 800E6A3C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FEF0 800E6A40 3C028007 */ lui $v0, 0x8007
|
||||
/* 07FEF4 800E6A44 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 07FEF8 800E6A48 8C420144 */ lw $v0, 0x144($v0)
|
||||
/* 07FEFC 800E6A4C 10400005 */ beqz $v0, .L800E6A64
|
||||
/* 07FF00 800E6A50 00000000 */ nop
|
||||
/* 07FF04 800E6A54 94420000 */ lhu $v0, ($v0)
|
||||
/* 07FF08 800E6A58 30420001 */ andi $v0, $v0, 1
|
||||
/* 07FF0C 800E6A5C 1440003C */ bnez $v0, .L800E6B50
|
||||
/* 07FF10 800E6A60 0000102D */ daddu $v0, $zero, $zero
|
||||
.L800E6A64:
|
||||
/* 07FF14 800E6A64 3C02800A */ lui $v0, 0x800a
|
||||
/* 07FF18 800E6A68 8C42A650 */ lw $v0, -0x59b0($v0)
|
||||
/* 07FF1C 800E6A6C 3C030004 */ lui $v1, 4
|
||||
/* 07FF20 800E6A70 00431024 */ and $v0, $v0, $v1
|
||||
/* 07FF24 800E6A74 14400036 */ bnez $v0, .L800E6B50
|
||||
/* 07FF28 800E6A78 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FF2C 800E6A7C 0C04D07A */ jal func_801341E8
|
||||
/* 07FF30 800E6A80 00000000 */ nop
|
||||
/* 07FF34 800E6A84 14400032 */ bnez $v0, .L800E6B50
|
||||
/* 07FF38 800E6A88 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FF3C 800E6A8C 8E220004 */ lw $v0, 4($s1)
|
||||
/* 07FF40 800E6A90 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 07FF44 800E6A94 1440002B */ bnez $v0, .L800E6B44
|
||||
/* 07FF48 800E6A98 00000000 */ nop
|
||||
/* 07FF4C 800E6A9C 82420000 */ lb $v0, ($s2)
|
||||
/* 07FF50 800E6AA0 1440000A */ bnez $v0, .L800E6ACC
|
||||
/* 07FF54 800E6AA4 00000000 */ nop
|
||||
/* 07FF58 800E6AA8 8E220000 */ lw $v0, ($s1)
|
||||
/* 07FF5C 800E6AAC 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* 07FF60 800E6AB0 14400027 */ bnez $v0, .L800E6B50
|
||||
/* 07FF64 800E6AB4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FF68 800E6AB8 2E020003 */ sltiu $v0, $s0, 3
|
||||
/* 07FF6C 800E6ABC 10400023 */ beqz $v0, .L800E6B4C
|
||||
/* 07FF70 800E6AC0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 07FF74 800E6AC4 08039AD4 */ j .L800E6B50
|
||||
/* 07FF78 800E6AC8 00000000 */ nop
|
||||
|
||||
.L800E6ACC:
|
||||
/* 07FF7C 800E6ACC 0C03ACF8 */ jal func_800EB3E0
|
||||
/* 07FF80 800E6AD0 00000000 */ nop
|
||||
/* 07FF84 800E6AD4 1040001D */ beqz $v0, .L800E6B4C
|
||||
/* 07FF88 800E6AD8 24020006 */ addiu $v0, $zero, 6
|
||||
/* 07FF8C 800E6ADC 82430003 */ lb $v1, 3($s2)
|
||||
/* 07FF90 800E6AE0 14620003 */ bne $v1, $v0, .L800E6AF0
|
||||
/* 07FF94 800E6AE4 24020009 */ addiu $v0, $zero, 9
|
||||
/* 07FF98 800E6AE8 08039AD4 */ j .L800E6B50
|
||||
/* 07FF9C 800E6AEC 2E020003 */ sltiu $v0, $s0, 3
|
||||
|
||||
.L800E6AF0:
|
||||
/* 07FFA0 800E6AF0 14620007 */ bne $v1, $v0, .L800E6B10
|
||||
/* 07FFA4 800E6AF4 24020008 */ addiu $v0, $zero, 8
|
||||
/* 07FFA8 800E6AF8 24020021 */ addiu $v0, $zero, 0x21
|
||||
/* 07FFAC 800E6AFC 16020014 */ bne $s0, $v0, .L800E6B50
|
||||
/* 07FFB0 800E6B00 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FFB4 800E6B04 A220000F */ sb $zero, 0xf($s1)
|
||||
/* 07FFB8 800E6B08 08039AD4 */ j .L800E6B50
|
||||
/* 07FFBC 800E6B0C 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
.L800E6B10:
|
||||
/* 07FFC0 800E6B10 1462000A */ bne $v1, $v0, .L800E6B3C
|
||||
/* 07FFC4 800E6B14 24020007 */ addiu $v0, $zero, 7
|
||||
/* 07FFC8 800E6B18 24020021 */ addiu $v0, $zero, 0x21
|
||||
/* 07FFCC 800E6B1C 1602000C */ bne $s0, $v0, .L800E6B50
|
||||
/* 07FFD0 800E6B20 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 07FFD4 800E6B24 0C0AF5F7 */ jal func_802BD7DC
|
||||
/* 07FFD8 800E6B28 00000000 */ nop
|
||||
/* 07FFDC 800E6B2C 14400008 */ bnez $v0, .L800E6B50
|
||||
/* 07FFE0 800E6B30 24020001 */ addiu $v0, $zero, 1
|
||||
/* 07FFE4 800E6B34 08039AD1 */ j .L800E6B44
|
||||
/* 07FFE8 800E6B38 00000000 */ nop
|
||||
|
||||
.L800E6B3C:
|
||||
/* 07FFEC 800E6B3C 14620004 */ bne $v1, $v0, .L800E6B50
|
||||
/* 07FFF0 800E6B40 0000102D */ daddu $v0, $zero, $zero
|
||||
.L800E6B44:
|
||||
/* 07FFF4 800E6B44 0C05272D */ jal play_sound
|
||||
/* 07FFF8 800E6B48 2404021D */ addiu $a0, $zero, 0x21d
|
||||
.L800E6B4C:
|
||||
/* 07FFFC 800E6B4C 0000102D */ daddu $v0, $zero, $zero
|
||||
.L800E6B50:
|
||||
/* 080000 800E6B50 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 080004 800E6B54 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 080008 800E6B58 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 08000C 800E6B5C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 080010 800E6B60 03E00008 */ jr $ra
|
||||
/* 080014 800E6B64 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_800E6B68
|
||||
/* 080018 800E6B68 3C018011 */ lui $at, 0x8011
|
||||
/* 08001C 800E6B6C A420CD00 */ sh $zero, -0x3300($at)
|
||||
/* 080020 800E6B70 03E00008 */ jr $ra
|
||||
/* 080024 800E6B74 00000000 */ nop
|
||||
|
||||
glabel func_800E6B78
|
||||
/* 080028 800E6B78 3C0B8011 */ lui $t3, 0x8011
|
||||
/* 08002C 800E6B7C 256BF290 */ addiu $t3, $t3, -0xd70
|
||||
/* 080030 800E6B80 0000502D */ daddu $t2, $zero, $zero
|
||||
/* 080034 800E6B84 24090001 */ addiu $t1, $zero, 1
|
||||
/* 080038 800E6B88 24180005 */ addiu $t8, $zero, 5
|
||||
/* 08003C 800E6B8C 3C0F8009 */ lui $t7, 0x8009
|
||||
/* 080040 800E6B90 25EFEF20 */ addiu $t7, $t7, -0x10e0
|
||||
/* 080044 800E6B94 3C0E800F */ lui $t6, 0x800f
|
||||
/* 080048 800E6B98 25CE7F00 */ addiu $t6, $t6, 0x7f00
|
||||
/* 08004C 800E6B9C 0120682D */ daddu $t5, $t1, $zero
|
||||
/* 080050 800E6BA0 3C0C800F */ lui $t4, 0x800f
|
||||
/* 080054 800E6BA4 258C7F40 */ addiu $t4, $t4, 0x7f40
|
||||
/* 080058 800E6BA8 3C088009 */ lui $t0, 0x8009
|
||||
/* 08005C 800E6BAC 2508EEC4 */ addiu $t0, $t0, -0x113c
|
||||
.L800E6BB0:
|
||||
/* 080060 800E6BB0 8D050000 */ lw $a1, ($t0)
|
||||
/* 080064 800E6BB4 000510C0 */ sll $v0, $a1, 3
|
||||
/* 080068 800E6BB8 01623021 */ addu $a2, $t3, $v0
|
||||
/* 08006C 800E6BBC 90C20014 */ lbu $v0, 0x14($a2)
|
||||
/* 080070 800E6BC0 5040001B */ beql $v0, $zero, .L800E6C30
|
||||
/* 080074 800E6BC4 25290001 */ addiu $t1, $t1, 1
|
||||
/* 080078 800E6BC8 50B80019 */ beql $a1, $t8, .L800E6C30
|
||||
/* 08007C 800E6BCC 25290001 */ addiu $t1, $t1, 1
|
||||
/* 080080 800E6BD0 00053880 */ sll $a3, $a1, 2
|
||||
/* 080084 800E6BD4 00EE1021 */ addu $v0, $a3, $t6
|
||||
/* 080088 800E6BD8 00051900 */ sll $v1, $a1, 4
|
||||
/* 08008C 800E6BDC 8C420000 */ lw $v0, ($v0)
|
||||
/* 080090 800E6BE0 006F1821 */ addu $v1, $v1, $t7
|
||||
/* 080094 800E6BE4 AC850108 */ sw $a1, 0x108($a0)
|
||||
/* 080098 800E6BE8 AC8D018C */ sw $t5, 0x18c($a0)
|
||||
/* 08009C 800E6BEC AC820000 */ sw $v0, ($a0)
|
||||
/* 0800A0 800E6BF0 8C620000 */ lw $v0, ($v1)
|
||||
/* 0800A4 800E6BF4 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 0800A8 800E6BF8 8C620008 */ lw $v0, 8($v1)
|
||||
/* 0800AC 800E6BFC AC820294 */ sw $v0, 0x294($a0)
|
||||
/* 0800B0 800E6C00 80C20015 */ lb $v0, 0x15($a2)
|
||||
/* 0800B4 800E6C04 AC820210 */ sw $v0, 0x210($a0)
|
||||
/* 0800B8 800E6C08 81620012 */ lb $v0, 0x12($t3)
|
||||
/* 0800BC 800E6C0C 54450006 */ bnel $v0, $a1, .L800E6C28
|
||||
/* 0800C0 800E6C10 24840004 */ addiu $a0, $a0, 4
|
||||
/* 0800C4 800E6C14 00EC1021 */ addu $v0, $a3, $t4
|
||||
/* 0800C8 800E6C18 AC80018C */ sw $zero, 0x18c($a0)
|
||||
/* 0800CC 800E6C1C 8C420000 */ lw $v0, ($v0)
|
||||
/* 0800D0 800E6C20 AC820000 */ sw $v0, ($a0)
|
||||
/* 0800D4 800E6C24 24840004 */ addiu $a0, $a0, 4
|
||||
.L800E6C28:
|
||||
/* 0800D8 800E6C28 254A0001 */ addiu $t2, $t2, 1
|
||||
/* 0800DC 800E6C2C 25290001 */ addiu $t1, $t1, 1
|
||||
.L800E6C30:
|
||||
/* 0800E0 800E6C30 2922000C */ slti $v0, $t1, 0xc
|
||||
/* 0800E4 800E6C34 1440FFDE */ bnez $v0, .L800E6BB0
|
||||
/* 0800E8 800E6C38 25080004 */ addiu $t0, $t0, 4
|
||||
/* 0800EC 800E6C3C 03E00008 */ jr $ra
|
||||
/* 0800F0 800E6C40 0140102D */ daddu $v0, $t2, $zero
|
||||
|
||||
glabel func_800E6C44
|
||||
/* 0800F4 800E6C44 0000402D */ daddu $t0, $zero, $zero
|
||||
/* 0800F8 800E6C48 0100302D */ daddu $a2, $t0, $zero
|
||||
/* 0800FC 800E6C4C 3C0B8008 */ lui $t3, 0x8008
|
||||
/* 080100 800E6C50 256B78E0 */ addiu $t3, $t3, 0x78e0
|
||||
/* 080104 800E6C54 3C0A8009 */ lui $t2, 0x8009
|
||||
/* 080108 800E6C58 254AA680 */ addiu $t2, $t2, -0x5980
|
||||
/* 08010C 800E6C5C 24090001 */ addiu $t1, $zero, 1
|
||||
/* 080110 800E6C60 3C078011 */ lui $a3, 0x8011
|
||||
/* 080114 800E6C64 24E7F290 */ addiu $a3, $a3, -0xd70
|
||||
.L800E6C68:
|
||||
/* 080118 800E6C68 84E201B4 */ lh $v0, 0x1b4($a3)
|
||||
/* 08011C 800E6C6C 50400018 */ beql $v0, $zero, .L800E6CD0
|
||||
/* 080120 800E6C70 24C60001 */ addiu $a2, $a2, 1
|
||||
/* 080124 800E6C74 00021140 */ sll $v0, $v0, 5
|
||||
/* 080128 800E6C78 004B2821 */ addu $a1, $v0, $t3
|
||||
/* 08012C 800E6C7C 84A20004 */ lh $v0, 4($a1)
|
||||
/* 080130 800E6C80 94A30018 */ lhu $v1, 0x18($a1)
|
||||
/* 080134 800E6C84 000210C0 */ sll $v0, $v0, 3
|
||||
/* 080138 800E6C88 30630001 */ andi $v1, $v1, 1
|
||||
/* 08013C 800E6C8C 10600005 */ beqz $v1, .L800E6CA4
|
||||
/* 080140 800E6C90 004A1021 */ addu $v0, $v0, $t2
|
||||
/* 080144 800E6C94 8C420000 */ lw $v0, ($v0)
|
||||
/* 080148 800E6C98 AC860108 */ sw $a2, 0x108($a0)
|
||||
/* 08014C 800E6C9C 08039B2C */ j .L800E6CB0
|
||||
/* 080150 800E6CA0 AC89018C */ sw $t1, 0x18c($a0)
|
||||
|
||||
.L800E6CA4:
|
||||
/* 080154 800E6CA4 8C420004 */ lw $v0, 4($v0)
|
||||
/* 080158 800E6CA8 AC860108 */ sw $a2, 0x108($a0)
|
||||
/* 08015C 800E6CAC AC80018C */ sw $zero, 0x18c($a0)
|
||||
.L800E6CB0:
|
||||
/* 080160 800E6CB0 AC820000 */ sw $v0, ($a0)
|
||||
/* 080164 800E6CB4 8CA20000 */ lw $v0, ($a1)
|
||||
/* 080168 800E6CB8 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 08016C 800E6CBC 8CA20014 */ lw $v0, 0x14($a1)
|
||||
/* 080170 800E6CC0 25080001 */ addiu $t0, $t0, 1
|
||||
/* 080174 800E6CC4 AC820294 */ sw $v0, 0x294($a0)
|
||||
/* 080178 800E6CC8 24840004 */ addiu $a0, $a0, 4
|
||||
/* 08017C 800E6CCC 24C60001 */ addiu $a2, $a2, 1
|
||||
.L800E6CD0:
|
||||
/* 080180 800E6CD0 28C2000A */ slti $v0, $a2, 0xa
|
||||
/* 080184 800E6CD4 1440FFE4 */ bnez $v0, .L800E6C68
|
||||
/* 080188 800E6CD8 24E70002 */ addiu $a3, $a3, 2
|
||||
/* 08018C 800E6CDC 03E00008 */ jr $ra
|
||||
/* 080190 800E6CE0 0100102D */ daddu $v0, $t0, $zero
|
||||
|
||||
glabel func_800E6CE4
|
||||
/* 080194 800E6CE4 3C038007 */ lui $v1, 0x8007
|
||||
/* 080198 800E6CE8 8C63419C */ lw $v1, 0x419c($v1)
|
||||
/* 08019C 800E6CEC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0801A0 800E6CF0 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0801A4 800E6CF4 3C138011 */ lui $s3, 0x8011
|
||||
/* 0801A8 800E6CF8 2673EBB0 */ addiu $s3, $s3, -0x1450
|
||||
/* 0801AC 800E6CFC AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 0801B0 800E6D00 3C148011 */ lui $s4, 0x8011
|
||||
/* 0801B4 800E6D04 2694EFC8 */ addiu $s4, $s4, -0x1038
|
||||
/* 0801B8 800E6D08 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 0801BC 800E6D0C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0801C0 800E6D10 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0801C4 800E6D14 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0801C8 800E6D18 80620078 */ lb $v0, 0x78($v1)
|
||||
/* 0801CC 800E6D1C 3C128011 */ lui $s2, 0x8011
|
||||
/* 0801D0 800E6D20 2652C9C8 */ addiu $s2, $s2, -0x3638
|
||||
/* 0801D4 800E6D24 14400151 */ bnez $v0, .L800E726C
|
||||
/* 0801D8 800E6D28 00000000 */ nop
|
||||
/* 0801DC 800E6D2C 9062007E */ lbu $v0, 0x7e($v1)
|
||||
/* 0801E0 800E6D30 30420001 */ andi $v0, $v0, 1
|
||||
/* 0801E4 800E6D34 1440014D */ bnez $v0, .L800E726C
|
||||
/* 0801E8 800E6D38 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0801EC 800E6D3C 3C05F5DE */ lui $a1, 0xf5de
|
||||
/* 0801F0 800E6D40 0C0B1EAF */ jal get_variable
|
||||
/* 0801F4 800E6D44 34A50180 */ ori $a1, $a1, 0x180
|
||||
/* 0801F8 800E6D48 2403FF80 */ addiu $v1, $zero, -0x80
|
||||
/* 0801FC 800E6D4C 10430147 */ beq $v0, $v1, .L800E726C
|
||||
/* 080200 800E6D50 00000000 */ nop
|
||||
/* 080204 800E6D54 82620000 */ lb $v0, ($s3)
|
||||
/* 080208 800E6D58 1040000A */ beqz $v0, .L800E6D84
|
||||
/* 08020C 800E6D5C 00000000 */ nop
|
||||
/* 080210 800E6D60 92620003 */ lbu $v0, 3($s3)
|
||||
/* 080214 800E6D64 2442FFF9 */ addiu $v0, $v0, -7
|
||||
/* 080218 800E6D68 2C420003 */ sltiu $v0, $v0, 3
|
||||
/* 08021C 800E6D6C 10400005 */ beqz $v0, .L800E6D84
|
||||
/* 080220 800E6D70 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 080224 800E6D74 8E710008 */ lw $s1, 8($s3)
|
||||
/* 080228 800E6D78 8E70000C */ lw $s0, 0xc($s3)
|
||||
/* 08022C 800E6D7C 08039B65 */ j .L800E6D94
|
||||
/* 080230 800E6D80 3C05F5DE */ lui $a1, 0xf5de
|
||||
|
||||
.L800E6D84:
|
||||
/* 080234 800E6D84 8E9100DC */ lw $s1, 0xdc($s4)
|
||||
/* 080238 800E6D88 8E9000E0 */ lw $s0, 0xe0($s4)
|
||||
/* 08023C 800E6D8C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 080240 800E6D90 3C05F5DE */ lui $a1, 0xf5de
|
||||
.L800E6D94:
|
||||
/* 080244 800E6D94 0C0B1EAF */ jal get_variable
|
||||
/* 080248 800E6D98 34A50180 */ ori $a1, $a1, 0x180
|
||||
/* 08024C 800E6D9C 28420060 */ slti $v0, $v0, 0x60
|
||||
/* 080250 800E6DA0 14400003 */ bnez $v0, .L800E6DB0
|
||||
/* 080254 800E6DA4 2402FFFC */ addiu $v0, $zero, -4
|
||||
/* 080258 800E6DA8 02228824 */ and $s1, $s1, $v0
|
||||
/* 08025C 800E6DAC 02028024 */ and $s0, $s0, $v0
|
||||
.L800E6DB0:
|
||||
/* 080260 800E6DB0 3C038011 */ lui $v1, 0x8011
|
||||
/* 080264 800E6DB4 8463CD00 */ lh $v1, -0x3300($v1)
|
||||
/* 080268 800E6DB8 2C62000B */ sltiu $v0, $v1, 0xb
|
||||
/* 08026C 800E6DBC 1040012B */ beqz $v0, .L800E726C
|
||||
/* 080270 800E6DC0 00031080 */ sll $v0, $v1, 2
|
||||
/* 080274 800E6DC4 3C018011 */ lui $at, 0x8011
|
||||
/* 080278 800E6DC8 00220821 */ addu $at, $at, $v0
|
||||
/* 08027C 800E6DCC 8C22BF30 */ lw $v0, -0x40d0($at)
|
||||
/* 080280 800E6DD0 00400008 */ jr $v0
|
||||
/* 080284 800E6DD4 00000000 */ nop
|
||||
/* 080288 800E6DD8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 08028C 800E6DDC 0C039A77 */ jal func_800E69DC
|
||||
/* 080290 800E6DE0 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 080294 800E6DE4 10400121 */ beqz $v0, .L800E726C
|
||||
/* 080298 800E6DE8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 08029C 800E6DEC 3C038011 */ lui $v1, 0x8011
|
||||
/* 0802A0 800E6DF0 2463CCF8 */ addiu $v1, $v1, -0x3308
|
||||
/* 0802A4 800E6DF4 A4620000 */ sh $v0, ($v1)
|
||||
/* 0802A8 800E6DF8 32020001 */ andi $v0, $s0, 1
|
||||
/* 0802AC 800E6DFC 54400001 */ bnezl $v0, .L800E6E04
|
||||
/* 0802B0 800E6E00 A4600000 */ sh $zero, ($v1)
|
||||
.L800E6E04:
|
||||
/* 0802B4 800E6E04 32021000 */ andi $v0, $s0, 0x1000
|
||||
/* 0802B8 800E6E08 10400002 */ beqz $v0, .L800E6E14
|
||||
/* 0802BC 800E6E0C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0802C0 800E6E10 A4620000 */ sh $v0, ($v1)
|
||||
.L800E6E14:
|
||||
/* 0802C4 800E6E14 3C018011 */ lui $at, 0x8011
|
||||
/* 0802C8 800E6E18 A420C9C0 */ sh $zero, -0x3640($at)
|
||||
.L800E6E1C:
|
||||
/* 0802CC 800E6E1C 3C038011 */ lui $v1, 0x8011
|
||||
/* 0802D0 800E6E20 8463CCF8 */ lh $v1, -0x3308($v1)
|
||||
/* 0802D4 800E6E24 10600005 */ beqz $v1, .L800E6E3C
|
||||
/* 0802D8 800E6E28 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0802DC 800E6E2C 1062001F */ beq $v1, $v0, .L800E6EAC
|
||||
/* 0802E0 800E6E30 00000000 */ nop
|
||||
/* 0802E4 800E6E34 08039BB2 */ j .L800E6EC8
|
||||
/* 0802E8 800E6E38 00000000 */ nop
|
||||
|
||||
.L800E6E3C:
|
||||
/* 0802EC 800E6E3C 8E820000 */ lw $v0, ($s4)
|
||||
/* 0802F0 800E6E40 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 0802F4 800E6E44 10400009 */ beqz $v0, .L800E6E6C
|
||||
/* 0802F8 800E6E48 00000000 */ nop
|
||||
/* 0802FC 800E6E4C 0C05272D */ jal play_sound
|
||||
/* 080300 800E6E50 2404021D */ addiu $a0, $zero, 0x21d
|
||||
/* 080304 800E6E54 3C028011 */ lui $v0, 0x8011
|
||||
/* 080308 800E6E58 8442C9C0 */ lh $v0, -0x3640($v0)
|
||||
/* 08030C 800E6E5C 10400103 */ beqz $v0, .L800E726C
|
||||
/* 080310 800E6E60 00000000 */ nop
|
||||
/* 080314 800E6E64 08039C72 */ j .L800E71C8
|
||||
/* 080318 800E6E68 00000000 */ nop
|
||||
|
||||
.L800E6E6C:
|
||||
/* 08031C 800E6E6C 0C039ADE */ jal func_800E6B78
|
||||
/* 080320 800E6E70 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 080324 800E6E74 104000FD */ beqz $v0, .L800E726C
|
||||
/* 080328 800E6E78 24030001 */ addiu $v1, $zero, 1
|
||||
/* 08032C 800E6E7C AE420324 */ sw $v0, 0x324($s2)
|
||||
/* 080330 800E6E80 3C028011 */ lui $v0, 0x8011
|
||||
/* 080334 800E6E84 2442F290 */ addiu $v0, $v0, -0xd70
|
||||
/* 080338 800E6E88 80420012 */ lb $v0, 0x12($v0)
|
||||
/* 08033C 800E6E8C AE430318 */ sw $v1, 0x318($s2)
|
||||
/* 080340 800E6E90 00021080 */ sll $v0, $v0, 2
|
||||
/* 080344 800E6E94 3C018009 */ lui $at, 0x8009
|
||||
/* 080348 800E6E98 00220821 */ addu $at, $at, $v0
|
||||
/* 08034C 800E6E9C 8C22EEF0 */ lw $v0, -0x1110($at)
|
||||
/* 080350 800E6EA0 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 080354 800E6EA4 08039BB2 */ j .L800E6EC8
|
||||
/* 080358 800E6EA8 AE420328 */ sw $v0, 0x328($s2)
|
||||
|
||||
.L800E6EAC:
|
||||
/* 08035C 800E6EAC 0C039B11 */ jal func_800E6C44
|
||||
/* 080360 800E6EB0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 080364 800E6EB4 104000ED */ beqz $v0, .L800E726C
|
||||
/* 080368 800E6EB8 00000000 */ nop
|
||||
/* 08036C 800E6EBC AE400318 */ sw $zero, 0x318($s2)
|
||||
/* 080370 800E6EC0 AE420324 */ sw $v0, 0x324($s2)
|
||||
/* 080374 800E6EC4 AE400328 */ sw $zero, 0x328($s2)
|
||||
.L800E6EC8:
|
||||
/* 080378 800E6EC8 8E820000 */ lw $v0, ($s4)
|
||||
/* 08037C 800E6ECC 34420020 */ ori $v0, $v0, 0x20
|
||||
/* 080380 800E6ED0 0C03805E */ jal func_800E0178
|
||||
/* 080384 800E6ED4 AE820000 */ sw $v0, ($s4)
|
||||
/* 080388 800E6ED8 0C03BD8A */ jal func_800EF628
|
||||
/* 08038C 800E6EDC 00000000 */ nop
|
||||
/* 080390 800E6EE0 24020003 */ addiu $v0, $zero, 3
|
||||
/* 080394 800E6EE4 3C018011 */ lui $at, 0x8011
|
||||
/* 080398 800E6EE8 A422CCFA */ sh $v0, -0x3306($at)
|
||||
/* 08039C 800E6EEC 92820015 */ lbu $v0, 0x15($s4)
|
||||
/* 0803A0 800E6EF0 24030001 */ addiu $v1, $zero, 1
|
||||
/* 0803A4 800E6EF4 3C018011 */ lui $at, 0x8011
|
||||
/* 0803A8 800E6EF8 A423CD00 */ sh $v1, -0x3300($at)
|
||||
/* 0803AC 800E6EFC 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 0803B0 800E6F00 00021603 */ sra $v0, $v0, 0x18
|
||||
/* 0803B4 800E6F04 3C018011 */ lui $at, 0x8011
|
||||
/* 0803B8 800E6F08 A422CCFE */ sh $v0, -0x3302($at)
|
||||
/* 0803BC 800E6F0C 08039C9B */ j .L800E726C
|
||||
/* 0803C0 800E6F10 00000000 */ nop
|
||||
|
||||
/* 0803C4 800E6F14 0C039A41 */ jal func_800E6904
|
||||
/* 0803C8 800E6F18 00000000 */ nop
|
||||
/* 0803CC 800E6F1C 1040000B */ beqz $v0, .L800E6F4C
|
||||
/* 0803D0 800E6F20 00000000 */ nop
|
||||
/* 0803D4 800E6F24 0C04D07A */ jal func_801341E8
|
||||
/* 0803D8 800E6F28 00000000 */ nop
|
||||
/* 0803DC 800E6F2C 14400007 */ bnez $v0, .L800E6F4C
|
||||
/* 0803E0 800E6F30 00000000 */ nop
|
||||
/* 0803E4 800E6F34 3C028011 */ lui $v0, 0x8011
|
||||
/* 0803E8 800E6F38 8442CCFE */ lh $v0, -0x3302($v0)
|
||||
/* 0803EC 800E6F3C 82830015 */ lb $v1, 0x15($s4)
|
||||
/* 0803F0 800E6F40 0043102A */ slt $v0, $v0, $v1
|
||||
/* 0803F4 800E6F44 10400010 */ beqz $v0, .L800E6F88
|
||||
/* 0803F8 800E6F48 00000000 */ nop
|
||||
.L800E6F4C:
|
||||
/* 0803FC 800E6F4C 8E820000 */ lw $v0, ($s4)
|
||||
/* 080400 800E6F50 2403FFDF */ addiu $v1, $zero, -0x21
|
||||
/* 080404 800E6F54 00431024 */ and $v0, $v0, $v1
|
||||
/* 080408 800E6F58 0C038069 */ jal func_800E01A4
|
||||
/* 08040C 800E6F5C AE820000 */ sw $v0, ($s4)
|
||||
/* 080410 800E6F60 0C03BD80 */ jal func_800EF600
|
||||
/* 080414 800E6F64 00000000 */ nop
|
||||
/* 080418 800E6F68 3C028011 */ lui $v0, 0x8011
|
||||
/* 08041C 800E6F6C 8442C9C0 */ lh $v0, -0x3640($v0)
|
||||
/* 080420 800E6F70 3C018011 */ lui $at, 0x8011
|
||||
/* 080424 800E6F74 A420CD00 */ sh $zero, -0x3300($at)
|
||||
/* 080428 800E6F78 104000BC */ beqz $v0, .L800E726C
|
||||
/* 08042C 800E6F7C 00000000 */ nop
|
||||
/* 080430 800E6F80 08039C72 */ j .L800E71C8
|
||||
/* 080434 800E6F84 00000000 */ nop
|
||||
|
||||
.L800E6F88:
|
||||
/* 080438 800E6F88 3C038011 */ lui $v1, 0x8011
|
||||
/* 08043C 800E6F8C 2463CCFA */ addiu $v1, $v1, -0x3306
|
||||
/* 080440 800E6F90 94620000 */ lhu $v0, ($v1)
|
||||
/* 080444 800E6F94 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 080448 800E6F98 A4620000 */ sh $v0, ($v1)
|
||||
/* 08044C 800E6F9C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 080450 800E6FA0 144000B2 */ bnez $v0, .L800E726C
|
||||
/* 080454 800E6FA4 24040002 */ addiu $a0, $zero, 2
|
||||
/* 080458 800E6FA8 3C02800A */ lui $v0, 0x800a
|
||||
/* 08045C 800E6FAC 2442A650 */ addiu $v0, $v0, -0x59b0
|
||||
/* 080460 800E6FB0 8C430000 */ lw $v1, ($v0)
|
||||
/* 080464 800E6FB4 3C018011 */ lui $at, 0x8011
|
||||
/* 080468 800E6FB8 A424CD00 */ sh $a0, -0x3300($at)
|
||||
/* 08046C 800E6FBC 34630040 */ ori $v1, $v1, 0x40
|
||||
/* 080470 800E6FC0 08039C9B */ j .L800E726C
|
||||
/* 080474 800E6FC4 AC430000 */ sw $v1, ($v0)
|
||||
|
||||
/* 080478 800E6FC8 3C038011 */ lui $v1, 0x8011
|
||||
/* 08047C 800E6FCC 8463CCF8 */ lh $v1, -0x3308($v1)
|
||||
/* 080480 800E6FD0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 080484 800E6FD4 1462000C */ bne $v1, $v0, .L800E7008
|
||||
/* 080488 800E6FD8 00000000 */ nop
|
||||
/* 08048C 800E6FDC 0C00CD3C */ jal set_game_mode
|
||||
/* 080490 800E6FE0 2404000A */ addiu $a0, $zero, 0xa
|
||||
/* 080494 800E6FE4 0C05272D */ jal play_sound
|
||||
/* 080498 800E6FE8 240400C5 */ addiu $a0, $zero, 0xc5
|
||||
/* 08049C 800E6FEC 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 0804A0 800E6FF0 3C018011 */ lui $at, 0x8011
|
||||
/* 0804A4 800E6FF4 A422CCFA */ sh $v0, -0x3306($at)
|
||||
/* 0804A8 800E6FF8 3C018011 */ lui $at, 0x8011
|
||||
/* 0804AC 800E6FFC A422CD00 */ sh $v0, -0x3300($at)
|
||||
/* 0804B0 800E7000 08039C9B */ j .L800E726C
|
||||
/* 0804B4 800E7004 00000000 */ nop
|
||||
|
||||
.L800E7008:
|
||||
/* 0804B8 800E7008 0C03D390 */ jal func_800F4E40
|
||||
/* 0804BC 800E700C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0804C0 800E7010 0C009C22 */ jal func_80027088
|
||||
/* 0804C4 800E7014 24040003 */ addiu $a0, $zero, 3
|
||||
/* 0804C8 800E7018 82620000 */ lb $v0, ($s3)
|
||||
/* 0804CC 800E701C 14400003 */ bnez $v0, .L800E702C
|
||||
/* 0804D0 800E7020 00000000 */ nop
|
||||
/* 0804D4 800E7024 0C039769 */ jal set_action_state
|
||||
/* 0804D8 800E7028 0000202D */ daddu $a0, $zero, $zero
|
||||
.L800E702C:
|
||||
/* 0804DC 800E702C 3C038011 */ lui $v1, 0x8011
|
||||
/* 0804E0 800E7030 2463CD00 */ addiu $v1, $v1, -0x3300
|
||||
/* 0804E4 800E7034 94620000 */ lhu $v0, ($v1)
|
||||
/* 0804E8 800E7038 24420001 */ addiu $v0, $v0, 1
|
||||
/* 0804EC 800E703C 08039C9B */ j .L800E726C
|
||||
/* 0804F0 800E7040 A4620000 */ sh $v0, ($v1)
|
||||
|
||||
/* 0804F4 800E7044 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 0804F8 800E7048 8643032C */ lh $v1, 0x32c($s2)
|
||||
/* 0804FC 800E704C 10620087 */ beq $v1, $v0, .L800E726C
|
||||
/* 080500 800E7050 9644032C */ lhu $a0, 0x32c($s2)
|
||||
/* 080504 800E7054 3C018011 */ lui $at, 0x8011
|
||||
/* 080508 800E7058 A424CCFC */ sh $a0, -0x3304($at)
|
||||
/* 08050C 800E705C 10600083 */ beqz $v1, .L800E726C
|
||||
/* 080510 800E7060 00000000 */ nop
|
||||
/* 080514 800E7064 0C03C4EC */ jal func_800F13B0
|
||||
/* 080518 800E7068 00000000 */ nop
|
||||
/* 08051C 800E706C 3C028011 */ lui $v0, 0x8011
|
||||
/* 080520 800E7070 2442CD00 */ addiu $v0, $v0, -0x3300
|
||||
/* 080524 800E7074 94430000 */ lhu $v1, ($v0)
|
||||
/* 080528 800E7078 2404000F */ addiu $a0, $zero, 0xf
|
||||
/* 08052C 800E707C 3C018011 */ lui $at, 0x8011
|
||||
/* 080530 800E7080 A424CCFA */ sh $a0, -0x3306($at)
|
||||
/* 080534 800E7084 24630001 */ addiu $v1, $v1, 1
|
||||
/* 080538 800E7088 08039C9B */ j .L800E726C
|
||||
/* 08053C 800E708C A4430000 */ sh $v1, ($v0)
|
||||
|
||||
/* 080540 800E7090 3C038011 */ lui $v1, 0x8011
|
||||
/* 080544 800E7094 2463CCFA */ addiu $v1, $v1, -0x3306
|
||||
/* 080548 800E7098 94620000 */ lhu $v0, ($v1)
|
||||
/* 08054C 800E709C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 080550 800E70A0 A4620000 */ sh $v0, ($v1)
|
||||
/* 080554 800E70A4 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 080558 800E70A8 14400070 */ bnez $v0, .L800E726C
|
||||
/* 08055C 800E70AC 00000000 */ nop
|
||||
/* 080560 800E70B0 0C03C54E */ jal func_800F1538
|
||||
/* 080564 800E70B4 00000000 */ nop
|
||||
/* 080568 800E70B8 3C018011 */ lui $at, 0x8011
|
||||
/* 08056C 800E70BC A420CD00 */ sh $zero, -0x3300($at)
|
||||
/* 080570 800E70C0 0C038069 */ jal func_800E01A4
|
||||
/* 080574 800E70C4 00000000 */ nop
|
||||
/* 080578 800E70C8 0C03BD80 */ jal func_800EF600
|
||||
/* 08057C 800E70CC 00000000 */ nop
|
||||
/* 080580 800E70D0 3C108011 */ lui $s0, 0x8011
|
||||
/* 080584 800E70D4 2610CCFC */ addiu $s0, $s0, -0x3304
|
||||
/* 080588 800E70D8 86030000 */ lh $v1, ($s0)
|
||||
/* 08058C 800E70DC 2402FFFE */ addiu $v0, $zero, -2
|
||||
/* 080590 800E70E0 1462001B */ bne $v1, $v0, .L800E7150
|
||||
/* 080594 800E70E4 00000000 */ nop
|
||||
/* 080598 800E70E8 0C039ADE */ jal func_800E6B78
|
||||
/* 08059C 800E70EC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0805A0 800E70F0 10400005 */ beqz $v0, .L800E7108
|
||||
/* 0805A4 800E70F4 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 0805A8 800E70F8 0C039B11 */ jal func_800E6C44
|
||||
/* 0805AC 800E70FC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0805B0 800E7100 14400003 */ bnez $v0, .L800E7110
|
||||
/* 0805B4 800E7104 240200FF */ addiu $v0, $zero, 0xff
|
||||
.L800E7108:
|
||||
/* 0805B8 800E7108 08039C54 */ j .L800E7150
|
||||
/* 0805BC 800E710C A6020000 */ sh $v0, ($s0)
|
||||
|
||||
.L800E7110:
|
||||
/* 0805C0 800E7110 3C048011 */ lui $a0, 0x8011
|
||||
/* 0805C4 800E7114 2484CCF8 */ addiu $a0, $a0, -0x3308
|
||||
/* 0805C8 800E7118 84830000 */ lh $v1, ($a0)
|
||||
/* 0805CC 800E711C 10600005 */ beqz $v1, .L800E7134
|
||||
/* 0805D0 800E7120 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0805D4 800E7124 10620006 */ beq $v1, $v0, .L800E7140
|
||||
/* 0805D8 800E7128 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0805DC 800E712C 08039C51 */ j .L800E7144
|
||||
/* 0805E0 800E7130 00000000 */ nop
|
||||
|
||||
.L800E7134:
|
||||
/* 0805E4 800E7134 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0805E8 800E7138 08039C51 */ j .L800E7144
|
||||
/* 0805EC 800E713C A4820000 */ sh $v0, ($a0)
|
||||
|
||||
.L800E7140:
|
||||
/* 0805F0 800E7140 A4800000 */ sh $zero, ($a0)
|
||||
.L800E7144:
|
||||
/* 0805F4 800E7144 3C018011 */ lui $at, 0x8011
|
||||
/* 0805F8 800E7148 08039B87 */ j .L800E6E1C
|
||||
/* 0805FC 800E714C A422C9C0 */ sh $v0, -0x3640($at)
|
||||
|
||||
.L800E7150:
|
||||
/* 080600 800E7150 3C038011 */ lui $v1, 0x8011
|
||||
/* 080604 800E7154 8463CCFC */ lh $v1, -0x3304($v1)
|
||||
/* 080608 800E7158 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 08060C 800E715C 1062001A */ beq $v1, $v0, .L800E71C8
|
||||
/* 080610 800E7160 00000000 */ nop
|
||||
/* 080614 800E7164 3C048011 */ lui $a0, 0x8011
|
||||
/* 080618 800E7168 8484CCF8 */ lh $a0, -0x3308($a0)
|
||||
/* 08061C 800E716C 10800005 */ beqz $a0, .L800E7184
|
||||
/* 080620 800E7170 24020001 */ addiu $v0, $zero, 1
|
||||
/* 080624 800E7174 1082000A */ beq $a0, $v0, .L800E71A0
|
||||
/* 080628 800E7178 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 08062C 800E717C 08039C72 */ j .L800E71C8
|
||||
/* 080630 800E7180 00000000 */ nop
|
||||
|
||||
.L800E7184:
|
||||
/* 080634 800E7184 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 080638 800E7188 00021080 */ sll $v0, $v0, 2
|
||||
/* 08063C 800E718C 02421021 */ addu $v0, $s2, $v0
|
||||
/* 080640 800E7190 0C03AC5A */ jal func_800EB168
|
||||
/* 080644 800E7194 8C440108 */ lw $a0, 0x108($v0)
|
||||
/* 080648 800E7198 08039C72 */ j .L800E71C8
|
||||
/* 08064C 800E719C 00000000 */ nop
|
||||
|
||||
.L800E71A0:
|
||||
/* 080650 800E71A0 00021080 */ sll $v0, $v0, 2
|
||||
/* 080654 800E71A4 02421021 */ addu $v0, $s2, $v0
|
||||
/* 080658 800E71A8 0C03A900 */ jal use_consumable
|
||||
/* 08065C 800E71AC 8C440108 */ lw $a0, 0x108($v0)
|
||||
/* 080660 800E71B0 3C04800A */ lui $a0, 0x800a
|
||||
/* 080664 800E71B4 2484A650 */ addiu $a0, $a0, -0x59b0
|
||||
/* 080668 800E71B8 8C820000 */ lw $v0, ($a0)
|
||||
/* 08066C 800E71BC 3C030020 */ lui $v1, 0x20
|
||||
/* 080670 800E71C0 00431025 */ or $v0, $v0, $v1
|
||||
/* 080674 800E71C4 AC820000 */ sw $v0, ($a0)
|
||||
.L800E71C8:
|
||||
/* 080678 800E71C8 0C039A18 */ jal func_800E6860
|
||||
/* 08067C 800E71CC 00000000 */ nop
|
||||
/* 080680 800E71D0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 080684 800E71D4 2403FFDF */ addiu $v1, $zero, -0x21
|
||||
/* 080688 800E71D8 8E820000 */ lw $v0, ($s4)
|
||||
/* 08068C 800E71DC 3C05800A */ lui $a1, 0x800a
|
||||
/* 080690 800E71E0 24A5A650 */ addiu $a1, $a1, -0x59b0
|
||||
/* 080694 800E71E4 00431024 */ and $v0, $v0, $v1
|
||||
/* 080698 800E71E8 AE820000 */ sw $v0, ($s4)
|
||||
/* 08069C 800E71EC 8CA20000 */ lw $v0, ($a1)
|
||||
/* 0806A0 800E71F0 2403FFBF */ addiu $v1, $zero, -0x41
|
||||
/* 0806A4 800E71F4 00431024 */ and $v0, $v0, $v1
|
||||
/* 0806A8 800E71F8 0C009C22 */ jal func_80027088
|
||||
/* 0806AC 800E71FC ACA20000 */ sw $v0, ($a1)
|
||||
/* 0806B0 800E7200 08039C9B */ j .L800E726C
|
||||
/* 0806B4 800E7204 00000000 */ nop
|
||||
|
||||
/* 0806B8 800E7208 3C038011 */ lui $v1, 0x8011
|
||||
/* 0806BC 800E720C 2463CCFA */ addiu $v1, $v1, -0x3306
|
||||
/* 0806C0 800E7210 94620000 */ lhu $v0, ($v1)
|
||||
/* 0806C4 800E7214 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0806C8 800E7218 A4620000 */ sh $v0, ($v1)
|
||||
/* 0806CC 800E721C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 0806D0 800E7220 14400012 */ bnez $v0, .L800E726C
|
||||
/* 0806D4 800E7224 00000000 */ nop
|
||||
/* 0806D8 800E7228 0C039A18 */ jal func_800E6860
|
||||
/* 0806DC 800E722C 00000000 */ nop
|
||||
/* 0806E0 800E7230 2403FFDF */ addiu $v1, $zero, -0x21
|
||||
/* 0806E4 800E7234 8E820000 */ lw $v0, ($s4)
|
||||
/* 0806E8 800E7238 3C04800A */ lui $a0, 0x800a
|
||||
/* 0806EC 800E723C 2484A650 */ addiu $a0, $a0, -0x59b0
|
||||
/* 0806F0 800E7240 3C018011 */ lui $at, 0x8011
|
||||
/* 0806F4 800E7244 A420CD00 */ sh $zero, -0x3300($at)
|
||||
/* 0806F8 800E7248 00431024 */ and $v0, $v0, $v1
|
||||
/* 0806FC 800E724C AE820000 */ sw $v0, ($s4)
|
||||
/* 080700 800E7250 8C820000 */ lw $v0, ($a0)
|
||||
/* 080704 800E7254 2403FFBF */ addiu $v1, $zero, -0x41
|
||||
/* 080708 800E7258 00431024 */ and $v0, $v0, $v1
|
||||
/* 08070C 800E725C 0C038069 */ jal func_800E01A4
|
||||
/* 080710 800E7260 AC820000 */ sw $v0, ($a0)
|
||||
/* 080714 800E7264 0C03BD80 */ jal func_800EF600
|
||||
/* 080718 800E7268 00000000 */ nop
|
||||
.L800E726C:
|
||||
/* 08071C 800E726C 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 080720 800E7270 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 080724 800E7274 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 080728 800E7278 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 08072C 800E727C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 080730 800E7280 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 080734 800E7284 03E00008 */ jr $ra
|
||||
/* 080738 800E7288 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
glabel check_input_status_menu
|
||||
/* 08073C 800E728C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 080740 800E7290 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 080744 800E7294 3C05F5DE */ lui $a1, 0xf5de
|
||||
/* 080748 800E7298 34A50180 */ ori $a1, $a1, 0x180
|
||||
/* 08074C 800E729C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 080750 800E72A0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 080754 800E72A4 0C0B1EAF */ jal get_variable
|
||||
/* 080758 800E72A8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 08075C 800E72AC 3C118011 */ lui $s1, 0x8011
|
||||
/* 080760 800E72B0 2631EFC8 */ addiu $s1, $s1, -0x1038
|
||||
/* 080764 800E72B4 28420060 */ slti $v0, $v0, 0x60
|
||||
/* 080768 800E72B8 10400031 */ beqz $v0, .L800E7380
|
||||
/* 08076C 800E72BC 24020021 */ addiu $v0, $zero, 0x21
|
||||
/* 080770 800E72C0 822300B4 */ lb $v1, 0xb4($s1)
|
||||
/* 080774 800E72C4 10620003 */ beq $v1, $v0, .L800E72D4
|
||||
/* 080778 800E72C8 00000000 */ nop
|
||||
/* 08077C 800E72CC 08039CB8 */ j .L800E72E0
|
||||
/* 080780 800E72D0 8E3000E0 */ lw $s0, 0xe0($s1)
|
||||
|
||||
.L800E72D4:
|
||||
/* 080784 800E72D4 3C028007 */ lui $v0, 0x8007
|
||||
/* 080788 800E72D8 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 08078C 800E72DC 8C500010 */ lw $s0, 0x10($v0)
|
||||
.L800E72E0:
|
||||
/* 080790 800E72E0 0C03A644 */ jal is_status_menu_visible
|
||||
/* 080794 800E72E4 00000000 */ nop
|
||||
/* 080798 800E72E8 14400013 */ bnez $v0, .L800E7338
|
||||
/* 08079C 800E72EC 00000000 */ nop
|
||||
/* 0807A0 800E72F0 8E2200DC */ lw $v0, 0xdc($s1)
|
||||
/* 0807A4 800E72F4 30422010 */ andi $v0, $v0, 0x2010
|
||||
/* 0807A8 800E72F8 14400021 */ bnez $v0, .L800E7380
|
||||
/* 0807AC 800E72FC 32020008 */ andi $v0, $s0, 8
|
||||
/* 0807B0 800E7300 1040001F */ beqz $v0, .L800E7380
|
||||
/* 0807B4 800E7304 00000000 */ nop
|
||||
/* 0807B8 800E7308 0C03A618 */ jal func_800E9860
|
||||
/* 0807BC 800E730C 00000000 */ nop
|
||||
/* 0807C0 800E7310 1040001B */ beqz $v0, .L800E7380
|
||||
/* 0807C4 800E7314 00000000 */ nop
|
||||
/* 0807C8 800E7318 0C03A5D8 */ jal open_status_menu_long
|
||||
/* 0807CC 800E731C 00000000 */ nop
|
||||
/* 0807D0 800E7320 0C04D07A */ jal func_801341E8
|
||||
/* 0807D4 800E7324 00000000 */ nop
|
||||
/* 0807D8 800E7328 14400015 */ bnez $v0, .L800E7380
|
||||
/* 0807DC 800E732C 24040003 */ addiu $a0, $zero, 3
|
||||
/* 0807E0 800E7330 08039CDE */ j .L800E7378
|
||||
/* 0807E4 800E7334 00000000 */ nop
|
||||
|
||||
.L800E7338:
|
||||
/* 0807E8 800E7338 8E2200DC */ lw $v0, 0xdc($s1)
|
||||
/* 0807EC 800E733C 30422010 */ andi $v0, $v0, 0x2010
|
||||
/* 0807F0 800E7340 1440000F */ bnez $v0, .L800E7380
|
||||
/* 0807F4 800E7344 32020008 */ andi $v0, $s0, 8
|
||||
/* 0807F8 800E7348 1040000D */ beqz $v0, .L800E7380
|
||||
/* 0807FC 800E734C 00000000 */ nop
|
||||
/* 080800 800E7350 0C03A618 */ jal func_800E9860
|
||||
/* 080804 800E7354 00000000 */ nop
|
||||
/* 080808 800E7358 10400009 */ beqz $v0, .L800E7380
|
||||
/* 08080C 800E735C 00000000 */ nop
|
||||
/* 080810 800E7360 0C03A5EE */ jal func_800E97B8
|
||||
/* 080814 800E7364 00000000 */ nop
|
||||
/* 080818 800E7368 0C04D07A */ jal func_801341E8
|
||||
/* 08081C 800E736C 00000000 */ nop
|
||||
/* 080820 800E7370 14400003 */ bnez $v0, .L800E7380
|
||||
/* 080824 800E7374 24040004 */ addiu $a0, $zero, 4
|
||||
.L800E7378:
|
||||
/* 080828 800E7378 0C05272D */ jal play_sound
|
||||
/* 08082C 800E737C 00000000 */ nop
|
||||
.L800E7380:
|
||||
/* 080830 800E7380 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 080834 800E7384 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 080838 800E7388 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 08083C 800E738C 03E00008 */ jr $ra
|
||||
/* 080840 800E7390 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 080844 800E7394 00000000 */ nop
|
||||
/* 080848 800E7398 00000000 */ nop
|
||||
/* 08084C 800E739C 00000000 */ nop
|
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
@ -1,18 +0,0 @@
|
||||
glabel battle_heap_create
|
||||
/* 0060A0 8002ACA0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0060A4 8002ACA4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0060A8 8002ACA8 3C050002 */ lui $a1, 2
|
||||
/* 0060AC 8002ACAC 3C04803E */ lui $a0, 0x803e
|
||||
/* 0060B0 8002ACB0 2484A800 */ addiu $a0, $a0, -0x5800
|
||||
/* 0060B4 8002ACB4 0C00A40C */ jal _heap_create
|
||||
/* 0060B8 8002ACB8 34A55800 */ ori $a1, $a1, 0x5800
|
||||
/* 0060BC 8002ACBC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0060C0 8002ACC0 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 0060C4 8002ACC4 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 0060C8 8002ACC8 54830001 */ beq $a0, $v1, .L8002ACD0
|
||||
nop
|
||||
/* 0060CC 8002ACCC 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8002ACD0:
|
||||
/* 0060D0 8002ACD0 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0060D4 8002ACD4 03E00008 */ jr $ra
|
||||
/* 0060D8 8002ACD8 27BD0018 */ addiu $sp, $sp, 0x18
|
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
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
@ -1,273 +0,0 @@
|
||||
# %s disassembly and split file
|
||||
# generated by n64split v%s - N64 ROM splitter
|
||||
|
||||
# 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
|
||||
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80145320, "ax"
|
||||
|
||||
glabel clear_saved_variables
|
||||
/* 0DBA20 80145320 2402003F */ addiu $v0, $zero, 0x3f
|
||||
/* 0DBA24 80145324 3C04800E */ lui $a0, 0x800e
|
||||
/* 0DBA28 80145328 2484ACC0 */ addiu $a0, $a0, -0x5340
|
||||
/* 0DBA2C 8014532C 248300FC */ addiu $v1, $a0, 0xfc
|
||||
.L80145330:
|
||||
/* 0DBA30 80145330 AC600FB0 */ sw $zero, 0xfb0($v1)
|
||||
/* 0DBA34 80145334 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0DBA38 80145338 0441FFFD */ bgez $v0, .L80145330
|
||||
/* 0DBA3C 8014533C 2463FFFC */ addiu $v1, $v1, -4
|
||||
/* 0DBA40 80145340 240201FF */ addiu $v0, $zero, 0x1ff
|
||||
/* 0DBA44 80145344 00821821 */ addu $v1, $a0, $v0
|
||||
.L80145348:
|
||||
/* 0DBA48 80145348 A06010B0 */ sb $zero, 0x10b0($v1)
|
||||
/* 0DBA4C 8014534C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0DBA50 80145350 0441FFFD */ bgez $v0, .L80145348
|
||||
/* 0DBA54 80145354 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* 0DBA58 80145358 24020007 */ addiu $v0, $zero, 7
|
||||
/* 0DBA5C 8014535C 2483001C */ addiu $v1, $a0, 0x1c
|
||||
.L80145360:
|
||||
/* 0DBA60 80145360 AC6012B0 */ sw $zero, 0x12b0($v1)
|
||||
/* 0DBA64 80145364 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0DBA68 80145368 0441FFFD */ bgez $v0, .L80145360
|
||||
/* 0DBA6C 8014536C 2463FFFC */ addiu $v1, $v1, -4
|
||||
/* 0DBA70 80145370 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 0DBA74 80145374 00821821 */ addu $v1, $a0, $v0
|
||||
.L80145378:
|
||||
/* 0DBA78 80145378 A06012D0 */ sb $zero, 0x12d0($v1)
|
||||
/* 0DBA7C 8014537C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0DBA80 80145380 0441FFFD */ bgez $v0, .L80145378
|
||||
/* 0DBA84 80145384 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* 0DBA88 80145388 03E00008 */ jr $ra
|
||||
/* 0DBA8C 8014538C 00000000 */ nop
|
||||
|
||||
glabel clear_area_flags
|
||||
/* 0DBA90 80145390 3C028007 */ lui $v0, 0x8007
|
||||
/* 0DBA94 80145394 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0DBA98 80145398 8442008A */ lh $v0, 0x8a($v0)
|
||||
/* 0DBA9C 8014539C 3C04800E */ lui $a0, 0x800e
|
||||
/* 0DBAA0 801453A0 2484ACC0 */ addiu $a0, $a0, -0x5340
|
||||
/* 0DBAA4 801453A4 1040000C */ beqz $v0, .L801453D8
|
||||
/* 0DBAA8 801453A8 24020007 */ addiu $v0, $zero, 7
|
||||
/* 0DBAAC 801453AC 2483001C */ addiu $v1, $a0, 0x1c
|
||||
.L801453B0:
|
||||
/* 0DBAB0 801453B0 AC6012B0 */ sw $zero, 0x12b0($v1)
|
||||
/* 0DBAB4 801453B4 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0DBAB8 801453B8 0441FFFD */ bgez $v0, .L801453B0
|
||||
/* 0DBABC 801453BC 2463FFFC */ addiu $v1, $v1, -4
|
||||
/* 0DBAC0 801453C0 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 0DBAC4 801453C4 00821821 */ addu $v1, $a0, $v0
|
||||
.L801453C8:
|
||||
/* 0DBAC8 801453C8 A06012D0 */ sb $zero, 0x12d0($v1)
|
||||
/* 0DBACC 801453CC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0DBAD0 801453D0 0441FFFD */ bgez $v0, .L801453C8
|
||||
/* 0DBAD4 801453D4 2463FFFF */ addiu $v1, $v1, -1
|
||||
.L801453D8:
|
||||
/* 0DBAD8 801453D8 03E00008 */ jr $ra
|
||||
/* 0DBADC 801453DC 00000000 */ nop
|
||||
|
||||
glabel clear_global_flag
|
||||
/* 0DBAE0 801453E0 3C02F8D8 */ lui $v0, 0xf8d8
|
||||
/* 0DBAE4 801453E4 3442F200 */ ori $v0, $v0, 0xf200
|
||||
/* 0DBAE8 801453E8 0044102A */ slt $v0, $v0, $a0
|
||||
/* 0DBAEC 801453EC 14400003 */ bnez $v0, .L801453FC
|
||||
/* 0DBAF0 801453F0 3C0207BF */ lui $v0, 0x7bf
|
||||
/* 0DBAF4 801453F4 3442A480 */ ori $v0, $v0, 0xa480
|
||||
/* 0DBAF8 801453F8 00822021 */ addu $a0, $a0, $v0
|
||||
.L801453FC:
|
||||
/* 0DBAFC 801453FC 04810002 */ bgez $a0, .L80145408
|
||||
/* 0DBB00 80145400 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 0DBB04 80145404 2482001F */ addiu $v0, $a0, 0x1f
|
||||
.L80145408:
|
||||
/* 0DBB08 80145408 00021143 */ sra $v0, $v0, 5
|
||||
/* 0DBB0C 8014540C 00021940 */ sll $v1, $v0, 5
|
||||
/* 0DBB10 80145410 00831823 */ subu $v1, $a0, $v1
|
||||
/* 0DBB14 80145414 3C04800E */ lui $a0, 0x800e
|
||||
/* 0DBB18 80145418 2484ACC0 */ addiu $a0, $a0, -0x5340
|
||||
/* 0DBB1C 8014541C 00021080 */ sll $v0, $v0, 2
|
||||
/* 0DBB20 80145420 00442821 */ addu $a1, $v0, $a0
|
||||
/* 0DBB24 80145424 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0DBB28 80145428 8CA40FB0 */ lw $a0, 0xfb0($a1)
|
||||
/* 0DBB2C 8014542C 00621004 */ sllv $v0, $v0, $v1
|
||||
/* 0DBB30 80145430 00821824 */ and $v1, $a0, $v0
|
||||
/* 0DBB34 80145434 54600001 */ bnel $v1, $zero, .L8014543C
|
||||
/* 0DBB38 80145438 24030001 */ addiu $v1, $zero, 1
|
||||
.L8014543C:
|
||||
/* 0DBB3C 8014543C 00021027 */ nor $v0, $zero, $v0
|
||||
/* 0DBB40 80145440 00821024 */ and $v0, $a0, $v0
|
||||
/* 0DBB44 80145444 ACA20FB0 */ sw $v0, 0xfb0($a1)
|
||||
/* 0DBB48 80145448 03E00008 */ jr $ra
|
||||
/* 0DBB4C 8014544C 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
glabel set_global_flag
|
||||
/* 0DBB50 80145450 3C02F8D8 */ lui $v0, 0xf8d8
|
||||
/* 0DBB54 80145454 3442F200 */ ori $v0, $v0, 0xf200
|
||||
/* 0DBB58 80145458 0044102A */ slt $v0, $v0, $a0
|
||||
/* 0DBB5C 8014545C 14400003 */ bnez $v0, .L8014546C
|
||||
/* 0DBB60 80145460 3C0207BF */ lui $v0, 0x7bf
|
||||
/* 0DBB64 80145464 3442A480 */ ori $v0, $v0, 0xa480
|
||||
/* 0DBB68 80145468 00822021 */ addu $a0, $a0, $v0
|
||||
.L8014546C:
|
||||
/* 0DBB6C 8014546C 04810002 */ bgez $a0, .L80145478
|
||||
/* 0DBB70 80145470 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 0DBB74 80145474 2482001F */ addiu $v0, $a0, 0x1f
|
||||
.L80145478:
|
||||
/* 0DBB78 80145478 00021143 */ sra $v0, $v0, 5
|
||||
/* 0DBB7C 8014547C 00021940 */ sll $v1, $v0, 5
|
||||
/* 0DBB80 80145480 00831823 */ subu $v1, $a0, $v1
|
||||
/* 0DBB84 80145484 3C04800E */ lui $a0, 0x800e
|
||||
/* 0DBB88 80145488 2484ACC0 */ addiu $a0, $a0, -0x5340
|
||||
/* 0DBB8C 8014548C 00021080 */ sll $v0, $v0, 2
|
||||
/* 0DBB90 80145490 00442821 */ addu $a1, $v0, $a0
|
||||
/* 0DBB94 80145494 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0DBB98 80145498 8CA40FB0 */ lw $a0, 0xfb0($a1)
|
||||
/* 0DBB9C 8014549C 00621004 */ sllv $v0, $v0, $v1
|
||||
/* 0DBBA0 801454A0 00821824 */ and $v1, $a0, $v0
|
||||
/* 0DBBA4 801454A4 54600001 */ bnel $v1, $zero, .L801454AC
|
||||
/* 0DBBA8 801454A8 24030001 */ addiu $v1, $zero, 1
|
||||
.L801454AC:
|
||||
/* 0DBBAC 801454AC 00821025 */ or $v0, $a0, $v0
|
||||
/* 0DBBB0 801454B0 ACA20FB0 */ sw $v0, 0xfb0($a1)
|
||||
/* 0DBBB4 801454B4 03E00008 */ jr $ra
|
||||
/* 0DBBB8 801454B8 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
glabel get_global_flag
|
||||
/* 0DBBBC 801454BC 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 0DBBC0 801454C0 3C02F8D8 */ lui $v0, 0xf8d8
|
||||
/* 0DBBC4 801454C4 3442F200 */ ori $v0, $v0, 0xf200
|
||||
/* 0DBBC8 801454C8 0045102A */ slt $v0, $v0, $a1
|
||||
/* 0DBBCC 801454CC 14400003 */ bnez $v0, .L801454DC
|
||||
/* 0DBBD0 801454D0 3C0207BF */ lui $v0, 0x7bf
|
||||
/* 0DBBD4 801454D4 3442A480 */ ori $v0, $v0, 0xa480
|
||||
/* 0DBBD8 801454D8 00A22821 */ addu $a1, $a1, $v0
|
||||
.L801454DC:
|
||||
/* 0DBBDC 801454DC 04A10002 */ bgez $a1, .L801454E8
|
||||
/* 0DBBE0 801454E0 00A0182D */ daddu $v1, $a1, $zero
|
||||
/* 0DBBE4 801454E4 24A3001F */ addiu $v1, $a1, 0x1f
|
||||
.L801454E8:
|
||||
/* 0DBBE8 801454E8 00031943 */ sra $v1, $v1, 5
|
||||
/* 0DBBEC 801454EC 00032140 */ sll $a0, $v1, 5
|
||||
/* 0DBBF0 801454F0 00A42023 */ subu $a0, $a1, $a0
|
||||
/* 0DBBF4 801454F4 00031880 */ sll $v1, $v1, 2
|
||||
/* 0DBBF8 801454F8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0DBBFC 801454FC 3C01800E */ lui $at, 0x800e
|
||||
/* 0DBC00 80145500 00230821 */ addu $at, $at, $v1
|
||||
/* 0DBC04 80145504 8C23BC70 */ lw $v1, -0x4390($at)
|
||||
/* 0DBC08 80145508 00821004 */ sllv $v0, $v0, $a0
|
||||
/* 0DBC0C 8014550C 00621024 */ and $v0, $v1, $v0
|
||||
/* 0DBC10 80145510 54400001 */ bnel $v0, $zero, .L80145518
|
||||
/* 0DBC14 80145514 24020001 */ addiu $v0, $zero, 1
|
||||
.L80145518:
|
||||
/* 0DBC18 80145518 03E00008 */ jr $ra
|
||||
/* 0DBC1C 8014551C 00000000 */ nop
|
||||
|
||||
glabel set_global_byte
|
||||
/* 0DBC20 80145520 3C02800E */ lui $v0, 0x800e
|
||||
/* 0DBC24 80145524 2442ACC0 */ addiu $v0, $v0, -0x5340
|
||||
/* 0DBC28 80145528 00822021 */ addu $a0, $a0, $v0
|
||||
/* 0DBC2C 8014552C 808210B0 */ lb $v0, 0x10b0($a0)
|
||||
/* 0DBC30 80145530 03E00008 */ jr $ra
|
||||
/* 0DBC34 80145534 A08510B0 */ sb $a1, 0x10b0($a0)
|
||||
|
||||
glabel get_global_byte
|
||||
/* 0DBC38 80145538 3C02800E */ lui $v0, 0x800e
|
||||
/* 0DBC3C 8014553C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 0DBC40 80145540 8042BD70 */ lb $v0, -0x4290($v0)
|
||||
/* 0DBC44 80145544 03E00008 */ jr $ra
|
||||
/* 0DBC48 80145548 00000000 */ nop
|
||||
|
||||
glabel clear_area_flag
|
||||
/* 0DBC4C 8014554C 04810002 */ bgez $a0, .L80145558
|
||||
/* 0DBC50 80145550 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 0DBC54 80145554 2482001F */ addiu $v0, $a0, 0x1f
|
||||
.L80145558:
|
||||
/* 0DBC58 80145558 00021143 */ sra $v0, $v0, 5
|
||||
/* 0DBC5C 8014555C 00021940 */ sll $v1, $v0, 5
|
||||
/* 0DBC60 80145560 00831823 */ subu $v1, $a0, $v1
|
||||
/* 0DBC64 80145564 3C04800E */ lui $a0, 0x800e
|
||||
/* 0DBC68 80145568 2484ACC0 */ addiu $a0, $a0, -0x5340
|
||||
/* 0DBC6C 8014556C 00021080 */ sll $v0, $v0, 2
|
||||
/* 0DBC70 80145570 00442821 */ addu $a1, $v0, $a0
|
||||
/* 0DBC74 80145574 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0DBC78 80145578 8CA412B0 */ lw $a0, 0x12b0($a1)
|
||||
/* 0DBC7C 8014557C 00621004 */ sllv $v0, $v0, $v1
|
||||
/* 0DBC80 80145580 00821824 */ and $v1, $a0, $v0
|
||||
/* 0DBC84 80145584 54600001 */ bnel $v1, $zero, .L8014558C
|
||||
/* 0DBC88 80145588 24030001 */ addiu $v1, $zero, 1
|
||||
.L8014558C:
|
||||
/* 0DBC8C 8014558C 00021027 */ nor $v0, $zero, $v0
|
||||
/* 0DBC90 80145590 00821024 */ and $v0, $a0, $v0
|
||||
/* 0DBC94 80145594 ACA212B0 */ sw $v0, 0x12b0($a1)
|
||||
/* 0DBC98 80145598 03E00008 */ jr $ra
|
||||
/* 0DBC9C 8014559C 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
glabel set_area_flag
|
||||
/* 0DBCA0 801455A0 04810002 */ bgez $a0, .L801455AC
|
||||
/* 0DBCA4 801455A4 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 0DBCA8 801455A8 2482001F */ addiu $v0, $a0, 0x1f
|
||||
.L801455AC:
|
||||
/* 0DBCAC 801455AC 00021143 */ sra $v0, $v0, 5
|
||||
/* 0DBCB0 801455B0 00021940 */ sll $v1, $v0, 5
|
||||
/* 0DBCB4 801455B4 00831823 */ subu $v1, $a0, $v1
|
||||
/* 0DBCB8 801455B8 3C04800E */ lui $a0, 0x800e
|
||||
/* 0DBCBC 801455BC 2484ACC0 */ addiu $a0, $a0, -0x5340
|
||||
/* 0DBCC0 801455C0 00021080 */ sll $v0, $v0, 2
|
||||
/* 0DBCC4 801455C4 00442821 */ addu $a1, $v0, $a0
|
||||
/* 0DBCC8 801455C8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0DBCCC 801455CC 8CA412B0 */ lw $a0, 0x12b0($a1)
|
||||
/* 0DBCD0 801455D0 00621004 */ sllv $v0, $v0, $v1
|
||||
/* 0DBCD4 801455D4 00821824 */ and $v1, $a0, $v0
|
||||
/* 0DBCD8 801455D8 54600001 */ bnel $v1, $zero, .L801455E0
|
||||
/* 0DBCDC 801455DC 24030001 */ addiu $v1, $zero, 1
|
||||
.L801455E0:
|
||||
/* 0DBCE0 801455E0 00821025 */ or $v0, $a0, $v0
|
||||
/* 0DBCE4 801455E4 ACA212B0 */ sw $v0, 0x12b0($a1)
|
||||
/* 0DBCE8 801455E8 03E00008 */ jr $ra
|
||||
/* 0DBCEC 801455EC 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
glabel get_area_flag
|
||||
/* 0DBCF0 801455F0 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 0DBCF4 801455F4 04410002 */ bgez $v0, .L80145600
|
||||
/* 0DBCF8 801455F8 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 0DBCFC 801455FC 2443001F */ addiu $v1, $v0, 0x1f
|
||||
.L80145600:
|
||||
/* 0DBD00 80145600 00031943 */ sra $v1, $v1, 5
|
||||
/* 0DBD04 80145604 00032140 */ sll $a0, $v1, 5
|
||||
/* 0DBD08 80145608 00442023 */ subu $a0, $v0, $a0
|
||||
/* 0DBD0C 8014560C 00031880 */ sll $v1, $v1, 2
|
||||
/* 0DBD10 80145610 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0DBD14 80145614 3C01800E */ lui $at, 0x800e
|
||||
/* 0DBD18 80145618 00230821 */ addu $at, $at, $v1
|
||||
/* 0DBD1C 8014561C 8C23BF70 */ lw $v1, -0x4090($at)
|
||||
/* 0DBD20 80145620 00821004 */ sllv $v0, $v0, $a0
|
||||
/* 0DBD24 80145624 00621024 */ and $v0, $v1, $v0
|
||||
/* 0DBD28 80145628 54400001 */ bnel $v0, $zero, .L80145630
|
||||
/* 0DBD2C 8014562C 24020001 */ addiu $v0, $zero, 1
|
||||
.L80145630:
|
||||
/* 0DBD30 80145630 03E00008 */ jr $ra
|
||||
/* 0DBD34 80145634 00000000 */ nop
|
||||
|
||||
glabel set_area_byte
|
||||
/* 0DBD38 80145638 3C02800E */ lui $v0, 0x800e
|
||||
/* 0DBD3C 8014563C 2442ACC0 */ addiu $v0, $v0, -0x5340
|
||||
/* 0DBD40 80145640 00822021 */ addu $a0, $a0, $v0
|
||||
/* 0DBD44 80145644 808212D0 */ lb $v0, 0x12d0($a0)
|
||||
/* 0DBD48 80145648 03E00008 */ jr $ra
|
||||
/* 0DBD4C 8014564C A08512D0 */ sb $a1, 0x12d0($a0)
|
||||
|
||||
glabel get_area_byte
|
||||
/* 0DBD50 80145650 3C02800E */ lui $v0, 0x800e
|
||||
/* 0DBD54 80145654 00441021 */ addu $v0, $v0, $a0
|
||||
/* 0DBD58 80145658 8042BF90 */ lb $v0, -0x4070($v0)
|
||||
/* 0DBD5C 8014565C 03E00008 */ jr $ra
|
||||
/* 0DBD60 80145660 00000000 */ nop
|
||||
|
||||
/* 0DBD64 80145664 00000000 */ nop
|
||||
/* 0DBD68 80145668 00000000 */ nop
|
||||
/* 0DBD6C 8014566C 00000000 */ nop
|
||||
|
||||
.set reorder
|
@ -1,871 +0,0 @@
|
||||
# %s disassembly and split file
|
||||
# generated by n64split v%s - N64 ROM splitter
|
||||
|
||||
# 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
|
||||
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text801473F0, "ax"
|
||||
|
||||
glabel func_801473F0
|
||||
/* 0DDAF0 801473F0 3C038016 */ lui $v1, 0x8016
|
||||
/* 0DDAF4 801473F4 24639D50 */ addiu $v1, $v1, -0x62b0
|
||||
/* 0DDAF8 801473F8 2402003F */ addiu $v0, $zero, 0x3f
|
||||
.L801473FC:
|
||||
/* 0DDAFC 801473FC A0600000 */ sb $zero, ($v1)
|
||||
/* 0DDB00 80147400 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0DDB04 80147404 0441FFFD */ bgez $v0, .L801473FC
|
||||
/* 0DDB08 80147408 24630020 */ addiu $v1, $v1, 0x20
|
||||
/* 0DDB0C 8014740C 03E00008 */ jr $ra
|
||||
/* 0DDB10 80147410 00000000 */ nop
|
||||
|
||||
glabel func_80147414
|
||||
/* 0DDB14 80147414 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0DDB18 80147418 3C058016 */ lui $a1, 0x8016
|
||||
/* 0DDB1C 8014741C 24A59D50 */ addiu $a1, $a1, -0x62b0
|
||||
/* 0DDB20 80147420 24A4001C */ addiu $a0, $a1, 0x1c
|
||||
.L80147424:
|
||||
/* 0DDB24 80147424 90A30000 */ lbu $v1, ($a1)
|
||||
/* 0DDB28 80147428 5060000C */ beql $v1, $zero, .L8014745C
|
||||
/* 0DDB2C 8014742C 24C60001 */ addiu $a2, $a2, 1
|
||||
/* 0DDB30 80147430 30620020 */ andi $v0, $v1, 0x20
|
||||
/* 0DDB34 80147434 14400009 */ bnez $v0, .L8014745C
|
||||
/* 0DDB38 80147438 24C60001 */ addiu $a2, $a2, 1
|
||||
/* 0DDB3C 8014743C 30620002 */ andi $v0, $v1, 2
|
||||
/* 0DDB40 80147440 10400006 */ beqz $v0, .L8014745C
|
||||
/* 0DDB44 80147444 00000000 */ nop
|
||||
/* 0DDB48 80147448 306200FD */ andi $v0, $v1, 0xfd
|
||||
/* 0DDB4C 8014744C A0A20000 */ sb $v0, ($a1)
|
||||
/* 0DDB50 80147450 8C82FFEC */ lw $v0, -0x14($a0)
|
||||
/* 0DDB54 80147454 A0800000 */ sb $zero, ($a0)
|
||||
/* 0DDB58 80147458 AC82FFE8 */ sw $v0, -0x18($a0)
|
||||
.L8014745C:
|
||||
/* 0DDB5C 8014745C 24840020 */ addiu $a0, $a0, 0x20
|
||||
/* 0DDB60 80147460 28C20040 */ slti $v0, $a2, 0x40
|
||||
/* 0DDB64 80147464 1440FFEF */ bnez $v0, .L80147424
|
||||
/* 0DDB68 80147468 24A50020 */ addiu $a1, $a1, 0x20
|
||||
/* 0DDB6C 8014746C 03E00008 */ jr $ra
|
||||
/* 0DDB70 80147470 00000000 */ nop
|
||||
|
||||
/* 0DDB74 80147474 3C028016 */ lui $v0, 0x8016
|
||||
/* 0DDB78 80147478 24429D50 */ addiu $v0, $v0, -0x62b0
|
||||
/* 0DDB7C 8014747C 00042140 */ sll $a0, $a0, 5
|
||||
/* 0DDB80 80147480 00822021 */ addu $a0, $a0, $v0
|
||||
/* 0DDB84 80147484 8FA70014 */ lw $a3, 0x14($sp)
|
||||
/* 0DDB88 80147488 8FA80018 */ lw $t0, 0x18($sp)
|
||||
/* 0DDB8C 8014748C 9086001C */ lbu $a2, 0x1c($a0)
|
||||
/* 0DDB90 80147490 8FA90024 */ lw $t1, 0x24($sp)
|
||||
/* 0DDB94 80147494 14C00005 */ bnez $a2, .L801474AC
|
||||
/* 0DDB98 80147498 28C20005 */ slti $v0, $a2, 5
|
||||
/* 0DDB9C 8014749C 90820000 */ lbu $v0, ($a0)
|
||||
/* 0DDBA0 801474A0 304200FB */ andi $v0, $v0, 0xfb
|
||||
/* 0DDBA4 801474A4 A0820000 */ sb $v0, ($a0)
|
||||
/* 0DDBA8 801474A8 28C20005 */ slti $v0, $a2, 5
|
||||
.L801474AC:
|
||||
/* 0DDBAC 801474AC 10400025 */ beqz $v0, .L80147544
|
||||
/* 0DDBB0 801474B0 00000000 */ nop
|
||||
/* 0DDBB4 801474B4 3C038015 */ lui $v1, 0x8015
|
||||
/* 0DDBB8 801474B8 2463F298 */ addiu $v1, $v1, -0xd68
|
||||
/* 0DDBBC 801474BC 3C028015 */ lui $v0, 0x8015
|
||||
/* 0DDBC0 801474C0 00461021 */ addu $v0, $v0, $a2
|
||||
/* 0DDBC4 801474C4 9042F2A0 */ lbu $v0, -0xd60($v0)
|
||||
/* 0DDBC8 801474C8 00C31821 */ addu $v1, $a2, $v1
|
||||
/* 0DDBCC 801474CC ACA20000 */ sw $v0, ($a1)
|
||||
/* 0DDBD0 801474D0 90620000 */ lbu $v0, ($v1)
|
||||
/* 0DDBD4 801474D4 3C018015 */ lui $at, 0x8015
|
||||
/* 0DDBD8 801474D8 D4221240 */ ldc1 $f2, 0x1240($at)
|
||||
/* 0DDBDC 801474DC 44820000 */ mtc1 $v0, $f0
|
||||
/* 0DDBE0 801474E0 00000000 */ nop
|
||||
/* 0DDBE4 801474E4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0DDBE8 801474E8 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 0DDBEC 801474EC 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 0DDBF0 801474F0 00000000 */ nop
|
||||
/* 0DDBF4 801474F4 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 0DDBF8 801474F8 E4E00000 */ swc1 $f0, ($a3)
|
||||
/* 0DDBFC 801474FC 90620000 */ lbu $v0, ($v1)
|
||||
/* 0DDC00 80147500 44820000 */ mtc1 $v0, $f0
|
||||
/* 0DDC04 80147504 00000000 */ nop
|
||||
/* 0DDC08 80147508 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0DDC0C 8014750C 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 0DDC10 80147510 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 0DDC14 80147514 00000000 */ nop
|
||||
/* 0DDC18 80147518 24030004 */ addiu $v1, $zero, 4
|
||||
/* 0DDC1C 8014751C 00661823 */ subu $v1, $v1, $a2
|
||||
/* 0DDC20 80147520 00031040 */ sll $v0, $v1, 1
|
||||
/* 0DDC24 80147524 00431021 */ addu $v0, $v0, $v1
|
||||
/* 0DDC28 80147528 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 0DDC2C 8014752C E5000000 */ swc1 $f0, ($t0)
|
||||
/* 0DDC30 80147530 44820000 */ mtc1 $v0, $f0
|
||||
/* 0DDC34 80147534 00000000 */ nop
|
||||
/* 0DDC38 80147538 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0DDC3C 8014753C 03E00008 */ jr $ra
|
||||
/* 0DDC40 80147540 E5200000 */ swc1 $f0, ($t1)
|
||||
|
||||
.L80147544:
|
||||
/* 0DDC44 80147544 3C028015 */ lui $v0, 0x8015
|
||||
/* 0DDC48 80147548 9042F2A4 */ lbu $v0, -0xd5c($v0)
|
||||
/* 0DDC4C 8014754C 3C013F80 */ lui $at, 0x3f80
|
||||
/* 0DDC50 80147550 44810000 */ mtc1 $at, $f0
|
||||
/* 0DDC54 80147554 ACA20000 */ sw $v0, ($a1)
|
||||
/* 0DDC58 80147558 E4E00000 */ swc1 $f0, ($a3)
|
||||
/* 0DDC5C 8014755C E5000000 */ swc1 $f0, ($t0)
|
||||
/* 0DDC60 80147560 AD200000 */ sw $zero, ($t1)
|
||||
/* 0DDC64 80147564 90820000 */ lbu $v0, ($a0)
|
||||
/* 0DDC68 80147568 304200F7 */ andi $v0, $v0, 0xf7
|
||||
/* 0DDC6C 8014756C 03E00008 */ jr $ra
|
||||
/* 0DDC70 80147570 A0820000 */ sb $v0, ($a0)
|
||||
|
||||
/* 0DDC74 80147574 3C028016 */ lui $v0, 0x8016
|
||||
/* 0DDC78 80147578 24429D50 */ addiu $v0, $v0, -0x62b0
|
||||
/* 0DDC7C 8014757C 00042140 */ sll $a0, $a0, 5
|
||||
/* 0DDC80 80147580 00822021 */ addu $a0, $a0, $v0
|
||||
/* 0DDC84 80147584 9086001C */ lbu $a2, 0x1c($a0)
|
||||
/* 0DDC88 80147588 8FA70014 */ lw $a3, 0x14($sp)
|
||||
/* 0DDC8C 8014758C 8FA80018 */ lw $t0, 0x18($sp)
|
||||
/* 0DDC90 80147590 8FA90024 */ lw $t1, 0x24($sp)
|
||||
/* 0DDC94 80147594 28C2000A */ slti $v0, $a2, 0xa
|
||||
/* 0DDC98 80147598 10400022 */ beqz $v0, .L80147624
|
||||
/* 0DDC9C 8014759C 00000000 */ nop
|
||||
/* 0DDCA0 801475A0 3C038015 */ lui $v1, 0x8015
|
||||
/* 0DDCA4 801475A4 2463F2A8 */ addiu $v1, $v1, -0xd58
|
||||
/* 0DDCA8 801475A8 3C028015 */ lui $v0, 0x8015
|
||||
/* 0DDCAC 801475AC 00461021 */ addu $v0, $v0, $a2
|
||||
/* 0DDCB0 801475B0 9042F2B4 */ lbu $v0, -0xd4c($v0)
|
||||
/* 0DDCB4 801475B4 00C31821 */ addu $v1, $a2, $v1
|
||||
/* 0DDCB8 801475B8 ACA20000 */ sw $v0, ($a1)
|
||||
/* 0DDCBC 801475BC 90620000 */ lbu $v0, ($v1)
|
||||
/* 0DDCC0 801475C0 3C018015 */ lui $at, 0x8015
|
||||
/* 0DDCC4 801475C4 D4221248 */ ldc1 $f2, 0x1248($at)
|
||||
/* 0DDCC8 801475C8 44820000 */ mtc1 $v0, $f0
|
||||
/* 0DDCCC 801475CC 00000000 */ nop
|
||||
/* 0DDCD0 801475D0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0DDCD4 801475D4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 0DDCD8 801475D8 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 0DDCDC 801475DC 00000000 */ nop
|
||||
/* 0DDCE0 801475E0 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 0DDCE4 801475E4 E4E00000 */ swc1 $f0, ($a3)
|
||||
/* 0DDCE8 801475E8 90620000 */ lbu $v0, ($v1)
|
||||
/* 0DDCEC 801475EC 44820000 */ mtc1 $v0, $f0
|
||||
/* 0DDCF0 801475F0 00000000 */ nop
|
||||
/* 0DDCF4 801475F4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0DDCF8 801475F8 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 0DDCFC 801475FC 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 0DDD00 80147600 00000000 */ nop
|
||||
/* 0DDD04 80147604 00061023 */ negu $v0, $a2
|
||||
/* 0DDD08 80147608 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 0DDD0C 8014760C E5000000 */ swc1 $f0, ($t0)
|
||||
/* 0DDD10 80147610 44820000 */ mtc1 $v0, $f0
|
||||
/* 0DDD14 80147614 00000000 */ nop
|
||||
/* 0DDD18 80147618 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0DDD1C 8014761C 03E00008 */ jr $ra
|
||||
/* 0DDD20 80147620 E5200000 */ swc1 $f0, ($t1)
|
||||
|
||||
.L80147624:
|
||||
/* 0DDD24 80147624 3C028015 */ lui $v0, 0x8015
|
||||
/* 0DDD28 80147628 9042F2BD */ lbu $v0, -0xd43($v0)
|
||||
/* 0DDD2C 8014762C ACA20000 */ sw $v0, ($a1)
|
||||
/* 0DDD30 80147630 ACE00000 */ sw $zero, ($a3)
|
||||
/* 0DDD34 80147634 AD000000 */ sw $zero, ($t0)
|
||||
/* 0DDD38 80147638 AD200000 */ sw $zero, ($t1)
|
||||
/* 0DDD3C 8014763C 90820000 */ lbu $v0, ($a0)
|
||||
/* 0DDD40 80147640 304200F7 */ andi $v0, $v0, 0xf7
|
||||
/* 0DDD44 80147644 34420004 */ ori $v0, $v0, 4
|
||||
/* 0DDD48 80147648 03E00008 */ jr $ra
|
||||
/* 0DDD4C 8014764C A0820000 */ sb $v0, ($a0)
|
||||
|
||||
/* 0DDD50 80147650 3C028016 */ lui $v0, 0x8016
|
||||
/* 0DDD54 80147654 24429D50 */ addiu $v0, $v0, -0x62b0
|
||||
/* 0DDD58 80147658 00042140 */ sll $a0, $a0, 5
|
||||
/* 0DDD5C 8014765C 00822021 */ addu $a0, $a0, $v0
|
||||
/* 0DDD60 80147660 9083001C */ lbu $v1, 0x1c($a0)
|
||||
/* 0DDD64 80147664 8FA50028 */ lw $a1, 0x28($sp)
|
||||
/* 0DDD68 80147668 2862000A */ slti $v0, $v1, 0xa
|
||||
/* 0DDD6C 8014766C 10400005 */ beqz $v0, .L80147684
|
||||
/* 0DDD70 80147670 240200A0 */ addiu $v0, $zero, 0xa0
|
||||
/* 0DDD74 80147674 24620001 */ addiu $v0, $v1, 1
|
||||
/* 0DDD78 80147678 00021100 */ sll $v0, $v0, 4
|
||||
/* 0DDD7C 8014767C 03E00008 */ jr $ra
|
||||
/* 0DDD80 80147680 ACA20000 */ sw $v0, ($a1)
|
||||
|
||||
.L80147684:
|
||||
/* 0DDD84 80147684 ACA20000 */ sw $v0, ($a1)
|
||||
/* 0DDD88 80147688 90820000 */ lbu $v0, ($a0)
|
||||
/* 0DDD8C 8014768C 304200F3 */ andi $v0, $v0, 0xf3
|
||||
/* 0DDD90 80147690 03E00008 */ jr $ra
|
||||
/* 0DDD94 80147694 A0820000 */ sb $v0, ($a0)
|
||||
|
||||
glabel func_80147698
|
||||
/* 0DDD98 80147698 27BDFF10 */ addiu $sp, $sp, -0xf0
|
||||
/* 0DDD9C 8014769C AFB700DC */ sw $s7, 0xdc($sp)
|
||||
/* 0DDDA0 801476A0 00A0B82D */ daddu $s7, $a1, $zero
|
||||
/* 0DDDA4 801476A4 AFB600D8 */ sw $s6, 0xd8($sp)
|
||||
/* 0DDDA8 801476A8 0000B02D */ daddu $s6, $zero, $zero
|
||||
/* 0DDDAC 801476AC AFB300CC */ sw $s3, 0xcc($sp)
|
||||
/* 0DDDB0 801476B0 AFA400F0 */ sw $a0, 0xf0($sp)
|
||||
/* 0DDDB4 801476B4 0080982D */ daddu $s3, $a0, $zero
|
||||
/* 0DDDB8 801476B8 00171140 */ sll $v0, $s7, 5
|
||||
/* 0DDDBC 801476BC F7B400E8 */ sdc1 $f20, 0xe8($sp)
|
||||
/* 0DDDC0 801476C0 4480A000 */ mtc1 $zero, $f20
|
||||
/* 0DDDC4 801476C4 3C0B8016 */ lui $t3, 0x8016
|
||||
/* 0DDDC8 801476C8 256B9D50 */ addiu $t3, $t3, -0x62b0
|
||||
/* 0DDDCC 801476CC AFBE00E0 */ sw $fp, 0xe0($sp)
|
||||
/* 0DDDD0 801476D0 004BF021 */ addu $fp, $v0, $t3
|
||||
/* 0DDDD4 801476D4 AFBF00E4 */ sw $ra, 0xe4($sp)
|
||||
/* 0DDDD8 801476D8 AFB500D4 */ sw $s5, 0xd4($sp)
|
||||
/* 0DDDDC 801476DC AFB400D0 */ sw $s4, 0xd0($sp)
|
||||
/* 0DDDE0 801476E0 AFB200C8 */ sw $s2, 0xc8($sp)
|
||||
/* 0DDDE4 801476E4 AFB100C4 */ sw $s1, 0xc4($sp)
|
||||
/* 0DDDE8 801476E8 AFB000C0 */ sw $s0, 0xc0($sp)
|
||||
/* 0DDDEC 801476EC AFA600F8 */ sw $a2, 0xf8($sp)
|
||||
/* 0DDDF0 801476F0 AFA700FC */ sw $a3, 0xfc($sp)
|
||||
.L801476F4:
|
||||
/* 0DDDF4 801476F4 8E720000 */ lw $s2, ($s3)
|
||||
/* 0DDDF8 801476F8 064200E2 */ bltzl $s2, .L80147A84
|
||||
/* 0DDDFC 801476FC 26D60001 */ addiu $s6, $s6, 1
|
||||
/* 0DDE00 80147700 00121140 */ sll $v0, $s2, 5
|
||||
/* 0DDE04 80147704 3C0B8016 */ lui $t3, 0x8016
|
||||
/* 0DDE08 80147708 256B9D50 */ addiu $t3, $t3, -0x62b0
|
||||
/* 0DDE0C 8014770C 004B8821 */ addu $s1, $v0, $t3
|
||||
/* 0DDE10 80147710 92220000 */ lbu $v0, ($s1)
|
||||
/* 0DDE14 80147714 504000DB */ beql $v0, $zero, .L80147A84
|
||||
/* 0DDE18 80147718 26D60001 */ addiu $s6, $s6, 1
|
||||
/* 0DDE1C 8014771C 30420020 */ andi $v0, $v0, 0x20
|
||||
/* 0DDE20 80147720 544000D8 */ bnel $v0, $zero, .L80147A84
|
||||
/* 0DDE24 80147724 26D60001 */ addiu $s6, $s6, 1
|
||||
/* 0DDE28 80147728 8E250004 */ lw $a1, 4($s1)
|
||||
/* 0DDE2C 8014772C 50A000D5 */ beql $a1, $zero, .L80147A84
|
||||
/* 0DDE30 80147730 26D60001 */ addiu $s6, $s6, 1
|
||||
/* 0DDE34 80147734 82220003 */ lb $v0, 3($s1)
|
||||
/* 0DDE38 80147738 545700D2 */ bnel $v0, $s7, .L80147A84
|
||||
/* 0DDE3C 8014773C 26D60001 */ addiu $s6, $s6, 1
|
||||
/* 0DDE40 80147740 9226001C */ lbu $a2, 0x1c($s1)
|
||||
/* 0DDE44 80147744 AFA0009C */ sw $zero, 0x9c($sp)
|
||||
/* 0DDE48 80147748 AFA00090 */ sw $zero, 0x90($sp)
|
||||
/* 0DDE4C 8014774C E7B400B0 */ swc1 $f20, 0xb0($sp)
|
||||
/* 0DDE50 80147750 E7B400AC */ swc1 $f20, 0xac($sp)
|
||||
/* 0DDE54 80147754 E7B400A8 */ swc1 $f20, 0xa8($sp)
|
||||
/* 0DDE58 80147758 AFA000B4 */ sw $zero, 0xb4($sp)
|
||||
/* 0DDE5C 8014775C 8623000C */ lh $v1, 0xc($s1)
|
||||
/* 0DDE60 80147760 8624000E */ lh $a0, 0xe($s1)
|
||||
/* 0DDE64 80147764 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 0DDE68 80147768 AFA200B8 */ sw $v0, 0xb8($sp)
|
||||
/* 0DDE6C 8014776C 24A2FFFF */ addiu $v0, $a1, -1
|
||||
/* 0DDE70 80147770 3C013F80 */ lui $at, 0x3f80
|
||||
/* 0DDE74 80147774 44810000 */ mtc1 $at, $f0
|
||||
/* 0DDE78 80147778 2C42000D */ sltiu $v0, $v0, 0xd
|
||||
/* 0DDE7C 8014777C AFA30094 */ sw $v1, 0x94($sp)
|
||||
/* 0DDE80 80147780 AFA40098 */ sw $a0, 0x98($sp)
|
||||
/* 0DDE84 80147784 E7A000A0 */ swc1 $f0, 0xa0($sp)
|
||||
/* 0DDE88 80147788 E7A000A4 */ swc1 $f0, 0xa4($sp)
|
||||
/* 0DDE8C 8014778C 86340010 */ lh $s4, 0x10($s1)
|
||||
/* 0DDE90 80147790 86350012 */ lh $s5, 0x12($s1)
|
||||
/* 0DDE94 80147794 10400022 */ beqz $v0, .L80147820
|
||||
/* 0DDE98 80147798 00051080 */ sll $v0, $a1, 2
|
||||
/* 0DDE9C 8014779C 3C038015 */ lui $v1, 0x8015
|
||||
/* 0DDEA0 801477A0 2463F250 */ addiu $v1, $v1, -0xdb0
|
||||
/* 0DDEA4 801477A4 00451021 */ addu $v0, $v0, $a1
|
||||
/* 0DDEA8 801477A8 00438021 */ addu $s0, $v0, $v1
|
||||
/* 0DDEAC 801477AC 92230000 */ lbu $v1, ($s1)
|
||||
/* 0DDEB0 801477B0 92020001 */ lbu $v0, 1($s0)
|
||||
/* 0DDEB4 801477B4 00621825 */ or $v1, $v1, $v0
|
||||
/* 0DDEB8 801477B8 A2230000 */ sb $v1, ($s1)
|
||||
/* 0DDEBC 801477BC 92020002 */ lbu $v0, 2($s0)
|
||||
/* 0DDEC0 801477C0 00021027 */ nor $v0, $zero, $v0
|
||||
/* 0DDEC4 801477C4 00621824 */ and $v1, $v1, $v0
|
||||
/* 0DDEC8 801477C8 14C00008 */ bnez $a2, .L801477EC
|
||||
/* 0DDECC 801477CC A2230000 */ sb $v1, ($s1)
|
||||
/* 0DDED0 801477D0 92020000 */ lbu $v0, ($s0)
|
||||
/* 0DDED4 801477D4 30420001 */ andi $v0, $v0, 1
|
||||
/* 0DDED8 801477D8 10400004 */ beqz $v0, .L801477EC
|
||||
/* 0DDEDC 801477DC 00000000 */ nop
|
||||
/* 0DDEE0 801477E0 92250002 */ lbu $a1, 2($s1)
|
||||
/* 0DDEE4 801477E4 0C051F5C */ jal func_80147D70
|
||||
/* 0DDEE8 801477E8 0240202D */ daddu $a0, $s2, $zero
|
||||
.L801477EC:
|
||||
/* 0DDEEC 801477EC 92020000 */ lbu $v0, ($s0)
|
||||
/* 0DDEF0 801477F0 30420004 */ andi $v0, $v0, 4
|
||||
/* 0DDEF4 801477F4 10400003 */ beqz $v0, .L80147804
|
||||
/* 0DDEF8 801477F8 00000000 */ nop
|
||||
/* 0DDEFC 801477FC 92020003 */ lbu $v0, 3($s0)
|
||||
/* 0DDF00 80147800 AFA200B4 */ sw $v0, 0xb4($sp)
|
||||
.L80147804:
|
||||
/* 0DDF04 80147804 92020000 */ lbu $v0, ($s0)
|
||||
/* 0DDF08 80147808 30420002 */ andi $v0, $v0, 2
|
||||
/* 0DDF0C 8014780C 1040001A */ beqz $v0, .L80147878
|
||||
/* 0DDF10 80147810 00000000 */ nop
|
||||
/* 0DDF14 80147814 92020004 */ lbu $v0, 4($s0)
|
||||
/* 0DDF18 80147818 08051E1E */ j .L80147878
|
||||
/* 0DDF1C 8014781C AFA200B8 */ sw $v0, 0xb8($sp)
|
||||
|
||||
.L80147820:
|
||||
/* 0DDF20 80147820 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0DDF24 80147824 27A50090 */ addiu $a1, $sp, 0x90
|
||||
/* 0DDF28 80147828 27A60094 */ addiu $a2, $sp, 0x94
|
||||
/* 0DDF2C 8014782C 27A70098 */ addiu $a3, $sp, 0x98
|
||||
/* 0DDF30 80147830 8E220004 */ lw $v0, 4($s1)
|
||||
/* 0DDF34 80147834 27A3009C */ addiu $v1, $sp, 0x9c
|
||||
/* 0DDF38 80147838 AFA30010 */ sw $v1, 0x10($sp)
|
||||
/* 0DDF3C 8014783C 27A300A0 */ addiu $v1, $sp, 0xa0
|
||||
/* 0DDF40 80147840 AFA30014 */ sw $v1, 0x14($sp)
|
||||
/* 0DDF44 80147844 27A300A4 */ addiu $v1, $sp, 0xa4
|
||||
/* 0DDF48 80147848 AFA30018 */ sw $v1, 0x18($sp)
|
||||
/* 0DDF4C 8014784C 27A300A8 */ addiu $v1, $sp, 0xa8
|
||||
/* 0DDF50 80147850 AFA3001C */ sw $v1, 0x1c($sp)
|
||||
/* 0DDF54 80147854 27A300AC */ addiu $v1, $sp, 0xac
|
||||
/* 0DDF58 80147858 AFA30020 */ sw $v1, 0x20($sp)
|
||||
/* 0DDF5C 8014785C 27A300B0 */ addiu $v1, $sp, 0xb0
|
||||
/* 0DDF60 80147860 AFA30024 */ sw $v1, 0x24($sp)
|
||||
/* 0DDF64 80147864 27A300B4 */ addiu $v1, $sp, 0xb4
|
||||
/* 0DDF68 80147868 AFA30028 */ sw $v1, 0x28($sp)
|
||||
/* 0DDF6C 8014786C 27A300B8 */ addiu $v1, $sp, 0xb8
|
||||
/* 0DDF70 80147870 0040F809 */ jalr $v0
|
||||
/* 0DDF74 80147874 AFA3002C */ sw $v1, 0x2c($sp)
|
||||
.L80147878:
|
||||
/* 0DDF78 80147878 8E220004 */ lw $v0, 4($s1)
|
||||
/* 0DDF7C 8014787C 10400006 */ beqz $v0, .L80147898
|
||||
/* 0DDF80 80147880 00000000 */ nop
|
||||
/* 0DDF84 80147884 9223001C */ lbu $v1, 0x1c($s1)
|
||||
/* 0DDF88 80147888 2C6200FF */ sltiu $v0, $v1, 0xff
|
||||
/* 0DDF8C 8014788C 10400002 */ beqz $v0, .L80147898
|
||||
/* 0DDF90 80147890 24620001 */ addiu $v0, $v1, 1
|
||||
/* 0DDF94 80147894 A222001C */ sb $v0, 0x1c($s1)
|
||||
.L80147898:
|
||||
/* 0DDF98 80147898 C7A000A0 */ lwc1 $f0, 0xa0($sp)
|
||||
/* 0DDF9C 8014789C 46140032 */ c.eq.s $f0, $f20
|
||||
/* 0DDFA0 801478A0 00000000 */ nop
|
||||
/* 0DDFA4 801478A4 45030077 */ bc1tl .L80147A84
|
||||
/* 0DDFA8 801478A8 26D60001 */ addiu $s6, $s6, 1
|
||||
/* 0DDFAC 801478AC C7A000A4 */ lwc1 $f0, 0xa4($sp)
|
||||
/* 0DDFB0 801478B0 46140032 */ c.eq.s $f0, $f20
|
||||
/* 0DDFB4 801478B4 00000000 */ nop
|
||||
/* 0DDFB8 801478B8 45030072 */ bc1tl .L80147A84
|
||||
/* 0DDFBC 801478BC 26D60001 */ addiu $s6, $s6, 1
|
||||
/* 0DDFC0 801478C0 92220000 */ lbu $v0, ($s1)
|
||||
/* 0DDFC4 801478C4 30420004 */ andi $v0, $v0, 4
|
||||
/* 0DDFC8 801478C8 5440006E */ bnel $v0, $zero, .L80147A84
|
||||
/* 0DDFCC 801478CC 26D60001 */ addiu $s6, $s6, 1
|
||||
/* 0DDFD0 801478D0 8FA300B8 */ lw $v1, 0xb8($sp)
|
||||
/* 0DDFD4 801478D4 8FAB0104 */ lw $t3, 0x104($sp)
|
||||
/* 0DDFD8 801478D8 006B0018 */ mult $v1, $t3
|
||||
/* 0DDFDC 801478DC 3C028080 */ lui $v0, 0x8080
|
||||
/* 0DDFE0 801478E0 34428081 */ ori $v0, $v0, 0x8081
|
||||
/* 0DDFE4 801478E4 00001812 */ mflo $v1
|
||||
/* 0DDFE8 801478E8 8FA400B4 */ lw $a0, 0xb4($sp)
|
||||
/* 0DDFEC 801478EC 8FAB0108 */ lw $t3, 0x108($sp)
|
||||
/* 0DDFF0 801478F0 00620018 */ mult $v1, $v0
|
||||
/* 0DDFF4 801478F4 008B2021 */ addu $a0, $a0, $t3
|
||||
/* 0DDFF8 801478F8 AFA400B4 */ sw $a0, 0xb4($sp)
|
||||
/* 0DDFFC 801478FC 28840100 */ slti $a0, $a0, 0x100
|
||||
/* 0DE000 80147900 00004010 */ mfhi $t0
|
||||
/* 0DE004 80147904 01031021 */ addu $v0, $t0, $v1
|
||||
/* 0DE008 80147908 000211C3 */ sra $v0, $v0, 7
|
||||
/* 0DE00C 8014790C 00031FC3 */ sra $v1, $v1, 0x1f
|
||||
/* 0DE010 80147910 00431023 */ subu $v0, $v0, $v1
|
||||
/* 0DE014 80147914 AFA200B8 */ sw $v0, 0xb8($sp)
|
||||
/* 0DE018 80147918 00121080 */ sll $v0, $s2, 2
|
||||
/* 0DE01C 8014791C 8E290014 */ lw $t1, 0x14($s1)
|
||||
/* 0DE020 80147920 8E2A0018 */ lw $t2, 0x18($s1)
|
||||
/* 0DE024 80147924 3C058015 */ lui $a1, 0x8015
|
||||
/* 0DE028 80147928 00A22821 */ addu $a1, $a1, $v0
|
||||
/* 0DE02C 8014792C 8CA5F150 */ lw $a1, -0xeb0($a1)
|
||||
/* 0DE030 80147930 14800003 */ bnez $a0, .L80147940
|
||||
/* 0DE034 80147934 27B00050 */ addiu $s0, $sp, 0x50
|
||||
/* 0DE038 80147938 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 0DE03C 8014793C AFA200B4 */ sw $v0, 0xb4($sp)
|
||||
.L80147940:
|
||||
/* 0DE040 80147940 8FA20090 */ lw $v0, 0x90($sp)
|
||||
/* 0DE044 80147944 8FAB00F8 */ lw $t3, 0xf8($sp)
|
||||
/* 0DE048 80147948 004B1025 */ or $v0, $v0, $t3
|
||||
/* 0DE04C 8014794C AFA20090 */ sw $v0, 0x90($sp)
|
||||
/* 0DE050 80147950 31620001 */ andi $v0, $t3, 1
|
||||
/* 0DE054 80147954 1440000A */ bnez $v0, .L80147980
|
||||
/* 0DE058 80147958 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 0DE05C 8014795C 8FA20094 */ lw $v0, 0x94($sp)
|
||||
/* 0DE060 80147960 8FAB00FC */ lw $t3, 0xfc($sp)
|
||||
/* 0DE064 80147964 8FA30098 */ lw $v1, 0x98($sp)
|
||||
/* 0DE068 80147968 004B1021 */ addu $v0, $v0, $t3
|
||||
/* 0DE06C 8014796C 8FAB0100 */ lw $t3, 0x100($sp)
|
||||
/* 0DE070 80147970 AFA20094 */ sw $v0, 0x94($sp)
|
||||
/* 0DE074 80147974 006B1821 */ addu $v1, $v1, $t3
|
||||
/* 0DE078 80147978 AFA30098 */ sw $v1, 0x98($sp)
|
||||
/* 0DE07C 8014797C 2402FFFF */ addiu $v0, $zero, -1
|
||||
.L80147980:
|
||||
/* 0DE080 80147980 12E20002 */ beq $s7, $v0, .L8014798C
|
||||
/* 0DE084 80147984 24080140 */ addiu $t0, $zero, 0x140
|
||||
/* 0DE088 80147988 87C80010 */ lh $t0, 0x10($fp)
|
||||
.L8014798C:
|
||||
/* 0DE08C 8014798C 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 0DE090 80147990 12E20002 */ beq $s7, $v0, .L8014799C
|
||||
/* 0DE094 80147994 240300F0 */ addiu $v1, $zero, 0xf0
|
||||
/* 0DE098 80147998 87C30012 */ lh $v1, 0x12($fp)
|
||||
.L8014799C:
|
||||
/* 0DE09C 8014799C 92220000 */ lbu $v0, ($s1)
|
||||
/* 0DE0A0 801479A0 8FA40090 */ lw $a0, 0x90($sp)
|
||||
/* 0DE0A4 801479A4 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 0DE0A8 801479A8 54400001 */ bnel $v0, $zero, .L801479B0
|
||||
/* 0DE0AC 801479AC 34840002 */ ori $a0, $a0, 2
|
||||
.L801479B0:
|
||||
/* 0DE0B0 801479B0 8FA60094 */ lw $a2, 0x94($sp)
|
||||
/* 0DE0B4 801479B4 8FA70098 */ lw $a3, 0x98($sp)
|
||||
/* 0DE0B8 801479B8 8FA2009C */ lw $v0, 0x9c($sp)
|
||||
/* 0DE0BC 801479BC 8FAB010C */ lw $t3, 0x10c($sp)
|
||||
/* 0DE0C0 801479C0 AFB40014 */ sw $s4, 0x14($sp)
|
||||
/* 0DE0C4 801479C4 AFB50018 */ sw $s5, 0x18($sp)
|
||||
/* 0DE0C8 801479C8 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 0DE0CC 801479CC 93A200BB */ lbu $v0, 0xbb($sp)
|
||||
/* 0DE0D0 801479D0 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* 0DE0D4 801479D4 93A200B7 */ lbu $v0, 0xb7($sp)
|
||||
/* 0DE0D8 801479D8 AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* 0DE0DC 801479DC C7A000A0 */ lwc1 $f0, 0xa0($sp)
|
||||
/* 0DE0E0 801479E0 E7A00024 */ swc1 $f0, 0x24($sp)
|
||||
/* 0DE0E4 801479E4 C7A000A4 */ lwc1 $f0, 0xa4($sp)
|
||||
/* 0DE0E8 801479E8 E7A00028 */ swc1 $f0, 0x28($sp)
|
||||
/* 0DE0EC 801479EC C7A000A8 */ lwc1 $f0, 0xa8($sp)
|
||||
/* 0DE0F0 801479F0 E7A0002C */ swc1 $f0, 0x2c($sp)
|
||||
/* 0DE0F4 801479F4 C7A000AC */ lwc1 $f0, 0xac($sp)
|
||||
/* 0DE0F8 801479F8 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* 0DE0FC 801479FC C7A000B0 */ lwc1 $f0, 0xb0($sp)
|
||||
/* 0DE100 80147A00 AFA90038 */ sw $t1, 0x38($sp)
|
||||
/* 0DE104 80147A04 AFAA003C */ sw $t2, 0x3c($sp)
|
||||
/* 0DE108 80147A08 AFAB0040 */ sw $t3, 0x40($sp)
|
||||
/* 0DE10C 80147A0C AFA80044 */ sw $t0, 0x44($sp)
|
||||
/* 0DE110 80147A10 AFA30048 */ sw $v1, 0x48($sp)
|
||||
/* 0DE114 80147A14 AFB0004C */ sw $s0, 0x4c($sp)
|
||||
/* 0DE118 80147A18 0C03D4B8 */ jal draw_box
|
||||
/* 0DE11C 80147A1C E7A00034 */ swc1 $f0, 0x34($sp)
|
||||
/* 0DE120 80147A20 54400018 */ bnel $v0, $zero, .L80147A84
|
||||
/* 0DE124 80147A24 26D60001 */ addiu $s6, $s6, 1
|
||||
/* 0DE128 80147A28 8FA20090 */ lw $v0, 0x90($sp)
|
||||
/* 0DE12C 80147A2C 14400004 */ bnez $v0, .L80147A40
|
||||
/* 0DE130 80147A30 00000000 */ nop
|
||||
/* 0DE134 80147A34 8FAB010C */ lw $t3, 0x10c($sp)
|
||||
/* 0DE138 80147A38 51600001 */ beql $t3, $zero, .L80147A40
|
||||
/* 0DE13C 80147A3C 0000802D */ daddu $s0, $zero, $zero
|
||||
.L80147A40:
|
||||
/* 0DE140 80147A40 92220000 */ lbu $v0, ($s1)
|
||||
/* 0DE144 80147A44 30420010 */ andi $v0, $v0, 0x10
|
||||
/* 0DE148 80147A48 5040000E */ beql $v0, $zero, .L80147A84
|
||||
/* 0DE14C 80147A4C 26D60001 */ addiu $s6, $s6, 1
|
||||
/* 0DE150 80147A50 8FA20098 */ lw $v0, 0x98($sp)
|
||||
/* 0DE154 80147A54 8FA400F0 */ lw $a0, 0xf0($sp)
|
||||
/* 0DE158 80147A58 8FA60090 */ lw $a2, 0x90($sp)
|
||||
/* 0DE15C 80147A5C 8FA70094 */ lw $a3, 0x94($sp)
|
||||
/* 0DE160 80147A60 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 0DE164 80147A64 8FA200B8 */ lw $v0, 0xb8($sp)
|
||||
/* 0DE168 80147A68 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 0DE16C 80147A6C 8FA200B4 */ lw $v0, 0xb4($sp)
|
||||
/* 0DE170 80147A70 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0DE174 80147A74 AFB0001C */ sw $s0, 0x1c($sp)
|
||||
/* 0DE178 80147A78 0C051DA6 */ jal func_80147698
|
||||
/* 0DE17C 80147A7C AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 0DE180 80147A80 26D60001 */ addiu $s6, $s6, 1
|
||||
.L80147A84:
|
||||
/* 0DE184 80147A84 2AC20040 */ slti $v0, $s6, 0x40
|
||||
/* 0DE188 80147A88 1440FF1A */ bnez $v0, .L801476F4
|
||||
/* 0DE18C 80147A8C 26730004 */ addiu $s3, $s3, 4
|
||||
/* 0DE190 80147A90 8FBF00E4 */ lw $ra, 0xe4($sp)
|
||||
/* 0DE194 80147A94 8FBE00E0 */ lw $fp, 0xe0($sp)
|
||||
/* 0DE198 80147A98 8FB700DC */ lw $s7, 0xdc($sp)
|
||||
/* 0DE19C 80147A9C 8FB600D8 */ lw $s6, 0xd8($sp)
|
||||
/* 0DE1A0 80147AA0 8FB500D4 */ lw $s5, 0xd4($sp)
|
||||
/* 0DE1A4 80147AA4 8FB400D0 */ lw $s4, 0xd0($sp)
|
||||
/* 0DE1A8 80147AA8 8FB300CC */ lw $s3, 0xcc($sp)
|
||||
/* 0DE1AC 80147AAC 8FB200C8 */ lw $s2, 0xc8($sp)
|
||||
/* 0DE1B0 80147AB0 8FB100C4 */ lw $s1, 0xc4($sp)
|
||||
/* 0DE1B4 80147AB4 8FB000C0 */ lw $s0, 0xc0($sp)
|
||||
/* 0DE1B8 80147AB8 D7B400E8 */ ldc1 $f20, 0xe8($sp)
|
||||
/* 0DE1BC 80147ABC 03E00008 */ jr $ra
|
||||
/* 0DE1C0 80147AC0 27BD00F0 */ addiu $sp, $sp, 0xf0
|
||||
|
||||
glabel func_80147AC4
|
||||
/* 0DE1C4 80147AC4 27BDFED0 */ addiu $sp, $sp, -0x130
|
||||
/* 0DE1C8 80147AC8 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 0DE1CC 80147ACC 2404FFFF */ addiu $a0, $zero, -1
|
||||
/* 0DE1D0 80147AD0 2403003F */ addiu $v1, $zero, 0x3f
|
||||
/* 0DE1D4 80147AD4 AFBF012C */ sw $ra, 0x12c($sp)
|
||||
/* 0DE1D8 80147AD8 AFB20128 */ sw $s2, 0x128($sp)
|
||||
/* 0DE1DC 80147ADC AFB10124 */ sw $s1, 0x124($sp)
|
||||
/* 0DE1E0 80147AE0 AFB00120 */ sw $s0, 0x120($sp)
|
||||
.L80147AE4:
|
||||
/* 0DE1E4 80147AE4 AC440000 */ sw $a0, ($v0)
|
||||
/* 0DE1E8 80147AE8 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* 0DE1EC 80147AEC 0461FFFD */ bgez $v1, .L80147AE4
|
||||
/* 0DE1F0 80147AF0 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0DE1F4 80147AF4 0000182D */ daddu $v1, $zero, $zero
|
||||
/* 0DE1F8 80147AF8 3C048016 */ lui $a0, 0x8016
|
||||
/* 0DE1FC 80147AFC 24849D50 */ addiu $a0, $a0, -0x62b0
|
||||
/* 0DE200 80147B00 27A50020 */ addiu $a1, $sp, 0x20
|
||||
.L80147B04:
|
||||
/* 0DE204 80147B04 90820000 */ lbu $v0, ($a0)
|
||||
/* 0DE208 80147B08 50400006 */ beql $v0, $zero, .L80147B24
|
||||
/* 0DE20C 80147B0C 24630001 */ addiu $v1, $v1, 1
|
||||
/* 0DE210 80147B10 90820001 */ lbu $v0, 1($a0)
|
||||
/* 0DE214 80147B14 00021080 */ sll $v0, $v0, 2
|
||||
/* 0DE218 80147B18 00A21021 */ addu $v0, $a1, $v0
|
||||
/* 0DE21C 80147B1C AC430000 */ sw $v1, ($v0)
|
||||
/* 0DE220 80147B20 24630001 */ addiu $v1, $v1, 1
|
||||
.L80147B24:
|
||||
/* 0DE224 80147B24 28620040 */ slti $v0, $v1, 0x40
|
||||
/* 0DE228 80147B28 1440FFF6 */ bnez $v0, .L80147B04
|
||||
/* 0DE22C 80147B2C 24840020 */ addiu $a0, $a0, 0x20
|
||||
/* 0DE230 80147B30 3C06D9FF */ lui $a2, 0xd9ff
|
||||
/* 0DE234 80147B34 34C6FFFF */ ori $a2, $a2, 0xffff
|
||||
/* 0DE238 80147B38 3C050020 */ lui $a1, 0x20
|
||||
/* 0DE23C 80147B3C 34A50605 */ ori $a1, $a1, 0x605
|
||||
/* 0DE240 80147B40 3C07E300 */ lui $a3, 0xe300
|
||||
/* 0DE244 80147B44 34E70800 */ ori $a3, $a3, 0x800
|
||||
/* 0DE248 80147B48 3C09FCFF */ lui $t1, 0xfcff
|
||||
/* 0DE24C 80147B4C 3529FFFF */ ori $t1, $t1, 0xffff
|
||||
/* 0DE250 80147B50 3C08FFFE */ lui $t0, 0xfffe
|
||||
/* 0DE254 80147B54 3508793C */ ori $t0, $t0, 0x793c
|
||||
/* 0DE258 80147B58 3C0AE200 */ lui $t2, 0xe200
|
||||
/* 0DE25C 80147B5C 354A1E01 */ ori $t2, $t2, 0x1e01
|
||||
/* 0DE260 80147B60 3C0BE300 */ lui $t3, 0xe300
|
||||
/* 0DE264 80147B64 356B0C0F */ ori $t3, $t3, 0xc0f
|
||||
/* 0DE268 80147B68 3C0CDB04 */ lui $t4, 0xdb04
|
||||
/* 0DE26C 80147B6C 358C0004 */ ori $t4, $t4, 4
|
||||
/* 0DE270 80147B70 3C0DDB04 */ lui $t5, 0xdb04
|
||||
/* 0DE274 80147B74 35AD000C */ ori $t5, $t5, 0xc
|
||||
/* 0DE278 80147B78 3C0EDB04 */ lui $t6, 0xdb04
|
||||
/* 0DE27C 80147B7C 35CE0014 */ ori $t6, $t6, 0x14
|
||||
/* 0DE280 80147B80 3C0FDB04 */ lui $t7, 0xdb04
|
||||
/* 0DE284 80147B84 35EF001C */ ori $t7, $t7, 0x1c
|
||||
/* 0DE288 80147B88 3C12FF10 */ lui $s2, 0xff10
|
||||
/* 0DE28C 80147B8C 3652013F */ ori $s2, $s2, 0x13f
|
||||
/* 0DE290 80147B90 3C11800A */ lui $s1, 0x800a
|
||||
/* 0DE294 80147B94 2631A66C */ addiu $s1, $s1, -0x5994
|
||||
/* 0DE298 80147B98 3C02D900 */ lui $v0, 0xd900
|
||||
/* 0DE29C 80147B9C 8E300000 */ lw $s0, ($s1)
|
||||
/* 0DE2A0 80147BA0 3C04800A */ lui $a0, 0x800a
|
||||
/* 0DE2A4 80147BA4 8C84A64C */ lw $a0, -0x59b4($a0)
|
||||
/* 0DE2A8 80147BA8 0200182D */ daddu $v1, $s0, $zero
|
||||
/* 0DE2AC 80147BAC 26100008 */ addiu $s0, $s0, 8
|
||||
/* 0DE2B0 80147BB0 AE300000 */ sw $s0, ($s1)
|
||||
/* 0DE2B4 80147BB4 AC620000 */ sw $v0, ($v1)
|
||||
/* 0DE2B8 80147BB8 26020008 */ addiu $v0, $s0, 8
|
||||
/* 0DE2BC 80147BBC AC600004 */ sw $zero, 4($v1)
|
||||
/* 0DE2C0 80147BC0 AE220000 */ sw $v0, ($s1)
|
||||
/* 0DE2C4 80147BC4 26020010 */ addiu $v0, $s0, 0x10
|
||||
/* 0DE2C8 80147BC8 AE060000 */ sw $a2, ($s0)
|
||||
/* 0DE2CC 80147BCC AE050004 */ sw $a1, 4($s0)
|
||||
/* 0DE2D0 80147BD0 AE220000 */ sw $v0, ($s1)
|
||||
/* 0DE2D4 80147BD4 26020018 */ addiu $v0, $s0, 0x18
|
||||
/* 0DE2D8 80147BD8 AE070008 */ sw $a3, 8($s0)
|
||||
/* 0DE2DC 80147BDC AE00000C */ sw $zero, 0xc($s0)
|
||||
/* 0DE2E0 80147BE0 AE220000 */ sw $v0, ($s1)
|
||||
/* 0DE2E4 80147BE4 26020020 */ addiu $v0, $s0, 0x20
|
||||
/* 0DE2E8 80147BE8 AE090010 */ sw $t1, 0x10($s0)
|
||||
/* 0DE2EC 80147BEC AE080014 */ sw $t0, 0x14($s0)
|
||||
/* 0DE2F0 80147BF0 AE220000 */ sw $v0, ($s1)
|
||||
/* 0DE2F4 80147BF4 26020028 */ addiu $v0, $s0, 0x28
|
||||
/* 0DE2F8 80147BF8 AE0A0018 */ sw $t2, 0x18($s0)
|
||||
/* 0DE2FC 80147BFC AE00001C */ sw $zero, 0x1c($s0)
|
||||
/* 0DE300 80147C00 AE220000 */ sw $v0, ($s1)
|
||||
/* 0DE304 80147C04 24022CF0 */ addiu $v0, $zero, 0x2cf0
|
||||
/* 0DE308 80147C08 AE020024 */ sw $v0, 0x24($s0)
|
||||
/* 0DE30C 80147C0C 26020030 */ addiu $v0, $s0, 0x30
|
||||
/* 0DE310 80147C10 24030002 */ addiu $v1, $zero, 2
|
||||
/* 0DE314 80147C14 AE0B0020 */ sw $t3, 0x20($s0)
|
||||
/* 0DE318 80147C18 AE220000 */ sw $v0, ($s1)
|
||||
/* 0DE31C 80147C1C 26020038 */ addiu $v0, $s0, 0x38
|
||||
/* 0DE320 80147C20 AE0C0028 */ sw $t4, 0x28($s0)
|
||||
/* 0DE324 80147C24 AE03002C */ sw $v1, 0x2c($s0)
|
||||
/* 0DE328 80147C28 AE220000 */ sw $v0, ($s1)
|
||||
/* 0DE32C 80147C2C 26020040 */ addiu $v0, $s0, 0x40
|
||||
/* 0DE330 80147C30 AE030034 */ sw $v1, 0x34($s0)
|
||||
/* 0DE334 80147C34 3403FFFE */ ori $v1, $zero, 0xfffe
|
||||
/* 0DE338 80147C38 AE0D0030 */ sw $t5, 0x30($s0)
|
||||
/* 0DE33C 80147C3C AE220000 */ sw $v0, ($s1)
|
||||
/* 0DE340 80147C40 26020048 */ addiu $v0, $s0, 0x48
|
||||
/* 0DE344 80147C44 AE0E0038 */ sw $t6, 0x38($s0)
|
||||
/* 0DE348 80147C48 AE03003C */ sw $v1, 0x3c($s0)
|
||||
/* 0DE34C 80147C4C AE220000 */ sw $v0, ($s1)
|
||||
/* 0DE350 80147C50 26020050 */ addiu $v0, $s0, 0x50
|
||||
/* 0DE354 80147C54 AE0F0040 */ sw $t7, 0x40($s0)
|
||||
/* 0DE358 80147C58 AE030044 */ sw $v1, 0x44($s0)
|
||||
/* 0DE35C 80147C5C AE220000 */ sw $v0, ($s1)
|
||||
/* 0DE360 80147C60 0C0187A4 */ jal osVirtualToPhysical
|
||||
/* 0DE364 80147C64 AE120048 */ sw $s2, 0x48($s0)
|
||||
/* 0DE368 80147C68 8E230000 */ lw $v1, ($s1)
|
||||
/* 0DE36C 80147C6C 27A40020 */ addiu $a0, $sp, 0x20
|
||||
/* 0DE370 80147C70 AE02004C */ sw $v0, 0x4c($s0)
|
||||
/* 0DE374 80147C74 3C02E700 */ lui $v0, 0xe700
|
||||
/* 0DE378 80147C78 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0DE37C 80147C7C 00C0382D */ daddu $a3, $a2, $zero
|
||||
/* 0DE380 80147C80 0060282D */ daddu $a1, $v1, $zero
|
||||
/* 0DE384 80147C84 24630008 */ addiu $v1, $v1, 8
|
||||
/* 0DE388 80147C88 AE230000 */ sw $v1, ($s1)
|
||||
/* 0DE38C 80147C8C ACA20000 */ sw $v0, ($a1)
|
||||
/* 0DE390 80147C90 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 0DE394 80147C94 ACA00004 */ sw $zero, 4($a1)
|
||||
/* 0DE398 80147C98 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* 0DE39C 80147C9C AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 0DE3A0 80147CA0 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 0DE3A4 80147CA4 AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 0DE3A8 80147CA8 0C051DA6 */ jal func_80147698
|
||||
/* 0DE3AC 80147CAC AFA0001C */ sw $zero, 0x1c($sp)
|
||||
/* 0DE3B0 80147CB0 8FBF012C */ lw $ra, 0x12c($sp)
|
||||
/* 0DE3B4 80147CB4 8FB20128 */ lw $s2, 0x128($sp)
|
||||
/* 0DE3B8 80147CB8 8FB10124 */ lw $s1, 0x124($sp)
|
||||
/* 0DE3BC 80147CBC 8FB00120 */ lw $s0, 0x120($sp)
|
||||
/* 0DE3C0 80147CC0 03E00008 */ jr $ra
|
||||
/* 0DE3C4 80147CC4 27BD0130 */ addiu $sp, $sp, 0x130
|
||||
|
||||
glabel func_80147CC8
|
||||
/* 0DE3C8 80147CC8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0DE3CC 80147CCC 0080582D */ daddu $t3, $a0, $zero
|
||||
/* 0DE3D0 80147CD0 3C0A8016 */ lui $t2, 0x8016
|
||||
/* 0DE3D4 80147CD4 254A9D50 */ addiu $t2, $t2, -0x62b0
|
||||
/* 0DE3D8 80147CD8 8FA90030 */ lw $t1, 0x30($sp)
|
||||
/* 0DE3DC 80147CDC 000B1140 */ sll $v0, $t3, 5
|
||||
/* 0DE3E0 80147CE0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0DE3E4 80147CE4 004A8021 */ addu $s0, $v0, $t2
|
||||
/* 0DE3E8 80147CE8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0DE3EC 80147CEC 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 0DE3F0 80147CF0 8FA40038 */ lw $a0, 0x38($sp)
|
||||
/* 0DE3F4 80147CF4 8FA8003C */ lw $t0, 0x3c($sp)
|
||||
/* 0DE3F8 80147CF8 8FA30040 */ lw $v1, 0x40($sp)
|
||||
/* 0DE3FC 80147CFC 24020005 */ addiu $v0, $zero, 5
|
||||
/* 0DE400 80147D00 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0DE404 80147D04 A2020000 */ sb $v0, ($s0)
|
||||
/* 0DE408 80147D08 A605000C */ sh $a1, 0xc($s0)
|
||||
/* 0DE40C 80147D0C A606000E */ sh $a2, 0xe($s0)
|
||||
/* 0DE410 80147D10 A6070010 */ sh $a3, 0x10($s0)
|
||||
/* 0DE414 80147D14 AE000004 */ sw $zero, 4($s0)
|
||||
/* 0DE418 80147D18 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0DE41C 80147D1C A2030003 */ sb $v1, 3($s0)
|
||||
/* 0DE420 80147D20 00031E00 */ sll $v1, $v1, 0x18
|
||||
/* 0DE424 80147D24 00031E03 */ sra $v1, $v1, 0x18
|
||||
/* 0DE428 80147D28 A6090012 */ sh $t1, 0x12($s0)
|
||||
/* 0DE42C 80147D2C AE040014 */ sw $a0, 0x14($s0)
|
||||
/* 0DE430 80147D30 04600006 */ bltz $v1, .L80147D4C
|
||||
/* 0DE434 80147D34 AE080018 */ sw $t0, 0x18($s0)
|
||||
/* 0DE438 80147D38 00031940 */ sll $v1, $v1, 5
|
||||
/* 0DE43C 80147D3C 006A1821 */ addu $v1, $v1, $t2
|
||||
/* 0DE440 80147D40 90620000 */ lbu $v0, ($v1)
|
||||
/* 0DE444 80147D44 34420010 */ ori $v0, $v0, 0x10
|
||||
/* 0DE448 80147D48 A0620000 */ sb $v0, ($v1)
|
||||
.L80147D4C:
|
||||
/* 0DE44C 80147D4C 0160202D */ daddu $a0, $t3, $zero
|
||||
/* 0DE450 80147D50 0C051F5C */ jal func_80147D70
|
||||
/* 0DE454 80147D54 30A500FF */ andi $a1, $a1, 0xff
|
||||
/* 0DE458 80147D58 A2110002 */ sb $s1, 2($s0)
|
||||
/* 0DE45C 80147D5C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0DE460 80147D60 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0DE464 80147D64 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0DE468 80147D68 03E00008 */ jr $ra
|
||||
/* 0DE46C 80147D6C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_80147D70
|
||||
/* 0DE470 80147D70 30A200FF */ andi $v0, $a1, 0xff
|
||||
/* 0DE474 80147D74 2C420041 */ sltiu $v0, $v0, 0x41
|
||||
/* 0DE478 80147D78 14400002 */ bnez $v0, .L80147D84
|
||||
/* 0DE47C 80147D7C 27BDFEF8 */ addiu $sp, $sp, -0x108
|
||||
/* 0DE480 80147D80 24050040 */ addiu $a1, $zero, 0x40
|
||||
.L80147D84:
|
||||
/* 0DE484 80147D84 03A0382D */ daddu $a3, $sp, $zero
|
||||
/* 0DE488 80147D88 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 0DE48C 80147D8C 24060040 */ addiu $a2, $zero, 0x40
|
||||
.L80147D90:
|
||||
/* 0DE490 80147D90 ACE20000 */ sw $v0, ($a3)
|
||||
/* 0DE494 80147D94 24C6FFFF */ addiu $a2, $a2, -1
|
||||
/* 0DE498 80147D98 04C1FFFD */ bgez $a2, .L80147D90
|
||||
/* 0DE49C 80147D9C 24E70004 */ addiu $a3, $a3, 4
|
||||
/* 0DE4A0 80147DA0 30A200FF */ andi $v0, $a1, 0xff
|
||||
/* 0DE4A4 80147DA4 00021880 */ sll $v1, $v0, 2
|
||||
/* 0DE4A8 80147DA8 03A31821 */ addu $v1, $sp, $v1
|
||||
/* 0DE4AC 80147DAC AC640000 */ sw $a0, ($v1)
|
||||
/* 0DE4B0 80147DB0 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0DE4B4 80147DB4 3C058016 */ lui $a1, 0x8016
|
||||
/* 0DE4B8 80147DB8 24A59D50 */ addiu $a1, $a1, -0x62b0
|
||||
/* 0DE4BC 80147DBC 0040382D */ daddu $a3, $v0, $zero
|
||||
.L80147DC0:
|
||||
/* 0DE4C0 80147DC0 90A20000 */ lbu $v0, ($a1)
|
||||
/* 0DE4C4 80147DC4 5040000B */ beql $v0, $zero, .L80147DF4
|
||||
/* 0DE4C8 80147DC8 24C60001 */ addiu $a2, $a2, 1
|
||||
/* 0DE4CC 80147DCC 50C40009 */ beql $a2, $a0, .L80147DF4
|
||||
/* 0DE4D0 80147DD0 24C60001 */ addiu $a2, $a2, 1
|
||||
/* 0DE4D4 80147DD4 90A30001 */ lbu $v1, 1($a1)
|
||||
/* 0DE4D8 80147DD8 0067102A */ slt $v0, $v1, $a3
|
||||
/* 0DE4DC 80147DDC 50400001 */ beql $v0, $zero, .L80147DE4
|
||||
/* 0DE4E0 80147DE0 24630001 */ addiu $v1, $v1, 1
|
||||
.L80147DE4:
|
||||
/* 0DE4E4 80147DE4 00031080 */ sll $v0, $v1, 2
|
||||
/* 0DE4E8 80147DE8 03A21021 */ addu $v0, $sp, $v0
|
||||
/* 0DE4EC 80147DEC AC460000 */ sw $a2, ($v0)
|
||||
/* 0DE4F0 80147DF0 24C60001 */ addiu $a2, $a2, 1
|
||||
.L80147DF4:
|
||||
/* 0DE4F4 80147DF4 28C20040 */ slti $v0, $a2, 0x40
|
||||
/* 0DE4F8 80147DF8 1440FFF1 */ bnez $v0, .L80147DC0
|
||||
/* 0DE4FC 80147DFC 24A50020 */ addiu $a1, $a1, 0x20
|
||||
/* 0DE500 80147E00 0000182D */ daddu $v1, $zero, $zero
|
||||
/* 0DE504 80147E04 0060302D */ daddu $a2, $v1, $zero
|
||||
/* 0DE508 80147E08 03A0382D */ daddu $a3, $sp, $zero
|
||||
/* 0DE50C 80147E0C 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* 0DE510 80147E10 3C048016 */ lui $a0, 0x8016
|
||||
/* 0DE514 80147E14 24849D50 */ addiu $a0, $a0, -0x62b0
|
||||
.L80147E18:
|
||||
/* 0DE518 80147E18 8CE20000 */ lw $v0, ($a3)
|
||||
/* 0DE51C 80147E1C 10450005 */ beq $v0, $a1, .L80147E34
|
||||
/* 0DE520 80147E20 24C60001 */ addiu $a2, $a2, 1
|
||||
/* 0DE524 80147E24 00021140 */ sll $v0, $v0, 5
|
||||
/* 0DE528 80147E28 00441021 */ addu $v0, $v0, $a0
|
||||
/* 0DE52C 80147E2C A0430001 */ sb $v1, 1($v0)
|
||||
/* 0DE530 80147E30 24630001 */ addiu $v1, $v1, 1
|
||||
.L80147E34:
|
||||
/* 0DE534 80147E34 28C20041 */ slti $v0, $a2, 0x41
|
||||
/* 0DE538 80147E38 1440FFF7 */ bnez $v0, .L80147E18
|
||||
/* 0DE53C 80147E3C 24E70004 */ addiu $a3, $a3, 4
|
||||
/* 0DE540 80147E40 03E00008 */ jr $ra
|
||||
/* 0DE544 80147E44 27BD0108 */ addiu $sp, $sp, 0x108
|
||||
|
||||
glabel func_80147E48
|
||||
/* 0DE548 80147E48 3C028016 */ lui $v0, 0x8016
|
||||
/* 0DE54C 80147E4C 24429D50 */ addiu $v0, $v0, -0x62b0
|
||||
/* 0DE550 80147E50 00042140 */ sll $a0, $a0, 5
|
||||
/* 0DE554 80147E54 00822021 */ addu $a0, $a0, $v0
|
||||
/* 0DE558 80147E58 90830000 */ lbu $v1, ($a0)
|
||||
/* 0DE55C 80147E5C 30620001 */ andi $v0, $v1, 1
|
||||
/* 0DE560 80147E60 10400004 */ beqz $v0, .L80147E74
|
||||
/* 0DE564 80147E64 3462000A */ ori $v0, $v1, 0xa
|
||||
/* 0DE568 80147E68 A0820000 */ sb $v0, ($a0)
|
||||
/* 0DE56C 80147E6C AC860008 */ sw $a2, 8($a0)
|
||||
/* 0DE570 80147E70 A0850002 */ sb $a1, 2($a0)
|
||||
.L80147E74:
|
||||
/* 0DE574 80147E74 03E00008 */ jr $ra
|
||||
/* 0DE578 80147E78 00000000 */ nop
|
||||
|
||||
glabel func_80147E7C
|
||||
/* 0DE57C 80147E7C 3C028016 */ lui $v0, 0x8016
|
||||
/* 0DE580 80147E80 24429D50 */ addiu $v0, $v0, -0x62b0
|
||||
/* 0DE584 80147E84 00042140 */ sll $a0, $a0, 5
|
||||
/* 0DE588 80147E88 00822021 */ addu $a0, $a0, $v0
|
||||
/* 0DE58C 80147E8C 90830000 */ lbu $v1, ($a0)
|
||||
/* 0DE590 80147E90 30620001 */ andi $v0, $v1, 1
|
||||
/* 0DE594 80147E94 10400009 */ beqz $v0, .L80147EBC
|
||||
/* 0DE598 80147E98 00000000 */ nop
|
||||
/* 0DE59C 80147E9C 8C820004 */ lw $v0, 4($a0)
|
||||
/* 0DE5A0 80147EA0 14A20004 */ bne $a1, $v0, .L80147EB4
|
||||
/* 0DE5A4 80147EA4 3462000A */ ori $v0, $v1, 0xa
|
||||
/* 0DE5A8 80147EA8 306200FD */ andi $v0, $v1, 0xfd
|
||||
/* 0DE5AC 80147EAC 03E00008 */ jr $ra
|
||||
/* 0DE5B0 80147EB0 A0820000 */ sb $v0, ($a0)
|
||||
|
||||
.L80147EB4:
|
||||
/* 0DE5B4 80147EB4 A0820000 */ sb $v0, ($a0)
|
||||
/* 0DE5B8 80147EB8 AC850008 */ sw $a1, 8($a0)
|
||||
.L80147EBC:
|
||||
/* 0DE5BC 80147EBC 03E00008 */ jr $ra
|
||||
/* 0DE5C0 80147EC0 00000000 */ nop
|
||||
|
||||
glabel func_80147EC4
|
||||
/* 0DE5C4 80147EC4 3C068016 */ lui $a2, 0x8016
|
||||
/* 0DE5C8 80147EC8 24C69D50 */ addiu $a2, $a2, -0x62b0
|
||||
/* 0DE5CC 80147ECC 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 0DE5D0 80147ED0 3C028015 */ lui $v0, 0x8015
|
||||
/* 0DE5D4 80147ED4 2442F2C0 */ addiu $v0, $v0, -0xd40
|
||||
/* 0DE5D8 80147ED8 00042040 */ sll $a0, $a0, 1
|
||||
/* 0DE5DC 80147EDC 00822021 */ addu $a0, $a0, $v0
|
||||
/* 0DE5E0 80147EE0 90870000 */ lbu $a3, ($a0)
|
||||
/* 0DE5E4 80147EE4 90840001 */ lbu $a0, 1($a0)
|
||||
.L80147EE8:
|
||||
/* 0DE5E8 80147EE8 90C30000 */ lbu $v1, ($a2)
|
||||
/* 0DE5EC 80147EEC 30620001 */ andi $v0, $v1, 1
|
||||
/* 0DE5F0 80147EF0 5040000A */ beql $v0, $zero, .L80147F1C
|
||||
/* 0DE5F4 80147EF4 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 0DE5F8 80147EF8 00A7102A */ slt $v0, $a1, $a3
|
||||
/* 0DE5FC 80147EFC 14400005 */ bnez $v0, .L80147F14
|
||||
/* 0DE600 80147F00 34620020 */ ori $v0, $v1, 0x20
|
||||
/* 0DE604 80147F04 0085102A */ slt $v0, $a0, $a1
|
||||
/* 0DE608 80147F08 14400002 */ bnez $v0, .L80147F14
|
||||
/* 0DE60C 80147F0C 34620020 */ ori $v0, $v1, 0x20
|
||||
/* 0DE610 80147F10 306200DF */ andi $v0, $v1, 0xdf
|
||||
.L80147F14:
|
||||
/* 0DE614 80147F14 A0C20000 */ sb $v0, ($a2)
|
||||
/* 0DE618 80147F18 24A50001 */ addiu $a1, $a1, 1
|
||||
.L80147F1C:
|
||||
/* 0DE61C 80147F1C 28A20040 */ slti $v0, $a1, 0x40
|
||||
/* 0DE620 80147F20 1440FFF1 */ bnez $v0, .L80147EE8
|
||||
/* 0DE624 80147F24 24C60020 */ addiu $a2, $a2, 0x20
|
||||
/* 0DE628 80147F28 03E00008 */ jr $ra
|
||||
/* 0DE62C 80147F2C 00000000 */ nop
|
||||
|
||||
glabel func_80147F30
|
||||
/* 0DE630 80147F30 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0DE634 80147F34 AFB1002C */ sw $s1, 0x2c($sp)
|
||||
/* 0DE638 80147F38 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0DE63C 80147F3C AFB30034 */ sw $s3, 0x34($sp)
|
||||
/* 0DE640 80147F40 00A0982D */ daddu $s3, $a1, $zero
|
||||
/* 0DE644 80147F44 AFB20030 */ sw $s2, 0x30($sp)
|
||||
/* 0DE648 80147F48 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 0DE64C 80147F4C AFBF0044 */ sw $ra, 0x44($sp)
|
||||
/* 0DE650 80147F50 AFB60040 */ sw $s6, 0x40($sp)
|
||||
/* 0DE654 80147F54 AFB5003C */ sw $s5, 0x3c($sp)
|
||||
/* 0DE658 80147F58 AFB40038 */ sw $s4, 0x38($sp)
|
||||
/* 0DE65C 80147F5C 1A60002C */ blez $s3, .L80148010
|
||||
/* 0DE660 80147F60 AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* 0DE664 80147F64 2416FFFF */ addiu $s6, $zero, -1
|
||||
/* 0DE668 80147F68 3C158015 */ lui $s5, 0x8015
|
||||
/* 0DE66C 80147F6C 26B5F150 */ addiu $s5, $s5, -0xeb0
|
||||
/* 0DE670 80147F70 3C148016 */ lui $s4, 0x8016
|
||||
/* 0DE674 80147F74 26949D50 */ addiu $s4, $s4, -0x62b0
|
||||
/* 0DE678 80147F78 2490001C */ addiu $s0, $a0, 0x1c
|
||||
.L80147F7C:
|
||||
/* 0DE67C 80147F7C 8602FFEC */ lh $v0, -0x14($s0)
|
||||
/* 0DE680 80147F80 82240000 */ lb $a0, ($s1)
|
||||
/* 0DE684 80147F84 8605FFE6 */ lh $a1, -0x1a($s0)
|
||||
/* 0DE688 80147F88 8606FFE8 */ lh $a2, -0x18($s0)
|
||||
/* 0DE68C 80147F8C 8607FFEA */ lh $a3, -0x16($s0)
|
||||
/* 0DE690 80147F90 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 0DE694 80147F94 9202FFEE */ lbu $v0, -0x12($s0)
|
||||
/* 0DE698 80147F98 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 0DE69C 80147F9C 8E02FFF0 */ lw $v0, -0x10($s0)
|
||||
/* 0DE6A0 80147FA0 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 0DE6A4 80147FA4 8E02FFF4 */ lw $v0, -0xc($s0)
|
||||
/* 0DE6A8 80147FA8 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* 0DE6AC 80147FAC 8202FFF8 */ lb $v0, -8($s0)
|
||||
/* 0DE6B0 80147FB0 0C051F32 */ jal func_80147CC8
|
||||
/* 0DE6B4 80147FB4 AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* 0DE6B8 80147FB8 8E030004 */ lw $v1, 4($s0)
|
||||
/* 0DE6BC 80147FBC 10760005 */ beq $v1, $s6, .L80147FD4
|
||||
/* 0DE6C0 80147FC0 00000000 */ nop
|
||||
/* 0DE6C4 80147FC4 82220000 */ lb $v0, ($s1)
|
||||
/* 0DE6C8 80147FC8 00021080 */ sll $v0, $v0, 2
|
||||
/* 0DE6CC 80147FCC 00551021 */ addu $v0, $v0, $s5
|
||||
/* 0DE6D0 80147FD0 AC430000 */ sw $v1, ($v0)
|
||||
.L80147FD4:
|
||||
/* 0DE6D4 80147FD4 82240000 */ lb $a0, ($s1)
|
||||
/* 0DE6D8 80147FD8 8E05FFFC */ lw $a1, -4($s0)
|
||||
/* 0DE6DC 80147FDC 0C051F9F */ jal func_80147E7C
|
||||
/* 0DE6E0 80147FE0 26520001 */ addiu $s2, $s2, 1
|
||||
/* 0DE6E4 80147FE4 82230000 */ lb $v1, ($s1)
|
||||
/* 0DE6E8 80147FE8 92040000 */ lbu $a0, ($s0)
|
||||
/* 0DE6EC 80147FEC 26100024 */ addiu $s0, $s0, 0x24
|
||||
/* 0DE6F0 80147FF0 00031940 */ sll $v1, $v1, 5
|
||||
/* 0DE6F4 80147FF4 00741821 */ addu $v1, $v1, $s4
|
||||
/* 0DE6F8 80147FF8 90620000 */ lbu $v0, ($v1)
|
||||
/* 0DE6FC 80147FFC 00441025 */ or $v0, $v0, $a0
|
||||
/* 0DE700 80148000 A0620000 */ sb $v0, ($v1)
|
||||
/* 0DE704 80148004 0253102A */ slt $v0, $s2, $s3
|
||||
/* 0DE708 80148008 1440FFDC */ bnez $v0, .L80147F7C
|
||||
/* 0DE70C 8014800C 26310024 */ addiu $s1, $s1, 0x24
|
||||
.L80148010:
|
||||
/* 0DE710 80148010 8FBF0044 */ lw $ra, 0x44($sp)
|
||||
/* 0DE714 80148014 8FB60040 */ lw $s6, 0x40($sp)
|
||||
/* 0DE718 80148018 8FB5003C */ lw $s5, 0x3c($sp)
|
||||
/* 0DE71C 8014801C 8FB40038 */ lw $s4, 0x38($sp)
|
||||
/* 0DE720 80148020 8FB30034 */ lw $s3, 0x34($sp)
|
||||
/* 0DE724 80148024 8FB20030 */ lw $s2, 0x30($sp)
|
||||
/* 0DE728 80148028 8FB1002C */ lw $s1, 0x2c($sp)
|
||||
/* 0DE72C 8014802C 8FB00028 */ lw $s0, 0x28($sp)
|
||||
/* 0DE730 80148030 03E00008 */ jr $ra
|
||||
/* 0DE734 80148034 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
/* 0DE738 80148038 00000000 */ nop
|
||||
/* 0DE73C 8014803C 00000000 */ nop
|
||||
|
||||
.set reorder
|
File diff suppressed because it is too large
Load Diff
@ -1,876 +0,0 @@
|
||||
# %s disassembly and split file
|
||||
# generated by n64split v%s - N64 ROM splitter
|
||||
|
||||
# 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
|
||||
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8014A430, "ax"
|
||||
|
||||
glabel get_default_variation_for_song
|
||||
/* 0E0B30 8014A430 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0E0B34 8014A434 3C078009 */ lui $a3, 0x8009
|
||||
/* 0E0B38 8014A438 24E734F0 */ addiu $a3, $a3, 0x34f0
|
||||
/* 0E0B3C 8014A43C 3C038007 */ lui $v1, 0x8007
|
||||
/* 0E0B40 8014A440 2463419C */ addiu $v1, $v1, 0x419c
|
||||
/* 0E0B44 8014A444 3C058015 */ lui $a1, 0x8015
|
||||
/* 0E0B48 8014A448 24A5F720 */ addiu $a1, $a1, -0x8e0
|
||||
.L8014A44C:
|
||||
/* 0E0B4C 8014A44C 8CA20000 */ lw $v0, ($a1)
|
||||
/* 0E0B50 8014A450 1444000C */ bne $v0, $a0, .L8014A484
|
||||
/* 0E0B54 8014A454 24C60001 */ addiu $a2, $a2, 1
|
||||
/* 0E0B58 8014A458 8C630000 */ lw $v1, ($v1)
|
||||
/* 0E0B5C 8014A45C 84620086 */ lh $v0, 0x86($v1)
|
||||
/* 0E0B60 8014A460 8463008C */ lh $v1, 0x8c($v1)
|
||||
/* 0E0B64 8014A464 00021100 */ sll $v0, $v0, 4
|
||||
/* 0E0B68 8014A468 00471021 */ addu $v0, $v0, $a3
|
||||
/* 0E0B6C 8014A46C 8C420004 */ lw $v0, 4($v0)
|
||||
/* 0E0B70 8014A470 00031940 */ sll $v1, $v1, 5
|
||||
/* 0E0B74 8014A474 00431021 */ addu $v0, $v0, $v1
|
||||
/* 0E0B78 8014A478 9042001E */ lbu $v0, 0x1e($v0)
|
||||
/* 0E0B7C 8014A47C 03E00008 */ jr $ra
|
||||
/* 0E0B80 8014A480 30420001 */ andi $v0, $v0, 1
|
||||
|
||||
.L8014A484:
|
||||
/* 0E0B84 8014A484 2CC20006 */ sltiu $v0, $a2, 6
|
||||
/* 0E0B88 8014A488 1440FFF0 */ bnez $v0, .L8014A44C
|
||||
/* 0E0B8C 8014A48C 24A50004 */ addiu $a1, $a1, 4
|
||||
/* 0E0B90 8014A490 03E00008 */ jr $ra
|
||||
/* 0E0B94 8014A494 2402FFFF */ addiu $v0, $zero, -1
|
||||
|
||||
glabel func_8014A498
|
||||
/* 0E0B98 8014A498 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E0B9C 8014A49C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0E0BA0 8014A4A0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 0E0BA4 8014A4A4 3C068015 */ lui $a2, 0x8015
|
||||
/* 0E0BA8 8014A4A8 24C6F6F0 */ addiu $a2, $a2, -0x910
|
||||
/* 0E0BAC 8014A4AC 24C70030 */ addiu $a3, $a2, 0x30
|
||||
/* 0E0BB0 8014A4B0 3C048016 */ lui $a0, 0x8016
|
||||
/* 0E0BB4 8014A4B4 24849AF0 */ addiu $a0, $a0, -0x6510
|
||||
.L8014A4B8:
|
||||
/* 0E0BB8 8014A4B8 0080182D */ daddu $v1, $a0, $zero
|
||||
/* 0E0BBC 8014A4BC 00C0102D */ daddu $v0, $a2, $zero
|
||||
.L8014A4C0:
|
||||
/* 0E0BC0 8014A4C0 8C480000 */ lw $t0, ($v0)
|
||||
/* 0E0BC4 8014A4C4 8C490004 */ lw $t1, 4($v0)
|
||||
/* 0E0BC8 8014A4C8 8C4A0008 */ lw $t2, 8($v0)
|
||||
/* 0E0BCC 8014A4CC 8C4B000C */ lw $t3, 0xc($v0)
|
||||
/* 0E0BD0 8014A4D0 AC680000 */ sw $t0, ($v1)
|
||||
/* 0E0BD4 8014A4D4 AC690004 */ sw $t1, 4($v1)
|
||||
/* 0E0BD8 8014A4D8 AC6A0008 */ sw $t2, 8($v1)
|
||||
/* 0E0BDC 8014A4DC AC6B000C */ sw $t3, 0xc($v1)
|
||||
/* 0E0BE0 8014A4E0 24420010 */ addiu $v0, $v0, 0x10
|
||||
/* 0E0BE4 8014A4E4 1447FFF6 */ bne $v0, $a3, .L8014A4C0
|
||||
/* 0E0BE8 8014A4E8 24630010 */ addiu $v1, $v1, 0x10
|
||||
/* 0E0BEC 8014A4EC 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 0E0BF0 8014A4F0 28A20002 */ slti $v0, $a1, 2
|
||||
/* 0E0BF4 8014A4F4 1440FFF0 */ bnez $v0, .L8014A4B8
|
||||
/* 0E0BF8 8014A4F8 24840030 */ addiu $a0, $a0, 0x30
|
||||
/* 0E0BFC 8014A4FC 24020008 */ addiu $v0, $zero, 8
|
||||
/* 0E0C00 8014A500 3C018016 */ lui $at, 0x8016
|
||||
/* 0E0C04 8014A504 A4229AE2 */ sh $v0, -0x651e($at)
|
||||
/* 0E0C08 8014A508 3C018016 */ lui $at, 0x8016
|
||||
/* 0E0C0C 8014A50C A4229AE4 */ sh $v0, -0x651c($at)
|
||||
/* 0E0C10 8014A510 3C018016 */ lui $at, 0x8016
|
||||
/* 0E0C14 8014A514 A4229AE6 */ sh $v0, -0x651a($at)
|
||||
/* 0E0C18 8014A518 0C015869 */ jal func_800561A4
|
||||
/* 0E0C1C 8014A51C 24040008 */ addiu $a0, $zero, 8
|
||||
/* 0E0C20 8014A520 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0E0C24 8014A524 03E00008 */ jr $ra
|
||||
/* 0E0C28 8014A528 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_8014A52C
|
||||
/* 0E0C2C 8014A52C 24020008 */ addiu $v0, $zero, 8
|
||||
/* 0E0C30 8014A530 3C018016 */ lui $at, 0x8016
|
||||
/* 0E0C34 8014A534 A4229AE2 */ sh $v0, -0x651e($at)
|
||||
/* 0E0C38 8014A538 3C018016 */ lui $at, 0x8016
|
||||
/* 0E0C3C 8014A53C A4229AE4 */ sh $v0, -0x651c($at)
|
||||
/* 0E0C40 8014A540 03E00008 */ jr $ra
|
||||
/* 0E0C44 8014A544 00000000 */ nop
|
||||
|
||||
glabel func_8014A548
|
||||
/* 0E0C48 8014A548 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0E0C4C 8014A54C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 0E0C50 8014A550 3C118016 */ lui $s1, 0x8016
|
||||
/* 0E0C54 8014A554 26319AF0 */ addiu $s1, $s1, -0x6510
|
||||
/* 0E0C58 8014A558 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 0E0C5C 8014A55C 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 0E0C60 8014A560 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 0E0C64 8014A564 24130002 */ addiu $s3, $zero, 2
|
||||
/* 0E0C68 8014A568 AFB5002C */ sw $s5, 0x2c($sp)
|
||||
/* 0E0C6C 8014A56C 2415FFFB */ addiu $s5, $zero, -5
|
||||
/* 0E0C70 8014A570 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 0E0C74 8014A574 24140005 */ addiu $s4, $zero, 5
|
||||
/* 0E0C78 8014A578 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 0E0C7C 8014A57C 26300002 */ addiu $s0, $s1, 2
|
||||
/* 0E0C80 8014A580 AFBF0030 */ sw $ra, 0x30($sp)
|
||||
.L8014A584:
|
||||
/* 0E0C84 8014A584 86030000 */ lh $v1, ($s0)
|
||||
/* 0E0C88 8014A588 2C620006 */ sltiu $v0, $v1, 6
|
||||
/* 0E0C8C 8014A58C 50400085 */ beql $v0, $zero, .L8014A7A4
|
||||
/* 0E0C90 8014A590 26520001 */ addiu $s2, $s2, 1
|
||||
/* 0E0C94 8014A594 00031080 */ sll $v0, $v1, 2
|
||||
/* 0E0C98 8014A598 3C018015 */ lui $at, 0x8015
|
||||
/* 0E0C9C 8014A59C 00220821 */ addu $at, $at, $v0
|
||||
/* 0E0CA0 8014A5A0 8C221290 */ lw $v0, 0x1290($at)
|
||||
/* 0E0CA4 8014A5A4 00400008 */ jr $v0
|
||||
/* 0E0CA8 8014A5A8 00000000 */ nop
|
||||
/* 0E0CAC 8014A5AC 96230000 */ lhu $v1, ($s1)
|
||||
/* 0E0CB0 8014A5B0 30620001 */ andi $v0, $v1, 1
|
||||
/* 0E0CB4 8014A5B4 1040001D */ beqz $v0, .L8014A62C
|
||||
/* 0E0CB8 8014A5B8 30620004 */ andi $v0, $v1, 4
|
||||
/* 0E0CBC 8014A5BC 8E050002 */ lw $a1, 2($s0)
|
||||
/* 0E0CC0 8014A5C0 28A200FA */ slti $v0, $a1, 0xfa
|
||||
/* 0E0CC4 8014A5C4 1040000B */ beqz $v0, .L8014A5F4
|
||||
/* 0E0CC8 8014A5C8 30620004 */ andi $v0, $v1, 4
|
||||
/* 0E0CCC 8014A5CC 14400005 */ bnez $v0, .L8014A5E4
|
||||
/* 0E0CD0 8014A5D0 00000000 */ nop
|
||||
/* 0E0CD4 8014A5D4 0C015671 */ jal func_800559C4
|
||||
/* 0E0CD8 8014A5D8 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* 0E0CDC 8014A5DC 08052987 */ j .L8014A61C
|
||||
/* 0E0CE0 8014A5E0 00000000 */ nop
|
||||
|
||||
.L8014A5E4:
|
||||
/* 0E0CE4 8014A5E4 0C0156BC */ jal func_80055AF0
|
||||
/* 0E0CE8 8014A5E8 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* 0E0CEC 8014A5EC 08052987 */ j .L8014A61C
|
||||
/* 0E0CF0 8014A5F0 00000000 */ nop
|
||||
|
||||
.L8014A5F4:
|
||||
/* 0E0CF4 8014A5F4 14400006 */ bnez $v0, .L8014A610
|
||||
/* 0E0CF8 8014A5F8 00000000 */ nop
|
||||
/* 0E0CFC 8014A5FC 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* 0E0D00 8014A600 0C0156AF */ jal func_80055ABC
|
||||
/* 0E0D04 8014A604 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0E0D08 8014A608 08052987 */ j .L8014A61C
|
||||
/* 0E0D0C 8014A60C 00000000 */ nop
|
||||
|
||||
.L8014A610:
|
||||
/* 0E0D10 8014A610 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* 0E0D14 8014A614 0C0156EE */ jal func_80055BB8
|
||||
/* 0E0D18 8014A618 240500FA */ addiu $a1, $zero, 0xfa
|
||||
.L8014A61C:
|
||||
/* 0E0D1C 8014A61C 50400060 */ beql $v0, $zero, .L8014A7A0
|
||||
/* 0E0D20 8014A620 A6130000 */ sh $s3, ($s0)
|
||||
/* 0E0D24 8014A624 080529E9 */ j .L8014A7A4
|
||||
/* 0E0D28 8014A628 26520001 */ addiu $s2, $s2, 1
|
||||
|
||||
.L8014A62C:
|
||||
/* 0E0D2C 8014A62C 10400002 */ beqz $v0, .L8014A638
|
||||
/* 0E0D30 8014A630 34620010 */ ori $v0, $v1, 0x10
|
||||
/* 0E0D34 8014A634 A6220000 */ sh $v0, ($s1)
|
||||
.L8014A638:
|
||||
/* 0E0D38 8014A638 96220000 */ lhu $v0, ($s1)
|
||||
/* 0E0D3C 8014A63C 00551024 */ and $v0, $v0, $s5
|
||||
/* 0E0D40 8014A640 A6220000 */ sh $v0, ($s1)
|
||||
.L8014A644:
|
||||
/* 0E0D44 8014A644 080529E8 */ j .L8014A7A0
|
||||
/* 0E0D48 8014A648 A6140000 */ sh $s4, ($s0)
|
||||
|
||||
/* 0E0D4C 8014A64C 96230000 */ lhu $v1, ($s1)
|
||||
/* 0E0D50 8014A650 00751024 */ and $v0, $v1, $s5
|
||||
/* 0E0D54 8014A654 30630001 */ andi $v1, $v1, 1
|
||||
/* 0E0D58 8014A658 1060FFFA */ beqz $v1, .L8014A644
|
||||
/* 0E0D5C 8014A65C A6220000 */ sh $v0, ($s1)
|
||||
/* 0E0D60 8014A660 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* 0E0D64 8014A664 0C01567F */ jal func_800559FC
|
||||
/* 0E0D68 8014A668 00000000 */ nop
|
||||
/* 0E0D6C 8014A66C 5440004D */ bnel $v0, $zero, .L8014A7A4
|
||||
/* 0E0D70 8014A670 26520001 */ addiu $s2, $s2, 1
|
||||
/* 0E0D74 8014A674 96220000 */ lhu $v0, ($s1)
|
||||
/* 0E0D78 8014A678 3042FFFE */ andi $v0, $v0, 0xfffe
|
||||
/* 0E0D7C 8014A67C A6220000 */ sh $v0, ($s1)
|
||||
/* 0E0D80 8014A680 24020003 */ addiu $v0, $zero, 3
|
||||
/* 0E0D84 8014A684 080529E8 */ j .L8014A7A0
|
||||
/* 0E0D88 8014A688 A6020000 */ sh $v0, ($s0)
|
||||
|
||||
/* 0E0D8C 8014A68C 24020004 */ addiu $v0, $zero, 4
|
||||
/* 0E0D90 8014A690 080529E8 */ j .L8014A7A0
|
||||
/* 0E0D94 8014A694 A6020000 */ sh $v0, ($s0)
|
||||
|
||||
/* 0E0D98 8014A698 96230000 */ lhu $v1, ($s1)
|
||||
/* 0E0D9C 8014A69C 30620008 */ andi $v0, $v1, 8
|
||||
/* 0E0DA0 8014A6A0 14400029 */ bnez $v0, .L8014A748
|
||||
/* 0E0DA4 8014A6A4 30620010 */ andi $v0, $v1, 0x10
|
||||
/* 0E0DA8 8014A6A8 8E04000E */ lw $a0, 0xe($s0)
|
||||
/* 0E0DAC 8014A6AC 04810003 */ bgez $a0, .L8014A6BC
|
||||
/* 0E0DB0 8014A6B0 00000000 */ nop
|
||||
/* 0E0DB4 8014A6B4 080529E8 */ j .L8014A7A0
|
||||
/* 0E0DB8 8014A6B8 A6000000 */ sh $zero, ($s0)
|
||||
|
||||
.L8014A6BC:
|
||||
/* 0E0DBC 8014A6BC 0C015635 */ jal func_800558D4
|
||||
/* 0E0DC0 8014A6C0 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0E0DC4 8014A6C4 3403FFFF */ ori $v1, $zero, 0xffff
|
||||
/* 0E0DC8 8014A6C8 0062182B */ sltu $v1, $v1, $v0
|
||||
/* 0E0DCC 8014A6CC 10600034 */ beqz $v1, .L8014A7A0
|
||||
/* 0E0DD0 8014A6D0 AE020016 */ sw $v0, 0x16($s0)
|
||||
/* 0E0DD4 8014A6D4 96220000 */ lhu $v0, ($s1)
|
||||
/* 0E0DD8 8014A6D8 30420020 */ andi $v0, $v0, 0x20
|
||||
/* 0E0DDC 8014A6DC 1040000C */ beqz $v0, .L8014A710
|
||||
/* 0E0DE0 8014A6E0 00000000 */ nop
|
||||
/* 0E0DE4 8014A6E4 8602000C */ lh $v0, 0xc($s0)
|
||||
/* 0E0DE8 8014A6E8 8607000A */ lh $a3, 0xa($s0)
|
||||
/* 0E0DEC 8014A6EC AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 0E0DF0 8014A6F0 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* 0E0DF4 8014A6F4 8E050012 */ lw $a1, 0x12($s0)
|
||||
/* 0E0DF8 8014A6F8 0C015686 */ jal func_80055A18
|
||||
/* 0E0DFC 8014A6FC 8E060006 */ lw $a2, 6($s0)
|
||||
/* 0E0E00 8014A700 96220000 */ lhu $v0, ($s1)
|
||||
/* 0E0E04 8014A704 3042FFDF */ andi $v0, $v0, 0xffdf
|
||||
/* 0E0E08 8014A708 080529C8 */ j .L8014A720
|
||||
/* 0E0E0C 8014A70C A6220000 */ sh $v0, ($s1)
|
||||
|
||||
.L8014A710:
|
||||
/* 0E0E10 8014A710 3C048016 */ lui $a0, 0x8016
|
||||
/* 0E0E14 8014A714 84849AE0 */ lh $a0, -0x6520($a0)
|
||||
/* 0E0E18 8014A718 0C052B21 */ jal func_8014AC84
|
||||
/* 0E0E1C 8014A71C 00000000 */ nop
|
||||
.L8014A720:
|
||||
/* 0E0E20 8014A720 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* 0E0E24 8014A724 0C01565C */ jal func_80055970
|
||||
/* 0E0E28 8014A728 8E050012 */ lw $a1, 0x12($s0)
|
||||
/* 0E0E2C 8014A72C 5440001D */ bnel $v0, $zero, .L8014A7A4
|
||||
/* 0E0E30 8014A730 26520001 */ addiu $s2, $s2, 1
|
||||
/* 0E0E34 8014A734 96220000 */ lhu $v0, ($s1)
|
||||
/* 0E0E38 8014A738 34420001 */ ori $v0, $v0, 1
|
||||
/* 0E0E3C 8014A73C A6220000 */ sh $v0, ($s1)
|
||||
/* 0E0E40 8014A740 080529E8 */ j .L8014A7A0
|
||||
/* 0E0E44 8014A744 A6000000 */ sh $zero, ($s0)
|
||||
|
||||
.L8014A748:
|
||||
/* 0E0E48 8014A748 10400005 */ beqz $v0, .L8014A760
|
||||
/* 0E0E4C 8014A74C 00000000 */ nop
|
||||
/* 0E0E50 8014A750 A6000000 */ sh $zero, ($s0)
|
||||
/* 0E0E54 8014A754 96220000 */ lhu $v0, ($s1)
|
||||
/* 0E0E58 8014A758 080529E7 */ j .L8014A79C
|
||||
/* 0E0E5C 8014A75C 3042FFE7 */ andi $v0, $v0, 0xffe7
|
||||
|
||||
.L8014A760:
|
||||
/* 0E0E60 8014A760 8E04002A */ lw $a0, 0x2a($s0)
|
||||
/* 0E0E64 8014A764 0C0156CA */ jal func_80055B28
|
||||
/* 0E0E68 8014A768 00000000 */ nop
|
||||
/* 0E0E6C 8014A76C 5440000D */ bnel $v0, $zero, .L8014A7A4
|
||||
/* 0E0E70 8014A770 26520001 */ addiu $s2, $s2, 1
|
||||
/* 0E0E74 8014A774 8E020022 */ lw $v0, 0x22($s0)
|
||||
/* 0E0E78 8014A778 8E030026 */ lw $v1, 0x26($s0)
|
||||
/* 0E0E7C 8014A77C 8E04002A */ lw $a0, 0x2a($s0)
|
||||
/* 0E0E80 8014A780 A6000000 */ sh $zero, ($s0)
|
||||
/* 0E0E84 8014A784 AE02000E */ sw $v0, 0xe($s0)
|
||||
/* 0E0E88 8014A788 AE030012 */ sw $v1, 0x12($s0)
|
||||
/* 0E0E8C 8014A78C AE040016 */ sw $a0, 0x16($s0)
|
||||
/* 0E0E90 8014A790 96220000 */ lhu $v0, ($s1)
|
||||
/* 0E0E94 8014A794 34420001 */ ori $v0, $v0, 1
|
||||
/* 0E0E98 8014A798 3042FFF7 */ andi $v0, $v0, 0xfff7
|
||||
.L8014A79C:
|
||||
/* 0E0E9C 8014A79C A6220000 */ sh $v0, ($s1)
|
||||
.L8014A7A0:
|
||||
/* 0E0EA0 8014A7A0 26520001 */ addiu $s2, $s2, 1
|
||||
.L8014A7A4:
|
||||
/* 0E0EA4 8014A7A4 26100030 */ addiu $s0, $s0, 0x30
|
||||
/* 0E0EA8 8014A7A8 2A420002 */ slti $v0, $s2, 2
|
||||
/* 0E0EAC 8014A7AC 1440FF75 */ bnez $v0, .L8014A584
|
||||
/* 0E0EB0 8014A7B0 26310030 */ addiu $s1, $s1, 0x30
|
||||
/* 0E0EB4 8014A7B4 0C052B25 */ jal func_8014AC94
|
||||
/* 0E0EB8 8014A7B8 00000000 */ nop
|
||||
/* 0E0EBC 8014A7BC 8FBF0030 */ lw $ra, 0x30($sp)
|
||||
/* 0E0EC0 8014A7C0 8FB5002C */ lw $s5, 0x2c($sp)
|
||||
/* 0E0EC4 8014A7C4 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* 0E0EC8 8014A7C8 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 0E0ECC 8014A7CC 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 0E0ED0 8014A7D0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 0E0ED4 8014A7D4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 0E0ED8 8014A7D8 03E00008 */ jr $ra
|
||||
/* 0E0EDC 8014A7DC 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
glabel _set_music_track
|
||||
/* 0E0EE0 8014A7E0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0E0EE4 8014A7E4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0E0EE8 8014A7E8 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* 0E0EEC 8014A7EC 3C058007 */ lui $a1, 0x8007
|
||||
/* 0E0EF0 8014A7F0 8CA5419C */ lw $a1, 0x419c($a1)
|
||||
/* 0E0EF4 8014A7F4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0E0EF8 8014A7F8 8FB30040 */ lw $s3, 0x40($sp)
|
||||
/* 0E0EFC 8014A7FC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E0F00 8014A800 00C0882D */ daddu $s1, $a2, $zero
|
||||
/* 0E0F04 8014A804 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 0E0F08 8014A808 00E0A82D */ daddu $s5, $a3, $zero
|
||||
/* 0E0F0C 8014A80C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 0E0F10 8014A810 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 0E0F14 8014A814 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E0F18 8014A818 80A20071 */ lb $v0, 0x71($a1)
|
||||
/* 0E0F1C 8014A81C 10400003 */ beqz $v0, .L8014A82C
|
||||
/* 0E0F20 8014A820 0260A02D */ daddu $s4, $s3, $zero
|
||||
/* 0E0F24 8014A824 08052A3D */ j .L8014A8F4
|
||||
/* 0E0F28 8014A828 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
.L8014A82C:
|
||||
/* 0E0F2C 8014A82C 3C028016 */ lui $v0, 0x8016
|
||||
/* 0E0F30 8014A830 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* 0E0F34 8014A834 00041840 */ sll $v1, $a0, 1
|
||||
/* 0E0F38 8014A838 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0E0F3C 8014A83C 00031900 */ sll $v1, $v1, 4
|
||||
/* 0E0F40 8014A840 80A4007A */ lb $a0, 0x7a($a1)
|
||||
/* 0E0F44 8014A844 14800008 */ bnez $a0, .L8014A868
|
||||
/* 0E0F48 8014A848 00628021 */ addu $s0, $v1, $v0
|
||||
/* 0E0F4C 8014A84C 8E040018 */ lw $a0, 0x18($s0)
|
||||
/* 0E0F50 8014A850 0C015671 */ jal func_800559C4
|
||||
/* 0E0F54 8014A854 00000000 */ nop
|
||||
/* 0E0F58 8014A858 96030000 */ lhu $v1, ($s0)
|
||||
/* 0E0F5C 8014A85C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0E0F60 8014A860 08052A3C */ j .L8014A8F0
|
||||
/* 0E0F64 8014A864 3063FFFE */ andi $v1, $v1, 0xfffe
|
||||
|
||||
.L8014A868:
|
||||
/* 0E0F68 8014A868 0C05290C */ jal get_default_variation_for_song
|
||||
/* 0E0F6C 8014A86C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0E0F70 8014A870 04430001 */ bgezl $v0, .L8014A878
|
||||
/* 0E0F74 8014A874 0040882D */ daddu $s1, $v0, $zero
|
||||
.L8014A878:
|
||||
/* 0E0F78 8014A878 8E020010 */ lw $v0, 0x10($s0)
|
||||
/* 0E0F7C 8014A87C 14520013 */ bne $v0, $s2, .L8014A8CC
|
||||
/* 0E0F80 8014A880 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0E0F84 8014A884 8E020014 */ lw $v0, 0x14($s0)
|
||||
/* 0E0F88 8014A888 14510010 */ bne $v0, $s1, .L8014A8CC
|
||||
/* 0E0F8C 8014A88C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0E0F90 8014A890 00132400 */ sll $a0, $s3, 0x10
|
||||
/* 0E0F94 8014A894 0C052B21 */ jal func_8014AC84
|
||||
/* 0E0F98 8014A898 00042403 */ sra $a0, $a0, 0x10
|
||||
/* 0E0F9C 8014A89C 96020000 */ lhu $v0, ($s0)
|
||||
/* 0E0FA0 8014A8A0 30420004 */ andi $v0, $v0, 4
|
||||
/* 0E0FA4 8014A8A4 50400013 */ beql $v0, $zero, .L8014A8F4
|
||||
/* 0E0FA8 8014A8A8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0E0FAC 8014A8AC 8E040018 */ lw $a0, 0x18($s0)
|
||||
/* 0E0FB0 8014A8B0 0C0156E0 */ jal func_80055B80
|
||||
/* 0E0FB4 8014A8B4 00000000 */ nop
|
||||
/* 0E0FB8 8014A8B8 96020000 */ lhu $v0, ($s0)
|
||||
/* 0E0FBC 8014A8BC 3042FFFB */ andi $v0, $v0, 0xfffb
|
||||
/* 0E0FC0 8014A8C0 A6020000 */ sh $v0, ($s0)
|
||||
/* 0E0FC4 8014A8C4 08052A3D */ j .L8014A8F4
|
||||
/* 0E0FC8 8014A8C8 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
.L8014A8CC:
|
||||
/* 0E0FCC 8014A8CC 96030000 */ lhu $v1, ($s0)
|
||||
/* 0E0FD0 8014A8D0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0E0FD4 8014A8D4 3C018016 */ lui $at, 0x8016
|
||||
/* 0E0FD8 8014A8D8 A4349AE0 */ sh $s4, -0x6520($at)
|
||||
/* 0E0FDC 8014A8DC AE120010 */ sw $s2, 0x10($s0)
|
||||
/* 0E0FE0 8014A8E0 AE110014 */ sw $s1, 0x14($s0)
|
||||
/* 0E0FE4 8014A8E4 AE150004 */ sw $s5, 4($s0)
|
||||
/* 0E0FE8 8014A8E8 A6040002 */ sh $a0, 2($s0)
|
||||
/* 0E0FEC 8014A8EC 3063FFFD */ andi $v1, $v1, 0xfffd
|
||||
.L8014A8F0:
|
||||
/* 0E0FF0 8014A8F0 A6030000 */ sh $v1, ($s0)
|
||||
.L8014A8F4:
|
||||
/* 0E0FF4 8014A8F4 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 0E0FF8 8014A8F8 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 0E0FFC 8014A8FC 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 0E1000 8014A900 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0E1004 8014A904 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0E1008 8014A908 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0E100C 8014A90C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E1010 8014A910 03E00008 */ jr $ra
|
||||
/* 0E1014 8014A914 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
glabel set_music_track
|
||||
/* 0E1018 8014A918 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E101C 8014A91C 3C038016 */ lui $v1, 0x8016
|
||||
/* 0E1020 8014A920 24639AF0 */ addiu $v1, $v1, -0x6510
|
||||
/* 0E1024 8014A924 00041040 */ sll $v0, $a0, 1
|
||||
/* 0E1028 8014A928 00441021 */ addu $v0, $v0, $a0
|
||||
/* 0E102C 8014A92C 00021100 */ sll $v0, $v0, 4
|
||||
/* 0E1030 8014A930 00431021 */ addu $v0, $v0, $v1
|
||||
/* 0E1034 8014A934 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0E1038 8014A938 94430000 */ lhu $v1, ($v0)
|
||||
/* 0E103C 8014A93C 8FA80030 */ lw $t0, 0x30($sp)
|
||||
/* 0E1040 8014A940 3063FFF7 */ andi $v1, $v1, 0xfff7
|
||||
/* 0E1044 8014A944 00084400 */ sll $t0, $t0, 0x10
|
||||
/* 0E1048 8014A948 00084403 */ sra $t0, $t0, 0x10
|
||||
/* 0E104C 8014A94C A4430000 */ sh $v1, ($v0)
|
||||
/* 0E1050 8014A950 0C0529F8 */ jal _set_music_track
|
||||
/* 0E1054 8014A954 AFA80010 */ sw $t0, 0x10($sp)
|
||||
/* 0E1058 8014A958 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E105C 8014A95C 03E00008 */ jr $ra
|
||||
/* 0E1060 8014A960 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_8014A964
|
||||
/* 0E1064 8014A964 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0E1068 8014A968 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 0E106C 8014A96C 00A0A02D */ daddu $s4, $a1, $zero
|
||||
/* 0E1070 8014A970 3C058007 */ lui $a1, 0x8007
|
||||
/* 0E1074 8014A974 8CA5419C */ lw $a1, 0x419c($a1)
|
||||
/* 0E1078 8014A978 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0E107C 8014A97C 8FB30040 */ lw $s3, 0x40($sp)
|
||||
/* 0E1080 8014A980 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E1084 8014A984 00C0882D */ daddu $s1, $a2, $zero
|
||||
/* 0E1088 8014A988 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 0E108C 8014A98C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 0E1090 8014A990 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0E1094 8014A994 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E1098 8014A998 80A20071 */ lb $v0, 0x71($a1)
|
||||
/* 0E109C 8014A99C 8FB20044 */ lw $s2, 0x44($sp)
|
||||
/* 0E10A0 8014A9A0 10400003 */ beqz $v0, .L8014A9B0
|
||||
/* 0E10A4 8014A9A4 00E0A82D */ daddu $s5, $a3, $zero
|
||||
/* 0E10A8 8014A9A8 08052A8C */ j .L8014AA30
|
||||
/* 0E10AC 8014A9AC 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
.L8014A9B0:
|
||||
/* 0E10B0 8014A9B0 3C028016 */ lui $v0, 0x8016
|
||||
/* 0E10B4 8014A9B4 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* 0E10B8 8014A9B8 00041840 */ sll $v1, $a0, 1
|
||||
/* 0E10BC 8014A9BC 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0E10C0 8014A9C0 00031900 */ sll $v1, $v1, 4
|
||||
/* 0E10C4 8014A9C4 80A4007A */ lb $a0, 0x7a($a1)
|
||||
/* 0E10C8 8014A9C8 14800008 */ bnez $a0, .L8014A9EC
|
||||
/* 0E10CC 8014A9CC 00628021 */ addu $s0, $v1, $v0
|
||||
/* 0E10D0 8014A9D0 8E040018 */ lw $a0, 0x18($s0)
|
||||
/* 0E10D4 8014A9D4 0C015671 */ jal func_800559C4
|
||||
/* 0E10D8 8014A9D8 00000000 */ nop
|
||||
/* 0E10DC 8014A9DC 96030000 */ lhu $v1, ($s0)
|
||||
/* 0E10E0 8014A9E0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0E10E4 8014A9E4 08052A8B */ j .L8014AA2C
|
||||
/* 0E10E8 8014A9E8 3063FFFE */ andi $v1, $v1, 0xfffe
|
||||
|
||||
.L8014A9EC:
|
||||
/* 0E10EC 8014A9EC 0C05290C */ jal get_default_variation_for_song
|
||||
/* 0E10F0 8014A9F0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 0E10F4 8014A9F4 04430001 */ bgezl $v0, .L8014A9FC
|
||||
/* 0E10F8 8014A9F8 0040882D */ daddu $s1, $v0, $zero
|
||||
.L8014A9FC:
|
||||
/* 0E10FC 8014A9FC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0E1100 8014AA00 96030000 */ lhu $v1, ($s0)
|
||||
/* 0E1104 8014AA04 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0E1108 8014AA08 AE150008 */ sw $s5, 8($s0)
|
||||
/* 0E110C 8014AA0C A613000C */ sh $s3, 0xc($s0)
|
||||
/* 0E1110 8014AA10 A612000E */ sh $s2, 0xe($s0)
|
||||
/* 0E1114 8014AA14 AE140010 */ sw $s4, 0x10($s0)
|
||||
/* 0E1118 8014AA18 AE110014 */ sw $s1, 0x14($s0)
|
||||
/* 0E111C 8014AA1C A6040002 */ sh $a0, 2($s0)
|
||||
/* 0E1120 8014AA20 34630020 */ ori $v1, $v1, 0x20
|
||||
/* 0E1124 8014AA24 A6030000 */ sh $v1, ($s0)
|
||||
/* 0E1128 8014AA28 3063FFFD */ andi $v1, $v1, 0xfffd
|
||||
.L8014AA2C:
|
||||
/* 0E112C 8014AA2C A6030000 */ sh $v1, ($s0)
|
||||
.L8014AA30:
|
||||
/* 0E1130 8014AA30 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 0E1134 8014AA34 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 0E1138 8014AA38 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 0E113C 8014AA3C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0E1140 8014AA40 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0E1144 8014AA44 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0E1148 8014AA48 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E114C 8014AA4C 03E00008 */ jr $ra
|
||||
/* 0E1150 8014AA50 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
glabel func_8014AA54
|
||||
/* 0E1154 8014AA54 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E1158 8014AA58 3C028016 */ lui $v0, 0x8016
|
||||
/* 0E115C 8014AA5C 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* 0E1160 8014AA60 00041840 */ sll $v1, $a0, 1
|
||||
/* 0E1164 8014AA64 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0E1168 8014AA68 00031900 */ sll $v1, $v1, 4
|
||||
/* 0E116C 8014AA6C 00621821 */ addu $v1, $v1, $v0
|
||||
/* 0E1170 8014AA70 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0E1174 8014AA74 94640000 */ lhu $a0, ($v1)
|
||||
/* 0E1178 8014AA78 30820001 */ andi $v0, $a0, 1
|
||||
/* 0E117C 8014AA7C 10400003 */ beqz $v0, .L8014AA8C
|
||||
/* 0E1180 8014AA80 30820002 */ andi $v0, $a0, 2
|
||||
/* 0E1184 8014AA84 14400003 */ bnez $v0, .L8014AA94
|
||||
/* 0E1188 8014AA88 00061400 */ sll $v0, $a2, 0x10
|
||||
.L8014AA8C:
|
||||
/* 0E118C 8014AA8C 08052AC0 */ j .L8014AB00
|
||||
/* 0E1190 8014AA90 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
.L8014AA94:
|
||||
/* 0E1194 8014AA94 00022403 */ sra $a0, $v0, 0x10
|
||||
/* 0E1198 8014AA98 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0E119C 8014AA9C 1082000F */ beq $a0, $v0, .L8014AADC
|
||||
/* 0E11A0 8014AAA0 28820002 */ slti $v0, $a0, 2
|
||||
/* 0E11A4 8014AAA4 10400005 */ beqz $v0, .L8014AABC
|
||||
/* 0E11A8 8014AAA8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0E11AC 8014AAAC 10800007 */ beqz $a0, .L8014AACC
|
||||
/* 0E11B0 8014AAB0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0E11B4 8014AAB4 08052AC0 */ j .L8014AB00
|
||||
/* 0E11B8 8014AAB8 00000000 */ nop
|
||||
|
||||
.L8014AABC:
|
||||
/* 0E11BC 8014AABC 1082000C */ beq $a0, $v0, .L8014AAF0
|
||||
/* 0E11C0 8014AAC0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0E11C4 8014AAC4 08052AC0 */ j .L8014AB00
|
||||
/* 0E11C8 8014AAC8 00000000 */ nop
|
||||
|
||||
.L8014AACC:
|
||||
/* 0E11CC 8014AACC 0C01580A */ jal func_80056028
|
||||
/* 0E11D0 8014AAD0 8C640018 */ lw $a0, 0x18($v1)
|
||||
/* 0E11D4 8014AAD4 08052AC0 */ j .L8014AB00
|
||||
/* 0E11D8 8014AAD8 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
.L8014AADC:
|
||||
/* 0E11DC 8014AADC 8C640018 */ lw $a0, 0x18($v1)
|
||||
/* 0E11E0 8014AAE0 0C015811 */ jal func_80056044
|
||||
/* 0E11E4 8014AAE4 00000000 */ nop
|
||||
/* 0E11E8 8014AAE8 08052AC0 */ j .L8014AB00
|
||||
/* 0E11EC 8014AAEC 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
.L8014AAF0:
|
||||
/* 0E11F0 8014AAF0 8C640018 */ lw $a0, 0x18($v1)
|
||||
/* 0E11F4 8014AAF4 0C01581A */ jal func_80056068
|
||||
/* 0E11F8 8014AAF8 00000000 */ nop
|
||||
/* 0E11FC 8014AAFC 24020001 */ addiu $v0, $zero, 1
|
||||
.L8014AB00:
|
||||
/* 0E1200 8014AB00 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0E1204 8014AB04 03E00008 */ jr $ra
|
||||
/* 0E1208 8014AB08 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_8014AB0C
|
||||
/* 0E120C 8014AB0C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E1210 8014AB10 3C028016 */ lui $v0, 0x8016
|
||||
/* 0E1214 8014AB14 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* 0E1218 8014AB18 00041840 */ sll $v1, $a0, 1
|
||||
/* 0E121C 8014AB1C 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0E1220 8014AB20 00031900 */ sll $v1, $v1, 4
|
||||
/* 0E1224 8014AB24 00621821 */ addu $v1, $v1, $v0
|
||||
/* 0E1228 8014AB28 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0E122C 8014AB2C 94620000 */ lhu $v0, ($v1)
|
||||
/* 0E1230 8014AB30 30420001 */ andi $v0, $v0, 1
|
||||
/* 0E1234 8014AB34 10400006 */ beqz $v0, .L8014AB50
|
||||
/* 0E1238 8014AB38 00052C00 */ sll $a1, $a1, 0x10
|
||||
/* 0E123C 8014AB3C 8C640018 */ lw $a0, 0x18($v1)
|
||||
/* 0E1240 8014AB40 0C015777 */ jal func_80055DDC
|
||||
/* 0E1244 8014AB44 00052C03 */ sra $a1, $a1, 0x10
|
||||
/* 0E1248 8014AB48 08052AD5 */ j .L8014AB54
|
||||
/* 0E124C 8014AB4C 00000000 */ nop
|
||||
|
||||
.L8014AB50:
|
||||
/* 0E1250 8014AB50 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8014AB54:
|
||||
/* 0E1254 8014AB54 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0E1258 8014AB58 03E00008 */ jr $ra
|
||||
/* 0E125C 8014AB5C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 0E1260 8014AB60 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E1264 8014AB64 3C028016 */ lui $v0, 0x8016
|
||||
/* 0E1268 8014AB68 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* 0E126C 8014AB6C 00041840 */ sll $v1, $a0, 1
|
||||
/* 0E1270 8014AB70 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0E1274 8014AB74 00031900 */ sll $v1, $v1, 4
|
||||
/* 0E1278 8014AB78 00621821 */ addu $v1, $v1, $v0
|
||||
/* 0E127C 8014AB7C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0E1280 8014AB80 94620000 */ lhu $v0, ($v1)
|
||||
/* 0E1284 8014AB84 30420001 */ andi $v0, $v0, 1
|
||||
/* 0E1288 8014AB88 10400006 */ beqz $v0, .L8014ABA4
|
||||
/* 0E128C 8014AB8C 00052C00 */ sll $a1, $a1, 0x10
|
||||
/* 0E1290 8014AB90 8C640018 */ lw $a0, 0x18($v1)
|
||||
/* 0E1294 8014AB94 0C015792 */ jal func_80055E48
|
||||
/* 0E1298 8014AB98 00052C03 */ sra $a1, $a1, 0x10
|
||||
/* 0E129C 8014AB9C 08052AEA */ j .L8014ABA8
|
||||
/* 0E12A0 8014ABA0 00000000 */ nop
|
||||
|
||||
.L8014ABA4:
|
||||
/* 0E12A4 8014ABA4 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8014ABA8:
|
||||
/* 0E12A8 8014ABA8 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0E12AC 8014ABAC 03E00008 */ jr $ra
|
||||
/* 0E12B0 8014ABB0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 0E12B4 8014ABB4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E12B8 8014ABB8 3C028016 */ lui $v0, 0x8016
|
||||
/* 0E12BC 8014ABBC 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* 0E12C0 8014ABC0 00041840 */ sll $v1, $a0, 1
|
||||
/* 0E12C4 8014ABC4 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0E12C8 8014ABC8 00031900 */ sll $v1, $v1, 4
|
||||
/* 0E12CC 8014ABCC 00621821 */ addu $v1, $v1, $v0
|
||||
/* 0E12D0 8014ABD0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0E12D4 8014ABD4 94620000 */ lhu $v0, ($v1)
|
||||
/* 0E12D8 8014ABD8 30420001 */ andi $v0, $v0, 1
|
||||
/* 0E12DC 8014ABDC 10400006 */ beqz $v0, .L8014ABF8
|
||||
/* 0E12E0 8014ABE0 00052C00 */ sll $a1, $a1, 0x10
|
||||
/* 0E12E4 8014ABE4 8C640018 */ lw $a0, 0x18($v1)
|
||||
/* 0E12E8 8014ABE8 0C015731 */ jal func_80055CC4
|
||||
/* 0E12EC 8014ABEC 00052C03 */ sra $a1, $a1, 0x10
|
||||
/* 0E12F0 8014ABF0 08052AFF */ j .L8014ABFC
|
||||
/* 0E12F4 8014ABF4 00000000 */ nop
|
||||
|
||||
.L8014ABF8:
|
||||
/* 0E12F8 8014ABF8 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8014ABFC:
|
||||
/* 0E12FC 8014ABFC 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0E1300 8014AC00 03E00008 */ jr $ra
|
||||
/* 0E1304 8014AC04 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_8014AC08
|
||||
/* 0E1308 8014AC08 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E130C 8014AC0C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0E1310 8014AC10 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* 0E1314 8014AC14 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 0E1318 8014AC18 240700FA */ addiu $a3, $zero, 0xfa
|
||||
/* 0E131C 8014AC1C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 0E1320 8014AC20 24100008 */ addiu $s0, $zero, 8
|
||||
/* 0E1324 8014AC24 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0E1328 8014AC28 0C052A46 */ jal set_music_track
|
||||
/* 0E132C 8014AC2C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E1330 8014AC30 24040001 */ addiu $a0, $zero, 1
|
||||
/* 0E1334 8014AC34 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* 0E1338 8014AC38 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0E133C 8014AC3C 240700FA */ addiu $a3, $zero, 0xfa
|
||||
/* 0E1340 8014AC40 0C052A46 */ jal set_music_track
|
||||
/* 0E1344 8014AC44 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E1348 8014AC48 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0E134C 8014AC4C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 0E1350 8014AC50 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0E1354 8014AC54 03E00008 */ jr $ra
|
||||
/* 0E1358 8014AC58 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_8014AC5C
|
||||
/* 0E135C 8014AC5C 24020004 */ addiu $v0, $zero, 4
|
||||
/* 0E1360 8014AC60 3C018016 */ lui $at, 0x8016
|
||||
/* 0E1364 8014AC64 A4229AE4 */ sh $v0, -0x651c($at)
|
||||
/* 0E1368 8014AC68 03E00008 */ jr $ra
|
||||
/* 0E136C 8014AC6C 00000000 */ nop
|
||||
|
||||
glabel func_8014AC70
|
||||
/* 0E1370 8014AC70 24020008 */ addiu $v0, $zero, 8
|
||||
/* 0E1374 8014AC74 3C018016 */ lui $at, 0x8016
|
||||
/* 0E1378 8014AC78 A4229AE4 */ sh $v0, -0x651c($at)
|
||||
/* 0E137C 8014AC7C 03E00008 */ jr $ra
|
||||
/* 0E1380 8014AC80 00000000 */ nop
|
||||
|
||||
glabel func_8014AC84
|
||||
/* 0E1384 8014AC84 3C018016 */ lui $at, 0x8016
|
||||
/* 0E1388 8014AC88 A4249AE2 */ sh $a0, -0x651e($at)
|
||||
/* 0E138C 8014AC8C 03E00008 */ jr $ra
|
||||
/* 0E1390 8014AC90 00000000 */ nop
|
||||
|
||||
glabel func_8014AC94
|
||||
/* 0E1394 8014AC94 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E1398 8014AC98 3C048015 */ lui $a0, 0x8015
|
||||
/* 0E139C 8014AC9C 2484F738 */ addiu $a0, $a0, -0x8c8
|
||||
/* 0E13A0 8014ACA0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0E13A4 8014ACA4 84820000 */ lh $v0, ($a0)
|
||||
/* 0E13A8 8014ACA8 94830000 */ lhu $v1, ($a0)
|
||||
/* 0E13AC 8014ACAC 10400003 */ beqz $v0, .L8014ACBC
|
||||
/* 0E13B0 8014ACB0 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 0E13B4 8014ACB4 08052B4D */ j .L8014AD34
|
||||
/* 0E13B8 8014ACB8 A4820000 */ sh $v0, ($a0)
|
||||
|
||||
.L8014ACBC:
|
||||
/* 0E13BC 8014ACBC 3C038016 */ lui $v1, 0x8016
|
||||
/* 0E13C0 8014ACC0 84639AE2 */ lh $v1, -0x651e($v1)
|
||||
/* 0E13C4 8014ACC4 3C028016 */ lui $v0, 0x8016
|
||||
/* 0E13C8 8014ACC8 84429AE4 */ lh $v0, -0x651c($v0)
|
||||
/* 0E13CC 8014ACCC 3C048016 */ lui $a0, 0x8016
|
||||
/* 0E13D0 8014ACD0 94849AE2 */ lhu $a0, -0x651e($a0)
|
||||
/* 0E13D4 8014ACD4 0043102A */ slt $v0, $v0, $v1
|
||||
/* 0E13D8 8014ACD8 3C038016 */ lui $v1, 0x8016
|
||||
/* 0E13DC 8014ACDC 94639AE4 */ lhu $v1, -0x651c($v1)
|
||||
/* 0E13E0 8014ACE0 54400001 */ bnel $v0, $zero, .L8014ACE8
|
||||
/* 0E13E4 8014ACE4 0060202D */ daddu $a0, $v1, $zero
|
||||
.L8014ACE8:
|
||||
/* 0E13E8 8014ACE8 3C058016 */ lui $a1, 0x8016
|
||||
/* 0E13EC 8014ACEC 24A59AE6 */ addiu $a1, $a1, -0x651a
|
||||
/* 0E13F0 8014ACF0 00041400 */ sll $v0, $a0, 0x10
|
||||
/* 0E13F4 8014ACF4 00022403 */ sra $a0, $v0, 0x10
|
||||
/* 0E13F8 8014ACF8 84A20000 */ lh $v0, ($a1)
|
||||
/* 0E13FC 8014ACFC 94A30000 */ lhu $v1, ($a1)
|
||||
/* 0E1400 8014AD00 1044000C */ beq $v0, $a0, .L8014AD34
|
||||
/* 0E1404 8014AD04 0044102A */ slt $v0, $v0, $a0
|
||||
/* 0E1408 8014AD08 14400002 */ bnez $v0, .L8014AD14
|
||||
/* 0E140C 8014AD0C 24620001 */ addiu $v0, $v1, 1
|
||||
/* 0E1410 8014AD10 2462FFFF */ addiu $v0, $v1, -1
|
||||
.L8014AD14:
|
||||
/* 0E1414 8014AD14 A4A20000 */ sh $v0, ($a1)
|
||||
/* 0E1418 8014AD18 3C048016 */ lui $a0, 0x8016
|
||||
/* 0E141C 8014AD1C 84849AE6 */ lh $a0, -0x651a($a0)
|
||||
/* 0E1420 8014AD20 0C015869 */ jal func_800561A4
|
||||
/* 0E1424 8014AD24 00000000 */ nop
|
||||
/* 0E1428 8014AD28 24020003 */ addiu $v0, $zero, 3
|
||||
/* 0E142C 8014AD2C 3C018015 */ lui $at, 0x8015
|
||||
/* 0E1430 8014AD30 A422F738 */ sh $v0, -0x8c8($at)
|
||||
.L8014AD34:
|
||||
/* 0E1434 8014AD34 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0E1438 8014AD38 03E00008 */ jr $ra
|
||||
/* 0E143C 8014AD3C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 0E1440 8014AD40 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E1444 8014AD44 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E1448 8014AD48 3C108016 */ lui $s0, 0x8016
|
||||
/* 0E144C 8014AD4C 26109AF0 */ addiu $s0, $s0, -0x6510
|
||||
/* 0E1450 8014AD50 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E1454 8014AD54 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 0E1458 8014AD58 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
.L8014AD5C:
|
||||
/* 0E145C 8014AD5C 96020000 */ lhu $v0, ($s0)
|
||||
/* 0E1460 8014AD60 30420001 */ andi $v0, $v0, 1
|
||||
/* 0E1464 8014AD64 10400006 */ beqz $v0, .L8014AD80
|
||||
/* 0E1468 8014AD68 26310001 */ addiu $s1, $s1, 1
|
||||
/* 0E146C 8014AD6C 8E040018 */ lw $a0, 0x18($s0)
|
||||
/* 0E1470 8014AD70 0C01567F */ jal func_800559FC
|
||||
/* 0E1474 8014AD74 00000000 */ nop
|
||||
/* 0E1478 8014AD78 14400005 */ bnez $v0, .L8014AD90
|
||||
/* 0E147C 8014AD7C 24020001 */ addiu $v0, $zero, 1
|
||||
.L8014AD80:
|
||||
/* 0E1480 8014AD80 2A220002 */ slti $v0, $s1, 2
|
||||
/* 0E1484 8014AD84 1440FFF5 */ bnez $v0, .L8014AD5C
|
||||
/* 0E1488 8014AD88 26100030 */ addiu $s0, $s0, 0x30
|
||||
/* 0E148C 8014AD8C 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8014AD90:
|
||||
/* 0E1490 8014AD90 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E1494 8014AD94 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0E1498 8014AD98 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E149C 8014AD9C 03E00008 */ jr $ra
|
||||
/* 0E14A0 8014ADA0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_8014ADA4
|
||||
/* 0E14A4 8014ADA4 3C028007 */ lui $v0, 0x8007
|
||||
/* 0E14A8 8014ADA8 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0E14AC 8014ADAC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E14B0 8014ADB0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0E14B4 8014ADB4 80420071 */ lb $v0, 0x71($v0)
|
||||
/* 0E14B8 8014ADB8 3C068016 */ lui $a2, 0x8016
|
||||
/* 0E14BC 8014ADBC 24C69AF0 */ addiu $a2, $a2, -0x6510
|
||||
/* 0E14C0 8014ADC0 1440000A */ bnez $v0, .L8014ADEC
|
||||
/* 0E14C4 8014ADC4 24030008 */ addiu $v1, $zero, 8
|
||||
/* 0E14C8 8014ADC8 94C20000 */ lhu $v0, ($a2)
|
||||
/* 0E14CC 8014ADCC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0E14D0 8014ADD0 AFA30010 */ sw $v1, 0x10($sp)
|
||||
/* 0E14D4 8014ADD4 8CC50024 */ lw $a1, 0x24($a2)
|
||||
/* 0E14D8 8014ADD8 00431025 */ or $v0, $v0, $v1
|
||||
/* 0E14DC 8014ADDC A4C20000 */ sh $v0, ($a2)
|
||||
/* 0E14E0 8014ADE0 8CC60028 */ lw $a2, 0x28($a2)
|
||||
/* 0E14E4 8014ADE4 0C0529F8 */ jal _set_music_track
|
||||
/* 0E14E8 8014ADE8 0080382D */ daddu $a3, $a0, $zero
|
||||
.L8014ADEC:
|
||||
/* 0E14EC 8014ADEC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E14F0 8014ADF0 03E00008 */ jr $ra
|
||||
/* 0E14F4 8014ADF4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_8014ADF8
|
||||
/* 0E14F8 8014ADF8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E14FC 8014ADFC 0080402D */ daddu $t0, $a0, $zero
|
||||
/* 0E1500 8014AE00 3C028007 */ lui $v0, 0x8007
|
||||
/* 0E1504 8014AE04 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0E1508 8014AE08 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0E150C 8014AE0C 80420071 */ lb $v0, 0x71($v0)
|
||||
/* 0E1510 8014AE10 3C078016 */ lui $a3, 0x8016
|
||||
/* 0E1514 8014AE14 24E79AF0 */ addiu $a3, $a3, -0x6510
|
||||
/* 0E1518 8014AE18 14400011 */ bnez $v0, .L8014AE60
|
||||
/* 0E151C 8014AE1C 00A0482D */ daddu $t1, $a1, $zero
|
||||
/* 0E1520 8014AE20 8CE40010 */ lw $a0, 0x10($a3)
|
||||
/* 0E1524 8014AE24 8CE50014 */ lw $a1, 0x14($a3)
|
||||
/* 0E1528 8014AE28 8CE60018 */ lw $a2, 0x18($a3)
|
||||
/* 0E152C 8014AE2C 94E30000 */ lhu $v1, ($a3)
|
||||
/* 0E1530 8014AE30 24020008 */ addiu $v0, $zero, 8
|
||||
/* 0E1534 8014AE34 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 0E1538 8014AE38 34630004 */ ori $v1, $v1, 4
|
||||
/* 0E153C 8014AE3C ACE40024 */ sw $a0, 0x24($a3)
|
||||
/* 0E1540 8014AE40 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0E1544 8014AE44 ACE50028 */ sw $a1, 0x28($a3)
|
||||
/* 0E1548 8014AE48 0100282D */ daddu $a1, $t0, $zero
|
||||
/* 0E154C 8014AE4C ACE6002C */ sw $a2, 0x2c($a3)
|
||||
/* 0E1550 8014AE50 0120302D */ daddu $a2, $t1, $zero
|
||||
/* 0E1554 8014AE54 A4E30000 */ sh $v1, ($a3)
|
||||
/* 0E1558 8014AE58 0C052A46 */ jal set_music_track
|
||||
/* 0E155C 8014AE5C 240701F4 */ addiu $a3, $zero, 0x1f4
|
||||
.L8014AE60:
|
||||
/* 0E1560 8014AE60 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E1564 8014AE64 03E00008 */ jr $ra
|
||||
/* 0E1568 8014AE68 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_8014AE6C
|
||||
/* 0E156C 8014AE6C 3C028007 */ lui $v0, 0x8007
|
||||
/* 0E1570 8014AE70 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0E1574 8014AE74 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E1578 8014AE78 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0E157C 8014AE7C 80420071 */ lb $v0, 0x71($v0)
|
||||
/* 0E1580 8014AE80 3C068016 */ lui $a2, 0x8016
|
||||
/* 0E1584 8014AE84 24C69AF0 */ addiu $a2, $a2, -0x6510
|
||||
/* 0E1588 8014AE88 14400018 */ bnez $v0, .L8014AEEC
|
||||
/* 0E158C 8014AE8C 3C020002 */ lui $v0, 2
|
||||
/* 0E1590 8014AE90 3C04800A */ lui $a0, 0x800a
|
||||
/* 0E1594 8014AE94 2484A650 */ addiu $a0, $a0, -0x59b0
|
||||
/* 0E1598 8014AE98 8C830000 */ lw $v1, ($a0)
|
||||
/* 0E159C 8014AE9C 00621024 */ and $v0, $v1, $v0
|
||||
/* 0E15A0 8014AEA0 10400005 */ beqz $v0, .L8014AEB8
|
||||
/* 0E15A4 8014AEA4 3C02FFFD */ lui $v0, 0xfffd
|
||||
/* 0E15A8 8014AEA8 3442FFFF */ ori $v0, $v0, 0xffff
|
||||
/* 0E15AC 8014AEAC 00621024 */ and $v0, $v1, $v0
|
||||
/* 0E15B0 8014AEB0 08052BBB */ j .L8014AEEC
|
||||
/* 0E15B4 8014AEB4 AC820000 */ sw $v0, ($a0)
|
||||
|
||||
.L8014AEB8:
|
||||
/* 0E15B8 8014AEB8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0E15BC 8014AEBC 8CC50024 */ lw $a1, 0x24($a2)
|
||||
/* 0E15C0 8014AEC0 94C20000 */ lhu $v0, ($a2)
|
||||
/* 0E15C4 8014AEC4 24030008 */ addiu $v1, $zero, 8
|
||||
/* 0E15C8 8014AEC8 AFA30010 */ sw $v1, 0x10($sp)
|
||||
/* 0E15CC 8014AECC 00431025 */ or $v0, $v0, $v1
|
||||
/* 0E15D0 8014AED0 A4C20000 */ sh $v0, ($a2)
|
||||
/* 0E15D4 8014AED4 8CC60028 */ lw $a2, 0x28($a2)
|
||||
/* 0E15D8 8014AED8 0C0529F8 */ jal _set_music_track
|
||||
/* 0E15DC 8014AEDC 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 0E15E0 8014AEE0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0E15E4 8014AEE4 0C015564 */ jal func_80055590
|
||||
/* 0E15E8 8014AEE8 240500FA */ addiu $a1, $zero, 0xfa
|
||||
.L8014AEEC:
|
||||
/* 0E15EC 8014AEEC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E15F0 8014AEF0 03E00008 */ jr $ra
|
||||
/* 0E15F4 8014AEF4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_8014AEF8
|
||||
/* 0E15F8 8014AEF8 3C028007 */ lui $v0, 0x8007
|
||||
/* 0E15FC 8014AEFC 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0E1600 8014AF00 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E1604 8014AF04 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0E1608 8014AF08 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 0E160C 8014AF0C 80420071 */ lb $v0, 0x71($v0)
|
||||
/* 0E1610 8014AF10 3C108016 */ lui $s0, 0x8016
|
||||
/* 0E1614 8014AF14 26109AF0 */ addiu $s0, $s0, -0x6510
|
||||
/* 0E1618 8014AF18 14400018 */ bnez $v0, .L8014AF7C
|
||||
/* 0E161C 8014AF1C 3C030002 */ lui $v1, 2
|
||||
/* 0E1620 8014AF20 3C02800A */ lui $v0, 0x800a
|
||||
/* 0E1624 8014AF24 8C42A650 */ lw $v0, -0x59b0($v0)
|
||||
/* 0E1628 8014AF28 00431024 */ and $v0, $v0, $v1
|
||||
/* 0E162C 8014AF2C 14400013 */ bnez $v0, .L8014AF7C
|
||||
/* 0E1630 8014AF30 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0E1634 8014AF34 0C01554F */ jal func_8005553C
|
||||
/* 0E1638 8014AF38 240500FA */ addiu $a1, $zero, 0xfa
|
||||
/* 0E163C 8014AF3C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0E1640 8014AF40 8E05001C */ lw $a1, 0x1c($s0)
|
||||
/* 0E1644 8014AF44 8E060010 */ lw $a2, 0x10($s0)
|
||||
/* 0E1648 8014AF48 8E070014 */ lw $a3, 0x14($s0)
|
||||
/* 0E164C 8014AF4C 8E080018 */ lw $t0, 0x18($s0)
|
||||
/* 0E1650 8014AF50 96030000 */ lhu $v1, ($s0)
|
||||
/* 0E1654 8014AF54 24020008 */ addiu $v0, $zero, 8
|
||||
/* 0E1658 8014AF58 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 0E165C 8014AF5C AE060024 */ sw $a2, 0x24($s0)
|
||||
/* 0E1660 8014AF60 8E060020 */ lw $a2, 0x20($s0)
|
||||
/* 0E1664 8014AF64 34630004 */ ori $v1, $v1, 4
|
||||
/* 0E1668 8014AF68 AE070028 */ sw $a3, 0x28($s0)
|
||||
/* 0E166C 8014AF6C 240701F4 */ addiu $a3, $zero, 0x1f4
|
||||
/* 0E1670 8014AF70 AE08002C */ sw $t0, 0x2c($s0)
|
||||
/* 0E1674 8014AF74 0C052A46 */ jal set_music_track
|
||||
/* 0E1678 8014AF78 A6030000 */ sh $v1, ($s0)
|
||||
.L8014AF7C:
|
||||
/* 0E167C 8014AF7C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0E1680 8014AF80 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 0E1684 8014AF84 03E00008 */ jr $ra
|
||||
/* 0E1688 8014AF88 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_8014AF8C
|
||||
/* 0E168C 8014AF8C 3C028016 */ lui $v0, 0x8016
|
||||
/* 0E1690 8014AF90 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* 0E1694 8014AF94 AC44001C */ sw $a0, 0x1c($v0)
|
||||
/* 0E1698 8014AF98 03E00008 */ jr $ra
|
||||
/* 0E169C 8014AF9C AC450020 */ sw $a1, 0x20($v0)
|
||||
|
||||
/* 0E16A0 8014AFA0 03E00008 */ jr $ra
|
||||
/* 0E16A4 8014AFA4 00000000 */ nop
|
||||
|
||||
/* 0E16A8 8014AFA8 00000000 */ nop
|
||||
/* 0E16AC 8014AFAC 00000000 */ nop
|
||||
|
||||
.set reorder
|
@ -1,495 +0,0 @@
|
||||
# %s disassembly and split file
|
||||
# generated by n64split v%s - N64 ROM splitter
|
||||
|
||||
# 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
|
||||
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802B7000, "ax"
|
||||
|
||||
glabel func_802B7000
|
||||
/* E20EB0 802B7000 3C014387 */ lui $at, 0x4387
|
||||
/* E20EB4 802B7004 44810000 */ mtc1 $at, $f0
|
||||
/* E20EB8 802B7008 00000000 */ nop
|
||||
/* E20EBC 802B700C 460C003E */ c.le.s $f0, $f12
|
||||
/* E20EC0 802B7010 00000000 */ nop
|
||||
/* E20EC4 802B7014 45000009 */ bc1f .L802B703C
|
||||
/* E20EC8 802B7018 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* E20ECC 802B701C 3C0143B4 */ lui $at, 0x43b4
|
||||
/* E20ED0 802B7020 44810000 */ mtc1 $at, $f0
|
||||
/* E20ED4 802B7024 00000000 */ nop
|
||||
/* E20ED8 802B7028 460C0001 */ sub.s $f0, $f0, $f12
|
||||
/* E20EDC 802B702C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* E20EE0 802B7030 44032000 */ mfc1 $v1, $f4
|
||||
/* E20EE4 802B7034 080ADC2B */ j .L802B70AC
|
||||
/* E20EE8 802B7038 00431023 */ subu $v0, $v0, $v1
|
||||
.L802B703C:
|
||||
/* E20EEC 802B703C 3C014334 */ lui $at, 0x4334
|
||||
/* E20EF0 802B7040 44811000 */ mtc1 $at, $f2
|
||||
/* E20EF4 802B7044 00000000 */ nop
|
||||
/* E20EF8 802B7048 460C103E */ c.le.s $f2, $f12
|
||||
/* E20EFC 802B704C 00000000 */ nop
|
||||
/* E20F00 802B7050 45000006 */ bc1f .L802B706C
|
||||
/* E20F04 802B7054 00000000 */ nop
|
||||
/* E20F08 802B7058 46026001 */ sub.s $f0, $f12, $f2
|
||||
/* E20F0C 802B705C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* E20F10 802B7060 44032000 */ mfc1 $v1, $f4
|
||||
/* E20F14 802B7064 080ADC2B */ j .L802B70AC
|
||||
/* E20F18 802B7068 00431023 */ subu $v0, $v0, $v1
|
||||
.L802B706C:
|
||||
/* E20F1C 802B706C 3C0142B4 */ lui $at, 0x42b4
|
||||
/* E20F20 802B7070 44810000 */ mtc1 $at, $f0
|
||||
/* E20F24 802B7074 00000000 */ nop
|
||||
/* E20F28 802B7078 460C003E */ c.le.s $f0, $f12
|
||||
/* E20F2C 802B707C 00000000 */ nop
|
||||
/* E20F30 802B7080 45000006 */ bc1f .L802B709C
|
||||
/* E20F34 802B7084 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* E20F38 802B7088 460C1001 */ sub.s $f0, $f2, $f12
|
||||
/* E20F3C 802B708C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* E20F40 802B7090 44032000 */ mfc1 $v1, $f4
|
||||
/* E20F44 802B7094 080ADC2B */ j .L802B70AC
|
||||
/* E20F48 802B7098 00431023 */ subu $v0, $v0, $v1
|
||||
.L802B709C:
|
||||
/* E20F4C 802B709C 4600610D */ trunc.w.s $f4, $f12
|
||||
/* E20F50 802B70A0 44032000 */ mfc1 $v1, $f4
|
||||
/* E20F54 802B70A4 00000000 */ nop
|
||||
/* E20F58 802B70A8 00431023 */ subu $v0, $v0, $v1
|
||||
.L802B70AC:
|
||||
/* E20F5C 802B70AC 03E00008 */ jr $ra
|
||||
/* E20F60 802B70B0 00431023 */ subu $v0, $v0, $v1
|
||||
|
||||
glabel func_802B70B4
|
||||
/* E20F64 802B70B4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* E20F68 802B70B8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* E20F6C 802B70BC 3C10802B */ lui $s0, 0x802b
|
||||
/* E20F70 802B70C0 261079A8 */ addiu $s0, $s0, 0x79a8
|
||||
/* E20F74 802B70C4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* E20F78 802B70C8 8E040000 */ lw $a0, ($s0)
|
||||
/* E20F7C 802B70CC 0C00A580 */ jal mem_clear
|
||||
/* E20F80 802B70D0 2405002C */ addiu $a1, $zero, 0x2c
|
||||
/* E20F84 802B70D4 3C058011 */ lui $a1, 0x8011
|
||||
/* E20F88 802B70D8 24A5EFC8 */ addiu $a1, $a1, -0x1038
|
||||
/* E20F8C 802B70DC 8CA400C8 */ lw $a0, 0xc8($a1)
|
||||
/* E20F90 802B70E0 8E020000 */ lw $v0, ($s0)
|
||||
/* E20F94 802B70E4 AC440000 */ sw $a0, ($v0)
|
||||
/* E20F98 802B70E8 848300A8 */ lh $v1, 0xa8($a0)
|
||||
/* E20F9C 802B70EC C480003C */ lwc1 $f0, 0x3c($a0)
|
||||
/* E20FA0 802B70F0 44831000 */ mtc1 $v1, $f2
|
||||
/* E20FA4 802B70F4 00000000 */ nop
|
||||
/* E20FA8 802B70F8 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* E20FAC 802B70FC 46020000 */ add.s $f0, $f0, $f2
|
||||
/* E20FB0 802B7100 3C014100 */ lui $at, 0x4100
|
||||
/* E20FB4 802B7104 44811000 */ mtc1 $at, $f2
|
||||
/* E20FB8 802B7108 00000000 */ nop
|
||||
/* E20FBC 802B710C 46020000 */ add.s $f0, $f0, $f2
|
||||
/* E20FC0 802B7110 E440001C */ swc1 $f0, 0x1c($v0)
|
||||
/* E20FC4 802B7114 E4400008 */ swc1 $f0, 8($v0)
|
||||
/* E20FC8 802B7118 C4800038 */ lwc1 $f0, 0x38($a0)
|
||||
/* E20FCC 802B711C E4400004 */ swc1 $f0, 4($v0)
|
||||
/* E20FD0 802B7120 C4820040 */ lwc1 $f2, 0x40($a0)
|
||||
/* E20FD4 802B7124 A040002A */ sb $zero, 0x2a($v0)
|
||||
/* E20FD8 802B7128 8E040000 */ lw $a0, ($s0)
|
||||
/* E20FDC 802B712C 3C013DCC */ lui $at, 0x3dcc
|
||||
/* E20FE0 802B7130 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* E20FE4 802B7134 44810000 */ mtc1 $at, $f0
|
||||
/* E20FE8 802B7138 3C03802B */ lui $v1, 0x802b
|
||||
/* E20FEC 802B713C 2463742C */ addiu $v1, $v1, 0x742c
|
||||
/* E20FF0 802B7140 AC400018 */ sw $zero, 0x18($v0)
|
||||
/* E20FF4 802B7144 3C018011 */ lui $at, 0x8011
|
||||
/* E20FF8 802B7148 AC23C940 */ sw $v1, -0x36c0($at)
|
||||
/* E20FFC 802B714C E442000C */ swc1 $f2, 0xc($v0)
|
||||
/* E21000 802B7150 E4800014 */ swc1 $f0, 0x14($a0)
|
||||
/* E21004 802B7154 8CA20004 */ lw $v0, 4($a1)
|
||||
/* E21008 802B7158 3C013ECC */ lui $at, 0x3ecc
|
||||
/* E2100C 802B715C 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* E21010 802B7160 44810000 */ mtc1 $at, $f0
|
||||
/* E21014 802B7164 34420020 */ ori $v0, $v0, 0x20
|
||||
/* E21018 802B7168 ACA20004 */ sw $v0, 4($a1)
|
||||
/* E2101C 802B716C A080002A */ sb $zero, 0x2a($a0)
|
||||
/* E21020 802B7170 3C038007 */ lui $v1, 0x8007
|
||||
/* E21024 802B7174 8C637410 */ lw $v1, 0x7410($v1)
|
||||
/* E21028 802B7178 E4800014 */ swc1 $f0, 0x14($a0)
|
||||
/* E2102C 802B717C 00031080 */ sll $v0, $v1, 2
|
||||
/* E21030 802B7180 00431021 */ addu $v0, $v0, $v1
|
||||
/* E21034 802B7184 00021080 */ sll $v0, $v0, 2
|
||||
/* E21038 802B7188 00431023 */ subu $v0, $v0, $v1
|
||||
/* E2103C 802B718C 000218C0 */ sll $v1, $v0, 3
|
||||
/* E21040 802B7190 00431021 */ addu $v0, $v0, $v1
|
||||
/* E21044 802B7194 000210C0 */ sll $v0, $v0, 3
|
||||
/* E21048 802B7198 3C01800B */ lui $at, 0x800b
|
||||
/* E2104C 802B719C 00220821 */ addu $at, $at, $v0
|
||||
/* E21050 802B71A0 C4201DEC */ lwc1 $f0, 0x1dec($at)
|
||||
/* E21054 802B71A4 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* E21058 802B71A8 8E030000 */ lw $v1, ($s0)
|
||||
/* E2105C 802B71AC 46000007 */ neg.s $f0, $f0
|
||||
/* E21060 802B71B0 A062002B */ sb $v0, 0x2b($v1)
|
||||
/* E21064 802B71B4 E4600010 */ swc1 $f0, 0x10($v1)
|
||||
/* E21068 802B71B8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* E2106C 802B71BC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* E21070 802B71C0 03E00008 */ jr $ra
|
||||
/* E21074 802B71C4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_802B71C8
|
||||
/* E21078 802B71C8 3C028011 */ lui $v0, 0x8011
|
||||
/* E2107C 802B71CC 8C42EFCC */ lw $v0, -0x1034($v0)
|
||||
/* E21080 802B71D0 27BDFF28 */ addiu $sp, $sp, -0xd8
|
||||
/* E21084 802B71D4 AFBF00D0 */ sw $ra, 0xd0($sp)
|
||||
/* E21088 802B71D8 AFB500CC */ sw $s5, 0xcc($sp)
|
||||
/* E2108C 802B71DC AFB400C8 */ sw $s4, 0xc8($sp)
|
||||
/* E21090 802B71E0 AFB300C4 */ sw $s3, 0xc4($sp)
|
||||
/* E21094 802B71E4 AFB200C0 */ sw $s2, 0xc0($sp)
|
||||
/* E21098 802B71E8 AFB100BC */ sw $s1, 0xbc($sp)
|
||||
/* E2109C 802B71EC 30420020 */ andi $v0, $v0, 0x20
|
||||
/* E210A0 802B71F0 10400085 */ beqz $v0, .L802B7408
|
||||
/* E210A4 802B71F4 AFB000B8 */ sw $s0, 0xb8($sp)
|
||||
/* E210A8 802B71F8 27B00038 */ addiu $s0, $sp, 0x38
|
||||
/* E210AC 802B71FC 3C14802B */ lui $s4, 0x802b
|
||||
/* E210B0 802B7200 269479A8 */ addiu $s4, $s4, 0x79a8
|
||||
/* E210B4 802B7204 8E820000 */ lw $v0, ($s4)
|
||||
/* E210B8 802B7208 0200202D */ daddu $a0, $s0, $zero
|
||||
/* E210BC 802B720C 8C450014 */ lw $a1, 0x14($v0)
|
||||
/* E210C0 802B7210 3C150001 */ lui $s5, 1
|
||||
/* E210C4 802B7214 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* E210C8 802B7218 0C019DF0 */ jal guScaleF
|
||||
/* E210CC 802B721C 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* E210D0 802B7220 3C038007 */ lui $v1, 0x8007
|
||||
/* E210D4 802B7224 8C637410 */ lw $v1, 0x7410($v1)
|
||||
/* E210D8 802B7228 27B10078 */ addiu $s1, $sp, 0x78
|
||||
/* E210DC 802B722C 00031080 */ sll $v0, $v1, 2
|
||||
/* E210E0 802B7230 00431021 */ addu $v0, $v0, $v1
|
||||
/* E210E4 802B7234 00021080 */ sll $v0, $v0, 2
|
||||
/* E210E8 802B7238 00431023 */ subu $v0, $v0, $v1
|
||||
/* E210EC 802B723C 000218C0 */ sll $v1, $v0, 3
|
||||
/* E210F0 802B7240 00431021 */ addu $v0, $v0, $v1
|
||||
/* E210F4 802B7244 000210C0 */ sll $v0, $v0, 3
|
||||
/* E210F8 802B7248 8E830000 */ lw $v1, ($s4)
|
||||
/* E210FC 802B724C 3C01800B */ lui $at, 0x800b
|
||||
/* E21100 802B7250 00220821 */ addu $at, $at, $v0
|
||||
/* E21104 802B7254 C4221DEC */ lwc1 $f2, 0x1dec($at)
|
||||
/* E21108 802B7258 C4640010 */ lwc1 $f4, 0x10($v1)
|
||||
/* E2110C 802B725C 44800000 */ mtc1 $zero, $f0
|
||||
/* E21110 802B7260 46022101 */ sub.s $f4, $f4, $f2
|
||||
/* E21114 802B7264 3C073F80 */ lui $a3, 0x3f80
|
||||
/* E21118 802B7268 44060000 */ mfc1 $a2, $f0
|
||||
/* E2111C 802B726C 44052000 */ mfc1 $a1, $f4
|
||||
/* E21120 802B7270 0220202D */ daddu $a0, $s1, $zero
|
||||
/* E21124 802B7274 0C019EC8 */ jal guRotateF
|
||||
/* E21128 802B7278 AFA60010 */ sw $a2, 0x10($sp)
|
||||
/* E2112C 802B727C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* E21130 802B7280 0220282D */ daddu $a1, $s1, $zero
|
||||
/* E21134 802B7284 0C019D80 */ jal guMtxCatF
|
||||
/* E21138 802B7288 0200302D */ daddu $a2, $s0, $zero
|
||||
/* E2113C 802B728C 8E820000 */ lw $v0, ($s4)
|
||||
/* E21140 802B7290 36B51630 */ ori $s5, $s5, 0x1630
|
||||
/* E21144 802B7294 8C450004 */ lw $a1, 4($v0)
|
||||
/* E21148 802B7298 8C460008 */ lw $a2, 8($v0)
|
||||
/* E2114C 802B729C 8C47000C */ lw $a3, 0xc($v0)
|
||||
/* E21150 802B72A0 0C019E40 */ jal guTranslateF
|
||||
/* E21154 802B72A4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* E21158 802B72A8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* E2115C 802B72AC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* E21160 802B72B0 0C019D80 */ jal guMtxCatF
|
||||
/* E21164 802B72B4 0220302D */ daddu $a2, $s1, $zero
|
||||
/* E21168 802B72B8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* E2116C 802B72BC 3C108007 */ lui $s0, 0x8007
|
||||
/* E21170 802B72C0 261041F0 */ addiu $s0, $s0, 0x41f0
|
||||
/* E21174 802B72C4 3C13800A */ lui $s3, 0x800a
|
||||
/* E21178 802B72C8 2673A674 */ addiu $s3, $s3, -0x598c
|
||||
/* E2117C 802B72CC 96050000 */ lhu $a1, ($s0)
|
||||
/* E21180 802B72D0 8E620000 */ lw $v0, ($s3)
|
||||
/* E21184 802B72D4 00052980 */ sll $a1, $a1, 6
|
||||
/* E21188 802B72D8 00B52821 */ addu $a1, $a1, $s5
|
||||
/* E2118C 802B72DC 0C019D40 */ jal guMtxF2L
|
||||
/* E21190 802B72E0 00452821 */ addu $a1, $v0, $a1
|
||||
/* E21194 802B72E4 3C03DA38 */ lui $v1, 0xda38
|
||||
/* E21198 802B72E8 34630002 */ ori $v1, $v1, 2
|
||||
/* E2119C 802B72EC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* E211A0 802B72F0 0080282D */ daddu $a1, $a0, $zero
|
||||
/* E211A4 802B72F4 0080302D */ daddu $a2, $a0, $zero
|
||||
/* E211A8 802B72F8 3C12800A */ lui $s2, 0x800a
|
||||
/* E211AC 802B72FC 2652A66C */ addiu $s2, $s2, -0x5994
|
||||
/* E211B0 802B7300 0080382D */ daddu $a3, $a0, $zero
|
||||
/* E211B4 802B7304 8E480000 */ lw $t0, ($s2)
|
||||
/* E211B8 802B7308 96020000 */ lhu $v0, ($s0)
|
||||
/* E211BC 802B730C 0100482D */ daddu $t1, $t0, $zero
|
||||
/* E211C0 802B7310 25080008 */ addiu $t0, $t0, 8
|
||||
/* E211C4 802B7314 AE480000 */ sw $t0, ($s2)
|
||||
/* E211C8 802B7318 AD230000 */ sw $v1, ($t1)
|
||||
/* E211CC 802B731C 24430001 */ addiu $v1, $v0, 1
|
||||
/* E211D0 802B7320 3042FFFF */ andi $v0, $v0, 0xffff
|
||||
/* E211D4 802B7324 00021180 */ sll $v0, $v0, 6
|
||||
/* E211D8 802B7328 00551021 */ addu $v0, $v0, $s5
|
||||
/* E211DC 802B732C A6030000 */ sh $v1, ($s0)
|
||||
/* E211E0 802B7330 8E630000 */ lw $v1, ($s3)
|
||||
/* E211E4 802B7334 24100440 */ addiu $s0, $zero, 0x440
|
||||
/* E211E8 802B7338 00621821 */ addu $v1, $v1, $v0
|
||||
/* E211EC 802B733C 25020008 */ addiu $v0, $t0, 8
|
||||
/* E211F0 802B7340 AD230004 */ sw $v1, 4($t1)
|
||||
/* E211F4 802B7344 AE420000 */ sw $v0, ($s2)
|
||||
/* E211F8 802B7348 3C02DE00 */ lui $v0, 0xde00
|
||||
/* E211FC 802B734C AD020000 */ sw $v0, ($t0)
|
||||
/* E21200 802B7350 3C02802B */ lui $v0, 0x802b
|
||||
/* E21204 802B7354 24427930 */ addiu $v0, $v0, 0x7930
|
||||
/* E21208 802B7358 AD020004 */ sw $v0, 4($t0)
|
||||
/* E2120C 802B735C 3C02802B */ lui $v0, 0x802b
|
||||
/* E21210 802B7360 24427710 */ addiu $v0, $v0, 0x7710
|
||||
/* E21214 802B7364 AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* E21218 802B7368 3C02802B */ lui $v0, 0x802b
|
||||
/* E2121C 802B736C 24427910 */ addiu $v0, $v0, 0x7910
|
||||
/* E21220 802B7370 AFA20024 */ sw $v0, 0x24($sp)
|
||||
/* E21224 802B7374 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* E21228 802B7378 A7A20028 */ sh $v0, 0x28($sp)
|
||||
/* E2122C 802B737C A7A2002A */ sh $v0, 0x2a($sp)
|
||||
/* E21230 802B7380 2402FFF0 */ addiu $v0, $zero, -0x10
|
||||
/* E21234 802B7384 A7A2002C */ sh $v0, 0x2c($sp)
|
||||
/* E21238 802B7388 2402001A */ addiu $v0, $zero, 0x1a
|
||||
/* E2123C 802B738C A7A2002E */ sh $v0, 0x2e($sp)
|
||||
/* E21240 802B7390 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* E21244 802B7394 A3A20030 */ sb $v0, 0x30($sp)
|
||||
/* E21248 802B7398 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* E2124C 802B739C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* E21250 802B73A0 0C04EAA7 */ jal func_8013AA9C
|
||||
/* E21254 802B73A4 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* E21258 802B73A8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* E2125C 802B73AC 8E820000 */ lw $v0, ($s4)
|
||||
/* E21260 802B73B0 24050006 */ addiu $a1, $zero, 6
|
||||
/* E21264 802B73B4 9046002B */ lbu $a2, 0x2b($v0)
|
||||
/* E21268 802B73B8 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* E2126C 802B73BC AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* E21270 802B73C0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* E21274 802B73C4 00C0382D */ daddu $a3, $a2, $zero
|
||||
/* E21278 802B73C8 0C04EAA7 */ jal func_8013AA9C
|
||||
/* E2127C 802B73CC AFA60010 */ sw $a2, 0x10($sp)
|
||||
/* E21280 802B73D0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* E21284 802B73D4 27A50020 */ addiu $a1, $sp, 0x20
|
||||
/* E21288 802B73D8 24060040 */ addiu $a2, $zero, 0x40
|
||||
/* E2128C 802B73DC 0C04EBDC */ jal func_8013AF70
|
||||
/* E21290 802B73E0 0220382D */ daddu $a3, $s1, $zero
|
||||
/* E21294 802B73E4 3C04D838 */ lui $a0, 0xd838
|
||||
/* E21298 802B73E8 8E420000 */ lw $v0, ($s2)
|
||||
/* E2129C 802B73EC 34840002 */ ori $a0, $a0, 2
|
||||
/* E212A0 802B73F0 0040182D */ daddu $v1, $v0, $zero
|
||||
/* E212A4 802B73F4 24420008 */ addiu $v0, $v0, 8
|
||||
/* E212A8 802B73F8 AE420000 */ sw $v0, ($s2)
|
||||
/* E212AC 802B73FC 24020040 */ addiu $v0, $zero, 0x40
|
||||
/* E212B0 802B7400 AC640000 */ sw $a0, ($v1)
|
||||
/* E212B4 802B7404 AC620004 */ sw $v0, 4($v1)
|
||||
.L802B7408:
|
||||
/* E212B8 802B7408 8FBF00D0 */ lw $ra, 0xd0($sp)
|
||||
/* E212BC 802B740C 8FB500CC */ lw $s5, 0xcc($sp)
|
||||
/* E212C0 802B7410 8FB400C8 */ lw $s4, 0xc8($sp)
|
||||
/* E212C4 802B7414 8FB300C4 */ lw $s3, 0xc4($sp)
|
||||
/* E212C8 802B7418 8FB200C0 */ lw $s2, 0xc0($sp)
|
||||
/* E212CC 802B741C 8FB100BC */ lw $s1, 0xbc($sp)
|
||||
/* E212D0 802B7420 8FB000B8 */ lw $s0, 0xb8($sp)
|
||||
/* E212D4 802B7424 03E00008 */ jr $ra
|
||||
/* E212D8 802B7428 27BD00D8 */ addiu $sp, $sp, 0xd8
|
||||
|
||||
glabel func_802B742C
|
||||
/* E212DC 802B742C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* E212E0 802B7430 3C020204 */ lui $v0, 0x204
|
||||
/* E212E4 802B7434 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* E212E8 802B7438 3C108011 */ lui $s0, 0x8011
|
||||
/* E212EC 802B743C 2610EFC8 */ addiu $s0, $s0, -0x1038
|
||||
/* E212F0 802B7440 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* E212F4 802B7444 8E030000 */ lw $v1, ($s0)
|
||||
/* E212F8 802B7448 34420020 */ ori $v0, $v0, 0x20
|
||||
/* E212FC 802B744C 00621824 */ and $v1, $v1, $v0
|
||||
/* E21300 802B7450 3C020200 */ lui $v0, 0x200
|
||||
/* E21304 802B7454 14620010 */ bne $v1, $v0, .L802B7498
|
||||
/* E21308 802B7458 240600FF */ addiu $a2, $zero, 0xff
|
||||
/* E2130C 802B745C 3C03800A */ lui $v1, 0x800a
|
||||
/* E21310 802B7460 8C63A600 */ lw $v1, -0x5a00($v1)
|
||||
/* E21314 802B7464 24020004 */ addiu $v0, $zero, 4
|
||||
/* E21318 802B7468 1062000B */ beq $v1, $v0, .L802B7498
|
||||
/* E2131C 802B746C 00000000 */ nop
|
||||
/* E21320 802B7470 8E030004 */ lw $v1, 4($s0)
|
||||
/* E21324 802B7474 30620001 */ andi $v0, $v1, 1
|
||||
/* E21328 802B7478 14400007 */ bnez $v0, .L802B7498
|
||||
/* E2132C 802B747C 00000000 */ nop
|
||||
/* E21330 802B7480 82020015 */ lb $v0, 0x15($s0)
|
||||
/* E21334 802B7484 14400004 */ bnez $v0, .L802B7498
|
||||
/* E21338 802B7488 3C020001 */ lui $v0, 1
|
||||
/* E2133C 802B748C 00621024 */ and $v0, $v1, $v0
|
||||
/* E21340 802B7490 10400005 */ beqz $v0, .L802B74A8
|
||||
/* E21344 802B7494 00000000 */ nop
|
||||
.L802B7498:
|
||||
/* E21348 802B7498 3C03802B */ lui $v1, 0x802b
|
||||
/* E2134C 802B749C 8C6379A8 */ lw $v1, 0x79a8($v1)
|
||||
/* E21350 802B74A0 24020003 */ addiu $v0, $zero, 3
|
||||
/* E21354 802B74A4 A062002A */ sb $v0, 0x2a($v1)
|
||||
.L802B74A8:
|
||||
/* E21358 802B74A8 3C03802B */ lui $v1, 0x802b
|
||||
/* E2135C 802B74AC 246379A8 */ addiu $v1, $v1, 0x79a8
|
||||
/* E21360 802B74B0 8C640000 */ lw $a0, ($v1)
|
||||
/* E21364 802B74B4 9085002A */ lbu $a1, 0x2a($a0)
|
||||
/* E21368 802B74B8 24020001 */ addiu $v0, $zero, 1
|
||||
/* E2136C 802B74BC 10A20026 */ beq $a1, $v0, .L802B7558
|
||||
/* E21370 802B74C0 28A20002 */ slti $v0, $a1, 2
|
||||
/* E21374 802B74C4 10400005 */ beqz $v0, .L802B74DC
|
||||
/* E21378 802B74C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* E2137C 802B74CC 10A00009 */ beqz $a1, .L802B74F4
|
||||
/* E21380 802B74D0 00000000 */ nop
|
||||
/* E21384 802B74D4 080ADDA0 */ j .L802B7680
|
||||
/* E21388 802B74D8 00000000 */ nop
|
||||
.L802B74DC:
|
||||
/* E2138C 802B74DC 10A20027 */ beq $a1, $v0, .L802B757C
|
||||
/* E21390 802B74E0 24020003 */ addiu $v0, $zero, 3
|
||||
/* E21394 802B74E4 10A20033 */ beq $a1, $v0, .L802B75B4
|
||||
/* E21398 802B74E8 00000000 */ nop
|
||||
/* E2139C 802B74EC 080ADDA0 */ j .L802B7680
|
||||
/* E213A0 802B74F0 00000000 */ nop
|
||||
.L802B74F4:
|
||||
/* E213A4 802B74F4 C4800014 */ lwc1 $f0, 0x14($a0)
|
||||
/* E213A8 802B74F8 3C01802B */ lui $at, 0x802b
|
||||
/* E213AC 802B74FC D42279B0 */ ldc1 $f2, 0x79b0($at)
|
||||
/* E213B0 802B7500 3C01802B */ lui $at, 0x802b
|
||||
/* E213B4 802B7504 D42479B8 */ ldc1 $f4, 0x79b8($at)
|
||||
/* E213B8 802B7508 46000021 */ cvt.d.s $f0, $f0
|
||||
/* E213BC 802B750C 46220000 */ add.d $f0, $f0, $f2
|
||||
/* E213C0 802B7510 AC800010 */ sw $zero, 0x10($a0)
|
||||
/* E213C4 802B7514 46200020 */ cvt.s.d $f0, $f0
|
||||
/* E213C8 802B7518 460000A1 */ cvt.d.s $f2, $f0
|
||||
/* E213CC 802B751C 4622203E */ c.le.d $f4, $f2
|
||||
/* E213D0 802B7520 00000000 */ nop
|
||||
/* E213D4 802B7524 45000056 */ bc1f .L802B7680
|
||||
/* E213D8 802B7528 E4800014 */ swc1 $f0, 0x14($a0)
|
||||
/* E213DC 802B752C 9082002A */ lbu $v0, 0x2a($a0)
|
||||
/* E213E0 802B7530 3C013F0C */ lui $at, 0x3f0c
|
||||
/* E213E4 802B7534 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* E213E8 802B7538 44810000 */ mtc1 $at, $f0
|
||||
/* E213EC 802B753C 24420001 */ addiu $v0, $v0, 1
|
||||
/* E213F0 802B7540 E4800014 */ swc1 $f0, 0x14($a0)
|
||||
/* E213F4 802B7544 A082002A */ sb $v0, 0x2a($a0)
|
||||
/* E213F8 802B7548 8C630000 */ lw $v1, ($v1)
|
||||
/* E213FC 802B754C 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* E21400 802B7550 080ADDA0 */ j .L802B7680
|
||||
/* E21404 802B7554 AC620020 */ sw $v0, 0x20($v1)
|
||||
.L802B7558:
|
||||
/* E21408 802B7558 8C820020 */ lw $v0, 0x20($a0)
|
||||
/* E2140C 802B755C AC800010 */ sw $zero, 0x10($a0)
|
||||
/* E21410 802B7560 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* E21414 802B7564 1C400046 */ bgtz $v0, .L802B7680
|
||||
/* E21418 802B7568 AC820020 */ sw $v0, 0x20($a0)
|
||||
/* E2141C 802B756C 9082002A */ lbu $v0, 0x2a($a0)
|
||||
/* E21420 802B7570 24420001 */ addiu $v0, $v0, 1
|
||||
/* E21424 802B7574 080ADDA0 */ j .L802B7680
|
||||
/* E21428 802B7578 A082002A */ sb $v0, 0x2a($a0)
|
||||
.L802B757C:
|
||||
/* E2142C 802B757C C48C0010 */ lwc1 $f12, 0x10($a0)
|
||||
/* E21430 802B7580 3C014120 */ lui $at, 0x4120
|
||||
/* E21434 802B7584 44810000 */ mtc1 $at, $f0
|
||||
/* E21438 802B7588 00000000 */ nop
|
||||
/* E2143C 802B758C 46006300 */ add.s $f12, $f12, $f0
|
||||
/* E21440 802B7590 3C0143B4 */ lui $at, 0x43b4
|
||||
/* E21444 802B7594 44810000 */ mtc1 $at, $f0
|
||||
/* E21448 802B7598 00000000 */ nop
|
||||
/* E2144C 802B759C 460C003E */ c.le.s $f0, $f12
|
||||
/* E21450 802B75A0 00000000 */ nop
|
||||
/* E21454 802B75A4 45030001 */ bc1tl .L802B75AC
|
||||
/* E21458 802B75A8 46006301 */ sub.s $f12, $f12, $f0
|
||||
.L802B75AC:
|
||||
/* E2145C 802B75AC 080ADD9D */ j .L802B7674
|
||||
/* E21460 802B75B0 E48C0010 */ swc1 $f12, 0x10($a0)
|
||||
.L802B75B4:
|
||||
/* E21464 802B75B4 C48C0010 */ lwc1 $f12, 0x10($a0)
|
||||
/* E21468 802B75B8 3C0141C8 */ lui $at, 0x41c8
|
||||
/* E2146C 802B75BC 44810000 */ mtc1 $at, $f0
|
||||
/* E21470 802B75C0 00000000 */ nop
|
||||
/* E21474 802B75C4 46006300 */ add.s $f12, $f12, $f0
|
||||
/* E21478 802B75C8 3C0143B4 */ lui $at, 0x43b4
|
||||
/* E2147C 802B75CC 44810000 */ mtc1 $at, $f0
|
||||
/* E21480 802B75D0 00000000 */ nop
|
||||
/* E21484 802B75D4 460C003E */ c.le.s $f0, $f12
|
||||
/* E21488 802B75D8 00000000 */ nop
|
||||
/* E2148C 802B75DC 45030001 */ bc1tl .L802B75E4
|
||||
/* E21490 802B75E0 46006301 */ sub.s $f12, $f12, $f0
|
||||
.L802B75E4:
|
||||
/* E21494 802B75E4 3C01428C */ lui $at, 0x428c
|
||||
/* E21498 802B75E8 44810000 */ mtc1 $at, $f0
|
||||
/* E2149C 802B75EC 00000000 */ nop
|
||||
/* E214A0 802B75F0 460C003E */ c.le.s $f0, $f12
|
||||
/* E214A4 802B75F4 00000000 */ nop
|
||||
/* E214A8 802B75F8 45000008 */ bc1f .L802B761C
|
||||
/* E214AC 802B75FC E48C0010 */ swc1 $f12, 0x10($a0)
|
||||
/* E214B0 802B7600 3C0142DC */ lui $at, 0x42dc
|
||||
/* E214B4 802B7604 44810000 */ mtc1 $at, $f0
|
||||
/* E214B8 802B7608 00000000 */ nop
|
||||
/* E214BC 802B760C 4600603E */ c.le.s $f12, $f0
|
||||
/* E214C0 802B7610 00000000 */ nop
|
||||
/* E214C4 802B7614 4501000F */ bc1t .L802B7654
|
||||
/* E214C8 802B7618 00000000 */ nop
|
||||
.L802B761C:
|
||||
/* E214CC 802B761C 3C01437A */ lui $at, 0x437a
|
||||
/* E214D0 802B7620 44810000 */ mtc1 $at, $f0
|
||||
/* E214D4 802B7624 00000000 */ nop
|
||||
/* E214D8 802B7628 460C003E */ c.le.s $f0, $f12
|
||||
/* E214DC 802B762C 00000000 */ nop
|
||||
/* E214E0 802B7630 45000010 */ bc1f .L802B7674
|
||||
/* E214E4 802B7634 00000000 */ nop
|
||||
/* E214E8 802B7638 3C014391 */ lui $at, 0x4391
|
||||
/* E214EC 802B763C 44810000 */ mtc1 $at, $f0
|
||||
/* E214F0 802B7640 00000000 */ nop
|
||||
/* E214F4 802B7644 4600603E */ c.le.s $f12, $f0
|
||||
/* E214F8 802B7648 00000000 */ nop
|
||||
/* E214FC 802B764C 45000009 */ bc1f .L802B7674
|
||||
/* E21500 802B7650 00000000 */ nop
|
||||
.L802B7654:
|
||||
/* E21504 802B7654 8E020004 */ lw $v0, 4($s0)
|
||||
/* E21508 802B7658 2403FFDF */ addiu $v1, $zero, -0x21
|
||||
/* E2150C 802B765C 3C018011 */ lui $at, 0x8011
|
||||
/* E21510 802B7660 AC20C940 */ sw $zero, -0x36c0($at)
|
||||
/* E21514 802B7664 AE0000C8 */ sw $zero, 0xc8($s0)
|
||||
/* E21518 802B7668 00431024 */ and $v0, $v0, $v1
|
||||
/* E2151C 802B766C 080ADDBE */ j .L802B76F8
|
||||
/* E21520 802B7670 AE020004 */ sw $v0, 4($s0)
|
||||
.L802B7674:
|
||||
/* E21524 802B7674 0C0ADC00 */ jal func_802B7000
|
||||
/* E21528 802B7678 00000000 */ nop
|
||||
/* E2152C 802B767C 0040302D */ daddu $a2, $v0, $zero
|
||||
.L802B7680:
|
||||
/* E21530 802B7680 3C04802B */ lui $a0, 0x802b
|
||||
/* E21534 802B7684 248479A8 */ addiu $a0, $a0, 0x79a8
|
||||
/* E21538 802B7688 8C820000 */ lw $v0, ($a0)
|
||||
/* E2153C 802B768C A046002B */ sb $a2, 0x2b($v0)
|
||||
/* E21540 802B7690 8E0300C8 */ lw $v1, 0xc8($s0)
|
||||
/* E21544 802B7694 10600005 */ beqz $v1, .L802B76AC
|
||||
/* E21548 802B7698 00000000 */ nop
|
||||
/* E2154C 802B769C 8C840000 */ lw $a0, ($a0)
|
||||
/* E21550 802B76A0 8C820000 */ lw $v0, ($a0)
|
||||
/* E21554 802B76A4 54620001 */ bnel $v1, $v0, .L802B76AC
|
||||
/* E21558 802B76A8 AC830000 */ sw $v1, ($a0)
|
||||
.L802B76AC:
|
||||
/* E2155C 802B76AC 3C03802B */ lui $v1, 0x802b
|
||||
/* E21560 802B76B0 8C6379A8 */ lw $v1, 0x79a8($v1)
|
||||
/* E21564 802B76B4 8C640000 */ lw $a0, ($v1)
|
||||
/* E21568 802B76B8 848200A8 */ lh $v0, 0xa8($a0)
|
||||
/* E2156C 802B76BC C480003C */ lwc1 $f0, 0x3c($a0)
|
||||
/* E21570 802B76C0 44821000 */ mtc1 $v0, $f2
|
||||
/* E21574 802B76C4 00000000 */ nop
|
||||
/* E21578 802B76C8 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* E2157C 802B76CC 46020000 */ add.s $f0, $f0, $f2
|
||||
/* E21580 802B76D0 3C014100 */ lui $at, 0x4100
|
||||
/* E21584 802B76D4 44811000 */ mtc1 $at, $f2
|
||||
/* E21588 802B76D8 00000000 */ nop
|
||||
/* E2158C 802B76DC 46020000 */ add.s $f0, $f0, $f2
|
||||
/* E21590 802B76E0 E460001C */ swc1 $f0, 0x1c($v1)
|
||||
/* E21594 802B76E4 E4600008 */ swc1 $f0, 8($v1)
|
||||
/* E21598 802B76E8 C4800038 */ lwc1 $f0, 0x38($a0)
|
||||
/* E2159C 802B76EC E4600004 */ swc1 $f0, 4($v1)
|
||||
/* E215A0 802B76F0 C4800040 */ lwc1 $f0, 0x40($a0)
|
||||
/* E215A4 802B76F4 E460000C */ swc1 $f0, 0xc($v1)
|
||||
.L802B76F8:
|
||||
/* E215A8 802B76F8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* E215AC 802B76FC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* E215B0 802B7700 03E00008 */ jr $ra
|
||||
/* E215B4 802B7704 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* E215B8 802B7708 00000000 */ nop
|
||||
/* E215BC 802B770C 00000000 */ nop
|
||||
|
||||
.set reorder
|
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
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
File diff suppressed because it is too large
Load Diff
@ -1,15 +1,7 @@
|
||||
# %s disassembly and split file
|
||||
# generated by n64split v%s - N64 ROM splitter
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.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
|
||||
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80025C00, "ax"
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel entry_point
|
||||
/* 001000 80025C00 3C08800A */ lui $t0, 0x800a
|
@ -0,0 +1,40 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802DEAA0
|
||||
/* 101B90 802DEAA0 00C0102D */ daddu $v0, $a2, $zero
|
||||
/* 101B94 802DEAA4 24C60010 */ addiu $a2, $a2, 0x10
|
||||
/* 101B98 802DEAA8 2408FFFF */ addiu $t0, $zero, -1
|
||||
/* 101B9C 802DEAAC 00052882 */ srl $a1, $a1, 2
|
||||
/* 101BA0 802DEAB0 00052880 */ sll $a1, $a1, 2
|
||||
/* 101BA4 802DEAB4 00021082 */ srl $v0, $v0, 2
|
||||
/* 101BA8 802DEAB8 00023880 */ sll $a3, $v0, 2
|
||||
.L802DEABC:
|
||||
/* 101BAC 802DEABC 8CC20000 */ lw $v0, ($a2)
|
||||
/* 101BB0 802DEAC0 10480010 */ beq $v0, $t0, .L802DEB04
|
||||
/* 101BB4 802DEAC4 00452023 */ subu $a0, $v0, $a1
|
||||
/* 101BB8 802DEAC8 00872021 */ addu $a0, $a0, $a3
|
||||
/* 101BBC 802DEACC ACC40000 */ sw $a0, ($a2)
|
||||
.L802DEAD0:
|
||||
/* 101BC0 802DEAD0 8C830000 */ lw $v1, ($a0)
|
||||
/* 101BC4 802DEAD4 10680009 */ beq $v1, $t0, .L802DEAFC
|
||||
/* 101BC8 802DEAD8 00651823 */ subu $v1, $v1, $a1
|
||||
/* 101BCC 802DEADC 00671821 */ addu $v1, $v1, $a3
|
||||
/* 101BD0 802DEAE0 AC830000 */ sw $v1, ($a0)
|
||||
/* 101BD4 802DEAE4 8C620000 */ lw $v0, ($v1)
|
||||
/* 101BD8 802DEAE8 24840004 */ addiu $a0, $a0, 4
|
||||
/* 101BDC 802DEAEC 00451023 */ subu $v0, $v0, $a1
|
||||
/* 101BE0 802DEAF0 00471021 */ addu $v0, $v0, $a3
|
||||
/* 101BE4 802DEAF4 080B7AB4 */ j .L802DEAD0
|
||||
/* 101BE8 802DEAF8 AC620000 */ sw $v0, ($v1)
|
||||
|
||||
.L802DEAFC:
|
||||
/* 101BEC 802DEAFC 080B7AAF */ j .L802DEABC
|
||||
/* 101BF0 802DEB00 24C60004 */ addiu $a2, $a2, 4
|
||||
|
||||
.L802DEB04:
|
||||
/* 101BF4 802DEB04 03E00008 */ jr $ra
|
||||
/* 101BF8 802DEB08 00000000 */ nop
|
||||
|
@ -0,0 +1,89 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802DED60
|
||||
/* 101E50 802DED60 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 101E54 802DED64 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 101E58 802DED68 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 101E5C 802DED6C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 101E60 802DED70 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* 101E64 802DED74 3C040194 */ lui $a0, 0x194
|
||||
/* 101E68 802DED78 34843010 */ ori $a0, $a0, 0x3010
|
||||
/* 101E6C 802DED7C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 101E70 802DED80 3C10802E */ lui $s0, 0x802e
|
||||
/* 101E74 802DED84 26100C60 */ addiu $s0, $s0, 0xc60
|
||||
/* 101E78 802DED88 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 101E7C 802DED8C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 101E80 802DED90 0C017D24 */ jal nuPiReadRom
|
||||
/* 101E84 802DED94 2406000C */ addiu $a2, $zero, 0xc
|
||||
/* 101E88 802DED98 3C060194 */ lui $a2, 0x194
|
||||
/* 101E8C 802DED9C 34C63010 */ ori $a2, $a2, 0x3010
|
||||
/* 101E90 802DEDA0 3C048035 */ lui $a0, 0x8035
|
||||
/* 101E94 802DEDA4 2484F800 */ addiu $a0, $a0, -0x800
|
||||
/* 101E98 802DEDA8 8E020000 */ lw $v0, ($s0)
|
||||
/* 101E9C 802DEDAC 02510018 */ mult $s2, $s1
|
||||
/* 101EA0 802DEDB0 3C01802E */ lui $at, 0x802e
|
||||
/* 101EA4 802DEDB4 AC310C58 */ sw $s1, 0xc58($at)
|
||||
/* 101EA8 802DEDB8 3C11802E */ lui $s1, 0x802e
|
||||
/* 101EAC 802DEDBC 26310C5C */ addiu $s1, $s1, 0xc5c
|
||||
/* 101EB0 802DEDC0 AE320000 */ sw $s2, ($s1)
|
||||
/* 101EB4 802DEDC4 8E030008 */ lw $v1, 8($s0)
|
||||
/* 101EB8 802DEDC8 00461021 */ addu $v0, $v0, $a2
|
||||
/* 101EBC 802DEDCC AE020000 */ sw $v0, ($s0)
|
||||
/* 101EC0 802DEDD0 8E020004 */ lw $v0, 4($s0)
|
||||
/* 101EC4 802DEDD4 00661821 */ addu $v1, $v1, $a2
|
||||
/* 101EC8 802DEDD8 AE030008 */ sw $v1, 8($s0)
|
||||
/* 101ECC 802DEDDC 00461021 */ addu $v0, $v0, $a2
|
||||
/* 101ED0 802DEDE0 00002812 */ mflo $a1
|
||||
/* 101ED4 802DEDE4 0C00A41B */ jal _heap_malloc
|
||||
/* 101ED8 802DEDE8 AE020004 */ sw $v0, 4($s0)
|
||||
/* 101EDC 802DEDEC 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 101EE0 802DEDF0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 101EE4 802DEDF4 240600FF */ addiu $a2, $zero, 0xff
|
||||
/* 101EE8 802DEDF8 3C03802E */ lui $v1, 0x802e
|
||||
/* 101EEC 802DEDFC 24630C70 */ addiu $v1, $v1, 0xc70
|
||||
/* 101EF0 802DEE00 8E310000 */ lw $s1, ($s1)
|
||||
.L802DEE04:
|
||||
/* 101EF4 802DEE04 AC65000C */ sw $a1, 0xc($v1)
|
||||
/* 101EF8 802DEE08 00B12821 */ addu $a1, $a1, $s1
|
||||
/* 101EFC 802DEE0C AC600000 */ sw $zero, ($v1)
|
||||
/* 101F00 802DEE10 AC600004 */ sw $zero, 4($v1)
|
||||
/* 101F04 802DEE14 AC660008 */ sw $a2, 8($v1)
|
||||
/* 101F08 802DEE18 24840001 */ addiu $a0, $a0, 1
|
||||
/* 101F0C 802DEE1C 28820012 */ slti $v0, $a0, 0x12
|
||||
/* 101F10 802DEE20 1440FFF8 */ bnez $v0, .L802DEE04
|
||||
/* 101F14 802DEE24 24630010 */ addiu $v1, $v1, 0x10
|
||||
/* 101F18 802DEE28 2404000C */ addiu $a0, $zero, 0xc
|
||||
/* 101F1C 802DEE2C 3C02802E */ lui $v0, 0x802e
|
||||
/* 101F20 802DEE30 24420080 */ addiu $v0, $v0, 0x80
|
||||
.L802DEE34:
|
||||
/* 101F24 802DEE34 AC400000 */ sw $zero, ($v0)
|
||||
/* 101F28 802DEE38 2484FFFF */ addiu $a0, $a0, -1
|
||||
/* 101F2C 802DEE3C 0481FFFD */ bgez $a0, .L802DEE34
|
||||
/* 101F30 802DEE40 2442FFFC */ addiu $v0, $v0, -4
|
||||
/* 101F34 802DEE44 3C11802E */ lui $s1, 0x802e
|
||||
/* 101F38 802DEE48 26310C10 */ addiu $s1, $s1, 0xc10
|
||||
/* 101F3C 802DEE4C 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 101F40 802DEE50 3C10802E */ lui $s0, 0x802e
|
||||
/* 101F44 802DEE54 26100C60 */ addiu $s0, $s0, 0xc60
|
||||
/* 101F48 802DEE58 8E040000 */ lw $a0, ($s0)
|
||||
/* 101F4C 802DEE5C 3C01802E */ lui $at, 0x802e
|
||||
/* 101F50 802DEE60 AC20004C */ sw $zero, 0x4c($at)
|
||||
/* 101F54 802DEE64 0C017D24 */ jal nuPiReadRom
|
||||
/* 101F58 802DEE68 2406000C */ addiu $a2, $zero, 0xc
|
||||
/* 101F5C 802DEE6C 3C05802E */ lui $a1, 0x802e
|
||||
/* 101F60 802DEE70 24A50C20 */ addiu $a1, $a1, 0xc20
|
||||
/* 101F64 802DEE74 8E020000 */ lw $v0, ($s0)
|
||||
/* 101F68 802DEE78 8E240000 */ lw $a0, ($s1)
|
||||
/* 101F6C 802DEE7C 24060038 */ addiu $a2, $zero, 0x38
|
||||
/* 101F70 802DEE80 0C017D24 */ jal nuPiReadRom
|
||||
/* 101F74 802DEE84 00442021 */ addu $a0, $v0, $a0
|
||||
/* 101F78 802DEE88 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 101F7C 802DEE8C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 101F80 802DEE90 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 101F84 802DEE94 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 101F88 802DEE98 03E00008 */ jr $ra
|
||||
/* 101F8C 802DEE9C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -0,0 +1,86 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802DEEA0
|
||||
/* 101F90 802DEEA0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 101F94 802DEEA4 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 101F98 802DEEA8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 101F9C 802DEEAC 2410FFFF */ addiu $s0, $zero, -1
|
||||
/* 101FA0 802DEEB0 3C02802E */ lui $v0, 0x802e
|
||||
/* 101FA4 802DEEB4 8C420C58 */ lw $v0, 0xc58($v0)
|
||||
/* 101FA8 802DEEB8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 101FAC 802DEEBC 18400018 */ blez $v0, .L802DEF20
|
||||
/* 101FB0 802DEEC0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 101FB4 802DEEC4 24090002 */ addiu $t1, $zero, 2
|
||||
/* 101FB8 802DEEC8 0200402D */ daddu $t0, $s0, $zero
|
||||
/* 101FBC 802DEECC 0040302D */ daddu $a2, $v0, $zero
|
||||
/* 101FC0 802DEED0 3C03802E */ lui $v1, 0x802e
|
||||
/* 101FC4 802DEED4 24630C70 */ addiu $v1, $v1, 0xc70
|
||||
.L802DEED8:
|
||||
/* 101FC8 802DEED8 8C620000 */ lw $v0, ($v1)
|
||||
/* 101FCC 802DEEDC 1040000A */ beqz $v0, .L802DEF08
|
||||
/* 101FD0 802DEEE0 00000000 */ nop
|
||||
/* 101FD4 802DEEE4 8C620004 */ lw $v0, 4($v1)
|
||||
/* 101FD8 802DEEE8 1447000A */ bne $v0, $a3, .L802DEF14
|
||||
/* 101FDC 802DEEEC 24840001 */ addiu $a0, $a0, 1
|
||||
/* 101FE0 802DEEF0 8C620008 */ lw $v0, 8($v1)
|
||||
/* 101FE4 802DEEF4 14450008 */ bne $v0, $a1, .L802DEF18
|
||||
/* 101FE8 802DEEF8 0086102A */ slt $v0, $a0, $a2
|
||||
/* 101FEC 802DEEFC 8C62000C */ lw $v0, 0xc($v1)
|
||||
/* 101FF0 802DEF00 080B7BE9 */ j .L802DEFA4
|
||||
/* 101FF4 802DEF04 AC690000 */ sw $t1, ($v1)
|
||||
|
||||
.L802DEF08:
|
||||
/* 101FF8 802DEF08 52080001 */ beql $s0, $t0, .L802DEF10
|
||||
/* 101FFC 802DEF0C 0080802D */ daddu $s0, $a0, $zero
|
||||
.L802DEF10:
|
||||
/* 102000 802DEF10 24840001 */ addiu $a0, $a0, 1
|
||||
.L802DEF14:
|
||||
/* 102004 802DEF14 0086102A */ slt $v0, $a0, $a2
|
||||
.L802DEF18:
|
||||
/* 102008 802DEF18 1440FFEF */ bnez $v0, .L802DEED8
|
||||
/* 10200C 802DEF1C 24630010 */ addiu $v1, $v1, 0x10
|
||||
.L802DEF20:
|
||||
/* 102010 802DEF20 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 102014 802DEF24 1202001E */ beq $s0, $v0, .L802DEFA0
|
||||
/* 102018 802DEF28 00108100 */ sll $s0, $s0, 4
|
||||
/* 10201C 802DEF2C 3C02802E */ lui $v0, 0x802e
|
||||
/* 102020 802DEF30 24420C70 */ addiu $v0, $v0, 0xc70
|
||||
/* 102024 802DEF34 02028021 */ addu $s0, $s0, $v0
|
||||
/* 102028 802DEF38 24020002 */ addiu $v0, $zero, 2
|
||||
/* 10202C 802DEF3C AE020000 */ sw $v0, ($s0)
|
||||
/* 102030 802DEF40 00451004 */ sllv $v0, $a1, $v0
|
||||
/* 102034 802DEF44 3C04000F */ lui $a0, 0xf
|
||||
/* 102038 802DEF48 3484FFFF */ ori $a0, $a0, 0xffff
|
||||
/* 10203C 802DEF4C AE070004 */ sw $a3, 4($s0)
|
||||
/* 102040 802DEF50 AE050008 */ sw $a1, 8($s0)
|
||||
/* 102044 802DEF54 3C01802E */ lui $at, 0x802e
|
||||
/* 102048 802DEF58 00220821 */ addu $at, $at, $v0
|
||||
/* 10204C 802DEF5C 8C220050 */ lw $v0, 0x50($at)
|
||||
/* 102050 802DEF60 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 102054 802DEF64 00471021 */ addu $v0, $v0, $a3
|
||||
/* 102058 802DEF68 00021080 */ sll $v0, $v0, 2
|
||||
/* 10205C 802DEF6C 3C06802E */ lui $a2, 0x802e
|
||||
/* 102060 802DEF70 00C23021 */ addu $a2, $a2, $v0
|
||||
/* 102064 802DEF74 8CC60090 */ lw $a2, 0x90($a2)
|
||||
/* 102068 802DEF78 3C02802E */ lui $v0, 0x802e
|
||||
/* 10206C 802DEF7C 8C420C60 */ lw $v0, 0xc60($v0)
|
||||
/* 102070 802DEF80 00C42024 */ and $a0, $a2, $a0
|
||||
/* 102074 802DEF84 00063402 */ srl $a2, $a2, 0x10
|
||||
/* 102078 802DEF88 00442021 */ addu $a0, $v0, $a0
|
||||
/* 10207C 802DEF8C 0C017D24 */ jal nuPiReadRom
|
||||
/* 102080 802DEF90 30C6FFF0 */ andi $a2, $a2, 0xfff0
|
||||
/* 102084 802DEF94 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 102088 802DEF98 080B7BE9 */ j .L802DEFA4
|
||||
/* 10208C 802DEF9C 00000000 */ nop
|
||||
|
||||
.L802DEFA0:
|
||||
/* 102090 802DEFA0 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802DEFA4:
|
||||
/* 102094 802DEFA4 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 102098 802DEFA8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 10209C 802DEFAC 03E00008 */ jr $ra
|
||||
/* 1020A0 802DEFB0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -0,0 +1,32 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802DEFB4
|
||||
/* 1020A4 802DEFB4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1020A8 802DEFB8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1020AC 802DEFBC 0C04E934 */ jal func_8013A4D0
|
||||
/* 1020B0 802DEFC0 00000000 */ nop
|
||||
/* 1020B4 802DEFC4 3C02802E */ lui $v0, 0x802e
|
||||
/* 1020B8 802DEFC8 8C420C58 */ lw $v0, 0xc58($v0)
|
||||
/* 1020BC 802DEFCC 1840000C */ blez $v0, .L802DF000
|
||||
/* 1020C0 802DEFD0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 1020C4 802DEFD4 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 1020C8 802DEFD8 3C03802E */ lui $v1, 0x802e
|
||||
/* 1020CC 802DEFDC 24630C70 */ addiu $v1, $v1, 0xc70
|
||||
.L802DEFE0:
|
||||
/* 1020D0 802DEFE0 8C620000 */ lw $v0, ($v1)
|
||||
/* 1020D4 802DEFE4 10400003 */ beqz $v0, .L802DEFF4
|
||||
/* 1020D8 802DEFE8 24840001 */ addiu $a0, $a0, 1
|
||||
/* 1020DC 802DEFEC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 1020E0 802DEFF0 AC620000 */ sw $v0, ($v1)
|
||||
.L802DEFF4:
|
||||
/* 1020E4 802DEFF4 0085102A */ slt $v0, $a0, $a1
|
||||
/* 1020E8 802DEFF8 1440FFF9 */ bnez $v0, .L802DEFE0
|
||||
/* 1020EC 802DEFFC 24630010 */ addiu $v1, $v1, 0x10
|
||||
.L802DF000:
|
||||
/* 1020F0 802DF000 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 1020F4 802DF004 03E00008 */ jr $ra
|
||||
/* 1020F8 802DF008 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
215
papermario/asm/nonmatchings/code_101b90_len_8f0/func_802DF00C.s
Normal file
215
papermario/asm/nonmatchings/code_101b90_len_8f0/func_802DF00C.s
Normal file
@ -0,0 +1,215 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802DF00C
|
||||
/* 1020FC 802DF00C 27BDFE30 */ addiu $sp, $sp, -0x1d0
|
||||
/* 102100 802DF010 AFB601C0 */ sw $s6, 0x1c0($sp)
|
||||
/* 102104 802DF014 0080B02D */ daddu $s6, $a0, $zero
|
||||
/* 102108 802DF018 AFB101AC */ sw $s1, 0x1ac($sp)
|
||||
/* 10210C 802DF01C 24110063 */ addiu $s1, $zero, 0x63
|
||||
/* 102110 802DF020 27A2019C */ addiu $v0, $sp, 0x19c
|
||||
/* 102114 802DF024 AFBF01C8 */ sw $ra, 0x1c8($sp)
|
||||
/* 102118 802DF028 AFB701C4 */ sw $s7, 0x1c4($sp)
|
||||
/* 10211C 802DF02C AFB501BC */ sw $s5, 0x1bc($sp)
|
||||
/* 102120 802DF030 AFB401B8 */ sw $s4, 0x1b8($sp)
|
||||
/* 102124 802DF034 AFB301B4 */ sw $s3, 0x1b4($sp)
|
||||
/* 102128 802DF038 AFB201B0 */ sw $s2, 0x1b0($sp)
|
||||
/* 10212C 802DF03C AFB001A8 */ sw $s0, 0x1a8($sp)
|
||||
.L802DF040:
|
||||
/* 102130 802DF040 AC400000 */ sw $zero, ($v0)
|
||||
/* 102134 802DF044 2631FFFF */ addiu $s1, $s1, -1
|
||||
/* 102138 802DF048 0621FFFD */ bgez $s1, .L802DF040
|
||||
/* 10213C 802DF04C 2442FFFC */ addiu $v0, $v0, -4
|
||||
/* 102140 802DF050 8CA30000 */ lw $v1, ($a1)
|
||||
/* 102144 802DF054 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 102148 802DF058 1062004B */ beq $v1, $v0, .L802DF188
|
||||
/* 10214C 802DF05C 24A50004 */ addiu $a1, $a1, 4
|
||||
/* 102150 802DF060 0040602D */ daddu $t4, $v0, $zero
|
||||
/* 102154 802DF064 24124000 */ addiu $s2, $zero, 0x4000
|
||||
/* 102158 802DF068 24111000 */ addiu $s1, $zero, 0x1000
|
||||
/* 10215C 802DF06C 24102000 */ addiu $s0, $zero, 0x2000
|
||||
/* 102160 802DF070 240F3000 */ addiu $t7, $zero, 0x3000
|
||||
/* 102164 802DF074 240E6000 */ addiu $t6, $zero, 0x6000
|
||||
/* 102168 802DF078 240D5000 */ addiu $t5, $zero, 0x5000
|
||||
.L802DF07C:
|
||||
/* 10216C 802DF07C 306200FF */ andi $v0, $v1, 0xff
|
||||
/* 102170 802DF080 00021080 */ sll $v0, $v0, 2
|
||||
/* 102174 802DF084 02C21021 */ addu $v0, $s6, $v0
|
||||
/* 102178 802DF088 080B7C5C */ j .L802DF170
|
||||
/* 10217C 802DF08C 8C480010 */ lw $t0, 0x10($v0)
|
||||
|
||||
.L802DF090:
|
||||
/* 102180 802DF090 94620004 */ lhu $v0, 4($v1)
|
||||
/* 102184 802DF094 8C660000 */ lw $a2, ($v1)
|
||||
/* 102188 802DF098 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 10218C 802DF09C 00021C03 */ sra $v1, $v0, 0x10
|
||||
/* 102190 802DF0A0 000217C2 */ srl $v0, $v0, 0x1f
|
||||
/* 102194 802DF0A4 00621821 */ addu $v1, $v1, $v0
|
||||
/* 102198 802DF0A8 00031843 */ sra $v1, $v1, 1
|
||||
/* 10219C 802DF0AC 18600030 */ blez $v1, .L802DF170
|
||||
/* 1021A0 802DF0B0 00000000 */ nop
|
||||
/* 1021A4 802DF0B4 240B7000 */ addiu $t3, $zero, 0x7000
|
||||
/* 1021A8 802DF0B8 27A90010 */ addiu $t1, $sp, 0x10
|
||||
/* 1021AC 802DF0BC 240A0001 */ addiu $t2, $zero, 1
|
||||
.L802DF0C0:
|
||||
/* 1021B0 802DF0C0 94C70000 */ lhu $a3, ($a2)
|
||||
/* 1021B4 802DF0C4 24C60002 */ addiu $a2, $a2, 2
|
||||
/* 1021B8 802DF0C8 30E4F000 */ andi $a0, $a3, 0xf000
|
||||
/* 1021BC 802DF0CC 10920022 */ beq $a0, $s2, .L802DF158
|
||||
/* 1021C0 802DF0D0 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* 1021C4 802DF0D4 28824001 */ slti $v0, $a0, 0x4001
|
||||
/* 1021C8 802DF0D8 1040000B */ beqz $v0, .L802DF108
|
||||
/* 1021CC 802DF0DC 00000000 */ nop
|
||||
/* 1021D0 802DF0E0 10910015 */ beq $a0, $s1, .L802DF138
|
||||
/* 1021D4 802DF0E4 28821001 */ slti $v0, $a0, 0x1001
|
||||
/* 1021D8 802DF0E8 1440001F */ bnez $v0, .L802DF168
|
||||
/* 1021DC 802DF0EC 00000000 */ nop
|
||||
/* 1021E0 802DF0F0 1090001D */ beq $a0, $s0, .L802DF168
|
||||
/* 1021E4 802DF0F4 00000000 */ nop
|
||||
/* 1021E8 802DF0F8 508F0016 */ beql $a0, $t7, .L802DF154
|
||||
/* 1021EC 802DF0FC 24C60002 */ addiu $a2, $a2, 2
|
||||
/* 1021F0 802DF100 080B7C5A */ j .L802DF168
|
||||
/* 1021F4 802DF104 00000000 */ nop
|
||||
|
||||
.L802DF108:
|
||||
/* 1021F8 802DF108 108E0017 */ beq $a0, $t6, .L802DF168
|
||||
/* 1021FC 802DF10C 28826001 */ slti $v0, $a0, 0x6001
|
||||
/* 102200 802DF110 10400005 */ beqz $v0, .L802DF128
|
||||
/* 102204 802DF114 00000000 */ nop
|
||||
/* 102208 802DF118 508D0012 */ beql $a0, $t5, .L802DF164
|
||||
/* 10220C 802DF11C 24C60002 */ addiu $a2, $a2, 2
|
||||
/* 102210 802DF120 080B7C5A */ j .L802DF168
|
||||
/* 102214 802DF124 00000000 */ nop
|
||||
|
||||
.L802DF128:
|
||||
/* 102218 802DF128 508B000E */ beql $a0, $t3, .L802DF164
|
||||
/* 10221C 802DF12C 24C60002 */ addiu $a2, $a2, 2
|
||||
/* 102220 802DF130 080B7C5A */ j .L802DF168
|
||||
/* 102224 802DF134 00000000 */ nop
|
||||
|
||||
.L802DF138:
|
||||
/* 102228 802DF138 30E400FF */ andi $a0, $a3, 0xff
|
||||
/* 10222C 802DF13C 28820064 */ slti $v0, $a0, 0x64
|
||||
/* 102230 802DF140 10400009 */ beqz $v0, .L802DF168
|
||||
/* 102234 802DF144 00041080 */ sll $v0, $a0, 2
|
||||
/* 102238 802DF148 01221021 */ addu $v0, $t1, $v0
|
||||
/* 10223C 802DF14C 080B7C5A */ j .L802DF168
|
||||
/* 102240 802DF150 AC4A0000 */ sw $t2, ($v0)
|
||||
|
||||
.L802DF154:
|
||||
/* 102244 802DF154 2463FFFF */ addiu $v1, $v1, -1
|
||||
.L802DF158:
|
||||
/* 102248 802DF158 24C60002 */ addiu $a2, $a2, 2
|
||||
/* 10224C 802DF15C 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* 102250 802DF160 24C60002 */ addiu $a2, $a2, 2
|
||||
.L802DF164:
|
||||
/* 102254 802DF164 2463FFFF */ addiu $v1, $v1, -1
|
||||
.L802DF168:
|
||||
/* 102258 802DF168 1C60FFD5 */ bgtz $v1, .L802DF0C0
|
||||
/* 10225C 802DF16C 00000000 */ nop
|
||||
.L802DF170:
|
||||
/* 102260 802DF170 8D030000 */ lw $v1, ($t0)
|
||||
/* 102264 802DF174 146CFFC6 */ bne $v1, $t4, .L802DF090
|
||||
/* 102268 802DF178 25080004 */ addiu $t0, $t0, 4
|
||||
/* 10226C 802DF17C 8CA30000 */ lw $v1, ($a1)
|
||||
/* 102270 802DF180 146CFFBE */ bne $v1, $t4, .L802DF07C
|
||||
/* 102274 802DF184 24A50004 */ addiu $a1, $a1, 4
|
||||
.L802DF188:
|
||||
/* 102278 802DF188 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 10227C 802DF18C 8ED30000 */ lw $s3, ($s6)
|
||||
/* 102280 802DF190 2417FFFF */ addiu $s7, $zero, -1
|
||||
/* 102284 802DF194 8E650000 */ lw $a1, ($s3)
|
||||
/* 102288 802DF198 27B40010 */ addiu $s4, $sp, 0x10
|
||||
/* 10228C 802DF19C 8CB20000 */ lw $s2, ($a1)
|
||||
.L802DF1A0:
|
||||
/* 102290 802DF1A0 8E650000 */ lw $a1, ($s3)
|
||||
/* 102294 802DF1A4 50B70019 */ beql $a1, $s7, .L802DF20C
|
||||
/* 102298 802DF1A8 0240302D */ daddu $a2, $s2, $zero
|
||||
/* 10229C 802DF1AC 8E820000 */ lw $v0, ($s4)
|
||||
/* 1022A0 802DF1B0 50400011 */ beql $v0, $zero, .L802DF1F8
|
||||
/* 1022A4 802DF1B4 26730004 */ addiu $s3, $s3, 4
|
||||
/* 1022A8 802DF1B8 90A30004 */ lbu $v1, 4($a1)
|
||||
/* 1022AC 802DF1BC 90A20005 */ lbu $v0, 5($a1)
|
||||
/* 1022B0 802DF1C0 00620018 */ mult $v1, $v0
|
||||
/* 1022B4 802DF1C4 8CA40000 */ lw $a0, ($a1)
|
||||
/* 1022B8 802DF1C8 0000C012 */ mflo $t8
|
||||
/* 1022BC 802DF1CC 00188043 */ sra $s0, $t8, 1
|
||||
/* 1022C0 802DF1D0 0250A821 */ addu $s5, $s2, $s0
|
||||
/* 1022C4 802DF1D4 12440005 */ beq $s2, $a0, .L802DF1EC
|
||||
/* 1022C8 802DF1D8 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1022CC 802DF1DC ACB20000 */ sw $s2, ($a1)
|
||||
/* 1022D0 802DF1E0 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 1022D4 802DF1E4 0C019194 */ jal bcopy
|
||||
/* 1022D8 802DF1E8 0200302D */ daddu $a2, $s0, $zero
|
||||
.L802DF1EC:
|
||||
/* 1022DC 802DF1EC AE750000 */ sw $s5, ($s3)
|
||||
/* 1022E0 802DF1F0 02509021 */ addu $s2, $s2, $s0
|
||||
/* 1022E4 802DF1F4 26730004 */ addiu $s3, $s3, 4
|
||||
.L802DF1F8:
|
||||
/* 1022E8 802DF1F8 26310001 */ addiu $s1, $s1, 1
|
||||
/* 1022EC 802DF1FC 2A220064 */ slti $v0, $s1, 0x64
|
||||
/* 1022F0 802DF200 1440FFE7 */ bnez $v0, .L802DF1A0
|
||||
/* 1022F4 802DF204 26940004 */ addiu $s4, $s4, 4
|
||||
/* 1022F8 802DF208 0240302D */ daddu $a2, $s2, $zero
|
||||
.L802DF20C:
|
||||
/* 1022FC 802DF20C 00111080 */ sll $v0, $s1, 2
|
||||
/* 102300 802DF210 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 102304 802DF214 27A40010 */ addiu $a0, $sp, 0x10
|
||||
/* 102308 802DF218 00821021 */ addu $v0, $a0, $v0
|
||||
/* 10230C 802DF21C 24030001 */ addiu $v1, $zero, 1
|
||||
/* 102310 802DF220 AC430000 */ sw $v1, ($v0)
|
||||
/* 102314 802DF224 8ED30000 */ lw $s3, ($s6)
|
||||
/* 102318 802DF228 2407FFFF */ addiu $a3, $zero, -1
|
||||
/* 10231C 802DF22C AEC60000 */ sw $a2, ($s6)
|
||||
.L802DF230:
|
||||
/* 102320 802DF230 8E650000 */ lw $a1, ($s3)
|
||||
/* 102324 802DF234 8C820000 */ lw $v0, ($a0)
|
||||
/* 102328 802DF238 10400003 */ beqz $v0, .L802DF248
|
||||
/* 10232C 802DF23C 26730004 */ addiu $s3, $s3, 4
|
||||
/* 102330 802DF240 080B7C93 */ j .L802DF24C
|
||||
/* 102334 802DF244 ACC50000 */ sw $a1, ($a2)
|
||||
|
||||
.L802DF248:
|
||||
/* 102338 802DF248 ACD50000 */ sw $s5, ($a2)
|
||||
.L802DF24C:
|
||||
/* 10233C 802DF24C 10A70005 */ beq $a1, $a3, .L802DF264
|
||||
/* 102340 802DF250 24C60004 */ addiu $a2, $a2, 4
|
||||
/* 102344 802DF254 26310001 */ addiu $s1, $s1, 1
|
||||
/* 102348 802DF258 2A220064 */ slti $v0, $s1, 0x64
|
||||
/* 10234C 802DF25C 1440FFF4 */ bnez $v0, .L802DF230
|
||||
/* 102350 802DF260 24840004 */ addiu $a0, $a0, 4
|
||||
.L802DF264:
|
||||
/* 102354 802DF264 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 102358 802DF268 8EC30004 */ lw $v1, 4($s6)
|
||||
/* 10235C 802DF26C 2404FFFF */ addiu $a0, $zero, -1
|
||||
/* 102360 802DF270 AEC60004 */ sw $a2, 4($s6)
|
||||
.L802DF274:
|
||||
/* 102364 802DF274 8C650000 */ lw $a1, ($v1)
|
||||
/* 102368 802DF278 24630004 */ addiu $v1, $v1, 4
|
||||
/* 10236C 802DF27C ACC50000 */ sw $a1, ($a2)
|
||||
/* 102370 802DF280 10A40005 */ beq $a1, $a0, .L802DF298
|
||||
/* 102374 802DF284 24C60004 */ addiu $a2, $a2, 4
|
||||
/* 102378 802DF288 26310001 */ addiu $s1, $s1, 1
|
||||
/* 10237C 802DF28C 2A220064 */ slti $v0, $s1, 0x64
|
||||
/* 102380 802DF290 1440FFF8 */ bnez $v0, .L802DF274
|
||||
/* 102384 802DF294 00000000 */ nop
|
||||
.L802DF298:
|
||||
/* 102388 802DF298 3C048035 */ lui $a0, 0x8035
|
||||
/* 10238C 802DF29C 2484F800 */ addiu $a0, $a0, -0x800
|
||||
/* 102390 802DF2A0 02C0282D */ daddu $a1, $s6, $zero
|
||||
/* 102394 802DF2A4 0C00A4B1 */ jal _heap_realloc
|
||||
/* 102398 802DF2A8 00C53023 */ subu $a2, $a2, $a1
|
||||
/* 10239C 802DF2AC 8FBF01C8 */ lw $ra, 0x1c8($sp)
|
||||
/* 1023A0 802DF2B0 8FB701C4 */ lw $s7, 0x1c4($sp)
|
||||
/* 1023A4 802DF2B4 8FB601C0 */ lw $s6, 0x1c0($sp)
|
||||
/* 1023A8 802DF2B8 8FB501BC */ lw $s5, 0x1bc($sp)
|
||||
/* 1023AC 802DF2BC 8FB401B8 */ lw $s4, 0x1b8($sp)
|
||||
/* 1023B0 802DF2C0 8FB301B4 */ lw $s3, 0x1b4($sp)
|
||||
/* 1023B4 802DF2C4 8FB201B0 */ lw $s2, 0x1b0($sp)
|
||||
/* 1023B8 802DF2C8 8FB101AC */ lw $s1, 0x1ac($sp)
|
||||
/* 1023BC 802DF2CC 8FB001A8 */ lw $s0, 0x1a8($sp)
|
||||
/* 1023C0 802DF2D0 03E00008 */ jr $ra
|
||||
/* 1023C4 802DF2D4 27BD01D0 */ addiu $sp, $sp, 0x1d0
|
||||
|
@ -0,0 +1,59 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802DF2D8
|
||||
/* 1023C8 802DF2D8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1023CC 802DF2DC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1023D0 802DF2E0 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 1023D4 802DF2E4 26020001 */ addiu $v0, $s0, 1
|
||||
/* 1023D8 802DF2E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1023DC 802DF2EC 00028880 */ sll $s1, $v0, 2
|
||||
/* 1023E0 802DF2F0 00101080 */ sll $v0, $s0, 2
|
||||
/* 1023E4 802DF2F4 00501021 */ addu $v0, $v0, $s0
|
||||
/* 1023E8 802DF2F8 00021100 */ sll $v0, $v0, 4
|
||||
/* 1023EC 802DF2FC 3C03802E */ lui $v1, 0x802e
|
||||
/* 1023F0 802DF300 8C63F524 */ lw $v1, -0xadc($v1)
|
||||
/* 1023F4 802DF304 00512821 */ addu $a1, $v0, $s1
|
||||
/* 1023F8 802DF308 3C048035 */ lui $a0, 0x8035
|
||||
/* 1023FC 802DF30C 2484F800 */ addiu $a0, $a0, -0x800
|
||||
/* 102400 802DF310 10600003 */ beqz $v1, .L802DF320
|
||||
/* 102404 802DF314 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 102408 802DF318 3C048030 */ lui $a0, 0x8030
|
||||
/* 10240C 802DF31C 2484B800 */ addiu $a0, $a0, -0x4800
|
||||
.L802DF320:
|
||||
/* 102410 802DF320 0C00A41B */ jal _heap_malloc
|
||||
/* 102414 802DF324 00000000 */ nop
|
||||
/* 102418 802DF328 0040302D */ daddu $a2, $v0, $zero
|
||||
/* 10241C 802DF32C 00C0282D */ daddu $a1, $a2, $zero
|
||||
/* 102420 802DF330 0220102D */ daddu $v0, $s1, $zero
|
||||
/* 102424 802DF334 04410002 */ bgez $v0, .L802DF340
|
||||
/* 102428 802DF338 00C0202D */ daddu $a0, $a2, $zero
|
||||
/* 10242C 802DF33C 24420003 */ addiu $v0, $v0, 3
|
||||
.L802DF340:
|
||||
/* 102430 802DF340 00021083 */ sra $v0, $v0, 2
|
||||
/* 102434 802DF344 00021080 */ sll $v0, $v0, 2
|
||||
/* 102438 802DF348 00822021 */ addu $a0, $a0, $v0
|
||||
/* 10243C 802DF34C 1A000007 */ blez $s0, .L802DF36C
|
||||
/* 102440 802DF350 0000182D */ daddu $v1, $zero, $zero
|
||||
.L802DF354:
|
||||
/* 102444 802DF354 ACA40000 */ sw $a0, ($a1)
|
||||
/* 102448 802DF358 24A50004 */ addiu $a1, $a1, 4
|
||||
/* 10244C 802DF35C 24630001 */ addiu $v1, $v1, 1
|
||||
/* 102450 802DF360 0070102A */ slt $v0, $v1, $s0
|
||||
/* 102454 802DF364 1440FFFB */ bnez $v0, .L802DF354
|
||||
/* 102458 802DF368 24840050 */ addiu $a0, $a0, 0x50
|
||||
.L802DF36C:
|
||||
/* 10245C 802DF36C 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 102460 802DF370 ACA20000 */ sw $v0, ($a1)
|
||||
/* 102464 802DF374 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 102468 802DF378 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 10246C 802DF37C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 102470 802DF380 00C0102D */ daddu $v0, $a2, $zero
|
||||
/* 102474 802DF384 03E00008 */ jr $ra
|
||||
/* 102478 802DF388 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 10247C 802DF38C 00000000 */ nop
|
||||
|
||||
.set reorder
|
170
papermario/asm/nonmatchings/code_101b90_len_8f0/load_sprite.s
Normal file
170
papermario/asm/nonmatchings/code_101b90_len_8f0/load_sprite.s
Normal file
@ -0,0 +1,170 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel load_sprite
|
||||
/* 101BFC 802DEB0C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 101C00 802DEB10 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 101C04 802DEB14 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 101C08 802DEB18 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 101C0C 802DEB1C 00A0A02D */ daddu $s4, $a1, $zero
|
||||
/* 101C10 802DEB20 AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 101C14 802DEB24 00C0B02D */ daddu $s6, $a2, $zero
|
||||
/* 101C18 802DEB28 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 101C1C 802DEB2C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 101C20 802DEB30 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 101C24 802DEB34 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 101C28 802DEB38 12800005 */ beqz $s4, .L802DEB50
|
||||
/* 101C2C 802DEB3C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 101C30 802DEB40 3C13802E */ lui $s3, 0x802e
|
||||
/* 101C34 802DEB44 8E730C64 */ lw $s3, 0xc64($s3)
|
||||
/* 101C38 802DEB48 080B7AD7 */ j .L802DEB5C
|
||||
/* 101C3C 802DEB4C 00152080 */ sll $a0, $s5, 2
|
||||
|
||||
.L802DEB50:
|
||||
/* 101C40 802DEB50 3C13802E */ lui $s3, 0x802e
|
||||
/* 101C44 802DEB54 8E730C68 */ lw $s3, 0xc68($s3)
|
||||
/* 101C48 802DEB58 00152080 */ sll $a0, $s5, 2
|
||||
.L802DEB5C:
|
||||
/* 101C4C 802DEB5C 02642021 */ addu $a0, $s3, $a0
|
||||
/* 101C50 802DEB60 3C11802E */ lui $s1, 0x802e
|
||||
/* 101C54 802DEB64 2631FEB0 */ addiu $s1, $s1, -0x150
|
||||
/* 101C58 802DEB68 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 101C5C 802DEB6C 0C017D24 */ jal nuPiReadRom
|
||||
/* 101C60 802DEB70 24060008 */ addiu $a2, $zero, 8
|
||||
/* 101C64 802DEB74 8E300004 */ lw $s0, 4($s1)
|
||||
/* 101C68 802DEB78 8E220000 */ lw $v0, ($s1)
|
||||
/* 101C6C 802DEB7C 02028023 */ subu $s0, $s0, $v0
|
||||
/* 101C70 802DEB80 26100007 */ addiu $s0, $s0, 7
|
||||
/* 101C74 802DEB84 2402FFF8 */ addiu $v0, $zero, -8
|
||||
/* 101C78 802DEB88 02028024 */ and $s0, $s0, $v0
|
||||
/* 101C7C 802DEB8C 0C00AB0A */ jal general_heap_malloc
|
||||
/* 101C80 802DEB90 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 101C84 802DEB94 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 101C88 802DEB98 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 101C8C 802DEB9C 8E240000 */ lw $a0, ($s1)
|
||||
/* 101C90 802DEBA0 0200302D */ daddu $a2, $s0, $zero
|
||||
/* 101C94 802DEBA4 0C017D24 */ jal nuPiReadRom
|
||||
/* 101C98 802DEBA8 02642021 */ addu $a0, $s3, $a0
|
||||
/* 101C9C 802DEBAC 12C00008 */ beqz $s6, .L802DEBD0
|
||||
/* 101CA0 802DEBB0 26450004 */ addiu $a1, $s2, 4
|
||||
/* 101CA4 802DEBB4 8CA50000 */ lw $a1, ($a1)
|
||||
/* 101CA8 802DEBB8 3C048035 */ lui $a0, 0x8035
|
||||
/* 101CAC 802DEBBC 2484F800 */ addiu $a0, $a0, -0x800
|
||||
/* 101CB0 802DEBC0 0C00A459 */ jal _heap_malloc_tail
|
||||
/* 101CB4 802DEBC4 00000000 */ nop
|
||||
/* 101CB8 802DEBC8 080B7AFA */ j .L802DEBE8
|
||||
/* 101CBC 802DEBCC 0040882D */ daddu $s1, $v0, $zero
|
||||
|
||||
.L802DEBD0:
|
||||
/* 101CC0 802DEBD0 8CA50000 */ lw $a1, ($a1)
|
||||
/* 101CC4 802DEBD4 3C048035 */ lui $a0, 0x8035
|
||||
/* 101CC8 802DEBD8 2484F800 */ addiu $a0, $a0, -0x800
|
||||
/* 101CCC 802DEBDC 0C00A41B */ jal _heap_malloc
|
||||
/* 101CD0 802DEBE0 00000000 */ nop
|
||||
/* 101CD4 802DEBE4 0040882D */ daddu $s1, $v0, $zero
|
||||
.L802DEBE8:
|
||||
/* 101CD8 802DEBE8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 101CDC 802DEBEC 0C01BB7C */ jal decode_yay0
|
||||
/* 101CE0 802DEBF0 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 101CE4 802DEBF4 0C00AB1E */ jal general_heap_free
|
||||
/* 101CE8 802DEBF8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 101CEC 802DEBFC 2404FFFF */ addiu $a0, $zero, -1
|
||||
/* 101CF0 802DEC00 00111082 */ srl $v0, $s1, 2
|
||||
/* 101CF4 802DEC04 8E320000 */ lw $s2, ($s1)
|
||||
/* 101CF8 802DEC08 00021080 */ sll $v0, $v0, 2
|
||||
/* 101CFC 802DEC0C 02429021 */ addu $s2, $s2, $v0
|
||||
/* 101D00 802DEC10 AE320000 */ sw $s2, ($s1)
|
||||
.L802DEC14:
|
||||
/* 101D04 802DEC14 8E450000 */ lw $a1, ($s2)
|
||||
/* 101D08 802DEC18 10A40008 */ beq $a1, $a0, .L802DEC3C
|
||||
/* 101D0C 802DEC1C 00A22821 */ addu $a1, $a1, $v0
|
||||
/* 101D10 802DEC20 AE450000 */ sw $a1, ($s2)
|
||||
/* 101D14 802DEC24 8CA30000 */ lw $v1, ($a1)
|
||||
/* 101D18 802DEC28 1680FFFA */ bnez $s4, .L802DEC14
|
||||
/* 101D1C 802DEC2C 26520004 */ addiu $s2, $s2, 4
|
||||
/* 101D20 802DEC30 00621821 */ addu $v1, $v1, $v0
|
||||
/* 101D24 802DEC34 080B7B05 */ j .L802DEC14
|
||||
/* 101D28 802DEC38 ACA30000 */ sw $v1, ($a1)
|
||||
|
||||
.L802DEC3C:
|
||||
/* 101D2C 802DEC3C 1280002D */ beqz $s4, .L802DECF4
|
||||
/* 101D30 802DEC40 00151880 */ sll $v1, $s5, 2
|
||||
/* 101D34 802DEC44 3C13802E */ lui $s3, 0x802e
|
||||
/* 101D38 802DEC48 2673FEB8 */ addiu $s3, $s3, -0x148
|
||||
/* 101D3C 802DEC4C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 101D40 802DEC50 24060194 */ addiu $a2, $zero, 0x194
|
||||
/* 101D44 802DEC54 3C12802E */ lui $s2, 0x802e
|
||||
/* 101D48 802DEC58 2652004C */ addiu $s2, $s2, 0x4c
|
||||
/* 101D4C 802DEC5C 8E420000 */ lw $v0, ($s2)
|
||||
/* 101D50 802DEC60 3C04802E */ lui $a0, 0x802e
|
||||
/* 101D54 802DEC64 24840C20 */ addiu $a0, $a0, 0xc20
|
||||
/* 101D58 802DEC68 3C01802E */ lui $at, 0x802e
|
||||
/* 101D5C 802DEC6C 00230821 */ addu $at, $at, $v1
|
||||
/* 101D60 802DEC70 AC220050 */ sw $v0, 0x50($at)
|
||||
/* 101D64 802DEC74 26A20001 */ addiu $v0, $s5, 1
|
||||
/* 101D68 802DEC78 00021080 */ sll $v0, $v0, 2
|
||||
/* 101D6C 802DEC7C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 101D70 802DEC80 00641821 */ addu $v1, $v1, $a0
|
||||
/* 101D74 802DEC84 3C04802E */ lui $a0, 0x802e
|
||||
/* 101D78 802DEC88 8C840C60 */ lw $a0, 0xc60($a0)
|
||||
/* 101D7C 802DEC8C 3C07802E */ lui $a3, 0x802e
|
||||
/* 101D80 802DEC90 8CE70C14 */ lw $a3, 0xc14($a3)
|
||||
/* 101D84 802DEC94 8C680000 */ lw $t0, ($v1)
|
||||
/* 101D88 802DEC98 8C420000 */ lw $v0, ($v0)
|
||||
/* 101D8C 802DEC9C 00872021 */ addu $a0, $a0, $a3
|
||||
/* 101D90 802DECA0 00081880 */ sll $v1, $t0, 2
|
||||
/* 101D94 802DECA4 00832021 */ addu $a0, $a0, $v1
|
||||
/* 101D98 802DECA8 0C017D24 */ jal nuPiReadRom
|
||||
/* 101D9C 802DECAC 00488023 */ subu $s0, $v0, $t0
|
||||
/* 101DA0 802DECB0 1A000010 */ blez $s0, .L802DECF4
|
||||
/* 101DA4 802DECB4 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 101DA8 802DECB8 3C08802E */ lui $t0, 0x802e
|
||||
/* 101DAC 802DECBC 25080090 */ addiu $t0, $t0, 0x90
|
||||
/* 101DB0 802DECC0 0240382D */ daddu $a3, $s2, $zero
|
||||
/* 101DB4 802DECC4 0260282D */ daddu $a1, $s3, $zero
|
||||
.L802DECC8:
|
||||
/* 101DB8 802DECC8 8CA40000 */ lw $a0, ($a1)
|
||||
/* 101DBC 802DECCC 24A50004 */ addiu $a1, $a1, 4
|
||||
/* 101DC0 802DECD0 8CE30000 */ lw $v1, ($a3)
|
||||
/* 101DC4 802DECD4 24C60001 */ addiu $a2, $a2, 1
|
||||
/* 101DC8 802DECD8 00031080 */ sll $v0, $v1, 2
|
||||
/* 101DCC 802DECDC 24630001 */ addiu $v1, $v1, 1
|
||||
/* 101DD0 802DECE0 00481021 */ addu $v0, $v0, $t0
|
||||
/* 101DD4 802DECE4 AC440000 */ sw $a0, ($v0)
|
||||
/* 101DD8 802DECE8 00D0102A */ slt $v0, $a2, $s0
|
||||
/* 101DDC 802DECEC 1440FFF6 */ bnez $v0, .L802DECC8
|
||||
/* 101DE0 802DECF0 ACE30000 */ sw $v1, ($a3)
|
||||
.L802DECF4:
|
||||
/* 101DE4 802DECF4 2404FFFF */ addiu $a0, $zero, -1
|
||||
/* 101DE8 802DECF8 00111082 */ srl $v0, $s1, 2
|
||||
/* 101DEC 802DECFC 8E230004 */ lw $v1, 4($s1)
|
||||
/* 101DF0 802DED00 00021080 */ sll $v0, $v0, 2
|
||||
/* 101DF4 802DED04 00621821 */ addu $v1, $v1, $v0
|
||||
/* 101DF8 802DED08 AE230004 */ sw $v1, 4($s1)
|
||||
.L802DED0C:
|
||||
/* 101DFC 802DED0C 8C650000 */ lw $a1, ($v1)
|
||||
/* 101E00 802DED10 10A40004 */ beq $a1, $a0, .L802DED24
|
||||
/* 101E04 802DED14 00A22821 */ addu $a1, $a1, $v0
|
||||
/* 101E08 802DED18 AC650000 */ sw $a1, ($v1)
|
||||
/* 101E0C 802DED1C 080B7B43 */ j .L802DED0C
|
||||
/* 101E10 802DED20 24630004 */ addiu $v1, $v1, 4
|
||||
|
||||
.L802DED24:
|
||||
/* 101E14 802DED24 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 101E18 802DED28 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 101E1C 802DED2C 0C0B7AA8 */ jal func_802DEAA0
|
||||
/* 101E20 802DED30 0220302D */ daddu $a2, $s1, $zero
|
||||
/* 101E24 802DED34 0220102D */ daddu $v0, $s1, $zero
|
||||
/* 101E28 802DED38 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 101E2C 802DED3C 8FB60028 */ lw $s6, 0x28($sp)
|
||||
/* 101E30 802DED40 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 101E34 802DED44 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 101E38 802DED48 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 101E3C 802DED4C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 101E40 802DED50 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 101E44 802DED54 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 101E48 802DED58 03E00008 */ jr $ra
|
||||
/* 101E4C 802DED5C 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
@ -0,0 +1,15 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E0D90
|
||||
/* 102610 802E0D90 3C013DCC */ lui $at, 0x3dcc
|
||||
/* 102614 802E0D94 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* 102618 802E0D98 44810000 */ mtc1 $at, $f0
|
||||
/* 10261C 802E0D9C 00000000 */ nop
|
||||
/* 102620 802E0DA0 E480001C */ swc1 $f0, 0x1c($a0)
|
||||
/* 102624 802E0DA4 E4800020 */ swc1 $f0, 0x20($a0)
|
||||
/* 102628 802E0DA8 03E00008 */ jr $ra
|
||||
/* 10262C 802E0DAC E4800024 */ swc1 $f0, 0x24($a0)
|
||||
|
@ -0,0 +1,20 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E0DB0
|
||||
/* 102630 802E0DB0 90820006 */ lbu $v0, 6($a0)
|
||||
/* 102634 802E0DB4 30420004 */ andi $v0, $v0, 4
|
||||
/* 102638 802E0DB8 10400007 */ beqz $v0, .L802E0DD8
|
||||
/* 10263C 802E0DBC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 102640 802E0DC0 3C038011 */ lui $v1, 0x8011
|
||||
/* 102644 802E0DC4 8C63EFC8 */ lw $v1, -0x1038($v1)
|
||||
/* 102648 802E0DC8 30630002 */ andi $v1, $v1, 2
|
||||
/* 10264C 802E0DCC 14600002 */ bnez $v1, .L802E0DD8
|
||||
/* 102650 802E0DD0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 102654 802E0DD4 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802E0DD8:
|
||||
/* 102658 802E0DD8 03E00008 */ jr $ra
|
||||
/* 10265C 802E0DDC 00000000 */ nop
|
||||
|
250
papermario/asm/nonmatchings/code_102610_len_2330/func_802E0DE0.s
Normal file
250
papermario/asm/nonmatchings/code_102610_len_2330/func_802E0DE0.s
Normal file
@ -0,0 +1,250 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E0DE0
|
||||
/* 102660 802E0DE0 27BDFF28 */ addiu $sp, $sp, -0xd8
|
||||
/* 102664 802E0DE4 AFB000A8 */ sw $s0, 0xa8($sp)
|
||||
/* 102668 802E0DE8 3C10800A */ lui $s0, 0x800a
|
||||
/* 10266C 802E0DEC 8E10A66C */ lw $s0, -0x5994($s0)
|
||||
/* 102670 802E0DF0 AFBF00CC */ sw $ra, 0xcc($sp)
|
||||
/* 102674 802E0DF4 AFBE00C8 */ sw $fp, 0xc8($sp)
|
||||
/* 102678 802E0DF8 AFB700C4 */ sw $s7, 0xc4($sp)
|
||||
/* 10267C 802E0DFC AFB600C0 */ sw $s6, 0xc0($sp)
|
||||
/* 102680 802E0E00 AFB500BC */ sw $s5, 0xbc($sp)
|
||||
/* 102684 802E0E04 AFB400B8 */ sw $s4, 0xb8($sp)
|
||||
/* 102688 802E0E08 AFB300B4 */ sw $s3, 0xb4($sp)
|
||||
/* 10268C 802E0E0C AFB200B0 */ sw $s2, 0xb0($sp)
|
||||
/* 102690 802E0E10 AFB100AC */ sw $s1, 0xac($sp)
|
||||
/* 102694 802E0E14 F7B400D0 */ sdc1 $f20, 0xd0($sp)
|
||||
/* 102698 802E0E18 0C04417A */ jal get_entity_by_index
|
||||
/* 10269C 802E0E1C 3C170001 */ lui $s7, 1
|
||||
/* 1026A0 802E0E20 27A40018 */ addiu $a0, $sp, 0x18
|
||||
/* 1026A4 802E0E24 36F71630 */ ori $s7, $s7, 0x1630
|
||||
/* 1026A8 802E0E28 3C0DE200 */ lui $t5, 0xe200
|
||||
/* 1026AC 802E0E2C 35AD001C */ ori $t5, $t5, 0x1c
|
||||
/* 1026B0 802E0E30 AFAD0098 */ sw $t5, 0x98($sp)
|
||||
/* 1026B4 802E0E34 3C0DFCFF */ lui $t5, 0xfcff
|
||||
/* 1026B8 802E0E38 35ADB3FF */ ori $t5, $t5, 0xb3ff
|
||||
/* 1026BC 802E0E3C AFAD009C */ sw $t5, 0x9c($sp)
|
||||
/* 1026C0 802E0E40 3C0DFF2C */ lui $t5, 0xff2c
|
||||
/* 1026C4 802E0E44 35ADFE7F */ ori $t5, $t5, 0xfe7f
|
||||
/* 1026C8 802E0E48 AFAD00A0 */ sw $t5, 0xa0($sp)
|
||||
/* 1026CC 802E0E4C 3C0DD838 */ lui $t5, 0xd838
|
||||
/* 1026D0 802E0E50 0040B02D */ daddu $s6, $v0, $zero
|
||||
/* 1026D4 802E0E54 3C140A00 */ lui $s4, 0xa00
|
||||
/* 1026D8 802E0E58 26943260 */ addiu $s4, $s4, 0x3260
|
||||
/* 1026DC 802E0E5C 3294FFFF */ andi $s4, $s4, 0xffff
|
||||
/* 1026E0 802E0E60 AFAD00A4 */ sw $t5, 0xa4($sp)
|
||||
/* 1026E4 802E0E64 8EC50044 */ lw $a1, 0x44($s6)
|
||||
/* 1026E8 802E0E68 8ED20040 */ lw $s2, 0x40($s6)
|
||||
/* 1026EC 802E0E6C 0C019D60 */ jal guMtxL2F
|
||||
/* 1026F0 802E0E70 00B42821 */ addu $a1, $a1, $s4
|
||||
/* 1026F4 802E0E74 27B10058 */ addiu $s1, $sp, 0x58
|
||||
/* 1026F8 802E0E78 C7A0004C */ lwc1 $f0, 0x4c($sp)
|
||||
/* 1026FC 802E0E7C 3C014148 */ lui $at, 0x4148
|
||||
/* 102700 802E0E80 4481A000 */ mtc1 $at, $f20
|
||||
/* 102704 802E0E84 44801000 */ mtc1 $zero, $f2
|
||||
/* 102708 802E0E88 8FAD00A4 */ lw $t5, 0xa4($sp)
|
||||
/* 10270C 802E0E8C 3C073F80 */ lui $a3, 0x3f80
|
||||
/* 102710 802E0E90 46140000 */ add.s $f0, $f0, $f20
|
||||
/* 102714 802E0E94 35AD0002 */ ori $t5, $t5, 2
|
||||
/* 102718 802E0E98 AFAD00A4 */ sw $t5, 0xa4($sp)
|
||||
/* 10271C 802E0E9C E7A0004C */ swc1 $f0, 0x4c($sp)
|
||||
/* 102720 802E0EA0 86420004 */ lh $v0, 4($s2)
|
||||
/* 102724 802E0EA4 44061000 */ mfc1 $a2, $f2
|
||||
/* 102728 802E0EA8 44822000 */ mtc1 $v0, $f4
|
||||
/* 10272C 802E0EAC 00000000 */ nop
|
||||
/* 102730 802E0EB0 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 102734 802E0EB4 44052000 */ mfc1 $a1, $f4
|
||||
/* 102738 802E0EB8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 10273C 802E0EBC 0C019EC8 */ jal guRotateF
|
||||
/* 102740 802E0EC0 AFA60010 */ sw $a2, 0x10($sp)
|
||||
/* 102744 802E0EC4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 102748 802E0EC8 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* 10274C 802E0ECC 0C019D80 */ jal guMtxCatF
|
||||
/* 102750 802E0ED0 0220302D */ daddu $a2, $s1, $zero
|
||||
/* 102754 802E0ED4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 102758 802E0ED8 3C138007 */ lui $s3, 0x8007
|
||||
/* 10275C 802E0EDC 267341F0 */ addiu $s3, $s3, 0x41f0
|
||||
/* 102760 802E0EE0 3C15800A */ lui $s5, 0x800a
|
||||
/* 102764 802E0EE4 26B5A674 */ addiu $s5, $s5, -0x598c
|
||||
/* 102768 802E0EE8 96650000 */ lhu $a1, ($s3)
|
||||
/* 10276C 802E0EEC 8EA20000 */ lw $v0, ($s5)
|
||||
/* 102770 802E0EF0 00052980 */ sll $a1, $a1, 6
|
||||
/* 102774 802E0EF4 00B72821 */ addu $a1, $a1, $s7
|
||||
/* 102778 802E0EF8 0C019D40 */ jal guMtxF2L
|
||||
/* 10277C 802E0EFC 00452821 */ addu $a1, $v0, $a1
|
||||
/* 102780 802E0F00 0200382D */ daddu $a3, $s0, $zero
|
||||
/* 102784 802E0F04 26100008 */ addiu $s0, $s0, 8
|
||||
/* 102788 802E0F08 0200402D */ daddu $t0, $s0, $zero
|
||||
/* 10278C 802E0F0C 26100008 */ addiu $s0, $s0, 8
|
||||
/* 102790 802E0F10 3C0C0050 */ lui $t4, 0x50
|
||||
/* 102794 802E0F14 358C4B50 */ ori $t4, $t4, 0x4b50
|
||||
/* 102798 802E0F18 0200302D */ daddu $a2, $s0, $zero
|
||||
/* 10279C 802E0F1C 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1027A0 802E0F20 0200482D */ daddu $t1, $s0, $zero
|
||||
/* 1027A4 802E0F24 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1027A8 802E0F28 0200502D */ daddu $t2, $s0, $zero
|
||||
/* 1027AC 802E0F2C 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1027B0 802E0F30 0200582D */ daddu $t3, $s0, $zero
|
||||
/* 1027B4 802E0F34 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1027B8 802E0F38 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1027BC 802E0F3C 96650000 */ lhu $a1, ($s3)
|
||||
/* 1027C0 802E0F40 3C0DDA38 */ lui $t5, 0xda38
|
||||
/* 1027C4 802E0F44 ACED0000 */ sw $t5, ($a3)
|
||||
/* 1027C8 802E0F48 8EA30000 */ lw $v1, ($s5)
|
||||
/* 1027CC 802E0F4C 30A2FFFF */ andi $v0, $a1, 0xffff
|
||||
/* 1027D0 802E0F50 00021180 */ sll $v0, $v0, 6
|
||||
/* 1027D4 802E0F54 00571021 */ addu $v0, $v0, $s7
|
||||
/* 1027D8 802E0F58 00621821 */ addu $v1, $v1, $v0
|
||||
/* 1027DC 802E0F5C ACE30004 */ sw $v1, 4($a3)
|
||||
/* 1027E0 802E0F60 8FAD0098 */ lw $t5, 0x98($sp)
|
||||
/* 1027E4 802E0F64 241E0040 */ addiu $fp, $zero, 0x40
|
||||
/* 1027E8 802E0F68 AD0C0004 */ sw $t4, 4($t0)
|
||||
/* 1027EC 802E0F6C AD0D0000 */ sw $t5, ($t0)
|
||||
/* 1027F0 802E0F70 8FAD009C */ lw $t5, 0x9c($sp)
|
||||
/* 1027F4 802E0F74 3C020A00 */ lui $v0, 0xa00
|
||||
/* 1027F8 802E0F78 244234E0 */ addiu $v0, $v0, 0x34e0
|
||||
/* 1027FC 802E0F7C ACCD0000 */ sw $t5, ($a2)
|
||||
/* 102800 802E0F80 8FAD00A0 */ lw $t5, 0xa0($sp)
|
||||
/* 102804 802E0F84 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 102808 802E0F88 ACCD0004 */ sw $t5, 4($a2)
|
||||
/* 10280C 802E0F8C 3C0DFA00 */ lui $t5, 0xfa00
|
||||
/* 102810 802E0F90 AD2D0000 */ sw $t5, ($t1)
|
||||
/* 102814 802E0F94 240D0080 */ addiu $t5, $zero, 0x80
|
||||
/* 102818 802E0F98 AD2D0004 */ sw $t5, 4($t1)
|
||||
/* 10281C 802E0F9C 3C0DDE00 */ lui $t5, 0xde00
|
||||
/* 102820 802E0FA0 AD4D0000 */ sw $t5, ($t2)
|
||||
/* 102824 802E0FA4 AD420004 */ sw $v0, 4($t2)
|
||||
/* 102828 802E0FA8 8FAD00A4 */ lw $t5, 0xa4($sp)
|
||||
/* 10282C 802E0FAC 3C020A00 */ lui $v0, 0xa00
|
||||
/* 102830 802E0FB0 244234F0 */ addiu $v0, $v0, 0x34f0
|
||||
/* 102834 802E0FB4 AD7E0004 */ sw $fp, 4($t3)
|
||||
/* 102838 802E0FB8 AD6D0000 */ sw $t5, ($t3)
|
||||
/* 10283C 802E0FBC 8ED20044 */ lw $s2, 0x44($s6)
|
||||
/* 102840 802E0FC0 3042FFFF */ andi $v0, $v0, 0xffff
|
||||
/* 102844 802E0FC4 A6650000 */ sh $a1, ($s3)
|
||||
/* 102848 802E0FC8 02542821 */ addu $a1, $s2, $s4
|
||||
/* 10284C 802E0FCC 0C019D60 */ jal guMtxL2F
|
||||
/* 102850 802E0FD0 02429021 */ addu $s2, $s2, $v0
|
||||
/* 102854 802E0FD4 0200182D */ daddu $v1, $s0, $zero
|
||||
/* 102858 802E0FD8 26100008 */ addiu $s0, $s0, 8
|
||||
/* 10285C 802E0FDC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 102860 802E0FE0 96650000 */ lhu $a1, ($s3)
|
||||
/* 102864 802E0FE4 C7A0008C */ lwc1 $f0, 0x8c($sp)
|
||||
/* 102868 802E0FE8 8EA20000 */ lw $v0, ($s5)
|
||||
/* 10286C 802E0FEC 00052980 */ sll $a1, $a1, 6
|
||||
/* 102870 802E0FF0 00B72821 */ addu $a1, $a1, $s7
|
||||
/* 102874 802E0FF4 46140000 */ add.s $f0, $f0, $f20
|
||||
/* 102878 802E0FF8 00452821 */ addu $a1, $v0, $a1
|
||||
/* 10287C 802E0FFC 3C02E700 */ lui $v0, 0xe700
|
||||
/* 102880 802E1000 E7A0008C */ swc1 $f0, 0x8c($sp)
|
||||
/* 102884 802E1004 AC620000 */ sw $v0, ($v1)
|
||||
/* 102888 802E1008 0C019D40 */ jal guMtxF2L
|
||||
/* 10288C 802E100C AC600004 */ sw $zero, 4($v1)
|
||||
/* 102890 802E1010 0200402D */ daddu $t0, $s0, $zero
|
||||
/* 102894 802E1014 26100008 */ addiu $s0, $s0, 8
|
||||
/* 102898 802E1018 0200482D */ daddu $t1, $s0, $zero
|
||||
/* 10289C 802E101C 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1028A0 802E1020 3C0A0050 */ lui $t2, 0x50
|
||||
/* 1028A4 802E1024 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1028A8 802E1028 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1028AC 802E102C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1028B0 802E1030 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1028B4 802E1034 0200302D */ daddu $a2, $s0, $zero
|
||||
/* 1028B8 802E1038 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1028BC 802E103C 0200382D */ daddu $a3, $s0, $zero
|
||||
/* 1028C0 802E1040 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1028C4 802E1044 96620000 */ lhu $v0, ($s3)
|
||||
/* 1028C8 802E1048 3C0DDA38 */ lui $t5, 0xda38
|
||||
/* 1028CC 802E104C AD0D0000 */ sw $t5, ($t0)
|
||||
/* 1028D0 802E1050 3C01800A */ lui $at, 0x800a
|
||||
/* 1028D4 802E1054 AC30A66C */ sw $s0, -0x5994($at)
|
||||
/* 1028D8 802E1058 24430001 */ addiu $v1, $v0, 1
|
||||
/* 1028DC 802E105C 3042FFFF */ andi $v0, $v0, 0xffff
|
||||
/* 1028E0 802E1060 00021180 */ sll $v0, $v0, 6
|
||||
/* 1028E4 802E1064 A6630000 */ sh $v1, ($s3)
|
||||
/* 1028E8 802E1068 8EA30000 */ lw $v1, ($s5)
|
||||
/* 1028EC 802E106C 00571021 */ addu $v0, $v0, $s7
|
||||
/* 1028F0 802E1070 00621821 */ addu $v1, $v1, $v0
|
||||
/* 1028F4 802E1074 AD030004 */ sw $v1, 4($t0)
|
||||
/* 1028F8 802E1078 8FAD0098 */ lw $t5, 0x98($sp)
|
||||
/* 1028FC 802E107C 354A41D8 */ ori $t2, $t2, 0x41d8
|
||||
/* 102900 802E1080 AD2D0000 */ sw $t5, ($t1)
|
||||
/* 102904 802E1084 AD2A0004 */ sw $t2, 4($t1)
|
||||
/* 102908 802E1088 8FAD009C */ lw $t5, 0x9c($sp)
|
||||
/* 10290C 802E108C AC8D0000 */ sw $t5, ($a0)
|
||||
/* 102910 802E1090 8FAD00A0 */ lw $t5, 0xa0($sp)
|
||||
/* 102914 802E1094 AC8D0004 */ sw $t5, 4($a0)
|
||||
/* 102918 802E1098 3C0DFA00 */ lui $t5, 0xfa00
|
||||
/* 10291C 802E109C ACAD0000 */ sw $t5, ($a1)
|
||||
/* 102920 802E10A0 240D0080 */ addiu $t5, $zero, 0x80
|
||||
/* 102924 802E10A4 ACAD0004 */ sw $t5, 4($a1)
|
||||
/* 102928 802E10A8 3C0DDE00 */ lui $t5, 0xde00
|
||||
/* 10292C 802E10AC ACCD0000 */ sw $t5, ($a2)
|
||||
/* 102930 802E10B0 ACD20004 */ sw $s2, 4($a2)
|
||||
/* 102934 802E10B4 8FAD00A4 */ lw $t5, 0xa4($sp)
|
||||
/* 102938 802E10B8 ACED0000 */ sw $t5, ($a3)
|
||||
/* 10293C 802E10BC ACFE0004 */ sw $fp, 4($a3)
|
||||
/* 102940 802E10C0 8FBF00CC */ lw $ra, 0xcc($sp)
|
||||
/* 102944 802E10C4 8FBE00C8 */ lw $fp, 0xc8($sp)
|
||||
/* 102948 802E10C8 8FB700C4 */ lw $s7, 0xc4($sp)
|
||||
/* 10294C 802E10CC 8FB600C0 */ lw $s6, 0xc0($sp)
|
||||
/* 102950 802E10D0 8FB500BC */ lw $s5, 0xbc($sp)
|
||||
/* 102954 802E10D4 8FB400B8 */ lw $s4, 0xb8($sp)
|
||||
/* 102958 802E10D8 8FB300B4 */ lw $s3, 0xb4($sp)
|
||||
/* 10295C 802E10DC 8FB200B0 */ lw $s2, 0xb0($sp)
|
||||
/* 102960 802E10E0 8FB100AC */ lw $s1, 0xac($sp)
|
||||
/* 102964 802E10E4 8FB000A8 */ lw $s0, 0xa8($sp)
|
||||
/* 102968 802E10E8 D7B400D0 */ ldc1 $f20, 0xd0($sp)
|
||||
/* 10296C 802E10EC 03E00008 */ jr $ra
|
||||
/* 102970 802E10F0 27BD00D8 */ addiu $sp, $sp, 0xd8
|
||||
|
||||
/* 102974 802E10F4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 102978 802E10F8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 10297C 802E10FC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 102980 802E1100 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 102984 802E1104 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 102988 802E1108 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 10298C 802E110C 86020004 */ lh $v0, 4($s0)
|
||||
/* 102990 802E1110 24420006 */ addiu $v0, $v0, 6
|
||||
/* 102994 802E1114 44826000 */ mtc1 $v0, $f12
|
||||
/* 102998 802E1118 00000000 */ nop
|
||||
/* 10299C 802E111C 0C00A6C9 */ jal clamp_angle
|
||||
/* 1029A0 802E1120 46806320 */ cvt.s.w $f12, $f12
|
||||
/* 1029A4 802E1124 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 1029A8 802E1128 44021000 */ mfc1 $v0, $f2
|
||||
/* 1029AC 802E112C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1029B0 802E1130 0C0B8D94 */ jal func_802E3650
|
||||
/* 1029B4 802E1134 A6020004 */ sh $v0, 4($s0)
|
||||
/* 1029B8 802E1138 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1029BC 802E113C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1029C0 802E1140 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1029C4 802E1144 03E00008 */ jr $ra
|
||||
/* 1029C8 802E1148 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 1029CC 802E114C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1029D0 802E1150 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1029D4 802E1154 0C009C22 */ jal func_80027088
|
||||
/* 1029D8 802E1158 24040001 */ addiu $a0, $zero, 1
|
||||
/* 1029DC 802E115C 0C03805E */ jal func_800E0178
|
||||
/* 1029E0 802E1160 00000000 */ nop
|
||||
/* 1029E4 802E1164 3C02800F */ lui $v0, 0x800f
|
||||
/* 1029E8 802E1168 8C427B30 */ lw $v0, 0x7b30($v0)
|
||||
/* 1029EC 802E116C AC400054 */ sw $zero, 0x54($v0)
|
||||
/* 1029F0 802E1170 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 1029F4 802E1174 03E00008 */ jr $ra
|
||||
/* 1029F8 802E1178 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 1029FC 802E117C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 102A00 802E1180 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 102A04 802E1184 0C009C22 */ jal func_80027088
|
||||
/* 102A08 802E1188 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 102A0C 802E118C 0C038069 */ jal func_800E01A4
|
||||
/* 102A10 802E1190 00000000 */ nop
|
||||
/* 102A14 802E1194 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 102A18 802E1198 03E00008 */ jr $ra
|
||||
/* 102A1C 802E119C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
974
papermario/asm/nonmatchings/code_102610_len_2330/func_802E153C.s
Normal file
974
papermario/asm/nonmatchings/code_102610_len_2330/func_802E153C.s
Normal file
@ -0,0 +1,974 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E153C
|
||||
/* 102DBC 802E153C 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 102DC0 802E1540 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 102DC4 802E1544 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 102DC8 802E1548 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 102DCC 802E154C 27A40018 */ addiu $a0, $sp, 0x18
|
||||
/* 102DD0 802E1550 3C014120 */ lui $at, 0x4120
|
||||
/* 102DD4 802E1554 44810000 */ mtc1 $at, $f0
|
||||
/* 102DD8 802E1558 27A5001C */ addiu $a1, $sp, 0x1c
|
||||
/* 102DDC 802E155C AFBF0038 */ sw $ra, 0x38($sp)
|
||||
/* 102DE0 802E1560 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 102DE4 802E1564 C6020048 */ lwc1 $f2, 0x48($s0)
|
||||
/* 102DE8 802E1568 C604004C */ lwc1 $f4, 0x4c($s0)
|
||||
/* 102DEC 802E156C C6060050 */ lwc1 $f6, 0x50($s0)
|
||||
/* 102DF0 802E1570 27A60020 */ addiu $a2, $sp, 0x20
|
||||
/* 102DF4 802E1574 E7A0002C */ swc1 $f0, 0x2c($sp)
|
||||
/* 102DF8 802E1578 E7A20018 */ swc1 $f2, 0x18($sp)
|
||||
/* 102DFC 802E157C E7A4001C */ swc1 $f4, 0x1c($sp)
|
||||
/* 102E00 802E1580 E7A60020 */ swc1 $f6, 0x20($sp)
|
||||
/* 102E04 802E1584 8E110040 */ lw $s1, 0x40($s0)
|
||||
/* 102E08 802E1588 27A70024 */ addiu $a3, $sp, 0x24
|
||||
/* 102E0C 802E158C AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 102E10 802E1590 27A2002C */ addiu $v0, $sp, 0x2c
|
||||
/* 102E14 802E1594 0C04497A */ jal func_801125E8
|
||||
/* 102E18 802E1598 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 102E1C 802E159C C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 102E20 802E15A0 C7A4001C */ lwc1 $f4, 0x1c($sp)
|
||||
/* 102E24 802E15A4 46040032 */ c.eq.s $f0, $f4
|
||||
/* 102E28 802E15A8 00000000 */ nop
|
||||
/* 102E2C 802E15AC 45010014 */ bc1t .L802E1600
|
||||
/* 102E30 802E15B0 00000000 */ nop
|
||||
/* 102E34 802E15B4 4600203C */ c.lt.s $f4, $f0
|
||||
/* 102E38 802E15B8 00000000 */ nop
|
||||
/* 102E3C 802E15BC 45000010 */ bc1f .L802E1600
|
||||
/* 102E40 802E15C0 00000000 */ nop
|
||||
/* 102E44 802E15C4 C6220000 */ lwc1 $f2, ($s1)
|
||||
/* 102E48 802E15C8 3C013FE0 */ lui $at, 0x3fe0
|
||||
/* 102E4C 802E15CC 44810800 */ mtc1 $at, $f1
|
||||
/* 102E50 802E15D0 44800000 */ mtc1 $zero, $f0
|
||||
/* 102E54 802E15D4 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 102E58 802E15D8 46201080 */ add.d $f2, $f2, $f0
|
||||
/* 102E5C 802E15DC 462010A0 */ cvt.s.d $f2, $f2
|
||||
/* 102E60 802E15E0 E6220000 */ swc1 $f2, ($s1)
|
||||
/* 102E64 802E15E4 C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 102E68 802E15E8 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 102E6C 802E15EC 4604003C */ c.lt.s $f0, $f4
|
||||
/* 102E70 802E15F0 00000000 */ nop
|
||||
/* 102E74 802E15F4 45000002 */ bc1f .L802E1600
|
||||
/* 102E78 802E15F8 E600004C */ swc1 $f0, 0x4c($s0)
|
||||
/* 102E7C 802E15FC E604004C */ swc1 $f4, 0x4c($s0)
|
||||
.L802E1600:
|
||||
/* 102E80 802E1600 8FBF0038 */ lw $ra, 0x38($sp)
|
||||
/* 102E84 802E1604 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 102E88 802E1608 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 102E8C 802E160C 03E00008 */ jr $ra
|
||||
/* 102E90 802E1610 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
/* 102E94 802E1614 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 102E98 802E1618 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 102E9C 802E161C 90820006 */ lbu $v0, 6($a0)
|
||||
/* 102EA0 802E1620 30420001 */ andi $v0, $v0, 1
|
||||
/* 102EA4 802E1624 1040000B */ beqz $v0, .L802E1654
|
||||
/* 102EA8 802E1628 00000000 */ nop
|
||||
/* 102EAC 802E162C 3C028011 */ lui $v0, 0x8011
|
||||
/* 102EB0 802E1630 2442EFC8 */ addiu $v0, $v0, -0x1038
|
||||
/* 102EB4 802E1634 804300B4 */ lb $v1, 0xb4($v0)
|
||||
/* 102EB8 802E1638 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* 102EBC 802E163C 10620003 */ beq $v1, $v0, .L802E164C
|
||||
/* 102EC0 802E1640 24020010 */ addiu $v0, $zero, 0x10
|
||||
/* 102EC4 802E1644 14620003 */ bne $v1, $v0, .L802E1654
|
||||
/* 102EC8 802E1648 00000000 */ nop
|
||||
.L802E164C:
|
||||
/* 102ECC 802E164C 0C043F5A */ jal func_8010FD68
|
||||
/* 102ED0 802E1650 00000000 */ nop
|
||||
.L802E1654:
|
||||
/* 102ED4 802E1654 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 102ED8 802E1658 03E00008 */ jr $ra
|
||||
/* 102EDC 802E165C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 102EE0 802E1660 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 102EE4 802E1664 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 102EE8 802E1668 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 102EEC 802E166C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 102EF0 802E1670 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 102EF4 802E1674 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 102EF8 802E1678 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 102EFC 802E167C 0C0B854F */ jal func_802E153C
|
||||
/* 102F00 802E1680 8E130040 */ lw $s3, 0x40($s0)
|
||||
/* 102F04 802E1684 3C118011 */ lui $s1, 0x8011
|
||||
/* 102F08 802E1688 2631EFC8 */ addiu $s1, $s1, -0x1038
|
||||
/* 102F0C 802E168C 92020006 */ lbu $v0, 6($s0)
|
||||
/* 102F10 802E1690 3C128011 */ lui $s2, 0x8011
|
||||
/* 102F14 802E1694 2652EBB0 */ addiu $s2, $s2, -0x1450
|
||||
/* 102F18 802E1698 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 102F1C 802E169C 1040000A */ beqz $v0, .L802E16C8
|
||||
/* 102F20 802E16A0 24020012 */ addiu $v0, $zero, 0x12
|
||||
/* 102F24 802E16A4 822300B4 */ lb $v1, 0xb4($s1)
|
||||
/* 102F28 802E16A8 14620009 */ bne $v1, $v0, .L802E16D0
|
||||
/* 102F2C 802E16AC 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* 102F30 802E16B0 3C028011 */ lui $v0, 0x8011
|
||||
/* 102F34 802E16B4 8042F291 */ lb $v0, -0xd6f($v0)
|
||||
/* 102F38 802E16B8 0440001A */ bltz $v0, .L802E1724
|
||||
/* 102F3C 802E16BC 00000000 */ nop
|
||||
/* 102F40 802E16C0 080B85C2 */ j .L802E1708
|
||||
/* 102F44 802E16C4 00000000 */ nop
|
||||
|
||||
.L802E16C8:
|
||||
/* 102F48 802E16C8 822300B4 */ lb $v1, 0xb4($s1)
|
||||
/* 102F4C 802E16CC 2402000D */ addiu $v0, $zero, 0xd
|
||||
.L802E16D0:
|
||||
/* 102F50 802E16D0 10620014 */ beq $v1, $v0, .L802E1724
|
||||
/* 102F54 802E16D4 24020004 */ addiu $v0, $zero, 4
|
||||
/* 102F58 802E16D8 82430003 */ lb $v1, 3($s2)
|
||||
/* 102F5C 802E16DC 14620004 */ bne $v1, $v0, .L802E16F0
|
||||
/* 102F60 802E16E0 00000000 */ nop
|
||||
/* 102F64 802E16E4 82420000 */ lb $v0, ($s2)
|
||||
/* 102F68 802E16E8 1440000E */ bnez $v0, .L802E1724
|
||||
/* 102F6C 802E16EC 00000000 */ nop
|
||||
.L802E16F0:
|
||||
/* 102F70 802E16F0 92030006 */ lbu $v1, 6($s0)
|
||||
/* 102F74 802E16F4 30620001 */ andi $v0, $v1, 1
|
||||
/* 102F78 802E16F8 14400003 */ bnez $v0, .L802E1708
|
||||
/* 102F7C 802E16FC 30620080 */ andi $v0, $v1, 0x80
|
||||
/* 102F80 802E1700 10400008 */ beqz $v0, .L802E1724
|
||||
/* 102F84 802E1704 00000000 */ nop
|
||||
.L802E1708:
|
||||
/* 102F88 802E1708 0C043F5A */ jal func_8010FD68
|
||||
/* 102F8C 802E170C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 102F90 802E1710 8E640028 */ lw $a0, 0x28($s3)
|
||||
/* 102F94 802E1714 10800003 */ beqz $a0, .L802E1724
|
||||
/* 102F98 802E1718 00000000 */ nop
|
||||
/* 102F9C 802E171C 0C043F5A */ jal func_8010FD68
|
||||
/* 102FA0 802E1720 00000000 */ nop
|
||||
.L802E1724:
|
||||
/* 102FA4 802E1724 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 102FA8 802E1728 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 102FAC 802E172C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 102FB0 802E1730 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 102FB4 802E1734 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 102FB8 802E1738 03E00008 */ jr $ra
|
||||
/* 102FBC 802E173C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 102FC0 802E1740 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 102FC4 802E1744 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 102FC8 802E1748 90820006 */ lbu $v0, 6($a0)
|
||||
/* 102FCC 802E174C 30420001 */ andi $v0, $v0, 1
|
||||
/* 102FD0 802E1750 14400003 */ bnez $v0, .L802E1760
|
||||
/* 102FD4 802E1754 00000000 */ nop
|
||||
/* 102FD8 802E1758 0C043F5A */ jal func_8010FD68
|
||||
/* 102FDC 802E175C 00000000 */ nop
|
||||
.L802E1760:
|
||||
/* 102FE0 802E1760 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 102FE4 802E1764 03E00008 */ jr $ra
|
||||
/* 102FE8 802E1768 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 102FEC 802E176C 8C820040 */ lw $v0, 0x40($a0)
|
||||
/* 102FF0 802E1770 3C013F80 */ lui $at, 0x3f80
|
||||
/* 102FF4 802E1774 44810000 */ mtc1 $at, $f0
|
||||
/* 102FF8 802E1778 3C013DCC */ lui $at, 0x3dcc
|
||||
/* 102FFC 802E177C 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* 103000 802E1780 44811000 */ mtc1 $at, $f2
|
||||
/* 103004 802E1784 3C01BDCC */ lui $at, 0xbdcc
|
||||
/* 103008 802E1788 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* 10300C 802E178C 44812000 */ mtc1 $at, $f4
|
||||
/* 103010 802E1790 E4400000 */ swc1 $f0, ($v0)
|
||||
/* 103014 802E1794 E4420004 */ swc1 $f2, 4($v0)
|
||||
/* 103018 802E1798 E4440008 */ swc1 $f4, 8($v0)
|
||||
/* 10301C 802E179C A0400010 */ sb $zero, 0x10($v0)
|
||||
/* 103020 802E17A0 03E00008 */ jr $ra
|
||||
/* 103024 802E17A4 A0400011 */ sb $zero, 0x11($v0)
|
||||
|
||||
/* 103028 802E17A8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 10302C 802E17AC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 103030 802E17B0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 103034 802E17B4 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 103038 802E17B8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 10303C 802E17BC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 103040 802E17C0 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 103044 802E17C4 82030010 */ lb $v1, 0x10($s0)
|
||||
/* 103048 802E17C8 2C620006 */ sltiu $v0, $v1, 6
|
||||
/* 10304C 802E17CC 104000D3 */ beqz $v0, .L802E1B1C
|
||||
/* 103050 802E17D0 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 103054 802E17D4 00031080 */ sll $v0, $v1, 2
|
||||
/* 103058 802E17D8 3C01802F */ lui $at, 0x802f
|
||||
/* 10305C 802E17DC 00220821 */ addu $at, $at, $v0
|
||||
/* 103060 802E17E0 8C22B010 */ lw $v0, -0x4ff0($at)
|
||||
/* 103064 802E17E4 00400008 */ jr $v0
|
||||
/* 103068 802E17E8 00000000 */ nop
|
||||
/* 10306C 802E17EC C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 103070 802E17F0 3C01802F */ lui $at, 0x802f
|
||||
/* 103074 802E17F4 D420B028 */ ldc1 $f0, -0x4fd8($at)
|
||||
/* 103078 802E17F8 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 10307C 802E17FC 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 103080 802E1800 00000000 */ nop
|
||||
/* 103084 802E1804 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 103088 802E1808 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 10308C 802E180C 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103090 802E1810 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 103094 802E1814 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 103098 802E1818 3C013FD0 */ lui $at, 0x3fd0
|
||||
/* 10309C 802E181C 44811800 */ mtc1 $at, $f3
|
||||
/* 1030A0 802E1820 44801000 */ mtc1 $zero, $f2
|
||||
/* 1030A4 802E1824 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 1030A8 802E1828 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 1030AC 802E182C 00000000 */ nop
|
||||
/* 1030B0 802E1830 3C01802F */ lui $at, 0x802f
|
||||
/* 1030B4 802E1834 D422B030 */ ldc1 $f2, -0x4fd0($at)
|
||||
/* 1030B8 802E1838 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 1030BC 802E183C 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 1030C0 802E1840 4622003C */ c.lt.d $f0, $f2
|
||||
/* 1030C4 802E1844 00000000 */ nop
|
||||
/* 1030C8 802E1848 45000004 */ bc1f .L802E185C
|
||||
/* 1030CC 802E184C 00000000 */ nop
|
||||
/* 1030D0 802E1850 3C013C23 */ lui $at, 0x3c23
|
||||
/* 1030D4 802E1854 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 1030D8 802E1858 44812000 */ mtc1 $at, $f4
|
||||
.L802E185C:
|
||||
/* 1030DC 802E185C C6000004 */ lwc1 $f0, 4($s0)
|
||||
/* 1030E0 802E1860 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 1030E4 802E1864 E6000004 */ swc1 $f0, 4($s0)
|
||||
/* 1030E8 802E1868 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 1030EC 802E186C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 1030F0 802E1870 E6220054 */ swc1 $f2, 0x54($s1)
|
||||
/* 1030F4 802E1874 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 1030F8 802E1878 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 1030FC 802E187C 4602003E */ c.le.s $f0, $f2
|
||||
/* 103100 802E1880 00000000 */ nop
|
||||
/* 103104 802E1884 450000A5 */ bc1f .L802E1B1C
|
||||
/* 103108 802E1888 00000000 */ nop
|
||||
/* 10310C 802E188C 080B86C1 */ j .L802E1B04
|
||||
/* 103110 802E1890 00000000 */ nop
|
||||
|
||||
/* 103114 802E1894 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 103118 802E1898 3C01802F */ lui $at, 0x802f
|
||||
/* 10311C 802E189C D420B038 */ ldc1 $f0, -0x4fc8($at)
|
||||
/* 103120 802E18A0 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 103124 802E18A4 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 103128 802E18A8 00000000 */ nop
|
||||
/* 10312C 802E18AC C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 103130 802E18B0 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 103134 802E18B4 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103138 802E18B8 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 10313C 802E18BC 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 103140 802E18C0 3C014018 */ lui $at, 0x4018
|
||||
/* 103144 802E18C4 44811800 */ mtc1 $at, $f3
|
||||
/* 103148 802E18C8 44801000 */ mtc1 $zero, $f2
|
||||
/* 10314C 802E18CC 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 103150 802E18D0 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 103154 802E18D4 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 103158 802E18D8 3C01802F */ lui $at, 0x802f
|
||||
/* 10315C 802E18DC D422B040 */ ldc1 $f2, -0x4fc0($at)
|
||||
/* 103160 802E18E0 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 103164 802E18E4 4620103C */ c.lt.d $f2, $f0
|
||||
/* 103168 802E18E8 00000000 */ nop
|
||||
/* 10316C 802E18EC 45000004 */ bc1f .L802E1900
|
||||
/* 103170 802E18F0 00000000 */ nop
|
||||
/* 103174 802E18F4 3C01BC23 */ lui $at, 0xbc23
|
||||
/* 103178 802E18F8 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 10317C 802E18FC 44812000 */ mtc1 $at, $f4
|
||||
.L802E1900:
|
||||
/* 103180 802E1900 C6000004 */ lwc1 $f0, 4($s0)
|
||||
/* 103184 802E1904 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 103188 802E1908 E6000004 */ swc1 $f0, 4($s0)
|
||||
/* 10318C 802E190C C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 103190 802E1910 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 103194 802E1914 E6220054 */ swc1 $f2, 0x54($s1)
|
||||
/* 103198 802E1918 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 10319C 802E191C 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 1031A0 802E1920 4600103E */ c.le.s $f2, $f0
|
||||
/* 1031A4 802E1924 00000000 */ nop
|
||||
/* 1031A8 802E1928 4500007C */ bc1f .L802E1B1C
|
||||
/* 1031AC 802E192C 00000000 */ nop
|
||||
/* 1031B0 802E1930 080B86C1 */ j .L802E1B04
|
||||
/* 1031B4 802E1934 00000000 */ nop
|
||||
|
||||
/* 1031B8 802E1938 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 1031BC 802E193C 3C01802F */ lui $at, 0x802f
|
||||
/* 1031C0 802E1940 D420B048 */ ldc1 $f0, -0x4fb8($at)
|
||||
/* 1031C4 802E1944 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 1031C8 802E1948 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 1031CC 802E194C 00000000 */ nop
|
||||
/* 1031D0 802E1950 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 1031D4 802E1954 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 1031D8 802E1958 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 1031DC 802E195C C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 1031E0 802E1960 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 1031E4 802E1964 3C013FD0 */ lui $at, 0x3fd0
|
||||
/* 1031E8 802E1968 44811800 */ mtc1 $at, $f3
|
||||
/* 1031EC 802E196C 44801000 */ mtc1 $zero, $f2
|
||||
/* 1031F0 802E1970 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 1031F4 802E1974 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 1031F8 802E1978 00000000 */ nop
|
||||
/* 1031FC 802E197C 3C01802F */ lui $at, 0x802f
|
||||
/* 103200 802E1980 D422B050 */ ldc1 $f2, -0x4fb0($at)
|
||||
/* 103204 802E1984 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 103208 802E1988 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 10320C 802E198C 4622003C */ c.lt.d $f0, $f2
|
||||
/* 103210 802E1990 00000000 */ nop
|
||||
/* 103214 802E1994 45000004 */ bc1f .L802E19A8
|
||||
/* 103218 802E1998 00000000 */ nop
|
||||
/* 10321C 802E199C 3C013C23 */ lui $at, 0x3c23
|
||||
/* 103220 802E19A0 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 103224 802E19A4 44812000 */ mtc1 $at, $f4
|
||||
.L802E19A8:
|
||||
/* 103228 802E19A8 C6000004 */ lwc1 $f0, 4($s0)
|
||||
/* 10322C 802E19AC 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 103230 802E19B0 E6000004 */ swc1 $f0, 4($s0)
|
||||
/* 103234 802E19B4 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 103238 802E19B8 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 10323C 802E19BC E6220054 */ swc1 $f2, 0x54($s1)
|
||||
/* 103240 802E19C0 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 103244 802E19C4 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103248 802E19C8 4602003E */ c.le.s $f0, $f2
|
||||
/* 10324C 802E19CC 00000000 */ nop
|
||||
/* 103250 802E19D0 45000052 */ bc1f .L802E1B1C
|
||||
/* 103254 802E19D4 00000000 */ nop
|
||||
/* 103258 802E19D8 080B86C1 */ j .L802E1B04
|
||||
/* 10325C 802E19DC 00000000 */ nop
|
||||
|
||||
/* 103260 802E19E0 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 103264 802E19E4 3C01802F */ lui $at, 0x802f
|
||||
/* 103268 802E19E8 D420B058 */ ldc1 $f0, -0x4fa8($at)
|
||||
/* 10326C 802E19EC 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 103270 802E19F0 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 103274 802E19F4 00000000 */ nop
|
||||
/* 103278 802E19F8 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 10327C 802E19FC 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 103280 802E1A00 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103284 802E1A04 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 103288 802E1A08 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 10328C 802E1A0C 3C014018 */ lui $at, 0x4018
|
||||
/* 103290 802E1A10 44811800 */ mtc1 $at, $f3
|
||||
/* 103294 802E1A14 44801000 */ mtc1 $zero, $f2
|
||||
/* 103298 802E1A18 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 10329C 802E1A1C 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 1032A0 802E1A20 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 1032A4 802E1A24 3C01802F */ lui $at, 0x802f
|
||||
/* 1032A8 802E1A28 D422B060 */ ldc1 $f2, -0x4fa0($at)
|
||||
/* 1032AC 802E1A2C 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 1032B0 802E1A30 4620103C */ c.lt.d $f2, $f0
|
||||
/* 1032B4 802E1A34 00000000 */ nop
|
||||
/* 1032B8 802E1A38 45000004 */ bc1f .L802E1A4C
|
||||
/* 1032BC 802E1A3C 00000000 */ nop
|
||||
/* 1032C0 802E1A40 3C01BC23 */ lui $at, 0xbc23
|
||||
/* 1032C4 802E1A44 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 1032C8 802E1A48 44812000 */ mtc1 $at, $f4
|
||||
.L802E1A4C:
|
||||
/* 1032CC 802E1A4C C6000004 */ lwc1 $f0, 4($s0)
|
||||
/* 1032D0 802E1A50 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 1032D4 802E1A54 E6000004 */ swc1 $f0, 4($s0)
|
||||
/* 1032D8 802E1A58 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 1032DC 802E1A5C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 1032E0 802E1A60 E6220054 */ swc1 $f2, 0x54($s1)
|
||||
/* 1032E4 802E1A64 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 1032E8 802E1A68 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 1032EC 802E1A6C 4600103E */ c.le.s $f2, $f0
|
||||
/* 1032F0 802E1A70 00000000 */ nop
|
||||
/* 1032F4 802E1A74 45000029 */ bc1f .L802E1B1C
|
||||
/* 1032F8 802E1A78 00000000 */ nop
|
||||
/* 1032FC 802E1A7C 080B86C1 */ j .L802E1B04
|
||||
/* 103300 802E1A80 00000000 */ nop
|
||||
|
||||
/* 103304 802E1A84 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 103308 802E1A88 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 10330C 802E1A8C 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 103310 802E1A90 3C013FD0 */ lui $at, 0x3fd0
|
||||
/* 103314 802E1A94 44811800 */ mtc1 $at, $f3
|
||||
/* 103318 802E1A98 44801000 */ mtc1 $zero, $f2
|
||||
/* 10331C 802E1A9C 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 103320 802E1AA0 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 103324 802E1AA4 00000000 */ nop
|
||||
/* 103328 802E1AA8 3C01802F */ lui $at, 0x802f
|
||||
/* 10332C 802E1AAC D422B068 */ ldc1 $f2, -0x4f98($at)
|
||||
/* 103330 802E1AB0 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 103334 802E1AB4 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 103338 802E1AB8 4622003C */ c.lt.d $f0, $f2
|
||||
/* 10333C 802E1ABC 00000000 */ nop
|
||||
/* 103340 802E1AC0 45000004 */ bc1f .L802E1AD4
|
||||
/* 103344 802E1AC4 00000000 */ nop
|
||||
/* 103348 802E1AC8 3C013C23 */ lui $at, 0x3c23
|
||||
/* 10334C 802E1ACC 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 103350 802E1AD0 44812000 */ mtc1 $at, $f4
|
||||
.L802E1AD4:
|
||||
/* 103354 802E1AD4 C6000004 */ lwc1 $f0, 4($s0)
|
||||
/* 103358 802E1AD8 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 10335C 802E1ADC E6000004 */ swc1 $f0, 4($s0)
|
||||
/* 103360 802E1AE0 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 103364 802E1AE4 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 103368 802E1AE8 E6220054 */ swc1 $f2, 0x54($s1)
|
||||
/* 10336C 802E1AEC C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 103370 802E1AF0 4602003E */ c.le.s $f0, $f2
|
||||
/* 103374 802E1AF4 00000000 */ nop
|
||||
/* 103378 802E1AF8 45000008 */ bc1f .L802E1B1C
|
||||
/* 10337C 802E1AFC 00000000 */ nop
|
||||
/* 103380 802E1B00 E6200054 */ swc1 $f0, 0x54($s1)
|
||||
.L802E1B04:
|
||||
/* 103384 802E1B04 92020010 */ lbu $v0, 0x10($s0)
|
||||
/* 103388 802E1B08 AE000004 */ sw $zero, 4($s0)
|
||||
/* 10338C 802E1B0C 24420001 */ addiu $v0, $v0, 1
|
||||
/* 103390 802E1B10 080B86C7 */ j .L802E1B1C
|
||||
/* 103394 802E1B14 A2020010 */ sb $v0, 0x10($s0)
|
||||
|
||||
/* 103398 802E1B18 26520001 */ addiu $s2, $s2, 1
|
||||
.L802E1B1C:
|
||||
/* 10339C 802E1B1C C6200054 */ lwc1 $f0, 0x54($s1)
|
||||
/* 1033A0 802E1B20 E620005C */ swc1 $f0, 0x5c($s1)
|
||||
/* 1033A4 802E1B24 82030011 */ lb $v1, 0x11($s0)
|
||||
/* 1033A8 802E1B28 2C620006 */ sltiu $v0, $v1, 6
|
||||
/* 1033AC 802E1B2C 104000D0 */ beqz $v0, .L802E1E70
|
||||
/* 1033B0 802E1B30 00031080 */ sll $v0, $v1, 2
|
||||
/* 1033B4 802E1B34 3C01802F */ lui $at, 0x802f
|
||||
/* 1033B8 802E1B38 00220821 */ addu $at, $at, $v0
|
||||
/* 1033BC 802E1B3C 8C22B070 */ lw $v0, -0x4f90($at)
|
||||
/* 1033C0 802E1B40 00400008 */ jr $v0
|
||||
/* 1033C4 802E1B44 00000000 */ nop
|
||||
/* 1033C8 802E1B48 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 1033CC 802E1B4C 3C01BFE0 */ lui $at, 0xbfe0
|
||||
/* 1033D0 802E1B50 44810800 */ mtc1 $at, $f1
|
||||
/* 1033D4 802E1B54 44800000 */ mtc1 $zero, $f0
|
||||
/* 1033D8 802E1B58 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 1033DC 802E1B5C 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 1033E0 802E1B60 00000000 */ nop
|
||||
/* 1033E4 802E1B64 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 1033E8 802E1B68 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 1033EC 802E1B6C 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 1033F0 802E1B70 C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 1033F4 802E1B74 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 1033F8 802E1B78 3C014014 */ lui $at, 0x4014
|
||||
/* 1033FC 802E1B7C 44811800 */ mtc1 $at, $f3
|
||||
/* 103400 802E1B80 44801000 */ mtc1 $zero, $f2
|
||||
/* 103404 802E1B84 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 103408 802E1B88 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 10340C 802E1B8C 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 103410 802E1B90 3C01802F */ lui $at, 0x802f
|
||||
/* 103414 802E1B94 D422B088 */ ldc1 $f2, -0x4f78($at)
|
||||
/* 103418 802E1B98 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 10341C 802E1B9C 4620103C */ c.lt.d $f2, $f0
|
||||
/* 103420 802E1BA0 00000000 */ nop
|
||||
/* 103424 802E1BA4 45000004 */ bc1f .L802E1BB8
|
||||
/* 103428 802E1BA8 00000000 */ nop
|
||||
/* 10342C 802E1BAC 3C01BC23 */ lui $at, 0xbc23
|
||||
/* 103430 802E1BB0 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 103434 802E1BB4 44812000 */ mtc1 $at, $f4
|
||||
.L802E1BB8:
|
||||
/* 103438 802E1BB8 C6000008 */ lwc1 $f0, 8($s0)
|
||||
/* 10343C 802E1BBC 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 103440 802E1BC0 E6000008 */ swc1 $f0, 8($s0)
|
||||
/* 103444 802E1BC4 C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 103448 802E1BC8 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 10344C 802E1BCC E6220058 */ swc1 $f2, 0x58($s1)
|
||||
/* 103450 802E1BD0 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 103454 802E1BD4 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103458 802E1BD8 4600103E */ c.le.s $f2, $f0
|
||||
/* 10345C 802E1BDC 00000000 */ nop
|
||||
/* 103460 802E1BE0 450000A3 */ bc1f .L802E1E70
|
||||
/* 103464 802E1BE4 00000000 */ nop
|
||||
/* 103468 802E1BE8 080B8796 */ j .L802E1E58
|
||||
/* 10346C 802E1BEC 00000000 */ nop
|
||||
|
||||
/* 103470 802E1BF0 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 103474 802E1BF4 3C01802F */ lui $at, 0x802f
|
||||
/* 103478 802E1BF8 D420B090 */ ldc1 $f0, -0x4f70($at)
|
||||
/* 10347C 802E1BFC 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 103480 802E1C00 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 103484 802E1C04 00000000 */ nop
|
||||
/* 103488 802E1C08 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 10348C 802E1C0C 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 103490 802E1C10 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103494 802E1C14 C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 103498 802E1C18 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 10349C 802E1C1C 3C014024 */ lui $at, 0x4024
|
||||
/* 1034A0 802E1C20 44811800 */ mtc1 $at, $f3
|
||||
/* 1034A4 802E1C24 44801000 */ mtc1 $zero, $f2
|
||||
/* 1034A8 802E1C28 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 1034AC 802E1C2C 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 1034B0 802E1C30 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 1034B4 802E1C34 3C01802F */ lui $at, 0x802f
|
||||
/* 1034B8 802E1C38 D422B098 */ ldc1 $f2, -0x4f68($at)
|
||||
/* 1034BC 802E1C3C 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 1034C0 802E1C40 4622003C */ c.lt.d $f0, $f2
|
||||
/* 1034C4 802E1C44 00000000 */ nop
|
||||
/* 1034C8 802E1C48 45000004 */ bc1f .L802E1C5C
|
||||
/* 1034CC 802E1C4C 00000000 */ nop
|
||||
/* 1034D0 802E1C50 3C013C23 */ lui $at, 0x3c23
|
||||
/* 1034D4 802E1C54 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 1034D8 802E1C58 44812000 */ mtc1 $at, $f4
|
||||
.L802E1C5C:
|
||||
/* 1034DC 802E1C5C C6000008 */ lwc1 $f0, 8($s0)
|
||||
/* 1034E0 802E1C60 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 1034E4 802E1C64 E6000008 */ swc1 $f0, 8($s0)
|
||||
/* 1034E8 802E1C68 C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 1034EC 802E1C6C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 1034F0 802E1C70 E6220058 */ swc1 $f2, 0x58($s1)
|
||||
/* 1034F4 802E1C74 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 1034F8 802E1C78 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 1034FC 802E1C7C 4602003E */ c.le.s $f0, $f2
|
||||
/* 103500 802E1C80 00000000 */ nop
|
||||
/* 103504 802E1C84 4500007A */ bc1f .L802E1E70
|
||||
/* 103508 802E1C88 00000000 */ nop
|
||||
/* 10350C 802E1C8C 080B8796 */ j .L802E1E58
|
||||
/* 103510 802E1C90 00000000 */ nop
|
||||
|
||||
/* 103514 802E1C94 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 103518 802E1C98 3C01802F */ lui $at, 0x802f
|
||||
/* 10351C 802E1C9C D420B0A0 */ ldc1 $f0, -0x4f60($at)
|
||||
/* 103520 802E1CA0 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 103524 802E1CA4 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 103528 802E1CA8 00000000 */ nop
|
||||
/* 10352C 802E1CAC C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 103530 802E1CB0 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 103534 802E1CB4 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103538 802E1CB8 C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 10353C 802E1CBC 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 103540 802E1CC0 3C014014 */ lui $at, 0x4014
|
||||
/* 103544 802E1CC4 44811800 */ mtc1 $at, $f3
|
||||
/* 103548 802E1CC8 44801000 */ mtc1 $zero, $f2
|
||||
/* 10354C 802E1CCC 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 103550 802E1CD0 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 103554 802E1CD4 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 103558 802E1CD8 3C01802F */ lui $at, 0x802f
|
||||
/* 10355C 802E1CDC D422B0A8 */ ldc1 $f2, -0x4f58($at)
|
||||
/* 103560 802E1CE0 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 103564 802E1CE4 4620103C */ c.lt.d $f2, $f0
|
||||
/* 103568 802E1CE8 00000000 */ nop
|
||||
/* 10356C 802E1CEC 45000004 */ bc1f .L802E1D00
|
||||
/* 103570 802E1CF0 00000000 */ nop
|
||||
/* 103574 802E1CF4 3C01BC23 */ lui $at, 0xbc23
|
||||
/* 103578 802E1CF8 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 10357C 802E1CFC 44812000 */ mtc1 $at, $f4
|
||||
.L802E1D00:
|
||||
/* 103580 802E1D00 C6000008 */ lwc1 $f0, 8($s0)
|
||||
/* 103584 802E1D04 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 103588 802E1D08 E6000008 */ swc1 $f0, 8($s0)
|
||||
/* 10358C 802E1D0C C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 103590 802E1D10 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 103594 802E1D14 E6220058 */ swc1 $f2, 0x58($s1)
|
||||
/* 103598 802E1D18 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 10359C 802E1D1C 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 1035A0 802E1D20 4600103E */ c.le.s $f2, $f0
|
||||
/* 1035A4 802E1D24 00000000 */ nop
|
||||
/* 1035A8 802E1D28 45000051 */ bc1f .L802E1E70
|
||||
/* 1035AC 802E1D2C 00000000 */ nop
|
||||
/* 1035B0 802E1D30 080B8796 */ j .L802E1E58
|
||||
/* 1035B4 802E1D34 00000000 */ nop
|
||||
|
||||
/* 1035B8 802E1D38 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 1035BC 802E1D3C 44800000 */ mtc1 $zero, $f0
|
||||
/* 1035C0 802E1D40 44800800 */ mtc1 $zero, $f1
|
||||
/* 1035C4 802E1D44 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 1035C8 802E1D48 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 1035CC 802E1D4C 00000000 */ nop
|
||||
/* 1035D0 802E1D50 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 1035D4 802E1D54 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 1035D8 802E1D58 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 1035DC 802E1D5C C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 1035E0 802E1D60 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 1035E4 802E1D64 3C014024 */ lui $at, 0x4024
|
||||
/* 1035E8 802E1D68 44811800 */ mtc1 $at, $f3
|
||||
/* 1035EC 802E1D6C 44801000 */ mtc1 $zero, $f2
|
||||
/* 1035F0 802E1D70 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 1035F4 802E1D74 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 1035F8 802E1D78 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 1035FC 802E1D7C 3C01802F */ lui $at, 0x802f
|
||||
/* 103600 802E1D80 D422B0B0 */ ldc1 $f2, -0x4f50($at)
|
||||
/* 103604 802E1D84 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 103608 802E1D88 4622003C */ c.lt.d $f0, $f2
|
||||
/* 10360C 802E1D8C 00000000 */ nop
|
||||
/* 103610 802E1D90 45000004 */ bc1f .L802E1DA4
|
||||
/* 103614 802E1D94 00000000 */ nop
|
||||
/* 103618 802E1D98 3C013C23 */ lui $at, 0x3c23
|
||||
/* 10361C 802E1D9C 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 103620 802E1DA0 44812000 */ mtc1 $at, $f4
|
||||
.L802E1DA4:
|
||||
/* 103624 802E1DA4 C6000008 */ lwc1 $f0, 8($s0)
|
||||
/* 103628 802E1DA8 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 10362C 802E1DAC E6000008 */ swc1 $f0, 8($s0)
|
||||
/* 103630 802E1DB0 C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 103634 802E1DB4 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 103638 802E1DB8 E6220058 */ swc1 $f2, 0x58($s1)
|
||||
/* 10363C 802E1DBC C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 103640 802E1DC0 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103644 802E1DC4 4602003E */ c.le.s $f0, $f2
|
||||
/* 103648 802E1DC8 00000000 */ nop
|
||||
/* 10364C 802E1DCC 45000028 */ bc1f .L802E1E70
|
||||
/* 103650 802E1DD0 00000000 */ nop
|
||||
/* 103654 802E1DD4 080B8796 */ j .L802E1E58
|
||||
/* 103658 802E1DD8 00000000 */ nop
|
||||
|
||||
/* 10365C 802E1DDC C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 103660 802E1DE0 C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 103664 802E1DE4 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 103668 802E1DE8 3C014014 */ lui $at, 0x4014
|
||||
/* 10366C 802E1DEC 44811800 */ mtc1 $at, $f3
|
||||
/* 103670 802E1DF0 44801000 */ mtc1 $zero, $f2
|
||||
/* 103674 802E1DF4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 103678 802E1DF8 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 10367C 802E1DFC 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 103680 802E1E00 3C01802F */ lui $at, 0x802f
|
||||
/* 103684 802E1E04 D422B0B8 */ ldc1 $f2, -0x4f48($at)
|
||||
/* 103688 802E1E08 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 10368C 802E1E0C 4620103C */ c.lt.d $f2, $f0
|
||||
/* 103690 802E1E10 00000000 */ nop
|
||||
/* 103694 802E1E14 45000004 */ bc1f .L802E1E28
|
||||
/* 103698 802E1E18 00000000 */ nop
|
||||
/* 10369C 802E1E1C 3C01BC23 */ lui $at, 0xbc23
|
||||
/* 1036A0 802E1E20 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 1036A4 802E1E24 44812000 */ mtc1 $at, $f4
|
||||
.L802E1E28:
|
||||
/* 1036A8 802E1E28 C6000008 */ lwc1 $f0, 8($s0)
|
||||
/* 1036AC 802E1E2C 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 1036B0 802E1E30 E6000008 */ swc1 $f0, 8($s0)
|
||||
/* 1036B4 802E1E34 C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 1036B8 802E1E38 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 1036BC 802E1E3C E6220058 */ swc1 $f2, 0x58($s1)
|
||||
/* 1036C0 802E1E40 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 1036C4 802E1E44 4600103E */ c.le.s $f2, $f0
|
||||
/* 1036C8 802E1E48 00000000 */ nop
|
||||
/* 1036CC 802E1E4C 45000008 */ bc1f .L802E1E70
|
||||
/* 1036D0 802E1E50 00000000 */ nop
|
||||
/* 1036D4 802E1E54 E6200058 */ swc1 $f0, 0x58($s1)
|
||||
.L802E1E58:
|
||||
/* 1036D8 802E1E58 92020011 */ lbu $v0, 0x11($s0)
|
||||
/* 1036DC 802E1E5C AE000008 */ sw $zero, 8($s0)
|
||||
/* 1036E0 802E1E60 24420001 */ addiu $v0, $v0, 1
|
||||
/* 1036E4 802E1E64 080B879C */ j .L802E1E70
|
||||
/* 1036E8 802E1E68 A2020011 */ sb $v0, 0x11($s0)
|
||||
|
||||
/* 1036EC 802E1E6C 26520001 */ addiu $s2, $s2, 1
|
||||
.L802E1E70:
|
||||
/* 1036F0 802E1E70 0C0B854F */ jal func_802E153C
|
||||
/* 1036F4 802E1E74 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1036F8 802E1E78 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1036FC 802E1E7C 16420004 */ bne $s2, $v0, .L802E1E90
|
||||
/* 103700 802E1E80 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 103704 802E1E84 A2000010 */ sb $zero, 0x10($s0)
|
||||
/* 103708 802E1E88 0C043F5A */ jal func_8010FD68
|
||||
/* 10370C 802E1E8C A2000011 */ sb $zero, 0x11($s0)
|
||||
.L802E1E90:
|
||||
/* 103710 802E1E90 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 103714 802E1E94 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 103718 802E1E98 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 10371C 802E1E9C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 103720 802E1EA0 03E00008 */ jr $ra
|
||||
/* 103724 802E1EA4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 103728 802E1EA8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 10372C 802E1EAC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 103730 802E1EB0 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 103734 802E1EB4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 103738 802E1EB8 8E020040 */ lw $v0, 0x40($s0)
|
||||
/* 10373C 802E1EBC 0C051568 */ jal set_area_flag
|
||||
/* 103740 802E1EC0 94440020 */ lhu $a0, 0x20($v0)
|
||||
/* 103744 802E1EC4 0C04419E */ jal func_80110678
|
||||
/* 103748 802E1EC8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 10374C 802E1ECC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 103750 802E1ED0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 103754 802E1ED4 03E00008 */ jr $ra
|
||||
/* 103758 802E1ED8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 10375C 802E1EDC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 103760 802E1EE0 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 103764 802E1EE4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 103768 802E1EE8 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 10376C 802E1EEC AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 103770 802E1EF0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 103774 802E1EF4 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 103778 802E1EF8 82030010 */ lb $v1, 0x10($s0)
|
||||
/* 10377C 802E1EFC 2C620005 */ sltiu $v0, $v1, 5
|
||||
/* 103780 802E1F00 10400087 */ beqz $v0, .L802E2120
|
||||
/* 103784 802E1F04 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 103788 802E1F08 00031080 */ sll $v0, $v1, 2
|
||||
/* 10378C 802E1F0C 3C01802F */ lui $at, 0x802f
|
||||
/* 103790 802E1F10 00220821 */ addu $at, $at, $v0
|
||||
/* 103794 802E1F14 8C22B0C0 */ lw $v0, -0x4f40($at)
|
||||
/* 103798 802E1F18 00400008 */ jr $v0
|
||||
/* 10379C 802E1F1C 00000000 */ nop
|
||||
/* 1037A0 802E1F20 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 1037A4 802E1F24 3C01802F */ lui $at, 0x802f
|
||||
/* 1037A8 802E1F28 D420B0D8 */ ldc1 $f0, -0x4f28($at)
|
||||
/* 1037AC 802E1F2C 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 1037B0 802E1F30 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 1037B4 802E1F34 00000000 */ nop
|
||||
/* 1037B8 802E1F38 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 1037BC 802E1F3C 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 1037C0 802E1F40 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 1037C4 802E1F44 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 1037C8 802E1F48 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 1037CC 802E1F4C 3C013FD0 */ lui $at, 0x3fd0
|
||||
/* 1037D0 802E1F50 44811800 */ mtc1 $at, $f3
|
||||
/* 1037D4 802E1F54 44801000 */ mtc1 $zero, $f2
|
||||
/* 1037D8 802E1F58 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 1037DC 802E1F5C 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 1037E0 802E1F60 00000000 */ nop
|
||||
/* 1037E4 802E1F64 3C01802F */ lui $at, 0x802f
|
||||
/* 1037E8 802E1F68 D422B0E0 */ ldc1 $f2, -0x4f20($at)
|
||||
/* 1037EC 802E1F6C 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 1037F0 802E1F70 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 1037F4 802E1F74 4622003C */ c.lt.d $f0, $f2
|
||||
/* 1037F8 802E1F78 00000000 */ nop
|
||||
/* 1037FC 802E1F7C 45000004 */ bc1f .L802E1F90
|
||||
/* 103800 802E1F80 00000000 */ nop
|
||||
/* 103804 802E1F84 3C013C23 */ lui $at, 0x3c23
|
||||
/* 103808 802E1F88 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 10380C 802E1F8C 44812000 */ mtc1 $at, $f4
|
||||
.L802E1F90:
|
||||
/* 103810 802E1F90 C6000004 */ lwc1 $f0, 4($s0)
|
||||
/* 103814 802E1F94 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 103818 802E1F98 E6000004 */ swc1 $f0, 4($s0)
|
||||
/* 10381C 802E1F9C C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 103820 802E1FA0 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 103824 802E1FA4 E6220054 */ swc1 $f2, 0x54($s1)
|
||||
/* 103828 802E1FA8 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 10382C 802E1FAC 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103830 802E1FB0 4602003E */ c.le.s $f0, $f2
|
||||
/* 103834 802E1FB4 080B8840 */ j .L802E2100
|
||||
/* 103838 802E1FB8 00000000 */ nop
|
||||
|
||||
/* 10383C 802E1FBC C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 103840 802E1FC0 3C01802F */ lui $at, 0x802f
|
||||
/* 103844 802E1FC4 D420B0E8 */ ldc1 $f0, -0x4f18($at)
|
||||
/* 103848 802E1FC8 080B881F */ j .L802E207C
|
||||
/* 10384C 802E1FCC 460010A1 */ cvt.d.s $f2, $f2
|
||||
|
||||
/* 103850 802E1FD0 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 103854 802E1FD4 3C01802F */ lui $at, 0x802f
|
||||
/* 103858 802E1FD8 D420B0F0 */ ldc1 $f0, -0x4f10($at)
|
||||
/* 10385C 802E1FDC 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 103860 802E1FE0 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 103864 802E1FE4 00000000 */ nop
|
||||
/* 103868 802E1FE8 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 10386C 802E1FEC 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 103870 802E1FF0 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103874 802E1FF4 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 103878 802E1FF8 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 10387C 802E1FFC 3C013FD0 */ lui $at, 0x3fd0
|
||||
/* 103880 802E2000 44811800 */ mtc1 $at, $f3
|
||||
/* 103884 802E2004 44801000 */ mtc1 $zero, $f2
|
||||
/* 103888 802E2008 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 10388C 802E200C 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 103890 802E2010 00000000 */ nop
|
||||
/* 103894 802E2014 3C01802F */ lui $at, 0x802f
|
||||
/* 103898 802E2018 D422B0F8 */ ldc1 $f2, -0x4f08($at)
|
||||
/* 10389C 802E201C 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 1038A0 802E2020 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 1038A4 802E2024 4622003C */ c.lt.d $f0, $f2
|
||||
/* 1038A8 802E2028 00000000 */ nop
|
||||
/* 1038AC 802E202C 45000004 */ bc1f .L802E2040
|
||||
/* 1038B0 802E2030 00000000 */ nop
|
||||
/* 1038B4 802E2034 3C013C23 */ lui $at, 0x3c23
|
||||
/* 1038B8 802E2038 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 1038BC 802E203C 44812000 */ mtc1 $at, $f4
|
||||
.L802E2040:
|
||||
/* 1038C0 802E2040 C6000004 */ lwc1 $f0, 4($s0)
|
||||
/* 1038C4 802E2044 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 1038C8 802E2048 E6000004 */ swc1 $f0, 4($s0)
|
||||
/* 1038CC 802E204C C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 1038D0 802E2050 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 1038D4 802E2054 E6220054 */ swc1 $f2, 0x54($s1)
|
||||
/* 1038D8 802E2058 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 1038DC 802E205C 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 1038E0 802E2060 4602003E */ c.le.s $f0, $f2
|
||||
/* 1038E4 802E2064 080B8840 */ j .L802E2100
|
||||
/* 1038E8 802E2068 00000000 */ nop
|
||||
|
||||
/* 1038EC 802E206C C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 1038F0 802E2070 3C01802F */ lui $at, 0x802f
|
||||
/* 1038F4 802E2074 D420B100 */ ldc1 $f0, -0x4f00($at)
|
||||
/* 1038F8 802E2078 460010A1 */ cvt.d.s $f2, $f2
|
||||
.L802E207C:
|
||||
/* 1038FC 802E207C 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 103900 802E2080 00000000 */ nop
|
||||
/* 103904 802E2084 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 103908 802E2088 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 10390C 802E208C 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103910 802E2090 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 103914 802E2094 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 103918 802E2098 3C014018 */ lui $at, 0x4018
|
||||
/* 10391C 802E209C 44811800 */ mtc1 $at, $f3
|
||||
/* 103920 802E20A0 44801000 */ mtc1 $zero, $f2
|
||||
/* 103924 802E20A4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 103928 802E20A8 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 10392C 802E20AC 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 103930 802E20B0 3C01802F */ lui $at, 0x802f
|
||||
/* 103934 802E20B4 D422B108 */ ldc1 $f2, -0x4ef8($at)
|
||||
/* 103938 802E20B8 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 10393C 802E20BC 4620103C */ c.lt.d $f2, $f0
|
||||
/* 103940 802E20C0 00000000 */ nop
|
||||
/* 103944 802E20C4 45000004 */ bc1f .L802E20D8
|
||||
/* 103948 802E20C8 00000000 */ nop
|
||||
/* 10394C 802E20CC 3C01BC23 */ lui $at, 0xbc23
|
||||
/* 103950 802E20D0 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 103954 802E20D4 44812000 */ mtc1 $at, $f4
|
||||
.L802E20D8:
|
||||
/* 103958 802E20D8 C6000004 */ lwc1 $f0, 4($s0)
|
||||
/* 10395C 802E20DC 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 103960 802E20E0 E6000004 */ swc1 $f0, 4($s0)
|
||||
/* 103964 802E20E4 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 103968 802E20E8 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 10396C 802E20EC E6220054 */ swc1 $f2, 0x54($s1)
|
||||
/* 103970 802E20F0 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 103974 802E20F4 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103978 802E20F8 4600103E */ c.le.s $f2, $f0
|
||||
/* 10397C 802E20FC 00000000 */ nop
|
||||
.L802E2100:
|
||||
/* 103980 802E2100 45000007 */ bc1f .L802E2120
|
||||
/* 103984 802E2104 00000000 */ nop
|
||||
/* 103988 802E2108 92020010 */ lbu $v0, 0x10($s0)
|
||||
/* 10398C 802E210C AE000004 */ sw $zero, 4($s0)
|
||||
/* 103990 802E2110 24420001 */ addiu $v0, $v0, 1
|
||||
/* 103994 802E2114 080B8848 */ j .L802E2120
|
||||
/* 103998 802E2118 A2020010 */ sb $v0, 0x10($s0)
|
||||
|
||||
/* 10399C 802E211C 26520001 */ addiu $s2, $s2, 1
|
||||
.L802E2120:
|
||||
/* 1039A0 802E2120 C6200054 */ lwc1 $f0, 0x54($s1)
|
||||
/* 1039A4 802E2124 E620005C */ swc1 $f0, 0x5c($s1)
|
||||
/* 1039A8 802E2128 82030011 */ lb $v1, 0x11($s0)
|
||||
/* 1039AC 802E212C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1039B0 802E2130 10620013 */ beq $v1, $v0, .L802E2180
|
||||
/* 1039B4 802E2134 28620002 */ slti $v0, $v1, 2
|
||||
/* 1039B8 802E2138 10400005 */ beqz $v0, .L802E2150
|
||||
/* 1039BC 802E213C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1039C0 802E2140 10600009 */ beqz $v1, .L802E2168
|
||||
/* 1039C4 802E2144 00000000 */ nop
|
||||
/* 1039C8 802E2148 080B88B1 */ j .L802E22C4
|
||||
/* 1039CC 802E214C 00000000 */ nop
|
||||
|
||||
.L802E2150:
|
||||
/* 1039D0 802E2150 10620031 */ beq $v1, $v0, .L802E2218
|
||||
/* 1039D4 802E2154 24020003 */ addiu $v0, $zero, 3
|
||||
/* 1039D8 802E2158 5062005A */ beql $v1, $v0, .L802E22C4
|
||||
/* 1039DC 802E215C 26520001 */ addiu $s2, $s2, 1
|
||||
/* 1039E0 802E2160 080B88B1 */ j .L802E22C4
|
||||
/* 1039E4 802E2164 00000000 */ nop
|
||||
|
||||
.L802E2168:
|
||||
/* 1039E8 802E2168 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 1039EC 802E216C 3C01BFE0 */ lui $at, 0xbfe0
|
||||
/* 1039F0 802E2170 44810800 */ mtc1 $at, $f1
|
||||
/* 1039F4 802E2174 44800000 */ mtc1 $zero, $f0
|
||||
/* 1039F8 802E2178 080B888A */ j .L802E2228
|
||||
/* 1039FC 802E217C 460010A1 */ cvt.d.s $f2, $f2
|
||||
|
||||
.L802E2180:
|
||||
/* 103A00 802E2180 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 103A04 802E2184 3C01802F */ lui $at, 0x802f
|
||||
/* 103A08 802E2188 D420B110 */ ldc1 $f0, -0x4ef0($at)
|
||||
/* 103A0C 802E218C 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 103A10 802E2190 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 103A14 802E2194 00000000 */ nop
|
||||
/* 103A18 802E2198 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 103A1C 802E219C 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 103A20 802E21A0 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103A24 802E21A4 C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 103A28 802E21A8 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 103A2C 802E21AC 3C014024 */ lui $at, 0x4024
|
||||
/* 103A30 802E21B0 44811800 */ mtc1 $at, $f3
|
||||
/* 103A34 802E21B4 44801000 */ mtc1 $zero, $f2
|
||||
/* 103A38 802E21B8 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 103A3C 802E21BC 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 103A40 802E21C0 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 103A44 802E21C4 3C01802F */ lui $at, 0x802f
|
||||
/* 103A48 802E21C8 D422B118 */ ldc1 $f2, -0x4ee8($at)
|
||||
/* 103A4C 802E21CC 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 103A50 802E21D0 4622003C */ c.lt.d $f0, $f2
|
||||
/* 103A54 802E21D4 00000000 */ nop
|
||||
/* 103A58 802E21D8 45000004 */ bc1f .L802E21EC
|
||||
/* 103A5C 802E21DC 00000000 */ nop
|
||||
/* 103A60 802E21E0 3C013C23 */ lui $at, 0x3c23
|
||||
/* 103A64 802E21E4 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 103A68 802E21E8 44812000 */ mtc1 $at, $f4
|
||||
.L802E21EC:
|
||||
/* 103A6C 802E21EC C6000008 */ lwc1 $f0, 8($s0)
|
||||
/* 103A70 802E21F0 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 103A74 802E21F4 E6000008 */ swc1 $f0, 8($s0)
|
||||
/* 103A78 802E21F8 C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 103A7C 802E21FC 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 103A80 802E2200 E6220058 */ swc1 $f2, 0x58($s1)
|
||||
/* 103A84 802E2204 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 103A88 802E2208 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103A8C 802E220C 4602003E */ c.le.s $f0, $f2
|
||||
/* 103A90 802E2210 080B88AB */ j .L802E22AC
|
||||
/* 103A94 802E2214 00000000 */ nop
|
||||
|
||||
.L802E2218:
|
||||
/* 103A98 802E2218 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 103A9C 802E221C 3C01802F */ lui $at, 0x802f
|
||||
/* 103AA0 802E2220 D420B120 */ ldc1 $f0, -0x4ee0($at)
|
||||
/* 103AA4 802E2224 460010A1 */ cvt.d.s $f2, $f2
|
||||
.L802E2228:
|
||||
/* 103AA8 802E2228 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 103AAC 802E222C 00000000 */ nop
|
||||
/* 103AB0 802E2230 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 103AB4 802E2234 462011A0 */ cvt.s.d $f6, $f2
|
||||
/* 103AB8 802E2238 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103ABC 802E223C C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 103AC0 802E2240 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 103AC4 802E2244 3C014014 */ lui $at, 0x4014
|
||||
/* 103AC8 802E2248 44811800 */ mtc1 $at, $f3
|
||||
/* 103ACC 802E224C 44801000 */ mtc1 $zero, $f2
|
||||
/* 103AD0 802E2250 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 103AD4 802E2254 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 103AD8 802E2258 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 103ADC 802E225C 3C01802F */ lui $at, 0x802f
|
||||
/* 103AE0 802E2260 D422B128 */ ldc1 $f2, -0x4ed8($at)
|
||||
/* 103AE4 802E2264 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 103AE8 802E2268 4620103C */ c.lt.d $f2, $f0
|
||||
/* 103AEC 802E226C 00000000 */ nop
|
||||
/* 103AF0 802E2270 45000004 */ bc1f .L802E2284
|
||||
/* 103AF4 802E2274 00000000 */ nop
|
||||
/* 103AF8 802E2278 3C01BC23 */ lui $at, 0xbc23
|
||||
/* 103AFC 802E227C 3421D70A */ ori $at, $at, 0xd70a
|
||||
/* 103B00 802E2280 44812000 */ mtc1 $at, $f4
|
||||
.L802E2284:
|
||||
/* 103B04 802E2284 C6000008 */ lwc1 $f0, 8($s0)
|
||||
/* 103B08 802E2288 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 103B0C 802E228C E6000008 */ swc1 $f0, 8($s0)
|
||||
/* 103B10 802E2290 C6220058 */ lwc1 $f2, 0x58($s1)
|
||||
/* 103B14 802E2294 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 103B18 802E2298 E6220058 */ swc1 $f2, 0x58($s1)
|
||||
/* 103B1C 802E229C C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 103B20 802E22A0 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 103B24 802E22A4 4600103E */ c.le.s $f2, $f0
|
||||
/* 103B28 802E22A8 00000000 */ nop
|
||||
.L802E22AC:
|
||||
/* 103B2C 802E22AC 45000005 */ bc1f .L802E22C4
|
||||
/* 103B30 802E22B0 00000000 */ nop
|
||||
/* 103B34 802E22B4 92020011 */ lbu $v0, 0x11($s0)
|
||||
/* 103B38 802E22B8 AE000008 */ sw $zero, 8($s0)
|
||||
/* 103B3C 802E22BC 24420001 */ addiu $v0, $v0, 1
|
||||
/* 103B40 802E22C0 A2020011 */ sb $v0, 0x11($s0)
|
||||
.L802E22C4:
|
||||
/* 103B44 802E22C4 0C0B854F */ jal func_802E153C
|
||||
/* 103B48 802E22C8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 103B4C 802E22CC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 103B50 802E22D0 16420004 */ bne $s2, $v0, .L802E22E4
|
||||
/* 103B54 802E22D4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 103B58 802E22D8 A2000010 */ sb $zero, 0x10($s0)
|
||||
/* 103B5C 802E22DC 0C043F5A */ jal func_8010FD68
|
||||
/* 103B60 802E22E0 A2000011 */ sb $zero, 0x11($s0)
|
||||
.L802E22E4:
|
||||
/* 103B64 802E22E4 96020024 */ lhu $v0, 0x24($s0)
|
||||
/* 103B68 802E22E8 2403000A */ addiu $v1, $zero, 0xa
|
||||
/* 103B6C 802E22EC 24420001 */ addiu $v0, $v0, 1
|
||||
/* 103B70 802E22F0 A6020024 */ sh $v0, 0x24($s0)
|
||||
/* 103B74 802E22F4 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 103B78 802E22F8 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 103B7C 802E22FC 1443000D */ bne $v0, $v1, .L802E2334
|
||||
/* 103B80 802E2300 00000000 */ nop
|
||||
/* 103B84 802E2304 8E020028 */ lw $v0, 0x28($s0)
|
||||
/* 103B88 802E2308 1440000A */ bnez $v0, .L802E2334
|
||||
/* 103B8C 802E230C 2402003C */ addiu $v0, $zero, 0x3c
|
||||
/* 103B90 802E2310 3C013F80 */ lui $at, 0x3f80
|
||||
/* 103B94 802E2314 44810000 */ mtc1 $at, $f0
|
||||
/* 103B98 802E2318 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 103B9C 802E231C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 103BA0 802E2320 8E250048 */ lw $a1, 0x48($s1)
|
||||
/* 103BA4 802E2324 8E26004C */ lw $a2, 0x4c($s1)
|
||||
/* 103BA8 802E2328 8E270050 */ lw $a3, 0x50($s1)
|
||||
/* 103BAC 802E232C 0C01C88C */ jal func_80072230
|
||||
/* 103BB0 802E2330 0000202D */ daddu $a0, $zero, $zero
|
||||
.L802E2334:
|
||||
/* 103BB4 802E2334 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 103BB8 802E2338 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 103BBC 802E233C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 103BC0 802E2340 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 103BC4 802E2344 03E00008 */ jr $ra
|
||||
/* 103BC8 802E2348 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -0,0 +1,87 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E234C
|
||||
/* 103BCC 802E234C 3C058011 */ lui $a1, 0x8011
|
||||
/* 103BD0 802E2350 24A5EFC8 */ addiu $a1, $a1, -0x1038
|
||||
/* 103BD4 802E2354 3C060100 */ lui $a2, 0x100
|
||||
/* 103BD8 802E2358 8C830040 */ lw $v1, 0x40($a0)
|
||||
/* 103BDC 802E235C 8CA20004 */ lw $v0, 4($a1)
|
||||
/* 103BE0 802E2360 3C013F80 */ lui $at, 0x3f80
|
||||
/* 103BE4 802E2364 44810000 */ mtc1 $at, $f0
|
||||
/* 103BE8 802E2368 00461025 */ or $v0, $v0, $a2
|
||||
/* 103BEC 802E236C ACA20004 */ sw $v0, 4($a1)
|
||||
/* 103BF0 802E2370 E4600014 */ swc1 $f0, 0x14($v1)
|
||||
/* 103BF4 802E2374 E4600018 */ swc1 $f0, 0x18($v1)
|
||||
/* 103BF8 802E2378 03E00008 */ jr $ra
|
||||
/* 103BFC 802E237C E460001C */ swc1 $f0, 0x1c($v1)
|
||||
|
||||
/* 103C00 802E2380 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 103C04 802E2384 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 103C08 802E2388 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 103C0C 802E238C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 103C10 802E2390 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 103C14 802E2394 0C0B88D3 */ jal func_802E234C
|
||||
/* 103C18 802E2398 8E110040 */ lw $s1, 0x40($s0)
|
||||
/* 103C1C 802E239C 3C038016 */ lui $v1, 0x8016
|
||||
/* 103C20 802E23A0 8C63C7D0 */ lw $v1, -0x3830($v1)
|
||||
/* 103C24 802E23A4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 103C28 802E23A8 14620005 */ bne $v1, $v0, .L802E23C0
|
||||
/* 103C2C 802E23AC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 103C30 802E23B0 3C01802F */ lui $at, 0x802f
|
||||
/* 103C34 802E23B4 AC30B3A0 */ sw $s0, -0x4c60($at)
|
||||
/* 103C38 802E23B8 080B88FD */ j .L802E23F4
|
||||
/* 103C3C 802E23BC 00000000 */ nop
|
||||
|
||||
.L802E23C0:
|
||||
/* 103C40 802E23C0 1462000A */ bne $v1, $v0, .L802E23EC
|
||||
/* 103C44 802E23C4 00000000 */ nop
|
||||
/* 103C48 802E23C8 3C02802F */ lui $v0, 0x802f
|
||||
/* 103C4C 802E23CC 8C42B3A0 */ lw $v0, -0x4c60($v0)
|
||||
/* 103C50 802E23D0 10400008 */ beqz $v0, .L802E23F4
|
||||
/* 103C54 802E23D4 00000000 */ nop
|
||||
/* 103C58 802E23D8 AE220028 */ sw $v0, 0x28($s1)
|
||||
/* 103C5C 802E23DC 8E020000 */ lw $v0, ($s0)
|
||||
/* 103C60 802E23E0 34420001 */ ori $v0, $v0, 1
|
||||
/* 103C64 802E23E4 080B88FD */ j .L802E23F4
|
||||
/* 103C68 802E23E8 AE020000 */ sw $v0, ($s0)
|
||||
|
||||
.L802E23EC:
|
||||
/* 103C6C 802E23EC 3C01802F */ lui $at, 0x802f
|
||||
/* 103C70 802E23F0 AC20B3A0 */ sw $zero, -0x4c60($at)
|
||||
.L802E23F4:
|
||||
/* 103C74 802E23F4 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 103C78 802E23F8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 103C7C 802E23FC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 103C80 802E2400 03E00008 */ jr $ra
|
||||
/* 103C84 802E2404 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 103C88 802E2408 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 103C8C 802E240C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 103C90 802E2410 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 103C94 802E2414 0C0B88D3 */ jal func_802E234C
|
||||
/* 103C98 802E2418 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 103C9C 802E241C 3C014040 */ lui $at, 0x4040
|
||||
/* 103CA0 802E2420 44810000 */ mtc1 $at, $f0
|
||||
/* 103CA4 802E2424 8E020040 */ lw $v0, 0x40($s0)
|
||||
/* 103CA8 802E2428 E6000054 */ swc1 $f0, 0x54($s0)
|
||||
/* 103CAC 802E242C E6000058 */ swc1 $f0, 0x58($s0)
|
||||
/* 103CB0 802E2430 E600005C */ swc1 $f0, 0x5c($s0)
|
||||
/* 103CB4 802E2434 E4400014 */ swc1 $f0, 0x14($v0)
|
||||
/* 103CB8 802E2438 E4400018 */ swc1 $f0, 0x18($v0)
|
||||
/* 103CBC 802E243C E440001C */ swc1 $f0, 0x1c($v0)
|
||||
/* 103CC0 802E2440 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 103CC4 802E2444 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 103CC8 802E2448 03E00008 */ jr $ra
|
||||
/* 103CCC 802E244C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 103CD0 802E2450 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 103CD4 802E2454 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 103CD8 802E2458 0C0B8D94 */ jal func_802E3650
|
||||
/* 103CDC 802E245C 00000000 */ nop
|
||||
/* 103CE0 802E2460 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 103CE4 802E2464 03E00008 */ jr $ra
|
||||
/* 103CE8 802E2468 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
849
papermario/asm/nonmatchings/code_102610_len_2330/func_802E246C.s
Normal file
849
papermario/asm/nonmatchings/code_102610_len_2330/func_802E246C.s
Normal file
@ -0,0 +1,849 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E246C
|
||||
/* 103CEC 802E246C 27BDFF40 */ addiu $sp, $sp, -0xc0
|
||||
/* 103CF0 802E2470 AFB500A4 */ sw $s5, 0xa4($sp)
|
||||
/* 103CF4 802E2474 0080A82D */ daddu $s5, $a0, $zero
|
||||
/* 103CF8 802E2478 AFB600A8 */ sw $s6, 0xa8($sp)
|
||||
/* 103CFC 802E247C 00C0B02D */ daddu $s6, $a2, $zero
|
||||
/* 103D00 802E2480 27A40050 */ addiu $a0, $sp, 0x50
|
||||
/* 103D04 802E2484 30A5FFFF */ andi $a1, $a1, 0xffff
|
||||
/* 103D08 802E2488 AFBF00B0 */ sw $ra, 0xb0($sp)
|
||||
/* 103D0C 802E248C AFB700AC */ sw $s7, 0xac($sp)
|
||||
/* 103D10 802E2490 AFB400A0 */ sw $s4, 0xa0($sp)
|
||||
/* 103D14 802E2494 AFB3009C */ sw $s3, 0x9c($sp)
|
||||
/* 103D18 802E2498 AFB20098 */ sw $s2, 0x98($sp)
|
||||
/* 103D1C 802E249C AFB10094 */ sw $s1, 0x94($sp)
|
||||
/* 103D20 802E24A0 AFB00090 */ sw $s0, 0x90($sp)
|
||||
/* 103D24 802E24A4 F7B400B8 */ sdc1 $f20, 0xb8($sp)
|
||||
/* 103D28 802E24A8 8EA20044 */ lw $v0, 0x44($s5)
|
||||
/* 103D2C 802E24AC 8EB00040 */ lw $s0, 0x40($s5)
|
||||
/* 103D30 802E24B0 00451021 */ addu $v0, $v0, $a1
|
||||
/* 103D34 802E24B4 AE020034 */ sw $v0, 0x34($s0)
|
||||
/* 103D38 802E24B8 3C02802E */ lui $v0, 0x802e
|
||||
/* 103D3C 802E24BC 24422BA4 */ addiu $v0, $v0, 0x2ba4
|
||||
/* 103D40 802E24C0 AEA2003C */ sw $v0, 0x3c($s5)
|
||||
/* 103D44 802E24C4 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 103D48 802E24C8 A2A2000B */ sb $v0, 0xb($s5)
|
||||
/* 103D4C 802E24CC C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* 103D50 802E24D0 8EA50048 */ lw $a1, 0x48($s5)
|
||||
/* 103D54 802E24D4 8EA70050 */ lw $a3, 0x50($s5)
|
||||
/* 103D58 802E24D8 44060000 */ mfc1 $a2, $f0
|
||||
/* 103D5C 802E24DC 24170002 */ addiu $s7, $zero, 2
|
||||
/* 103D60 802E24E0 0C019E40 */ jal guTranslateF
|
||||
/* 103D64 802E24E4 AEA6004C */ sw $a2, 0x4c($s5)
|
||||
/* 103D68 802E24E8 0C044AC8 */ jal func_80112B20
|
||||
/* 103D6C 802E24EC 02A0202D */ daddu $a0, $s5, $zero
|
||||
/* 103D70 802E24F0 50400001 */ beql $v0, $zero, .L802E24F8
|
||||
/* 103D74 802E24F4 24170001 */ addiu $s7, $zero, 1
|
||||
.L802E24F8:
|
||||
/* 103D78 802E24F8 0000A02D */ daddu $s4, $zero, $zero
|
||||
/* 103D7C 802E24FC 0200902D */ daddu $s2, $s0, $zero
|
||||
/* 103D80 802E2500 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 103D84 802E2504 0240982D */ daddu $s3, $s2, $zero
|
||||
/* 103D88 802E2508 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 103D8C 802E250C A640003E */ sh $zero, 0x3e($s2)
|
||||
/* 103D90 802E2510 A642003C */ sh $v0, 0x3c($s2)
|
||||
.L802E2514:
|
||||
/* 103D94 802E2514 32C2FFFF */ andi $v0, $s6, 0xffff
|
||||
/* 103D98 802E2518 26D60040 */ addiu $s6, $s6, 0x40
|
||||
/* 103D9C 802E251C 8EA50044 */ lw $a1, 0x44($s5)
|
||||
/* 103DA0 802E2520 27A40010 */ addiu $a0, $sp, 0x10
|
||||
/* 103DA4 802E2524 0C019D60 */ jal guMtxL2F
|
||||
/* 103DA8 802E2528 00A22821 */ addu $a1, $a1, $v0
|
||||
/* 103DAC 802E252C 27A40050 */ addiu $a0, $sp, 0x50
|
||||
/* 103DB0 802E2530 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 103DB4 802E2534 0C019D80 */ jal guMtxCatF
|
||||
/* 103DB8 802E2538 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 103DBC 802E253C C7A00040 */ lwc1 $f0, 0x40($sp)
|
||||
/* 103DC0 802E2540 E64000C0 */ swc1 $f0, 0xc0($s2)
|
||||
/* 103DC4 802E2544 C7A00044 */ lwc1 $f0, 0x44($sp)
|
||||
/* 103DC8 802E2548 E6400124 */ swc1 $f0, 0x124($s2)
|
||||
/* 103DCC 802E254C C7A00048 */ lwc1 $f0, 0x48($sp)
|
||||
/* 103DD0 802E2550 240400FF */ addiu $a0, $zero, 0xff
|
||||
/* 103DD4 802E2554 0C00A67F */ jal rand_int
|
||||
/* 103DD8 802E2558 E6400188 */ swc1 $f0, 0x188($s2)
|
||||
/* 103DDC 802E255C 00021023 */ negu $v0, $v0
|
||||
/* 103DE0 802E2560 A2220072 */ sb $v0, 0x72($s1)
|
||||
/* 103DE4 802E2564 24020001 */ addiu $v0, $zero, 1
|
||||
/* 103DE8 802E2568 16E20008 */ bne $s7, $v0, .L802E258C
|
||||
/* 103DEC 802E256C 24100028 */ addiu $s0, $zero, 0x28
|
||||
/* 103DF0 802E2570 24100014 */ addiu $s0, $zero, 0x14
|
||||
/* 103DF4 802E2574 96620000 */ lhu $v0, ($s3)
|
||||
/* 103DF8 802E2578 3C0140CC */ lui $at, 0x40cc
|
||||
/* 103DFC 802E257C 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* 103E00 802E2580 4481A000 */ mtc1 $at, $f20
|
||||
/* 103E04 802E2584 080B8968 */ j .L802E25A0
|
||||
/* 103E08 802E2588 34420001 */ ori $v0, $v0, 1
|
||||
|
||||
.L802E258C:
|
||||
/* 103E0C 802E258C 96620000 */ lhu $v0, ($s3)
|
||||
/* 103E10 802E2590 3C014109 */ lui $at, 0x4109
|
||||
/* 103E14 802E2594 3421999A */ ori $at, $at, 0x999a
|
||||
/* 103E18 802E2598 4481A000 */ mtc1 $at, $f20
|
||||
/* 103E1C 802E259C 34420002 */ ori $v0, $v0, 2
|
||||
.L802E25A0:
|
||||
/* 103E20 802E25A0 A6620000 */ sh $v0, ($s3)
|
||||
/* 103E24 802E25A4 0C00A67F */ jal rand_int
|
||||
/* 103E28 802E25A8 2404000A */ addiu $a0, $zero, 0xa
|
||||
/* 103E2C 802E25AC 02028021 */ addu $s0, $s0, $v0
|
||||
/* 103E30 802E25B0 32820001 */ andi $v0, $s4, 1
|
||||
/* 103E34 802E25B4 14400003 */ bnez $v0, .L802E25C4
|
||||
/* 103E38 802E25B8 A2300059 */ sb $s0, 0x59($s1)
|
||||
/* 103E3C 802E25BC 00101023 */ negu $v0, $s0
|
||||
/* 103E40 802E25C0 A2220059 */ sb $v0, 0x59($s1)
|
||||
.L802E25C4:
|
||||
/* 103E44 802E25C4 0C00A64D */ jal func_80029934
|
||||
/* 103E48 802E25C8 26730002 */ addiu $s3, $s3, 2
|
||||
/* 103E4C 802E25CC 3C01802F */ lui $at, 0x802f
|
||||
/* 103E50 802E25D0 D422B130 */ ldc1 $f2, -0x4ed0($at)
|
||||
/* 103E54 802E25D4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 103E58 802E25D8 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 103E5C 802E25DC 00000000 */ nop
|
||||
/* 103E60 802E25E0 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 103E64 802E25E4 4600A000 */ add.s $f0, $f20, $f0
|
||||
/* 103E68 802E25E8 26940001 */ addiu $s4, $s4, 1
|
||||
/* 103E6C 802E25EC 2A820018 */ slti $v0, $s4, 0x18
|
||||
/* 103E70 802E25F0 E64001EC */ swc1 $f0, 0x1ec($s2)
|
||||
/* 103E74 802E25F4 26520004 */ addiu $s2, $s2, 4
|
||||
/* 103E78 802E25F8 A2200040 */ sb $zero, 0x40($s1)
|
||||
/* 103E7C 802E25FC A220008B */ sb $zero, 0x8b($s1)
|
||||
/* 103E80 802E2600 A22000A4 */ sb $zero, 0xa4($s1)
|
||||
/* 103E84 802E2604 1440FFC3 */ bnez $v0, .L802E2514
|
||||
/* 103E88 802E2608 26310001 */ addiu $s1, $s1, 1
|
||||
/* 103E8C 802E260C 8FBF00B0 */ lw $ra, 0xb0($sp)
|
||||
/* 103E90 802E2610 8FB700AC */ lw $s7, 0xac($sp)
|
||||
/* 103E94 802E2614 8FB600A8 */ lw $s6, 0xa8($sp)
|
||||
/* 103E98 802E2618 8FB500A4 */ lw $s5, 0xa4($sp)
|
||||
/* 103E9C 802E261C 8FB400A0 */ lw $s4, 0xa0($sp)
|
||||
/* 103EA0 802E2620 8FB3009C */ lw $s3, 0x9c($sp)
|
||||
/* 103EA4 802E2624 8FB20098 */ lw $s2, 0x98($sp)
|
||||
/* 103EA8 802E2628 8FB10094 */ lw $s1, 0x94($sp)
|
||||
/* 103EAC 802E262C 8FB00090 */ lw $s0, 0x90($sp)
|
||||
/* 103EB0 802E2630 D7B400B8 */ ldc1 $f20, 0xb8($sp)
|
||||
/* 103EB4 802E2634 03E00008 */ jr $ra
|
||||
/* 103EB8 802E2638 27BD00C0 */ addiu $sp, $sp, 0xc0
|
||||
|
||||
/* 103EBC 802E263C 27BDFF68 */ addiu $sp, $sp, -0x98
|
||||
/* 103EC0 802E2640 F7B80078 */ sdc1 $f24, 0x78($sp)
|
||||
/* 103EC4 802E2644 4480C000 */ mtc1 $zero, $f24
|
||||
/* 103EC8 802E2648 F7BC0088 */ sdc1 $f28, 0x88($sp)
|
||||
/* 103ECC 802E264C 3C01802F */ lui $at, 0x802f
|
||||
/* 103ED0 802E2650 D43CB138 */ ldc1 $f28, -0x4ec8($at)
|
||||
/* 103ED4 802E2654 AFB40050 */ sw $s4, 0x50($sp)
|
||||
/* 103ED8 802E2658 0000A02D */ daddu $s4, $zero, $zero
|
||||
/* 103EDC 802E265C F7BE0090 */ sdc1 $f30, 0x90($sp)
|
||||
/* 103EE0 802E2660 3C014F00 */ lui $at, 0x4f00
|
||||
/* 103EE4 802E2664 4481F000 */ mtc1 $at, $f30
|
||||
/* 103EE8 802E2668 27A80020 */ addiu $t0, $sp, 0x20
|
||||
/* 103EEC 802E266C AFBE0060 */ sw $fp, 0x60($sp)
|
||||
/* 103EF0 802E2670 27BE0024 */ addiu $fp, $sp, 0x24
|
||||
/* 103EF4 802E2674 AFB7005C */ sw $s7, 0x5c($sp)
|
||||
/* 103EF8 802E2678 27B70028 */ addiu $s7, $sp, 0x28
|
||||
/* 103EFC 802E267C AFB60058 */ sw $s6, 0x58($sp)
|
||||
/* 103F00 802E2680 27B6002C */ addiu $s6, $sp, 0x2c
|
||||
/* 103F04 802E2684 AFB50054 */ sw $s5, 0x54($sp)
|
||||
/* 103F08 802E2688 27B50030 */ addiu $s5, $sp, 0x30
|
||||
/* 103F0C 802E268C AFBF0064 */ sw $ra, 0x64($sp)
|
||||
/* 103F10 802E2690 AFB3004C */ sw $s3, 0x4c($sp)
|
||||
/* 103F14 802E2694 AFB20048 */ sw $s2, 0x48($sp)
|
||||
/* 103F18 802E2698 AFB10044 */ sw $s1, 0x44($sp)
|
||||
/* 103F1C 802E269C AFB00040 */ sw $s0, 0x40($sp)
|
||||
/* 103F20 802E26A0 F7BA0080 */ sdc1 $f26, 0x80($sp)
|
||||
/* 103F24 802E26A4 F7B60070 */ sdc1 $f22, 0x70($sp)
|
||||
/* 103F28 802E26A8 F7B40068 */ sdc1 $f20, 0x68($sp)
|
||||
/* 103F2C 802E26AC AFA40098 */ sw $a0, 0x98($sp)
|
||||
/* 103F30 802E26B0 AFA80038 */ sw $t0, 0x38($sp)
|
||||
/* 103F34 802E26B4 8C920040 */ lw $s2, 0x40($a0)
|
||||
/* 103F38 802E26B8 4600C686 */ mov.s $f26, $f24
|
||||
/* 103F3C 802E26BC 4600C586 */ mov.s $f22, $f24
|
||||
/* 103F40 802E26C0 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 103F44 802E26C4 0240802D */ daddu $s0, $s2, $zero
|
||||
/* 103F48 802E26C8 0240982D */ daddu $s3, $s2, $zero
|
||||
.L802E26CC:
|
||||
/* 103F4C 802E26CC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 103F50 802E26D0 82230040 */ lb $v1, 0x40($s1)
|
||||
/* 103F54 802E26D4 92240040 */ lbu $a0, 0x40($s1)
|
||||
/* 103F58 802E26D8 1062001D */ beq $v1, $v0, .L802E2750
|
||||
/* 103F5C 802E26DC 28620002 */ slti $v0, $v1, 2
|
||||
/* 103F60 802E26E0 50400005 */ beql $v0, $zero, .L802E26F8
|
||||
/* 103F64 802E26E4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 103F68 802E26E8 10600009 */ beqz $v1, .L802E2710
|
||||
/* 103F6C 802E26EC 00000000 */ nop
|
||||
/* 103F70 802E26F0 080B89F7 */ j .L802E27DC
|
||||
/* 103F74 802E26F4 00000000 */ nop
|
||||
|
||||
.L802E26F8:
|
||||
/* 103F78 802E26F8 10620021 */ beq $v1, $v0, .L802E2780
|
||||
/* 103F7C 802E26FC 24020003 */ addiu $v0, $zero, 3
|
||||
/* 103F80 802E2700 1062002E */ beq $v1, $v0, .L802E27BC
|
||||
/* 103F84 802E2704 00000000 */ nop
|
||||
/* 103F88 802E2708 080B89F7 */ j .L802E27DC
|
||||
/* 103F8C 802E270C 00000000 */ nop
|
||||
|
||||
.L802E2710:
|
||||
/* 103F90 802E2710 96620000 */ lhu $v0, ($s3)
|
||||
/* 103F94 802E2714 3C014019 */ lui $at, 0x4019
|
||||
/* 103F98 802E2718 3421999A */ ori $at, $at, 0x999a
|
||||
/* 103F9C 802E271C 4481B000 */ mtc1 $at, $f22
|
||||
/* 103FA0 802E2720 30420001 */ andi $v0, $v0, 1
|
||||
/* 103FA4 802E2724 10400003 */ beqz $v0, .L802E2734
|
||||
/* 103FA8 802E2728 00000000 */ nop
|
||||
/* 103FAC 802E272C 3C013FC0 */ lui $at, 0x3fc0
|
||||
/* 103FB0 802E2730 4481B000 */ mtc1 $at, $f22
|
||||
.L802E2734:
|
||||
/* 103FB4 802E2734 82220059 */ lb $v0, 0x59($s1)
|
||||
/* 103FB8 802E2738 3C0140C0 */ lui $at, 0x40c0
|
||||
/* 103FBC 802E273C 4481D000 */ mtc1 $at, $f26
|
||||
/* 103FC0 802E2740 4482C000 */ mtc1 $v0, $f24
|
||||
/* 103FC4 802E2744 00000000 */ nop
|
||||
/* 103FC8 802E2748 080B89F7 */ j .L802E27DC
|
||||
/* 103FCC 802E274C 4680C620 */ cvt.s.w $f24, $f24
|
||||
|
||||
.L802E2750:
|
||||
/* 103FD0 802E2750 3C013F99 */ lui $at, 0x3f99
|
||||
/* 103FD4 802E2754 3421999A */ ori $at, $at, 0x999a
|
||||
/* 103FD8 802E2758 4481B000 */ mtc1 $at, $f22
|
||||
/* 103FDC 802E275C 92220059 */ lbu $v0, 0x59($s1)
|
||||
/* 103FE0 802E2760 3C014040 */ lui $at, 0x4040
|
||||
/* 103FE4 802E2764 4481D000 */ mtc1 $at, $f26
|
||||
/* 103FE8 802E2768 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 103FEC 802E276C 00021683 */ sra $v0, $v0, 0x1a
|
||||
/* 103FF0 802E2770 4482C000 */ mtc1 $v0, $f24
|
||||
/* 103FF4 802E2774 00000000 */ nop
|
||||
/* 103FF8 802E2778 080B89F7 */ j .L802E27DC
|
||||
/* 103FFC 802E277C 4680C620 */ cvt.s.w $f24, $f24
|
||||
|
||||
.L802E2780:
|
||||
/* 104000 802E2780 3C013F80 */ lui $at, 0x3f80
|
||||
/* 104004 802E2784 4481B000 */ mtc1 $at, $f22
|
||||
/* 104008 802E2788 92220059 */ lbu $v0, 0x59($s1)
|
||||
/* 10400C 802E278C 3C014000 */ lui $at, 0x4000
|
||||
/* 104010 802E2790 4481D000 */ mtc1 $at, $f26
|
||||
/* 104014 802E2794 8643003C */ lh $v1, 0x3c($s2)
|
||||
/* 104018 802E2798 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 10401C 802E279C 00021683 */ sra $v0, $v0, 0x1a
|
||||
/* 104020 802E27A0 4482C000 */ mtc1 $v0, $f24
|
||||
/* 104024 802E27A4 00000000 */ nop
|
||||
/* 104028 802E27A8 4680C620 */ cvt.s.w $f24, $f24
|
||||
/* 10402C 802E27AC 1460000B */ bnez $v1, .L802E27DC
|
||||
/* 104030 802E27B0 24820001 */ addiu $v0, $a0, 1
|
||||
/* 104034 802E27B4 080B89F7 */ j .L802E27DC
|
||||
/* 104038 802E27B8 A2220040 */ sb $v0, 0x40($s1)
|
||||
|
||||
.L802E27BC:
|
||||
/* 10403C 802E27BC C6000124 */ lwc1 $f0, 0x124($s0)
|
||||
/* 104040 802E27C0 3C01802F */ lui $at, 0x802f
|
||||
/* 104044 802E27C4 D422B140 */ ldc1 $f2, -0x4ec0($at)
|
||||
/* 104048 802E27C8 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 10404C 802E27CC 46220001 */ sub.d $f0, $f0, $f2
|
||||
/* 104050 802E27D0 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 104054 802E27D4 080B8ABF */ j .L802E2AFC
|
||||
/* 104058 802E27D8 E6000124 */ swc1 $f0, 0x124($s0)
|
||||
|
||||
.L802E27DC:
|
||||
/* 10405C 802E27DC C60001EC */ lwc1 $f0, 0x1ec($s0)
|
||||
/* 104060 802E27E0 3C01802F */ lui $at, 0x802f
|
||||
/* 104064 802E27E4 D422B148 */ ldc1 $f2, -0x4eb8($at)
|
||||
/* 104068 802E27E8 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 10406C 802E27EC 46220001 */ sub.d $f0, $f0, $f2
|
||||
/* 104070 802E27F0 3C01802F */ lui $at, 0x802f
|
||||
/* 104074 802E27F4 D424B150 */ ldc1 $f4, -0x4eb0($at)
|
||||
/* 104078 802E27F8 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 10407C 802E27FC 460000A1 */ cvt.d.s $f2, $f0
|
||||
/* 104080 802E2800 4624103C */ c.lt.d $f2, $f4
|
||||
/* 104084 802E2804 00000000 */ nop
|
||||
/* 104088 802E2808 45000006 */ bc1f .L802E2824
|
||||
/* 10408C 802E280C E60001EC */ swc1 $f0, 0x1ec($s0)
|
||||
/* 104090 802E2810 3C01C143 */ lui $at, 0xc143
|
||||
/* 104094 802E2814 34213333 */ ori $at, $at, 0x3333
|
||||
/* 104098 802E2818 44810000 */ mtc1 $at, $f0
|
||||
/* 10409C 802E281C 00000000 */ nop
|
||||
/* 1040A0 802E2820 E60001EC */ swc1 $f0, 0x1ec($s0)
|
||||
.L802E2824:
|
||||
/* 1040A4 802E2824 C6000124 */ lwc1 $f0, 0x124($s0)
|
||||
/* 1040A8 802E2828 C60201EC */ lwc1 $f2, 0x1ec($s0)
|
||||
/* 1040AC 802E282C 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 1040B0 802E2830 E6000124 */ swc1 $f0, 0x124($s0)
|
||||
/* 1040B4 802E2834 92220072 */ lbu $v0, 0x72($s1)
|
||||
/* 1040B8 802E2838 4482A000 */ mtc1 $v0, $f20
|
||||
/* 1040BC 802E283C 00000000 */ nop
|
||||
/* 1040C0 802E2840 4680A521 */ cvt.d.w $f20, $f20
|
||||
/* 1040C4 802E2844 463CA502 */ mul.d $f20, $f20, $f28
|
||||
/* 1040C8 802E2848 00000000 */ nop
|
||||
/* 1040CC 802E284C 3C013F70 */ lui $at, 0x3f70
|
||||
/* 1040D0 802E2850 44814800 */ mtc1 $at, $f9
|
||||
/* 1040D4 802E2854 44804000 */ mtc1 $zero, $f8
|
||||
/* 1040D8 802E2858 00000000 */ nop
|
||||
/* 1040DC 802E285C 4628A502 */ mul.d $f20, $f20, $f8
|
||||
/* 1040E0 802E2860 00000000 */ nop
|
||||
/* 1040E4 802E2864 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 1040E8 802E2868 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 1040EC 802E286C 44816000 */ mtc1 $at, $f12
|
||||
/* 1040F0 802E2870 4620A520 */ cvt.s.d $f20, $f20
|
||||
/* 1040F4 802E2874 460CA302 */ mul.s $f12, $f20, $f12
|
||||
/* 1040F8 802E2878 00000000 */ nop
|
||||
/* 1040FC 802E287C 03C0302D */ daddu $a2, $fp, $zero
|
||||
/* 104100 802E2880 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 104104 802E2884 44810000 */ mtc1 $at, $f0
|
||||
/* 104108 802E2888 8FA50038 */ lw $a1, 0x38($sp)
|
||||
/* 10410C 802E288C 0C00A82D */ jal sin_cos_rad
|
||||
/* 104110 802E2890 46006303 */ div.s $f12, $f12, $f0
|
||||
/* 104114 802E2894 C7A00020 */ lwc1 $f0, 0x20($sp)
|
||||
/* 104118 802E2898 4600B002 */ mul.s $f0, $f22, $f0
|
||||
/* 10411C 802E289C 00000000 */ nop
|
||||
/* 104120 802E28A0 C7A20024 */ lwc1 $f2, 0x24($sp)
|
||||
/* 104124 802E28A4 4602B082 */ mul.s $f2, $f22, $f2
|
||||
/* 104128 802E28A8 00000000 */ nop
|
||||
/* 10412C 802E28AC C60400C0 */ lwc1 $f4, 0xc0($s0)
|
||||
/* 104130 802E28B0 46002100 */ add.s $f4, $f4, $f0
|
||||
/* 104134 802E28B4 C6000188 */ lwc1 $f0, 0x188($s0)
|
||||
/* 104138 802E28B8 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 10413C 802E28BC 3C040004 */ lui $a0, 4
|
||||
/* 104140 802E28C0 02E0282D */ daddu $a1, $s7, $zero
|
||||
/* 104144 802E28C4 E6000188 */ swc1 $f0, 0x188($s0)
|
||||
/* 104148 802E28C8 C6000124 */ lwc1 $f0, 0x124($s0)
|
||||
/* 10414C 802E28CC C6020188 */ lwc1 $f2, 0x188($s0)
|
||||
/* 104150 802E28D0 02C0302D */ daddu $a2, $s6, $zero
|
||||
/* 104154 802E28D4 E60400C0 */ swc1 $f4, 0xc0($s0)
|
||||
/* 104158 802E28D8 E7A40028 */ swc1 $f4, 0x28($sp)
|
||||
/* 10415C 802E28DC E7A0002C */ swc1 $f0, 0x2c($sp)
|
||||
/* 104160 802E28E0 E7A20030 */ swc1 $f2, 0x30($sp)
|
||||
/* 104164 802E28E4 3C014100 */ lui $at, 0x4100
|
||||
/* 104168 802E28E8 44814000 */ mtc1 $at, $f8
|
||||
/* 10416C 802E28EC 02A0382D */ daddu $a3, $s5, $zero
|
||||
/* 104170 802E28F0 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 104174 802E28F4 E7B40014 */ swc1 $f20, 0x14($sp)
|
||||
/* 104178 802E28F8 E7A80018 */ swc1 $f8, 0x18($sp)
|
||||
/* 10417C 802E28FC 0C0376B9 */ jal func_800DDAE4
|
||||
/* 104180 802E2900 E7A8001C */ swc1 $f8, 0x1c($sp)
|
||||
/* 104184 802E2904 1040002D */ beqz $v0, .L802E29BC
|
||||
/* 104188 802E2908 03C0302D */ daddu $a2, $fp, $zero
|
||||
/* 10418C 802E290C C7A00028 */ lwc1 $f0, 0x28($sp)
|
||||
/* 104190 802E2910 C7A2002C */ lwc1 $f2, 0x2c($sp)
|
||||
/* 104194 802E2914 C7A40030 */ lwc1 $f4, 0x30($sp)
|
||||
/* 104198 802E2918 E60000C0 */ swc1 $f0, 0xc0($s0)
|
||||
/* 10419C 802E291C E6020124 */ swc1 $f2, 0x124($s0)
|
||||
/* 1041A0 802E2920 E6040188 */ swc1 $f4, 0x188($s0)
|
||||
/* 1041A4 802E2924 92220072 */ lbu $v0, 0x72($s1)
|
||||
/* 1041A8 802E2928 24420080 */ addiu $v0, $v0, 0x80
|
||||
/* 1041AC 802E292C A2220072 */ sb $v0, 0x72($s1)
|
||||
/* 1041B0 802E2930 304200FF */ andi $v0, $v0, 0xff
|
||||
/* 1041B4 802E2934 44826000 */ mtc1 $v0, $f12
|
||||
/* 1041B8 802E2938 00000000 */ nop
|
||||
/* 1041BC 802E293C 46806321 */ cvt.d.w $f12, $f12
|
||||
/* 1041C0 802E2940 463C6302 */ mul.d $f12, $f12, $f28
|
||||
/* 1041C4 802E2944 00000000 */ nop
|
||||
/* 1041C8 802E2948 3C013F70 */ lui $at, 0x3f70
|
||||
/* 1041CC 802E294C 44814800 */ mtc1 $at, $f9
|
||||
/* 1041D0 802E2950 44804000 */ mtc1 $zero, $f8
|
||||
/* 1041D4 802E2954 00000000 */ nop
|
||||
/* 1041D8 802E2958 46286302 */ mul.d $f12, $f12, $f8
|
||||
/* 1041DC 802E295C 00000000 */ nop
|
||||
/* 1041E0 802E2960 3C01802F */ lui $at, 0x802f
|
||||
/* 1041E4 802E2964 D420B158 */ ldc1 $f0, -0x4ea8($at)
|
||||
/* 1041E8 802E2968 46206302 */ mul.d $f12, $f12, $f0
|
||||
/* 1041EC 802E296C 00000000 */ nop
|
||||
/* 1041F0 802E2970 8FA50038 */ lw $a1, 0x38($sp)
|
||||
/* 1041F4 802E2974 463C6303 */ div.d $f12, $f12, $f28
|
||||
/* 1041F8 802E2978 0C00A82D */ jal sin_cos_rad
|
||||
/* 1041FC 802E297C 46206320 */ cvt.s.d $f12, $f12
|
||||
/* 104200 802E2980 C7A00020 */ lwc1 $f0, 0x20($sp)
|
||||
/* 104204 802E2984 3C014100 */ lui $at, 0x4100
|
||||
/* 104208 802E2988 4481B000 */ mtc1 $at, $f22
|
||||
/* 10420C 802E298C 00000000 */ nop
|
||||
/* 104210 802E2990 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 104214 802E2994 00000000 */ nop
|
||||
/* 104218 802E2998 C7A40024 */ lwc1 $f4, 0x24($sp)
|
||||
/* 10421C 802E299C 46162102 */ mul.s $f4, $f4, $f22
|
||||
/* 104220 802E29A0 00000000 */ nop
|
||||
/* 104224 802E29A4 C60200C0 */ lwc1 $f2, 0xc0($s0)
|
||||
/* 104228 802E29A8 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 10422C 802E29AC C6000188 */ lwc1 $f0, 0x188($s0)
|
||||
/* 104230 802E29B0 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 104234 802E29B4 E60200C0 */ swc1 $f2, 0xc0($s0)
|
||||
/* 104238 802E29B8 E6000188 */ swc1 $f0, 0x188($s0)
|
||||
.L802E29BC:
|
||||
/* 10423C 802E29BC 3C040004 */ lui $a0, 4
|
||||
/* 104240 802E29C0 02E0282D */ daddu $a1, $s7, $zero
|
||||
/* 104244 802E29C4 02C0302D */ daddu $a2, $s6, $zero
|
||||
/* 104248 802E29C8 02A0382D */ daddu $a3, $s5, $zero
|
||||
/* 10424C 802E29CC 27A20034 */ addiu $v0, $sp, 0x34
|
||||
/* 104250 802E29D0 C60200C0 */ lwc1 $f2, 0xc0($s0)
|
||||
/* 104254 802E29D4 C6040124 */ lwc1 $f4, 0x124($s0)
|
||||
/* 104258 802E29D8 C60001EC */ lwc1 $f0, 0x1ec($s0)
|
||||
/* 10425C 802E29DC C6060188 */ lwc1 $f6, 0x188($s0)
|
||||
/* 104260 802E29E0 46000005 */ abs.s $f0, $f0
|
||||
/* 104264 802E29E4 E7A20028 */ swc1 $f2, 0x28($sp)
|
||||
/* 104268 802E29E8 E7A4002C */ swc1 $f4, 0x2c($sp)
|
||||
/* 10426C 802E29EC E7A60030 */ swc1 $f6, 0x30($sp)
|
||||
/* 104270 802E29F0 E7A00034 */ swc1 $f0, 0x34($sp)
|
||||
/* 104274 802E29F4 0C0372DF */ jal func_800DCB7C
|
||||
/* 104278 802E29F8 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 10427C 802E29FC 1440000B */ bnez $v0, .L802E2A2C
|
||||
/* 104280 802E2A00 00000000 */ nop
|
||||
/* 104284 802E2A04 C6400038 */ lwc1 $f0, 0x38($s2)
|
||||
/* 104288 802E2A08 3C014348 */ lui $at, 0x4348
|
||||
/* 10428C 802E2A0C 44811000 */ mtc1 $at, $f2
|
||||
/* 104290 802E2A10 00000000 */ nop
|
||||
/* 104294 802E2A14 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 104298 802E2A18 C7A2002C */ lwc1 $f2, 0x2c($sp)
|
||||
/* 10429C 802E2A1C 4600103C */ c.lt.s $f2, $f0
|
||||
/* 1042A0 802E2A20 00000000 */ nop
|
||||
/* 1042A4 802E2A24 4500000F */ bc1f .L802E2A64
|
||||
/* 1042A8 802E2A28 00000000 */ nop
|
||||
.L802E2A2C:
|
||||
/* 1042AC 802E2A2C 92220040 */ lbu $v0, 0x40($s1)
|
||||
/* 1042B0 802E2A30 24420001 */ addiu $v0, $v0, 1
|
||||
/* 1042B4 802E2A34 A2220040 */ sb $v0, 0x40($s1)
|
||||
/* 1042B8 802E2A38 C60201EC */ lwc1 $f2, 0x1ec($s0)
|
||||
/* 1042BC 802E2A3C 3C013F99 */ lui $at, 0x3f99
|
||||
/* 1042C0 802E2A40 3421999A */ ori $at, $at, 0x999a
|
||||
/* 1042C4 802E2A44 44810000 */ mtc1 $at, $f0
|
||||
/* 1042C8 802E2A48 46001085 */ abs.s $f2, $f2
|
||||
/* 1042CC 802E2A4C 46001082 */ mul.s $f2, $f2, $f0
|
||||
/* 1042D0 802E2A50 00000000 */ nop
|
||||
/* 1042D4 802E2A54 C7A0002C */ lwc1 $f0, 0x2c($sp)
|
||||
/* 1042D8 802E2A58 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 1042DC 802E2A5C E61A01EC */ swc1 $f26, 0x1ec($s0)
|
||||
/* 1042E0 802E2A60 E6000124 */ swc1 $f0, 0x124($s0)
|
||||
.L802E2A64:
|
||||
/* 1042E4 802E2A64 9222008B */ lbu $v0, 0x8b($s1)
|
||||
/* 1042E8 802E2A68 44820000 */ mtc1 $v0, $f0
|
||||
/* 1042EC 802E2A6C 00000000 */ nop
|
||||
/* 1042F0 802E2A70 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1042F4 802E2A74 46180000 */ add.s $f0, $f0, $f24
|
||||
/* 1042F8 802E2A78 4600F03E */ c.le.s $f30, $f0
|
||||
/* 1042FC 802E2A7C 00000000 */ nop
|
||||
/* 104300 802E2A80 45010005 */ bc1t .L802E2A98
|
||||
/* 104304 802E2A84 2623008B */ addiu $v1, $s1, 0x8b
|
||||
/* 104308 802E2A88 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 10430C 802E2A8C 44024000 */ mfc1 $v0, $f8
|
||||
/* 104310 802E2A90 080B8AAC */ j .L802E2AB0
|
||||
/* 104314 802E2A94 A0620000 */ sb $v0, ($v1)
|
||||
|
||||
.L802E2A98:
|
||||
/* 104318 802E2A98 461E0001 */ sub.s $f0, $f0, $f30
|
||||
/* 10431C 802E2A9C 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 104320 802E2AA0 44024000 */ mfc1 $v0, $f8
|
||||
/* 104324 802E2AA4 3C088000 */ lui $t0, 0x8000
|
||||
/* 104328 802E2AA8 00481025 */ or $v0, $v0, $t0
|
||||
/* 10432C 802E2AAC A0620000 */ sb $v0, ($v1)
|
||||
.L802E2AB0:
|
||||
/* 104330 802E2AB0 922200A4 */ lbu $v0, 0xa4($s1)
|
||||
/* 104334 802E2AB4 44820000 */ mtc1 $v0, $f0
|
||||
/* 104338 802E2AB8 00000000 */ nop
|
||||
/* 10433C 802E2ABC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 104340 802E2AC0 46180001 */ sub.s $f0, $f0, $f24
|
||||
/* 104344 802E2AC4 4600F03E */ c.le.s $f30, $f0
|
||||
/* 104348 802E2AC8 00000000 */ nop
|
||||
/* 10434C 802E2ACC 45010005 */ bc1t .L802E2AE4
|
||||
/* 104350 802E2AD0 262300A4 */ addiu $v1, $s1, 0xa4
|
||||
/* 104354 802E2AD4 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 104358 802E2AD8 44024000 */ mfc1 $v0, $f8
|
||||
/* 10435C 802E2ADC 080B8ABF */ j .L802E2AFC
|
||||
/* 104360 802E2AE0 A0620000 */ sb $v0, ($v1)
|
||||
|
||||
.L802E2AE4:
|
||||
/* 104364 802E2AE4 461E0001 */ sub.s $f0, $f0, $f30
|
||||
/* 104368 802E2AE8 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 10436C 802E2AEC 44024000 */ mfc1 $v0, $f8
|
||||
/* 104370 802E2AF0 3C088000 */ lui $t0, 0x8000
|
||||
/* 104374 802E2AF4 00481025 */ or $v0, $v0, $t0
|
||||
/* 104378 802E2AF8 A0620000 */ sb $v0, ($v1)
|
||||
.L802E2AFC:
|
||||
/* 10437C 802E2AFC 26310001 */ addiu $s1, $s1, 1
|
||||
/* 104380 802E2B00 26100004 */ addiu $s0, $s0, 4
|
||||
/* 104384 802E2B04 26940001 */ addiu $s4, $s4, 1
|
||||
/* 104388 802E2B08 2A820018 */ slti $v0, $s4, 0x18
|
||||
/* 10438C 802E2B0C 1440FEEF */ bnez $v0, .L802E26CC
|
||||
/* 104390 802E2B10 26730002 */ addiu $s3, $s3, 2
|
||||
/* 104394 802E2B14 9642003E */ lhu $v0, 0x3e($s2)
|
||||
/* 104398 802E2B18 24420001 */ addiu $v0, $v0, 1
|
||||
/* 10439C 802E2B1C A642003E */ sh $v0, 0x3e($s2)
|
||||
/* 1043A0 802E2B20 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 1043A4 802E2B24 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 1043A8 802E2B28 2842000A */ slti $v0, $v0, 0xa
|
||||
/* 1043AC 802E2B2C 1440000B */ bnez $v0, .L802E2B5C
|
||||
/* 1043B0 802E2B30 2403000A */ addiu $v1, $zero, 0xa
|
||||
/* 1043B4 802E2B34 9642003C */ lhu $v0, 0x3c($s2)
|
||||
/* 1043B8 802E2B38 A643003E */ sh $v1, 0x3e($s2)
|
||||
/* 1043BC 802E2B3C 2442FFF8 */ addiu $v0, $v0, -8
|
||||
/* 1043C0 802E2B40 A642003C */ sh $v0, 0x3c($s2)
|
||||
/* 1043C4 802E2B44 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 1043C8 802E2B48 1C400004 */ bgtz $v0, .L802E2B5C
|
||||
/* 1043CC 802E2B4C 00000000 */ nop
|
||||
/* 1043D0 802E2B50 A640003C */ sh $zero, 0x3c($s2)
|
||||
/* 1043D4 802E2B54 0C043F5A */ jal func_8010FD68
|
||||
/* 1043D8 802E2B58 8FA40098 */ lw $a0, 0x98($sp)
|
||||
.L802E2B5C:
|
||||
/* 1043DC 802E2B5C 8FBF0064 */ lw $ra, 0x64($sp)
|
||||
/* 1043E0 802E2B60 8FBE0060 */ lw $fp, 0x60($sp)
|
||||
/* 1043E4 802E2B64 8FB7005C */ lw $s7, 0x5c($sp)
|
||||
/* 1043E8 802E2B68 8FB60058 */ lw $s6, 0x58($sp)
|
||||
/* 1043EC 802E2B6C 8FB50054 */ lw $s5, 0x54($sp)
|
||||
/* 1043F0 802E2B70 8FB40050 */ lw $s4, 0x50($sp)
|
||||
/* 1043F4 802E2B74 8FB3004C */ lw $s3, 0x4c($sp)
|
||||
/* 1043F8 802E2B78 8FB20048 */ lw $s2, 0x48($sp)
|
||||
/* 1043FC 802E2B7C 8FB10044 */ lw $s1, 0x44($sp)
|
||||
/* 104400 802E2B80 8FB00040 */ lw $s0, 0x40($sp)
|
||||
/* 104404 802E2B84 D7BE0090 */ ldc1 $f30, 0x90($sp)
|
||||
/* 104408 802E2B88 D7BC0088 */ ldc1 $f28, 0x88($sp)
|
||||
/* 10440C 802E2B8C D7BA0080 */ ldc1 $f26, 0x80($sp)
|
||||
/* 104410 802E2B90 D7B80078 */ ldc1 $f24, 0x78($sp)
|
||||
/* 104414 802E2B94 D7B60070 */ ldc1 $f22, 0x70($sp)
|
||||
/* 104418 802E2B98 D7B40068 */ ldc1 $f20, 0x68($sp)
|
||||
/* 10441C 802E2B9C 03E00008 */ jr $ra
|
||||
/* 104420 802E2BA0 27BD0098 */ addiu $sp, $sp, 0x98
|
||||
|
||||
/* 104424 802E2BA4 27BDFE80 */ addiu $sp, $sp, -0x180
|
||||
/* 104428 802E2BA8 AFB20130 */ sw $s2, 0x130($sp)
|
||||
/* 10442C 802E2BAC 3C12800A */ lui $s2, 0x800a
|
||||
/* 104430 802E2BB0 8E52A66C */ lw $s2, -0x5994($s2)
|
||||
/* 104434 802E2BB4 F7BA0168 */ sdc1 $f26, 0x168($sp)
|
||||
/* 104438 802E2BB8 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 10443C 802E2BBC 4481D000 */ mtc1 $at, $f26
|
||||
/* 104440 802E2BC0 AFB70144 */ sw $s7, 0x144($sp)
|
||||
/* 104444 802E2BC4 0000B82D */ daddu $s7, $zero, $zero
|
||||
/* 104448 802E2BC8 F7B80160 */ sdc1 $f24, 0x160($sp)
|
||||
/* 10444C 802E2BCC 3C013B80 */ lui $at, 0x3b80
|
||||
/* 104450 802E2BD0 4481C000 */ mtc1 $at, $f24
|
||||
/* 104454 802E2BD4 27A80098 */ addiu $t0, $sp, 0x98
|
||||
/* 104458 802E2BD8 AFB60140 */ sw $s6, 0x140($sp)
|
||||
/* 10445C 802E2BDC 27B600D8 */ addiu $s6, $sp, 0xd8
|
||||
/* 104460 802E2BE0 AFB5013C */ sw $s5, 0x13c($sp)
|
||||
/* 104464 802E2BE4 27B50058 */ addiu $s5, $sp, 0x58
|
||||
/* 104468 802E2BE8 AFA80120 */ sw $t0, 0x120($sp)
|
||||
/* 10446C 802E2BEC 3C080001 */ lui $t0, 1
|
||||
/* 104470 802E2BF0 F7B60158 */ sdc1 $f22, 0x158($sp)
|
||||
/* 104474 802E2BF4 3C013F80 */ lui $at, 0x3f80
|
||||
/* 104478 802E2BF8 4481B000 */ mtc1 $at, $f22
|
||||
/* 10447C 802E2BFC 35081630 */ ori $t0, $t0, 0x1630
|
||||
/* 104480 802E2C00 AFBF014C */ sw $ra, 0x14c($sp)
|
||||
/* 104484 802E2C04 AFBE0148 */ sw $fp, 0x148($sp)
|
||||
/* 104488 802E2C08 AFB40138 */ sw $s4, 0x138($sp)
|
||||
/* 10448C 802E2C0C AFB30134 */ sw $s3, 0x134($sp)
|
||||
/* 104490 802E2C10 AFB1012C */ sw $s1, 0x12c($sp)
|
||||
/* 104494 802E2C14 AFB00128 */ sw $s0, 0x128($sp)
|
||||
/* 104498 802E2C18 F7BE0178 */ sdc1 $f30, 0x178($sp)
|
||||
/* 10449C 802E2C1C F7BC0170 */ sdc1 $f28, 0x170($sp)
|
||||
/* 1044A0 802E2C20 F7B40150 */ sdc1 $f20, 0x150($sp)
|
||||
/* 1044A4 802E2C24 0C04417A */ jal get_entity_by_index
|
||||
/* 1044A8 802E2C28 AFA80124 */ sw $t0, 0x124($sp)
|
||||
/* 1044AC 802E2C2C AFA2011C */ sw $v0, 0x11c($sp)
|
||||
/* 1044B0 802E2C30 8C540040 */ lw $s4, 0x40($v0)
|
||||
/* 1044B4 802E2C34 4480A000 */ mtc1 $zero, $f20
|
||||
/* 1044B8 802E2C38 C4400048 */ lwc1 $f0, 0x48($v0)
|
||||
/* 1044BC 802E2C3C 0280982D */ daddu $s3, $s4, $zero
|
||||
/* 1044C0 802E2C40 2651FFFC */ addiu $s1, $s2, -4
|
||||
/* 1044C4 802E2C44 46000007 */ neg.s $f0, $f0
|
||||
/* 1044C8 802E2C48 E7A00118 */ swc1 $f0, 0x118($sp)
|
||||
/* 1044CC 802E2C4C C440004C */ lwc1 $f0, 0x4c($v0)
|
||||
/* 1044D0 802E2C50 C4420050 */ lwc1 $f2, 0x50($v0)
|
||||
/* 1044D4 802E2C54 8E9E0034 */ lw $fp, 0x34($s4)
|
||||
/* 1044D8 802E2C58 46000787 */ neg.s $f30, $f0
|
||||
/* 1044DC 802E2C5C 46001707 */ neg.s $f28, $f2
|
||||
.L802E2C60:
|
||||
/* 1044E0 802E2C60 8683003C */ lh $v1, 0x3c($s4)
|
||||
/* 1044E4 802E2C64 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 1044E8 802E2C68 1462000F */ bne $v1, $v0, .L802E2CA8
|
||||
/* 1044EC 802E2C6C 26310008 */ addiu $s1, $s1, 8
|
||||
/* 1044F0 802E2C70 3C03E200 */ lui $v1, 0xe200
|
||||
/* 1044F4 802E2C74 3463001C */ ori $v1, $v1, 0x1c
|
||||
/* 1044F8 802E2C78 3C020055 */ lui $v0, 0x55
|
||||
/* 1044FC 802E2C7C 34422078 */ ori $v0, $v0, 0x2078
|
||||
/* 104500 802E2C80 AE23FFFC */ sw $v1, -4($s1)
|
||||
/* 104504 802E2C84 AE220000 */ sw $v0, ($s1)
|
||||
/* 104508 802E2C88 26310008 */ addiu $s1, $s1, 8
|
||||
/* 10450C 802E2C8C 26520010 */ addiu $s2, $s2, 0x10
|
||||
/* 104510 802E2C90 3C03FC12 */ lui $v1, 0xfc12
|
||||
/* 104514 802E2C94 34631824 */ ori $v1, $v1, 0x1824
|
||||
/* 104518 802E2C98 3C02FF33 */ lui $v0, 0xff33
|
||||
/* 10451C 802E2C9C 3442FFFF */ ori $v0, $v0, 0xffff
|
||||
/* 104520 802E2CA0 080B8B35 */ j .L802E2CD4
|
||||
/* 104524 802E2CA4 AE23FFFC */ sw $v1, -4($s1)
|
||||
|
||||
.L802E2CA8:
|
||||
/* 104528 802E2CA8 3C03FCFF */ lui $v1, 0xfcff
|
||||
/* 10452C 802E2CAC 3463C3FF */ ori $v1, $v1, 0xc3ff
|
||||
/* 104530 802E2CB0 3C02FF30 */ lui $v0, 0xff30
|
||||
/* 104534 802E2CB4 3442FE7F */ ori $v0, $v0, 0xfe7f
|
||||
/* 104538 802E2CB8 AE23FFFC */ sw $v1, -4($s1)
|
||||
/* 10453C 802E2CBC AE220000 */ sw $v0, ($s1)
|
||||
/* 104540 802E2CC0 26310008 */ addiu $s1, $s1, 8
|
||||
/* 104544 802E2CC4 3C02FA00 */ lui $v0, 0xfa00
|
||||
/* 104548 802E2CC8 AE22FFFC */ sw $v0, -4($s1)
|
||||
/* 10454C 802E2CCC 9282003D */ lbu $v0, 0x3d($s4)
|
||||
/* 104550 802E2CD0 26520010 */ addiu $s2, $s2, 0x10
|
||||
.L802E2CD4:
|
||||
/* 104554 802E2CD4 AE220000 */ sw $v0, ($s1)
|
||||
/* 104558 802E2CD8 8FA50118 */ lw $a1, 0x118($sp)
|
||||
/* 10455C 802E2CDC 4406F000 */ mfc1 $a2, $f30
|
||||
/* 104560 802E2CE0 4407E000 */ mfc1 $a3, $f28
|
||||
/* 104564 802E2CE4 0C019E40 */ jal guTranslateF
|
||||
/* 104568 802E2CE8 27A40018 */ addiu $a0, $sp, 0x18
|
||||
/* 10456C 802E2CEC 02978021 */ addu $s0, $s4, $s7
|
||||
/* 104570 802E2CF0 9202008B */ lbu $v0, 0x8b($s0)
|
||||
/* 104574 802E2CF4 44820000 */ mtc1 $v0, $f0
|
||||
/* 104578 802E2CF8 00000000 */ nop
|
||||
/* 10457C 802E2CFC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 104580 802E2D00 461A0002 */ mul.s $f0, $f0, $f26
|
||||
/* 104584 802E2D04 00000000 */ nop
|
||||
/* 104588 802E2D08 46180002 */ mul.s $f0, $f0, $f24
|
||||
/* 10458C 802E2D0C 00000000 */ nop
|
||||
/* 104590 802E2D10 4406B000 */ mfc1 $a2, $f22
|
||||
/* 104594 802E2D14 4407A000 */ mfc1 $a3, $f20
|
||||
/* 104598 802E2D18 8FA40120 */ lw $a0, 0x120($sp)
|
||||
/* 10459C 802E2D1C 44050000 */ mfc1 $a1, $f0
|
||||
/* 1045A0 802E2D20 0C019EC8 */ jal guRotateF
|
||||
/* 1045A4 802E2D24 E7B40010 */ swc1 $f20, 0x10($sp)
|
||||
/* 1045A8 802E2D28 920200A4 */ lbu $v0, 0xa4($s0)
|
||||
/* 1045AC 802E2D2C 44820000 */ mtc1 $v0, $f0
|
||||
/* 1045B0 802E2D30 00000000 */ nop
|
||||
/* 1045B4 802E2D34 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1045B8 802E2D38 461A0002 */ mul.s $f0, $f0, $f26
|
||||
/* 1045BC 802E2D3C 00000000 */ nop
|
||||
/* 1045C0 802E2D40 26310008 */ addiu $s1, $s1, 8
|
||||
/* 1045C4 802E2D44 46180002 */ mul.s $f0, $f0, $f24
|
||||
/* 1045C8 802E2D48 00000000 */ nop
|
||||
/* 1045CC 802E2D4C 26520018 */ addiu $s2, $s2, 0x18
|
||||
/* 1045D0 802E2D50 26F70001 */ addiu $s7, $s7, 1
|
||||
/* 1045D4 802E2D54 4406A000 */ mfc1 $a2, $f20
|
||||
/* 1045D8 802E2D58 4407B000 */ mfc1 $a3, $f22
|
||||
/* 1045DC 802E2D5C 44050000 */ mfc1 $a1, $f0
|
||||
/* 1045E0 802E2D60 02C0202D */ daddu $a0, $s6, $zero
|
||||
/* 1045E4 802E2D64 0C019EC8 */ jal guRotateF
|
||||
/* 1045E8 802E2D68 E7B40010 */ swc1 $f20, 0x10($sp)
|
||||
/* 1045EC 802E2D6C 02C0282D */ daddu $a1, $s6, $zero
|
||||
/* 1045F0 802E2D70 8FA40120 */ lw $a0, 0x120($sp)
|
||||
/* 1045F4 802E2D74 0C019D80 */ jal guMtxCatF
|
||||
/* 1045F8 802E2D78 02C0302D */ daddu $a2, $s6, $zero
|
||||
/* 1045FC 802E2D7C 02C0202D */ daddu $a0, $s6, $zero
|
||||
/* 104600 802E2D80 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* 104604 802E2D84 0C019D80 */ jal guMtxCatF
|
||||
/* 104608 802E2D88 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 10460C 802E2D8C 02A0202D */ daddu $a0, $s5, $zero
|
||||
/* 104610 802E2D90 8E6500C0 */ lw $a1, 0xc0($s3)
|
||||
/* 104614 802E2D94 8E660124 */ lw $a2, 0x124($s3)
|
||||
/* 104618 802E2D98 8E670188 */ lw $a3, 0x188($s3)
|
||||
/* 10461C 802E2D9C 0C019E40 */ jal guTranslateF
|
||||
/* 104620 802E2DA0 26730004 */ addiu $s3, $s3, 4
|
||||
/* 104624 802E2DA4 27A40018 */ addiu $a0, $sp, 0x18
|
||||
/* 104628 802E2DA8 02A0282D */ daddu $a1, $s5, $zero
|
||||
/* 10462C 802E2DAC 0C019D80 */ jal guMtxCatF
|
||||
/* 104630 802E2DB0 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* 104634 802E2DB4 02A0202D */ daddu $a0, $s5, $zero
|
||||
/* 104638 802E2DB8 3C058007 */ lui $a1, 0x8007
|
||||
/* 10463C 802E2DBC 94A541F0 */ lhu $a1, 0x41f0($a1)
|
||||
/* 104640 802E2DC0 3C02800A */ lui $v0, 0x800a
|
||||
/* 104644 802E2DC4 8C42A674 */ lw $v0, -0x598c($v0)
|
||||
/* 104648 802E2DC8 8FA80124 */ lw $t0, 0x124($sp)
|
||||
/* 10464C 802E2DCC 00052980 */ sll $a1, $a1, 6
|
||||
/* 104650 802E2DD0 00A82821 */ addu $a1, $a1, $t0
|
||||
/* 104654 802E2DD4 0C019D40 */ jal guMtxF2L
|
||||
/* 104658 802E2DD8 00452821 */ addu $a1, $v0, $a1
|
||||
/* 10465C 802E2DDC 3C05D838 */ lui $a1, 0xd838
|
||||
/* 104660 802E2DE0 34A50002 */ ori $a1, $a1, 2
|
||||
/* 104664 802E2DE4 3C028007 */ lui $v0, 0x8007
|
||||
/* 104668 802E2DE8 944241F0 */ lhu $v0, 0x41f0($v0)
|
||||
/* 10466C 802E2DEC 3C03DA38 */ lui $v1, 0xda38
|
||||
/* 104670 802E2DF0 AE23FFFC */ sw $v1, -4($s1)
|
||||
/* 104674 802E2DF4 8FA80124 */ lw $t0, 0x124($sp)
|
||||
/* 104678 802E2DF8 24430001 */ addiu $v1, $v0, 1
|
||||
/* 10467C 802E2DFC 3042FFFF */ andi $v0, $v0, 0xffff
|
||||
/* 104680 802E2E00 00021180 */ sll $v0, $v0, 6
|
||||
/* 104684 802E2E04 3C018007 */ lui $at, 0x8007
|
||||
/* 104688 802E2E08 A42341F0 */ sh $v1, 0x41f0($at)
|
||||
/* 10468C 802E2E0C 3C03800A */ lui $v1, 0x800a
|
||||
/* 104690 802E2E10 8C63A674 */ lw $v1, -0x598c($v1)
|
||||
/* 104694 802E2E14 00481021 */ addu $v0, $v0, $t0
|
||||
/* 104698 802E2E18 00621821 */ addu $v1, $v1, $v0
|
||||
/* 10469C 802E2E1C AE230000 */ sw $v1, ($s1)
|
||||
/* 1046A0 802E2E20 97C40002 */ lhu $a0, 2($fp)
|
||||
/* 1046A4 802E2E24 27DE0004 */ addiu $fp, $fp, 4
|
||||
/* 1046A8 802E2E28 8FA8011C */ lw $t0, 0x11c($sp)
|
||||
/* 1046AC 802E2E2C 26310008 */ addiu $s1, $s1, 8
|
||||
/* 1046B0 802E2E30 8D030044 */ lw $v1, 0x44($t0)
|
||||
/* 1046B4 802E2E34 3C02DE00 */ lui $v0, 0xde00
|
||||
/* 1046B8 802E2E38 AE22FFFC */ sw $v0, -4($s1)
|
||||
/* 1046BC 802E2E3C 24020040 */ addiu $v0, $zero, 0x40
|
||||
/* 1046C0 802E2E40 00641821 */ addu $v1, $v1, $a0
|
||||
/* 1046C4 802E2E44 AE230000 */ sw $v1, ($s1)
|
||||
/* 1046C8 802E2E48 26310008 */ addiu $s1, $s1, 8
|
||||
/* 1046CC 802E2E4C AE220000 */ sw $v0, ($s1)
|
||||
/* 1046D0 802E2E50 2AE20018 */ slti $v0, $s7, 0x18
|
||||
/* 1046D4 802E2E54 1440FF82 */ bnez $v0, .L802E2C60
|
||||
/* 1046D8 802E2E58 AE25FFFC */ sw $a1, -4($s1)
|
||||
/* 1046DC 802E2E5C 8FBF014C */ lw $ra, 0x14c($sp)
|
||||
/* 1046E0 802E2E60 8FBE0148 */ lw $fp, 0x148($sp)
|
||||
/* 1046E4 802E2E64 8FB70144 */ lw $s7, 0x144($sp)
|
||||
/* 1046E8 802E2E68 8FB60140 */ lw $s6, 0x140($sp)
|
||||
/* 1046EC 802E2E6C 8FB5013C */ lw $s5, 0x13c($sp)
|
||||
/* 1046F0 802E2E70 8FB40138 */ lw $s4, 0x138($sp)
|
||||
/* 1046F4 802E2E74 8FB30134 */ lw $s3, 0x134($sp)
|
||||
/* 1046F8 802E2E78 3C01800A */ lui $at, 0x800a
|
||||
/* 1046FC 802E2E7C AC32A66C */ sw $s2, -0x5994($at)
|
||||
/* 104700 802E2E80 8FB20130 */ lw $s2, 0x130($sp)
|
||||
/* 104704 802E2E84 8FB1012C */ lw $s1, 0x12c($sp)
|
||||
/* 104708 802E2E88 8FB00128 */ lw $s0, 0x128($sp)
|
||||
/* 10470C 802E2E8C D7BE0178 */ ldc1 $f30, 0x178($sp)
|
||||
/* 104710 802E2E90 D7BC0170 */ ldc1 $f28, 0x170($sp)
|
||||
/* 104714 802E2E94 D7BA0168 */ ldc1 $f26, 0x168($sp)
|
||||
/* 104718 802E2E98 D7B80160 */ ldc1 $f24, 0x160($sp)
|
||||
/* 10471C 802E2E9C D7B60158 */ ldc1 $f22, 0x158($sp)
|
||||
/* 104720 802E2EA0 D7B40150 */ ldc1 $f20, 0x150($sp)
|
||||
/* 104724 802E2EA4 03E00008 */ jr $ra
|
||||
/* 104728 802E2EA8 27BD0180 */ addiu $sp, $sp, 0x180
|
||||
|
||||
/* 10472C 802E2EAC 00000000 */ nop
|
||||
/* 104730 802E2EB0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 104734 802E2EB4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 104738 802E2EB8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 10473C 802E2EBC AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 104740 802E2EC0 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 104744 802E2EC4 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 104748 802E2EC8 8E220040 */ lw $v0, 0x40($s1)
|
||||
/* 10474C 802E2ECC C620004C */ lwc1 $f0, 0x4c($s1)
|
||||
/* 104750 802E2ED0 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 104754 802E2ED4 E4400038 */ swc1 $f0, 0x38($v0)
|
||||
/* 104758 802E2ED8 92240004 */ lbu $a0, 4($s1)
|
||||
/* 10475C 802E2EDC 0C0441A9 */ jal func_801106A4
|
||||
/* 104760 802E2EE0 0200902D */ daddu $s2, $s0, $zero
|
||||
/* 104764 802E2EE4 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 104768 802E2EE8 2462FFE8 */ addiu $v0, $v1, -0x18
|
||||
/* 10476C 802E2EEC 2C420003 */ sltiu $v0, $v0, 3
|
||||
/* 104770 802E2EF0 10400007 */ beqz $v0, .L802E2F10
|
||||
/* 104774 802E2EF4 2463FFF3 */ addiu $v1, $v1, -0xd
|
||||
/* 104778 802E2EF8 3C013F00 */ lui $at, 0x3f00
|
||||
/* 10477C 802E2EFC 44810000 */ mtc1 $at, $f0
|
||||
/* 104780 802E2F00 00000000 */ nop
|
||||
/* 104784 802E2F04 E6200054 */ swc1 $f0, 0x54($s1)
|
||||
/* 104788 802E2F08 E6200058 */ swc1 $f0, 0x58($s1)
|
||||
/* 10478C 802E2F0C E620005C */ swc1 $f0, 0x5c($s1)
|
||||
.L802E2F10:
|
||||
/* 104790 802E2F10 2C62000E */ sltiu $v0, $v1, 0xe
|
||||
/* 104794 802E2F14 10400023 */ beqz $v0, .L802E2FA4
|
||||
/* 104798 802E2F18 00031080 */ sll $v0, $v1, 2
|
||||
/* 10479C 802E2F1C 3C01802F */ lui $at, 0x802f
|
||||
/* 1047A0 802E2F20 00220821 */ addu $at, $at, $v0
|
||||
/* 1047A4 802E2F24 8C22B160 */ lw $v0, -0x4ea0($at)
|
||||
/* 1047A8 802E2F28 00400008 */ jr $v0
|
||||
/* 1047AC 802E2F2C 00000000 */ nop
|
||||
/* 1047B0 802E2F30 3C120A00 */ lui $s2, 0xa00
|
||||
/* 1047B4 802E2F34 265231E0 */ addiu $s2, $s2, 0x31e0
|
||||
/* 1047B8 802E2F38 3C100A00 */ lui $s0, 0xa00
|
||||
/* 1047BC 802E2F3C 26101508 */ addiu $s0, $s0, 0x1508
|
||||
/* 1047C0 802E2F40 080B8BE9 */ j .L802E2FA4
|
||||
/* 1047C4 802E2F44 00000000 */ nop
|
||||
|
||||
/* 1047C8 802E2F48 3C120A00 */ lui $s2, 0xa00
|
||||
/* 1047CC 802E2F4C 265231B0 */ addiu $s2, $s2, 0x31b0
|
||||
/* 1047D0 802E2F50 3C100A00 */ lui $s0, 0xa00
|
||||
/* 1047D4 802E2F54 261014D8 */ addiu $s0, $s0, 0x14d8
|
||||
/* 1047D8 802E2F58 080B8BE9 */ j .L802E2FA4
|
||||
/* 1047DC 802E2F5C 00000000 */ nop
|
||||
|
||||
/* 1047E0 802E2F60 3C120A00 */ lui $s2, 0xa00
|
||||
/* 1047E4 802E2F64 26522F78 */ addiu $s2, $s2, 0x2f78
|
||||
/* 1047E8 802E2F68 3C100A00 */ lui $s0, 0xa00
|
||||
/* 1047EC 802E2F6C 26101218 */ addiu $s0, $s0, 0x1218
|
||||
/* 1047F0 802E2F70 080B8BE9 */ j .L802E2FA4
|
||||
/* 1047F4 802E2F74 00000000 */ nop
|
||||
|
||||
/* 1047F8 802E2F78 24040158 */ addiu $a0, $zero, 0x158
|
||||
/* 1047FC 802E2F7C C6200050 */ lwc1 $f0, 0x50($s1)
|
||||
/* 104800 802E2F80 3C120A00 */ lui $s2, 0xa00
|
||||
/* 104804 802E2F84 26523F70 */ addiu $s2, $s2, 0x3f70
|
||||
/* 104808 802E2F88 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 10480C 802E2F8C 8E260048 */ lw $a2, 0x48($s1)
|
||||
/* 104810 802E2F90 8E27004C */ lw $a3, 0x4c($s1)
|
||||
/* 104814 802E2F94 3C100A00 */ lui $s0, 0xa00
|
||||
/* 104818 802E2F98 26102318 */ addiu $s0, $s0, 0x2318
|
||||
/* 10481C 802E2F9C 0C052757 */ jal play_sound_at_position
|
||||
/* 104820 802E2FA0 0000282D */ daddu $a1, $zero, $zero
|
||||
.L802E2FA4:
|
||||
/* 104824 802E2FA4 12000004 */ beqz $s0, .L802E2FB8
|
||||
/* 104828 802E2FA8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 10482C 802E2FAC 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 104830 802E2FB0 0C0B891B */ jal func_802E246C
|
||||
/* 104834 802E2FB4 0200302D */ daddu $a2, $s0, $zero
|
||||
.L802E2FB8:
|
||||
/* 104838 802E2FB8 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 10483C 802E2FBC 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 104840 802E2FC0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 104844 802E2FC4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 104848 802E2FC8 03E00008 */ jr $ra
|
||||
/* 10484C 802E2FCC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 104850 802E2FD0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 104854 802E2FD4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 104858 802E2FD8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 10485C 802E2FDC AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 104860 802E2FE0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 104864 802E2FE4 92240004 */ lbu $a0, 4($s1)
|
||||
/* 104868 802E2FE8 0C0441A9 */ jal func_801106A4
|
||||
/* 10486C 802E2FEC 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 104870 802E2FF0 2443FFF3 */ addiu $v1, $v0, -0xd
|
||||
/* 104874 802E2FF4 2C62000E */ sltiu $v0, $v1, 0xe
|
||||
/* 104878 802E2FF8 1040001A */ beqz $v0, .L802E3064
|
||||
/* 10487C 802E2FFC 00031080 */ sll $v0, $v1, 2
|
||||
/* 104880 802E3000 3C01802F */ lui $at, 0x802f
|
||||
/* 104884 802E3004 00220821 */ addu $at, $at, $v0
|
||||
/* 104888 802E3008 8C22B198 */ lw $v0, -0x4e68($at)
|
||||
/* 10488C 802E300C 00400008 */ jr $v0
|
||||
/* 104890 802E3010 00000000 */ nop
|
||||
/* 104894 802E3014 3C10802F */ lui $s0, 0x802f
|
||||
/* 104898 802E3018 080B8C19 */ j .L802E3064
|
||||
/* 10489C 802E301C 26109C8C */ addiu $s0, $s0, -0x6374
|
||||
|
||||
/* 1048A0 802E3020 3C10802F */ lui $s0, 0x802f
|
||||
/* 1048A4 802E3024 080B8C19 */ j .L802E3064
|
||||
/* 1048A8 802E3028 26109CF8 */ addiu $s0, $s0, -0x6308
|
||||
|
||||
/* 1048AC 802E302C 3C10802F */ lui $s0, 0x802f
|
||||
/* 1048B0 802E3030 080B8C19 */ j .L802E3064
|
||||
/* 1048B4 802E3034 26109CB0 */ addiu $s0, $s0, -0x6350
|
||||
|
||||
/* 1048B8 802E3038 3C10802F */ lui $s0, 0x802f
|
||||
/* 1048BC 802E303C 080B8C19 */ j .L802E3064
|
||||
/* 1048C0 802E3040 26109D1C */ addiu $s0, $s0, -0x62e4
|
||||
|
||||
/* 1048C4 802E3044 3C10802F */ lui $s0, 0x802f
|
||||
/* 1048C8 802E3048 080B8C19 */ j .L802E3064
|
||||
/* 1048CC 802E304C 26109CD4 */ addiu $s0, $s0, -0x632c
|
||||
|
||||
/* 1048D0 802E3050 3C10802F */ lui $s0, 0x802f
|
||||
/* 1048D4 802E3054 080B8C19 */ j .L802E3064
|
||||
/* 1048D8 802E3058 26109D40 */ addiu $s0, $s0, -0x62c0
|
||||
|
||||
/* 1048DC 802E305C 3C10802F */ lui $s0, 0x802f
|
||||
/* 1048E0 802E3060 26109D64 */ addiu $s0, $s0, -0x629c
|
||||
.L802E3064:
|
||||
/* 1048E4 802E3064 1200000E */ beqz $s0, .L802E30A0
|
||||
/* 1048E8 802E3068 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1048EC 802E306C C6200048 */ lwc1 $f0, 0x48($s1)
|
||||
/* 1048F0 802E3070 C622004C */ lwc1 $f2, 0x4c($s1)
|
||||
/* 1048F4 802E3074 C6240050 */ lwc1 $f4, 0x50($s1)
|
||||
/* 1048F8 802E3078 3C028000 */ lui $v0, 0x8000
|
||||
/* 1048FC 802E307C AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 104900 802E3080 4600018D */ trunc.w.s $f6, $f0
|
||||
/* 104904 802E3084 44053000 */ mfc1 $a1, $f6
|
||||
/* 104908 802E3088 4600118D */ trunc.w.s $f6, $f2
|
||||
/* 10490C 802E308C 44063000 */ mfc1 $a2, $f6
|
||||
/* 104910 802E3090 4600218D */ trunc.w.s $f6, $f4
|
||||
/* 104914 802E3094 44073000 */ mfc1 $a3, $f6
|
||||
/* 104918 802E3098 0C044631 */ jal create_entity
|
||||
/* 10491C 802E309C AFA20014 */ sw $v0, 0x14($sp)
|
||||
.L802E30A0:
|
||||
/* 104920 802E30A0 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 104924 802E30A4 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 104928 802E30A8 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 10492C 802E30AC 03E00008 */ jr $ra
|
||||
/* 104930 802E30B0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 104934 802E30B4 00000000 */ nop
|
||||
/* 104938 802E30B8 00000000 */ nop
|
||||
/* 10493C 802E30BC 00000000 */ nop
|
@ -0,0 +1,265 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel save_game_at_player_position
|
||||
/* 102A20 802E11A0 3C04800F */ lui $a0, 0x800f
|
||||
/* 102A24 802E11A4 8C847B30 */ lw $a0, 0x7b30($a0)
|
||||
/* 102A28 802E11A8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 102A2C 802E11AC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 102A30 802E11B0 C4800028 */ lwc1 $f0, 0x28($a0)
|
||||
/* 102A34 802E11B4 3C038007 */ lui $v1, 0x8007
|
||||
/* 102A38 802E11B8 8C63419C */ lw $v1, 0x419c($v1)
|
||||
/* 102A3C 802E11BC 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 102A40 802E11C0 44021000 */ mfc1 $v0, $f2
|
||||
/* 102A44 802E11C4 00000000 */ nop
|
||||
/* 102A48 802E11C8 A4620160 */ sh $v0, 0x160($v1)
|
||||
/* 102A4C 802E11CC C480002C */ lwc1 $f0, 0x2c($a0)
|
||||
/* 102A50 802E11D0 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 102A54 802E11D4 44021000 */ mfc1 $v0, $f2
|
||||
/* 102A58 802E11D8 00000000 */ nop
|
||||
/* 102A5C 802E11DC A4620162 */ sh $v0, 0x162($v1)
|
||||
/* 102A60 802E11E0 C4800030 */ lwc1 $f0, 0x30($a0)
|
||||
/* 102A64 802E11E4 90640166 */ lbu $a0, 0x166($v1)
|
||||
/* 102A68 802E11E8 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 102A6C 802E11EC 44021000 */ mfc1 $v0, $f2
|
||||
/* 102A70 802E11F0 0C00ACDD */ jal fio_save_game
|
||||
/* 102A74 802E11F4 A4620164 */ sh $v0, 0x164($v1)
|
||||
/* 102A78 802E11F8 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 102A7C 802E11FC 03E00008 */ jr $ra
|
||||
/* 102A80 802E1200 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 102A84 802E1204 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 102A88 802E1208 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 102A8C 802E120C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 102A90 802E1210 3C04F840 */ lui $a0, 0xf840
|
||||
/* 102A94 802E1214 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 102A98 802E1218 0C05152F */ jal get_global_flag
|
||||
/* 102A9C 802E121C 34845BDF */ ori $a0, $a0, 0x5bdf
|
||||
/* 102AA0 802E1220 1440000B */ bnez $v0, .L802E1250
|
||||
/* 102AA4 802E1224 00000000 */ nop
|
||||
/* 102AA8 802E1228 3C05802F */ lui $a1, 0x802f
|
||||
/* 102AAC 802E122C 24A5B390 */ addiu $a1, $a1, -0x4c70
|
||||
/* 102AB0 802E1230 ACA00000 */ sw $zero, ($a1)
|
||||
/* 102AB4 802E1234 0C049640 */ jal load_string
|
||||
/* 102AB8 802E1238 3C04001D */ lui $a0, 0x1d
|
||||
/* 102ABC 802E123C 3C04F840 */ lui $a0, 0xf840
|
||||
/* 102AC0 802E1240 0C051514 */ jal set_global_flag
|
||||
/* 102AC4 802E1244 34845BDF */ ori $a0, $a0, 0x5bdf
|
||||
/* 102AC8 802E1248 080B8498 */ j .L802E1260
|
||||
/* 102ACC 802E124C 00000000 */ nop
|
||||
|
||||
.L802E1250:
|
||||
/* 102AD0 802E1250 0C043F5A */ jal func_8010FD68
|
||||
/* 102AD4 802E1254 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 102AD8 802E1258 0C043F5A */ jal func_8010FD68
|
||||
/* 102ADC 802E125C 0200202D */ daddu $a0, $s0, $zero
|
||||
.L802E1260:
|
||||
/* 102AE0 802E1260 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 102AE4 802E1264 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 102AE8 802E1268 03E00008 */ jr $ra
|
||||
/* 102AEC 802E126C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 102AF0 802E1270 3C02802F */ lui $v0, 0x802f
|
||||
/* 102AF4 802E1274 8C42B390 */ lw $v0, -0x4c70($v0)
|
||||
/* 102AF8 802E1278 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 102AFC 802E127C 10400003 */ beqz $v0, .L802E128C
|
||||
/* 102B00 802E1280 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 102B04 802E1284 0C043F5A */ jal func_8010FD68
|
||||
/* 102B08 802E1288 00000000 */ nop
|
||||
.L802E128C:
|
||||
/* 102B0C 802E128C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 102B10 802E1290 03E00008 */ jr $ra
|
||||
/* 102B14 802E1294 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 102B18 802E1298 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 102B1C 802E129C 3C04001D */ lui $a0, 0x1d
|
||||
/* 102B20 802E12A0 34840004 */ ori $a0, $a0, 4
|
||||
/* 102B24 802E12A4 3C05802F */ lui $a1, 0x802f
|
||||
/* 102B28 802E12A8 24A5B394 */ addiu $a1, $a1, -0x4c6c
|
||||
/* 102B2C 802E12AC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 102B30 802E12B0 3C10802F */ lui $s0, 0x802f
|
||||
/* 102B34 802E12B4 2610B390 */ addiu $s0, $s0, -0x4c70
|
||||
/* 102B38 802E12B8 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 102B3C 802E12BC AE000000 */ sw $zero, ($s0)
|
||||
/* 102B40 802E12C0 0C049640 */ jal load_string
|
||||
/* 102B44 802E12C4 ACA00000 */ sw $zero, ($a1)
|
||||
/* 102B48 802E12C8 3C04001E */ lui $a0, 0x1e
|
||||
/* 102B4C 802E12CC 3484000A */ ori $a0, $a0, 0xa
|
||||
/* 102B50 802E12D0 3C01802F */ lui $at, 0x802f
|
||||
/* 102B54 802E12D4 AC22B39C */ sw $v0, -0x4c64($at)
|
||||
/* 102B58 802E12D8 0C049640 */ jal load_string
|
||||
/* 102B5C 802E12DC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 102B60 802E12E0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 102B64 802E12E4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 102B68 802E12E8 3C01802F */ lui $at, 0x802f
|
||||
/* 102B6C 802E12EC AC22B398 */ sw $v0, -0x4c68($at)
|
||||
/* 102B70 802E12F0 03E00008 */ jr $ra
|
||||
/* 102B74 802E12F4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 102B78 802E12F8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 102B7C 802E12FC 3C04001D */ lui $a0, 0x1d
|
||||
/* 102B80 802E1300 3C05802F */ lui $a1, 0x802f
|
||||
/* 102B84 802E1304 8CA5B39C */ lw $a1, -0x4c64($a1)
|
||||
/* 102B88 802E1308 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 102B8C 802E130C 0C04969A */ jal load_message_to_printer
|
||||
/* 102B90 802E1310 34840005 */ ori $a0, $a0, 5
|
||||
/* 102B94 802E1314 0C05272D */ jal play_sound
|
||||
/* 102B98 802E1318 24040010 */ addiu $a0, $zero, 0x10
|
||||
/* 102B9C 802E131C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 102BA0 802E1320 03E00008 */ jr $ra
|
||||
/* 102BA4 802E1324 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 102BA8 802E1328 3C02802F */ lui $v0, 0x802f
|
||||
/* 102BAC 802E132C 8C42B394 */ lw $v0, -0x4c6c($v0)
|
||||
/* 102BB0 802E1330 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 102BB4 802E1334 10400003 */ beqz $v0, .L802E1344
|
||||
/* 102BB8 802E1338 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 102BBC 802E133C 0C043F5A */ jal func_8010FD68
|
||||
/* 102BC0 802E1340 00000000 */ nop
|
||||
.L802E1344:
|
||||
/* 102BC4 802E1344 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 102BC8 802E1348 03E00008 */ jr $ra
|
||||
/* 102BCC 802E134C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 102BD0 802E1350 3C02802F */ lui $v0, 0x802f
|
||||
/* 102BD4 802E1354 8C42B390 */ lw $v0, -0x4c70($v0)
|
||||
/* 102BD8 802E1358 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 102BDC 802E135C 10400013 */ beqz $v0, .L802E13AC
|
||||
/* 102BE0 802E1360 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 102BE4 802E1364 3C02802F */ lui $v0, 0x802f
|
||||
/* 102BE8 802E1368 8C42B398 */ lw $v0, -0x4c68($v0)
|
||||
/* 102BEC 802E136C 904304E8 */ lbu $v1, 0x4e8($v0)
|
||||
/* 102BF0 802E1370 24020001 */ addiu $v0, $zero, 1
|
||||
/* 102BF4 802E1374 14620007 */ bne $v1, $v0, .L802E1394
|
||||
/* 102BF8 802E1378 00000000 */ nop
|
||||
/* 102BFC 802E137C 3C05802F */ lui $a1, 0x802f
|
||||
/* 102C00 802E1380 24A599DC */ addiu $a1, $a1, -0x6624
|
||||
/* 102C04 802E1384 0C043EF0 */ jal func_8010FBC0
|
||||
/* 102C08 802E1388 00000000 */ nop
|
||||
/* 102C0C 802E138C 080B84E7 */ j .L802E139C
|
||||
/* 102C10 802E1390 00000000 */ nop
|
||||
|
||||
.L802E1394:
|
||||
/* 102C14 802E1394 0C043F5A */ jal func_8010FD68
|
||||
/* 102C18 802E1398 00000000 */ nop
|
||||
.L802E139C:
|
||||
/* 102C1C 802E139C 3C04802F */ lui $a0, 0x802f
|
||||
/* 102C20 802E13A0 8C84B39C */ lw $a0, -0x4c64($a0)
|
||||
/* 102C24 802E13A4 0C04971C */ jal close_message
|
||||
/* 102C28 802E13A8 00000000 */ nop
|
||||
.L802E13AC:
|
||||
/* 102C2C 802E13AC 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 102C30 802E13B0 03E00008 */ jr $ra
|
||||
/* 102C34 802E13B4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 102C38 802E13B8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 102C3C 802E13BC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 102C40 802E13C0 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 102C44 802E13C4 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 102C48 802E13C8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 102C4C 802E13CC 0C0B8DB9 */ jal func_802E36E4
|
||||
/* 102C50 802E13D0 8E110040 */ lw $s1, 0x40($s0)
|
||||
/* 102C54 802E13D4 3C02802E */ lui $v0, 0x802e
|
||||
/* 102C58 802E13D8 24420DE0 */ addiu $v0, $v0, 0xde0
|
||||
/* 102C5C 802E13DC AE02003C */ sw $v0, 0x3c($s0)
|
||||
/* 102C60 802E13E0 24020008 */ addiu $v0, $zero, 8
|
||||
/* 102C64 802E13E4 A6220004 */ sh $v0, 4($s1)
|
||||
/* 102C68 802E13E8 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 102C6C 802E13EC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 102C70 802E13F0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 102C74 802E13F4 03E00008 */ jr $ra
|
||||
/* 102C78 802E13F8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 102C7C 802E13FC 00000000 */ nop
|
||||
/* 102C80 802E1400 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 102C84 802E1404 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 102C88 802E1408 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 102C8C 802E140C 90820006 */ lbu $v0, 6($a0)
|
||||
/* 102C90 802E1410 8C900040 */ lw $s0, 0x40($a0)
|
||||
/* 102C94 802E1414 30420001 */ andi $v0, $v0, 1
|
||||
/* 102C98 802E1418 1040000D */ beqz $v0, .L802E1450
|
||||
/* 102C9C 802E141C 00000000 */ nop
|
||||
/* 102CA0 802E1420 3C028011 */ lui $v0, 0x8011
|
||||
/* 102CA4 802E1424 2442EFC8 */ addiu $v0, $v0, -0x1038
|
||||
/* 102CA8 802E1428 804300B4 */ lb $v1, 0xb4($v0)
|
||||
/* 102CAC 802E142C 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* 102CB0 802E1430 10620003 */ beq $v1, $v0, .L802E1440
|
||||
/* 102CB4 802E1434 24020010 */ addiu $v0, $zero, 0x10
|
||||
/* 102CB8 802E1438 14620005 */ bne $v1, $v0, .L802E1450
|
||||
/* 102CBC 802E143C 00000000 */ nop
|
||||
.L802E1440:
|
||||
/* 102CC0 802E1440 0C043F5A */ jal func_8010FD68
|
||||
/* 102CC4 802E1444 00000000 */ nop
|
||||
/* 102CC8 802E1448 24020008 */ addiu $v0, $zero, 8
|
||||
/* 102CCC 802E144C A6020022 */ sh $v0, 0x22($s0)
|
||||
.L802E1450:
|
||||
/* 102CD0 802E1450 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 102CD4 802E1454 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 102CD8 802E1458 03E00008 */ jr $ra
|
||||
/* 102CDC 802E145C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 102CE0 802E1460 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 102CE4 802E1464 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 102CE8 802E1468 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 102CEC 802E146C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 102CF0 802E1470 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 102CF4 802E1474 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 102CF8 802E1478 96020022 */ lhu $v0, 0x22($s0)
|
||||
/* 102CFC 802E147C 2443FFFF */ addiu $v1, $v0, -1
|
||||
/* 102D00 802E1480 3042FFFF */ andi $v0, $v0, 0xffff
|
||||
/* 102D04 802E1484 10400009 */ beqz $v0, .L802E14AC
|
||||
/* 102D08 802E1488 A6030022 */ sh $v1, 0x22($s0)
|
||||
/* 102D0C 802E148C C620004C */ lwc1 $f0, 0x4c($s1)
|
||||
/* 102D10 802E1490 3C01802F */ lui $at, 0x802f
|
||||
/* 102D14 802E1494 D422B000 */ ldc1 $f2, -0x5000($at)
|
||||
/* 102D18 802E1498 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 102D1C 802E149C 46220001 */ sub.d $f0, $f0, $f2
|
||||
/* 102D20 802E14A0 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 102D24 802E14A4 080B8531 */ j .L802E14C4
|
||||
/* 102D28 802E14A8 E620004C */ swc1 $f0, 0x4c($s1)
|
||||
|
||||
.L802E14AC:
|
||||
/* 102D2C 802E14AC 0C04419E */ jal func_80110678
|
||||
/* 102D30 802E14B0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 102D34 802E14B4 0C043F5A */ jal func_8010FD68
|
||||
/* 102D38 802E14B8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 102D3C 802E14BC 24020008 */ addiu $v0, $zero, 8
|
||||
/* 102D40 802E14C0 A6020022 */ sh $v0, 0x22($s0)
|
||||
.L802E14C4:
|
||||
/* 102D44 802E14C4 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 102D48 802E14C8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 102D4C 802E14CC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 102D50 802E14D0 03E00008 */ jr $ra
|
||||
/* 102D54 802E14D4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 102D58 802E14D8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 102D5C 802E14DC AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 102D60 802E14E0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 102D64 802E14E4 8C900040 */ lw $s0, 0x40($a0)
|
||||
/* 102D68 802E14E8 96020022 */ lhu $v0, 0x22($s0)
|
||||
/* 102D6C 802E14EC 2443FFFF */ addiu $v1, $v0, -1
|
||||
/* 102D70 802E14F0 3042FFFF */ andi $v0, $v0, 0xffff
|
||||
/* 102D74 802E14F4 10400009 */ beqz $v0, .L802E151C
|
||||
/* 102D78 802E14F8 A6030022 */ sh $v1, 0x22($s0)
|
||||
/* 102D7C 802E14FC C480004C */ lwc1 $f0, 0x4c($a0)
|
||||
/* 102D80 802E1500 3C01802F */ lui $at, 0x802f
|
||||
/* 102D84 802E1504 D422B008 */ ldc1 $f2, -0x4ff8($at)
|
||||
/* 102D88 802E1508 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 102D8C 802E150C 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 102D90 802E1510 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 102D94 802E1514 080B854B */ j .L802E152C
|
||||
/* 102D98 802E1518 E480004C */ swc1 $f0, 0x4c($a0)
|
||||
|
||||
.L802E151C:
|
||||
/* 102D9C 802E151C 0C043F5A */ jal func_8010FD68
|
||||
/* 102DA0 802E1520 00000000 */ nop
|
||||
/* 102DA4 802E1524 24020008 */ addiu $v0, $zero, 8
|
||||
/* 102DA8 802E1528 A6020022 */ sh $v0, 0x22($s0)
|
||||
.L802E152C:
|
||||
/* 102DAC 802E152C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 102DB0 802E1530 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 102DB4 802E1534 03E00008 */ jr $ra
|
||||
/* 102DB8 802E1538 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -0,0 +1,29 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_80035000_2
|
||||
/* 010400 80035000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 010404 80035004 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 010408 80035008 3C10800A */ lui $s0, 0x800a
|
||||
/* 01040C 8003500C 26100932 */ addiu $s0, $s0, 0x932
|
||||
/* 010410 80035010 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 010414 80035014 3C01800A */ lui $at, 0x800a
|
||||
/* 010418 80035018 A0200931 */ sb $zero, 0x931($at)
|
||||
/* 01041C 8003501C 0C03805E */ jal func_800E0178
|
||||
/* 010420 80035020 A6000000 */ sh $zero, ($s0)
|
||||
/* 010424 80035024 0C009C22 */ jal func_80027088
|
||||
/* 010428 80035028 24040002 */ addiu $a0, $zero, 2
|
||||
/* 01042C 8003502C 86020000 */ lh $v0, ($s0)
|
||||
/* 010430 80035030 44820000 */ mtc1 $v0, $f0
|
||||
/* 010434 80035034 00000000 */ nop
|
||||
/* 010438 80035038 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 01043C 8003503C 44050000 */ mfc1 $a1, $f0
|
||||
/* 010440 80035040 0C04DF62 */ jal func_80137D88
|
||||
/* 010444 80035044 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010448 80035048 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 01044C 8003504C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 010450 80035050 03E00008 */ jr $ra
|
||||
/* 010454 80035054 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -0,0 +1,99 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_80035058_2
|
||||
/* 010458 80035058 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 01045C 8003505C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 010460 80035060 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 010464 80035064 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 010468 80035068 3C01800A */ lui $at, 0x800a
|
||||
/* 01046C 8003506C A0200931 */ sb $zero, 0x931($at)
|
||||
/* 010470 80035070 3C01800A */ lui $at, 0x800a
|
||||
/* 010474 80035074 A4200932 */ sh $zero, 0x932($at)
|
||||
/* 010478 80035078 0C03805E */ jal func_800E0178
|
||||
/* 01047C 8003507C 00000000 */ nop
|
||||
/* 010480 80035080 0C009C22 */ jal func_80027088
|
||||
/* 010484 80035084 24040002 */ addiu $a0, $zero, 2
|
||||
/* 010488 80035088 0C00AB00 */ jal general_heap_create
|
||||
/* 01048C 8003508C 00000000 */ nop
|
||||
/* 010490 80035090 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010494 80035094 0C0514BA */ jal func_801452E8
|
||||
/* 010498 80035098 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 01049C 8003509C 0C050440 */ jal func_80141100
|
||||
/* 0104A0 800350A0 00000000 */ nop
|
||||
/* 0104A4 800350A4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0104A8 800350A8 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 0104AC 800350AC 0C045709 */ jal load_model_textures
|
||||
/* 0104B0 800350B0 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 0104B4 800350B4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0104B8 800350B8 2405000C */ addiu $a1, $zero, 0xc
|
||||
/* 0104BC 800350BC 2406001C */ addiu $a2, $zero, 0x1c
|
||||
/* 0104C0 800350C0 3C10800B */ lui $s0, 0x800b
|
||||
/* 0104C4 800350C4 26101D80 */ addiu $s0, $s0, 0x1d80
|
||||
/* 0104C8 800350C8 24020006 */ addiu $v0, $zero, 6
|
||||
/* 0104CC 800350CC A6020004 */ sh $v0, 4($s0)
|
||||
/* 0104D0 800350D0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0104D4 800350D4 A6020006 */ sh $v0, 6($s0)
|
||||
/* 0104D8 800350D8 24020010 */ addiu $v0, $zero, 0x10
|
||||
/* 0104DC 800350DC A6020012 */ sh $v0, 0x12($s0)
|
||||
/* 0104E0 800350E0 24021000 */ addiu $v0, $zero, 0x1000
|
||||
/* 0104E4 800350E4 A6020014 */ sh $v0, 0x14($s0)
|
||||
/* 0104E8 800350E8 96020000 */ lhu $v0, ($s0)
|
||||
/* 0104EC 800350EC 240300B8 */ addiu $v1, $zero, 0xb8
|
||||
/* 0104F0 800350F0 AFA30010 */ sw $v1, 0x10($sp)
|
||||
/* 0104F4 800350F4 96030AB0 */ lhu $v1, 0xab0($s0)
|
||||
/* 0104F8 800350F8 3C0141C8 */ lui $at, 0x41c8
|
||||
/* 0104FC 800350FC 4481A000 */ mtc1 $at, $f20
|
||||
/* 010500 80035100 34420002 */ ori $v0, $v0, 2
|
||||
/* 010504 80035104 A6020000 */ sh $v0, ($s0)
|
||||
/* 010508 80035108 96020558 */ lhu $v0, 0x558($s0)
|
||||
/* 01050C 8003510C 24070128 */ addiu $a3, $zero, 0x128
|
||||
/* 010510 80035110 3C018007 */ lui $at, 0x8007
|
||||
/* 010514 80035114 AC207410 */ sw $zero, 0x7410($at)
|
||||
/* 010518 80035118 34420002 */ ori $v0, $v0, 2
|
||||
/* 01051C 8003511C A6020558 */ sh $v0, 0x558($s0)
|
||||
/* 010520 80035120 96021008 */ lhu $v0, 0x1008($s0)
|
||||
/* 010524 80035124 34630002 */ ori $v1, $v1, 2
|
||||
/* 010528 80035128 A6030AB0 */ sh $v1, 0xab0($s0)
|
||||
/* 01052C 8003512C E6140018 */ swc1 $f20, 0x18($s0)
|
||||
/* 010530 80035130 34420002 */ ori $v0, $v0, 2
|
||||
/* 010534 80035134 0C00B8C5 */ jal set_cam_viewport
|
||||
/* 010538 80035138 A6021008 */ sh $v0, 0x1008($s0)
|
||||
/* 01053C 8003513C 24020028 */ addiu $v0, $zero, 0x28
|
||||
/* 010540 80035140 A602001E */ sh $v0, 0x1e($s0)
|
||||
/* 010544 80035144 24020064 */ addiu $v0, $zero, 0x64
|
||||
/* 010548 80035148 3C0143FA */ lui $at, 0x43fa
|
||||
/* 01054C 8003514C 44810000 */ mtc1 $at, $f0
|
||||
/* 010550 80035150 3C01447A */ lui $at, 0x447a
|
||||
/* 010554 80035154 44811000 */ mtc1 $at, $f2
|
||||
/* 010558 80035158 3C0144BB */ lui $at, 0x44bb
|
||||
/* 01055C 8003515C 34218000 */ ori $at, $at, 0x8000
|
||||
/* 010560 80035160 44812000 */ mtc1 $at, $f4
|
||||
/* 010564 80035164 3C014316 */ lui $at, 0x4316
|
||||
/* 010568 80035168 44813000 */ mtc1 $at, $f6
|
||||
/* 01056C 8003516C 3C04800A */ lui $a0, 0x800a
|
||||
/* 010570 80035170 2484A650 */ addiu $a0, $a0, -0x59b0
|
||||
/* 010574 80035174 A600002C */ sh $zero, 0x2c($s0)
|
||||
/* 010578 80035178 A600002E */ sh $zero, 0x2e($s0)
|
||||
/* 01057C 8003517C A6000030 */ sh $zero, 0x30($s0)
|
||||
/* 010580 80035180 E6140054 */ swc1 $f20, 0x54($s0)
|
||||
/* 010584 80035184 E6140058 */ swc1 $f20, 0x58($s0)
|
||||
/* 010588 80035188 A600001C */ sh $zero, 0x1c($s0)
|
||||
/* 01058C 8003518C A6020020 */ sh $v0, 0x20($s0)
|
||||
/* 010590 80035190 A6000022 */ sh $zero, 0x22($s0)
|
||||
/* 010594 80035194 E600003C */ swc1 $f0, 0x3c($s0)
|
||||
/* 010598 80035198 E6020040 */ swc1 $f2, 0x40($s0)
|
||||
/* 01059C 8003519C E6040044 */ swc1 $f4, 0x44($s0)
|
||||
/* 0105A0 800351A0 E606005C */ swc1 $f6, 0x5c($s0)
|
||||
/* 0105A4 800351A4 8C820000 */ lw $v0, ($a0)
|
||||
/* 0105A8 800351A8 3C030001 */ lui $v1, 1
|
||||
/* 0105AC 800351AC 00431025 */ or $v0, $v0, $v1
|
||||
/* 0105B0 800351B0 AC820000 */ sw $v0, ($a0)
|
||||
/* 0105B4 800351B4 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0105B8 800351B8 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 0105BC 800351BC D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0105C0 800351C0 03E00008 */ jr $ra
|
||||
/* 0105C4 800351C4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
226
papermario/asm/nonmatchings/code_10400_len_d30/func_800351C8_2.s
Normal file
226
papermario/asm/nonmatchings/code_10400_len_d30/func_800351C8_2.s
Normal file
@ -0,0 +1,226 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_800351C8_2
|
||||
/* 0105C8 800351C8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0105CC 800351CC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0105D0 800351D0 3C11800A */ lui $s1, 0x800a
|
||||
/* 0105D4 800351D4 26310931 */ addiu $s1, $s1, 0x931
|
||||
/* 0105D8 800351D8 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 0105DC 800351DC AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0105E0 800351E0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0105E4 800351E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0105E8 800351E8 82230000 */ lb $v1, ($s1)
|
||||
/* 0105EC 800351EC 24120001 */ addiu $s2, $zero, 1
|
||||
/* 0105F0 800351F0 10720030 */ beq $v1, $s2, .L800352B4
|
||||
/* 0105F4 800351F4 28620002 */ slti $v0, $v1, 2
|
||||
/* 0105F8 800351F8 10400005 */ beqz $v0, .L80035210
|
||||
/* 0105FC 800351FC 24130002 */ addiu $s3, $zero, 2
|
||||
/* 010600 80035200 10600009 */ beqz $v1, .L80035228
|
||||
/* 010604 80035204 00000000 */ nop
|
||||
/* 010608 80035208 0800D534 */ j .L800354D0
|
||||
/* 01060C 8003520C 00000000 */ nop
|
||||
|
||||
.L80035210:
|
||||
/* 010610 80035210 10730033 */ beq $v1, $s3, .L800352E0
|
||||
/* 010614 80035214 24020003 */ addiu $v0, $zero, 3
|
||||
/* 010618 80035218 10620055 */ beq $v1, $v0, .L80035370
|
||||
/* 01061C 8003521C 00000000 */ nop
|
||||
/* 010620 80035220 0800D534 */ j .L800354D0
|
||||
/* 010624 80035224 00000000 */ nop
|
||||
|
||||
.L80035228:
|
||||
/* 010628 80035228 0C037DD0 */ jal func_800DF740
|
||||
/* 01062C 8003522C 00000000 */ nop
|
||||
/* 010630 80035230 0C00E64C */ jal func_80039930
|
||||
/* 010634 80035234 00000000 */ nop
|
||||
/* 010638 80035238 0C00F949 */ jal func_8003E524
|
||||
/* 01063C 8003523C 00000000 */ nop
|
||||
/* 010640 80035240 0C016754 */ jal func_80059D50
|
||||
/* 010644 80035244 00000000 */ nop
|
||||
/* 010648 80035248 3C10800A */ lui $s0, 0x800a
|
||||
/* 01064C 8003524C 26100932 */ addiu $s0, $s0, 0x932
|
||||
/* 010650 80035250 86020000 */ lh $v0, ($s0)
|
||||
/* 010654 80035254 96030000 */ lhu $v1, ($s0)
|
||||
/* 010658 80035258 284200FF */ slti $v0, $v0, 0xff
|
||||
/* 01065C 8003525C 10400013 */ beqz $v0, .L800352AC
|
||||
/* 010660 80035260 24620014 */ addiu $v0, $v1, 0x14
|
||||
/* 010664 80035264 A6020000 */ sh $v0, ($s0)
|
||||
/* 010668 80035268 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 01066C 8003526C 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 010670 80035270 28420100 */ slti $v0, $v0, 0x100
|
||||
/* 010674 80035274 14400002 */ bnez $v0, .L80035280
|
||||
/* 010678 80035278 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 01067C 8003527C A6020000 */ sh $v0, ($s0)
|
||||
.L80035280:
|
||||
/* 010680 80035280 86020000 */ lh $v0, ($s0)
|
||||
/* 010684 80035284 44820000 */ mtc1 $v0, $f0
|
||||
/* 010688 80035288 00000000 */ nop
|
||||
/* 01068C 8003528C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 010690 80035290 44050000 */ mfc1 $a1, $f0
|
||||
/* 010694 80035294 0C04DF62 */ jal func_80137D88
|
||||
/* 010698 80035298 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 01069C 8003529C 86030000 */ lh $v1, ($s0)
|
||||
/* 0106A0 800352A0 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 0106A4 800352A4 1462008A */ bne $v1, $v0, .L800354D0
|
||||
/* 0106A8 800352A8 00000000 */ nop
|
||||
.L800352AC:
|
||||
/* 0106AC 800352AC 0800D534 */ j .L800354D0
|
||||
/* 0106B0 800352B0 A2320000 */ sb $s2, ($s1)
|
||||
|
||||
.L800352B4:
|
||||
/* 0106B4 800352B4 24020005 */ addiu $v0, $zero, 5
|
||||
/* 0106B8 800352B8 3C04800A */ lui $a0, 0x800a
|
||||
/* 0106BC 800352BC 2484A650 */ addiu $a0, $a0, -0x59b0
|
||||
/* 0106C0 800352C0 3C01800A */ lui $at, 0x800a
|
||||
/* 0106C4 800352C4 A0220930 */ sb $v0, 0x930($at)
|
||||
/* 0106C8 800352C8 8C820000 */ lw $v0, ($a0)
|
||||
/* 0106CC 800352CC 24030002 */ addiu $v1, $zero, 2
|
||||
/* 0106D0 800352D0 A2230000 */ sb $v1, ($s1)
|
||||
/* 0106D4 800352D4 34420008 */ ori $v0, $v0, 8
|
||||
/* 0106D8 800352D8 0800D534 */ j .L800354D0
|
||||
/* 0106DC 800352DC AC820000 */ sw $v0, ($a0)
|
||||
|
||||
.L800352E0:
|
||||
/* 0106E0 800352E0 3C10800A */ lui $s0, 0x800a
|
||||
/* 0106E4 800352E4 26100930 */ addiu $s0, $s0, 0x930
|
||||
/* 0106E8 800352E8 92020000 */ lbu $v0, ($s0)
|
||||
/* 0106EC 800352EC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0106F0 800352F0 A2020000 */ sb $v0, ($s0)
|
||||
/* 0106F4 800352F4 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 0106F8 800352F8 14400075 */ bnez $v0, .L800354D0
|
||||
/* 0106FC 800352FC 00000000 */ nop
|
||||
/* 010700 80035300 3C048007 */ lui $a0, 0x8007
|
||||
/* 010704 80035304 24847980 */ addiu $a0, $a0, 0x7980
|
||||
/* 010708 80035308 0C017CBC */ jal nuGfxSetCfb
|
||||
/* 01070C 8003530C 24050002 */ addiu $a1, $zero, 2
|
||||
/* 010710 80035310 3C02800A */ lui $v0, 0x800a
|
||||
/* 010714 80035314 8C42A658 */ lw $v0, -0x59a8($v0)
|
||||
/* 010718 80035318 8C430008 */ lw $v1, 8($v0)
|
||||
/* 01071C 8003531C 3C02800A */ lui $v0, 0x800a
|
||||
/* 010720 80035320 8C42A64C */ lw $v0, -0x59b4($v0)
|
||||
/* 010724 80035324 14620008 */ bne $v1, $v0, .L80035348
|
||||
/* 010728 80035328 24040003 */ addiu $a0, $zero, 3
|
||||
/* 01072C 8003532C 3C02800A */ lui $v0, 0x800a
|
||||
/* 010730 80035330 2442A650 */ addiu $v0, $v0, -0x59b0
|
||||
/* 010734 80035334 8C430000 */ lw $v1, ($v0)
|
||||
/* 010738 80035338 2404FFF7 */ addiu $a0, $zero, -9
|
||||
/* 01073C 8003533C 00641824 */ and $v1, $v1, $a0
|
||||
/* 010740 80035340 0800D534 */ j .L800354D0
|
||||
/* 010744 80035344 AC430000 */ sw $v1, ($v0)
|
||||
|
||||
.L80035348:
|
||||
/* 010748 80035348 3C02800A */ lui $v0, 0x800a
|
||||
/* 01074C 8003534C 2442A650 */ addiu $v0, $v0, -0x59b0
|
||||
/* 010750 80035350 8C430000 */ lw $v1, ($v0)
|
||||
/* 010754 80035354 34630008 */ ori $v1, $v1, 8
|
||||
/* 010758 80035358 0C051FB1 */ jal func_80147EC4
|
||||
/* 01075C 8003535C AC430000 */ sw $v1, ($v0)
|
||||
/* 010760 80035360 24020003 */ addiu $v0, $zero, 3
|
||||
/* 010764 80035364 A2120000 */ sb $s2, ($s0)
|
||||
/* 010768 80035368 0800D534 */ j .L800354D0
|
||||
/* 01076C 8003536C A2220000 */ sb $v0, ($s1)
|
||||
|
||||
.L80035370:
|
||||
/* 010770 80035370 3C10800A */ lui $s0, 0x800a
|
||||
/* 010774 80035374 26100930 */ addiu $s0, $s0, 0x930
|
||||
/* 010778 80035378 82020000 */ lb $v0, ($s0)
|
||||
/* 01077C 8003537C 92030000 */ lbu $v1, ($s0)
|
||||
/* 010780 80035380 04400042 */ bltz $v0, .L8003548C
|
||||
/* 010784 80035384 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 010788 80035388 A2020000 */ sb $v0, ($s0)
|
||||
/* 01078C 8003538C 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 010790 80035390 1440003B */ bnez $v0, .L80035480
|
||||
/* 010794 80035394 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 010798 80035398 0C05260E */ jal func_80149838
|
||||
/* 01079C 8003539C A2020000 */ sb $v0, ($s0)
|
||||
/* 0107A0 800353A0 0C00EC6A */ jal func_8003B1A8
|
||||
/* 0107A4 800353A4 00000000 */ nop
|
||||
/* 0107A8 800353A8 3C028007 */ lui $v0, 0x8007
|
||||
/* 0107AC 800353AC 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0107B0 800353B0 0C016BA8 */ jal allocate_hit_tables
|
||||
/* 0107B4 800353B4 A0530070 */ sb $s3, 0x70($v0)
|
||||
/* 0107B8 800353B8 0C00AB28 */ jal battle_heap_create
|
||||
/* 0107BC 800353BC 00000000 */ nop
|
||||
/* 0107C0 800353C0 0C05259C */ jal func_80149670
|
||||
/* 0107C4 800353C4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0107C8 800353C8 0C0B763E */ jal func_802DD8F8
|
||||
/* 0107CC 800353CC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0107D0 800353D0 0C045751 */ jal clear_model_data
|
||||
/* 0107D4 800353D4 00000000 */ nop
|
||||
/* 0107D8 800353D8 0C052010 */ jal func_80148040
|
||||
/* 0107DC 800353DC 00000000 */ nop
|
||||
/* 0107E0 800353E0 0C05177E */ jal func_80145DF8
|
||||
/* 0107E4 800353E4 00000000 */ nop
|
||||
/* 0107E8 800353E8 0C0482EC */ jal func_80120BB0
|
||||
/* 0107EC 800353EC 00000000 */ nop
|
||||
/* 0107F0 800353F0 0C047889 */ jal func_8011E224
|
||||
/* 0107F4 800353F4 00000000 */ nop
|
||||
/* 0107F8 800353F8 0C048C2E */ jal func_801230B8
|
||||
/* 0107FC 800353FC 00000000 */ nop
|
||||
/* 010800 80035400 3C048020 */ lui $a0, 0x8020
|
||||
/* 010804 80035404 24840000 */ addiu $a0, $a0, 0
|
||||
/* 010808 80035408 0C0514BA */ jal func_801452E8
|
||||
/* 01080C 8003540C 3C050002 */ lui $a1, 2
|
||||
/* 010810 80035410 0C050440 */ jal func_80141100
|
||||
/* 010814 80035414 00000000 */ nop
|
||||
/* 010818 80035418 0C03A6EC */ jal reset_status_menu
|
||||
/* 01081C 8003541C 00000000 */ nop
|
||||
/* 010820 80035420 0C04C3FC */ jal clear_item_entity_data
|
||||
/* 010824 80035424 00000000 */ nop
|
||||
/* 010828 80035428 0C0B0C77 */ jal clear_script_list
|
||||
/* 01082C 8003542C 00000000 */ nop
|
||||
/* 010830 80035430 0C00E12F */ jal func_800384BC
|
||||
/* 010834 80035434 00000000 */ nop
|
||||
/* 010838 80035438 0C04432E */ jal func_80110CB8
|
||||
/* 01083C 8003543C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010840 80035440 0C0515A0 */ jal clear_trigger_data
|
||||
/* 010844 80035444 00000000 */ nop
|
||||
/* 010848 80035448 3C048007 */ lui $a0, 0x8007
|
||||
/* 01084C 8003544C 0C018038 */ jal nuPiReadRomOverlay
|
||||
/* 010850 80035450 2484798C */ addiu $a0, $a0, 0x798c
|
||||
/* 010854 80035454 0C091238 */ jal func_802448E0
|
||||
/* 010858 80035458 24040001 */ addiu $a0, $zero, 1
|
||||
/* 01085C 8003545C 240400FF */ addiu $a0, $zero, 0xff
|
||||
/* 010860 80035460 3C06800A */ lui $a2, 0x800a
|
||||
/* 010864 80035464 24C6A650 */ addiu $a2, $a2, -0x59b0
|
||||
/* 010868 80035468 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* 01086C 8003546C 8CC20000 */ lw $v0, ($a2)
|
||||
/* 010870 80035470 3C05437F */ lui $a1, 0x437f
|
||||
/* 010874 80035474 00431024 */ and $v0, $v0, $v1
|
||||
/* 010878 80035478 0C04DF62 */ jal func_80137D88
|
||||
/* 01087C 8003547C ACC20000 */ sw $v0, ($a2)
|
||||
.L80035480:
|
||||
/* 010880 80035480 82020000 */ lb $v0, ($s0)
|
||||
/* 010884 80035484 04410012 */ bgez $v0, .L800354D0
|
||||
/* 010888 80035488 00000000 */ nop
|
||||
.L8003548C:
|
||||
/* 01088C 8003548C 0C090C68 */ jal func_802431A0
|
||||
/* 010890 80035490 00000000 */ nop
|
||||
/* 010894 80035494 3C03800A */ lui $v1, 0x800a
|
||||
/* 010898 80035498 24630932 */ addiu $v1, $v1, 0x932
|
||||
/* 01089C 8003549C 94620000 */ lhu $v0, ($v1)
|
||||
/* 0108A0 800354A0 2442FFEC */ addiu $v0, $v0, -0x14
|
||||
/* 0108A4 800354A4 A4620000 */ sh $v0, ($v1)
|
||||
/* 0108A8 800354A8 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 0108AC 800354AC 04420001 */ bltzl $v0, .L800354B4
|
||||
/* 0108B0 800354B0 A4600000 */ sh $zero, ($v1)
|
||||
.L800354B4:
|
||||
/* 0108B4 800354B4 84620000 */ lh $v0, ($v1)
|
||||
/* 0108B8 800354B8 44820000 */ mtc1 $v0, $f0
|
||||
/* 0108BC 800354BC 00000000 */ nop
|
||||
/* 0108C0 800354C0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0108C4 800354C4 44050000 */ mfc1 $a1, $f0
|
||||
/* 0108C8 800354C8 0C04DF62 */ jal func_80137D88
|
||||
/* 0108CC 800354CC 0000202D */ daddu $a0, $zero, $zero
|
||||
.L800354D0:
|
||||
/* 0108D0 800354D0 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 0108D4 800354D4 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0108D8 800354D8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0108DC 800354DC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0108E0 800354E0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0108E4 800354E4 03E00008 */ jr $ra
|
||||
/* 0108E8 800354E8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -0,0 +1,70 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_800354EC_2
|
||||
/* 0108EC 800354EC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0108F0 800354F0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0108F4 800354F4 3C11800A */ lui $s1, 0x800a
|
||||
/* 0108F8 800354F8 26310931 */ addiu $s1, $s1, 0x931
|
||||
/* 0108FC 800354FC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 010900 80035500 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 010904 80035504 82300000 */ lb $s0, ($s1)
|
||||
/* 010908 80035508 24030001 */ addiu $v1, $zero, 1
|
||||
/* 01090C 8003550C 1203000B */ beq $s0, $v1, .L8003553C
|
||||
/* 010910 80035510 2A020002 */ slti $v0, $s0, 2
|
||||
/* 010914 80035514 50400005 */ beql $v0, $zero, .L8003552C
|
||||
/* 010918 80035518 24020002 */ addiu $v0, $zero, 2
|
||||
/* 01091C 8003551C 52000024 */ beql $s0, $zero, .L800355B0
|
||||
/* 010920 80035520 A2230000 */ sb $v1, ($s1)
|
||||
/* 010924 80035524 0800D56C */ j .L800355B0
|
||||
/* 010928 80035528 00000000 */ nop
|
||||
|
||||
.L8003552C:
|
||||
/* 01092C 8003552C 1202000A */ beq $s0, $v0, .L80035558
|
||||
/* 010930 80035530 00000000 */ nop
|
||||
/* 010934 80035534 0800D56C */ j .L800355B0
|
||||
/* 010938 80035538 00000000 */ nop
|
||||
|
||||
.L8003553C:
|
||||
/* 01093C 8003553C 0C051FB1 */ jal func_80147EC4
|
||||
/* 010940 80035540 24040003 */ addiu $a0, $zero, 3
|
||||
/* 010944 80035544 24020002 */ addiu $v0, $zero, 2
|
||||
/* 010948 80035548 3C01800A */ lui $at, 0x800a
|
||||
/* 01094C 8003554C A0300930 */ sb $s0, 0x930($at)
|
||||
/* 010950 80035550 0800D56C */ j .L800355B0
|
||||
/* 010954 80035554 A2220000 */ sb $v0, ($s1)
|
||||
|
||||
.L80035558:
|
||||
/* 010958 80035558 3C10800A */ lui $s0, 0x800a
|
||||
/* 01095C 8003555C 26100930 */ addiu $s0, $s0, 0x930
|
||||
/* 010960 80035560 82020000 */ lb $v0, ($s0)
|
||||
/* 010964 80035564 92030000 */ lbu $v1, ($s0)
|
||||
/* 010968 80035568 0440000F */ bltz $v0, .L800355A8
|
||||
/* 01096C 8003556C 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 010970 80035570 A2020000 */ sb $v0, ($s0)
|
||||
/* 010974 80035574 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 010978 80035578 14400008 */ bnez $v0, .L8003559C
|
||||
/* 01097C 8003557C 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 010980 80035580 0C00AB28 */ jal battle_heap_create
|
||||
/* 010984 80035584 A2020000 */ sb $v0, ($s0)
|
||||
/* 010988 80035588 3C048007 */ lui $a0, 0x8007
|
||||
/* 01098C 8003558C 0C018038 */ jal nuPiReadRomOverlay
|
||||
/* 010990 80035590 2484798C */ addiu $a0, $a0, 0x798c
|
||||
/* 010994 80035594 0C091238 */ jal func_802448E0
|
||||
/* 010998 80035598 0000202D */ daddu $a0, $zero, $zero
|
||||
.L8003559C:
|
||||
/* 01099C 8003559C 82020000 */ lb $v0, ($s0)
|
||||
/* 0109A0 800355A0 04410003 */ bgez $v0, .L800355B0
|
||||
/* 0109A4 800355A4 00000000 */ nop
|
||||
.L800355A8:
|
||||
/* 0109A8 800355A8 0C090C68 */ jal func_802431A0
|
||||
/* 0109AC 800355AC 00000000 */ nop
|
||||
.L800355B0:
|
||||
/* 0109B0 800355B0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0109B4 800355B4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0109B8 800355B8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0109BC 800355BC 03E00008 */ jr $ra
|
||||
/* 0109C0 800355C0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -0,0 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_800355C4_2
|
||||
/* 0109C4 800355C4 03E00008 */ jr $ra
|
||||
/* 0109C8 800355C8 00000000 */ nop
|
||||
|
@ -0,0 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_800355CC_2
|
||||
/* 0109CC 800355CC 03E00008 */ jr $ra
|
||||
/* 0109D0 800355D0 00000000 */ nop
|
||||
|
@ -0,0 +1,45 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_800355D4_2
|
||||
/* 0109D4 800355D4 3C05800A */ lui $a1, 0x800a
|
||||
/* 0109D8 800355D8 84A50932 */ lh $a1, 0x932($a1)
|
||||
/* 0109DC 800355DC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0109E0 800355E0 18A00009 */ blez $a1, .L80035608
|
||||
/* 0109E4 800355E4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0109E8 800355E8 44850000 */ mtc1 $a1, $f0
|
||||
/* 0109EC 800355EC 00000000 */ nop
|
||||
/* 0109F0 800355F0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0109F4 800355F4 44050000 */ mfc1 $a1, $f0
|
||||
/* 0109F8 800355F8 3C01800A */ lui $at, 0x800a
|
||||
/* 0109FC 800355FC A0200931 */ sb $zero, 0x931($at)
|
||||
/* 010A00 80035600 0800D58A */ j .L80035628
|
||||
/* 010A04 80035604 0000202D */ daddu $a0, $zero, $zero
|
||||
|
||||
.L80035608:
|
||||
/* 010A08 80035608 24020001 */ addiu $v0, $zero, 1
|
||||
/* 010A0C 8003560C 44850000 */ mtc1 $a1, $f0
|
||||
/* 010A10 80035610 00000000 */ nop
|
||||
/* 010A14 80035614 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 010A18 80035618 44050000 */ mfc1 $a1, $f0
|
||||
/* 010A1C 8003561C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010A20 80035620 3C01800A */ lui $at, 0x800a
|
||||
/* 010A24 80035624 A0220931 */ sb $v0, 0x931($at)
|
||||
.L80035628:
|
||||
/* 010A28 80035628 0C04DF62 */ jal func_80137D88
|
||||
/* 010A2C 8003562C 00000000 */ nop
|
||||
/* 010A30 80035630 24020001 */ addiu $v0, $zero, 1
|
||||
/* 010A34 80035634 3C04800A */ lui $a0, 0x800a
|
||||
/* 010A38 80035638 2484A650 */ addiu $a0, $a0, -0x59b0
|
||||
/* 010A3C 8003563C 3C01800A */ lui $at, 0x800a
|
||||
/* 010A40 80035640 A0220930 */ sb $v0, 0x930($at)
|
||||
/* 010A44 80035644 8C820000 */ lw $v0, ($a0)
|
||||
/* 010A48 80035648 2403FFBF */ addiu $v1, $zero, -0x41
|
||||
/* 010A4C 8003564C 00431024 */ and $v0, $v0, $v1
|
||||
/* 010A50 80035650 AC820000 */ sw $v0, ($a0)
|
||||
/* 010A54 80035654 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 010A58 80035658 03E00008 */ jr $ra
|
||||
/* 010A5C 8003565C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -0,0 +1,51 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_80035660_2
|
||||
/* 010A60 80035660 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 010A64 80035664 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 010A68 80035668 3C01800A */ lui $at, 0x800a
|
||||
/* 010A6C 8003566C A0200931 */ sb $zero, 0x931($at)
|
||||
/* 010A70 80035670 3C01800A */ lui $at, 0x800a
|
||||
/* 010A74 80035674 A4200932 */ sh $zero, 0x932($at)
|
||||
/* 010A78 80035678 3C01800A */ lui $at, 0x800a
|
||||
/* 010A7C 8003567C A0200930 */ sb $zero, 0x930($at)
|
||||
/* 010A80 80035680 0C0912F1 */ jal func_80244BC4
|
||||
/* 010A84 80035684 00000000 */ nop
|
||||
/* 010A88 80035688 14400005 */ bnez $v0, .L800356A0
|
||||
/* 010A8C 8003568C 00000000 */ nop
|
||||
/* 010A90 80035690 0C04E0A8 */ jal set_map_transition_effect
|
||||
/* 010A94 80035694 24040007 */ addiu $a0, $zero, 7
|
||||
/* 010A98 80035698 0800D5B8 */ j .L800356E0
|
||||
/* 010A9C 8003569C 00000000 */ nop
|
||||
|
||||
.L800356A0:
|
||||
/* 010AA0 800356A0 0C04E0A8 */ jal set_map_transition_effect
|
||||
/* 010AA4 800356A4 24040008 */ addiu $a0, $zero, 8
|
||||
/* 010AA8 800356A8 3C06FFFE */ lui $a2, 0xfffe
|
||||
/* 010AAC 800356AC 34C6FFFF */ ori $a2, $a2, 0xffff
|
||||
/* 010AB0 800356B0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010AB4 800356B4 3C05800A */ lui $a1, 0x800a
|
||||
/* 010AB8 800356B8 24A5A650 */ addiu $a1, $a1, -0x59b0
|
||||
/* 010ABC 800356BC 24030008 */ addiu $v1, $zero, 8
|
||||
/* 010AC0 800356C0 8CA20000 */ lw $v0, ($a1)
|
||||
/* 010AC4 800356C4 240703E8 */ addiu $a3, $zero, 0x3e8
|
||||
/* 010AC8 800356C8 AFA30010 */ sw $v1, 0x10($sp)
|
||||
/* 010ACC 800356CC 00461024 */ and $v0, $v0, $a2
|
||||
/* 010AD0 800356D0 ACA20000 */ sw $v0, ($a1)
|
||||
/* 010AD4 800356D4 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* 010AD8 800356D8 0C052A46 */ jal set_music_track
|
||||
/* 010ADC 800356DC 0080302D */ daddu $a2, $a0, $zero
|
||||
.L800356E0:
|
||||
/* 010AE0 800356E0 3C02800A */ lui $v0, 0x800a
|
||||
/* 010AE4 800356E4 2442A650 */ addiu $v0, $v0, -0x59b0
|
||||
/* 010AE8 800356E8 8C430000 */ lw $v1, ($v0)
|
||||
/* 010AEC 800356EC 2404FFBF */ addiu $a0, $zero, -0x41
|
||||
/* 010AF0 800356F0 00641824 */ and $v1, $v1, $a0
|
||||
/* 010AF4 800356F4 AC430000 */ sw $v1, ($v0)
|
||||
/* 010AF8 800356F8 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 010AFC 800356FC 03E00008 */ jr $ra
|
||||
/* 010B00 80035700 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
298
papermario/asm/nonmatchings/code_10400_len_d30/func_80035704.s
Normal file
298
papermario/asm/nonmatchings/code_10400_len_d30/func_80035704.s
Normal file
@ -0,0 +1,298 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_80035704
|
||||
/* 010B04 80035704 3C03800A */ lui $v1, 0x800a
|
||||
/* 010B08 80035708 80630931 */ lb $v1, 0x931($v1)
|
||||
/* 010B0C 8003570C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 010B10 80035710 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 010B14 80035714 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 010B18 80035718 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 010B1C 8003571C 2C620005 */ sltiu $v0, $v1, 5
|
||||
/* 010B20 80035720 10400101 */ beqz $v0, .L80035B28
|
||||
/* 010B24 80035724 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 010B28 80035728 00031080 */ sll $v0, $v1, 2
|
||||
/* 010B2C 8003572C 3C01800A */ lui $at, 0x800a
|
||||
/* 010B30 80035730 00220821 */ addu $at, $at, $v0
|
||||
/* 010B34 80035734 8C2282E8 */ lw $v0, -0x7d18($at)
|
||||
/* 010B38 80035738 00400008 */ jr $v0
|
||||
/* 010B3C 8003573C 00000000 */ nop
|
||||
/* 010B40 80035740 3C10800A */ lui $s0, 0x800a
|
||||
/* 010B44 80035744 26100932 */ addiu $s0, $s0, 0x932
|
||||
/* 010B48 80035748 86020000 */ lh $v0, ($s0)
|
||||
/* 010B4C 8003574C 96030000 */ lhu $v1, ($s0)
|
||||
/* 010B50 80035750 1040000F */ beqz $v0, .L80035790
|
||||
/* 010B54 80035754 2462FFEC */ addiu $v0, $v1, -0x14
|
||||
/* 010B58 80035758 A6020000 */ sh $v0, ($s0)
|
||||
/* 010B5C 8003575C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 010B60 80035760 04420001 */ bltzl $v0, .L80035768
|
||||
/* 010B64 80035764 A6000000 */ sh $zero, ($s0)
|
||||
.L80035768:
|
||||
/* 010B68 80035768 86020000 */ lh $v0, ($s0)
|
||||
/* 010B6C 8003576C 44820000 */ mtc1 $v0, $f0
|
||||
/* 010B70 80035770 00000000 */ nop
|
||||
/* 010B74 80035774 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 010B78 80035778 44050000 */ mfc1 $a1, $f0
|
||||
/* 010B7C 8003577C 0C04DF62 */ jal func_80137D88
|
||||
/* 010B80 80035780 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010B84 80035784 86020000 */ lh $v0, ($s0)
|
||||
/* 010B88 80035788 144000E7 */ bnez $v0, .L80035B28
|
||||
/* 010B8C 8003578C 00000000 */ nop
|
||||
.L80035790:
|
||||
/* 010B90 80035790 24020001 */ addiu $v0, $zero, 1
|
||||
/* 010B94 80035794 3C01800A */ lui $at, 0x800a
|
||||
/* 010B98 80035798 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 010B9C 8003579C 0800D6CA */ j .L80035B28
|
||||
/* 010BA0 800357A0 00000000 */ nop
|
||||
|
||||
/* 010BA4 800357A4 3C10800A */ lui $s0, 0x800a
|
||||
/* 010BA8 800357A8 26100932 */ addiu $s0, $s0, 0x932
|
||||
/* 010BAC 800357AC 241100FF */ addiu $s1, $zero, 0xff
|
||||
/* 010BB0 800357B0 86020000 */ lh $v0, ($s0)
|
||||
/* 010BB4 800357B4 96030000 */ lhu $v1, ($s0)
|
||||
/* 010BB8 800357B8 10510011 */ beq $v0, $s1, .L80035800
|
||||
/* 010BBC 800357BC 24620014 */ addiu $v0, $v1, 0x14
|
||||
/* 010BC0 800357C0 A6020000 */ sh $v0, ($s0)
|
||||
/* 010BC4 800357C4 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 010BC8 800357C8 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 010BCC 800357CC 28420100 */ slti $v0, $v0, 0x100
|
||||
/* 010BD0 800357D0 50400001 */ beql $v0, $zero, .L800357D8
|
||||
/* 010BD4 800357D4 A6110000 */ sh $s1, ($s0)
|
||||
.L800357D8:
|
||||
/* 010BD8 800357D8 86020000 */ lh $v0, ($s0)
|
||||
/* 010BDC 800357DC 44820000 */ mtc1 $v0, $f0
|
||||
/* 010BE0 800357E0 00000000 */ nop
|
||||
/* 010BE4 800357E4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 010BE8 800357E8 44050000 */ mfc1 $a1, $f0
|
||||
/* 010BEC 800357EC 0C04DF62 */ jal func_80137D88
|
||||
/* 010BF0 800357F0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010BF4 800357F4 86020000 */ lh $v0, ($s0)
|
||||
/* 010BF8 800357F8 145100CB */ bne $v0, $s1, .L80035B28
|
||||
/* 010BFC 800357FC 00000000 */ nop
|
||||
.L80035800:
|
||||
/* 010C00 80035800 24020002 */ addiu $v0, $zero, 2
|
||||
/* 010C04 80035804 3C01800A */ lui $at, 0x800a
|
||||
/* 010C08 80035808 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 010C0C 8003580C 0800D6CA */ j .L80035B28
|
||||
/* 010C10 80035810 00000000 */ nop
|
||||
|
||||
/* 010C14 80035814 3C06800A */ lui $a2, 0x800a
|
||||
/* 010C18 80035818 24C60930 */ addiu $a2, $a2, 0x930
|
||||
/* 010C1C 8003581C 80C30000 */ lb $v1, ($a2)
|
||||
/* 010C20 80035820 24020003 */ addiu $v0, $zero, 3
|
||||
/* 010C24 80035824 14620006 */ bne $v1, $v0, .L80035840
|
||||
/* 010C28 80035828 00000000 */ nop
|
||||
/* 010C2C 8003582C 3C03800A */ lui $v1, 0x800a
|
||||
/* 010C30 80035830 2463A650 */ addiu $v1, $v1, -0x59b0
|
||||
/* 010C34 80035834 8C620000 */ lw $v0, ($v1)
|
||||
/* 010C38 80035838 34420008 */ ori $v0, $v0, 8
|
||||
/* 010C3C 8003583C AC620000 */ sw $v0, ($v1)
|
||||
.L80035840:
|
||||
/* 010C40 80035840 80C20000 */ lb $v0, ($a2)
|
||||
/* 010C44 80035844 90C30000 */ lbu $v1, ($a2)
|
||||
/* 010C48 80035848 044000B7 */ bltz $v0, .L80035B28
|
||||
/* 010C4C 8003584C 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 010C50 80035850 A0C20000 */ sb $v0, ($a2)
|
||||
/* 010C54 80035854 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 010C58 80035858 14400067 */ bnez $v0, .L800359F8
|
||||
/* 010C5C 8003585C 24050003 */ addiu $a1, $zero, 3
|
||||
/* 010C60 80035860 3C048007 */ lui $a0, 0x8007
|
||||
/* 010C64 80035864 24847980 */ addiu $a0, $a0, 0x7980
|
||||
/* 010C68 80035868 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 010C6C 8003586C 0C017CBC */ jal nuGfxSetCfb
|
||||
/* 010C70 80035870 A0C20000 */ sb $v0, ($a2)
|
||||
/* 010C74 80035874 0C0912C0 */ jal func_80244B00
|
||||
/* 010C78 80035878 00000000 */ nop
|
||||
/* 010C7C 8003587C 3C04800A */ lui $a0, 0x800a
|
||||
/* 010C80 80035880 2484A650 */ addiu $a0, $a0, -0x59b0
|
||||
/* 010C84 80035884 8C820000 */ lw $v0, ($a0)
|
||||
/* 010C88 80035888 2403FFF7 */ addiu $v1, $zero, -9
|
||||
/* 010C8C 8003588C 00431024 */ and $v0, $v0, $v1
|
||||
/* 010C90 80035890 0C016AFA */ jal get_current_map_header
|
||||
/* 010C94 80035894 AC820000 */ sw $v0, ($a0)
|
||||
/* 010C98 80035898 3C108007 */ lui $s0, 0x8007
|
||||
/* 010C9C 8003589C 2610419C */ addiu $s0, $s0, 0x419c
|
||||
/* 010CA0 800358A0 8E040000 */ lw $a0, ($s0)
|
||||
/* 010CA4 800358A4 84830086 */ lh $v1, 0x86($a0)
|
||||
/* 010CA8 800358A8 00031900 */ sll $v1, $v1, 4
|
||||
/* 010CAC 800358AC 3C058009 */ lui $a1, 0x8009
|
||||
/* 010CB0 800358B0 00A32821 */ addu $a1, $a1, $v1
|
||||
/* 010CB4 800358B4 8CA534F4 */ lw $a1, 0x34f4($a1)
|
||||
/* 010CB8 800358B8 8483008C */ lh $v1, 0x8c($a0)
|
||||
/* 010CBC 800358BC 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 010CC0 800358C0 A0800070 */ sb $zero, 0x70($a0)
|
||||
/* 010CC4 800358C4 00031940 */ sll $v1, $v1, 5
|
||||
/* 010CC8 800358C8 0C016BE1 */ jal func_8005AF84
|
||||
/* 010CCC 800358CC 00A38821 */ addu $s1, $a1, $v1
|
||||
/* 010CD0 800358D0 0C00AB37 */ jal func_8002ACDC
|
||||
/* 010CD4 800358D4 00000000 */ nop
|
||||
/* 010CD8 800358D8 0C05259C */ jal func_80149670
|
||||
/* 010CDC 800358DC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 010CE0 800358E0 8E020000 */ lw $v0, ($s0)
|
||||
/* 010CE4 800358E4 0C0B763E */ jal func_802DD8F8
|
||||
/* 010CE8 800358E8 80440084 */ lb $a0, 0x84($v0)
|
||||
/* 010CEC 800358EC 0C0457FA */ jal init_model_data
|
||||
/* 010CF0 800358F0 00000000 */ nop
|
||||
/* 010CF4 800358F4 0C05203C */ jal func_801480F0
|
||||
/* 010CF8 800358F8 00000000 */ nop
|
||||
/* 010CFC 800358FC 0C048316 */ jal func_80120C58
|
||||
/* 010D00 80035900 00000000 */ nop
|
||||
/* 010D04 80035904 0C0478C4 */ jal func_8011E310
|
||||
/* 010D08 80035908 00000000 */ nop
|
||||
/* 010D0C 8003590C 0C048C45 */ jal func_80123114
|
||||
/* 010D10 80035910 00000000 */ nop
|
||||
/* 010D14 80035914 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010D18 80035918 0C0514BA */ jal func_801452E8
|
||||
/* 010D1C 8003591C 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 010D20 80035920 0C0504C0 */ jal init_menu_icon_list
|
||||
/* 010D24 80035924 00000000 */ nop
|
||||
/* 010D28 80035928 0C04C433 */ jal init_item_entity_list
|
||||
/* 010D2C 8003592C 00000000 */ nop
|
||||
/* 010D30 80035930 0C0B0CBB */ jal init_script_list
|
||||
/* 010D34 80035934 00000000 */ nop
|
||||
/* 010D38 80035938 0C00E14B */ jal init_npc_list
|
||||
/* 010D3C 8003593C 00000000 */ nop
|
||||
/* 010D40 80035940 0C044396 */ jal func_80110E58
|
||||
/* 010D44 80035944 00000000 */ nop
|
||||
/* 010D48 80035948 0C0515CA */ jal init_trigger_list
|
||||
/* 010D4C 8003594C 00000000 */ nop
|
||||
/* 010D50 80035950 3C04800E */ lui $a0, 0x800e
|
||||
/* 010D54 80035954 24849230 */ addiu $a0, $a0, -0x6dd0
|
||||
/* 010D58 80035958 0C016B3A */ jal load_asset_by_name
|
||||
/* 010D5C 8003595C 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 010D60 80035960 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 010D64 80035964 3C058021 */ lui $a1, 0x8021
|
||||
/* 010D68 80035968 24A50000 */ addiu $a1, $a1, 0
|
||||
/* 010D6C 8003596C 0C01BB7C */ jal decode_yay0
|
||||
/* 010D70 80035970 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 010D74 80035974 0C00AB1E */ jal general_heap_free
|
||||
/* 010D78 80035978 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 010D7C 8003597C 0C016BE5 */ jal initialize_collision
|
||||
/* 010D80 80035980 00000000 */ nop
|
||||
/* 010D84 80035984 0C016C16 */ jal load_collision
|
||||
/* 010D88 80035988 00000000 */ nop
|
||||
/* 010D8C 8003598C 8E240008 */ lw $a0, 8($s1)
|
||||
/* 010D90 80035990 10800004 */ beqz $a0, .L800359A4
|
||||
/* 010D94 80035994 00000000 */ nop
|
||||
/* 010D98 80035998 8E25000C */ lw $a1, 0xc($s1)
|
||||
/* 010D9C 8003599C 0C00A5CF */ jal dma_copy
|
||||
/* 010DA0 800359A0 8E260010 */ lw $a2, 0x10($s1)
|
||||
.L800359A4:
|
||||
/* 010DA4 800359A4 0C05175C */ jal load_map_bg
|
||||
/* 010DA8 800359A8 8E240014 */ lw $a0, 0x14($s1)
|
||||
/* 010DAC 800359AC 8E440038 */ lw $a0, 0x38($s2)
|
||||
/* 010DB0 800359B0 50800005 */ beql $a0, $zero, .L800359C8
|
||||
/* 010DB4 800359B4 24040128 */ addiu $a0, $zero, 0x128
|
||||
/* 010DB8 800359B8 0C05178A */ jal read_background_size
|
||||
/* 010DBC 800359BC 00000000 */ nop
|
||||
/* 010DC0 800359C0 0800D676 */ j .L800359D8
|
||||
/* 010DC4 800359C4 00000000 */ nop
|
||||
|
||||
.L800359C8:
|
||||
/* 010DC8 800359C8 240500C8 */ addiu $a1, $zero, 0xc8
|
||||
/* 010DCC 800359CC 2406000C */ addiu $a2, $zero, 0xc
|
||||
/* 010DD0 800359D0 0C05179C */ jal set_background_size
|
||||
/* 010DD4 800359D4 24070014 */ addiu $a3, $zero, 0x14
|
||||
.L800359D8:
|
||||
/* 010DD8 800359D8 0C04584B */ jal calculate_model_sizes
|
||||
/* 010DDC 800359DC 00000000 */ nop
|
||||
/* 010DE0 800359E0 0C00EC6C */ jal func_8003B1B0
|
||||
/* 010DE4 800359E4 00000000 */ nop
|
||||
/* 010DE8 800359E8 0C03A631 */ jal func_800E98C4
|
||||
/* 010DEC 800359EC 00000000 */ nop
|
||||
/* 010DF0 800359F0 0C009C22 */ jal func_80027088
|
||||
/* 010DF4 800359F4 24040001 */ addiu $a0, $zero, 1
|
||||
.L800359F8:
|
||||
/* 010DF8 800359F8 0C051FB1 */ jal func_80147EC4
|
||||
/* 010DFC 800359FC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010E00 80035A00 24020003 */ addiu $v0, $zero, 3
|
||||
/* 010E04 80035A04 3C01800A */ lui $at, 0x800a
|
||||
/* 010E08 80035A08 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 010E0C 80035A0C 0C037DD0 */ jal func_800DF740
|
||||
/* 010E10 80035A10 00000000 */ nop
|
||||
/* 010E14 80035A14 0C00E64C */ jal func_80039930
|
||||
/* 010E18 80035A18 00000000 */ nop
|
||||
/* 010E1C 80035A1C 0C00F949 */ jal func_8003E524
|
||||
/* 010E20 80035A20 00000000 */ nop
|
||||
/* 010E24 80035A24 0C016754 */ jal func_80059D50
|
||||
/* 010E28 80035A28 00000000 */ nop
|
||||
/* 010E2C 80035A2C 3C03800A */ lui $v1, 0x800a
|
||||
/* 010E30 80035A30 24630932 */ addiu $v1, $v1, 0x932
|
||||
/* 010E34 80035A34 94620000 */ lhu $v0, ($v1)
|
||||
/* 010E38 80035A38 2442FFEC */ addiu $v0, $v0, -0x14
|
||||
/* 010E3C 80035A3C A4620000 */ sh $v0, ($v1)
|
||||
/* 010E40 80035A40 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 010E44 80035A44 04420001 */ bltzl $v0, .L80035A4C
|
||||
/* 010E48 80035A48 A4600000 */ sh $zero, ($v1)
|
||||
.L80035A4C:
|
||||
/* 010E4C 80035A4C 84620000 */ lh $v0, ($v1)
|
||||
/* 010E50 80035A50 44820000 */ mtc1 $v0, $f0
|
||||
/* 010E54 80035A54 00000000 */ nop
|
||||
/* 010E58 80035A58 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 010E5C 80035A5C 44050000 */ mfc1 $a1, $f0
|
||||
/* 010E60 80035A60 0800D6C8 */ j .L80035B20
|
||||
/* 010E64 80035A64 0000202D */ daddu $a0, $zero, $zero
|
||||
|
||||
/* 010E68 80035A68 0C037DD0 */ jal func_800DF740
|
||||
/* 010E6C 80035A6C 00000000 */ nop
|
||||
/* 010E70 80035A70 0C00E64C */ jal func_80039930
|
||||
/* 010E74 80035A74 00000000 */ nop
|
||||
/* 010E78 80035A78 0C00F949 */ jal func_8003E524
|
||||
/* 010E7C 80035A7C 00000000 */ nop
|
||||
/* 010E80 80035A80 0C016754 */ jal func_80059D50
|
||||
/* 010E84 80035A84 00000000 */ nop
|
||||
/* 010E88 80035A88 3C04800A */ lui $a0, 0x800a
|
||||
/* 010E8C 80035A8C 24840932 */ addiu $a0, $a0, 0x932
|
||||
/* 010E90 80035A90 84820000 */ lh $v0, ($a0)
|
||||
/* 010E94 80035A94 94830000 */ lhu $v1, ($a0)
|
||||
/* 010E98 80035A98 14400006 */ bnez $v0, .L80035AB4
|
||||
/* 010E9C 80035A9C 2462FFEC */ addiu $v0, $v1, -0x14
|
||||
/* 010EA0 80035AA0 24020004 */ addiu $v0, $zero, 4
|
||||
/* 010EA4 80035AA4 3C01800A */ lui $at, 0x800a
|
||||
/* 010EA8 80035AA8 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 010EAC 80035AAC 0800D6CA */ j .L80035B28
|
||||
/* 010EB0 80035AB0 00000000 */ nop
|
||||
|
||||
.L80035AB4:
|
||||
/* 010EB4 80035AB4 A4820000 */ sh $v0, ($a0)
|
||||
/* 010EB8 80035AB8 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 010EBC 80035ABC 04420001 */ bltzl $v0, .L80035AC4
|
||||
/* 010EC0 80035AC0 A4800000 */ sh $zero, ($a0)
|
||||
.L80035AC4:
|
||||
/* 010EC4 80035AC4 84820000 */ lh $v0, ($a0)
|
||||
/* 010EC8 80035AC8 44820000 */ mtc1 $v0, $f0
|
||||
/* 010ECC 80035ACC 00000000 */ nop
|
||||
/* 010ED0 80035AD0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 010ED4 80035AD4 44050000 */ mfc1 $a1, $f0
|
||||
/* 010ED8 80035AD8 0800D6C8 */ j .L80035B20
|
||||
/* 010EDC 80035ADC 0000202D */ daddu $a0, $zero, $zero
|
||||
|
||||
/* 010EE0 80035AE0 0C009C22 */ jal func_80027088
|
||||
/* 010EE4 80035AE4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 010EE8 80035AE8 0C037DD0 */ jal func_800DF740
|
||||
/* 010EEC 80035AEC 00000000 */ nop
|
||||
/* 010EF0 80035AF0 0C00E64C */ jal func_80039930
|
||||
/* 010EF4 80035AF4 00000000 */ nop
|
||||
/* 010EF8 80035AF8 0C00F949 */ jal func_8003E524
|
||||
/* 010EFC 80035AFC 00000000 */ nop
|
||||
/* 010F00 80035B00 0C016754 */ jal func_80059D50
|
||||
/* 010F04 80035B04 00000000 */ nop
|
||||
/* 010F08 80035B08 0C038069 */ jal func_800E01A4
|
||||
/* 010F0C 80035B0C 00000000 */ nop
|
||||
/* 010F10 80035B10 0C00CD3C */ jal set_game_mode
|
||||
/* 010F14 80035B14 24040004 */ addiu $a0, $zero, 4
|
||||
/* 010F18 80035B18 3C05BF80 */ lui $a1, 0xbf80
|
||||
/* 010F1C 80035B1C 240400FF */ addiu $a0, $zero, 0xff
|
||||
.L80035B20:
|
||||
/* 010F20 80035B20 0C04DF62 */ jal func_80137D88
|
||||
/* 010F24 80035B24 00000000 */ nop
|
||||
.L80035B28:
|
||||
/* 010F28 80035B28 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 010F2C 80035B2C 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 010F30 80035B30 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 010F34 80035B34 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 010F38 80035B38 03E00008 */ jr $ra
|
||||
/* 010F3C 80035B3C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
141
papermario/asm/nonmatchings/code_10400_len_d30/func_80035B40_2.s
Normal file
141
papermario/asm/nonmatchings/code_10400_len_d30/func_80035B40_2.s
Normal file
@ -0,0 +1,141 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_80035B40_2
|
||||
/* 010F40 80035B40 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 010F44 80035B44 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 010F48 80035B48 0C0912F1 */ jal func_80244BC4
|
||||
/* 010F4C 80035B4C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 010F50 80035B50 3C03800A */ lui $v1, 0x800a
|
||||
/* 010F54 80035B54 80630931 */ lb $v1, 0x931($v1)
|
||||
/* 010F58 80035B58 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 010F5C 80035B5C 2C620007 */ sltiu $v0, $v1, 7
|
||||
/* 010F60 80035B60 10400069 */ beqz $v0, .L80035D08
|
||||
/* 010F64 80035B64 00031080 */ sll $v0, $v1, 2
|
||||
/* 010F68 80035B68 3C01800A */ lui $at, 0x800a
|
||||
/* 010F6C 80035B6C 00220821 */ addu $at, $at, $v0
|
||||
/* 010F70 80035B70 8C228300 */ lw $v0, -0x7d00($at)
|
||||
/* 010F74 80035B74 00400008 */ jr $v0
|
||||
/* 010F78 80035B78 00000000 */ nop
|
||||
/* 010F7C 80035B7C 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 010F80 80035B80 2404002C */ addiu $a0, $zero, 0x2c
|
||||
/* 010F84 80035B84 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 010F88 80035B88 2406FFFF */ addiu $a2, $zero, -1
|
||||
/* 010F8C 80035B8C 3C038016 */ lui $v1, 0x8016
|
||||
/* 010F90 80035B90 2463A2D0 */ addiu $v1, $v1, -0x5d30
|
||||
.L80035B94:
|
||||
/* 010F94 80035B94 80620003 */ lb $v0, 3($v1)
|
||||
/* 010F98 80035B98 10470003 */ beq $v0, $a3, .L80035BA8
|
||||
/* 010F9C 80035B9C 00000000 */ nop
|
||||
/* 010FA0 80035BA0 54460005 */ bnel $v0, $a2, .L80035BB8
|
||||
/* 010FA4 80035BA4 24840001 */ addiu $a0, $a0, 1
|
||||
.L80035BA8:
|
||||
/* 010FA8 80035BA8 90620000 */ lbu $v0, ($v1)
|
||||
/* 010FAC 80035BAC 30420008 */ andi $v0, $v0, 8
|
||||
/* 010FB0 80035BB0 00A22821 */ addu $a1, $a1, $v0
|
||||
/* 010FB4 80035BB4 24840001 */ addiu $a0, $a0, 1
|
||||
.L80035BB8:
|
||||
/* 010FB8 80035BB8 28820040 */ slti $v0, $a0, 0x40
|
||||
/* 010FBC 80035BBC 1440FFF5 */ bnez $v0, .L80035B94
|
||||
/* 010FC0 80035BC0 24630020 */ addiu $v1, $v1, 0x20
|
||||
/* 010FC4 80035BC4 14A00050 */ bnez $a1, .L80035D08
|
||||
/* 010FC8 80035BC8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 010FCC 80035BCC 3C01800A */ lui $at, 0x800a
|
||||
/* 010FD0 80035BD0 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 010FD4 80035BD4 0800D742 */ j .L80035D08
|
||||
/* 010FD8 80035BD8 00000000 */ nop
|
||||
|
||||
/* 010FDC 80035BDC 12000008 */ beqz $s0, .L80035C00
|
||||
/* 010FE0 80035BE0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 010FE4 80035BE4 3C04800A */ lui $a0, 0x800a
|
||||
/* 010FE8 80035BE8 24840932 */ addiu $a0, $a0, 0x932
|
||||
/* 010FEC 80035BEC 0C04E0AB */ jal func_801382AC
|
||||
/* 010FF0 80035BF0 00000000 */ nop
|
||||
/* 010FF4 80035BF4 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 010FF8 80035BF8 10400043 */ beqz $v0, .L80035D08
|
||||
/* 010FFC 80035BFC 24020002 */ addiu $v0, $zero, 2
|
||||
.L80035C00:
|
||||
/* 011000 80035C00 3C01800A */ lui $at, 0x800a
|
||||
/* 011004 80035C04 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 011008 80035C08 0800D742 */ j .L80035D08
|
||||
/* 01100C 80035C0C 00000000 */ nop
|
||||
|
||||
/* 011010 80035C10 0C0912C0 */ jal func_80244B00
|
||||
/* 011014 80035C14 00000000 */ nop
|
||||
/* 011018 80035C18 0C051FB1 */ jal func_80147EC4
|
||||
/* 01101C 80035C1C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 011020 80035C20 24020003 */ addiu $v0, $zero, 3
|
||||
/* 011024 80035C24 3C01800A */ lui $at, 0x800a
|
||||
/* 011028 80035C28 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 01102C 80035C2C 0C009C22 */ jal func_80027088
|
||||
/* 011030 80035C30 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 011034 80035C34 1600000B */ bnez $s0, .L80035C64
|
||||
/* 011038 80035C38 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 01103C 80035C3C 0C00CD3C */ jal set_game_mode
|
||||
/* 011040 80035C40 24040002 */ addiu $a0, $zero, 2
|
||||
/* 011044 80035C44 3C04FFFE */ lui $a0, 0xfffe
|
||||
/* 011048 80035C48 3C03800A */ lui $v1, 0x800a
|
||||
/* 01104C 80035C4C 2463A650 */ addiu $v1, $v1, -0x59b0
|
||||
/* 011050 80035C50 8C620000 */ lw $v0, ($v1)
|
||||
/* 011054 80035C54 3484FFFF */ ori $a0, $a0, 0xffff
|
||||
/* 011058 80035C58 00441024 */ and $v0, $v0, $a0
|
||||
/* 01105C 80035C5C 0800D742 */ j .L80035D08
|
||||
/* 011060 80035C60 AC620000 */ sw $v0, ($v1)
|
||||
|
||||
.L80035C64:
|
||||
/* 011064 80035C64 3C01800A */ lui $at, 0x800a
|
||||
/* 011068 80035C68 A0220930 */ sb $v0, 0x930($at)
|
||||
/* 01106C 80035C6C 24020004 */ addiu $v0, $zero, 4
|
||||
/* 011070 80035C70 3C01800A */ lui $at, 0x800a
|
||||
/* 011074 80035C74 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 011078 80035C78 0800D742 */ j .L80035D08
|
||||
/* 01107C 80035C7C 00000000 */ nop
|
||||
|
||||
/* 011080 80035C80 3C10800A */ lui $s0, 0x800a
|
||||
/* 011084 80035C84 26100930 */ addiu $s0, $s0, 0x930
|
||||
/* 011088 80035C88 82020000 */ lb $v0, ($s0)
|
||||
/* 01108C 80035C8C 92030000 */ lbu $v1, ($s0)
|
||||
/* 011090 80035C90 18400003 */ blez $v0, .L80035CA0
|
||||
/* 011094 80035C94 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 011098 80035C98 0800D742 */ j .L80035D08
|
||||
/* 01109C 80035C9C A2020000 */ sb $v0, ($s0)
|
||||
|
||||
.L80035CA0:
|
||||
/* 0110A0 80035CA0 3C014000 */ lui $at, 0x4000
|
||||
/* 0110A4 80035CA4 44816000 */ mtc1 $at, $f12
|
||||
/* 0110A8 80035CA8 0C00AFB7 */ jal func_8002BEDC
|
||||
/* 0110AC 80035CAC 00000000 */ nop
|
||||
/* 0110B0 80035CB0 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 0110B4 80035CB4 A2020000 */ sb $v0, ($s0)
|
||||
/* 0110B8 80035CB8 24020005 */ addiu $v0, $zero, 5
|
||||
/* 0110BC 80035CBC 3C01800A */ lui $at, 0x800a
|
||||
/* 0110C0 80035CC0 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 0110C4 80035CC4 0800D742 */ j .L80035D08
|
||||
/* 0110C8 80035CC8 00000000 */ nop
|
||||
|
||||
/* 0110CC 80035CCC 3C04800A */ lui $a0, 0x800a
|
||||
/* 0110D0 80035CD0 24840930 */ addiu $a0, $a0, 0x930
|
||||
/* 0110D4 80035CD4 80820000 */ lb $v0, ($a0)
|
||||
/* 0110D8 80035CD8 90830000 */ lbu $v1, ($a0)
|
||||
/* 0110DC 80035CDC 18400003 */ blez $v0, .L80035CEC
|
||||
/* 0110E0 80035CE0 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 0110E4 80035CE4 0800D742 */ j .L80035D08
|
||||
/* 0110E8 80035CE8 A0820000 */ sb $v0, ($a0)
|
||||
|
||||
.L80035CEC:
|
||||
/* 0110EC 80035CEC 24020006 */ addiu $v0, $zero, 6
|
||||
/* 0110F0 80035CF0 3C01800A */ lui $at, 0x800a
|
||||
/* 0110F4 80035CF4 A0220931 */ sb $v0, 0x931($at)
|
||||
/* 0110F8 80035CF8 0800D742 */ j .L80035D08
|
||||
/* 0110FC 80035CFC 00000000 */ nop
|
||||
|
||||
/* 011100 80035D00 0C00CD3C */ jal set_game_mode
|
||||
/* 011104 80035D04 24040007 */ addiu $a0, $zero, 7
|
||||
.L80035D08:
|
||||
/* 011108 80035D08 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 01110C 80035D0C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 011110 80035D10 03E00008 */ jr $ra
|
||||
/* 011114 80035D14 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -0,0 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_80035D18_2
|
||||
/* 011118 80035D18 03E00008 */ jr $ra
|
||||
/* 01111C 80035D1C 00000000 */ nop
|
||||
|
@ -0,0 +1,10 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_80035D20_2
|
||||
/* 011120 80035D20 03E00008 */ jr $ra
|
||||
/* 011124 80035D24 00000000 */ nop
|
||||
/* 011128 80035D28 00000000 */ nop
|
||||
/* 01112C 80035D2C 00000000 */ nop
|
191
papermario/asm/nonmatchings/code_104940_len_dc0/func_802E30C0.s
Normal file
191
papermario/asm/nonmatchings/code_104940_len_dc0/func_802E30C0.s
Normal file
@ -0,0 +1,191 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E30C0
|
||||
/* 104940 802E30C0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 104944 802E30C4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104948 802E30C8 3C10800A */ lui $s0, 0x800a
|
||||
/* 10494C 802E30CC 8E10A66C */ lw $s0, -0x5994($s0)
|
||||
/* 104950 802E30D0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 104954 802E30D4 0C04417A */ jal get_entity_by_index
|
||||
/* 104958 802E30D8 00000000 */ nop
|
||||
/* 10495C 802E30DC 3C04E300 */ lui $a0, 0xe300
|
||||
/* 104960 802E30E0 34841001 */ ori $a0, $a0, 0x1001
|
||||
/* 104964 802E30E4 3C05D700 */ lui $a1, 0xd700
|
||||
/* 104968 802E30E8 34A50002 */ ori $a1, $a1, 2
|
||||
/* 10496C 802E30EC 0200182D */ daddu $v1, $s0, $zero
|
||||
/* 104970 802E30F0 26100008 */ addiu $s0, $s0, 8
|
||||
/* 104974 802E30F4 AC640000 */ sw $a0, ($v1)
|
||||
/* 104978 802E30F8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 10497C 802E30FC AC600004 */ sw $zero, 4($v1)
|
||||
/* 104980 802E3100 2403FFFF */ addiu $v1, $zero, -1
|
||||
/* 104984 802E3104 AC850000 */ sw $a1, ($a0)
|
||||
/* 104988 802E3108 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 10498C 802E310C AC830004 */ sw $v1, 4($a0)
|
||||
/* 104990 802E3110 90A2000B */ lbu $v0, 0xb($a1)
|
||||
/* 104994 802E3114 2C4200FF */ sltiu $v0, $v0, 0xff
|
||||
/* 104998 802E3118 14400011 */ bnez $v0, .L802E3160
|
||||
/* 10499C 802E311C 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1049A0 802E3120 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1049A4 802E3124 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1049A8 802E3128 3C07E200 */ lui $a3, 0xe200
|
||||
/* 1049AC 802E312C 34E7001C */ ori $a3, $a3, 0x1c
|
||||
/* 1049B0 802E3130 3C060055 */ lui $a2, 0x55
|
||||
/* 1049B4 802E3134 34C62078 */ ori $a2, $a2, 0x2078
|
||||
/* 1049B8 802E3138 0200182D */ daddu $v1, $s0, $zero
|
||||
/* 1049BC 802E313C 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1049C0 802E3140 3C04FC12 */ lui $a0, 0xfc12
|
||||
/* 1049C4 802E3144 34841824 */ ori $a0, $a0, 0x1824
|
||||
/* 1049C8 802E3148 3C02FF33 */ lui $v0, 0xff33
|
||||
/* 1049CC 802E314C 3442FFFF */ ori $v0, $v0, 0xffff
|
||||
/* 1049D0 802E3150 ACA70000 */ sw $a3, ($a1)
|
||||
/* 1049D4 802E3154 ACA60004 */ sw $a2, 4($a1)
|
||||
/* 1049D8 802E3158 080B8C65 */ j .L802E3194
|
||||
/* 1049DC 802E315C AC640000 */ sw $a0, ($v1)
|
||||
|
||||
.L802E3160:
|
||||
/* 1049E0 802E3160 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1049E4 802E3164 26100008 */ addiu $s0, $s0, 8
|
||||
/* 1049E8 802E3168 3C03FCFF */ lui $v1, 0xfcff
|
||||
/* 1049EC 802E316C 3463B3FF */ ori $v1, $v1, 0xb3ff
|
||||
/* 1049F0 802E3170 3C02FF2C */ lui $v0, 0xff2c
|
||||
/* 1049F4 802E3174 3442FE7F */ ori $v0, $v0, 0xfe7f
|
||||
/* 1049F8 802E3178 AC830000 */ sw $v1, ($a0)
|
||||
/* 1049FC 802E317C 0200182D */ daddu $v1, $s0, $zero
|
||||
/* 104A00 802E3180 AC820004 */ sw $v0, 4($a0)
|
||||
/* 104A04 802E3184 3C02FA00 */ lui $v0, 0xfa00
|
||||
/* 104A08 802E3188 AC620000 */ sw $v0, ($v1)
|
||||
/* 104A0C 802E318C 90A2000B */ lbu $v0, 0xb($a1)
|
||||
/* 104A10 802E3190 26100008 */ addiu $s0, $s0, 8
|
||||
.L802E3194:
|
||||
/* 104A14 802E3194 AC620004 */ sw $v0, 4($v1)
|
||||
/* 104A18 802E3198 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 104A1C 802E319C 3C01800A */ lui $at, 0x800a
|
||||
/* 104A20 802E31A0 AC30A66C */ sw $s0, -0x5994($at)
|
||||
/* 104A24 802E31A4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 104A28 802E31A8 03E00008 */ jr $ra
|
||||
/* 104A2C 802E31AC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 104A30 802E31B0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 104A34 802E31B4 3C013F80 */ lui $at, 0x3f80
|
||||
/* 104A38 802E31B8 44810000 */ mtc1 $at, $f0
|
||||
/* 104A3C 802E31BC 2402003C */ addiu $v0, $zero, 0x3c
|
||||
/* 104A40 802E31C0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 104A44 802E31C4 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 104A48 802E31C8 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 104A4C 802E31CC 8C850048 */ lw $a1, 0x48($a0)
|
||||
/* 104A50 802E31D0 8C86004C */ lw $a2, 0x4c($a0)
|
||||
/* 104A54 802E31D4 8C870050 */ lw $a3, 0x50($a0)
|
||||
/* 104A58 802E31D8 0C01C88C */ jal func_80072230
|
||||
/* 104A5C 802E31DC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 104A60 802E31E0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 104A64 802E31E4 03E00008 */ jr $ra
|
||||
/* 104A68 802E31E8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 104A6C 802E31EC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 104A70 802E31F0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104A74 802E31F4 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 104A78 802E31F8 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 104A7C 802E31FC 0C0441A9 */ jal func_801106A4
|
||||
/* 104A80 802E3200 92040004 */ lbu $a0, 4($s0)
|
||||
/* 104A84 802E3204 2442FFE8 */ addiu $v0, $v0, -0x18
|
||||
/* 104A88 802E3208 2C420003 */ sltiu $v0, $v0, 3
|
||||
/* 104A8C 802E320C 1040000D */ beqz $v0, .L802E3244
|
||||
/* 104A90 802E3210 00000000 */ nop
|
||||
/* 104A94 802E3214 3C013E6B */ lui $at, 0x3e6b
|
||||
/* 104A98 802E3218 3421851F */ ori $at, $at, 0x851f
|
||||
/* 104A9C 802E321C 44810000 */ mtc1 $at, $f0
|
||||
/* 104AA0 802E3220 3C014190 */ lui $at, 0x4190
|
||||
/* 104AA4 802E3224 44811000 */ mtc1 $at, $f2
|
||||
/* 104AA8 802E3228 E6000058 */ swc1 $f0, 0x58($s0)
|
||||
/* 104AAC 802E322C C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104AB0 802E3230 3C013F85 */ lui $at, 0x3f85
|
||||
/* 104AB4 802E3234 34211EB8 */ ori $at, $at, 0x1eb8
|
||||
/* 104AB8 802E3238 44812000 */ mtc1 $at, $f4
|
||||
/* 104ABC 802E323C 080B8C9C */ j .L802E3270
|
||||
/* 104AC0 802E3240 46020000 */ add.s $f0, $f0, $f2
|
||||
|
||||
.L802E3244:
|
||||
/* 104AC4 802E3244 3C013EEB */ lui $at, 0x3eeb
|
||||
/* 104AC8 802E3248 3421851F */ ori $at, $at, 0x851f
|
||||
/* 104ACC 802E324C 44810000 */ mtc1 $at, $f0
|
||||
/* 104AD0 802E3250 3C014190 */ lui $at, 0x4190
|
||||
/* 104AD4 802E3254 44811000 */ mtc1 $at, $f2
|
||||
/* 104AD8 802E3258 E6000058 */ swc1 $f0, 0x58($s0)
|
||||
/* 104ADC 802E325C C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104AE0 802E3260 3C014005 */ lui $at, 0x4005
|
||||
/* 104AE4 802E3264 34211EB8 */ ori $at, $at, 0x1eb8
|
||||
/* 104AE8 802E3268 44812000 */ mtc1 $at, $f4
|
||||
/* 104AEC 802E326C 46020000 */ add.s $f0, $f0, $f2
|
||||
.L802E3270:
|
||||
/* 104AF0 802E3270 E6040054 */ swc1 $f4, 0x54($s0)
|
||||
/* 104AF4 802E3274 E604005C */ swc1 $f4, 0x5c($s0)
|
||||
/* 104AF8 802E3278 E600004C */ swc1 $f0, 0x4c($s0)
|
||||
/* 104AFC 802E327C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 104B00 802E3280 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 104B04 802E3284 03E00008 */ jr $ra
|
||||
/* 104B08 802E3288 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 104B0C 802E328C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 104B10 802E3290 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104B14 802E3294 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 104B18 802E3298 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 104B1C 802E329C 0C0441A9 */ jal func_801106A4
|
||||
/* 104B20 802E32A0 92040004 */ lbu $a0, 4($s0)
|
||||
/* 104B24 802E32A4 2442FFE8 */ addiu $v0, $v0, -0x18
|
||||
/* 104B28 802E32A8 2C420003 */ sltiu $v0, $v0, 3
|
||||
/* 104B2C 802E32AC 10400012 */ beqz $v0, .L802E32F8
|
||||
/* 104B30 802E32B0 00000000 */ nop
|
||||
/* 104B34 802E32B4 C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 104B38 802E32B8 3C01802F */ lui $at, 0x802f
|
||||
/* 104B3C 802E32BC D424B1D0 */ ldc1 $f4, -0x4e30($at)
|
||||
/* 104B40 802E32C0 C602005C */ lwc1 $f2, 0x5c($s0)
|
||||
/* 104B44 802E32C4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 104B48 802E32C8 46240001 */ sub.d $f0, $f0, $f4
|
||||
/* 104B4C 802E32CC 3C014040 */ lui $at, 0x4040
|
||||
/* 104B50 802E32D0 44813000 */ mtc1 $at, $f6
|
||||
/* 104B54 802E32D4 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 104B58 802E32D8 46241081 */ sub.d $f2, $f2, $f4
|
||||
/* 104B5C 802E32DC 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 104B60 802E32E0 E6000054 */ swc1 $f0, 0x54($s0)
|
||||
/* 104B64 802E32E4 C6000058 */ lwc1 $f0, 0x58($s0)
|
||||
/* 104B68 802E32E8 3C01802F */ lui $at, 0x802f
|
||||
/* 104B6C 802E32EC D424B1D8 */ ldc1 $f4, -0x4e28($at)
|
||||
/* 104B70 802E32F0 080B8CCE */ j .L802E3338
|
||||
/* 104B74 802E32F4 46000021 */ cvt.d.s $f0, $f0
|
||||
|
||||
.L802E32F8:
|
||||
/* 104B78 802E32F8 C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 104B7C 802E32FC 3C01802F */ lui $at, 0x802f
|
||||
/* 104B80 802E3300 D424B1E0 */ ldc1 $f4, -0x4e20($at)
|
||||
/* 104B84 802E3304 C602005C */ lwc1 $f2, 0x5c($s0)
|
||||
/* 104B88 802E3308 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 104B8C 802E330C 46240001 */ sub.d $f0, $f0, $f4
|
||||
/* 104B90 802E3310 3C014040 */ lui $at, 0x4040
|
||||
/* 104B94 802E3314 44813000 */ mtc1 $at, $f6
|
||||
/* 104B98 802E3318 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 104B9C 802E331C 46241081 */ sub.d $f2, $f2, $f4
|
||||
/* 104BA0 802E3320 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 104BA4 802E3324 E6000054 */ swc1 $f0, 0x54($s0)
|
||||
/* 104BA8 802E3328 C6000058 */ lwc1 $f0, 0x58($s0)
|
||||
/* 104BAC 802E332C 3C01802F */ lui $at, 0x802f
|
||||
/* 104BB0 802E3330 D424B1E8 */ ldc1 $f4, -0x4e18($at)
|
||||
/* 104BB4 802E3334 46000021 */ cvt.d.s $f0, $f0
|
||||
.L802E3338:
|
||||
/* 104BB8 802E3338 46240000 */ add.d $f0, $f0, $f4
|
||||
/* 104BBC 802E333C C604004C */ lwc1 $f4, 0x4c($s0)
|
||||
/* 104BC0 802E3340 462010A0 */ cvt.s.d $f2, $f2
|
||||
/* 104BC4 802E3344 E602005C */ swc1 $f2, 0x5c($s0)
|
||||
/* 104BC8 802E3348 46062101 */ sub.s $f4, $f4, $f6
|
||||
/* 104BCC 802E334C 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 104BD0 802E3350 E6000058 */ swc1 $f0, 0x58($s0)
|
||||
/* 104BD4 802E3354 E604004C */ swc1 $f4, 0x4c($s0)
|
||||
/* 104BD8 802E3358 0C0B8D94 */ jal func_802E3650
|
||||
/* 104BDC 802E335C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 104BE0 802E3360 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 104BE4 802E3364 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 104BE8 802E3368 03E00008 */ jr $ra
|
||||
/* 104BEC 802E336C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
212
papermario/asm/nonmatchings/code_104940_len_dc0/func_802E3370.s
Normal file
212
papermario/asm/nonmatchings/code_104940_len_dc0/func_802E3370.s
Normal file
@ -0,0 +1,212 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E3370
|
||||
/* 104BF0 802E3370 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 104BF4 802E3374 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104BF8 802E3378 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 104BFC 802E337C 3C058011 */ lui $a1, 0x8011
|
||||
/* 104C00 802E3380 24A5EFC8 */ addiu $a1, $a1, -0x1038
|
||||
/* 104C04 802E3384 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 104C08 802E3388 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 104C0C 802E338C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 104C10 802E3390 9202000B */ lbu $v0, 0xb($s0)
|
||||
/* 104C14 802E3394 8E110040 */ lw $s1, 0x40($s0)
|
||||
/* 104C18 802E3398 2C4200FF */ sltiu $v0, $v0, 0xff
|
||||
/* 104C1C 802E339C 10400003 */ beqz $v0, .L802E33AC
|
||||
/* 104C20 802E33A0 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* 104C24 802E33A4 080B8D29 */ j .L802E34A4
|
||||
/* 104C28 802E33A8 3C03FFDF */ lui $v1, 0xffdf
|
||||
|
||||
.L802E33AC:
|
||||
/* 104C2C 802E33AC 8624000E */ lh $a0, 0xe($s1)
|
||||
/* 104C30 802E33B0 9623000E */ lhu $v1, 0xe($s1)
|
||||
/* 104C34 802E33B4 30828000 */ andi $v0, $a0, 0x8000
|
||||
/* 104C38 802E33B8 1440003F */ bnez $v0, .L802E34B8
|
||||
/* 104C3C 802E33BC 28820096 */ slti $v0, $a0, 0x96
|
||||
/* 104C40 802E33C0 1440009C */ bnez $v0, .L802E3634
|
||||
/* 104C44 802E33C4 24620001 */ addiu $v0, $v1, 1
|
||||
/* 104C48 802E33C8 C6220014 */ lwc1 $f2, 0x14($s1)
|
||||
/* 104C4C 802E33CC 3C0141C8 */ lui $at, 0x41c8
|
||||
/* 104C50 802E33D0 44810000 */ mtc1 $at, $f0
|
||||
/* 104C54 802E33D4 00000000 */ nop
|
||||
/* 104C58 802E33D8 46001001 */ sub.s $f0, $f2, $f0
|
||||
/* 104C5C 802E33DC C604004C */ lwc1 $f4, 0x4c($s0)
|
||||
/* 104C60 802E33E0 4600203C */ c.lt.s $f4, $f0
|
||||
/* 104C64 802E33E4 00000000 */ nop
|
||||
/* 104C68 802E33E8 4502000A */ bc1fl .L802E3414
|
||||
/* 104C6C 802E33EC 46041081 */ sub.s $f2, $f2, $f4
|
||||
/* 104C70 802E33F0 46022001 */ sub.s $f0, $f4, $f2
|
||||
/* 104C74 802E33F4 3C014248 */ lui $at, 0x4248
|
||||
/* 104C78 802E33F8 44811000 */ mtc1 $at, $f2
|
||||
/* 104C7C 802E33FC 00000000 */ nop
|
||||
/* 104C80 802E3400 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 104C84 802E3404 3C013E00 */ lui $at, 0x3e00
|
||||
/* 104C88 802E3408 44811000 */ mtc1 $at, $f2
|
||||
/* 104C8C 802E340C 080B8D08 */ j .L802E3420
|
||||
/* 104C90 802E3410 00000000 */ nop
|
||||
|
||||
.L802E3414:
|
||||
/* 104C94 802E3414 3C013E00 */ lui $at, 0x3e00
|
||||
/* 104C98 802E3418 44810000 */ mtc1 $at, $f0
|
||||
/* 104C9C 802E341C 00000000 */ nop
|
||||
.L802E3420:
|
||||
/* 104CA0 802E3420 46001102 */ mul.s $f4, $f2, $f0
|
||||
/* 104CA4 802E3424 00000000 */ nop
|
||||
/* 104CA8 802E3428 3C01802F */ lui $at, 0x802f
|
||||
/* 104CAC 802E342C D422B1F0 */ ldc1 $f2, -0x4e10($at)
|
||||
/* 104CB0 802E3430 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 104CB4 802E3434 4620103C */ c.lt.d $f2, $f0
|
||||
/* 104CB8 802E3438 00000000 */ nop
|
||||
/* 104CBC 802E343C 45000004 */ bc1f .L802E3450
|
||||
/* 104CC0 802E3440 00000000 */ nop
|
||||
/* 104CC4 802E3444 3C013F99 */ lui $at, 0x3f99
|
||||
/* 104CC8 802E3448 3421999A */ ori $at, $at, 0x999a
|
||||
/* 104CCC 802E344C 44812000 */ mtc1 $at, $f4
|
||||
.L802E3450:
|
||||
/* 104CD0 802E3450 3C01802F */ lui $at, 0x802f
|
||||
/* 104CD4 802E3454 D422B1F8 */ ldc1 $f2, -0x4e08($at)
|
||||
/* 104CD8 802E3458 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 104CDC 802E345C 4622003C */ c.lt.d $f0, $f2
|
||||
/* 104CE0 802E3460 00000000 */ nop
|
||||
/* 104CE4 802E3464 45000004 */ bc1f .L802E3478
|
||||
/* 104CE8 802E3468 00000000 */ nop
|
||||
/* 104CEC 802E346C 3C013E99 */ lui $at, 0x3e99
|
||||
/* 104CF0 802E3470 3421999A */ ori $at, $at, 0x999a
|
||||
/* 104CF4 802E3474 44812000 */ mtc1 $at, $f4
|
||||
.L802E3478:
|
||||
/* 104CF8 802E3478 C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104CFC 802E347C 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 104D00 802E3480 E600004C */ swc1 $f0, 0x4c($s0)
|
||||
/* 104D04 802E3484 C6220014 */ lwc1 $f2, 0x14($s1)
|
||||
/* 104D08 802E3488 4600103C */ c.lt.s $f2, $f0
|
||||
/* 104D0C 802E348C 00000000 */ nop
|
||||
/* 104D10 802E3490 45000069 */ bc1f .L802E3638
|
||||
/* 104D14 802E3494 3C03FFDF */ lui $v1, 0xffdf
|
||||
/* 104D18 802E3498 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 104D1C 802E349C E602004C */ swc1 $f2, 0x4c($s0)
|
||||
/* 104D20 802E34A0 A622000E */ sh $v0, 0xe($s1)
|
||||
.L802E34A4:
|
||||
/* 104D24 802E34A4 8E020000 */ lw $v0, ($s0)
|
||||
/* 104D28 802E34A8 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 104D2C 802E34AC 00431024 */ and $v0, $v0, $v1
|
||||
/* 104D30 802E34B0 080B8D8E */ j .L802E3638
|
||||
/* 104D34 802E34B4 AE020000 */ sw $v0, ($s0)
|
||||
|
||||
.L802E34B8:
|
||||
/* 104D38 802E34B8 92020006 */ lbu $v0, 6($s0)
|
||||
/* 104D3C 802E34BC 30420004 */ andi $v0, $v0, 4
|
||||
/* 104D40 802E34C0 10400014 */ beqz $v0, .L802E3514
|
||||
/* 104D44 802E34C4 00000000 */ nop
|
||||
/* 104D48 802E34C8 8CA20000 */ lw $v0, ($a1)
|
||||
/* 104D4C 802E34CC 30420002 */ andi $v0, $v0, 2
|
||||
/* 104D50 802E34D0 14400058 */ bnez $v0, .L802E3634
|
||||
/* 104D54 802E34D4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 104D58 802E34D8 86040016 */ lh $a0, 0x16($s0)
|
||||
/* 104D5C 802E34DC 0C044181 */ jal get_shadow_by_index
|
||||
/* 104D60 802E34E0 00000000 */ nop
|
||||
/* 104D64 802E34E4 10400017 */ beqz $v0, .L802E3544
|
||||
/* 104D68 802E34E8 00000000 */ nop
|
||||
/* 104D6C 802E34EC C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104D70 802E34F0 C4420014 */ lwc1 $f2, 0x14($v0)
|
||||
/* 104D74 802E34F4 46020081 */ sub.s $f2, $f0, $f2
|
||||
/* 104D78 802E34F8 864200B0 */ lh $v0, 0xb0($s2)
|
||||
/* 104D7C 802E34FC 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 104D80 802E3500 24420001 */ addiu $v0, $v0, 1
|
||||
/* 104D84 802E3504 44821000 */ mtc1 $v0, $f2
|
||||
/* 104D88 802E3508 00000000 */ nop
|
||||
/* 104D8C 802E350C 080B8D4B */ j .L802E352C
|
||||
/* 104D90 802E3510 468010A0 */ cvt.s.w $f2, $f2
|
||||
|
||||
.L802E3514:
|
||||
/* 104D94 802E3514 0C044181 */ jal get_shadow_by_index
|
||||
/* 104D98 802E3518 86040016 */ lh $a0, 0x16($s0)
|
||||
/* 104D9C 802E351C 10400009 */ beqz $v0, .L802E3544
|
||||
/* 104DA0 802E3520 00000000 */ nop
|
||||
/* 104DA4 802E3524 C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104DA8 802E3528 C4420014 */ lwc1 $f2, 0x14($v0)
|
||||
.L802E352C:
|
||||
/* 104DAC 802E352C 4602003E */ c.le.s $f0, $f2
|
||||
/* 104DB0 802E3530 00000000 */ nop
|
||||
/* 104DB4 802E3534 45000003 */ bc1f .L802E3544
|
||||
/* 104DB8 802E3538 24020001 */ addiu $v0, $zero, 1
|
||||
/* 104DBC 802E353C E602004C */ swc1 $f2, 0x4c($s0)
|
||||
/* 104DC0 802E3540 A622000E */ sh $v0, 0xe($s1)
|
||||
.L802E3544:
|
||||
/* 104DC4 802E3544 92020006 */ lbu $v0, 6($s0)
|
||||
/* 104DC8 802E3548 30420004 */ andi $v0, $v0, 4
|
||||
/* 104DCC 802E354C 14400039 */ bnez $v0, .L802E3634
|
||||
/* 104DD0 802E3550 24020001 */ addiu $v0, $zero, 1
|
||||
/* 104DD4 802E3554 C6220014 */ lwc1 $f2, 0x14($s1)
|
||||
/* 104DD8 802E3558 3C0141C8 */ lui $at, 0x41c8
|
||||
/* 104DDC 802E355C 44810000 */ mtc1 $at, $f0
|
||||
/* 104DE0 802E3560 00000000 */ nop
|
||||
/* 104DE4 802E3564 46001001 */ sub.s $f0, $f2, $f0
|
||||
/* 104DE8 802E3568 C604004C */ lwc1 $f4, 0x4c($s0)
|
||||
/* 104DEC 802E356C 4600203C */ c.lt.s $f4, $f0
|
||||
/* 104DF0 802E3570 00000000 */ nop
|
||||
/* 104DF4 802E3574 4502000A */ bc1fl .L802E35A0
|
||||
/* 104DF8 802E3578 46041081 */ sub.s $f2, $f2, $f4
|
||||
/* 104DFC 802E357C 46022001 */ sub.s $f0, $f4, $f2
|
||||
/* 104E00 802E3580 3C014248 */ lui $at, 0x4248
|
||||
/* 104E04 802E3584 44811000 */ mtc1 $at, $f2
|
||||
/* 104E08 802E3588 00000000 */ nop
|
||||
/* 104E0C 802E358C 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 104E10 802E3590 3C013E00 */ lui $at, 0x3e00
|
||||
/* 104E14 802E3594 44811000 */ mtc1 $at, $f2
|
||||
/* 104E18 802E3598 080B8D6B */ j .L802E35AC
|
||||
/* 104E1C 802E359C 00000000 */ nop
|
||||
|
||||
.L802E35A0:
|
||||
/* 104E20 802E35A0 3C013E00 */ lui $at, 0x3e00
|
||||
/* 104E24 802E35A4 44810000 */ mtc1 $at, $f0
|
||||
/* 104E28 802E35A8 00000000 */ nop
|
||||
.L802E35AC:
|
||||
/* 104E2C 802E35AC 46001102 */ mul.s $f4, $f2, $f0
|
||||
/* 104E30 802E35B0 00000000 */ nop
|
||||
/* 104E34 802E35B4 3C01802F */ lui $at, 0x802f
|
||||
/* 104E38 802E35B8 D422B200 */ ldc1 $f2, -0x4e00($at)
|
||||
/* 104E3C 802E35BC 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 104E40 802E35C0 4620103C */ c.lt.d $f2, $f0
|
||||
/* 104E44 802E35C4 00000000 */ nop
|
||||
/* 104E48 802E35C8 45000004 */ bc1f .L802E35DC
|
||||
/* 104E4C 802E35CC 00000000 */ nop
|
||||
/* 104E50 802E35D0 3C013F99 */ lui $at, 0x3f99
|
||||
/* 104E54 802E35D4 3421999A */ ori $at, $at, 0x999a
|
||||
/* 104E58 802E35D8 44812000 */ mtc1 $at, $f4
|
||||
.L802E35DC:
|
||||
/* 104E5C 802E35DC 3C01802F */ lui $at, 0x802f
|
||||
/* 104E60 802E35E0 D422B208 */ ldc1 $f2, -0x4df8($at)
|
||||
/* 104E64 802E35E4 46002021 */ cvt.d.s $f0, $f4
|
||||
/* 104E68 802E35E8 4622003C */ c.lt.d $f0, $f2
|
||||
/* 104E6C 802E35EC 00000000 */ nop
|
||||
/* 104E70 802E35F0 45000004 */ bc1f .L802E3604
|
||||
/* 104E74 802E35F4 00000000 */ nop
|
||||
/* 104E78 802E35F8 3C013E99 */ lui $at, 0x3e99
|
||||
/* 104E7C 802E35FC 3421999A */ ori $at, $at, 0x999a
|
||||
/* 104E80 802E3600 44812000 */ mtc1 $at, $f4
|
||||
.L802E3604:
|
||||
/* 104E84 802E3604 C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104E88 802E3608 46040001 */ sub.s $f0, $f0, $f4
|
||||
/* 104E8C 802E360C 3C014248 */ lui $at, 0x4248
|
||||
/* 104E90 802E3610 44811000 */ mtc1 $at, $f2
|
||||
/* 104E94 802E3614 E600004C */ swc1 $f0, 0x4c($s0)
|
||||
/* 104E98 802E3618 C6240014 */ lwc1 $f4, 0x14($s1)
|
||||
/* 104E9C 802E361C 46022101 */ sub.s $f4, $f4, $f2
|
||||
/* 104EA0 802E3620 4604003C */ c.lt.s $f0, $f4
|
||||
/* 104EA4 802E3624 00000000 */ nop
|
||||
/* 104EA8 802E3628 45000003 */ bc1f .L802E3638
|
||||
/* 104EAC 802E362C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 104EB0 802E3630 E604004C */ swc1 $f4, 0x4c($s0)
|
||||
.L802E3634:
|
||||
/* 104EB4 802E3634 A622000E */ sh $v0, 0xe($s1)
|
||||
.L802E3638:
|
||||
/* 104EB8 802E3638 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 104EBC 802E363C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 104EC0 802E3640 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 104EC4 802E3644 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 104EC8 802E3648 03E00008 */ jr $ra
|
||||
/* 104ECC 802E364C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -0,0 +1,46 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E3650
|
||||
/* 104ED0 802E3650 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 104ED4 802E3654 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104ED8 802E3658 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 104EDC 802E365C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 104EE0 802E3660 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 104EE4 802E3664 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 104EE8 802E3668 8E110040 */ lw $s1, 0x40($s0)
|
||||
/* 104EEC 802E366C 0C044AC8 */ jal func_80112B20
|
||||
/* 104EF0 802E3670 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 104EF4 802E3674 10400014 */ beqz $v0, .L802E36C8
|
||||
/* 104EF8 802E3678 3C030020 */ lui $v1, 0x20
|
||||
/* 104EFC 802E367C 8E020000 */ lw $v0, ($s0)
|
||||
/* 104F00 802E3680 00431024 */ and $v0, $v0, $v1
|
||||
/* 104F04 802E3684 10400011 */ beqz $v0, .L802E36CC
|
||||
/* 104F08 802E3688 0240102D */ daddu $v0, $s2, $zero
|
||||
/* 104F0C 802E368C 24120001 */ addiu $s2, $zero, 1
|
||||
/* 104F10 802E3690 0C0B8CDC */ jal func_802E3370
|
||||
/* 104F14 802E3694 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 104F18 802E3698 86240010 */ lh $a0, 0x10($s1)
|
||||
/* 104F1C 802E369C 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 104F20 802E36A0 1082000A */ beq $a0, $v0, .L802E36CC
|
||||
/* 104F24 802E36A4 0240102D */ daddu $v0, $s2, $zero
|
||||
/* 104F28 802E36A8 0C04C3D6 */ jal get_item_entity
|
||||
/* 104F2C 802E36AC 00000000 */ nop
|
||||
/* 104F30 802E36B0 C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 104F34 802E36B4 3C014080 */ lui $at, 0x4080
|
||||
/* 104F38 802E36B8 44811000 */ mtc1 $at, $f2
|
||||
/* 104F3C 802E36BC 00000000 */ nop
|
||||
/* 104F40 802E36C0 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 104F44 802E36C4 E440000C */ swc1 $f0, 0xc($v0)
|
||||
.L802E36C8:
|
||||
/* 104F48 802E36C8 0240102D */ daddu $v0, $s2, $zero
|
||||
.L802E36CC:
|
||||
/* 104F4C 802E36CC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 104F50 802E36D0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 104F54 802E36D4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 104F58 802E36D8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 104F5C 802E36DC 03E00008 */ jr $ra
|
||||
/* 104F60 802E36E0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
219
papermario/asm/nonmatchings/code_104940_len_dc0/func_802E36E4.s
Normal file
219
papermario/asm/nonmatchings/code_104940_len_dc0/func_802E36E4.s
Normal file
@ -0,0 +1,219 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E36E4
|
||||
/* 104F64 802E36E4 8C820040 */ lw $v0, 0x40($a0)
|
||||
/* 104F68 802E36E8 2403FFFF */ addiu $v1, $zero, -1
|
||||
/* 104F6C 802E36EC A4430010 */ sh $v1, 0x10($v0)
|
||||
/* 104F70 802E36F0 C480004C */ lwc1 $f0, 0x4c($a0)
|
||||
/* 104F74 802E36F4 3C05FFDF */ lui $a1, 0xffdf
|
||||
/* 104F78 802E36F8 A443000E */ sh $v1, 0xe($v0)
|
||||
/* 104F7C 802E36FC E4400014 */ swc1 $f0, 0x14($v0)
|
||||
/* 104F80 802E3700 8C820000 */ lw $v0, ($a0)
|
||||
/* 104F84 802E3704 34A5FFFF */ ori $a1, $a1, 0xffff
|
||||
/* 104F88 802E3708 00451024 */ and $v0, $v0, $a1
|
||||
/* 104F8C 802E370C 03E00008 */ jr $ra
|
||||
/* 104F90 802E3710 AC820000 */ sw $v0, ($a0)
|
||||
|
||||
/* 104F94 802E3714 8C820040 */ lw $v0, 0x40($a0)
|
||||
/* 104F98 802E3718 3C0142B4 */ lui $at, 0x42b4
|
||||
/* 104F9C 802E371C 44810000 */ mtc1 $at, $f0
|
||||
/* 104FA0 802E3720 03E00008 */ jr $ra
|
||||
/* 104FA4 802E3724 E4400018 */ swc1 $f0, 0x18($v0)
|
||||
|
||||
/* 104FA8 802E3728 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 104FAC 802E372C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 104FB0 802E3730 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 104FB4 802E3734 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 104FB8 802E3738 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104FBC 802E373C F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 104FC0 802E3740 0C0B8E80 */ jal func_802E3A00
|
||||
/* 104FC4 802E3744 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 104FC8 802E3748 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 104FCC 802E374C 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 104FD0 802E3750 44810000 */ mtc1 $at, $f0
|
||||
/* 104FD4 802E3754 C60C0018 */ lwc1 $f12, 0x18($s0)
|
||||
/* 104FD8 802E3758 46006302 */ mul.s $f12, $f12, $f0
|
||||
/* 104FDC 802E375C 00000000 */ nop
|
||||
/* 104FE0 802E3760 C634004C */ lwc1 $f20, 0x4c($s1)
|
||||
/* 104FE4 802E3764 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 104FE8 802E3768 44810000 */ mtc1 $at, $f0
|
||||
/* 104FEC 802E376C 4600A521 */ cvt.d.s $f20, $f20
|
||||
/* 104FF0 802E3770 0C00A85B */ jal sin_rad
|
||||
/* 104FF4 802E3774 46006303 */ div.s $f12, $f12, $f0
|
||||
/* 104FF8 802E3778 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 104FFC 802E377C 46200000 */ add.d $f0, $f0, $f0
|
||||
/* 105000 802E3780 4620A500 */ add.d $f20, $f20, $f0
|
||||
/* 105004 802E3784 3C014270 */ lui $at, 0x4270
|
||||
/* 105008 802E3788 44810000 */ mtc1 $at, $f0
|
||||
/* 10500C 802E378C 4620A520 */ cvt.s.d $f20, $f20
|
||||
/* 105010 802E3790 E634004C */ swc1 $f20, 0x4c($s1)
|
||||
/* 105014 802E3794 C6020018 */ lwc1 $f2, 0x18($s0)
|
||||
/* 105018 802E3798 46001300 */ add.s $f12, $f2, $f0
|
||||
/* 10501C 802E379C 3C0143E1 */ lui $at, 0x43e1
|
||||
/* 105020 802E37A0 44810000 */ mtc1 $at, $f0
|
||||
/* 105024 802E37A4 00000000 */ nop
|
||||
/* 105028 802E37A8 460C003C */ c.lt.s $f0, $f12
|
||||
/* 10502C 802E37AC 00000000 */ nop
|
||||
/* 105030 802E37B0 45000006 */ bc1f .L802E37CC
|
||||
/* 105034 802E37B4 E60C0018 */ swc1 $f12, 0x18($s0)
|
||||
/* 105038 802E37B8 0C00A6C9 */ jal clamp_angle
|
||||
/* 10503C 802E37BC 00000000 */ nop
|
||||
/* 105040 802E37C0 E6000018 */ swc1 $f0, 0x18($s0)
|
||||
/* 105044 802E37C4 0C043F5A */ jal func_8010FD68
|
||||
/* 105048 802E37C8 0220202D */ daddu $a0, $s1, $zero
|
||||
.L802E37CC:
|
||||
/* 10504C 802E37CC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 105050 802E37D0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 105054 802E37D4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 105058 802E37D8 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 10505C 802E37DC 03E00008 */ jr $ra
|
||||
/* 105060 802E37E0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 105064 802E37E4 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 105068 802E37E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 10506C 802E37EC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 105070 802E37F0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 105074 802E37F4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105078 802E37F8 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 10507C 802E37FC F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 105080 802E3800 0C0B8E80 */ jal func_802E3A00
|
||||
/* 105084 802E3804 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 105088 802E3808 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 10508C 802E380C 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 105090 802E3810 44810000 */ mtc1 $at, $f0
|
||||
/* 105094 802E3814 C60C0018 */ lwc1 $f12, 0x18($s0)
|
||||
/* 105098 802E3818 46006302 */ mul.s $f12, $f12, $f0
|
||||
/* 10509C 802E381C 00000000 */ nop
|
||||
/* 1050A0 802E3820 C634004C */ lwc1 $f20, 0x4c($s1)
|
||||
/* 1050A4 802E3824 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 1050A8 802E3828 4481B000 */ mtc1 $at, $f22
|
||||
/* 1050AC 802E382C 4600A521 */ cvt.d.s $f20, $f20
|
||||
/* 1050B0 802E3830 0C00A85B */ jal sin_rad
|
||||
/* 1050B4 802E3834 46166303 */ div.s $f12, $f12, $f22
|
||||
/* 1050B8 802E3838 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 1050BC 802E383C 4620A500 */ add.d $f20, $f20, $f0
|
||||
/* 1050C0 802E3840 3C014270 */ lui $at, 0x4270
|
||||
/* 1050C4 802E3844 44811000 */ mtc1 $at, $f2
|
||||
/* 1050C8 802E3848 4620A520 */ cvt.s.d $f20, $f20
|
||||
/* 1050CC 802E384C E634004C */ swc1 $f20, 0x4c($s1)
|
||||
/* 1050D0 802E3850 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 1050D4 802E3854 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 1050D8 802E3858 4600B03E */ c.le.s $f22, $f0
|
||||
/* 1050DC 802E385C 00000000 */ nop
|
||||
/* 1050E0 802E3860 45000006 */ bc1f .L802E387C
|
||||
/* 1050E4 802E3864 E6000018 */ swc1 $f0, 0x18($s0)
|
||||
/* 1050E8 802E3868 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 1050EC 802E386C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1050F0 802E3870 AE000018 */ sw $zero, 0x18($s0)
|
||||
/* 1050F4 802E3874 0C043F5A */ jal func_8010FD68
|
||||
/* 1050F8 802E3878 E480004C */ swc1 $f0, 0x4c($a0)
|
||||
.L802E387C:
|
||||
/* 1050FC 802E387C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 105100 802E3880 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 105104 802E3884 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 105108 802E3888 D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 10510C 802E388C D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 105110 802E3890 03E00008 */ jr $ra
|
||||
/* 105114 802E3894 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
/* 105118 802E3898 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 10511C 802E389C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105120 802E38A0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 105124 802E38A4 0C0B8DB9 */ jal func_802E36E4
|
||||
/* 105128 802E38A8 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 10512C 802E38AC 8E030040 */ lw $v1, 0x40($s0)
|
||||
/* 105130 802E38B0 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 105134 802E38B4 A4620004 */ sh $v0, 4($v1)
|
||||
/* 105138 802E38B8 2402007B */ addiu $v0, $zero, 0x7b
|
||||
/* 10513C 802E38BC A4620006 */ sh $v0, 6($v1)
|
||||
/* 105140 802E38C0 3402FFFF */ ori $v0, $zero, 0xffff
|
||||
/* 105144 802E38C4 A462000A */ sh $v0, 0xa($v1)
|
||||
/* 105148 802E38C8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 10514C 802E38CC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 105150 802E38D0 03E00008 */ jr $ra
|
||||
/* 105154 802E38D4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 105158 802E38D8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 10515C 802E38DC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 105160 802E38E0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 105164 802E38E4 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 105168 802E38E8 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 10516C 802E38EC 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 105170 802E38F0 86030004 */ lh $v1, 4($s0)
|
||||
/* 105174 802E38F4 18600018 */ blez $v1, .L802E3958
|
||||
/* 105178 802E38F8 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 10517C 802E38FC 14620004 */ bne $v1, $v0, .L802E3910
|
||||
/* 105180 802E3900 24030014 */ addiu $v1, $zero, 0x14
|
||||
/* 105184 802E3904 9602000A */ lhu $v0, 0xa($s0)
|
||||
/* 105188 802E3908 080B8E45 */ j .L802E3914
|
||||
/* 10518C 802E390C 24030015 */ addiu $v1, $zero, 0x15
|
||||
|
||||
.L802E3910:
|
||||
/* 105190 802E3910 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802E3914:
|
||||
/* 105194 802E3914 C620004C */ lwc1 $f0, 0x4c($s1)
|
||||
/* 105198 802E3918 3C01403C */ lui $at, 0x403c
|
||||
/* 10519C 802E391C 44811800 */ mtc1 $at, $f3
|
||||
/* 1051A0 802E3920 44801000 */ mtc1 $zero, $f2
|
||||
/* 1051A4 802E3924 AFA30010 */ sw $v1, 0x10($sp)
|
||||
/* 1051A8 802E3928 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 1051AC 802E392C 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 1051B0 802E3930 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 1051B4 802E3934 8E250048 */ lw $a1, 0x48($s1)
|
||||
/* 1051B8 802E3938 8E270050 */ lw $a3, 0x50($s1)
|
||||
/* 1051BC 802E393C 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 1051C0 802E3940 44060000 */ mfc1 $a2, $f0
|
||||
/* 1051C4 802E3944 0C04C6A5 */ jal make_item_entity_nodelay
|
||||
/* 1051C8 802E3948 24040157 */ addiu $a0, $zero, 0x157
|
||||
/* 1051CC 802E394C 96020004 */ lhu $v0, 4($s0)
|
||||
/* 1051D0 802E3950 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 1051D4 802E3954 A6020004 */ sh $v0, 4($s0)
|
||||
.L802E3958:
|
||||
/* 1051D8 802E3958 86020004 */ lh $v0, 4($s0)
|
||||
/* 1051DC 802E395C 10400004 */ beqz $v0, .L802E3970
|
||||
/* 1051E0 802E3960 00000000 */ nop
|
||||
/* 1051E4 802E3964 86020006 */ lh $v0, 6($s0)
|
||||
/* 1051E8 802E3968 14400020 */ bnez $v0, .L802E39EC
|
||||
/* 1051EC 802E396C 00000000 */ nop
|
||||
.L802E3970:
|
||||
/* 1051F0 802E3970 3C04802F */ lui $a0, 0x802f
|
||||
/* 1051F4 802E3974 2484A07C */ addiu $a0, $a0, -0x5f84
|
||||
/* 1051F8 802E3978 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1051FC 802E397C A2020003 */ sb $v0, 3($s0)
|
||||
/* 105200 802E3980 C6220048 */ lwc1 $f2, 0x48($s1)
|
||||
/* 105204 802E3984 C624004C */ lwc1 $f4, 0x4c($s1)
|
||||
/* 105208 802E3988 C6260050 */ lwc1 $f6, 0x50($s1)
|
||||
/* 10520C 802E398C C6200064 */ lwc1 $f0, 0x64($s1)
|
||||
/* 105210 802E3990 3C028000 */ lui $v0, 0x8000
|
||||
/* 105214 802E3994 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 105218 802E3998 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 10521C 802E399C E7A80010 */ swc1 $f8, 0x10($sp)
|
||||
/* 105220 802E39A0 4600120D */ trunc.w.s $f8, $f2
|
||||
/* 105224 802E39A4 44054000 */ mfc1 $a1, $f8
|
||||
/* 105228 802E39A8 4600220D */ trunc.w.s $f8, $f4
|
||||
/* 10522C 802E39AC 44064000 */ mfc1 $a2, $f8
|
||||
/* 105230 802E39B0 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 105234 802E39B4 44074000 */ mfc1 $a3, $f8
|
||||
/* 105238 802E39B8 0C044631 */ jal create_entity
|
||||
/* 10523C 802E39BC 00000000 */ nop
|
||||
/* 105240 802E39C0 0C04417A */ jal get_entity_by_index
|
||||
/* 105244 802E39C4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 105248 802E39C8 3C05802F */ lui $a1, 0x802f
|
||||
/* 10524C 802E39CC 24A59E54 */ addiu $a1, $a1, -0x61ac
|
||||
/* 105250 802E39D0 0C043EF0 */ jal func_8010FBC0
|
||||
/* 105254 802E39D4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 105258 802E39D8 3C032000 */ lui $v1, 0x2000
|
||||
/* 10525C 802E39DC 8E220000 */ lw $v0, ($s1)
|
||||
/* 105260 802E39E0 34630020 */ ori $v1, $v1, 0x20
|
||||
/* 105264 802E39E4 00431025 */ or $v0, $v0, $v1
|
||||
/* 105268 802E39E8 AE220000 */ sw $v0, ($s1)
|
||||
.L802E39EC:
|
||||
/* 10526C 802E39EC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 105270 802E39F0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 105274 802E39F4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 105278 802E39F8 03E00008 */ jr $ra
|
||||
/* 10527C 802E39FC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
332
papermario/asm/nonmatchings/code_104940_len_dc0/func_802E3A00.s
Normal file
332
papermario/asm/nonmatchings/code_104940_len_dc0/func_802E3A00.s
Normal file
@ -0,0 +1,332 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E3A00
|
||||
/* 105280 802E3A00 2403000E */ addiu $v1, $zero, 0xe
|
||||
/* 105284 802E3A04 9082000A */ lbu $v0, 0xa($a0)
|
||||
/* 105288 802E3A08 8C840040 */ lw $a0, 0x40($a0)
|
||||
/* 10528C 802E3A0C 1443000C */ bne $v0, $v1, .L802E3A40
|
||||
/* 105290 802E3A10 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 105294 802E3A14 84830004 */ lh $v1, 4($a0)
|
||||
/* 105298 802E3A18 10620009 */ beq $v1, $v0, .L802E3A40
|
||||
/* 10529C 802E3A1C 00000000 */ nop
|
||||
/* 1052A0 802E3A20 94820006 */ lhu $v0, 6($a0)
|
||||
/* 1052A4 802E3A24 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 1052A8 802E3A28 A4820006 */ sh $v0, 6($a0)
|
||||
/* 1052AC 802E3A2C 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 1052B0 802E3A30 04410003 */ bgez $v0, .L802E3A40
|
||||
/* 1052B4 802E3A34 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1052B8 802E3A38 A4800006 */ sh $zero, 6($a0)
|
||||
/* 1052BC 802E3A3C A4820004 */ sh $v0, 4($a0)
|
||||
.L802E3A40:
|
||||
/* 1052C0 802E3A40 03E00008 */ jr $ra
|
||||
/* 1052C4 802E3A44 00000000 */ nop
|
||||
|
||||
/* 1052C8 802E3A48 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 1052CC 802E3A4C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 1052D0 802E3A50 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 1052D4 802E3A54 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 1052D8 802E3A58 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 1052DC 802E3A5C 92020006 */ lbu $v0, 6($s0)
|
||||
/* 1052E0 802E3A60 8E110040 */ lw $s1, 0x40($s0)
|
||||
/* 1052E4 802E3A64 30420080 */ andi $v0, $v0, 0x80
|
||||
/* 1052E8 802E3A68 10400005 */ beqz $v0, .L802E3A80
|
||||
/* 1052EC 802E3A6C 00000000 */ nop
|
||||
/* 1052F0 802E3A70 0C043F5A */ jal func_8010FD68
|
||||
/* 1052F4 802E3A74 00000000 */ nop
|
||||
/* 1052F8 802E3A78 080B8EBD */ j .L802E3AF4
|
||||
/* 1052FC 802E3A7C 00000000 */ nop
|
||||
|
||||
.L802E3A80:
|
||||
/* 105300 802E3A80 0C0B8E80 */ jal func_802E3A00
|
||||
/* 105304 802E3A84 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 105308 802E3A88 0C0B8D94 */ jal func_802E3650
|
||||
/* 10530C 802E3A8C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 105310 802E3A90 82220003 */ lb $v0, 3($s1)
|
||||
/* 105314 802E3A94 10400017 */ beqz $v0, .L802E3AF4
|
||||
/* 105318 802E3A98 3C028000 */ lui $v0, 0x8000
|
||||
/* 10531C 802E3A9C 3C04802F */ lui $a0, 0x802f
|
||||
/* 105320 802E3AA0 2484A07C */ addiu $a0, $a0, -0x5f84
|
||||
/* 105324 802E3AA4 C6020048 */ lwc1 $f2, 0x48($s0)
|
||||
/* 105328 802E3AA8 C604004C */ lwc1 $f4, 0x4c($s0)
|
||||
/* 10532C 802E3AAC C6060050 */ lwc1 $f6, 0x50($s0)
|
||||
/* 105330 802E3AB0 C6000064 */ lwc1 $f0, 0x64($s0)
|
||||
/* 105334 802E3AB4 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 105338 802E3AB8 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 10533C 802E3ABC E7A80010 */ swc1 $f8, 0x10($sp)
|
||||
/* 105340 802E3AC0 4600120D */ trunc.w.s $f8, $f2
|
||||
/* 105344 802E3AC4 44054000 */ mfc1 $a1, $f8
|
||||
/* 105348 802E3AC8 4600220D */ trunc.w.s $f8, $f4
|
||||
/* 10534C 802E3ACC 44064000 */ mfc1 $a2, $f8
|
||||
/* 105350 802E3AD0 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 105354 802E3AD4 44074000 */ mfc1 $a3, $f8
|
||||
/* 105358 802E3AD8 0C044631 */ jal create_entity
|
||||
/* 10535C 802E3ADC 00000000 */ nop
|
||||
/* 105360 802E3AE0 3C032000 */ lui $v1, 0x2000
|
||||
/* 105364 802E3AE4 8E020000 */ lw $v0, ($s0)
|
||||
/* 105368 802E3AE8 34630020 */ ori $v1, $v1, 0x20
|
||||
/* 10536C 802E3AEC 00431025 */ or $v0, $v0, $v1
|
||||
/* 105370 802E3AF0 AE020000 */ sw $v0, ($s0)
|
||||
.L802E3AF4:
|
||||
/* 105374 802E3AF4 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 105378 802E3AF8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 10537C 802E3AFC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 105380 802E3B00 03E00008 */ jr $ra
|
||||
/* 105384 802E3B04 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 105388 802E3B08 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 10538C 802E3B0C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 105390 802E3B10 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 105394 802E3B14 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 105398 802E3B18 8E040040 */ lw $a0, 0x40($s0)
|
||||
/* 10539C 802E3B1C 9483000A */ lhu $v1, 0xa($a0)
|
||||
/* 1053A0 802E3B20 3402FFFF */ ori $v0, $zero, 0xffff
|
||||
/* 1053A4 802E3B24 1062001B */ beq $v1, $v0, .L802E3B94
|
||||
/* 1053A8 802E3B28 00000000 */ nop
|
||||
/* 1053AC 802E3B2C 0C05152F */ jal get_global_flag
|
||||
/* 1053B0 802E3B30 0060202D */ daddu $a0, $v1, $zero
|
||||
/* 1053B4 802E3B34 10400017 */ beqz $v0, .L802E3B94
|
||||
/* 1053B8 802E3B38 3C028000 */ lui $v0, 0x8000
|
||||
/* 1053BC 802E3B3C 3C04802F */ lui $a0, 0x802f
|
||||
/* 1053C0 802E3B40 2484A07C */ addiu $a0, $a0, -0x5f84
|
||||
/* 1053C4 802E3B44 C6020048 */ lwc1 $f2, 0x48($s0)
|
||||
/* 1053C8 802E3B48 C604004C */ lwc1 $f4, 0x4c($s0)
|
||||
/* 1053CC 802E3B4C C6060050 */ lwc1 $f6, 0x50($s0)
|
||||
/* 1053D0 802E3B50 C6000064 */ lwc1 $f0, 0x64($s0)
|
||||
/* 1053D4 802E3B54 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 1053D8 802E3B58 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 1053DC 802E3B5C E7A80010 */ swc1 $f8, 0x10($sp)
|
||||
/* 1053E0 802E3B60 4600120D */ trunc.w.s $f8, $f2
|
||||
/* 1053E4 802E3B64 44054000 */ mfc1 $a1, $f8
|
||||
/* 1053E8 802E3B68 4600220D */ trunc.w.s $f8, $f4
|
||||
/* 1053EC 802E3B6C 44064000 */ mfc1 $a2, $f8
|
||||
/* 1053F0 802E3B70 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 1053F4 802E3B74 44074000 */ mfc1 $a3, $f8
|
||||
/* 1053F8 802E3B78 0C044631 */ jal create_entity
|
||||
/* 1053FC 802E3B7C 00000000 */ nop
|
||||
/* 105400 802E3B80 3C032000 */ lui $v1, 0x2000
|
||||
/* 105404 802E3B84 8E020000 */ lw $v0, ($s0)
|
||||
/* 105408 802E3B88 34630020 */ ori $v1, $v1, 0x20
|
||||
/* 10540C 802E3B8C 00431025 */ or $v0, $v0, $v1
|
||||
/* 105410 802E3B90 AE020000 */ sw $v0, ($s0)
|
||||
.L802E3B94:
|
||||
/* 105414 802E3B94 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 105418 802E3B98 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 10541C 802E3B9C 03E00008 */ jr $ra
|
||||
/* 105420 802E3BA0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 105424 802E3BA4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 105428 802E3BA8 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 10542C 802E3BAC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 105430 802E3BB0 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 105434 802E3BB4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 105438 802E3BB8 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 10543C 802E3BBC 9222000B */ lbu $v0, 0xb($s1)
|
||||
/* 105440 802E3BC0 3C128011 */ lui $s2, 0x8011
|
||||
/* 105444 802E3BC4 2652EFC8 */ addiu $s2, $s2, -0x1038
|
||||
/* 105448 802E3BC8 14400005 */ bnez $v0, .L802E3BE0
|
||||
/* 10544C 802E3BCC 00000000 */ nop
|
||||
/* 105450 802E3BD0 92220006 */ lbu $v0, 6($s1)
|
||||
/* 105454 802E3BD4 30420001 */ andi $v0, $v0, 1
|
||||
/* 105458 802E3BD8 14400083 */ bnez $v0, .L802E3DE8
|
||||
/* 10545C 802E3BDC 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802E3BE0:
|
||||
/* 105460 802E3BE0 92230006 */ lbu $v1, 6($s1)
|
||||
/* 105464 802E3BE4 30620004 */ andi $v0, $v1, 4
|
||||
/* 105468 802E3BE8 10400016 */ beqz $v0, .L802E3C44
|
||||
/* 10546C 802E3BEC 30620080 */ andi $v0, $v1, 0x80
|
||||
/* 105470 802E3BF0 92240004 */ lbu $a0, 4($s1)
|
||||
/* 105474 802E3BF4 0C0441A9 */ jal func_801106A4
|
||||
/* 105478 802E3BF8 00000000 */ nop
|
||||
/* 10547C 802E3BFC 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 105480 802E3C00 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 105484 802E3C04 10620019 */ beq $v1, $v0, .L802E3C6C
|
||||
/* 105488 802E3C08 0062102A */ slt $v0, $v1, $v0
|
||||
/* 10548C 802E3C0C 14400005 */ bnez $v0, .L802E3C24
|
||||
/* 105490 802E3C10 2862001B */ slti $v0, $v1, 0x1b
|
||||
/* 105494 802E3C14 10400003 */ beqz $v0, .L802E3C24
|
||||
/* 105498 802E3C18 28620015 */ slti $v0, $v1, 0x15
|
||||
/* 10549C 802E3C1C 10400072 */ beqz $v0, .L802E3DE8
|
||||
/* 1054A0 802E3C20 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802E3C24:
|
||||
/* 1054A4 802E3C24 8E420000 */ lw $v0, ($s2)
|
||||
/* 1054A8 802E3C28 30420002 */ andi $v0, $v0, 2
|
||||
/* 1054AC 802E3C2C 1040006E */ beqz $v0, .L802E3DE8
|
||||
/* 1054B0 802E3C30 24020001 */ addiu $v0, $zero, 1
|
||||
.L802E3C34:
|
||||
/* 1054B4 802E3C34 0C043F5A */ jal func_8010FD68
|
||||
/* 1054B8 802E3C38 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1054BC 802E3C3C 080B8F7A */ j .L802E3DE8
|
||||
/* 1054C0 802E3C40 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
.L802E3C44:
|
||||
/* 1054C4 802E3C44 1440FFFB */ bnez $v0, .L802E3C34
|
||||
/* 1054C8 802E3C48 30620001 */ andi $v0, $v1, 1
|
||||
/* 1054CC 802E3C4C 1040000F */ beqz $v0, .L802E3C8C
|
||||
/* 1054D0 802E3C50 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 1054D4 802E3C54 824300B4 */ lb $v1, 0xb4($s2)
|
||||
/* 1054D8 802E3C58 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* 1054DC 802E3C5C 10620003 */ beq $v1, $v0, .L802E3C6C
|
||||
/* 1054E0 802E3C60 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 1054E4 802E3C64 14620003 */ bne $v1, $v0, .L802E3C74
|
||||
/* 1054E8 802E3C68 2402000E */ addiu $v0, $zero, 0xe
|
||||
.L802E3C6C:
|
||||
/* 1054EC 802E3C6C 080B8F7A */ j .L802E3DE8
|
||||
/* 1054F0 802E3C70 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
.L802E3C74:
|
||||
/* 1054F4 802E3C74 10620003 */ beq $v1, $v0, .L802E3C84
|
||||
/* 1054F8 802E3C78 24020010 */ addiu $v0, $zero, 0x10
|
||||
/* 1054FC 802E3C7C 1462005A */ bne $v1, $v0, .L802E3DE8
|
||||
/* 105500 802E3C80 24020001 */ addiu $v0, $zero, 1
|
||||
.L802E3C84:
|
||||
/* 105504 802E3C84 080B8F2A */ j .L802E3CA8
|
||||
/* 105508 802E3C88 24100001 */ addiu $s0, $zero, 1
|
||||
|
||||
.L802E3C8C:
|
||||
/* 10550C 802E3C8C 30620040 */ andi $v0, $v1, 0x40
|
||||
/* 105510 802E3C90 10400054 */ beqz $v0, .L802E3DE4
|
||||
/* 105514 802E3C94 3C030100 */ lui $v1, 0x100
|
||||
/* 105518 802E3C98 8E420000 */ lw $v0, ($s2)
|
||||
/* 10551C 802E3C9C 00431024 */ and $v0, $v0, $v1
|
||||
/* 105520 802E3CA0 10400051 */ beqz $v0, .L802E3DE8
|
||||
/* 105524 802E3CA4 24020001 */ addiu $v0, $zero, 1
|
||||
.L802E3CA8:
|
||||
/* 105528 802E3CA8 92240004 */ lbu $a0, 4($s1)
|
||||
/* 10552C 802E3CAC 0C0441A9 */ jal func_801106A4
|
||||
/* 105530 802E3CB0 00000000 */ nop
|
||||
/* 105534 802E3CB4 2443FFF5 */ addiu $v1, $v0, -0xb
|
||||
/* 105538 802E3CB8 2C620015 */ sltiu $v0, $v1, 0x15
|
||||
/* 10553C 802E3CBC 10400049 */ beqz $v0, .L802E3DE4
|
||||
/* 105540 802E3CC0 00031080 */ sll $v0, $v1, 2
|
||||
/* 105544 802E3CC4 3C01802F */ lui $at, 0x802f
|
||||
/* 105548 802E3CC8 00220821 */ addu $at, $at, $v0
|
||||
/* 10554C 802E3CCC 8C22B210 */ lw $v0, -0x4df0($at)
|
||||
/* 105550 802E3CD0 00400008 */ jr $v0
|
||||
/* 105554 802E3CD4 00000000 */ nop
|
||||
/* 105558 802E3CD8 12000007 */ beqz $s0, .L802E3CF8
|
||||
/* 10555C 802E3CDC 00000000 */ nop
|
||||
/* 105560 802E3CE0 3C028011 */ lui $v0, 0x8011
|
||||
/* 105564 802E3CE4 8042F290 */ lb $v0, -0xd70($v0)
|
||||
/* 105568 802E3CE8 58400007 */ blezl $v0, .L802E3D08
|
||||
/* 10556C 802E3CEC 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 105570 802E3CF0 080B8F42 */ j .L802E3D08
|
||||
/* 105574 802E3CF4 00000000 */ nop
|
||||
|
||||
.L802E3CF8:
|
||||
/* 105578 802E3CF8 3C028011 */ lui $v0, 0x8011
|
||||
/* 10557C 802E3CFC 8042F291 */ lb $v0, -0xd6f($v0)
|
||||
/* 105580 802E3D00 04430001 */ bgezl $v0, .L802E3D08
|
||||
/* 105584 802E3D04 24100001 */ addiu $s0, $zero, 1
|
||||
.L802E3D08:
|
||||
/* 105588 802E3D08 12000037 */ beqz $s0, .L802E3DE8
|
||||
/* 10558C 802E3D0C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 105590 802E3D10 3C05802F */ lui $a1, 0x802f
|
||||
/* 105594 802E3D14 24A59E80 */ addiu $a1, $a1, -0x6180
|
||||
/* 105598 802E3D18 0C043EF0 */ jal func_8010FBC0
|
||||
/* 10559C 802E3D1C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1055A0 802E3D20 C6200050 */ lwc1 $f0, 0x50($s1)
|
||||
/* 1055A4 802E3D24 080B8F6C */ j .L802E3DB0
|
||||
/* 1055A8 802E3D28 2404014F */ addiu $a0, $zero, 0x14f
|
||||
|
||||
/* 1055AC 802E3D2C 12000008 */ beqz $s0, .L802E3D50
|
||||
/* 1055B0 802E3D30 00000000 */ nop
|
||||
/* 1055B4 802E3D34 3C028011 */ lui $v0, 0x8011
|
||||
/* 1055B8 802E3D38 8042F290 */ lb $v0, -0xd70($v0)
|
||||
/* 1055BC 802E3D3C 28420002 */ slti $v0, $v0, 2
|
||||
/* 1055C0 802E3D40 54400007 */ bnel $v0, $zero, .L802E3D60
|
||||
/* 1055C4 802E3D44 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 1055C8 802E3D48 080B8F58 */ j .L802E3D60
|
||||
/* 1055CC 802E3D4C 00000000 */ nop
|
||||
|
||||
.L802E3D50:
|
||||
/* 1055D0 802E3D50 3C028011 */ lui $v0, 0x8011
|
||||
/* 1055D4 802E3D54 8042F291 */ lb $v0, -0xd6f($v0)
|
||||
/* 1055D8 802E3D58 5C400001 */ bgtzl $v0, .L802E3D60
|
||||
/* 1055DC 802E3D5C 24100001 */ addiu $s0, $zero, 1
|
||||
.L802E3D60:
|
||||
/* 1055E0 802E3D60 12000021 */ beqz $s0, .L802E3DE8
|
||||
/* 1055E4 802E3D64 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1055E8 802E3D68 3C05802F */ lui $a1, 0x802f
|
||||
/* 1055EC 802E3D6C 24A59E80 */ addiu $a1, $a1, -0x6180
|
||||
/* 1055F0 802E3D70 0C043EF0 */ jal func_8010FBC0
|
||||
/* 1055F4 802E3D74 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1055F8 802E3D78 C6200050 */ lwc1 $f0, 0x50($s1)
|
||||
/* 1055FC 802E3D7C 080B8F6C */ j .L802E3DB0
|
||||
/* 105600 802E3D80 24040150 */ addiu $a0, $zero, 0x150
|
||||
|
||||
/* 105604 802E3D84 3C028011 */ lui $v0, 0x8011
|
||||
/* 105608 802E3D88 8042F291 */ lb $v0, -0xd6f($v0)
|
||||
/* 10560C 802E3D8C 28420002 */ slti $v0, $v0, 2
|
||||
/* 105610 802E3D90 14400015 */ bnez $v0, .L802E3DE8
|
||||
/* 105614 802E3D94 24020001 */ addiu $v0, $zero, 1
|
||||
/* 105618 802E3D98 3C05802F */ lui $a1, 0x802f
|
||||
/* 10561C 802E3D9C 24A59E80 */ addiu $a1, $a1, -0x6180
|
||||
/* 105620 802E3DA0 0C043EF0 */ jal func_8010FBC0
|
||||
/* 105624 802E3DA4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 105628 802E3DA8 C6200050 */ lwc1 $f0, 0x50($s1)
|
||||
/* 10562C 802E3DAC 24040151 */ addiu $a0, $zero, 0x151
|
||||
.L802E3DB0:
|
||||
/* 105630 802E3DB0 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 105634 802E3DB4 8E260048 */ lw $a2, 0x48($s1)
|
||||
/* 105638 802E3DB8 8E27004C */ lw $a3, 0x4c($s1)
|
||||
/* 10563C 802E3DBC 0C052757 */ jal play_sound_at_position
|
||||
/* 105640 802E3DC0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 105644 802E3DC4 080B8F7A */ j .L802E3DE8
|
||||
/* 105648 802E3DC8 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
/* 10564C 802E3DCC 0C04419E */ jal func_80110678
|
||||
/* 105650 802E3DD0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 105654 802E3DD4 080B8F0D */ j .L802E3C34
|
||||
/* 105658 802E3DD8 00000000 */ nop
|
||||
|
||||
/* 10565C 802E3DDC 0C04419E */ jal func_80110678
|
||||
/* 105660 802E3DE0 0220202D */ daddu $a0, $s1, $zero
|
||||
.L802E3DE4:
|
||||
/* 105664 802E3DE4 24020001 */ addiu $v0, $zero, 1
|
||||
.L802E3DE8:
|
||||
/* 105668 802E3DE8 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 10566C 802E3DEC 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 105670 802E3DF0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 105674 802E3DF4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 105678 802E3DF8 03E00008 */ jr $ra
|
||||
/* 10567C 802E3DFC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 105680 802E3E00 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 105684 802E3E04 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105688 802E3E08 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 10568C 802E3E0C 0C0B8DB9 */ jal func_802E36E4
|
||||
/* 105690 802E3E10 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 105694 802E3E14 3C02802E */ lui $v0, 0x802e
|
||||
/* 105698 802E3E18 244230C0 */ addiu $v0, $v0, 0x30c0
|
||||
/* 10569C 802E3E1C AE02003C */ sw $v0, 0x3c($s0)
|
||||
/* 1056A0 802E3E20 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 1056A4 802E3E24 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1056A8 802E3E28 03E00008 */ jr $ra
|
||||
/* 1056AC 802E3E2C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 1056B0 802E3E30 2403FFFF */ addiu $v1, $zero, -1
|
||||
/* 1056B4 802E3E34 8C820040 */ lw $v0, 0x40($a0)
|
||||
/* 1056B8 802E3E38 3C05FFDF */ lui $a1, 0xffdf
|
||||
/* 1056BC 802E3E3C A4430010 */ sh $v1, 0x10($v0)
|
||||
/* 1056C0 802E3E40 C480004C */ lwc1 $f0, 0x4c($a0)
|
||||
/* 1056C4 802E3E44 34A5FFFF */ ori $a1, $a1, 0xffff
|
||||
/* 1056C8 802E3E48 A443000E */ sh $v1, 0xe($v0)
|
||||
/* 1056CC 802E3E4C E4400014 */ swc1 $f0, 0x14($v0)
|
||||
/* 1056D0 802E3E50 8C820000 */ lw $v0, ($a0)
|
||||
/* 1056D4 802E3E54 3C013F00 */ lui $at, 0x3f00
|
||||
/* 1056D8 802E3E58 44810000 */ mtc1 $at, $f0
|
||||
/* 1056DC 802E3E5C 00451024 */ and $v0, $v0, $a1
|
||||
/* 1056E0 802E3E60 E4800054 */ swc1 $f0, 0x54($a0)
|
||||
/* 1056E4 802E3E64 E4800058 */ swc1 $f0, 0x58($a0)
|
||||
/* 1056E8 802E3E68 E480005C */ swc1 $f0, 0x5c($a0)
|
||||
/* 1056EC 802E3E6C 03E00008 */ jr $ra
|
||||
/* 1056F0 802E3E70 AC820000 */ sw $v0, ($a0)
|
||||
|
||||
/* 1056F4 802E3E74 00000000 */ nop
|
||||
/* 1056F8 802E3E78 00000000 */ nop
|
||||
/* 1056FC 802E3E7C 00000000 */ nop
|
||||
|
||||
.set reorder
|
556
papermario/asm/nonmatchings/code_105700_len_2130/func_802E3E80.s
Normal file
556
papermario/asm/nonmatchings/code_105700_len_2130/func_802E3E80.s
Normal file
@ -0,0 +1,556 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E3E80
|
||||
/* 105700 802E3E80 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 105704 802E3E84 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 105708 802E3E88 0C0B8D94 */ jal func_802E3650
|
||||
/* 10570C 802E3E8C 00000000 */ nop
|
||||
/* 105710 802E3E90 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 105714 802E3E94 03E00008 */ jr $ra
|
||||
/* 105718 802E3E98 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 10571C 802E3E9C 3C028011 */ lui $v0, 0x8011
|
||||
/* 105720 802E3EA0 8C42EFCC */ lw $v0, -0x1034($v0)
|
||||
/* 105724 802E3EA4 9083000B */ lbu $v1, 0xb($a0)
|
||||
/* 105728 802E3EA8 30420001 */ andi $v0, $v0, 1
|
||||
/* 10572C 802E3EAC 50400007 */ beql $v0, $zero, .L802E3ECC
|
||||
/* 105730 802E3EB0 2463FFE0 */ addiu $v1, $v1, -0x20
|
||||
/* 105734 802E3EB4 24630020 */ addiu $v1, $v1, 0x20
|
||||
/* 105738 802E3EB8 286200C1 */ slti $v0, $v1, 0xc1
|
||||
/* 10573C 802E3EBC 50400005 */ beql $v0, $zero, .L802E3ED4
|
||||
/* 105740 802E3EC0 240300C0 */ addiu $v1, $zero, 0xc0
|
||||
/* 105744 802E3EC4 03E00008 */ jr $ra
|
||||
/* 105748 802E3EC8 A083000B */ sb $v1, 0xb($a0)
|
||||
|
||||
.L802E3ECC:
|
||||
/* 10574C 802E3ECC 58600001 */ blezl $v1, .L802E3ED4
|
||||
/* 105750 802E3ED0 0000182D */ daddu $v1, $zero, $zero
|
||||
.L802E3ED4:
|
||||
/* 105754 802E3ED4 A083000B */ sb $v1, 0xb($a0)
|
||||
/* 105758 802E3ED8 03E00008 */ jr $ra
|
||||
/* 10575C 802E3EDC 00000000 */ nop
|
||||
|
||||
/* 105760 802E3EE0 9082000B */ lbu $v0, 0xb($a0)
|
||||
/* 105764 802E3EE4 2C4200FF */ sltiu $v0, $v0, 0xff
|
||||
/* 105768 802E3EE8 10400006 */ beqz $v0, .L802E3F04
|
||||
/* 10576C 802E3EEC 2483000B */ addiu $v1, $a0, 0xb
|
||||
/* 105770 802E3EF0 9084000B */ lbu $a0, 0xb($a0)
|
||||
/* 105774 802E3EF4 14800002 */ bnez $a0, .L802E3F00
|
||||
/* 105778 802E3EF8 24820020 */ addiu $v0, $a0, 0x20
|
||||
/* 10577C 802E3EFC 2482001F */ addiu $v0, $a0, 0x1f
|
||||
.L802E3F00:
|
||||
/* 105780 802E3F00 A0620000 */ sb $v0, ($v1)
|
||||
.L802E3F04:
|
||||
/* 105784 802E3F04 03E00008 */ jr $ra
|
||||
/* 105788 802E3F08 00000000 */ nop
|
||||
|
||||
/* 10578C 802E3F0C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 105790 802E3F10 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 105794 802E3F14 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 105798 802E3F18 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 10579C 802E3F1C AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 1057A0 802E3F20 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 1057A4 802E3F24 8E110040 */ lw $s1, 0x40($s0)
|
||||
/* 1057A8 802E3F28 86220010 */ lh $v0, 0x10($s1)
|
||||
/* 1057AC 802E3F2C 1040003E */ beqz $v0, .L802E4028
|
||||
/* 1057B0 802E3F30 3C120010 */ lui $s2, 0x10
|
||||
/* 1057B4 802E3F34 8E020000 */ lw $v0, ($s0)
|
||||
/* 1057B8 802E3F38 00521024 */ and $v0, $v0, $s2
|
||||
/* 1057BC 802E3F3C 1440003A */ bnez $v0, .L802E4028
|
||||
/* 1057C0 802E3F40 00000000 */ nop
|
||||
/* 1057C4 802E3F44 0C03951B */ jal func_800E546C
|
||||
/* 1057C8 802E3F48 00000000 */ nop
|
||||
/* 1057CC 802E3F4C 8E020000 */ lw $v0, ($s0)
|
||||
/* 1057D0 802E3F50 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 1057D4 802E3F54 44032000 */ mfc1 $v1, $f4
|
||||
/* 1057D8 802E3F58 00521025 */ or $v0, $v0, $s2
|
||||
/* 1057DC 802E3F5C AE020000 */ sw $v0, ($s0)
|
||||
/* 1057E0 802E3F60 86240010 */ lh $a0, 0x10($s1)
|
||||
/* 1057E4 802E3F64 24020157 */ addiu $v0, $zero, 0x157
|
||||
/* 1057E8 802E3F68 54820013 */ bnel $a0, $v0, .L802E3FB8
|
||||
/* 1057EC 802E3F6C 24630168 */ addiu $v1, $v1, 0x168
|
||||
/* 1057F0 802E3F70 C602004C */ lwc1 $f2, 0x4c($s0)
|
||||
/* 1057F4 802E3F74 24020015 */ addiu $v0, $zero, 0x15
|
||||
/* 1057F8 802E3F78 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 1057FC 802E3F7C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 105800 802E3F80 AFA30018 */ sw $v1, 0x18($sp)
|
||||
/* 105804 802E3F84 9622000A */ lhu $v0, 0xa($s1)
|
||||
/* 105808 802E3F88 3C01403C */ lui $at, 0x403c
|
||||
/* 10580C 802E3F8C 44810800 */ mtc1 $at, $f1
|
||||
/* 105810 802E3F90 44800000 */ mtc1 $zero, $f0
|
||||
/* 105814 802E3F94 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 105818 802E3F98 46201080 */ add.d $f2, $f2, $f0
|
||||
/* 10581C 802E3F9C AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* 105820 802E3FA0 8E050048 */ lw $a1, 0x48($s0)
|
||||
/* 105824 802E3FA4 8E070050 */ lw $a3, 0x50($s0)
|
||||
/* 105828 802E3FA8 462010A0 */ cvt.s.d $f2, $f2
|
||||
/* 10582C 802E3FAC 44061000 */ mfc1 $a2, $f2
|
||||
/* 105830 802E3FB0 080B9008 */ j .L802E4020
|
||||
/* 105834 802E3FB4 24040157 */ addiu $a0, $zero, 0x157
|
||||
|
||||
.L802E3FB8:
|
||||
/* 105838 802E3FB8 26050048 */ addiu $a1, $s0, 0x48
|
||||
/* 10583C 802E3FBC 00041140 */ sll $v0, $a0, 5
|
||||
/* 105840 802E3FC0 C600004C */ lwc1 $f0, 0x4c($s0)
|
||||
/* 105844 802E3FC4 3C014034 */ lui $at, 0x4034
|
||||
/* 105848 802E3FC8 44811800 */ mtc1 $at, $f3
|
||||
/* 10584C 802E3FCC 44801000 */ mtc1 $zero, $f2
|
||||
/* 105850 802E3FD0 3C018008 */ lui $at, 0x8008
|
||||
/* 105854 802E3FD4 00220821 */ addu $at, $at, $v0
|
||||
/* 105858 802E3FD8 942278F8 */ lhu $v0, 0x78f8($at)
|
||||
/* 10585C 802E3FDC 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 105860 802E3FE0 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 105864 802E3FE4 26070050 */ addiu $a3, $s0, 0x50
|
||||
/* 105868 802E3FE8 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 10586C 802E3FEC 10400003 */ beqz $v0, .L802E3FFC
|
||||
/* 105870 802E3FF0 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 105874 802E3FF4 080B9000 */ j .L802E4000
|
||||
/* 105878 802E3FF8 2402000B */ addiu $v0, $zero, 0xb
|
||||
|
||||
.L802E3FFC:
|
||||
/* 10587C 802E3FFC 2402000A */ addiu $v0, $zero, 0xa
|
||||
.L802E4000:
|
||||
/* 105880 802E4000 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 105884 802E4004 AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 105888 802E4008 AFA30018 */ sw $v1, 0x18($sp)
|
||||
/* 10588C 802E400C 9622000A */ lhu $v0, 0xa($s1)
|
||||
/* 105890 802E4010 44060000 */ mfc1 $a2, $f0
|
||||
/* 105894 802E4014 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* 105898 802E4018 8CA50000 */ lw $a1, ($a1)
|
||||
/* 10589C 802E401C 8CE70000 */ lw $a3, ($a3)
|
||||
.L802E4020:
|
||||
/* 1058A0 802E4020 0C04C4FD */ jal make_item_entity
|
||||
/* 1058A4 802E4024 00000000 */ nop
|
||||
.L802E4028:
|
||||
/* 1058A8 802E4028 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 1058AC 802E402C 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* 1058B0 802E4030 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 1058B4 802E4034 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 1058B8 802E4038 03E00008 */ jr $ra
|
||||
/* 1058BC 802E403C 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
/* 1058C0 802E4040 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1058C4 802E4044 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1058C8 802E4048 0C04419E */ jal func_80110678
|
||||
/* 1058CC 802E404C 00000000 */ nop
|
||||
/* 1058D0 802E4050 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 1058D4 802E4054 03E00008 */ jr $ra
|
||||
/* 1058D8 802E4058 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 1058DC 802E405C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1058E0 802E4060 3C013F80 */ lui $at, 0x3f80
|
||||
/* 1058E4 802E4064 44810000 */ mtc1 $at, $f0
|
||||
/* 1058E8 802E4068 2402003C */ addiu $v0, $zero, 0x3c
|
||||
/* 1058EC 802E406C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1058F0 802E4070 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 1058F4 802E4074 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 1058F8 802E4078 8C850048 */ lw $a1, 0x48($a0)
|
||||
/* 1058FC 802E407C 8C86004C */ lw $a2, 0x4c($a0)
|
||||
/* 105900 802E4080 8C870050 */ lw $a3, 0x50($a0)
|
||||
/* 105904 802E4084 0C01C88C */ jal func_80072230
|
||||
/* 105908 802E4088 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 10590C 802E408C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 105910 802E4090 3C01802F */ lui $at, 0x802f
|
||||
/* 105914 802E4094 AC22B3B0 */ sw $v0, -0x4c50($at)
|
||||
/* 105918 802E4098 03E00008 */ jr $ra
|
||||
/* 10591C 802E409C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 105920 802E40A0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 105924 802E40A4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105928 802E40A8 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 10592C 802E40AC AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 105930 802E40B0 0C0441A9 */ jal func_801106A4
|
||||
/* 105934 802E40B4 92040004 */ lbu $a0, 4($s0)
|
||||
/* 105938 802E40B8 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 10593C 802E40BC 24020012 */ addiu $v0, $zero, 0x12
|
||||
/* 105940 802E40C0 10620003 */ beq $v1, $v0, .L802E40D0
|
||||
/* 105944 802E40C4 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 105948 802E40C8 14620006 */ bne $v1, $v0, .L802E40E4
|
||||
/* 10594C 802E40CC 00000000 */ nop
|
||||
.L802E40D0:
|
||||
/* 105950 802E40D0 86040014 */ lh $a0, 0x14($s0)
|
||||
/* 105954 802E40D4 3C050000 */ lui $a1, 0
|
||||
/* 105958 802E40D8 24A50094 */ addiu $a1, $a1, 0x94
|
||||
/* 10595C 802E40DC 080B903C */ j .L802E40F0
|
||||
/* 105960 802E40E0 00000000 */ nop
|
||||
|
||||
.L802E40E4:
|
||||
/* 105964 802E40E4 86040014 */ lh $a0, 0x14($s0)
|
||||
/* 105968 802E40E8 3C050000 */ lui $a1, 0
|
||||
/* 10596C 802E40EC 24A50094 */ addiu $a1, $a1, 0x94
|
||||
.L802E40F0:
|
||||
/* 105970 802E40F0 0C048052 */ jal play_model_animation
|
||||
/* 105974 802E40F4 00000000 */ nop
|
||||
/* 105978 802E40F8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 10597C 802E40FC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 105980 802E4100 03E00008 */ jr $ra
|
||||
/* 105984 802E4104 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 105988 802E4108 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 10598C 802E410C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 105990 802E4110 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105994 802E4114 8C820040 */ lw $v0, 0x40($a0)
|
||||
/* 105998 802E4118 84440012 */ lh $a0, 0x12($v0)
|
||||
/* 10599C 802E411C 0C04417A */ jal get_entity_by_index
|
||||
/* 1059A0 802E4120 2410FFFE */ addiu $s0, $zero, -2
|
||||
/* 1059A4 802E4124 8C430000 */ lw $v1, ($v0)
|
||||
/* 1059A8 802E4128 84440016 */ lh $a0, 0x16($v0)
|
||||
/* 1059AC 802E412C 00701824 */ and $v1, $v1, $s0
|
||||
/* 1059B0 802E4130 0C044181 */ jal get_shadow_by_index
|
||||
/* 1059B4 802E4134 AC430000 */ sw $v1, ($v0)
|
||||
/* 1059B8 802E4138 8C430000 */ lw $v1, ($v0)
|
||||
/* 1059BC 802E413C 00701824 */ and $v1, $v1, $s0
|
||||
/* 1059C0 802E4140 AC430000 */ sw $v1, ($v0)
|
||||
/* 1059C4 802E4144 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 1059C8 802E4148 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1059CC 802E414C 03E00008 */ jr $ra
|
||||
/* 1059D0 802E4150 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 1059D4 802E4154 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1059D8 802E4158 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 1059DC 802E415C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 1059E0 802E4160 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1059E4 802E4164 8E040040 */ lw $a0, 0x40($s0)
|
||||
/* 1059E8 802E4168 9483000A */ lhu $v1, 0xa($a0)
|
||||
/* 1059EC 802E416C 3402FFFF */ ori $v0, $zero, 0xffff
|
||||
/* 1059F0 802E4170 10620024 */ beq $v1, $v0, .L802E4204
|
||||
/* 1059F4 802E4174 00000000 */ nop
|
||||
/* 1059F8 802E4178 0C05152F */ jal get_global_flag
|
||||
/* 1059FC 802E417C 0060202D */ daddu $a0, $v1, $zero
|
||||
/* 105A00 802E4180 10400020 */ beqz $v0, .L802E4204
|
||||
/* 105A04 802E4184 00000000 */ nop
|
||||
/* 105A08 802E4188 0C0441A9 */ jal func_801106A4
|
||||
/* 105A0C 802E418C 92040004 */ lbu $a0, 4($s0)
|
||||
/* 105A10 802E4190 3C04802F */ lui $a0, 0x802f
|
||||
/* 105A14 802E4194 2484A0A0 */ addiu $a0, $a0, -0x5f60
|
||||
/* 105A18 802E4198 24030014 */ addiu $v1, $zero, 0x14
|
||||
/* 105A1C 802E419C 10430003 */ beq $v0, $v1, .L802E41AC
|
||||
/* 105A20 802E41A0 00000000 */ nop
|
||||
/* 105A24 802E41A4 3C04802F */ lui $a0, 0x802f
|
||||
/* 105A28 802E41A8 2484A07C */ addiu $a0, $a0, -0x5f84
|
||||
.L802E41AC:
|
||||
/* 105A2C 802E41AC C6020048 */ lwc1 $f2, 0x48($s0)
|
||||
/* 105A30 802E41B0 C604004C */ lwc1 $f4, 0x4c($s0)
|
||||
/* 105A34 802E41B4 C6060050 */ lwc1 $f6, 0x50($s0)
|
||||
/* 105A38 802E41B8 C6000064 */ lwc1 $f0, 0x64($s0)
|
||||
/* 105A3C 802E41BC 3C028000 */ lui $v0, 0x8000
|
||||
/* 105A40 802E41C0 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 105A44 802E41C4 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 105A48 802E41C8 E7A80010 */ swc1 $f8, 0x10($sp)
|
||||
/* 105A4C 802E41CC 4600120D */ trunc.w.s $f8, $f2
|
||||
/* 105A50 802E41D0 44054000 */ mfc1 $a1, $f8
|
||||
/* 105A54 802E41D4 4600220D */ trunc.w.s $f8, $f4
|
||||
/* 105A58 802E41D8 44064000 */ mfc1 $a2, $f8
|
||||
/* 105A5C 802E41DC 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 105A60 802E41E0 44074000 */ mfc1 $a3, $f8
|
||||
/* 105A64 802E41E4 0C044631 */ jal create_entity
|
||||
/* 105A68 802E41E8 00000000 */ nop
|
||||
/* 105A6C 802E41EC 3C05802F */ lui $a1, 0x802f
|
||||
/* 105A70 802E41F0 24A5A310 */ addiu $a1, $a1, -0x5cf0
|
||||
/* 105A74 802E41F4 0C043EF0 */ jal func_8010FBC0
|
||||
/* 105A78 802E41F8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 105A7C 802E41FC 080B9083 */ j .L802E420C
|
||||
/* 105A80 802E4200 00000000 */ nop
|
||||
|
||||
.L802E4204:
|
||||
/* 105A84 802E4204 0C043F5A */ jal func_8010FD68
|
||||
/* 105A88 802E4208 0200202D */ daddu $a0, $s0, $zero
|
||||
.L802E420C:
|
||||
/* 105A8C 802E420C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 105A90 802E4210 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 105A94 802E4214 03E00008 */ jr $ra
|
||||
/* 105A98 802E4218 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 105A9C 802E421C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 105AA0 802E4220 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 105AA4 802E4224 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 105AA8 802E4228 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 105AAC 802E422C AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 105AB0 802E4230 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 105AB4 802E4234 0C0441A9 */ jal func_801106A4
|
||||
/* 105AB8 802E4238 92240004 */ lbu $a0, 4($s1)
|
||||
/* 105ABC 802E423C 3C04802F */ lui $a0, 0x802f
|
||||
/* 105AC0 802E4240 2484A07C */ addiu $a0, $a0, -0x5f84
|
||||
/* 105AC4 802E4244 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 105AC8 802E4248 28620015 */ slti $v0, $v1, 0x15
|
||||
/* 105ACC 802E424C 10400005 */ beqz $v0, .L802E4264
|
||||
/* 105AD0 802E4250 28620012 */ slti $v0, $v1, 0x12
|
||||
/* 105AD4 802E4254 14400003 */ bnez $v0, .L802E4264
|
||||
/* 105AD8 802E4258 00000000 */ nop
|
||||
/* 105ADC 802E425C 3C04802F */ lui $a0, 0x802f
|
||||
/* 105AE0 802E4260 2484A0A0 */ addiu $a0, $a0, -0x5f60
|
||||
.L802E4264:
|
||||
/* 105AE4 802E4264 C6220048 */ lwc1 $f2, 0x48($s1)
|
||||
/* 105AE8 802E4268 C624004C */ lwc1 $f4, 0x4c($s1)
|
||||
/* 105AEC 802E426C C6260050 */ lwc1 $f6, 0x50($s1)
|
||||
/* 105AF0 802E4270 C6200064 */ lwc1 $f0, 0x64($s1)
|
||||
/* 105AF4 802E4274 3C028000 */ lui $v0, 0x8000
|
||||
/* 105AF8 802E4278 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 105AFC 802E427C 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 105B00 802E4280 E7A80010 */ swc1 $f8, 0x10($sp)
|
||||
/* 105B04 802E4284 4600120D */ trunc.w.s $f8, $f2
|
||||
/* 105B08 802E4288 44054000 */ mfc1 $a1, $f8
|
||||
/* 105B0C 802E428C 4600220D */ trunc.w.s $f8, $f4
|
||||
/* 105B10 802E4290 44064000 */ mfc1 $a2, $f8
|
||||
/* 105B14 802E4294 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 105B18 802E4298 44074000 */ mfc1 $a3, $f8
|
||||
/* 105B1C 802E429C 0C044631 */ jal create_entity
|
||||
/* 105B20 802E42A0 00000000 */ nop
|
||||
/* 105B24 802E42A4 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 105B28 802E42A8 0C04417A */ jal get_entity_by_index
|
||||
/* 105B2C 802E42AC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 105B30 802E42B0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 105B34 802E42B4 8E020000 */ lw $v0, ($s0)
|
||||
/* 105B38 802E42B8 34430001 */ ori $v1, $v0, 1
|
||||
/* 105B3C 802E42BC AE030000 */ sw $v1, ($s0)
|
||||
/* 105B40 802E42C0 8E220000 */ lw $v0, ($s1)
|
||||
/* 105B44 802E42C4 3C040004 */ lui $a0, 4
|
||||
/* 105B48 802E42C8 00441024 */ and $v0, $v0, $a0
|
||||
/* 105B4C 802E42CC 10400002 */ beqz $v0, .L802E42D8
|
||||
/* 105B50 802E42D0 00641025 */ or $v0, $v1, $a0
|
||||
/* 105B54 802E42D4 AE020000 */ sw $v0, ($s0)
|
||||
.L802E42D8:
|
||||
/* 105B58 802E42D8 8E220000 */ lw $v0, ($s1)
|
||||
/* 105B5C 802E42DC 30420004 */ andi $v0, $v0, 4
|
||||
/* 105B60 802E42E0 10400004 */ beqz $v0, .L802E42F4
|
||||
/* 105B64 802E42E4 00000000 */ nop
|
||||
/* 105B68 802E42E8 8E020000 */ lw $v0, ($s0)
|
||||
/* 105B6C 802E42EC 34420004 */ ori $v0, $v0, 4
|
||||
/* 105B70 802E42F0 AE020000 */ sw $v0, ($s0)
|
||||
.L802E42F4:
|
||||
/* 105B74 802E42F4 0C044181 */ jal get_shadow_by_index
|
||||
/* 105B78 802E42F8 86040016 */ lh $a0, 0x16($s0)
|
||||
/* 105B7C 802E42FC 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 105B80 802E4300 3C020040 */ lui $v0, 0x40
|
||||
/* 105B84 802E4304 34420001 */ ori $v0, $v0, 1
|
||||
/* 105B88 802E4308 8CA30000 */ lw $v1, ($a1)
|
||||
/* 105B8C 802E430C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 105B90 802E4310 00621825 */ or $v1, $v1, $v0
|
||||
/* 105B94 802E4314 0C044AC8 */ jal func_80112B20
|
||||
/* 105B98 802E4318 ACA30000 */ sw $v1, ($a1)
|
||||
/* 105B9C 802E431C 92240004 */ lbu $a0, 4($s1)
|
||||
/* 105BA0 802E4320 0C0441A9 */ jal func_801106A4
|
||||
/* 105BA4 802E4324 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 105BA8 802E4328 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 105BAC 802E432C 24020012 */ addiu $v0, $zero, 0x12
|
||||
/* 105BB0 802E4330 10620003 */ beq $v1, $v0, .L802E4340
|
||||
/* 105BB4 802E4334 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 105BB8 802E4338 14620005 */ bne $v1, $v0, .L802E4350
|
||||
/* 105BBC 802E433C 00000000 */ nop
|
||||
.L802E4340:
|
||||
/* 105BC0 802E4340 3C04802F */ lui $a0, 0x802f
|
||||
/* 105BC4 802E4344 2484A660 */ addiu $a0, $a0, -0x59a0
|
||||
/* 105BC8 802E4348 080B90DA */ j .L802E4368
|
||||
/* 105BCC 802E434C 00000000 */ nop
|
||||
|
||||
.L802E4350:
|
||||
/* 105BD0 802E4350 3C04802F */ lui $a0, 0x802f
|
||||
/* 105BD4 802E4354 2484A63C */ addiu $a0, $a0, -0x59c4
|
||||
/* 105BD8 802E4358 12000003 */ beqz $s0, .L802E4368
|
||||
/* 105BDC 802E435C 00000000 */ nop
|
||||
/* 105BE0 802E4360 3C04802F */ lui $a0, 0x802f
|
||||
/* 105BE4 802E4364 2484A618 */ addiu $a0, $a0, -0x59e8
|
||||
.L802E4368:
|
||||
/* 105BE8 802E4368 C6220048 */ lwc1 $f2, 0x48($s1)
|
||||
/* 105BEC 802E436C C624004C */ lwc1 $f4, 0x4c($s1)
|
||||
/* 105BF0 802E4370 C6260050 */ lwc1 $f6, 0x50($s1)
|
||||
/* 105BF4 802E4374 C6200064 */ lwc1 $f0, 0x64($s1)
|
||||
/* 105BF8 802E4378 3C028000 */ lui $v0, 0x8000
|
||||
/* 105BFC 802E437C AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 105C00 802E4380 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 105C04 802E4384 E7A80010 */ swc1 $f8, 0x10($sp)
|
||||
/* 105C08 802E4388 4600120D */ trunc.w.s $f8, $f2
|
||||
/* 105C0C 802E438C 44054000 */ mfc1 $a1, $f8
|
||||
/* 105C10 802E4390 4600220D */ trunc.w.s $f8, $f4
|
||||
/* 105C14 802E4394 44064000 */ mfc1 $a2, $f8
|
||||
/* 105C18 802E4398 4600320D */ trunc.w.s $f8, $f6
|
||||
/* 105C1C 802E439C 44074000 */ mfc1 $a3, $f8
|
||||
/* 105C20 802E43A0 0C044631 */ jal create_entity
|
||||
/* 105C24 802E43A4 00000000 */ nop
|
||||
/* 105C28 802E43A8 0C04417A */ jal get_entity_by_index
|
||||
/* 105C2C 802E43AC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 105C30 802E43B0 9223000B */ lbu $v1, 0xb($s1)
|
||||
/* 105C34 802E43B4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 105C38 802E43B8 A203000B */ sb $v1, 0xb($s0)
|
||||
/* 105C3C 802E43BC 8E220000 */ lw $v0, ($s1)
|
||||
/* 105C40 802E43C0 30420001 */ andi $v0, $v0, 1
|
||||
/* 105C44 802E43C4 14400005 */ bnez $v0, .L802E43DC
|
||||
/* 105C48 802E43C8 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* 105C4C 802E43CC 9222000B */ lbu $v0, 0xb($s1)
|
||||
/* 105C50 802E43D0 2C4200FF */ sltiu $v0, $v0, 0xff
|
||||
/* 105C54 802E43D4 10400002 */ beqz $v0, .L802E43E0
|
||||
/* 105C58 802E43D8 24020020 */ addiu $v0, $zero, 0x20
|
||||
.L802E43DC:
|
||||
/* 105C5C 802E43DC A202000B */ sb $v0, 0xb($s0)
|
||||
.L802E43E0:
|
||||
/* 105C60 802E43E0 8E220000 */ lw $v0, ($s1)
|
||||
/* 105C64 802E43E4 3C030004 */ lui $v1, 4
|
||||
/* 105C68 802E43E8 00431024 */ and $v0, $v0, $v1
|
||||
/* 105C6C 802E43EC 10400004 */ beqz $v0, .L802E4400
|
||||
/* 105C70 802E43F0 00000000 */ nop
|
||||
/* 105C74 802E43F4 8E020000 */ lw $v0, ($s0)
|
||||
/* 105C78 802E43F8 00431025 */ or $v0, $v0, $v1
|
||||
/* 105C7C 802E43FC AE020000 */ sw $v0, ($s0)
|
||||
.L802E4400:
|
||||
/* 105C80 802E4400 8E020040 */ lw $v0, 0x40($s0)
|
||||
/* 105C84 802E4404 A4520012 */ sh $s2, 0x12($v0)
|
||||
/* 105C88 802E4408 8E220000 */ lw $v0, ($s1)
|
||||
/* 105C8C 802E440C 30420004 */ andi $v0, $v0, 4
|
||||
/* 105C90 802E4410 10400004 */ beqz $v0, .L802E4424
|
||||
/* 105C94 802E4414 2403FEFF */ addiu $v1, $zero, -0x101
|
||||
/* 105C98 802E4418 8E020000 */ lw $v0, ($s0)
|
||||
/* 105C9C 802E441C 34420004 */ ori $v0, $v0, 4
|
||||
/* 105CA0 802E4420 AE020000 */ sw $v0, ($s0)
|
||||
.L802E4424:
|
||||
/* 105CA4 802E4424 8E220000 */ lw $v0, ($s1)
|
||||
/* 105CA8 802E4428 86240016 */ lh $a0, 0x16($s1)
|
||||
/* 105CAC 802E442C 00431024 */ and $v0, $v0, $v1
|
||||
/* 105CB0 802E4430 0C044181 */ jal get_shadow_by_index
|
||||
/* 105CB4 802E4434 AE220000 */ sw $v0, ($s1)
|
||||
/* 105CB8 802E4438 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 105CBC 802E443C 3C031000 */ lui $v1, 0x1000
|
||||
/* 105CC0 802E4440 8CA20000 */ lw $v0, ($a1)
|
||||
/* 105CC4 802E4444 34630001 */ ori $v1, $v1, 1
|
||||
/* 105CC8 802E4448 00431025 */ or $v0, $v0, $v1
|
||||
/* 105CCC 802E444C ACA20000 */ sw $v0, ($a1)
|
||||
/* 105CD0 802E4450 0C044181 */ jal get_shadow_by_index
|
||||
/* 105CD4 802E4454 86040016 */ lh $a0, 0x16($s0)
|
||||
/* 105CD8 802E4458 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 105CDC 802E445C 8CA20000 */ lw $v0, ($a1)
|
||||
/* 105CE0 802E4460 3C030040 */ lui $v1, 0x40
|
||||
/* 105CE4 802E4464 00431025 */ or $v0, $v0, $v1
|
||||
/* 105CE8 802E4468 ACA20000 */ sw $v0, ($a1)
|
||||
/* 105CEC 802E446C 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 105CF0 802E4470 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 105CF4 802E4474 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 105CF8 802E4478 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 105CFC 802E447C 03E00008 */ jr $ra
|
||||
/* 105D00 802E4480 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 105D04 802E4484 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 105D08 802E4488 0080182D */ daddu $v1, $a0, $zero
|
||||
/* 105D0C 802E448C 2405FEFF */ addiu $a1, $zero, -0x101
|
||||
/* 105D10 802E4490 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 105D14 802E4494 8C620000 */ lw $v0, ($v1)
|
||||
/* 105D18 802E4498 84640016 */ lh $a0, 0x16($v1)
|
||||
/* 105D1C 802E449C 34420001 */ ori $v0, $v0, 1
|
||||
/* 105D20 802E44A0 00451024 */ and $v0, $v0, $a1
|
||||
/* 105D24 802E44A4 0C044181 */ jal get_shadow_by_index
|
||||
/* 105D28 802E44A8 AC620000 */ sw $v0, ($v1)
|
||||
/* 105D2C 802E44AC 3C041000 */ lui $a0, 0x1000
|
||||
/* 105D30 802E44B0 8C430000 */ lw $v1, ($v0)
|
||||
/* 105D34 802E44B4 34840001 */ ori $a0, $a0, 1
|
||||
/* 105D38 802E44B8 00641825 */ or $v1, $v1, $a0
|
||||
/* 105D3C 802E44BC AC430000 */ sw $v1, ($v0)
|
||||
/* 105D40 802E44C0 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 105D44 802E44C4 03E00008 */ jr $ra
|
||||
/* 105D48 802E44C8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 105D4C 802E44CC 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 105D50 802E44D0 8CA20028 */ lw $v0, 0x28($a1)
|
||||
/* 105D54 802E44D4 14400003 */ bnez $v0, .L802E44E4
|
||||
/* 105D58 802E44D8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 105D5C 802E44DC 03E00008 */ jr $ra
|
||||
/* 105D60 802E44E0 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
.L802E44E4:
|
||||
/* 105D64 802E44E4 8CA30000 */ lw $v1, ($a1)
|
||||
/* 105D68 802E44E8 3C040100 */ lui $a0, 0x100
|
||||
/* 105D6C 802E44EC 00641825 */ or $v1, $v1, $a0
|
||||
/* 105D70 802E44F0 03E00008 */ jr $ra
|
||||
/* 105D74 802E44F4 ACA30000 */ sw $v1, ($a1)
|
||||
|
||||
/* 105D78 802E44F8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 105D7C 802E44FC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 105D80 802E4500 0C03805E */ jal func_800E0178
|
||||
/* 105D84 802E4504 00000000 */ nop
|
||||
/* 105D88 802E4508 3C028011 */ lui $v0, 0x8011
|
||||
/* 105D8C 802E450C 2442EFC8 */ addiu $v0, $v0, -0x1038
|
||||
/* 105D90 802E4510 8C430000 */ lw $v1, ($v0)
|
||||
/* 105D94 802E4514 3C040080 */ lui $a0, 0x80
|
||||
/* 105D98 802E4518 AC400054 */ sw $zero, 0x54($v0)
|
||||
/* 105D9C 802E451C 00641825 */ or $v1, $v1, $a0
|
||||
/* 105DA0 802E4520 24040008 */ addiu $a0, $zero, 8
|
||||
/* 105DA4 802E4524 0C039769 */ jal set_action_state
|
||||
/* 105DA8 802E4528 AC430000 */ sw $v1, ($v0)
|
||||
/* 105DAC 802E452C 0C038C1B */ jal func_800E306C
|
||||
/* 105DB0 802E4530 00000000 */ nop
|
||||
/* 105DB4 802E4534 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 105DB8 802E4538 03E00008 */ jr $ra
|
||||
/* 105DBC 802E453C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 105DC0 802E4540 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 105DC4 802E4544 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 105DC8 802E4548 0C038069 */ jal func_800E01A4
|
||||
/* 105DCC 802E454C 00000000 */ nop
|
||||
/* 105DD0 802E4550 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 105DD4 802E4554 03E00008 */ jr $ra
|
||||
/* 105DD8 802E4558 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 105DDC 802E455C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 105DE0 802E4560 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105DE4 802E4564 3C10800A */ lui $s0, 0x800a
|
||||
/* 105DE8 802E4568 8E10A66C */ lw $s0, -0x5994($s0)
|
||||
/* 105DEC 802E456C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 105DF0 802E4570 0C04417A */ jal get_entity_by_index
|
||||
/* 105DF4 802E4574 00000000 */ nop
|
||||
/* 105DF8 802E4578 3C04E300 */ lui $a0, 0xe300
|
||||
/* 105DFC 802E457C 34841001 */ ori $a0, $a0, 0x1001
|
||||
/* 105E00 802E4580 3C05D700 */ lui $a1, 0xd700
|
||||
/* 105E04 802E4584 34A50002 */ ori $a1, $a1, 2
|
||||
/* 105E08 802E4588 0200182D */ daddu $v1, $s0, $zero
|
||||
/* 105E0C 802E458C 26100008 */ addiu $s0, $s0, 8
|
||||
/* 105E10 802E4590 AC640000 */ sw $a0, ($v1)
|
||||
/* 105E14 802E4594 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 105E18 802E4598 AC600004 */ sw $zero, 4($v1)
|
||||
/* 105E1C 802E459C 2403FFFF */ addiu $v1, $zero, -1
|
||||
/* 105E20 802E45A0 AC850000 */ sw $a1, ($a0)
|
||||
/* 105E24 802E45A4 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 105E28 802E45A8 AC830004 */ sw $v1, 4($a0)
|
||||
/* 105E2C 802E45AC 90A2000B */ lbu $v0, 0xb($a1)
|
||||
/* 105E30 802E45B0 2C4200FF */ sltiu $v0, $v0, 0xff
|
||||
/* 105E34 802E45B4 14400011 */ bnez $v0, .L802E45FC
|
||||
/* 105E38 802E45B8 26100008 */ addiu $s0, $s0, 8
|
||||
/* 105E3C 802E45BC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 105E40 802E45C0 26100008 */ addiu $s0, $s0, 8
|
||||
/* 105E44 802E45C4 3C07E200 */ lui $a3, 0xe200
|
||||
/* 105E48 802E45C8 34E7001C */ ori $a3, $a3, 0x1c
|
||||
/* 105E4C 802E45CC 3C060055 */ lui $a2, 0x55
|
||||
/* 105E50 802E45D0 34C62078 */ ori $a2, $a2, 0x2078
|
||||
/* 105E54 802E45D4 0200182D */ daddu $v1, $s0, $zero
|
||||
/* 105E58 802E45D8 26100008 */ addiu $s0, $s0, 8
|
||||
/* 105E5C 802E45DC 3C04FC12 */ lui $a0, 0xfc12
|
||||
/* 105E60 802E45E0 34841824 */ ori $a0, $a0, 0x1824
|
||||
/* 105E64 802E45E4 3C02FF33 */ lui $v0, 0xff33
|
||||
/* 105E68 802E45E8 3442FFFF */ ori $v0, $v0, 0xffff
|
||||
/* 105E6C 802E45EC ACA70000 */ sw $a3, ($a1)
|
||||
/* 105E70 802E45F0 ACA60004 */ sw $a2, 4($a1)
|
||||
/* 105E74 802E45F4 080B918C */ j .L802E4630
|
||||
/* 105E78 802E45F8 AC640000 */ sw $a0, ($v1)
|
||||
|
||||
.L802E45FC:
|
||||
/* 105E7C 802E45FC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 105E80 802E4600 26100008 */ addiu $s0, $s0, 8
|
||||
/* 105E84 802E4604 3C03FCFF */ lui $v1, 0xfcff
|
||||
/* 105E88 802E4608 3463B3FF */ ori $v1, $v1, 0xb3ff
|
||||
/* 105E8C 802E460C 3C02FF2C */ lui $v0, 0xff2c
|
||||
/* 105E90 802E4610 3442FE7F */ ori $v0, $v0, 0xfe7f
|
||||
/* 105E94 802E4614 AC830000 */ sw $v1, ($a0)
|
||||
/* 105E98 802E4618 0200182D */ daddu $v1, $s0, $zero
|
||||
/* 105E9C 802E461C AC820004 */ sw $v0, 4($a0)
|
||||
/* 105EA0 802E4620 3C02FA00 */ lui $v0, 0xfa00
|
||||
/* 105EA4 802E4624 AC620000 */ sw $v0, ($v1)
|
||||
/* 105EA8 802E4628 90A2000B */ lbu $v0, 0xb($a1)
|
||||
/* 105EAC 802E462C 26100008 */ addiu $s0, $s0, 8
|
||||
.L802E4630:
|
||||
/* 105EB0 802E4630 AC620004 */ sw $v0, 4($v1)
|
||||
/* 105EB4 802E4634 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 105EB8 802E4638 3C01800A */ lui $at, 0x800a
|
||||
/* 105EBC 802E463C AC30A66C */ sw $s0, -0x5994($at)
|
||||
/* 105EC0 802E4640 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 105EC4 802E4644 03E00008 */ jr $ra
|
||||
/* 105EC8 802E4648 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -0,0 +1,58 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E464C
|
||||
/* 105ECC 802E464C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 105ED0 802E4650 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105ED4 802E4654 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 105ED8 802E4658 0C0B8DB9 */ jal func_802E36E4
|
||||
/* 105EDC 802E465C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 105EE0 802E4660 8E030040 */ lw $v1, 0x40($s0)
|
||||
/* 105EE4 802E4664 3C028016 */ lui $v0, 0x8016
|
||||
/* 105EE8 802E4668 9442C7D2 */ lhu $v0, -0x382e($v0)
|
||||
/* 105EEC 802E466C A4620010 */ sh $v0, 0x10($v1)
|
||||
/* 105EF0 802E4670 3402FFFF */ ori $v0, $zero, 0xffff
|
||||
/* 105EF4 802E4674 A462000A */ sh $v0, 0xa($v1)
|
||||
/* 105EF8 802E4678 3C02802E */ lui $v0, 0x802e
|
||||
/* 105EFC 802E467C 2442455C */ addiu $v0, $v0, 0x455c
|
||||
/* 105F00 802E4680 AE02003C */ sw $v0, 0x3c($s0)
|
||||
/* 105F04 802E4684 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 105F08 802E4688 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 105F0C 802E468C 03E00008 */ jr $ra
|
||||
/* 105F10 802E4690 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 105F14 802E4694 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 105F18 802E4698 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105F1C 802E469C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 105F20 802E46A0 0C0B9193 */ jal func_802E464C
|
||||
/* 105F24 802E46A4 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 105F28 802E46A8 A200000B */ sb $zero, 0xb($s0)
|
||||
/* 105F2C 802E46AC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 105F30 802E46B0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 105F34 802E46B4 03E00008 */ jr $ra
|
||||
/* 105F38 802E46B8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 105F3C 802E46BC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 105F40 802E46C0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105F44 802E46C4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 105F48 802E46C8 0C0B8DB9 */ jal func_802E36E4
|
||||
/* 105F4C 802E46CC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 105F50 802E46D0 86040014 */ lh $a0, 0x14($s0)
|
||||
/* 105F54 802E46D4 3C02802E */ lui $v0, 0x802e
|
||||
/* 105F58 802E46D8 2442455C */ addiu $v0, $v0, 0x455c
|
||||
/* 105F5C 802E46DC 0C047FF8 */ jal func_8011FFE0
|
||||
/* 105F60 802E46E0 AE02003C */ sw $v0, 0x3c($s0)
|
||||
/* 105F64 802E46E4 24030011 */ addiu $v1, $zero, 0x11
|
||||
/* 105F68 802E46E8 A0430004 */ sb $v1, 4($v0)
|
||||
/* 105F6C 802E46EC 8C430000 */ lw $v1, ($v0)
|
||||
/* 105F70 802E46F0 3C040001 */ lui $a0, 1
|
||||
/* 105F74 802E46F4 00641825 */ or $v1, $v1, $a0
|
||||
/* 105F78 802E46F8 AC430000 */ sw $v1, ($v0)
|
||||
/* 105F7C 802E46FC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 105F80 802E4700 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 105F84 802E4704 03E00008 */ jr $ra
|
||||
/* 105F88 802E4708 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 105F8C 802E470C 00000000 */ nop
|
@ -0,0 +1,16 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E4710
|
||||
/* 105F90 802E4710 94820024 */ lhu $v0, 0x24($a0)
|
||||
/* 105F94 802E4714 00451023 */ subu $v0, $v0, $a1
|
||||
/* 105F98 802E4718 04420001 */ bltzl $v0, .L802E4720
|
||||
/* 105F9C 802E471C 2442000A */ addiu $v0, $v0, 0xa
|
||||
.L802E4720:
|
||||
/* 105FA0 802E4720 00021080 */ sll $v0, $v0, 2
|
||||
/* 105FA4 802E4724 00821021 */ addu $v0, $a0, $v0
|
||||
/* 105FA8 802E4728 03E00008 */ jr $ra
|
||||
/* 105FAC 802E472C C4400028 */ lwc1 $f0, 0x28($v0)
|
||||
|
260
papermario/asm/nonmatchings/code_105700_len_2130/func_802E4730.s
Normal file
260
papermario/asm/nonmatchings/code_105700_len_2130/func_802E4730.s
Normal file
@ -0,0 +1,260 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E4730
|
||||
/* 105FB0 802E4730 27BDFF78 */ addiu $sp, $sp, -0x88
|
||||
/* 105FB4 802E4734 AFB00060 */ sw $s0, 0x60($sp)
|
||||
/* 105FB8 802E4738 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 105FBC 802E473C AFBF0084 */ sw $ra, 0x84($sp)
|
||||
/* 105FC0 802E4740 AFBE0080 */ sw $fp, 0x80($sp)
|
||||
/* 105FC4 802E4744 AFB7007C */ sw $s7, 0x7c($sp)
|
||||
/* 105FC8 802E4748 AFB60078 */ sw $s6, 0x78($sp)
|
||||
/* 105FCC 802E474C AFB50074 */ sw $s5, 0x74($sp)
|
||||
/* 105FD0 802E4750 AFB40070 */ sw $s4, 0x70($sp)
|
||||
/* 105FD4 802E4754 AFB3006C */ sw $s3, 0x6c($sp)
|
||||
/* 105FD8 802E4758 AFB20068 */ sw $s2, 0x68($sp)
|
||||
/* 105FDC 802E475C 0C04417A */ jal get_entity_by_index
|
||||
/* 105FE0 802E4760 AFB10064 */ sw $s1, 0x64($sp)
|
||||
/* 105FE4 802E4764 3C04FCFF */ lui $a0, 0xfcff
|
||||
/* 105FE8 802E4768 3484B3FF */ ori $a0, $a0, 0xb3ff
|
||||
/* 105FEC 802E476C 3C03FF2C */ lui $v1, 0xff2c
|
||||
/* 105FF0 802E4770 3463FE7F */ ori $v1, $v1, 0xfe7f
|
||||
/* 105FF4 802E4774 2415005C */ addiu $s5, $zero, 0x5c
|
||||
/* 105FF8 802E4778 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 105FFC 802E477C 3210FFFF */ andi $s0, $s0, 0xffff
|
||||
/* 106000 802E4780 3C12800A */ lui $s2, 0x800a
|
||||
/* 106004 802E4784 8E52A66C */ lw $s2, -0x5994($s2)
|
||||
/* 106008 802E4788 8E330040 */ lw $s3, 0x40($s1)
|
||||
/* 10600C 802E478C 8E250044 */ lw $a1, 0x44($s1)
|
||||
/* 106010 802E4790 0240102D */ daddu $v0, $s2, $zero
|
||||
/* 106014 802E4794 26520008 */ addiu $s2, $s2, 8
|
||||
/* 106018 802E4798 AC430004 */ sw $v1, 4($v0)
|
||||
/* 10601C 802E479C 0240182D */ daddu $v1, $s2, $zero
|
||||
/* 106020 802E47A0 AC440000 */ sw $a0, ($v0)
|
||||
/* 106024 802E47A4 3C02FA00 */ lui $v0, 0xfa00
|
||||
/* 106028 802E47A8 AC620000 */ sw $v0, ($v1)
|
||||
/* 10602C 802E47AC 9222000B */ lbu $v0, 0xb($s1)
|
||||
/* 106030 802E47B0 26520008 */ addiu $s2, $s2, 8
|
||||
/* 106034 802E47B4 AC620004 */ sw $v0, 4($v1)
|
||||
/* 106038 802E47B8 9223000B */ lbu $v1, 0xb($s1)
|
||||
/* 10603C 802E47BC 0075102A */ slt $v0, $v1, $s5
|
||||
/* 106040 802E47C0 10400002 */ beqz $v0, .L802E47CC
|
||||
/* 106044 802E47C4 00B0F021 */ addu $fp, $a1, $s0
|
||||
/* 106048 802E47C8 0060A82D */ daddu $s5, $v1, $zero
|
||||
.L802E47CC:
|
||||
/* 10604C 802E47CC 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 106050 802E47D0 0C0B91C4 */ jal func_802E4710
|
||||
/* 106054 802E47D4 24050002 */ addiu $a1, $zero, 2
|
||||
/* 106058 802E47D8 44050000 */ mfc1 $a1, $f0
|
||||
/* 10605C 802E47DC 44800000 */ mtc1 $zero, $f0
|
||||
/* 106060 802E47E0 3C073F80 */ lui $a3, 0x3f80
|
||||
/* 106064 802E47E4 44060000 */ mfc1 $a2, $f0
|
||||
/* 106068 802E47E8 27A40018 */ addiu $a0, $sp, 0x18
|
||||
/* 10606C 802E47EC 0C019EC8 */ jal guRotateF
|
||||
/* 106070 802E47F0 AFA60010 */ sw $a2, 0x10($sp)
|
||||
/* 106074 802E47F4 27A40018 */ addiu $a0, $sp, 0x18
|
||||
/* 106078 802E47F8 26700058 */ addiu $s0, $s3, 0x58
|
||||
/* 10607C 802E47FC 0C019D40 */ jal guMtxF2L
|
||||
/* 106080 802E4800 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 106084 802E4804 3C040001 */ lui $a0, 1
|
||||
/* 106088 802E4808 34841630 */ ori $a0, $a0, 0x1630
|
||||
/* 10608C 802E480C 26650098 */ addiu $a1, $s3, 0x98
|
||||
/* 106090 802E4810 3C028007 */ lui $v0, 0x8007
|
||||
/* 106094 802E4814 944241F0 */ lhu $v0, 0x41f0($v0)
|
||||
/* 106098 802E4818 3C03800A */ lui $v1, 0x800a
|
||||
/* 10609C 802E481C 8C63A674 */ lw $v1, -0x598c($v1)
|
||||
/* 1060A0 802E4820 00021180 */ sll $v0, $v0, 6
|
||||
/* 1060A4 802E4824 00621821 */ addu $v1, $v1, $v0
|
||||
/* 1060A8 802E4828 00641821 */ addu $v1, $v1, $a0
|
||||
.L802E482C:
|
||||
/* 1060AC 802E482C 8E160000 */ lw $s6, ($s0)
|
||||
/* 1060B0 802E4830 8E170004 */ lw $s7, 4($s0)
|
||||
/* 1060B4 802E4834 8E180008 */ lw $t8, 8($s0)
|
||||
/* 1060B8 802E4838 8E19000C */ lw $t9, 0xc($s0)
|
||||
/* 1060BC 802E483C AC760000 */ sw $s6, ($v1)
|
||||
/* 1060C0 802E4840 AC770004 */ sw $s7, 4($v1)
|
||||
/* 1060C4 802E4844 AC780008 */ sw $t8, 8($v1)
|
||||
/* 1060C8 802E4848 AC79000C */ sw $t9, 0xc($v1)
|
||||
/* 1060CC 802E484C 26100010 */ addiu $s0, $s0, 0x10
|
||||
/* 1060D0 802E4850 1605FFF6 */ bne $s0, $a1, .L802E482C
|
||||
/* 1060D4 802E4854 24630010 */ addiu $v1, $v1, 0x10
|
||||
/* 1060D8 802E4858 0240502D */ daddu $t2, $s2, $zero
|
||||
/* 1060DC 802E485C 26520008 */ addiu $s2, $s2, 8
|
||||
/* 1060E0 802E4860 3C160001 */ lui $s6, 1
|
||||
/* 1060E4 802E4864 36D61630 */ ori $s6, $s6, 0x1630
|
||||
/* 1060E8 802E4868 0240482D */ daddu $t1, $s2, $zero
|
||||
/* 1060EC 802E486C 26520008 */ addiu $s2, $s2, 8
|
||||
/* 1060F0 802E4870 3C0FE200 */ lui $t7, 0xe200
|
||||
/* 1060F4 802E4874 35EF001C */ ori $t7, $t7, 0x1c
|
||||
/* 1060F8 802E4878 3C0E0050 */ lui $t6, 0x50
|
||||
/* 1060FC 802E487C 35CE4358 */ ori $t6, $t6, 0x4358
|
||||
/* 106100 802E4880 0240302D */ daddu $a2, $s2, $zero
|
||||
/* 106104 802E4884 26520008 */ addiu $s2, $s2, 8
|
||||
/* 106108 802E4888 0240382D */ daddu $a3, $s2, $zero
|
||||
/* 10610C 802E488C 26520008 */ addiu $s2, $s2, 8
|
||||
/* 106110 802E4890 0240402D */ daddu $t0, $s2, $zero
|
||||
/* 106114 802E4894 26520008 */ addiu $s2, $s2, 8
|
||||
/* 106118 802E4898 3C0DFCFF */ lui $t5, 0xfcff
|
||||
/* 10611C 802E489C 35ADB3FF */ ori $t5, $t5, 0xb3ff
|
||||
/* 106120 802E48A0 3C0CFF2C */ lui $t4, 0xff2c
|
||||
/* 106124 802E48A4 358CFE7F */ ori $t4, $t4, 0xfe7f
|
||||
/* 106128 802E48A8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 10612C 802E48AC 26520008 */ addiu $s2, $s2, 8
|
||||
/* 106130 802E48B0 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 106134 802E48B4 3C0BD838 */ lui $t3, 0xd838
|
||||
/* 106138 802E48B8 356B0002 */ ori $t3, $t3, 2
|
||||
/* 10613C 802E48BC 3C148007 */ lui $s4, 0x8007
|
||||
/* 106140 802E48C0 269441F0 */ addiu $s4, $s4, 0x41f0
|
||||
/* 106144 802E48C4 AFB60058 */ sw $s6, 0x58($sp)
|
||||
/* 106148 802E48C8 96820000 */ lhu $v0, ($s4)
|
||||
/* 10614C 802E48CC 3C03DA38 */ lui $v1, 0xda38
|
||||
/* 106150 802E48D0 AD430000 */ sw $v1, ($t2)
|
||||
/* 106154 802E48D4 24430001 */ addiu $v1, $v0, 1
|
||||
/* 106158 802E48D8 3042FFFF */ andi $v0, $v0, 0xffff
|
||||
/* 10615C 802E48DC 00021180 */ sll $v0, $v0, 6
|
||||
/* 106160 802E48E0 A6830000 */ sh $v1, ($s4)
|
||||
/* 106164 802E48E4 3C03800A */ lui $v1, 0x800a
|
||||
/* 106168 802E48E8 8C63A674 */ lw $v1, -0x598c($v1)
|
||||
/* 10616C 802E48EC 00561021 */ addu $v0, $v0, $s6
|
||||
/* 106170 802E48F0 00621821 */ addu $v1, $v1, $v0
|
||||
/* 106174 802E48F4 3C02DE00 */ lui $v0, 0xde00
|
||||
/* 106178 802E48F8 AD430004 */ sw $v1, 4($t2)
|
||||
/* 10617C 802E48FC AD2F0000 */ sw $t7, ($t1)
|
||||
/* 106180 802E4900 AD2E0004 */ sw $t6, 4($t1)
|
||||
/* 106184 802E4904 ACC20000 */ sw $v0, ($a2)
|
||||
/* 106188 802E4908 3C02E700 */ lui $v0, 0xe700
|
||||
/* 10618C 802E490C ACDE0004 */ sw $fp, 4($a2)
|
||||
/* 106190 802E4910 ACE20000 */ sw $v0, ($a3)
|
||||
/* 106194 802E4914 3C02FA00 */ lui $v0, 0xfa00
|
||||
/* 106198 802E4918 ACE00004 */ sw $zero, 4($a3)
|
||||
/* 10619C 802E491C AD0D0000 */ sw $t5, ($t0)
|
||||
/* 1061A0 802E4920 AD0C0004 */ sw $t4, 4($t0)
|
||||
/* 1061A4 802E4924 AC820000 */ sw $v0, ($a0)
|
||||
/* 1061A8 802E4928 24020040 */ addiu $v0, $zero, 0x40
|
||||
/* 1061AC 802E492C AC950004 */ sw $s5, 4($a0)
|
||||
/* 1061B0 802E4930 ACAB0000 */ sw $t3, ($a1)
|
||||
/* 1061B4 802E4934 ACA20004 */ sw $v0, 4($a1)
|
||||
/* 1061B8 802E4938 9223000B */ lbu $v1, 0xb($s1)
|
||||
/* 1061BC 802E493C 24150048 */ addiu $s5, $zero, 0x48
|
||||
/* 1061C0 802E4940 0075102A */ slt $v0, $v1, $s5
|
||||
/* 1061C4 802E4944 10400002 */ beqz $v0, .L802E4950
|
||||
/* 1061C8 802E4948 26520008 */ addiu $s2, $s2, 8
|
||||
/* 1061CC 802E494C 0060A82D */ daddu $s5, $v1, $zero
|
||||
.L802E4950:
|
||||
/* 1061D0 802E4950 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 1061D4 802E4954 0C0B91C4 */ jal func_802E4710
|
||||
/* 1061D8 802E4958 24050003 */ addiu $a1, $zero, 3
|
||||
/* 1061DC 802E495C 44050000 */ mfc1 $a1, $f0
|
||||
/* 1061E0 802E4960 44800000 */ mtc1 $zero, $f0
|
||||
/* 1061E4 802E4964 3C073F80 */ lui $a3, 0x3f80
|
||||
/* 1061E8 802E4968 44060000 */ mfc1 $a2, $f0
|
||||
/* 1061EC 802E496C 27A40018 */ addiu $a0, $sp, 0x18
|
||||
/* 1061F0 802E4970 0C019EC8 */ jal guRotateF
|
||||
/* 1061F4 802E4974 AFA60010 */ sw $a2, 0x10($sp)
|
||||
/* 1061F8 802E4978 27A40018 */ addiu $a0, $sp, 0x18
|
||||
/* 1061FC 802E497C 26700098 */ addiu $s0, $s3, 0x98
|
||||
/* 106200 802E4980 0C019D40 */ jal guMtxF2L
|
||||
/* 106204 802E4984 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 106208 802E4988 266400D8 */ addiu $a0, $s3, 0xd8
|
||||
/* 10620C 802E498C 96820000 */ lhu $v0, ($s4)
|
||||
/* 106210 802E4990 3C03800A */ lui $v1, 0x800a
|
||||
/* 106214 802E4994 8C63A674 */ lw $v1, -0x598c($v1)
|
||||
/* 106218 802E4998 8FB70058 */ lw $s7, 0x58($sp)
|
||||
/* 10621C 802E499C 00021180 */ sll $v0, $v0, 6
|
||||
/* 106220 802E49A0 00621821 */ addu $v1, $v1, $v0
|
||||
/* 106224 802E49A4 00771821 */ addu $v1, $v1, $s7
|
||||
.L802E49A8:
|
||||
/* 106228 802E49A8 8E180000 */ lw $t8, ($s0)
|
||||
/* 10622C 802E49AC 8E190004 */ lw $t9, 4($s0)
|
||||
/* 106230 802E49B0 8E160008 */ lw $s6, 8($s0)
|
||||
/* 106234 802E49B4 8E17000C */ lw $s7, 0xc($s0)
|
||||
/* 106238 802E49B8 AC780000 */ sw $t8, ($v1)
|
||||
/* 10623C 802E49BC AC790004 */ sw $t9, 4($v1)
|
||||
/* 106240 802E49C0 AC760008 */ sw $s6, 8($v1)
|
||||
/* 106244 802E49C4 AC77000C */ sw $s7, 0xc($v1)
|
||||
/* 106248 802E49C8 26100010 */ addiu $s0, $s0, 0x10
|
||||
/* 10624C 802E49CC 1604FFF6 */ bne $s0, $a0, .L802E49A8
|
||||
/* 106250 802E49D0 24630010 */ addiu $v1, $v1, 0x10
|
||||
/* 106254 802E49D4 0240582D */ daddu $t3, $s2, $zero
|
||||
/* 106258 802E49D8 26520008 */ addiu $s2, $s2, 8
|
||||
/* 10625C 802E49DC 3C110001 */ lui $s1, 1
|
||||
/* 106260 802E49E0 36311630 */ ori $s1, $s1, 0x1630
|
||||
/* 106264 802E49E4 0240502D */ daddu $t2, $s2, $zero
|
||||
/* 106268 802E49E8 26520008 */ addiu $s2, $s2, 8
|
||||
/* 10626C 802E49EC 3C10E200 */ lui $s0, 0xe200
|
||||
/* 106270 802E49F0 3610001C */ ori $s0, $s0, 0x1c
|
||||
/* 106274 802E49F4 3C0F0050 */ lui $t7, 0x50
|
||||
/* 106278 802E49F8 35EF4358 */ ori $t7, $t7, 0x4358
|
||||
/* 10627C 802E49FC 0240382D */ daddu $a3, $s2, $zero
|
||||
/* 106280 802E4A00 26520008 */ addiu $s2, $s2, 8
|
||||
/* 106284 802E4A04 0240402D */ daddu $t0, $s2, $zero
|
||||
/* 106288 802E4A08 26520008 */ addiu $s2, $s2, 8
|
||||
/* 10628C 802E4A0C 0240482D */ daddu $t1, $s2, $zero
|
||||
/* 106290 802E4A10 26520008 */ addiu $s2, $s2, 8
|
||||
/* 106294 802E4A14 3C0EFCFF */ lui $t6, 0xfcff
|
||||
/* 106298 802E4A18 35CEB3FF */ ori $t6, $t6, 0xb3ff
|
||||
/* 10629C 802E4A1C 3C0DFF2C */ lui $t5, 0xff2c
|
||||
/* 1062A0 802E4A20 35ADFE7F */ ori $t5, $t5, 0xfe7f
|
||||
/* 1062A4 802E4A24 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 1062A8 802E4A28 26520008 */ addiu $s2, $s2, 8
|
||||
/* 1062AC 802E4A2C 0240302D */ daddu $a2, $s2, $zero
|
||||
/* 1062B0 802E4A30 26520008 */ addiu $s2, $s2, 8
|
||||
/* 1062B4 802E4A34 3C0CD838 */ lui $t4, 0xd838
|
||||
/* 1062B8 802E4A38 358C0002 */ ori $t4, $t4, 2
|
||||
/* 1062BC 802E4A3C 3C048007 */ lui $a0, 0x8007
|
||||
/* 1062C0 802E4A40 248441F0 */ addiu $a0, $a0, 0x41f0
|
||||
/* 1062C4 802E4A44 94820000 */ lhu $v0, ($a0)
|
||||
/* 1062C8 802E4A48 3C03DA38 */ lui $v1, 0xda38
|
||||
/* 1062CC 802E4A4C AD630000 */ sw $v1, ($t3)
|
||||
/* 1062D0 802E4A50 3C01800A */ lui $at, 0x800a
|
||||
/* 1062D4 802E4A54 AC32A66C */ sw $s2, -0x5994($at)
|
||||
/* 1062D8 802E4A58 24430001 */ addiu $v1, $v0, 1
|
||||
/* 1062DC 802E4A5C 3042FFFF */ andi $v0, $v0, 0xffff
|
||||
/* 1062E0 802E4A60 00021180 */ sll $v0, $v0, 6
|
||||
/* 1062E4 802E4A64 A4830000 */ sh $v1, ($a0)
|
||||
/* 1062E8 802E4A68 3C03800A */ lui $v1, 0x800a
|
||||
/* 1062EC 802E4A6C 8C63A674 */ lw $v1, -0x598c($v1)
|
||||
/* 1062F0 802E4A70 00511021 */ addu $v0, $v0, $s1
|
||||
/* 1062F4 802E4A74 00621821 */ addu $v1, $v1, $v0
|
||||
/* 1062F8 802E4A78 3C02DE00 */ lui $v0, 0xde00
|
||||
/* 1062FC 802E4A7C AD630004 */ sw $v1, 4($t3)
|
||||
/* 106300 802E4A80 AD500000 */ sw $s0, ($t2)
|
||||
/* 106304 802E4A84 AD4F0004 */ sw $t7, 4($t2)
|
||||
/* 106308 802E4A88 ACE20000 */ sw $v0, ($a3)
|
||||
/* 10630C 802E4A8C 3C02E700 */ lui $v0, 0xe700
|
||||
/* 106310 802E4A90 ACFE0004 */ sw $fp, 4($a3)
|
||||
/* 106314 802E4A94 AD020000 */ sw $v0, ($t0)
|
||||
/* 106318 802E4A98 3C02FA00 */ lui $v0, 0xfa00
|
||||
/* 10631C 802E4A9C AD000004 */ sw $zero, 4($t0)
|
||||
/* 106320 802E4AA0 AD2E0000 */ sw $t6, ($t1)
|
||||
/* 106324 802E4AA4 AD2D0004 */ sw $t5, 4($t1)
|
||||
/* 106328 802E4AA8 ACA20000 */ sw $v0, ($a1)
|
||||
/* 10632C 802E4AAC 24020040 */ addiu $v0, $zero, 0x40
|
||||
/* 106330 802E4AB0 ACB50004 */ sw $s5, 4($a1)
|
||||
/* 106334 802E4AB4 ACCC0000 */ sw $t4, ($a2)
|
||||
/* 106338 802E4AB8 ACC20004 */ sw $v0, 4($a2)
|
||||
/* 10633C 802E4ABC 8FBF0084 */ lw $ra, 0x84($sp)
|
||||
/* 106340 802E4AC0 8FBE0080 */ lw $fp, 0x80($sp)
|
||||
/* 106344 802E4AC4 8FB7007C */ lw $s7, 0x7c($sp)
|
||||
/* 106348 802E4AC8 8FB60078 */ lw $s6, 0x78($sp)
|
||||
/* 10634C 802E4ACC 8FB50074 */ lw $s5, 0x74($sp)
|
||||
/* 106350 802E4AD0 8FB40070 */ lw $s4, 0x70($sp)
|
||||
/* 106354 802E4AD4 8FB3006C */ lw $s3, 0x6c($sp)
|
||||
/* 106358 802E4AD8 8FB20068 */ lw $s2, 0x68($sp)
|
||||
/* 10635C 802E4ADC 8FB10064 */ lw $s1, 0x64($sp)
|
||||
/* 106360 802E4AE0 8FB00060 */ lw $s0, 0x60($sp)
|
||||
/* 106364 802E4AE4 03E00008 */ jr $ra
|
||||
/* 106368 802E4AE8 27BD0088 */ addiu $sp, $sp, 0x88
|
||||
|
||||
/* 10636C 802E4AEC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106370 802E4AF0 3C050A00 */ lui $a1, 0xa00
|
||||
/* 106374 802E4AF4 24A50808 */ addiu $a1, $a1, 0x808
|
||||
/* 106378 802E4AF8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 10637C 802E4AFC 0C0B91CC */ jal func_802E4730
|
||||
/* 106380 802E4B00 00000000 */ nop
|
||||
/* 106384 802E4B04 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 106388 802E4B08 03E00008 */ jr $ra
|
||||
/* 10638C 802E4B0C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -0,0 +1,27 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E4B10
|
||||
/* 106390 802E4B10 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106394 802E4B14 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 106398 802E4B18 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 10639C 802E4B1C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 1063A0 802E4B20 8E020040 */ lw $v0, 0x40($s0)
|
||||
/* 1063A4 802E4B24 0C04417A */ jal get_entity_by_index
|
||||
/* 1063A8 802E4B28 90440000 */ lbu $a0, ($v0)
|
||||
/* 1063AC 802E4B2C C4400048 */ lwc1 $f0, 0x48($v0)
|
||||
/* 1063B0 802E4B30 3C014160 */ lui $at, 0x4160
|
||||
/* 1063B4 802E4B34 44811000 */ mtc1 $at, $f2
|
||||
/* 1063B8 802E4B38 E6000048 */ swc1 $f0, 0x48($s0)
|
||||
/* 1063BC 802E4B3C C440004C */ lwc1 $f0, 0x4c($v0)
|
||||
/* 1063C0 802E4B40 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 1063C4 802E4B44 E600004C */ swc1 $f0, 0x4c($s0)
|
||||
/* 1063C8 802E4B48 C4400050 */ lwc1 $f0, 0x50($v0)
|
||||
/* 1063CC 802E4B4C E6000050 */ swc1 $f0, 0x50($s0)
|
||||
/* 1063D0 802E4B50 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 1063D4 802E4B54 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1063D8 802E4B58 03E00008 */ jr $ra
|
||||
/* 1063DC 802E4B5C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -0,0 +1,54 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E4B60
|
||||
/* 1063E0 802E4B60 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1063E4 802E4B64 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1063E8 802E4B68 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1063EC 802E4B6C 3C02802E */ lui $v0, 0x802e
|
||||
/* 1063F0 802E4B70 24424AEC */ addiu $v0, $v0, 0x4aec
|
||||
/* 1063F4 802E4B74 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1063F8 802E4B78 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1063FC 802E4B7C AE22003C */ sw $v0, 0x3c($s1)
|
||||
/* 106400 802E4B80 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 106404 802E4B84 A222000B */ sb $v0, 0xb($s1)
|
||||
/* 106408 802E4B88 8E220000 */ lw $v0, ($s1)
|
||||
/* 10640C 802E4B8C 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 106410 802E4B90 34422000 */ ori $v0, $v0, 0x2000
|
||||
/* 106414 802E4B94 AE220000 */ sw $v0, ($s1)
|
||||
/* 106418 802E4B98 0C04417A */ jal get_entity_by_index
|
||||
/* 10641C 802E4B9C 92040000 */ lbu $a0, ($s0)
|
||||
/* 106420 802E4BA0 92020009 */ lbu $v0, 9($s0)
|
||||
/* 106424 802E4BA4 54400009 */ bnel $v0, $zero, .L802E4BCC
|
||||
/* 106428 802E4BA8 A2000001 */ sb $zero, 1($s0)
|
||||
/* 10642C 802E4BAC 3C013F80 */ lui $at, 0x3f80
|
||||
/* 106430 802E4BB0 44810000 */ mtc1 $at, $f0
|
||||
/* 106434 802E4BB4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 106438 802E4BB8 A2020009 */ sb $v0, 9($s0)
|
||||
/* 10643C 802E4BBC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 106440 802E4BC0 A2020001 */ sb $v0, 1($s0)
|
||||
/* 106444 802E4BC4 080B92F4 */ j .L802E4BD0
|
||||
/* 106448 802E4BC8 E6200054 */ swc1 $f0, 0x54($s1)
|
||||
|
||||
.L802E4BCC:
|
||||
/* 10644C 802E4BCC AE200054 */ sw $zero, 0x54($s1)
|
||||
.L802E4BD0:
|
||||
/* 106450 802E4BD0 AE00000C */ sw $zero, 0xc($s0)
|
||||
/* 106454 802E4BD4 AE000010 */ sw $zero, 0x10($s0)
|
||||
/* 106458 802E4BD8 C6200054 */ lwc1 $f0, 0x54($s1)
|
||||
/* 10645C 802E4BDC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 106460 802E4BE0 AC800060 */ sw $zero, 0x60($a0)
|
||||
/* 106464 802E4BE4 AC800064 */ sw $zero, 0x64($a0)
|
||||
/* 106468 802E4BE8 AC800068 */ sw $zero, 0x68($a0)
|
||||
/* 10646C 802E4BEC 46000086 */ mov.s $f2, $f0
|
||||
/* 106470 802E4BF0 E4800058 */ swc1 $f0, 0x58($a0)
|
||||
/* 106474 802E4BF4 0C0B92C4 */ jal func_802E4B10
|
||||
/* 106478 802E4BF8 E482005C */ swc1 $f2, 0x5c($a0)
|
||||
/* 10647C 802E4BFC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 106480 802E4C00 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 106484 802E4C04 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 106488 802E4C08 03E00008 */ jr $ra
|
||||
/* 10648C 802E4C0C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
145
papermario/asm/nonmatchings/code_105700_len_2130/func_802E4C10.s
Normal file
145
papermario/asm/nonmatchings/code_105700_len_2130/func_802E4C10.s
Normal file
@ -0,0 +1,145 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E4C10
|
||||
/* 106490 802E4C10 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 106494 802E4C14 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 106498 802E4C18 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 10649C 802E4C1C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 1064A0 802E4C20 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 1064A4 802E4C24 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 1064A8 802E4C28 92030001 */ lbu $v1, 1($s0)
|
||||
/* 1064AC 802E4C2C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1064B0 802E4C30 10620014 */ beq $v1, $v0, .L802E4C84
|
||||
/* 1064B4 802E4C34 28620002 */ slti $v0, $v1, 2
|
||||
/* 1064B8 802E4C38 10400005 */ beqz $v0, .L802E4C50
|
||||
/* 1064BC 802E4C3C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1064C0 802E4C40 50600009 */ beql $v1, $zero, .L802E4C68
|
||||
/* 1064C4 802E4C44 AE200054 */ sw $zero, 0x54($s1)
|
||||
/* 1064C8 802E4C48 080B935C */ j .L802E4D70
|
||||
/* 1064CC 802E4C4C 00000000 */ nop
|
||||
|
||||
.L802E4C50:
|
||||
/* 1064D0 802E4C50 10620028 */ beq $v1, $v0, .L802E4CF4
|
||||
/* 1064D4 802E4C54 24020003 */ addiu $v0, $zero, 3
|
||||
/* 1064D8 802E4C58 1062002B */ beq $v1, $v0, .L802E4D08
|
||||
/* 1064DC 802E4C5C 00000000 */ nop
|
||||
/* 1064E0 802E4C60 080B935C */ j .L802E4D70
|
||||
/* 1064E4 802E4C64 00000000 */ nop
|
||||
|
||||
.L802E4C68:
|
||||
/* 1064E8 802E4C68 AE200058 */ sw $zero, 0x58($s1)
|
||||
/* 1064EC 802E4C6C 14A00057 */ bnez $a1, .L802E4DCC
|
||||
/* 1064F0 802E4C70 AE20005C */ sw $zero, 0x5c($s1)
|
||||
/* 1064F4 802E4C74 92020001 */ lbu $v0, 1($s0)
|
||||
/* 1064F8 802E4C78 24420001 */ addiu $v0, $v0, 1
|
||||
/* 1064FC 802E4C7C 080B935C */ j .L802E4D70
|
||||
/* 106500 802E4C80 A2020001 */ sb $v0, 1($s0)
|
||||
|
||||
.L802E4C84:
|
||||
/* 106504 802E4C84 C6200054 */ lwc1 $f0, 0x54($s1)
|
||||
/* 106508 802E4C88 3C01802F */ lui $at, 0x802f
|
||||
/* 10650C 802E4C8C D422B270 */ ldc1 $f2, -0x4d90($at)
|
||||
/* 106510 802E4C90 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 106514 802E4C94 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 106518 802E4C98 3C013FF0 */ lui $at, 0x3ff0
|
||||
/* 10651C 802E4C9C 44811800 */ mtc1 $at, $f3
|
||||
/* 106520 802E4CA0 44801000 */ mtc1 $zero, $f2
|
||||
/* 106524 802E4CA4 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 106528 802E4CA8 E6200054 */ swc1 $f0, 0x54($s1)
|
||||
/* 10652C 802E4CAC 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 106530 802E4CB0 4620103E */ c.le.d $f2, $f0
|
||||
/* 106534 802E4CB4 00000000 */ nop
|
||||
/* 106538 802E4CB8 45000009 */ bc1f .L802E4CE0
|
||||
/* 10653C 802E4CBC 00000000 */ nop
|
||||
/* 106540 802E4CC0 3C013F80 */ lui $at, 0x3f80
|
||||
/* 106544 802E4CC4 44810000 */ mtc1 $at, $f0
|
||||
/* 106548 802E4CC8 00000000 */ nop
|
||||
/* 10654C 802E4CCC E6200054 */ swc1 $f0, 0x54($s1)
|
||||
/* 106550 802E4CD0 92020001 */ lbu $v0, 1($s0)
|
||||
/* 106554 802E4CD4 A2000002 */ sb $zero, 2($s0)
|
||||
/* 106558 802E4CD8 24420001 */ addiu $v0, $v0, 1
|
||||
/* 10655C 802E4CDC A2020001 */ sb $v0, 1($s0)
|
||||
.L802E4CE0:
|
||||
/* 106560 802E4CE0 C6200054 */ lwc1 $f0, 0x54($s1)
|
||||
/* 106564 802E4CE4 46000086 */ mov.s $f2, $f0
|
||||
/* 106568 802E4CE8 E620005C */ swc1 $f0, 0x5c($s1)
|
||||
/* 10656C 802E4CEC 080B935C */ j .L802E4D70
|
||||
/* 106570 802E4CF0 E6220058 */ swc1 $f2, 0x58($s1)
|
||||
|
||||
.L802E4CF4:
|
||||
/* 106574 802E4CF4 0C0B92C4 */ jal func_802E4B10
|
||||
/* 106578 802E4CF8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 10657C 802E4CFC 92020001 */ lbu $v0, 1($s0)
|
||||
/* 106580 802E4D00 24420001 */ addiu $v0, $v0, 1
|
||||
/* 106584 802E4D04 A2020001 */ sb $v0, 1($s0)
|
||||
.L802E4D08:
|
||||
/* 106588 802E4D08 3C02800A */ lui $v0, 0x800a
|
||||
/* 10658C 802E4D0C 8C42A650 */ lw $v0, -0x59b0($v0)
|
||||
/* 106590 802E4D10 14400017 */ bnez $v0, .L802E4D70
|
||||
/* 106594 802E4D14 00000000 */ nop
|
||||
/* 106598 802E4D18 92020002 */ lbu $v0, 2($s0)
|
||||
/* 10659C 802E4D1C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 1065A0 802E4D20 A2020002 */ sb $v0, 2($s0)
|
||||
/* 1065A4 802E4D24 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 1065A8 802E4D28 1C400011 */ bgtz $v0, .L802E4D70
|
||||
/* 1065AC 802E4D2C 24020032 */ addiu $v0, $zero, 0x32
|
||||
/* 1065B0 802E4D30 9204000A */ lbu $a0, 0xa($s0)
|
||||
/* 1065B4 802E4D34 3C0141B0 */ lui $at, 0x41b0
|
||||
/* 1065B8 802E4D38 44810000 */ mtc1 $at, $f0
|
||||
/* 1065BC 802E4D3C 3C014100 */ lui $at, 0x4100
|
||||
/* 1065C0 802E4D40 44811000 */ mtc1 $at, $f2
|
||||
/* 1065C4 802E4D44 A2020002 */ sb $v0, 2($s0)
|
||||
/* 1065C8 802E4D48 24020004 */ addiu $v0, $zero, 4
|
||||
/* 1065CC 802E4D4C AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 1065D0 802E4D50 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 1065D4 802E4D54 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* 1065D8 802E4D58 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 1065DC 802E4D5C E7A20014 */ swc1 $f2, 0x14($sp)
|
||||
/* 1065E0 802E4D60 8E250048 */ lw $a1, 0x48($s1)
|
||||
/* 1065E4 802E4D64 8E26004C */ lw $a2, 0x4c($s1)
|
||||
/* 1065E8 802E4D68 0C01C154 */ jal func_80070550
|
||||
/* 1065EC 802E4D6C 8E270050 */ lw $a3, 0x50($s1)
|
||||
.L802E4D70:
|
||||
/* 1065F0 802E4D70 0C04417A */ jal get_entity_by_index
|
||||
/* 1065F4 802E4D74 92040000 */ lbu $a0, ($s0)
|
||||
/* 1065F8 802E4D78 0C0B836C */ jal func_802E0DB0
|
||||
/* 1065FC 802E4D7C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 106600 802E4D80 10400012 */ beqz $v0, .L802E4DCC
|
||||
/* 106604 802E4D84 00000000 */ nop
|
||||
/* 106608 802E4D88 0C043F5A */ jal func_8010FD68
|
||||
/* 10660C 802E4D8C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 106610 802E4D90 0C03805E */ jal func_800E0178
|
||||
/* 106614 802E4D94 00000000 */ nop
|
||||
/* 106618 802E4D98 3C038011 */ lui $v1, 0x8011
|
||||
/* 10661C 802E4D9C 2463EFC8 */ addiu $v1, $v1, -0x1038
|
||||
/* 106620 802E4DA0 8C620004 */ lw $v0, 4($v1)
|
||||
/* 106624 802E4DA4 24040001 */ addiu $a0, $zero, 1
|
||||
/* 106628 802E4DA8 AC600054 */ sw $zero, 0x54($v1)
|
||||
/* 10662C 802E4DAC 34420200 */ ori $v0, $v0, 0x200
|
||||
/* 106630 802E4DB0 0C009C22 */ jal func_80027088
|
||||
/* 106634 802E4DB4 AC620004 */ sw $v0, 4($v1)
|
||||
/* 106638 802E4DB8 3C03800A */ lui $v1, 0x800a
|
||||
/* 10663C 802E4DBC 2463A650 */ addiu $v1, $v1, -0x59b0
|
||||
/* 106640 802E4DC0 8C620000 */ lw $v0, ($v1)
|
||||
/* 106644 802E4DC4 34420040 */ ori $v0, $v0, 0x40
|
||||
/* 106648 802E4DC8 AC620000 */ sw $v0, ($v1)
|
||||
.L802E4DCC:
|
||||
/* 10664C 802E4DCC 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 106650 802E4DD0 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 106654 802E4DD4 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 106658 802E4DD8 03E00008 */ jr $ra
|
||||
/* 10665C 802E4DDC 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
/* 106660 802E4DE0 8C820040 */ lw $v0, 0x40($a0)
|
||||
/* 106664 802E4DE4 3C013F80 */ lui $at, 0x3f80
|
||||
/* 106668 802E4DE8 44810000 */ mtc1 $at, $f0
|
||||
/* 10666C 802E4DEC A0400001 */ sb $zero, 1($v0)
|
||||
/* 106670 802E4DF0 E4800054 */ swc1 $f0, 0x54($a0)
|
||||
/* 106674 802E4DF4 E4800058 */ swc1 $f0, 0x58($a0)
|
||||
/* 106678 802E4DF8 E480005C */ swc1 $f0, 0x5c($a0)
|
||||
/* 10667C 802E4DFC 03E00008 */ jr $ra
|
||||
/* 106680 802E4E00 AC800068 */ sw $zero, 0x68($a0)
|
||||
|
350
papermario/asm/nonmatchings/code_105700_len_2130/func_802E4E04.s
Normal file
350
papermario/asm/nonmatchings/code_105700_len_2130/func_802E4E04.s
Normal file
@ -0,0 +1,350 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E4E04
|
||||
/* 106684 802E4E04 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 106688 802E4E08 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 10668C 802E4E0C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 106690 802E4E10 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 106694 802E4E14 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 106698 802E4E18 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 10669C 802E4E1C F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 1066A0 802E4E20 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 1066A4 802E4E24 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 1066A8 802E4E28 92030001 */ lbu $v1, 1($s0)
|
||||
/* 1066AC 802E4E2C 3C128011 */ lui $s2, 0x8011
|
||||
/* 1066B0 802E4E30 2652EFC8 */ addiu $s2, $s2, -0x1038
|
||||
/* 1066B4 802E4E34 2C620006 */ sltiu $v0, $v1, 6
|
||||
/* 1066B8 802E4E38 1040012B */ beqz $v0, .L802E52E8
|
||||
/* 1066BC 802E4E3C 00031080 */ sll $v0, $v1, 2
|
||||
/* 1066C0 802E4E40 3C01802F */ lui $at, 0x802f
|
||||
/* 1066C4 802E4E44 00220821 */ addu $at, $at, $v0
|
||||
/* 1066C8 802E4E48 8C22B278 */ lw $v0, -0x4d88($at)
|
||||
/* 1066CC 802E4E4C 00400008 */ jr $v0
|
||||
/* 1066D0 802E4E50 00000000 */ nop
|
||||
/* 1066D4 802E4E54 3C014000 */ lui $at, 0x4000
|
||||
/* 1066D8 802E4E58 44810000 */ mtc1 $at, $f0
|
||||
/* 1066DC 802E4E5C 00000000 */ nop
|
||||
/* 1066E0 802E4E60 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 1066E4 802E4E64 8E250048 */ lw $a1, 0x48($s1)
|
||||
/* 1066E8 802E4E68 8E26004C */ lw $a2, 0x4c($s1)
|
||||
/* 1066EC 802E4E6C 8E270050 */ lw $a3, 0x50($s1)
|
||||
/* 1066F0 802E4E70 0C01BFBC */ jal func_8006FEF0
|
||||
/* 1066F4 802E4E74 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 1066F8 802E4E78 92020001 */ lbu $v0, 1($s0)
|
||||
/* 1066FC 802E4E7C 3C0140C0 */ lui $at, 0x40c0
|
||||
/* 106700 802E4E80 44810000 */ mtc1 $at, $f0
|
||||
/* 106704 802E4E84 AE000020 */ sw $zero, 0x20($s0)
|
||||
/* 106708 802E4E88 24420001 */ addiu $v0, $v0, 1
|
||||
/* 10670C 802E4E8C A2020001 */ sb $v0, 1($s0)
|
||||
/* 106710 802E4E90 080B94BA */ j .L802E52E8
|
||||
/* 106714 802E4E94 E6000014 */ swc1 $f0, 0x14($s0)
|
||||
|
||||
/* 106718 802E4E98 C620004C */ lwc1 $f0, 0x4c($s1)
|
||||
/* 10671C 802E4E9C C6020014 */ lwc1 $f2, 0x14($s0)
|
||||
/* 106720 802E4EA0 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 106724 802E4EA4 3C013F80 */ lui $at, 0x3f80
|
||||
/* 106728 802E4EA8 44811000 */ mtc1 $at, $f2
|
||||
/* 10672C 802E4EAC E620004C */ swc1 $f0, 0x4c($s1)
|
||||
/* 106730 802E4EB0 C6000014 */ lwc1 $f0, 0x14($s0)
|
||||
/* 106734 802E4EB4 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 106738 802E4EB8 3C014000 */ lui $at, 0x4000
|
||||
/* 10673C 802E4EBC 44811000 */ mtc1 $at, $f2
|
||||
/* 106740 802E4EC0 00000000 */ nop
|
||||
/* 106744 802E4EC4 4602003E */ c.le.s $f0, $f2
|
||||
/* 106748 802E4EC8 00000000 */ nop
|
||||
/* 10674C 802E4ECC 45000106 */ bc1f .L802E52E8
|
||||
/* 106750 802E4ED0 E6000014 */ swc1 $f0, 0x14($s0)
|
||||
/* 106754 802E4ED4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 106758 802E4ED8 3C05802F */ lui $a1, 0x802f
|
||||
/* 10675C 802E4EDC 24A5A744 */ addiu $a1, $a1, -0x58bc
|
||||
/* 106760 802E4EE0 92020001 */ lbu $v0, 1($s0)
|
||||
/* 106764 802E4EE4 2403DFFF */ addiu $v1, $zero, -0x2001
|
||||
/* 106768 802E4EE8 24420001 */ addiu $v0, $v0, 1
|
||||
/* 10676C 802E4EEC A2020001 */ sb $v0, 1($s0)
|
||||
/* 106770 802E4EF0 8E220000 */ lw $v0, ($s1)
|
||||
/* 106774 802E4EF4 3C01C120 */ lui $at, 0xc120
|
||||
/* 106778 802E4EF8 44810000 */ mtc1 $at, $f0
|
||||
/* 10677C 802E4EFC 00431024 */ and $v0, $v0, $v1
|
||||
/* 106780 802E4F00 AE220000 */ sw $v0, ($s1)
|
||||
/* 106784 802E4F04 0C0442F3 */ jal func_80110BCC
|
||||
/* 106788 802E4F08 E6000054 */ swc1 $f0, 0x54($s0)
|
||||
/* 10678C 802E4F0C 3C02802E */ lui $v0, 0x802e
|
||||
/* 106790 802E4F10 24424AEC */ addiu $v0, $v0, 0x4aec
|
||||
/* 106794 802E4F14 080B94BA */ j .L802E52E8
|
||||
/* 106798 802E4F18 AE22003C */ sw $v0, 0x3c($s1)
|
||||
|
||||
/* 10679C 802E4F1C C60C0020 */ lwc1 $f12, 0x20($s0)
|
||||
/* 1067A0 802E4F20 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 1067A4 802E4F24 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 1067A8 802E4F28 44810000 */ mtc1 $at, $f0
|
||||
/* 1067AC 802E4F2C 00000000 */ nop
|
||||
/* 1067B0 802E4F30 46006302 */ mul.s $f12, $f12, $f0
|
||||
/* 1067B4 802E4F34 00000000 */ nop
|
||||
/* 1067B8 802E4F38 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 1067BC 802E4F3C 4481A000 */ mtc1 $at, $f20
|
||||
/* 1067C0 802E4F40 0C00A85B */ jal sin_rad
|
||||
/* 1067C4 802E4F44 46146303 */ div.s $f12, $f12, $f20
|
||||
/* 1067C8 802E4F48 3C013F00 */ lui $at, 0x3f00
|
||||
/* 1067CC 802E4F4C 44811000 */ mtc1 $at, $f2
|
||||
/* 1067D0 802E4F50 00000000 */ nop
|
||||
/* 1067D4 802E4F54 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 1067D8 802E4F58 00000000 */ nop
|
||||
/* 1067DC 802E4F5C C622004C */ lwc1 $f2, 0x4c($s1)
|
||||
/* 1067E0 802E4F60 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 1067E4 802E4F64 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 1067E8 802E4F68 44810000 */ mtc1 $at, $f0
|
||||
/* 1067EC 802E4F6C E622004C */ swc1 $f2, 0x4c($s1)
|
||||
/* 1067F0 802E4F70 C6020020 */ lwc1 $f2, 0x20($s0)
|
||||
/* 1067F4 802E4F74 46001001 */ sub.s $f0, $f2, $f0
|
||||
/* 1067F8 802E4F78 44802000 */ mtc1 $zero, $f4
|
||||
/* 1067FC 802E4F7C 00000000 */ nop
|
||||
/* 106800 802E4F80 4604003C */ c.lt.s $f0, $f4
|
||||
/* 106804 802E4F84 00000000 */ nop
|
||||
/* 106808 802E4F88 45000003 */ bc1f .L802E4F98
|
||||
/* 10680C 802E4F8C E6000020 */ swc1 $f0, 0x20($s0)
|
||||
/* 106810 802E4F90 46140000 */ add.s $f0, $f0, $f20
|
||||
/* 106814 802E4F94 E6000020 */ swc1 $f0, 0x20($s0)
|
||||
.L802E4F98:
|
||||
/* 106818 802E4F98 C6200064 */ lwc1 $f0, 0x64($s1)
|
||||
/* 10681C 802E4F9C C6020054 */ lwc1 $f2, 0x54($s0)
|
||||
/* 106820 802E4FA0 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 106824 802E4FA4 3C014000 */ lui $at, 0x4000
|
||||
/* 106828 802E4FA8 44811000 */ mtc1 $at, $f2
|
||||
/* 10682C 802E4FAC E6200064 */ swc1 $f0, 0x64($s1)
|
||||
/* 106830 802E4FB0 C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 106834 802E4FB4 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 106838 802E4FB8 4600203E */ c.le.s $f4, $f0
|
||||
/* 10683C 802E4FBC 00000000 */ nop
|
||||
/* 106840 802E4FC0 450000AC */ bc1f .L802E5274
|
||||
/* 106844 802E4FC4 E6000054 */ swc1 $f0, 0x54($s0)
|
||||
/* 106848 802E4FC8 92020001 */ lbu $v0, 1($s0)
|
||||
/* 10684C 802E4FCC E6040018 */ swc1 $f4, 0x18($s0)
|
||||
/* 106850 802E4FD0 E604001C */ swc1 $f4, 0x1c($s0)
|
||||
/* 106854 802E4FD4 24420001 */ addiu $v0, $v0, 1
|
||||
/* 106858 802E4FD8 A2020001 */ sb $v0, 1($s0)
|
||||
/* 10685C 802E4FDC 864200B0 */ lh $v0, 0xb0($s2)
|
||||
/* 106860 802E4FE0 2404FFFF */ addiu $a0, $zero, -1
|
||||
/* 106864 802E4FE4 A2000003 */ sb $zero, 3($s0)
|
||||
/* 106868 802E4FE8 24420005 */ addiu $v0, $v0, 5
|
||||
/* 10686C 802E4FEC 44820000 */ mtc1 $v0, $f0
|
||||
/* 106870 802E4FF0 00000000 */ nop
|
||||
/* 106874 802E4FF4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 106878 802E4FF8 0C03A8B3 */ jal recover_hp
|
||||
/* 10687C 802E4FFC E6000004 */ swc1 $f0, 4($s0)
|
||||
/* 106880 802E5000 0C03A899 */ jal recover_fp
|
||||
/* 106884 802E5004 2404FFFF */ addiu $a0, $zero, -1
|
||||
/* 106888 802E5008 0C05272D */ jal play_sound
|
||||
/* 10688C 802E500C 24040131 */ addiu $a0, $zero, 0x131
|
||||
/* 106890 802E5010 080B949D */ j .L802E5274
|
||||
/* 106894 802E5014 00000000 */ nop
|
||||
|
||||
/* 106898 802E5018 C600001C */ lwc1 $f0, 0x1c($s0)
|
||||
/* 10689C 802E501C 3C014000 */ lui $at, 0x4000
|
||||
/* 1068A0 802E5020 44811800 */ mtc1 $at, $f3
|
||||
/* 1068A4 802E5024 44801000 */ mtc1 $zero, $f2
|
||||
/* 1068A8 802E5028 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 1068AC 802E502C 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 1068B0 802E5030 3C014120 */ lui $at, 0x4120
|
||||
/* 1068B4 802E5034 44811000 */ mtc1 $at, $f2
|
||||
/* 1068B8 802E5038 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 1068BC 802E503C 4600103E */ c.le.s $f2, $f0
|
||||
/* 1068C0 802E5040 00000000 */ nop
|
||||
/* 1068C4 802E5044 45000002 */ bc1f .L802E5050
|
||||
/* 1068C8 802E5048 E600001C */ swc1 $f0, 0x1c($s0)
|
||||
/* 1068CC 802E504C E602001C */ swc1 $f2, 0x1c($s0)
|
||||
.L802E5050:
|
||||
/* 1068D0 802E5050 C6020018 */ lwc1 $f2, 0x18($s0)
|
||||
/* 1068D4 802E5054 3C014190 */ lui $at, 0x4190
|
||||
/* 1068D8 802E5058 44810000 */ mtc1 $at, $f0
|
||||
/* 1068DC 802E505C 00000000 */ nop
|
||||
/* 1068E0 802E5060 46001000 */ add.s $f0, $f2, $f0
|
||||
/* 1068E4 802E5064 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 1068E8 802E5068 4481B000 */ mtc1 $at, $f22
|
||||
/* 1068EC 802E506C 00000000 */ nop
|
||||
/* 1068F0 802E5070 4600B03E */ c.le.s $f22, $f0
|
||||
/* 1068F4 802E5074 00000000 */ nop
|
||||
/* 1068F8 802E5078 45000003 */ bc1f .L802E5088
|
||||
/* 1068FC 802E507C E6000018 */ swc1 $f0, 0x18($s0)
|
||||
/* 106900 802E5080 46160001 */ sub.s $f0, $f0, $f22
|
||||
/* 106904 802E5084 E6000018 */ swc1 $f0, 0x18($s0)
|
||||
.L802E5088:
|
||||
/* 106908 802E5088 C60C0018 */ lwc1 $f12, 0x18($s0)
|
||||
/* 10690C 802E508C 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 106910 802E5090 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 106914 802E5094 4481A000 */ mtc1 $at, $f20
|
||||
/* 106918 802E5098 00000000 */ nop
|
||||
/* 10691C 802E509C 46146302 */ mul.s $f12, $f12, $f20
|
||||
/* 106920 802E50A0 00000000 */ nop
|
||||
/* 106924 802E50A4 0C00A85B */ jal sin_rad
|
||||
/* 106928 802E50A8 46166303 */ div.s $f12, $f12, $f22
|
||||
/* 10692C 802E50AC C60C0018 */ lwc1 $f12, 0x18($s0)
|
||||
/* 106930 802E50B0 46146302 */ mul.s $f12, $f12, $f20
|
||||
/* 106934 802E50B4 00000000 */ nop
|
||||
/* 106938 802E50B8 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 10693C 802E50BC 46001502 */ mul.s $f20, $f2, $f0
|
||||
/* 106940 802E50C0 00000000 */ nop
|
||||
/* 106944 802E50C4 0C00A874 */ jal cos_rad
|
||||
/* 106948 802E50C8 46166303 */ div.s $f12, $f12, $f22
|
||||
/* 10694C 802E50CC C6060004 */ lwc1 $f6, 4($s0)
|
||||
/* 106950 802E50D0 3C01802F */ lui $at, 0x802f
|
||||
/* 106954 802E50D4 D424B290 */ ldc1 $f4, -0x4d70($at)
|
||||
/* 106958 802E50D8 92030003 */ lbu $v1, 3($s0)
|
||||
/* 10695C 802E50DC 460030A1 */ cvt.d.s $f2, $f6
|
||||
/* 106960 802E50E0 46241081 */ sub.d $f2, $f2, $f4
|
||||
/* 106964 802E50E4 24620001 */ addiu $v0, $v1, 1
|
||||
/* 106968 802E50E8 462010A0 */ cvt.s.d $f2, $f2
|
||||
/* 10696C 802E50EC E6020004 */ swc1 $f2, 4($s0)
|
||||
/* 106970 802E50F0 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 106974 802E50F4 30630001 */ andi $v1, $v1, 1
|
||||
/* 106978 802E50F8 46001082 */ mul.s $f2, $f2, $f0
|
||||
/* 10697C 802E50FC 00000000 */ nop
|
||||
/* 106980 802E5100 1060000F */ beqz $v1, .L802E5140
|
||||
/* 106984 802E5104 A2020003 */ sb $v0, 3($s0)
|
||||
/* 106988 802E5108 C6400028 */ lwc1 $f0, 0x28($s2)
|
||||
/* 10698C 802E510C 46140000 */ add.s $f0, $f0, $f20
|
||||
/* 106990 802E5110 44050000 */ mfc1 $a1, $f0
|
||||
/* 106994 802E5114 C640002C */ lwc1 $f0, 0x2c($s2)
|
||||
/* 106998 802E5118 46060000 */ add.s $f0, $f0, $f6
|
||||
/* 10699C 802E511C 44060000 */ mfc1 $a2, $f0
|
||||
/* 1069A0 802E5120 C6400030 */ lwc1 $f0, 0x30($s2)
|
||||
/* 1069A4 802E5124 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 1069A8 802E5128 44070000 */ mfc1 $a3, $f0
|
||||
/* 1069AC 802E512C 3C014100 */ lui $at, 0x4100
|
||||
/* 1069B0 802E5130 44810000 */ mtc1 $at, $f0
|
||||
/* 1069B4 802E5134 24040003 */ addiu $a0, $zero, 3
|
||||
/* 1069B8 802E5138 0C01BFBC */ jal func_8006FEF0
|
||||
/* 1069BC 802E513C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
.L802E5140:
|
||||
/* 1069C0 802E5140 C6000004 */ lwc1 $f0, 4($s0)
|
||||
/* 1069C4 802E5144 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 1069C8 802E5148 44811000 */ mtc1 $at, $f2
|
||||
/* 1069CC 802E514C 00000000 */ nop
|
||||
/* 1069D0 802E5150 4602003C */ c.lt.s $f0, $f2
|
||||
/* 1069D4 802E5154 00000000 */ nop
|
||||
/* 1069D8 802E5158 45000005 */ bc1f .L802E5170
|
||||
/* 1069DC 802E515C 00000000 */ nop
|
||||
/* 1069E0 802E5160 92020001 */ lbu $v0, 1($s0)
|
||||
/* 1069E4 802E5164 E6020004 */ swc1 $f2, 4($s0)
|
||||
/* 1069E8 802E5168 24420001 */ addiu $v0, $v0, 1
|
||||
/* 1069EC 802E516C A2020001 */ sb $v0, 1($s0)
|
||||
.L802E5170:
|
||||
/* 1069F0 802E5170 C60C0020 */ lwc1 $f12, 0x20($s0)
|
||||
/* 1069F4 802E5174 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 1069F8 802E5178 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 1069FC 802E517C 44810000 */ mtc1 $at, $f0
|
||||
/* 106A00 802E5180 00000000 */ nop
|
||||
/* 106A04 802E5184 46006302 */ mul.s $f12, $f12, $f0
|
||||
/* 106A08 802E5188 00000000 */ nop
|
||||
/* 106A0C 802E518C 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 106A10 802E5190 4481A000 */ mtc1 $at, $f20
|
||||
/* 106A14 802E5194 0C00A85B */ jal sin_rad
|
||||
/* 106A18 802E5198 46146303 */ div.s $f12, $f12, $f20
|
||||
/* 106A1C 802E519C 3C013F00 */ lui $at, 0x3f00
|
||||
/* 106A20 802E51A0 44811000 */ mtc1 $at, $f2
|
||||
/* 106A24 802E51A4 00000000 */ nop
|
||||
/* 106A28 802E51A8 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 106A2C 802E51AC 00000000 */ nop
|
||||
/* 106A30 802E51B0 C622004C */ lwc1 $f2, 0x4c($s1)
|
||||
/* 106A34 802E51B4 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 106A38 802E51B8 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 106A3C 802E51BC 44812000 */ mtc1 $at, $f4
|
||||
/* 106A40 802E51C0 E622004C */ swc1 $f2, 0x4c($s1)
|
||||
/* 106A44 802E51C4 C6000020 */ lwc1 $f0, 0x20($s0)
|
||||
/* 106A48 802E51C8 46040081 */ sub.s $f2, $f0, $f4
|
||||
/* 106A4C 802E51CC 44800000 */ mtc1 $zero, $f0
|
||||
/* 106A50 802E51D0 00000000 */ nop
|
||||
/* 106A54 802E51D4 4600103C */ c.lt.s $f2, $f0
|
||||
/* 106A58 802E51D8 00000000 */ nop
|
||||
/* 106A5C 802E51DC 45000003 */ bc1f .L802E51EC
|
||||
/* 106A60 802E51E0 E6020020 */ swc1 $f2, 0x20($s0)
|
||||
/* 106A64 802E51E4 46141000 */ add.s $f0, $f2, $f20
|
||||
/* 106A68 802E51E8 E6000020 */ swc1 $f0, 0x20($s0)
|
||||
.L802E51EC:
|
||||
/* 106A6C 802E51EC C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 106A70 802E51F0 3C013FF0 */ lui $at, 0x3ff0
|
||||
/* 106A74 802E51F4 44811800 */ mtc1 $at, $f3
|
||||
/* 106A78 802E51F8 44801000 */ mtc1 $zero, $f2
|
||||
/* 106A7C 802E51FC 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 106A80 802E5200 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 106A84 802E5204 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 106A88 802E5208 4600203C */ c.lt.s $f4, $f0
|
||||
/* 106A8C 802E520C 00000000 */ nop
|
||||
/* 106A90 802E5210 45000002 */ bc1f .L802E521C
|
||||
/* 106A94 802E5214 E6000054 */ swc1 $f0, 0x54($s0)
|
||||
/* 106A98 802E5218 E6040054 */ swc1 $f4, 0x54($s0)
|
||||
.L802E521C:
|
||||
/* 106A9C 802E521C C6220064 */ lwc1 $f2, 0x64($s1)
|
||||
/* 106AA0 802E5220 C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 106AA4 802E5224 46001000 */ add.s $f0, $f2, $f0
|
||||
/* 106AA8 802E5228 4600A03E */ c.le.s $f20, $f0
|
||||
/* 106AAC 802E522C 00000000 */ nop
|
||||
/* 106AB0 802E5230 45000003 */ bc1f .L802E5240
|
||||
/* 106AB4 802E5234 E6200064 */ swc1 $f0, 0x64($s1)
|
||||
/* 106AB8 802E5238 46140001 */ sub.s $f0, $f0, $f20
|
||||
/* 106ABC 802E523C E6200064 */ swc1 $f0, 0x64($s1)
|
||||
.L802E5240:
|
||||
/* 106AC0 802E5240 9222000B */ lbu $v0, 0xb($s1)
|
||||
/* 106AC4 802E5244 2442FFFB */ addiu $v0, $v0, -5
|
||||
/* 106AC8 802E5248 A222000B */ sb $v0, 0xb($s1)
|
||||
/* 106ACC 802E524C 304200FF */ andi $v0, $v0, 0xff
|
||||
/* 106AD0 802E5250 2C420007 */ sltiu $v0, $v0, 7
|
||||
/* 106AD4 802E5254 10400007 */ beqz $v0, .L802E5274
|
||||
/* 106AD8 802E5258 24020005 */ addiu $v0, $zero, 5
|
||||
/* 106ADC 802E525C A222000B */ sb $v0, 0xb($s1)
|
||||
/* 106AE0 802E5260 92030001 */ lbu $v1, 1($s0)
|
||||
/* 106AE4 802E5264 24020004 */ addiu $v0, $zero, 4
|
||||
/* 106AE8 802E5268 14620002 */ bne $v1, $v0, .L802E5274
|
||||
/* 106AEC 802E526C 24620001 */ addiu $v0, $v1, 1
|
||||
/* 106AF0 802E5270 A2020001 */ sb $v0, 1($s0)
|
||||
.L802E5274:
|
||||
/* 106AF4 802E5274 96020024 */ lhu $v0, 0x24($s0)
|
||||
/* 106AF8 802E5278 C6200064 */ lwc1 $f0, 0x64($s1)
|
||||
/* 106AFC 802E527C 00021080 */ sll $v0, $v0, 2
|
||||
/* 106B00 802E5280 02021021 */ addu $v0, $s0, $v0
|
||||
/* 106B04 802E5284 E4400028 */ swc1 $f0, 0x28($v0)
|
||||
/* 106B08 802E5288 96020024 */ lhu $v0, 0x24($s0)
|
||||
/* 106B0C 802E528C 24420001 */ addiu $v0, $v0, 1
|
||||
/* 106B10 802E5290 A6020024 */ sh $v0, 0x24($s0)
|
||||
/* 106B14 802E5294 3042FFFF */ andi $v0, $v0, 0xffff
|
||||
/* 106B18 802E5298 2C42000B */ sltiu $v0, $v0, 0xb
|
||||
/* 106B1C 802E529C 50400012 */ beql $v0, $zero, .L802E52E8
|
||||
/* 106B20 802E52A0 A6000024 */ sh $zero, 0x24($s0)
|
||||
/* 106B24 802E52A4 080B94BA */ j .L802E52E8
|
||||
/* 106B28 802E52A8 00000000 */ nop
|
||||
|
||||
/* 106B2C 802E52AC 8E420004 */ lw $v0, 4($s2)
|
||||
/* 106B30 802E52B0 2403FDFF */ addiu $v1, $zero, -0x201
|
||||
/* 106B34 802E52B4 00431024 */ and $v0, $v0, $v1
|
||||
/* 106B38 802E52B8 0C038069 */ jal func_800E01A4
|
||||
/* 106B3C 802E52BC AE420004 */ sw $v0, 4($s2)
|
||||
/* 106B40 802E52C0 0C009C22 */ jal func_80027088
|
||||
/* 106B44 802E52C4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 106B48 802E52C8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 106B4C 802E52CC 3C05800A */ lui $a1, 0x800a
|
||||
/* 106B50 802E52D0 24A5A650 */ addiu $a1, $a1, -0x59b0
|
||||
/* 106B54 802E52D4 8CA20000 */ lw $v0, ($a1)
|
||||
/* 106B58 802E52D8 2403FFBF */ addiu $v1, $zero, -0x41
|
||||
/* 106B5C 802E52DC 00431024 */ and $v0, $v0, $v1
|
||||
/* 106B60 802E52E0 0C043F5A */ jal func_8010FD68
|
||||
/* 106B64 802E52E4 ACA20000 */ sw $v0, ($a1)
|
||||
.L802E52E8:
|
||||
/* 106B68 802E52E8 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 106B6C 802E52EC 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 106B70 802E52F0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 106B74 802E52F4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 106B78 802E52F8 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 106B7C 802E52FC D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 106B80 802E5300 03E00008 */ jr $ra
|
||||
/* 106B84 802E5304 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
/* 106B88 802E5308 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106B8C 802E530C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 106B90 802E5310 0C0B8D94 */ jal func_802E3650
|
||||
/* 106B94 802E5314 00000000 */ nop
|
||||
/* 106B98 802E5318 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 106B9C 802E531C 03E00008 */ jr $ra
|
||||
/* 106BA0 802E5320 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
189
papermario/asm/nonmatchings/code_105700_len_2130/func_802E5324.s
Normal file
189
papermario/asm/nonmatchings/code_105700_len_2130/func_802E5324.s
Normal file
@ -0,0 +1,189 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E5324
|
||||
/* 106BA4 802E5324 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 106BA8 802E5328 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 106BAC 802E532C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 106BB0 802E5330 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 106BB4 802E5334 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 106BB8 802E5338 0C0B92C4 */ jal func_802E4B10
|
||||
/* 106BBC 802E533C 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 106BC0 802E5340 C6200054 */ lwc1 $f0, 0x54($s1)
|
||||
/* 106BC4 802E5344 3C013FF0 */ lui $at, 0x3ff0
|
||||
/* 106BC8 802E5348 44812800 */ mtc1 $at, $f5
|
||||
/* 106BCC 802E534C 44802000 */ mtc1 $zero, $f4
|
||||
/* 106BD0 802E5350 460000A1 */ cvt.d.s $f2, $f0
|
||||
/* 106BD4 802E5354 4624103C */ c.lt.d $f2, $f4
|
||||
/* 106BD8 802E5358 00000000 */ nop
|
||||
/* 106BDC 802E535C 45010026 */ bc1t .L802E53F8
|
||||
/* 106BE0 802E5360 24020001 */ addiu $v0, $zero, 1
|
||||
/* 106BE4 802E5364 92030008 */ lbu $v1, 8($s0)
|
||||
/* 106BE8 802E5368 10620010 */ beq $v1, $v0, .L802E53AC
|
||||
/* 106BEC 802E536C 28620002 */ slti $v0, $v1, 2
|
||||
/* 106BF0 802E5370 50400005 */ beql $v0, $zero, .L802E5388
|
||||
/* 106BF4 802E5374 28620011 */ slti $v0, $v1, 0x11
|
||||
/* 106BF8 802E5378 10600007 */ beqz $v1, .L802E5398
|
||||
/* 106BFC 802E537C 00000000 */ nop
|
||||
/* 106C00 802E5380 080B94FC */ j .L802E53F0
|
||||
/* 106C04 802E5384 A2000008 */ sb $zero, 8($s0)
|
||||
|
||||
.L802E5388:
|
||||
/* 106C08 802E5388 50400019 */ beql $v0, $zero, .L802E53F0
|
||||
/* 106C0C 802E538C A2000008 */ sb $zero, 8($s0)
|
||||
/* 106C10 802E5390 080B94F9 */ j .L802E53E4
|
||||
/* 106C14 802E5394 00000000 */ nop
|
||||
|
||||
.L802E5398:
|
||||
/* 106C18 802E5398 3C01802F */ lui $at, 0x802f
|
||||
/* 106C1C 802E539C D420B298 */ ldc1 $f0, -0x4d68($at)
|
||||
/* 106C20 802E53A0 46201000 */ add.d $f0, $f2, $f0
|
||||
/* 106C24 802E53A4 080B94F8 */ j .L802E53E0
|
||||
/* 106C28 802E53A8 46200020 */ cvt.s.d $f0, $f0
|
||||
|
||||
.L802E53AC:
|
||||
/* 106C2C 802E53AC 3C01802F */ lui $at, 0x802f
|
||||
/* 106C30 802E53B0 D420B2A0 */ ldc1 $f0, -0x4d60($at)
|
||||
/* 106C34 802E53B4 46201001 */ sub.d $f0, $f2, $f0
|
||||
/* 106C38 802E53B8 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 106C3C 802E53BC E6200054 */ swc1 $f0, 0x54($s1)
|
||||
/* 106C40 802E53C0 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 106C44 802E53C4 4624003E */ c.le.d $f0, $f4
|
||||
/* 106C48 802E53C8 00000000 */ nop
|
||||
/* 106C4C 802E53CC 45000008 */ bc1f .L802E53F0
|
||||
/* 106C50 802E53D0 00000000 */ nop
|
||||
/* 106C54 802E53D4 3C013F80 */ lui $at, 0x3f80
|
||||
/* 106C58 802E53D8 44810000 */ mtc1 $at, $f0
|
||||
/* 106C5C 802E53DC 00000000 */ nop
|
||||
.L802E53E0:
|
||||
/* 106C60 802E53E0 E6200054 */ swc1 $f0, 0x54($s1)
|
||||
.L802E53E4:
|
||||
/* 106C64 802E53E4 92020008 */ lbu $v0, 8($s0)
|
||||
/* 106C68 802E53E8 24420001 */ addiu $v0, $v0, 1
|
||||
/* 106C6C 802E53EC A2020008 */ sb $v0, 8($s0)
|
||||
.L802E53F0:
|
||||
/* 106C70 802E53F0 C6200054 */ lwc1 $f0, 0x54($s1)
|
||||
/* 106C74 802E53F4 E6200058 */ swc1 $f0, 0x58($s1)
|
||||
.L802E53F8:
|
||||
/* 106C78 802E53F8 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 106C7C 802E53FC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 106C80 802E5400 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 106C84 802E5404 03E00008 */ jr $ra
|
||||
/* 106C88 802E5408 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 106C8C 802E540C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106C90 802E5410 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 106C94 802E5414 0C0B92C4 */ jal func_802E4B10
|
||||
/* 106C98 802E5418 00000000 */ nop
|
||||
/* 106C9C 802E541C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 106CA0 802E5420 03E00008 */ jr $ra
|
||||
/* 106CA4 802E5424 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 106CA8 802E5428 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106CAC 802E542C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 106CB0 802E5430 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 106CB4 802E5434 0C0B92D8 */ jal func_802E4B60
|
||||
/* 106CB8 802E5438 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 106CBC 802E543C 3C05802F */ lui $a1, 0x802f
|
||||
/* 106CC0 802E5440 24A5A728 */ addiu $a1, $a1, -0x58d8
|
||||
/* 106CC4 802E5444 0C0442F3 */ jal func_80110BCC
|
||||
/* 106CC8 802E5448 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 106CCC 802E544C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 106CD0 802E5450 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 106CD4 802E5454 03E00008 */ jr $ra
|
||||
/* 106CD8 802E5458 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 106CDC 802E545C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106CE0 802E5460 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 106CE4 802E5464 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 106CE8 802E5468 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 106CEC 802E546C 0C0B9304 */ jal func_802E4C10
|
||||
/* 106CF0 802E5470 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 106CF4 802E5474 0C0B94C9 */ jal func_802E5324
|
||||
/* 106CF8 802E5478 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 106CFC 802E547C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 106D00 802E5480 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 106D04 802E5484 03E00008 */ jr $ra
|
||||
/* 106D08 802E5488 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 106D0C 802E548C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106D10 802E5490 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 106D14 802E5494 0C0B9381 */ jal func_802E4E04
|
||||
/* 106D18 802E5498 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 106D1C 802E549C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 106D20 802E54A0 03E00008 */ jr $ra
|
||||
/* 106D24 802E54A4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 106D28 802E54A8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106D2C 802E54AC 3C05802F */ lui $a1, 0x802f
|
||||
/* 106D30 802E54B0 24A5A760 */ addiu $a1, $a1, -0x58a0
|
||||
/* 106D34 802E54B4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 106D38 802E54B8 0C0442F3 */ jal func_80110BCC
|
||||
/* 106D3C 802E54BC 00000000 */ nop
|
||||
/* 106D40 802E54C0 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 106D44 802E54C4 03E00008 */ jr $ra
|
||||
/* 106D48 802E54C8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 106D4C 802E54CC 3C028011 */ lui $v0, 0x8011
|
||||
/* 106D50 802E54D0 9042F2AC */ lbu $v0, -0xd54($v0)
|
||||
/* 106D54 802E54D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106D58 802E54D8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 106D5C 802E54DC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 106D60 802E54E0 14400018 */ bnez $v0, .L802E5544
|
||||
/* 106D64 802E54E4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 106D68 802E54E8 3C04F840 */ lui $a0, 0xf840
|
||||
/* 106D6C 802E54EC 0C05152F */ jal get_global_flag
|
||||
/* 106D70 802E54F0 34845BE0 */ ori $a0, $a0, 0x5be0
|
||||
/* 106D74 802E54F4 14400013 */ bnez $v0, .L802E5544
|
||||
/* 106D78 802E54F8 3C04001D */ lui $a0, 0x1d
|
||||
/* 106D7C 802E54FC 34840001 */ ori $a0, $a0, 1
|
||||
/* 106D80 802E5500 3C05802F */ lui $a1, 0x802f
|
||||
/* 106D84 802E5504 24A5B3C0 */ addiu $a1, $a1, -0x4c40
|
||||
/* 106D88 802E5508 0C049640 */ jal load_string
|
||||
/* 106D8C 802E550C ACA00000 */ sw $zero, ($a1)
|
||||
/* 106D90 802E5510 0C009C22 */ jal func_80027088
|
||||
/* 106D94 802E5514 24040001 */ addiu $a0, $zero, 1
|
||||
/* 106D98 802E5518 3C03800A */ lui $v1, 0x800a
|
||||
/* 106D9C 802E551C 2463A650 */ addiu $v1, $v1, -0x59b0
|
||||
/* 106DA0 802E5520 8C620000 */ lw $v0, ($v1)
|
||||
/* 106DA4 802E5524 34420040 */ ori $v0, $v0, 0x40
|
||||
/* 106DA8 802E5528 0C03805E */ jal func_800E0178
|
||||
/* 106DAC 802E552C AC620000 */ sw $v0, ($v1)
|
||||
/* 106DB0 802E5530 3C04F840 */ lui $a0, 0xf840
|
||||
/* 106DB4 802E5534 0C051514 */ jal set_global_flag
|
||||
/* 106DB8 802E5538 34845BE0 */ ori $a0, $a0, 0x5be0
|
||||
/* 106DBC 802E553C 080B9553 */ j .L802E554C
|
||||
/* 106DC0 802E5540 00000000 */ nop
|
||||
|
||||
.L802E5544:
|
||||
/* 106DC4 802E5544 0C043F5A */ jal func_8010FD68
|
||||
/* 106DC8 802E5548 0200202D */ daddu $a0, $s0, $zero
|
||||
.L802E554C:
|
||||
/* 106DCC 802E554C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 106DD0 802E5550 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 106DD4 802E5554 03E00008 */ jr $ra
|
||||
/* 106DD8 802E5558 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 106DDC 802E555C 3C02802F */ lui $v0, 0x802f
|
||||
/* 106DE0 802E5560 8C42B3C0 */ lw $v0, -0x4c40($v0)
|
||||
/* 106DE4 802E5564 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106DE8 802E5568 1040000C */ beqz $v0, .L802E559C
|
||||
/* 106DEC 802E556C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 106DF0 802E5570 0C043F5A */ jal func_8010FD68
|
||||
/* 106DF4 802E5574 00000000 */ nop
|
||||
/* 106DF8 802E5578 0C009C22 */ jal func_80027088
|
||||
/* 106DFC 802E557C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 106E00 802E5580 3C02800A */ lui $v0, 0x800a
|
||||
/* 106E04 802E5584 2442A650 */ addiu $v0, $v0, -0x59b0
|
||||
/* 106E08 802E5588 8C430000 */ lw $v1, ($v0)
|
||||
/* 106E0C 802E558C 2404FFBF */ addiu $a0, $zero, -0x41
|
||||
/* 106E10 802E5590 00641824 */ and $v1, $v1, $a0
|
||||
/* 106E14 802E5594 0C038069 */ jal func_800E01A4
|
||||
/* 106E18 802E5598 AC430000 */ sw $v1, ($v0)
|
||||
.L802E559C:
|
||||
/* 106E1C 802E559C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 106E20 802E55A0 03E00008 */ jr $ra
|
||||
/* 106E24 802E55A4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -0,0 +1,61 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E55A8
|
||||
/* 106E28 802E55A8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 106E2C 802E55AC AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 106E30 802E55B0 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 106E34 802E55B4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 106E38 802E55B8 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 106E3C 802E55BC 3C128016 */ lui $s2, 0x8016
|
||||
/* 106E40 802E55C0 8E52C7D0 */ lw $s2, -0x3830($s2)
|
||||
/* 106E44 802E55C4 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 106E48 802E55C8 0C0B8DB9 */ jal func_802E36E4
|
||||
/* 106E4C 802E55CC 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* 106E50 802E55D0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 106E54 802E55D4 C6000048 */ lwc1 $f0, 0x48($s0)
|
||||
/* 106E58 802E55D8 C602004C */ lwc1 $f2, 0x4c($s0)
|
||||
/* 106E5C 802E55DC C6040050 */ lwc1 $f4, 0x50($s0)
|
||||
/* 106E60 802E55E0 3C028000 */ lui $v0, 0x8000
|
||||
/* 106E64 802E55E4 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 106E68 802E55E8 4600018D */ trunc.w.s $f6, $f0
|
||||
/* 106E6C 802E55EC 44053000 */ mfc1 $a1, $f6
|
||||
/* 106E70 802E55F0 4600118D */ trunc.w.s $f6, $f2
|
||||
/* 106E74 802E55F4 44063000 */ mfc1 $a2, $f6
|
||||
/* 106E78 802E55F8 4600218D */ trunc.w.s $f6, $f4
|
||||
/* 106E7C 802E55FC 44073000 */ mfc1 $a3, $f6
|
||||
/* 106E80 802E5600 0C044631 */ jal create_entity
|
||||
/* 106E84 802E5604 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 106E88 802E5608 0C04417A */ jal get_entity_by_index
|
||||
/* 106E8C 802E560C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 106E90 802E5610 8C430040 */ lw $v1, 0x40($v0)
|
||||
/* 106E94 802E5614 92020004 */ lbu $v0, 4($s0)
|
||||
/* 106E98 802E5618 16400003 */ bnez $s2, .L802E5628
|
||||
/* 106E9C 802E561C A0620000 */ sb $v0, ($v1)
|
||||
/* 106EA0 802E5620 080B958B */ j .L802E562C
|
||||
/* 106EA4 802E5624 24020003 */ addiu $v0, $zero, 3
|
||||
|
||||
.L802E5628:
|
||||
/* 106EA8 802E5628 24020006 */ addiu $v0, $zero, 6
|
||||
.L802E562C:
|
||||
/* 106EAC 802E562C A062000A */ sb $v0, 0xa($v1)
|
||||
/* 106EB0 802E5630 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 106EB4 802E5634 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 106EB8 802E5638 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 106EBC 802E563C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 106EC0 802E5640 03E00008 */ jr $ra
|
||||
/* 106EC4 802E5644 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 106EC8 802E5648 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106ECC 802E564C 3C05802F */ lui $a1, 0x802f
|
||||
/* 106ED0 802E5650 24A5A7BC */ addiu $a1, $a1, -0x5844
|
||||
/* 106ED4 802E5654 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 106ED8 802E5658 0C0B956A */ jal func_802E55A8
|
||||
/* 106EDC 802E565C 00000000 */ nop
|
||||
/* 106EE0 802E5660 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 106EE4 802E5664 03E00008 */ jr $ra
|
||||
/* 106EE8 802E5668 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 106EEC 802E566C 00000000 */ nop
|
@ -0,0 +1,84 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E5670
|
||||
/* 106EF0 802E5670 948200D0 */ lhu $v0, 0xd0($a0)
|
||||
/* 106EF4 802E5674 00451023 */ subu $v0, $v0, $a1
|
||||
/* 106EF8 802E5678 04420001 */ bltzl $v0, .L802E5680
|
||||
/* 106EFC 802E567C 24420014 */ addiu $v0, $v0, 0x14
|
||||
.L802E5680:
|
||||
/* 106F00 802E5680 00021080 */ sll $v0, $v0, 2
|
||||
/* 106F04 802E5684 00821021 */ addu $v0, $a0, $v0
|
||||
/* 106F08 802E5688 03E00008 */ jr $ra
|
||||
/* 106F0C 802E568C C44000D4 */ lwc1 $f0, 0xd4($v0)
|
||||
|
||||
/* 106F10 802E5690 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106F14 802E5694 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 106F18 802E5698 0C04417A */ jal get_entity_by_index
|
||||
/* 106F1C 802E569C 00000000 */ nop
|
||||
/* 106F20 802E56A0 8C420040 */ lw $v0, 0x40($v0)
|
||||
/* 106F24 802E56A4 84440012 */ lh $a0, 0x12($v0)
|
||||
/* 106F28 802E56A8 04800006 */ bltz $a0, .L802E56C4
|
||||
/* 106F2C 802E56AC 00000000 */ nop
|
||||
/* 106F30 802E56B0 0C04417A */ jal get_entity_by_index
|
||||
/* 106F34 802E56B4 00000000 */ nop
|
||||
/* 106F38 802E56B8 8C430040 */ lw $v1, 0x40($v0)
|
||||
/* 106F3C 802E56BC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 106F40 802E56C0 A062000A */ sb $v0, 0xa($v1)
|
||||
.L802E56C4:
|
||||
/* 106F44 802E56C4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 106F48 802E56C8 03E00008 */ jr $ra
|
||||
/* 106F4C 802E56CC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 106F50 802E56D0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106F54 802E56D4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 106F58 802E56D8 0C0B8D94 */ jal func_802E3650
|
||||
/* 106F5C 802E56DC 00000000 */ nop
|
||||
/* 106F60 802E56E0 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 106F64 802E56E4 03E00008 */ jr $ra
|
||||
/* 106F68 802E56E8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 106F6C 802E56EC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 106F70 802E56F0 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 106F74 802E56F4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 106F78 802E56F8 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 106F7C 802E56FC AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 106F80 802E5700 8E300040 */ lw $s0, 0x40($s1)
|
||||
/* 106F84 802E5704 9603000A */ lhu $v1, 0xa($s0)
|
||||
/* 106F88 802E5708 3402FFFF */ ori $v0, $zero, 0xffff
|
||||
/* 106F8C 802E570C 1062001A */ beq $v1, $v0, .L802E5778
|
||||
/* 106F90 802E5710 00000000 */ nop
|
||||
/* 106F94 802E5714 0C05152F */ jal get_global_flag
|
||||
/* 106F98 802E5718 0060202D */ daddu $a0, $v1, $zero
|
||||
/* 106F9C 802E571C 14400016 */ bnez $v0, .L802E5778
|
||||
/* 106FA0 802E5720 3C028000 */ lui $v0, 0x8000
|
||||
/* 106FA4 802E5724 3C04802F */ lui $a0, 0x802f
|
||||
/* 106FA8 802E5728 2484A934 */ addiu $a0, $a0, -0x56cc
|
||||
/* 106FAC 802E572C C6200048 */ lwc1 $f0, 0x48($s1)
|
||||
/* 106FB0 802E5730 C622004C */ lwc1 $f2, 0x4c($s1)
|
||||
/* 106FB4 802E5734 C6240050 */ lwc1 $f4, 0x50($s1)
|
||||
/* 106FB8 802E5738 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 106FBC 802E573C 4600018D */ trunc.w.s $f6, $f0
|
||||
/* 106FC0 802E5740 44053000 */ mfc1 $a1, $f6
|
||||
/* 106FC4 802E5744 4600118D */ trunc.w.s $f6, $f2
|
||||
/* 106FC8 802E5748 44063000 */ mfc1 $a2, $f6
|
||||
/* 106FCC 802E574C 4600218D */ trunc.w.s $f6, $f4
|
||||
/* 106FD0 802E5750 44073000 */ mfc1 $a3, $f6
|
||||
/* 106FD4 802E5754 0C044631 */ jal create_entity
|
||||
/* 106FD8 802E5758 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 106FDC 802E575C 00022400 */ sll $a0, $v0, 0x10
|
||||
/* 106FE0 802E5760 00042403 */ sra $a0, $a0, 0x10
|
||||
/* 106FE4 802E5764 0C04417A */ jal get_entity_by_index
|
||||
/* 106FE8 802E5768 A6020012 */ sh $v0, 0x12($s0)
|
||||
/* 106FEC 802E576C 8C430040 */ lw $v1, 0x40($v0)
|
||||
/* 106FF0 802E5770 92220004 */ lbu $v0, 4($s1)
|
||||
/* 106FF4 802E5774 A0620000 */ sb $v0, ($v1)
|
||||
.L802E5778:
|
||||
/* 106FF8 802E5778 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 106FFC 802E577C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 107000 802E5780 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 107004 802E5784 03E00008 */ jr $ra
|
||||
/* 107008 802E5788 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -0,0 +1,45 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_802E578C
|
||||
/* 10700C 802E578C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 107010 802E5790 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 107014 802E5794 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 107018 802E5798 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 10701C 802E579C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 107020 802E57A0 0C0B8DB9 */ jal func_802E36E4
|
||||
/* 107024 802E57A4 8E110040 */ lw $s1, 0x40($s0)
|
||||
/* 107028 802E57A8 C6000064 */ lwc1 $f0, 0x64($s0)
|
||||
/* 10702C 802E57AC 3C014334 */ lui $at, 0x4334
|
||||
/* 107030 802E57B0 44811000 */ mtc1 $at, $f2
|
||||
/* 107034 802E57B4 00000000 */ nop
|
||||
/* 107038 802E57B8 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 10703C 802E57BC 3402FFFF */ ori $v0, $zero, 0xffff
|
||||
/* 107040 802E57C0 E6000064 */ swc1 $f0, 0x64($s0)
|
||||
/* 107044 802E57C4 A622000A */ sh $v0, 0xa($s1)
|
||||
/* 107048 802E57C8 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 10704C 802E57CC A6220012 */ sh $v0, 0x12($s1)
|
||||
/* 107050 802E57D0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 107054 802E57D4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 107058 802E57D8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 10705C 802E57DC 03E00008 */ jr $ra
|
||||
/* 107060 802E57E0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 107064 802E57E4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 107068 802E57E8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 10706C 802E57EC 0C0B95E3 */ jal func_802E578C
|
||||
/* 107070 802E57F0 00000000 */ nop
|
||||
/* 107074 802E57F4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 107078 802E57F8 03E00008 */ jr $ra
|
||||
/* 10707C 802E57FC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 107080 802E5800 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 107084 802E5804 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 107088 802E5808 0C0B95E3 */ jal func_802E578C
|
||||
/* 10708C 802E580C 00000000 */ nop
|
||||
/* 107090 802E5810 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 107094 802E5814 03E00008 */ jr $ra
|
||||
/* 107098 802E5818 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user