mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
merge master
This commit is contained in:
commit
bbf92babcb
@ -17,7 +17,8 @@ ranges:
|
||||
- [0x1370, 0x1b40, "asm", "code_1370_len_7d0", 0x80025f70]
|
||||
- [0x1b40, 0x3bf0, "asm", "code_1b40_len_20b0", 0x80026740]
|
||||
- [0x3bf0, 0x42e0, "asm", "code_3bf0_len_6f0", 0x800287f0]
|
||||
- [0x42e0, 0x6240, "asm", "code_42e0_len_1f60", 0x80028ee0]
|
||||
- [0x42e0, 0x6000, "asm", "code_42e0_len_1f60", 0x80028ee0]
|
||||
- [0x6000, 0x6240, "asm", "code_6000", 0x8002AC00]
|
||||
- [0x6240, 0x6e40, "asm", "code_6240_len_c00", 0x8002ae40]
|
||||
- [0x6e40, 0x7340, "asm", "code_6e40_len_500", 0x8002ba40]
|
||||
- [0x7340, 0x7e40, "asm", "code_7340_len_b00", 0x8002bf40]
|
||||
@ -84,7 +85,8 @@ ranges:
|
||||
- [0x3d330, 0x3dcc0, "asm", "code_3d330_len_990", 0x80061f30]
|
||||
- [0x3dcc0, 0x3e720, "asm", "code_3dcc0_len_a60", 0x800628c0]
|
||||
- [0x3e720, 0x3ed10, "asm", "code_3e720_len_5f0", 0x80063320]
|
||||
- [0x3ed10, 0x3f310, "asm", "code_3ed10_len_600", 0x80063910]
|
||||
- [0x3ed10, 0x03ef90, "asm", "code_3ed10_len_600", 0x80063910]
|
||||
- [0x03ef90, 0x3f310, "asm", "code_3ef90_len_600", 0x80063B90]
|
||||
- [0x3f310, 0x3f6d0, "asm", "code_3f310_len_3c0", 0x80063f10]
|
||||
- [0x3f6d0, 0x3f9f0, "asm", "code_3f6d0_len_320", 0x800642d0]
|
||||
- [0x3f9f0, 0x3fa50, "asm", "code_3f9f0_len_60", 0x800645f0]
|
||||
@ -95,7 +97,8 @@ ranges:
|
||||
- [0x40e10, 0x41050, "asm", "code_40e10_len_240", 0x80065a10]
|
||||
- [0x41050, 0x41170, "asm", "code_41050_len_120", 0x80065c50]
|
||||
- [0x41170, 0x41260, "asm", "code_41170_len_f0", 0x80065d70]
|
||||
- [0x41260, 0x41350, "asm", "code_41260_len_f0", 0x80065e60]
|
||||
- [0x41260, 0x41330, "asm", "osCreateThread", 0x80065e60]
|
||||
- [0x41330, 0x41350, "asm", "osGetThreadPri", 0x80065F30]
|
||||
- [0x41350, 0x41420, "asm", "code_41350_len_d0", 0x80065f50]
|
||||
- [0x41420, 0x41540, "asm", "code_41420_len_120", 0x80066020]
|
||||
- [0x41540, 0x41600, "asm", "code_41540_len_c0", 0x80066140]
|
||||
@ -120,7 +123,7 @@ ranges:
|
||||
- [0x42420, 0x42470, "asm", "code_42420_len_50", 0x80067020]
|
||||
- [0x42470, 0x42780, "asm", "code_42470_len_310", 0x80067070]
|
||||
- [0x42780, 0x428a0, "asm", "code_42780_len_120", 0x80067380]
|
||||
- [0x428a0, 0x42900, "asm", "code_428a0_len_60", 0x800674a0]
|
||||
- [0x428a0, 0x42900, "asm", "guMtxIdentF", 0x800674a0]
|
||||
- [0x42900, 0x42980, "asm", "code_42900_len_80", 0x80067500]
|
||||
- [0x42980, 0x42a00, "asm", "code_42980_len_80", 0x80067580]
|
||||
- [0x42a00, 0x42b00, "asm", "code_42a00_len_100", 0x80067600]
|
||||
@ -167,7 +170,8 @@ ranges:
|
||||
- [0x48a20, 0x48be0, "asm", "code_48a20_len_1c0", 0x8006d620]
|
||||
- [0x48be0, 0x48c00, "asm", "code_48be0_len_20", 0x8006d7e0]
|
||||
- [0x48c00, 0x491c0, "asm", "code_48c00_len_5c0", 0x8006d800]
|
||||
- [0x491c0, 0x4a140, "asm", "code_491c0_len_f80", 0x8006ddc0]
|
||||
- [0x491c0, 0x49C70, "asm", "code_491c0_len_f80", 0x8006ddc0]
|
||||
- [0x49C70, 0x4a140, "asm", "code_49C70", 0x8006E870]
|
||||
- [0x4a140, 0x4a1b0, "asm", "code_4a140_len_70", 0x8006ed40]
|
||||
- [0x4a1b0, 0x4a1f0, "asm", "code_4a1b0_len_40", 0x8006edb0]
|
||||
- [0x4a1f0, 0x4a360, "asm", "code_4a1f0_len_170", 0x8006edf0]
|
||||
@ -215,8 +219,14 @@ ranges:
|
||||
- [0x107830, 0x1086a0, "asm", "code_107830_len_e70", 0x802E5FB0]
|
||||
- [0x1086a0, 0x109660, "asm", "code_1086a0_len_fc0", 0x802E6E20]
|
||||
- [0x109660, 0x10A9F0, "asm", "code_109660_len_1270", 0x802E7DE0]
|
||||
- [0x10A9F0, 0x163400, "bin", "bin_10A9F0"]
|
||||
- [0x163400, 0x16a3e0, "asm", "code_163400", 0x80242BA0]
|
||||
- [0x10A9F0, 0x131340, "bin", "bin_10A9F0"]
|
||||
- [0x131340, 0x135EE0, "bin", "bin_131340"]
|
||||
- [0x135EE0, 0x1422A0, "asm", "code_135EE0", 0x80242BA0]
|
||||
- [0x1422A0, 0x163400, "bin", "bin_1422A0"]
|
||||
- [0x163400, 0x167570, "asm", "code_163400", 0x80242BA0]
|
||||
- [0x167570, 0x168590, "asm", "code_167570", 0x80246D10]
|
||||
- [0x168590, 0x169BE0, "asm", "code_168590", 0x80247D30]
|
||||
- [0x169BE0, 0x16a3e0, "asm", "code_169BE0", 0x80249380]
|
||||
- [0x16a3e0, 0x16C8E0, "bin", "bin_16a3e0"]
|
||||
- [0x16C8E0, 0x1AF2C0, "asm", "code_16c8e0", 0x8023E000]
|
||||
- [0x1AF2C0, 0x3169f0, "bin", "bin_1AF2C0"]
|
||||
@ -228,7 +238,9 @@ ranges:
|
||||
- [0x317020, 0x415D90, "bin", "bin_317020"]
|
||||
- [0x415D90, 0x4200C0, "asm", "code_415D90", 0x802A1000]
|
||||
- [0x4200C0, 0x7e0e80, "bin", "bin_4200C0"]
|
||||
- [0x7e0e80, 0x7e4d00, "asm", "code_7e0e80", 0x80280000]
|
||||
- [0x7e0e80, 0x7E2AA0, "asm", "code_7e0e80", 0x80280000]
|
||||
- [0x7E2AA0, 0x7E3700, "asm", "code_7E2AA0", 0x80281C20]
|
||||
- [0x7E3700, 0x7e4d00, "asm", "code_7E3700", 0x80282880]
|
||||
- [0x7e4d00, 0xe20eb0, "bin", "bin_7e4d00"]
|
||||
- [0xe20eb0, 0xe215c0, "asm", "code_e20eb0", 0x802B7000]
|
||||
- [0xe215c0, 0xF007C0, "bin", "bin_19e09a8"]
|
||||
|
@ -8,7 +8,7 @@ SHELL=/bin/bash -o pipefail
|
||||
BUILD_DIR = build
|
||||
|
||||
SRC_DIRS := src
|
||||
ASM_DIRS := asm
|
||||
ASM_DIRS := asm asm/os
|
||||
DATA_DIRS := bin
|
||||
COMPRESSED_DIRS := yay0
|
||||
MAP_DIRS := Map_Assets.FS
|
||||
@ -47,8 +47,9 @@ LD = $(CROSS_IRIX)ld
|
||||
OBJDUMP = $(CROSS)objdump
|
||||
OBJCOPY = $(CROSS)objcopy
|
||||
|
||||
CPPFLAGS = -Iinclude -D _LANGUAGE_C -DF3DEX_GBI_2
|
||||
ASFLAGS = -EB -march=vr4300 -mtune=vr4300
|
||||
CPPFLAGS = -Iinclude -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2
|
||||
ASFLAGS = -EB -march=vr4300 -mtune=vr4300 -Iinclude
|
||||
OLDASFLAGS= -EB -Iinclude
|
||||
CFLAGS = -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300
|
||||
LDFLAGS = -T undefined_syms.txt -T $(LD_SCRIPT) -Map $(BUILD_DIR)/papermario.map --no-check-sections
|
||||
|
||||
@ -79,7 +80,7 @@ $(BUILD_DIR)/%.o: %.s
|
||||
$(AS) $(ASFLAGS) -o $@ $<
|
||||
|
||||
$(BUILD_DIR)/%.o: %.c
|
||||
cpp $(CPPFLAGS) $< | $(CC) $(CFLAGS) -o - | $(OLD_AS) - -o $@
|
||||
cpp $(CPPFLAGS) $< | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) - -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: %.bin
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .textA4000040, "ax"
|
||||
@ -427,11 +427,11 @@
|
||||
/* 00064C A400064C 00000000 */ nop
|
||||
/* 000650 A4000650 04110003 */ bal func_A4000660
|
||||
/* 000654 A4000654 00000000 */ nop
|
||||
func_A4000658:
|
||||
glabel func_A4000658
|
||||
.LA4000658:
|
||||
/* 000658 A4000658 0411FFFF */ bal func_A4000658
|
||||
/* 00065C A400065C 00000000 */ nop
|
||||
func_A4000660:
|
||||
glabel func_A4000660
|
||||
/* 000660 A4000660 3C09A408 */ lui $t1, 0xa408
|
||||
/* 000664 A4000664 8D290000 */ lw $t1, ($t1)
|
||||
/* 000668 A4000668 8FB00014 */ lw $s0, 0x14($sp)
|
||||
@ -504,7 +504,7 @@ func_A4000660:
|
||||
/* 000760 A4000760 01200008 */ jr $t1
|
||||
/* 000764 A4000764 00000000 */ nop
|
||||
/* 000768 A4000768 00000000 */ nop
|
||||
func_A400076C:
|
||||
glabel func_A400076C
|
||||
/* 00076C A400076C 27BDFF60 */ addiu $sp, $sp, -0xa0
|
||||
/* 000770 A4000770 AFB00040 */ sw $s0, 0x40($sp)
|
||||
/* 000774 A4000774 AFB10044 */ sw $s1, 0x44($sp)
|
||||
@ -573,7 +573,7 @@ func_A400076C:
|
||||
/* 00086C A400086C 03E00008 */ jr $ra
|
||||
/* 000870 A4000870 27BD00A0 */ addiu $sp, $sp, 0xa0
|
||||
|
||||
func_A4000874:
|
||||
glabel func_A4000874
|
||||
/* 000874 A4000874 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 000878 A4000878 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 00087C A400087C 00004825 */ or $t1, $zero, $zero
|
||||
@ -614,7 +614,7 @@ func_A4000874:
|
||||
/* 0008F8 A40008F8 03E00008 */ jr $ra
|
||||
/* 0008FC A40008FC 00000000 */ nop
|
||||
|
||||
func_A4000900:
|
||||
glabel func_A4000900
|
||||
/* 000900 A4000900 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 000904 A4000904 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 000908 A4000908 00001025 */ or $v0, $zero, $zero
|
||||
@ -648,7 +648,7 @@ func_A4000900:
|
||||
/* 00096C A400096C 03E00008 */ jr $ra
|
||||
/* 000970 A4000970 00000000 */ nop
|
||||
|
||||
func_A4000974:
|
||||
glabel func_A4000974
|
||||
/* 000974 A4000974 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 000978 A4000978 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 00097C A400097C AFA40020 */ sw $a0, 0x20($sp)
|
||||
@ -704,7 +704,7 @@ func_A4000974:
|
||||
/* 000A2C A4000A2C 03E00008 */ jr $ra
|
||||
/* 000A30 A4000A30 00000000 */ nop
|
||||
|
||||
func_A4000A34:
|
||||
glabel func_A4000A34
|
||||
/* 000A34 A4000A34 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 000A38 A4000A38 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 000A3C A4000A3C 241B0001 */ addiu $k1, $zero, 1
|
||||
@ -744,7 +744,7 @@ func_A4000A34:
|
||||
/* 000ABC A4000ABC 03E00008 */ jr $ra
|
||||
/* 000AC0 A4000AC0 00000000 */ nop
|
||||
|
||||
func_A4000AC4:
|
||||
glabel func_A4000AC4
|
||||
/* 000AC4 A4000AC4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 000AC8 A4000AC8 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 000ACC A4000ACC 241A2000 */ addiu $k0, $zero, 0x2000
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80025C00, "ax"
|
||||
|
||||
entry_point:
|
||||
glabel entry_point
|
||||
/* 001000 80025C00 3C08800A */ lui $t0, 0x800a
|
||||
/* 001004 80025C04 2508A5B0 */ addiu $t0, $t0, -0x5a50
|
||||
/* 001008 80025C08 3C090004 */ lui $t1, 4
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802DEAA0, "ax"
|
||||
|
||||
func_802DEAA0:
|
||||
glabel func_802DEAA0
|
||||
/* 101B90 802DEAA0 00C0102D */ daddu $v0, $a2, $zero
|
||||
/* 101B94 802DEAA4 24C60010 */ addiu $a2, $a2, 0x10
|
||||
/* 101B98 802DEAA8 2408FFFF */ addiu $t0, $zero, -1
|
||||
@ -46,7 +46,7 @@ func_802DEAA0:
|
||||
/* 101BF4 802DEB04 03E00008 */ jr $ra
|
||||
/* 101BF8 802DEB08 00000000 */ nop
|
||||
|
||||
load_sprite:
|
||||
glabel load_sprite
|
||||
/* 101BFC 802DEB0C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 101C00 802DEB10 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 101C04 802DEB14 0080A82D */ daddu $s5, $a0, $zero
|
||||
@ -211,7 +211,7 @@ load_sprite:
|
||||
/* 101E48 802DED58 03E00008 */ jr $ra
|
||||
/* 101E4C 802DED5C 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_802DED60:
|
||||
glabel func_802DED60
|
||||
/* 101E50 802DED60 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 101E54 802DED64 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 101E58 802DED68 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -295,7 +295,7 @@ func_802DED60:
|
||||
/* 101F88 802DEE98 03E00008 */ jr $ra
|
||||
/* 101F8C 802DEE9C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802DEEA0:
|
||||
glabel func_802DEEA0
|
||||
/* 101F90 802DEEA0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 101F94 802DEEA4 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 101F98 802DEEA8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
@ -376,7 +376,7 @@ func_802DEEA0:
|
||||
/* 10209C 802DEFAC 03E00008 */ jr $ra
|
||||
/* 1020A0 802DEFB0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802DEFB4:
|
||||
glabel func_802DEFB4
|
||||
/* 1020A4 802DEFB4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1020A8 802DEFB8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1020AC 802DEFBC 0C04E934 */ jal func_8013A4D0
|
||||
@ -403,7 +403,7 @@ func_802DEFB4:
|
||||
/* 1020F4 802DF004 03E00008 */ jr $ra
|
||||
/* 1020F8 802DF008 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802DF00C:
|
||||
glabel func_802DF00C
|
||||
/* 1020FC 802DF00C 27BDFE30 */ addiu $sp, $sp, -0x1d0
|
||||
/* 102100 802DF010 AFB601C0 */ sw $s6, 0x1c0($sp)
|
||||
/* 102104 802DF014 0080B02D */ daddu $s6, $a0, $zero
|
||||
@ -613,7 +613,7 @@ func_802DF00C:
|
||||
/* 1023C0 802DF2D0 03E00008 */ jr $ra
|
||||
/* 1023C4 802DF2D4 27BD01D0 */ addiu $sp, $sp, 0x1d0
|
||||
|
||||
func_802DF2D8:
|
||||
glabel func_802DF2D8
|
||||
/* 1023C8 802DF2D8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1023CC 802DF2DC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1023D0 802DF2E0 0080802D */ daddu $s0, $a0, $zero
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802E0D90, "ax"
|
||||
@ -20,7 +20,7 @@
|
||||
/* 102628 802E0DA8 03E00008 */ jr $ra
|
||||
/* 10262C 802E0DAC E4800024 */ swc1 $f0, 0x24($a0)
|
||||
|
||||
func_802E0DB0:
|
||||
glabel func_802E0DB0
|
||||
/* 102630 802E0DB0 90820006 */ lbu $v0, 6($a0)
|
||||
/* 102634 802E0DB4 30420004 */ andi $v0, $v0, 4
|
||||
/* 102638 802E0DB8 10400007 */ beqz $v0, .L802E0DD8
|
||||
@ -279,7 +279,7 @@ func_802E0DB0:
|
||||
/* 102A18 802E1198 03E00008 */ jr $ra
|
||||
/* 102A1C 802E119C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
save_game_at_player_position:
|
||||
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
|
||||
@ -539,7 +539,7 @@ save_game_at_player_position:
|
||||
/* 102DB4 802E1534 03E00008 */ jr $ra
|
||||
/* 102DB8 802E1538 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802E153C:
|
||||
glabel func_802E153C
|
||||
/* 102DBC 802E153C 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 102DC0 802E1540 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 102DC4 802E1544 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1508,7 +1508,7 @@ func_802E153C:
|
||||
/* 103BC4 802E2344 03E00008 */ jr $ra
|
||||
/* 103BC8 802E2348 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_802E234C:
|
||||
glabel func_802E234C
|
||||
/* 103BCC 802E234C 3C058011 */ lui $a1, 0x8011
|
||||
/* 103BD0 802E2350 24A5EFC8 */ addiu $a1, $a1, -0x1038
|
||||
/* 103BD4 802E2354 3C060100 */ lui $a2, 0x100
|
||||
@ -1590,7 +1590,7 @@ func_802E234C:
|
||||
/* 103CE4 802E2464 03E00008 */ jr $ra
|
||||
/* 103CE8 802E2468 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802E246C:
|
||||
glabel func_802E246C
|
||||
/* 103CEC 802E246C 27BDFF40 */ addiu $sp, $sp, -0xc0
|
||||
/* 103CF0 802E2470 AFB500A4 */ sw $s5, 0xa4($sp)
|
||||
/* 103CF4 802E2474 0080A82D */ daddu $s5, $a0, $zero
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80035000, "ax"
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802E30C0, "ax"
|
||||
@ -196,7 +196,7 @@
|
||||
/* 104BE8 802E3368 03E00008 */ jr $ra
|
||||
/* 104BEC 802E336C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802E3370:
|
||||
glabel func_802E3370
|
||||
/* 104BF0 802E3370 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 104BF4 802E3374 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104BF8 802E3378 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -403,7 +403,7 @@ func_802E3370:
|
||||
/* 104EC8 802E3648 03E00008 */ jr $ra
|
||||
/* 104ECC 802E364C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802E3650:
|
||||
glabel func_802E3650
|
||||
/* 104ED0 802E3650 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 104ED4 802E3654 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 104ED8 802E3658 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -444,7 +444,7 @@ func_802E3650:
|
||||
/* 104F5C 802E36DC 03E00008 */ jr $ra
|
||||
/* 104F60 802E36E0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802E36E4:
|
||||
glabel func_802E36E4
|
||||
/* 104F64 802E36E4 8C820040 */ lw $v0, 0x40($a0)
|
||||
/* 104F68 802E36E8 2403FFFF */ addiu $v1, $zero, -1
|
||||
/* 104F6C 802E36EC A4430010 */ sh $v1, 0x10($v0)
|
||||
@ -658,7 +658,7 @@ func_802E36E4:
|
||||
/* 105278 802E39F8 03E00008 */ jr $ra
|
||||
/* 10527C 802E39FC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_802E3A00:
|
||||
glabel func_802E3A00
|
||||
/* 105280 802E3A00 2403000E */ addiu $v1, $zero, 0xe
|
||||
/* 105284 802E3A04 9082000A */ lbu $v0, 0xa($a0)
|
||||
/* 105288 802E3A08 8C840040 */ lw $a0, 0x40($a0)
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802E3E80, "ax"
|
||||
@ -561,7 +561,7 @@
|
||||
/* 105EC4 802E4644 03E00008 */ jr $ra
|
||||
/* 105EC8 802E4648 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802E464C:
|
||||
glabel func_802E464C
|
||||
/* 105ECC 802E464C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 105ED0 802E4650 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 105ED4 802E4654 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
@ -614,7 +614,7 @@ func_802E464C:
|
||||
/* 105F88 802E4708 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 105F8C 802E470C 00000000 */ nop
|
||||
func_802E4710:
|
||||
glabel func_802E4710
|
||||
/* 105F90 802E4710 94820024 */ lhu $v0, 0x24($a0)
|
||||
/* 105F94 802E4714 00451023 */ subu $v0, $v0, $a1
|
||||
/* 105F98 802E4718 04420001 */ bltzl $v0, .L802E4720
|
||||
@ -625,7 +625,7 @@ func_802E4710:
|
||||
/* 105FA8 802E4728 03E00008 */ jr $ra
|
||||
/* 105FAC 802E472C C4400028 */ lwc1 $f0, 0x28($v0)
|
||||
|
||||
func_802E4730:
|
||||
glabel func_802E4730
|
||||
/* 105FB0 802E4730 27BDFF78 */ addiu $sp, $sp, -0x88
|
||||
/* 105FB4 802E4734 AFB00060 */ sw $s0, 0x60($sp)
|
||||
/* 105FB8 802E4738 00A0802D */ daddu $s0, $a1, $zero
|
||||
@ -880,7 +880,7 @@ func_802E4730:
|
||||
/* 106388 802E4B08 03E00008 */ jr $ra
|
||||
/* 10638C 802E4B0C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802E4B10:
|
||||
glabel func_802E4B10
|
||||
/* 106390 802E4B10 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 106394 802E4B14 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 106398 802E4B18 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -902,7 +902,7 @@ func_802E4B10:
|
||||
/* 1063D8 802E4B58 03E00008 */ jr $ra
|
||||
/* 1063DC 802E4B5C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802E4B60:
|
||||
glabel func_802E4B60
|
||||
/* 1063E0 802E4B60 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1063E4 802E4B64 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1063E8 802E4B68 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -951,7 +951,7 @@ func_802E4B60:
|
||||
/* 106488 802E4C08 03E00008 */ jr $ra
|
||||
/* 10648C 802E4C0C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802E4C10:
|
||||
glabel func_802E4C10
|
||||
/* 106490 802E4C10 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 106494 802E4C14 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 106498 802E4C18 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1091,7 +1091,7 @@ func_802E4C10:
|
||||
/* 10667C 802E4DFC 03E00008 */ jr $ra
|
||||
/* 106680 802E4E00 AC800068 */ sw $zero, 0x68($a0)
|
||||
|
||||
func_802E4E04:
|
||||
glabel func_802E4E04
|
||||
/* 106684 802E4E04 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 106688 802E4E08 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 10668C 802E4E0C 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1436,7 +1436,7 @@ func_802E4E04:
|
||||
/* 106B9C 802E531C 03E00008 */ jr $ra
|
||||
/* 106BA0 802E5320 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802E5324:
|
||||
glabel func_802E5324
|
||||
/* 106BA4 802E5324 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 106BA8 802E5328 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 106BAC 802E532C 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1620,7 +1620,7 @@ func_802E5324:
|
||||
/* 106E20 802E55A0 03E00008 */ jr $ra
|
||||
/* 106E24 802E55A4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802E55A8:
|
||||
glabel func_802E55A8
|
||||
/* 106E28 802E55A8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 106E2C 802E55AC AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 106E30 802E55B0 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1676,7 +1676,7 @@ func_802E55A8:
|
||||
/* 106EE8 802E5668 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 106EEC 802E566C 00000000 */ nop
|
||||
func_802E5670:
|
||||
glabel func_802E5670
|
||||
/* 106EF0 802E5670 948200D0 */ lhu $v0, 0xd0($a0)
|
||||
/* 106EF4 802E5674 00451023 */ subu $v0, $v0, $a1
|
||||
/* 106EF8 802E5678 04420001 */ bltzl $v0, .L802E5680
|
||||
@ -1755,7 +1755,7 @@ func_802E5670:
|
||||
/* 107004 802E5784 03E00008 */ jr $ra
|
||||
/* 107008 802E5788 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_802E578C:
|
||||
glabel func_802E578C
|
||||
/* 10700C 802E578C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 107010 802E5790 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 107014 802E5794 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1795,7 +1795,7 @@ func_802E578C:
|
||||
/* 107094 802E5814 03E00008 */ jr $ra
|
||||
/* 107098 802E5818 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802E581C:
|
||||
glabel func_802E581C
|
||||
/* 10709C 802E581C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1070A0 802E5820 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1070A4 802E5824 0080802D */ daddu $s0, $a0, $zero
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80025C60, "ax"
|
||||
|
||||
func_80025C60:
|
||||
glabel func_80025C60
|
||||
/* 001060 80025C60 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 001064 80025C64 3C05B3FF */ lui $a1, 0xb3ff
|
||||
/* 001068 80025C68 34A50014 */ ori $a1, $a1, 0x14
|
||||
@ -53,7 +53,7 @@ func_80025C60:
|
||||
/* 0010F4 80025CF4 03E00008 */ jr $ra
|
||||
/* 0010F8 80025CF8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80025CFC:
|
||||
glabel func_80025CFC
|
||||
/* 0010FC 80025CFC AFA40000 */ sw $a0, ($sp)
|
||||
/* 001100 80025D00 AFA50004 */ sw $a1, 4($sp)
|
||||
/* 001104 80025D04 AFA60008 */ sw $a2, 8($sp)
|
||||
@ -70,6 +70,7 @@ func_80025CFC:
|
||||
/* 001130 80025D30 03E00008 */ jr $ra
|
||||
/* 001134 80025D34 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_80025D38
|
||||
/* 001138 80025D38 AFA40000 */ sw $a0, ($sp)
|
||||
/* 00113C 80025D3C AFA50004 */ sw $a1, 4($sp)
|
||||
/* 001140 80025D40 AFA60008 */ sw $a2, 8($sp)
|
||||
@ -86,6 +87,7 @@ func_80025CFC:
|
||||
/* 00116C 80025D6C 03E00008 */ jr $ra
|
||||
/* 001170 80025D70 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_80025D74
|
||||
/* 001174 80025D74 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 001178 80025D78 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 00117C 80025D7C 00A0982D */ daddu $s3, $a1, $zero
|
||||
@ -210,6 +212,7 @@ func_80025CFC:
|
||||
/* 00133C 80025F3C 03E00008 */ jr $ra
|
||||
/* 001340 80025F40 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
glabel func_80025F44
|
||||
/* 001344 80025F44 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 001348 80025F48 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 00134C 80025F4C 0080382D */ daddu $a3, $a0, $zero
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802E5FB0, "ax"
|
||||
@ -822,7 +822,7 @@
|
||||
/* 1083E4 802E6B64 03E00008 */ jr $ra
|
||||
/* 1083E8 802E6B68 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_802E6B6C:
|
||||
glabel func_802E6B6C
|
||||
/* 1083EC 802E6B6C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1083F0 802E6B70 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1083F4 802E6B74 0080882D */ daddu $s1, $a0, $zero
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802E6E20, "ax"
|
||||
@ -292,7 +292,7 @@
|
||||
/* 108AA8 802E7228 03E00008 */ jr $ra
|
||||
/* 108AAC 802E722C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802E7230:
|
||||
glabel func_802E7230
|
||||
/* 108AB0 802E7230 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 108AB4 802E7234 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 108AB8 802E7238 AFB00010 */ sw $s0, 0x10($sp)
|
||||
@ -1058,7 +1058,7 @@ func_802E7230:
|
||||
/* 1095B0 802E7D30 03E00008 */ jr $ra
|
||||
/* 1095B4 802E7D34 AC620010 */ sw $v0, 0x10($v1)
|
||||
|
||||
func_802E7D38:
|
||||
glabel func_802E7D38
|
||||
/* 1095B8 802E7D38 8C820040 */ lw $v0, 0x40($a0)
|
||||
/* 1095BC 802E7D3C 3C038016 */ lui $v1, 0x8016
|
||||
/* 1095C0 802E7D40 8C63C7D0 */ lw $v1, -0x3830($v1)
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802E7DE0, "ax"
|
||||
|
||||
func_802E7DE0:
|
||||
glabel func_802E7DE0
|
||||
/* 109660 802E7DE0 27BDFF48 */ addiu $sp, $sp, -0xb8
|
||||
/* 109664 802E7DE4 AFB3009C */ sw $s3, 0x9c($sp)
|
||||
/* 109668 802E7DE8 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -115,7 +115,7 @@ func_802E7DE0:
|
||||
/* 1097E4 802E7F64 03E00008 */ jr $ra
|
||||
/* 1097E8 802E7F68 AC640000 */ sw $a0, ($v1)
|
||||
|
||||
func_802E7F6C:
|
||||
glabel func_802E7F6C
|
||||
/* 1097EC 802E7F6C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1097F0 802E7F70 3C050A00 */ lui $a1, 0xa00
|
||||
/* 1097F4 802E7F74 24A54350 */ addiu $a1, $a1, 0x4350
|
||||
@ -1038,7 +1038,7 @@ func_802E7F6C:
|
||||
/* 10A544 802E8CC4 03E00008 */ jr $ra
|
||||
/* 10A548 802E8CC8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
player_enter_blue_pipe:
|
||||
glabel player_enter_blue_pipe
|
||||
/* 10A54C 802E8CCC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 10A550 802E8CD0 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 10A554 802E8CD4 8C850040 */ lw $a1, 0x40($a0)
|
||||
@ -1139,7 +1139,7 @@ player_enter_blue_pipe:
|
||||
/* 10A6C4 802E8E44 03E00008 */ jr $ra
|
||||
/* 10A6C8 802E8E48 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
push_entity_matrix:
|
||||
glabel push_entity_matrix
|
||||
/* 10A6CC 802E8E4C 27BDFF58 */ addiu $sp, $sp, -0xa8
|
||||
/* 10A6D0 802E8E50 AFB3009C */ sw $s3, 0x9c($sp)
|
||||
/* 10A6D4 802E8E54 3C13800A */ lui $s3, 0x800a
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80035DF0, "ax"
|
||||
@ -39,7 +39,7 @@
|
||||
/* 01124C 80035E4C 03E00008 */ jr $ra
|
||||
/* 011250 80035E50 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80035E54:
|
||||
glabel func_80035E54
|
||||
/* 011254 80035E54 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 011258 80035E58 24020004 */ addiu $v0, $zero, 4
|
||||
/* 01125C 80035E5C AFB10014 */ sw $s1, 0x14($sp)
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80036650, "ax"
|
||||
|
||||
func_80036650:
|
||||
glabel func_80036650
|
||||
/* 011A50 80036650 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 011A54 80036654 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 011A58 80036658 3C118007 */ lui $s1, 0x8007
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80036DF0, "ax"
|
||||
@ -794,11 +794,11 @@
|
||||
/* 012D58 80037958 03E00008 */ jr $ra
|
||||
/* 012D5C 8003795C 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80037960:
|
||||
glabel func_80037960
|
||||
/* 012D60 80037960 03E00008 */ jr $ra
|
||||
/* 012D64 80037964 00000000 */ nop
|
||||
|
||||
func_80037968:
|
||||
glabel func_80037968
|
||||
/* 012D68 80037968 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 012D6C 8003796C F7B40018 */ sdc1 $f20, 0x18($sp)
|
||||
/* 012D70 80037970 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -811,7 +811,7 @@ func_80037968:
|
||||
/* 012D8C 8003798C 03E00008 */ jr $ra
|
||||
/* 012D90 80037990 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80037994:
|
||||
glabel func_80037994
|
||||
/* 012D94 80037994 27BDFFF8 */ addiu $sp, $sp, -8
|
||||
/* 012D98 80037998 0000602D */ daddu $t4, $zero, $zero
|
||||
/* 012D9C 8003799C 3C02800A */ lui $v0, 0x800a
|
||||
@ -963,7 +963,7 @@ func_80037994:
|
||||
/* 012FC0 80037BC0 03E00008 */ jr $ra
|
||||
/* 012FC4 80037BC4 27BD0008 */ addiu $sp, $sp, 8
|
||||
|
||||
func_80037BC8:
|
||||
glabel func_80037BC8
|
||||
/* 012FC8 80037BC8 3C048007 */ lui $a0, 0x8007
|
||||
/* 012FCC 80037BCC 24847A2C */ addiu $a0, $a0, 0x7a2c
|
||||
/* 012FD0 80037BD0 8C830000 */ lw $v1, ($a0)
|
||||
@ -1120,7 +1120,7 @@ func_80037BC8:
|
||||
/* 01320C 80037E0C 03E00008 */ jr $ra
|
||||
/* 013210 80037E10 AC40006C */ sw $zero, 0x6c($v0)
|
||||
|
||||
func_80037E14:
|
||||
glabel func_80037E14
|
||||
/* 013214 80037E14 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 013218 80037E18 3C07800A */ lui $a3, 0x800a
|
||||
/* 01321C 80037E1C 24E7A66C */ addiu $a3, $a3, -0x5994
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80038080, "ax"
|
||||
|
||||
init_demo_data:
|
||||
glabel init_demo_data
|
||||
/* 013480 80038080 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 013484 80038084 3C048007 */ lui $a0, 0x8007
|
||||
/* 013488 80038088 2484419C */ addiu $a0, $a0, 0x419c
|
||||
@ -43,7 +43,7 @@ init_demo_data:
|
||||
/* 0134EC 800380EC 03E00008 */ jr $ra
|
||||
/* 0134F0 800380F0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
next_demo_scene:
|
||||
glabel next_demo_scene
|
||||
/* 0134F4 800380F4 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0134F8 800380F8 3C058007 */ lui $a1, 0x8007
|
||||
/* 0134FC 800380FC 8CA5419C */ lw $a1, 0x419c($a1)
|
||||
|
13730
papermario/asm/code_135EE0.s
Normal file
13730
papermario/asm/code_135EE0.s
Normal file
File diff suppressed because it is too large
Load Diff
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80025F70, "ax"
|
||||
|
||||
boot_main:
|
||||
glabel boot_main
|
||||
/* 001370 80025F70 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 001374 80025F74 3C038000 */ lui $v1, 0x8000
|
||||
/* 001378 80025F78 8C630300 */ lw $v1, 0x300($v1)
|
||||
@ -80,7 +80,7 @@ boot_main:
|
||||
/* 001454 80026054 08009815 */ j .L80026054
|
||||
/* 001458 80026058 00000000 */ nop
|
||||
|
||||
gfxRetrace_Callback:
|
||||
glabel gfxRetrace_Callback
|
||||
/* 00145C 8002605C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 001460 80026060 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 001464 80026064 3C118007 */ lui $s1, 0x8007
|
||||
@ -152,7 +152,7 @@ gfxRetrace_Callback:
|
||||
/* 00155C 8002615C 03E00008 */ jr $ra
|
||||
/* 001560 80026160 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80026164:
|
||||
glabel func_80026164
|
||||
/* 001564 80026164 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 001568 80026168 3C048007 */ lui $a0, 0x8007
|
||||
/* 00156C 8002616C 8C8441F4 */ lw $a0, 0x41f4($a0)
|
||||
@ -520,7 +520,7 @@ func_80026164:
|
||||
/* 001B04 80026704 03E00008 */ jr $ra
|
||||
/* 001B08 80026708 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
gfxPreNMI_Callback:
|
||||
glabel gfxPreNMI_Callback
|
||||
/* 001B0C 8002670C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 001B10 80026710 24020001 */ addiu $v0, $zero, 1
|
||||
/* 001B14 80026714 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80038470, "ax"
|
||||
@ -14,7 +14,7 @@
|
||||
/* 013870 80038470 03E00008 */ jr $ra
|
||||
/* 013874 80038474 00000000 */ nop
|
||||
|
||||
mtx_ident_mirror_y:
|
||||
glabel mtx_ident_mirror_y
|
||||
/* 013878 80038478 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 01387C 8003847C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 013880 80038480 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
@ -33,7 +33,7 @@ mtx_ident_mirror_y:
|
||||
/* 0138B4 800384B4 03E00008 */ jr $ra
|
||||
/* 0138B8 800384B8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800384BC:
|
||||
glabel func_800384BC
|
||||
/* 0138BC 800384BC 3C028007 */ lui $v0, 0x8007
|
||||
/* 0138C0 800384C0 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0138C4 800384C4 80420070 */ lb $v0, 0x70($v0)
|
||||
@ -67,7 +67,7 @@ func_800384BC:
|
||||
/* 013924 80038524 03E00008 */ jr $ra
|
||||
/* 013928 80038528 00000000 */ nop
|
||||
|
||||
init_npc_list:
|
||||
glabel init_npc_list
|
||||
/* 01392C 8003852C 3C028007 */ lui $v0, 0x8007
|
||||
/* 013930 80038530 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 013934 80038534 80420070 */ lb $v0, 0x70($v0)
|
||||
@ -92,7 +92,7 @@ init_npc_list:
|
||||
/* 013974 80038574 03E00008 */ jr $ra
|
||||
/* 013978 80038578 00000000 */ nop
|
||||
|
||||
func_8003857C:
|
||||
glabel func_8003857C
|
||||
/* 01397C 8003857C 0000182D */ daddu $v1, $zero, $zero
|
||||
/* 013980 80038580 24630001 */ addiu $v1, $v1, 1
|
||||
.L80038584:
|
||||
@ -102,7 +102,7 @@ func_8003857C:
|
||||
/* 013990 80038590 03E00008 */ jr $ra
|
||||
/* 013994 80038594 00000000 */ nop
|
||||
|
||||
func_80038598:
|
||||
glabel func_80038598
|
||||
/* 013998 80038598 3C03800A */ lui $v1, 0x800a
|
||||
/* 01399C 8003859C 8C630B90 */ lw $v1, 0xb90($v1)
|
||||
/* 0139A0 800385A0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
@ -294,7 +294,7 @@ func_80038598:
|
||||
/* 013C3C 8003883C 03E00008 */ jr $ra
|
||||
/* 013C40 80038840 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80038844:
|
||||
glabel func_80038844
|
||||
/* 013C44 80038844 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 013C48 80038848 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 013C4C 8003884C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -304,7 +304,7 @@ func_80038844:
|
||||
/* 013C5C 8003885C 03E00008 */ jr $ra
|
||||
/* 013C60 80038860 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80038864:
|
||||
glabel func_80038864
|
||||
/* 013C64 80038864 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 013C68 80038868 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 013C6C 8003886C 0C00E166 */ jal func_80038598
|
||||
@ -313,7 +313,7 @@ func_80038864:
|
||||
/* 013C78 80038878 03E00008 */ jr $ra
|
||||
/* 013C7C 8003887C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80038880:
|
||||
glabel func_80038880
|
||||
/* 013C80 80038880 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 013C84 80038884 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 013C88 80038888 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -323,7 +323,7 @@ func_80038880:
|
||||
/* 013C98 80038898 03E00008 */ jr $ra
|
||||
/* 013C9C 8003889C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800388A0:
|
||||
glabel func_800388A0
|
||||
/* 013CA0 800388A0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 013CA4 800388A4 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 013CA8 800388A8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
@ -407,7 +407,7 @@ func_800388A0:
|
||||
/* 013DC4 800389C4 03E00008 */ jr $ra
|
||||
/* 013DC8 800389C8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
free_npc:
|
||||
glabel free_npc
|
||||
/* 013DCC 800389CC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 013DD0 800389D0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 013DD4 800389D4 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -485,7 +485,7 @@ free_npc:
|
||||
/* 013ED4 80038AD4 03E00008 */ jr $ra
|
||||
/* 013ED8 80038AD8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
get_npc_by_index:
|
||||
glabel get_npc_by_index
|
||||
/* 013EDC 80038ADC 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 013EE0 80038AE0 00822024 */ and $a0, $a0, $v0
|
||||
/* 013EE4 80038AE4 3C02800A */ lui $v0, 0x800a
|
||||
@ -495,7 +495,7 @@ get_npc_by_index:
|
||||
/* 013EF4 80038AF4 03E00008 */ jr $ra
|
||||
/* 013EF8 80038AF8 8C820000 */ lw $v0, ($a0)
|
||||
|
||||
func_80038AFC:
|
||||
glabel func_80038AFC
|
||||
/* 013EFC 80038AFC 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 013F00 80038B00 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 013F04 80038B04 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -850,7 +850,7 @@ func_80038AFC:
|
||||
/* 014404 80039004 03E00008 */ jr $ra
|
||||
/* 014408 80039008 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_8003900C:
|
||||
glabel func_8003900C
|
||||
/* 01440C 8003900C 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 014410 80039010 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 014414 80039014 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1039,7 +1039,7 @@ func_8003900C:
|
||||
/* 0146D0 800392D0 03E00008 */ jr $ra
|
||||
/* 0146D4 800392D4 27BD0060 */ addiu $sp, $sp, 0x60
|
||||
|
||||
func_800392D8:
|
||||
glabel func_800392D8
|
||||
/* 0146D8 800392D8 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 0146DC 800392DC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 0146E0 800392E0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1295,7 +1295,7 @@ func_800392D8:
|
||||
/* 014A80 80039680 03E00008 */ jr $ra
|
||||
/* 014A84 80039684 27BD0058 */ addiu $sp, $sp, 0x58
|
||||
|
||||
func_80039688:
|
||||
glabel func_80039688
|
||||
/* 014A88 80039688 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 014A8C 8003968C AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 014A90 80039690 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1392,7 +1392,7 @@ func_80039688:
|
||||
/* 014BE0 800397E0 03E00008 */ jr $ra
|
||||
/* 014BE4 800397E4 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_800397E8:
|
||||
glabel func_800397E8
|
||||
/* 014BE8 800397E8 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 014BEC 800397EC AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 014BF0 800397F0 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1486,7 +1486,7 @@ func_800397E8:
|
||||
/* 014D28 80039928 03E00008 */ jr $ra
|
||||
/* 014D2C 8003992C 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_80039930:
|
||||
glabel func_80039930
|
||||
/* 014D30 80039930 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 014D34 80039934 3C02FFFF */ lui $v0, 0xffff
|
||||
/* 014D38 80039938 34427FFF */ ori $v0, $v0, 0x7fff
|
||||
@ -1799,7 +1799,7 @@ func_80039930:
|
||||
/* 01519C 80039D9C 03E00008 */ jr $ra
|
||||
/* 0151A0 80039DA0 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
|
||||
func_80039DA4:
|
||||
glabel func_80039DA4
|
||||
/* 0151A4 80039DA4 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0151A8 80039DA8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0151AC 80039DAC 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -2504,7 +2504,7 @@ func_80039DA4:
|
||||
/* 015BE8 8003A7E8 03E00008 */ jr $ra
|
||||
/* 015BEC 8003A7EC 27BD00B8 */ addiu $sp, $sp, 0xb8
|
||||
|
||||
render_npcs:
|
||||
glabel render_npcs
|
||||
/* 015BF0 8003A7F0 27BDFF78 */ addiu $sp, $sp, -0x88
|
||||
/* 015BF4 8003A7F4 F7BA0080 */ sdc1 $f26, 0x80($sp)
|
||||
/* 015BF8 8003A7F8 3C01459C */ lui $at, 0x459c
|
||||
@ -2669,7 +2669,7 @@ render_npcs:
|
||||
/* 015E4C 8003AA4C 03E00008 */ jr $ra
|
||||
/* 015E50 8003AA50 27BD0088 */ addiu $sp, $sp, 0x88
|
||||
|
||||
npc_move_heading:
|
||||
glabel npc_move_heading
|
||||
/* 015E54 8003AA54 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 015E58 8003AA58 F7B60020 */ sdc1 $f22, 0x20($sp)
|
||||
/* 015E5C 8003AA5C 4485B000 */ mtc1 $a1, $f22
|
||||
@ -2709,7 +2709,7 @@ npc_move_heading:
|
||||
/* 015EE4 8003AAE4 03E00008 */ jr $ra
|
||||
/* 015EE8 8003AAE8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
get_npc_unsafe:
|
||||
glabel get_npc_unsafe
|
||||
/* 015EEC 8003AAEC 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 015EF0 8003AAF0 3C06800A */ lui $a2, 0x800a
|
||||
/* 015EF4 8003AAF4 8CC60B90 */ lw $a2, 0xb90($a2)
|
||||
@ -2740,7 +2740,7 @@ get_npc_unsafe:
|
||||
/* 015F40 8003AB40 03E00008 */ jr $ra
|
||||
/* 015F44 8003AB44 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
get_npc_safe:
|
||||
glabel get_npc_safe
|
||||
/* 015F48 8003AB48 0000182D */ daddu $v1, $zero, $zero
|
||||
/* 015F4C 8003AB4C 3C06800A */ lui $a2, 0x800a
|
||||
/* 015F50 8003AB50 8CC60B90 */ lw $a2, 0xb90($a2)
|
||||
@ -2768,7 +2768,7 @@ get_npc_safe:
|
||||
/* 015F98 8003AB98 03E00008 */ jr $ra
|
||||
/* 015F9C 8003AB9C 00000000 */ nop
|
||||
|
||||
enable_npc_shadow:
|
||||
glabel enable_npc_shadow
|
||||
/* 015FA0 8003ABA0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 015FA4 8003ABA4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 015FA8 8003ABA8 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -2794,7 +2794,7 @@ enable_npc_shadow:
|
||||
/* 015FF4 8003ABF4 03E00008 */ jr $ra
|
||||
/* 015FF8 8003ABF8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
disable_npc_shadow:
|
||||
glabel disable_npc_shadow
|
||||
/* 015FFC 8003ABFC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 016000 8003AC00 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 016004 8003AC04 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -2821,7 +2821,7 @@ disable_npc_shadow:
|
||||
/* 016054 8003AC54 03E00008 */ jr $ra
|
||||
/* 016058 8003AC58 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8003AC5C:
|
||||
glabel func_8003AC5C
|
||||
/* 01605C 8003AC5C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 016060 8003AC60 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 016064 8003AC64 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -2880,7 +2880,7 @@ func_8003AC5C:
|
||||
/* 01611C 8003AD1C 03E00008 */ jr $ra
|
||||
/* 016120 8003AD20 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
enable_npc_blur:
|
||||
glabel enable_npc_blur
|
||||
/* 016124 8003AD24 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 016128 8003AD28 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 01612C 8003AD2C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -2921,7 +2921,7 @@ enable_npc_blur:
|
||||
/* 0161A4 8003ADA4 03E00008 */ jr $ra
|
||||
/* 0161A8 8003ADA8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
disable_npc_blur:
|
||||
glabel disable_npc_blur
|
||||
/* 0161AC 8003ADAC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0161B0 8003ADB0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0161B4 8003ADB4 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -2943,7 +2943,7 @@ disable_npc_blur:
|
||||
/* 0161F0 8003ADF0 03E00008 */ jr $ra
|
||||
/* 0161F4 8003ADF4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
update_npc_blur:
|
||||
glabel update_npc_blur
|
||||
/* 0161F8 8003ADF8 8C850020 */ lw $a1, 0x20($a0)
|
||||
/* 0161FC 8003ADFC 80A30001 */ lb $v1, 1($a1)
|
||||
/* 016200 8003AE00 C4800038 */ lwc1 $f0, 0x38($a0)
|
||||
@ -2962,7 +2962,7 @@ update_npc_blur:
|
||||
/* 016230 8003AE30 03E00008 */ jr $ra
|
||||
/* 016234 8003AE34 A0A30001 */ sb $v1, 1($a1)
|
||||
|
||||
render_npc_blur:
|
||||
glabel render_npc_blur
|
||||
/* 016238 8003AE38 27BDFF08 */ addiu $sp, $sp, -0xf8
|
||||
/* 01623C 8003AE3C F7BC00E8 */ sdc1 $f28, 0xe8($sp)
|
||||
/* 016240 8003AE40 4480E000 */ mtc1 $zero, $f28
|
||||
@ -3197,11 +3197,11 @@ render_npc_blur:
|
||||
/* 0165A0 8003B1A0 03E00008 */ jr $ra
|
||||
/* 0165A4 8003B1A4 00000000 */ nop
|
||||
|
||||
func_8003B1A8:
|
||||
glabel func_8003B1A8
|
||||
/* 0165A8 8003B1A8 03E00008 */ jr $ra
|
||||
/* 0165AC 8003B1AC 00000000 */ nop
|
||||
|
||||
func_8003B1B0:
|
||||
glabel func_8003B1B0
|
||||
/* 0165B0 8003B1B0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0165B4 8003B1B4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0165B8 8003B1B8 0000902D */ daddu $s2, $zero, $zero
|
||||
@ -3313,7 +3313,7 @@ func_8003B1B0:
|
||||
/* 016738 8003B338 03E00008 */ jr $ra
|
||||
/* 01673C 8003B33C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
set_npc_yaw:
|
||||
glabel set_npc_yaw
|
||||
/* 016740 8003B340 44857000 */ mtc1 $a1, $f14
|
||||
/* 016744 8003B344 3C038007 */ lui $v1, 0x8007
|
||||
/* 016748 8003B348 8C637410 */ lw $v1, 0x7410($v1)
|
||||
@ -3354,7 +3354,7 @@ set_npc_yaw:
|
||||
/* 0167C8 8003B3C8 03E00008 */ jr $ra
|
||||
/* 0167CC 8003B3CC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8003B3D0:
|
||||
glabel func_8003B3D0
|
||||
/* 0167D0 8003B3D0 808200B4 */ lb $v0, 0xb4($a0)
|
||||
/* 0167D4 8003B3D4 908300B4 */ lbu $v1, 0xb4($a0)
|
||||
/* 0167D8 8003B3D8 10450005 */ beq $v0, $a1, .L8003B3F0
|
||||
@ -3393,7 +3393,7 @@ func_8003B3D0:
|
||||
/* 016844 8003B444 03E00008 */ jr $ra
|
||||
/* 016848 8003B448 A08200B6 */ sb $v0, 0xb6($a0)
|
||||
|
||||
func_8003B44C:
|
||||
glabel func_8003B44C
|
||||
/* 01684C 8003B44C 8FA20010 */ lw $v0, 0x10($sp)
|
||||
/* 016850 8003B450 A4850308 */ sh $a1, 0x308($a0)
|
||||
/* 016854 8003B454 A486030A */ sh $a2, 0x30a($a0)
|
||||
@ -3401,7 +3401,7 @@ func_8003B44C:
|
||||
/* 01685C 8003B45C 03E00008 */ jr $ra
|
||||
/* 016860 8003B460 A482030E */ sh $v0, 0x30e($a0)
|
||||
|
||||
func_8003B464:
|
||||
glabel func_8003B464
|
||||
/* 016864 8003B464 8FA20010 */ lw $v0, 0x10($sp)
|
||||
/* 016868 8003B468 A4850310 */ sh $a1, 0x310($a0)
|
||||
/* 01686C 8003B46C A4860312 */ sh $a2, 0x312($a0)
|
||||
@ -3409,7 +3409,7 @@ func_8003B464:
|
||||
/* 016874 8003B474 03E00008 */ jr $ra
|
||||
/* 016878 8003B478 A4820316 */ sh $v0, 0x316($a0)
|
||||
|
||||
func_8003B47C:
|
||||
glabel func_8003B47C
|
||||
/* 01687C 8003B47C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 016880 8003B480 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 016884 8003B484 808300B4 */ lb $v1, 0xb4($a0)
|
||||
@ -3449,7 +3449,7 @@ func_8003B47C:
|
||||
/* 0168F8 8003B4F8 03E00008 */ jr $ra
|
||||
/* 0168FC 8003B4FC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8003B500:
|
||||
glabel func_8003B500
|
||||
/* 016900 8003B500 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 016904 8003B504 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 016908 8003B508 808200B6 */ lb $v0, 0xb6($a0)
|
||||
@ -3500,7 +3500,7 @@ func_8003B500:
|
||||
/* 0169AC 8003B5AC 03E00008 */ jr $ra
|
||||
/* 0169B0 8003B5B0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8003B5B4:
|
||||
glabel func_8003B5B4
|
||||
/* 0169B4 8003B5B4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0169B8 8003B5B8 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 0169BC 8003B5BC 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -3770,7 +3770,7 @@ func_8003B5B4:
|
||||
/* 016D64 8003B964 03E00008 */ jr $ra
|
||||
/* 016D68 8003B968 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8003B96C:
|
||||
glabel func_8003B96C
|
||||
/* 016D6C 8003B96C 3084FFFF */ andi $a0, $a0, 0xffff
|
||||
/* 016D70 8003B970 000412C2 */ srl $v0, $a0, 0xb
|
||||
/* 016D74 8003B974 240700FF */ addiu $a3, $zero, 0xff
|
||||
@ -3833,7 +3833,7 @@ func_8003B96C:
|
||||
/* 016E58 8003BA58 03E00008 */ jr $ra
|
||||
/* 016E5C 8003BA5C 30A2FFFF */ andi $v0, $a1, 0xffff
|
||||
|
||||
func_8003BA60:
|
||||
glabel func_8003BA60
|
||||
/* 016E60 8003BA60 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 016E64 8003BA64 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 016E68 8003BA68 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -4154,7 +4154,7 @@ func_8003BA60:
|
||||
/* 0172D0 8003BED0 03E00008 */ jr $ra
|
||||
/* 0172D4 8003BED4 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_8003BED8:
|
||||
glabel func_8003BED8
|
||||
/* 0172D8 8003BED8 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0172DC 8003BEDC AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* 0172E0 8003BEE0 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -4510,7 +4510,7 @@ func_8003BED8:
|
||||
/* 0177D0 8003C3D0 03E00008 */ jr $ra
|
||||
/* 0177D4 8003C3D4 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_8003C3D8:
|
||||
glabel func_8003C3D8
|
||||
/* 0177D8 8003C3D8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0177DC 8003C3DC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0177E0 8003C3E0 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -4532,7 +4532,7 @@ func_8003C3D8:
|
||||
/* 017820 8003C420 03E00008 */ jr $ra
|
||||
/* 017824 8003C424 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8003C428:
|
||||
glabel func_8003C428
|
||||
/* 017828 8003C428 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 01782C 8003C42C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 017830 8003C430 0C00F14F */ jal func_8003C53C
|
||||
@ -4541,7 +4541,7 @@ func_8003C428:
|
||||
/* 01783C 8003C43C 03E00008 */ jr $ra
|
||||
/* 017840 8003C440 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8003C444:
|
||||
glabel func_8003C444
|
||||
/* 017844 8003C444 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 017848 8003C448 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 01784C 8003C44C 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -4613,7 +4613,7 @@ func_8003C444:
|
||||
/* 017934 8003C534 03E00008 */ jr $ra
|
||||
/* 017938 8003C538 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8003C53C:
|
||||
glabel func_8003C53C
|
||||
/* 01793C 8003C53C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 017940 8003C540 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 017944 8003C544 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -4679,7 +4679,7 @@ func_8003C53C:
|
||||
/* 017A14 8003C614 03E00008 */ jr $ra
|
||||
/* 017A18 8003C618 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8003C61C:
|
||||
glabel func_8003C61C
|
||||
/* 017A1C 8003C61C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 017A20 8003C620 00851021 */ addu $v0, $a0, $a1
|
||||
/* 017A24 8003C624 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -4697,15 +4697,15 @@ func_8003C61C:
|
||||
/* 017A50 8003C650 03E00008 */ jr $ra
|
||||
/* 017A54 8003C654 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8003C658:
|
||||
glabel func_8003C658
|
||||
/* 017A58 8003C658 03E00008 */ jr $ra
|
||||
/* 017A5C 8003C65C 00000000 */ nop
|
||||
|
||||
func_8003C660:
|
||||
glabel func_8003C660
|
||||
/* 017A60 8003C660 03E00008 */ jr $ra
|
||||
/* 017A64 8003C664 00000000 */ nop
|
||||
|
||||
func_8003C668:
|
||||
glabel func_8003C668
|
||||
/* 017A68 8003C668 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 017A6C 8003C66C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 017A70 8003C670 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -4784,7 +4784,7 @@ func_8003C668:
|
||||
/* 017B84 8003C784 03E00008 */ jr $ra
|
||||
/* 017B88 8003C788 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8003C78C:
|
||||
glabel func_8003C78C
|
||||
/* 017B8C 8003C78C 00052880 */ sll $a1, $a1, 2
|
||||
/* 017B90 8003C790 00852021 */ addu $a0, $a0, $a1
|
||||
/* 017B94 8003C794 8C820324 */ lw $v0, 0x324($a0)
|
||||
@ -4793,7 +4793,7 @@ func_8003C78C:
|
||||
/* 017BA0 8003C7A0 03E00008 */ jr $ra
|
||||
/* 017BA4 8003C7A4 AC62002C */ sw $v0, 0x2c($v1)
|
||||
|
||||
func_8003C7A8:
|
||||
glabel func_8003C7A8
|
||||
/* 017BA8 8003C7A8 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 017BAC 8003C7AC AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 017BB0 8003C7B0 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -4870,11 +4870,11 @@ func_8003C7A8:
|
||||
/* 017CA4 8003C8A4 03E00008 */ jr $ra
|
||||
/* 017CA8 8003C8A8 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8003C8AC:
|
||||
glabel func_8003C8AC
|
||||
/* 017CAC 8003C8AC 03E00008 */ jr $ra
|
||||
/* 017CB0 8003C8B0 00000000 */ nop
|
||||
|
||||
func_8003C8B4:
|
||||
glabel func_8003C8B4
|
||||
/* 017CB4 8003C8B4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 017CB8 8003C8B8 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 017CBC 8003C8BC 00858021 */ addu $s0, $a0, $a1
|
||||
@ -4933,7 +4933,7 @@ func_8003C8B4:
|
||||
/* 017D7C 8003C97C 03E00008 */ jr $ra
|
||||
/* 017D80 8003C980 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8003C984:
|
||||
glabel func_8003C984
|
||||
/* 017D84 8003C984 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 017D88 8003C988 00052880 */ sll $a1, $a1, 2
|
||||
/* 017D8C 8003C98C 00852021 */ addu $a0, $a0, $a1
|
||||
@ -4944,7 +4944,7 @@ func_8003C984:
|
||||
/* 017DA0 8003C9A0 03E00008 */ jr $ra
|
||||
/* 017DA4 8003C9A4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8003C9A8:
|
||||
glabel func_8003C9A8
|
||||
/* 017DA8 8003C9A8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 017DAC 8003C9AC AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 017DB0 8003C9B0 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -5045,7 +5045,7 @@ func_8003C9A8:
|
||||
/* 017F18 8003CB18 03E00008 */ jr $ra
|
||||
/* 017F1C 8003CB1C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8003CB20:
|
||||
glabel func_8003CB20
|
||||
/* 017F20 8003CB20 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 017F24 8003CB24 00052880 */ sll $a1, $a1, 2
|
||||
/* 017F28 8003CB28 00852021 */ addu $a0, $a0, $a1
|
||||
@ -5056,7 +5056,7 @@ func_8003CB20:
|
||||
/* 017F3C 8003CB3C 03E00008 */ jr $ra
|
||||
/* 017F40 8003CB40 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8003CB44:
|
||||
glabel func_8003CB44
|
||||
/* 017F44 8003CB44 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 017F48 8003CB48 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 017F4C 8003CB4C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -5145,7 +5145,7 @@ func_8003CB44:
|
||||
/* 018084 8003CC84 03E00008 */ jr $ra
|
||||
/* 018088 8003CC88 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8003CC8C:
|
||||
glabel func_8003CC8C
|
||||
/* 01808C 8003CC8C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 018090 8003CC90 00052880 */ sll $a1, $a1, 2
|
||||
/* 018094 8003CC94 00852021 */ addu $a0, $a0, $a1
|
||||
@ -5156,7 +5156,7 @@ func_8003CC8C:
|
||||
/* 0180A8 8003CCA8 03E00008 */ jr $ra
|
||||
/* 0180AC 8003CCAC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8003CCB0:
|
||||
glabel func_8003CCB0
|
||||
/* 0180B0 8003CCB0 27BDFF60 */ addiu $sp, $sp, -0xa0
|
||||
/* 0180B4 8003CCB4 AFB60080 */ sw $s6, 0x80($sp)
|
||||
/* 0180B8 8003CCB8 0080B02D */ daddu $s6, $a0, $zero
|
||||
@ -5360,11 +5360,11 @@ func_8003CCB0:
|
||||
/* 018398 8003CF98 03E00008 */ jr $ra
|
||||
/* 01839C 8003CF9C 27BD00A0 */ addiu $sp, $sp, 0xa0
|
||||
|
||||
func_8003CFA0:
|
||||
glabel func_8003CFA0
|
||||
/* 0183A0 8003CFA0 03E00008 */ jr $ra
|
||||
/* 0183A4 8003CFA4 00000000 */ nop
|
||||
|
||||
func_8003CFA8:
|
||||
glabel func_8003CFA8
|
||||
/* 0183A8 8003CFA8 00852021 */ addu $a0, $a0, $a1
|
||||
/* 0183AC 8003CFAC 03E00008 */ jr $ra
|
||||
/* 0183B0 8003CFB0 A0800330 */ sb $zero, 0x330($a0)
|
||||
@ -5511,7 +5511,7 @@ func_8003CFA8:
|
||||
/* 0185CC 8003D1CC 03E00008 */ jr $ra
|
||||
/* 0185D0 8003D1D0 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_8003D1D4:
|
||||
glabel func_8003D1D4
|
||||
/* 0185D4 8003D1D4 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0185D8 8003D1D8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0185DC 8003D1DC 34924000 */ ori $s2, $a0, 0x4000
|
||||
@ -5593,7 +5593,7 @@ func_8003D1D4:
|
||||
/* 0186F0 8003D2F0 03E00008 */ jr $ra
|
||||
/* 0186F4 8003D2F4 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8003D2F8:
|
||||
glabel func_8003D2F8
|
||||
/* 0186F8 8003D2F8 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0186FC 8003D2FC AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* 018700 8003D300 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -5648,7 +5648,7 @@ func_8003D2F8:
|
||||
/* 0187B4 8003D3B4 03E00008 */ jr $ra
|
||||
/* 0187B8 8003D3B8 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_8003D3BC:
|
||||
glabel func_8003D3BC
|
||||
/* 0187BC 8003D3BC 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 0187C0 8003D3C0 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 0187C4 8003D3C4 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -5819,7 +5819,7 @@ func_8003D3BC:
|
||||
/* 018A1C 8003D61C 03E00008 */ jr $ra
|
||||
/* 018A20 8003D620 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_8003D624:
|
||||
glabel func_8003D624
|
||||
/* 018A24 8003D624 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 018A28 8003D628 8FA20028 */ lw $v0, 0x28($sp)
|
||||
/* 018A2C 8003D62C 8FA3002C */ lw $v1, 0x2c($sp)
|
||||
@ -5836,7 +5836,7 @@ func_8003D624:
|
||||
/* 018A58 8003D658 03E00008 */ jr $ra
|
||||
/* 018A5C 8003D65C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8003D660:
|
||||
glabel func_8003D660
|
||||
/* 018A60 8003D660 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 018A64 8003D664 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 018A68 8003D668 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -5920,7 +5920,7 @@ func_8003D660:
|
||||
/* 018B80 8003D780 03E00008 */ jr $ra
|
||||
/* 018B84 8003D784 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8003D788:
|
||||
glabel func_8003D788
|
||||
/* 018B88 8003D788 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 018B8C 8003D78C AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 018B90 8003D790 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -6103,7 +6103,7 @@ func_8003D788:
|
||||
/* 018E30 8003DA30 03E00008 */ jr $ra
|
||||
/* 018E34 8003DA34 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_8003DA38:
|
||||
glabel func_8003DA38
|
||||
/* 018E38 8003DA38 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 018E3C 8003DA3C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 018E40 8003DA40 24020002 */ addiu $v0, $zero, 2
|
||||
@ -6237,7 +6237,7 @@ func_8003DA38:
|
||||
/* 019030 8003DC30 03E00008 */ jr $ra
|
||||
/* 019034 8003DC34 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_8003DC38:
|
||||
glabel func_8003DC38
|
||||
/* 019038 8003DC38 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 01903C 8003DC3C 3C028007 */ lui $v0, 0x8007
|
||||
/* 019040 8003DC40 24427C2C */ addiu $v0, $v0, 0x7c2c
|
||||
@ -6461,7 +6461,7 @@ func_8003DC38:
|
||||
/* 019398 8003DF98 03E00008 */ jr $ra
|
||||
/* 01939C 8003DF9C 27BD0058 */ addiu $sp, $sp, 0x58
|
||||
|
||||
func_8003DFA0:
|
||||
glabel func_8003DFA0
|
||||
/* 0193A0 8003DFA0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0193A4 8003DFA4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 0193A8 8003DFA8 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -6541,7 +6541,7 @@ func_8003DFA0:
|
||||
/* 0194CC 8003E0CC 03E00008 */ jr $ra
|
||||
/* 0194D0 8003E0D0 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8003E0D4:
|
||||
glabel func_8003E0D4
|
||||
/* 0194D4 8003E0D4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0194D8 8003E0D8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0194DC 8003E0DC 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -6607,7 +6607,7 @@ func_8003E0D4:
|
||||
/* 0195C8 8003E1C8 03E00008 */ jr $ra
|
||||
/* 0195CC 8003E1CC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8003E1D0:
|
||||
glabel func_8003E1D0
|
||||
/* 0195D0 8003E1D0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0195D4 8003E1D4 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 0195D8 8003E1D8 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -6678,7 +6678,7 @@ func_8003E1D0:
|
||||
/* 0196D8 8003E2D8 03E00008 */ jr $ra
|
||||
/* 0196DC 8003E2DC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
COPY_set_defeated:
|
||||
glabel COPY_set_defeated
|
||||
/* 0196E0 8003E2E0 0080182D */ daddu $v1, $a0, $zero
|
||||
/* 0196E4 8003E2E4 00A0102D */ daddu $v0, $a1, $zero
|
||||
/* 0196E8 8003E2E8 04410002 */ bgez $v0, .L8003E2F4
|
||||
@ -6703,7 +6703,7 @@ COPY_set_defeated:
|
||||
/* 019730 8003E330 03E00008 */ jr $ra
|
||||
/* 019734 8003E334 AC8200B0 */ sw $v0, 0xb0($a0)
|
||||
|
||||
func_8003E338:
|
||||
glabel func_8003E338
|
||||
/* 019738 8003E338 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 01973C 8003E33C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 019740 8003E340 24050017 */ addiu $a1, $zero, 0x17
|
||||
@ -6759,7 +6759,7 @@ func_8003E338:
|
||||
/* 0197F8 8003E3F8 03E00008 */ jr $ra
|
||||
/* 0197FC 8003E3FC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
clear_encounter_status:
|
||||
glabel clear_encounter_status
|
||||
/* 019800 8003E400 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 019804 8003E404 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 019808 8003E408 24050017 */ addiu $a1, $zero, 0x17
|
||||
@ -6836,13 +6836,13 @@ clear_encounter_status:
|
||||
/* 01990C 8003E50C 03E00008 */ jr $ra
|
||||
/* 019910 8003E510 00000000 */ nop
|
||||
|
||||
func_8003E514:
|
||||
glabel func_8003E514
|
||||
/* 019914 8003E514 3C01800B */ lui $at, 0x800b
|
||||
/* 019918 8003E518 A0240F18 */ sb $a0, 0xf18($at)
|
||||
/* 01991C 8003E51C 03E00008 */ jr $ra
|
||||
/* 019920 8003E520 00000000 */ nop
|
||||
|
||||
func_8003E524:
|
||||
glabel func_8003E524
|
||||
/* 019924 8003E524 3C03800A */ lui $v1, 0x800a
|
||||
/* 019928 8003E528 8C63A600 */ lw $v1, -0x5a00($v1)
|
||||
/* 01992C 8003E52C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -6884,7 +6884,7 @@ func_8003E524:
|
||||
/* 0199A8 8003E5A8 03E00008 */ jr $ra
|
||||
/* 0199AC 8003E5AC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8003E5B0:
|
||||
glabel func_8003E5B0
|
||||
/* 0199B0 8003E5B0 3C03800A */ lui $v1, 0x800a
|
||||
/* 0199B4 8003E5B4 8C63A600 */ lw $v1, -0x5a00($v1)
|
||||
/* 0199B8 8003E5B8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -6926,7 +6926,7 @@ func_8003E5B0:
|
||||
/* 019A34 8003E634 03E00008 */ jr $ra
|
||||
/* 019A38 8003E638 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8003E63C:
|
||||
glabel func_8003E63C
|
||||
/* 019A3C 8003E63C 3C03800A */ lui $v1, 0x800a
|
||||
/* 019A40 8003E640 8C63A600 */ lw $v1, -0x5a00($v1)
|
||||
/* 019A44 8003E644 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -6945,7 +6945,7 @@ func_8003E63C:
|
||||
/* 019A70 8003E670 03E00008 */ jr $ra
|
||||
/* 019A74 8003E674 00000000 */ nop
|
||||
|
||||
make_npcs:
|
||||
glabel make_npcs
|
||||
/* 019A78 8003E678 3C028007 */ lui $v0, 0x8007
|
||||
/* 019A7C 8003E67C 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 019A80 8003E680 3C08800B */ lui $t0, 0x800b
|
||||
@ -6998,7 +6998,7 @@ make_npcs:
|
||||
/* 019B28 8003E728 03E00008 */ jr $ra
|
||||
/* 019B2C 8003E72C 00000000 */ nop
|
||||
|
||||
kill_encounter:
|
||||
glabel kill_encounter
|
||||
/* 019B30 8003E730 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 019B34 8003E734 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 019B38 8003E738 AFB20018 */ sw $s2, 0x18($sp)
|
||||
@ -7034,7 +7034,7 @@ kill_encounter:
|
||||
/* 019BA4 8003E7A4 03E00008 */ jr $ra
|
||||
/* 019BA8 8003E7A8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
kill_enemy:
|
||||
glabel kill_enemy
|
||||
/* 019BAC 8003E7AC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 019BB0 8003E7B0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 019BB4 8003E7B4 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -7153,7 +7153,7 @@ kill_enemy:
|
||||
/* 019D44 8003E944 03E00008 */ jr $ra
|
||||
/* 019D48 8003E948 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
bind_enemy_ai:
|
||||
glabel bind_enemy_ai
|
||||
/* 019D4C 8003E94C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 019D50 8003E950 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 019D54 8003E954 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -7182,7 +7182,7 @@ bind_enemy_ai:
|
||||
/* 019DAC 8003E9AC 03E00008 */ jr $ra
|
||||
/* 019DB0 8003E9B0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
bind_enemy_aux:
|
||||
glabel bind_enemy_aux
|
||||
/* 019DB4 8003E9B4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 019DB8 8003E9B8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 019DBC 8003E9BC 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -7211,7 +7211,7 @@ bind_enemy_aux:
|
||||
/* 019E14 8003EA14 03E00008 */ jr $ra
|
||||
/* 019E18 8003EA18 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
bind_enemy_interact:
|
||||
glabel bind_enemy_interact
|
||||
/* 019E1C 8003EA1C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 019E20 8003EA20 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 019E24 8003EA24 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -7240,7 +7240,7 @@ bind_enemy_interact:
|
||||
/* 019E7C 8003EA7C 03E00008 */ jr $ra
|
||||
/* 019E80 8003EA80 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
bind_npc_ai:
|
||||
glabel bind_npc_ai
|
||||
/* 019E84 8003EA84 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 019E88 8003EA88 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 019E8C 8003EA8C 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -7300,7 +7300,7 @@ bind_npc_ai:
|
||||
/* 019F48 8003EB48 03E00008 */ jr $ra
|
||||
/* 019F4C 8003EB4C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
bind_npc_aux:
|
||||
glabel bind_npc_aux
|
||||
/* 019F50 8003EB50 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 019F54 8003EB54 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 019F58 8003EB58 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -7360,7 +7360,7 @@ bind_npc_aux:
|
||||
/* 01A014 8003EC14 03E00008 */ jr $ra
|
||||
/* 01A018 8003EC18 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
bind_npc_interact:
|
||||
glabel bind_npc_interact
|
||||
/* 01A01C 8003EC1C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 01A020 8003EC20 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 01A024 8003EC24 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -7420,7 +7420,7 @@ bind_npc_interact:
|
||||
/* 01A0E0 8003ECE0 03E00008 */ jr $ra
|
||||
/* 01A0E4 8003ECE4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
get_enemy:
|
||||
glabel get_enemy
|
||||
/* 01A0E8 8003ECE8 3C03800B */ lui $v1, 0x800b
|
||||
/* 01A0EC 8003ECEC 24630F10 */ addiu $v1, $v1, 0xf10
|
||||
/* 01A0F0 8003ECF0 8062001C */ lb $v0, 0x1c($v1)
|
||||
@ -7462,7 +7462,7 @@ get_enemy:
|
||||
/* 01A160 8003ED60 03E00008 */ jr $ra
|
||||
/* 01A164 8003ED64 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
get_enemy_safe:
|
||||
glabel get_enemy_safe
|
||||
/* 01A168 8003ED68 3C03800B */ lui $v1, 0x800b
|
||||
/* 01A16C 8003ED6C 24630F10 */ addiu $v1, $v1, 0xf10
|
||||
/* 01A170 8003ED70 8062001C */ lb $v0, 0x1c($v1)
|
||||
|
File diff suppressed because it is too large
Load Diff
1131
papermario/asm/code_167570.s
Normal file
1131
papermario/asm/code_167570.s
Normal file
File diff suppressed because it is too large
Load Diff
1612
papermario/asm/code_168590.s
Normal file
1612
papermario/asm/code_168590.s
Normal file
File diff suppressed because it is too large
Load Diff
578
papermario/asm/code_169BE0.s
Normal file
578
papermario/asm/code_169BE0.s
Normal file
@ -0,0 +1,578 @@
|
||||
# %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 .text80249380, "ax"
|
||||
|
||||
glabel func_80249380
|
||||
/* 169BE0 80249380 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 169BE4 80249384 0080482D */ daddu $t1, $a0, $zero
|
||||
/* 169BE8 80249388 AFB5003C */ sw $s5, 0x3c($sp)
|
||||
/* 169BEC 8024938C 00A0A82D */ daddu $s5, $a1, $zero
|
||||
/* 169BF0 80249390 AFB60040 */ sw $s6, 0x40($sp)
|
||||
/* 169BF4 80249394 8FAA0058 */ lw $t2, 0x58($sp)
|
||||
/* 169BF8 80249398 3C038025 */ lui $v1, 0x8025
|
||||
/* 169BFC 8024939C 2463B7CC */ addiu $v1, $v1, -0x4834
|
||||
/* 169C00 802493A0 AFBF0044 */ sw $ra, 0x44($sp)
|
||||
/* 169C04 802493A4 AFB40038 */ sw $s4, 0x38($sp)
|
||||
/* 169C08 802493A8 AFB30034 */ sw $s3, 0x34($sp)
|
||||
/* 169C0C 802493AC AFB20030 */ sw $s2, 0x30($sp)
|
||||
/* 169C10 802493B0 AFB1002C */ sw $s1, 0x2c($sp)
|
||||
/* 169C14 802493B4 AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* 169C18 802493B8 8C620000 */ lw $v0, ($v1)
|
||||
/* 169C1C 802493BC 8FAD005C */ lw $t5, 0x5c($sp)
|
||||
/* 169C20 802493C0 10E20004 */ beq $a3, $v0, .L802493D4
|
||||
/* 169C24 802493C4 00C0B02D */ daddu $s6, $a2, $zero
|
||||
/* 169C28 802493C8 AC670000 */ sw $a3, ($v1)
|
||||
/* 169C2C 802493CC 3C018025 */ lui $at, 0x8025
|
||||
/* 169C30 802493D0 AC20B7D0 */ sw $zero, -0x4830($at)
|
||||
.L802493D4:
|
||||
/* 169C34 802493D4 3C058025 */ lui $a1, 0x8025
|
||||
/* 169C38 802493D8 24A5B7D0 */ addiu $a1, $a1, -0x4830
|
||||
/* 169C3C 802493DC 8C630000 */ lw $v1, ($v1)
|
||||
/* 169C40 802493E0 8CA40000 */ lw $a0, ($a1)
|
||||
/* 169C44 802493E4 00031880 */ sll $v1, $v1, 2
|
||||
/* 169C48 802493E8 00041040 */ sll $v0, $a0, 1
|
||||
/* 169C4C 802493EC 00441021 */ addu $v0, $v0, $a0
|
||||
/* 169C50 802493F0 3C01802F */ lui $at, 0x802f
|
||||
/* 169C54 802493F4 00230821 */ addu $at, $at, $v1
|
||||
/* 169C58 802493F8 8C23B5A8 */ lw $v1, -0x4a58($at)
|
||||
/* 169C5C 802493FC 00021080 */ sll $v0, $v0, 2
|
||||
/* 169C60 80249400 8C640008 */ lw $a0, 8($v1)
|
||||
/* 169C64 80249404 90720000 */ lbu $s2, ($v1)
|
||||
/* 169C68 80249408 90730001 */ lbu $s3, 1($v1)
|
||||
/* 169C6C 8024940C 946B0004 */ lhu $t3, 4($v1)
|
||||
/* 169C70 80249410 00822021 */ addu $a0, $a0, $v0
|
||||
/* 169C74 80249414 292200A2 */ slti $v0, $t1, 0xa2
|
||||
/* 169C78 80249418 90940008 */ lbu $s4, 8($a0)
|
||||
/* 169C7C 8024941C 8C8C0000 */ lw $t4, ($a0)
|
||||
/* 169C80 80249420 10400130 */ beqz $v0, .L802498E4
|
||||
/* 169C84 80249424 240200F7 */ addiu $v0, $zero, 0xf7
|
||||
/* 169C88 80249428 3C08800A */ lui $t0, 0x800a
|
||||
/* 169C8C 8024942C 2508A66C */ addiu $t0, $t0, -0x5994
|
||||
/* 169C90 80249430 8C820004 */ lw $v0, 4($a0)
|
||||
/* 169C94 80249434 8D040000 */ lw $a0, ($t0)
|
||||
/* 169C98 80249438 3C038025 */ lui $v1, 0x8025
|
||||
/* 169C9C 8024943C 8C63B7C8 */ lw $v1, -0x4838($v1)
|
||||
/* 169CA0 80249440 00491021 */ addu $v0, $v0, $t1
|
||||
/* 169CA4 80249444 90540000 */ lbu $s4, ($v0)
|
||||
/* 169CA8 80249448 1083000A */ beq $a0, $v1, .L80249474
|
||||
/* 169CAC 8024944C 24820008 */ addiu $v0, $a0, 8
|
||||
/* 169CB0 80249450 AD020000 */ sw $v0, ($t0)
|
||||
/* 169CB4 80249454 3C02DE00 */ lui $v0, 0xde00
|
||||
/* 169CB8 80249458 AC820000 */ sw $v0, ($a0)
|
||||
/* 169CBC 8024945C 3C028025 */ lui $v0, 0x8025
|
||||
/* 169CC0 80249460 2442B760 */ addiu $v0, $v0, -0x48a0
|
||||
/* 169CC4 80249464 AC820004 */ sw $v0, 4($a0)
|
||||
/* 169CC8 80249468 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 169CCC 8024946C 3C018025 */ lui $at, 0x8025
|
||||
/* 169CD0 80249470 AC22B7D4 */ sw $v0, -0x482c($at)
|
||||
.L80249474:
|
||||
/* 169CD4 80249474 3C048025 */ lui $a0, 0x8025
|
||||
/* 169CD8 80249478 2484B7D4 */ addiu $a0, $a0, -0x482c
|
||||
/* 169CDC 8024947C 8C820000 */ lw $v0, ($a0)
|
||||
/* 169CE0 80249480 104A0029 */ beq $v0, $t2, .L80249528
|
||||
/* 169CE4 80249484 3C06F500 */ lui $a2, 0xf500
|
||||
/* 169CE8 80249488 34C60100 */ ori $a2, $a2, 0x100
|
||||
/* 169CEC 8024948C 3C070703 */ lui $a3, 0x703
|
||||
/* 169CF0 80249490 34E7C000 */ ori $a3, $a3, 0xc000
|
||||
/* 169CF4 80249494 8D030000 */ lw $v1, ($t0)
|
||||
/* 169CF8 80249498 3C02FD10 */ lui $v0, 0xfd10
|
||||
/* 169CFC 8024949C AC8A0000 */ sw $t2, ($a0)
|
||||
/* 169D00 802494A0 3C04802F */ lui $a0, 0x802f
|
||||
/* 169D04 802494A4 24844560 */ addiu $a0, $a0, 0x4560
|
||||
/* 169D08 802494A8 0060282D */ daddu $a1, $v1, $zero
|
||||
/* 169D0C 802494AC 24630008 */ addiu $v1, $v1, 8
|
||||
/* 169D10 802494B0 AD030000 */ sw $v1, ($t0)
|
||||
/* 169D14 802494B4 ACA20000 */ sw $v0, ($a1)
|
||||
/* 169D18 802494B8 000A1100 */ sll $v0, $t2, 4
|
||||
/* 169D1C 802494BC 00441021 */ addu $v0, $v0, $a0
|
||||
/* 169D20 802494C0 ACA20004 */ sw $v0, 4($a1)
|
||||
/* 169D24 802494C4 24620008 */ addiu $v0, $v1, 8
|
||||
/* 169D28 802494C8 AD020000 */ sw $v0, ($t0)
|
||||
/* 169D2C 802494CC 3C02E800 */ lui $v0, 0xe800
|
||||
/* 169D30 802494D0 AC620000 */ sw $v0, ($v1)
|
||||
/* 169D34 802494D4 24620010 */ addiu $v0, $v1, 0x10
|
||||
/* 169D38 802494D8 AC600004 */ sw $zero, 4($v1)
|
||||
/* 169D3C 802494DC AD020000 */ sw $v0, ($t0)
|
||||
/* 169D40 802494E0 3C020700 */ lui $v0, 0x700
|
||||
/* 169D44 802494E4 AC62000C */ sw $v0, 0xc($v1)
|
||||
/* 169D48 802494E8 24620018 */ addiu $v0, $v1, 0x18
|
||||
/* 169D4C 802494EC AC660008 */ sw $a2, 8($v1)
|
||||
/* 169D50 802494F0 AD020000 */ sw $v0, ($t0)
|
||||
/* 169D54 802494F4 3C02E600 */ lui $v0, 0xe600
|
||||
/* 169D58 802494F8 AC620010 */ sw $v0, 0x10($v1)
|
||||
/* 169D5C 802494FC 24620020 */ addiu $v0, $v1, 0x20
|
||||
/* 169D60 80249500 AC600014 */ sw $zero, 0x14($v1)
|
||||
/* 169D64 80249504 AD020000 */ sw $v0, ($t0)
|
||||
/* 169D68 80249508 3C02F000 */ lui $v0, 0xf000
|
||||
/* 169D6C 8024950C AC620018 */ sw $v0, 0x18($v1)
|
||||
/* 169D70 80249510 24620028 */ addiu $v0, $v1, 0x28
|
||||
/* 169D74 80249514 AC67001C */ sw $a3, 0x1c($v1)
|
||||
/* 169D78 80249518 AD020000 */ sw $v0, ($t0)
|
||||
/* 169D7C 8024951C 3C02E700 */ lui $v0, 0xe700
|
||||
/* 169D80 80249520 AC620020 */ sw $v0, 0x20($v1)
|
||||
/* 169D84 80249524 AC600024 */ sw $zero, 0x24($v1)
|
||||
.L80249528:
|
||||
/* 169D88 80249528 2A420010 */ slti $v0, $s2, 0x10
|
||||
/* 169D8C 8024952C 1440005E */ bnez $v0, .L802496A8
|
||||
/* 169D90 80249530 3242000F */ andi $v0, $s2, 0xf
|
||||
/* 169D94 80249534 1440005C */ bnez $v0, .L802496A8
|
||||
/* 169D98 80249538 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 169D9C 8024953C 3C02FD50 */ lui $v0, 0xfd50
|
||||
/* 169DA0 80249540 3C070700 */ lui $a3, 0x700
|
||||
/* 169DA4 80249544 8D050000 */ lw $a1, ($t0)
|
||||
/* 169DA8 80249548 01690018 */ mult $t3, $t1
|
||||
/* 169DAC 8024954C 00A0182D */ daddu $v1, $a1, $zero
|
||||
/* 169DB0 80249550 24A50008 */ addiu $a1, $a1, 8
|
||||
/* 169DB4 80249554 AD050000 */ sw $a1, ($t0)
|
||||
/* 169DB8 80249558 AC620000 */ sw $v0, ($v1)
|
||||
/* 169DBC 8024955C 24A20008 */ addiu $v0, $a1, 8
|
||||
/* 169DC0 80249560 AD020000 */ sw $v0, ($t0)
|
||||
/* 169DC4 80249564 24A20010 */ addiu $v0, $a1, 0x10
|
||||
/* 169DC8 80249568 AD020000 */ sw $v0, ($t0)
|
||||
/* 169DCC 8024956C 24A20018 */ addiu $v0, $a1, 0x18
|
||||
/* 169DD0 80249570 AD020000 */ sw $v0, ($t0)
|
||||
/* 169DD4 80249574 00007012 */ mflo $t6
|
||||
/* 169DD8 80249578 018E1021 */ addu $v0, $t4, $t6
|
||||
/* 169DDC 8024957C AC620004 */ sw $v0, 4($v1)
|
||||
/* 169DE0 80249580 3C02F550 */ lui $v0, 0xf550
|
||||
/* 169DE4 80249584 ACA20000 */ sw $v0, ($a1)
|
||||
/* 169DE8 80249588 3C02E600 */ lui $v0, 0xe600
|
||||
/* 169DEC 8024958C ACA20008 */ sw $v0, 8($a1)
|
||||
/* 169DF0 80249590 3C02F300 */ lui $v0, 0xf300
|
||||
.L80249594:
|
||||
/* 169DF4 80249594 ACA70004 */ sw $a3, 4($a1)
|
||||
/* 169DF8 80249598 ACA0000C */ sw $zero, 0xc($a1)
|
||||
/* 169DFC 8024959C 06410002 */ bgez $s2, .L802495A8
|
||||
/* 169E00 802495A0 ACA20010 */ sw $v0, 0x10($a1)
|
||||
/* 169E04 802495A4 2644000F */ addiu $a0, $s2, 0xf
|
||||
.L802495A8:
|
||||
/* 169E08 802495A8 00043103 */ sra $a2, $a0, 4
|
||||
/* 169E0C 802495AC 18C00002 */ blez $a2, .L802495B8
|
||||
/* 169E10 802495B0 24030800 */ addiu $v1, $zero, 0x800
|
||||
/* 169E14 802495B4 24C307FF */ addiu $v1, $a2, 0x7ff
|
||||
.L802495B8:
|
||||
/* 169E18 802495B8 02530018 */ mult $s2, $s3
|
||||
/* 169E1C 802495BC 00007012 */ mflo $t6
|
||||
/* 169E20 802495C0 25C20003 */ addiu $v0, $t6, 3
|
||||
/* 169E24 802495C4 00021083 */ sra $v0, $v0, 2
|
||||
/* 169E28 802495C8 2444FFFF */ addiu $a0, $v0, -1
|
||||
/* 169E2C 802495CC 28820800 */ slti $v0, $a0, 0x800
|
||||
/* 169E30 802495D0 50400001 */ beql $v0, $zero, .L802495D8
|
||||
/* 169E34 802495D4 240407FF */ addiu $a0, $zero, 0x7ff
|
||||
.L802495D8:
|
||||
/* 169E38 802495D8 30820FFF */ andi $v0, $a0, 0xfff
|
||||
/* 169E3C 802495DC 00021300 */ sll $v0, $v0, 0xc
|
||||
/* 169E40 802495E0 18C0000D */ blez $a2, .L80249618
|
||||
/* 169E44 802495E4 00472025 */ or $a0, $v0, $a3
|
||||
/* 169E48 802495E8 14C00002 */ bnez $a2, .L802495F4
|
||||
/* 169E4C 802495EC 0066001A */ div $zero, $v1, $a2
|
||||
/* 169E50 802495F0 0007000D */ break 7
|
||||
.L802495F4:
|
||||
/* 169E54 802495F4 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 169E58 802495F8 14C10004 */ bne $a2, $at, .L8024960C
|
||||
/* 169E5C 802495FC 3C018000 */ lui $at, 0x8000
|
||||
/* 169E60 80249600 14610002 */ bne $v1, $at, .L8024960C
|
||||
/* 169E64 80249604 00000000 */ nop
|
||||
/* 169E68 80249608 0006000D */ break 6
|
||||
.L8024960C:
|
||||
/* 169E6C 8024960C 00001012 */ mflo $v0
|
||||
/* 169E70 80249610 08092587 */ j .L8024961C
|
||||
/* 169E74 80249614 30420FFF */ andi $v0, $v0, 0xfff
|
||||
|
||||
.L80249618:
|
||||
/* 169E78 80249618 30620FFF */ andi $v0, $v1, 0xfff
|
||||
.L8024961C:
|
||||
/* 169E7C 8024961C 00821025 */ or $v0, $a0, $v0
|
||||
/* 169E80 80249620 ACA20014 */ sw $v0, 0x14($a1)
|
||||
/* 169E84 80249624 3C05800A */ lui $a1, 0x800a
|
||||
/* 169E88 80249628 24A5A66C */ addiu $a1, $a1, -0x5994
|
||||
/* 169E8C 8024962C 8CA40000 */ lw $a0, ($a1)
|
||||
/* 169E90 80249630 3C02E700 */ lui $v0, 0xe700
|
||||
/* 169E94 80249634 0080182D */ daddu $v1, $a0, $zero
|
||||
/* 169E98 80249638 24840008 */ addiu $a0, $a0, 8
|
||||
/* 169E9C 8024963C ACA40000 */ sw $a0, ($a1)
|
||||
/* 169EA0 80249640 AC620000 */ sw $v0, ($v1)
|
||||
/* 169EA4 80249644 24820008 */ addiu $v0, $a0, 8
|
||||
/* 169EA8 80249648 AC600004 */ sw $zero, 4($v1)
|
||||
/* 169EAC 8024964C ACA20000 */ sw $v0, ($a1)
|
||||
/* 169EB0 80249650 00121043 */ sra $v0, $s2, 1
|
||||
/* 169EB4 80249654 24420007 */ addiu $v0, $v0, 7
|
||||
/* 169EB8 80249658 000210C2 */ srl $v0, $v0, 3
|
||||
/* 169EBC 8024965C 00021240 */ sll $v0, $v0, 9
|
||||
/* 169EC0 80249660 3C03F540 */ lui $v1, 0xf540
|
||||
/* 169EC4 80249664 00431025 */ or $v0, $v0, $v1
|
||||
/* 169EC8 80249668 AC820000 */ sw $v0, ($a0)
|
||||
/* 169ECC 8024966C 24820010 */ addiu $v0, $a0, 0x10
|
||||
/* 169ED0 80249670 AC800004 */ sw $zero, 4($a0)
|
||||
/* 169ED4 80249674 ACA20000 */ sw $v0, ($a1)
|
||||
/* 169ED8 80249678 3C02F200 */ lui $v0, 0xf200
|
||||
/* 169EDC 8024967C 2643FFFF */ addiu $v1, $s2, -1
|
||||
/* 169EE0 80249680 00031880 */ sll $v1, $v1, 2
|
||||
/* 169EE4 80249684 30630FFF */ andi $v1, $v1, 0xfff
|
||||
/* 169EE8 80249688 00031B00 */ sll $v1, $v1, 0xc
|
||||
/* 169EEC 8024968C AC820008 */ sw $v0, 8($a0)
|
||||
/* 169EF0 80249690 2662FFFF */ addiu $v0, $s3, -1
|
||||
/* 169EF4 80249694 00021080 */ sll $v0, $v0, 2
|
||||
/* 169EF8 80249698 30420FFF */ andi $v0, $v0, 0xfff
|
||||
/* 169EFC 8024969C 00621825 */ or $v1, $v1, $v0
|
||||
/* 169F00 802496A0 080925EB */ j .L802497AC
|
||||
/* 169F04 802496A4 AC83000C */ sw $v1, 0xc($a0)
|
||||
|
||||
.L802496A8:
|
||||
/* 169F08 802496A8 3C05800A */ lui $a1, 0x800a
|
||||
/* 169F0C 802496AC 24A5A66C */ addiu $a1, $a1, -0x5994
|
||||
/* 169F10 802496B0 00123043 */ sra $a2, $s2, 1
|
||||
/* 169F14 802496B4 24C2FFFF */ addiu $v0, $a2, -1
|
||||
/* 169F18 802496B8 30420FFF */ andi $v0, $v0, 0xfff
|
||||
/* 169F1C 802496BC 3C03FD48 */ lui $v1, 0xfd48
|
||||
/* 169F20 802496C0 00431025 */ or $v0, $v0, $v1
|
||||
/* 169F24 802496C4 24C60007 */ addiu $a2, $a2, 7
|
||||
/* 169F28 802496C8 000630C2 */ srl $a2, $a2, 3
|
||||
/* 169F2C 802496CC 00063240 */ sll $a2, $a2, 9
|
||||
/* 169F30 802496D0 2643FFFF */ addiu $v1, $s2, -1
|
||||
/* 169F34 802496D4 8CA40000 */ lw $a0, ($a1)
|
||||
/* 169F38 802496D8 01690018 */ mult $t3, $t1
|
||||
/* 169F3C 802496DC 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 169F40 802496E0 24840008 */ addiu $a0, $a0, 8
|
||||
/* 169F44 802496E4 ACA40000 */ sw $a0, ($a1)
|
||||
/* 169F48 802496E8 ACE20000 */ sw $v0, ($a3)
|
||||
/* 169F4C 802496EC 24820008 */ addiu $v0, $a0, 8
|
||||
/* 169F50 802496F0 ACA20000 */ sw $v0, ($a1)
|
||||
/* 169F54 802496F4 24820010 */ addiu $v0, $a0, 0x10
|
||||
/* 169F58 802496F8 ACA20000 */ sw $v0, ($a1)
|
||||
/* 169F5C 802496FC 24820018 */ addiu $v0, $a0, 0x18
|
||||
/* 169F60 80249700 ACA20000 */ sw $v0, ($a1)
|
||||
/* 169F64 80249704 24820020 */ addiu $v0, $a0, 0x20
|
||||
/* 169F68 80249708 ACA20000 */ sw $v0, ($a1)
|
||||
/* 169F6C 8024970C 24820028 */ addiu $v0, $a0, 0x28
|
||||
/* 169F70 80249710 ACA20000 */ sw $v0, ($a1)
|
||||
/* 169F74 80249714 24820030 */ addiu $v0, $a0, 0x30
|
||||
/* 169F78 80249718 ACA20000 */ sw $v0, ($a1)
|
||||
/* 169F7C 8024971C 2665FFFF */ addiu $a1, $s3, -1
|
||||
/* 169F80 80249720 00052880 */ sll $a1, $a1, 2
|
||||
/* 169F84 80249724 30A50FFF */ andi $a1, $a1, 0xfff
|
||||
/* 169F88 80249728 00007012 */ mflo $t6
|
||||
/* 169F8C 8024972C 018E1021 */ addu $v0, $t4, $t6
|
||||
/* 169F90 80249730 ACE20004 */ sw $v0, 4($a3)
|
||||
/* 169F94 80249734 3C02F548 */ lui $v0, 0xf548
|
||||
/* 169F98 80249738 00C21025 */ or $v0, $a2, $v0
|
||||
/* 169F9C 8024973C 3C070700 */ lui $a3, 0x700
|
||||
/* 169FA0 80249740 AC820000 */ sw $v0, ($a0)
|
||||
/* 169FA4 80249744 3C02E600 */ lui $v0, 0xe600
|
||||
/* 169FA8 80249748 AC820008 */ sw $v0, 8($a0)
|
||||
/* 169FAC 8024974C 3C02F400 */ lui $v0, 0xf400
|
||||
/* 169FB0 80249750 AC820010 */ sw $v0, 0x10($a0)
|
||||
/* 169FB4 80249754 00031040 */ sll $v0, $v1, 1
|
||||
/* 169FB8 80249758 30420FFF */ andi $v0, $v0, 0xfff
|
||||
/* 169FBC 8024975C 00021300 */ sll $v0, $v0, 0xc
|
||||
/* 169FC0 80249760 AC870004 */ sw $a3, 4($a0)
|
||||
/* 169FC4 80249764 00A73825 */ or $a3, $a1, $a3
|
||||
/* 169FC8 80249768 00471025 */ or $v0, $v0, $a3
|
||||
/* 169FCC 8024976C AC820014 */ sw $v0, 0x14($a0)
|
||||
/* 169FD0 80249770 3C02E700 */ lui $v0, 0xe700
|
||||
/* 169FD4 80249774 AC820018 */ sw $v0, 0x18($a0)
|
||||
/* 169FD8 80249778 3C02F540 */ lui $v0, 0xf540
|
||||
/* 169FDC 8024977C 00C23025 */ or $a2, $a2, $v0
|
||||
/* 169FE0 80249780 3C02F200 */ lui $v0, 0xf200
|
||||
/* 169FE4 80249784 00031880 */ sll $v1, $v1, 2
|
||||
/* 169FE8 80249788 30630FFF */ andi $v1, $v1, 0xfff
|
||||
/* 169FEC 8024978C 00031B00 */ sll $v1, $v1, 0xc
|
||||
/* 169FF0 80249790 00651825 */ or $v1, $v1, $a1
|
||||
/* 169FF4 80249794 AC80000C */ sw $zero, 0xc($a0)
|
||||
/* 169FF8 80249798 AC80001C */ sw $zero, 0x1c($a0)
|
||||
/* 169FFC 8024979C AC860020 */ sw $a2, 0x20($a0)
|
||||
/* 16A000 802497A0 AC800024 */ sw $zero, 0x24($a0)
|
||||
/* 16A004 802497A4 AC820028 */ sw $v0, 0x28($a0)
|
||||
/* 16A008 802497A8 AC83002C */ sw $v1, 0x2c($a0)
|
||||
.L802497AC:
|
||||
/* 16A00C 802497AC 11A0003A */ beqz $t5, .L80249898
|
||||
/* 16A010 802497B0 3C0AFCFF */ lui $t2, 0xfcff
|
||||
/* 16A014 802497B4 354A97FF */ ori $t2, $t2, 0x97ff
|
||||
/* 16A018 802497B8 3C08FF2D */ lui $t0, 0xff2d
|
||||
/* 16A01C 802497BC 3508FEFF */ ori $t0, $t0, 0xfeff
|
||||
/* 16A020 802497C0 3C11E200 */ lui $s1, 0xe200
|
||||
/* 16A024 802497C4 3631001C */ ori $s1, $s1, 0x1c
|
||||
/* 16A028 802497C8 3C090050 */ lui $t1, 0x50
|
||||
/* 16A02C 802497CC 35294340 */ ori $t1, $t1, 0x4340
|
||||
/* 16A030 802497D0 26A40002 */ addiu $a0, $s5, 2
|
||||
/* 16A034 802497D4 00042080 */ sll $a0, $a0, 2
|
||||
.L802497D8:
|
||||
/* 16A038 802497D8 26C50002 */ addiu $a1, $s6, 2
|
||||
/* 16A03C 802497DC 00052880 */ sll $a1, $a1, 2
|
||||
/* 16A040 802497E0 26460002 */ addiu $a2, $s2, 2
|
||||
/* 16A044 802497E4 02A63021 */ addu $a2, $s5, $a2
|
||||
/* 16A048 802497E8 00063080 */ sll $a2, $a2, 2
|
||||
/* 16A04C 802497EC 3C10800A */ lui $s0, 0x800a
|
||||
/* 16A050 802497F0 2610A66C */ addiu $s0, $s0, -0x5994
|
||||
/* 16A054 802497F4 26670002 */ addiu $a3, $s3, 2
|
||||
/* 16A058 802497F8 02C73821 */ addu $a3, $s6, $a3
|
||||
/* 16A05C 802497FC 8E020000 */ lw $v0, ($s0)
|
||||
/* 16A060 80249800 00073880 */ sll $a3, $a3, 2
|
||||
/* 16A064 80249804 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 16A068 80249808 24420008 */ addiu $v0, $v0, 8
|
||||
/* 16A06C 8024980C AE020000 */ sw $v0, ($s0)
|
||||
/* 16A070 80249810 AC6A0000 */ sw $t2, ($v1)
|
||||
/* 16A074 80249814 AC680004 */ sw $t0, 4($v1)
|
||||
/* 16A078 80249818 24430008 */ addiu $v1, $v0, 8
|
||||
/* 16A07C 8024981C AE030000 */ sw $v1, ($s0)
|
||||
/* 16A080 80249820 AC510000 */ sw $s1, ($v0)
|
||||
/* 16A084 80249824 AC490004 */ sw $t1, 4($v0)
|
||||
/* 16A088 80249828 24020400 */ addiu $v0, $zero, 0x400
|
||||
/* 16A08C 8024982C AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 16A090 80249830 AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 16A094 80249834 AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 16A098 80249838 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* 16A09C 8024983C 0C090AE8 */ jal func_80242BA0
|
||||
/* 16A0A0 80249840 AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* 16A0A4 80249844 3C06FCFF */ lui $a2, 0xfcff
|
||||
/* 16A0A8 80249848 34C6FFFF */ ori $a2, $a2, 0xffff
|
||||
/* 16A0AC 8024984C 3C05FFFC */ lui $a1, 0xfffc
|
||||
/* 16A0B0 80249850 34A5F279 */ ori $a1, $a1, 0xf279
|
||||
/* 16A0B4 80249854 3C070F0A */ lui $a3, 0xf0a
|
||||
/* 16A0B8 80249858 34E77008 */ ori $a3, $a3, 0x7008
|
||||
/* 16A0BC 8024985C 8E020000 */ lw $v0, ($s0)
|
||||
/* 16A0C0 80249860 3C03E700 */ lui $v1, 0xe700
|
||||
/* 16A0C4 80249864 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 16A0C8 80249868 24420008 */ addiu $v0, $v0, 8
|
||||
/* 16A0CC 8024986C AE020000 */ sw $v0, ($s0)
|
||||
/* 16A0D0 80249870 AC830000 */ sw $v1, ($a0)
|
||||
/* 16A0D4 80249874 24430008 */ addiu $v1, $v0, 8
|
||||
/* 16A0D8 80249878 AC800004 */ sw $zero, 4($a0)
|
||||
/* 16A0DC 8024987C AE030000 */ sw $v1, ($s0)
|
||||
/* 16A0E0 80249880 24430010 */ addiu $v1, $v0, 0x10
|
||||
/* 16A0E4 80249884 AC460000 */ sw $a2, ($v0)
|
||||
/* 16A0E8 80249888 AC450004 */ sw $a1, 4($v0)
|
||||
/* 16A0EC 8024988C AE030000 */ sw $v1, ($s0)
|
||||
/* 16A0F0 80249890 AC510008 */ sw $s1, 8($v0)
|
||||
/* 16A0F4 80249894 AC47000C */ sw $a3, 0xc($v0)
|
||||
.L80249898:
|
||||
/* 16A0F8 80249898 00152080 */ sll $a0, $s5, 2
|
||||
/* 16A0FC 8024989C 00162880 */ sll $a1, $s6, 2
|
||||
/* 16A100 802498A0 02B23021 */ addu $a2, $s5, $s2
|
||||
/* 16A104 802498A4 00063080 */ sll $a2, $a2, 2
|
||||
/* 16A108 802498A8 02D33821 */ addu $a3, $s6, $s3
|
||||
/* 16A10C 802498AC 00073880 */ sll $a3, $a3, 2
|
||||
/* 16A110 802498B0 24020400 */ addiu $v0, $zero, 0x400
|
||||
/* 16A114 802498B4 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 16A118 802498B8 AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 16A11C 802498BC AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 16A120 802498C0 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* 16A124 802498C4 0C090AE8 */ jal func_80242BA0
|
||||
/* 16A128 802498C8 AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* 16A12C 802498CC 3C03800A */ lui $v1, 0x800a
|
||||
/* 16A130 802498D0 8C63A66C */ lw $v1, -0x5994($v1)
|
||||
/* 16A134 802498D4 3C018025 */ lui $at, 0x8025
|
||||
/* 16A138 802498D8 AC23B7C8 */ sw $v1, -0x4838($at)
|
||||
/* 16A13C 802498DC 08092655 */ j .L80249954
|
||||
/* 16A140 802498E0 0280102D */ daddu $v0, $s4, $zero
|
||||
|
||||
.L802498E4:
|
||||
/* 16A144 802498E4 15220003 */ bne $t1, $v0, .L802498F4
|
||||
/* 16A148 802498E8 240200F4 */ addiu $v0, $zero, 0xf4
|
||||
/* 16A14C 802498EC 08092655 */ j .L80249954
|
||||
/* 16A150 802498F0 2682FFFA */ addiu $v0, $s4, -6
|
||||
|
||||
.L802498F4:
|
||||
/* 16A154 802498F4 11220010 */ beq $t1, $v0, .L80249938
|
||||
/* 16A158 802498F8 292200F5 */ slti $v0, $t1, 0xf5
|
||||
/* 16A15C 802498FC 10400005 */ beqz $v0, .L80249914
|
||||
/* 16A160 80249900 240200F3 */ addiu $v0, $zero, 0xf3
|
||||
/* 16A164 80249904 1122000A */ beq $t1, $v0, .L80249930
|
||||
/* 16A168 80249908 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 16A16C 8024990C 08092655 */ j .L80249954
|
||||
/* 16A170 80249910 00000000 */ nop
|
||||
|
||||
.L80249914:
|
||||
/* 16A174 80249914 240200F5 */ addiu $v0, $zero, 0xf5
|
||||
/* 16A178 80249918 11220009 */ beq $t1, $v0, .L80249940
|
||||
/* 16A17C 8024991C 240200F6 */ addiu $v0, $zero, 0xf6
|
||||
/* 16A180 80249920 11220009 */ beq $t1, $v0, .L80249948
|
||||
/* 16A184 80249924 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 16A188 80249928 08092655 */ j .L80249954
|
||||
/* 16A18C 8024992C 00000000 */ nop
|
||||
|
||||
.L80249930:
|
||||
/* 16A190 80249930 08092654 */ j .L80249950
|
||||
/* 16A194 80249934 ACA00000 */ sw $zero, ($a1)
|
||||
|
||||
.L80249938:
|
||||
/* 16A198 80249938 08092653 */ j .L8024994C
|
||||
/* 16A19C 8024993C 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
.L80249940:
|
||||
/* 16A1A0 80249940 08092653 */ j .L8024994C
|
||||
/* 16A1A4 80249944 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
.L80249948:
|
||||
/* 16A1A8 80249948 24020003 */ addiu $v0, $zero, 3
|
||||
.L8024994C:
|
||||
/* 16A1AC 8024994C ACA20000 */ sw $v0, ($a1)
|
||||
.L80249950:
|
||||
/* 16A1B0 80249950 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80249954:
|
||||
/* 16A1B4 80249954 8FBF0044 */ lw $ra, 0x44($sp)
|
||||
/* 16A1B8 80249958 8FB60040 */ lw $s6, 0x40($sp)
|
||||
/* 16A1BC 8024995C 8FB5003C */ lw $s5, 0x3c($sp)
|
||||
/* 16A1C0 80249960 8FB40038 */ lw $s4, 0x38($sp)
|
||||
/* 16A1C4 80249964 8FB30034 */ lw $s3, 0x34($sp)
|
||||
/* 16A1C8 80249968 8FB20030 */ lw $s2, 0x30($sp)
|
||||
/* 16A1CC 8024996C 8FB1002C */ lw $s1, 0x2c($sp)
|
||||
/* 16A1D0 80249970 8FB00028 */ lw $s0, 0x28($sp)
|
||||
/* 16A1D4 80249974 03E00008 */ jr $ra
|
||||
/* 16A1D8 80249978 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
glabel func_8024997C
|
||||
/* 16A1DC 8024997C 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 16A1E0 80249980 8FA2004C */ lw $v0, 0x4c($sp)
|
||||
/* 16A1E4 80249984 AFB5002C */ sw $s5, 0x2c($sp)
|
||||
/* 16A1E8 80249988 8FB50048 */ lw $s5, 0x48($sp)
|
||||
/* 16A1EC 8024998C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 16A1F0 80249990 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 16A1F4 80249994 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 16A1F8 80249998 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* 16A1FC 8024999C AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 16A200 802499A0 00C0902D */ daddu $s2, $a2, $zero
|
||||
/* 16A204 802499A4 AFBF0034 */ sw $ra, 0x34($sp)
|
||||
/* 16A208 802499A8 AFB60030 */ sw $s6, 0x30($sp)
|
||||
/* 16A20C 802499AC AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 16A210 802499B0 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 16A214 802499B4 000298C2 */ srl $s3, $v0, 3
|
||||
/* 16A218 802499B8 30540001 */ andi $s4, $v0, 1
|
||||
/* 16A21C 802499BC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 16A220 802499C0 16820002 */ bne $s4, $v0, .L802499CC
|
||||
/* 16A224 802499C4 32730001 */ andi $s3, $s3, 1
|
||||
/* 16A228 802499C8 2652FFFE */ addiu $s2, $s2, -2
|
||||
.L802499CC:
|
||||
/* 16A22C 802499CC 2E020100 */ sltiu $v0, $s0, 0x100
|
||||
/* 16A230 802499D0 10400013 */ beqz $v0, .L80249A20
|
||||
/* 16A234 802499D4 2602FF5E */ addiu $v0, $s0, -0xa2
|
||||
/* 16A238 802499D8 2C42004E */ sltiu $v0, $v0, 0x4e
|
||||
/* 16A23C 802499DC 1440000A */ bnez $v0, .L80249A08
|
||||
/* 16A240 802499E0 2A0200C6 */ slti $v0, $s0, 0xc6
|
||||
/* 16A244 802499E4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 16A248 802499E8 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 16A24C 802499EC 0240302D */ daddu $a2, $s2, $zero
|
||||
/* 16A250 802499F0 0280382D */ daddu $a3, $s4, $zero
|
||||
/* 16A254 802499F4 AFB50010 */ sw $s5, 0x10($sp)
|
||||
/* 16A258 802499F8 0C0924E0 */ jal func_80249380
|
||||
/* 16A25C 802499FC AFB30014 */ sw $s3, 0x14($sp)
|
||||
/* 16A260 80249A00 0809269F */ j .L80249A7C
|
||||
/* 16A264 80249A04 00000000 */ nop
|
||||
|
||||
.L80249A08:
|
||||
/* 16A268 80249A08 14400005 */ bnez $v0, .L80249A20
|
||||
/* 16A26C 80249A0C 2602FF3A */ addiu $v0, $s0, -0xc6
|
||||
/* 16A270 80249A10 00021080 */ sll $v0, $v0, 2
|
||||
/* 16A274 80249A14 3C108025 */ lui $s0, 0x8025
|
||||
/* 16A278 80249A18 02028021 */ addu $s0, $s0, $v0
|
||||
/* 16A27C 80249A1C 8E10B74C */ lw $s0, -0x48b4($s0)
|
||||
.L80249A20:
|
||||
/* 16A280 80249A20 06010016 */ bgez $s0, .L80249A7C
|
||||
/* 16A284 80249A24 240400F3 */ addiu $a0, $zero, 0xf3
|
||||
/* 16A288 80249A28 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 16A28C 80249A2C 0240302D */ daddu $a2, $s2, $zero
|
||||
/* 16A290 80249A30 0280382D */ daddu $a3, $s4, $zero
|
||||
/* 16A294 80249A34 AFB50010 */ sw $s5, 0x10($sp)
|
||||
/* 16A298 80249A38 0C0924E0 */ jal func_80249380
|
||||
/* 16A29C 80249A3C AFB30014 */ sw $s3, 0x14($sp)
|
||||
/* 16A2A0 80249A40 92030000 */ lbu $v1, ($s0)
|
||||
/* 16A2A4 80249A44 240200FD */ addiu $v0, $zero, 0xfd
|
||||
/* 16A2A8 80249A48 1062000C */ beq $v1, $v0, .L80249A7C
|
||||
/* 16A2AC 80249A4C 0040B02D */ daddu $s6, $v0, $zero
|
||||
.L80249A50:
|
||||
/* 16A2B0 80249A50 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 16A2B4 80249A54 0240302D */ daddu $a2, $s2, $zero
|
||||
/* 16A2B8 80249A58 0280382D */ daddu $a3, $s4, $zero
|
||||
/* 16A2BC 80249A5C 92040000 */ lbu $a0, ($s0)
|
||||
/* 16A2C0 80249A60 26100001 */ addiu $s0, $s0, 1
|
||||
/* 16A2C4 80249A64 AFB50010 */ sw $s5, 0x10($sp)
|
||||
/* 16A2C8 80249A68 0C0924E0 */ jal func_80249380
|
||||
/* 16A2CC 80249A6C AFB30014 */ sw $s3, 0x14($sp)
|
||||
/* 16A2D0 80249A70 92030000 */ lbu $v1, ($s0)
|
||||
/* 16A2D4 80249A74 1476FFF6 */ bne $v1, $s6, .L80249A50
|
||||
/* 16A2D8 80249A78 02228821 */ addu $s1, $s1, $v0
|
||||
.L80249A7C:
|
||||
.L80249A7C:
|
||||
/* 16A2DC 80249A7C 8FBF0034 */ lw $ra, 0x34($sp)
|
||||
/* 16A2E0 80249A80 8FB60030 */ lw $s6, 0x30($sp)
|
||||
/* 16A2E4 80249A84 8FB5002C */ lw $s5, 0x2c($sp)
|
||||
/* 16A2E8 80249A88 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* 16A2EC 80249A8C 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 16A2F0 80249A90 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 16A2F4 80249A94 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 16A2F8 80249A98 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 16A2FC 80249A9C 03E00008 */ jr $ra
|
||||
/* 16A300 80249AA0 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
glabel func_80249AA4
|
||||
/* 16A304 80249AA4 00042080 */ sll $a0, $a0, 2
|
||||
/* 16A308 80249AA8 3C028025 */ lui $v0, 0x8025
|
||||
/* 16A30C 80249AAC 00441021 */ addu $v0, $v0, $a0
|
||||
/* 16A310 80249AB0 03E00008 */ jr $ra
|
||||
/* 16A314 80249AB4 8C42B9D0 */ lw $v0, -0x4630($v0)
|
||||
|
||||
glabel func_80249AB8
|
||||
/* 16A318 80249AB8 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 16A31C 80249ABC AFB70034 */ sw $s7, 0x34($sp)
|
||||
/* 16A320 80249AC0 8FB70050 */ lw $s7, 0x50($sp)
|
||||
/* 16A324 80249AC4 AFB60030 */ sw $s6, 0x30($sp)
|
||||
/* 16A328 80249AC8 8FB60054 */ lw $s6, 0x54($sp)
|
||||
/* 16A32C 80249ACC AFB5002C */ sw $s5, 0x2c($sp)
|
||||
/* 16A330 80249AD0 8FB50058 */ lw $s5, 0x58($sp)
|
||||
/* 16A334 80249AD4 AFBE0038 */ sw $fp, 0x38($sp)
|
||||
/* 16A338 80249AD8 0080F02D */ daddu $fp, $a0, $zero
|
||||
/* 16A33C 80249ADC AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 16A340 80249AE0 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* 16A344 80249AE4 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 16A348 80249AE8 8FB4005C */ lw $s4, 0x5c($sp)
|
||||
/* 16A34C 80249AEC 00C0282D */ daddu $a1, $a2, $zero
|
||||
/* 16A350 80249AF0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 16A354 80249AF4 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 16A358 80249AF8 AFBF003C */ sw $ra, 0x3c($sp)
|
||||
/* 16A35C 80249AFC AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 16A360 80249B00 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 16A364 80249B04 1A400010 */ blez $s2, .L80249B48
|
||||
/* 16A368 80249B08 AFA7004C */ sw $a3, 0x4c($sp)
|
||||
/* 16A36C 80249B0C 241300F7 */ addiu $s3, $zero, 0xf7
|
||||
/* 16A370 80249B10 00A0882D */ daddu $s1, $a1, $zero
|
||||
.L80249B14:
|
||||
/* 16A374 80249B14 03D01021 */ addu $v0, $fp, $s0
|
||||
/* 16A378 80249B18 90440000 */ lbu $a0, ($v0)
|
||||
/* 16A37C 80249B1C 10930006 */ beq $a0, $s3, .L80249B38
|
||||
/* 16A380 80249B20 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 16A384 80249B24 8FA6004C */ lw $a2, 0x4c($sp)
|
||||
/* 16A388 80249B28 02E0382D */ daddu $a3, $s7, $zero
|
||||
/* 16A38C 80249B2C AFB60010 */ sw $s6, 0x10($sp)
|
||||
.L80249B30:
|
||||
/* 16A390 80249B30 0C09265F */ jal func_8024997C
|
||||
/* 16A394 80249B34 AFB50014 */ sw $s5, 0x14($sp)
|
||||
.L80249B38:
|
||||
/* 16A398 80249B38 26100001 */ addiu $s0, $s0, 1
|
||||
/* 16A39C 80249B3C 0212102A */ slt $v0, $s0, $s2
|
||||
/* 16A3A0 80249B40 1440FFF4 */ bnez $v0, .L80249B14
|
||||
/* 16A3A4 80249B44 02348821 */ addu $s1, $s1, $s4
|
||||
.L80249B48:
|
||||
/* 16A3A8 80249B48 8FBF003C */ lw $ra, 0x3c($sp)
|
||||
/* 16A3AC 80249B4C 8FBE0038 */ lw $fp, 0x38($sp)
|
||||
/* 16A3B0 80249B50 8FB70034 */ lw $s7, 0x34($sp)
|
||||
/* 16A3B4 80249B54 8FB60030 */ lw $s6, 0x30($sp)
|
||||
/* 16A3B8 80249B58 8FB5002C */ lw $s5, 0x2c($sp)
|
||||
/* 16A3BC 80249B5C 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* 16A3C0 80249B60 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 16A3C4 80249B64 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 16A3C8 80249B68 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 16A3CC 80249B6C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 16A3D0 80249B70 03E00008 */ jr $ra
|
||||
/* 16A3D4 80249B74 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
/* 16A3D8 80249B78 00000000 */ nop
|
||||
/* 16A3DC 80249B7C 00000000 */ nop
|
File diff suppressed because it is too large
Load Diff
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8003EDF0, "ax"
|
||||
|
||||
get_defeated:
|
||||
glabel get_defeated
|
||||
/* 01A1F0 8003EDF0 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 01A1F4 8003EDF4 04A10002 */ bgez $a1, .L8003EE00
|
||||
/* 01A1F8 8003EDF8 00A0182D */ daddu $v1, $a1, $zero
|
||||
@ -34,7 +34,7 @@ get_defeated:
|
||||
/* 01A238 8003EE38 03E00008 */ jr $ra
|
||||
/* 01A23C 8003EE3C 00621024 */ and $v0, $v1, $v0
|
||||
|
||||
set_defeated:
|
||||
glabel set_defeated
|
||||
/* 01A240 8003EE40 0080182D */ daddu $v1, $a0, $zero
|
||||
/* 01A244 8003EE44 00A0102D */ daddu $v0, $a1, $zero
|
||||
/* 01A248 8003EE48 04410002 */ bgez $v0, .L8003EE54
|
||||
@ -405,7 +405,7 @@ set_defeated:
|
||||
/* 01A790 8003F390 03E00008 */ jr $ra
|
||||
/* 01A794 8003F394 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
GetCamLookAtObjVector:
|
||||
glabel GetCamLookAtObjVector
|
||||
/* 01A798 8003F398 3C038007 */ lui $v1, 0x8007
|
||||
/* 01A79C 8003F39C 8C637410 */ lw $v1, 0x7410($v1)
|
||||
/* 01A7A0 8003F3A0 3C05800B */ lui $a1, 0x800b
|
||||
@ -430,7 +430,7 @@ GetCamLookAtObjVector:
|
||||
/* 01A7EC 8003F3EC 03E00008 */ jr $ra
|
||||
/* 01A7F0 8003F3F0 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
HasMerleeCasts:
|
||||
glabel HasMerleeCasts
|
||||
/* 01A7F4 8003F3F4 AC800084 */ sw $zero, 0x84($a0)
|
||||
/* 01A7F8 8003F3F8 3C028011 */ lui $v0, 0x8011
|
||||
/* 01A7FC 8003F3FC 8042F51A */ lb $v0, -0xae6($v0)
|
||||
@ -534,7 +534,7 @@ HasMerleeCasts:
|
||||
/* 01A978 8003F578 03E00008 */ jr $ra
|
||||
/* 01A97C 8003F57C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
OnDefeatEnemy:
|
||||
glabel OnDefeatEnemy
|
||||
/* 01A980 8003F580 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 01A984 8003F584 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 01A988 8003F588 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -636,7 +636,7 @@ OnDefeatEnemy:
|
||||
/* 01AAE0 8003F6E0 03E00008 */ jr $ra
|
||||
/* 01AAE4 8003F6E4 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
OnFleeBattleDrops:
|
||||
glabel OnFleeBattleDrops
|
||||
/* 01AAE8 8003F6E8 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 01AAEC 8003F6EC AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 01AAF0 8003F6F0 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -698,7 +698,7 @@ OnFleeBattleDrops:
|
||||
/* 01ABC4 8003F7C4 03E00008 */ jr $ra
|
||||
/* 01ABC8 8003F7C8 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8003F7CC:
|
||||
glabel func_8003F7CC
|
||||
/* 01ABCC 8003F7CC 27BDFF40 */ addiu $sp, $sp, -0xc0
|
||||
/* 01ABD0 8003F7D0 AFB30074 */ sw $s3, 0x74($sp)
|
||||
/* 01ABD4 8003F7D4 3C13800B */ lui $s3, 0x800b
|
||||
@ -2594,11 +2594,11 @@ func_8003F7CC:
|
||||
/* 01C754 80041354 03E00008 */ jr $ra
|
||||
/* 01C758 80041358 27BD00C0 */ addiu $sp, $sp, 0xc0
|
||||
|
||||
func_8004135C:
|
||||
glabel func_8004135C
|
||||
/* 01C75C 8004135C 03E00008 */ jr $ra
|
||||
/* 01C760 80041360 00000000 */ nop
|
||||
|
||||
func_80041364:
|
||||
glabel func_80041364
|
||||
/* 01C764 80041364 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 01C768 80041368 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 01C76C 8004136C 3C15800B */ lui $s5, 0x800b
|
||||
@ -3033,7 +3033,7 @@ func_80041364:
|
||||
/* 01CD5C 8004195C 03E00008 */ jr $ra
|
||||
/* 01CD60 80041960 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80041964:
|
||||
glabel func_80041964
|
||||
/* 01CD64 80041964 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
/* 01CD68 80041968 AFB00038 */ sw $s0, 0x38($sp)
|
||||
/* 01CD6C 8004196C 3C10800B */ lui $s0, 0x800b
|
||||
@ -3232,7 +3232,7 @@ func_80041964:
|
||||
/* 01D054 80041C54 03E00008 */ jr $ra
|
||||
/* 01D058 80041C58 27BD0078 */ addiu $sp, $sp, 0x78
|
||||
|
||||
show_first_strike_message:
|
||||
glabel show_first_strike_message
|
||||
/* 01D05C 80041C5C 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 01D060 80041C60 3C05800B */ lui $a1, 0x800b
|
||||
/* 01D064 80041C64 24A50F10 */ addiu $a1, $a1, 0xf10
|
||||
@ -3423,7 +3423,7 @@ show_first_strike_message:
|
||||
/* 01D308 80041F08 03E00008 */ jr $ra
|
||||
/* 01D30C 80041F0C 27BD0058 */ addiu $sp, $sp, 0x58
|
||||
|
||||
func_80041F10:
|
||||
glabel func_80041F10
|
||||
/* 01D310 80041F10 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 01D314 80041F14 AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 01D318 80041F18 3C16800B */ lui $s6, 0x800b
|
||||
@ -4687,7 +4687,7 @@ func_80041F10:
|
||||
/* 01E444 80043044 03E00008 */ jr $ra
|
||||
/* 01E448 80043048 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_8004304C:
|
||||
glabel func_8004304C
|
||||
/* 01E44C 8004304C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 01E450 80043050 3C03800B */ lui $v1, 0x800b
|
||||
/* 01E454 80043054 24630F10 */ addiu $v1, $v1, 0xf10
|
||||
@ -4710,7 +4710,7 @@ func_8004304C:
|
||||
/* 01E494 80043094 03E00008 */ jr $ra
|
||||
/* 01E498 80043098 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8004309C:
|
||||
glabel func_8004309C
|
||||
/* 01E49C 8004309C 3C03800A */ lui $v1, 0x800a
|
||||
/* 01E4A0 800430A0 8C63A5D0 */ lw $v1, -0x5a30($v1)
|
||||
/* 01E4A4 800430A4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -4799,11 +4799,11 @@ func_8004309C:
|
||||
/* 01E5CC 800431CC 03E00008 */ jr $ra
|
||||
/* 01E5D0 800431D0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800431D4:
|
||||
glabel func_800431D4
|
||||
/* 01E5D4 800431D4 03E00008 */ jr $ra
|
||||
/* 01E5D8 800431D8 00000000 */ nop
|
||||
|
||||
func_800431DC:
|
||||
glabel func_800431DC
|
||||
/* 01E5DC 800431DC 27BDFF58 */ addiu $sp, $sp, -0xa8
|
||||
/* 01E5E0 800431E0 3C03FDFF */ lui $v1, 0xfdff
|
||||
/* 01E5E4 800431E4 AFB40060 */ sw $s4, 0x60($sp)
|
||||
@ -5128,7 +5128,7 @@ func_800431DC:
|
||||
/* 01EAA8 800436A8 03E00008 */ jr $ra
|
||||
/* 01EAAC 800436AC 27BD00A8 */ addiu $sp, $sp, 0xa8
|
||||
|
||||
create_npcs:
|
||||
glabel create_npcs
|
||||
/* 01EAB0 800436B0 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 01EAB4 800436B4 AFBE0058 */ sw $fp, 0x58($sp)
|
||||
/* 01EAB8 800436B8 27BE0010 */ addiu $fp, $sp, 0x10
|
||||
@ -5886,11 +5886,11 @@ create_npcs:
|
||||
/* 01F538 80044138 03E00008 */ jr $ra
|
||||
/* 01F53C 8004413C 27BD0060 */ addiu $sp, $sp, 0x60
|
||||
|
||||
func_80044140:
|
||||
glabel func_80044140
|
||||
/* 01F540 80044140 03E00008 */ jr $ra
|
||||
/* 01F544 80044144 00000000 */ nop
|
||||
|
||||
func_80044148:
|
||||
glabel func_80044148
|
||||
/* 01F548 80044148 3C02800A */ lui $v0, 0x800a
|
||||
/* 01F54C 8004414C 8C42A600 */ lw $v0, -0x5a00($v0)
|
||||
/* 01F550 80044150 3C03800B */ lui $v1, 0x800b
|
||||
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
func_800269EC:
|
||||
glabel func_800269EC
|
||||
/* 001DEC 800269EC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 001DF0 800269F0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 001DF4 800269F4 3C120001 */ lui $s2, 1
|
||||
@ -79,4 +79,4 @@ func_800269EC:
|
||||
/* 001F00 80026B00 03E00008 */ jr $ra
|
||||
/* 001F04 80026B04 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
.set reorder
|
||||
.set reorder
|
||||
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
func_80027088:
|
||||
glabel func_80027088
|
||||
/* 002488 80027088 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 00248C 8002708C 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 002490 80027090 2CA20005 */ sltiu $v0, $a1, 5
|
||||
@ -77,4 +77,4 @@ func_80027088:
|
||||
/* 002588 80027188 03E00008 */ jr $ra
|
||||
/* 00258C 8002718C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
.set reorder
|
||||
.set reorder
|
||||
|
@ -1,12 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
|
||||
func_80027190:
|
||||
/* 002590 80027190 3C02800A */ lui $v0, 0x800a
|
||||
/* 002594 80027194 8C42A5D8 */ lw $v0, -0x5a28($v0)
|
||||
/* 002598 80027198 03E00008 */ jr $ra
|
||||
/* 00259C 8002719C 00000000 */ nop
|
||||
|
||||
.set reorder
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
func_800271A0:
|
||||
glabel func_800271A0
|
||||
/* 0025A0 800271A0 3C04800A */ lui $a0, 0x800a
|
||||
/* 0025A4 800271A4 2484A66C */ addiu $a0, $a0, -0x5994
|
||||
/* 0025A8 800271A8 8C830000 */ lw $v1, ($a0)
|
||||
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
func_800271FC:
|
||||
glabel func_800271FC
|
||||
/* 0025FC 800271FC 00061880 */ sll $v1, $a2, 2
|
||||
/* 002600 80027200 00661821 */ addu $v1, $v1, $a2
|
||||
/* 002604 80027204 00031980 */ sll $v1, $v1, 6
|
||||
@ -29,4 +29,4 @@ func_800271FC:
|
||||
/* 002654 80027254 03E00008 */ jr $ra
|
||||
/* 002658 80027258 A0A20002 */ sb $v0, 2($a1)
|
||||
|
||||
.set reorder
|
||||
.set reorder
|
||||
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
func_8002725C:
|
||||
glabel func_8002725C
|
||||
/* 00265C 8002725C 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
/* 002660 80027260 0080582D */ daddu $t3, $a0, $zero
|
||||
/* 002664 80027264 AFA5007C */ sw $a1, 0x7c($sp)
|
||||
@ -271,4 +271,4 @@ func_8002725C:
|
||||
/* 0029F8 800275F8 03E00008 */ jr $ra
|
||||
/* 0029FC 800275FC 27BD0078 */ addiu $sp, $sp, 0x78
|
||||
|
||||
.set reorder
|
||||
.set reorder
|
||||
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
func_80027600:
|
||||
glabel func_80027600
|
||||
/* 002A00 80027600 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 002A04 80027604 0080502D */ daddu $t2, $a0, $zero
|
||||
/* 002A08 80027608 0000302D */ daddu $a2, $zero, $zero
|
||||
@ -106,4 +106,4 @@ func_80027600:
|
||||
/* 002B6C 8002776C 03E00008 */ jr $ra
|
||||
/* 002B70 80027770 27BD0068 */ addiu $sp, $sp, 0x68
|
||||
|
||||
.set reorder
|
||||
.set reorder
|
||||
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
func_80027774:
|
||||
glabel func_80027774
|
||||
/* 002B74 80027774 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
/* 002B78 80027778 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* 002B7C 8002777C 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -155,4 +155,4 @@ func_80027774:
|
||||
/* 002DAC 800279AC 03E00008 */ jr $ra
|
||||
/* 002DB0 800279B0 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
.set reorder
|
||||
.set reorder
|
||||
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
func_800279B4:
|
||||
glabel func_800279B4
|
||||
/* 002DB4 800279B4 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 002DB8 800279B8 AFB50054 */ sw $s5, 0x54($sp)
|
||||
/* 002DBC 800279BC 0080A82D */ daddu $s5, $a0, $zero
|
||||
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
func_80027BAC:
|
||||
glabel func_80027BAC
|
||||
/* 002FAC 80027BAC 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 002FB0 80027BB0 3C06D700 */ lui $a2, 0xd700
|
||||
/* 002FB4 80027BB4 34C60002 */ ori $a2, $a2, 2
|
||||
@ -159,4 +159,4 @@ func_80027BAC:
|
||||
/* 003208 80027E08 03E00008 */ jr $ra
|
||||
/* 00320C 80027E0C 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
.set reorder
|
||||
.set reorder
|
||||
|
@ -1,9 +1,15 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
<<<<<<< HEAD
|
||||
.include "globals.inc"
|
||||
|
||||
func_80027E10:
|
||||
=======
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel func_80027E10
|
||||
>>>>>>> a9d9610bb7ff39a28149f61dec88499d5e589820
|
||||
/* 003210 80027E10 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 003214 80027E14 3C040050 */ lui $a0, 0x50
|
||||
/* 003218 80027E18 3C0C800A */ lui $t4, 0x800a
|
||||
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
gfx_draw_frame:
|
||||
glabel gfx_draw_frame
|
||||
/* 001F08 80026B08 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 001F0C 80026B0C 3C04800A */ lui $a0, 0x800a
|
||||
/* 001F10 80026B10 8C84A674 */ lw $a0, -0x598c($a0)
|
||||
@ -198,4 +198,6 @@ gfx_draw_frame:
|
||||
/* 0021CC 80026DCC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0021D0 80026DD0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0021D4 80026DD4 03E00008 */ jr $ra
|
||||
/* 0021D8 80026DD8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
/* 0021D8 80026DD8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
.set reorder
|
||||
|
@ -1,7 +1,7 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel load_engine_data
|
||||
/* 0021DC 80026DDC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
step_game_loop:
|
||||
glabel step_game_loop
|
||||
/* 001B40 80026740 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 001B44 80026744 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 001B48 80026748 AFB10014 */ sw $s1, 0x14($sp)
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80044180, "ax"
|
||||
|
||||
SetEncounterStatusFlags:
|
||||
glabel SetEncounterStatusFlags
|
||||
/* 01F580 80044180 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 01F584 80044184 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 01F588 80044188 3C11800B */ lui $s1, 0x800b
|
||||
@ -75,7 +75,7 @@ SetEncounterStatusFlags:
|
||||
/* 01F65C 8004425C 03E00008 */ jr $ra
|
||||
/* 01F660 80044260 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
LoadDemoBattle:
|
||||
glabel LoadDemoBattle
|
||||
/* 01F664 80044264 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 01F668 80044268 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 01F66C 8004426C 8C82000C */ lw $v0, 0xc($a0)
|
||||
@ -91,7 +91,7 @@ LoadDemoBattle:
|
||||
/* 01F690 80044290 03E00008 */ jr $ra
|
||||
/* 01F694 80044294 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
MakeNpcs:
|
||||
glabel MakeNpcs
|
||||
/* 01F698 80044298 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 01F69C 8004429C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 01F6A0 800442A0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -142,7 +142,7 @@ MakeNpcs:
|
||||
/* 01F738 80044338 03E00008 */ jr $ra
|
||||
/* 01F73C 8004433C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
RemoveNpc:
|
||||
glabel RemoveNpc
|
||||
/* 01F740 80044340 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 01F744 80044344 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 01F748 80044348 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -239,7 +239,7 @@ RemoveNpc:
|
||||
/* 01F870 80044470 03E00008 */ jr $ra
|
||||
/* 01F874 80044474 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
RemoveEncounter:
|
||||
glabel RemoveEncounter
|
||||
/* 01F878 80044478 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 01F87C 8004447C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 01F880 80044480 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
@ -319,7 +319,7 @@ RemoveEncounter:
|
||||
/* 01F974 80044574 03E00008 */ jr $ra
|
||||
/* 01F978 80044578 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
GetBattleOutcome:
|
||||
glabel GetBattleOutcome
|
||||
/* 01F97C 8004457C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 01F980 80044580 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 01F984 80044584 8C82000C */ lw $v0, 0xc($a0)
|
||||
@ -356,7 +356,7 @@ GetBattleOutcome:
|
||||
/* 01F9F8 800445F8 03E00008 */ jr $ra
|
||||
/* 01F9FC 800445FC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
GetOwnerEncountered:
|
||||
glabel GetOwnerEncountered
|
||||
/* 01FA00 80044600 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 01FA04 80044604 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 01FA08 80044608 8C82000C */ lw $v0, 0xc($a0)
|
||||
@ -369,7 +369,7 @@ GetOwnerEncountered:
|
||||
/* 01FA24 80044624 03E00008 */ jr $ra
|
||||
/* 01FA28 80044628 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
DoNpcDefeat:
|
||||
glabel DoNpcDefeat
|
||||
/* 01FA2C 8004462C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 01FA30 80044630 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 01FA34 80044634 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -405,7 +405,7 @@ DoNpcDefeat:
|
||||
/* 01FAAC 800446AC 03E00008 */ jr $ra
|
||||
/* 01FAB0 800446B0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
start_battle:
|
||||
glabel start_battle
|
||||
/* 01FAB4 800446B4 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 01FAB8 800446B8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 01FABC 800446BC 00A0802D */ daddu $s0, $a1, $zero
|
||||
@ -512,7 +512,7 @@ start_battle:
|
||||
/* 01FC38 80044838 03E00008 */ jr $ra
|
||||
/* 01FC3C 8004483C 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
StartBattle:
|
||||
glabel StartBattle
|
||||
/* 01FC40 80044840 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 01FC44 80044844 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 01FC48 80044848 0C0111AD */ jal start_battle
|
||||
@ -522,7 +522,7 @@ StartBattle:
|
||||
/* 01FC58 80044858 03E00008 */ jr $ra
|
||||
/* 01FC5C 8004485C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
StartBattleWith:
|
||||
glabel StartBattleWith
|
||||
/* 01FC60 80044860 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 01FC64 80044864 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 01FC68 80044868 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -539,7 +539,7 @@ StartBattleWith:
|
||||
/* 01FC94 80044894 03E00008 */ jr $ra
|
||||
/* 01FC98 80044898 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
StartBossBattle:
|
||||
glabel StartBossBattle
|
||||
/* 01FC9C 8004489C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 01FCA0 800448A0 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 01FCA4 800448A4 AFB50024 */ sw $s5, 0x24($sp)
|
||||
@ -650,7 +650,7 @@ StartBossBattle:
|
||||
/* 01FE30 80044A30 03E00008 */ jr $ra
|
||||
/* 01FE34 80044A34 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
SetBattleMusic:
|
||||
glabel SetBattleMusic
|
||||
/* 01FE38 80044A38 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 01FE3C 80044A3C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 01FE40 80044A40 8C82000C */ lw $v0, 0xc($a0)
|
||||
@ -668,7 +668,7 @@ SetBattleMusic:
|
||||
/* 01FE70 80044A70 03E00008 */ jr $ra
|
||||
/* 01FE74 80044A74 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
BindNpcAI:
|
||||
glabel BindNpcAI
|
||||
/* 01FE78 80044A78 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 01FE7C 80044A7C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 01FE80 80044A80 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -756,7 +756,7 @@ BindNpcAI:
|
||||
/* 01FFA4 80044BA4 03E00008 */ jr $ra
|
||||
/* 01FFA8 80044BA8 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
BindNpcIdle:
|
||||
glabel BindNpcIdle
|
||||
/* 01FFAC 80044BAC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 01FFB0 80044BB0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 01FFB4 80044BB4 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -791,7 +791,7 @@ BindNpcIdle:
|
||||
/* 020024 80044C24 03E00008 */ jr $ra
|
||||
/* 020028 80044C28 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
RestartNpcAI:
|
||||
glabel RestartNpcAI
|
||||
/* 02002C 80044C2C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 020030 80044C30 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 020034 80044C34 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -845,7 +845,7 @@ RestartNpcAI:
|
||||
/* 0200E8 80044CE8 03E00008 */ jr $ra
|
||||
/* 0200EC 80044CEC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
EnableNpcAI:
|
||||
glabel EnableNpcAI
|
||||
/* 0200F0 80044CF0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0200F4 80044CF4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0200F8 80044CF8 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -896,7 +896,7 @@ EnableNpcAI:
|
||||
/* 02019C 80044D9C 03E00008 */ jr $ra
|
||||
/* 0201A0 80044DA0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetNpcAux:
|
||||
glabel SetNpcAux
|
||||
/* 0201A4 80044DA4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0201A8 80044DA8 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0201AC 80044DAC 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -976,7 +976,7 @@ SetNpcAux:
|
||||
/* 0202B0 80044EB0 03E00008 */ jr $ra
|
||||
/* 0202B4 80044EB4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
BindNpcAux:
|
||||
glabel BindNpcAux
|
||||
/* 0202B8 80044EB8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0202BC 80044EBC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0202C0 80044EC0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1011,7 +1011,7 @@ BindNpcAux:
|
||||
/* 020330 80044F30 03E00008 */ jr $ra
|
||||
/* 020334 80044F34 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
RestartNpcAux:
|
||||
glabel RestartNpcAux
|
||||
/* 020338 80044F38 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 02033C 80044F3C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 020340 80044F40 AFB20018 */ sw $s2, 0x18($sp)
|
||||
@ -1062,7 +1062,7 @@ RestartNpcAux:
|
||||
/* 0203E8 80044FE8 03E00008 */ jr $ra
|
||||
/* 0203EC 80044FEC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
EnableNpcAux:
|
||||
glabel EnableNpcAux
|
||||
/* 0203F0 80044FF0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0203F4 80044FF4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0203F8 80044FF8 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1113,7 +1113,7 @@ EnableNpcAux:
|
||||
/* 02049C 8004509C 03E00008 */ jr $ra
|
||||
/* 0204A0 800450A0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
BindNpcInteract:
|
||||
glabel BindNpcInteract
|
||||
/* 0204A4 800450A4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0204A8 800450A8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0204AC 800450AC 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1156,7 +1156,7 @@ BindNpcInteract:
|
||||
/* 020538 80045138 03E00008 */ jr $ra
|
||||
/* 02053C 8004513C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
BindNpcHit:
|
||||
glabel BindNpcHit
|
||||
/* 020540 80045140 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 020544 80045144 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 020548 80045148 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1199,7 +1199,7 @@ BindNpcHit:
|
||||
/* 0205D4 800451D4 03E00008 */ jr $ra
|
||||
/* 0205D8 800451D8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
BindNpcDefeat:
|
||||
glabel BindNpcDefeat
|
||||
/* 0205DC 800451DC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0205E0 800451E0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0205E4 800451E4 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1234,7 +1234,7 @@ BindNpcDefeat:
|
||||
/* 020654 80045254 03E00008 */ jr $ra
|
||||
/* 020658 80045258 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetSelfVar:
|
||||
glabel SetSelfVar
|
||||
/* 02065C 8004525C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 020660 80045260 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 020664 80045264 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1261,7 +1261,7 @@ SetSelfVar:
|
||||
/* 0206B8 800452B8 03E00008 */ jr $ra
|
||||
/* 0206BC 800452BC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
GetSelfVar:
|
||||
glabel GetSelfVar
|
||||
/* 0206C0 800452C0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0206C4 800452C4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0206C8 800452C8 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1287,7 +1287,7 @@ GetSelfVar:
|
||||
/* 020718 80045318 03E00008 */ jr $ra
|
||||
/* 02071C 8004531C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
SetNpcVar:
|
||||
glabel SetNpcVar
|
||||
/* 020720 80045320 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 020724 80045324 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 020728 80045328 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1329,7 +1329,7 @@ SetNpcVar:
|
||||
/* 0207B4 800453B4 03E00008 */ jr $ra
|
||||
/* 0207B8 800453B8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
GetNpcVar:
|
||||
glabel GetNpcVar
|
||||
/* 0207BC 800453BC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0207C0 800453C0 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0207C4 800453C4 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -1372,7 +1372,7 @@ GetNpcVar:
|
||||
/* 020854 80045454 03E00008 */ jr $ra
|
||||
/* 020858 80045458 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetSelfRotation:
|
||||
glabel SetSelfRotation
|
||||
/* 02085C 8004545C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 020860 80045460 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 020864 80045464 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1418,7 +1418,7 @@ SetSelfRotation:
|
||||
/* 020904 80045504 03E00008 */ jr $ra
|
||||
/* 020908 80045508 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetSelfEnemyFlags:
|
||||
glabel SetSelfEnemyFlags
|
||||
/* 02090C 8004550C 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 020910 80045510 8C830148 */ lw $v1, 0x148($a0)
|
||||
/* 020914 80045514 8C420000 */ lw $v0, ($v0)
|
||||
@ -1426,7 +1426,7 @@ SetSelfEnemyFlags:
|
||||
/* 02091C 8004551C 03E00008 */ jr $ra
|
||||
/* 020920 80045520 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
SetSelfEnemyFlagBits:
|
||||
glabel SetSelfEnemyFlagBits
|
||||
/* 020924 80045524 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 020928 80045528 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 02092C 8004552C AFB10014 */ sw $s1, 0x14($sp)
|
||||
@ -1492,7 +1492,7 @@ SetSelfEnemyFlagBits:
|
||||
/* 020A0C 8004560C 03E00008 */ jr $ra
|
||||
/* 020A10 80045610 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
GetSelfNpcID:
|
||||
glabel GetSelfNpcID
|
||||
/* 020A14 80045614 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 020A18 80045618 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 020A1C 8004561C 8C82000C */ lw $v0, 0xc($a0)
|
||||
@ -1505,7 +1505,7 @@ GetSelfNpcID:
|
||||
/* 020A38 80045638 03E00008 */ jr $ra
|
||||
/* 020A3C 8004563C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
ClearDefeatedEnemies:
|
||||
glabel ClearDefeatedEnemies
|
||||
/* 020A40 80045640 3C07800B */ lui $a3, 0x800b
|
||||
/* 020A44 80045644 24E70F10 */ addiu $a3, $a3, 0xf10
|
||||
/* 020A48 80045648 0000302D */ daddu $a2, $zero, $zero
|
||||
@ -1527,7 +1527,7 @@ ClearDefeatedEnemies:
|
||||
/* 020A80 80045680 03E00008 */ jr $ra
|
||||
/* 020A84 80045684 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
SetEnemyFlagBits:
|
||||
glabel SetEnemyFlagBits
|
||||
/* 020A88 80045688 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 020A8C 8004568C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 020A90 80045690 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1577,7 +1577,7 @@ SetEnemyFlagBits:
|
||||
/* 020B2C 8004572C 03E00008 */ jr $ra
|
||||
/* 020B30 80045730 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
GetSelfAnimationFromTable:
|
||||
glabel GetSelfAnimationFromTable
|
||||
/* 020B34 80045734 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 020B38 80045738 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 020B3C 8004573C 0080882D */ daddu $s1, $a0, $zero
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80045AC0, "ax"
|
||||
|
||||
func_80045AC0:
|
||||
glabel func_80045AC0
|
||||
/* 020EC0 80045AC0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 020EC4 80045AC4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 020EC8 80045AC8 0000202D */ daddu $a0, $zero, $zero
|
||||
@ -59,7 +59,7 @@ func_80045AC0:
|
||||
/* 020F60 80045B60 03E00008 */ jr $ra
|
||||
/* 020F64 80045B64 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80045B68:
|
||||
glabel func_80045B68
|
||||
/* 020F68 80045B68 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 020F6C 80045B6C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 020F70 80045B70 0000882D */ daddu $s1, $zero, $zero
|
||||
@ -114,7 +114,7 @@ func_80045B68:
|
||||
/* 021020 80045C20 03E00008 */ jr $ra
|
||||
/* 021024 80045C24 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80045C28:
|
||||
glabel func_80045C28
|
||||
/* 021028 80045C28 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 02102C 80045C2C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 021030 80045C30 0000882D */ daddu $s1, $zero, $zero
|
||||
@ -142,7 +142,7 @@ func_80045C28:
|
||||
/* 021080 80045C80 03E00008 */ jr $ra
|
||||
/* 021084 80045C84 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80045C88:
|
||||
glabel func_80045C88
|
||||
/* 021088 80045C88 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 02108C 80045C8C 24050001 */ addiu $a1, $zero, 1
|
||||
/* 021090 80045C90 3C03800A */ lui $v1, 0x800a
|
||||
@ -162,7 +162,7 @@ func_80045C88:
|
||||
/* 0210BC 80045CBC 03E00008 */ jr $ra
|
||||
/* 0210C0 80045CC0 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
func_80045CC4:
|
||||
glabel func_80045CC4
|
||||
/* 0210C4 80045CC4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0210C8 80045CC8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0210CC 80045CCC 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -180,7 +180,7 @@ func_80045CC4:
|
||||
/* 0210F8 80045CF8 03E00008 */ jr $ra
|
||||
/* 0210FC 80045CFC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80045D00:
|
||||
glabel func_80045D00
|
||||
/* 021100 80045D00 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 021104 80045D04 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 021108 80045D08 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -365,13 +365,13 @@ func_80045D00:
|
||||
/* 02139C 80045F9C 03E00008 */ jr $ra
|
||||
/* 0213A0 80045FA0 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80045FA4:
|
||||
glabel func_80045FA4
|
||||
/* 0213A4 80045FA4 3C02800A */ lui $v0, 0x800a
|
||||
/* 0213A8 80045FA8 8C420F40 */ lw $v0, 0xf40($v0)
|
||||
/* 0213AC 80045FAC 03E00008 */ jr $ra
|
||||
/* 0213B0 80045FB0 00000000 */ nop
|
||||
|
||||
func_80045FB4:
|
||||
glabel func_80045FB4
|
||||
/* 0213B4 80045FB4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0213B8 80045FB8 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 0213BC 80045FBC 0C011722 */ jal func_80045C88
|
||||
@ -1937,7 +1937,7 @@ func_80045FB4:
|
||||
/* 022A00 80047600 03E00008 */ jr $ra
|
||||
/* 022A04 80047604 27BD0078 */ addiu $sp, $sp, 0x78
|
||||
|
||||
func_80047608:
|
||||
glabel func_80047608
|
||||
/* 022A08 80047608 3C04800A */ lui $a0, 0x800a
|
||||
/* 022A0C 8004760C 8C840F44 */ lw $a0, 0xf44($a0)
|
||||
/* 022A10 80047610 0000282D */ daddu $a1, $zero, $zero
|
||||
@ -2004,7 +2004,7 @@ func_80047608:
|
||||
/* 022AEC 800476EC 03E00008 */ jr $ra
|
||||
/* 022AF0 800476F0 A08000A8 */ sb $zero, 0xa8($a0)
|
||||
|
||||
func_800476F4:
|
||||
glabel func_800476F4
|
||||
/* 022AF4 800476F4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 022AF8 800476F8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 022AFC 800476FC 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -2044,7 +2044,7 @@ func_800476F4:
|
||||
/* 022B84 80047784 03E00008 */ jr $ra
|
||||
/* 022B88 80047788 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8004778C:
|
||||
glabel func_8004778C
|
||||
/* 022B8C 8004778C 00041040 */ sll $v0, $a0, 1
|
||||
/* 022B90 80047790 00441021 */ addu $v0, $v0, $a0
|
||||
/* 022B94 80047794 00021080 */ sll $v0, $v0, 2
|
||||
@ -2072,7 +2072,7 @@ func_8004778C:
|
||||
/* 022BEC 800477EC 03E00008 */ jr $ra
|
||||
/* 022BF0 800477F0 AC65002C */ sw $a1, 0x2c($v1)
|
||||
|
||||
func_800477F4:
|
||||
glabel func_800477F4
|
||||
/* 022BF4 800477F4 00041040 */ sll $v0, $a0, 1
|
||||
/* 022BF8 800477F8 00441021 */ addu $v0, $v0, $a0
|
||||
/* 022BFC 800477FC 00021080 */ sll $v0, $v0, 2
|
||||
@ -2085,7 +2085,7 @@ func_800477F4:
|
||||
/* 022C18 80047818 03E00008 */ jr $ra
|
||||
/* 022C1C 8004781C AC660034 */ sw $a2, 0x34($v1)
|
||||
|
||||
func_80047820:
|
||||
glabel func_80047820
|
||||
/* 022C20 80047820 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 022C24 80047824 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 022C28 80047828 AFB10014 */ sw $s1, 0x14($sp)
|
||||
@ -2118,7 +2118,7 @@ func_80047820:
|
||||
/* 022C90 80047890 03E00008 */ jr $ra
|
||||
/* 022C94 80047894 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80047898:
|
||||
glabel func_80047898
|
||||
/* 022C98 80047898 00041040 */ sll $v0, $a0, 1
|
||||
/* 022C9C 8004789C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 022CA0 800478A0 00021080 */ sll $v0, $v0, 2
|
||||
@ -2145,7 +2145,7 @@ func_80047898:
|
||||
/* 022CF0 800478F0 03E00008 */ jr $ra
|
||||
/* 022CF4 800478F4 00000000 */ nop
|
||||
|
||||
func_800478F8:
|
||||
glabel func_800478F8
|
||||
/* 022CF8 800478F8 00041040 */ sll $v0, $a0, 1
|
||||
/* 022CFC 800478FC 00441021 */ addu $v0, $v0, $a0
|
||||
/* 022D00 80047900 00021080 */ sll $v0, $v0, 2
|
||||
@ -2159,7 +2159,7 @@ func_800478F8:
|
||||
/* 022D20 80047920 03E00008 */ jr $ra
|
||||
/* 022D24 80047924 AC620000 */ sw $v0, ($v1)
|
||||
|
||||
func_80047928:
|
||||
glabel func_80047928
|
||||
/* 022D28 80047928 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 022D2C 8004792C 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 022D30 80047930 AFB10014 */ sw $s1, 0x14($sp)
|
||||
@ -2192,7 +2192,7 @@ func_80047928:
|
||||
/* 022D98 80047998 03E00008 */ jr $ra
|
||||
/* 022D9C 8004799C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800479A0:
|
||||
glabel func_800479A0
|
||||
/* 022DA0 800479A0 00041040 */ sll $v0, $a0, 1
|
||||
/* 022DA4 800479A4 00441021 */ addu $v0, $v0, $a0
|
||||
/* 022DA8 800479A8 00021080 */ sll $v0, $v0, 2
|
||||
@ -2219,7 +2219,7 @@ func_800479A0:
|
||||
/* 022DF8 800479F8 03E00008 */ jr $ra
|
||||
/* 022DFC 800479FC 00000000 */ nop
|
||||
|
||||
func_80047A00:
|
||||
glabel func_80047A00
|
||||
/* 022E00 80047A00 00041040 */ sll $v0, $a0, 1
|
||||
/* 022E04 80047A04 00441021 */ addu $v0, $v0, $a0
|
||||
/* 022E08 80047A08 00021080 */ sll $v0, $v0, 2
|
||||
@ -2233,7 +2233,7 @@ func_80047A00:
|
||||
/* 022E28 80047A28 03E00008 */ jr $ra
|
||||
/* 022E2C 80047A2C AC620000 */ sw $v0, ($v1)
|
||||
|
||||
func_80047A30:
|
||||
glabel func_80047A30
|
||||
/* 022E30 80047A30 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 022E34 80047A34 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 022E38 80047A38 AFB10014 */ sw $s1, 0x14($sp)
|
||||
@ -2266,7 +2266,7 @@ func_80047A30:
|
||||
/* 022EA0 80047AA0 03E00008 */ jr $ra
|
||||
/* 022EA4 80047AA4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80047AA8:
|
||||
glabel func_80047AA8
|
||||
/* 022EA8 80047AA8 00041040 */ sll $v0, $a0, 1
|
||||
/* 022EAC 80047AAC 00441021 */ addu $v0, $v0, $a0
|
||||
/* 022EB0 80047AB0 00021080 */ sll $v0, $v0, 2
|
||||
@ -2293,7 +2293,7 @@ func_80047AA8:
|
||||
/* 022F00 80047B00 03E00008 */ jr $ra
|
||||
/* 022F04 80047B04 00000000 */ nop
|
||||
|
||||
func_80047B08:
|
||||
glabel func_80047B08
|
||||
/* 022F08 80047B08 00041040 */ sll $v0, $a0, 1
|
||||
/* 022F0C 80047B0C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 022F10 80047B10 00021080 */ sll $v0, $v0, 2
|
||||
@ -2307,7 +2307,7 @@ func_80047B08:
|
||||
/* 022F30 80047B30 03E00008 */ jr $ra
|
||||
/* 022F34 80047B34 AC620000 */ sw $v0, ($v1)
|
||||
|
||||
func_80047B38:
|
||||
glabel func_80047B38
|
||||
/* 022F38 80047B38 00041040 */ sll $v0, $a0, 1
|
||||
/* 022F3C 80047B3C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 022F40 80047B40 00021080 */ sll $v0, $v0, 2
|
||||
@ -2329,7 +2329,7 @@ func_80047B38:
|
||||
/* 022F7C 80047B7C 03E00008 */ jr $ra
|
||||
/* 022F80 80047B80 00000000 */ nop
|
||||
|
||||
func_80047B84:
|
||||
glabel func_80047B84
|
||||
/* 022F84 80047B84 00041040 */ sll $v0, $a0, 1
|
||||
/* 022F88 80047B88 00441021 */ addu $v0, $v0, $a0
|
||||
/* 022F8C 80047B8C 00021080 */ sll $v0, $v0, 2
|
||||
@ -2356,7 +2356,7 @@ func_80047B84:
|
||||
/* 022FDC 80047BDC 03E00008 */ jr $ra
|
||||
/* 022FE0 80047BE0 00000000 */ nop
|
||||
|
||||
func_80047BE4:
|
||||
glabel func_80047BE4
|
||||
/* 022FE4 80047BE4 00041040 */ sll $v0, $a0, 1
|
||||
/* 022FE8 80047BE8 00441021 */ addu $v0, $v0, $a0
|
||||
/* 022FEC 80047BEC 00021080 */ sll $v0, $v0, 2
|
||||
@ -2370,7 +2370,7 @@ func_80047BE4:
|
||||
/* 02300C 80047C0C 03E00008 */ jr $ra
|
||||
/* 023010 80047C10 AC620000 */ sw $v0, ($v1)
|
||||
|
||||
func_80047C14:
|
||||
glabel func_80047C14
|
||||
/* 023014 80047C14 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 023018 80047C18 00041040 */ sll $v0, $a0, 1
|
||||
/* 02301C 80047C1C 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2409,7 +2409,7 @@ func_80047C14:
|
||||
/* 02309C 80047C9C 03E00008 */ jr $ra
|
||||
/* 0230A0 80047CA0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80047CA4:
|
||||
glabel func_80047CA4
|
||||
/* 0230A4 80047CA4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0230A8 80047CA8 00041040 */ sll $v0, $a0, 1
|
||||
/* 0230AC 80047CAC 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2435,7 +2435,7 @@ func_80047CA4:
|
||||
/* 0230F8 80047CF8 03E00008 */ jr $ra
|
||||
/* 0230FC 80047CFC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80047D00:
|
||||
glabel func_80047D00
|
||||
/* 023100 80047D00 00041040 */ sll $v0, $a0, 1
|
||||
/* 023104 80047D04 00441021 */ addu $v0, $v0, $a0
|
||||
/* 023108 80047D08 00021080 */ sll $v0, $v0, 2
|
||||
@ -2449,7 +2449,7 @@ func_80047D00:
|
||||
/* 023128 80047D28 03E00008 */ jr $ra
|
||||
/* 02312C 80047D2C AC620000 */ sw $v0, ($v1)
|
||||
|
||||
func_80047D30:
|
||||
glabel func_80047D30
|
||||
/* 023130 80047D30 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 023134 80047D34 00041040 */ sll $v0, $a0, 1
|
||||
/* 023138 80047D38 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2488,7 +2488,7 @@ func_80047D30:
|
||||
/* 0231B8 80047DB8 03E00008 */ jr $ra
|
||||
/* 0231BC 80047DBC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80047DC0:
|
||||
glabel func_80047DC0
|
||||
/* 0231C0 80047DC0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0231C4 80047DC4 00041040 */ sll $v0, $a0, 1
|
||||
/* 0231C8 80047DC8 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2514,7 +2514,7 @@ func_80047DC0:
|
||||
/* 023214 80047E14 03E00008 */ jr $ra
|
||||
/* 023218 80047E18 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80047E1C:
|
||||
glabel func_80047E1C
|
||||
/* 02321C 80047E1C 00041040 */ sll $v0, $a0, 1
|
||||
/* 023220 80047E20 00441021 */ addu $v0, $v0, $a0
|
||||
/* 023224 80047E24 00021080 */ sll $v0, $v0, 2
|
||||
@ -2528,6 +2528,7 @@ func_80047E1C:
|
||||
/* 023244 80047E44 03E00008 */ jr $ra
|
||||
/* 023248 80047E48 AC620000 */ sw $v0, ($v1)
|
||||
|
||||
glabel func_80047E4C
|
||||
/* 02324C 80047E4C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 023250 80047E50 00041040 */ sll $v0, $a0, 1
|
||||
/* 023254 80047E54 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2566,7 +2567,7 @@ func_80047E1C:
|
||||
/* 0232D4 80047ED4 03E00008 */ jr $ra
|
||||
/* 0232D8 80047ED8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80047EDC:
|
||||
glabel func_80047EDC
|
||||
/* 0232DC 80047EDC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0232E0 80047EE0 00041040 */ sll $v0, $a0, 1
|
||||
/* 0232E4 80047EE4 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2588,6 +2589,7 @@ func_80047EDC:
|
||||
/* 023320 80047F20 03E00008 */ jr $ra
|
||||
/* 023324 80047F24 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_80047F28
|
||||
/* 023328 80047F28 00041040 */ sll $v0, $a0, 1
|
||||
/* 02332C 80047F2C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 023330 80047F30 00021080 */ sll $v0, $v0, 2
|
||||
@ -2601,6 +2603,7 @@ func_80047EDC:
|
||||
/* 023350 80047F50 03E00008 */ jr $ra
|
||||
/* 023354 80047F54 AC620000 */ sw $v0, ($v1)
|
||||
|
||||
glabel func_80047F58
|
||||
/* 023358 80047F58 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 02335C 80047F5C 00041040 */ sll $v0, $a0, 1
|
||||
/* 023360 80047F60 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2639,7 +2642,7 @@ func_80047EDC:
|
||||
/* 0233E0 80047FE0 03E00008 */ jr $ra
|
||||
/* 0233E4 80047FE4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80047FE8:
|
||||
glabel func_80047FE8
|
||||
/* 0233E8 80047FE8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0233EC 80047FEC 00041040 */ sll $v0, $a0, 1
|
||||
/* 0233F0 80047FF0 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2661,6 +2664,7 @@ func_80047FE8:
|
||||
/* 02342C 8004802C 03E00008 */ jr $ra
|
||||
/* 023430 80048030 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_80048034
|
||||
/* 023434 80048034 00041040 */ sll $v0, $a0, 1
|
||||
/* 023438 80048038 00441021 */ addu $v0, $v0, $a0
|
||||
/* 02343C 8004803C 00021080 */ sll $v0, $v0, 2
|
||||
@ -2674,7 +2678,7 @@ func_80047FE8:
|
||||
/* 02345C 8004805C 03E00008 */ jr $ra
|
||||
/* 023460 80048060 AC620000 */ sw $v0, ($v1)
|
||||
|
||||
func_80048064:
|
||||
glabel func_80048064
|
||||
/* 023464 80048064 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 023468 80048068 00041040 */ sll $v0, $a0, 1
|
||||
/* 02346C 8004806C 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2713,7 +2717,7 @@ func_80048064:
|
||||
/* 0234EC 800480EC 03E00008 */ jr $ra
|
||||
/* 0234F0 800480F0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800480F4:
|
||||
glabel func_800480F4
|
||||
/* 0234F4 800480F4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0234F8 800480F8 00041040 */ sll $v0, $a0, 1
|
||||
/* 0234FC 800480FC 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2735,6 +2739,7 @@ func_800480F4:
|
||||
/* 023538 80048138 03E00008 */ jr $ra
|
||||
/* 02353C 8004813C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_80048140
|
||||
/* 023540 80048140 00041040 */ sll $v0, $a0, 1
|
||||
/* 023544 80048144 00441021 */ addu $v0, $v0, $a0
|
||||
/* 023548 80048148 00021080 */ sll $v0, $v0, 2
|
||||
@ -2748,7 +2753,7 @@ func_800480F4:
|
||||
/* 023568 80048168 03E00008 */ jr $ra
|
||||
/* 02356C 8004816C AC620000 */ sw $v0, ($v1)
|
||||
|
||||
func_80048170:
|
||||
glabel func_80048170
|
||||
/* 023570 80048170 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 023574 80048174 00041040 */ sll $v0, $a0, 1
|
||||
/* 023578 80048178 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2787,7 +2792,7 @@ func_80048170:
|
||||
/* 0235F8 800481F8 03E00008 */ jr $ra
|
||||
/* 0235FC 800481FC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80048200:
|
||||
glabel func_80048200
|
||||
/* 023600 80048200 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 023604 80048204 00041040 */ sll $v0, $a0, 1
|
||||
/* 023608 80048208 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2809,6 +2814,7 @@ func_80048200:
|
||||
/* 023644 80048244 03E00008 */ jr $ra
|
||||
/* 023648 80048248 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_8004824C
|
||||
/* 02364C 8004824C 00041040 */ sll $v0, $a0, 1
|
||||
/* 023650 80048250 00441021 */ addu $v0, $v0, $a0
|
||||
/* 023654 80048254 00021080 */ sll $v0, $v0, 2
|
||||
@ -2823,7 +2829,7 @@ func_80048200:
|
||||
/* 023678 80048278 AC620000 */ sw $v0, ($v1)
|
||||
|
||||
/* 02367C 8004827C 00000000 */ nop
|
||||
spawn_drops:
|
||||
glabel spawn_drops
|
||||
/* 023680 80048280 27BDFF68 */ addiu $sp, $sp, -0x98
|
||||
/* 023684 80048284 AFA40098 */ sw $a0, 0x98($sp)
|
||||
/* 023688 80048288 8FA80098 */ lw $t0, 0x98($sp)
|
||||
@ -3578,7 +3584,7 @@ spawn_drops:
|
||||
/* 024148 80048D48 03E00008 */ jr $ra
|
||||
/* 02414C 80048D4C 27BD0098 */ addiu $sp, $sp, 0x98
|
||||
|
||||
get_coin_drop_amount:
|
||||
glabel get_coin_drop_amount
|
||||
/* 024150 80048D50 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 024154 80048D54 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 024158 80048D58 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -3761,7 +3767,7 @@ get_coin_drop_amount:
|
||||
/* 0243CC 80048FCC 03E00008 */ jr $ra
|
||||
/* 0243D0 80048FD0 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
is_point_within_region:
|
||||
glabel is_point_within_region
|
||||
/* 0243D4 80048FD4 44856000 */ mtc1 $a1, $f12
|
||||
/* 0243D8 80048FD8 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0243DC 80048FDC F7B60020 */ sdc1 $f22, 0x20($sp)
|
||||
@ -3825,7 +3831,7 @@ is_point_within_region:
|
||||
/* 0244AC 800490AC 03E00008 */ jr $ra
|
||||
/* 0244B0 800490B0 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_800490B4:
|
||||
glabel func_800490B4
|
||||
/* 0244B4 800490B4 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 0244B8 800490B8 F7B60050 */ sdc1 $f22, 0x50($sp)
|
||||
/* 0244BC 800490BC 4486B000 */ mtc1 $a2, $f22
|
||||
@ -4107,7 +4113,7 @@ func_800490B4:
|
||||
/* 0248B8 800494B8 03E00008 */ jr $ra
|
||||
/* 0248BC 800494BC 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_800494C0:
|
||||
glabel func_800494C0
|
||||
/* 0248C0 800494C0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0248C4 800494C4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 0248C8 800494C8 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -4169,7 +4175,7 @@ func_800494C0:
|
||||
/* 024998 80049598 03E00008 */ jr $ra
|
||||
/* 02499C 8004959C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800495A0:
|
||||
glabel func_800495A0
|
||||
/* 0249A0 800495A0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0249A4 800495A4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0249A8 800495A8 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -4244,7 +4250,7 @@ func_800495A0:
|
||||
/* 024AB0 800496B0 03E00008 */ jr $ra
|
||||
/* 024AB4 800496B4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_800496B8:
|
||||
glabel func_800496B8
|
||||
/* 024AB8 800496B8 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 024ABC 800496BC AFB3004C */ sw $s3, 0x4c($sp)
|
||||
/* 024AC0 800496C0 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -4550,7 +4556,7 @@ func_800496B8:
|
||||
/* 024F3C 80049B3C 03E00008 */ jr $ra
|
||||
/* 024F40 80049B40 27BD0060 */ addiu $sp, $sp, 0x60
|
||||
|
||||
func_80049B44:
|
||||
glabel func_80049B44
|
||||
/* 024F44 80049B44 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 024F48 80049B48 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 024F4C 80049B4C 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -4600,7 +4606,7 @@ func_80049B44:
|
||||
/* 024FFC 80049BFC 03E00008 */ jr $ra
|
||||
/* 025000 80049C00 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80049C04:
|
||||
glabel func_80049C04
|
||||
/* 025004 80049C04 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 025008 80049C08 AFB40048 */ sw $s4, 0x48($sp)
|
||||
/* 02500C 80049C0C 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -4752,7 +4758,7 @@ func_80049C04:
|
||||
/* 025234 80049E34 03E00008 */ jr $ra
|
||||
/* 025238 80049E38 27BD0058 */ addiu $sp, $sp, 0x58
|
||||
|
||||
func_80049E3C:
|
||||
glabel func_80049E3C
|
||||
/* 02523C 80049E3C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 025240 80049E40 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 025244 80049E44 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -4790,7 +4796,7 @@ func_80049E3C:
|
||||
/* 0252C4 80049EC4 03E00008 */ jr $ra
|
||||
/* 0252C8 80049EC8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80049ECC:
|
||||
glabel func_80049ECC
|
||||
/* 0252CC 80049ECC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0252D0 80049ED0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0252D4 80049ED4 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -4840,7 +4846,7 @@ func_80049ECC:
|
||||
/* 025374 80049F74 03E00008 */ jr $ra
|
||||
/* 025378 80049F78 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80049F7C:
|
||||
glabel func_80049F7C
|
||||
/* 02537C 80049F7C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 025380 80049F80 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 025384 80049F84 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -4954,7 +4960,7 @@ func_80049F7C:
|
||||
/* 02551C 8004A11C 03E00008 */ jr $ra
|
||||
/* 025520 8004A120 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8004A124:
|
||||
glabel func_8004A124
|
||||
/* 025524 8004A124 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 025528 8004A128 AFB30044 */ sw $s3, 0x44($sp)
|
||||
/* 02552C 8004A12C 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -5143,7 +5149,7 @@ func_8004A124:
|
||||
/* 0257E0 8004A3E0 03E00008 */ jr $ra
|
||||
/* 0257E4 8004A3E4 27BD0058 */ addiu $sp, $sp, 0x58
|
||||
|
||||
func_8004A3E8:
|
||||
glabel func_8004A3E8
|
||||
/* 0257E8 8004A3E8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0257EC 8004A3EC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0257F0 8004A3F0 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -5183,7 +5189,7 @@ func_8004A3E8:
|
||||
/* 025874 8004A474 03E00008 */ jr $ra
|
||||
/* 025878 8004A478 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
DoBasicAI:
|
||||
glabel DoBasicAI
|
||||
/* 02587C 8004A47C 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 025880 8004A480 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 025884 8004A484 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -5376,7 +5382,7 @@ DoBasicAI:
|
||||
/* 025B34 8004A734 03E00008 */ jr $ra
|
||||
/* 025B38 8004A738 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8004A73C:
|
||||
glabel func_8004A73C
|
||||
/* 025B3C 8004A73C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 025B40 8004A740 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 025B44 8004A744 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -5397,7 +5403,7 @@ func_8004A73C:
|
||||
/* 025B7C 8004A77C 03E00008 */ jr $ra
|
||||
/* 025B80 8004A780 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8004A784:
|
||||
glabel func_8004A784
|
||||
/* 025B84 8004A784 27BDFF68 */ addiu $sp, $sp, -0x98
|
||||
/* 025B88 8004A788 F7BC0088 */ sdc1 $f28, 0x88($sp)
|
||||
/* 025B8C 8004A78C 4485E000 */ mtc1 $a1, $f28
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8004AB00, "ax"
|
||||
@ -385,7 +385,7 @@
|
||||
/* 02646C 8004B06C 08012BA8 */ j .L8004AEA0
|
||||
/* 026470 8004B070 A2E20000 */ sb $v0, ($s7)
|
||||
|
||||
nuAuDmaCallBack:
|
||||
glabel nuAuDmaCallBack
|
||||
/* 026474 8004B074 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 026478 8004B078 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 02647C 8004B07C 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -509,7 +509,7 @@ nuAuDmaCallBack:
|
||||
/* 02661C 8004B21C 03E00008 */ jr $ra
|
||||
/* 026620 8004B220 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
nuAuDmaNew:
|
||||
glabel nuAuDmaNew
|
||||
/* 026624 8004B224 3C03800A */ lui $v1, 0x800a
|
||||
/* 026628 8004B228 24633BD0 */ addiu $v1, $v1, 0x3bd0
|
||||
/* 02662C 8004B22C 90620000 */ lbu $v0, ($v1)
|
||||
@ -529,7 +529,7 @@ nuAuDmaNew:
|
||||
/* 026660 8004B260 03E00008 */ jr $ra
|
||||
/* 026664 8004B264 AC830000 */ sw $v1, ($a0)
|
||||
|
||||
nuAuCleanDMABuffers:
|
||||
glabel nuAuCleanDMABuffers
|
||||
/* 026668 8004B268 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 02666C 8004B26C 3C02800A */ lui $v0, 0x800a
|
||||
/* 026670 8004B270 24423BD0 */ addiu $v0, $v0, 0x3bd0
|
||||
@ -639,7 +639,7 @@ nuAuCleanDMABuffers:
|
||||
/* 0267E4 8004B3E4 03E00008 */ jr $ra
|
||||
/* 0267E8 8004B3E8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
alLink:
|
||||
glabel alLink
|
||||
/* 0267EC 8004B3EC 8CA20000 */ lw $v0, ($a1)
|
||||
/* 0267F0 8004B3F0 AC850004 */ sw $a1, 4($a0)
|
||||
/* 0267F4 8004B3F4 AC820000 */ sw $v0, ($a0)
|
||||
@ -650,7 +650,7 @@ alLink:
|
||||
/* 026804 8004B404 03E00008 */ jr $ra
|
||||
/* 026808 8004B408 ACA40000 */ sw $a0, ($a1)
|
||||
|
||||
alUnlink:
|
||||
glabel alUnlink
|
||||
/* 02680C 8004B40C 8C830000 */ lw $v1, ($a0)
|
||||
/* 026810 8004B410 10600003 */ beqz $v1, .L8004B420
|
||||
/* 026814 8004B414 00000000 */ nop
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8004B440, "ax"
|
||||
|
||||
func_8004B440:
|
||||
glabel func_8004B440
|
||||
/* 026840 8004B440 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 026844 8004B444 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 026848 8004B448 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -142,7 +142,7 @@ func_8004B440:
|
||||
/* 026A24 8004B624 03E00008 */ jr $ra
|
||||
/* 026A28 8004B628 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8004B62C:
|
||||
glabel func_8004B62C
|
||||
/* 026A2C 8004B62C 24080008 */ addiu $t0, $zero, 8
|
||||
/* 026A30 8004B630 8C820000 */ lw $v0, ($a0)
|
||||
/* 026A34 8004B634 0000382D */ daddu $a3, $zero, $zero
|
||||
@ -174,7 +174,7 @@ func_8004B62C:
|
||||
/* 026A90 8004B690 03E00008 */ jr $ra
|
||||
/* 026A94 8004B694 00000000 */ nop
|
||||
|
||||
func_8004B698:
|
||||
glabel func_8004B698
|
||||
/* 026A98 8004B698 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 026A9C 8004B69C 0080182D */ daddu $v1, $a0, $zero
|
||||
.L8004B6A0:
|
||||
@ -193,7 +193,7 @@ func_8004B698:
|
||||
/* 026AD0 8004B6D0 03E00008 */ jr $ra
|
||||
/* 026AD4 8004B6D4 A0800162 */ sb $zero, 0x162($a0)
|
||||
|
||||
func_8004B6D8:
|
||||
glabel func_8004B6D8
|
||||
/* 026AD8 8004B6D8 90830164 */ lbu $v1, 0x164($a0)
|
||||
/* 026ADC 8004B6DC 90820163 */ lbu $v0, 0x163($a0)
|
||||
/* 026AE0 8004B6E0 8FA90010 */ lw $t1, 0x10($sp)
|
||||
@ -226,7 +226,7 @@ func_8004B6D8:
|
||||
/* 026B40 8004B740 03E00008 */ jr $ra
|
||||
/* 026B44 8004B744 00000000 */ nop
|
||||
|
||||
func_8004B748:
|
||||
glabel func_8004B748
|
||||
/* 026B48 8004B748 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 026B4C 8004B74C AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* 026B50 8004B750 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -420,7 +420,7 @@ func_8004B748:
|
||||
/* 026DDC 8004B9DC 03E00008 */ jr $ra
|
||||
/* 026DE0 8004B9E0 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_8004B9E4:
|
||||
glabel func_8004B9E4
|
||||
/* 026DE4 8004B9E4 30A500FF */ andi $a1, $a1, 0xff
|
||||
/* 026DE8 8004B9E8 240200F0 */ addiu $v0, $zero, 0xf0
|
||||
/* 026DEC 8004B9EC 10A20017 */ beq $a1, $v0, .L8004BA4C
|
||||
@ -454,7 +454,7 @@ func_8004B9E4:
|
||||
/* 026E4C 8004BA4C 03E00008 */ jr $ra
|
||||
/* 026E50 8004BA50 9082008C */ lbu $v0, 0x8c($a0)
|
||||
|
||||
func_8004BA54:
|
||||
glabel func_8004BA54
|
||||
/* 026E54 8004BA54 14A00003 */ bnez $a1, .L8004BA64
|
||||
/* 026E58 8004BA58 24020001 */ addiu $v0, $zero, 1
|
||||
/* 026E5C 8004BA5C 03E00008 */ jr $ra
|
||||
@ -467,7 +467,7 @@ func_8004BA54:
|
||||
/* 026E6C 8004BA6C 03E00008 */ jr $ra
|
||||
/* 026E70 8004BA70 00000000 */ nop
|
||||
|
||||
func_8004BA74:
|
||||
glabel func_8004BA74
|
||||
/* 026E74 8004BA74 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 026E78 8004BA78 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 026E7C 8004BA7C 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -955,7 +955,7 @@ func_8004BA74:
|
||||
/* 0274DC 8004C0DC 03E00008 */ jr $ra
|
||||
/* 0274E0 8004C0E0 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_8004C0E4:
|
||||
glabel func_8004C0E4
|
||||
/* 0274E4 8004C0E4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0274E8 8004C0E8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0274EC 8004C0EC 908200C0 */ lbu $v0, 0xc0($a0)
|
||||
@ -1063,7 +1063,7 @@ func_8004C0E4:
|
||||
/* 027660 8004C260 03E00008 */ jr $ra
|
||||
/* 027664 8004C264 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8004C268:
|
||||
glabel func_8004C268
|
||||
/* 027668 8004C268 30A20C00 */ andi $v0, $a1, 0xc00
|
||||
/* 02766C 8004C26C 00024282 */ srl $t0, $v0, 0xa
|
||||
/* 027670 8004C270 0000382D */ daddu $a3, $zero, $zero
|
||||
@ -1082,7 +1082,7 @@ func_8004C268:
|
||||
/* 02769C 8004C29C 03E00008 */ jr $ra
|
||||
/* 0276A0 8004C2A0 00000000 */ nop
|
||||
|
||||
func_8004C2A4:
|
||||
glabel func_8004C2A4
|
||||
/* 0276A4 8004C2A4 0000382D */ daddu $a3, $zero, $zero
|
||||
/* 0276A8 8004C2A8 30A523FF */ andi $a1, $a1, 0x23ff
|
||||
/* 0276AC 8004C2AC 3C0A8008 */ lui $t2, 0x8008
|
||||
@ -1109,7 +1109,7 @@ func_8004C2A4:
|
||||
/* 0276F8 8004C2F8 03E00008 */ jr $ra
|
||||
/* 0276FC 8004C2FC 00000000 */ nop
|
||||
|
||||
func_8004C300:
|
||||
glabel func_8004C300
|
||||
/* 027700 8004C300 0000382D */ daddu $a3, $zero, $zero
|
||||
/* 027704 8004C304 3C0A8008 */ lui $t2, 0x8008
|
||||
/* 027708 8004C308 254A8464 */ addiu $t2, $t2, -0x7b9c
|
||||
@ -1135,7 +1135,7 @@ func_8004C300:
|
||||
/* 027750 8004C350 03E00008 */ jr $ra
|
||||
/* 027754 8004C354 00000000 */ nop
|
||||
|
||||
func_8004C358:
|
||||
glabel func_8004C358
|
||||
/* 027758 8004C358 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 02775C 8004C35C AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 027760 8004C360 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -1170,7 +1170,7 @@ func_8004C358:
|
||||
/* 0277CC 8004C3CC 03E00008 */ jr $ra
|
||||
/* 0277D0 8004C3D0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8004C3D4:
|
||||
glabel func_8004C3D4
|
||||
/* 0277D4 8004C3D4 9082009A */ lbu $v0, 0x9a($a0)
|
||||
/* 0277D8 8004C3D8 30420004 */ andi $v0, $v0, 4
|
||||
/* 0277DC 8004C3DC 10400003 */ beqz $v0, .L8004C3EC
|
||||
@ -1208,7 +1208,7 @@ func_8004C3D4:
|
||||
/* 02783C 8004C43C 03E00008 */ jr $ra
|
||||
/* 027840 8004C440 A48300A4 */ sh $v1, 0xa4($a0)
|
||||
|
||||
func_8004C444:
|
||||
glabel func_8004C444
|
||||
/* 027844 8004C444 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 027848 8004C448 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 02784C 8004C44C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1295,7 +1295,7 @@ func_8004C444:
|
||||
/* 027970 8004C570 03E00008 */ jr $ra
|
||||
/* 027974 8004C574 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8004C578:
|
||||
glabel func_8004C578
|
||||
/* 027978 8004C578 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 02797C 8004C57C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 027980 8004C580 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1495,7 +1495,7 @@ func_8004C578:
|
||||
/* 027C3C 8004C83C 03E00008 */ jr $ra
|
||||
/* 027C40 8004C840 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8004C844:
|
||||
glabel func_8004C844
|
||||
/* 027C44 8004C844 948300B8 */ lhu $v1, 0xb8($a0)
|
||||
/* 027C48 8004C848 84A2005C */ lh $v0, 0x5c($a1)
|
||||
/* 027C4C 8004C84C 00620018 */ mult $v1, $v0
|
||||
@ -1514,7 +1514,7 @@ func_8004C844:
|
||||
/* 027C7C 8004C87C 03E00008 */ jr $ra
|
||||
/* 027C80 8004C880 00021403 */ sra $v0, $v0, 0x10
|
||||
|
||||
func_8004C884:
|
||||
glabel func_8004C884
|
||||
/* 027C84 8004C884 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 027C88 8004C888 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 027C8C 8004C88C 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1884,7 +1884,7 @@ func_8004C884:
|
||||
/* 02818C 8004CD8C 03E00008 */ jr $ra
|
||||
/* 028190 8004CD90 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8004CD94:
|
||||
glabel func_8004CD94
|
||||
/* 028194 8004CD94 94A300B8 */ lhu $v1, 0xb8($a1)
|
||||
/* 028198 8004CD98 84C2005C */ lh $v0, 0x5c($a2)
|
||||
/* 02819C 8004CD9C 00620018 */ mult $v1, $v0
|
||||
@ -1951,7 +1951,7 @@ func_8004CD94:
|
||||
/* 028268 8004CE68 03E00008 */ jr $ra
|
||||
/* 02826C 8004CE6C 30A200FF */ andi $v0, $a1, 0xff
|
||||
|
||||
func_8004CE70:
|
||||
glabel func_8004CE70
|
||||
/* 028270 8004CE70 8CA20000 */ lw $v0, ($a1)
|
||||
/* 028274 8004CE74 90430000 */ lbu $v1, ($v0)
|
||||
/* 028278 8004CE78 24420001 */ addiu $v0, $v0, 1
|
||||
@ -1967,7 +1967,7 @@ func_8004CE70:
|
||||
/* 02829C 8004CE9C 03E00008 */ jr $ra
|
||||
/* 0282A0 8004CEA0 A0A20055 */ sb $v0, 0x55($a1)
|
||||
|
||||
func_8004CEA4:
|
||||
glabel func_8004CEA4
|
||||
/* 0282A4 8004CEA4 8CA20000 */ lw $v0, ($a1)
|
||||
/* 0282A8 8004CEA8 90430000 */ lbu $v1, ($v0)
|
||||
/* 0282AC 8004CEAC 24420001 */ addiu $v0, $v0, 1
|
||||
@ -1977,7 +1977,7 @@ func_8004CEA4:
|
||||
/* 0282BC 8004CEBC 03E00008 */ jr $ra
|
||||
/* 0282C0 8004CEC0 A0A3009B */ sb $v1, 0x9b($a1)
|
||||
|
||||
func_8004CEC4:
|
||||
glabel func_8004CEC4
|
||||
/* 0282C4 8004CEC4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0282C8 8004CEC8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0282CC 8004CECC 00A0802D */ daddu $s0, $a1, $zero
|
||||
@ -1997,7 +1997,7 @@ func_8004CEC4:
|
||||
/* 028304 8004CF04 03E00008 */ jr $ra
|
||||
/* 028308 8004CF08 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8004CF0C:
|
||||
glabel func_8004CF0C
|
||||
/* 02830C 8004CF0C 8CA20000 */ lw $v0, ($a1)
|
||||
/* 028310 8004CF10 90A3009A */ lbu $v1, 0x9a($a1)
|
||||
/* 028314 8004CF14 90460000 */ lbu $a2, ($v0)
|
||||
@ -2373,7 +2373,7 @@ func_8004CF0C:
|
||||
/* 028820 8004D420 03E00008 */ jr $ra
|
||||
/* 028824 8004D424 00000000 */ nop
|
||||
|
||||
func_8004D428:
|
||||
glabel func_8004D428
|
||||
/* 028828 8004D428 000419C3 */ sra $v1, $a0, 7
|
||||
/* 02882C 8004D42C 3063000F */ andi $v1, $v1, 0xf
|
||||
/* 028830 8004D430 000410C0 */ sll $v0, $a0, 3
|
||||
@ -2400,7 +2400,7 @@ func_8004D428:
|
||||
/* 02887C 8004D47C 03E00008 */ jr $ra
|
||||
/* 028880 8004D480 00C21021 */ addu $v0, $a2, $v0
|
||||
|
||||
func_8004D484:
|
||||
glabel func_8004D484
|
||||
/* 028884 8004D484 308200CC */ andi $v0, $a0, 0xcc
|
||||
/* 028888 8004D488 00021083 */ sra $v0, $v0, 2
|
||||
/* 02888C 8004D48C 30840013 */ andi $a0, $a0, 0x13
|
||||
@ -2416,7 +2416,7 @@ func_8004D484:
|
||||
/* 0288B4 8004D4B4 03E00008 */ jr $ra
|
||||
/* 0288B8 8004D4B8 304200FF */ andi $v0, $v0, 0xff
|
||||
|
||||
func_8004D4BC:
|
||||
glabel func_8004D4BC
|
||||
/* 0288BC 8004D4BC 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 0288C0 8004D4C0 3C088008 */ lui $t0, 0x8008
|
||||
/* 0288C4 8004D4C4 25088464 */ addiu $t0, $t0, -0x7b9c
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8004D510, "ax"
|
||||
|
||||
func_8004D510:
|
||||
glabel func_8004D510
|
||||
/* 028910 8004D510 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 028914 8004D514 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 028918 8004D518 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -199,7 +199,7 @@ func_8004D510:
|
||||
/* 028B8C 8004D78C 03E00008 */ jr $ra
|
||||
/* 028B90 8004D790 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8004D794:
|
||||
glabel func_8004D794
|
||||
/* 028B94 8004D794 3C05800A */ lui $a1, 0x800a
|
||||
/* 028B98 8004D798 8CA5A664 */ lw $a1, -0x599c($a1)
|
||||
/* 028B9C 8004D79C 8CA30000 */ lw $v1, ($a1)
|
||||
@ -224,7 +224,7 @@ func_8004D794:
|
||||
/* 028BD8 8004D7D8 03E00008 */ jr $ra
|
||||
/* 028BDC 8004D7DC 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
func_8004D7E0:
|
||||
glabel func_8004D7E0
|
||||
/* 028BE0 8004D7E0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 028BE4 8004D7E4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 028BE8 8004D7E8 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -389,7 +389,7 @@ func_8004D7E0:
|
||||
/* 028E04 8004DA04 03E00008 */ jr $ra
|
||||
/* 028E08 8004DA08 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8004DA0C:
|
||||
glabel func_8004DA0C
|
||||
/* 028E0C 8004DA0C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 028E10 8004DA10 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 028E14 8004DA14 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -421,7 +421,7 @@ func_8004DA0C:
|
||||
/* 028E6C 8004DA6C 03E00008 */ jr $ra
|
||||
/* 028E70 8004DA70 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8004DA74:
|
||||
glabel func_8004DA74
|
||||
/* 028E74 8004DA74 3C04800A */ lui $a0, 0x800a
|
||||
/* 028E78 8004DA78 8C84A664 */ lw $a0, -0x599c($a0)
|
||||
/* 028E7C 8004DA7C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -436,7 +436,7 @@ func_8004DA74:
|
||||
/* 028EA0 8004DAA0 03E00008 */ jr $ra
|
||||
/* 028EA4 8004DAA4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8004DAA8:
|
||||
glabel func_8004DAA8
|
||||
/* 028EA8 8004DAA8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 028EAC 8004DAAC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 028EB0 8004DAB0 90820221 */ lbu $v0, 0x221($a0)
|
||||
@ -453,7 +453,7 @@ func_8004DAA8:
|
||||
/* 028ED8 8004DAD8 03E00008 */ jr $ra
|
||||
/* 028EDC 8004DADC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8004DAE0:
|
||||
glabel func_8004DAE0
|
||||
/* 028EE0 8004DAE0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 028EE4 8004DAE4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 028EE8 8004DAE8 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -476,7 +476,7 @@ func_8004DAE0:
|
||||
/* 028F20 8004DB20 03E00008 */ jr $ra
|
||||
/* 028F24 8004DB24 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8004DB28:
|
||||
glabel func_8004DB28
|
||||
/* 028F28 8004DB28 8C82001C */ lw $v0, 0x1c($a0)
|
||||
/* 028F2C 8004DB2C 10400005 */ beqz $v0, .L8004DB44
|
||||
/* 028F30 8004DB30 0000102D */ daddu $v0, $zero, $zero
|
||||
@ -488,7 +488,7 @@ func_8004DB28:
|
||||
/* 028F44 8004DB44 03E00008 */ jr $ra
|
||||
/* 028F48 8004DB48 00000000 */ nop
|
||||
|
||||
func_8004DB4C:
|
||||
glabel func_8004DB4C
|
||||
/* 028F4C 8004DB4C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 028F50 8004DB50 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 028F54 8004DB54 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -573,7 +573,7 @@ func_8004DB4C:
|
||||
/* 029078 8004DC78 03E00008 */ jr $ra
|
||||
/* 02907C 8004DC7C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8004DC80:
|
||||
glabel func_8004DC80
|
||||
/* 029080 8004DC80 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 029084 8004DC84 AFA40010 */ sw $a0, 0x10($sp)
|
||||
/* 029088 8004DC88 27A40010 */ addiu $a0, $sp, 0x10
|
||||
@ -589,7 +589,7 @@ func_8004DC80:
|
||||
/* 0290B0 8004DCB0 03E00008 */ jr $ra
|
||||
/* 0290B4 8004DCB4 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_8004DCB8:
|
||||
glabel func_8004DCB8
|
||||
/* 0290B8 8004DCB8 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0290BC 8004DCBC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0290C0 8004DCC0 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -694,7 +694,7 @@ func_8004DCB8:
|
||||
/* 029224 8004DE24 03E00008 */ jr $ra
|
||||
/* 029228 8004DE28 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8004DE2C:
|
||||
glabel func_8004DE2C
|
||||
/* 02922C 8004DE2C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 029230 8004DE30 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 029234 8004DE34 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -819,7 +819,7 @@ func_8004DE2C:
|
||||
/* 0293CC 8004DFCC 03E00008 */ jr $ra
|
||||
/* 0293D0 8004DFD0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8004DFD4:
|
||||
glabel func_8004DFD4
|
||||
/* 0293D4 8004DFD4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0293D8 8004DFD8 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0293DC 8004DFDC 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -900,7 +900,7 @@ func_8004DFD4:
|
||||
/* 0294EC 8004E0EC 03E00008 */ jr $ra
|
||||
/* 0294F0 8004E0F0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8004E0F4:
|
||||
glabel func_8004E0F4
|
||||
/* 0294F4 8004E0F4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0294F8 8004E0F8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0294FC 8004E0FC 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -931,7 +931,7 @@ func_8004E0F4:
|
||||
/* 029550 8004E150 03E00008 */ jr $ra
|
||||
/* 029554 8004E154 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8004E158:
|
||||
glabel func_8004E158
|
||||
/* 029558 8004E158 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 02955C 8004E15C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 029560 8004E160 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1059,7 +1059,7 @@ func_8004E158:
|
||||
/* 02973C 8004E33C 03E00008 */ jr $ra
|
||||
/* 029740 8004E340 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8004E344:
|
||||
glabel func_8004E344
|
||||
/* 029744 8004E344 0000182D */ daddu $v1, $zero, $zero
|
||||
.L8004E348:
|
||||
/* 029748 8004E348 90A60000 */ lbu $a2, ($a1)
|
||||
@ -1089,7 +1089,7 @@ func_8004E344:
|
||||
/* 02979C 8004E39C 03E00008 */ jr $ra
|
||||
/* 0297A0 8004E3A0 00000000 */ nop
|
||||
|
||||
func_8004E3A4:
|
||||
glabel func_8004E3A4
|
||||
/* 0297A4 8004E3A4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0297A8 8004E3A8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0297AC 8004E3AC 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1137,7 +1137,7 @@ func_8004E3A4:
|
||||
/* 02983C 8004E43C 03E00008 */ jr $ra
|
||||
/* 029840 8004E440 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8004E444:
|
||||
glabel func_8004E444
|
||||
/* 029844 8004E444 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 029848 8004E448 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 02984C 8004E44C 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1170,7 +1170,7 @@ func_8004E444:
|
||||
/* 0298B0 8004E4B0 03E00008 */ jr $ra
|
||||
/* 0298B4 8004E4B4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8004E4B8:
|
||||
glabel func_8004E4B8
|
||||
/* 0298B8 8004E4B8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0298BC 8004E4BC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0298C0 8004E4C0 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1252,7 +1252,7 @@ func_8004E4B8:
|
||||
/* 0299D0 8004E5D0 03E00008 */ jr $ra
|
||||
/* 0299D4 8004E5D4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8004E5D8:
|
||||
glabel func_8004E5D8
|
||||
/* 0299D8 8004E5D8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0299DC 8004E5DC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0299E0 8004E5E0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1418,7 +1418,7 @@ func_8004E5D8:
|
||||
/* 029C3C 8004E83C 03E00008 */ jr $ra
|
||||
/* 029C40 8004E840 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8004E844:
|
||||
glabel func_8004E844
|
||||
/* 029C44 8004E844 000510C0 */ sll $v0, $a1, 3
|
||||
/* 029C48 8004E848 00451021 */ addu $v0, $v0, $a1
|
||||
/* 029C4C 8004E84C 00021040 */ sll $v0, $v0, 1
|
||||
@ -1436,7 +1436,7 @@ func_8004E844:
|
||||
/* 029C78 8004E878 03E00008 */ jr $ra
|
||||
/* 029C7C 8004E87C 00000000 */ nop
|
||||
|
||||
func_8004E880:
|
||||
glabel func_8004E880
|
||||
/* 029C80 8004E880 3C02009F */ lui $v0, 0x9f
|
||||
/* 029C84 8004E884 344238DE */ ori $v0, $v0, 0x38de
|
||||
/* 029C88 8004E888 14C00002 */ bnez $a2, .L8004E894
|
||||
@ -1477,7 +1477,7 @@ func_8004E880:
|
||||
/* 029CFC 8004E8FC 03E00008 */ jr $ra
|
||||
/* 029D00 8004E900 A482020A */ sh $v0, 0x20a($a0)
|
||||
|
||||
func_8004E904:
|
||||
glabel func_8004E904
|
||||
/* 029D04 8004E904 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 029D08 8004E908 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 029D0C 8004E90C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1573,7 +1573,7 @@ func_8004E904:
|
||||
/* 029E2C 8004EA2C 03E00008 */ jr $ra
|
||||
/* 029E30 8004EA30 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8004EA34:
|
||||
glabel func_8004EA34
|
||||
/* 029E34 8004EA34 30A8001F */ andi $t0, $a1, 0x1f
|
||||
/* 029E38 8004EA38 90830210 */ lbu $v1, 0x210($a0)
|
||||
/* 029E3C 8004EA3C 00052942 */ srl $a1, $a1, 5
|
||||
@ -1623,7 +1623,7 @@ func_8004EA34:
|
||||
/* 029ECC 8004EACC 03E00008 */ jr $ra
|
||||
/* 029ED0 8004EAD0 A0830210 */ sb $v1, 0x210($a0)
|
||||
|
||||
func_8004EAD4:
|
||||
glabel func_8004EAD4
|
||||
/* 029ED4 8004EAD4 0000402D */ daddu $t0, $zero, $zero
|
||||
/* 029ED8 8004EAD8 0100582D */ daddu $t3, $t0, $zero
|
||||
/* 029EDC 8004EADC 0100482D */ daddu $t1, $t0, $zero
|
||||
@ -1707,7 +1707,7 @@ func_8004EAD4:
|
||||
/* 029FFC 8004EBFC 03E00008 */ jr $ra
|
||||
/* 02A000 8004EC00 00000000 */ nop
|
||||
|
||||
func_8004EC04:
|
||||
glabel func_8004EC04
|
||||
/* 02A004 8004EC04 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 02A008 8004EC08 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 02A00C 8004EC0C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1735,7 +1735,7 @@ func_8004EC04:
|
||||
/* 02A060 8004EC60 03E00008 */ jr $ra
|
||||
/* 02A064 8004EC64 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8004EC68:
|
||||
glabel func_8004EC68
|
||||
/* 02A068 8004EC68 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 02A06C 8004EC6C AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 02A070 8004EC70 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -2859,7 +2859,7 @@ func_8004EC68:
|
||||
/* 02B000 8004FC00 03E00008 */ jr $ra
|
||||
/* 02B004 8004FC04 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8004FC08:
|
||||
glabel func_8004FC08
|
||||
/* 02B008 8004FC08 44852000 */ mtc1 $a1, $f4
|
||||
/* 02B00C 8004FC0C 00000000 */ nop
|
||||
/* 02B010 8004FC10 46802121 */ cvt.d.w $f4, $f4
|
||||
@ -2948,7 +2948,7 @@ func_8004FC08:
|
||||
/* 02B130 8004FD30 03E00008 */ jr $ra
|
||||
/* 02B134 8004FD34 A0620041 */ sb $v0, 0x41($v1)
|
||||
|
||||
func_8004FD38:
|
||||
glabel func_8004FD38
|
||||
/* 02B138 8004FD38 908200D4 */ lbu $v0, 0xd4($a0)
|
||||
/* 02B13C 8004FD3C 00823821 */ addu $a3, $a0, $v0
|
||||
/* 02B140 8004FD40 2C420004 */ sltiu $v0, $v0, 4
|
||||
@ -3056,7 +3056,7 @@ func_8004FD38:
|
||||
/* 02B2A8 8004FEA8 03E00008 */ jr $ra
|
||||
/* 02B2AC 8004FEAC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8004FEB0:
|
||||
glabel func_8004FEB0
|
||||
/* 02B2B0 8004FEB0 908200D4 */ lbu $v0, 0xd4($a0)
|
||||
/* 02B2B4 8004FEB4 3042007F */ andi $v0, $v0, 0x7f
|
||||
/* 02B2B8 8004FEB8 54400001 */ bnel $v0, $zero, .L8004FEC0
|
||||
@ -3067,7 +3067,7 @@ func_8004FEB0:
|
||||
/* 02B2C8 8004FEC8 03E00008 */ jr $ra
|
||||
/* 02B2CC 8004FECC A0A20041 */ sb $v0, 0x41($a1)
|
||||
|
||||
func_8004FED0:
|
||||
glabel func_8004FED0
|
||||
/* 02B2D0 8004FED0 908200D6 */ lbu $v0, 0xd6($a0)
|
||||
/* 02B2D4 8004FED4 948600D4 */ lhu $a2, 0xd4($a0)
|
||||
/* 02B2D8 8004FED8 3044007F */ andi $a0, $v0, 0x7f
|
||||
@ -3550,7 +3550,7 @@ func_8004FED0:
|
||||
/* 02B960 80050560 03E00008 */ jr $ra
|
||||
/* 02B964 80050564 00000000 */ nop
|
||||
|
||||
func_80050568:
|
||||
glabel func_80050568
|
||||
/* 02B968 80050568 8C820050 */ lw $v0, 0x50($a0)
|
||||
/* 02B96C 8005056C 30A500FF */ andi $a1, $a1, 0xff
|
||||
/* 02B970 80050570 000221C3 */ sra $a0, $v0, 7
|
||||
@ -3589,7 +3589,7 @@ func_80050568:
|
||||
/* 02B9DC 800505DC 03E00008 */ jr $ra
|
||||
/* 02B9E0 800505E0 30A200FF */ andi $v0, $a1, 0xff
|
||||
|
||||
func_800505E4:
|
||||
glabel func_800505E4
|
||||
/* 02B9E4 800505E4 00041903 */ sra $v1, $a0, 4
|
||||
/* 02B9E8 800505E8 00041043 */ sra $v0, $a0, 1
|
||||
/* 02B9EC 800505EC 00621821 */ addu $v1, $v1, $v0
|
||||
@ -3622,7 +3622,7 @@ func_800505E4:
|
||||
/* 02BA4C 8005064C 03E00008 */ jr $ra
|
||||
/* 02BA50 80050650 00021403 */ sra $v0, $v0, 0x10
|
||||
|
||||
func_80050654:
|
||||
glabel func_80050654
|
||||
/* 02BA54 80050654 00041203 */ sra $v0, $a0, 8
|
||||
/* 02BA58 80050658 3042001F */ andi $v0, $v0, 0x1f
|
||||
/* 02BA5C 8005065C 308400E0 */ andi $a0, $a0, 0xe0
|
||||
@ -3638,7 +3638,7 @@ func_80050654:
|
||||
/* 02BA84 80050684 03E00008 */ jr $ra
|
||||
/* 02BA88 80050688 306200FF */ andi $v0, $v1, 0xff
|
||||
|
||||
func_8005068C:
|
||||
glabel func_8005068C
|
||||
/* 02BA8C 8005068C 000411C3 */ sra $v0, $a0, 7
|
||||
/* 02BA90 80050690 30420007 */ andi $v0, $v0, 7
|
||||
/* 02BA94 80050694 000420C0 */ sll $a0, $a0, 3
|
||||
@ -3655,7 +3655,7 @@ func_8005068C:
|
||||
/* 02BAC0 800506C0 03E00008 */ jr $ra
|
||||
/* 02BAC4 800506C4 306200FF */ andi $v0, $v1, 0xff
|
||||
|
||||
func_800506C8:
|
||||
glabel func_800506C8
|
||||
/* 02BAC8 800506C8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 02BACC 800506CC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 02BAD0 800506D0 00A0802D */ daddu $s0, $a1, $zero
|
||||
@ -3703,7 +3703,7 @@ func_800506C8:
|
||||
/* 02BB68 80050768 03E00008 */ jr $ra
|
||||
/* 02BB6C 8005076C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80050770:
|
||||
glabel func_80050770
|
||||
/* 02BB70 80050770 44852000 */ mtc1 $a1, $f4
|
||||
/* 02BB74 80050774 3C014000 */ lui $at, 0x4000
|
||||
/* 02BB78 80050778 44810800 */ mtc1 $at, $f1
|
||||
@ -3750,7 +3750,7 @@ func_80050770:
|
||||
/* 02BC10 80050810 03E00008 */ jr $ra
|
||||
/* 02BC14 80050814 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80050818:
|
||||
glabel func_80050818
|
||||
/* 02BC18 80050818 28A204B1 */ slti $v0, $a1, 0x4b1
|
||||
/* 02BC1C 8005081C 14400003 */ bnez $v0, .L8005082C
|
||||
/* 02BC20 80050820 28A2F6A0 */ slti $v0, $a1, -0x960
|
||||
@ -3764,7 +3764,7 @@ func_80050818:
|
||||
/* 02BC34 80050834 03E00008 */ jr $ra
|
||||
/* 02BC38 80050838 A485020E */ sh $a1, 0x20e($a0)
|
||||
|
||||
func_8005083C:
|
||||
glabel func_8005083C
|
||||
/* 02BC3C 8005083C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 02BC40 80050840 00051040 */ sll $v0, $a1, 1
|
||||
/* 02BC44 80050844 00451021 */ addu $v0, $v0, $a1
|
||||
@ -3783,12 +3783,12 @@ func_8005083C:
|
||||
/* 02BC74 80050874 03E00008 */ jr $ra
|
||||
/* 02BC78 80050878 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8005087C:
|
||||
glabel func_8005087C
|
||||
/* 02BC7C 8005087C AC850204 */ sw $a1, 0x204($a0)
|
||||
/* 02BC80 80050880 03E00008 */ jr $ra
|
||||
/* 02BC84 80050884 A0860232 */ sb $a2, 0x232($a0)
|
||||
|
||||
func_80050888:
|
||||
glabel func_80050888
|
||||
/* 02BC88 80050888 10C00002 */ beqz $a2, .L80050894
|
||||
/* 02BC8C 8005088C 00061200 */ sll $v0, $a2, 8
|
||||
/* 02BC90 80050890 344600FF */ ori $a2, $v0, 0xff
|
||||
@ -3828,7 +3828,7 @@ func_80050888:
|
||||
/* 02BCF8 800508F8 03E00008 */ jr $ra
|
||||
/* 02BCFC 800508FC ACA20030 */ sw $v0, 0x30($a1)
|
||||
|
||||
func_80050900:
|
||||
glabel func_80050900
|
||||
/* 02BD00 80050900 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 02BD04 80050904 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 02BD08 80050908 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -3860,7 +3860,7 @@ func_80050900:
|
||||
/* 02BD68 80050968 03E00008 */ jr $ra
|
||||
/* 02BD6C 8005096C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80050970:
|
||||
glabel func_80050970
|
||||
/* 02BD70 80050970 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 02BD74 80050974 AFBF003C */ sw $ra, 0x3c($sp)
|
||||
/* 02BD78 80050978 AFBE0038 */ sw $fp, 0x38($sp)
|
||||
@ -4016,7 +4016,7 @@ func_80050970:
|
||||
/* 02BF88 80050B88 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
/* 02BF8C 80050B8C 00000000 */ nop
|
||||
func_80050B90:
|
||||
glabel func_80050B90
|
||||
/* 02BF90 80050B90 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 02BF94 80050B94 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 02BF98 80050B98 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -4059,7 +4059,7 @@ func_80050B90:
|
||||
/* 02C028 80050C28 03E00008 */ jr $ra
|
||||
/* 02C02C 80050C2C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80050C30:
|
||||
glabel func_80050C30
|
||||
/* 02C030 80050C30 3C02800A */ lui $v0, 0x800a
|
||||
/* 02C034 80050C34 8C42A628 */ lw $v0, -0x59d8($v0)
|
||||
/* 02C038 80050C38 90430020 */ lbu $v1, 0x20($v0)
|
||||
@ -4071,13 +4071,13 @@ func_80050C30:
|
||||
/* 02C04C 80050C4C 03E00008 */ jr $ra
|
||||
/* 02C050 80050C50 00000000 */ nop
|
||||
|
||||
func_80050C54:
|
||||
glabel func_80050C54
|
||||
/* 02C054 80050C54 3C02800A */ lui $v0, 0x800a
|
||||
/* 02C058 80050C58 8C42A628 */ lw $v0, -0x59d8($v0)
|
||||
/* 02C05C 80050C5C 03E00008 */ jr $ra
|
||||
/* 02C060 80050C60 A0450021 */ sb $a1, 0x21($v0)
|
||||
|
||||
func_80050C64:
|
||||
glabel func_80050C64
|
||||
/* 02C064 80050C64 3C03800A */ lui $v1, 0x800a
|
||||
/* 02C068 80050C68 8C63A628 */ lw $v1, -0x59d8($v1)
|
||||
/* 02C06C 80050C6C 00041100 */ sll $v0, $a0, 4
|
||||
@ -4096,7 +4096,7 @@ func_80050C64:
|
||||
/* 02C098 80050C98 03E00008 */ jr $ra
|
||||
/* 02C09C 80050C9C A0620025 */ sb $v0, 0x25($v1)
|
||||
|
||||
func_80050CA0:
|
||||
glabel func_80050CA0
|
||||
/* 02C0A0 80050CA0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 02C0A4 80050CA4 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 02C0A8 80050CA8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
@ -4146,7 +4146,7 @@ func_80050CA0:
|
||||
/* 02C148 80050D48 03E00008 */ jr $ra
|
||||
/* 02C14C 80050D4C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80050D50:
|
||||
glabel func_80050D50
|
||||
/* 02C150 80050D50 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 02C154 80050D54 240300FF */ addiu $v1, $zero, 0xff
|
||||
/* 02C158 80050D58 90C2002A */ lbu $v0, 0x2a($a2)
|
||||
@ -4202,7 +4202,7 @@ func_80050D50:
|
||||
/* 02C210 80050E10 03E00008 */ jr $ra
|
||||
/* 02C214 80050E14 A0C0002B */ sb $zero, 0x2b($a2)
|
||||
|
||||
func_80050E18:
|
||||
glabel func_80050E18
|
||||
/* 02C218 80050E18 00041100 */ sll $v0, $a0, 4
|
||||
/* 02C21C 80050E1C 00441023 */ subu $v0, $v0, $a0
|
||||
/* 02C220 80050E20 000210C0 */ sll $v0, $v0, 3
|
||||
@ -4234,7 +4234,7 @@ func_80050E18:
|
||||
/* 02C27C 80050E7C 03E00008 */ jr $ra
|
||||
/* 02C280 80050E80 00000000 */ nop
|
||||
|
||||
func_80050E84:
|
||||
glabel func_80050E84
|
||||
/* 02C284 80050E84 00041100 */ sll $v0, $a0, 4
|
||||
/* 02C288 80050E88 00441023 */ subu $v0, $v0, $a0
|
||||
/* 02C28C 80050E8C 000210C0 */ sll $v0, $v0, 3
|
||||
@ -4267,7 +4267,7 @@ func_80050E84:
|
||||
/* 02C2E8 80050EE8 03E00008 */ jr $ra
|
||||
/* 02C2EC 80050EEC 00000000 */ nop
|
||||
|
||||
func_80050EF0:
|
||||
glabel func_80050EF0
|
||||
/* 02C2F0 80050EF0 00041100 */ sll $v0, $a0, 4
|
||||
/* 02C2F4 80050EF4 00441023 */ subu $v0, $v0, $a0
|
||||
/* 02C2F8 80050EF8 000210C0 */ sll $v0, $v0, 3
|
||||
@ -4301,7 +4301,7 @@ func_80050EF0:
|
||||
/* 02C35C 80050F5C 03E00008 */ jr $ra
|
||||
/* 02C360 80050F60 00000000 */ nop
|
||||
|
||||
func_80050F64:
|
||||
glabel func_80050F64
|
||||
/* 02C364 80050F64 00041100 */ sll $v0, $a0, 4
|
||||
/* 02C368 80050F68 00441023 */ subu $v0, $v0, $a0
|
||||
/* 02C36C 80050F6C 000210C0 */ sll $v0, $v0, 3
|
||||
@ -4334,7 +4334,7 @@ func_80050F64:
|
||||
/* 02C3C8 80050FC8 03E00008 */ jr $ra
|
||||
/* 02C3CC 80050FCC 00000000 */ nop
|
||||
|
||||
func_80050FD0:
|
||||
glabel func_80050FD0
|
||||
/* 02C3D0 80050FD0 00041100 */ sll $v0, $a0, 4
|
||||
/* 02C3D4 80050FD4 00441023 */ subu $v0, $v0, $a0
|
||||
/* 02C3D8 80050FD8 000210C0 */ sll $v0, $v0, 3
|
||||
@ -4375,7 +4375,7 @@ func_80050FD0:
|
||||
/* 02C448 80051048 03E00008 */ jr $ra
|
||||
/* 02C44C 8005104C 00000000 */ nop
|
||||
|
||||
func_80051050:
|
||||
glabel func_80051050
|
||||
/* 02C450 80051050 00041100 */ sll $v0, $a0, 4
|
||||
/* 02C454 80051054 00441023 */ subu $v0, $v0, $a0
|
||||
/* 02C458 80051058 000210C0 */ sll $v0, $v0, 3
|
||||
@ -4399,7 +4399,7 @@ func_80051050:
|
||||
/* 02C49C 8005109C 03E00008 */ jr $ra
|
||||
/* 02C4A0 800510A0 0080102D */ daddu $v0, $a0, $zero
|
||||
|
||||
func_800510A4:
|
||||
glabel func_800510A4
|
||||
/* 02C4A4 800510A4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 02C4A8 800510A8 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 02C4AC 800510AC 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -4473,7 +4473,7 @@ func_800510A4:
|
||||
/* 02C5B4 800511B4 03E00008 */ jr $ra
|
||||
/* 02C5B8 800511B8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_800511BC:
|
||||
glabel func_800511BC
|
||||
/* 02C5BC 800511BC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 02C5C0 800511C0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 02C5C4 800511C4 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -4582,7 +4582,7 @@ func_800511BC:
|
||||
/* 02C72C 8005132C 03E00008 */ jr $ra
|
||||
/* 02C730 80051330 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80051334:
|
||||
glabel func_80051334
|
||||
/* 02C734 80051334 8CA30000 */ lw $v1, ($a1)
|
||||
/* 02C738 80051338 9067000D */ lbu $a3, 0xd($v1)
|
||||
/* 02C73C 8005133C 10E0003B */ beqz $a3, .L8005142C
|
||||
@ -4658,7 +4658,7 @@ func_80051334:
|
||||
/* 02C82C 8005142C 03E00008 */ jr $ra
|
||||
/* 02C830 80051430 00000000 */ nop
|
||||
|
||||
func_80051434:
|
||||
glabel func_80051434
|
||||
/* 02C834 80051434 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
/* 02C838 80051438 AFB5005C */ sw $s5, 0x5c($sp)
|
||||
/* 02C83C 8005143C 00A0A82D */ daddu $s5, $a1, $zero
|
||||
@ -5621,7 +5621,7 @@ func_80051434:
|
||||
/* 02D5C8 800521C8 03E00008 */ jr $ra
|
||||
/* 02D5CC 800521CC 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
func_800521D0:
|
||||
glabel func_800521D0
|
||||
/* 02D5D0 800521D0 8C830008 */ lw $v1, 8($a0)
|
||||
/* 02D5D4 800521D4 90620000 */ lbu $v0, ($v1)
|
||||
/* 02D5D8 800521D8 24630001 */ addiu $v1, $v1, 1
|
||||
@ -5629,7 +5629,7 @@ func_800521D0:
|
||||
/* 02D5E0 800521E0 03E00008 */ jr $ra
|
||||
/* 02D5E4 800521E4 304200FF */ andi $v0, $v0, 0xff
|
||||
|
||||
func_800521E8:
|
||||
glabel func_800521E8
|
||||
/* 02D5E8 800521E8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 02D5EC 800521EC AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 02D5F0 800521F0 00A0982D */ daddu $s3, $a1, $zero
|
||||
@ -5682,7 +5682,7 @@ func_800521E8:
|
||||
/* 02D6A0 800522A0 03E00008 */ jr $ra
|
||||
/* 02D6A4 800522A4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_800522A8:
|
||||
glabel func_800522A8
|
||||
/* 02D6A8 800522A8 24A901D4 */ addiu $t1, $a1, 0x1d4
|
||||
/* 02D6AC 800522AC 8CA70030 */ lw $a3, 0x30($a1)
|
||||
/* 02D6B0 800522B0 8CA20034 */ lw $v0, 0x34($a1)
|
||||
@ -5720,7 +5720,7 @@ func_800522A8:
|
||||
/* 02D724 80052324 03E00008 */ jr $ra
|
||||
/* 02D728 80052328 00000000 */ nop
|
||||
|
||||
func_8005232C:
|
||||
glabel func_8005232C
|
||||
/* 02D72C 8005232C 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 02D730 80052330 AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 02D734 80052334 0080B02D */ daddu $s6, $a0, $zero
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text800525A0, "ax"
|
||||
@ -43,7 +43,7 @@
|
||||
/* 02DA0C 8005260C 03E00008 */ jr $ra
|
||||
/* 02DA10 80052610 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80052614:
|
||||
glabel func_80052614
|
||||
/* 02DA14 80052614 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 02DA18 80052618 24060080 */ addiu $a2, $zero, 0x80
|
||||
/* 02DA1C 8005261C 24031320 */ addiu $v1, $zero, 0x1320
|
||||
@ -65,7 +65,7 @@ func_80052614:
|
||||
/* 02DA58 80052658 03E00008 */ jr $ra
|
||||
/* 02DA5C 8005265C 00000000 */ nop
|
||||
|
||||
func_80052660:
|
||||
glabel func_80052660
|
||||
/* 02DA60 80052660 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 02DA64 80052664 AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 02DA68 80052668 0080B02D */ daddu $s6, $a0, $zero
|
||||
@ -419,7 +419,7 @@ func_80052660:
|
||||
/* 02DF3C 80052B3C 03E00008 */ jr $ra
|
||||
/* 02DF40 80052B40 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_80052B44:
|
||||
glabel func_80052B44
|
||||
/* 02DF44 80052B44 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 02DF48 80052B48 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 02DF4C 80052B4C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -452,7 +452,7 @@ func_80052B44:
|
||||
/* 02DFB8 80052BB8 03E00008 */ jr $ra
|
||||
/* 02DFBC 80052BBC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80052BC0:
|
||||
glabel func_80052BC0
|
||||
/* 02DFC0 80052BC0 3C02B65C */ lui $v0, 0xb65c
|
||||
/* 02DFC4 80052BC4 34426D59 */ ori $v0, $v0, 0x6d59
|
||||
/* 02DFC8 80052BC8 00820018 */ mult $a0, $v0
|
||||
@ -468,7 +468,7 @@ func_80052BC0:
|
||||
/* 02DFF0 80052BF0 03E00008 */ jr $ra
|
||||
/* 02DFF4 80052BF4 000210C0 */ sll $v0, $v0, 3
|
||||
|
||||
func_80052BF8:
|
||||
glabel func_80052BF8
|
||||
/* 02DFF8 80052BF8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 02DFFC 80052BFC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 02E000 80052C00 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -538,7 +538,7 @@ func_80052BF8:
|
||||
/* 02E0F4 80052CF4 03E00008 */ jr $ra
|
||||
/* 02E0F8 80052CF8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80052CFC:
|
||||
glabel func_80052CFC
|
||||
/* 02E0FC 80052CFC 240A00FC */ addiu $t2, $zero, 0xfc
|
||||
/* 02E100 80052D00 240900FB */ addiu $t1, $zero, 0xfb
|
||||
/* 02E104 80052D04 240800FD */ addiu $t0, $zero, 0xfd
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80052E30, "ax"
|
||||
|
||||
func_80052E30:
|
||||
glabel func_80052E30
|
||||
/* 02E230 80052E30 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 02E234 80052E34 000410C0 */ sll $v0, $a0, 3
|
||||
/* 02E238 80052E38 00441021 */ addu $v0, $v0, $a0
|
||||
@ -24,7 +24,7 @@ func_80052E30:
|
||||
/* 02E254 80052E54 03E00008 */ jr $ra
|
||||
/* 02E258 80052E58 A0600045 */ sb $zero, 0x45($v1)
|
||||
|
||||
func_80052E5C:
|
||||
glabel func_80052E5C
|
||||
/* 02E25C 80052E5C 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 02E260 80052E60 AFB60040 */ sw $s6, 0x40($sp)
|
||||
/* 02E264 80052E64 0080B02D */ daddu $s6, $a0, $zero
|
||||
@ -328,7 +328,7 @@ func_80052E5C:
|
||||
/* 02E6EC 800532EC 03E00008 */ jr $ra
|
||||
/* 02E6F0 800532F0 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_800532F4:
|
||||
glabel func_800532F4
|
||||
/* 02E6F4 800532F4 3C013F00 */ lui $at, 0x3f00
|
||||
/* 02E6F8 800532F8 44810000 */ mtc1 $at, $f0
|
||||
/* 02E6FC 800532FC 3C028008 */ lui $v0, 0x8008
|
||||
@ -361,7 +361,7 @@ func_800532F4:
|
||||
/* 02E768 80053368 03E00008 */ jr $ra
|
||||
/* 02E76C 8005336C E4800020 */ swc1 $f0, 0x20($a0)
|
||||
|
||||
func_80053370:
|
||||
glabel func_80053370
|
||||
/* 02E770 80053370 24022010 */ addiu $v0, $zero, 0x2010
|
||||
/* 02E774 80053374 A4820000 */ sh $v0, ($a0)
|
||||
/* 02E778 80053378 240212C0 */ addiu $v0, $zero, 0x12c0
|
||||
@ -377,7 +377,7 @@ func_80053370:
|
||||
/* 02E7A0 800533A0 03E00008 */ jr $ra
|
||||
/* 02E7A4 800533A4 A080000A */ sb $zero, 0xa($a0)
|
||||
|
||||
func_800533A8:
|
||||
glabel func_800533A8
|
||||
/* 02E7A8 800533A8 24022010 */ addiu $v0, $zero, 0x2010
|
||||
/* 02E7AC 800533AC A4820000 */ sh $v0, ($a0)
|
||||
/* 02E7B0 800533B0 2402007F */ addiu $v0, $zero, 0x7f
|
||||
@ -389,7 +389,7 @@ func_800533A8:
|
||||
/* 02E7C8 800533C8 03E00008 */ jr $ra
|
||||
/* 02E7CC 800533CC A0800006 */ sb $zero, 6($a0)
|
||||
|
||||
func_800533D0:
|
||||
glabel func_800533D0
|
||||
/* 02E7D0 800533D0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 02E7D4 800533D4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 02E7D8 800533D8 3C12800A */ lui $s2, 0x800a
|
||||
@ -528,7 +528,7 @@ func_800533D0:
|
||||
/* 02E9B8 800535B8 03E00008 */ jr $ra
|
||||
/* 02E9BC 800535BC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800535C0:
|
||||
glabel func_800535C0
|
||||
/* 02E9C0 800535C0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 02E9C4 800535C4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 02E9C8 800535C8 3C11800A */ lui $s1, 0x800a
|
||||
@ -569,7 +569,7 @@ func_800535C0:
|
||||
/* 02EA4C 8005364C 03E00008 */ jr $ra
|
||||
/* 02EA50 80053650 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80053654:
|
||||
glabel func_80053654
|
||||
/* 02EA54 80053654 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 02EA58 80053658 AFB3002C */ sw $s3, 0x2c($sp)
|
||||
/* 02EA5C 8005365C 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -733,7 +733,7 @@ func_80053654:
|
||||
/* 02EC80 80053880 03E00008 */ jr $ra
|
||||
/* 02EC84 80053884 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80053888:
|
||||
glabel func_80053888
|
||||
/* 02EC88 80053888 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 02EC8C 8005388C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 02EC90 80053890 90820045 */ lbu $v0, 0x45($a0)
|
||||
@ -751,7 +751,7 @@ func_80053888:
|
||||
/* 02ECBC 800538BC 03E00008 */ jr $ra
|
||||
/* 02ECC0 800538C0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800538C4:
|
||||
glabel func_800538C4
|
||||
/* 02ECC4 800538C4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 02ECC8 800538C8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 02ECCC 800538CC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -766,7 +766,7 @@ func_800538C4:
|
||||
/* 02ECF0 800538F0 03E00008 */ jr $ra
|
||||
/* 02ECF4 800538F4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800538F8:
|
||||
glabel func_800538F8
|
||||
/* 02ECF8 800538F8 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 02ECFC 800538FC 04A10010 */ bgez $a1, .L80053940
|
||||
/* 02ED00 80053900 30A3007F */ andi $v1, $a1, 0x7f
|
||||
@ -801,7 +801,7 @@ func_800538F8:
|
||||
/* 02ED6C 8005396C 03E00008 */ jr $ra
|
||||
/* 02ED70 80053970 00000000 */ nop
|
||||
|
||||
func_80053974:
|
||||
glabel func_80053974
|
||||
/* 02ED74 80053974 0080402D */ daddu $t0, $a0, $zero
|
||||
/* 02ED78 80053978 00063400 */ sll $a2, $a2, 0x10
|
||||
/* 02ED7C 8005397C AD060000 */ sw $a2, ($t0)
|
||||
@ -849,13 +849,13 @@ func_80053974:
|
||||
/* 02EE10 80053A10 03E00008 */ jr $ra
|
||||
/* 02EE14 80053A14 AD00000C */ sw $zero, 0xc($t0)
|
||||
|
||||
func_80053A18:
|
||||
glabel func_80053A18
|
||||
/* 02EE18 80053A18 A480000A */ sh $zero, 0xa($a0)
|
||||
/* 02EE1C 80053A1C AC800004 */ sw $zero, 4($a0)
|
||||
/* 02EE20 80053A20 03E00008 */ jr $ra
|
||||
/* 02EE24 80053A24 AC80000C */ sw $zero, 0xc($a0)
|
||||
|
||||
func_80053A28:
|
||||
glabel func_80053A28
|
||||
/* 02EE28 80053A28 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 02EE2C 80053A2C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 02EE30 80053A30 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -888,7 +888,7 @@ func_80053A28:
|
||||
/* 02EE90 80053A90 03E00008 */ jr $ra
|
||||
/* 02EE94 80053A94 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80053A98:
|
||||
glabel func_80053A98
|
||||
/* 02EE98 80053A98 30A5FFFF */ andi $a1, $a1, 0xffff
|
||||
/* 02EE9C 80053A9C 00A60018 */ mult $a1, $a2
|
||||
/* 02EEA0 80053AA0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -902,7 +902,7 @@ func_80053A98:
|
||||
/* 02EEC0 80053AC0 03E00008 */ jr $ra
|
||||
/* 02EEC4 80053AC4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80053AC8:
|
||||
glabel func_80053AC8
|
||||
/* 02EEC8 80053AC8 8482000A */ lh $v0, 0xa($a0)
|
||||
/* 02EECC 80053ACC 14400005 */ bnez $v0, .L80053AE4
|
||||
/* 02EED0 80053AD0 24020001 */ addiu $v0, $zero, 1
|
||||
@ -914,7 +914,7 @@ func_80053AC8:
|
||||
/* 02EEE4 80053AE4 03E00008 */ jr $ra
|
||||
/* 02EEE8 80053AE8 00000000 */ nop
|
||||
|
||||
func_80053AEC:
|
||||
glabel func_80053AEC
|
||||
/* 02EEEC 80053AEC 00051400 */ sll $v0, $a1, 0x10
|
||||
/* 02EEF0 80053AF0 AC820010 */ sw $v0, 0x10($a0)
|
||||
/* 02EEF4 80053AF4 A4850018 */ sh $a1, 0x18($a0)
|
||||
@ -922,7 +922,7 @@ func_80053AEC:
|
||||
/* 02EEFC 80053AFC 03E00008 */ jr $ra
|
||||
/* 02EF00 80053B00 AC800014 */ sw $zero, 0x14($a0)
|
||||
|
||||
func_80053B04:
|
||||
glabel func_80053B04
|
||||
/* 02EF04 80053B04 3C020001 */ lui $v0, 1
|
||||
/* 02EF08 80053B08 344285A6 */ ori $v0, $v0, 0x85a6
|
||||
/* 02EF0C 80053B0C 24A3FF06 */ addiu $v1, $a1, -0xfa
|
||||
@ -969,7 +969,7 @@ func_80053B04:
|
||||
/* 02EFA0 80053BA0 03E00008 */ jr $ra
|
||||
/* 02EFA4 80053BA4 ACE00014 */ sw $zero, 0x14($a3)
|
||||
|
||||
func_80053BA8:
|
||||
glabel func_80053BA8
|
||||
/* 02EFA8 80053BA8 9482001A */ lhu $v0, 0x1a($a0)
|
||||
/* 02EFAC 80053BAC 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 02EFB0 80053BB0 A482001A */ sh $v0, 0x1a($a0)
|
||||
@ -989,7 +989,7 @@ func_80053BA8:
|
||||
/* 02EFE0 80053BE0 03E00008 */ jr $ra
|
||||
/* 02EFE4 80053BE4 AC820010 */ sw $v0, 0x10($a0)
|
||||
|
||||
func_80053BE8:
|
||||
glabel func_80053BE8
|
||||
/* 02EFE8 80053BE8 30A20070 */ andi $v0, $a1, 0x70
|
||||
/* 02EFEC 80053BEC 00021082 */ srl $v0, $v0, 2
|
||||
/* 02EFF0 80053BF0 00822021 */ addu $a0, $a0, $v0
|
||||
@ -1022,7 +1022,7 @@ func_80053BE8:
|
||||
/* 02F050 80053C50 03E00008 */ jr $ra
|
||||
/* 02F054 80053C54 00C0102D */ daddu $v0, $a2, $zero
|
||||
|
||||
func_80053C58:
|
||||
glabel func_80053C58
|
||||
/* 02F058 80053C58 3C03800A */ lui $v1, 0x800a
|
||||
/* 02F05C 80053C5C 8C63A5C0 */ lw $v1, -0x5a40($v1)
|
||||
/* 02F060 80053C60 24020001 */ addiu $v0, $zero, 1
|
||||
@ -1075,7 +1075,7 @@ func_80053C58:
|
||||
/* 02F0F0 80053CF0 03E00008 */ jr $ra
|
||||
/* 02F0F4 80053CF4 ACA00000 */ sw $zero, ($a1)
|
||||
|
||||
func_80053CF8:
|
||||
glabel func_80053CF8
|
||||
/* 02F0F8 80053CF8 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 02F0FC 80053CFC AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 02F100 80053D00 3C12800A */ lui $s2, 0x800a
|
||||
@ -1170,7 +1170,7 @@ func_80053CF8:
|
||||
/* 02F250 80053E50 03E00008 */ jr $ra
|
||||
/* 02F254 80053E54 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_80053E58:
|
||||
glabel func_80053E58
|
||||
/* 02F258 80053E58 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 02F25C 80053E5C AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 02F260 80053E60 00A0802D */ daddu $s0, $a1, $zero
|
||||
@ -1244,7 +1244,7 @@ func_80053E58:
|
||||
/* 02F35C 80053F5C 03E00008 */ jr $ra
|
||||
/* 02F360 80053F60 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_80053F64:
|
||||
glabel func_80053F64
|
||||
/* 02F364 80053F64 14800004 */ bnez $a0, .L80053F78
|
||||
/* 02F368 80053F68 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 02F36C 80053F6C 3C02800A */ lui $v0, 0x800a
|
||||
@ -1254,7 +1254,7 @@ func_80053F64:
|
||||
/* 02F378 80053F78 03E00008 */ jr $ra
|
||||
/* 02F37C 80053F7C 00000000 */ nop
|
||||
|
||||
func_80053F80:
|
||||
glabel func_80053F80
|
||||
/* 02F380 80053F80 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 02F384 80053F84 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 02F388 80053F88 3C13800A */ lui $s3, 0x800a
|
||||
@ -1439,7 +1439,7 @@ func_80053F80:
|
||||
/* 02F640 80054240 03E00008 */ jr $ra
|
||||
/* 02F644 80054244 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80054248:
|
||||
glabel func_80054248
|
||||
/* 02F648 80054248 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 02F64C 8005424C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 02F650 80054250 10820010 */ beq $a0, $v0, .L80054294
|
||||
@ -1480,7 +1480,7 @@ func_80054248:
|
||||
/* 02F6B4 800542B4 03E00008 */ jr $ra
|
||||
/* 02F6B8 800542B8 00000000 */ nop
|
||||
|
||||
al_LoadINIT:
|
||||
glabel al_LoadINIT
|
||||
/* 02F6BC 800542BC 27BDFF70 */ addiu $sp, $sp, -0x90
|
||||
/* 02F6C0 800542C0 AFB3007C */ sw $s3, 0x7c($sp)
|
||||
/* 02F6C4 800542C4 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -1597,7 +1597,7 @@ al_LoadINIT:
|
||||
/* 02F874 80054474 03E00008 */ jr $ra
|
||||
/* 02F878 80054478 27BD0090 */ addiu $sp, $sp, 0x90
|
||||
|
||||
al_CopyFileTableEntry:
|
||||
glabel al_CopyFileTableEntry
|
||||
/* 02F87C 8005447C 27BDFFF8 */ addiu $sp, $sp, -8
|
||||
/* 02F880 80054480 3C07800A */ lui $a3, 0x800a
|
||||
/* 02F884 80054484 8CE7A5C0 */ lw $a3, -0x5a40($a3)
|
||||
@ -1633,7 +1633,7 @@ al_CopyFileTableEntry:
|
||||
/* 02F8F0 800544F0 03E00008 */ jr $ra
|
||||
/* 02F8F4 800544F4 27BD0008 */ addiu $sp, $sp, 8
|
||||
|
||||
al_LoadPER:
|
||||
glabel al_LoadPER
|
||||
/* 02F8F8 800544F8 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 02F8FC 800544FC AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 02F900 80054500 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1683,7 +1683,7 @@ al_LoadPER:
|
||||
/* 02F9AC 800545AC 03E00008 */ jr $ra
|
||||
/* 02F9B0 800545B0 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
al_LoadPRG:
|
||||
glabel al_LoadPRG
|
||||
/* 02F9B4 800545B4 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 02F9B8 800545B8 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 02F9BC 800545BC 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1794,7 +1794,7 @@ al_LoadPRG:
|
||||
/* 02FB3C 8005473C 03E00008 */ jr $ra
|
||||
/* 02FB40 80054740 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80054744:
|
||||
glabel func_80054744
|
||||
/* 02FB44 80054744 0000182D */ daddu $v1, $zero, $zero
|
||||
/* 02FB48 80054748 3C06800A */ lui $a2, 0x800a
|
||||
/* 02FB4C 8005474C 8CC6A5C0 */ lw $a2, -0x5a40($a2)
|
||||
@ -1836,7 +1836,7 @@ func_80054744:
|
||||
/* 02FBC0 800547C0 03E00008 */ jr $ra
|
||||
/* 02FBC4 800547C4 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
al_LoadBank:
|
||||
glabel al_LoadBank
|
||||
/* 02FBC8 800547C8 27BDFF80 */ addiu $sp, $sp, -0x80
|
||||
/* 02FBCC 800547CC AFB5006C */ sw $s5, 0x6c($sp)
|
||||
/* 02FBD0 800547D0 0080A82D */ daddu $s5, $a0, $zero
|
||||
@ -1999,7 +1999,7 @@ al_LoadBank:
|
||||
/* 02FDF0 800549F0 03E00008 */ jr $ra
|
||||
/* 02FDF4 800549F4 27BD0080 */ addiu $sp, $sp, 0x80
|
||||
|
||||
func_800549F8:
|
||||
glabel func_800549F8
|
||||
/* 02FDF8 800549F8 00A0582D */ daddu $t3, $a1, $zero
|
||||
/* 02FDFC 800549FC 3C03800A */ lui $v1, 0x800a
|
||||
/* 02FE00 80054A00 8C63A5C0 */ lw $v1, -0x5a40($v1)
|
||||
@ -2174,7 +2174,7 @@ func_800549F8:
|
||||
/* 030044 80054C44 03E00008 */ jr $ra
|
||||
/* 030048 80054C48 27BD0080 */ addiu $sp, $sp, 0x80
|
||||
|
||||
func_80054C4C:
|
||||
glabel func_80054C4C
|
||||
/* 03004C 80054C4C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 030050 80054C50 00051080 */ sll $v0, $a1, 2
|
||||
/* 030054 80054C54 3C03800A */ lui $v1, 0x800a
|
||||
@ -2216,7 +2216,7 @@ func_80054C4C:
|
||||
/* 0300D8 80054CD8 03E00008 */ jr $ra
|
||||
/* 0300DC 80054CDC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80054CE0:
|
||||
glabel func_80054CE0
|
||||
/* 0300E0 80054CE0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0300E4 80054CE4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0300E8 80054CE8 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -2257,7 +2257,7 @@ func_80054CE0:
|
||||
/* 03016C 80054D6C 03E00008 */ jr $ra
|
||||
/* 030170 80054D70 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80054D74:
|
||||
glabel func_80054D74
|
||||
/* 030174 80054D74 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 030178 80054D78 30840010 */ andi $a0, $a0, 0x10
|
||||
/* 03017C 80054D7C 14800003 */ bnez $a0, .L80054D8C
|
||||
@ -2275,7 +2275,7 @@ func_80054D74:
|
||||
/* 0301A0 80054DA0 03E00008 */ jr $ra
|
||||
/* 0301A4 80054DA4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80054DA8:
|
||||
glabel func_80054DA8
|
||||
/* 0301A8 80054DA8 30840001 */ andi $a0, $a0, 1
|
||||
/* 0301AC 80054DAC 24050001 */ addiu $a1, $zero, 1
|
||||
/* 0301B0 80054DB0 14850008 */ bne $a0, $a1, .L80054DD4
|
||||
@ -2302,7 +2302,7 @@ func_80054DA8:
|
||||
/* 0301F8 80054DF8 03E00008 */ jr $ra
|
||||
/* 0301FC 80054DFC 00000000 */ nop
|
||||
|
||||
al_DmaCopy:
|
||||
glabel al_DmaCopy
|
||||
/* 030200 80054E00 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 030204 80054E04 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 030208 80054E08 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -2343,7 +2343,7 @@ al_DmaCopy:
|
||||
/* 030288 80054E88 03E00008 */ jr $ra
|
||||
/* 03028C 80054E8C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80054E90:
|
||||
glabel func_80054E90
|
||||
/* 030290 80054E90 10A0000A */ beqz $a1, .L80054EBC
|
||||
/* 030294 80054E94 28A20400 */ slti $v0, $a1, 0x400
|
||||
/* 030298 80054E98 1040000A */ beqz $v0, .L80054EC4
|
||||
@ -2417,7 +2417,7 @@ func_80054E90:
|
||||
/* 03036C 80054F6C 03E00008 */ jr $ra
|
||||
/* 030370 80054F70 00000000 */ nop
|
||||
|
||||
al_CopyWords:
|
||||
glabel al_CopyWords
|
||||
/* 030374 80054F74 04C10002 */ bgez $a2, .L80054F80
|
||||
/* 030378 80054F78 00C0102D */ daddu $v0, $a2, $zero
|
||||
/* 03037C 80054F7C 24C20003 */ addiu $v0, $a2, 3
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80054FC0, "ax"
|
||||
|
||||
al_LoadBKHeaders:
|
||||
glabel al_LoadBKHeaders
|
||||
/* 0303C0 80054FC0 27BDFE98 */ addiu $sp, $sp, -0x168
|
||||
/* 0303C4 80054FC4 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 0303C8 80054FC8 27A50018 */ addiu $a1, $sp, 0x18
|
||||
@ -51,7 +51,7 @@ al_LoadBKHeaders:
|
||||
/* 030448 80055048 27BD0168 */ addiu $sp, $sp, 0x168
|
||||
|
||||
/* 03044C 8005504C 00000000 */ nop
|
||||
func_80055050:
|
||||
glabel func_80055050
|
||||
/* 030450 80055050 24020001 */ addiu $v0, $zero, 1
|
||||
/* 030454 80055054 3C018008 */ lui $at, 0x8008
|
||||
/* 030458 80055058 A4228DB4 */ sh $v0, -0x724c($at)
|
||||
@ -107,7 +107,7 @@ func_80055050:
|
||||
/* 030508 80055108 03E00008 */ jr $ra
|
||||
/* 03050C 8005510C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80055110:
|
||||
glabel func_80055110
|
||||
/* 030510 80055110 24030007 */ addiu $v1, $zero, 7
|
||||
/* 030514 80055114 2482001C */ addiu $v0, $a0, 0x1c
|
||||
.L80055118:
|
||||
@ -198,7 +198,7 @@ func_80055110:
|
||||
/* 030638 80055238 03E00008 */ jr $ra
|
||||
/* 03063C 8005523C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80055240:
|
||||
glabel func_80055240
|
||||
/* 030640 80055240 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 030644 80055244 0080582D */ daddu $t3, $a0, $zero
|
||||
/* 030648 80055248 00C0502D */ daddu $t2, $a2, $zero
|
||||
@ -268,7 +268,7 @@ func_80055240:
|
||||
/* 030728 80055328 03E00008 */ jr $ra
|
||||
/* 03072C 8005532C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80055330:
|
||||
glabel func_80055330
|
||||
/* 030730 80055330 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 030734 80055334 0080582D */ daddu $t3, $a0, $zero
|
||||
/* 030738 80055338 00C0502D */ daddu $t2, $a2, $zero
|
||||
@ -311,7 +311,7 @@ func_80055330:
|
||||
/* 0307B8 800553B8 03E00008 */ jr $ra
|
||||
/* 0307BC 800553BC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800553C0:
|
||||
glabel func_800553C0
|
||||
/* 0307C0 800553C0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0307C4 800553C4 34858000 */ ori $a1, $a0, 0x8000
|
||||
/* 0307C8 800553C8 0000302D */ daddu $a2, $zero, $zero
|
||||
@ -349,7 +349,7 @@ func_800553C0:
|
||||
/* 030840 80055440 03E00008 */ jr $ra
|
||||
/* 030844 80055444 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80055448:
|
||||
glabel func_80055448
|
||||
/* 030848 80055448 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 03084C 8005544C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 030850 80055450 0C014FE0 */ jal func_80053F80
|
||||
@ -358,7 +358,7 @@ func_80055448:
|
||||
/* 03085C 8005545C 03E00008 */ jr $ra
|
||||
/* 030860 80055460 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80055464:
|
||||
glabel func_80055464
|
||||
/* 030864 80055464 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 030868 80055468 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 03086C 8005546C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -377,7 +377,7 @@ func_80055464:
|
||||
/* 03089C 8005549C 03E00008 */ jr $ra
|
||||
/* 0308A0 800554A0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800554A4:
|
||||
glabel func_800554A4
|
||||
/* 0308A4 800554A4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0308A8 800554A8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0308AC 800554AC 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -397,7 +397,7 @@ func_800554A4:
|
||||
/* 0308E0 800554E0 03E00008 */ jr $ra
|
||||
/* 0308E4 800554E4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800554E8:
|
||||
glabel func_800554E8
|
||||
/* 0308E8 800554E8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0308EC 800554EC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0308F0 800554F0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -421,7 +421,7 @@ func_800554E8:
|
||||
/* 030934 80055534 03E00008 */ jr $ra
|
||||
/* 030938 80055538 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8005553C:
|
||||
glabel func_8005553C
|
||||
/* 03093C 8005553C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 030940 80055540 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 030944 80055544 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -445,7 +445,7 @@ func_8005553C:
|
||||
/* 030988 80055588 03E00008 */ jr $ra
|
||||
/* 03098C 8005558C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80055590:
|
||||
glabel func_80055590
|
||||
/* 030990 80055590 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 030994 80055594 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 030998 80055598 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -469,7 +469,7 @@ func_80055590:
|
||||
/* 0309DC 800555DC 03E00008 */ jr $ra
|
||||
/* 0309E0 800555E0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800555E4:
|
||||
glabel func_800555E4
|
||||
/* 0309E4 800555E4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0309E8 800555E8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0309EC 800555EC AFBF0014 */ sw $ra, 0x14($sp)
|
||||
@ -535,7 +535,7 @@ func_800555E4:
|
||||
/* 030AC8 800556C8 03E00008 */ jr $ra
|
||||
/* 030ACC 800556CC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_800556D0:
|
||||
glabel func_800556D0
|
||||
/* 030AD0 800556D0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 030AD4 800556D4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 030AD8 800556D8 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -556,7 +556,7 @@ func_800556D0:
|
||||
/* 030B10 80055710 03E00008 */ jr $ra
|
||||
/* 030B14 80055714 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80055718:
|
||||
glabel func_80055718
|
||||
/* 030B18 80055718 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 030B1C 8005571C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 030B20 80055720 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -644,7 +644,7 @@ func_80055718:
|
||||
/* 030C40 80055840 03E00008 */ jr $ra
|
||||
/* 030C44 80055844 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80055848:
|
||||
glabel func_80055848
|
||||
/* 030C48 80055848 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 030C4C 8005584C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 030C50 80055850 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -686,7 +686,7 @@ func_80055848:
|
||||
/* 030CCC 800558CC 03E00008 */ jr $ra
|
||||
/* 030CD0 800558D0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800558D4:
|
||||
glabel func_800558D4
|
||||
/* 030CD4 800558D4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 030CD8 800558D8 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 030CDC 800558DC 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -729,7 +729,7 @@ func_800558D4:
|
||||
/* 030D68 80055968 03E00008 */ jr $ra
|
||||
/* 030D6C 8005596C 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80055970:
|
||||
glabel func_80055970
|
||||
/* 030D70 80055970 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 030D74 80055974 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 030D78 80055978 3C108008 */ lui $s0, 0x8008
|
||||
@ -752,7 +752,7 @@ func_80055970:
|
||||
/* 030DBC 800559BC 03E00008 */ jr $ra
|
||||
/* 030DC0 800559C0 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_800559C4:
|
||||
glabel func_800559C4
|
||||
/* 030DC4 800559C4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 030DC8 800559C8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 030DCC 800559CC 0C013683 */ jal func_8004DA0C
|
||||
@ -769,7 +769,7 @@ func_800559C4:
|
||||
/* 030DF4 800559F4 03E00008 */ jr $ra
|
||||
/* 030DF8 800559F8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800559FC:
|
||||
glabel func_800559FC
|
||||
/* 030DFC 800559FC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 030E00 80055A00 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 030E04 80055A04 0C0136B8 */ jal func_8004DAE0
|
||||
@ -778,7 +778,7 @@ func_800559FC:
|
||||
/* 030E10 80055A10 03E00008 */ jr $ra
|
||||
/* 030E14 80055A14 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80055A18:
|
||||
glabel func_80055A18
|
||||
/* 030E18 80055A18 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 030E1C 80055A1C AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 030E20 80055A20 3C108008 */ lui $s0, 0x8008
|
||||
@ -822,7 +822,7 @@ func_80055A18:
|
||||
/* 030EB4 80055AB4 03E00008 */ jr $ra
|
||||
/* 030EB8 80055AB8 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80055ABC:
|
||||
glabel func_80055ABC
|
||||
/* 030EBC 80055ABC 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 030EC0 80055AC0 AFA40010 */ sw $a0, 0x10($sp)
|
||||
/* 030EC4 80055AC4 27A40010 */ addiu $a0, $sp, 0x10
|
||||
@ -837,7 +837,7 @@ func_80055ABC:
|
||||
/* 030EE8 80055AE8 03E00008 */ jr $ra
|
||||
/* 030EEC 80055AEC 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80055AF0:
|
||||
glabel func_80055AF0
|
||||
/* 030EF0 80055AF0 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 030EF4 80055AF4 AFA40010 */ sw $a0, 0x10($sp)
|
||||
/* 030EF8 80055AF8 27A40010 */ addiu $a0, $sp, 0x10
|
||||
@ -853,7 +853,7 @@ func_80055AF0:
|
||||
/* 030F20 80055B20 03E00008 */ jr $ra
|
||||
/* 030F24 80055B24 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80055B28:
|
||||
glabel func_80055B28
|
||||
/* 030F28 80055B28 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 030F2C 80055B2C AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 030F30 80055B30 3C108008 */ lui $s0, 0x8008
|
||||
@ -877,7 +877,7 @@ func_80055B28:
|
||||
/* 030F78 80055B78 03E00008 */ jr $ra
|
||||
/* 030F7C 80055B7C 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80055B80:
|
||||
glabel func_80055B80
|
||||
/* 030F80 80055B80 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 030F84 80055B84 AFA40010 */ sw $a0, 0x10($sp)
|
||||
/* 030F88 80055B88 27A40010 */ addiu $a0, $sp, 0x10
|
||||
@ -893,7 +893,7 @@ func_80055B80:
|
||||
/* 030FB0 80055BB0 03E00008 */ jr $ra
|
||||
/* 030FB4 80055BB4 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80055BB8:
|
||||
glabel func_80055BB8
|
||||
/* 030FB8 80055BB8 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 030FBC 80055BBC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 030FC0 80055BC0 AFA40010 */ sw $a0, 0x10($sp)
|
||||
@ -966,7 +966,7 @@ func_80055BB8:
|
||||
/* 0310BC 80055CBC 03E00008 */ jr $ra
|
||||
/* 0310C0 80055CC0 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80055CC4:
|
||||
glabel func_80055CC4
|
||||
/* 0310C4 80055CC4 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0310C8 80055CC8 AFA40010 */ sw $a0, 0x10($sp)
|
||||
/* 0310CC 80055CCC 27A40010 */ addiu $a0, $sp, 0x10
|
||||
@ -977,7 +977,7 @@ func_80055CC4:
|
||||
/* 0310E0 80055CE0 03E00008 */ jr $ra
|
||||
/* 0310E4 80055CE4 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80055CE8:
|
||||
glabel func_80055CE8
|
||||
/* 0310E8 80055CE8 3C07800A */ lui $a3, 0x800a
|
||||
/* 0310EC 80055CEC 8CE7A5C0 */ lw $a3, -0x5a40($a3)
|
||||
/* 0310F0 80055CF0 8CE3005C */ lw $v1, 0x5c($a3)
|
||||
@ -1048,7 +1048,7 @@ func_80055CE8:
|
||||
/* 0311D4 80055DD4 03E00008 */ jr $ra
|
||||
/* 0311D8 80055DD8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80055DDC:
|
||||
glabel func_80055DDC
|
||||
/* 0311DC 80055DDC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0311E0 80055DE0 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 0311E4 80055DE4 00A0882D */ daddu $s1, $a1, $zero
|
||||
@ -1080,7 +1080,7 @@ func_80055DDC:
|
||||
/* 031240 80055E40 03E00008 */ jr $ra
|
||||
/* 031244 80055E44 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80055E48:
|
||||
glabel func_80055E48
|
||||
/* 031248 80055E48 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 03124C 80055E4C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 031250 80055E50 00A0882D */ daddu $s1, $a1, $zero
|
||||
@ -1112,7 +1112,7 @@ func_80055E48:
|
||||
/* 0312AC 80055EAC 03E00008 */ jr $ra
|
||||
/* 0312B0 80055EB0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80055EB4:
|
||||
glabel func_80055EB4
|
||||
/* 0312B4 80055EB4 2C820008 */ sltiu $v0, $a0, 8
|
||||
/* 0312B8 80055EB8 10400025 */ beqz $v0, .L80055F50
|
||||
/* 0312BC 80055EBC 0000182D */ daddu $v1, $zero, $zero
|
||||
@ -1163,7 +1163,7 @@ func_80055EB4:
|
||||
/* 031350 80055F50 03E00008 */ jr $ra
|
||||
/* 031354 80055F54 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
func_80055F58:
|
||||
glabel func_80055F58
|
||||
/* 031358 80055F58 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 03135C 80055F5C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 031360 80055F60 00A0802D */ daddu $s0, $a1, $zero
|
||||
@ -1223,7 +1223,7 @@ func_80055F58:
|
||||
/* 031420 80056020 03E00008 */ jr $ra
|
||||
/* 031424 80056024 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80056028:
|
||||
glabel func_80056028
|
||||
/* 031428 80056028 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 03142C 8005602C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 031430 80056030 0C0141B2 */ jal func_800506C8
|
||||
@ -1232,7 +1232,7 @@ func_80056028:
|
||||
/* 03143C 8005603C 03E00008 */ jr $ra
|
||||
/* 031440 80056040 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80056044:
|
||||
glabel func_80056044
|
||||
/* 031444 80056044 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 031448 80056048 30A200FF */ andi $v0, $a1, 0xff
|
||||
/* 03144C 8005604C 3C055700 */ lui $a1, 0x5700
|
||||
@ -1243,7 +1243,7 @@ func_80056044:
|
||||
/* 031460 80056060 03E00008 */ jr $ra
|
||||
/* 031464 80056064 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80056068:
|
||||
glabel func_80056068
|
||||
/* 031468 80056068 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 03146C 8005606C 30A200FF */ andi $v0, $a1, 0xff
|
||||
/* 031470 80056070 3C057F00 */ lui $a1, 0x7f00
|
||||
@ -1254,7 +1254,7 @@ func_80056068:
|
||||
/* 031484 80056084 03E00008 */ jr $ra
|
||||
/* 031488 80056088 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8005608C:
|
||||
glabel func_8005608C
|
||||
/* 03148C 8005608C 3C02800A */ lui $v0, 0x800a
|
||||
/* 031490 80056090 8C42A5C0 */ lw $v0, -0x5a40($v0)
|
||||
/* 031494 80056094 8C430094 */ lw $v1, 0x94($v0)
|
||||
@ -1263,14 +1263,14 @@ func_8005608C:
|
||||
/* 0314A0 800560A0 03E00008 */ jr $ra
|
||||
/* 0314A4 800560A4 ACA20000 */ sw $v0, ($a1)
|
||||
|
||||
func_800560A8:
|
||||
glabel func_800560A8
|
||||
/* 0314A8 800560A8 3C03800A */ lui $v1, 0x800a
|
||||
/* 0314AC 800560AC 8C63A5C0 */ lw $v1, -0x5a40($v1)
|
||||
/* 0314B0 800560B0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0314B4 800560B4 03E00008 */ jr $ra
|
||||
/* 0314B8 800560B8 AC62009C */ sw $v0, 0x9c($v1)
|
||||
|
||||
func_800560BC:
|
||||
glabel func_800560BC
|
||||
/* 0314BC 800560BC 3C07800A */ lui $a3, 0x800a
|
||||
/* 0314C0 800560C0 8CE7A5C0 */ lw $a3, -0x5a40($a3)
|
||||
/* 0314C4 800560C4 8CE20098 */ lw $v0, 0x98($a3)
|
||||
@ -1293,7 +1293,7 @@ func_800560BC:
|
||||
/* 031504 80056104 03E00008 */ jr $ra
|
||||
/* 031508 80056108 00000000 */ nop
|
||||
|
||||
func_8005610C:
|
||||
glabel func_8005610C
|
||||
/* 03150C 8005610C 3C05800A */ lui $a1, 0x800a
|
||||
/* 031510 80056110 8CA5A5C0 */ lw $a1, -0x5a40($a1)
|
||||
/* 031514 80056114 2404000F */ addiu $a0, $zero, 0xf
|
||||
@ -1317,7 +1317,7 @@ func_8005610C:
|
||||
/* 031554 80056154 03E00008 */ jr $ra
|
||||
/* 031558 80056158 AC4400A4 */ sw $a0, 0xa4($v0)
|
||||
|
||||
func_8005615C:
|
||||
glabel func_8005615C
|
||||
/* 03155C 8005615C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 031560 80056160 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 031564 80056164 0C015B57 */ jal func_80056D5C
|
||||
@ -1328,7 +1328,7 @@ func_8005615C:
|
||||
/* 031578 80056178 03E00008 */ jr $ra
|
||||
/* 03157C 8005617C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80056180:
|
||||
glabel func_80056180
|
||||
/* 031580 80056180 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 031584 80056184 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 031588 80056188 0C015B57 */ jal func_80056D5C
|
||||
@ -1339,7 +1339,7 @@ func_80056180:
|
||||
/* 03159C 8005619C 03E00008 */ jr $ra
|
||||
/* 0315A0 800561A0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800561A4:
|
||||
glabel func_800561A4
|
||||
/* 0315A4 800561A4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0315A8 800561A8 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 0315AC 800561AC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -1358,7 +1358,7 @@ func_800561A4:
|
||||
/* 0315DC 800561DC 03E00008 */ jr $ra
|
||||
/* 0315E0 800561E0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800561E4:
|
||||
glabel func_800561E4
|
||||
/* 0315E4 800561E4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0315E8 800561E8 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 0315EC 800561EC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -1368,7 +1368,7 @@ func_800561E4:
|
||||
/* 0315FC 800561FC 03E00008 */ jr $ra
|
||||
/* 031600 80056200 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80056204:
|
||||
glabel func_80056204
|
||||
/* 031604 80056204 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 031608 80056208 3C04800A */ lui $a0, 0x800a
|
||||
/* 03160C 8005620C 8C84A640 */ lw $a0, -0x59c0($a0)
|
||||
@ -1379,7 +1379,7 @@ func_80056204:
|
||||
/* 031620 80056220 03E00008 */ jr $ra
|
||||
/* 031624 80056224 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80056228:
|
||||
glabel func_80056228
|
||||
/* 031628 80056228 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 03162C 8005622C 3C04800A */ lui $a0, 0x800a
|
||||
/* 031630 80056230 8C84A640 */ lw $a0, -0x59c0($a0)
|
||||
@ -1391,7 +1391,7 @@ func_80056228:
|
||||
/* 031648 80056248 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 03164C 8005624C 00000000 */ nop
|
||||
func_80056250:
|
||||
glabel func_80056250
|
||||
/* 031650 80056250 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 031654 80056254 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 031658 80056258 00A0A82D */ daddu $s5, $a1, $zero
|
||||
@ -1621,7 +1621,7 @@ func_80056250:
|
||||
/* 0319B8 800565B8 03E00008 */ jr $ra
|
||||
/* 0319BC 800565BC 00000000 */ nop
|
||||
|
||||
alAudioFrame:
|
||||
glabel alAudioFrame
|
||||
/* 0319C0 800565C0 3C028008 */ lui $v0, 0x8008
|
||||
/* 0319C4 800565C4 8C428E50 */ lw $v0, -0x71b0($v0)
|
||||
/* 0319C8 800565C8 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
@ -2141,23 +2141,23 @@ alAudioFrame:
|
||||
/* 03212C 80056D2C 03E00008 */ jr $ra
|
||||
/* 032130 80056D30 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_80056D34:
|
||||
glabel func_80056D34
|
||||
/* 032134 80056D34 24020001 */ addiu $v0, $zero, 1
|
||||
/* 032138 80056D38 3C018008 */ lui $at, 0x8008
|
||||
/* 03213C 80056D3C 03E00008 */ jr $ra
|
||||
/* 032140 80056D40 A0228E58 */ sb $v0, -0x71a8($at)
|
||||
|
||||
func_80056D44:
|
||||
glabel func_80056D44
|
||||
/* 032144 80056D44 3C018008 */ lui $at, 0x8008
|
||||
/* 032148 80056D48 03E00008 */ jr $ra
|
||||
/* 03214C 80056D4C A4248E5A */ sh $a0, -0x71a6($at)
|
||||
|
||||
func_80056D50:
|
||||
glabel func_80056D50
|
||||
/* 032150 80056D50 3C028008 */ lui $v0, 0x8008
|
||||
/* 032154 80056D54 03E00008 */ jr $ra
|
||||
/* 032158 80056D58 84428E5A */ lh $v0, -0x71a6($v0)
|
||||
|
||||
func_80056D5C:
|
||||
glabel func_80056D5C
|
||||
/* 03215C 80056D5C 3C028008 */ lui $v0, 0x8008
|
||||
/* 032160 80056D60 24428181 */ addiu $v0, $v0, -0x7e7f
|
||||
/* 032164 80056D64 A0440000 */ sb $a0, ($v0)
|
||||
@ -2166,7 +2166,7 @@ func_80056D5C:
|
||||
/* 032170 80056D70 03E00008 */ jr $ra
|
||||
/* 032174 80056D74 A0228E5C */ sb $v0, -0x71a4($at)
|
||||
|
||||
func_80056D78:
|
||||
glabel func_80056D78
|
||||
/* 032178 80056D78 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 03217C 80056D7C 00041040 */ sll $v0, $a0, 1
|
||||
/* 032180 80056D80 00441021 */ addu $v0, $v0, $a0
|
||||
@ -2190,7 +2190,7 @@ func_80056D78:
|
||||
/* 0321C4 80056DC4 03E00008 */ jr $ra
|
||||
/* 0321C8 80056DC8 94420000 */ lhu $v0, ($v0)
|
||||
|
||||
func_80056DCC:
|
||||
glabel func_80056DCC
|
||||
/* 0321CC 80056DCC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0321D0 80056DD0 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 0321D4 80056DD4 308400FF */ andi $a0, $a0, 0xff
|
||||
@ -2254,7 +2254,7 @@ func_80056DCC:
|
||||
/* 0322B8 80056EB8 03E00008 */ jr $ra
|
||||
/* 0322BC 80056EBC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80056EC0:
|
||||
glabel func_80056EC0
|
||||
/* 0322C0 80056EC0 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 0322C4 80056EC4 00041940 */ sll $v1, $a0, 5
|
||||
/* 0322C8 80056EC8 3C028008 */ lui $v0, 0x8008
|
||||
@ -2266,7 +2266,7 @@ func_80056EC0:
|
||||
/* 0322E0 80056EE0 03E00008 */ jr $ra
|
||||
/* 0322E4 80056EE4 A0450078 */ sb $a1, 0x78($v0)
|
||||
|
||||
func_80056EE8:
|
||||
glabel func_80056EE8
|
||||
/* 0322E8 80056EE8 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 0322EC 80056EEC 00041140 */ sll $v0, $a0, 5
|
||||
/* 0322F0 80056EF0 00441023 */ subu $v0, $v0, $a0
|
||||
@ -2318,7 +2318,7 @@ func_80056EE8:
|
||||
/* 03239C 80056F9C 03E00008 */ jr $ra
|
||||
/* 0323A0 80056FA0 AC620070 */ sw $v0, 0x70($v1)
|
||||
|
||||
func_80056FA4:
|
||||
glabel func_80056FA4
|
||||
/* 0323A4 80056FA4 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0323A8 80056FA8 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 0323AC 80056FAC F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
@ -2494,7 +2494,7 @@ func_80056FA4:
|
||||
/* 03261C 8005721C 03E00008 */ jr $ra
|
||||
/* 032620 80057220 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_80057224:
|
||||
glabel func_80057224
|
||||
/* 032624 80057224 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 032628 80057228 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 03262C 8005722C 00041140 */ sll $v0, $a0, 5
|
||||
@ -2575,7 +2575,7 @@ func_80057224:
|
||||
/* 03273C 8005733C 03E00008 */ jr $ra
|
||||
/* 032740 80057340 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80057344:
|
||||
glabel func_80057344
|
||||
/* 032744 80057344 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 032748 80057348 00041940 */ sll $v1, $a0, 5
|
||||
/* 03274C 8005734C 3C028008 */ lui $v0, 0x8008
|
||||
@ -2587,7 +2587,7 @@ func_80057344:
|
||||
/* 032764 80057364 03E00008 */ jr $ra
|
||||
/* 032768 80057368 AC45003C */ sw $a1, 0x3c($v0)
|
||||
|
||||
func_8005736C:
|
||||
glabel func_8005736C
|
||||
/* 03276C 8005736C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 032770 80057370 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 032774 80057374 00C0A82D */ daddu $s5, $a2, $zero
|
||||
@ -2715,7 +2715,7 @@ func_8005736C:
|
||||
/* 032940 80057540 03E00008 */ jr $ra
|
||||
/* 032944 80057544 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_80057548:
|
||||
glabel func_80057548
|
||||
/* 032948 80057548 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 03294C 8005754C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 032950 80057550 00A0902D */ daddu $s2, $a1, $zero
|
||||
@ -2829,7 +2829,7 @@ func_80057548:
|
||||
/* 032AE4 800576E4 03E00008 */ jr $ra
|
||||
/* 032AE8 800576E8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_800576EC:
|
||||
glabel func_800576EC
|
||||
/* 032AEC 800576EC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 032AF0 800576F0 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 032AF4 800576F4 00C0982D */ daddu $s3, $a2, $zero
|
||||
@ -2936,7 +2936,7 @@ func_800576EC:
|
||||
/* 032C6C 8005786C 03E00008 */ jr $ra
|
||||
/* 032C70 80057870 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80057874:
|
||||
glabel func_80057874
|
||||
/* 032C74 80057874 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 032C78 80057878 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 032C7C 8005787C 00A0902D */ daddu $s2, $a1, $zero
|
||||
@ -3312,7 +3312,7 @@ func_80057874:
|
||||
/* 0331C0 80057DC0 03E00008 */ jr $ra
|
||||
/* 0331C4 80057DC4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80057DC8:
|
||||
glabel func_80057DC8
|
||||
/* 0331C8 80057DC8 28820002 */ slti $v0, $a0, 2
|
||||
/* 0331CC 80057DCC 10400005 */ beqz $v0, .L80057DE4
|
||||
/* 0331D0 80057DD0 00000000 */ nop
|
||||
@ -3332,7 +3332,7 @@ func_80057DC8:
|
||||
/* 033200 80057E00 03E00008 */ jr $ra
|
||||
/* 033204 80057E04 00000000 */ nop
|
||||
|
||||
func_80057E08:
|
||||
glabel func_80057E08
|
||||
/* 033208 80057E08 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 03320C 80057E0C 3C05800A */ lui $a1, 0x800a
|
||||
/* 033210 80057E10 8CA53FE0 */ lw $a1, 0x3fe0($a1)
|
||||
@ -3356,7 +3356,7 @@ func_80057E08:
|
||||
/* 033254 80057E54 03E00008 */ jr $ra
|
||||
/* 033258 80057E58 00000000 */ nop
|
||||
|
||||
func_80057E5C:
|
||||
glabel func_80057E5C
|
||||
/* 03325C 80057E5C 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 033260 80057E60 3C05800A */ lui $a1, 0x800a
|
||||
/* 033264 80057E64 8CA53FE0 */ lw $a1, 0x3fe0($a1)
|
||||
@ -3380,7 +3380,7 @@ func_80057E5C:
|
||||
/* 0332A8 80057EA8 03E00008 */ jr $ra
|
||||
/* 0332AC 80057EAC 00000000 */ nop
|
||||
|
||||
func_80057EB0:
|
||||
glabel func_80057EB0
|
||||
/* 0332B0 80057EB0 3C01800A */ lui $at, 0x800a
|
||||
/* 0332B4 80057EB4 A0203FEC */ sb $zero, 0x3fec($at)
|
||||
/* 0332B8 80057EB8 3C01800A */ lui $at, 0x800a
|
||||
@ -3390,7 +3390,7 @@ func_80057EB0:
|
||||
/* 0332C8 80057EC8 03E00008 */ jr $ra
|
||||
/* 0332CC 80057ECC 00000000 */ nop
|
||||
|
||||
func_80057ED0:
|
||||
glabel func_80057ED0
|
||||
/* 0332D0 80057ED0 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0332D4 80057ED4 3C05800A */ lui $a1, 0x800a
|
||||
/* 0332D8 80057ED8 8CA53FE0 */ lw $a1, 0x3fe0($a1)
|
||||
@ -3413,7 +3413,7 @@ func_80057ED0:
|
||||
/* 033318 80057F18 03E00008 */ jr $ra
|
||||
/* 03331C 80057F1C 00000000 */ nop
|
||||
|
||||
func_80057F20:
|
||||
glabel func_80057F20
|
||||
/* 033320 80057F20 30A3000F */ andi $v1, $a1, 0xf
|
||||
/* 033324 80057F24 24020010 */ addiu $v0, $zero, 0x10
|
||||
/* 033328 80057F28 00431823 */ subu $v1, $v0, $v1
|
||||
@ -3448,7 +3448,7 @@ func_80057F20:
|
||||
/* 033388 80057F88 03E00008 */ jr $ra
|
||||
/* 03338C 80057F8C 00000000 */ nop
|
||||
|
||||
alHeapAlloc:
|
||||
glabel alHeapAlloc
|
||||
/* 033390 80057F90 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 033394 80057F94 00A60018 */ mult $a1, $a2
|
||||
/* 033398 80057F98 2402FFF0 */ addiu $v0, $zero, -0x10
|
||||
@ -3469,7 +3469,7 @@ alHeapAlloc:
|
||||
/* 0333D0 80057FD0 03E00008 */ jr $ra
|
||||
/* 0333D4 80057FD4 00C0102D */ daddu $v0, $a2, $zero
|
||||
|
||||
func_80057FD8:
|
||||
glabel func_80057FD8
|
||||
/* 0333D8 80057FD8 18C00008 */ blez $a2, .L80057FFC
|
||||
/* 0333DC 80057FDC 0000182D */ daddu $v1, $zero, $zero
|
||||
.L80057FE0:
|
||||
@ -3484,7 +3484,7 @@ func_80057FD8:
|
||||
/* 0333FC 80057FFC 03E00008 */ jr $ra
|
||||
/* 033400 80058000 00000000 */ nop
|
||||
|
||||
func_80058004:
|
||||
glabel func_80058004
|
||||
/* 033404 80058004 000528C3 */ sra $a1, $a1, 3
|
||||
/* 033408 80058008 50A0000E */ beql $a1, $zero, .L80058044
|
||||
/* 03340C 8005800C 00041400 */ sll $v0, $a0, 0x10
|
||||
@ -3507,7 +3507,7 @@ func_80058004:
|
||||
/* 033448 80058048 00021403 */ sra $v0, $v0, 0x10
|
||||
|
||||
/* 03344C 8005804C 00000000 */ nop
|
||||
func_80058050:
|
||||
glabel func_80058050
|
||||
/* 033450 80058050 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 033454 80058054 AFB60050 */ sw $s6, 0x50($sp)
|
||||
/* 033458 80058058 00A0B02D */ daddu $s6, $a1, $zero
|
||||
@ -4264,7 +4264,7 @@ func_80058050:
|
||||
/* 033F18 80058B18 03E00008 */ jr $ra
|
||||
/* 033F1C 80058B1C 27BD0060 */ addiu $sp, $sp, 0x60
|
||||
|
||||
func_80058B20:
|
||||
glabel func_80058B20
|
||||
/* 033F20 80058B20 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 033F24 80058B24 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 033F28 80058B28 8FB30044 */ lw $s3, 0x44($sp)
|
||||
@ -4353,7 +4353,7 @@ func_80058B20:
|
||||
/* 034064 80058C64 03E00008 */ jr $ra
|
||||
/* 034068 80058C68 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_80058C6C:
|
||||
glabel func_80058C6C
|
||||
/* 03406C 80058C6C 8FA20010 */ lw $v0, 0x10($sp)
|
||||
/* 034070 80058C70 1440000B */ bnez $v0, .L80058CA0
|
||||
/* 034074 80058C74 8FA50014 */ lw $a1, 0x14($sp)
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80200000, "ax"
|
||||
|
||||
func_80200000:
|
||||
glabel func_80200000
|
||||
/* 3169F0 80200000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 3169F4 80200004 3C05AC29 */ lui $a1, 0xac29
|
||||
/* 3169F8 80200008 34A5007B */ ori $a1, $a1, 0x7b
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80200080, "ax"
|
||||
|
||||
func_80200080:
|
||||
glabel func_80200080
|
||||
/* 316A70 80200080 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 316A74 80200084 3C0B3C01 */ lui $t3, 0x3c01
|
||||
/* 316A78 80200088 356BA775 */ ori $t3, $t3, 0xa775
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802AE000, "ax"
|
||||
|
||||
func_802AE000:
|
||||
glabel func_802AE000
|
||||
/* 316D90 802AE000 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 316D94 802AE004 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 316D98 802AE008 3C1433F5 */ lui $s4, 0x33f5
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80058DD0, "ax"
|
||||
|
||||
func_80058DD0:
|
||||
glabel func_80058DD0
|
||||
/* 0341D0 80058DD0 24050007 */ addiu $a1, $zero, 7
|
||||
/* 0341D4 80058DD4 2486000E */ addiu $a2, $a0, 0xe
|
||||
/* 0341D8 80058DD8 84830000 */ lh $v1, ($a0)
|
||||
@ -60,7 +60,7 @@ func_80058DD0:
|
||||
/* 03427C 80058E7C 03E00008 */ jr $ra
|
||||
/* 034280 80058E80 00000000 */ nop
|
||||
|
||||
func_80058E84:
|
||||
glabel func_80058E84
|
||||
/* 034284 80058E84 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 034288 80058E88 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 03428C 80058E8C 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -161,7 +161,7 @@ func_80058E84:
|
||||
/* 034400 80059000 03E00008 */ jr $ra
|
||||
/* 034404 80059004 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80059008:
|
||||
glabel func_80059008
|
||||
/* 034408 80059008 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 03440C 8005900C 00071400 */ sll $v0, $a3, 0x10
|
||||
/* 034410 80059010 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -183,7 +183,7 @@ func_80059008:
|
||||
/* 034444 80059044 03E00008 */ jr $ra
|
||||
/* 034448 80059048 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8005904C:
|
||||
glabel func_8005904C
|
||||
/* 03444C 8005904C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 034450 80059050 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 034454 80059054 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -383,7 +383,7 @@ func_8005904C:
|
||||
/* 034708 80059308 03E00008 */ jr $ra
|
||||
/* 03470C 8005930C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80059310:
|
||||
glabel func_80059310
|
||||
/* 034710 80059310 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 034714 80059314 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 034718 80059318 00A0802D */ daddu $s0, $a1, $zero
|
||||
@ -758,7 +758,7 @@ func_80059310:
|
||||
/* 034C98 80059898 03E00008 */ jr $ra
|
||||
/* 034C9C 8005989C 27BD0068 */ addiu $sp, $sp, 0x68
|
||||
|
||||
func_800598A0:
|
||||
glabel func_800598A0
|
||||
/* 034CA0 800598A0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 034CA4 800598A4 00063400 */ sll $a2, $a2, 0x10
|
||||
/* 034CA8 800598A8 00063403 */ sra $a2, $a2, 0x10
|
||||
@ -903,7 +903,7 @@ func_800598A0:
|
||||
/* 034EB0 80059AB0 03E00008 */ jr $ra
|
||||
/* 034EB4 80059AB4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80059AB8:
|
||||
glabel func_80059AB8
|
||||
/* 034EB8 80059AB8 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 034EBC 80059ABC AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 034EC0 80059AC0 0080A82D */ daddu $s5, $a0, $zero
|
||||
@ -979,7 +979,7 @@ func_80059AB8:
|
||||
/* 034FCC 80059BCC 03E00008 */ jr $ra
|
||||
/* 034FD0 80059BD0 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_80059BD4:
|
||||
glabel func_80059BD4
|
||||
/* 034FD4 80059BD4 C4800010 */ lwc1 $f0, 0x10($a0)
|
||||
/* 034FD8 80059BD8 44851000 */ mtc1 $a1, $f2
|
||||
/* 034FDC 80059BDC 00000000 */ nop
|
||||
@ -1037,7 +1037,7 @@ func_80059BD4:
|
||||
/* 035094 80059C94 03E00008 */ jr $ra
|
||||
/* 035098 80059C98 AC47000C */ sw $a3, 0xc($v0)
|
||||
|
||||
func_80059C9C:
|
||||
glabel func_80059C9C
|
||||
/* 03509C 80059C9C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0350A0 80059CA0 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* 0350A4 80059CA4 3C03800A */ lui $v1, 0x800a
|
||||
@ -1087,7 +1087,7 @@ func_80059C9C:
|
||||
/* 035148 80059D48 03E00008 */ jr $ra
|
||||
/* 03514C 80059D4C 00000000 */ nop
|
||||
|
||||
func_80059D50:
|
||||
glabel func_80059D50
|
||||
/* 035150 80059D50 3C02800A */ lui $v0, 0x800a
|
||||
/* 035154 80059D54 8C42A650 */ lw $v0, -0x59b0($v0)
|
||||
/* 035158 80059D58 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
@ -1208,7 +1208,7 @@ func_80059D50:
|
||||
/* 0352EC 80059EEC 03E00008 */ jr $ra
|
||||
/* 0352F0 80059EF0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
render_effects:
|
||||
glabel render_effects
|
||||
/* 0352F4 80059EF4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0352F8 80059EF8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0352FC 80059EFC 0000882D */ daddu $s1, $zero, $zero
|
||||
@ -1255,7 +1255,7 @@ render_effects:
|
||||
/* 03538C 80059F8C 03E00008 */ jr $ra
|
||||
/* 035390 80059F90 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80059F94:
|
||||
glabel func_80059F94
|
||||
/* 035394 80059F94 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 035398 80059F98 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 03539C 80059F9C 3C014080 */ lui $at, 0x4080
|
||||
@ -1587,7 +1587,7 @@ func_80059F94:
|
||||
/* 035848 8005A448 03E00008 */ jr $ra
|
||||
/* 03584C 8005A44C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
remove_effect:
|
||||
glabel remove_effect
|
||||
/* 035850 8005A450 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 035854 8005A454 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 035858 8005A458 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1631,7 +1631,7 @@ remove_effect:
|
||||
/* 0358D8 8005A4D8 03E00008 */ jr $ra
|
||||
/* 0358DC 8005A4DC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
remove_all_effects:
|
||||
glabel remove_all_effects
|
||||
/* 0358E0 8005A4E0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0358E4 8005A4E4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0358E8 8005A4E8 0000902D */ daddu $s2, $zero, $zero
|
||||
@ -1669,7 +1669,7 @@ remove_all_effects:
|
||||
/* 03595C 8005A55C 03E00008 */ jr $ra
|
||||
/* 035960 8005A560 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
play_effect:
|
||||
glabel play_effect
|
||||
/* 035964 8005A564 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 035968 8005A568 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 03596C 8005A56C 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1770,7 +1770,7 @@ play_effect:
|
||||
/* 035AB8 8005A6B8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 035ABC 8005A6BC 00000000 */ nop
|
||||
load_map_script_lib:
|
||||
glabel load_map_script_lib
|
||||
/* 035AC0 8005A6C0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 035AC4 8005A6C4 3C04007E */ lui $a0, 0x7e
|
||||
/* 035AC8 8005A6C8 24840E80 */ addiu $a0, $a0, 0xe80
|
||||
@ -1785,7 +1785,7 @@ load_map_script_lib:
|
||||
/* 035AEC 8005A6EC 03E00008 */ jr $ra
|
||||
/* 035AF0 8005A6F0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
load_map_by_IDs:
|
||||
glabel load_map_by_IDs
|
||||
/* 035AF4 8005A6F4 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 035AF8 8005A6F8 AFB00038 */ sw $s0, 0x38($sp)
|
||||
/* 035AFC 8005A6FC 00C0802D */ daddu $s0, $a2, $zero
|
||||
@ -2120,19 +2120,19 @@ load_map_by_IDs:
|
||||
/* 035FD0 8005ABD0 03E00008 */ jr $ra
|
||||
/* 035FD4 8005ABD4 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
|
||||
get_current_map_config:
|
||||
glabel get_current_map_config
|
||||
/* 035FD8 8005ABD8 3C02800A */ lui $v0, 0x800a
|
||||
/* 035FDC 8005ABDC 8C4241E0 */ lw $v0, 0x41e0($v0)
|
||||
/* 035FE0 8005ABE0 03E00008 */ jr $ra
|
||||
/* 035FE4 8005ABE4 00000000 */ nop
|
||||
|
||||
get_current_map_header:
|
||||
glabel get_current_map_header
|
||||
/* 035FE8 8005ABE8 3C02800A */ lui $v0, 0x800a
|
||||
/* 035FEC 8005ABEC 244241E8 */ addiu $v0, $v0, 0x41e8
|
||||
/* 035FF0 8005ABF0 03E00008 */ jr $ra
|
||||
/* 035FF4 8005ABF4 00000000 */ nop
|
||||
|
||||
get_map_IDs_by_name:
|
||||
glabel get_map_IDs_by_name
|
||||
/* 035FF8 8005ABF8 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 035FFC 8005ABFC AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 036000 8005AC00 0080A82D */ daddu $s5, $a0, $zero
|
||||
@ -2201,7 +2201,7 @@ get_map_IDs_by_name:
|
||||
/* 0360E0 8005ACE0 03E00008 */ jr $ra
|
||||
/* 0360E4 8005ACE4 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
load_asset_by_name:
|
||||
glabel load_asset_by_name
|
||||
/* 0360E8 8005ACE8 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0360EC 8005ACEC AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 0360F0 8005ACF0 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -2264,7 +2264,7 @@ load_asset_by_name:
|
||||
/* 0361C8 8005ADC8 03E00008 */ jr $ra
|
||||
/* 0361CC 8005ADCC 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
get_asset_offset:
|
||||
glabel get_asset_offset
|
||||
/* 0361D0 8005ADD0 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0361D4 8005ADD4 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 0361D8 8005ADD8 0080902D */ daddu $s2, $a0, $zero
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8005AEA0, "ax"
|
||||
|
||||
allocate_hit_tables:
|
||||
glabel allocate_hit_tables
|
||||
/* 0362A0 8005AEA0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0362A4 8005AEA4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0362A8 8005AEA8 3C10800B */ lui $s0, 0x800b
|
||||
@ -74,14 +74,14 @@ allocate_hit_tables:
|
||||
/* 03637C 8005AF7C 03E00008 */ jr $ra
|
||||
/* 036380 8005AF80 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8005AF84:
|
||||
glabel func_8005AF84
|
||||
/* 036384 8005AF84 03E00008 */ jr $ra
|
||||
/* 036388 8005AF88 00000000 */ nop
|
||||
|
||||
/* 03638C 8005AF8C 03E00008 */ jr $ra
|
||||
/* 036390 8005AF90 00000000 */ nop
|
||||
|
||||
initialize_collision:
|
||||
glabel initialize_collision
|
||||
/* 036394 8005AF94 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 036398 8005AF98 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 03639C 8005AF9C 3C01800B */ lui $at, 0x800b
|
||||
@ -94,7 +94,7 @@ initialize_collision:
|
||||
/* 0363B8 8005AFB8 03E00008 */ jr $ra
|
||||
/* 0363BC 8005AFBC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
load_hit_asset:
|
||||
glabel load_hit_asset
|
||||
/* 0363C0 8005AFC0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0363C4 8005AFC4 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 0363C8 8005AFC8 AFB20020 */ sw $s2, 0x20($sp)
|
||||
@ -134,7 +134,7 @@ load_hit_asset:
|
||||
/* 036450 8005B050 03E00008 */ jr $ra
|
||||
/* 036454 8005B054 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
load_collision:
|
||||
glabel load_collision
|
||||
/* 036458 8005B058 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 03645C 8005B05C AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 036460 8005B060 AFB60028 */ sw $s6, 0x28($sp)
|
||||
@ -223,7 +223,7 @@ load_collision:
|
||||
/* 036598 8005B198 03E00008 */ jr $ra
|
||||
/* 03659C 8005B19C 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
load_stage_collision:
|
||||
glabel load_stage_collision
|
||||
/* 0365A0 8005B1A0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0365A4 8005B1A4 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 0365A8 8005B1A8 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -267,7 +267,7 @@ load_stage_collision:
|
||||
/* 036634 8005B234 03E00008 */ jr $ra
|
||||
/* 036638 8005B238 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
load_hit_data:
|
||||
glabel load_hit_data
|
||||
/* 03663C 8005B23C 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
/* 036640 8005B240 AFB60038 */ sw $s6, 0x38($sp)
|
||||
/* 036644 8005B244 0000B02D */ daddu $s6, $zero, $zero
|
||||
@ -628,7 +628,7 @@ load_hit_data:
|
||||
/* 036B78 8005B778 03E00008 */ jr $ra
|
||||
/* 036B7C 8005B77C 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
parent_collider_to_model:
|
||||
glabel parent_collider_to_model
|
||||
/* 036B80 8005B780 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 036B84 8005B784 00042400 */ sll $a0, $a0, 0x10
|
||||
/* 036B88 8005B788 00042403 */ sra $a0, $a0, 0x10
|
||||
@ -772,7 +772,7 @@ parent_collider_to_model:
|
||||
/* 036D98 8005B998 03E00008 */ jr $ra
|
||||
/* 036D9C 8005B99C 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
_add_hit_vert_to_buffer:
|
||||
glabel _add_hit_vert_to_buffer
|
||||
/* 036DA0 8005B9A0 8CC80000 */ lw $t0, ($a2)
|
||||
/* 036DA4 8005B9A4 19000009 */ blez $t0, .L8005B9CC
|
||||
/* 036DA8 8005B9A8 0000182D */ daddu $v1, $zero, $zero
|
||||
@ -798,7 +798,7 @@ _add_hit_vert_to_buffer:
|
||||
/* 036DEC 8005B9EC 03E00008 */ jr $ra
|
||||
/* 036DF0 8005B9F0 00000000 */ nop
|
||||
|
||||
_get_hit_vert_index_from_buffer:
|
||||
glabel _get_hit_vert_index_from_buffer
|
||||
/* 036DF4 8005B9F4 8CC60000 */ lw $a2, ($a2)
|
||||
/* 036DF8 8005B9F8 18C00008 */ blez $a2, .L8005BA1C
|
||||
/* 036DFC 8005B9FC 0000182D */ daddu $v1, $zero, $zero
|
||||
@ -814,7 +814,7 @@ _get_hit_vert_index_from_buffer:
|
||||
/* 036E1C 8005BA1C 03E00008 */ jr $ra
|
||||
/* 036E20 8005BA20 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
update_collider_transform:
|
||||
glabel update_collider_transform
|
||||
/* 036E24 8005BA24 27BDFF58 */ addiu $sp, $sp, -0xa8
|
||||
/* 036E28 8005BA28 00042400 */ sll $a0, $a0, 0x10
|
||||
/* 036E2C 8005BA2C 00042403 */ sra $a0, $a0, 0x10
|
||||
@ -1058,7 +1058,7 @@ update_collider_transform:
|
||||
/* 0371A0 8005BDA0 03E00008 */ jr $ra
|
||||
/* 0371A4 8005BDA4 27BD00A8 */ addiu $sp, $sp, 0xa8
|
||||
|
||||
get_collider_type_by_id:
|
||||
glabel get_collider_type_by_id
|
||||
/* 0371A8 8005BDA8 30824000 */ andi $v0, $a0, 0x4000
|
||||
/* 0371AC 8005BDAC 14400008 */ bnez $v0, .L8005BDD0
|
||||
/* 0371B0 8005BDB0 000410C0 */ sll $v0, $a0, 3
|
||||
@ -1074,7 +1074,7 @@ get_collider_type_by_id:
|
||||
/* 0371D0 8005BDD0 03E00008 */ jr $ra
|
||||
/* 0371D4 8005BDD4 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
func_8005BDD8:
|
||||
glabel func_8005BDD8
|
||||
/* 0371D8 8005BDD8 000410C0 */ sll $v0, $a0, 3
|
||||
/* 0371DC 8005BDDC 00441023 */ subu $v0, $v0, $a0
|
||||
/* 0371E0 8005BDE0 3C03800B */ lui $v1, 0x800b
|
||||
@ -1090,7 +1090,7 @@ func_8005BDD8:
|
||||
/* 037208 8005BE08 03E00008 */ jr $ra
|
||||
/* 03720C 8005BE0C E4E00000 */ swc1 $f0, ($a3)
|
||||
|
||||
get_collider_center:
|
||||
glabel get_collider_center
|
||||
/* 037210 8005BE10 000410C0 */ sll $v0, $a0, 3
|
||||
/* 037214 8005BE14 00441023 */ subu $v0, $v0, $a0
|
||||
/* 037218 8005BE18 3C03800B */ lui $v1, 0x800b
|
||||
@ -1121,7 +1121,7 @@ get_collider_center:
|
||||
/* 03727C 8005BE7C 03E00008 */ jr $ra
|
||||
/* 037280 8005BE80 E4E00000 */ swc1 $f0, ($a3)
|
||||
|
||||
test_ray_triangle_general:
|
||||
glabel test_ray_triangle_general
|
||||
/* 037284 8005BE84 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 037288 8005BE88 F7BE0038 */ sdc1 $f30, 0x38($sp)
|
||||
/* 03728C 8005BE8C F7BC0030 */ sdc1 $f28, 0x30($sp)
|
||||
@ -1519,7 +1519,7 @@ test_ray_triangle_general:
|
||||
/* 037894 8005C494 03E00008 */ jr $ra
|
||||
/* 037898 8005C498 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
test_down_ray_triangle:
|
||||
glabel test_down_ray_triangle
|
||||
/* 03789C 8005C49C C4800030 */ lwc1 $f0, 0x30($a0)
|
||||
/* 0378A0 8005C4A0 44801000 */ mtc1 $zero, $f2
|
||||
/* 0378A4 8005C4A4 00000000 */ nop
|
||||
@ -1723,7 +1723,7 @@ test_down_ray_triangle:
|
||||
/* 037B9C 8005C79C 03E00008 */ jr $ra
|
||||
/* 037BA0 8005C7A0 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
test_up_ray_triangle:
|
||||
glabel test_up_ray_triangle
|
||||
/* 037BA4 8005C7A4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 037BA8 8005C7A8 F7BC0020 */ sdc1 $f28, 0x20($sp)
|
||||
/* 037BAC 8005C7AC F7BA0018 */ sdc1 $f26, 0x18($sp)
|
||||
@ -2062,7 +2062,7 @@ test_up_ray_triangle:
|
||||
/* 0380C8 8005CCC8 03E00008 */ jr $ra
|
||||
/* 0380CC 8005CCCC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
test_ray_colliders:
|
||||
glabel test_ray_colliders
|
||||
/* 0380D0 8005CCD0 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 0380D4 8005CCD4 44854000 */ mtc1 $a1, $f8
|
||||
/* 0380D8 8005CCD8 44866000 */ mtc1 $a2, $f12
|
||||
@ -2366,7 +2366,7 @@ test_ray_colliders:
|
||||
/* 03851C 8005D11C 03E00008 */ jr $ra
|
||||
/* 038520 8005D120 27BD0068 */ addiu $sp, $sp, 0x68
|
||||
|
||||
test_ray_zones:
|
||||
glabel test_ray_zones
|
||||
/* 038524 8005D124 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 038528 8005D128 C7A00048 */ lwc1 $f0, 0x48($sp)
|
||||
/* 03852C 8005D12C C7A2004C */ lwc1 $f2, 0x4c($sp)
|
||||
@ -2484,7 +2484,7 @@ test_ray_zones:
|
||||
/* 0386D4 8005D2D4 03E00008 */ jr $ra
|
||||
/* 0386D8 8005D2D8 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
test_up_ray_collider:
|
||||
glabel test_up_ray_collider
|
||||
/* 0386DC 8005D2DC 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 0386E0 8005D2E0 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 0386E4 8005D2E4 4486C000 */ mtc1 $a2, $f24
|
||||
@ -2580,7 +2580,7 @@ test_up_ray_collider:
|
||||
/* 038840 8005D440 03E00008 */ jr $ra
|
||||
/* 038844 8005D444 27BD0058 */ addiu $sp, $sp, 0x58
|
||||
|
||||
test_ray_entities:
|
||||
glabel test_ray_entities
|
||||
/* 038848 8005D448 27BDFE60 */ addiu $sp, $sp, -0x1a0
|
||||
/* 03884C 8005D44C 44800000 */ mtc1 $zero, $f0
|
||||
/* 038850 8005D450 2409FFFF */ addiu $t1, $zero, -1
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8005DE10, "ax"
|
||||
|
||||
get_npc_pos:
|
||||
glabel get_npc_pos
|
||||
/* 039210 8005DE10 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 039214 8005DE14 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 039218 8005DE18 00A0802D */ daddu $s0, $a1, $zero
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text800287F0, "ax"
|
||||
|
||||
func_800287F0:
|
||||
glabel func_800287F0
|
||||
/* 003BF0 800287F0 3C038007 */ lui $v1, 0x8007
|
||||
/* 003BF4 800287F4 2463419C */ addiu $v1, $v1, 0x419c
|
||||
/* 003BF8 800287F8 8C620000 */ lw $v0, ($v1)
|
||||
@ -31,7 +31,7 @@ func_800287F0:
|
||||
/* 003C30 80028830 03E00008 */ jr $ra
|
||||
/* 003C34 80028834 A4600058 */ sh $zero, 0x58($v1)
|
||||
|
||||
func_80028838:
|
||||
glabel func_80028838
|
||||
/* 003C38 80028838 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 003C3C 8002883C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 003C40 80028840 0C00A1FC */ jal func_800287F0
|
||||
@ -48,7 +48,7 @@ func_80028838:
|
||||
/* 003C6C 8002886C 03E00008 */ jr $ra
|
||||
/* 003C70 80028870 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
update_input:
|
||||
glabel update_input
|
||||
/* 003C74 80028874 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 003C78 80028878 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 003C7C 8002887C 3C128007 */ lui $s2, 0x8007
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802A1000, "ax"
|
||||
|
||||
func_802A1000:
|
||||
glabel func_802A1000
|
||||
/* 415D90 802A1000 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 415D94 802A1004 3C01802B */ lui $at, 0x802b
|
||||
/* 415D98 802A1008 A422D006 */ sh $v0, -0x2ffa($at)
|
||||
@ -25,7 +25,7 @@ func_802A1000:
|
||||
/* 415DB8 802A1028 03E00008 */ jr $ra
|
||||
/* 415DBC 802A102C 00000000 */ nop
|
||||
|
||||
func_802A1030:
|
||||
glabel func_802A1030
|
||||
/* 415DC0 802A1030 24020003 */ addiu $v0, $zero, 3
|
||||
/* 415DC4 802A1034 3C01802B */ lui $at, 0x802b
|
||||
/* 415DC8 802A1038 A022D001 */ sb $v0, -0x2fff($at)
|
||||
@ -35,7 +35,7 @@ func_802A1030:
|
||||
/* 415DD8 802A1048 03E00008 */ jr $ra
|
||||
/* 415DDC 802A104C 00000000 */ nop
|
||||
|
||||
func_802A1050:
|
||||
glabel func_802A1050
|
||||
/* 415DE0 802A1050 24020002 */ addiu $v0, $zero, 2
|
||||
/* 415DE4 802A1054 3C01802B */ lui $at, 0x802b
|
||||
/* 415DE8 802A1058 A022D000 */ sb $v0, -0x3000($at)
|
||||
@ -47,7 +47,7 @@ func_802A1050:
|
||||
/* 415E00 802A1070 03E00008 */ jr $ra
|
||||
/* 415E04 802A1074 00000000 */ nop
|
||||
|
||||
func_802A1078:
|
||||
glabel func_802A1078
|
||||
/* 415E08 802A1078 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 415E0C 802A107C 3C01802B */ lui $at, 0x802b
|
||||
/* 415E10 802A1080 A422D008 */ sh $v0, -0x2ff8($at)
|
||||
@ -57,7 +57,7 @@ func_802A1078:
|
||||
/* 415E20 802A1090 03E00008 */ jr $ra
|
||||
/* 415E24 802A1094 00000000 */ nop
|
||||
|
||||
func_802A1098:
|
||||
glabel func_802A1098
|
||||
/* 415E28 802A1098 24020064 */ addiu $v0, $zero, 0x64
|
||||
/* 415E2C 802A109C 3C01802B */ lui $at, 0x802b
|
||||
/* 415E30 802A10A0 A422D008 */ sh $v0, -0x2ff8($at)
|
||||
@ -67,7 +67,7 @@ func_802A1098:
|
||||
/* 415E40 802A10B0 03E00008 */ jr $ra
|
||||
/* 415E44 802A10B4 00000000 */ nop
|
||||
|
||||
func_802A10B8:
|
||||
glabel func_802A10B8
|
||||
/* 415E48 802A10B8 3C02802B */ lui $v0, 0x802b
|
||||
/* 415E4C 802A10BC 8C42D0AC */ lw $v0, -0x2f54($v0)
|
||||
/* 415E50 802A10C0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -133,7 +133,7 @@ func_802A10B8:
|
||||
/* 415F38 802A11A8 03E00008 */ jr $ra
|
||||
/* 415F3C 802A11AC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802A11B0:
|
||||
glabel func_802A11B0
|
||||
/* 415F40 802A11B0 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 415F44 802A11B4 3C06800E */ lui $a2, 0x800e
|
||||
/* 415F48 802A11B8 24C6C070 */ addiu $a2, $a2, -0x3f90
|
||||
@ -860,7 +860,7 @@ func_802A11B0:
|
||||
/* 4169DC 802A1C4C 03E00008 */ jr $ra
|
||||
/* 4169E0 802A1C50 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_802A1C54:
|
||||
glabel func_802A1C54
|
||||
/* 4169E4 802A1C54 3C02802B */ lui $v0, 0x802b
|
||||
/* 4169E8 802A1C58 9042D000 */ lbu $v0, -0x3000($v0)
|
||||
/* 4169EC 802A1C5C 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
@ -1537,7 +1537,7 @@ func_802A1C54:
|
||||
/* 41740C 802A267C 03E00008 */ jr $ra
|
||||
/* 417410 802A2680 27BD0078 */ addiu $sp, $sp, 0x78
|
||||
|
||||
func_802A2684:
|
||||
glabel func_802A2684
|
||||
/* 417414 802A2684 3C03802B */ lui $v1, 0x802b
|
||||
/* 417418 802A2688 2463D4A8 */ addiu $v1, $v1, -0x2b58
|
||||
/* 41741C 802A268C 3C05802B */ lui $a1, 0x802b
|
||||
@ -1628,14 +1628,14 @@ func_802A2684:
|
||||
/* 417558 802A27C8 03E00008 */ jr $ra
|
||||
/* 41755C 802A27CC 00000000 */ nop
|
||||
|
||||
func_802A27D0:
|
||||
glabel func_802A27D0
|
||||
/* 417560 802A27D0 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 417564 802A27D4 3C01802B */ lui $at, 0x802b
|
||||
/* 417568 802A27D8 A022D108 */ sb $v0, -0x2ef8($at)
|
||||
/* 41756C 802A27DC 03E00008 */ jr $ra
|
||||
/* 417570 802A27E0 00000000 */ nop
|
||||
|
||||
func_802A27E4:
|
||||
glabel func_802A27E4
|
||||
/* 417574 802A27E4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 417578 802A27E8 24040001 */ addiu $a0, $zero, 1
|
||||
/* 41757C 802A27EC 24050002 */ addiu $a1, $zero, 2
|
||||
@ -1719,7 +1719,7 @@ func_802A27E4:
|
||||
/* 417698 802A2908 03E00008 */ jr $ra
|
||||
/* 41769C 802A290C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802A2910:
|
||||
glabel func_802A2910
|
||||
/* 4176A0 802A2910 3C02802B */ lui $v0, 0x802b
|
||||
/* 4176A4 802A2914 8C42D4A4 */ lw $v0, -0x2b5c($v0)
|
||||
/* 4176A8 802A2918 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -1834,7 +1834,7 @@ func_802A2910:
|
||||
/* 417840 802A2AB0 03E00008 */ jr $ra
|
||||
/* 417844 802A2AB4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802A2AB8:
|
||||
glabel func_802A2AB8
|
||||
/* 417848 802A2AB8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 41784C 802A2ABC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 417850 802A2AC0 24050005 */ addiu $a1, $zero, 5
|
||||
@ -1947,7 +1947,7 @@ func_802A2AB8:
|
||||
/* 4179E0 802A2C50 03E00008 */ jr $ra
|
||||
/* 4179E4 802A2C54 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802A2C58:
|
||||
glabel func_802A2C58
|
||||
/* 4179E8 802A2C58 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 4179EC 802A2C5C 24040008 */ addiu $a0, $zero, 8
|
||||
/* 4179F0 802A2C60 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -1960,7 +1960,7 @@ func_802A2C58:
|
||||
/* 417A0C 802A2C7C 03E00008 */ jr $ra
|
||||
/* 417A10 802A2C80 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802A2C84:
|
||||
glabel func_802A2C84
|
||||
/* 417A14 802A2C84 3C02802B */ lui $v0, 0x802b
|
||||
/* 417A18 802A2C88 9042D108 */ lbu $v0, -0x2ef8($v0)
|
||||
/* 417A1C 802A2C8C 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
@ -3735,7 +3735,7 @@ func_802A2C84:
|
||||
/* 419360 802A45D0 03E00008 */ jr $ra
|
||||
/* 419364 802A45D4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_802A45D8:
|
||||
glabel func_802A45D8
|
||||
/* 419368 802A45D8 3C03802B */ lui $v1, 0x802b
|
||||
/* 41936C 802A45DC 2463D608 */ addiu $v1, $v1, -0x29f8
|
||||
/* 419370 802A45E0 3C06802B */ lui $a2, 0x802b
|
||||
@ -3822,14 +3822,14 @@ func_802A45D8:
|
||||
/* 4194A0 802A4710 03E00008 */ jr $ra
|
||||
/* 4194A4 802A4714 00000000 */ nop
|
||||
|
||||
func_802A4718:
|
||||
glabel func_802A4718
|
||||
/* 4194A8 802A4718 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 4194AC 802A471C 3C01802B */ lui $at, 0x802b
|
||||
/* 4194B0 802A4720 A022D604 */ sb $v0, -0x29fc($at)
|
||||
/* 4194B4 802A4724 03E00008 */ jr $ra
|
||||
/* 4194B8 802A4728 00000000 */ nop
|
||||
|
||||
func_802A472C:
|
||||
glabel func_802A472C
|
||||
/* 4194BC 802A472C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 4194C0 802A4730 24040006 */ addiu $a0, $zero, 6
|
||||
/* 4194C4 802A4734 24050002 */ addiu $a1, $zero, 2
|
||||
@ -3878,7 +3878,7 @@ func_802A472C:
|
||||
/* 419568 802A47D8 03E00008 */ jr $ra
|
||||
/* 41956C 802A47DC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802A47E0:
|
||||
glabel func_802A47E0
|
||||
/* 419570 802A47E0 3C02802B */ lui $v0, 0x802b
|
||||
/* 419574 802A47E4 8C42D66C */ lw $v0, -0x2994($v0)
|
||||
/* 419578 802A47E8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -3953,7 +3953,7 @@ func_802A47E0:
|
||||
/* 419684 802A48F4 03E00008 */ jr $ra
|
||||
/* 419688 802A48F8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802A48FC:
|
||||
glabel func_802A48FC
|
||||
/* 41968C 802A48FC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 419690 802A4900 24040006 */ addiu $a0, $zero, 6
|
||||
/* 419694 802A4904 24050005 */ addiu $a1, $zero, 5
|
||||
@ -4026,7 +4026,7 @@ func_802A48FC:
|
||||
/* 419798 802A4A08 03E00008 */ jr $ra
|
||||
/* 41979C 802A4A0C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802A4A10:
|
||||
glabel func_802A4A10
|
||||
/* 4197A0 802A4A10 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 4197A4 802A4A14 24040006 */ addiu $a0, $zero, 6
|
||||
/* 4197A8 802A4A18 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -4045,7 +4045,7 @@ func_802A4A10:
|
||||
/* 4197DC 802A4A4C 03E00008 */ jr $ra
|
||||
/* 4197E0 802A4A50 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802A4A54:
|
||||
glabel func_802A4A54
|
||||
/* 4197E4 802A4A54 3C02802B */ lui $v0, 0x802b
|
||||
/* 4197E8 802A4A58 9042D604 */ lbu $v0, -0x29fc($v0)
|
||||
/* 4197EC 802A4A5C 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
@ -4987,7 +4987,7 @@ func_802A4A54:
|
||||
/* 41A5A0 802A5810 03E00008 */ jr $ra
|
||||
/* 41A5A4 802A5814 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
can_switch_to_player:
|
||||
glabel can_switch_to_player
|
||||
/* 41A5A8 802A5818 3C06800E */ lui $a2, 0x800e
|
||||
/* 41A5AC 802A581C 24C6C070 */ addiu $a2, $a2, -0x3f90
|
||||
/* 41A5B0 802A5820 8CC20004 */ lw $v0, 4($a2)
|
||||
@ -5047,7 +5047,7 @@ can_switch_to_player:
|
||||
/* 41A658 802A58C8 03E00008 */ jr $ra
|
||||
/* 41A65C 802A58CC 00000000 */ nop
|
||||
|
||||
func_802A58D0:
|
||||
glabel func_802A58D0
|
||||
/* 41A660 802A58D0 3C03800E */ lui $v1, 0x800e
|
||||
/* 41A664 802A58D4 2463C070 */ addiu $v1, $v1, -0x3f90
|
||||
/* 41A668 802A58D8 8C620004 */ lw $v0, 4($v1)
|
||||
@ -5106,7 +5106,7 @@ func_802A58D0:
|
||||
/* 41A710 802A5980 03E00008 */ jr $ra
|
||||
/* 41A714 802A5984 38820001 */ xori $v0, $a0, 1
|
||||
|
||||
update_player_menu:
|
||||
glabel update_player_menu
|
||||
/* 41A718 802A5988 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 41A71C 802A598C AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 41A720 802A5990 3C16800E */ lui $s6, 0x800e
|
||||
@ -7944,7 +7944,7 @@ update_player_menu:
|
||||
/* 41CF08 802A8178 03E00008 */ jr $ra
|
||||
/* 41CF0C 802A817C 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
|
||||
func_802A8180:
|
||||
glabel func_802A8180
|
||||
/* 41CF10 802A8180 3C02800E */ lui $v0, 0x800e
|
||||
/* 41CF14 802A8184 8C42C4DC */ lw $v0, -0x3b24($v0)
|
||||
/* 41CF18 802A8188 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -7965,7 +7965,7 @@ func_802A8180:
|
||||
/* 41CF50 802A81C0 03E00008 */ jr $ra
|
||||
/* 41CF54 802A81C4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
update_partner_menu:
|
||||
glabel update_partner_menu
|
||||
/* 41CF58 802A81C8 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 41CF5C 802A81CC AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 41CF60 802A81D0 3C14800E */ lui $s4, 0x800e
|
||||
@ -9100,12 +9100,10 @@ update_partner_menu:
|
||||
/* 41DF7C 802A91EC A68201AE */ sh $v0, 0x1ae($s4)
|
||||
/* 41DF80 802A91F0 0200102D */ daddu $v0, $s0, $zero
|
||||
/* 41DF84 802A91F4 10600049 */ beqz $v1, .L802A931C
|
||||
func_802A91F8:
|
||||
/* 41DF88 802A91F8 A28201F6 */ sb $v0, 0x1f6($s4)
|
||||
/* 41DF8C 802A91FC 3C128009 */ lui $s2, 0x8009
|
||||
/* 41DF90 802A9200 2652F060 */ addiu $s2, $s2, -0xfa0
|
||||
/* 41DF94 802A9204 3C0F802B */ lui $t7, 0x802b
|
||||
func_802A9208:
|
||||
/* 41DF98 802A9208 25EFB398 */ addiu $t7, $t7, -0x4c68
|
||||
/* 41DF9C 802A920C 3C10802B */ lui $s0, 0x802b
|
||||
/* 41DFA0 802A9210 2610D5D0 */ addiu $s0, $s0, -0x2a30
|
||||
@ -9114,11 +9112,9 @@ func_802A9208:
|
||||
/* 41DFAC 802A921C 3C0D802B */ lui $t5, 0x802b
|
||||
/* 41DFB0 802A9220 25ADD380 */ addiu $t5, $t5, -0x2c80
|
||||
/* 41DFB4 802A9224 3C0C802B */ lui $t4, 0x802b
|
||||
func_802A9228:
|
||||
/* 41DFB8 802A9228 258CD570 */ addiu $t4, $t4, -0x2a90
|
||||
/* 41DFBC 802A922C 3C0B802B */ lui $t3, 0x802b
|
||||
/* 41DFC0 802A9230 256BD2C0 */ addiu $t3, $t3, -0x2d40
|
||||
func_802A9234:
|
||||
/* 41DFC4 802A9234 3C0A802B */ lui $t2, 0x802b
|
||||
/* 41DFC8 802A9238 254AD510 */ addiu $t2, $t2, -0x2af0
|
||||
/* 41DFCC 802A923C 3C09802B */ lui $t1, 0x802b
|
||||
@ -9127,7 +9123,6 @@ func_802A9234:
|
||||
/* 41DFD8 802A9248 2508D440 */ addiu $t0, $t0, -0x2bc0
|
||||
/* 41DFDC 802A924C 3C06802B */ lui $a2, 0x802b
|
||||
/* 41DFE0 802A9250 24C6D320 */ addiu $a2, $a2, -0x2ce0
|
||||
func_802A9254:
|
||||
/* 41DFE4 802A9254 3C05802B */ lui $a1, 0x802b
|
||||
/* 41DFE8 802A9258 24A5D260 */ addiu $a1, $a1, -0x2da0
|
||||
.L802A925C:
|
||||
@ -9138,21 +9133,16 @@ func_802A9254:
|
||||
/* 41DFFC 802A926C 004F1021 */ addu $v0, $v0, $t7
|
||||
/* 41E000 802A9270 8C420000 */ lw $v0, ($v0)
|
||||
/* 41E004 802A9274 ACA20000 */ sw $v0, ($a1)
|
||||
func_802A9278:
|
||||
/* 41E008 802A9278 00031080 */ sll $v0, $v1, 2
|
||||
/* 41E00C 802A927C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 41E010 802A9280 00021080 */ sll $v0, $v0, 2
|
||||
/* 41E014 802A9284 808301F6 */ lb $v1, 0x1f6($a0)
|
||||
/* 41E018 802A9288 14600008 */ bnez $v1, .L802A92AC
|
||||
func_802A928C:
|
||||
/* 41E01C 802A928C 00523821 */ addu $a3, $v0, $s2
|
||||
/* 41E020 802A9290 908201DE */ lbu $v0, 0x1de($a0)
|
||||
func_802A9294:
|
||||
/* 41E024 802A9294 2442FF89 */ addiu $v0, $v0, -0x77
|
||||
func_802A9298:
|
||||
/* 41E028 802A9298 000210C0 */ sll $v0, $v0, 3
|
||||
/* 41E02C 802A929C 34420004 */ ori $v0, $v0, 4
|
||||
func_802A92A0:
|
||||
/* 41E030 802A92A0 004F1021 */ addu $v0, $v0, $t7
|
||||
/* 41E034 802A92A4 8C420000 */ lw $v0, ($v0)
|
||||
/* 41E038 802A92A8 ACA20000 */ sw $v0, ($a1)
|
||||
@ -9167,16 +9157,13 @@ func_802A92A0:
|
||||
/* 41E058 802A92C8 25290004 */ addiu $t1, $t1, 4
|
||||
/* 41E05C 802A92CC 25080004 */ addiu $t0, $t0, 4
|
||||
/* 41E060 802A92D0 02301021 */ addu $v0, $s1, $s0
|
||||
func_802A92D4:
|
||||
/* 41E064 802A92D4 A0510000 */ sb $s1, ($v0)
|
||||
/* 41E068 802A92D8 808201F6 */ lb $v0, 0x1f6($a0)
|
||||
func_802A92DC:
|
||||
/* 41E06C 802A92DC 26310001 */ addiu $s1, $s1, 1
|
||||
/* 41E070 802A92E0 AD420000 */ sw $v0, ($t2)
|
||||
/* 41E074 802A92E4 8CE20000 */ lw $v0, ($a3)
|
||||
/* 41E078 802A92E8 254A0004 */ addiu $t2, $t2, 4
|
||||
/* 41E07C 802A92EC AD620000 */ sw $v0, ($t3)
|
||||
func_802A92F0:
|
||||
/* 41E080 802A92F0 8CE20008 */ lw $v0, 8($a3)
|
||||
/* 41E084 802A92F4 256B0004 */ addiu $t3, $t3, 4
|
||||
/* 41E088 802A92F8 AD820000 */ sw $v0, ($t4)
|
||||
@ -9185,7 +9172,6 @@ func_802A92F0:
|
||||
/* 41E094 802A9304 25CE0004 */ addiu $t6, $t6, 4
|
||||
/* 41E098 802A9308 25AD0004 */ addiu $t5, $t5, 4
|
||||
/* 41E09C 802A930C 9282020E */ lbu $v0, 0x20e($s4)
|
||||
func_802A9310:
|
||||
/* 41E0A0 802A9310 0222102A */ slt $v0, $s1, $v0
|
||||
/* 41E0A4 802A9314 1440FFD1 */ bnez $v0, .L802A925C
|
||||
/* 41E0A8 802A9318 258C0004 */ addiu $t4, $t4, 4
|
||||
@ -9207,16 +9193,13 @@ func_802A9310:
|
||||
/* 41E0E0 802A9350 00000000 */ nop
|
||||
/* 41E0E4 802A9354 080AA6A9 */ j .L802A9AA4
|
||||
/* 41E0E8 802A9358 2402003D */ addiu $v0, $zero, 0x3d
|
||||
|
||||
/* 41E0EC 802A935C 0C0A8B21 */ jal func_802A2C84
|
||||
/* 41E0F0 802A9360 00000000 */ nop
|
||||
/* 41E0F4 802A9364 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 41E0F8 802A9368 120001D0 */ beqz $s0, .L802A9AAC
|
||||
func_802A936C:
|
||||
/* 41E0FC 802A936C 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 41E100 802A9370 5602000B */ bnel $s0, $v0, .L802A93A0
|
||||
/* 41E104 802A9374 2602FFFF */ addiu $v0, $s0, -1
|
||||
func_802A9378:
|
||||
/* 41E108 802A9378 0C0A8414 */ jal func_802A1050
|
||||
/* 41E10C 802A937C 00000000 */ nop
|
||||
/* 41E110 802A9380 24020008 */ addiu $v0, $zero, 8
|
||||
@ -9290,16 +9273,13 @@ func_802A9378:
|
||||
/* 41E20C 802A947C AE850184 */ sw $a1, 0x184($s4)
|
||||
/* 41E210 802A9480 080AA6AB */ j .L802A9AAC
|
||||
/* 41E214 802A9484 00000000 */ nop
|
||||
|
||||
/* 41E218 802A9488 0C0A8B21 */ jal func_802A2C84
|
||||
func_802A948C:
|
||||
/* 41E21C 802A948C 00000000 */ nop
|
||||
/* 41E220 802A9490 0C0A846C */ jal func_802A11B0
|
||||
/* 41E224 802A9494 00000000 */ nop
|
||||
/* 41E228 802A9498 10400184 */ beqz $v0, .L802A9AAC
|
||||
/* 41E22C 802A949C 2402003D */ addiu $v0, $zero, 0x3d
|
||||
/* 41E230 802A94A0 080AA6A9 */ j .L802A9AA4
|
||||
func_802A94A4:
|
||||
/* 41E234 802A94A4 00000000 */ nop
|
||||
|
||||
/* 41E238 802A94A8 0C0A8AAE */ jal func_802A2AB8
|
||||
@ -9316,7 +9296,6 @@ func_802A94A4:
|
||||
|
||||
/* 41E260 802A94D0 0C098C9A */ jal func_80263268
|
||||
/* 41E264 802A94D4 0000802D */ daddu $s0, $zero, $zero
|
||||
func_802A94D8:
|
||||
/* 41E268 802A94D8 8282007C */ lb $v0, 0x7c($s4)
|
||||
/* 41E26C 802A94DC 04400023 */ bltz $v0, .L802A956C
|
||||
/* 41E270 802A94E0 3C05001D */ lui $a1, 0x1d
|
||||
@ -9344,14 +9323,12 @@ func_802A94D8:
|
||||
/* 41E2C8 802A9538 2484D640 */ addiu $a0, $a0, -0x29c0
|
||||
/* 41E2CC 802A953C 1C40000A */ bgtz $v0, .L802A9568
|
||||
/* 41E2D0 802A9540 AC830000 */ sw $v1, ($a0)
|
||||
func_802A9544:
|
||||
/* 41E2D4 802A9544 82E20012 */ lb $v0, 0x12($s7)
|
||||
/* 41E2D8 802A9548 00021080 */ sll $v0, $v0, 2
|
||||
/* 41E2DC 802A954C 3C01802B */ lui $at, 0x802b
|
||||
/* 41E2E0 802A9550 00220821 */ addu $at, $at, $v0
|
||||
/* 41E2E4 802A9554 8C22B438 */ lw $v0, -0x4bc8($at)
|
||||
/* 41E2E8 802A9558 ACC00000 */ sw $zero, ($a2)
|
||||
func_802A955C:
|
||||
/* 41E2EC 802A955C 3C01802B */ lui $at, 0x802b
|
||||
/* 41E2F0 802A9560 AC20D6A8 */ sw $zero, -0x2958($at)
|
||||
/* 41E2F4 802A9564 AC820000 */ sw $v0, ($a0)
|
||||
@ -9367,11 +9344,9 @@ func_802A955C:
|
||||
/* 41E314 802A9584 00230821 */ addu $at, $at, $v1
|
||||
/* 41E318 802A9588 AC22D678 */ sw $v0, -0x2988($at)
|
||||
/* 41E31C 802A958C 24020001 */ addiu $v0, $zero, 1
|
||||
func_802A9590:
|
||||
/* 41E320 802A9590 3C01802B */ lui $at, 0x802b
|
||||
/* 41E324 802A9594 00230821 */ addu $at, $at, $v1
|
||||
/* 41E328 802A9598 AC22D690 */ sw $v0, -0x2970($at)
|
||||
func_802A959C:
|
||||
/* 41E32C 802A959C 3C01802B */ lui $at, 0x802b
|
||||
/* 41E330 802A95A0 00230821 */ addu $at, $at, $v1
|
||||
/* 41E334 802A95A4 AC24D640 */ sw $a0, -0x29c0($at)
|
||||
@ -9412,10 +9387,8 @@ func_802A959C:
|
||||
/* 41E3B8 802A9628 3C01802B */ lui $at, 0x802b
|
||||
/* 41E3BC 802A962C AC22CC60 */ sw $v0, -0x33a0($at)
|
||||
/* 41E3C0 802A9630 24020004 */ addiu $v0, $zero, 4
|
||||
func_802A9634:
|
||||
/* 41E3C4 802A9634 3C01802B */ lui $at, 0x802b
|
||||
/* 41E3C8 802A9638 AC22CC6C */ sw $v0, -0x3394($at)
|
||||
func_802A963C:
|
||||
/* 41E3CC 802A963C 080AA641 */ j .L802A9904
|
||||
/* 41E3D0 802A9640 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
@ -9428,7 +9401,6 @@ func_802A963C:
|
||||
/* 41E3E8 802A9658 A282004A */ sb $v0, 0x4a($s4)
|
||||
/* 41E3EC 802A965C 8283004A */ lb $v1, 0x4a($s4)
|
||||
/* 41E3F0 802A9660 24020005 */ addiu $v0, $zero, 5
|
||||
func_802A9664:
|
||||
/* 41E3F4 802A9664 106200A7 */ beq $v1, $v0, .L802A9904
|
||||
/* 41E3F8 802A9668 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 41E3FC 802A966C 0C0A91C6 */ jal func_802A4718
|
||||
@ -9451,7 +9423,6 @@ func_802A9664:
|
||||
/* 41E43C 802A96AC 0C0A8426 */ jal func_802A1098
|
||||
/* 41E440 802A96B0 00000000 */ nop
|
||||
/* 41E444 802A96B4 080AA6A9 */ j .L802A9AA4
|
||||
func_802A96B8:
|
||||
/* 41E448 802A96B8 240200CB */ addiu $v0, $zero, 0xcb
|
||||
|
||||
.L802A96BC:
|
||||
@ -9463,15 +9434,12 @@ func_802A96B8:
|
||||
/* 41E460 802A96D0 A682006C */ sh $v0, 0x6c($s4)
|
||||
/* 41E464 802A96D4 240200CD */ addiu $v0, $zero, 0xcd
|
||||
/* 41E468 802A96D8 A682006E */ sh $v0, 0x6e($s4)
|
||||
func_802A96DC:
|
||||
/* 41E46C 802A96DC 24020009 */ addiu $v0, $zero, 9
|
||||
/* 41E470 802A96E0 1202000C */ beq $s0, $v0, .L802A9714
|
||||
/* 41E474 802A96E4 2A02000A */ slti $v0, $s0, 0xa
|
||||
/* 41E478 802A96E8 10400005 */ beqz $v0, .L802A9700
|
||||
func_802A96EC:
|
||||
/* 41E47C 802A96EC 24020003 */ addiu $v0, $zero, 3
|
||||
/* 41E480 802A96F0 12020011 */ beq $s0, $v0, .L802A9738
|
||||
func_802A96F4:
|
||||
/* 41E484 802A96F4 240200CD */ addiu $v0, $zero, 0xcd
|
||||
/* 41E488 802A96F8 080AA6AB */ j .L802A9AAC
|
||||
/* 41E48C 802A96FC 00000000 */ nop
|
||||
@ -9479,17 +9447,14 @@ func_802A96F4:
|
||||
.L802A9700:
|
||||
/* 41E490 802A9700 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 41E494 802A9704 12020017 */ beq $s0, $v0, .L802A9764
|
||||
func_802A9708:
|
||||
/* 41E498 802A9708 240200CD */ addiu $v0, $zero, 0xcd
|
||||
/* 41E49C 802A970C 080AA6AB */ j .L802A9AAC
|
||||
/* 41E4A0 802A9710 00000000 */ nop
|
||||
|
||||
.L802A9714:
|
||||
/* 41E4A4 802A9714 240200CD */ addiu $v0, $zero, 0xcd
|
||||
func_802A9718:
|
||||
/* 41E4A8 802A9718 3C01800E */ lui $at, 0x800e
|
||||
/* 41E4AC 802A971C AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
func_802A9720:
|
||||
/* 41E4B0 802A9720 0C0AA072 */ jal update_partner_menu
|
||||
/* 41E4B4 802A9724 00000000 */ nop
|
||||
/* 41E4B8 802A9728 0C090464 */ jal func_80241190
|
||||
@ -9499,10 +9464,8 @@ func_802A9720:
|
||||
|
||||
.L802A9738:
|
||||
/* 41E4C8 802A9738 3C01800E */ lui $at, 0x800e
|
||||
func_802A973C:
|
||||
/* 41E4CC 802A973C AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 41E4D0 802A9740 0C0AA072 */ jal update_partner_menu
|
||||
func_802A9744:
|
||||
/* 41E4D4 802A9744 00000000 */ nop
|
||||
/* 41E4D8 802A9748 24040018 */ addiu $a0, $zero, 0x18
|
||||
/* 41E4DC 802A974C 24020039 */ addiu $v0, $zero, 0x39
|
||||
@ -9533,18 +9496,18 @@ func_802A9744:
|
||||
/* 41E530 802A97A0 AC22CC60 */ sw $v0, -0x33a0($at)
|
||||
/* 41E534 802A97A4 24020004 */ addiu $v0, $zero, 4
|
||||
/* 41E538 802A97A8 3C01802B */ lui $at, 0x802b
|
||||
func_802A97AC:
|
||||
glabel func_802A97AC
|
||||
/* 41E53C 802A97AC AC22CC6C */ sw $v0, -0x3394($at)
|
||||
/* 41E540 802A97B0 080AA6A9 */ j .L802A9AA4
|
||||
/* 41E544 802A97B4 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
/* 41E548 802A97B8 0C0A923F */ jal func_802A48FC
|
||||
func_802A97BC:
|
||||
glabel func_802A97BC
|
||||
/* 41E54C 802A97BC 00000000 */ nop
|
||||
/* 41E550 802A97C0 0C0A8426 */ jal func_802A1098
|
||||
/* 41E554 802A97C4 00000000 */ nop
|
||||
/* 41E558 802A97C8 080AA6A9 */ j .L802A9AA4
|
||||
func_802A97CC:
|
||||
glabel func_802A97CC
|
||||
/* 41E55C 802A97CC 240200CB */ addiu $v0, $zero, 0xcb
|
||||
|
||||
/* 41E560 802A97D0 0000802D */ daddu $s0, $zero, $zero
|
||||
@ -9557,34 +9520,34 @@ func_802A97CC:
|
||||
/* 41E57C 802A97EC 3C09802B */ lui $t1, 0x802b
|
||||
/* 41E580 802A97F0 2529B438 */ addiu $t1, $t1, -0x4bc8
|
||||
/* 41E584 802A97F4 3C088009 */ lui $t0, 0x8009
|
||||
func_802A97F8:
|
||||
glabel func_802A97F8
|
||||
/* 41E588 802A97F8 2508EEC4 */ addiu $t0, $t0, -0x113c
|
||||
func_802A97FC:
|
||||
glabel func_802A97FC
|
||||
/* 41E58C 802A97FC 0240202D */ daddu $a0, $s2, $zero
|
||||
.L802A9800:
|
||||
/* 41E590 802A9800 8D050000 */ lw $a1, ($t0)
|
||||
/* 41E594 802A9804 000510C0 */ sll $v0, $a1, 3
|
||||
/* 41E598 802A9808 02E23021 */ addu $a2, $s7, $v0
|
||||
/* 41E59C 802A980C 90C20014 */ lbu $v0, 0x14($a2)
|
||||
func_802A9810:
|
||||
glabel func_802A9810
|
||||
/* 41E5A0 802A9810 50400019 */ beql $v0, $zero, .L802A9878
|
||||
/* 41E5A4 802A9814 26310001 */ addiu $s1, $s1, 1
|
||||
/* 41E5A8 802A9818 00051900 */ sll $v1, $a1, 4
|
||||
func_802A981C:
|
||||
glabel func_802A981C
|
||||
/* 41E5AC 802A981C 00053880 */ sll $a3, $a1, 2
|
||||
/* 41E5B0 802A9820 00EB1021 */ addu $v0, $a3, $t3
|
||||
/* 41E5B4 802A9824 8C420000 */ lw $v0, ($v0)
|
||||
/* 41E5B8 802A9828 006C1821 */ addu $v1, $v1, $t4
|
||||
/* 41E5BC 802A982C AC850108 */ sw $a1, 0x108($a0)
|
||||
/* 41E5C0 802A9830 AC8A018C */ sw $t2, 0x18c($a0)
|
||||
func_802A9834:
|
||||
glabel func_802A9834
|
||||
/* 41E5C4 802A9834 AC820000 */ sw $v0, ($a0)
|
||||
/* 41E5C8 802A9838 8C620000 */ lw $v0, ($v1)
|
||||
/* 41E5CC 802A983C AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 41E5D0 802A9840 8C62000C */ lw $v0, 0xc($v1)
|
||||
/* 41E5D4 802A9844 AC820294 */ sw $v0, 0x294($a0)
|
||||
/* 41E5D8 802A9848 80C20015 */ lb $v0, 0x15($a2)
|
||||
func_802A984C:
|
||||
glabel func_802A984C
|
||||
/* 41E5DC 802A984C AC820210 */ sw $v0, 0x210($a0)
|
||||
/* 41E5E0 802A9850 82E20012 */ lb $v0, 0x12($s7)
|
||||
/* 41E5E4 802A9854 54450006 */ bnel $v0, $a1, .L802A9870
|
||||
@ -9606,16 +9569,16 @@ func_802A984C:
|
||||
/* 41E61C 802A988C A2800061 */ sb $zero, 0x61($s4)
|
||||
.L802A9890:
|
||||
/* 41E620 802A9890 82E30012 */ lb $v1, 0x12($s7)
|
||||
func_802A9894:
|
||||
glabel func_802A9894
|
||||
/* 41E624 802A9894 24020001 */ addiu $v0, $zero, 1
|
||||
func_802A9898:
|
||||
glabel func_802A9898
|
||||
/* 41E628 802A9898 AE420318 */ sw $v0, 0x318($s2)
|
||||
/* 41E62C 802A989C AE500324 */ sw $s0, 0x324($s2)
|
||||
/* 41E630 802A98A0 00031880 */ sll $v1, $v1, 2
|
||||
/* 41E634 802A98A4 3C028009 */ lui $v0, 0x8009
|
||||
/* 41E638 802A98A8 00431021 */ addu $v0, $v0, $v1
|
||||
/* 41E63C 802A98AC 8C42EEF0 */ lw $v0, -0x1110($v0)
|
||||
func_802A98B0:
|
||||
glabel func_802A98B0
|
||||
/* 41E640 802A98B0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 41E644 802A98B4 AC80031C */ sw $zero, 0x31c($a0)
|
||||
/* 41E648 802A98B8 AC800320 */ sw $zero, 0x320($a0)
|
||||
@ -9624,14 +9587,14 @@ func_802A98B0:
|
||||
/* 41E654 802A98C4 AC820328 */ sw $v0, 0x328($a0)
|
||||
/* 41E658 802A98C8 0C03D4AF */ jal func_800F52BC
|
||||
/* 41E65C 802A98CC 00000000 */ nop
|
||||
func_802A98D0:
|
||||
glabel func_802A98D0
|
||||
/* 41E660 802A98D0 080AA6A9 */ j .L802A9AA4
|
||||
/* 41E664 802A98D4 2402001F */ addiu $v0, $zero, 0x1f
|
||||
|
||||
/* 41E668 802A98D8 8643032C */ lh $v1, 0x32c($s2)
|
||||
func_802A98DC:
|
||||
glabel func_802A98DC
|
||||
/* 41E66C 802A98DC 2402FFFF */ addiu $v0, $zero, -1
|
||||
func_802A98E0:
|
||||
glabel func_802A98E0
|
||||
/* 41E670 802A98E0 10620070 */ beq $v1, $v0, .L802A9AA4
|
||||
/* 41E674 802A98E4 24020024 */ addiu $v0, $zero, 0x24
|
||||
/* 41E678 802A98E8 10600070 */ beqz $v1, .L802A9AAC
|
||||
@ -9646,7 +9609,7 @@ func_802A98E0:
|
||||
/* 41E698 802A9908 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 41E69C 802A990C 0C0AA072 */ jal update_partner_menu
|
||||
/* 41E6A0 802A9910 00000000 */ nop
|
||||
func_802A9914:
|
||||
glabel func_802A9914
|
||||
/* 41E6A4 802A9914 0C0AA072 */ jal update_partner_menu
|
||||
/* 41E6A8 802A9918 00000000 */ nop
|
||||
/* 41E6AC 802A991C 080AA6AB */ j .L802A9AAC
|
||||
@ -9655,7 +9618,7 @@ func_802A9914:
|
||||
.L802A9924:
|
||||
/* 41E6B4 802A9924 A682006C */ sh $v0, 0x6c($s4)
|
||||
/* 41E6B8 802A9928 8642032C */ lh $v0, 0x32c($s2)
|
||||
func_802A992C:
|
||||
glabel func_802A992C
|
||||
/* 41E6BC 802A992C 24030023 */ addiu $v1, $zero, 0x23
|
||||
/* 41E6C0 802A9930 A683006E */ sh $v1, 0x6e($s4)
|
||||
/* 41E6C4 802A9934 2442FFFF */ addiu $v0, $v0, -1
|
||||
@ -9681,9 +9644,7 @@ func_802A992C:
|
||||
/* 41E714 802A9984 0C0A840C */ jal func_802A1030
|
||||
/* 41E718 802A9988 00000000 */ nop
|
||||
/* 41E71C 802A998C 080AA6A9 */ j .L802A9AA4
|
||||
func_802A9990:
|
||||
/* 41E720 802A9990 24020020 */ addiu $v0, $zero, 0x20
|
||||
|
||||
/* 41E724 802A9994 8E820214 */ lw $v0, 0x214($s4)
|
||||
/* 41E728 802A9998 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 41E72C 802A999C 1040000C */ beqz $v0, .L802A99D0
|
||||
@ -9699,10 +9660,8 @@ func_802A9990:
|
||||
/* 41E754 802A99C4 00000000 */ nop
|
||||
/* 41E758 802A99C8 080AA6A9 */ j .L802A9AA4
|
||||
/* 41E75C 802A99CC 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
||||
.L802A99D0:
|
||||
/* 41E760 802A99D0 0C0A9295 */ jal func_802A4A54
|
||||
func_802A99D4:
|
||||
/* 41E764 802A99D4 00000000 */ nop
|
||||
.L802A99D8:
|
||||
/* 41E768 802A99D8 0C0A846C */ jal func_802A11B0
|
||||
@ -9718,7 +9677,6 @@ func_802A99D4:
|
||||
/* 41E790 802A9A00 2404001D */ addiu $a0, $zero, 0x1d
|
||||
/* 41E794 802A9A04 080AA6AB */ j .L802A9AAC
|
||||
/* 41E798 802A9A08 00000000 */ nop
|
||||
|
||||
/* 41E79C 802A9A0C 0C0A9295 */ jal func_802A4A54
|
||||
/* 41E7A0 802A9A10 00000000 */ nop
|
||||
/* 41E7A4 802A9A14 0C0A846C */ jal func_802A11B0
|
||||
@ -9727,9 +9685,7 @@ func_802A99D4:
|
||||
/* 41E7B0 802A9A20 2402001F */ addiu $v0, $zero, 0x1f
|
||||
/* 41E7B4 802A9A24 080AA6A9 */ j .L802A9AA4
|
||||
/* 41E7B8 802A9A28 00000000 */ nop
|
||||
|
||||
/* 41E7BC 802A9A2C 0C03C5B3 */ jal func_800F16CC
|
||||
func_802A9A30:
|
||||
/* 41E7C0 802A9A30 00000000 */ nop
|
||||
/* 41E7C4 802A9A34 0C0A9284 */ jal func_802A4A10
|
||||
/* 41E7C8 802A9A38 00000000 */ nop
|
||||
@ -9737,15 +9693,12 @@ func_802A9A30:
|
||||
/* 41E7D0 802A9A40 00000000 */ nop
|
||||
/* 41E7D4 802A9A44 080AA6A9 */ j .L802A9AA4
|
||||
/* 41E7D8 802A9A48 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
||||
/* 41E7DC 802A9A4C 0C03C54E */ jal func_800F1538
|
||||
/* 41E7E0 802A9A50 00000000 */ nop
|
||||
func_802A9A54:
|
||||
/* 41E7E4 802A9A54 0C0A91CB */ jal func_802A472C
|
||||
/* 41E7E8 802A9A58 00000000 */ nop
|
||||
/* 41E7EC 802A9A5C 080AA46A */ j .L802A91A8
|
||||
/* 41E7F0 802A9A60 00000000 */ nop
|
||||
|
||||
/* 41E7F4 802A9A64 24040006 */ addiu $a0, $zero, 6
|
||||
/* 41E7F8 802A9A68 0C051F9F */ jal func_80147E7C
|
||||
/* 41E7FC 802A9A6C 24050002 */ addiu $a1, $zero, 2
|
||||
@ -9782,7 +9735,7 @@ func_802A9A54:
|
||||
/* 41E870 802A9AE0 03E00008 */ jr $ra
|
||||
/* 41E874 802A9AE4 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
|
||||
func_802A9AE8:
|
||||
glabel func_802A9AE8
|
||||
/* 41E878 802A9AE8 3C02800E */ lui $v0, 0x800e
|
||||
/* 41E87C 802A9AEC 8C42C4DC */ lw $v0, -0x3b24($v0)
|
||||
/* 41E880 802A9AF0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -9803,14 +9756,14 @@ func_802A9AE8:
|
||||
/* 41E8B8 802A9B28 03E00008 */ jr $ra
|
||||
/* 41E8BC 802A9B2C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802A9B30:
|
||||
glabel func_802A9B30
|
||||
/* 41E8C0 802A9B30 3C02800E */ lui $v0, 0x800e
|
||||
/* 41E8C4 802A9B34 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 41E8C8 802A9B38 30420004 */ andi $v0, $v0, 4
|
||||
/* 41E8CC 802A9B3C 03E00008 */ jr $ra
|
||||
/* 41E8D0 802A9B40 2C420001 */ sltiu $v0, $v0, 1
|
||||
|
||||
func_802A9B44:
|
||||
glabel func_802A9B44
|
||||
/* 41E8D4 802A9B44 3C03800E */ lui $v1, 0x800e
|
||||
/* 41E8D8 802A9B48 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 41E8DC 802A9B4C 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
@ -10138,7 +10091,7 @@ func_802A9B44:
|
||||
/* 41ED9C 802AA00C 24020009 */ addiu $v0, $zero, 9
|
||||
|
||||
/* 41EDA0 802AA010 0C093EAD */ jal is_popup_displayed
|
||||
func_802AA014:
|
||||
glabel func_802AA014
|
||||
/* 41EDA4 802AA014 00000000 */ nop
|
||||
/* 41EDA8 802AA018 14400007 */ bnez $v0, .L802AA038
|
||||
/* 41EDAC 802AA01C 24020001 */ addiu $v0, $zero, 1
|
||||
@ -10160,7 +10113,7 @@ func_802AA014:
|
||||
/* 41EDE4 802AA054 03E00008 */ jr $ra
|
||||
/* 41EDE8 802AA058 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_802AA05C:
|
||||
glabel func_802AA05C
|
||||
/* 41EDEC 802AA05C 3C02800E */ lui $v0, 0x800e
|
||||
/* 41EDF0 802AA060 8C42C4DC */ lw $v0, -0x3b24($v0)
|
||||
/* 41EDF4 802AA064 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -10181,14 +10134,14 @@ func_802AA05C:
|
||||
/* 41EE2C 802AA09C 03E00008 */ jr $ra
|
||||
/* 41EE30 802AA0A0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802AA0A4:
|
||||
glabel func_802AA0A4
|
||||
/* 41EE34 802AA0A4 3C02800E */ lui $v0, 0x800e
|
||||
/* 41EE38 802AA0A8 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 41EE3C 802AA0AC 30420002 */ andi $v0, $v0, 2
|
||||
/* 41EE40 802AA0B0 03E00008 */ jr $ra
|
||||
/* 41EE44 802AA0B4 2C420001 */ sltiu $v0, $v0, 1
|
||||
|
||||
func_802AA0B8:
|
||||
glabel func_802AA0B8
|
||||
/* 41EE48 802AA0B8 3C03800E */ lui $v1, 0x800e
|
||||
/* 41EE4C 802AA0BC 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 41EE50 802AA0C0 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
@ -10197,7 +10150,7 @@ func_802AA0B8:
|
||||
/* 41EE5C 802AA0CC 2652C070 */ addiu $s2, $s2, -0x3f90
|
||||
/* 41EE60 802AA0D0 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 41EE64 802AA0D4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
func_802AA0D8:
|
||||
glabel func_802AA0D8
|
||||
/* 41EE68 802AA0D8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 41EE6C 802AA0DC F7B80030 */ sdc1 $f24, 0x30($sp)
|
||||
/* 41EE70 802AA0E0 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
@ -10573,7 +10526,7 @@ func_802AA0D8:
|
||||
/* 41F3C8 802AA638 03E00008 */ jr $ra
|
||||
/* 41F3CC 802AA63C 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_802AA640:
|
||||
glabel func_802AA640
|
||||
/* 41F3D0 802AA640 3C02800E */ lui $v0, 0x800e
|
||||
/* 41F3D4 802AA644 8C42C4DC */ lw $v0, -0x3b24($v0)
|
||||
/* 41F3D8 802AA648 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -10594,7 +10547,7 @@ func_802AA640:
|
||||
/* 41F410 802AA680 03E00008 */ jr $ra
|
||||
/* 41F414 802AA684 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
update_targeting_enemies:
|
||||
glabel update_targeting_enemies
|
||||
/* 41F418 802AA688 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 41F41C 802AA68C AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 41F420 802AA690 3C14800E */ lui $s4, 0x800e
|
||||
@ -11064,7 +11017,7 @@ update_targeting_enemies:
|
||||
/* 41FA60 802AACD0 03E00008 */ jr $ra
|
||||
/* 41FA64 802AACD4 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_802AACD8:
|
||||
glabel func_802AACD8
|
||||
/* 41FA68 802AACD8 27BDFF58 */ addiu $sp, $sp, -0xa8
|
||||
/* 41FA6C 802AACDC 3C02800E */ lui $v0, 0x800e
|
||||
/* 41FA70 802AACE0 8C42C070 */ lw $v0, -0x3f90($v0)
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80028EE0, "ax"
|
||||
|
||||
poll_rumble:
|
||||
glabel poll_rumble
|
||||
/* 0042E0 80028EE0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0042E4 80028EE4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0042E8 80028EE8 0C017FBC */ jal nuContRmbCheck
|
||||
@ -23,7 +23,7 @@ poll_rumble:
|
||||
/* 004300 80028F00 03E00008 */ jr $ra
|
||||
/* 004304 80028F04 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
start_rumble:
|
||||
glabel start_rumble
|
||||
/* 004308 80028F08 3C028007 */ lui $v0, 0x8007
|
||||
/* 00430C 80028F0C 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 004310 80028F10 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -60,7 +60,7 @@ start_rumble:
|
||||
/* 004384 80028F84 03E00008 */ jr $ra
|
||||
/* 004388 80028F88 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80028F8C:
|
||||
glabel func_80028F8C
|
||||
/* 00438C 80028F8C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 004390 80028F90 3C028007 */ lui $v0, 0x8007
|
||||
/* 004394 80028F94 8C42419C */ lw $v0, 0x419c($v0)
|
||||
@ -85,13 +85,13 @@ func_80028F8C:
|
||||
/* 0043D8 80028FD8 03E00008 */ jr $ra
|
||||
/* 0043DC 80028FDC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80028FE0:
|
||||
glabel func_80028FE0
|
||||
/* 0043E0 80028FE0 2402012C */ addiu $v0, $zero, 0x12c
|
||||
/* 0043E4 80028FE4 3C018007 */ lui $at, 0x8007
|
||||
/* 0043E8 80028FE8 03E00008 */ jr $ra
|
||||
/* 0043EC 80028FEC A4224260 */ sh $v0, 0x4260($at)
|
||||
|
||||
length2D:
|
||||
glabel length2D
|
||||
/* 0043F0 80028FF0 460C6302 */ mul.s $f12, $f12, $f12
|
||||
/* 0043F4 80028FF4 00000000 */ nop
|
||||
/* 0043F8 80028FF8 460E7382 */ mul.s $f14, $f14, $f14
|
||||
@ -110,7 +110,7 @@ length2D:
|
||||
/* 004428 80029028 03E00008 */ jr $ra
|
||||
/* 00442C 8002902C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
_heap_create:
|
||||
glabel _heap_create
|
||||
/* 004430 80029030 2CA20020 */ sltiu $v0, $a1, 0x20
|
||||
/* 004434 80029034 1440000B */ bnez $v0, .L80029064
|
||||
/* 004438 80029038 2482000F */ addiu $v0, $a0, 0xf
|
||||
@ -129,7 +129,7 @@ _heap_create:
|
||||
/* 004464 80029064 03E00008 */ jr $ra
|
||||
/* 004468 80029068 2402FFFF */ addiu $v0, $zero, -1
|
||||
|
||||
_heap_malloc:
|
||||
glabel _heap_malloc
|
||||
/* 00446C 8002906C 24A5000F */ addiu $a1, $a1, 0xf
|
||||
/* 004470 80029070 2402FFF0 */ addiu $v0, $zero, -0x10
|
||||
/* 004474 80029074 00A22824 */ and $a1, $a1, $v0
|
||||
@ -203,7 +203,7 @@ _heap_malloc:
|
||||
/* 00455C 8002915C 03E00008 */ jr $ra
|
||||
/* 004560 80029160 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
_heap_malloc_tail:
|
||||
glabel _heap_malloc_tail
|
||||
/* 004564 80029164 24A5000F */ addiu $a1, $a1, 0xf
|
||||
/* 004568 80029168 2402FFF0 */ addiu $v0, $zero, -0x10
|
||||
/* 00456C 8002916C 00A22824 */ and $a1, $a1, $v0
|
||||
@ -260,7 +260,7 @@ _heap_malloc_tail:
|
||||
/* 004614 80029214 03E00008 */ jr $ra
|
||||
/* 004618 80029218 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
_heap_free:
|
||||
glabel _heap_free
|
||||
/* 00461C 8002921C 14A00003 */ bnez $a1, .L8002922C
|
||||
/* 004620 80029220 00000000 */ nop
|
||||
.L80029224:
|
||||
@ -312,7 +312,7 @@ _heap_free:
|
||||
/* 0046BC 800292BC 03E00008 */ jr $ra
|
||||
/* 0046C0 800292C0 A4600008 */ sh $zero, 8($v1)
|
||||
|
||||
_heap_realloc:
|
||||
glabel _heap_realloc
|
||||
/* 0046C4 800292C4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0046C8 800292C8 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0046CC 800292CC 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -392,7 +392,7 @@ _heap_realloc:
|
||||
/* 0047CC 800293CC 03E00008 */ jr $ra
|
||||
/* 0047D0 800293D0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
cosine:
|
||||
glabel cosine
|
||||
/* 0047D4 800293D4 3C06B60B */ lui $a2, 0xb60b
|
||||
/* 0047D8 800293D8 34C660B7 */ ori $a2, $a2, 0x60b7
|
||||
/* 0047DC 800293DC 00042400 */ sll $a0, $a0, 0x10
|
||||
@ -453,7 +453,7 @@ cosine:
|
||||
/* 0048A8 800294A8 03E00008 */ jr $ra
|
||||
/* 0048AC 800294AC 46000007 */ neg.s $f0, $f0
|
||||
|
||||
sign:
|
||||
glabel sign
|
||||
/* 0048B0 800294B0 04800002 */ bltz $a0, .L800294BC
|
||||
/* 0048B4 800294B4 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 0048B8 800294B8 0004102A */ slt $v0, $zero, $a0
|
||||
@ -461,7 +461,7 @@ sign:
|
||||
/* 0048BC 800294BC 03E00008 */ jr $ra
|
||||
/* 0048C0 800294C0 00000000 */ nop
|
||||
|
||||
int_to_string:
|
||||
glabel int_to_string
|
||||
/* 0048C4 800294C4 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
/* 0048C8 800294C8 AFB7006C */ sw $s7, 0x6c($sp)
|
||||
/* 0048CC 800294CC 00C0B82D */ daddu $s7, $a2, $zero
|
||||
@ -547,7 +547,7 @@ int_to_string:
|
||||
/* 0049F8 800295F8 03E00008 */ jr $ra
|
||||
/* 0049FC 800295FC 27BD0078 */ addiu $sp, $sp, 0x78
|
||||
|
||||
mem_clear:
|
||||
glabel mem_clear
|
||||
/* 004A00 80029600 18A00005 */ blez $a1, .L80029618
|
||||
/* 004A04 80029604 00000000 */ nop
|
||||
.L80029608:
|
||||
@ -559,7 +559,7 @@ mem_clear:
|
||||
/* 004A18 80029618 03E00008 */ jr $ra
|
||||
/* 004A1C 8002961C 00000000 */ nop
|
||||
|
||||
transform_point:
|
||||
glabel transform_point
|
||||
/* 004A20 80029620 44853000 */ mtc1 $a1, $f6
|
||||
/* 004A24 80029624 C4800000 */ lwc1 $f0, ($a0)
|
||||
/* 004A28 80029628 46060002 */ mul.s $f0, $f0, $f6
|
||||
@ -625,7 +625,7 @@ transform_point:
|
||||
/* 004B18 80029718 03E00008 */ jr $ra
|
||||
/* 004B1C 8002971C E4C00000 */ swc1 $f0, ($a2)
|
||||
|
||||
copy_matrix:
|
||||
glabel copy_matrix
|
||||
/* 004B20 80029720 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 004B24 80029724 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 004B28 80029728 0C019194 */ jal bcopy
|
||||
@ -634,7 +634,7 @@ copy_matrix:
|
||||
/* 004B34 80029734 03E00008 */ jr $ra
|
||||
/* 004B38 80029738 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
dma_copy:
|
||||
glabel dma_copy
|
||||
/* 004B3C 8002973C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 004B40 80029740 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 004B44 80029744 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -716,7 +716,7 @@ dma_copy:
|
||||
/* 004C58 80029858 03E00008 */ jr $ra
|
||||
/* 004C5C 8002985C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80029860:
|
||||
glabel func_80029860
|
||||
/* 004C60 80029860 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 004C64 80029864 AFB20050 */ sw $s2, 0x50($sp)
|
||||
/* 004C68 80029868 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -758,7 +758,7 @@ func_80029860:
|
||||
/* 004CF8 800298F8 03E00008 */ jr $ra
|
||||
/* 004CFC 800298FC 27BD0060 */ addiu $sp, $sp, 0x60
|
||||
|
||||
_advance_rng:
|
||||
glabel _advance_rng
|
||||
/* 004D00 80029900 3C035D58 */ lui $v1, 0x5d58
|
||||
/* 004D04 80029904 3C048007 */ lui $a0, 0x8007
|
||||
/* 004D08 80029908 24844410 */ addiu $a0, $a0, 0x4410
|
||||
@ -773,7 +773,7 @@ _advance_rng:
|
||||
/* 004D2C 8002992C 03E00008 */ jr $ra
|
||||
/* 004D30 80029930 AC620138 */ sw $v0, 0x138($v1)
|
||||
|
||||
func_80029934:
|
||||
glabel func_80029934
|
||||
/* 004D34 80029934 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 004D38 80029938 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 004D3C 8002993C 0C00A640 */ jal _advance_rng
|
||||
@ -800,7 +800,7 @@ func_80029934:
|
||||
/* 004D8C 8002998C 03E00008 */ jr $ra
|
||||
/* 004D90 80029990 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80029994:
|
||||
glabel func_80029994
|
||||
/* 004D94 80029994 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 004D98 80029998 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 004D9C 8002999C 2410FFFF */ addiu $s0, $zero, -1
|
||||
@ -831,7 +831,7 @@ func_80029994:
|
||||
/* 004DF4 800299F4 03E00008 */ jr $ra
|
||||
/* 004DF8 800299F8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
rand_int:
|
||||
glabel rand_int
|
||||
/* 004DFC 800299FC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 004E00 80029A00 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 004E04 80029A04 04820001 */ bltzl $a0, .L80029A0C
|
||||
@ -871,7 +871,7 @@ rand_int:
|
||||
/* 004E74 80029A74 03E00008 */ jr $ra
|
||||
/* 004E78 80029A78 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
signF:
|
||||
glabel signF
|
||||
/* 004E7C 80029A7C 44801000 */ mtc1 $zero, $f2
|
||||
/* 004E80 80029A80 00000000 */ nop
|
||||
/* 004E84 80029A84 460C103C */ c.lt.s $f2, $f12
|
||||
@ -894,7 +894,7 @@ signF:
|
||||
/* 004EBC 80029ABC 03E00008 */ jr $ra
|
||||
/* 004EC0 80029AC0 00000000 */ nop
|
||||
|
||||
round:
|
||||
glabel round
|
||||
/* 004EC4 80029AC4 44800000 */ mtc1 $zero, $f0
|
||||
/* 004EC8 80029AC8 00000000 */ nop
|
||||
/* 004ECC 80029ACC 460C003E */ c.le.s $f0, $f12
|
||||
@ -922,7 +922,7 @@ round:
|
||||
/* 004F1C 80029B1C 03E00008 */ jr $ra
|
||||
/* 004F20 80029B20 00021023 */ negu $v0, $v0
|
||||
|
||||
clamp_angle:
|
||||
glabel clamp_angle
|
||||
/* 004F24 80029B24 3C014561 */ lui $at, 0x4561
|
||||
/* 004F28 80029B28 44811000 */ mtc1 $at, $f2
|
||||
/* 004F2C 80029B2C 46006005 */ abs.s $f0, $f12
|
||||
@ -997,7 +997,7 @@ clamp_angle:
|
||||
/* 005020 80029C20 03E00008 */ jr $ra
|
||||
/* 005024 80029C24 46006006 */ mov.s $f0, $f12
|
||||
|
||||
get_clamped_angle_diff:
|
||||
glabel get_clamped_angle_diff
|
||||
/* 005028 80029C28 460C7001 */ sub.s $f0, $f14, $f12
|
||||
/* 00502C 80029C2C 3C014334 */ lui $at, 0x4334
|
||||
/* 005030 80029C30 44811000 */ mtc1 $at, $f2
|
||||
@ -1024,7 +1024,7 @@ get_clamped_angle_diff:
|
||||
/* 005078 80029C78 03E00008 */ jr $ra
|
||||
/* 00507C 80029C7C 460C7001 */ sub.s $f0, $f14, $f12
|
||||
|
||||
atan2:
|
||||
glabel atan2
|
||||
/* 005080 80029C80 44863000 */ mtc1 $a2, $f6
|
||||
/* 005084 80029C84 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 005088 80029C88 F7BA0030 */ sdc1 $f26, 0x30($sp)
|
||||
@ -1141,7 +1141,7 @@ atan2:
|
||||
/* 005218 80029E18 03E00008 */ jr $ra
|
||||
/* 00521C 80029E1C 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
get_player_normal_yaw:
|
||||
glabel get_player_normal_yaw
|
||||
/* 005220 80029E20 44806000 */ mtc1 $zero, $f12
|
||||
/* 005224 80029E24 3C028007 */ lui $v0, 0x8007
|
||||
/* 005228 80029E28 8C42419C */ lw $v0, 0x419c($v0)
|
||||
@ -1155,7 +1155,7 @@ get_player_normal_yaw:
|
||||
/* 005248 80029E48 03E00008 */ jr $ra
|
||||
/* 00524C 80029E4C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
get_player_normal_pitch:
|
||||
glabel get_player_normal_pitch
|
||||
/* 005250 80029E50 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 005254 80029E54 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 005258 80029E58 3C108007 */ lui $s0, 0x8007
|
||||
@ -1191,7 +1191,7 @@ get_player_normal_pitch:
|
||||
/* 0052CC 80029ECC 03E00008 */ jr $ra
|
||||
/* 0052D0 80029ED0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
dist2D:
|
||||
glabel dist2D
|
||||
/* 0052D4 80029ED4 44861000 */ mtc1 $a2, $f2
|
||||
/* 0052D8 80029ED8 00000000 */ nop
|
||||
/* 0052DC 80029EDC 460C1301 */ sub.s $f12, $f2, $f12
|
||||
@ -1216,7 +1216,7 @@ dist2D:
|
||||
/* 005324 80029F24 03E00008 */ jr $ra
|
||||
/* 005328 80029F28 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
dist3D:
|
||||
glabel dist3D
|
||||
/* 00532C 80029F2C 44872000 */ mtc1 $a3, $f4
|
||||
/* 005330 80029F30 00000000 */ nop
|
||||
/* 005334 80029F34 460C2301 */ sub.s $f12, $f4, $f12
|
||||
@ -1247,7 +1247,7 @@ dist3D:
|
||||
/* 005394 80029F94 03E00008 */ jr $ra
|
||||
/* 005398 80029F98 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
add_vec2D_polar:
|
||||
glabel add_vec2D_polar
|
||||
/* 00539C 80029F9C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0053A0 80029FA0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 0053A4 80029FA4 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1287,7 +1287,7 @@ add_vec2D_polar:
|
||||
/* 00542C 8002A02C 03E00008 */ jr $ra
|
||||
/* 005430 8002A030 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
_wrap_trig_lookup_value:
|
||||
glabel _wrap_trig_lookup_value
|
||||
/* 005434 8002A034 3C014980 */ lui $at, 0x4980
|
||||
/* 005438 8002A038 44812000 */ mtc1 $at, $f4
|
||||
/* 00543C 8002A03C 00000000 */ nop
|
||||
@ -1323,7 +1323,7 @@ _wrap_trig_lookup_value:
|
||||
/* 0054AC 8002A0AC 03E00008 */ jr $ra
|
||||
/* 0054B0 8002A0B0 3042FFFF */ andi $v0, $v0, 0xffff
|
||||
|
||||
sin_cos_rad:
|
||||
glabel sin_cos_rad
|
||||
/* 0054B4 8002A0B4 3C014622 */ lui $at, 0x4622
|
||||
/* 0054B8 8002A0B8 3421F983 */ ori $at, $at, 0xf983
|
||||
/* 0054BC 8002A0BC 44810000 */ mtc1 $at, $f0
|
||||
@ -1371,7 +1371,7 @@ sin_cos_rad:
|
||||
/* 005564 8002A164 03E00008 */ jr $ra
|
||||
/* 005568 8002A168 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
sin_rad:
|
||||
glabel sin_rad
|
||||
/* 00556C 8002A16C 3C014622 */ lui $at, 0x4622
|
||||
/* 005570 8002A170 3421F983 */ ori $at, $at, 0xf983
|
||||
/* 005574 8002A174 44810000 */ mtc1 $at, $f0
|
||||
@ -1398,7 +1398,7 @@ sin_rad:
|
||||
/* 0055C8 8002A1C8 03E00008 */ jr $ra
|
||||
/* 0055CC 8002A1CC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
cos_rad:
|
||||
glabel cos_rad
|
||||
/* 0055D0 8002A1D0 3C014622 */ lui $at, 0x4622
|
||||
/* 0055D4 8002A1D4 3421F983 */ ori $at, $at, 0xf983
|
||||
/* 0055D8 8002A1D8 44810000 */ mtc1 $at, $f0
|
||||
@ -1425,7 +1425,7 @@ cos_rad:
|
||||
/* 00562C 8002A22C 03E00008 */ jr $ra
|
||||
/* 005630 8002A230 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
sin_cos_deg:
|
||||
glabel sin_cos_deg
|
||||
/* 005634 8002A234 3C014336 */ lui $at, 0x4336
|
||||
/* 005638 8002A238 34210B61 */ ori $at, $at, 0xb61
|
||||
/* 00563C 8002A23C 44810000 */ mtc1 $at, $f0
|
||||
@ -1473,7 +1473,7 @@ sin_cos_deg:
|
||||
/* 0056E4 8002A2E4 03E00008 */ jr $ra
|
||||
/* 0056E8 8002A2E8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
sin_deg:
|
||||
glabel sin_deg
|
||||
/* 0056EC 8002A2EC 3C014336 */ lui $at, 0x4336
|
||||
/* 0056F0 8002A2F0 34210B61 */ ori $at, $at, 0xb61
|
||||
/* 0056F4 8002A2F4 44810000 */ mtc1 $at, $f0
|
||||
@ -1500,7 +1500,7 @@ sin_deg:
|
||||
/* 005748 8002A348 03E00008 */ jr $ra
|
||||
/* 00574C 8002A34C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
cos_deg:
|
||||
glabel cos_deg
|
||||
/* 005750 8002A350 3C014336 */ lui $at, 0x4336
|
||||
/* 005754 8002A354 34210B61 */ ori $at, $at, 0xb61
|
||||
/* 005758 8002A358 44810000 */ mtc1 $at, $f0
|
||||
@ -1527,7 +1527,7 @@ cos_deg:
|
||||
/* 0057AC 8002A3AC 03E00008 */ jr $ra
|
||||
/* 0057B0 8002A3B0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
update_lerp:
|
||||
glabel update_lerp
|
||||
/* 0057B4 8002A3B4 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0057B8 8002A3B8 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 0057BC 8002A3BC 4485B000 */ mtc1 $a1, $f22
|
||||
@ -1893,7 +1893,7 @@ update_lerp:
|
||||
/* 005CFC 8002A8FC 03E00008 */ jr $ra
|
||||
/* 005D00 8002A900 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_8002A904:
|
||||
glabel func_8002A904
|
||||
/* 005D04 8002A904 27BDFFF8 */ addiu $sp, $sp, -8
|
||||
/* 005D08 8002A908 0080602D */ daddu $t4, $a0, $zero
|
||||
/* 005D0C 8002A90C 00A0682D */ daddu $t5, $a1, $zero
|
||||
@ -2010,7 +2010,7 @@ func_8002A904:
|
||||
/* 005EBC 8002AABC 03E00008 */ jr $ra
|
||||
/* 005EC0 8002AAC0 27BD0008 */ addiu $sp, $sp, 8
|
||||
|
||||
func_8002AAC4:
|
||||
glabel func_8002AAC4
|
||||
/* 005EC4 8002AAC4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 005EC8 8002AAC8 0080402D */ daddu $t0, $a0, $zero
|
||||
/* 005ECC 8002AACC 00A0482D */ daddu $t1, $a1, $zero
|
||||
@ -2052,7 +2052,7 @@ func_8002AAC4:
|
||||
/* 005F54 8002AB54 03E00008 */ jr $ra
|
||||
/* 005F58 8002AB58 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8002AB5C:
|
||||
glabel func_8002AB5C
|
||||
/* 005F5C 8002AB5C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 005F60 8002AB60 0080402D */ daddu $t0, $a0, $zero
|
||||
/* 005F64 8002AB64 00A0482D */ daddu $t1, $a1, $zero
|
||||
@ -2097,181 +2097,3 @@ func_8002AB5C:
|
||||
/* 005FF4 8002ABF4 00000000 */ nop
|
||||
/* 005FF8 8002ABF8 00000000 */ nop
|
||||
/* 005FFC 8002ABFC 00000000 */ nop
|
||||
general_heap_create:
|
||||
/* 006000 8002AC00 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006004 8002AC04 3C050005 */ lui $a1, 5
|
||||
/* 006008 8002AC08 3C048030 */ lui $a0, 0x8030
|
||||
/* 00600C 8002AC0C 2484B800 */ addiu $a0, $a0, -0x4800
|
||||
/* 006010 8002AC10 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 006014 8002AC14 0C00A40C */ jal _heap_create
|
||||
/* 006018 8002AC18 34A54000 */ ori $a1, $a1, 0x4000
|
||||
/* 00601C 8002AC1C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 006020 8002AC20 03E00008 */ jr $ra
|
||||
/* 006024 8002AC24 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
general_heap_malloc:
|
||||
/* 006028 8002AC28 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 00602C 8002AC2C 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 006030 8002AC30 3C048030 */ lui $a0, 0x8030
|
||||
/* 006034 8002AC34 2484B800 */ addiu $a0, $a0, -0x4800
|
||||
/* 006038 8002AC38 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 00603C 8002AC3C 0C00A41B */ jal _heap_malloc
|
||||
/* 006040 8002AC40 00000000 */ nop
|
||||
/* 006044 8002AC44 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 006048 8002AC48 03E00008 */ jr $ra
|
||||
/* 00604C 8002AC4C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
general_heap_malloc_tail:
|
||||
/* 006050 8002AC50 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006054 8002AC54 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 006058 8002AC58 3C048030 */ lui $a0, 0x8030
|
||||
/* 00605C 8002AC5C 2484B800 */ addiu $a0, $a0, -0x4800
|
||||
/* 006060 8002AC60 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 006064 8002AC64 0C00A459 */ jal _heap_malloc_tail
|
||||
/* 006068 8002AC68 00000000 */ nop
|
||||
/* 00606C 8002AC6C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 006070 8002AC70 03E00008 */ jr $ra
|
||||
/* 006074 8002AC74 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
general_heap_free:
|
||||
/* 006078 8002AC78 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 00607C 8002AC7C 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 006080 8002AC80 3C048030 */ lui $a0, 0x8030
|
||||
/* 006084 8002AC84 2484B800 */ addiu $a0, $a0, -0x4800
|
||||
/* 006088 8002AC88 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 00608C 8002AC8C 0C00A487 */ jal _heap_free
|
||||
/* 006090 8002AC90 00000000 */ nop
|
||||
/* 006094 8002AC94 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 006098 8002AC98 03E00008 */ jr $ra
|
||||
/* 00609C 8002AC9C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
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 */ bnel $a0, $v1, .L8002ACD0
|
||||
/* 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
|
||||
|
||||
func_8002ACDC:
|
||||
/* 0060DC 8002ACDC 03E00008 */ jr $ra
|
||||
/* 0060E0 8002ACE0 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
heap_malloc:
|
||||
/* 0060E4 8002ACE4 3C028007 */ lui $v0, 0x8007
|
||||
/* 0060E8 8002ACE8 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0060EC 8002ACEC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0060F0 8002ACF0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0060F4 8002ACF4 80420070 */ lb $v0, 0x70($v0)
|
||||
/* 0060F8 8002ACF8 10400007 */ beqz $v0, .L8002AD18
|
||||
/* 0060FC 8002ACFC 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 006100 8002AD00 3C04803E */ lui $a0, 0x803e
|
||||
/* 006104 8002AD04 2484A800 */ addiu $a0, $a0, -0x5800
|
||||
/* 006108 8002AD08 0C00A41B */ jal _heap_malloc
|
||||
/* 00610C 8002AD0C 00000000 */ nop
|
||||
/* 006110 8002AD10 0800AB48 */ j .L8002AD20
|
||||
/* 006114 8002AD14 00000000 */ nop
|
||||
|
||||
.L8002AD18:
|
||||
/* 006118 8002AD18 0C00AB0A */ jal general_heap_malloc
|
||||
/* 00611C 8002AD1C 00A0202D */ daddu $a0, $a1, $zero
|
||||
.L8002AD20:
|
||||
/* 006120 8002AD20 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 006124 8002AD24 03E00008 */ jr $ra
|
||||
/* 006128 8002AD28 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
heap_free:
|
||||
/* 00612C 8002AD2C 3C028007 */ lui $v0, 0x8007
|
||||
/* 006130 8002AD30 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 006134 8002AD34 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006138 8002AD38 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 00613C 8002AD3C 80420070 */ lb $v0, 0x70($v0)
|
||||
/* 006140 8002AD40 14400005 */ bnez $v0, .L8002AD58
|
||||
/* 006144 8002AD44 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 006148 8002AD48 0C00AB1E */ jal general_heap_free
|
||||
/* 00614C 8002AD4C 00000000 */ nop
|
||||
/* 006150 8002AD50 0800AB5A */ j .L8002AD68
|
||||
/* 006154 8002AD54 00000000 */ nop
|
||||
|
||||
.L8002AD58:
|
||||
/* 006158 8002AD58 3C04803E */ lui $a0, 0x803e
|
||||
/* 00615C 8002AD5C 2484A800 */ addiu $a0, $a0, -0x5800
|
||||
/* 006160 8002AD60 0C00A487 */ jal _heap_free
|
||||
/* 006164 8002AD64 00000000 */ nop
|
||||
.L8002AD68:
|
||||
/* 006168 8002AD68 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 00616C 8002AD6C 03E00008 */ jr $ra
|
||||
/* 006170 8002AD70 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
collision_heap_create:
|
||||
/* 006174 8002AD74 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006178 8002AD78 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 00617C 8002AD7C 3C050001 */ lui $a1, 1
|
||||
/* 006180 8002AD80 3C048027 */ lui $a0, 0x8027
|
||||
/* 006184 8002AD84 24848000 */ addiu $a0, $a0, -0x8000
|
||||
/* 006188 8002AD88 0C00A40C */ jal _heap_create
|
||||
/* 00618C 8002AD8C 34A58000 */ ori $a1, $a1, 0x8000
|
||||
/* 006190 8002AD90 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 006194 8002AD94 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 006198 8002AD98 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 00619C 8002AD9C 54830001 */ bnel $a0, $v1, .L8002ADA4
|
||||
/* 0061A0 8002ADA0 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8002ADA4:
|
||||
/* 0061A4 8002ADA4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0061A8 8002ADA8 03E00008 */ jr $ra
|
||||
/* 0061AC 8002ADAC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
collision_heap_malloc:
|
||||
/* 0061B0 8002ADB0 3C028007 */ lui $v0, 0x8007
|
||||
/* 0061B4 8002ADB4 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0061B8 8002ADB8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0061BC 8002ADBC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0061C0 8002ADC0 80420070 */ lb $v0, 0x70($v0)
|
||||
/* 0061C4 8002ADC4 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 0061C8 8002ADC8 3C048027 */ lui $a0, 0x8027
|
||||
/* 0061CC 8002ADCC 24848000 */ addiu $a0, $a0, -0x8000
|
||||
/* 0061D0 8002ADD0 10400003 */ beqz $v0, .L8002ADE0
|
||||
/* 0061D4 8002ADD4 00000000 */ nop
|
||||
/* 0061D8 8002ADD8 3C04803E */ lui $a0, 0x803e
|
||||
/* 0061DC 8002ADDC 2484A800 */ addiu $a0, $a0, -0x5800
|
||||
.L8002ADE0:
|
||||
/* 0061E0 8002ADE0 0C00A41B */ jal _heap_malloc
|
||||
/* 0061E4 8002ADE4 00000000 */ nop
|
||||
/* 0061E8 8002ADE8 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0061EC 8002ADEC 03E00008 */ jr $ra
|
||||
/* 0061F0 8002ADF0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
collision_heap_free:
|
||||
/* 0061F4 8002ADF4 3C028007 */ lui $v0, 0x8007
|
||||
/* 0061F8 8002ADF8 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0061FC 8002ADFC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006200 8002AE00 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 006204 8002AE04 80420070 */ lb $v0, 0x70($v0)
|
||||
/* 006208 8002AE08 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 00620C 8002AE0C 3C04803E */ lui $a0, 0x803e
|
||||
/* 006210 8002AE10 2484A800 */ addiu $a0, $a0, -0x5800
|
||||
/* 006214 8002AE14 14400003 */ bnez $v0, .L8002AE24
|
||||
/* 006218 8002AE18 00000000 */ nop
|
||||
/* 00621C 8002AE1C 3C048027 */ lui $a0, 0x8027
|
||||
/* 006220 8002AE20 24848000 */ addiu $a0, $a0, -0x8000
|
||||
.L8002AE24:
|
||||
/* 006224 8002AE24 0C00A487 */ jal _heap_free
|
||||
/* 006228 8002AE28 00000000 */ nop
|
||||
/* 00622C 8002AE2C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 006230 8002AE30 03E00008 */ jr $ra
|
||||
/* 006234 8002AE34 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 006238 8002AE38 00000000 */ nop
|
||||
/* 00623C 8002AE3C 00000000 */ nop
|
||||
|
||||
.set reorder
|
||||
|
24
papermario/asm/code_6000/battle_heap_create.s
Normal file
24
papermario/asm/code_6000/battle_heap_create.s
Normal file
@ -0,0 +1,24 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
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 */ bnel $a0, $v1, .L8002ACD0
|
||||
/* 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
|
||||
|
||||
.set reorder
|
24
papermario/asm/code_6000/collision_heap_create.s
Normal file
24
papermario/asm/code_6000/collision_heap_create.s
Normal file
@ -0,0 +1,24 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel collision_heap_create
|
||||
/* 006174 8002AD74 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006178 8002AD78 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 00617C 8002AD7C 3C050001 */ lui $a1, 1
|
||||
/* 006180 8002AD80 3C048027 */ lui $a0, 0x8027
|
||||
/* 006184 8002AD84 24848000 */ addiu $a0, $a0, -0x8000
|
||||
/* 006188 8002AD88 0C00A40C */ jal _heap_create
|
||||
/* 00618C 8002AD8C 34A58000 */ ori $a1, $a1, 0x8000
|
||||
/* 006190 8002AD90 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 006194 8002AD94 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 006198 8002AD98 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 00619C 8002AD9C 54830001 */ bnel $a0, $v1, .L8002ADA4
|
||||
/* 0061A0 8002ADA0 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8002ADA4:
|
||||
/* 0061A4 8002ADA4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0061A8 8002ADA8 03E00008 */ jr $ra
|
||||
/* 0061AC 8002ADAC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
.set reorder
|
29
papermario/asm/code_6000/collision_heap_free.s
Normal file
29
papermario/asm/code_6000/collision_heap_free.s
Normal file
@ -0,0 +1,29 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel collision_heap_free
|
||||
/* 0061F4 8002ADF4 3C028007 */ lui $v0, 0x8007
|
||||
/* 0061F8 8002ADF8 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0061FC 8002ADFC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006200 8002AE00 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 006204 8002AE04 80420070 */ lb $v0, 0x70($v0)
|
||||
/* 006208 8002AE08 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 00620C 8002AE0C 3C04803E */ lui $a0, 0x803e
|
||||
/* 006210 8002AE10 2484A800 */ addiu $a0, $a0, -0x5800
|
||||
/* 006214 8002AE14 14400003 */ bnez $v0, .L8002AE24
|
||||
/* 006218 8002AE18 00000000 */ nop
|
||||
/* 00621C 8002AE1C 3C048027 */ lui $a0, 0x8027
|
||||
/* 006220 8002AE20 24848000 */ addiu $a0, $a0, -0x8000
|
||||
.L8002AE24:
|
||||
/* 006224 8002AE24 0C00A487 */ jal _heap_free
|
||||
/* 006228 8002AE28 00000000 */ nop
|
||||
/* 00622C 8002AE2C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 006230 8002AE30 03E00008 */ jr $ra
|
||||
/* 006234 8002AE34 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 006238 8002AE38 00000000 */ nop
|
||||
/* 00623C 8002AE3C 00000000 */ nop
|
||||
|
||||
.set reorder
|
26
papermario/asm/code_6000/collision_heap_malloc.s
Normal file
26
papermario/asm/code_6000/collision_heap_malloc.s
Normal file
@ -0,0 +1,26 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "include/macro.inc"
|
||||
|
||||
glabel collision_heap_malloc
|
||||
/* 0061B0 8002ADB0 3C028007 */ lui $v0, 0x8007
|
||||
/* 0061B4 8002ADB4 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0061B8 8002ADB8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0061BC 8002ADBC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0061C0 8002ADC0 80420070 */ lb $v0, 0x70($v0)
|
||||
/* 0061C4 8002ADC4 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 0061C8 8002ADC8 3C048027 */ lui $a0, 0x8027
|
||||
/* 0061CC 8002ADCC 24848000 */ addiu $a0, $a0, -0x8000
|
||||
/* 0061D0 8002ADD0 10400003 */ beqz $v0, .L8002ADE0
|
||||
/* 0061D4 8002ADD4 00000000 */ nop
|
||||
/* 0061D8 8002ADD8 3C04803E */ lui $a0, 0x803e
|
||||
/* 0061DC 8002ADDC 2484A800 */ addiu $a0, $a0, -0x5800
|
||||
.L8002ADE0:
|
||||
/* 0061E0 8002ADE0 0C00A41B */ jal _heap_malloc
|
||||
/* 0061E4 8002ADE4 00000000 */ nop
|
||||
/* 0061E8 8002ADE8 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0061EC 8002ADEC 03E00008 */ jr $ra
|
||||
/* 0061F0 8002ADF0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
.set reorder
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8002AE40, "ax"
|
||||
|
||||
get_spirits_rescued:
|
||||
glabel get_spirits_rescued
|
||||
/* 006240 8002AE40 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 006244 8002AE44 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 006248 8002AE48 3C05F5DE */ lui $a1, 0xf5de
|
||||
@ -90,7 +90,7 @@ get_spirits_rescued:
|
||||
/* 006338 8002AF38 03E00008 */ jr $ra
|
||||
/* 00633C 8002AF3C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
fio_calc_header_checksum:
|
||||
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
|
||||
@ -105,7 +105,7 @@ fio_calc_header_checksum:
|
||||
/* 006368 8002AF68 03E00008 */ jr $ra
|
||||
/* 00636C 8002AF6C 00A0102D */ daddu $v0, $a1, $zero
|
||||
|
||||
fio_validate_header_checksums:
|
||||
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
|
||||
@ -134,7 +134,7 @@ fio_validate_header_checksums:
|
||||
/* 0063D0 8002AFD0 03E00008 */ jr $ra
|
||||
/* 0063D4 8002AFD4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
fio_has_valid_backup:
|
||||
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)
|
||||
@ -166,7 +166,7 @@ fio_has_valid_backup:
|
||||
/* 006444 8002B044 03E00008 */ jr $ra
|
||||
/* 006448 8002B048 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
fio_flush_backups:
|
||||
glabel fio_flush_backups
|
||||
/* 00644C 8002B04C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006450 8002B050 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 006454 8002B054 3C10800E */ lui $s0, 0x800e
|
||||
@ -201,7 +201,7 @@ fio_flush_backups:
|
||||
/* 0064C8 8002B0C8 03E00008 */ jr $ra
|
||||
/* 0064CC 8002B0CC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
fio_calc_file_checksum:
|
||||
glabel fio_calc_file_checksum
|
||||
/* 0064D0 8002B0D0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 0064D4 8002B0D4 00A0182D */ daddu $v1, $a1, $zero
|
||||
.L8002B0D8:
|
||||
@ -214,7 +214,7 @@ fio_calc_file_checksum:
|
||||
/* 0064F0 8002B0F0 03E00008 */ jr $ra
|
||||
/* 0064F4 8002B0F4 00A0102D */ daddu $v0, $a1, $zero
|
||||
|
||||
fio_validate_file_checksum:
|
||||
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
|
||||
@ -240,7 +240,7 @@ fio_validate_file_checksum:
|
||||
/* 00654C 8002B14C 03E00008 */ jr $ra
|
||||
/* 006550 8002B150 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
fio_fetch_saved_file_info:
|
||||
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
|
||||
@ -344,7 +344,7 @@ fio_fetch_saved_file_info:
|
||||
/* 0066C8 8002B2C8 03E00008 */ jr $ra
|
||||
/* 0066CC 8002B2CC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
fio_load_game:
|
||||
glabel fio_load_game
|
||||
/* 0066D0 8002B2D0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0066D4 8002B2D4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0066D8 8002B2D8 3C128007 */ lui $s2, 0x8007
|
||||
@ -389,7 +389,7 @@ fio_load_game:
|
||||
/* 00676C 8002B36C 03E00008 */ jr $ra
|
||||
/* 006770 8002B370 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
fio_save_game:
|
||||
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
|
||||
@ -437,7 +437,7 @@ fio_save_game:
|
||||
/* 006824 8002B424 03E00008 */ jr $ra
|
||||
/* 006828 8002B428 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
fio_erase_game:
|
||||
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
|
||||
@ -466,7 +466,7 @@ fio_erase_game:
|
||||
/* 006888 8002B488 03E00008 */ jr $ra
|
||||
/* 00688C 8002B48C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
fio_deserialize_state:
|
||||
glabel fio_deserialize_state
|
||||
/* 006890 8002B490 3C038011 */ lui $v1, 0x8011
|
||||
/* 006894 8002B494 2463F290 */ addiu $v1, $v1, -0xd70
|
||||
/* 006898 8002B498 3C07800E */ lui $a3, 0x800e
|
||||
@ -576,7 +576,7 @@ fio_deserialize_state:
|
||||
/* 006A28 8002B628 03E00008 */ jr $ra
|
||||
/* 006A2C 8002B62C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
fio_serialize_state:
|
||||
glabel fio_serialize_state
|
||||
/* 006A30 8002B630 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 006A34 8002B634 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 006A38 8002B638 3C12800E */ lui $s2, 0x800e
|
||||
@ -716,7 +716,7 @@ fio_serialize_state:
|
||||
/* 006C44 8002B844 03E00008 */ jr $ra
|
||||
/* 006C48 8002B848 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
fio_init_flash:
|
||||
glabel fio_init_flash
|
||||
/* 006C4C 8002B84C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006C50 8002B850 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 006C54 8002B854 0C01BBDA */ jal osFlashInit
|
||||
@ -725,7 +725,7 @@ fio_init_flash:
|
||||
/* 006C60 8002B860 03E00008 */ jr $ra
|
||||
/* 006C64 8002B864 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
fio_read_flash:
|
||||
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
|
||||
@ -786,7 +786,7 @@ fio_read_flash:
|
||||
/* 006D40 8002B940 03E00008 */ jr $ra
|
||||
/* 006D44 8002B944 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
fio_write_flash:
|
||||
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
|
||||
@ -844,7 +844,7 @@ fio_write_flash:
|
||||
/* 006E14 8002BA14 03E00008 */ jr $ra
|
||||
/* 006E18 8002BA18 27BD0068 */ addiu $sp, $sp, 0x68
|
||||
|
||||
fio_erase_flash:
|
||||
glabel fio_erase_flash
|
||||
/* 006E1C 8002BA1C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 006E20 8002BA20 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 006E24 8002BA24 0C01BD09 */ jal osFlashSectorErase
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8002BA40, "ax"
|
||||
|
||||
func_8002BA40:
|
||||
glabel func_8002BA40
|
||||
/* 006E40 8002BA40 3C014000 */ lui $at, 0x4000
|
||||
/* 006E44 8002BA44 44810000 */ mtc1 $at, $f0
|
||||
/* 006E48 8002BA48 3C01800A */ lui $at, 0x800a
|
||||
@ -27,11 +27,11 @@ func_8002BA40:
|
||||
/* 006E70 8002BA70 03E00008 */ jr $ra
|
||||
/* 006E74 8002BA74 00000000 */ nop
|
||||
|
||||
func_8002BA78:
|
||||
glabel func_8002BA78
|
||||
/* 006E78 8002BA78 03E00008 */ jr $ra
|
||||
/* 006E7C 8002BA7C 00000000 */ nop
|
||||
|
||||
func_8002BA80:
|
||||
glabel func_8002BA80
|
||||
/* 006E80 8002BA80 3C01800A */ lui $at, 0x800a
|
||||
/* 006E84 8002BA84 C420BA94 */ lwc1 $f0, -0x456c($at)
|
||||
/* 006E88 8002BA88 27BDFF78 */ addiu $sp, $sp, -0x88
|
||||
@ -320,13 +320,13 @@ func_8002BA80:
|
||||
/* 0072D4 8002BED4 03E00008 */ jr $ra
|
||||
/* 0072D8 8002BED8 27BD0088 */ addiu $sp, $sp, 0x88
|
||||
|
||||
func_8002BEDC:
|
||||
glabel func_8002BEDC
|
||||
/* 0072DC 8002BEDC 3C01800A */ lui $at, 0x800a
|
||||
/* 0072E0 8002BEE0 E42CBA94 */ swc1 $f12, -0x456c($at)
|
||||
/* 0072E4 8002BEE4 03E00008 */ jr $ra
|
||||
/* 0072E8 8002BEE8 00000000 */ nop
|
||||
|
||||
func_8002BEEC:
|
||||
glabel func_8002BEEC
|
||||
/* 0072EC 8002BEEC 3C01800A */ lui $at, 0x800a
|
||||
/* 0072F0 8002BEF0 E42CBA94 */ swc1 $f12, -0x456c($at)
|
||||
/* 0072F4 8002BEF4 3C01800A */ lui $at, 0x800a
|
||||
@ -334,19 +334,19 @@ func_8002BEEC:
|
||||
/* 0072FC 8002BEFC 03E00008 */ jr $ra
|
||||
/* 007300 8002BF00 00000000 */ nop
|
||||
|
||||
func_8002BF04:
|
||||
glabel func_8002BF04
|
||||
/* 007304 8002BF04 3C01800A */ lui $at, 0x800a
|
||||
/* 007308 8002BF08 AC24BAA0 */ sw $a0, -0x4560($at)
|
||||
/* 00730C 8002BF0C 03E00008 */ jr $ra
|
||||
/* 007310 8002BF10 00000000 */ nop
|
||||
|
||||
func_8002BF14:
|
||||
glabel func_8002BF14
|
||||
/* 007314 8002BF14 3C01800A */ lui $at, 0x800a
|
||||
/* 007318 8002BF18 E42CBA9C */ swc1 $f12, -0x4564($at)
|
||||
/* 00731C 8002BF1C 03E00008 */ jr $ra
|
||||
/* 007320 8002BF20 00000000 */ nop
|
||||
|
||||
func_8002BF24:
|
||||
glabel func_8002BF24
|
||||
/* 007324 8002BF24 3C01800A */ lui $at, 0x800a
|
||||
/* 007328 8002BF28 E42CBA9C */ swc1 $f12, -0x4564($at)
|
||||
/* 00732C 8002BF2C 3C01800A */ lui $at, 0x800a
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8002BF40, "ax"
|
||||
|
||||
crash_delay_msec:
|
||||
glabel crash_delay_msec
|
||||
/* 007340 8002BF40 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 007344 8002BF44 3402B71B */ ori $v0, $zero, 0xb71b
|
||||
/* 007348 8002BF48 00820018 */ mult $a0, $v0
|
||||
@ -43,7 +43,7 @@ crash_delay_msec:
|
||||
/* 0073A8 8002BFA8 03E00008 */ jr $ra
|
||||
/* 0073AC 8002BFAC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8002BFB0:
|
||||
glabel func_8002BFB0
|
||||
/* 0073B0 8002BFB0 3C08800A */ lui $t0, 0x800a
|
||||
/* 0073B4 8002BFB4 2508BB30 */ addiu $t0, $t0, -0x44d0
|
||||
/* 0073B8 8002BFB8 950309D0 */ lhu $v1, 0x9d0($t0)
|
||||
@ -91,7 +91,7 @@ func_8002BFB0:
|
||||
/* 00744C 8002C04C 03E00008 */ jr $ra
|
||||
/* 007450 8002C050 00000000 */ nop
|
||||
|
||||
func_8002C054:
|
||||
glabel func_8002C054
|
||||
/* 007454 8002C054 3C026666 */ lui $v0, 0x6666
|
||||
/* 007458 8002C058 34426667 */ ori $v0, $v0, 0x6667
|
||||
/* 00745C 8002C05C 00C20018 */ mult $a2, $v0
|
||||
@ -212,7 +212,7 @@ func_8002C054:
|
||||
/* 007600 8002C200 03E00008 */ jr $ra
|
||||
/* 007604 8002C204 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
crash_printf_string:
|
||||
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
|
||||
@ -261,7 +261,7 @@ crash_printf_string:
|
||||
/* 0076B0 8002C2B0 03E00008 */ jr $ra
|
||||
/* 0076B4 8002C2B4 27BD0130 */ addiu $sp, $sp, 0x130
|
||||
|
||||
crash_print_fpr:
|
||||
glabel crash_print_fpr
|
||||
/* 0076B8 8002C2B8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0076BC 8002C2BC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0076C0 8002C2C0 8CE30000 */ lw $v1, ($a3)
|
||||
@ -294,7 +294,7 @@ crash_print_fpr:
|
||||
/* 00771C 8002C31C 03E00008 */ jr $ra
|
||||
/* 007720 8002C320 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8002C324:
|
||||
glabel func_8002C324
|
||||
/* 007724 8002C324 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 007728 8002C328 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 00772C 8002C32C 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -335,7 +335,7 @@ func_8002C324:
|
||||
/* 0077A8 8002C3A8 03E00008 */ jr $ra
|
||||
/* 0077AC 8002C3AC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
crash_show_handler:
|
||||
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
|
||||
@ -595,7 +595,7 @@ crash_show_handler:
|
||||
/* 007BA8 8002C7A8 03E00008 */ jr $ra
|
||||
/* 007BAC 8002C7AC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8002C7B0:
|
||||
glabel func_8002C7B0
|
||||
/* 007BB0 8002C7B0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 007BB4 8002C7B4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 007BB8 8002C7B8 0C0198A4 */ jal osGetActiveQueue
|
||||
@ -627,7 +627,7 @@ func_8002C7B0:
|
||||
/* 007C14 8002C814 03E00008 */ jr $ra
|
||||
/* 007C18 8002C818 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
crash_monitor_thread:
|
||||
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)
|
||||
@ -660,7 +660,7 @@ crash_monitor_thread:
|
||||
/* 007C88 8002C888 0800B222 */ j .L8002C888
|
||||
/* 007C8C 8002C88C 00000000 */ nop
|
||||
|
||||
func_8002C890:
|
||||
glabel func_8002C890
|
||||
/* 007C90 8002C890 3C02800A */ lui $v0, 0x800a
|
||||
/* 007C94 8002C894 2442BB30 */ addiu $v0, $v0, -0x44d0
|
||||
/* 007C98 8002C898 3C03A000 */ lui $v1, 0xa000
|
||||
@ -670,7 +670,7 @@ func_8002C890:
|
||||
/* 007CA8 8002C8A8 03E00008 */ jr $ra
|
||||
/* 007CAC 8002C8AC A44609D2 */ sh $a2, 0x9d2($v0)
|
||||
|
||||
crash_create_monitor:
|
||||
glabel crash_create_monitor
|
||||
/* 007CB0 8002C8B0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 007CB4 8002C8B4 3C07FFFD */ lui $a3, 0xfffd
|
||||
/* 007CB8 8002C8B8 34E7A800 */ ori $a3, $a3, 0xa800
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text800DC500, "ax"
|
||||
|
||||
func_800DC500:
|
||||
glabel func_800DC500
|
||||
/* 0759B0 800DC500 27BDFF60 */ addiu $sp, $sp, -0xa0
|
||||
/* 0759B4 800DC504 AFB00070 */ sw $s0, 0x70($sp)
|
||||
/* 0759B8 800DC508 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -176,7 +176,7 @@ func_800DC500:
|
||||
/* 075C20 800DC770 03E00008 */ jr $ra
|
||||
/* 075C24 800DC774 27BD00A0 */ addiu $sp, $sp, 0xa0
|
||||
|
||||
func_800DC778:
|
||||
glabel func_800DC778
|
||||
/* 075C28 800DC778 27BDFF78 */ addiu $sp, $sp, -0x88
|
||||
/* 075C2C 800DC77C F7B80068 */ sdc1 $f24, 0x68($sp)
|
||||
/* 075C30 800DC780 C7B800A0 */ lwc1 $f24, 0xa0($sp)
|
||||
@ -443,7 +443,7 @@ func_800DC778:
|
||||
/* 076024 800DCB74 03E00008 */ jr $ra
|
||||
/* 076028 800DCB78 27BD0088 */ addiu $sp, $sp, 0x88
|
||||
|
||||
func_800DCB7C:
|
||||
glabel func_800DCB7C
|
||||
/* 07602C 800DCB7C 27BDFF80 */ addiu $sp, $sp, -0x80
|
||||
/* 076030 800DCB80 AFB40048 */ sw $s4, 0x48($sp)
|
||||
/* 076034 800DCB84 8FB40090 */ lw $s4, 0x90($sp)
|
||||
@ -639,7 +639,7 @@ func_800DCB7C:
|
||||
/* 076318 800DCE68 03E00008 */ jr $ra
|
||||
/* 07631C 800DCE6C 27BD0080 */ addiu $sp, $sp, 0x80
|
||||
|
||||
func_800DCE70:
|
||||
glabel func_800DCE70
|
||||
/* 076320 800DCE70 27BDFF50 */ addiu $sp, $sp, -0xb0
|
||||
/* 076324 800DCE74 AFB20078 */ sw $s2, 0x78($sp)
|
||||
/* 076328 800DCE78 8FB200C0 */ lw $s2, 0xc0($sp)
|
||||
@ -766,7 +766,7 @@ func_800DCE70:
|
||||
/* 0764F4 800DD044 03E00008 */ jr $ra
|
||||
/* 0764F8 800DD048 27BD00B0 */ addiu $sp, $sp, 0xb0
|
||||
|
||||
func_800DD04C:
|
||||
glabel func_800DD04C
|
||||
/* 0764FC 800DD04C 27BDFF60 */ addiu $sp, $sp, -0xa0
|
||||
/* 076500 800DD050 AFB20060 */ sw $s2, 0x60($sp)
|
||||
/* 076504 800DD054 00A0902D */ daddu $s2, $a1, $zero
|
||||
@ -1031,7 +1031,7 @@ func_800DD04C:
|
||||
/* 0768F4 800DD444 03E00008 */ jr $ra
|
||||
/* 0768F8 800DD448 27BD0078 */ addiu $sp, $sp, 0x78
|
||||
|
||||
func_800DD44C:
|
||||
glabel func_800DD44C
|
||||
/* 0768FC 800DD44C 27BDFF70 */ addiu $sp, $sp, -0x90
|
||||
/* 076900 800DD450 F7B40060 */ sdc1 $f20, 0x60($sp)
|
||||
/* 076904 800DD454 4485A000 */ mtc1 $a1, $f20
|
||||
@ -1126,7 +1126,7 @@ func_800DD44C:
|
||||
/* 076A5C 800DD5AC 03E00008 */ jr $ra
|
||||
/* 076A60 800DD5B0 27BD0090 */ addiu $sp, $sp, 0x90
|
||||
|
||||
func_800DD5B4:
|
||||
glabel func_800DD5B4
|
||||
/* 076A64 800DD5B4 44863000 */ mtc1 $a2, $f6
|
||||
/* 076A68 800DD5B8 C7A40010 */ lwc1 $f4, 0x10($sp)
|
||||
/* 076A6C 800DD5BC 46043082 */ mul.s $f2, $f6, $f4
|
||||
@ -1153,7 +1153,7 @@ func_800DD5B4:
|
||||
/* 076AC0 800DD610 03E00008 */ jr $ra
|
||||
/* 076AC4 800DD614 E4A80000 */ swc1 $f8, ($a1)
|
||||
|
||||
func_800DD618:
|
||||
glabel func_800DD618
|
||||
/* 076AC8 800DD618 27BDFF50 */ addiu $sp, $sp, -0xb0
|
||||
/* 076ACC 800DD61C C7AC00C4 */ lwc1 $f12, 0xc4($sp)
|
||||
/* 076AD0 800DD620 3C0140C9 */ lui $at, 0x40c9
|
||||
@ -1344,7 +1344,7 @@ func_800DD618:
|
||||
/* 076DA4 800DD8F4 03E00008 */ jr $ra
|
||||
/* 076DA8 800DD8F8 27BD00B0 */ addiu $sp, $sp, 0xb0
|
||||
|
||||
func_800DD8FC:
|
||||
glabel func_800DD8FC
|
||||
/* 076DAC 800DD8FC 27BDFF68 */ addiu $sp, $sp, -0x98
|
||||
/* 076DB0 800DD900 C7AC00AC */ lwc1 $f12, 0xac($sp)
|
||||
/* 076DB4 800DD904 3C0140C9 */ lui $at, 0x40c9
|
||||
@ -1469,7 +1469,7 @@ func_800DD8FC:
|
||||
/* 076F8C 800DDADC 03E00008 */ jr $ra
|
||||
/* 076F90 800DDAE0 27BD0098 */ addiu $sp, $sp, 0x98
|
||||
|
||||
func_800DDAE4:
|
||||
glabel func_800DDAE4
|
||||
/* 076F94 800DDAE4 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 076F98 800DDAE8 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||
/* 076F9C 800DDAEC C7B40084 */ lwc1 $f20, 0x84($sp)
|
||||
@ -1562,7 +1562,7 @@ func_800DDAE4:
|
||||
/* 0770EC 800DDC3C 03E00008 */ jr $ra
|
||||
/* 0770F0 800DDC40 27BD0068 */ addiu $sp, $sp, 0x68
|
||||
|
||||
func_800DDC44:
|
||||
glabel func_800DDC44
|
||||
/* 0770F4 800DDC44 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 0770F8 800DDC48 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 0770FC 800DDC4C 00A0882D */ daddu $s1, $a1, $zero
|
||||
@ -1649,7 +1649,7 @@ func_800DDC44:
|
||||
/* 07723C 800DDD8C 03E00008 */ jr $ra
|
||||
/* 077240 800DDD90 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_800DDD94:
|
||||
glabel func_800DDD94
|
||||
/* 077244 800DDD94 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
/* 077248 800DDD98 F7B40058 */ sdc1 $f20, 0x58($sp)
|
||||
/* 07724C 800DDD9C C7B4008C */ lwc1 $f20, 0x8c($sp)
|
||||
@ -1798,7 +1798,7 @@ func_800DDD94:
|
||||
/* 077478 800DDFC8 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
/* 07747C 800DDFCC 00000000 */ nop
|
||||
test_below_player:
|
||||
glabel test_below_player
|
||||
/* 077480 800DDFD0 27BDFF80 */ addiu $sp, $sp, -0x80
|
||||
/* 077484 800DDFD4 AFB40038 */ sw $s4, 0x38($sp)
|
||||
/* 077488 800DDFD8 8FB40090 */ lw $s4, 0x90($sp)
|
||||
@ -2101,7 +2101,7 @@ test_below_player:
|
||||
/* 077914 800DE464 03E00008 */ jr $ra
|
||||
/* 077918 800DE468 27BD0080 */ addiu $sp, $sp, 0x80
|
||||
|
||||
func_800DE46C:
|
||||
glabel func_800DE46C
|
||||
/* 07791C 800DE46C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 077920 800DE470 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 077924 800DE474 C48200A8 */ lwc1 $f2, 0xa8($a0)
|
||||
@ -2160,7 +2160,7 @@ func_800DE46C:
|
||||
/* 0779F4 800DE544 03E00008 */ jr $ra
|
||||
/* 0779F8 800DE548 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
trace_below_player:
|
||||
glabel trace_below_player
|
||||
/* 0779FC 800DE54C 27BDFF78 */ addiu $sp, $sp, -0x88
|
||||
/* 077A00 800DE550 AFB20060 */ sw $s2, 0x60($sp)
|
||||
/* 077A04 800DE554 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -2335,7 +2335,7 @@ trace_below_player:
|
||||
/* 077C8C 800DE7DC 03E00008 */ jr $ra
|
||||
/* 077C90 800DE7E0 27BD0088 */ addiu $sp, $sp, 0x88
|
||||
|
||||
func_800DE7E4:
|
||||
glabel func_800DE7E4
|
||||
/* 077C94 800DE7E4 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
/* 077C98 800DE7E8 F7B40048 */ sdc1 $f20, 0x48($sp)
|
||||
/* 077C9C 800DE7EC C7B40084 */ lwc1 $f20, 0x84($sp)
|
||||
@ -2477,7 +2477,7 @@ func_800DE7E4:
|
||||
/* 077EB0 800DEA00 03E00008 */ jr $ra
|
||||
/* 077EB4 800DEA04 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
trace_above_player:
|
||||
glabel trace_above_player
|
||||
/* 077EB8 800DEA08 27BDFF58 */ addiu $sp, $sp, -0xa8
|
||||
/* 077EBC 800DEA0C AFB30064 */ sw $s3, 0x64($sp)
|
||||
/* 077EC0 800DEA10 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -2609,7 +2609,7 @@ trace_above_player:
|
||||
/* 0780AC 800DEBFC 03E00008 */ jr $ra
|
||||
/* 0780B0 800DEC00 27BD00A8 */ addiu $sp, $sp, 0xa8
|
||||
|
||||
func_800DEC04:
|
||||
glabel func_800DEC04
|
||||
/* 0780B4 800DEC04 27BDFF58 */ addiu $sp, $sp, -0xa8
|
||||
/* 0780B8 800DEC08 AFB40078 */ sw $s4, 0x78($sp)
|
||||
/* 0780BC 800DEC0C 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -2768,7 +2768,7 @@ func_800DEC04:
|
||||
/* 078304 800DEE54 03E00008 */ jr $ra
|
||||
/* 078308 800DEE58 27BD00A8 */ addiu $sp, $sp, 0xa8
|
||||
|
||||
func_800DEE5C:
|
||||
glabel func_800DEE5C
|
||||
/* 07830C 800DEE5C 27BDFF70 */ addiu $sp, $sp, -0x90
|
||||
/* 078310 800DEE60 F7B40060 */ sdc1 $f20, 0x60($sp)
|
||||
/* 078314 800DEE64 4485A000 */ mtc1 $a1, $f20
|
||||
@ -2971,7 +2971,7 @@ func_800DEE5C:
|
||||
/* 078604 800DF154 03E00008 */ jr $ra
|
||||
/* 078608 800DF158 27BD0090 */ addiu $sp, $sp, 0x90
|
||||
|
||||
func_800DF15C:
|
||||
glabel func_800DF15C
|
||||
/* 07860C 800DF15C 27BDFF60 */ addiu $sp, $sp, -0xa0
|
||||
/* 078610 800DF160 AFB1006C */ sw $s1, 0x6c($sp)
|
||||
/* 078614 800DF164 00A0882D */ daddu $s1, $a1, $zero
|
||||
@ -3144,7 +3144,7 @@ func_800DF15C:
|
||||
/* 0788A4 800DF3F4 03E00008 */ jr $ra
|
||||
/* 0788A8 800DF3F8 27BD00A0 */ addiu $sp, $sp, 0xa0
|
||||
|
||||
func_800DF3FC:
|
||||
glabel func_800DF3FC
|
||||
/* 0788AC 800DF3FC 44863000 */ mtc1 $a2, $f6
|
||||
/* 0788B0 800DF400 C7A40010 */ lwc1 $f4, 0x10($sp)
|
||||
/* 0788B4 800DF404 46043082 */ mul.s $f2, $f6, $f4
|
||||
@ -3171,7 +3171,7 @@ func_800DF3FC:
|
||||
/* 078908 800DF458 03E00008 */ jr $ra
|
||||
/* 07890C 800DF45C E4A80000 */ swc1 $f8, ($a1)
|
||||
|
||||
test_player_lateral:
|
||||
glabel test_player_lateral
|
||||
/* 078910 800DF460 27BDFF48 */ addiu $sp, $sp, -0xb8
|
||||
/* 078914 800DF464 AFB40078 */ sw $s4, 0x78($sp)
|
||||
/* 078918 800DF468 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -3362,7 +3362,7 @@ test_player_lateral:
|
||||
/* 078BE8 800DF738 03E00008 */ jr $ra
|
||||
/* 078BEC 800DF73C 27BD00B8 */ addiu $sp, $sp, 0xb8
|
||||
|
||||
func_800DF740:
|
||||
glabel func_800DF740
|
||||
/* 078BF0 800DF740 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 078BF4 800DF744 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 078BF8 800DF748 AFB10014 */ sw $s1, 0x14($sp)
|
||||
@ -3553,7 +3553,7 @@ func_800DF740:
|
||||
/* 078EA8 800DF9F8 03E00008 */ jr $ra
|
||||
/* 078EAC 800DF9FC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
check_input_use_partner:
|
||||
glabel check_input_use_partner
|
||||
/* 078EB0 800DFA00 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 078EB4 800DFA04 3C038011 */ lui $v1, 0x8011
|
||||
/* 078EB8 800DFA08 2463EFC8 */ addiu $v1, $v1, -0x1038
|
||||
@ -3601,7 +3601,7 @@ check_input_use_partner:
|
||||
/* 078F54 800DFAA4 03E00008 */ jr $ra
|
||||
/* 078F58 800DFAA8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800DFAAC:
|
||||
glabel func_800DFAAC
|
||||
/* 078F5C 800DFAAC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 078F60 800DFAB0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 078F64 800DFAB4 0C037E80 */ jal check_input_use_partner
|
||||
@ -3688,7 +3688,7 @@ func_800DFAAC:
|
||||
/* 079090 800DFBE0 03E00008 */ jr $ra
|
||||
/* 079094 800DFBE4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800DFBE8:
|
||||
glabel func_800DFBE8
|
||||
/* 079098 800DFBE8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07909C 800DFBEC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0790A0 800DFBF0 0C03968B */ jal func_800E5A2C
|
||||
@ -3717,7 +3717,7 @@ func_800DFBE8:
|
||||
/* 0790F8 800DFC48 03E00008 */ jr $ra
|
||||
/* 0790FC 800DFC4C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
clear_player_status:
|
||||
glabel clear_player_status
|
||||
/* 079100 800DFC50 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 079104 800DFC54 3C048011 */ lui $a0, 0x8011
|
||||
/* 079108 800DFC58 2484EFC8 */ addiu $a0, $a0, -0x1038
|
||||
@ -3728,7 +3728,7 @@ clear_player_status:
|
||||
/* 07911C 800DFC6C 03E00008 */ jr $ra
|
||||
/* 079120 800DFC70 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800DFC74:
|
||||
glabel func_800DFC74
|
||||
/* 079124 800DFC74 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 079128 800DFC78 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07912C 800DFC7C 3C108011 */ lui $s0, 0x8011
|
||||
@ -3762,7 +3762,7 @@ func_800DFC74:
|
||||
/* 07919C 800DFCEC 03E00008 */ jr $ra
|
||||
/* 0791A0 800DFCF0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800DFCF4:
|
||||
glabel func_800DFCF4
|
||||
/* 0791A4 800DFCF4 3C048011 */ lui $a0, 0x8011
|
||||
/* 0791A8 800DFCF8 2484EBB0 */ addiu $a0, $a0, -0x1450
|
||||
/* 0791AC 800DFCFC 80830000 */ lb $v1, ($a0)
|
||||
@ -3788,7 +3788,7 @@ func_800DFCF4:
|
||||
/* 0791F0 800DFD40 03E00008 */ jr $ra
|
||||
/* 0791F4 800DFD44 24020001 */ addiu $v0, $zero, 1
|
||||
|
||||
func_800DFD48:
|
||||
glabel func_800DFD48
|
||||
/* 0791F8 800DFD48 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0791FC 800DFD4C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 079200 800DFD50 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -3916,7 +3916,7 @@ func_800DFD48:
|
||||
/* 0793A4 800DFEF4 03E00008 */ jr $ra
|
||||
/* 0793A8 800DFEF8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800DFEFC:
|
||||
glabel func_800DFEFC
|
||||
/* 0793AC 800DFEFC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0793B0 800DFF00 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0793B4 800DFF04 3C108011 */ lui $s0, 0x8011
|
||||
@ -3951,7 +3951,7 @@ func_800DFEFC:
|
||||
/* 079420 800DFF70 03E00008 */ jr $ra
|
||||
/* 079424 800DFF74 AC650000 */ sw $a1, ($v1)
|
||||
|
||||
func_800DFF78:
|
||||
glabel func_800DFF78
|
||||
/* 079428 800DFF78 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07942C 800DFF7C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 079430 800DFF80 3C108011 */ lui $s0, 0x8011
|
||||
@ -3975,7 +3975,7 @@ func_800DFF78:
|
||||
/* 079474 800DFFC4 03E00008 */ jr $ra
|
||||
/* 079478 800DFFC8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800DFFCC:
|
||||
glabel func_800DFFCC
|
||||
/* 07947C 800DFFCC 3C058011 */ lui $a1, 0x8011
|
||||
/* 079480 800DFFD0 24A5EFC8 */ addiu $a1, $a1, -0x1038
|
||||
/* 079484 800DFFD4 3C048011 */ lui $a0, 0x8011
|
||||
@ -4034,7 +4034,7 @@ func_800DFFCC:
|
||||
/* 079530 800E0080 03E00008 */ jr $ra
|
||||
/* 079534 800E0084 00000000 */ nop
|
||||
|
||||
func_800E0088:
|
||||
glabel func_800E0088
|
||||
/* 079538 800E0088 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07953C 800E008C 3C028011 */ lui $v0, 0x8011
|
||||
/* 079540 800E0090 2442EFC8 */ addiu $v0, $v0, -0x1038
|
||||
@ -4046,7 +4046,7 @@ func_800E0088:
|
||||
/* 079558 800E00A8 03E00008 */ jr $ra
|
||||
/* 07955C 800E00AC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
enable_player_shadow:
|
||||
glabel enable_player_shadow
|
||||
/* 079560 800E00B0 3C048011 */ lui $a0, 0x8011
|
||||
/* 079564 800E00B4 8C84F094 */ lw $a0, -0xf6c($a0)
|
||||
/* 079568 800E00B8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -4061,7 +4061,7 @@ enable_player_shadow:
|
||||
/* 07958C 800E00DC 03E00008 */ jr $ra
|
||||
/* 079590 800E00E0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
disable_player_shadow:
|
||||
glabel disable_player_shadow
|
||||
/* 079594 800E00E4 3C048011 */ lui $a0, 0x8011
|
||||
/* 079598 800E00E8 8C84F094 */ lw $a0, -0xf6c($a0)
|
||||
/* 07959C 800E00EC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -4075,7 +4075,7 @@ disable_player_shadow:
|
||||
/* 0795BC 800E010C 03E00008 */ jr $ra
|
||||
/* 0795C0 800E0110 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
enable_player_physics:
|
||||
glabel enable_player_physics
|
||||
/* 0795C4 800E0114 3C038011 */ lui $v1, 0x8011
|
||||
/* 0795C8 800E0118 2463EFC8 */ addiu $v1, $v1, -0x1038
|
||||
/* 0795CC 800E011C 8C640000 */ lw $a0, ($v1)
|
||||
@ -4088,7 +4088,7 @@ enable_player_physics:
|
||||
/* 0795E8 800E0138 03E00008 */ jr $ra
|
||||
/* 0795EC 800E013C AC640000 */ sw $a0, ($v1)
|
||||
|
||||
disable_player_physics:
|
||||
glabel disable_player_physics
|
||||
/* 0795F0 800E0140 3C048011 */ lui $a0, 0x8011
|
||||
/* 0795F4 800E0144 2484EFC8 */ addiu $a0, $a0, -0x1038
|
||||
/* 0795F8 800E0148 90820014 */ lbu $v0, 0x14($a0)
|
||||
@ -4105,7 +4105,7 @@ disable_player_physics:
|
||||
/* 079620 800E0170 03E00008 */ jr $ra
|
||||
/* 079624 800E0174 00A0102D */ daddu $v0, $a1, $zero
|
||||
|
||||
func_800E0178:
|
||||
glabel func_800E0178
|
||||
/* 079628 800E0178 3C038011 */ lui $v1, 0x8011
|
||||
/* 07962C 800E017C 2463EFC8 */ addiu $v1, $v1, -0x1038
|
||||
/* 079630 800E0180 8C640000 */ lw $a0, ($v1)
|
||||
@ -4118,7 +4118,7 @@ func_800E0178:
|
||||
/* 07964C 800E019C 03E00008 */ jr $ra
|
||||
/* 079650 800E01A0 AC640000 */ sw $a0, ($v1)
|
||||
|
||||
func_800E01A4:
|
||||
glabel func_800E01A4
|
||||
/* 079654 800E01A4 3C048011 */ lui $a0, 0x8011
|
||||
/* 079658 800E01A8 2484EFC8 */ addiu $a0, $a0, -0x1038
|
||||
/* 07965C 800E01AC 90820015 */ lbu $v0, 0x15($a0)
|
||||
@ -4135,7 +4135,7 @@ func_800E01A4:
|
||||
/* 079684 800E01D4 03E00008 */ jr $ra
|
||||
/* 079688 800E01D8 00A0102D */ daddu $v0, $a1, $zero
|
||||
|
||||
func_800E01DC:
|
||||
glabel func_800E01DC
|
||||
/* 07968C 800E01DC 3C048011 */ lui $a0, 0x8011
|
||||
/* 079690 800E01E0 2484EFC8 */ addiu $a0, $a0, -0x1038
|
||||
/* 079694 800E01E4 8C820004 */ lw $v0, 4($a0)
|
||||
@ -4149,7 +4149,7 @@ func_800E01DC:
|
||||
/* 0796B0 800E0200 03E00008 */ jr $ra
|
||||
/* 0796B4 800E0204 00000000 */ nop
|
||||
|
||||
func_800E0208:
|
||||
glabel func_800E0208
|
||||
/* 0796B8 800E0208 3C038007 */ lui $v1, 0x8007
|
||||
/* 0796BC 800E020C 8C63419C */ lw $v1, 0x419c($v1)
|
||||
/* 0796C0 800E0210 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -4174,7 +4174,7 @@ func_800E0208:
|
||||
/* 079708 800E0258 03E00008 */ jr $ra
|
||||
/* 07970C 800E025C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E0260:
|
||||
glabel func_800E0260
|
||||
/* 079710 800E0260 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 079714 800E0264 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 079718 800E0268 0C038196 */ jal func_800E0658
|
||||
@ -4189,7 +4189,7 @@ func_800E0260:
|
||||
/* 07973C 800E028C 03E00008 */ jr $ra
|
||||
/* 079740 800E0290 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E0294:
|
||||
glabel func_800E0294
|
||||
/* 079744 800E0294 3C028016 */ lui $v0, 0x8016
|
||||
/* 079748 800E0298 8042A57A */ lb $v0, -0x5a86($v0)
|
||||
/* 07974C 800E029C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -4233,7 +4233,7 @@ func_800E0294:
|
||||
/* 0797D8 800E0328 03E00008 */ jr $ra
|
||||
/* 0797DC 800E032C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E0330:
|
||||
glabel func_800E0330
|
||||
/* 0797E0 800E0330 3C02800F */ lui $v0, 0x800f
|
||||
/* 0797E4 800E0334 8C427B30 */ lw $v0, 0x7b30($v0)
|
||||
/* 0797E8 800E0338 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -4253,7 +4253,7 @@ func_800E0330:
|
||||
/* 07981C 800E036C 03E00008 */ jr $ra
|
||||
/* 079820 800E0370 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E0374:
|
||||
glabel func_800E0374
|
||||
/* 079824 800E0374 3C02800F */ lui $v0, 0x800f
|
||||
/* 079828 800E0378 8C427B30 */ lw $v0, 0x7b30($v0)
|
||||
/* 07982C 800E037C 8C430004 */ lw $v1, 4($v0)
|
||||
@ -4264,7 +4264,7 @@ func_800E0374:
|
||||
/* 079840 800E0390 03E00008 */ jr $ra
|
||||
/* 079844 800E0394 AC430004 */ sw $v1, 4($v0)
|
||||
|
||||
func_800E0398:
|
||||
glabel func_800E0398
|
||||
/* 079848 800E0398 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07984C 800E039C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 079850 800E03A0 3C108011 */ lui $s0, 0x8011
|
||||
@ -4348,7 +4348,7 @@ func_800E0398:
|
||||
/* 079978 800E04C8 03E00008 */ jr $ra
|
||||
/* 07997C 800E04CC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E04D0:
|
||||
glabel func_800E04D0
|
||||
/* 079980 800E04D0 3C02800F */ lui $v0, 0x800f
|
||||
/* 079984 800E04D4 8C427B30 */ lw $v0, 0x7b30($v0)
|
||||
/* 079988 800E04D8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -4368,7 +4368,7 @@ func_800E04D0:
|
||||
/* 0799BC 800E050C 03E00008 */ jr $ra
|
||||
/* 0799C0 800E0510 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E0514:
|
||||
glabel func_800E0514
|
||||
/* 0799C4 800E0514 3C02800F */ lui $v0, 0x800f
|
||||
/* 0799C8 800E0518 8C427B30 */ lw $v0, 0x7b30($v0)
|
||||
/* 0799CC 800E051C 8C430004 */ lw $v1, 4($v0)
|
||||
@ -4379,7 +4379,7 @@ func_800E0514:
|
||||
/* 0799E0 800E0530 03E00008 */ jr $ra
|
||||
/* 0799E4 800E0534 AC430004 */ sw $v1, 4($v0)
|
||||
|
||||
func_800E0538:
|
||||
glabel func_800E0538
|
||||
/* 0799E8 800E0538 3C058011 */ lui $a1, 0x8011
|
||||
/* 0799EC 800E053C 24A5EFC8 */ addiu $a1, $a1, -0x1038
|
||||
/* 0799F0 800E0540 8CA200C8 */ lw $v0, 0xc8($a1)
|
||||
@ -4400,7 +4400,7 @@ func_800E0538:
|
||||
/* 079A28 800E0578 03E00008 */ jr $ra
|
||||
/* 079A2C 800E057C 0080102D */ daddu $v0, $a0, $zero
|
||||
|
||||
func_800E0580:
|
||||
glabel func_800E0580
|
||||
/* 079A30 800E0580 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 079A34 800E0584 3C038011 */ lui $v1, 0x8011
|
||||
/* 079A38 800E0588 2463EFC8 */ addiu $v1, $v1, -0x1038
|
||||
@ -4460,7 +4460,7 @@ func_800E0580:
|
||||
/* 079B00 800E0650 03E00008 */ jr $ra
|
||||
/* 079B04 800E0654 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E0658:
|
||||
glabel func_800E0658
|
||||
/* 079B08 800E0658 3C02800F */ lui $v0, 0x800f
|
||||
/* 079B0C 800E065C 8C427B30 */ lw $v0, 0x7b30($v0)
|
||||
/* 079B10 800E0660 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -4480,7 +4480,7 @@ func_800E0658:
|
||||
/* 079B44 800E0694 03E00008 */ jr $ra
|
||||
/* 079B48 800E0698 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E069C:
|
||||
glabel func_800E069C
|
||||
/* 079B4C 800E069C 3C02800F */ lui $v0, 0x800f
|
||||
/* 079B50 800E06A0 8C427B30 */ lw $v0, 0x7b30($v0)
|
||||
/* 079B54 800E06A4 8C430004 */ lw $v1, 4($v0)
|
||||
@ -4491,7 +4491,7 @@ func_800E069C:
|
||||
/* 079B68 800E06B8 03E00008 */ jr $ra
|
||||
/* 079B6C 800E06BC AC430004 */ sw $v1, 4($v0)
|
||||
|
||||
func_800E06C0:
|
||||
glabel func_800E06C0
|
||||
/* 079B70 800E06C0 38840001 */ xori $a0, $a0, 1
|
||||
/* 079B74 800E06C4 2C840001 */ sltiu $a0, $a0, 1
|
||||
/* 079B78 800E06C8 3C018011 */ lui $at, 0x8011
|
||||
@ -4595,7 +4595,7 @@ func_800E06C0:
|
||||
/* 079CC0 800E0810 03E00008 */ jr $ra
|
||||
/* 079CC4 800E0814 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800E0818:
|
||||
glabel func_800E0818
|
||||
/* 079CC8 800E0818 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 079CCC 800E081C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 079CD0 800E0820 3C118011 */ lui $s1, 0x8011
|
||||
@ -4793,7 +4793,7 @@ func_800E0818:
|
||||
/* 079F78 800E0AC8 03E00008 */ jr $ra
|
||||
/* 079F7C 800E0ACC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_800E0AD0:
|
||||
glabel func_800E0AD0
|
||||
/* 079F80 800E0AD0 3C02800F */ lui $v0, 0x800f
|
||||
/* 079F84 800E0AD4 8C427B30 */ lw $v0, 0x7b30($v0)
|
||||
/* 079F88 800E0AD8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -4813,7 +4813,7 @@ func_800E0AD0:
|
||||
/* 079FBC 800E0B0C 03E00008 */ jr $ra
|
||||
/* 079FC0 800E0B10 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E0B14:
|
||||
glabel func_800E0B14
|
||||
/* 079FC4 800E0B14 3C02800F */ lui $v0, 0x800f
|
||||
/* 079FC8 800E0B18 8C427B30 */ lw $v0, 0x7b30($v0)
|
||||
/* 079FCC 800E0B1C 8C430004 */ lw $v1, 4($v0)
|
||||
@ -4824,7 +4824,7 @@ func_800E0B14:
|
||||
/* 079FE0 800E0B30 03E00008 */ jr $ra
|
||||
/* 079FE4 800E0B34 AC430004 */ sw $v1, 4($v0)
|
||||
|
||||
func_800E0B38:
|
||||
glabel func_800E0B38
|
||||
/* 079FE8 800E0B38 3C028007 */ lui $v0, 0x8007
|
||||
/* 079FEC 800E0B3C 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 079FF0 800E0B40 80420070 */ lb $v0, 0x70($v0)
|
||||
@ -4851,7 +4851,7 @@ func_800E0B38:
|
||||
/* 07A038 800E0B88 03E00008 */ jr $ra
|
||||
/* 07A03C 800E0B8C 00000000 */ nop
|
||||
|
||||
func_800E0B90:
|
||||
glabel func_800E0B90
|
||||
/* 07A040 800E0B90 3C038007 */ lui $v1, 0x8007
|
||||
/* 07A044 800E0B94 8C637410 */ lw $v1, 0x7410($v1)
|
||||
/* 07A048 800E0B98 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
@ -5154,7 +5154,7 @@ func_800E0B90:
|
||||
/* 07A494 800E0FE4 03E00008 */ jr $ra
|
||||
/* 07A498 800E0FE8 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_800E0FEC:
|
||||
glabel func_800E0FEC
|
||||
/* 07A49C 800E0FEC 00041403 */ sra $v0, $a0, 0x10
|
||||
/* 07A4A0 800E0FF0 304300FF */ andi $v1, $v0, 0xff
|
||||
/* 07A4A4 800E0FF4 24020001 */ addiu $v0, $zero, 1
|
||||
@ -5263,7 +5263,7 @@ func_800E0FEC:
|
||||
/* 07A5E0 800E1130 03E00008 */ jr $ra
|
||||
/* 07A5E4 800E1134 00A0102D */ daddu $v0, $a1, $zero
|
||||
|
||||
render_player:
|
||||
glabel render_player
|
||||
/* 07A5E8 800E1138 3C028007 */ lui $v0, 0x8007
|
||||
/* 07A5EC 800E113C 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 07A5F0 800E1140 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -5278,7 +5278,7 @@ render_player:
|
||||
/* 07A610 800E1160 03E00008 */ jr $ra
|
||||
/* 07A614 800E1164 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
render_player_model:
|
||||
glabel render_player_model
|
||||
/* 07A618 800E1168 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 07A61C 800E116C AFB10044 */ sw $s1, 0x44($sp)
|
||||
/* 07A620 800E1170 AFB00040 */ sw $s0, 0x40($sp)
|
||||
@ -5390,7 +5390,7 @@ render_player_model:
|
||||
/* 07A79C 800E12EC 03E00008 */ jr $ra
|
||||
/* 07A7A0 800E12F0 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
|
||||
make_player_display_list:
|
||||
glabel make_player_display_list
|
||||
/* 07A7A4 800E12F4 3C03800A */ lui $v1, 0x800a
|
||||
/* 07A7A8 800E12F8 8463A634 */ lh $v1, -0x59cc($v1)
|
||||
/* 07A7AC 800E12FC 27BDFEB0 */ addiu $sp, $sp, -0x150
|
||||
@ -5659,7 +5659,7 @@ make_player_display_list:
|
||||
/* 07ABAC 800E16FC 03E00008 */ jr $ra
|
||||
/* 07ABB0 800E1700 27BD0150 */ addiu $sp, $sp, 0x150
|
||||
|
||||
make_spinning_player_display_list:
|
||||
glabel make_spinning_player_display_list
|
||||
/* 07ABB4 800E1704 27BDFE80 */ addiu $sp, $sp, -0x180
|
||||
/* 07ABB8 800E1708 F7B60158 */ sdc1 $f22, 0x158($sp)
|
||||
/* 07ABBC 800E170C 4480B000 */ mtc1 $zero, $f22
|
||||
@ -5982,7 +5982,7 @@ make_spinning_player_display_list:
|
||||
/* 07B06C 800E1BBC 03E00008 */ jr $ra
|
||||
/* 07B070 800E1BC0 27BD0180 */ addiu $sp, $sp, 0x180
|
||||
|
||||
update_below_player:
|
||||
glabel update_below_player
|
||||
/* 07B074 800E1BC4 3C02800F */ lui $v0, 0x800f
|
||||
/* 07B078 800E1BC8 8C427B30 */ lw $v0, 0x7b30($v0)
|
||||
/* 07B07C 800E1BCC 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
@ -6237,7 +6237,7 @@ update_below_player:
|
||||
/* 07B438 800E1F88 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
/* 07B43C 800E1F8C 00000000 */ nop
|
||||
func_800E1F90:
|
||||
glabel func_800E1F90
|
||||
/* 07B440 800E1F90 3C048011 */ lui $a0, 0x8011
|
||||
/* 07B444 800E1F94 2484EFC8 */ addiu $a0, $a0, -0x1038
|
||||
/* 07B448 800E1F98 3C038007 */ lui $v1, 0x8007
|
||||
@ -6293,7 +6293,7 @@ func_800E1F90:
|
||||
/* 07B504 800E2054 03E00008 */ jr $ra
|
||||
/* 07B508 800E2058 00000000 */ nop
|
||||
|
||||
func_800E205C:
|
||||
glabel func_800E205C
|
||||
/* 07B50C 800E205C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07B510 800E2060 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 07B514 800E2064 3C058011 */ lui $a1, 0x8011
|
||||
@ -6470,7 +6470,7 @@ func_800E205C:
|
||||
/* 07B7AC 800E22FC 03E00008 */ jr $ra
|
||||
/* 07B7B0 800E2300 AC820000 */ sw $v0, ($a0)
|
||||
|
||||
func_800E2304:
|
||||
glabel func_800E2304
|
||||
/* 07B7B4 800E2304 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 07B7B8 800E2308 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 07B7BC 800E230C 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -6602,7 +6602,7 @@ func_800E2304:
|
||||
/* 07B9A0 800E24F0 03E00008 */ jr $ra
|
||||
/* 07B9A4 800E24F4 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_800E24F8:
|
||||
glabel func_800E24F8
|
||||
/* 07B9A8 800E24F8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07B9AC 800E24FC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07B9B0 800E2500 3C108011 */ lui $s0, 0x8011
|
||||
|
859
papermario/asm/code_7E2AA0.s
Normal file
859
papermario/asm/code_7E2AA0.s
Normal file
@ -0,0 +1,859 @@
|
||||
# %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 .text80281C20, "ax"
|
||||
|
||||
/* 7E2AA0 80281C20 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 7E2AA4 80281C24 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 7E2AA8 80281C28 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 7E2AAC 80281C2C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 7E2AB0 80281C30 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7E2AB4 80281C34 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 7E2AB8 80281C38 8E050000 */ lw $a1, ($s0)
|
||||
/* 7E2ABC 80281C3C 0C0B1EAF */ jal get_variable
|
||||
/* 7E2AC0 80281C40 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7E2AC4 80281C44 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7E2AC8 80281C48 8E050000 */ lw $a1, ($s0)
|
||||
/* 7E2ACC 80281C4C 0C0B1EAF */ jal get_variable
|
||||
/* 7E2AD0 80281C50 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 7E2AD4 80281C54 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 7E2AD8 80281C58 0C03BD05 */ jal func_800EF414
|
||||
/* 7E2ADC 80281C5C 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 7E2AE0 80281C60 44806000 */ mtc1 $zero, $f12
|
||||
/* 7E2AE4 80281C64 0C03BCE5 */ jal func_800EF394
|
||||
/* 7E2AE8 80281C68 00000000 */ nop
|
||||
/* 7E2AEC 80281C6C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 7E2AF0 80281C70 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 7E2AF4 80281C74 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7E2AF8 80281C78 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E2AFC 80281C7C 03E00008 */ jr $ra
|
||||
/* 7E2B00 80281C80 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 7E2B04 80281C84 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7E2B08 80281C88 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 7E2B0C 80281C8C 0C03BCF9 */ jal func_800EF3E4
|
||||
/* 7E2B10 80281C90 00000000 */ nop
|
||||
/* 7E2B14 80281C94 0C03BCE9 */ jal func_800EF3A4
|
||||
/* 7E2B18 80281C98 00000000 */ nop
|
||||
/* 7E2B1C 80281C9C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 7E2B20 80281CA0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E2B24 80281CA4 03E00008 */ jr $ra
|
||||
/* 7E2B28 80281CA8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel MakeDoorAdvanced
|
||||
/* 7E2B2C 80281CAC 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 7E2B30 80281CB0 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 7E2B34 80281CB4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 7E2B38 80281CB8 AFBF0054 */ sw $ra, 0x54($sp)
|
||||
/* 7E2B3C 80281CBC AFBE0050 */ sw $fp, 0x50($sp)
|
||||
/* 7E2B40 80281CC0 AFB7004C */ sw $s7, 0x4c($sp)
|
||||
/* 7E2B44 80281CC4 AFB60048 */ sw $s6, 0x48($sp)
|
||||
/* 7E2B48 80281CC8 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 7E2B4C 80281CCC AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 7E2B50 80281CD0 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 7E2B54 80281CD4 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 7E2B58 80281CD8 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 7E2B5C 80281CDC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 7E2B60 80281CE0 0C00AB39 */ jal heap_malloc
|
||||
/* 7E2B64 80281CE4 24040064 */ addiu $a0, $zero, 0x64
|
||||
/* 7E2B68 80281CE8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7E2B6C 80281CEC 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 7E2B70 80281CF0 AE400000 */ sw $zero, ($s2)
|
||||
/* 7E2B74 80281CF4 8E050000 */ lw $a1, ($s0)
|
||||
/* 7E2B78 80281CF8 0C0B1EAF */ jal get_variable
|
||||
/* 7E2B7C 80281CFC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7E2B80 80281D00 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 7E2B84 80281D04 32620FFF */ andi $v0, $s3, 0xfff
|
||||
/* 7E2B88 80281D08 AE420004 */ sw $v0, 4($s2)
|
||||
/* 7E2B8C 80281D0C 3262F000 */ andi $v0, $s3, 0xf000
|
||||
/* 7E2B90 80281D10 00021303 */ sra $v0, $v0, 0xc
|
||||
/* 7E2B94 80281D14 A6420008 */ sh $v0, 8($s2)
|
||||
/* 7E2B98 80281D18 A640000A */ sh $zero, 0xa($s2)
|
||||
/* 7E2B9C 80281D1C 8E050000 */ lw $a1, ($s0)
|
||||
/* 7E2BA0 80281D20 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7E2BA4 80281D24 0C0B1EAF */ jal get_variable
|
||||
/* 7E2BA8 80281D28 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7E2BAC 80281D2C 8E050000 */ lw $a1, ($s0)
|
||||
/* 7E2BB0 80281D30 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7E2BB4 80281D34 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7E2BB8 80281D38 0C0B1EAF */ jal get_variable
|
||||
/* 7E2BBC 80281D3C AFA2002C */ sw $v0, 0x2c($sp)
|
||||
/* 7E2BC0 80281D40 8E050000 */ lw $a1, ($s0)
|
||||
/* 7E2BC4 80281D44 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7E2BC8 80281D48 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7E2BCC 80281D4C 0C0B1EAF */ jal get_variable
|
||||
/* 7E2BD0 80281D50 0040F02D */ daddu $fp, $v0, $zero
|
||||
/* 7E2BD4 80281D54 8E050000 */ lw $a1, ($s0)
|
||||
/* 7E2BD8 80281D58 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7E2BDC 80281D5C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7E2BE0 80281D60 0C0B1EAF */ jal get_variable
|
||||
/* 7E2BE4 80281D64 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* 7E2BE8 80281D68 8E050000 */ lw $a1, ($s0)
|
||||
/* 7E2BEC 80281D6C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7E2BF0 80281D70 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7E2BF4 80281D74 0C0B1EAF */ jal get_variable
|
||||
/* 7E2BF8 80281D78 0040B82D */ daddu $s7, $v0, $zero
|
||||
/* 7E2BFC 80281D7C 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* 7E2C00 80281D80 AE540060 */ sw $s4, 0x60($s2)
|
||||
/* 7E2C04 80281D84 8E050000 */ lw $a1, ($s0)
|
||||
/* 7E2C08 80281D88 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7E2C0C 80281D8C 0C0B1EAF */ jal get_variable
|
||||
/* 7E2C10 80281D90 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7E2C14 80281D94 8E050000 */ lw $a1, ($s0)
|
||||
/* 7E2C18 80281D98 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7E2C1C 80281D9C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7E2C20 80281DA0 0C0B1EAF */ jal get_variable
|
||||
/* 7E2C24 80281DA4 0040B02D */ daddu $s6, $v0, $zero
|
||||
/* 7E2C28 80281DA8 AE42003C */ sw $v0, 0x3c($s2)
|
||||
/* 7E2C2C 80281DAC 8E050000 */ lw $a1, ($s0)
|
||||
/* 7E2C30 80281DB0 0C0B1EAF */ jal get_variable
|
||||
/* 7E2C34 80281DB4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7E2C38 80281DB8 12A00003 */ beqz $s5, .L80281DC8
|
||||
/* 7E2C3C 80281DBC AE42005C */ sw $v0, 0x5c($s2)
|
||||
/* 7E2C40 80281DC0 36730800 */ ori $s3, $s3, 0x800
|
||||
/* 7E2C44 80281DC4 AE530004 */ sw $s3, 4($s2)
|
||||
.L80281DC8:
|
||||
/* 7E2C48 80281DC8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7E2C4C 80281DCC 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* 7E2C50 80281DD0 27B0001C */ addiu $s0, $sp, 0x1c
|
||||
/* 7E2C54 80281DD4 0200302D */ daddu $a2, $s0, $zero
|
||||
/* 7E2C58 80281DD8 0C016F84 */ jal get_collider_center
|
||||
/* 7E2C5C 80281DDC 27A70020 */ addiu $a3, $sp, 0x20
|
||||
/* 7E2C60 80281DE0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 7E2C64 80281DE4 27A50024 */ addiu $a1, $sp, 0x24
|
||||
/* 7E2C68 80281DE8 0200302D */ daddu $a2, $s0, $zero
|
||||
/* 7E2C6C 80281DEC 0C016F76 */ jal func_8005BDD8
|
||||
/* 7E2C70 80281DF0 27A70028 */ addiu $a3, $sp, 0x28
|
||||
/* 7E2C74 80281DF4 326300FF */ andi $v1, $s3, 0xff
|
||||
/* 7E2C78 80281DF8 2C620008 */ sltiu $v0, $v1, 8
|
||||
/* 7E2C7C 80281DFC 104000F0 */ beqz $v0, .L802821C0
|
||||
/* 7E2C80 80281E00 00031080 */ sll $v0, $v1, 2
|
||||
/* 7E2C84 80281E04 3C018028 */ lui $at, 0x8028
|
||||
/* 7E2C88 80281E08 00220821 */ addu $at, $at, $v0
|
||||
/* 7E2C8C 80281E0C 8C226500 */ lw $v0, 0x6500($at)
|
||||
/* 7E2C90 80281E10 00400008 */ jr $v0
|
||||
/* 7E2C94 80281E14 00000000 */ nop
|
||||
/* 7E2C98 80281E18 C7AA0024 */ lwc1 $f10, 0x24($sp)
|
||||
/* 7E2C9C 80281E1C 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 7E2CA0 80281E20 44811000 */ mtc1 $at, $f2
|
||||
/* 7E2CA4 80281E24 00000000 */ nop
|
||||
/* 7E2CA8 80281E28 46025302 */ mul.s $f12, $f10, $f2
|
||||
/* 7E2CAC 80281E2C 00000000 */ nop
|
||||
/* 7E2CB0 80281E30 C7A60028 */ lwc1 $f6, 0x28($sp)
|
||||
/* 7E2CB4 80281E34 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 7E2CB8 80281E38 44810000 */ mtc1 $at, $f0
|
||||
/* 7E2CBC 80281E3C 00000000 */ nop
|
||||
/* 7E2CC0 80281E40 46003102 */ mul.s $f4, $f6, $f0
|
||||
/* 7E2CC4 80281E44 00000000 */ nop
|
||||
/* 7E2CC8 80281E48 46023182 */ mul.s $f6, $f6, $f2
|
||||
/* 7E2CCC 80281E4C 00000000 */ nop
|
||||
/* 7E2CD0 80281E50 46005282 */ mul.s $f10, $f10, $f0
|
||||
/* 7E2CD4 80281E54 00000000 */ nop
|
||||
/* 7E2CD8 80281E58 C7A20018 */ lwc1 $f2, 0x18($sp)
|
||||
/* 7E2CDC 80281E5C 460C1200 */ add.s $f8, $f2, $f12
|
||||
/* 7E2CE0 80281E60 460C1081 */ sub.s $f2, $f2, $f12
|
||||
/* 7E2CE4 80281E64 46044201 */ sub.s $f8, $f8, $f4
|
||||
/* 7E2CE8 80281E68 C7A00020 */ lwc1 $f0, 0x20($sp)
|
||||
/* 7E2CEC 80281E6C 46060100 */ add.s $f4, $f0, $f6
|
||||
/* 7E2CF0 80281E70 46060001 */ sub.s $f0, $f0, $f6
|
||||
/* 7E2CF4 80281E74 E6420014 */ swc1 $f2, 0x14($s2)
|
||||
/* 7E2CF8 80281E78 080A0819 */ j .L80282064
|
||||
/* 7E2CFC 80281E7C 460A2100 */ add.s $f4, $f4, $f10
|
||||
|
||||
/* 7E2D00 80281E80 C7A80024 */ lwc1 $f8, 0x24($sp)
|
||||
/* 7E2D04 80281E84 3C014270 */ lui $at, 0x4270
|
||||
/* 7E2D08 80281E88 44812000 */ mtc1 $at, $f4
|
||||
/* 7E2D0C 80281E8C 00000000 */ nop
|
||||
/* 7E2D10 80281E90 46044302 */ mul.s $f12, $f8, $f4
|
||||
/* 7E2D14 80281E94 00000000 */ nop
|
||||
/* 7E2D18 80281E98 C7A60028 */ lwc1 $f6, 0x28($sp)
|
||||
/* 7E2D1C 80281E9C 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 7E2D20 80281EA0 44815000 */ mtc1 $at, $f10
|
||||
/* 7E2D24 80281EA4 00000000 */ nop
|
||||
/* 7E2D28 80281EA8 460A3382 */ mul.s $f14, $f6, $f10
|
||||
/* 7E2D2C 80281EAC 00000000 */ nop
|
||||
/* 7E2D30 80281EB0 46043102 */ mul.s $f4, $f6, $f4
|
||||
/* 7E2D34 80281EB4 00000000 */ nop
|
||||
/* 7E2D38 80281EB8 460A4282 */ mul.s $f10, $f8, $f10
|
||||
/* 7E2D3C 80281EBC 00000000 */ nop
|
||||
/* 7E2D40 80281EC0 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 7E2D44 80281EC4 44810000 */ mtc1 $at, $f0
|
||||
/* 7E2D48 80281EC8 00000000 */ nop
|
||||
/* 7E2D4C 80281ECC 46004202 */ mul.s $f8, $f8, $f0
|
||||
/* 7E2D50 80281ED0 00000000 */ nop
|
||||
/* 7E2D54 80281ED4 46003182 */ mul.s $f6, $f6, $f0
|
||||
/* 7E2D58 80281ED8 00000000 */ nop
|
||||
/* 7E2D5C 80281EDC C7A20018 */ lwc1 $f2, 0x18($sp)
|
||||
/* 7E2D60 80281EE0 460C1300 */ add.s $f12, $f2, $f12
|
||||
/* 7E2D64 80281EE4 C7A00020 */ lwc1 $f0, 0x20($sp)
|
||||
/* 7E2D68 80281EE8 46040100 */ add.s $f4, $f0, $f4
|
||||
/* 7E2D6C 80281EEC 46081081 */ sub.s $f2, $f2, $f8
|
||||
/* 7E2D70 80281EF0 46060001 */ sub.s $f0, $f0, $f6
|
||||
/* 7E2D74 80281EF4 460E6301 */ sub.s $f12, $f12, $f14
|
||||
/* 7E2D78 80281EF8 E6420014 */ swc1 $f2, 0x14($s2)
|
||||
/* 7E2D7C 80281EFC 080A083D */ j .L802820F4
|
||||
/* 7E2D80 80281F00 460A2100 */ add.s $f4, $f4, $f10
|
||||
|
||||
/* 7E2D84 80281F04 C7A80024 */ lwc1 $f8, 0x24($sp)
|
||||
/* 7E2D88 80281F08 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 7E2D8C 80281F0C 44813000 */ mtc1 $at, $f6
|
||||
/* 7E2D90 80281F10 00000000 */ nop
|
||||
/* 7E2D94 80281F14 46064282 */ mul.s $f10, $f8, $f6
|
||||
/* 7E2D98 80281F18 00000000 */ nop
|
||||
/* 7E2D9C 80281F1C C7A40028 */ lwc1 $f4, 0x28($sp)
|
||||
/* 7E2DA0 80281F20 46062182 */ mul.s $f6, $f4, $f6
|
||||
/* 7E2DA4 80281F24 00000000 */ nop
|
||||
/* 7E2DA8 80281F28 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 7E2DAC 80281F2C 44810000 */ mtc1 $at, $f0
|
||||
/* 7E2DB0 80281F30 00000000 */ nop
|
||||
/* 7E2DB4 80281F34 46002102 */ mul.s $f4, $f4, $f0
|
||||
/* 7E2DB8 80281F38 00000000 */ nop
|
||||
/* 7E2DBC 80281F3C 46004202 */ mul.s $f8, $f8, $f0
|
||||
/* 7E2DC0 80281F40 00000000 */ nop
|
||||
/* 7E2DC4 80281F44 C7A20018 */ lwc1 $f2, 0x18($sp)
|
||||
/* 7E2DC8 80281F48 460A1300 */ add.s $f12, $f2, $f10
|
||||
/* 7E2DCC 80281F4C 460A1081 */ sub.s $f2, $f2, $f10
|
||||
/* 7E2DD0 80281F50 C7A00020 */ lwc1 $f0, 0x20($sp)
|
||||
/* 7E2DD4 80281F54 46060280 */ add.s $f10, $f0, $f6
|
||||
/* 7E2DD8 80281F58 46060001 */ sub.s $f0, $f0, $f6
|
||||
/* 7E2DDC 80281F5C 46041081 */ sub.s $f2, $f2, $f4
|
||||
/* 7E2DE0 80281F60 E64C000C */ swc1 $f12, 0xc($s2)
|
||||
/* 7E2DE4 80281F64 46080001 */ sub.s $f0, $f0, $f8
|
||||
/* 7E2DE8 80281F68 E64A0010 */ swc1 $f10, 0x10($s2)
|
||||
/* 7E2DEC 80281F6C 080A086F */ j .L802821BC
|
||||
/* 7E2DF0 80281F70 E6420014 */ swc1 $f2, 0x14($s2)
|
||||
|
||||
/* 7E2DF4 80281F74 C7A80024 */ lwc1 $f8, 0x24($sp)
|
||||
/* 7E2DF8 80281F78 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 7E2DFC 80281F7C 44813000 */ mtc1 $at, $f6
|
||||
/* 7E2E00 80281F80 00000000 */ nop
|
||||
/* 7E2E04 80281F84 46064282 */ mul.s $f10, $f8, $f6
|
||||
/* 7E2E08 80281F88 00000000 */ nop
|
||||
/* 7E2E0C 80281F8C C7A40028 */ lwc1 $f4, 0x28($sp)
|
||||
/* 7E2E10 80281F90 46062182 */ mul.s $f6, $f4, $f6
|
||||
/* 7E2E14 80281F94 00000000 */ nop
|
||||
/* 7E2E18 80281F98 3C014270 */ lui $at, 0x4270
|
||||
/* 7E2E1C 80281F9C 44811000 */ mtc1 $at, $f2
|
||||
/* 7E2E20 80281FA0 00000000 */ nop
|
||||
/* 7E2E24 80281FA4 46024302 */ mul.s $f12, $f8, $f2
|
||||
/* 7E2E28 80281FA8 00000000 */ nop
|
||||
/* 7E2E2C 80281FAC 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 7E2E30 80281FB0 44810000 */ mtc1 $at, $f0
|
||||
/* 7E2E34 80281FB4 00000000 */ nop
|
||||
/* 7E2E38 80281FB8 46002382 */ mul.s $f14, $f4, $f0
|
||||
/* 7E2E3C 80281FBC 00000000 */ nop
|
||||
/* 7E2E40 80281FC0 46022102 */ mul.s $f4, $f4, $f2
|
||||
/* 7E2E44 80281FC4 00000000 */ nop
|
||||
/* 7E2E48 80281FC8 46004202 */ mul.s $f8, $f8, $f0
|
||||
/* 7E2E4C 80281FCC 00000000 */ nop
|
||||
/* 7E2E50 80281FD0 C7A20018 */ lwc1 $f2, 0x18($sp)
|
||||
/* 7E2E54 80281FD4 460A1280 */ add.s $f10, $f2, $f10
|
||||
/* 7E2E58 80281FD8 460C1081 */ sub.s $f2, $f2, $f12
|
||||
/* 7E2E5C 80281FDC C7A00020 */ lwc1 $f0, 0x20($sp)
|
||||
/* 7E2E60 80281FE0 46060180 */ add.s $f6, $f0, $f6
|
||||
/* 7E2E64 80281FE4 46040001 */ sub.s $f0, $f0, $f4
|
||||
/* 7E2E68 80281FE8 460E1081 */ sub.s $f2, $f2, $f14
|
||||
/* 7E2E6C 80281FEC E64A000C */ swc1 $f10, 0xc($s2)
|
||||
/* 7E2E70 80281FF0 46080001 */ sub.s $f0, $f0, $f8
|
||||
/* 7E2E74 80281FF4 E6460010 */ swc1 $f6, 0x10($s2)
|
||||
/* 7E2E78 80281FF8 080A086F */ j .L802821BC
|
||||
/* 7E2E7C 80281FFC E6420014 */ swc1 $f2, 0x14($s2)
|
||||
|
||||
/* 7E2E80 80282000 C7AA0024 */ lwc1 $f10, 0x24($sp)
|
||||
/* 7E2E84 80282004 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 7E2E88 80282008 44811000 */ mtc1 $at, $f2
|
||||
/* 7E2E8C 8028200C 00000000 */ nop
|
||||
/* 7E2E90 80282010 46025302 */ mul.s $f12, $f10, $f2
|
||||
/* 7E2E94 80282014 00000000 */ nop
|
||||
/* 7E2E98 80282018 C7A60028 */ lwc1 $f6, 0x28($sp)
|
||||
/* 7E2E9C 8028201C 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 7E2EA0 80282020 44810000 */ mtc1 $at, $f0
|
||||
/* 7E2EA4 80282024 00000000 */ nop
|
||||
/* 7E2EA8 80282028 46003102 */ mul.s $f4, $f6, $f0
|
||||
/* 7E2EAC 8028202C 00000000 */ nop
|
||||
/* 7E2EB0 80282030 46023182 */ mul.s $f6, $f6, $f2
|
||||
/* 7E2EB4 80282034 00000000 */ nop
|
||||
/* 7E2EB8 80282038 46005282 */ mul.s $f10, $f10, $f0
|
||||
/* 7E2EBC 8028203C 00000000 */ nop
|
||||
/* 7E2EC0 80282040 C7A20018 */ lwc1 $f2, 0x18($sp)
|
||||
/* 7E2EC4 80282044 460C1200 */ add.s $f8, $f2, $f12
|
||||
/* 7E2EC8 80282048 460C1081 */ sub.s $f2, $f2, $f12
|
||||
/* 7E2ECC 8028204C 46044200 */ add.s $f8, $f8, $f4
|
||||
/* 7E2ED0 80282050 C7A00020 */ lwc1 $f0, 0x20($sp)
|
||||
/* 7E2ED4 80282054 46060100 */ add.s $f4, $f0, $f6
|
||||
/* 7E2ED8 80282058 46060001 */ sub.s $f0, $f0, $f6
|
||||
/* 7E2EDC 8028205C E6420014 */ swc1 $f2, 0x14($s2)
|
||||
/* 7E2EE0 80282060 460A2101 */ sub.s $f4, $f4, $f10
|
||||
.L80282064:
|
||||
/* 7E2EE4 80282064 E6400018 */ swc1 $f0, 0x18($s2)
|
||||
/* 7E2EE8 80282068 E648000C */ swc1 $f8, 0xc($s2)
|
||||
/* 7E2EEC 8028206C 080A0870 */ j .L802821C0
|
||||
/* 7E2EF0 80282070 E6440010 */ swc1 $f4, 0x10($s2)
|
||||
|
||||
/* 7E2EF4 80282074 C7A80024 */ lwc1 $f8, 0x24($sp)
|
||||
/* 7E2EF8 80282078 3C014270 */ lui $at, 0x4270
|
||||
/* 7E2EFC 8028207C 44812000 */ mtc1 $at, $f4
|
||||
/* 7E2F00 80282080 00000000 */ nop
|
||||
/* 7E2F04 80282084 46044302 */ mul.s $f12, $f8, $f4
|
||||
/* 7E2F08 80282088 00000000 */ nop
|
||||
/* 7E2F0C 8028208C C7A60028 */ lwc1 $f6, 0x28($sp)
|
||||
/* 7E2F10 80282090 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 7E2F14 80282094 44815000 */ mtc1 $at, $f10
|
||||
/* 7E2F18 80282098 00000000 */ nop
|
||||
/* 7E2F1C 8028209C 460A3382 */ mul.s $f14, $f6, $f10
|
||||
/* 7E2F20 802820A0 00000000 */ nop
|
||||
/* 7E2F24 802820A4 46043102 */ mul.s $f4, $f6, $f4
|
||||
/* 7E2F28 802820A8 00000000 */ nop
|
||||
/* 7E2F2C 802820AC 460A4282 */ mul.s $f10, $f8, $f10
|
||||
/* 7E2F30 802820B0 00000000 */ nop
|
||||
/* 7E2F34 802820B4 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 7E2F38 802820B8 44810000 */ mtc1 $at, $f0
|
||||
/* 7E2F3C 802820BC 00000000 */ nop
|
||||
/* 7E2F40 802820C0 46004202 */ mul.s $f8, $f8, $f0
|
||||
/* 7E2F44 802820C4 00000000 */ nop
|
||||
/* 7E2F48 802820C8 46003182 */ mul.s $f6, $f6, $f0
|
||||
/* 7E2F4C 802820CC 00000000 */ nop
|
||||
/* 7E2F50 802820D0 C7A20018 */ lwc1 $f2, 0x18($sp)
|
||||
/* 7E2F54 802820D4 460C1300 */ add.s $f12, $f2, $f12
|
||||
/* 7E2F58 802820D8 C7A00020 */ lwc1 $f0, 0x20($sp)
|
||||
/* 7E2F5C 802820DC 46040100 */ add.s $f4, $f0, $f4
|
||||
/* 7E2F60 802820E0 46081081 */ sub.s $f2, $f2, $f8
|
||||
/* 7E2F64 802820E4 46060001 */ sub.s $f0, $f0, $f6
|
||||
/* 7E2F68 802820E8 460E6300 */ add.s $f12, $f12, $f14
|
||||
/* 7E2F6C 802820EC E6420014 */ swc1 $f2, 0x14($s2)
|
||||
/* 7E2F70 802820F0 460A2101 */ sub.s $f4, $f4, $f10
|
||||
.L802820F4:
|
||||
/* 7E2F74 802820F4 E6400018 */ swc1 $f0, 0x18($s2)
|
||||
/* 7E2F78 802820F8 E64C000C */ swc1 $f12, 0xc($s2)
|
||||
/* 7E2F7C 802820FC 080A0870 */ j .L802821C0
|
||||
/* 7E2F80 80282100 E6440010 */ swc1 $f4, 0x10($s2)
|
||||
|
||||
/* 7E2F84 80282104 C7A80024 */ lwc1 $f8, 0x24($sp)
|
||||
/* 7E2F88 80282108 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 7E2F8C 8028210C 44813000 */ mtc1 $at, $f6
|
||||
/* 7E2F90 80282110 00000000 */ nop
|
||||
/* 7E2F94 80282114 46064282 */ mul.s $f10, $f8, $f6
|
||||
/* 7E2F98 80282118 00000000 */ nop
|
||||
/* 7E2F9C 8028211C C7A40028 */ lwc1 $f4, 0x28($sp)
|
||||
/* 7E2FA0 80282120 46062182 */ mul.s $f6, $f4, $f6
|
||||
/* 7E2FA4 80282124 00000000 */ nop
|
||||
/* 7E2FA8 80282128 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 7E2FAC 8028212C 44810000 */ mtc1 $at, $f0
|
||||
/* 7E2FB0 80282130 00000000 */ nop
|
||||
/* 7E2FB4 80282134 46002102 */ mul.s $f4, $f4, $f0
|
||||
/* 7E2FB8 80282138 00000000 */ nop
|
||||
/* 7E2FBC 8028213C 46004202 */ mul.s $f8, $f8, $f0
|
||||
/* 7E2FC0 80282140 00000000 */ nop
|
||||
/* 7E2FC4 80282144 C7A20018 */ lwc1 $f2, 0x18($sp)
|
||||
/* 7E2FC8 80282148 460A1300 */ add.s $f12, $f2, $f10
|
||||
/* 7E2FCC 8028214C 460A1081 */ sub.s $f2, $f2, $f10
|
||||
/* 7E2FD0 80282150 C7A00020 */ lwc1 $f0, 0x20($sp)
|
||||
/* 7E2FD4 80282154 46060280 */ add.s $f10, $f0, $f6
|
||||
/* 7E2FD8 80282158 46060001 */ sub.s $f0, $f0, $f6
|
||||
/* 7E2FDC 8028215C 46041080 */ add.s $f2, $f2, $f4
|
||||
/* 7E2FE0 80282160 E64C000C */ swc1 $f12, 0xc($s2)
|
||||
/* 7E2FE4 80282164 46080000 */ add.s $f0, $f0, $f8
|
||||
/* 7E2FE8 80282168 E64A0010 */ swc1 $f10, 0x10($s2)
|
||||
/* 7E2FEC 8028216C 080A086F */ j .L802821BC
|
||||
/* 7E2FF0 80282170 E6420014 */ swc1 $f2, 0x14($s2)
|
||||
|
||||
/* 7E2FF4 80282174 C7A60024 */ lwc1 $f6, 0x24($sp)
|
||||
/* 7E2FF8 80282178 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 7E2FFC 8028217C 44810000 */ mtc1 $at, $f0
|
||||
/* 7E3000 80282180 00000000 */ nop
|
||||
/* 7E3004 80282184 46003182 */ mul.s $f6, $f6, $f0
|
||||
/* 7E3008 80282188 00000000 */ nop
|
||||
/* 7E300C 8028218C C7A20028 */ lwc1 $f2, 0x28($sp)
|
||||
/* 7E3010 80282190 46001082 */ mul.s $f2, $f2, $f0
|
||||
/* 7E3014 80282194 00000000 */ nop
|
||||
/* 7E3018 80282198 C7A40018 */ lwc1 $f4, 0x18($sp)
|
||||
/* 7E301C 8028219C 46062200 */ add.s $f8, $f4, $f6
|
||||
/* 7E3020 802821A0 C7A00020 */ lwc1 $f0, 0x20($sp)
|
||||
/* 7E3024 802821A4 46020280 */ add.s $f10, $f0, $f2
|
||||
/* 7E3028 802821A8 46062101 */ sub.s $f4, $f4, $f6
|
||||
/* 7E302C 802821AC 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 7E3030 802821B0 E648000C */ swc1 $f8, 0xc($s2)
|
||||
/* 7E3034 802821B4 E64A0010 */ swc1 $f10, 0x10($s2)
|
||||
/* 7E3038 802821B8 E6440014 */ swc1 $f4, 0x14($s2)
|
||||
.L802821BC:
|
||||
/* 7E303C 802821BC E6400018 */ swc1 $f0, 0x18($s2)
|
||||
.L802821C0:
|
||||
/* 7E3040 802821C0 3C048028 */ lui $a0, 0x8028
|
||||
/* 7E3044 802821C4 248447D4 */ addiu $a0, $a0, 0x47d4
|
||||
/* 7E3048 802821C8 3C02800B */ lui $v0, 0x800b
|
||||
/* 7E304C 802821CC 24421D80 */ addiu $v0, $v0, 0x1d80
|
||||
/* 7E3050 802821D0 C6400014 */ lwc1 $f0, 0x14($s2)
|
||||
/* 7E3054 802821D4 C6420018 */ lwc1 $f2, 0x18($s2)
|
||||
/* 7E3058 802821D8 C644000C */ lwc1 $f4, 0xc($s2)
|
||||
/* 7E305C 802821DC C6460010 */ lwc1 $f6, 0x10($s2)
|
||||
/* 7E3060 802821E0 8FA8002C */ lw $t0, 0x2c($sp)
|
||||
/* 7E3064 802821E4 24050100 */ addiu $a1, $zero, 0x100
|
||||
/* 7E3068 802821E8 AE48002C */ sw $t0, 0x2c($s2)
|
||||
/* 7E306C 802821EC AE5E0030 */ sw $fp, 0x30($s2)
|
||||
/* 7E3070 802821F0 AE550034 */ sw $s5, 0x34($s2)
|
||||
/* 7E3074 802821F4 AE570038 */ sw $s7, 0x38($s2)
|
||||
/* 7E3078 802821F8 E640001C */ swc1 $f0, 0x1c($s2)
|
||||
/* 7E307C 802821FC E6420020 */ swc1 $f2, 0x20($s2)
|
||||
/* 7E3080 80282200 E6440024 */ swc1 $f4, 0x24($s2)
|
||||
/* 7E3084 80282204 E6460028 */ swc1 $f6, 0x28($s2)
|
||||
/* 7E3088 80282208 8443002C */ lh $v1, 0x2c($v0)
|
||||
/* 7E308C 8028220C 0280302D */ daddu $a2, $s4, $zero
|
||||
/* 7E3090 80282210 AE430040 */ sw $v1, 0x40($s2)
|
||||
/* 7E3094 80282214 8443002E */ lh $v1, 0x2e($v0)
|
||||
/* 7E3098 80282218 0000382D */ daddu $a3, $zero, $zero
|
||||
/* 7E309C 8028221C AE430044 */ sw $v1, 0x44($s2)
|
||||
/* 7E30A0 80282220 84420030 */ lh $v0, 0x30($v0)
|
||||
/* 7E30A4 80282224 24100003 */ addiu $s0, $zero, 3
|
||||
/* 7E30A8 80282228 AE420048 */ sw $v0, 0x48($s2)
|
||||
/* 7E30AC 8028222C AFB20010 */ sw $s2, 0x10($sp)
|
||||
/* 7E30B0 80282230 0C0B10AA */ jal bind_trigger_1
|
||||
/* 7E30B4 80282234 AFB00014 */ sw $s0, 0x14($sp)
|
||||
/* 7E30B8 80282238 32620800 */ andi $v0, $s3, 0x800
|
||||
/* 7E30BC 8028223C 10400005 */ beqz $v0, .L80282254
|
||||
/* 7E30C0 80282240 24050040 */ addiu $a1, $zero, 0x40
|
||||
/* 7E30C4 80282244 3C048028 */ lui $a0, 0x8028
|
||||
/* 7E30C8 80282248 24844F80 */ addiu $a0, $a0, 0x4f80
|
||||
/* 7E30CC 8028224C 080A0899 */ j .L80282264
|
||||
/* 7E30D0 80282250 02C0302D */ daddu $a2, $s6, $zero
|
||||
|
||||
.L80282254:
|
||||
/* 7E30D4 80282254 3C048028 */ lui $a0, 0x8028
|
||||
/* 7E30D8 80282258 24844F80 */ addiu $a0, $a0, 0x4f80
|
||||
/* 7E30DC 8028225C 24050100 */ addiu $a1, $zero, 0x100
|
||||
/* 7E30E0 80282260 02C0302D */ daddu $a2, $s6, $zero
|
||||
.L80282264:
|
||||
/* 7E30E4 80282264 24070001 */ addiu $a3, $zero, 1
|
||||
/* 7E30E8 80282268 AFB20010 */ sw $s2, 0x10($sp)
|
||||
/* 7E30EC 8028226C 0C0B10AA */ jal bind_trigger_1
|
||||
/* 7E30F0 80282270 AFB00014 */ sw $s0, 0x14($sp)
|
||||
/* 7E30F4 80282274 8FBF0054 */ lw $ra, 0x54($sp)
|
||||
/* 7E30F8 80282278 8FBE0050 */ lw $fp, 0x50($sp)
|
||||
/* 7E30FC 8028227C 8FB7004C */ lw $s7, 0x4c($sp)
|
||||
/* 7E3100 80282280 8FB60048 */ lw $s6, 0x48($sp)
|
||||
/* 7E3104 80282284 8FB50044 */ lw $s5, 0x44($sp)
|
||||
/* 7E3108 80282288 8FB40040 */ lw $s4, 0x40($sp)
|
||||
/* 7E310C 8028228C 8FB3003C */ lw $s3, 0x3c($sp)
|
||||
/* 7E3110 80282290 8FB20038 */ lw $s2, 0x38($sp)
|
||||
/* 7E3114 80282294 8FB10034 */ lw $s1, 0x34($sp)
|
||||
/* 7E3118 80282298 8FB00030 */ lw $s0, 0x30($sp)
|
||||
/* 7E311C 8028229C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E3120 802822A0 03E00008 */ jr $ra
|
||||
/* 7E3124 802822A4 27BD0058 */ addiu $sp, $sp, 0x58
|
||||
|
||||
/* 7E3128 802822A8 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 7E312C 802822AC AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 7E3130 802822B0 AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* 7E3134 802822B4 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 7E3138 802822B8 8C450000 */ lw $a1, ($v0)
|
||||
/* 7E313C 802822BC 0C0B1EAF */ jal get_variable
|
||||
/* 7E3140 802822C0 8C900074 */ lw $s0, 0x74($a0)
|
||||
/* 7E3144 802822C4 27A50018 */ addiu $a1, $sp, 0x18
|
||||
/* 7E3148 802822C8 27A6001C */ addiu $a2, $sp, 0x1c
|
||||
/* 7E314C 802822CC 27A70020 */ addiu $a3, $sp, 0x20
|
||||
/* 7E3150 802822D0 8E040060 */ lw $a0, 0x60($s0)
|
||||
/* 7E3154 802822D4 0C016F84 */ jal get_collider_center
|
||||
/* 7E3158 802822D8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 7E315C 802822DC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 7E3160 802822E0 C7A00018 */ lwc1 $f0, 0x18($sp)
|
||||
/* 7E3164 802822E4 C7A2001C */ lwc1 $f2, 0x1c($sp)
|
||||
/* 7E3168 802822E8 44060000 */ mfc1 $a2, $f0
|
||||
/* 7E316C 802822EC 44071000 */ mfc1 $a3, $f2
|
||||
/* 7E3170 802822F0 C7A00020 */ lwc1 $f0, 0x20($sp)
|
||||
/* 7E3174 802822F4 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 7E3178 802822F8 0C052757 */ jal play_sound_at_position
|
||||
/* 7E317C 802822FC E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 7E3180 80282300 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 7E3184 80282304 8FB00028 */ lw $s0, 0x28($sp)
|
||||
/* 7E3188 80282308 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E318C 8028230C 03E00008 */ jr $ra
|
||||
/* 7E3190 80282310 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
/* 7E3194 80282314 8C820088 */ lw $v0, 0x88($a0)
|
||||
/* 7E3198 80282318 AC820074 */ sw $v0, 0x74($a0)
|
||||
/* 7E319C 8028231C 03E00008 */ jr $ra
|
||||
/* 7E31A0 80282320 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
/* 7E31A4 80282324 8C820074 */ lw $v0, 0x74($a0)
|
||||
/* 7E31A8 80282328 8C420000 */ lw $v0, ($v0)
|
||||
/* 7E31AC 8028232C AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 7E31B0 80282330 03E00008 */ jr $ra
|
||||
/* 7E31B4 80282334 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
/* 7E31B8 80282338 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7E31BC 8028233C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7E31C0 80282340 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7E31C4 80282344 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 7E31C8 80282348 8C450000 */ lw $a1, ($v0)
|
||||
/* 7E31CC 8028234C 0C0B1EAF */ jal get_variable
|
||||
/* 7E31D0 80282350 8C900074 */ lw $s0, 0x74($a0)
|
||||
/* 7E31D4 80282354 AE020000 */ sw $v0, ($s0)
|
||||
/* 7E31D8 80282358 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7E31DC 8028235C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7E31E0 80282360 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E31E4 80282364 03E00008 */ jr $ra
|
||||
/* 7E31E8 80282368 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 7E31EC 8028236C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7E31F0 80282370 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7E31F4 80282374 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7E31F8 80282378 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 7E31FC 8028237C 8C450000 */ lw $a1, ($v0)
|
||||
/* 7E3200 80282380 0C0B1EAF */ jal get_variable
|
||||
/* 7E3204 80282384 8C900074 */ lw $s0, 0x74($a0)
|
||||
/* 7E3208 80282388 00021080 */ sll $v0, $v0, 2
|
||||
/* 7E320C 8028238C 02028021 */ addu $s0, $s0, $v0
|
||||
/* 7E3210 80282390 0C0B1059 */ jal does_script_exist
|
||||
/* 7E3214 80282394 8E04004C */ lw $a0, 0x4c($s0)
|
||||
/* 7E3218 80282398 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 7E321C 8028239C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7E3220 802823A0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7E3224 802823A4 00021040 */ sll $v0, $v0, 1
|
||||
/* 7E3228 802823A8 03E00008 */ jr $ra
|
||||
/* 7E322C 802823AC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 7E3230 802823B0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 7E3234 802823B4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7E3238 802823B8 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 7E323C 802823BC AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 7E3240 802823C0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 7E3244 802823C4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 7E3248 802823C8 8E11000C */ lw $s1, 0xc($s0)
|
||||
/* 7E324C 802823CC 8E120074 */ lw $s2, 0x74($s0)
|
||||
/* 7E3250 802823D0 8E250000 */ lw $a1, ($s1)
|
||||
/* 7E3254 802823D4 0C0B1EAF */ jal get_variable
|
||||
/* 7E3258 802823D8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 7E325C 802823DC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 7E3260 802823E0 8E250000 */ lw $a1, ($s1)
|
||||
/* 7E3264 802823E4 0C0B1EAF */ jal get_variable
|
||||
/* 7E3268 802823E8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 7E326C 802823EC 00108080 */ sll $s0, $s0, 2
|
||||
/* 7E3270 802823F0 02509021 */ addu $s2, $s2, $s0
|
||||
/* 7E3274 802823F4 AE42004C */ sw $v0, 0x4c($s2)
|
||||
/* 7E3278 802823F8 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 7E327C 802823FC 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 7E3280 80282400 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 7E3284 80282404 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7E3288 80282408 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E328C 8028240C 03E00008 */ jr $ra
|
||||
/* 7E3290 80282410 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 7E3294 80282414 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 7E3298 80282418 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 7E329C 8028241C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 7E32A0 80282420 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 7E32A4 80282424 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 7E32A8 80282428 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7E32AC 8028242C 10A0000A */ beqz $a1, .L80282458
|
||||
/* 7E32B0 80282430 8E320088 */ lw $s2, 0x88($s1)
|
||||
/* 7E32B4 80282434 8E220084 */ lw $v0, 0x84($s1)
|
||||
/* 7E32B8 80282438 54400007 */ bnezl $v0, .L80282458
|
||||
/* 7E32BC 8028243C AE200074 */ sw $zero, 0x74($s1)
|
||||
/* 7E32C0 80282440 962400C2 */ lhu $a0, 0xc2($s1)
|
||||
/* 7E32C4 80282444 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* 7E32C8 80282448 24060001 */ addiu $a2, $zero, 1
|
||||
/* 7E32CC 8028244C 0C046E54 */ jal func_8011B950
|
||||
/* 7E32D0 80282450 00C0382D */ daddu $a3, $a2, $zero
|
||||
/* 7E32D4 80282454 AE200074 */ sw $zero, 0x74($s1)
|
||||
.L80282458:
|
||||
/* 7E32D8 80282458 8E220074 */ lw $v0, 0x74($s1)
|
||||
/* 7E32DC 8028245C 24420020 */ addiu $v0, $v0, 0x20
|
||||
/* 7E32E0 80282460 AE220074 */ sw $v0, 0x74($s1)
|
||||
/* 7E32E4 80282464 28420100 */ slti $v0, $v0, 0x100
|
||||
/* 7E32E8 80282468 14400002 */ bnez $v0, .L80282474
|
||||
/* 7E32EC 8028246C 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 7E32F0 80282470 AE220074 */ sw $v0, 0x74($s1)
|
||||
.L80282474:
|
||||
/* 7E32F4 80282474 8E220084 */ lw $v0, 0x84($s1)
|
||||
/* 7E32F8 80282478 14400004 */ bnez $v0, .L8028248C
|
||||
/* 7E32FC 8028247C 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 7E3300 80282480 8E300074 */ lw $s0, 0x74($s1)
|
||||
/* 7E3304 80282484 080A0926 */ j .L80282498
|
||||
/* 7E3308 80282488 0000202D */ daddu $a0, $zero, $zero
|
||||
|
||||
.L8028248C:
|
||||
/* 7E330C 8028248C 8E230074 */ lw $v1, 0x74($s1)
|
||||
/* 7E3310 80282490 00438023 */ subu $s0, $v0, $v1
|
||||
/* 7E3314 80282494 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80282498:
|
||||
/* 7E3318 80282498 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 7E331C 8028249C 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 7E3320 802824A0 0C046F97 */ jal func_8011BE5C
|
||||
/* 7E3324 802824A4 320700FF */ andi $a3, $s0, 0xff
|
||||
/* 7E3328 802824A8 240600FF */ addiu $a2, $zero, 0xff
|
||||
/* 7E332C 802824AC 8E420040 */ lw $v0, 0x40($s2)
|
||||
/* 7E3330 802824B0 00D03023 */ subu $a2, $a2, $s0
|
||||
/* 7E3334 802824B4 00460018 */ mult $v0, $a2
|
||||
/* 7E3338 802824B8 00001012 */ mflo $v0
|
||||
/* 7E333C 802824BC 8E450044 */ lw $a1, 0x44($s2)
|
||||
/* 7E3340 802824C0 00000000 */ nop
|
||||
/* 7E3344 802824C4 00A60018 */ mult $a1, $a2
|
||||
/* 7E3348 802824C8 00002812 */ mflo $a1
|
||||
/* 7E334C 802824CC 3C078080 */ lui $a3, 0x8080
|
||||
/* 7E3350 802824D0 34E78081 */ ori $a3, $a3, 0x8081
|
||||
/* 7E3354 802824D4 00470018 */ mult $v0, $a3
|
||||
/* 7E3358 802824D8 00001810 */ mfhi $v1
|
||||
/* 7E335C 802824DC 00000000 */ nop
|
||||
/* 7E3360 802824E0 00000000 */ nop
|
||||
/* 7E3364 802824E4 00A70018 */ mult $a1, $a3
|
||||
/* 7E3368 802824E8 00004010 */ mfhi $t0
|
||||
/* 7E336C 802824EC 8E440048 */ lw $a0, 0x48($s2)
|
||||
/* 7E3370 802824F0 00621821 */ addu $v1, $v1, $v0
|
||||
/* 7E3374 802824F4 00860018 */ mult $a0, $a2
|
||||
/* 7E3378 802824F8 000319C3 */ sra $v1, $v1, 7
|
||||
/* 7E337C 802824FC 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 7E3380 80282500 00621823 */ subu $v1, $v1, $v0
|
||||
/* 7E3384 80282504 3C06800B */ lui $a2, 0x800b
|
||||
/* 7E3388 80282508 24C61D80 */ addiu $a2, $a2, 0x1d80
|
||||
/* 7E338C 8028250C 00002012 */ mflo $a0
|
||||
/* 7E3390 80282510 01051021 */ addu $v0, $t0, $a1
|
||||
/* 7E3394 80282514 000211C3 */ sra $v0, $v0, 7
|
||||
/* 7E3398 80282518 00870018 */ mult $a0, $a3
|
||||
/* 7E339C 8028251C 00052FC3 */ sra $a1, $a1, 0x1f
|
||||
/* 7E33A0 80282520 00451023 */ subu $v0, $v0, $a1
|
||||
/* 7E33A4 80282524 A4C3002C */ sh $v1, 0x2c($a2)
|
||||
/* 7E33A8 80282528 A4C2002E */ sh $v0, 0x2e($a2)
|
||||
/* 7E33AC 8028252C 00001810 */ mfhi $v1
|
||||
/* 7E33B0 80282530 00641021 */ addu $v0, $v1, $a0
|
||||
/* 7E33B4 80282534 000211C3 */ sra $v0, $v0, 7
|
||||
/* 7E33B8 80282538 000427C3 */ sra $a0, $a0, 0x1f
|
||||
/* 7E33BC 8028253C 00441023 */ subu $v0, $v0, $a0
|
||||
/* 7E33C0 80282540 A4C20030 */ sh $v0, 0x30($a2)
|
||||
/* 7E33C4 80282544 8E220074 */ lw $v0, 0x74($s1)
|
||||
/* 7E33C8 80282548 284200FF */ slti $v0, $v0, 0xff
|
||||
/* 7E33CC 8028254C 1440000B */ bnez $v0, .L8028257C
|
||||
/* 7E33D0 80282550 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 7E33D4 80282554 8E230084 */ lw $v1, 0x84($s1)
|
||||
/* 7E33D8 80282558 24020003 */ addiu $v0, $zero, 3
|
||||
/* 7E33DC 8028255C 14620007 */ bne $v1, $v0, .L8028257C
|
||||
/* 7E33E0 80282560 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E33E4 80282564 962400C2 */ lhu $a0, 0xc2($s1)
|
||||
/* 7E33E8 80282568 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* 7E33EC 8028256C 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 7E33F0 80282570 0C046E54 */ jal func_8011B950
|
||||
/* 7E33F4 80282574 24070001 */ addiu $a3, $zero, 1
|
||||
/* 7E33F8 80282578 24020002 */ addiu $v0, $zero, 2
|
||||
.L8028257C:
|
||||
/* 7E33FC 8028257C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 7E3400 80282580 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 7E3404 80282584 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 7E3408 80282588 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7E340C 8028258C 03E00008 */ jr $ra
|
||||
/* 7E3410 80282590 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 7E3414 80282594 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7E3418 80282598 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 7E341C 8028259C 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 7E3420 802825A0 0C0B210B */ jal get_float_variable
|
||||
/* 7E3424 802825A4 8C450000 */ lw $a1, ($v0)
|
||||
/* 7E3428 802825A8 46000086 */ mov.s $f2, $f0
|
||||
/* 7E342C 802825AC 3C02800B */ lui $v0, 0x800b
|
||||
/* 7E3430 802825B0 24421D80 */ addiu $v0, $v0, 0x1d80
|
||||
/* 7E3434 802825B4 44800000 */ mtc1 $zero, $f0
|
||||
/* 7E3438 802825B8 00000000 */ nop
|
||||
/* 7E343C 802825BC 4602003E */ c.le.s $f0, $f2
|
||||
/* 7E3440 802825C0 00000000 */ nop
|
||||
/* 7E3444 802825C4 45000006 */ bc1f .L802825E0
|
||||
/* 7E3448 802825C8 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 7E344C 802825CC C4400490 */ lwc1 $f0, 0x490($v0)
|
||||
/* 7E3450 802825D0 E4420490 */ swc1 $f2, 0x490($v0)
|
||||
/* 7E3454 802825D4 3C018028 */ lui $at, 0x8028
|
||||
/* 7E3458 802825D8 080A097B */ j .L802825EC
|
||||
/* 7E345C 802825DC E4206540 */ swc1 $f0, 0x6540($at)
|
||||
|
||||
.L802825E0:
|
||||
/* 7E3460 802825E0 3C018028 */ lui $at, 0x8028
|
||||
/* 7E3464 802825E4 C4206540 */ lwc1 $f0, 0x6540($at)
|
||||
/* 7E3468 802825E8 E4600490 */ swc1 $f0, 0x490($v1)
|
||||
.L802825EC:
|
||||
/* 7E346C 802825EC 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 7E3470 802825F0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E3474 802825F4 03E00008 */ jr $ra
|
||||
/* 7E3478 802825F8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 7E347C 802825FC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 7E3480 80282600 3C018015 */ lui $at, 0x8015
|
||||
/* 7E3484 80282604 AC221310 */ sw $v0, 0x1310($at)
|
||||
/* 7E3488 80282608 03E00008 */ jr $ra
|
||||
/* 7E348C 8028260C 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
/* 7E3490 80282610 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E3494 80282614 3C018015 */ lui $at, 0x8015
|
||||
/* 7E3498 80282618 AC221310 */ sw $v0, 0x1310($at)
|
||||
/* 7E349C 8028261C 03E00008 */ jr $ra
|
||||
/* 7E34A0 80282620 00000000 */ nop
|
||||
|
||||
/* 7E34A4 80282624 3C018015 */ lui $at, 0x8015
|
||||
/* 7E34A8 80282628 AC201310 */ sw $zero, 0x1310($at)
|
||||
/* 7E34AC 8028262C 03E00008 */ jr $ra
|
||||
/* 7E34B0 80282630 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
/* 7E34B4 80282634 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 7E34B8 80282638 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 7E34BC 8028263C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 7E34C0 80282640 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 7E34C4 80282644 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 7E34C8 80282648 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7E34CC 8028264C 8C820074 */ lw $v0, 0x74($a0)
|
||||
/* 7E34D0 80282650 8C51005C */ lw $s1, 0x5c($v0)
|
||||
/* 7E34D4 80282654 12200022 */ beqz $s1, .L802826E0
|
||||
/* 7E34D8 80282658 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 7E34DC 8028265C 2413FFFC */ addiu $s3, $zero, -4
|
||||
/* 7E34E0 80282660 3C120080 */ lui $s2, 0x80
|
||||
.L80282664:
|
||||
/* 7E34E4 80282664 0C00E2B7 */ jal get_npc_by_index
|
||||
/* 7E34E8 80282668 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 7E34EC 8028266C 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 7E34F0 80282670 50600009 */ beql $v1, $zero, .L80282698
|
||||
/* 7E34F4 80282674 26100001 */ addiu $s0, $s0, 1
|
||||
/* 7E34F8 80282678 8C640000 */ lw $a0, ($v1)
|
||||
/* 7E34FC 8028267C 10800006 */ beqz $a0, .L80282698
|
||||
/* 7E3500 80282680 26100001 */ addiu $s0, $s0, 1
|
||||
/* 7E3504 80282684 806200A4 */ lb $v0, 0xa4($v1)
|
||||
/* 7E3508 80282688 10530003 */ beq $v0, $s3, .L80282698
|
||||
/* 7E350C 8028268C 00000000 */ nop
|
||||
/* 7E3510 80282690 00921025 */ or $v0, $a0, $s2
|
||||
/* 7E3514 80282694 AC620000 */ sw $v0, ($v1)
|
||||
.L80282698:
|
||||
/* 7E3518 80282698 2A020040 */ slti $v0, $s0, 0x40
|
||||
/* 7E351C 8028269C 1440FFF1 */ bnez $v0, .L80282664
|
||||
/* 7E3520 802826A0 00000000 */ nop
|
||||
/* 7E3524 802826A4 2412FFFF */ addiu $s2, $zero, -1
|
||||
/* 7E3528 802826A8 3C10FF7F */ lui $s0, 0xff7f
|
||||
/* 7E352C 802826AC 3610FFFF */ ori $s0, $s0, 0xffff
|
||||
.L802826B0:
|
||||
/* 7E3530 802826B0 8E240000 */ lw $a0, ($s1)
|
||||
/* 7E3534 802826B4 1092000B */ beq $a0, $s2, .L802826E4
|
||||
/* 7E3538 802826B8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E353C 802826BC 0C00EAD2 */ jal get_npc_safe
|
||||
/* 7E3540 802826C0 26310004 */ addiu $s1, $s1, 4
|
||||
/* 7E3544 802826C4 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 7E3548 802826C8 1060FFF9 */ beqz $v1, .L802826B0
|
||||
/* 7E354C 802826CC 00000000 */ nop
|
||||
/* 7E3550 802826D0 8C620000 */ lw $v0, ($v1)
|
||||
/* 7E3554 802826D4 00501024 */ and $v0, $v0, $s0
|
||||
/* 7E3558 802826D8 080A09AC */ j .L802826B0
|
||||
/* 7E355C 802826DC AC620000 */ sw $v0, ($v1)
|
||||
|
||||
.L802826E0:
|
||||
/* 7E3560 802826E0 24020002 */ addiu $v0, $zero, 2
|
||||
.L802826E4:
|
||||
/* 7E3564 802826E4 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 7E3568 802826E8 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 7E356C 802826EC 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 7E3570 802826F0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 7E3574 802826F4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7E3578 802826F8 03E00008 */ jr $ra
|
||||
/* 7E357C 802826FC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 7E3580 80282700 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 7E3584 80282704 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 7E3588 80282708 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 7E358C 8028270C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7E3590 80282710 8C820074 */ lw $v0, 0x74($a0)
|
||||
/* 7E3594 80282714 8C42005C */ lw $v0, 0x5c($v0)
|
||||
/* 7E3598 80282718 10400010 */ beqz $v0, .L8028275C
|
||||
/* 7E359C 8028271C 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 7E35A0 80282720 3C11FF7F */ lui $s1, 0xff7f
|
||||
/* 7E35A4 80282724 3631FFFF */ ori $s1, $s1, 0xffff
|
||||
.L80282728:
|
||||
/* 7E35A8 80282728 0C00E2B7 */ jal get_npc_by_index
|
||||
/* 7E35AC 8028272C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 7E35B0 80282730 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 7E35B4 80282734 10600006 */ beqz $v1, .L80282750
|
||||
/* 7E35B8 80282738 26100001 */ addiu $s0, $s0, 1
|
||||
/* 7E35BC 8028273C 8C620000 */ lw $v0, ($v1)
|
||||
/* 7E35C0 80282740 10400003 */ beqz $v0, .L80282750
|
||||
/* 7E35C4 80282744 00000000 */ nop
|
||||
/* 7E35C8 80282748 00511024 */ and $v0, $v0, $s1
|
||||
/* 7E35CC 8028274C AC620000 */ sw $v0, ($v1)
|
||||
.L80282750:
|
||||
/* 7E35D0 80282750 2A020040 */ slti $v0, $s0, 0x40
|
||||
/* 7E35D4 80282754 1440FFF4 */ bnez $v0, .L80282728
|
||||
/* 7E35D8 80282758 00000000 */ nop
|
||||
.L8028275C:
|
||||
/* 7E35DC 8028275C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E35E0 80282760 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 7E35E4 80282764 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 7E35E8 80282768 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7E35EC 8028276C 03E00008 */ jr $ra
|
||||
/* 7E35F0 80282770 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 7E35F4 80282774 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7E35F8 80282778 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7E35FC 8028277C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7E3600 80282780 0C04D090 */ jal func_80134240
|
||||
/* 7E3604 80282784 8C900074 */ lw $s0, 0x74($a0)
|
||||
/* 7E3608 80282788 86040008 */ lh $a0, 8($s0)
|
||||
/* 7E360C 8028278C 0C04D08C */ jal func_80134230
|
||||
/* 7E3610 80282790 A602000A */ sh $v0, 0xa($s0)
|
||||
/* 7E3614 80282794 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7E3618 80282798 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7E361C 8028279C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E3620 802827A0 03E00008 */ jr $ra
|
||||
/* 7E3624 802827A4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 7E3628 802827A8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7E362C 802827AC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 7E3630 802827B0 8C820074 */ lw $v0, 0x74($a0)
|
||||
/* 7E3634 802827B4 0C04D08C */ jal func_80134230
|
||||
/* 7E3638 802827B8 8444000A */ lh $a0, 0xa($v0)
|
||||
/* 7E363C 802827BC 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 7E3640 802827C0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E3644 802827C4 03E00008 */ jr $ra
|
||||
/* 7E3648 802827C8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 7E364C 802827CC 8C830074 */ lw $v1, 0x74($a0)
|
||||
/* 7E3650 802827D0 8C620004 */ lw $v0, 4($v1)
|
||||
/* 7E3654 802827D4 AC82008C */ sw $v0, 0x8c($a0)
|
||||
/* 7E3658 802827D8 C460000C */ lwc1 $f0, 0xc($v1)
|
||||
/* 7E365C 802827DC 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 7E3660 802827E0 E4820090 */ swc1 $f2, 0x90($a0)
|
||||
/* 7E3664 802827E4 C4600010 */ lwc1 $f0, 0x10($v1)
|
||||
/* 7E3668 802827E8 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 7E366C 802827EC E4820094 */ swc1 $f2, 0x94($a0)
|
||||
/* 7E3670 802827F0 C4600014 */ lwc1 $f0, 0x14($v1)
|
||||
/* 7E3674 802827F4 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 7E3678 802827F8 E4820098 */ swc1 $f2, 0x98($a0)
|
||||
/* 7E367C 802827FC C4600018 */ lwc1 $f0, 0x18($v1)
|
||||
/* 7E3680 80282800 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 7E3684 80282804 E482009C */ swc1 $f2, 0x9c($a0)
|
||||
/* 7E3688 80282808 C460001C */ lwc1 $f0, 0x1c($v1)
|
||||
/* 7E368C 8028280C 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 7E3690 80282810 E48200A0 */ swc1 $f2, 0xa0($a0)
|
||||
/* 7E3694 80282814 C4600020 */ lwc1 $f0, 0x20($v1)
|
||||
/* 7E3698 80282818 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 7E369C 8028281C E48200A4 */ swc1 $f2, 0xa4($a0)
|
||||
/* 7E36A0 80282820 C4600024 */ lwc1 $f0, 0x24($v1)
|
||||
/* 7E36A4 80282824 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 7E36A8 80282828 E48200A8 */ swc1 $f2, 0xa8($a0)
|
||||
/* 7E36AC 8028282C C4600028 */ lwc1 $f0, 0x28($v1)
|
||||
/* 7E36B0 80282830 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 7E36B4 80282834 E48200AC */ swc1 $f2, 0xac($a0)
|
||||
/* 7E36B8 80282838 8C62002C */ lw $v0, 0x2c($v1)
|
||||
/* 7E36BC 8028283C AC8200B0 */ sw $v0, 0xb0($a0)
|
||||
/* 7E36C0 80282840 8C620030 */ lw $v0, 0x30($v1)
|
||||
/* 7E36C4 80282844 AC8200B4 */ sw $v0, 0xb4($a0)
|
||||
/* 7E36C8 80282848 8C620034 */ lw $v0, 0x34($v1)
|
||||
/* 7E36CC 8028284C AC8200B8 */ sw $v0, 0xb8($a0)
|
||||
/* 7E36D0 80282850 8C620038 */ lw $v0, 0x38($v1)
|
||||
/* 7E36D4 80282854 AC8200BC */ sw $v0, 0xbc($a0)
|
||||
/* 7E36D8 80282858 8C62003C */ lw $v0, 0x3c($v1)
|
||||
/* 7E36DC 8028285C AC8200C0 */ sw $v0, 0xc0($a0)
|
||||
/* 7E36E0 80282860 03E00008 */ jr $ra
|
||||
/* 7E36E4 80282864 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
/* 7E36E8 80282868 8C820074 */ lw $v0, 0x74($a0)
|
||||
/* 7E36EC 8028286C AC820088 */ sw $v0, 0x88($a0)
|
||||
/* 7E36F0 80282870 03E00008 */ jr $ra
|
||||
/* 7E36F4 80282874 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
/* 7E36F8 80282878 00000000 */ nop
|
||||
/* 7E36FC 8028287C 00000000 */ nop
|
1514
papermario/asm/code_7E3700.s
Normal file
1514
papermario/asm/code_7E3700.s
Normal file
File diff suppressed because it is too large
Load Diff
@ -6,19 +6,19 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text800E26B0, "ax"
|
||||
|
||||
func_800E26B0:
|
||||
glabel func_800E26B0
|
||||
/* 07BB60 800E26B0 3C028011 */ lui $v0, 0x8011
|
||||
/* 07BB64 800E26B4 2442EFC8 */ addiu $v0, $v0, -0x1038
|
||||
/* 07BB68 800E26B8 C440002C */ lwc1 $f0, 0x2c($v0)
|
||||
/* 07BB6C 800E26BC 03E00008 */ jr $ra
|
||||
/* 07BB70 800E26C0 E4400050 */ swc1 $f0, 0x50($v0)
|
||||
|
||||
func_800E26C4:
|
||||
glabel func_800E26C4
|
||||
/* 07BB74 800E26C4 3C04800F */ lui $a0, 0x800f
|
||||
/* 07BB78 800E26C8 8C847B30 */ lw $a0, 0x7b30($a0)
|
||||
/* 07BB7C 800E26CC 808300B4 */ lb $v1, 0xb4($a0)
|
||||
@ -74,7 +74,7 @@ func_800E26C4:
|
||||
/* 07BC20 800E2770 03E00008 */ jr $ra
|
||||
/* 07BC24 800E2774 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
move_player:
|
||||
glabel move_player
|
||||
/* 07BC28 800E2778 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07BC2C 800E277C 44861000 */ mtc1 $a2, $f2
|
||||
/* 07BC30 800E2780 3C068011 */ lui $a2, 0x8011
|
||||
@ -104,7 +104,7 @@ move_player:
|
||||
/* 07BC88 800E27D8 03E00008 */ jr $ra
|
||||
/* 07BC8C 800E27DC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E27E0:
|
||||
glabel func_800E27E0
|
||||
/* 07BC90 800E27E0 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 07BC94 800E27E4 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 07BC98 800E27E8 3C118011 */ lui $s1, 0x8011
|
||||
@ -234,7 +234,7 @@ func_800E27E0:
|
||||
/* 07BE70 800E29C0 03E00008 */ jr $ra
|
||||
/* 07BE74 800E29C4 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_800E29C8:
|
||||
glabel func_800E29C8
|
||||
/* 07BE78 800E29C8 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 07BE7C 800E29CC AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 07BE80 800E29D0 3C108011 */ lui $s0, 0x8011
|
||||
@ -367,7 +367,7 @@ func_800E29C8:
|
||||
/* 07C058 800E2BA8 03E00008 */ jr $ra
|
||||
/* 07C05C 800E2BAC 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_800E2BB0:
|
||||
glabel func_800E2BB0
|
||||
/* 07C060 800E2BB0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07C064 800E2BB4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07C068 800E2BB8 3C108011 */ lui $s0, 0x8011
|
||||
@ -466,7 +466,7 @@ func_800E2BB0:
|
||||
/* 07C1C0 800E2D10 03E00008 */ jr $ra
|
||||
/* 07C1C4 800E2D14 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E2D18:
|
||||
glabel func_800E2D18
|
||||
/* 07C1C8 800E2D18 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 07C1CC 800E2D1C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07C1D0 800E2D20 3C108011 */ lui $s0, 0x8011
|
||||
@ -697,7 +697,7 @@ func_800E2D18:
|
||||
/* 07C514 800E3064 03E00008 */ jr $ra
|
||||
/* 07C518 800E3068 00000000 */ nop
|
||||
|
||||
func_800E306C:
|
||||
glabel func_800E306C
|
||||
/* 07C51C 800E306C 3C04800F */ lui $a0, 0x800f
|
||||
/* 07C520 800E3070 24847B60 */ addiu $a0, $a0, 0x7b60
|
||||
/* 07C524 800E3074 3C068011 */ lui $a2, 0x8011
|
||||
@ -738,7 +738,7 @@ func_800E306C:
|
||||
/* 07C5A8 800E30F8 03E00008 */ jr $ra
|
||||
/* 07C5AC 800E30FC E4A0007C */ swc1 $f0, 0x7c($a1)
|
||||
|
||||
func_800E3100:
|
||||
glabel func_800E3100
|
||||
/* 07C5B0 800E3100 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 07C5B4 800E3104 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 07C5B8 800E3108 3C108011 */ lui $s0, 0x8011
|
||||
@ -764,7 +764,7 @@ func_800E3100:
|
||||
/* 07C604 800E3154 03E00008 */ jr $ra
|
||||
/* 07C608 800E3158 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800E315C:
|
||||
glabel func_800E315C
|
||||
/* 07C60C 800E315C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 07C610 800E3160 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07C614 800E3164 3C108011 */ lui $s0, 0x8011
|
||||
@ -845,7 +845,7 @@ func_800E315C:
|
||||
/* 07C720 800E3270 03E00008 */ jr $ra
|
||||
/* 07C724 800E3274 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800E3278:
|
||||
glabel func_800E3278
|
||||
/* 07C728 800E3278 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 07C72C 800E327C 3C02FF7F */ lui $v0, 0xff7f
|
||||
/* 07C730 800E3280 3442FFFF */ ori $v0, $v0, 0xffff
|
||||
@ -978,7 +978,7 @@ func_800E3278:
|
||||
/* 07C8F0 800E3440 03E00008 */ jr $ra
|
||||
/* 07C8F4 800E3444 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_800E3448:
|
||||
glabel func_800E3448
|
||||
/* 07C8F8 800E3448 3C048011 */ lui $a0, 0x8011
|
||||
/* 07C8FC 800E344C 2484EFC8 */ addiu $a0, $a0, -0x1038
|
||||
/* 07C900 800E3450 8C820000 */ lw $v0, ($a0)
|
||||
@ -1019,7 +1019,7 @@ func_800E3448:
|
||||
/* 07C980 800E34D0 03E00008 */ jr $ra
|
||||
/* 07C984 800E34D4 C4800070 */ lwc1 $f0, 0x70($a0)
|
||||
|
||||
func_800E34D8:
|
||||
glabel func_800E34D8
|
||||
/* 07C988 800E34D8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 07C98C 800E34DC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 07C990 800E34E0 0C038D12 */ jal func_800E3448
|
||||
@ -1037,7 +1037,7 @@ func_800E34D8:
|
||||
/* 07C9BC 800E350C 03E00008 */ jr $ra
|
||||
/* 07C9C0 800E3510 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800E3514:
|
||||
glabel func_800E3514
|
||||
/* 07C9C4 800E3514 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 07C9C8 800E3518 F7B40058 */ sdc1 $f20, 0x58($sp)
|
||||
/* 07C9CC 800E351C 46006506 */ mov.s $f20, $f12
|
||||
@ -1119,7 +1119,7 @@ func_800E3514:
|
||||
/* 07CAE4 800E3634 03E00008 */ jr $ra
|
||||
/* 07CAE8 800E3638 27BD0060 */ addiu $sp, $sp, 0x60
|
||||
|
||||
func_800E363C:
|
||||
glabel func_800E363C
|
||||
/* 07CAEC 800E363C 27BDFF80 */ addiu $sp, $sp, -0x80
|
||||
/* 07CAF0 800E3640 AFB1005C */ sw $s1, 0x5c($sp)
|
||||
/* 07CAF4 800E3644 3C118011 */ lui $s1, 0x8011
|
||||
@ -1992,7 +1992,7 @@ func_800E363C:
|
||||
/* 07D7B0 800E4300 03E00008 */ jr $ra
|
||||
/* 07D7B4 800E4304 27BD0080 */ addiu $sp, $sp, 0x80
|
||||
|
||||
func_800E4308:
|
||||
glabel func_800E4308
|
||||
/* 07D7B8 800E4308 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 07D7BC 800E430C F7B40048 */ sdc1 $f20, 0x48($sp)
|
||||
/* 07D7C0 800E4310 4480A000 */ mtc1 $zero, $f20
|
||||
@ -2059,7 +2059,7 @@ func_800E4308:
|
||||
/* 07D8AC 800E43FC 03E00008 */ jr $ra
|
||||
/* 07D8B0 800E4400 27BD0060 */ addiu $sp, $sp, 0x60
|
||||
|
||||
func_800E4404:
|
||||
glabel func_800E4404
|
||||
/* 07D8B4 800E4404 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 07D8B8 800E4408 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 07D8BC 800E440C 8FB50078 */ lw $s5, 0x78($sp)
|
||||
@ -2128,7 +2128,7 @@ func_800E4404:
|
||||
/* 07D9B0 800E4500 03E00008 */ jr $ra
|
||||
/* 07D9B4 800E4504 27BD0068 */ addiu $sp, $sp, 0x68
|
||||
|
||||
func_800E4508:
|
||||
glabel func_800E4508
|
||||
/* 07D9B8 800E4508 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 07D9BC 800E450C AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 07D9C0 800E4510 3C108011 */ lui $s0, 0x8011
|
||||
@ -2186,7 +2186,7 @@ func_800E4508:
|
||||
/* 07DA88 800E45D8 03E00008 */ jr $ra
|
||||
/* 07DA8C 800E45DC 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
|
||||
func_800E45E0:
|
||||
glabel func_800E45E0
|
||||
/* 07DA90 800E45E0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07DA94 800E45E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07DA98 800E45E8 3C108011 */ lui $s0, 0x8011
|
||||
@ -2285,7 +2285,7 @@ func_800E45E0:
|
||||
/* 07DBEC 800E473C 03E00008 */ jr $ra
|
||||
/* 07DBF0 800E4740 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E4744:
|
||||
glabel func_800E4744
|
||||
/* 07DBF4 800E4744 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
/* 07DBF8 800E4748 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* 07DBFC 800E474C 3C108011 */ lui $s0, 0x8011
|
||||
@ -2599,7 +2599,7 @@ func_800E4744:
|
||||
/* 07E060 800E4BB0 03E00008 */ jr $ra
|
||||
/* 07E064 800E4BB4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800E4BB8:
|
||||
glabel func_800E4BB8
|
||||
/* 07E068 800E4BB8 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 07E06C 800E4BBC 3C038011 */ lui $v1, 0x8011
|
||||
/* 07E070 800E4BC0 2463EFC8 */ addiu $v1, $v1, -0x1038
|
||||
@ -2818,7 +2818,7 @@ func_800E4BB8:
|
||||
/* 07E3B8 800E4F08 03E00008 */ jr $ra
|
||||
/* 07E3BC 800E4F0C 27BD0058 */ addiu $sp, $sp, 0x58
|
||||
|
||||
func_800E4F10:
|
||||
glabel func_800E4F10
|
||||
/* 07E3C0 800E4F10 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 07E3C4 800E4F14 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 07E3C8 800E4F18 3C108011 */ lui $s0, 0x8011
|
||||
@ -2868,7 +2868,7 @@ func_800E4F10:
|
||||
/* 07E474 800E4FC4 03E00008 */ jr $ra
|
||||
/* 07E478 800E4FC8 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
check_input_midair_jump:
|
||||
glabel check_input_midair_jump
|
||||
/* 07E47C 800E4FCC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07E480 800E4FD0 3C030080 */ lui $v1, 0x80
|
||||
/* 07E484 800E4FD4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
@ -2921,7 +2921,7 @@ check_input_midair_jump:
|
||||
/* 07E530 800E5080 03E00008 */ jr $ra
|
||||
/* 07E534 800E5084 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E5088:
|
||||
glabel func_800E5088
|
||||
/* 07E538 800E5088 3C028011 */ lui $v0, 0x8011
|
||||
/* 07E53C 800E508C 8042F2A2 */ lb $v0, -0xd5e($v0)
|
||||
/* 07E540 800E5090 03E00008 */ jr $ra
|
||||
@ -2992,7 +2992,7 @@ func_800E5088:
|
||||
/* 07E61C 800E516C 03E00008 */ jr $ra
|
||||
/* 07E620 800E5170 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E5174:
|
||||
glabel func_800E5174
|
||||
/* 07E624 800E5174 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 07E628 800E5178 2404FFFF */ addiu $a0, $zero, -1
|
||||
/* 07E62C 800E517C 3C038011 */ lui $v1, 0x8011
|
||||
@ -3093,7 +3093,7 @@ func_800E5174:
|
||||
/* 07E7A0 800E52F0 03E00008 */ jr $ra
|
||||
/* 07E7A4 800E52F4 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_800E52F8:
|
||||
glabel func_800E52F8
|
||||
/* 07E7A8 800E52F8 3C028011 */ lui $v0, 0x8011
|
||||
/* 07E7AC 800E52FC 2442EBB0 */ addiu $v0, $v0, -0x1450
|
||||
/* 07E7B0 800E5300 80440000 */ lb $a0, ($v0)
|
||||
@ -3118,7 +3118,7 @@ func_800E52F8:
|
||||
/* 07E7F0 800E5340 03E00008 */ jr $ra
|
||||
/* 07E7F4 800E5344 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
func_800E5348:
|
||||
glabel func_800E5348
|
||||
/* 07E7F8 800E5348 3C038007 */ lui $v1, 0x8007
|
||||
/* 07E7FC 800E534C 8C637410 */ lw $v1, 0x7410($v1)
|
||||
/* 07E800 800E5350 3C018011 */ lui $at, 0x8011
|
||||
@ -3197,7 +3197,7 @@ func_800E5348:
|
||||
/* 07E914 800E5464 03E00008 */ jr $ra
|
||||
/* 07E918 800E5468 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E546C:
|
||||
glabel func_800E546C
|
||||
/* 07E91C 800E546C 3C018011 */ lui $at, 0x8011
|
||||
/* 07E920 800E5470 C424F070 */ lwc1 $f4, -0xf90($at)
|
||||
/* 07E924 800E5474 3C0142B4 */ lui $at, 0x42b4
|
||||
@ -3229,7 +3229,7 @@ func_800E546C:
|
||||
/* 07E988 800E54D8 03E00008 */ jr $ra
|
||||
/* 07E98C 800E54DC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E54E0:
|
||||
glabel func_800E54E0
|
||||
/* 07E990 800E54E0 3C038011 */ lui $v1, 0x8011
|
||||
/* 07E994 800E54E4 2463EFC8 */ addiu $v1, $v1, -0x1038
|
||||
/* 07E998 800E54E8 C4600028 */ lwc1 $f0, 0x28($v1)
|
||||
@ -3247,13 +3247,13 @@ func_800E54E0:
|
||||
/* 07E9C8 800E5518 03E00008 */ jr $ra
|
||||
/* 07E9CC 800E551C A462001A */ sh $v0, 0x1a($v1)
|
||||
|
||||
func_800E5520:
|
||||
glabel func_800E5520
|
||||
/* 07E9D0 800E5520 3C018011 */ lui $at, 0x8011
|
||||
/* 07E9D4 800E5524 A420C9B0 */ sh $zero, -0x3650($at)
|
||||
/* 07E9D8 800E5528 03E00008 */ jr $ra
|
||||
/* 07E9DC 800E552C 00000000 */ nop
|
||||
|
||||
func_800E5530:
|
||||
glabel func_800E5530
|
||||
/* 07E9E0 800E5530 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 07E9E4 800E5534 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07E9E8 800E5538 AFB10014 */ sw $s1, 0x14($sp)
|
||||
@ -3545,7 +3545,7 @@ func_800E5530:
|
||||
/* 07EDE0 800E5930 03E00008 */ jr $ra
|
||||
/* 07EDE4 800E5934 00000000 */ nop
|
||||
|
||||
func_800E5938:
|
||||
glabel func_800E5938
|
||||
/* 07EDE8 800E5938 3C088011 */ lui $t0, 0x8011
|
||||
/* 07EDEC 800E593C 8D08C944 */ lw $t0, -0x36bc($t0)
|
||||
/* 07EDF0 800E5940 01044023 */ subu $t0, $t0, $a0
|
||||
@ -3574,7 +3574,7 @@ func_800E5938:
|
||||
/* 07EE48 800E5998 03E00008 */ jr $ra
|
||||
/* 07EE4C 800E599C 46800020 */ cvt.s.w $f0, $f0
|
||||
|
||||
func_800E59A0:
|
||||
glabel func_800E59A0
|
||||
/* 07EE50 800E59A0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07EE54 800E59A4 3C048011 */ lui $a0, 0x8011
|
||||
/* 07EE58 800E59A8 2484F250 */ addiu $a0, $a0, -0xdb0
|
||||
@ -3612,7 +3612,7 @@ func_800E59A0:
|
||||
/* 07EED4 800E5A24 03E00008 */ jr $ra
|
||||
/* 07EED8 800E5A28 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E5A2C:
|
||||
glabel func_800E5A2C
|
||||
/* 07EEDC 800E5A2C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 07EEE0 800E5A30 3C04800B */ lui $a0, 0x800b
|
||||
/* 07EEE4 800E5A34 24841D80 */ addiu $a0, $a0, 0x1d80
|
||||
@ -3776,7 +3776,7 @@ func_800E5A2C:
|
||||
/* 07F120 800E5C70 03E00008 */ jr $ra
|
||||
/* 07F124 800E5C74 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_800E5C78:
|
||||
glabel func_800E5C78
|
||||
/* 07F128 800E5C78 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 07F12C 800E5C7C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07F130 800E5C80 3C108011 */ lui $s0, 0x8011
|
||||
@ -3858,7 +3858,7 @@ func_800E5C78:
|
||||
/* 07F24C 800E5D9C 03E00008 */ jr $ra
|
||||
/* 07F250 800E5DA0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
set_action_state:
|
||||
glabel set_action_state
|
||||
/* 07F254 800E5DA4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 07F258 800E5DA8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07F25C 800E5DAC 3C108011 */ lui $s0, 0x8011
|
||||
@ -3987,7 +3987,7 @@ set_action_state:
|
||||
/* 07F410 800E5F60 03E00008 */ jr $ra
|
||||
/* 07F414 800E5F64 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
update_locomotion_state:
|
||||
glabel update_locomotion_state
|
||||
/* 07F418 800E5F68 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07F41C 800E5F6C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07F420 800E5F70 3C108011 */ lui $s0, 0x8011
|
||||
@ -4016,7 +4016,7 @@ update_locomotion_state:
|
||||
/* 07F478 800E5FC8 03E00008 */ jr $ra
|
||||
/* 07F47C 800E5FCC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
start_falling:
|
||||
glabel start_falling
|
||||
/* 07F480 800E5FD0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07F484 800E5FD4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 07F488 800E5FD8 0C039769 */ jal set_action_state
|
||||
@ -4043,7 +4043,7 @@ start_falling:
|
||||
/* 07F4DC 800E602C 03E00008 */ jr $ra
|
||||
/* 07F4E0 800E6030 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
start_bounce_a:
|
||||
glabel start_bounce_a
|
||||
/* 07F4E4 800E6034 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07F4E8 800E6038 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 07F4EC 800E603C 0C039769 */ jal set_action_state
|
||||
@ -4067,7 +4067,7 @@ start_bounce_a:
|
||||
/* 07F534 800E6084 03E00008 */ jr $ra
|
||||
/* 07F538 800E6088 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
start_bounce_b:
|
||||
glabel start_bounce_b
|
||||
/* 07F53C 800E608C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07F540 800E6090 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 07F544 800E6094 0C039769 */ jal set_action_state
|
||||
@ -4090,7 +4090,7 @@ start_bounce_b:
|
||||
/* 07F588 800E60D8 03E00008 */ jr $ra
|
||||
/* 07F58C 800E60DC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
check_input_hammer:
|
||||
glabel check_input_hammer
|
||||
/* 07F590 800E60E0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07F594 800E60E4 3C038011 */ lui $v1, 0x8011
|
||||
/* 07F598 800E60E8 2463EFC8 */ addiu $v1, $v1, -0x1038
|
||||
@ -4126,7 +4126,7 @@ check_input_hammer:
|
||||
/* 07F608 800E6158 03E00008 */ jr $ra
|
||||
/* 07F60C 800E615C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
check_input_jump:
|
||||
glabel check_input_jump
|
||||
/* 07F610 800E6160 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 07F614 800E6164 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 07F618 800E6168 3C118011 */ lui $s1, 0x8011
|
||||
@ -4200,7 +4200,7 @@ check_input_jump:
|
||||
/* 07F710 800E6260 03E00008 */ jr $ra
|
||||
/* 07F714 800E6264 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
check_input_spin:
|
||||
glabel check_input_spin
|
||||
/* 07F718 800E6268 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 07F71C 800E626C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07F720 800E6270 3C108011 */ lui $s0, 0x8011
|
||||
@ -4270,7 +4270,7 @@ check_input_spin:
|
||||
/* 07F814 800E6364 03E00008 */ jr $ra
|
||||
/* 07F818 800E6368 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800E636C:
|
||||
glabel func_800E636C
|
||||
/* 07F81C 800E636C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07F820 800E6370 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 07F824 800E6374 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -4324,7 +4324,7 @@ func_800E636C:
|
||||
/* 07F8D0 800E6420 03E00008 */ jr $ra
|
||||
/* 07F8D4 800E6424 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E6428:
|
||||
glabel func_800E6428
|
||||
/* 07F8D8 800E6428 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 07F8DC 800E642C 3C048011 */ lui $a0, 0x8011
|
||||
/* 07F8E0 800E6430 2484EFC8 */ addiu $a0, $a0, -0x1038
|
||||
@ -4383,7 +4383,7 @@ func_800E6428:
|
||||
/* 07F9A8 800E64F8 03E00008 */ jr $ra
|
||||
/* 07F9AC 800E64FC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E6500:
|
||||
glabel func_800E6500
|
||||
/* 07F9B0 800E6500 3C048011 */ lui $a0, 0x8011
|
||||
/* 07F9B4 800E6504 8C84C96C */ lw $a0, -0x3694($a0)
|
||||
/* 07F9B8 800E6508 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -4420,7 +4420,7 @@ func_800E6500:
|
||||
/* 07FA24 800E6574 03E00008 */ jr $ra
|
||||
/* 07FA28 800E6578 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E657C:
|
||||
glabel func_800E657C
|
||||
/* 07FA2C 800E657C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 07FA30 800E6580 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 07FA34 800E6584 AFB10024 */ sw $s1, 0x24($sp)
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text800E6860, "ax"
|
||||
|
||||
func_800E6860:
|
||||
glabel func_800E6860
|
||||
/* 07FD10 800E6860 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 07FD14 800E6864 3C038011 */ lui $v1, 0x8011
|
||||
/* 07FD18 800E6868 2463EBB0 */ addiu $v1, $v1, -0x1450
|
||||
@ -55,7 +55,7 @@ func_800E6860:
|
||||
/* 07FDAC 800E68FC 03E00008 */ jr $ra
|
||||
/* 07FDB0 800E6900 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_800E6904:
|
||||
glabel func_800E6904
|
||||
/* 07FDB4 800E6904 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 07FDB8 800E6908 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 07FDBC 800E690C 3C118011 */ lui $s1, 0x8011
|
||||
@ -118,7 +118,7 @@ func_800E6904:
|
||||
/* 07FE84 800E69D4 03E00008 */ jr $ra
|
||||
/* 07FE88 800E69D8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800E69DC:
|
||||
glabel func_800E69DC
|
||||
/* 07FE8C 800E69DC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 07FE90 800E69E0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 07FE94 800E69E4 3C128011 */ lui $s2, 0x8011
|
||||
@ -231,13 +231,13 @@ func_800E69DC:
|
||||
/* 080010 800E6B60 03E00008 */ jr $ra
|
||||
/* 080014 800E6B64 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800E6B68:
|
||||
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
|
||||
|
||||
func_800E6B78:
|
||||
glabel func_800E6B78
|
||||
/* 080028 800E6B78 3C0B8011 */ lui $t3, 0x8011
|
||||
/* 08002C 800E6B7C 256BF290 */ addiu $t3, $t3, -0xd70
|
||||
/* 080030 800E6B80 0000502D */ daddu $t2, $zero, $zero
|
||||
@ -293,7 +293,7 @@ func_800E6B78:
|
||||
/* 0800EC 800E6C3C 03E00008 */ jr $ra
|
||||
/* 0800F0 800E6C40 0140102D */ daddu $v0, $t2, $zero
|
||||
|
||||
func_800E6C44:
|
||||
glabel func_800E6C44
|
||||
/* 0800F4 800E6C44 0000402D */ daddu $t0, $zero, $zero
|
||||
/* 0800F8 800E6C48 0100302D */ daddu $a2, $t0, $zero
|
||||
/* 0800FC 800E6C4C 3C0B8008 */ lui $t3, 0x8008
|
||||
@ -340,7 +340,7 @@ func_800E6C44:
|
||||
/* 08018C 800E6CDC 03E00008 */ jr $ra
|
||||
/* 080190 800E6CE0 0100102D */ daddu $v0, $t0, $zero
|
||||
|
||||
func_800E6CE4:
|
||||
glabel func_800E6CE4
|
||||
/* 080194 800E6CE4 3C038007 */ lui $v1, 0x8007
|
||||
/* 080198 800E6CE8 8C63419C */ lw $v1, 0x419c($v1)
|
||||
/* 08019C 800E6CEC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
@ -745,7 +745,7 @@ func_800E6CE4:
|
||||
/* 080734 800E7284 03E00008 */ jr $ra
|
||||
/* 080738 800E7288 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
check_input_status_menu:
|
||||
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
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text800E73A0, "ax"
|
||||
|
||||
clear_player_data:
|
||||
glabel clear_player_data
|
||||
/* 080850 800E73A0 0000182D */ daddu $v1, $zero, $zero
|
||||
/* 080854 800E73A4 3C048011 */ lui $a0, 0x8011
|
||||
/* 080858 800E73A8 2484F290 */ addiu $a0, $a0, -0xd70
|
||||
@ -133,13 +133,13 @@ clear_player_data:
|
||||
/* 080A0C 800E755C 03E00008 */ jr $ra
|
||||
/* 080A10 800E7560 A480033C */ sh $zero, 0x33c($a0)
|
||||
|
||||
get_player_data:
|
||||
glabel get_player_data
|
||||
/* 080A14 800E7564 3C028011 */ lui $v0, 0x8011
|
||||
/* 080A18 800E7568 2442F290 */ addiu $v0, $v0, -0xd70
|
||||
/* 080A1C 800E756C 03E00008 */ jr $ra
|
||||
/* 080A20 800E7570 00000000 */ nop
|
||||
|
||||
add_item:
|
||||
glabel add_item
|
||||
/* 080A24 800E7574 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 080A28 800E7578 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 080A2C 800E757C 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -176,7 +176,7 @@ add_item:
|
||||
/* 080A94 800E75E4 03E00008 */ jr $ra
|
||||
/* 080A98 800E75E8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
get_item_count:
|
||||
glabel get_item_count
|
||||
/* 080A9C 800E75EC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 080AA0 800E75F0 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 080AA4 800E75F4 3C038011 */ lui $v1, 0x8011
|
||||
@ -193,7 +193,7 @@ get_item_count:
|
||||
/* 080AC8 800E7618 03E00008 */ jr $ra
|
||||
/* 080ACC 800E761C 00A0102D */ daddu $v0, $a1, $zero
|
||||
|
||||
get_item_empty_count:
|
||||
glabel get_item_empty_count
|
||||
/* 080AD0 800E7620 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 080AD4 800E7624 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 080AD8 800E7628 0C039D7B */ jal get_item_count
|
||||
@ -204,7 +204,7 @@ get_item_empty_count:
|
||||
/* 080AEC 800E763C 03E00008 */ jr $ra
|
||||
/* 080AF0 800E7640 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
find_item:
|
||||
glabel find_item
|
||||
/* 080AF4 800E7644 00041140 */ sll $v0, $a0, 5
|
||||
/* 080AF8 800E7648 3C018008 */ lui $at, 0x8008
|
||||
/* 080AFC 800E764C 00220821 */ addu $at, $at, $v0
|
||||
@ -246,7 +246,7 @@ find_item:
|
||||
/* 080B74 800E76C4 03E00008 */ jr $ra
|
||||
/* 080B78 800E76C8 00000000 */ nop
|
||||
|
||||
sort_items:
|
||||
glabel sort_items
|
||||
/* 080B7C 800E76CC 24060008 */ addiu $a2, $zero, 8
|
||||
/* 080B80 800E76D0 3C088011 */ lui $t0, 0x8011
|
||||
/* 080B84 800E76D4 2508F290 */ addiu $t0, $t0, -0xd70
|
||||
@ -282,7 +282,7 @@ sort_items:
|
||||
/* 080BE4 800E7734 03E00008 */ jr $ra
|
||||
/* 080BE8 800E7738 00000000 */ nop
|
||||
|
||||
add_badge:
|
||||
glabel add_badge
|
||||
/* 080BEC 800E773C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 080BF0 800E7740 00041140 */ sll $v0, $a0, 5
|
||||
/* 080BF4 800E7744 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -325,7 +325,7 @@ add_badge:
|
||||
/* 080C6C 800E77BC 03E00008 */ jr $ra
|
||||
/* 080C70 800E77C0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
store_item:
|
||||
glabel store_item
|
||||
/* 080C74 800E77C4 0000182D */ daddu $v1, $zero, $zero
|
||||
/* 080C78 800E77C8 3C068011 */ lui $a2, 0x8011
|
||||
/* 080C7C 800E77CC 24C6F290 */ addiu $a2, $a2, -0xd70
|
||||
@ -351,7 +351,7 @@ store_item:
|
||||
/* 080CBC 800E780C 03E00008 */ jr $ra
|
||||
/* 080CC0 800E7810 2402FFFF */ addiu $v0, $zero, -1
|
||||
|
||||
get_stored_count:
|
||||
glabel get_stored_count
|
||||
/* 080CC4 800E7814 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 080CC8 800E7818 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 080CCC 800E781C 3C038011 */ lui $v1, 0x8011
|
||||
@ -368,7 +368,7 @@ get_stored_count:
|
||||
/* 080CF0 800E7840 03E00008 */ jr $ra
|
||||
/* 080CF4 800E7844 00A0102D */ daddu $v0, $a1, $zero
|
||||
|
||||
get_stored_empty_count:
|
||||
glabel get_stored_empty_count
|
||||
/* 080CF8 800E7848 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 080CFC 800E784C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 080D00 800E7850 0C039E05 */ jal get_stored_count
|
||||
@ -379,7 +379,7 @@ get_stored_empty_count:
|
||||
/* 080D14 800E7864 03E00008 */ jr $ra
|
||||
/* 080D18 800E7868 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
enforce_hpfp_limits:
|
||||
glabel enforce_hpfp_limits
|
||||
/* 080D1C 800E786C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 080D20 800E7870 24040004 */ addiu $a0, $zero, 4
|
||||
/* 080D24 800E7874 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
@ -435,7 +435,7 @@ enforce_hpfp_limits:
|
||||
/* 080DDC 800E792C 03E00008 */ jr $ra
|
||||
/* 080DE0 800E7930 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
initialize_status_menu:
|
||||
glabel initialize_status_menu
|
||||
/* 080DE4 800E7934 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 080DE8 800E7938 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 080DEC 800E793C 3C118011 */ lui $s1, 0x8011
|
||||
@ -657,7 +657,7 @@ initialize_status_menu:
|
||||
/* 08114C 800E7C9C 03E00008 */ jr $ra
|
||||
/* 081150 800E7CA0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
status_menu_draw_number:
|
||||
glabel status_menu_draw_number
|
||||
/* 081154 800E7CA4 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 081158 800E7CA8 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 08115C 800E7CAC 00A0882D */ daddu $s1, $a1, $zero
|
||||
@ -765,7 +765,7 @@ status_menu_draw_number:
|
||||
/* 0812DC 800E7E2C 03E00008 */ jr $ra
|
||||
/* 0812E0 800E7E30 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
status_menu_draw_stat:
|
||||
glabel status_menu_draw_stat
|
||||
/* 0812E4 800E7E34 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0812E8 800E7E38 AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* 0812EC 800E7E3C 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -938,7 +938,7 @@ status_menu_draw_stat:
|
||||
/* 08155C 800E80AC 03E00008 */ jr $ra
|
||||
/* 081560 800E80B0 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
update_status_menu:
|
||||
glabel update_status_menu
|
||||
/* 081564 800E80B4 27BDFF70 */ addiu $sp, $sp, -0x90
|
||||
/* 081568 800E80B8 AFB00068 */ sw $s0, 0x68($sp)
|
||||
/* 08156C 800E80BC 3C108007 */ lui $s0, 0x8007
|
||||
@ -2202,7 +2202,7 @@ update_status_menu:
|
||||
/* 082780 800E92D0 03E00008 */ jr $ra
|
||||
/* 082784 800E92D4 27BD0090 */ addiu $sp, $sp, 0x90
|
||||
|
||||
coin_counter_draw_content:
|
||||
glabel coin_counter_draw_content
|
||||
/* 082788 800E92D8 3C038011 */ lui $v1, 0x8011
|
||||
/* 08278C 800E92DC 8463F29C */ lh $v1, -0xd64($v1)
|
||||
/* 082790 800E92E0 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
@ -2271,7 +2271,7 @@ coin_counter_draw_content:
|
||||
/* 082884 800E93D4 03E00008 */ jr $ra
|
||||
/* 082888 800E93D8 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
update_coin_counter:
|
||||
glabel update_coin_counter
|
||||
/* 08288C 800E93DC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 082890 800E93E0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 082894 800E93E4 3C108011 */ lui $s0, 0x8011
|
||||
@ -2358,7 +2358,7 @@ update_coin_counter:
|
||||
/* 0829C0 800E9510 03E00008 */ jr $ra
|
||||
/* 0829C4 800E9514 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
show_coin_counter:
|
||||
glabel show_coin_counter
|
||||
/* 0829C8 800E9518 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0829CC 800E951C AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* 0829D0 800E9520 3C108011 */ lui $s0, 0x8011
|
||||
@ -2461,7 +2461,7 @@ show_coin_counter:
|
||||
/* 082B40 800E9690 03E00008 */ jr $ra
|
||||
/* 082B44 800E9694 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
hide_coin_counter:
|
||||
glabel hide_coin_counter
|
||||
/* 082B48 800E9698 3C028011 */ lui $v0, 0x8011
|
||||
/* 082B4C 800E969C 8442CD10 */ lh $v0, -0x32f0($v0)
|
||||
/* 082B50 800E96A0 3C038011 */ lui $v1, 0x8011
|
||||
@ -2476,7 +2476,7 @@ hide_coin_counter:
|
||||
/* 082B70 800E96C0 03E00008 */ jr $ra
|
||||
/* 082B74 800E96C4 00000000 */ nop
|
||||
|
||||
func_800E96C8:
|
||||
glabel func_800E96C8
|
||||
/* 082B78 800E96C8 3C028011 */ lui $v0, 0x8011
|
||||
/* 082B7C 800E96CC 8442CD10 */ lh $v0, -0x32f0($v0)
|
||||
/* 082B80 800E96D0 3C038011 */ lui $v1, 0x8011
|
||||
@ -2491,7 +2491,7 @@ func_800E96C8:
|
||||
/* 082BA0 800E96F0 03E00008 */ jr $ra
|
||||
/* 082BA4 800E96F4 00000000 */ nop
|
||||
|
||||
ShowCoinCounter:
|
||||
glabel ShowCoinCounter
|
||||
/* 082BA8 800E96F8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 082BAC 800E96FC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 082BB0 800E9700 8C82000C */ lw $v0, 0xc($a0)
|
||||
@ -2513,7 +2513,7 @@ ShowCoinCounter:
|
||||
/* 082BE4 800E9734 03E00008 */ jr $ra
|
||||
/* 082BE8 800E9738 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800E973C:
|
||||
glabel func_800E973C
|
||||
/* 082BEC 800E973C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 082BF0 800E9740 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 082BF4 800E9744 0C03A02D */ jal update_status_menu
|
||||
@ -2524,7 +2524,7 @@ func_800E973C:
|
||||
/* 082C08 800E9758 03E00008 */ jr $ra
|
||||
/* 082C0C 800E975C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
open_status_menu_long:
|
||||
glabel open_status_menu_long
|
||||
/* 082C10 800E9760 3C038011 */ lui $v1, 0x8011
|
||||
/* 082C14 800E9764 2463EF58 */ addiu $v1, $v1, -0x10a8
|
||||
/* 082C18 800E9768 8062003A */ lb $v0, 0x3a($v1)
|
||||
@ -2538,7 +2538,7 @@ open_status_menu_long:
|
||||
/* 082C34 800E9784 03E00008 */ jr $ra
|
||||
/* 082C38 800E9788 00000000 */ nop
|
||||
|
||||
open_status_menu_short:
|
||||
glabel open_status_menu_short
|
||||
/* 082C3C 800E978C 3C038011 */ lui $v1, 0x8011
|
||||
/* 082C40 800E9790 2463EF58 */ addiu $v1, $v1, -0x10a8
|
||||
/* 082C44 800E9794 8062003A */ lb $v0, 0x3a($v1)
|
||||
@ -2552,7 +2552,7 @@ open_status_menu_short:
|
||||
/* 082C60 800E97B0 03E00008 */ jr $ra
|
||||
/* 082C64 800E97B4 00000000 */ nop
|
||||
|
||||
func_800E97B8:
|
||||
glabel func_800E97B8
|
||||
/* 082C68 800E97B8 3C048011 */ lui $a0, 0x8011
|
||||
/* 082C6C 800E97BC 2484EF58 */ addiu $a0, $a0, -0x10a8
|
||||
/* 082C70 800E97C0 8082003A */ lb $v0, 0x3a($a0)
|
||||
@ -2566,7 +2566,7 @@ func_800E97B8:
|
||||
/* 082C8C 800E97DC 03E00008 */ jr $ra
|
||||
/* 082C90 800E97E0 00000000 */ nop
|
||||
|
||||
func_800E97E4:
|
||||
glabel func_800E97E4
|
||||
/* 082C94 800E97E4 3C028011 */ lui $v0, 0x8011
|
||||
/* 082C98 800E97E8 2442EF58 */ addiu $v0, $v0, -0x10a8
|
||||
/* 082C9C 800E97EC 2403FF9C */ addiu $v1, $zero, -0x64
|
||||
@ -2579,7 +2579,7 @@ func_800E97E4:
|
||||
/* 082CB8 800E9808 03E00008 */ jr $ra
|
||||
/* 082CBC 800E980C A040003C */ sb $zero, 0x3c($v0)
|
||||
|
||||
func_800E9810:
|
||||
glabel func_800E9810
|
||||
/* 082CC0 800E9810 3C028011 */ lui $v0, 0x8011
|
||||
/* 082CC4 800E9814 2442EF58 */ addiu $v0, $v0, -0x10a8
|
||||
/* 082CC8 800E9818 240300D2 */ addiu $v1, $zero, 0xd2
|
||||
@ -2592,20 +2592,20 @@ func_800E9810:
|
||||
/* 082CE4 800E9834 03E00008 */ jr $ra
|
||||
/* 082CE8 800E9838 A040003C */ sb $zero, 0x3c($v0)
|
||||
|
||||
func_800E983C:
|
||||
glabel func_800E983C
|
||||
/* 082CEC 800E983C 3C018011 */ lui $at, 0x8011
|
||||
/* 082CF0 800E9840 A020EF9D */ sb $zero, -0x1063($at)
|
||||
/* 082CF4 800E9844 03E00008 */ jr $ra
|
||||
/* 082CF8 800E9848 00000000 */ nop
|
||||
|
||||
func_800E984C:
|
||||
glabel func_800E984C
|
||||
/* 082CFC 800E984C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 082D00 800E9850 3C018011 */ lui $at, 0x8011
|
||||
/* 082D04 800E9854 A022EF9D */ sb $v0, -0x1063($at)
|
||||
/* 082D08 800E9858 03E00008 */ jr $ra
|
||||
/* 082D0C 800E985C 00000000 */ nop
|
||||
|
||||
func_800E9860:
|
||||
glabel func_800E9860
|
||||
/* 082D10 800E9860 3C038011 */ lui $v1, 0x8011
|
||||
/* 082D14 800E9864 2463EF58 */ addiu $v1, $v1, -0x10a8
|
||||
/* 082D18 800E9868 80640045 */ lb $a0, 0x45($v1)
|
||||
@ -2622,7 +2622,7 @@ func_800E9860:
|
||||
/* 082D3C 800E988C 03E00008 */ jr $ra
|
||||
/* 082D40 800E9890 0080102D */ daddu $v0, $a0, $zero
|
||||
|
||||
func_800E9894:
|
||||
glabel func_800E9894
|
||||
/* 082D44 800E9894 24020001 */ addiu $v0, $zero, 1
|
||||
/* 082D48 800E9898 3C018011 */ lui $at, 0x8011
|
||||
/* 082D4C 800E989C A022EF9C */ sb $v0, -0x1064($at)
|
||||
@ -2637,13 +2637,13 @@ func_800E9894:
|
||||
/* 082D6C 800E98BC 03E00008 */ jr $ra
|
||||
/* 082D70 800E98C0 A4430036 */ sh $v1, 0x36($v0)
|
||||
|
||||
func_800E98C4:
|
||||
glabel func_800E98C4
|
||||
/* 082D74 800E98C4 3C018011 */ lui $at, 0x8011
|
||||
/* 082D78 800E98C8 A020EF9C */ sb $zero, -0x1064($at)
|
||||
/* 082D7C 800E98CC 03E00008 */ jr $ra
|
||||
/* 082D80 800E98D0 00000000 */ nop
|
||||
|
||||
func_800E98D4:
|
||||
glabel func_800E98D4
|
||||
/* 082D84 800E98D4 3C028011 */ lui $v0, 0x8011
|
||||
/* 082D88 800E98D8 2442EF58 */ addiu $v0, $v0, -0x10a8
|
||||
/* 082D8C 800E98DC 80430046 */ lb $v1, 0x46($v0)
|
||||
@ -2651,26 +2651,26 @@ func_800E98D4:
|
||||
/* 082D94 800E98E4 03E00008 */ jr $ra
|
||||
/* 082D98 800E98E8 00621021 */ addu $v0, $v1, $v0
|
||||
|
||||
func_800E98EC:
|
||||
glabel func_800E98EC
|
||||
/* 082D9C 800E98EC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 082DA0 800E98F0 3C018011 */ lui $at, 0x8011
|
||||
/* 082DA4 800E98F4 A022EF9E */ sb $v0, -0x1062($at)
|
||||
/* 082DA8 800E98F8 03E00008 */ jr $ra
|
||||
/* 082DAC 800E98FC 00000000 */ nop
|
||||
|
||||
func_800E9900:
|
||||
glabel func_800E9900
|
||||
/* 082DB0 800E9900 3C018011 */ lui $at, 0x8011
|
||||
/* 082DB4 800E9904 A020EF9E */ sb $zero, -0x1062($at)
|
||||
/* 082DB8 800E9908 03E00008 */ jr $ra
|
||||
/* 082DBC 800E990C 00000000 */ nop
|
||||
|
||||
is_status_menu_visible:
|
||||
glabel is_status_menu_visible
|
||||
/* 082DC0 800E9910 3C028011 */ lui $v0, 0x8011
|
||||
/* 082DC4 800E9914 8042EF92 */ lb $v0, -0x106e($v0)
|
||||
/* 082DC8 800E9918 03E00008 */ jr $ra
|
||||
/* 082DCC 800E991C 2C420001 */ sltiu $v0, $v0, 1
|
||||
|
||||
status_menu_start_blinking_hp:
|
||||
glabel status_menu_start_blinking_hp
|
||||
/* 082DD0 800E9920 3C028007 */ lui $v0, 0x8007
|
||||
/* 082DD4 800E9924 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 082DD8 800E9928 3C038011 */ lui $v1, 0x8011
|
||||
@ -2691,7 +2691,7 @@ status_menu_start_blinking_hp:
|
||||
/* 082E0C 800E995C 03E00008 */ jr $ra
|
||||
/* 082E10 800E9960 00000000 */ nop
|
||||
|
||||
status_menu_stop_blinking_hp:
|
||||
glabel status_menu_stop_blinking_hp
|
||||
/* 082E14 800E9964 3C038011 */ lui $v1, 0x8011
|
||||
/* 082E18 800E9968 2463EF58 */ addiu $v1, $v1, -0x10a8
|
||||
/* 082E1C 800E996C 8062004A */ lb $v0, 0x4a($v1)
|
||||
@ -2704,7 +2704,7 @@ status_menu_stop_blinking_hp:
|
||||
/* 082E34 800E9984 03E00008 */ jr $ra
|
||||
/* 082E38 800E9988 00000000 */ nop
|
||||
|
||||
status_menu_start_blinking_fp:
|
||||
glabel status_menu_start_blinking_fp
|
||||
/* 082E3C 800E998C 3C028007 */ lui $v0, 0x8007
|
||||
/* 082E40 800E9990 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 082E44 800E9994 3C038011 */ lui $v1, 0x8011
|
||||
@ -2725,7 +2725,7 @@ status_menu_start_blinking_fp:
|
||||
/* 082E78 800E99C8 03E00008 */ jr $ra
|
||||
/* 082E7C 800E99CC 00000000 */ nop
|
||||
|
||||
status_menu_stop_blinking_fp:
|
||||
glabel status_menu_stop_blinking_fp
|
||||
/* 082E80 800E99D0 3C038011 */ lui $v1, 0x8011
|
||||
/* 082E84 800E99D4 2463EF58 */ addiu $v1, $v1, -0x10a8
|
||||
/* 082E88 800E99D8 8062004D */ lb $v0, 0x4d($v1)
|
||||
@ -2737,7 +2737,7 @@ status_menu_stop_blinking_fp:
|
||||
/* 082E9C 800E99EC 03E00008 */ jr $ra
|
||||
/* 082EA0 800E99F0 00000000 */ nop
|
||||
|
||||
status_menu_start_blinking_coins:
|
||||
glabel status_menu_start_blinking_coins
|
||||
/* 082EA4 800E99F4 3C028007 */ lui $v0, 0x8007
|
||||
/* 082EA8 800E99F8 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 082EAC 800E99FC 3C038011 */ lui $v1, 0x8011
|
||||
@ -2758,7 +2758,7 @@ status_menu_start_blinking_coins:
|
||||
/* 082EE0 800E9A30 03E00008 */ jr $ra
|
||||
/* 082EE4 800E9A34 00000000 */ nop
|
||||
|
||||
status_menu_stop_blinking_coins:
|
||||
glabel status_menu_stop_blinking_coins
|
||||
/* 082EE8 800E9A38 3C038011 */ lui $v1, 0x8011
|
||||
/* 082EEC 800E9A3C 2463EF58 */ addiu $v1, $v1, -0x10a8
|
||||
/* 082EF0 800E9A40 80620054 */ lb $v0, 0x54($v1)
|
||||
@ -2771,7 +2771,7 @@ status_menu_stop_blinking_coins:
|
||||
/* 082F08 800E9A58 03E00008 */ jr $ra
|
||||
/* 082F0C 800E9A5C 00000000 */ nop
|
||||
|
||||
status_menu_start_blinking_sp:
|
||||
glabel status_menu_start_blinking_sp
|
||||
/* 082F10 800E9A60 3C028011 */ lui $v0, 0x8011
|
||||
/* 082F14 800E9A64 9042F51E */ lbu $v0, -0xae2($v0)
|
||||
/* 082F18 800E9A68 3C038011 */ lui $v1, 0x8011
|
||||
@ -2787,7 +2787,7 @@ status_menu_start_blinking_sp:
|
||||
/* 082F3C 800E9A8C 03E00008 */ jr $ra
|
||||
/* 082F40 800E9A90 00000000 */ nop
|
||||
|
||||
status_menu_stop_blinking_sp:
|
||||
glabel status_menu_stop_blinking_sp
|
||||
/* 082F44 800E9A94 3C038011 */ lui $v1, 0x8011
|
||||
/* 082F48 800E9A98 2463EF58 */ addiu $v1, $v1, -0x10a8
|
||||
/* 082F4C 800E9A9C 80620050 */ lb $v0, 0x50($v1)
|
||||
@ -2799,7 +2799,7 @@ status_menu_stop_blinking_sp:
|
||||
/* 082F60 800E9AB0 03E00008 */ jr $ra
|
||||
/* 082F64 800E9AB4 00000000 */ nop
|
||||
|
||||
status_menu_start_blinking_sp_bars:
|
||||
glabel status_menu_start_blinking_sp_bars
|
||||
/* 082F68 800E9AB8 3C038011 */ lui $v1, 0x8011
|
||||
/* 082F6C 800E9ABC 2463EF58 */ addiu $v1, $v1, -0x10a8
|
||||
/* 082F70 800E9AC0 80620050 */ lb $v0, 0x50($v1)
|
||||
@ -2813,7 +2813,7 @@ status_menu_start_blinking_sp_bars:
|
||||
/* 082F8C 800E9ADC 03E00008 */ jr $ra
|
||||
/* 082F90 800E9AE0 00000000 */ nop
|
||||
|
||||
status_menu_start_blinking_starpoints:
|
||||
glabel status_menu_start_blinking_starpoints
|
||||
/* 082F94 800E9AE4 3C038011 */ lui $v1, 0x8011
|
||||
/* 082F98 800E9AE8 2463EF58 */ addiu $v1, $v1, -0x10a8
|
||||
/* 082F9C 800E9AEC 80620052 */ lb $v0, 0x52($v1)
|
||||
@ -2826,7 +2826,7 @@ status_menu_start_blinking_starpoints:
|
||||
/* 082FB4 800E9B04 03E00008 */ jr $ra
|
||||
/* 082FB8 800E9B08 00000000 */ nop
|
||||
|
||||
status_menu_stop_blinking_starpoints:
|
||||
glabel status_menu_stop_blinking_starpoints
|
||||
/* 082FBC 800E9B0C 3C038011 */ lui $v1, 0x8011
|
||||
/* 082FC0 800E9B10 2463EF58 */ addiu $v1, $v1, -0x10a8
|
||||
/* 082FC4 800E9B14 80620052 */ lb $v0, 0x52($v1)
|
||||
@ -2838,7 +2838,7 @@ status_menu_stop_blinking_starpoints:
|
||||
/* 082FD8 800E9B28 03E00008 */ jr $ra
|
||||
/* 082FDC 800E9B2C 00000000 */ nop
|
||||
|
||||
decrement_status_menu_disabled:
|
||||
glabel decrement_status_menu_disabled
|
||||
/* 082FE0 800E9B30 3C048011 */ lui $a0, 0x8011
|
||||
/* 082FE4 800E9B34 2484EF58 */ addiu $a0, $a0, -0x10a8
|
||||
/* 082FE8 800E9B38 80820047 */ lb $v0, 0x47($a0)
|
||||
@ -2850,7 +2850,7 @@ decrement_status_menu_disabled:
|
||||
/* 082FFC 800E9B4C 03E00008 */ jr $ra
|
||||
/* 083000 800E9B50 00000000 */ nop
|
||||
|
||||
increment_status_menu_disabled:
|
||||
glabel increment_status_menu_disabled
|
||||
/* 083004 800E9B54 3C038011 */ lui $v1, 0x8011
|
||||
/* 083008 800E9B58 2463EF58 */ addiu $v1, $v1, -0x10a8
|
||||
/* 08300C 800E9B5C 90620047 */ lbu $v0, 0x47($v1)
|
||||
@ -2858,7 +2858,7 @@ increment_status_menu_disabled:
|
||||
/* 083014 800E9B64 03E00008 */ jr $ra
|
||||
/* 083018 800E9B68 A0620047 */ sb $v0, 0x47($v1)
|
||||
|
||||
sync_status_menu:
|
||||
glabel sync_status_menu
|
||||
/* 08301C 800E9B6C 3C028011 */ lui $v0, 0x8011
|
||||
/* 083020 800E9B70 2442F290 */ addiu $v0, $v0, -0xd70
|
||||
/* 083024 800E9B74 90430010 */ lbu $v1, 0x10($v0)
|
||||
@ -2877,7 +2877,7 @@ sync_status_menu:
|
||||
/* 083058 800E9BA8 03E00008 */ jr $ra
|
||||
/* 08305C 800E9BAC A4430042 */ sh $v1, 0x42($v0)
|
||||
|
||||
reset_status_menu:
|
||||
glabel reset_status_menu
|
||||
/* 083060 800E9BB0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 083064 800E9BB4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 083068 800E9BB8 0000902D */ daddu $s2, $zero, $zero
|
||||
@ -2983,7 +2983,7 @@ reset_status_menu:
|
||||
/* 0831F0 800E9D40 03E00008 */ jr $ra
|
||||
/* 0831F4 800E9D44 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
is_ability_active:
|
||||
glabel is_ability_active
|
||||
/* 0831F8 800E9D48 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0831FC 800E9D4C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 083200 800E9D50 0080482D */ daddu $t1, $a0, $zero
|
||||
@ -3272,11 +3272,11 @@ is_ability_active:
|
||||
/* 083560 800EA0B0 03E00008 */ jr $ra
|
||||
/* 083564 800EA0B4 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
is_partner_ability_active:
|
||||
glabel is_partner_ability_active
|
||||
/* 083568 800EA0B8 03E00008 */ jr $ra
|
||||
/* 08356C 800EA0BC 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
add_coins:
|
||||
glabel add_coins
|
||||
/* 083570 800EA0C0 3C038011 */ lui $v1, 0x8011
|
||||
/* 083574 800EA0C4 2463F290 */ addiu $v1, $v1, -0xd70
|
||||
/* 083578 800EA0C8 9462000C */ lhu $v0, 0xc($v1)
|
||||
@ -3307,7 +3307,7 @@ add_coins:
|
||||
/* 0835D0 800EA120 03E00008 */ jr $ra
|
||||
/* 0835D4 800EA124 00000000 */ nop
|
||||
|
||||
add_star_points:
|
||||
glabel add_star_points
|
||||
/* 0835D8 800EA128 3C038011 */ lui $v1, 0x8011
|
||||
/* 0835DC 800EA12C 2463F290 */ addiu $v1, $v1, -0xd70
|
||||
/* 0835E0 800EA130 90620010 */ lbu $v0, 0x10($v1)
|
||||
@ -3329,7 +3329,7 @@ add_star_points:
|
||||
/* 083618 800EA168 03E00008 */ jr $ra
|
||||
/* 08361C 800EA16C 00000000 */ nop
|
||||
|
||||
add_star_pieces:
|
||||
glabel add_star_pieces
|
||||
/* 083620 800EA170 3C058011 */ lui $a1, 0x8011
|
||||
/* 083624 800EA174 24A5F290 */ addiu $a1, $a1, -0xd70
|
||||
/* 083628 800EA178 90A3000F */ lbu $v1, 0xf($a1)
|
||||
@ -3351,7 +3351,7 @@ add_star_pieces:
|
||||
/* 08365C 800EA1AC 03E00008 */ jr $ra
|
||||
/* 083660 800EA1B0 90C2000F */ lbu $v0, 0xf($a2)
|
||||
|
||||
increment_max_SP:
|
||||
glabel increment_max_SP
|
||||
/* 083664 800EA1B4 3C038011 */ lui $v1, 0x8011
|
||||
/* 083668 800EA1B8 2463F290 */ addiu $v1, $v1, -0xd70
|
||||
/* 08366C 800EA1BC 9062028E */ lbu $v0, 0x28e($v1)
|
||||
@ -3362,7 +3362,7 @@ increment_max_SP:
|
||||
/* 083680 800EA1D0 03E00008 */ jr $ra
|
||||
/* 083684 800EA1D4 A4620290 */ sh $v0, 0x290($v1)
|
||||
|
||||
set_max_SP:
|
||||
glabel set_max_SP
|
||||
/* 083688 800EA1D8 3C028011 */ lui $v0, 0x8011
|
||||
/* 08368C 800EA1DC 2442F290 */ addiu $v0, $v0, -0xd70
|
||||
/* 083690 800EA1E0 A044028E */ sb $a0, 0x28e($v0)
|
||||
@ -3371,7 +3371,7 @@ set_max_SP:
|
||||
/* 08369C 800EA1EC 03E00008 */ jr $ra
|
||||
/* 0836A0 800EA1F0 A4440290 */ sh $a0, 0x290($v0)
|
||||
|
||||
add_SP:
|
||||
glabel add_SP
|
||||
/* 0836A4 800EA1F4 3C078011 */ lui $a3, 0x8011
|
||||
/* 0836A8 800EA1F8 24E7F290 */ addiu $a3, $a3, -0xd70
|
||||
/* 0836AC 800EA1FC 3C068011 */ lui $a2, 0x8011
|
||||
@ -3403,7 +3403,7 @@ add_SP:
|
||||
/* 08370C 800EA25C 03E00008 */ jr $ra
|
||||
/* 083710 800EA260 A5220048 */ sh $v0, 0x48($t1)
|
||||
|
||||
recover_fp:
|
||||
glabel recover_fp
|
||||
/* 083714 800EA264 3C058011 */ lui $a1, 0x8011
|
||||
/* 083718 800EA268 24A5F290 */ addiu $a1, $a1, -0xd70
|
||||
/* 08371C 800EA26C 80A30005 */ lb $v1, 5($a1)
|
||||
@ -3436,7 +3436,7 @@ recover_fp:
|
||||
/* 083774 800EA2C4 03E00008 */ jr $ra
|
||||
/* 083778 800EA2C8 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
recover_hp:
|
||||
glabel recover_hp
|
||||
/* 08377C 800EA2CC 3C058011 */ lui $a1, 0x8011
|
||||
/* 083780 800EA2D0 24A5F290 */ addiu $a1, $a1, -0xd70
|
||||
/* 083784 800EA2D4 80A30002 */ lb $v1, 2($a1)
|
||||
@ -3469,7 +3469,7 @@ recover_hp:
|
||||
/* 0837DC 800EA32C 03E00008 */ jr $ra
|
||||
/* 0837E0 800EA330 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
subtract_hp:
|
||||
glabel subtract_hp
|
||||
/* 0837E4 800EA334 3C038011 */ lui $v1, 0x8011
|
||||
/* 0837E8 800EA338 2463F290 */ addiu $v1, $v1, -0xd70
|
||||
/* 0837EC 800EA33C 80620002 */ lb $v0, 2($v1)
|
||||
@ -3484,7 +3484,7 @@ subtract_hp:
|
||||
/* 083808 800EA358 03E00008 */ jr $ra
|
||||
/* 08380C 800EA35C A0620002 */ sb $v0, 2($v1)
|
||||
|
||||
has_full_hp:
|
||||
glabel has_full_hp
|
||||
/* 083810 800EA360 3C038011 */ lui $v1, 0x8011
|
||||
/* 083814 800EA364 2463F290 */ addiu $v1, $v1, -0xd70
|
||||
/* 083818 800EA368 80620003 */ lb $v0, 3($v1)
|
||||
@ -3493,7 +3493,7 @@ has_full_hp:
|
||||
/* 083824 800EA374 03E00008 */ jr $ra
|
||||
/* 083828 800EA378 2C420001 */ sltiu $v0, $v0, 1
|
||||
|
||||
has_full_fp:
|
||||
glabel has_full_fp
|
||||
/* 08382C 800EA37C 3C038011 */ lui $v1, 0x8011
|
||||
/* 083830 800EA380 2463F290 */ addiu $v1, $v1, -0xd70
|
||||
/* 083834 800EA384 80620006 */ lb $v0, 6($v1)
|
||||
@ -3502,7 +3502,7 @@ has_full_fp:
|
||||
/* 083840 800EA390 03E00008 */ jr $ra
|
||||
/* 083844 800EA394 2C420001 */ sltiu $v0, $v0, 1
|
||||
|
||||
add_fortress_keys:
|
||||
glabel add_fortress_keys
|
||||
/* 083848 800EA398 3C038011 */ lui $v1, 0x8011
|
||||
/* 08384C 800EA39C 2463F290 */ addiu $v1, $v1, -0xd70
|
||||
/* 083850 800EA3A0 9062000E */ lbu $v0, 0xe($v1)
|
||||
@ -3512,7 +3512,7 @@ add_fortress_keys:
|
||||
/* 083860 800EA3B0 03E00008 */ jr $ra
|
||||
/* 083864 800EA3B4 00021603 */ sra $v0, $v0, 0x18
|
||||
|
||||
subtract_fortress_keys:
|
||||
glabel subtract_fortress_keys
|
||||
/* 083868 800EA3B8 3C038011 */ lui $v1, 0x8011
|
||||
/* 08386C 800EA3BC 2463F290 */ addiu $v1, $v1, -0xd70
|
||||
/* 083870 800EA3C0 9062000E */ lbu $v0, 0xe($v1)
|
||||
@ -3526,7 +3526,7 @@ subtract_fortress_keys:
|
||||
/* 08388C 800EA3DC 03E00008 */ jr $ra
|
||||
/* 083890 800EA3E0 8082000E */ lb $v0, 0xe($a0)
|
||||
|
||||
get_fortress_key_count:
|
||||
glabel get_fortress_key_count
|
||||
/* 083894 800EA3E4 3C028011 */ lui $v0, 0x8011
|
||||
/* 083898 800EA3E8 8042F29E */ lb $v0, -0xd62($v0)
|
||||
/* 08389C 800EA3EC 03E00008 */ jr $ra
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8002CE30, "ax"
|
||||
|
||||
nuSiMgrInit:
|
||||
glabel nuSiMgrInit
|
||||
/* 008230 8002CE30 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 008234 8002CE34 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 008238 8002CE38 3C10800E */ lui $s0, 0x800e
|
||||
@ -77,7 +77,7 @@ nuSiMgrInit:
|
||||
/* 008320 8002CF20 03E00008 */ jr $ra
|
||||
/* 008324 8002CF24 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
nuSiSendMesg:
|
||||
glabel nuSiSendMesg
|
||||
/* 008328 8002CF28 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 00832C 8002CF2C AFB00040 */ sw $s0, 0x40($sp)
|
||||
/* 008330 8002CF30 27B00010 */ addiu $s0, $sp, 0x10
|
||||
@ -104,7 +104,7 @@ nuSiSendMesg:
|
||||
/* 008384 8002CF84 03E00008 */ jr $ra
|
||||
/* 008388 8002CF88 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
nuSiMgrStop:
|
||||
glabel nuSiMgrStop
|
||||
/* 00838C 8002CF8C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 008390 8002CF90 24047F00 */ addiu $a0, $zero, 0x7f00
|
||||
/* 008394 8002CF94 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -114,7 +114,7 @@ nuSiMgrStop:
|
||||
/* 0083A4 8002CFA4 03E00008 */ jr $ra
|
||||
/* 0083A8 8002CFA8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
nuSiMgrRestart:
|
||||
glabel nuSiMgrRestart
|
||||
/* 0083AC 8002CFAC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0083B0 8002CFB0 3C04800A */ lui $a0, 0x800a
|
||||
/* 0083B4 8002CFB4 2484E710 */ addiu $a0, $a0, -0x18f0
|
||||
@ -125,7 +125,7 @@ nuSiMgrRestart:
|
||||
/* 0083C8 8002CFC8 03E00008 */ jr $ra
|
||||
/* 0083CC 8002CFCC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
nuSiMgrThread:
|
||||
glabel nuSiMgrThread
|
||||
/* 0083D0 8002CFD0 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 0083D4 8002CFD4 AFB00048 */ sw $s0, 0x48($sp)
|
||||
/* 0083D8 8002CFD8 3C10800E */ lui $s0, 0x800e
|
||||
@ -240,7 +240,7 @@ nuSiMgrThread:
|
||||
/* 008558 8002D158 0800B402 */ j .L8002D008
|
||||
/* 00855C 8002D15C 00000000 */ nop
|
||||
|
||||
func_8002D160:
|
||||
glabel func_8002D160
|
||||
/* 008560 8002D160 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 008564 8002D164 AFB60030 */ sw $s6, 0x30($sp)
|
||||
/* 008568 8002D168 3C16759A */ lui $s6, 0x759a
|
||||
@ -420,7 +420,7 @@ func_8002D160:
|
||||
/* 0087F8 8002D3F8 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
/* 0087FC 8002D3FC 00000000 */ nop
|
||||
update_cameras:
|
||||
glabel update_cameras
|
||||
/* 008800 8002D400 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
/* 008804 8002D404 F7B60068 */ sdc1 $f22, 0x68($sp)
|
||||
/* 008808 8002D408 3C013F80 */ lui $at, 0x3f80
|
||||
@ -646,7 +646,7 @@ update_cameras:
|
||||
/* 008B34 8002D734 03E00008 */ jr $ra
|
||||
/* 008B38 8002D738 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
render_frame:
|
||||
glabel render_frame
|
||||
/* 008B3C 8002D73C 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
/* 008B40 8002D740 AFBF0054 */ sw $ra, 0x54($sp)
|
||||
/* 008B44 8002D744 AFBE0050 */ sw $fp, 0x50($sp)
|
||||
@ -1167,7 +1167,7 @@ render_frame:
|
||||
/* 0092EC 8002DEEC 03E00008 */ jr $ra
|
||||
/* 0092F0 8002DEF0 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
create_cameras_a:
|
||||
glabel create_cameras_a
|
||||
/* 0092F4 8002DEF4 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0092F8 8002DEF8 AFB60040 */ sw $s6, 0x40($sp)
|
||||
/* 0092FC 8002DEFC 27B60010 */ addiu $s6, $sp, 0x10
|
||||
@ -1251,7 +1251,7 @@ create_cameras_a:
|
||||
/* 009430 8002E030 03E00008 */ jr $ra
|
||||
/* 009434 8002E034 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
create_cameras_b:
|
||||
glabel create_cameras_b
|
||||
/* 009438 8002E038 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 00943C 8002E03C AFB60040 */ sw $s6, 0x40($sp)
|
||||
/* 009440 8002E040 27B60010 */ addiu $s6, $sp, 0x10
|
||||
@ -1331,7 +1331,7 @@ create_cameras_b:
|
||||
/* 009564 8002E164 03E00008 */ jr $ra
|
||||
/* 009568 8002E168 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
initialize_next_camera:
|
||||
glabel initialize_next_camera
|
||||
/* 00956C 8002E16C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 009570 8002E170 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 009574 8002E174 0000202D */ daddu $a0, $zero, $zero
|
||||
@ -1444,7 +1444,7 @@ initialize_next_camera:
|
||||
/* 00970C 8002E30C 03E00008 */ jr $ra
|
||||
/* 009710 8002E310 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
set_cam_viewport:
|
||||
glabel set_cam_viewport
|
||||
/* 009714 8002E314 3C08800B */ lui $t0, 0x800b
|
||||
/* 009718 8002E318 25081D80 */ addiu $t0, $t0, 0x1d80
|
||||
/* 00971C 8002E31C 00042400 */ sll $a0, $a0, 0x10
|
||||
@ -1563,7 +1563,7 @@ set_cam_viewport:
|
||||
/* 0098E0 8002E4E0 03E00008 */ jr $ra
|
||||
/* 0098E4 8002E4E4 A46000BE */ sh $zero, 0xbe($v1)
|
||||
|
||||
get_cam_viewport:
|
||||
glabel get_cam_viewport
|
||||
/* 0098E8 8002E4E8 3C08800B */ lui $t0, 0x800b
|
||||
/* 0098EC 8002E4EC 25081D80 */ addiu $t0, $t0, 0x1d80
|
||||
/* 0098F0 8002E4F0 00041080 */ sll $v0, $a0, 2
|
||||
@ -1585,7 +1585,7 @@ get_cam_viewport:
|
||||
/* 009930 8002E530 03E00008 */ jr $ra
|
||||
/* 009934 8002E534 A4C20000 */ sh $v0, ($a2)
|
||||
|
||||
get_screen_coords:
|
||||
glabel get_screen_coords
|
||||
/* 009938 8002E538 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 00993C 8002E53C AFB20040 */ sw $s2, 0x40($sp)
|
||||
/* 009940 8002E540 8FB20060 */ lw $s2, 0x60($sp)
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text800EA400, "ax"
|
||||
|
||||
use_consumable:
|
||||
glabel use_consumable
|
||||
/* 0838B0 800EA400 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0838B4 800EA404 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0838B8 800EA408 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -44,7 +44,7 @@ use_consumable:
|
||||
/* 083924 800EA474 03E00008 */ jr $ra
|
||||
/* 083928 800EA478 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
remove_consumable:
|
||||
glabel remove_consumable
|
||||
/* 08392C 800EA47C 3C028011 */ lui $v0, 0x8011
|
||||
/* 083930 800EA480 8C42CD20 */ lw $v0, -0x32e0($v0)
|
||||
/* 083934 800EA484 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -59,7 +59,7 @@ remove_consumable:
|
||||
/* 083958 800EA4A8 03E00008 */ jr $ra
|
||||
/* 08395C 800EA4AC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800EA4B0:
|
||||
glabel func_800EA4B0
|
||||
/* 083960 800EA4B0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 083964 800EA4B4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 083968 800EA4B8 04800012 */ bltz $a0, .L800EA504
|
||||
@ -136,14 +136,14 @@ func_800EA4B0:
|
||||
/* 083A4C 800EA59C 03E00008 */ jr $ra
|
||||
/* 083A50 800EA5A0 00A0102D */ daddu $v0, $a1, $zero
|
||||
|
||||
func_800EA5A4:
|
||||
glabel func_800EA5A4
|
||||
/* 083A54 800EA5A4 3C028011 */ lui $v0, 0x8011
|
||||
/* 083A58 800EA5A8 8C42CFEC */ lw $v0, -0x3014($v0)
|
||||
/* 083A5C 800EA5AC 8C42000C */ lw $v0, 0xc($v0)
|
||||
/* 083A60 800EA5B0 03E00008 */ jr $ra
|
||||
/* 083A64 800EA5B4 2C420001 */ sltiu $v0, $v0, 1
|
||||
|
||||
func_800EA5B8:
|
||||
glabel func_800EA5B8
|
||||
/* 083A68 800EA5B8 3C03FDFF */ lui $v1, 0xfdff
|
||||
/* 083A6C 800EA5BC 8C820000 */ lw $v0, ($a0)
|
||||
/* 083A70 800EA5C0 346387FF */ ori $v1, $v1, 0x87ff
|
||||
@ -151,7 +151,7 @@ func_800EA5B8:
|
||||
/* 083A78 800EA5C8 03E00008 */ jr $ra
|
||||
/* 083A7C 800EA5CC AC820000 */ sw $v0, ($a0)
|
||||
|
||||
func_800EA5D0:
|
||||
glabel func_800EA5D0
|
||||
/* 083A80 800EA5D0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 083A84 800EA5D4 3C028011 */ lui $v0, 0x8011
|
||||
/* 083A88 800EA5D8 8C42CFD8 */ lw $v0, -0x3028($v0)
|
||||
@ -207,7 +207,7 @@ func_800EA5D0:
|
||||
/* 083B50 800EA6A0 03E00008 */ jr $ra
|
||||
/* 083B54 800EA6A4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_800EA6A8:
|
||||
glabel func_800EA6A8
|
||||
/* 083B58 800EA6A8 3C048011 */ lui $a0, 0x8011
|
||||
/* 083B5C 800EA6AC 8C84CFD0 */ lw $a0, -0x3030($a0)
|
||||
/* 083B60 800EA6B0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -218,7 +218,7 @@ func_800EA6A8:
|
||||
/* 083B74 800EA6C4 03E00008 */ jr $ra
|
||||
/* 083B78 800EA6C8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800EA6CC:
|
||||
glabel func_800EA6CC
|
||||
/* 083B7C 800EA6CC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 083B80 800EA6D0 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 083B84 800EA6D4 3C138011 */ lui $s3, 0x8011
|
||||
@ -961,7 +961,7 @@ func_800EA6CC:
|
||||
/* 084610 800EB160 03E00008 */ jr $ra
|
||||
/* 084614 800EB164 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_800EB168:
|
||||
glabel func_800EB168
|
||||
/* 084618 800EB168 3C038011 */ lui $v1, 0x8011
|
||||
/* 08461C 800EB16C 8C63CFD8 */ lw $v1, -0x3028($v1)
|
||||
/* 084620 800EB170 3C058011 */ lui $a1, 0x8011
|
||||
@ -1007,7 +1007,7 @@ func_800EB168:
|
||||
/* 0846A8 800EB1F8 03E00008 */ jr $ra
|
||||
/* 0846AC 800EB1FC E4248344 */ swc1 $f4, -0x7cbc($at)
|
||||
|
||||
func_800EB200:
|
||||
glabel func_800EB200
|
||||
/* 0846B0 800EB200 3C058011 */ lui $a1, 0x8011
|
||||
/* 0846B4 800EB204 24A5EFC8 */ addiu $a1, $a1, -0x1038
|
||||
/* 0846B8 800EB208 3C038011 */ lui $v1, 0x8011
|
||||
@ -1091,7 +1091,7 @@ func_800EB200:
|
||||
/* 0847BC 800EB30C 03E00008 */ jr $ra
|
||||
/* 0847C0 800EB310 00000000 */ nop
|
||||
|
||||
use_partner_ability:
|
||||
glabel use_partner_ability
|
||||
/* 0847C4 800EB314 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0847C8 800EB318 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0847CC 800EB31C 0C011052 */ jal func_80044148
|
||||
@ -1150,7 +1150,7 @@ use_partner_ability:
|
||||
/* 084888 800EB3D8 03E00008 */ jr $ra
|
||||
/* 08488C 800EB3DC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800EB3E0:
|
||||
glabel func_800EB3E0
|
||||
/* 084890 800EB3E0 3C028011 */ lui $v0, 0x8011
|
||||
/* 084894 800EB3E4 8C42CFEC */ lw $v0, -0x3014($v0)
|
||||
/* 084898 800EB3E8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -1173,7 +1173,7 @@ func_800EB3E0:
|
||||
/* 0848D4 800EB424 03E00008 */ jr $ra
|
||||
/* 0848D8 800EB428 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800EB42C:
|
||||
glabel func_800EB42C
|
||||
/* 0848DC 800EB42C 3C028011 */ lui $v0, 0x8011
|
||||
/* 0848E0 800EB430 8C42CFEC */ lw $v0, -0x3014($v0)
|
||||
/* 0848E4 800EB434 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -1194,7 +1194,7 @@ func_800EB42C:
|
||||
/* 08491C 800EB46C 03E00008 */ jr $ra
|
||||
/* 084920 800EB470 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800EB474:
|
||||
glabel func_800EB474
|
||||
/* 084924 800EB474 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 084928 800EB478 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 08492C 800EB47C 3C118011 */ lui $s1, 0x8011
|
||||
@ -1267,7 +1267,7 @@ func_800EB474:
|
||||
/* 084A28 800EB578 03E00008 */ jr $ra
|
||||
/* 084A2C 800EB57C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800EB580:
|
||||
glabel func_800EB580
|
||||
/* 084A30 800EB580 3C028011 */ lui $v0, 0x8011
|
||||
/* 084A34 800EB584 2442EBB0 */ addiu $v0, $v0, -0x1450
|
||||
/* 084A38 800EB588 3C018011 */ lui $at, 0x8011
|
||||
@ -1294,7 +1294,7 @@ func_800EB580:
|
||||
/* 084A8C 800EB5DC 03E00008 */ jr $ra
|
||||
/* 084A90 800EB5E0 AC208344 */ sw $zero, -0x7cbc($at)
|
||||
|
||||
func_800EB5E4:
|
||||
glabel func_800EB5E4
|
||||
/* 084A94 800EB5E4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 084A98 800EB5E8 3C028011 */ lui $v0, 0x8011
|
||||
/* 084A9C 800EB5EC 8C42CFD8 */ lw $v0, -0x3028($v0)
|
||||
@ -1320,7 +1320,7 @@ func_800EB5E4:
|
||||
/* 084AE0 800EB630 03E00008 */ jr $ra
|
||||
/* 084AE4 800EB634 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800EB638:
|
||||
glabel func_800EB638
|
||||
/* 084AE8 800EB638 3C028011 */ lui $v0, 0x8011
|
||||
/* 084AEC 800EB63C 8C42CFEC */ lw $v0, -0x3014($v0)
|
||||
/* 084AF0 800EB640 10400003 */ beqz $v0, .L800EB650
|
||||
@ -1332,7 +1332,7 @@ func_800EB638:
|
||||
/* 084B00 800EB650 03E00008 */ jr $ra
|
||||
/* 084B04 800EB654 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
func_800EB658:
|
||||
glabel func_800EB658
|
||||
/* 084B08 800EB658 3C028011 */ lui $v0, 0x8011
|
||||
/* 084B0C 800EB65C 8C42CFD8 */ lw $v0, -0x3028($v0)
|
||||
/* 084B10 800EB660 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -1363,7 +1363,7 @@ func_800EB658:
|
||||
/* 084B6C 800EB6BC 03E00008 */ jr $ra
|
||||
/* 084B70 800EB6C0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800EB6C4:
|
||||
glabel func_800EB6C4
|
||||
/* 084B74 800EB6C4 3C028011 */ lui $v0, 0x8011
|
||||
/* 084B78 800EB6C8 8C42CFD8 */ lw $v0, -0x3028($v0)
|
||||
/* 084B7C 800EB6CC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -1495,7 +1495,7 @@ func_800EB6C4:
|
||||
/* 084D50 800EB8A0 03E00008 */ jr $ra
|
||||
/* 084D54 800EB8A4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
enable_partner_walking:
|
||||
glabel enable_partner_walking
|
||||
/* 084D58 800EB8A8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 084D5C 800EB8AC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 084D60 800EB8B0 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1759,7 +1759,7 @@ enable_partner_walking:
|
||||
/* 08511C 800EBC6C 03E00008 */ jr $ra
|
||||
/* 085120 800EBC70 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800EBC74:
|
||||
glabel func_800EBC74
|
||||
/* 085124 800EBC74 3C038011 */ lui $v1, 0x8011
|
||||
/* 085128 800EBC78 8463CFC8 */ lh $v1, -0x3038($v1)
|
||||
/* 08512C 800EBC7C 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
@ -3307,7 +3307,7 @@ func_800EBC74:
|
||||
/* 0867B8 800ED308 03E00008 */ jr $ra
|
||||
/* 0867BC 800ED30C 27BD0068 */ addiu $sp, $sp, 0x68
|
||||
|
||||
enable_partner_flying:
|
||||
glabel enable_partner_flying
|
||||
/* 0867C0 800ED310 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0867C4 800ED314 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0867C8 800ED318 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -3425,7 +3425,7 @@ enable_partner_flying:
|
||||
/* 086960 800ED4B0 03E00008 */ jr $ra
|
||||
/* 086964 800ED4B4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
update_player_move_history:
|
||||
glabel update_player_move_history
|
||||
/* 086968 800ED4B8 3C058011 */ lui $a1, 0x8011
|
||||
/* 08696C 800ED4BC 24A5EFC8 */ addiu $a1, $a1, -0x1038
|
||||
/* 086970 800ED4C0 24020017 */ addiu $v0, $zero, 0x17
|
||||
@ -3791,7 +3791,7 @@ update_player_move_history:
|
||||
/* 086EA0 800ED9F0 03E00008 */ jr $ra
|
||||
/* 086EA4 800ED9F4 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
|
||||
func_800ED9F8:
|
||||
glabel func_800ED9F8
|
||||
/* 086EA8 800ED9F8 3C038011 */ lui $v1, 0x8011
|
||||
/* 086EAC 800ED9FC 8463CFC8 */ lh $v1, -0x3038($v1)
|
||||
/* 086EB0 800EDA00 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
@ -5504,21 +5504,21 @@ func_800ED9F8:
|
||||
/* 0887A8 800EF2F8 03E00008 */ jr $ra
|
||||
/* 0887AC 800EF2FC 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
func_800EF300:
|
||||
glabel func_800EF300
|
||||
/* 0887B0 800EF300 24020028 */ addiu $v0, $zero, 0x28
|
||||
/* 0887B4 800EF304 3C018011 */ lui $at, 0x8011
|
||||
/* 0887B8 800EF308 A422CFC8 */ sh $v0, -0x3038($at)
|
||||
/* 0887BC 800EF30C 03E00008 */ jr $ra
|
||||
/* 0887C0 800EF310 00000000 */ nop
|
||||
|
||||
func_800EF314:
|
||||
glabel func_800EF314
|
||||
/* 0887C4 800EF314 24020032 */ addiu $v0, $zero, 0x32
|
||||
/* 0887C8 800EF318 3C018011 */ lui $at, 0x8011
|
||||
/* 0887CC 800EF31C A422CFC8 */ sh $v0, -0x3038($at)
|
||||
/* 0887D0 800EF320 03E00008 */ jr $ra
|
||||
/* 0887D4 800EF324 00000000 */ nop
|
||||
|
||||
enable_partner_ai:
|
||||
glabel enable_partner_ai
|
||||
/* 0887D8 800EF328 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0887DC 800EF32C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0887E0 800EF330 3C108011 */ lui $s0, 0x8011
|
||||
@ -5550,13 +5550,13 @@ enable_partner_ai:
|
||||
/* 08883C 800EF38C 03E00008 */ jr $ra
|
||||
/* 088840 800EF390 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800EF394:
|
||||
glabel func_800EF394
|
||||
/* 088844 800EF394 3C018011 */ lui $at, 0x8011
|
||||
/* 088848 800EF398 E42CCFC0 */ swc1 $f12, -0x3040($at)
|
||||
/* 08884C 800EF39C 03E00008 */ jr $ra
|
||||
/* 088850 800EF3A0 00000000 */ nop
|
||||
|
||||
func_800EF3A4:
|
||||
glabel func_800EF3A4
|
||||
/* 088854 800EF3A4 3C014220 */ lui $at, 0x4220
|
||||
/* 088858 800EF3A8 44810000 */ mtc1 $at, $f0
|
||||
/* 08885C 800EF3AC 00000000 */ nop
|
||||
@ -5565,20 +5565,20 @@ func_800EF3A4:
|
||||
/* 088868 800EF3B8 03E00008 */ jr $ra
|
||||
/* 08886C 800EF3BC 00000000 */ nop
|
||||
|
||||
func_800EF3C0:
|
||||
glabel func_800EF3C0
|
||||
/* 088870 800EF3C0 3C018010 */ lui $at, 0x8010
|
||||
/* 088874 800EF3C4 AC248024 */ sw $a0, -0x7fdc($at)
|
||||
/* 088878 800EF3C8 3C018010 */ lui $at, 0x8010
|
||||
/* 08887C 800EF3CC 03E00008 */ jr $ra
|
||||
/* 088880 800EF3D0 AC258028 */ sw $a1, -0x7fd8($at)
|
||||
|
||||
func_800EF3D4:
|
||||
glabel func_800EF3D4
|
||||
/* 088884 800EF3D4 3C018011 */ lui $at, 0x8011
|
||||
/* 088888 800EF3D8 A424CFCA */ sh $a0, -0x3036($at)
|
||||
/* 08888C 800EF3DC 03E00008 */ jr $ra
|
||||
/* 088890 800EF3E0 00000000 */ nop
|
||||
|
||||
func_800EF3E4:
|
||||
glabel func_800EF3E4
|
||||
/* 088894 800EF3E4 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 088898 800EF3E8 3C018011 */ lui $at, 0x8011
|
||||
/* 08889C 800EF3EC A422CFC8 */ sh $v0, -0x3038($at)
|
||||
@ -5592,7 +5592,7 @@ func_800EF3E4:
|
||||
/* 0888BC 800EF40C 03E00008 */ jr $ra
|
||||
/* 0888C0 800EF410 00000000 */ nop
|
||||
|
||||
func_800EF414:
|
||||
glabel func_800EF414
|
||||
/* 0888C4 800EF414 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0888C8 800EF418 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0888CC 800EF41C 0C03BCF0 */ jal func_800EF3C0
|
||||
@ -5604,7 +5604,7 @@ func_800EF414:
|
||||
/* 0888E4 800EF434 03E00008 */ jr $ra
|
||||
/* 0888E8 800EF438 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800EF43C:
|
||||
glabel func_800EF43C
|
||||
/* 0888EC 800EF43C 3C018011 */ lui $at, 0x8011
|
||||
/* 0888F0 800EF440 A420CFC8 */ sh $zero, -0x3038($at)
|
||||
/* 0888F4 800EF444 3C018011 */ lui $at, 0x8011
|
||||
@ -5614,7 +5614,7 @@ func_800EF43C:
|
||||
/* 088904 800EF454 03E00008 */ jr $ra
|
||||
/* 088908 800EF458 00000000 */ nop
|
||||
|
||||
clear_partner_move_history:
|
||||
glabel clear_partner_move_history
|
||||
/* 08890C 800EF45C 3C058011 */ lui $a1, 0x8011
|
||||
/* 088910 800EF460 24A5CD38 */ addiu $a1, $a1, -0x32c8
|
||||
/* 088914 800EF464 0000302D */ daddu $a2, $zero, $zero
|
||||
@ -5732,7 +5732,7 @@ clear_partner_move_history:
|
||||
/* 088AA8 800EF5F8 03E00008 */ jr $ra
|
||||
/* 088AAC 800EF5FC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_800EF600:
|
||||
glabel func_800EF600
|
||||
/* 088AB0 800EF600 3C038011 */ lui $v1, 0x8011
|
||||
/* 088AB4 800EF604 2463EBB0 */ addiu $v1, $v1, -0x1450
|
||||
/* 088AB8 800EF608 90620014 */ lbu $v0, 0x14($v1)
|
||||
@ -5745,7 +5745,7 @@ func_800EF600:
|
||||
/* 088AD0 800EF620 03E00008 */ jr $ra
|
||||
/* 088AD4 800EF624 00000000 */ nop
|
||||
|
||||
func_800EF628:
|
||||
glabel func_800EF628
|
||||
/* 088AD8 800EF628 3C038011 */ lui $v1, 0x8011
|
||||
/* 088ADC 800EF62C 2463EBB0 */ addiu $v1, $v1, -0x1450
|
||||
/* 088AE0 800EF630 90620014 */ lbu $v0, 0x14($v1)
|
||||
@ -5753,7 +5753,7 @@ func_800EF628:
|
||||
/* 088AE8 800EF638 03E00008 */ jr $ra
|
||||
/* 088AEC 800EF63C A0620014 */ sb $v0, 0x14($v1)
|
||||
|
||||
func_800EF640:
|
||||
glabel func_800EF640
|
||||
/* 088AF0 800EF640 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 088AF4 800EF644 AFB1004C */ sw $s1, 0x4c($sp)
|
||||
/* 088AF8 800EF648 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -5879,7 +5879,7 @@ func_800EF640:
|
||||
/* 088CD4 800EF824 03E00008 */ jr $ra
|
||||
/* 088CD8 800EF828 27BD0068 */ addiu $sp, $sp, 0x68
|
||||
|
||||
func_800EF82C:
|
||||
glabel func_800EF82C
|
||||
/* 088CDC 800EF82C 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 088CE0 800EF830 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 088CE4 800EF834 0080902D */ daddu $s2, $a0, $zero
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text800EFD00, "ax"
|
||||
@ -14,7 +14,7 @@
|
||||
/* 0891B0 800EFD00 03E00008 */ jr $ra
|
||||
/* 0891B4 800EFD04 00000000 */ nop
|
||||
|
||||
func_800EFD08:
|
||||
glabel func_800EFD08
|
||||
/* 0891B8 800EFD08 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0891BC 800EFD0C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0891C0 800EFD10 AFB10014 */ sw $s1, 0x14($sp)
|
||||
@ -99,7 +99,7 @@ func_800EFD08:
|
||||
/* 0892D4 800EFE24 03E00008 */ jr $ra
|
||||
/* 0892D8 800EFE28 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800EFE2C:
|
||||
glabel func_800EFE2C
|
||||
/* 0892DC 800EFE2C 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0892E0 800EFE30 3C038007 */ lui $v1, 0x8007
|
||||
/* 0892E4 800EFE34 8C63419C */ lw $v1, 0x419c($v1)
|
||||
@ -383,7 +383,7 @@ func_800EFE2C:
|
||||
/* 0896F0 800F0240 03E00008 */ jr $ra
|
||||
/* 0896F4 800F0244 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_800F0248:
|
||||
glabel func_800F0248
|
||||
/* 0896F8 800F0248 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0896FC 800F024C AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 089700 800F0250 3C108011 */ lui $s0, 0x8011
|
||||
@ -537,7 +537,7 @@ func_800F0248:
|
||||
/* 089938 800F0488 03E00008 */ jr $ra
|
||||
/* 08993C 800F048C 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_800F0490:
|
||||
glabel func_800F0490
|
||||
/* 089940 800F0490 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 089944 800F0494 3C028011 */ lui $v0, 0x8011
|
||||
/* 089948 800F0498 244294A0 */ addiu $v0, $v0, -0x6b60
|
||||
@ -793,7 +793,7 @@ func_800F0490:
|
||||
/* 089D0C 800F085C 03E00008 */ jr $ra
|
||||
/* 089D10 800F0860 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
|
||||
func_800F0864:
|
||||
glabel func_800F0864
|
||||
/* 089D14 800F0864 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 089D18 800F0868 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 089D1C 800F086C 3C118011 */ lui $s1, 0x8011
|
||||
@ -898,7 +898,7 @@ func_800F0864:
|
||||
/* 089E94 800F09E4 03E00008 */ jr $ra
|
||||
/* 089E98 800F09E8 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_800F09EC:
|
||||
glabel func_800F09EC
|
||||
/* 089E9C 800F09EC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 089EA0 800F09F0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 089EA4 800F09F4 3C108011 */ lui $s0, 0x8011
|
||||
@ -989,7 +989,7 @@ func_800F09EC:
|
||||
/* 089FE4 800F0B34 03E00008 */ jr $ra
|
||||
/* 089FE8 800F0B38 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800F0B3C:
|
||||
glabel func_800F0B3C
|
||||
/* 089FEC 800F0B3C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 089FF0 800F0B40 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 089FF4 800F0B44 3C108011 */ lui $s0, 0x8011
|
||||
@ -1084,7 +1084,7 @@ func_800F0B3C:
|
||||
/* 08A144 800F0C94 03E00008 */ jr $ra
|
||||
/* 08A148 800F0C98 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_800F0C9C:
|
||||
glabel func_800F0C9C
|
||||
/* 08A14C 800F0C9C 03E00008 */ jr $ra
|
||||
/* 08A150 800F0CA0 00000000 */ nop
|
||||
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text800F13B0, "ax"
|
||||
|
||||
func_800F13B0:
|
||||
glabel func_800F13B0
|
||||
/* 08A860 800F13B0 3C028011 */ lui $v0, 0x8011
|
||||
/* 08A864 800F13B4 8042D68E */ lb $v0, -0x2972($v0)
|
||||
/* 08A868 800F13B8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -122,7 +122,7 @@ func_800F13B0:
|
||||
/* 08A9E0 800F1530 03E00008 */ jr $ra
|
||||
/* 08A9E4 800F1534 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800F1538:
|
||||
glabel func_800F1538
|
||||
/* 08A9E8 800F1538 3C048011 */ lui $a0, 0x8011
|
||||
/* 08A9EC 800F153C 8C84D65C */ lw $a0, -0x29a4($a0)
|
||||
/* 08A9F0 800F1540 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -233,7 +233,7 @@ func_800F1538:
|
||||
/* 08AB74 800F16C4 03E00008 */ jr $ra
|
||||
/* 08AB78 800F16C8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800F16CC:
|
||||
glabel func_800F16CC
|
||||
/* 08AB7C 800F16CC 3C028011 */ lui $v0, 0x8011
|
||||
/* 08AB80 800F16D0 8042D68E */ lb $v0, -0x2972($v0)
|
||||
/* 08AB84 800F16D4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -464,7 +464,7 @@ func_800F16CC:
|
||||
/* 08AEB8 800F1A08 03E00008 */ jr $ra
|
||||
/* 08AEBC 800F1A0C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_800F1A10:
|
||||
glabel func_800F1A10
|
||||
/* 08AEC0 800F1A10 3C028011 */ lui $v0, 0x8011
|
||||
/* 08AEC4 800F1A14 8C42D640 */ lw $v0, -0x29c0($v0)
|
||||
/* 08AEC8 800F1A18 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
@ -3542,7 +3542,7 @@ func_800F1A10:
|
||||
/* 08DAF0 800F4640 03E00008 */ jr $ra
|
||||
/* 08DAF4 800F4644 27BD0058 */ addiu $sp, $sp, 0x58
|
||||
|
||||
draw_submenu_title:
|
||||
glabel draw_submenu_title
|
||||
/* 08DAF8 800F4648 3C028011 */ lui $v0, 0x8011
|
||||
/* 08DAFC 800F464C 8C42D69C */ lw $v0, -0x2964($v0)
|
||||
/* 08DB00 800F4650 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
@ -4107,7 +4107,7 @@ draw_submenu_title:
|
||||
/* 08E2E8 800F4E38 03E00008 */ jr $ra
|
||||
/* 08E2EC 800F4E3C 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_800F4E40:
|
||||
glabel func_800F4E40
|
||||
/* 08E2F0 800F4E40 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 08E2F4 800F4E44 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 08E2F8 800F4E48 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
@ -4211,7 +4211,7 @@ func_800F4E40:
|
||||
/* 08E46C 800F4FBC 03E00008 */ jr $ra
|
||||
/* 08E470 800F4FC0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800F4FC4:
|
||||
glabel func_800F4FC4
|
||||
/* 08E474 800F4FC4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 08E478 800F4FC8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 08E47C 800F4FCC 3C108011 */ lui $s0, 0x8011
|
||||
@ -4312,7 +4312,7 @@ func_800F4FC4:
|
||||
/* 08E5E4 800F5134 03E00008 */ jr $ra
|
||||
/* 08E5E8 800F5138 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800F513C:
|
||||
glabel func_800F513C
|
||||
/* 08E5EC 800F513C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 08E5F0 800F5140 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 08E5F4 800F5144 3C108011 */ lui $s0, 0x8011
|
||||
@ -4415,7 +4415,7 @@ func_800F513C:
|
||||
/* 08E764 800F52B4 03E00008 */ jr $ra
|
||||
/* 08E768 800F52B8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800F52BC:
|
||||
glabel func_800F52BC
|
||||
/* 08E76C 800F52BC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 08E770 800F52C0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 08E774 800F52C4 0C03C684 */ jal func_800F1A10
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text800F52E0, "ax"
|
||||
|
||||
draw_box:
|
||||
glabel draw_box
|
||||
/* 08E790 800F52E0 27BDFE10 */ addiu $sp, $sp, -0x1f0
|
||||
/* 08E794 800F52E4 0000482D */ daddu $t1, $zero, $zero
|
||||
/* 08E798 800F52E8 93AE020F */ lbu $t6, 0x20f($sp)
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8002E910, "ax"
|
||||
|
||||
do_camera_type_4:
|
||||
glabel do_camera_type_4
|
||||
/* 009D10 8002E910 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 009D14 8002E914 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 009D18 8002E918 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -269,7 +269,7 @@ do_camera_type_4:
|
||||
/* 00A0F0 8002ECF0 03E00008 */ jr $ra
|
||||
/* 00A0F4 8002ECF4 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
do_camera_type_2:
|
||||
glabel do_camera_type_2
|
||||
/* 00A0F8 8002ECF8 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 00A0FC 8002ECFC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 00A100 8002ED00 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -639,7 +639,7 @@ do_camera_type_2:
|
||||
/* 00A688 8002F288 03E00008 */ jr $ra
|
||||
/* 00A68C 8002F28C 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
do_camera_type_1:
|
||||
glabel do_camera_type_1
|
||||
/* 00A690 8002F290 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
/* 00A694 8002F294 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 00A698 8002F298 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1015,7 +1015,7 @@ do_camera_type_1:
|
||||
/* 00AC48 8002F848 03E00008 */ jr $ra
|
||||
/* 00AC4C 8002F84C 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
do_camera_type_0:
|
||||
glabel do_camera_type_0
|
||||
/* 00AC50 8002F850 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 00AC54 8002F854 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 00AC58 8002F858 0080802D */ daddu $s0, $a0, $zero
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8002F990, "ax"
|
||||
|
||||
do_camera_type_6:
|
||||
glabel do_camera_type_6
|
||||
/* 00AD90 8002F990 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 00AD94 8002F994 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 00AD98 8002F998 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -232,7 +232,7 @@ do_camera_type_6:
|
||||
/* 00B0D8 8002FCD8 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
/* 00B0DC 8002FCDC 00000000 */ nop
|
||||
do_camera_type_unused:
|
||||
glabel do_camera_type_unused
|
||||
/* 00B0E0 8002FCE0 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 00B0E4 8002FCE4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 00B0E8 8002FCE8 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -442,7 +442,7 @@ do_camera_type_unused:
|
||||
/* 00B3F8 8002FFF8 03E00008 */ jr $ra
|
||||
/* 00B3FC 8002FFFC 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
do_camera_type_5:
|
||||
glabel do_camera_type_5
|
||||
/* 00B400 80030000 3C014190 */ lui $at, 0x4190
|
||||
/* 00B404 80030004 44810000 */ mtc1 $at, $f0
|
||||
/* 00B408 80030008 3C01442C */ lui $at, 0x442c
|
||||
@ -582,7 +582,7 @@ do_camera_type_5:
|
||||
/* 00B608 80030208 03E00008 */ jr $ra
|
||||
/* 00B60C 8003020C 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_80030210:
|
||||
glabel func_80030210
|
||||
/* 00B610 80030210 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 00B614 80030214 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 00B618 80030218 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -666,7 +666,7 @@ func_80030210:
|
||||
/* 00B744 80030344 03E00008 */ jr $ra
|
||||
/* 00B748 80030348 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8003034C:
|
||||
glabel func_8003034C
|
||||
/* 00B74C 8003034C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 00B750 80030350 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 00B754 80030354 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -742,11 +742,11 @@ func_8003034C:
|
||||
/* 00B848 80030448 03E00008 */ jr $ra
|
||||
/* 00B84C 8003044C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80030450:
|
||||
glabel func_80030450
|
||||
/* 00B850 80030450 03E00008 */ jr $ra
|
||||
/* 00B854 80030454 00000000 */ nop
|
||||
|
||||
test_ray_zone_aabb:
|
||||
glabel test_ray_zone_aabb
|
||||
/* 00B858 80030458 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 00B85C 8003045C 3C0146FF */ lui $at, 0x46ff
|
||||
/* 00B860 80030460 3421FE00 */ ori $at, $at, 0xfe00
|
||||
@ -792,7 +792,7 @@ test_ray_zone_aabb:
|
||||
/* 00B8F4 800304F4 03E00008 */ jr $ra
|
||||
/* 00B8F8 800304F8 27BD0060 */ addiu $sp, $sp, 0x60
|
||||
|
||||
func_800304FC:
|
||||
glabel func_800304FC
|
||||
/* 00B8FC 800304FC 27BDFF80 */ addiu $sp, $sp, -0x80
|
||||
/* 00B900 80030500 AFB20030 */ sw $s2, 0x30($sp)
|
||||
/* 00B904 80030504 00A0902D */ daddu $s2, $a1, $zero
|
||||
@ -1862,7 +1862,7 @@ func_800304FC:
|
||||
/* 00C88C 8003148C 03E00008 */ jr $ra
|
||||
/* 00C890 80031490 27BD0080 */ addiu $sp, $sp, 0x80
|
||||
|
||||
do_camera_type_3:
|
||||
glabel do_camera_type_3
|
||||
/* 00C894 80031494 27BDFF80 */ addiu $sp, $sp, -0x80
|
||||
/* 00C898 80031498 AFB10044 */ sw $s1, 0x44($sp)
|
||||
/* 00C89C 8003149C 0080882D */ daddu $s1, $a0, $zero
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80120BB0, "ax"
|
||||
|
||||
func_80120BB0:
|
||||
glabel func_80120BB0
|
||||
/* 0B72B0 80120BB0 3C028007 */ lui $v0, 0x8007
|
||||
/* 0B72B4 80120BB4 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0B72B8 80120BB8 80420070 */ lb $v0, 0x70($v0)
|
||||
@ -59,7 +59,7 @@ func_80120BB0:
|
||||
/* 0B7350 80120C50 03E00008 */ jr $ra
|
||||
/* 0B7354 80120C54 00000000 */ nop
|
||||
|
||||
func_80120C58:
|
||||
glabel func_80120C58
|
||||
/* 0B7358 80120C58 3C028007 */ lui $v0, 0x8007
|
||||
/* 0B735C 80120C5C 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0B7360 80120C60 80420070 */ lb $v0, 0x70($v0)
|
||||
@ -98,7 +98,7 @@ func_80120C58:
|
||||
/* 0B73D8 80120CD8 03E00008 */ jr $ra
|
||||
/* 0B73DC 80120CDC 00000000 */ nop
|
||||
|
||||
func_80120CE0:
|
||||
glabel func_80120CE0
|
||||
/* 0B73E0 80120CE0 3C038015 */ lui $v1, 0x8015
|
||||
/* 0B73E4 80120CE4 8C634370 */ lw $v1, 0x4370($v1)
|
||||
/* 0B73E8 80120CE8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -175,7 +175,7 @@ func_80120CE0:
|
||||
/* 0B74DC 80120DDC 03E00008 */ jr $ra
|
||||
/* 0B74E0 80120DE0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80120DE4:
|
||||
glabel func_80120DE4
|
||||
/* 0B74E4 80120DE4 3C038015 */ lui $v1, 0x8015
|
||||
/* 0B74E8 80120DE8 8C634370 */ lw $v1, 0x4370($v1)
|
||||
/* 0B74EC 80120DEC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -262,7 +262,7 @@ func_80120DE4:
|
||||
/* 0B75FC 80120EFC 03E00008 */ jr $ra
|
||||
/* 0B7600 80120F00 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80120F04:
|
||||
glabel func_80120F04
|
||||
/* 0B7604 80120F04 3C028007 */ lui $v0, 0x8007
|
||||
/* 0B7608 80120F08 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0B760C 80120F0C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -312,7 +312,7 @@ func_80120F04:
|
||||
/* 0B76B0 80120FB0 03E00008 */ jr $ra
|
||||
/* 0B76B4 80120FB4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80120FB8:
|
||||
glabel func_80120FB8
|
||||
/* 0B76B8 80120FB8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0B76BC 80120FBC 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 0B76C0 80120FC0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -423,7 +423,7 @@ func_80120FB8:
|
||||
/* 0B7838 80121138 03E00008 */ jr $ra
|
||||
/* 0B783C 8012113C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80121140:
|
||||
glabel func_80121140
|
||||
/* 0B7840 80121140 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0B7844 80121144 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0B7848 80121148 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
@ -1216,7 +1216,7 @@ func_80121140:
|
||||
/* 0B83E0 80121CE0 03E00008 */ jr $ra
|
||||
/* 0B83E4 80121CE4 27BD00F8 */ addiu $sp, $sp, 0xf8
|
||||
|
||||
func_80121CE8:
|
||||
glabel func_80121CE8
|
||||
/* 0B83E8 80121CE8 27BDFF60 */ addiu $sp, $sp, -0xa0
|
||||
/* 0B83EC 80121CEC 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 0B83F0 80121CF0 AFB1008C */ sw $s1, 0x8c($sp)
|
||||
@ -1338,7 +1338,7 @@ func_80121CE8:
|
||||
/* 0B85B0 80121EB0 03E00008 */ jr $ra
|
||||
/* 0B85B4 80121EB4 27BD00A0 */ addiu $sp, $sp, 0xa0
|
||||
|
||||
func_80121EB8:
|
||||
glabel func_80121EB8
|
||||
/* 0B85B8 80121EB8 27BDFF60 */ addiu $sp, $sp, -0xa0
|
||||
/* 0B85BC 80121EBC 0080402D */ daddu $t0, $a0, $zero
|
||||
/* 0B85C0 80121EC0 AFB1008C */ sw $s1, 0x8c($sp)
|
||||
@ -1596,7 +1596,7 @@ func_80121EB8:
|
||||
/* 0B8980 80122280 03E00008 */ jr $ra
|
||||
/* 0B8984 80122284 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80122288:
|
||||
glabel func_80122288
|
||||
/* 0B8988 80122288 27BDFF08 */ addiu $sp, $sp, -0xf8
|
||||
/* 0B898C 8012228C 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0B8990 80122290 00822024 */ and $a0, $a0, $v0
|
||||
@ -2343,7 +2343,7 @@ func_80122288:
|
||||
/* 0B9474 80122D74 03E00008 */ jr $ra
|
||||
/* 0B9478 80122D78 27BD00F8 */ addiu $sp, $sp, 0xf8
|
||||
|
||||
func_80122D7C:
|
||||
glabel func_80122D7C
|
||||
/* 0B947C 80122D7C 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0B9480 80122D80 00822024 */ and $a0, $a0, $v0
|
||||
/* 0B9484 80122D84 3C028015 */ lui $v0, 0x8015
|
||||
@ -2371,7 +2371,7 @@ func_80122D7C:
|
||||
/* 0B94D4 80122DD4 03E00008 */ jr $ra
|
||||
/* 0B94D8 80122DD8 00000000 */ nop
|
||||
|
||||
func_80122DDC:
|
||||
glabel func_80122DDC
|
||||
/* 0B94DC 80122DDC 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0B94E0 80122DE0 00822024 */ and $a0, $a0, $v0
|
||||
/* 0B94E4 80122DE4 3C028015 */ lui $v0, 0x8015
|
||||
@ -2381,7 +2381,7 @@ func_80122DDC:
|
||||
/* 0B94F4 80122DF4 03E00008 */ jr $ra
|
||||
/* 0B94F8 80122DF8 8C820000 */ lw $v0, ($a0)
|
||||
|
||||
func_80122DFC:
|
||||
glabel func_80122DFC
|
||||
/* 0B94FC 80122DFC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0B9500 80122E00 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0B9504 80122E04 00822024 */ and $a0, $a0, $v0
|
||||
@ -2423,7 +2423,7 @@ func_80122DFC:
|
||||
/* 0B958C 80122E8C 03E00008 */ jr $ra
|
||||
/* 0B9590 80122E90 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80122E94:
|
||||
glabel func_80122E94
|
||||
/* 0B9594 80122E94 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0B9598 80122E98 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 0B959C 80122E9C 3C038015 */ lui $v1, 0x8015
|
||||
@ -2449,7 +2449,7 @@ func_80122E94:
|
||||
/* 0B95E0 80122EE0 03E00008 */ jr $ra
|
||||
/* 0B95E4 80122EE4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80122EE8:
|
||||
glabel func_80122EE8
|
||||
/* 0B95E8 80122EE8 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0B95EC 80122EEC 00822024 */ and $a0, $a0, $v0
|
||||
/* 0B95F0 80122EF0 3C028015 */ lui $v0, 0x8015
|
||||
@ -2467,7 +2467,7 @@ func_80122EE8:
|
||||
/* 0B961C 80122F1C 03E00008 */ jr $ra
|
||||
/* 0B9620 80122F20 00000000 */ nop
|
||||
|
||||
func_80122F24:
|
||||
glabel func_80122F24
|
||||
/* 0B9624 80122F24 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0B9628 80122F28 00822024 */ and $a0, $a0, $v0
|
||||
/* 0B962C 80122F2C 3C028015 */ lui $v0, 0x8015
|
||||
@ -2486,7 +2486,7 @@ func_80122F24:
|
||||
/* 0B965C 80122F5C 03E00008 */ jr $ra
|
||||
/* 0B9660 80122F60 00000000 */ nop
|
||||
|
||||
func_80122F64:
|
||||
glabel func_80122F64
|
||||
/* 0B9664 80122F64 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0B9668 80122F68 00822024 */ and $a0, $a0, $v0
|
||||
/* 0B966C 80122F6C 3C028015 */ lui $v0, 0x8015
|
||||
@ -2580,11 +2580,11 @@ func_80122F64:
|
||||
/* 0B97A8 801230A8 03E00008 */ jr $ra
|
||||
/* 0B97AC 801230AC ACE20000 */ sw $v0, ($a3)
|
||||
|
||||
stub_item_entity_nodraw:
|
||||
glabel stub_item_entity_nodraw
|
||||
/* 0B97B0 801230B0 03E00008 */ jr $ra
|
||||
/* 0B97B4 801230B4 00000000 */ nop
|
||||
|
||||
func_801230B8:
|
||||
glabel func_801230B8
|
||||
/* 0B97B8 801230B8 3C028007 */ lui $v0, 0x8007
|
||||
/* 0B97BC 801230BC 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0B97C0 801230C0 80420070 */ lb $v0, 0x70($v0)
|
||||
@ -2613,7 +2613,7 @@ func_801230B8:
|
||||
/* 0B980C 8012310C 03E00008 */ jr $ra
|
||||
/* 0B9810 80123110 00000000 */ nop
|
||||
|
||||
func_80123114:
|
||||
glabel func_80123114
|
||||
/* 0B9814 80123114 3C028007 */ lui $v0, 0x8007
|
||||
/* 0B9818 80123118 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0B981C 8012311C 80420070 */ lb $v0, 0x70($v0)
|
||||
@ -2634,7 +2634,7 @@ func_80123114:
|
||||
/* 0B9850 80123150 03E00008 */ jr $ra
|
||||
/* 0B9854 80123154 00000000 */ nop
|
||||
|
||||
func_80123158:
|
||||
glabel func_80123158
|
||||
/* 0B9858 80123158 3C038015 */ lui $v1, 0x8015
|
||||
/* 0B985C 8012315C 8C634420 */ lw $v1, 0x4420($v1)
|
||||
/* 0B9860 80123160 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -2704,7 +2704,7 @@ func_80123158:
|
||||
/* 0B9934 80123234 03E00008 */ jr $ra
|
||||
/* 0B9938 80123238 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8012323C:
|
||||
glabel func_8012323C
|
||||
/* 0B993C 8012323C 3C038015 */ lui $v1, 0x8015
|
||||
/* 0B9940 80123240 8C634420 */ lw $v1, 0x4420($v1)
|
||||
/* 0B9944 80123244 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -2774,7 +2774,7 @@ func_8012323C:
|
||||
/* 0B9A18 80123318 03E00008 */ jr $ra
|
||||
/* 0B9A1C 8012331C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80123320:
|
||||
glabel func_80123320
|
||||
/* 0B9A20 80123320 3C038015 */ lui $v1, 0x8015
|
||||
/* 0B9A24 80123324 8C634420 */ lw $v1, 0x4420($v1)
|
||||
/* 0B9A28 80123328 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -2844,7 +2844,7 @@ func_80123320:
|
||||
/* 0B9AFC 801233FC 03E00008 */ jr $ra
|
||||
/* 0B9B00 80123400 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80123404:
|
||||
glabel func_80123404
|
||||
/* 0B9B04 80123404 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0B9B08 80123408 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0B9B0C 8012340C 0000802D */ daddu $s0, $zero, $zero
|
||||
@ -2875,7 +2875,7 @@ func_80123404:
|
||||
/* 0B9B68 80123468 03E00008 */ jr $ra
|
||||
/* 0B9B6C 8012346C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80123470:
|
||||
glabel func_80123470
|
||||
/* 0B9B70 80123470 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0B9B74 80123474 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0B9B78 80123478 0000802D */ daddu $s0, $zero, $zero
|
||||
@ -2907,7 +2907,7 @@ func_80123470:
|
||||
/* 0B9BD8 801234D8 03E00008 */ jr $ra
|
||||
/* 0B9BDC 801234DC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_801234E0:
|
||||
glabel func_801234E0
|
||||
/* 0B9BE0 801234E0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0B9BE4 801234E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0B9BE8 801234E8 0000802D */ daddu $s0, $zero, $zero
|
||||
@ -2939,7 +2939,7 @@ func_801234E0:
|
||||
/* 0B9C48 80123548 03E00008 */ jr $ra
|
||||
/* 0B9C4C 8012354C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80123550:
|
||||
glabel func_80123550
|
||||
/* 0B9C50 80123550 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0B9C54 80123554 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0B9C58 80123558 0000802D */ daddu $s0, $zero, $zero
|
||||
@ -2971,7 +2971,7 @@ func_80123550:
|
||||
/* 0B9CB8 801235B8 03E00008 */ jr $ra
|
||||
/* 0B9CBC 801235BC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_801235C0:
|
||||
glabel func_801235C0
|
||||
/* 0B9CC0 801235C0 3C028007 */ lui $v0, 0x8007
|
||||
/* 0B9CC4 801235C4 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0B9CC8 801235C8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -3006,7 +3006,7 @@ func_801235C0:
|
||||
/* 0B9D34 80123634 03E00008 */ jr $ra
|
||||
/* 0B9D38 80123638 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8012363C:
|
||||
glabel func_8012363C
|
||||
/* 0B9D3C 8012363C 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0B9D40 80123640 00822024 */ and $a0, $a0, $v0
|
||||
/* 0B9D44 80123644 3C028015 */ lui $v0, 0x8015
|
||||
@ -3017,14 +3017,14 @@ func_8012363C:
|
||||
/* 0B9D58 80123658 8C820000 */ lw $v0, ($a0)
|
||||
|
||||
/* 0B9D5C 8012365C 00000000 */ nop
|
||||
clear_character_set:
|
||||
glabel clear_character_set
|
||||
/* 0B9D60 80123660 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 0B9D64 80123664 3C018015 */ lui $at, 0x8015
|
||||
/* 0B9D68 80123668 A4225C98 */ sh $v0, 0x5c98($at)
|
||||
/* 0B9D6C 8012366C 03E00008 */ jr $ra
|
||||
/* 0B9D70 80123670 00000000 */ nop
|
||||
|
||||
clear_printers:
|
||||
glabel clear_printers
|
||||
/* 0B9D74 80123674 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0B9D78 80123678 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0B9D7C 8012367C 0000802D */ daddu $s0, $zero, $zero
|
||||
@ -3065,7 +3065,7 @@ clear_printers:
|
||||
/* 0B9E00 80123700 03E00008 */ jr $ra
|
||||
/* 0B9E04 80123704 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
load_font_data:
|
||||
glabel load_font_data
|
||||
/* 0B9E08 80123708 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0B9E0C 8012370C 3C020011 */ lui $v0, 0x11
|
||||
/* 0B9E10 80123710 2442F1B0 */ addiu $v0, $v0, -0xe50
|
||||
@ -3078,7 +3078,7 @@ load_font_data:
|
||||
/* 0B9E2C 8012372C 03E00008 */ jr $ra
|
||||
/* 0B9E30 80123730 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
load_font:
|
||||
glabel load_font
|
||||
/* 0B9E34 80123734 3C028015 */ lui $v0, 0x8015
|
||||
/* 0B9E38 80123738 84425C98 */ lh $v0, 0x5c98($v0)
|
||||
/* 0B9E3C 8012373C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -3125,7 +3125,7 @@ load_font:
|
||||
/* 0B9ED0 801237D0 03E00008 */ jr $ra
|
||||
/* 0B9ED4 801237D4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
update_messages:
|
||||
glabel update_messages
|
||||
/* 0B9ED8 801237D8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0B9EDC 801237DC 3C038015 */ lui $v1, 0x8015
|
||||
/* 0B9EE0 801237E0 246312E4 */ addiu $v1, $v1, 0x12e4
|
||||
@ -3180,7 +3180,7 @@ update_messages:
|
||||
/* 0B9F90 80123890 03E00008 */ jr $ra
|
||||
/* 0B9F94 80123894 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
_update_message:
|
||||
glabel _update_message
|
||||
/* 0B9F98 80123898 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0B9F9C 8012389C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0B9FA0 801238A0 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -3874,7 +3874,7 @@ _update_message:
|
||||
/* 0BA8FC 801241FC 03E00008 */ jr $ra
|
||||
/* 0BA900 80124200 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
render_messages:
|
||||
glabel render_messages
|
||||
/* 0BA904 80124204 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0BA908 80124208 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 0BA90C 8012420C 0000882D */ daddu $s1, $zero, $zero
|
||||
@ -4027,7 +4027,7 @@ render_messages:
|
||||
/* 0BAB2C 8012442C 03E00008 */ jr $ra
|
||||
/* 0BAB30 80124430 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_80124434:
|
||||
glabel func_80124434
|
||||
/* 0BAB34 80124434 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0BAB38 80124438 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0BAB3C 8012443C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -4113,7 +4113,7 @@ func_80124434:
|
||||
/* 0BAC68 80124568 03E00008 */ jr $ra
|
||||
/* 0BAC6C 8012456C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80124570:
|
||||
glabel func_80124570
|
||||
/* 0BAC70 80124570 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0BAC74 80124574 AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* 0BAC78 80124578 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -5340,7 +5340,7 @@ func_80124570:
|
||||
/* 0BBD9C 8012569C 03E00008 */ jr $ra
|
||||
/* 0BBDA0 801256A0 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
initialize_printer:
|
||||
glabel initialize_printer
|
||||
/* 0BBDA4 801256A4 0000182D */ daddu $v1, $zero, $zero
|
||||
/* 0BBDA8 801256A8 2406FFFF */ addiu $a2, $zero, -1
|
||||
/* 0BBDAC 801256AC 0080282D */ daddu $a1, $a0, $zero
|
||||
@ -5431,7 +5431,7 @@ initialize_printer:
|
||||
/* 0BBEFC 801257FC 03E00008 */ jr $ra
|
||||
/* 0BBF00 80125800 E4800540 */ swc1 $f0, 0x540($a0)
|
||||
|
||||
dma_load_string:
|
||||
glabel dma_load_string
|
||||
/* 0BBF04 80125804 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0BBF08 80125808 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 0BBF0C 8012580C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -5467,7 +5467,7 @@ dma_load_string:
|
||||
/* 0BBF84 80125884 03E00008 */ jr $ra
|
||||
/* 0BBF88 80125888 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
load_message_to_buffer:
|
||||
glabel load_message_to_buffer
|
||||
/* 0BBF8C 8012588C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0BBF90 80125890 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0BBF94 80125894 3C118015 */ lui $s1, 0x8015
|
||||
@ -5499,7 +5499,7 @@ load_message_to_buffer:
|
||||
/* 0BBFF8 801258F8 03E00008 */ jr $ra
|
||||
/* 0BBFFC 801258FC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
load_string:
|
||||
glabel load_string
|
||||
/* 0BC000 80125900 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0BC004 80125904 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0BC008 80125908 0C049647 */ jal _load_string
|
||||
@ -5508,7 +5508,7 @@ load_string:
|
||||
/* 0BC014 80125914 03E00008 */ jr $ra
|
||||
/* 0BC018 80125918 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
_load_string:
|
||||
glabel _load_string
|
||||
/* 0BC01C 8012591C 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 0BC020 80125920 AFB70054 */ sw $s7, 0x54($sp)
|
||||
/* 0BC024 80125924 0080B82D */ daddu $s7, $a0, $zero
|
||||
@ -5600,7 +5600,7 @@ _load_string:
|
||||
/* 0BC160 80125A60 03E00008 */ jr $ra
|
||||
/* 0BC164 80125A64 27BD0060 */ addiu $sp, $sp, 0x60
|
||||
|
||||
load_message_to_printer:
|
||||
glabel load_message_to_printer
|
||||
/* 0BC168 80125A68 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0BC16C 80125A6C 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 0BC170 80125A70 AFB00010 */ sw $s0, 0x10($sp)
|
||||
@ -5623,7 +5623,7 @@ load_message_to_printer:
|
||||
/* 0BC1B0 80125AB0 03E00008 */ jr $ra
|
||||
/* 0BC1B4 80125AB4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
clamp_printer_coords:
|
||||
glabel clamp_printer_coords
|
||||
/* 0BC1B8 80125AB8 A485050A */ sh $a1, 0x50a($a0)
|
||||
/* 0BC1BC 80125ABC 8482050A */ lh $v0, 0x50a($a0)
|
||||
/* 0BC1C0 80125AC0 04410002 */ bgez $v0, .L80125ACC
|
||||
@ -5649,7 +5649,7 @@ clamp_printer_coords:
|
||||
/* 0BC200 80125B00 03E00008 */ jr $ra
|
||||
/* 0BC204 80125B04 00000000 */ nop
|
||||
|
||||
cancel_message:
|
||||
glabel cancel_message
|
||||
/* 0BC208 80125B08 8C8304FC */ lw $v1, 0x4fc($a0)
|
||||
/* 0BC20C 80125B0C 30620002 */ andi $v0, $v1, 2
|
||||
/* 0BC210 80125B10 10400004 */ beqz $v0, .L80125B24
|
||||
@ -5662,13 +5662,13 @@ cancel_message:
|
||||
/* 0BC224 80125B24 03E00008 */ jr $ra
|
||||
/* 0BC228 80125B28 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
set_message_images:
|
||||
glabel set_message_images
|
||||
/* 0BC22C 80125B2C 3C018015 */ lui $at, 0x8015
|
||||
/* 0BC230 80125B30 AC2412F4 */ sw $a0, 0x12f4($at)
|
||||
/* 0BC234 80125B34 03E00008 */ jr $ra
|
||||
/* 0BC238 80125B38 00000000 */ nop
|
||||
|
||||
set_message_string:
|
||||
glabel set_message_string
|
||||
/* 0BC23C 80125B3C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0BC240 80125B40 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0BC244 80125B44 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -5717,7 +5717,7 @@ set_message_string:
|
||||
/* 0BC2E0 80125BE0 03E00008 */ jr $ra
|
||||
/* 0BC2E4 80125BE4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
set_message_value:
|
||||
glabel set_message_value
|
||||
/* 0BC2E8 80125BE8 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0BC2EC 80125BEC AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 0BC2F0 80125BF0 00A0802D */ daddu $s0, $a1, $zero
|
||||
@ -5755,14 +5755,14 @@ set_message_value:
|
||||
/* 0BC368 80125C68 03E00008 */ jr $ra
|
||||
/* 0BC36C 80125C6C 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
close_message:
|
||||
glabel close_message
|
||||
/* 0BC370 80125C70 8C8204FC */ lw $v0, 0x4fc($a0)
|
||||
/* 0BC374 80125C74 2403FFBF */ addiu $v1, $zero, -0x41
|
||||
/* 0BC378 80125C78 00431024 */ and $v0, $v0, $v1
|
||||
/* 0BC37C 80125C7C 03E00008 */ jr $ra
|
||||
/* 0BC380 80125C80 AC8204FC */ sw $v0, 0x4fc($a0)
|
||||
|
||||
func_80125C84:
|
||||
glabel func_80125C84
|
||||
/* 0BC384 80125C84 288200F0 */ slti $v0, $a0, 0xf0
|
||||
/* 0BC388 80125C88 44871000 */ mtc1 $a3, $f2
|
||||
/* 0BC38C 80125C8C 8FA70010 */ lw $a3, 0x10($sp)
|
||||
@ -5873,7 +5873,7 @@ func_80125C84:
|
||||
/* 0BC4EC 80125DEC 03E00008 */ jr $ra
|
||||
/* 0BC4F0 80125DF0 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
get_char_width:
|
||||
glabel get_char_width
|
||||
/* 0BC4F4 80125DF4 288200F0 */ slti $v0, $a0, 0xf0
|
||||
/* 0BC4F8 80125DF8 44871000 */ mtc1 $a3, $f2
|
||||
/* 0BC4FC 80125DFC 8FA70010 */ lw $a3, 0x10($sp)
|
||||
@ -5985,7 +5985,7 @@ get_char_width:
|
||||
/* 0BC660 80125F60 03E00008 */ jr $ra
|
||||
/* 0BC664 80125F64 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
get_string_properties:
|
||||
glabel get_string_properties
|
||||
/* 0BC668 80125F68 27BDFEB0 */ addiu $sp, $sp, -0x150
|
||||
/* 0BC66C 80125F6C F7B40148 */ sdc1 $f20, 0x148($sp)
|
||||
/* 0BC670 80125F70 3C013F80 */ lui $at, 0x3f80
|
||||
@ -6352,7 +6352,7 @@ get_string_properties:
|
||||
/* 0BCB6C 8012646C 03E00008 */ jr $ra
|
||||
/* 0BCB70 80126470 27BD0150 */ addiu $sp, $sp, 0x150
|
||||
|
||||
get_string_width:
|
||||
glabel get_string_width
|
||||
/* 0BCB74 80126474 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0BCB78 80126478 30A5FFFF */ andi $a1, $a1, 0xffff
|
||||
/* 0BCB7C 8012647C AFA5001C */ sw $a1, 0x1c($sp)
|
||||
@ -6369,7 +6369,7 @@ get_string_width:
|
||||
/* 0BCBA8 801264A8 03E00008 */ jr $ra
|
||||
/* 0BCBAC 801264AC 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_801264B0:
|
||||
glabel func_801264B0
|
||||
/* 0BCBB0 801264B0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0BCBB4 801264B4 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 0BCBB8 801264B8 0000282D */ daddu $a1, $zero, $zero
|
||||
@ -6386,7 +6386,7 @@ func_801264B0:
|
||||
/* 0BCBE4 801264E4 03E00008 */ jr $ra
|
||||
/* 0BCBE8 801264E8 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
draw_string:
|
||||
glabel draw_string
|
||||
/* 0BCBEC 801264EC 27BDFA58 */ addiu $sp, $sp, -0x5a8
|
||||
/* 0BCBF0 801264F0 8FA205BC */ lw $v0, 0x5bc($sp)
|
||||
/* 0BCBF4 801264F4 AFB7059C */ sw $s7, 0x59c($sp)
|
||||
@ -6567,7 +6567,7 @@ draw_string:
|
||||
/* 0BCE88 80126788 03E00008 */ jr $ra
|
||||
/* 0BCE8C 8012678C 27BD05A8 */ addiu $sp, $sp, 0x5a8
|
||||
|
||||
func_80126790:
|
||||
glabel func_80126790
|
||||
/* 0BCE90 80126790 27BDFF18 */ addiu $sp, $sp, -0xe8
|
||||
/* 0BCE94 80126794 F7BA00D8 */ sdc1 $f26, 0xd8($sp)
|
||||
/* 0BCE98 80126798 4480D000 */ mtc1 $zero, $f26
|
||||
@ -7043,7 +7043,7 @@ func_80126790:
|
||||
/* 0BD5A4 80126EA4 03E00008 */ jr $ra
|
||||
/* 0BD5A8 80126EA8 27BD00E8 */ addiu $sp, $sp, 0xe8
|
||||
|
||||
func_80126EAC:
|
||||
glabel func_80126EAC
|
||||
/* 0BD5AC 80126EAC 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 0BD5B0 80126EB0 3C058015 */ lui $a1, 0x8015
|
||||
/* 0BD5B4 80126EB4 24A54C30 */ addiu $a1, $a1, 0x4c30
|
||||
@ -7098,7 +7098,7 @@ func_80126EAC:
|
||||
/* 0BD670 80126F70 03E00008 */ jr $ra
|
||||
/* 0BD674 80126F74 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_80126F78:
|
||||
glabel func_80126F78
|
||||
/* 0BD678 80126F78 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 0BD67C 80126F7C AFB00038 */ sw $s0, 0x38($sp)
|
||||
/* 0BD680 80126F80 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -7448,7 +7448,7 @@ func_80126F78:
|
||||
/* 0BDBB8 801274B8 03E00008 */ jr $ra
|
||||
/* 0BDBBC 801274BC 27BD0060 */ addiu $sp, $sp, 0x60
|
||||
|
||||
func_801274C0:
|
||||
glabel func_801274C0
|
||||
/* 0BDBC0 801274C0 3C0A800A */ lui $t2, 0x800a
|
||||
/* 0BDBC4 801274C4 254AA66C */ addiu $t2, $t2, -0x5994
|
||||
/* 0BDBC8 801274C8 3C028015 */ lui $v0, 0x8015
|
||||
@ -7569,7 +7569,7 @@ func_801274C0:
|
||||
/* 0BDD94 80127694 03E00008 */ jr $ra
|
||||
/* 0BDD98 80127698 AD050044 */ sw $a1, 0x44($t0)
|
||||
|
||||
draw_number:
|
||||
glabel draw_number
|
||||
/* 0BDD9C 8012769C 27BDFF38 */ addiu $sp, $sp, -0xc8
|
||||
/* 0BDDA0 801276A0 AFB200A8 */ sw $s2, 0xa8($sp)
|
||||
/* 0BDDA4 801276A4 AFB500B4 */ sw $s5, 0xb4($sp)
|
||||
@ -7918,7 +7918,7 @@ draw_number:
|
||||
/* 0BE29C 80127B9C 03E00008 */ jr $ra
|
||||
/* 0BE2A0 80127BA0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80127BA4:
|
||||
glabel func_80127BA4
|
||||
/* 0BE2A4 80127BA4 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 0BE2A8 80127BA8 0080402D */ daddu $t0, $a0, $zero
|
||||
/* 0BE2AC 80127BAC 2402000D */ addiu $v0, $zero, 0xd
|
||||
@ -8053,7 +8053,7 @@ func_80127BA4:
|
||||
/* 0BE488 80127D88 03E00008 */ jr $ra
|
||||
/* 0BE48C 80127D8C 27BD0058 */ addiu $sp, $sp, 0x58
|
||||
|
||||
func_80127D90:
|
||||
glabel func_80127D90
|
||||
/* 0BE490 80127D90 27BDFEC0 */ addiu $sp, $sp, -0x140
|
||||
/* 0BE494 80127D94 AFBE0108 */ sw $fp, 0x108($sp)
|
||||
/* 0BE498 80127D98 0080F02D */ daddu $fp, $a0, $zero
|
||||
@ -12768,7 +12768,7 @@ func_80127D90:
|
||||
/* 0C29D8 8012C2D8 03E00008 */ jr $ra
|
||||
/* 0C29DC 8012C2DC 27BD0140 */ addiu $sp, $sp, 0x140
|
||||
|
||||
func_8012C2E0:
|
||||
glabel func_8012C2E0
|
||||
/* 0C29E0 8012C2E0 3C04800A */ lui $a0, 0x800a
|
||||
/* 0C29E4 8012C2E4 2484A66C */ addiu $a0, $a0, -0x5994
|
||||
/* 0C29E8 8012C2E8 8C820000 */ lw $v0, ($a0)
|
||||
@ -12787,7 +12787,7 @@ func_8012C2E0:
|
||||
/* 0C2A1C 8012C31C 03E00008 */ jr $ra
|
||||
/* 0C2A20 8012C320 AC430004 */ sw $v1, 4($v0)
|
||||
|
||||
func_8012C324:
|
||||
glabel func_8012C324
|
||||
/* 0C2A24 8012C324 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0C2A28 8012C328 00A0502D */ daddu $t2, $a1, $zero
|
||||
/* 0C2A2C 8012C32C AFB20008 */ sw $s2, 8($sp)
|
||||
@ -13229,7 +13229,7 @@ func_8012C324:
|
||||
/* 0C30A0 8012C9A0 03E00008 */ jr $ra
|
||||
/* 0C30A4 8012C9A4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8012C9A8:
|
||||
glabel func_8012C9A8
|
||||
/* 0C30A8 8012C9A8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0C30AC 8012C9AC 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 0C30B0 8012C9B0 30A500FF */ andi $a1, $a1, 0xff
|
||||
@ -13255,7 +13255,7 @@ func_8012C9A8:
|
||||
/* 0C3100 8012CA00 03E00008 */ jr $ra
|
||||
/* 0C3104 8012CA04 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8012CA08:
|
||||
glabel func_8012CA08
|
||||
/* 0C3108 8012CA08 0080502D */ daddu $t2, $a0, $zero
|
||||
/* 0C310C 8012CA0C 00A0582D */ daddu $t3, $a1, $zero
|
||||
/* 0C3110 8012CA10 3C09800A */ lui $t1, 0x800a
|
||||
@ -13394,7 +13394,7 @@ func_8012CA08:
|
||||
/* 0C3300 8012CC00 03E00008 */ jr $ra
|
||||
/* 0C3304 8012CC04 AC650004 */ sw $a1, 4($v1)
|
||||
|
||||
_draw_message_box:
|
||||
glabel _draw_message_box
|
||||
/* 0C3308 8012CC08 27BDFF28 */ addiu $sp, $sp, -0xd8
|
||||
/* 0C330C 8012CC0C AFB600B8 */ sw $s6, 0xb8($sp)
|
||||
/* 0C3310 8012CC10 0080B02D */ daddu $s6, $a0, $zero
|
||||
@ -13907,7 +13907,7 @@ _draw_message_box:
|
||||
/* 0C3AD4 8012D3D4 03E00008 */ jr $ra
|
||||
/* 0C3AD8 8012D3D8 27BD00D8 */ addiu $sp, $sp, 0xd8
|
||||
|
||||
func_8012D3DC:
|
||||
glabel func_8012D3DC
|
||||
/* 0C3ADC 8012D3DC 27BDFF58 */ addiu $sp, $sp, -0xa8
|
||||
/* 0C3AE0 8012D3E0 AFB10064 */ sw $s1, 0x64($sp)
|
||||
/* 0C3AE4 8012D3E4 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -14409,7 +14409,7 @@ func_8012D3DC:
|
||||
/* 0C4250 8012DB50 03E00008 */ jr $ra
|
||||
/* 0C4254 8012DB54 27BD00A8 */ addiu $sp, $sp, 0xa8
|
||||
|
||||
func_8012DB58:
|
||||
glabel func_8012DB58
|
||||
/* 0C4258 8012DB58 27BDFEB0 */ addiu $sp, $sp, -0x150
|
||||
/* 0C425C 8012DB5C 0080682D */ daddu $t5, $a0, $zero
|
||||
/* 0C4260 8012DB60 8FAC016C */ lw $t4, 0x16c($sp)
|
||||
@ -15418,7 +15418,7 @@ func_8012DB58:
|
||||
/* 0C5098 8012E998 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 0C509C 8012E99C 00000000 */ nop
|
||||
func_8012E9A0:
|
||||
glabel func_8012E9A0
|
||||
/* 0C50A0 8012E9A0 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0C50A4 8012E9A4 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 0C50A8 8012E9A8 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -15621,7 +15621,7 @@ func_8012E9A0:
|
||||
/* 0C538C 8012EC8C 03E00008 */ jr $ra
|
||||
/* 0C5390 8012EC90 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_8012EC94:
|
||||
glabel func_8012EC94
|
||||
/* 0C5394 8012EC94 27BDFF80 */ addiu $sp, $sp, -0x80
|
||||
/* 0C5398 8012EC98 AFA7008C */ sw $a3, 0x8c($sp)
|
||||
/* 0C539C 8012EC9C 8FA70094 */ lw $a3, 0x94($sp)
|
||||
@ -16797,7 +16797,7 @@ func_8012EC94:
|
||||
/* 0C6508 8012FE08 03E00008 */ jr $ra
|
||||
/* 0C650C 8012FE0C 27BD0078 */ addiu $sp, $sp, 0x78
|
||||
|
||||
func_8012FE10:
|
||||
glabel func_8012FE10
|
||||
/* 0C6510 8012FE10 44841000 */ mtc1 $a0, $f2
|
||||
/* 0C6514 8012FE14 00000000 */ nop
|
||||
/* 0C6518 8012FE18 468010A0 */ cvt.s.w $f2, $f2
|
||||
@ -17614,14 +17614,14 @@ func_8012FE10:
|
||||
/* 0C70E8 801309E8 03E00008 */ jr $ra
|
||||
/* 0C70EC 801309EC 27BD0098 */ addiu $sp, $sp, 0x98
|
||||
|
||||
func_801309F0:
|
||||
glabel func_801309F0
|
||||
/* 0C70F0 801309F0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0C70F4 801309F4 AC850040 */ sw $a1, 0x40($a0)
|
||||
/* 0C70F8 801309F8 AC82003C */ sw $v0, 0x3c($a0)
|
||||
/* 0C70FC 801309FC 03E00008 */ jr $ra
|
||||
/* 0C7100 80130A00 AC850048 */ sw $a1, 0x48($a0)
|
||||
|
||||
func_80130A04:
|
||||
glabel func_80130A04
|
||||
/* 0C7104 80130A04 8C830040 */ lw $v1, 0x40($a0)
|
||||
/* 0C7108 80130A08 8C650000 */ lw $a1, ($v1)
|
||||
/* 0C710C 80130A0C 2CA20008 */ sltiu $v0, $a1, 8
|
||||
@ -17679,7 +17679,7 @@ func_80130A04:
|
||||
/* 0C71C4 80130AC4 03E00008 */ jr $ra
|
||||
/* 0C71C8 80130AC8 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
func_80130ACC:
|
||||
glabel func_80130ACC
|
||||
/* 0C71CC 80130ACC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0C71D0 80130AD0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0C71D4 80130AD4 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -17699,7 +17699,7 @@ func_80130ACC:
|
||||
/* 0C7204 80130B04 03E00008 */ jr $ra
|
||||
/* 0C7208 80130B08 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
draw_coin_sparkles:
|
||||
glabel draw_coin_sparkles
|
||||
/* 0C720C 80130B0C 27BDFE78 */ addiu $sp, $sp, -0x188
|
||||
/* 0C7210 80130B10 AFB20150 */ sw $s2, 0x150($sp)
|
||||
/* 0C7214 80130B14 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -17976,7 +17976,7 @@ draw_coin_sparkles:
|
||||
/* 0C7650 80130F50 03E00008 */ jr $ra
|
||||
/* 0C7654 80130F54 27BD0188 */ addiu $sp, $sp, 0x188
|
||||
|
||||
get_item_entity:
|
||||
glabel get_item_entity
|
||||
/* 0C7658 80130F58 3C028015 */ lui $v0, 0x8015
|
||||
/* 0C765C 80130F5C 8C4265A0 */ lw $v0, 0x65a0($v0)
|
||||
/* 0C7660 80130F60 00042080 */ sll $a0, $a0, 2
|
||||
@ -17984,7 +17984,7 @@ get_item_entity:
|
||||
/* 0C7668 80130F68 03E00008 */ jr $ra
|
||||
/* 0C766C 80130F6C 8C820000 */ lw $v0, ($a0)
|
||||
|
||||
func_80130F70:
|
||||
glabel func_80130F70
|
||||
/* 0C7670 80130F70 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0C7674 80130F74 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0C7678 80130F78 8C820000 */ lw $v0, ($a0)
|
||||
@ -18002,7 +18002,7 @@ func_80130F70:
|
||||
/* 0C76A4 80130FA4 03E00008 */ jr $ra
|
||||
/* 0C76A8 80130FA8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80130FAC:
|
||||
glabel func_80130FAC
|
||||
/* 0C76AC 80130FAC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0C76B0 80130FB0 2403FFBF */ addiu $v1, $zero, -0x41
|
||||
/* 0C76B4 80130FB4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -18022,7 +18022,7 @@ func_80130FAC:
|
||||
/* 0C76E8 80130FE8 03E00008 */ jr $ra
|
||||
/* 0C76EC 80130FEC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
clear_item_entity_data:
|
||||
glabel clear_item_entity_data
|
||||
/* 0C76F0 80130FF0 3C028007 */ lui $v0, 0x8007
|
||||
/* 0C76F4 80130FF4 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0C76F8 80130FF8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -18084,7 +18084,7 @@ clear_item_entity_data:
|
||||
/* 0C77C4 801310C4 03E00008 */ jr $ra
|
||||
/* 0C77C8 801310C8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
init_item_entity_list:
|
||||
glabel init_item_entity_list
|
||||
/* 0C77CC 801310CC 3C028007 */ lui $v0, 0x8007
|
||||
/* 0C77D0 801310D0 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0C77D4 801310D4 80420070 */ lb $v0, 0x70($v0)
|
||||
@ -18112,7 +18112,7 @@ init_item_entity_list:
|
||||
/* 0C7820 80131120 03E00008 */ jr $ra
|
||||
/* 0C7824 80131124 00000000 */ nop
|
||||
|
||||
func_80131128:
|
||||
glabel func_80131128
|
||||
/* 0C7828 80131128 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0C782C 8013112C AFBE0030 */ sw $fp, 0x30($sp)
|
||||
/* 0C7830 80131130 0080F02D */ daddu $fp, $a0, $zero
|
||||
@ -18324,7 +18324,7 @@ func_80131128:
|
||||
/* 0C7AEC 801313EC 03E00008 */ jr $ra
|
||||
/* 0C7AF0 801313F0 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
make_item_entity:
|
||||
glabel make_item_entity
|
||||
/* 0C7AF4 801313F4 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0C7AF8 801313F8 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 0C7AFC 801313FC 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -18802,7 +18802,7 @@ make_item_entity:
|
||||
/* 0C818C 80131A8C 03E00008 */ jr $ra
|
||||
/* 0C8190 80131A90 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
make_item_entity_nodelay:
|
||||
glabel make_item_entity_nodelay
|
||||
/* 0C8194 80131A94 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0C8198 80131A98 8FA20038 */ lw $v0, 0x38($sp)
|
||||
/* 0C819C 80131A9C 8FA8003C */ lw $t0, 0x3c($sp)
|
||||
@ -18817,7 +18817,7 @@ make_item_entity_nodelay:
|
||||
/* 0C81C0 80131AC0 03E00008 */ jr $ra
|
||||
/* 0C81C4 80131AC4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
make_item_entity_delayed:
|
||||
glabel make_item_entity_delayed
|
||||
/* 0C81C8 80131AC8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0C81CC 80131ACC 8FA30038 */ lw $v1, 0x38($sp)
|
||||
/* 0C81D0 80131AD0 8FA8003C */ lw $t0, 0x3c($sp)
|
||||
@ -18833,7 +18833,7 @@ make_item_entity_delayed:
|
||||
/* 0C81F8 80131AF8 03E00008 */ jr $ra
|
||||
/* 0C81FC 80131AFC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
init_got_item:
|
||||
glabel init_got_item
|
||||
/* 0C8200 80131B00 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0C8204 80131B04 AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* 0C8208 80131B08 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -19028,7 +19028,7 @@ init_got_item:
|
||||
/* 0C84CC 80131DCC 03E00008 */ jr $ra
|
||||
/* 0C84D0 80131DD0 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_80131DD4:
|
||||
glabel func_80131DD4
|
||||
/* 0C84D4 80131DD4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0C84D8 80131DD8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0C84DC 80131DDC 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -19109,7 +19109,7 @@ func_80131DD4:
|
||||
/* 0C85E4 80131EE4 03E00008 */ jr $ra
|
||||
/* 0C85E8 80131EE8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
update_item_entities:
|
||||
glabel update_item_entities
|
||||
/* 0C85EC 80131EEC 3C02800A */ lui $v0, 0x800a
|
||||
/* 0C85F0 80131EF0 8C42A650 */ lw $v0, -0x59b0($v0)
|
||||
/* 0C85F4 80131EF4 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
@ -19297,7 +19297,7 @@ update_item_entities:
|
||||
/* 0C889C 8013219C 03E00008 */ jr $ra
|
||||
/* 0C88A0 801321A0 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
draw_item_entity:
|
||||
glabel draw_item_entity
|
||||
/* 0C88A4 801321A4 27BDFEB8 */ addiu $sp, $sp, -0x148
|
||||
/* 0C88A8 801321A8 AFB3012C */ sw $s3, 0x12c($sp)
|
||||
/* 0C88AC 801321AC 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -20021,7 +20021,7 @@ draw_item_entity:
|
||||
/* 0C9378 80132C78 03E00008 */ jr $ra
|
||||
/* 0C937C 80132C7C 27BD0148 */ addiu $sp, $sp, 0x148
|
||||
|
||||
draw_item_entities:
|
||||
glabel draw_item_entities
|
||||
/* 0C9380 80132C80 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 0C9384 80132C84 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 0C9388 80132C88 27B00010 */ addiu $s0, $sp, 0x10
|
||||
@ -20153,7 +20153,7 @@ draw_item_entities:
|
||||
/* 0C954C 80132E4C 03E00008 */ jr $ra
|
||||
/* 0C9550 80132E50 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80132E54:
|
||||
glabel func_80132E54
|
||||
/* 0C9554 80132E54 27BDFEB0 */ addiu $sp, $sp, -0x150
|
||||
/* 0C9558 80132E58 AFB60138 */ sw $s6, 0x138($sp)
|
||||
/* 0C955C 80132E5C 0000B02D */ daddu $s6, $zero, $zero
|
||||
@ -20879,7 +20879,7 @@ func_80132E54:
|
||||
/* 0CA028 80133928 03E00008 */ jr $ra
|
||||
/* 0CA02C 8013392C 27BD0150 */ addiu $sp, $sp, 0x150
|
||||
|
||||
remove_item_entity_by_reference:
|
||||
glabel remove_item_entity_by_reference
|
||||
/* 0CA030 80133930 3C038015 */ lui $v1, 0x8015
|
||||
/* 0CA034 80133934 8C6365A0 */ lw $v1, 0x65a0($v1)
|
||||
/* 0CA038 80133938 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -20937,7 +20937,7 @@ remove_item_entity_by_reference:
|
||||
/* 0CA0F4 801339F4 03E00008 */ jr $ra
|
||||
/* 0CA0F8 801339F8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
remove_item_entity_by_index:
|
||||
glabel remove_item_entity_by_index
|
||||
/* 0CA0FC 801339FC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0CA100 80133A00 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0CA104 80133A04 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -21010,7 +21010,7 @@ remove_item_entity_by_index:
|
||||
/* 0CA204 80133B04 03E00008 */ jr $ra
|
||||
/* 0CA208 80133B08 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
test_item_player_collision:
|
||||
glabel test_item_player_collision
|
||||
/* 0CA20C 80133B0C 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
/* 0CA210 80133B10 AFB30034 */ sw $s3, 0x34($sp)
|
||||
/* 0CA214 80133B14 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -21440,7 +21440,7 @@ test_item_player_collision:
|
||||
/* 0CA840 80134140 03E00008 */ jr $ra
|
||||
/* 0CA844 80134144 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
set_item_entity_flags:
|
||||
glabel set_item_entity_flags
|
||||
/* 0CA848 80134148 3C028015 */ lui $v0, 0x8015
|
||||
/* 0CA84C 8013414C 8C4265A0 */ lw $v0, 0x65a0($v0)
|
||||
/* 0CA850 80134150 00042080 */ sll $a0, $a0, 2
|
||||
@ -21459,7 +21459,7 @@ set_item_entity_flags:
|
||||
/* 0CA880 80134180 03E00008 */ jr $ra
|
||||
/* 0CA884 80134184 00000000 */ nop
|
||||
|
||||
clear_item_entity_flags:
|
||||
glabel clear_item_entity_flags
|
||||
/* 0CA888 80134188 3C028015 */ lui $v0, 0x8015
|
||||
/* 0CA88C 8013418C 8C4265A0 */ lw $v0, 0x65a0($v0)
|
||||
/* 0CA890 80134190 00042080 */ sll $a0, $a0, 2
|
||||
@ -21486,7 +21486,7 @@ clear_item_entity_flags:
|
||||
/* 0CA8E0 801341E0 03E00008 */ jr $ra
|
||||
/* 0CA8E4 801341E4 AC830000 */ sw $v1, ($a0)
|
||||
|
||||
func_801341E8:
|
||||
glabel func_801341E8
|
||||
/* 0CA8E8 801341E8 3C028015 */ lui $v0, 0x8015
|
||||
/* 0CA8EC 801341EC 844265A8 */ lh $v0, 0x65a8($v0)
|
||||
/* 0CA8F0 801341F0 3C038015 */ lui $v1, 0x8015
|
||||
@ -21498,7 +21498,7 @@ func_801341E8:
|
||||
/* 0CA904 80134204 03E00008 */ jr $ra
|
||||
/* 0CA908 80134208 00000000 */ nop
|
||||
|
||||
set_item_entity_position:
|
||||
glabel set_item_entity_position
|
||||
/* 0CA90C 8013420C 3C028015 */ lui $v0, 0x8015
|
||||
/* 0CA910 80134210 8C4265A0 */ lw $v0, 0x65a0($v0)
|
||||
/* 0CA914 80134214 00042080 */ sll $a0, $a0, 2
|
||||
@ -21509,19 +21509,19 @@ set_item_entity_position:
|
||||
/* 0CA928 80134228 03E00008 */ jr $ra
|
||||
/* 0CA92C 8013422C AC470010 */ sw $a3, 0x10($v0)
|
||||
|
||||
func_80134230:
|
||||
glabel func_80134230
|
||||
/* 0CA930 80134230 3C018015 */ lui $at, 0x8015
|
||||
/* 0CA934 80134234 AC245D88 */ sw $a0, 0x5d88($at)
|
||||
/* 0CA938 80134238 03E00008 */ jr $ra
|
||||
/* 0CA93C 8013423C 00000000 */ nop
|
||||
|
||||
func_80134240:
|
||||
glabel func_80134240
|
||||
/* 0CA940 80134240 3C028015 */ lui $v0, 0x8015
|
||||
/* 0CA944 80134244 8C425D88 */ lw $v0, 0x5d88($v0)
|
||||
/* 0CA948 80134248 03E00008 */ jr $ra
|
||||
/* 0CA94C 8013424C 00000000 */ nop
|
||||
|
||||
update_item_entity_collectable:
|
||||
glabel update_item_entity_collectable
|
||||
/* 0CA950 80134250 3C028015 */ lui $v0, 0x8015
|
||||
/* 0CA954 80134254 844265A4 */ lh $v0, 0x65a4($v0)
|
||||
/* 0CA958 80134258 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
@ -22899,7 +22899,7 @@ update_item_entity_collectable:
|
||||
/* 0CBC94 80135594 03E00008 */ jr $ra
|
||||
/* 0CBC98 80135598 27BD0060 */ addiu $sp, $sp, 0x60
|
||||
|
||||
func_8013559C:
|
||||
glabel func_8013559C
|
||||
/* 0CBC9C 8013559C 8083001A */ lb $v1, 0x1a($a0)
|
||||
/* 0CBCA0 801355A0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0CBCA4 801355A4 1462002A */ bne $v1, $v0, .L80135650
|
||||
@ -22954,7 +22954,7 @@ func_8013559C:
|
||||
/* 0CBD50 80135650 03E00008 */ jr $ra
|
||||
/* 0CBD54 80135654 00000000 */ nop
|
||||
|
||||
update_item_entity_static:
|
||||
glabel update_item_entity_static
|
||||
/* 0CBD58 80135658 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0CBD5C 8013565C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0CBD60 80135660 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -22984,19 +22984,19 @@ update_item_entity_static:
|
||||
/* 0CBDBC 801356BC 03E00008 */ jr $ra
|
||||
/* 0CBDC0 801356C0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_801356C4:
|
||||
glabel func_801356C4
|
||||
/* 0CBDC4 801356C4 03E00008 */ jr $ra
|
||||
/* 0CBDC8 801356C8 00000000 */ nop
|
||||
|
||||
func_801356CC:
|
||||
glabel func_801356CC
|
||||
/* 0CBDCC 801356CC 03E00008 */ jr $ra
|
||||
/* 0CBDD0 801356D0 00000000 */ nop
|
||||
|
||||
func_801356D4:
|
||||
glabel func_801356D4
|
||||
/* 0CBDD4 801356D4 03E00008 */ jr $ra
|
||||
/* 0CBDD8 801356D8 00000000 */ nop
|
||||
|
||||
update_item_entity_temp:
|
||||
glabel update_item_entity_temp
|
||||
/* 0CBDDC 801356DC 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 0CBDE0 801356E0 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 0CBDE4 801356E4 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -23886,7 +23886,7 @@ update_item_entity_temp:
|
||||
/* 0CCA98 80136398 03E00008 */ jr $ra
|
||||
/* 0CCA9C 8013639C 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_801363A0:
|
||||
glabel func_801363A0
|
||||
/* 0CCAA0 801363A0 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 0CCAA4 801363A4 AFB40038 */ sw $s4, 0x38($sp)
|
||||
/* 0CCAA8 801363A8 0080A02D */ daddu $s4, $a0, $zero
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80136A80, "ax"
|
||||
|
||||
func_80136A80:
|
||||
glabel func_80136A80
|
||||
/* 0CD180 80136A80 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
/* 0CD184 80136A84 F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||
/* 0CD188 80136A88 4485C000 */ mtc1 $a1, $f24
|
||||
@ -1277,7 +1277,7 @@ func_80136A80:
|
||||
/* 0CE480 80137D80 03E00008 */ jr $ra
|
||||
/* 0CE484 80137D84 27BD0078 */ addiu $sp, $sp, 0x78
|
||||
|
||||
func_80137D88:
|
||||
glabel func_80137D88
|
||||
/* 0CE488 80137D88 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 0CE48C 80137D8C 3C018015 */ lui $at, 0x8015
|
||||
/* 0CE490 80137D90 AC246900 */ sw $a0, 0x6900($at)
|
||||
@ -1286,7 +1286,7 @@ func_80137D88:
|
||||
/* 0CE49C 80137D9C 03E00008 */ jr $ra
|
||||
/* 0CE4A0 80137DA0 00000000 */ nop
|
||||
|
||||
func_80137DA4:
|
||||
glabel func_80137DA4
|
||||
/* 0CE4A4 80137DA4 308400FF */ andi $a0, $a0, 0xff
|
||||
/* 0CE4A8 80137DA8 3C018015 */ lui $at, 0x8015
|
||||
/* 0CE4AC 80137DAC AC246908 */ sw $a0, 0x6908($at)
|
||||
@ -1295,7 +1295,7 @@ func_80137DA4:
|
||||
/* 0CE4B8 80137DB8 03E00008 */ jr $ra
|
||||
/* 0CE4BC 80137DBC 00000000 */ nop
|
||||
|
||||
func_80137DC0:
|
||||
glabel func_80137DC0
|
||||
/* 0CE4C0 80137DC0 10800005 */ beqz $a0, .L80137DD8
|
||||
/* 0CE4C4 80137DC4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0CE4C8 80137DC8 1082000A */ beq $a0, $v0, .L80137DF4
|
||||
@ -1321,7 +1321,7 @@ func_80137DC0:
|
||||
/* 0CE508 80137E08 03E00008 */ jr $ra
|
||||
/* 0CE50C 80137E0C E4C00000 */ swc1 $f0, ($a2)
|
||||
|
||||
func_80137E10:
|
||||
glabel func_80137E10
|
||||
/* 0CE510 80137E10 28820002 */ slti $v0, $a0, 2
|
||||
/* 0CE514 80137E14 1040000B */ beqz $v0, .L80137E44
|
||||
/* 0CE518 80137E18 00000000 */ nop
|
||||
@ -1339,7 +1339,7 @@ func_80137E10:
|
||||
/* 0CE544 80137E44 03E00008 */ jr $ra
|
||||
/* 0CE548 80137E48 00000000 */ nop
|
||||
|
||||
func_80137E4C:
|
||||
glabel func_80137E4C
|
||||
/* 0CE54C 80137E4C 28820002 */ slti $v0, $a0, 2
|
||||
/* 0CE550 80137E50 10400019 */ beqz $v0, .L80137EB8
|
||||
/* 0CE554 80137E54 00000000 */ nop
|
||||
@ -1514,7 +1514,7 @@ func_80137E4C:
|
||||
/* 0CE7CC 801380CC 03E00008 */ jr $ra
|
||||
/* 0CE7D0 801380D0 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
|
||||
func_801380D4:
|
||||
glabel func_801380D4
|
||||
/* 0CE7D4 801380D4 44850000 */ mtc1 $a1, $f0
|
||||
/* 0CE7D8 801380D8 28820002 */ slti $v0, $a0, 2
|
||||
/* 0CE7DC 801380DC 10400008 */ beqz $v0, .L80138100
|
||||
@ -1530,7 +1530,7 @@ func_801380D4:
|
||||
/* 0CE800 80138100 03E00008 */ jr $ra
|
||||
/* 0CE804 80138104 00000000 */ nop
|
||||
|
||||
func_80138108:
|
||||
glabel func_80138108
|
||||
/* 0CE808 80138108 3C048016 */ lui $a0, 0x8016
|
||||
/* 0CE80C 8013810C 2484C790 */ addiu $a0, $a0, -0x3870
|
||||
/* 0CE810 80138110 0000282D */ daddu $a1, $zero, $zero
|
||||
@ -1565,17 +1565,17 @@ func_80138108:
|
||||
/* 0CE880 80138180 03E00008 */ jr $ra
|
||||
/* 0CE884 80138184 00000000 */ nop
|
||||
|
||||
func_80138188:
|
||||
glabel func_80138188
|
||||
/* 0CE888 80138188 3C018015 */ lui $at, 0x8015
|
||||
/* 0CE88C 8013818C AC20690C */ sw $zero, 0x690c($at)
|
||||
/* 0CE890 80138190 03E00008 */ jr $ra
|
||||
/* 0CE894 80138194 00000000 */ nop
|
||||
|
||||
func_80138198:
|
||||
glabel func_80138198
|
||||
/* 0CE898 80138198 03E00008 */ jr $ra
|
||||
/* 0CE89C 8013819C 00000000 */ nop
|
||||
|
||||
func_801381A0:
|
||||
glabel func_801381A0
|
||||
/* 0CE8A0 801381A0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0CE8A4 801381A4 3C048015 */ lui $a0, 0x8015
|
||||
/* 0CE8A8 801381A8 24846900 */ addiu $a0, $a0, 0x6900
|
||||
@ -1610,7 +1610,7 @@ func_801381A0:
|
||||
/* 0CE918 80138218 03E00008 */ jr $ra
|
||||
/* 0CE91C 8013821C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80138220:
|
||||
glabel func_80138220
|
||||
/* 0CE920 80138220 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0CE924 80138224 3C048015 */ lui $a0, 0x8015
|
||||
/* 0CE928 80138228 24846908 */ addiu $a0, $a0, 0x6908
|
||||
@ -1645,12 +1645,12 @@ func_80138220:
|
||||
/* 0CE998 80138298 03E00008 */ jr $ra
|
||||
/* 0CE99C 8013829C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
set_map_transition_effect:
|
||||
glabel set_map_transition_effect
|
||||
/* 0CE9A0 801382A0 3C018015 */ lui $at, 0x8015
|
||||
/* 0CE9A4 801382A4 03E00008 */ jr $ra
|
||||
/* 0CE9A8 801382A8 AC24C6F0 */ sw $a0, -0x3910($at)
|
||||
|
||||
func_801382AC:
|
||||
glabel func_801382AC
|
||||
/* 0CE9AC 801382AC 3C038015 */ lui $v1, 0x8015
|
||||
/* 0CE9B0 801382B0 8C63C6F0 */ lw $v1, -0x3910($v1)
|
||||
/* 0CE9B4 801382B4 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
@ -1876,7 +1876,7 @@ func_801382AC:
|
||||
/* 0CECCC 801385CC 03E00008 */ jr $ra
|
||||
/* 0CECD0 801385D0 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_801385D4:
|
||||
glabel func_801385D4
|
||||
/* 0CECD4 801385D4 3C038015 */ lui $v1, 0x8015
|
||||
/* 0CECD8 801385D8 8C63C6F0 */ lw $v1, -0x3910($v1)
|
||||
/* 0CECDC 801385DC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
@ -1980,7 +1980,7 @@ func_801385D4:
|
||||
/* 0CEE38 80138738 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 0CEE3C 8013873C 00000000 */ nop
|
||||
func_80138740:
|
||||
glabel func_80138740
|
||||
/* 0CEE40 80138740 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0CEE44 80138744 AFB50034 */ sw $s5, 0x34($sp)
|
||||
/* 0CEE48 80138748 0080A82D */ daddu $s5, $a0, $zero
|
||||
@ -2396,7 +2396,7 @@ func_80138740:
|
||||
/* 0CF480 80138D80 03E00008 */ jr $ra
|
||||
/* 0CF484 80138D84 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_80138D88:
|
||||
glabel func_80138D88
|
||||
/* 0CF488 80138D88 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0CF48C 80138D8C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0CF490 80138D90 0080182D */ daddu $v1, $a0, $zero
|
||||
@ -2464,7 +2464,7 @@ func_80138D88:
|
||||
/* 0CF54C 80138E4C 03E00008 */ jr $ra
|
||||
/* 0CF550 80138E50 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80138E54:
|
||||
glabel func_80138E54
|
||||
/* 0CF554 80138E54 27BDFF78 */ addiu $sp, $sp, -0x88
|
||||
/* 0CF558 80138E58 F7B80068 */ sdc1 $f24, 0x68($sp)
|
||||
/* 0CF55C 80138E5C 4487C000 */ mtc1 $a3, $f24
|
||||
@ -3581,7 +3581,7 @@ func_80138E54:
|
||||
/* 0D0608 80139F08 03E00008 */ jr $ra
|
||||
/* 0D060C 80139F0C 27BD0088 */ addiu $sp, $sp, 0x88
|
||||
|
||||
func_80139F10:
|
||||
glabel func_80139F10
|
||||
/* 0D0610 80139F10 0080782D */ daddu $t7, $a0, $zero
|
||||
/* 0D0614 80139F14 8FA3001C */ lw $v1, 0x1c($sp)
|
||||
/* 0D0618 80139F18 44864000 */ mtc1 $a2, $f8
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8013A370, "ax"
|
||||
@ -15,7 +15,7 @@
|
||||
/* 0D0A74 8013A374 03E00008 */ jr $ra
|
||||
/* 0D0A78 8013A378 A424EE60 */ sh $a0, -0x11a0($at)
|
||||
|
||||
func_8013A37C:
|
||||
glabel func_8013A37C
|
||||
/* 0D0A7C 8013A37C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0D0A80 8013A380 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0D0A84 8013A384 0000882D */ daddu $s1, $zero, $zero
|
||||
@ -106,7 +106,7 @@ func_8013A37C:
|
||||
/* 0D0BC8 8013A4C8 03E00008 */ jr $ra
|
||||
/* 0D0BCC 8013A4CC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8013A4D0:
|
||||
glabel func_8013A4D0
|
||||
/* 0D0BD0 8013A4D0 3C028007 */ lui $v0, 0x8007
|
||||
/* 0D0BD4 8013A4D4 8C4241F4 */ lw $v0, 0x41f4($v0)
|
||||
/* 0D0BD8 8013A4D8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
@ -192,7 +192,7 @@ func_8013A4D0:
|
||||
/* 0D0D08 8013A608 03E00008 */ jr $ra
|
||||
/* 0D0D0C 8013A60C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8013A610:
|
||||
glabel func_8013A610
|
||||
/* 0D0D10 8013A610 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0D0D14 8013A614 24070004 */ addiu $a3, $zero, 4
|
||||
/* 0D0D18 8013A618 3C038015 */ lui $v1, 0x8015
|
||||
@ -213,7 +213,7 @@ func_8013A610:
|
||||
/* 0D0D48 8013A648 03E00008 */ jr $ra
|
||||
/* 0D0D4C 8013A64C 00000000 */ nop
|
||||
|
||||
func_8013A650:
|
||||
glabel func_8013A650
|
||||
/* 0D0D50 8013A650 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0D0D54 8013A654 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0D0D58 8013A658 3C108015 */ lui $s0, 0x8015
|
||||
@ -258,7 +258,7 @@ func_8013A650:
|
||||
/* 0D0DE0 8013A6E0 03E00008 */ jr $ra
|
||||
/* 0D0DE4 8013A6E4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8013A6E8:
|
||||
glabel func_8013A6E8
|
||||
/* 0D0DE8 8013A6E8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0D0DEC 8013A6EC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0D0DF0 8013A6F0 0C04E994 */ jal func_8013A650
|
||||
@ -267,7 +267,7 @@ func_8013A6E8:
|
||||
/* 0D0DFC 8013A6FC 03E00008 */ jr $ra
|
||||
/* 0D0E00 8013A700 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8013A704:
|
||||
glabel func_8013A704
|
||||
/* 0D0E04 8013A704 3C028015 */ lui $v0, 0x8015
|
||||
/* 0D0E08 8013A708 8C426954 */ lw $v0, 0x6954($v0)
|
||||
/* 0D0E0C 8013A70C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
@ -366,7 +366,7 @@ func_8013A704:
|
||||
/* 0D0F4C 8013A84C 03E00008 */ jr $ra
|
||||
/* 0D0F50 8013A850 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8013A854:
|
||||
glabel func_8013A854
|
||||
/* 0D0F54 8013A854 2C82005A */ sltiu $v0, $a0, 0x5a
|
||||
/* 0D0F58 8013A858 10400009 */ beqz $v0, .L8013A880
|
||||
/* 0D0F5C 8013A85C 00041140 */ sll $v0, $a0, 5
|
||||
@ -436,7 +436,7 @@ func_8013A854:
|
||||
/* 0D1034 8013A934 03E00008 */ jr $ra
|
||||
/* 0D1038 8013A938 00431021 */ addu $v0, $v0, $v1
|
||||
|
||||
func_8013A93C:
|
||||
glabel func_8013A93C
|
||||
/* 0D103C 8013A93C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0D1040 8013A940 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0D1044 8013A944 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -478,7 +478,7 @@ func_8013A93C:
|
||||
/* 0D10C0 8013A9C0 03E00008 */ jr $ra
|
||||
/* 0D10C4 8013A9C4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8013A9C8:
|
||||
glabel func_8013A9C8
|
||||
/* 0D10C8 8013A9C8 AC800064 */ sw $zero, 0x64($a0)
|
||||
/* 0D10CC 8013A9CC AC800068 */ sw $zero, 0x68($a0)
|
||||
/* 0D10D0 8013A9D0 AC80006C */ sw $zero, 0x6c($a0)
|
||||
@ -488,7 +488,7 @@ func_8013A9C8:
|
||||
/* 0D10E0 8013A9E0 03E00008 */ jr $ra
|
||||
/* 0D10E4 8013A9E4 A4800060 */ sh $zero, 0x60($a0)
|
||||
|
||||
func_8013A9E8:
|
||||
glabel func_8013A9E8
|
||||
/* 0D10E8 8013A9E8 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0D10EC 8013A9EC 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 0D10F0 8013A9F0 A4820010 */ sh $v0, 0x10($a0)
|
||||
@ -539,7 +539,7 @@ func_8013A9E8:
|
||||
/* 0D1194 8013AA94 03E00008 */ jr $ra
|
||||
/* 0D1198 8013AA98 00000000 */ nop
|
||||
|
||||
func_8013AA9C:
|
||||
glabel func_8013AA9C
|
||||
/* 0D119C 8013AA9C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0D11A0 8013AAA0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0D11A4 8013AAA4 00C0802D */ daddu $s0, $a2, $zero
|
||||
@ -893,7 +893,7 @@ func_8013AA9C:
|
||||
/* 0D1668 8013AF68 03E00008 */ jr $ra
|
||||
/* 0D166C 8013AF6C 00000000 */ nop
|
||||
|
||||
func_8013AF70:
|
||||
glabel func_8013AF70
|
||||
/* 0D1670 8013AF70 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0D1674 8013AF74 0080402D */ daddu $t0, $a0, $zero
|
||||
/* 0D1678 8013AF78 AFB20018 */ sw $s2, 0x18($sp)
|
||||
@ -998,7 +998,7 @@ func_8013AF70:
|
||||
/* 0D17E4 8013B0E4 03E00008 */ jr $ra
|
||||
/* 0D17E8 8013B0E8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8013B0EC:
|
||||
glabel func_8013B0EC
|
||||
/* 0D17EC 8013B0EC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0D17F0 8013B0F0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0D17F4 8013B0F4 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1057,7 +1057,7 @@ func_8013B0EC:
|
||||
/* 0D18A8 8013B1A8 03E00008 */ jr $ra
|
||||
/* 0D18AC 8013B1AC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8013B1B0:
|
||||
glabel func_8013B1B0
|
||||
/* 0D18B0 8013B1B0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0D18B4 8013B1B4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0D18B8 8013B1B8 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1798,7 +1798,7 @@ func_8013B1B0:
|
||||
/* 0D2380 8013BC80 03E00008 */ jr $ra
|
||||
/* 0D2384 8013BC84 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8013BC88:
|
||||
glabel func_8013BC88
|
||||
/* 0D2388 8013BC88 0080C02D */ daddu $t8, $a0, $zero
|
||||
/* 0D238C 8013BC8C 3C068015 */ lui $a2, 0x8015
|
||||
/* 0D2390 8013BC90 24C6EE10 */ addiu $a2, $a2, -0x11f0
|
||||
@ -2051,7 +2051,7 @@ func_8013BC88:
|
||||
/* 0D2740 8013C040 03E00008 */ jr $ra
|
||||
/* 0D2744 8013C044 A3020004 */ sb $v0, 4($t8)
|
||||
|
||||
func_8013C048:
|
||||
glabel func_8013C048
|
||||
/* 0D2748 8013C048 0080582D */ daddu $t3, $a0, $zero
|
||||
/* 0D274C 8013C04C 3C098015 */ lui $t1, 0x8015
|
||||
/* 0D2750 8013C050 2529EE14 */ addiu $t1, $t1, -0x11ec
|
||||
@ -2177,7 +2177,7 @@ func_8013C048:
|
||||
/* 0D2918 8013C218 03E00008 */ jr $ra
|
||||
/* 0D291C 8013C21C A562000A */ sh $v0, 0xa($t3)
|
||||
|
||||
func_8013C220:
|
||||
glabel func_8013C220
|
||||
/* 0D2920 8013C220 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0D2924 8013C224 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0D2928 8013C228 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -2303,7 +2303,7 @@ func_8013C220:
|
||||
/* 0D2AE8 8013C3E8 03E00008 */ jr $ra
|
||||
/* 0D2AEC 8013C3EC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_8013C3F0:
|
||||
glabel func_8013C3F0
|
||||
/* 0D2AF0 8013C3F0 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 0D2AF4 8013C3F4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 0D2AF8 8013C3F8 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -3114,7 +3114,7 @@ func_8013C3F0:
|
||||
/* 0D36A0 8013CFA0 03E00008 */ jr $ra
|
||||
/* 0D36A4 8013CFA4 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_8013CFA8:
|
||||
glabel func_8013CFA8
|
||||
/* 0D36A8 8013CFA8 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 0D36AC 8013CFAC AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 0D36B0 8013CFB0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -3872,7 +3872,7 @@ func_8013CFA8:
|
||||
/* 0D41AC 8013DAAC 03E00008 */ jr $ra
|
||||
/* 0D41B0 8013DAB0 27BD0058 */ addiu $sp, $sp, 0x58
|
||||
|
||||
func_8013DAB4:
|
||||
glabel func_8013DAB4
|
||||
/* 0D41B4 8013DAB4 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 0D41B8 8013DAB8 AFB40038 */ sw $s4, 0x38($sp)
|
||||
/* 0D41BC 8013DABC 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -4417,7 +4417,7 @@ func_8013DAB4:
|
||||
/* 0D49E8 8013E2E8 03E00008 */ jr $ra
|
||||
/* 0D49EC 8013E2EC 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
|
||||
func_8013E2F0:
|
||||
glabel func_8013E2F0
|
||||
/* 0D49F0 8013E2F0 3C028007 */ lui $v0, 0x8007
|
||||
/* 0D49F4 8013E2F4 8C4241F4 */ lw $v0, 0x41f4($v0)
|
||||
/* 0D49F8 8013E2F8 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
@ -4822,7 +4822,7 @@ func_8013E2F0:
|
||||
/* 0D4FFC 8013E8FC 03E00008 */ jr $ra
|
||||
/* 0D5000 8013E900 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_8013E904:
|
||||
glabel func_8013E904
|
||||
/* 0D5004 8013E904 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0D5008 8013E908 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 0D500C 8013E90C 0080A02D */ daddu $s4, $a0, $zero
|
||||
@ -5168,7 +5168,7 @@ func_8013E904:
|
||||
/* 0D5540 8013EE40 03E00008 */ jr $ra
|
||||
/* 0D5544 8013EE44 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8013EE48:
|
||||
glabel func_8013EE48
|
||||
/* 0D5548 8013EE48 3C014248 */ lui $at, 0x4248
|
||||
/* 0D554C 8013EE4C 44810000 */ mtc1 $at, $f0
|
||||
/* 0D5550 8013EE50 3C0141F0 */ lui $at, 0x41f0
|
||||
@ -5178,7 +5178,7 @@ func_8013EE48:
|
||||
/* 0D5560 8013EE60 03E00008 */ jr $ra
|
||||
/* 0D5564 8013EE64 E4820044 */ swc1 $f2, 0x44($a0)
|
||||
|
||||
func_8013EE68:
|
||||
glabel func_8013EE68
|
||||
/* 0D5568 8013EE68 3C028007 */ lui $v0, 0x8007
|
||||
/* 0D556C 8013EE6C 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0D5570 8013EE70 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
@ -5425,7 +5425,7 @@ func_8013EE68:
|
||||
/* 0D58F0 8013F1F0 03E00008 */ jr $ra
|
||||
/* 0D58F4 8013F1F4 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_8013F1F8:
|
||||
glabel func_8013F1F8
|
||||
/* 0D58F8 8013F1F8 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 0D58FC 8013F1FC 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0D5900 8013F200 3C028015 */ lui $v0, 0x8015
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8013F350, "ax"
|
||||
|
||||
func_8013F350:
|
||||
glabel func_8013F350
|
||||
/* 0D5A50 8013F350 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0D5A54 8013F354 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 0D5A58 8013F358 0080A82D */ daddu $s5, $a0, $zero
|
||||
@ -300,7 +300,7 @@ func_8013F350:
|
||||
/* 0D5DFC 8013F6FC 03E00008 */ jr $ra
|
||||
/* 0D5E00 8013F700 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8013F704:
|
||||
glabel func_8013F704
|
||||
/* 0D5E04 8013F704 27BDFF48 */ addiu $sp, $sp, -0xb8
|
||||
/* 0D5E08 8013F708 AFB3009C */ sw $s3, 0x9c($sp)
|
||||
/* 0D5E0C 8013F70C 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -2126,7 +2126,7 @@ func_8013F704:
|
||||
/* 0D77F8 801410F8 03E00008 */ jr $ra
|
||||
/* 0D77FC 801410FC 27BD00B8 */ addiu $sp, $sp, 0xb8
|
||||
|
||||
func_80141100:
|
||||
glabel func_80141100
|
||||
/* 0D7800 80141100 3C028007 */ lui $v0, 0x8007
|
||||
/* 0D7804 80141104 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0D7808 80141108 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -2272,7 +2272,7 @@ func_80141100:
|
||||
/* 0D79F8 801412F8 03E00008 */ jr $ra
|
||||
/* 0D79FC 801412FC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
init_menu_icon_list:
|
||||
glabel init_menu_icon_list
|
||||
/* 0D7A00 80141300 3C028007 */ lui $v0, 0x8007
|
||||
/* 0D7A04 80141304 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0D7A08 80141308 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -2340,7 +2340,7 @@ init_menu_icon_list:
|
||||
/* 0D7AF0 801413F0 03E00008 */ jr $ra
|
||||
/* 0D7AF4 801413F4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_801413F8:
|
||||
glabel func_801413F8
|
||||
/* 0D7AF8 801413F8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0D7AFC 801413FC 240200EF */ addiu $v0, $zero, 0xef
|
||||
/* 0D7B00 80141400 24040003 */ addiu $a0, $zero, 3
|
||||
@ -2385,7 +2385,7 @@ func_801413F8:
|
||||
/* 0D7B9C 8014149C 03E00008 */ jr $ra
|
||||
/* 0D7BA0 801414A0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
create_icon:
|
||||
glabel create_icon
|
||||
/* 0D7BA4 801414A4 3C038015 */ lui $v1, 0x8015
|
||||
/* 0D7BA8 801414A8 8C637960 */ lw $v1, 0x7960($v1)
|
||||
/* 0D7BAC 801414AC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -2489,7 +2489,7 @@ create_icon:
|
||||
/* 0D7D08 80141608 03E00008 */ jr $ra
|
||||
/* 0D7D0C 8014160C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
update_menu_icons:
|
||||
glabel update_menu_icons
|
||||
/* 0D7D10 80141610 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0D7D14 80141614 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0D7D18 80141618 0000882D */ daddu $s1, $zero, $zero
|
||||
@ -2560,7 +2560,7 @@ update_menu_icons:
|
||||
/* 0D7DFC 801416FC 03E00008 */ jr $ra
|
||||
/* 0D7E00 80141700 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80141704:
|
||||
glabel func_80141704
|
||||
/* 0D7E04 80141704 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0D7E08 80141708 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0D7E0C 8014170C 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -3340,7 +3340,7 @@ func_80141704:
|
||||
/* 0D8908 80142208 03E00008 */ jr $ra
|
||||
/* 0D890C 8014220C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80142210:
|
||||
glabel func_80142210
|
||||
/* 0D8910 80142210 27BDFAB0 */ addiu $sp, $sp, -0x550
|
||||
/* 0D8914 80142214 3C038016 */ lui $v1, 0x8016
|
||||
/* 0D8918 80142218 24639180 */ addiu $v1, $v1, -0x6e80
|
||||
@ -3694,7 +3694,7 @@ func_80142210:
|
||||
/* 0D8E14 80142714 03E00008 */ jr $ra
|
||||
/* 0D8E18 80142718 27BD0550 */ addiu $sp, $sp, 0x550
|
||||
|
||||
func_8014271C:
|
||||
glabel func_8014271C
|
||||
/* 0D8E1C 8014271C 27BDFAB0 */ addiu $sp, $sp, -0x550
|
||||
/* 0D8E20 80142720 AFBE0548 */ sw $fp, 0x548($sp)
|
||||
/* 0D8E24 80142724 0000F02D */ daddu $fp, $zero, $zero
|
||||
@ -4036,7 +4036,7 @@ func_8014271C:
|
||||
/* 0D92F4 80142BF4 03E00008 */ jr $ra
|
||||
/* 0D92F8 80142BF8 27BD0550 */ addiu $sp, $sp, 0x550
|
||||
|
||||
render_menu_icon:
|
||||
glabel render_menu_icon
|
||||
/* 0D92FC 80142BFC 27BDFCF8 */ addiu $sp, $sp, -0x308
|
||||
/* 0D9300 80142C00 AFB702E4 */ sw $s7, 0x2e4($sp)
|
||||
/* 0D9304 80142C04 0080B82D */ daddu $s7, $a0, $zero
|
||||
@ -4771,7 +4771,7 @@ render_menu_icon:
|
||||
/* 0D9DAC 801436AC 03E00008 */ jr $ra
|
||||
/* 0D9DB0 801436B0 27BD0308 */ addiu $sp, $sp, 0x308
|
||||
|
||||
render_menu_icons:
|
||||
glabel render_menu_icons
|
||||
/* 0D9DB4 801436B4 27BDFAE0 */ addiu $sp, $sp, -0x520
|
||||
/* 0D9DB8 801436B8 AFBF051C */ sw $ra, 0x51c($sp)
|
||||
/* 0D9DBC 801436BC AFB20518 */ sw $s2, 0x518($sp)
|
||||
@ -5149,7 +5149,7 @@ render_menu_icons:
|
||||
/* 0DA340 80143C40 03E00008 */ jr $ra
|
||||
/* 0DA344 80143C44 27BD0520 */ addiu $sp, $sp, 0x520
|
||||
|
||||
func_80143C48:
|
||||
glabel func_80143C48
|
||||
/* 0DA348 80143C48 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0DA34C 80143C4C AFBE0040 */ sw $fp, 0x40($sp)
|
||||
/* 0DA350 80143C50 0080F02D */ daddu $fp, $a0, $zero
|
||||
@ -5525,7 +5525,7 @@ func_80143C48:
|
||||
/* 0DA910 80144210 03E00008 */ jr $ra
|
||||
/* 0DA914 80144214 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_80144218:
|
||||
glabel func_80144218
|
||||
/* 0DA918 80144218 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DA91C 8014421C 24050001 */ addiu $a1, $zero, 1
|
||||
/* 0DA920 80144220 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -5535,7 +5535,7 @@ func_80144218:
|
||||
/* 0DA930 80144230 03E00008 */ jr $ra
|
||||
/* 0DA934 80144234 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80144238:
|
||||
glabel func_80144238
|
||||
/* 0DA938 80144238 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DA93C 8014423C 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 0DA940 80144240 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -5545,6 +5545,7 @@ func_80144238:
|
||||
/* 0DA950 80144250 03E00008 */ jr $ra
|
||||
/* 0DA954 80144254 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_80144258
|
||||
/* 0DA958 80144258 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DA95C 8014425C 24050001 */ addiu $a1, $zero, 1
|
||||
/* 0DA960 80144260 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -5554,6 +5555,7 @@ func_80144238:
|
||||
/* 0DA970 80144270 03E00008 */ jr $ra
|
||||
/* 0DA974 80144274 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
glabel func_80144278
|
||||
/* 0DA978 80144278 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DA97C 8014427C 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 0DA980 80144280 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
@ -5563,7 +5565,7 @@ func_80144238:
|
||||
/* 0DA990 80144290 03E00008 */ jr $ra
|
||||
/* 0DA994 80144294 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
draw_menu_icon:
|
||||
glabel draw_menu_icon
|
||||
/* 0DA998 80144298 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0DA99C 8014429C 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DA9A0 801442A0 00822024 */ and $a0, $a0, $v0
|
||||
@ -5911,7 +5913,7 @@ draw_menu_icon:
|
||||
/* 0DAEA0 801447A0 03E00008 */ jr $ra
|
||||
/* 0DAEA4 801447A4 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
draw_icon_0:
|
||||
glabel draw_icon_0
|
||||
/* 0DAEA8 801447A8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DAEAC 801447AC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0DAEB0 801447B0 0C0510A6 */ jal draw_menu_icon
|
||||
@ -5920,7 +5922,7 @@ draw_icon_0:
|
||||
/* 0DAEBC 801447BC 03E00008 */ jr $ra
|
||||
/* 0DAEC0 801447C0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
draw_icon_1:
|
||||
glabel draw_icon_1
|
||||
/* 0DAEC4 801447C4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DAEC8 801447C8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0DAECC 801447CC 0C0510A6 */ jal draw_menu_icon
|
||||
@ -5929,7 +5931,7 @@ draw_icon_1:
|
||||
/* 0DAED8 801447D8 03E00008 */ jr $ra
|
||||
/* 0DAEDC 801447DC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_801447E0:
|
||||
glabel func_801447E0
|
||||
/* 0DAEE0 801447E0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DAEE4 801447E4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0DAEE8 801447E8 0C0510A6 */ jal draw_menu_icon
|
||||
@ -5938,7 +5940,7 @@ func_801447E0:
|
||||
/* 0DAEF4 801447F4 03E00008 */ jr $ra
|
||||
/* 0DAEF8 801447F8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
set_menu_icon_script:
|
||||
glabel set_menu_icon_script
|
||||
/* 0DAEFC 801447FC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DAF00 80144800 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DAF04 80144804 00822024 */ and $a0, $a0, $v0
|
||||
@ -5987,7 +5989,7 @@ set_menu_icon_script:
|
||||
/* 0DAFA8 801448A8 03E00008 */ jr $ra
|
||||
/* 0DAFAC 801448AC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
get_menu_icon_script:
|
||||
glabel get_menu_icon_script
|
||||
/* 0DAFB0 801448B0 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DAFB4 801448B4 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DAFB8 801448B8 3C028015 */ lui $v0, 0x8015
|
||||
@ -5998,7 +6000,7 @@ get_menu_icon_script:
|
||||
/* 0DAFCC 801448CC 03E00008 */ jr $ra
|
||||
/* 0DAFD0 801448D0 8C420008 */ lw $v0, 8($v0)
|
||||
|
||||
get_menu_icon:
|
||||
glabel get_menu_icon
|
||||
/* 0DAFD4 801448D4 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DAFD8 801448D8 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DAFDC 801448DC 3C028015 */ lui $v0, 0x8015
|
||||
@ -6008,7 +6010,7 @@ get_menu_icon:
|
||||
/* 0DAFEC 801448EC 03E00008 */ jr $ra
|
||||
/* 0DAFF0 801448F0 8C820000 */ lw $v0, ($a0)
|
||||
|
||||
free_icon:
|
||||
glabel free_icon
|
||||
/* 0DAFF4 801448F4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0DAFF8 801448F8 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DAFFC 801448FC 00822024 */ and $a0, $a0, $v0
|
||||
@ -6047,7 +6049,7 @@ free_icon:
|
||||
/* 0DB07C 8014497C 03E00008 */ jr $ra
|
||||
/* 0DB080 80144980 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
set_icon_render_pos:
|
||||
glabel set_icon_render_pos
|
||||
/* 0DB084 80144984 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB088 80144988 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DB08C 8014498C 3C028015 */ lui $v0, 0x8015
|
||||
@ -6059,7 +6061,7 @@ set_icon_render_pos:
|
||||
/* 0DB0A4 801449A4 03E00008 */ jr $ra
|
||||
/* 0DB0A8 801449A8 A446003E */ sh $a2, 0x3e($v0)
|
||||
|
||||
get_icon_render_pos:
|
||||
glabel get_icon_render_pos
|
||||
/* 0DB0AC 801449AC 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB0B0 801449B0 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DB0B4 801449B4 3C028015 */ lui $v0, 0x8015
|
||||
@ -6073,7 +6075,7 @@ get_icon_render_pos:
|
||||
/* 0DB0D4 801449D4 03E00008 */ jr $ra
|
||||
/* 0DB0D8 801449D8 ACC20000 */ sw $v0, ($a2)
|
||||
|
||||
func_801449DC:
|
||||
glabel func_801449DC
|
||||
/* 0DB0DC 801449DC 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB0E0 801449E0 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DB0E4 801449E4 3C028015 */ lui $v0, 0x8015
|
||||
@ -6084,7 +6086,7 @@ func_801449DC:
|
||||
/* 0DB0F8 801449F8 03E00008 */ jr $ra
|
||||
/* 0DB0FC 801449FC A0450044 */ sb $a1, 0x44($v0)
|
||||
|
||||
set_icon_flags:
|
||||
glabel set_icon_flags
|
||||
/* 0DB100 80144A00 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB104 80144A04 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DB108 80144A08 3C028015 */ lui $v0, 0x8015
|
||||
@ -6097,7 +6099,7 @@ set_icon_flags:
|
||||
/* 0DB124 80144A24 03E00008 */ jr $ra
|
||||
/* 0DB128 80144A28 AC620000 */ sw $v0, ($v1)
|
||||
|
||||
clear_icon_flags:
|
||||
glabel clear_icon_flags
|
||||
/* 0DB12C 80144A2C 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB130 80144A30 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DB134 80144A34 3C028015 */ lui $v0, 0x8015
|
||||
@ -6237,7 +6239,7 @@ clear_icon_flags:
|
||||
/* 0DB318 80144C18 03E00008 */ jr $ra
|
||||
/* 0DB31C 80144C1C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80144C20:
|
||||
glabel func_80144C20
|
||||
/* 0DB320 80144C20 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB324 80144C24 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DB328 80144C28 00042080 */ sll $a0, $a0, 2
|
||||
@ -6415,7 +6417,7 @@ func_80144C20:
|
||||
/* 0DB5A8 80144EA8 03E00008 */ jr $ra
|
||||
/* 0DB5AC 80144EAC AC820000 */ sw $v0, ($a0)
|
||||
|
||||
func_80144EB0:
|
||||
glabel func_80144EB0
|
||||
/* 0DB5B0 80144EB0 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB5B4 80144EB4 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DB5B8 80144EB8 3C028015 */ lui $v0, 0x8015
|
||||
@ -6437,7 +6439,7 @@ func_80144EB0:
|
||||
/* 0DB5F4 80144EF4 03E00008 */ jr $ra
|
||||
/* 0DB5F8 80144EF8 00000000 */ nop
|
||||
|
||||
func_80144EFC:
|
||||
glabel func_80144EFC
|
||||
/* 0DB5FC 80144EFC 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB600 80144F00 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DB604 80144F04 3C028015 */ lui $v0, 0x8015
|
||||
@ -6498,7 +6500,7 @@ func_80144EFC:
|
||||
/* 0DB6D0 80144FD0 03E00008 */ jr $ra
|
||||
/* 0DB6D4 80144FD4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80144FD8:
|
||||
glabel func_80144FD8
|
||||
/* 0DB6D8 80144FD8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DB6DC 80144FDC 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB6E0 80144FE0 00821024 */ and $v0, $a0, $v0
|
||||
@ -6583,7 +6585,7 @@ func_80144FD8:
|
||||
/* 0DB800 80145100 03E00008 */ jr $ra
|
||||
/* 0DB804 80145104 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80145108:
|
||||
glabel func_80145108
|
||||
/* 0DB808 80145108 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DB80C 8014510C 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB810 80145110 00822024 */ and $a0, $a0, $v0
|
||||
@ -6617,7 +6619,7 @@ func_80145108:
|
||||
/* 0DB87C 8014517C 03E00008 */ jr $ra
|
||||
/* 0DB880 80145180 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80145184:
|
||||
glabel func_80145184
|
||||
/* 0DB884 80145184 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB888 80145188 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DB88C 8014518C 00042080 */ sll $a0, $a0, 2
|
||||
@ -6640,7 +6642,7 @@ func_80145184:
|
||||
/* 0DB8CC 801451CC 03E00008 */ jr $ra
|
||||
/* 0DB8D0 801451D0 00000000 */ nop
|
||||
|
||||
func_801451D4:
|
||||
glabel func_801451D4
|
||||
/* 0DB8D4 801451D4 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB8D8 801451D8 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DB8DC 801451DC 00042080 */ sll $a0, $a0, 2
|
||||
@ -6663,7 +6665,7 @@ func_801451D4:
|
||||
/* 0DB91C 8014521C 03E00008 */ jr $ra
|
||||
/* 0DB920 80145220 00000000 */ nop
|
||||
|
||||
func_80145224:
|
||||
glabel func_80145224
|
||||
/* 0DB924 80145224 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB928 80145228 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DB92C 8014522C 00042080 */ sll $a0, $a0, 2
|
||||
@ -6686,7 +6688,7 @@ func_80145224:
|
||||
/* 0DB96C 8014526C 03E00008 */ jr $ra
|
||||
/* 0DB970 80145270 00000000 */ nop
|
||||
|
||||
func_80145274:
|
||||
glabel func_80145274
|
||||
/* 0DB974 80145274 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB978 80145278 00822024 */ and $a0, $a0, $v0
|
||||
/* 0DB97C 8014527C 3C028015 */ lui $v0, 0x8015
|
||||
@ -6705,7 +6707,7 @@ func_80145274:
|
||||
/* 0DB9AC 801452AC 03E00008 */ jr $ra
|
||||
/* 0DB9B0 801452B0 00000000 */ nop
|
||||
|
||||
func_801452B4:
|
||||
glabel func_801452B4
|
||||
/* 0DB9B4 801452B4 2402F7FF */ addiu $v0, $zero, -0x801
|
||||
/* 0DB9B8 801452B8 00A22824 */ and $a1, $a1, $v0
|
||||
/* 0DB9BC 801452BC 00822024 */ and $a0, $a0, $v0
|
||||
@ -6720,7 +6722,7 @@ func_801452B4:
|
||||
/* 0DB9E0 801452E0 03E00008 */ jr $ra
|
||||
/* 0DB9E4 801452E4 00000000 */ nop
|
||||
|
||||
func_801452E8:
|
||||
glabel func_801452E8
|
||||
/* 0DB9E8 801452E8 3C018015 */ lui $at, 0x8015
|
||||
/* 0DB9EC 801452EC AC24EFC0 */ sw $a0, -0x1040($at)
|
||||
/* 0DB9F0 801452F0 14800005 */ bnez $a0, .L80145308
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80032210, "ax"
|
||||
|
||||
func_80032210:
|
||||
glabel func_80032210
|
||||
/* 00D610 80032210 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 00D614 80032214 AFB00058 */ sw $s0, 0x58($sp)
|
||||
/* 00D618 80032218 00E0802D */ daddu $s0, $a3, $zero
|
||||
@ -66,7 +66,7 @@ func_80032210:
|
||||
/* 00D6D4 800322D4 03E00008 */ jr $ra
|
||||
/* 00D6D8 800322D8 27BD0060 */ addiu $sp, $sp, 0x60
|
||||
|
||||
func_800322DC:
|
||||
glabel func_800322DC
|
||||
/* 00D6DC 800322DC 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 00D6E0 800322E0 F7BC0030 */ sdc1 $f28, 0x30($sp)
|
||||
/* 00D6E4 800322E4 AFA60048 */ sw $a2, 0x48($sp)
|
||||
@ -272,7 +272,7 @@ func_800322DC:
|
||||
/* 00D9DC 800325DC 03E00008 */ jr $ra
|
||||
/* 00D9E0 800325E0 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_800325E4:
|
||||
glabel func_800325E4
|
||||
/* 00D9E4 800325E4 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 00D9E8 800325E8 F7BC0030 */ sdc1 $f28, 0x30($sp)
|
||||
/* 00D9EC 800325EC 4486E000 */ mtc1 $a2, $f28
|
||||
@ -460,7 +460,7 @@ func_800325E4:
|
||||
/* 00DC9C 8003289C 03E00008 */ jr $ra
|
||||
/* 00DCA0 800328A0 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
func_800328A4:
|
||||
glabel func_800328A4
|
||||
/* 00DCA4 800328A4 44857000 */ mtc1 $a1, $f14
|
||||
/* 00DCA8 800328A8 44868000 */ mtc1 $a2, $f16
|
||||
/* 00DCAC 800328AC 14800003 */ bnez $a0, .L800328BC
|
||||
@ -518,7 +518,7 @@ func_800328A4:
|
||||
/* 00DD68 80032968 03E00008 */ jr $ra
|
||||
/* 00DD6C 8003296C 00000000 */ nop
|
||||
|
||||
func_80032970:
|
||||
glabel func_80032970
|
||||
/* 00DD70 80032970 44853000 */ mtc1 $a1, $f6
|
||||
/* 00DD74 80032974 94820000 */ lhu $v0, ($a0)
|
||||
/* 00DD78 80032978 8C830448 */ lw $v1, 0x448($a0)
|
||||
@ -740,7 +740,7 @@ func_80032970:
|
||||
/* 00E05C 80032C5C 03E00008 */ jr $ra
|
||||
/* 00E060 80032C60 E4800514 */ swc1 $f0, 0x514($a0)
|
||||
|
||||
func_80032C64:
|
||||
glabel func_80032C64
|
||||
/* 00E064 80032C64 27BDFF68 */ addiu $sp, $sp, -0x98
|
||||
/* 00E068 80032C68 AFB10054 */ sw $s1, 0x54($sp)
|
||||
/* 00E06C 80032C6C 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1231,7 +1231,7 @@ func_80032C64:
|
||||
/* 00E78C 8003338C 03E00008 */ jr $ra
|
||||
/* 00E790 80033390 27BD0098 */ addiu $sp, $sp, 0x98
|
||||
|
||||
func_80033394:
|
||||
glabel func_80033394
|
||||
/* 00E794 80033394 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 00E798 80033398 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 00E79C 8003339C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1322,7 +1322,7 @@ func_80033394:
|
||||
/* 00E8E8 800334E8 03E00008 */ jr $ra
|
||||
/* 00E8EC 800334EC 00000000 */ nop
|
||||
|
||||
set_game_mode:
|
||||
glabel set_game_mode
|
||||
/* 00E8F0 800334F0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 00E8F4 800334F4 3C01800A */ lui $at, 0x800a
|
||||
/* 00E8F8 800334F8 A42408F0 */ sh $a0, 0x8f0($at)
|
||||
@ -1338,7 +1338,7 @@ set_game_mode:
|
||||
/* 00E920 80033520 03E00008 */ jr $ra
|
||||
/* 00E924 80033524 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
get_game_mode:
|
||||
glabel get_game_mode
|
||||
/* 00E928 80033528 3C02800A */ lui $v0, 0x800a
|
||||
/* 00E92C 8003352C 844208F0 */ lh $v0, 0x8f0($v0)
|
||||
/* 00E930 80033530 03E00008 */ jr $ra
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80145320, "ax"
|
||||
|
||||
clear_saved_variables:
|
||||
glabel clear_saved_variables
|
||||
/* 0DBA20 80145320 2402003F */ addiu $v0, $zero, 0x3f
|
||||
/* 0DBA24 80145324 3C04800E */ lui $a0, 0x800e
|
||||
/* 0DBA28 80145328 2484ACC0 */ addiu $a0, $a0, -0x5340
|
||||
@ -45,7 +45,7 @@ clear_saved_variables:
|
||||
/* 0DBA88 80145388 03E00008 */ jr $ra
|
||||
/* 0DBA8C 8014538C 00000000 */ nop
|
||||
|
||||
clear_area_flags:
|
||||
glabel clear_area_flags
|
||||
/* 0DBA90 80145390 3C028007 */ lui $v0, 0x8007
|
||||
/* 0DBA94 80145394 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0DBA98 80145398 8442008A */ lh $v0, 0x8a($v0)
|
||||
@ -70,7 +70,7 @@ clear_area_flags:
|
||||
/* 0DBAD8 801453D8 03E00008 */ jr $ra
|
||||
/* 0DBADC 801453DC 00000000 */ nop
|
||||
|
||||
clear_global_flag:
|
||||
glabel clear_global_flag
|
||||
/* 0DBAE0 801453E0 3C02F8D8 */ lui $v0, 0xf8d8
|
||||
/* 0DBAE4 801453E4 3442F200 */ ori $v0, $v0, 0xf200
|
||||
/* 0DBAE8 801453E8 0044102A */ slt $v0, $v0, $a0
|
||||
@ -103,7 +103,7 @@ clear_global_flag:
|
||||
/* 0DBB48 80145448 03E00008 */ jr $ra
|
||||
/* 0DBB4C 8014544C 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
set_global_flag:
|
||||
glabel set_global_flag
|
||||
/* 0DBB50 80145450 3C02F8D8 */ lui $v0, 0xf8d8
|
||||
/* 0DBB54 80145454 3442F200 */ ori $v0, $v0, 0xf200
|
||||
/* 0DBB58 80145458 0044102A */ slt $v0, $v0, $a0
|
||||
@ -135,7 +135,7 @@ set_global_flag:
|
||||
/* 0DBBB4 801454B4 03E00008 */ jr $ra
|
||||
/* 0DBBB8 801454B8 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
get_global_flag:
|
||||
glabel get_global_flag
|
||||
/* 0DBBBC 801454BC 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 0DBBC0 801454C0 3C02F8D8 */ lui $v0, 0xf8d8
|
||||
/* 0DBBC4 801454C4 3442F200 */ ori $v0, $v0, 0xf200
|
||||
@ -165,7 +165,7 @@ get_global_flag:
|
||||
/* 0DBC18 80145518 03E00008 */ jr $ra
|
||||
/* 0DBC1C 8014551C 00000000 */ nop
|
||||
|
||||
set_global_byte:
|
||||
glabel set_global_byte
|
||||
/* 0DBC20 80145520 3C02800E */ lui $v0, 0x800e
|
||||
/* 0DBC24 80145524 2442ACC0 */ addiu $v0, $v0, -0x5340
|
||||
/* 0DBC28 80145528 00822021 */ addu $a0, $a0, $v0
|
||||
@ -173,14 +173,14 @@ set_global_byte:
|
||||
/* 0DBC30 80145530 03E00008 */ jr $ra
|
||||
/* 0DBC34 80145534 A08510B0 */ sb $a1, 0x10b0($a0)
|
||||
|
||||
get_global_byte:
|
||||
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
|
||||
|
||||
clear_area_flag:
|
||||
glabel clear_area_flag
|
||||
/* 0DBC4C 8014554C 04810002 */ bgez $a0, .L80145558
|
||||
/* 0DBC50 80145550 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 0DBC54 80145554 2482001F */ addiu $v0, $a0, 0x1f
|
||||
@ -205,7 +205,7 @@ clear_area_flag:
|
||||
/* 0DBC98 80145598 03E00008 */ jr $ra
|
||||
/* 0DBC9C 8014559C 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
set_area_flag:
|
||||
glabel set_area_flag
|
||||
/* 0DBCA0 801455A0 04810002 */ bgez $a0, .L801455AC
|
||||
/* 0DBCA4 801455A4 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 0DBCA8 801455A8 2482001F */ addiu $v0, $a0, 0x1f
|
||||
@ -229,7 +229,7 @@ set_area_flag:
|
||||
/* 0DBCE8 801455E8 03E00008 */ jr $ra
|
||||
/* 0DBCEC 801455EC 0060102D */ daddu $v0, $v1, $zero
|
||||
|
||||
get_area_flag:
|
||||
glabel get_area_flag
|
||||
/* 0DBCF0 801455F0 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 0DBCF4 801455F4 04410002 */ bgez $v0, .L80145600
|
||||
/* 0DBCF8 801455F8 0040182D */ daddu $v1, $v0, $zero
|
||||
@ -251,7 +251,7 @@ get_area_flag:
|
||||
/* 0DBD30 80145630 03E00008 */ jr $ra
|
||||
/* 0DBD34 80145634 00000000 */ nop
|
||||
|
||||
set_area_byte:
|
||||
glabel set_area_byte
|
||||
/* 0DBD38 80145638 3C02800E */ lui $v0, 0x800e
|
||||
/* 0DBD3C 8014563C 2442ACC0 */ addiu $v0, $v0, -0x5340
|
||||
/* 0DBD40 80145640 00822021 */ addu $a0, $a0, $v0
|
||||
@ -259,7 +259,7 @@ set_area_byte:
|
||||
/* 0DBD48 80145648 03E00008 */ jr $ra
|
||||
/* 0DBD4C 8014564C A08512D0 */ sb $a1, 0x12d0($a0)
|
||||
|
||||
get_area_byte:
|
||||
glabel get_area_byte
|
||||
/* 0DBD50 80145650 3C02800E */ lui $v0, 0x800e
|
||||
/* 0DBD54 80145654 00441021 */ addu $v0, $v0, $a0
|
||||
/* 0DBD58 80145658 8042BF90 */ lb $v0, -0x4070($v0)
|
||||
|
@ -6,18 +6,18 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80145670, "ax"
|
||||
|
||||
default_trigger_function_handler:
|
||||
glabel default_trigger_function_handler
|
||||
/* 0DBD70 80145670 8C820000 */ lw $v0, ($a0)
|
||||
/* 0DBD74 80145674 34420002 */ ori $v0, $v0, 2
|
||||
/* 0DBD78 80145678 03E00008 */ jr $ra
|
||||
/* 0DBD7C 8014567C AC820000 */ sw $v0, ($a0)
|
||||
|
||||
clear_trigger_data:
|
||||
glabel clear_trigger_data
|
||||
/* 0DBD80 80145680 3C028007 */ lui $v0, 0x8007
|
||||
/* 0DBD84 80145684 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0DBD88 80145688 80420070 */ lb $v0, 0x70($v0)
|
||||
@ -65,7 +65,7 @@ clear_trigger_data:
|
||||
/* 0DBE20 80145720 03E00008 */ jr $ra
|
||||
/* 0DBE24 80145724 AC800024 */ sw $zero, 0x24($a0)
|
||||
|
||||
init_trigger_list:
|
||||
glabel init_trigger_list
|
||||
/* 0DBE28 80145728 3C028007 */ lui $v0, 0x8007
|
||||
/* 0DBE2C 8014572C 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0DBE30 80145730 80420070 */ lb $v0, 0x70($v0)
|
||||
@ -87,7 +87,7 @@ init_trigger_list:
|
||||
/* 0DBE64 80145764 03E00008 */ jr $ra
|
||||
/* 0DBE68 80145768 00000000 */ nop
|
||||
|
||||
create_trigger:
|
||||
glabel create_trigger
|
||||
/* 0DBE6C 8014576C 3C038016 */ lui $v1, 0x8016
|
||||
/* 0DBE70 80145770 8C639390 */ lw $v1, -0x6c70($v1)
|
||||
/* 0DBE74 80145774 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -159,7 +159,7 @@ create_trigger:
|
||||
/* 0DBF58 80145858 03E00008 */ jr $ra
|
||||
/* 0DBF5C 8014585C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
update_triggers:
|
||||
glabel update_triggers
|
||||
/* 0DBF60 80145860 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0DBF64 80145864 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 0DBF68 80145868 3C128016 */ lui $s2, 0x8016
|
||||
@ -412,7 +412,7 @@ update_triggers:
|
||||
/* 0DC2EC 80145BEC 03E00008 */ jr $ra
|
||||
/* 0DC2F0 80145BF0 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
delete_trigger:
|
||||
glabel delete_trigger
|
||||
/* 0DC2F4 80145BF4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0DC2F8 80145BF8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0DC2FC 80145BFC 3C118016 */ lui $s1, 0x8016
|
||||
@ -447,7 +447,7 @@ delete_trigger:
|
||||
/* 0DC364 80145C64 03E00008 */ jr $ra
|
||||
/* 0DC368 80145C68 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
is_trigger_bound:
|
||||
glabel is_trigger_bound
|
||||
/* 0DC36C 80145C6C 0000402D */ daddu $t0, $zero, $zero
|
||||
/* 0DC370 80145C70 3C078016 */ lui $a3, 0x8016
|
||||
/* 0DC374 80145C74 8CE79390 */ lw $a3, -0x6c70($a3)
|
||||
@ -478,7 +478,7 @@ is_trigger_bound:
|
||||
/* 0DC3C8 80145CC8 03E00008 */ jr $ra
|
||||
/* 0DC3CC 80145CCC 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
get_trigger_by_id:
|
||||
glabel get_trigger_by_id
|
||||
/* 0DC3D0 80145CD0 3C028016 */ lui $v0, 0x8016
|
||||
/* 0DC3D4 80145CD4 8C429390 */ lw $v0, -0x6c70($v0)
|
||||
/* 0DC3D8 80145CD8 00042080 */ sll $a0, $a0, 2
|
||||
@ -486,7 +486,7 @@ get_trigger_by_id:
|
||||
/* 0DC3E0 80145CE0 03E00008 */ jr $ra
|
||||
/* 0DC3E4 80145CE4 8C820000 */ lw $v0, ($a0)
|
||||
|
||||
func_80145CE8:
|
||||
glabel func_80145CE8
|
||||
/* 0DC3E8 80145CE8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DC3EC 80145CEC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0DC3F0 80145CF0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80145D70, "ax"
|
||||
|
||||
load_map_bg:
|
||||
glabel load_map_bg
|
||||
/* 0DC470 80145D70 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0DC474 80145D74 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0DC478 80145D78 1080001B */ beqz $a0, .L80145DE8
|
||||
@ -49,7 +49,7 @@ load_map_bg:
|
||||
/* 0DC4F0 80145DF0 03E00008 */ jr $ra
|
||||
/* 0DC4F4 80145DF4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80145DF8:
|
||||
glabel func_80145DF8
|
||||
/* 0DC4F8 80145DF8 3C028007 */ lui $v0, 0x8007
|
||||
/* 0DC4FC 80145DFC 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0DC500 80145E00 94430148 */ lhu $v1, 0x148($v0)
|
||||
@ -63,7 +63,7 @@ func_80145DF8:
|
||||
/* 0DC520 80145E20 03E00008 */ jr $ra
|
||||
/* 0DC524 80145E24 A4430148 */ sh $v1, 0x148($v0)
|
||||
|
||||
read_background_size:
|
||||
glabel read_background_size
|
||||
/* 0DC528 80145E28 3C038007 */ lui $v1, 0x8007
|
||||
/* 0DC52C 80145E2C 8C63419C */ lw $v1, 0x419c($v1)
|
||||
/* 0DC530 80145E30 9482000C */ lhu $v0, 0xc($a0)
|
||||
@ -83,7 +83,7 @@ read_background_size:
|
||||
/* 0DC568 80145E68 03E00008 */ jr $ra
|
||||
/* 0DC56C 80145E6C AC640158 */ sw $a0, 0x158($v1)
|
||||
|
||||
set_background_size:
|
||||
glabel set_background_size
|
||||
/* 0DC570 80145E70 3C028007 */ lui $v0, 0x8007
|
||||
/* 0DC574 80145E74 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0DC578 80145E78 94430148 */ lhu $v1, 0x148($v0)
|
||||
@ -95,7 +95,7 @@ set_background_size:
|
||||
/* 0DC590 80145E90 03E00008 */ jr $ra
|
||||
/* 0DC594 80145E94 A4430148 */ sh $v1, 0x148($v0)
|
||||
|
||||
func_80145E98:
|
||||
glabel func_80145E98
|
||||
/* 0DC598 80145E98 3082FFFF */ andi $v0, $a0, 0xffff
|
||||
/* 0DC59C 80145E9C 00A22823 */ subu $a1, $a1, $v0
|
||||
/* 0DC5A0 80145EA0 00A60018 */ mult $a1, $a2
|
||||
@ -108,7 +108,7 @@ func_80145E98:
|
||||
/* 0DC5B8 80145EB8 03E00008 */ jr $ra
|
||||
/* 0DC5BC 80145EBC 3042FFFF */ andi $v0, $v0, 0xffff
|
||||
|
||||
func_80145EC0:
|
||||
glabel func_80145EC0
|
||||
/* 0DC5C0 80145EC0 27BDFF48 */ addiu $sp, $sp, -0xb8
|
||||
/* 0DC5C4 80145EC4 AFB00080 */ sw $s0, 0x80($sp)
|
||||
/* 0DC5C8 80145EC8 0000802D */ daddu $s0, $zero, $zero
|
||||
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
UpdateMusicPlayers:
|
||||
glabel UpdateMusicPlayers
|
||||
/* 0DD964 80147264 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DD968 80147268 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0DD96C 8014726C 3C108016 */ lui $s0, 0x8016
|
||||
|
@ -1,9 +1,9 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.include "globals.inc"
|
||||
.include "include/macro.inc"
|
||||
|
||||
play_ambient_sounds:
|
||||
glabel play_ambient_sounds
|
||||
/* 0DDA68 80147368 3C028007 */ lui $v0, 0x8007
|
||||
/* 0DDA6C 8014736C 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0DDA70 80147370 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text801473F0, "ax"
|
||||
|
||||
func_801473F0:
|
||||
glabel func_801473F0
|
||||
/* 0DDAF0 801473F0 3C038016 */ lui $v1, 0x8016
|
||||
/* 0DDAF4 801473F4 24639D50 */ addiu $v1, $v1, -0x62b0
|
||||
/* 0DDAF8 801473F8 2402003F */ addiu $v0, $zero, 0x3f
|
||||
@ -23,7 +23,7 @@ func_801473F0:
|
||||
/* 0DDB0C 8014740C 03E00008 */ jr $ra
|
||||
/* 0DDB10 80147410 00000000 */ nop
|
||||
|
||||
func_80147414:
|
||||
glabel func_80147414
|
||||
/* 0DDB14 80147414 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0DDB18 80147418 3C058016 */ lui $a1, 0x8016
|
||||
/* 0DDB1C 8014741C 24A59D50 */ addiu $a1, $a1, -0x62b0
|
||||
@ -198,7 +198,7 @@ func_80147414:
|
||||
/* 0DDD90 80147690 03E00008 */ jr $ra
|
||||
/* 0DDD94 80147694 A0820000 */ sb $v0, ($a0)
|
||||
|
||||
func_80147698:
|
||||
glabel func_80147698
|
||||
/* 0DDD98 80147698 27BDFF10 */ addiu $sp, $sp, -0xf0
|
||||
/* 0DDD9C 8014769C AFB700DC */ sw $s7, 0xdc($sp)
|
||||
/* 0DDDA0 801476A0 00A0B82D */ daddu $s7, $a1, $zero
|
||||
@ -481,7 +481,7 @@ func_80147698:
|
||||
/* 0DE1BC 80147ABC 03E00008 */ jr $ra
|
||||
/* 0DE1C0 80147AC0 27BD00F0 */ addiu $sp, $sp, 0xf0
|
||||
|
||||
func_80147AC4:
|
||||
glabel func_80147AC4
|
||||
/* 0DE1C4 80147AC4 27BDFED0 */ addiu $sp, $sp, -0x130
|
||||
/* 0DE1C8 80147AC8 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 0DE1CC 80147ACC 2404FFFF */ addiu $a0, $zero, -1
|
||||
@ -615,7 +615,7 @@ func_80147AC4:
|
||||
/* 0DE3C0 80147CC0 03E00008 */ jr $ra
|
||||
/* 0DE3C4 80147CC4 27BD0130 */ addiu $sp, $sp, 0x130
|
||||
|
||||
func_80147CC8:
|
||||
glabel func_80147CC8
|
||||
/* 0DE3C8 80147CC8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0DE3CC 80147CCC 0080582D */ daddu $t3, $a0, $zero
|
||||
/* 0DE3D0 80147CD0 3C0A8016 */ lui $t2, 0x8016
|
||||
@ -660,7 +660,7 @@ func_80147CC8:
|
||||
/* 0DE468 80147D68 03E00008 */ jr $ra
|
||||
/* 0DE46C 80147D6C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80147D70:
|
||||
glabel func_80147D70
|
||||
/* 0DE470 80147D70 30A200FF */ andi $v0, $a1, 0xff
|
||||
/* 0DE474 80147D74 2C420041 */ sltiu $v0, $v0, 0x41
|
||||
/* 0DE478 80147D78 14400002 */ bnez $v0, .L80147D84
|
||||
@ -723,6 +723,7 @@ func_80147D70:
|
||||
/* 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
|
||||
@ -738,7 +739,7 @@ func_80147D70:
|
||||
/* 0DE574 80147E74 03E00008 */ jr $ra
|
||||
/* 0DE578 80147E78 00000000 */ nop
|
||||
|
||||
func_80147E7C:
|
||||
glabel func_80147E7C
|
||||
/* 0DE57C 80147E7C 3C028016 */ lui $v0, 0x8016
|
||||
/* 0DE580 80147E80 24429D50 */ addiu $v0, $v0, -0x62b0
|
||||
/* 0DE584 80147E84 00042140 */ sll $a0, $a0, 5
|
||||
@ -761,7 +762,7 @@ func_80147E7C:
|
||||
/* 0DE5BC 80147EBC 03E00008 */ jr $ra
|
||||
/* 0DE5C0 80147EC0 00000000 */ nop
|
||||
|
||||
func_80147EC4:
|
||||
glabel func_80147EC4
|
||||
/* 0DE5C4 80147EC4 3C068016 */ lui $a2, 0x8016
|
||||
/* 0DE5C8 80147EC8 24C69D50 */ addiu $a2, $a2, -0x62b0
|
||||
/* 0DE5CC 80147ECC 0000282D */ daddu $a1, $zero, $zero
|
||||
@ -793,7 +794,7 @@ func_80147EC4:
|
||||
/* 0DE628 80147F28 03E00008 */ jr $ra
|
||||
/* 0DE62C 80147F2C 00000000 */ nop
|
||||
|
||||
func_80147F30:
|
||||
glabel func_80147F30
|
||||
/* 0DE630 80147F30 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0DE634 80147F34 AFB1002C */ sw $s1, 0x2c($sp)
|
||||
/* 0DE638 80147F38 0080882D */ daddu $s1, $a0, $zero
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80148040, "ax"
|
||||
|
||||
func_80148040:
|
||||
glabel func_80148040
|
||||
/* 0DE740 80148040 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DE744 80148044 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0DE748 80148048 0C05203C */ jal func_801480F0
|
||||
@ -58,7 +58,7 @@ func_80148040:
|
||||
/* 0DE7E8 801480E8 03E00008 */ jr $ra
|
||||
/* 0DE7EC 801480EC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_801480F0:
|
||||
glabel func_801480F0
|
||||
/* 0DE7F0 801480F0 3C028007 */ lui $v0, 0x8007
|
||||
/* 0DE7F4 801480F4 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0DE7F8 801480F8 80420070 */ lb $v0, 0x70($v0)
|
||||
@ -117,7 +117,7 @@ func_801480F0:
|
||||
/* 0DE8BC 801481BC 03E00008 */ jr $ra
|
||||
/* 0DE8C0 801481C0 00000000 */ nop
|
||||
|
||||
func_801481C4:
|
||||
glabel func_801481C4
|
||||
/* 0DE8C4 801481C4 27BDFF08 */ addiu $sp, $sp, -0xf8
|
||||
/* 0DE8C8 801481C8 AFB300AC */ sw $s3, 0xac($sp)
|
||||
/* 0DE8CC 801481CC 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -662,7 +662,7 @@ func_801481C4:
|
||||
/* 0DF0B0 801489B0 03E00008 */ jr $ra
|
||||
/* 0DF0B4 801489B4 27BD00F8 */ addiu $sp, $sp, 0xf8
|
||||
|
||||
func_801489B8:
|
||||
glabel func_801489B8
|
||||
/* 0DF0B8 801489B8 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
/* 0DF0BC 801489BC F7B60048 */ sdc1 $f22, 0x48($sp)
|
||||
/* 0DF0C0 801489C0 C7B60088 */ lwc1 $f22, 0x88($sp)
|
||||
@ -1208,7 +1208,7 @@ func_801489B8:
|
||||
/* 0DF8DC 801491DC 03E00008 */ jr $ra
|
||||
/* 0DF8E0 801491E0 27BD0070 */ addiu $sp, $sp, 0x70
|
||||
|
||||
func_801491E4:
|
||||
glabel func_801491E4
|
||||
/* 0DF8E4 801491E4 3C06800A */ lui $a2, 0x800a
|
||||
/* 0DF8E8 801491E8 24C6A66C */ addiu $a2, $a2, -0x5994
|
||||
/* 0DF8EC 801491EC 3C02FA00 */ lui $v0, 0xfa00
|
||||
@ -1240,7 +1240,7 @@ func_801491E4:
|
||||
/* 0DF948 80149248 ACA30004 */ sw $v1, 4($a1)
|
||||
|
||||
/* 0DF94C 8014924C 00000000 */ nop
|
||||
func_80149250:
|
||||
glabel func_80149250
|
||||
/* 0DF950 80149250 44860000 */ mtc1 $a2, $f0
|
||||
/* 0DF954 80149254 3C048007 */ lui $a0, 0x8007
|
||||
/* 0DF958 80149258 8C847410 */ lw $a0, 0x7410($a0)
|
||||
@ -1503,7 +1503,7 @@ func_80149250:
|
||||
/* 0DFCF8 801495F8 03E00008 */ jr $ra
|
||||
/* 0DFCFC 801495FC 27BD0068 */ addiu $sp, $sp, 0x68
|
||||
|
||||
func_80149600:
|
||||
glabel func_80149600
|
||||
/* 0DFD00 80149600 3C018015 */ lui $at, 0x8015
|
||||
/* 0DFD04 80149604 A4201340 */ sh $zero, 0x1340($at)
|
||||
/* 0DFD08 80149608 3C018015 */ lui $at, 0x8015
|
||||
@ -1511,7 +1511,7 @@ func_80149600:
|
||||
/* 0DFD10 80149610 03E00008 */ jr $ra
|
||||
/* 0DFD14 80149614 00000000 */ nop
|
||||
|
||||
func_80149618:
|
||||
glabel func_80149618
|
||||
/* 0DFD18 80149618 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DFD1C 8014961C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0DFD20 80149620 3C108016 */ lui $s0, 0x8016
|
||||
@ -1535,7 +1535,7 @@ func_80149618:
|
||||
/* 0DFD68 80149668 03E00008 */ jr $ra
|
||||
/* 0DFD6C 8014966C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80149670:
|
||||
glabel func_80149670
|
||||
/* 0DFD70 80149670 3C028007 */ lui $v0, 0x8007
|
||||
/* 0DFD74 80149674 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0DFD78 80149678 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -1594,7 +1594,7 @@ func_80149670:
|
||||
/* 0DFE2C 8014972C 03E00008 */ jr $ra
|
||||
/* 0DFE30 80149730 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_80149734:
|
||||
glabel func_80149734
|
||||
/* 0DFE34 80149734 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0DFE38 80149738 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 0DFE3C 8014973C 3C118016 */ lui $s1, 0x8016
|
||||
@ -1649,7 +1649,7 @@ func_80149734:
|
||||
/* 0DFEF4 801497F4 03E00008 */ jr $ra
|
||||
/* 0DFEF8 801497F8 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_801497FC:
|
||||
glabel func_801497FC
|
||||
/* 0DFEFC 801497FC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0DFF00 80149800 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0DFF04 80149804 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
@ -1662,13 +1662,13 @@ func_801497FC:
|
||||
/* 0DFF20 80149820 03E00008 */ jr $ra
|
||||
/* 0DFF24 80149824 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80149828:
|
||||
glabel func_80149828
|
||||
/* 0DFF28 80149828 3C028016 */ lui $v0, 0x8016
|
||||
/* 0DFF2C 8014982C 8C429AD4 */ lw $v0, -0x652c($v0)
|
||||
/* 0DFF30 80149830 03E00008 */ jr $ra
|
||||
/* 0DFF34 80149834 00000000 */ nop
|
||||
|
||||
func_80149838:
|
||||
glabel func_80149838
|
||||
/* 0DFF38 80149838 3C028007 */ lui $v0, 0x8007
|
||||
/* 0DFF3C 8014983C 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0DFF40 80149840 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -1710,7 +1710,7 @@ func_80149838:
|
||||
/* 0DFFBC 801498BC 03E00008 */ jr $ra
|
||||
/* 0DFFC0 801498C0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_801498C4:
|
||||
glabel func_801498C4
|
||||
/* 0DFFC4 801498C4 3C038016 */ lui $v1, 0x8016
|
||||
/* 0DFFC8 801498C8 8C639AD0 */ lw $v1, -0x6530($v1)
|
||||
/* 0DFFCC 801498CC 0000282D */ daddu $a1, $zero, $zero
|
||||
@ -1733,7 +1733,7 @@ func_801498C4:
|
||||
/* 0E0000 80149900 03E00008 */ jr $ra
|
||||
/* 0E0004 80149904 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
func_80149908:
|
||||
glabel func_80149908
|
||||
/* 0E0008 80149908 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E000C 8014990C 3C038016 */ lui $v1, 0x8016
|
||||
/* 0E0010 80149910 8C639AD0 */ lw $v1, -0x6530($v1)
|
||||
@ -1764,7 +1764,7 @@ func_80149908:
|
||||
/* 0E006C 8014996C 03E00008 */ jr $ra
|
||||
/* 0E0070 80149970 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_80149974:
|
||||
glabel func_80149974
|
||||
/* 0E0074 80149974 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E0078 80149978 44861000 */ mtc1 $a2, $f2
|
||||
/* 0E007C 8014997C 44872000 */ mtc1 $a3, $f4
|
||||
@ -1834,7 +1834,7 @@ func_80149974:
|
||||
/* 0E0164 80149A64 03E00008 */ jr $ra
|
||||
/* 0E0168 80149A68 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_80149A6C:
|
||||
glabel func_80149A6C
|
||||
/* 0E016C 80149A6C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E0170 80149A70 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E0174 80149A74 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
@ -1856,7 +1856,7 @@ func_80149A6C:
|
||||
/* 0E01B0 80149AB0 03E00008 */ jr $ra
|
||||
/* 0E01B4 80149AB4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
_play_sound:
|
||||
glabel _play_sound
|
||||
/* 0E01B8 80149AB8 3C028007 */ lui $v0, 0x8007
|
||||
/* 0E01BC 80149ABC 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0E01C0 80149AC0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -1985,7 +1985,7 @@ _play_sound:
|
||||
/* 0E0364 80149C64 03E00008 */ jr $ra
|
||||
/* 0E0368 80149C68 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
stop_sound:
|
||||
glabel stop_sound
|
||||
/* 0E036C 80149C6C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E0370 80149C70 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0E0374 80149C74 0481000A */ bgez $a0, .L80149CA0
|
||||
@ -2008,7 +2008,7 @@ stop_sound:
|
||||
/* 0E03AC 80149CAC 03E00008 */ jr $ra
|
||||
/* 0E03B0 80149CB0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
play_sound:
|
||||
glabel play_sound
|
||||
/* 0E03B4 80149CB4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E03B8 80149CB8 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 0E03BC 80149CBC 00A0302D */ daddu $a2, $a1, $zero
|
||||
@ -2019,7 +2019,7 @@ play_sound:
|
||||
/* 0E03D0 80149CD0 03E00008 */ jr $ra
|
||||
/* 0E03D4 80149CD4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
play_sound_at_player:
|
||||
glabel play_sound_at_player
|
||||
/* 0E03D8 80149CD8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E03DC 80149CDC 3C028011 */ lui $v0, 0x8011
|
||||
/* 0E03E0 80149CE0 2442EFC8 */ addiu $v0, $v0, -0x1038
|
||||
@ -2033,7 +2033,7 @@ play_sound_at_player:
|
||||
/* 0E0400 80149D00 03E00008 */ jr $ra
|
||||
/* 0E0404 80149D04 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
play_sound_at_npc:
|
||||
glabel play_sound_at_npc
|
||||
/* 0E0408 80149D08 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0E040C 80149D0C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 0E0410 80149D10 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -2057,7 +2057,7 @@ play_sound_at_npc:
|
||||
/* 0E0454 80149D54 03E00008 */ jr $ra
|
||||
/* 0E0458 80149D58 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
play_sound_at_position:
|
||||
glabel play_sound_at_position
|
||||
/* 0E045C 80149D5C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0E0460 80149D60 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 0E0464 80149D64 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -2104,7 +2104,7 @@ play_sound_at_position:
|
||||
/* 0E04FC 80149DFC 03E00008 */ jr $ra
|
||||
/* 0E0500 80149E00 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_80149E04:
|
||||
glabel func_80149E04
|
||||
/* 0E0504 80149E04 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0E0508 80149E08 44860000 */ mtc1 $a2, $f0
|
||||
/* 0E050C 80149E0C 8FA3003C */ lw $v1, 0x3c($sp)
|
||||
@ -2208,7 +2208,7 @@ func_80149E04:
|
||||
/* 0E0650 80149F50 03E00008 */ jr $ra
|
||||
/* 0E0654 80149F54 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_80149F58:
|
||||
glabel func_80149F58
|
||||
/* 0E0658 80149F58 44860000 */ mtc1 $a2, $f0
|
||||
/* 0E065C 80149F5C 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0E0660 80149F60 AFB00030 */ sw $s0, 0x30($sp)
|
||||
@ -2371,7 +2371,7 @@ func_80149F58:
|
||||
/* 0E08AC 8014A1AC 03E00008 */ jr $ra
|
||||
/* 0E08B0 8014A1B0 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
func_8014A1B4:
|
||||
glabel func_8014A1B4
|
||||
/* 0E08B4 8014A1B4 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 0E08B8 8014A1B8 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 0E08BC 8014A1BC 00E0802D */ daddu $s0, $a3, $zero
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text8014A430, "ax"
|
||||
|
||||
get_default_variation_for_song:
|
||||
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
|
||||
@ -42,7 +42,7 @@ get_default_variation_for_song:
|
||||
/* 0E0B90 8014A490 03E00008 */ jr $ra
|
||||
/* 0E0B94 8014A494 2402FFFF */ addiu $v0, $zero, -1
|
||||
|
||||
func_8014A498:
|
||||
glabel func_8014A498
|
||||
/* 0E0B98 8014A498 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E0B9C 8014A49C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0E0BA0 8014A4A0 0000282D */ daddu $a1, $zero, $zero
|
||||
@ -83,7 +83,7 @@ func_8014A498:
|
||||
/* 0E0C24 8014A524 03E00008 */ jr $ra
|
||||
/* 0E0C28 8014A528 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8014A52C:
|
||||
glabel func_8014A52C
|
||||
/* 0E0C2C 8014A52C 24020008 */ addiu $v0, $zero, 8
|
||||
/* 0E0C30 8014A530 3C018016 */ lui $at, 0x8016
|
||||
/* 0E0C34 8014A534 A4229AE2 */ sh $v0, -0x651e($at)
|
||||
@ -92,7 +92,7 @@ func_8014A52C:
|
||||
/* 0E0C40 8014A540 03E00008 */ jr $ra
|
||||
/* 0E0C44 8014A544 00000000 */ nop
|
||||
|
||||
func_8014A548:
|
||||
glabel func_8014A548
|
||||
/* 0E0C48 8014A548 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0E0C4C 8014A54C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 0E0C50 8014A550 3C118016 */ lui $s1, 0x8016
|
||||
@ -287,7 +287,7 @@ func_8014A548:
|
||||
/* 0E0ED8 8014A7D8 03E00008 */ jr $ra
|
||||
/* 0E0EDC 8014A7DC 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
_set_music_track:
|
||||
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
|
||||
@ -376,7 +376,7 @@ _set_music_track:
|
||||
/* 0E1010 8014A910 03E00008 */ jr $ra
|
||||
/* 0E1014 8014A914 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
set_music_track:
|
||||
glabel set_music_track
|
||||
/* 0E1018 8014A918 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E101C 8014A91C 3C038016 */ lui $v1, 0x8016
|
||||
/* 0E1020 8014A920 24639AF0 */ addiu $v1, $v1, -0x6510
|
||||
@ -397,7 +397,7 @@ set_music_track:
|
||||
/* 0E105C 8014A95C 03E00008 */ jr $ra
|
||||
/* 0E1060 8014A960 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8014A964:
|
||||
glabel func_8014A964
|
||||
/* 0E1064 8014A964 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0E1068 8014A968 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 0E106C 8014A96C 00A0A02D */ daddu $s4, $a1, $zero
|
||||
@ -466,7 +466,7 @@ func_8014A964:
|
||||
/* 0E114C 8014AA4C 03E00008 */ jr $ra
|
||||
/* 0E1150 8014AA50 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
func_8014AA54:
|
||||
glabel func_8014AA54
|
||||
/* 0E1154 8014AA54 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E1158 8014AA58 3C028016 */ lui $v0, 0x8016
|
||||
/* 0E115C 8014AA5C 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
@ -526,7 +526,7 @@ func_8014AA54:
|
||||
/* 0E1204 8014AB04 03E00008 */ jr $ra
|
||||
/* 0E1208 8014AB08 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8014AB0C:
|
||||
glabel func_8014AB0C
|
||||
/* 0E120C 8014AB0C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E1210 8014AB10 3C028016 */ lui $v0, 0x8016
|
||||
/* 0E1214 8014AB14 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
@ -602,7 +602,7 @@ func_8014AB0C:
|
||||
/* 0E1300 8014AC00 03E00008 */ jr $ra
|
||||
/* 0E1304 8014AC04 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_8014AC08:
|
||||
glabel func_8014AC08
|
||||
/* 0E1308 8014AC08 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E130C 8014AC0C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 0E1310 8014AC10 2405FFFF */ addiu $a1, $zero, -1
|
||||
@ -625,27 +625,27 @@ func_8014AC08:
|
||||
/* 0E1354 8014AC54 03E00008 */ jr $ra
|
||||
/* 0E1358 8014AC58 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8014AC5C:
|
||||
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
|
||||
|
||||
func_8014AC70:
|
||||
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
|
||||
|
||||
func_8014AC84:
|
||||
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
|
||||
|
||||
func_8014AC94:
|
||||
glabel func_8014AC94
|
||||
/* 0E1394 8014AC94 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E1398 8014AC98 3C048015 */ lui $a0, 0x8015
|
||||
/* 0E139C 8014AC9C 2484F738 */ addiu $a0, $a0, -0x8c8
|
||||
@ -724,7 +724,7 @@ func_8014AC94:
|
||||
/* 0E149C 8014AD9C 03E00008 */ jr $ra
|
||||
/* 0E14A0 8014ADA0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8014ADA4:
|
||||
glabel func_8014ADA4
|
||||
/* 0E14A4 8014ADA4 3C028007 */ lui $v0, 0x8007
|
||||
/* 0E14A8 8014ADA8 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0E14AC 8014ADAC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -748,7 +748,7 @@ func_8014ADA4:
|
||||
/* 0E14F0 8014ADF0 03E00008 */ jr $ra
|
||||
/* 0E14F4 8014ADF4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8014ADF8:
|
||||
glabel func_8014ADF8
|
||||
/* 0E14F8 8014ADF8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E14FC 8014ADFC 0080402D */ daddu $t0, $a0, $zero
|
||||
/* 0E1500 8014AE00 3C028007 */ lui $v0, 0x8007
|
||||
@ -780,7 +780,7 @@ func_8014ADF8:
|
||||
/* 0E1564 8014AE64 03E00008 */ jr $ra
|
||||
/* 0E1568 8014AE68 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8014AE6C:
|
||||
glabel func_8014AE6C
|
||||
/* 0E156C 8014AE6C 3C028007 */ lui $v0, 0x8007
|
||||
/* 0E1570 8014AE70 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0E1574 8014AE74 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -820,7 +820,7 @@ func_8014AE6C:
|
||||
/* 0E15F0 8014AEF0 03E00008 */ jr $ra
|
||||
/* 0E15F4 8014AEF4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8014AEF8:
|
||||
glabel func_8014AEF8
|
||||
/* 0E15F8 8014AEF8 3C028007 */ lui $v0, 0x8007
|
||||
/* 0E15FC 8014AEFC 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0E1600 8014AF00 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -860,7 +860,7 @@ func_8014AEF8:
|
||||
/* 0E1684 8014AF84 03E00008 */ jr $ra
|
||||
/* 0E1688 8014AF88 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_8014AF8C:
|
||||
glabel func_8014AF8C
|
||||
/* 0E168C 8014AF8C 3C028016 */ lui $v0, 0x8016
|
||||
/* 0E1690 8014AF90 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* 0E1694 8014AF94 AC44001C */ sw $a0, 0x1c($v0)
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802B7000, "ax"
|
||||
|
||||
func_802B7000:
|
||||
glabel func_802B7000
|
||||
/* E20EB0 802B7000 3C014387 */ lui $at, 0x4387
|
||||
/* E20EB4 802B7004 44810000 */ mtc1 $at, $f0
|
||||
/* E20EB8 802B7008 00000000 */ nop
|
||||
@ -27,7 +27,6 @@ func_802B7000:
|
||||
/* 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
|
||||
@ -41,7 +40,6 @@ func_802B7000:
|
||||
/* 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
|
||||
@ -55,7 +53,6 @@ func_802B7000:
|
||||
/* 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
|
||||
@ -65,6 +62,7 @@ func_802B7000:
|
||||
/* 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
|
||||
@ -135,17 +133,15 @@ func_802B7000:
|
||||
/* E21070 802B71C0 03E00008 */ jr $ra
|
||||
/* E21074 802B71C4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802B71C8:
|
||||
glabel func_802B71C8
|
||||
/* E21078 802B71C8 3C028011 */ lui $v0, 0x8011
|
||||
/* E2107C 802B71CC 8C42EFCC */ lw $v0, -0x1034($v0)
|
||||
/* E21080 802B71D0 27BDFF28 */ addiu $sp, $sp, -0xd8
|
||||
func_802B71D4:
|
||||
/* 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)
|
||||
func_802B71E8:
|
||||
/* E21098 802B71E8 AFB100BC */ sw $s1, 0xbc($sp)
|
||||
/* E2109C 802B71EC 30420020 */ andi $v0, $v0, 0x20
|
||||
/* E210A0 802B71F0 10400085 */ beqz $v0, .L802B7408
|
||||
@ -293,6 +289,7 @@ func_802B71E8:
|
||||
/* 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)
|
||||
@ -339,7 +336,6 @@ func_802B71E8:
|
||||
/* 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
|
||||
@ -347,7 +343,6 @@ func_802B71E8:
|
||||
/* 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
|
||||
@ -374,7 +369,6 @@ func_802B71E8:
|
||||
/* 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)
|
||||
@ -385,7 +379,6 @@ func_802B71E8:
|
||||
/* 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
|
||||
@ -402,7 +395,6 @@ func_802B71E8:
|
||||
.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
|
||||
@ -455,7 +447,6 @@ func_802B71E8:
|
||||
/* 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
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802C3000, "ax"
|
||||
|
||||
sort_scripts:
|
||||
glabel sort_scripts
|
||||
/* 0E79B0 802C3000 27BDFFF8 */ addiu $sp, $sp, -8
|
||||
/* 0E79B4 802C3004 0000682D */ daddu $t5, $zero, $zero
|
||||
/* 0E79B8 802C3008 01A0482D */ daddu $t1, $t5, $zero
|
||||
@ -102,7 +102,7 @@ sort_scripts:
|
||||
/* 0E7AF0 802C3140 03E00008 */ jr $ra
|
||||
/* 0E7AF4 802C3144 27BD0008 */ addiu $sp, $sp, 8
|
||||
|
||||
find_script_labels:
|
||||
glabel find_script_labels
|
||||
/* 0E7AF8 802C3148 0000182D */ daddu $v1, $zero, $zero
|
||||
/* 0E7AFC 802C314C 2406FFFF */ addiu $a2, $zero, -1
|
||||
/* 0E7B00 802C3150 0080282D */ daddu $a1, $a0, $zero
|
||||
@ -147,7 +147,7 @@ find_script_labels:
|
||||
/* 0E7B84 802C31D4 03E00008 */ jr $ra
|
||||
/* 0E7B88 802C31D8 00000000 */ nop
|
||||
|
||||
clear_script_list:
|
||||
glabel clear_script_list
|
||||
/* 0E7B8C 802C31DC 3C028007 */ lui $v0, 0x8007
|
||||
/* 0E7B90 802C31E0 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0E7B94 802C31E4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -223,7 +223,7 @@ clear_script_list:
|
||||
/* 0E7C94 802C32E4 03E00008 */ jr $ra
|
||||
/* 0E7C98 802C32E8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
init_script_list:
|
||||
glabel init_script_list
|
||||
/* 0E7C9C 802C32EC 3C028007 */ lui $v0, 0x8007
|
||||
/* 0E7CA0 802C32F0 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0E7CA4 802C32F4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -269,7 +269,7 @@ init_script_list:
|
||||
/* 0E7D38 802C3388 03E00008 */ jr $ra
|
||||
/* 0E7D3C 802C338C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_802C3390:
|
||||
glabel func_802C3390
|
||||
/* 0E7D40 802C3390 3C03800A */ lui $v1, 0x800a
|
||||
/* 0E7D44 802C3394 8C63A5D8 */ lw $v1, -0x5a28($v1)
|
||||
/* 0E7D48 802C3398 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
@ -294,7 +294,7 @@ func_802C3390:
|
||||
/* 0E7D88 802C33D8 03E00008 */ jr $ra
|
||||
/* 0E7D8C 802C33DC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
start_script:
|
||||
glabel start_script
|
||||
/* 0E7D90 802C33E0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0E7D94 802C33E4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E7D98 802C33E8 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -432,7 +432,7 @@ start_script:
|
||||
/* 0E7F78 802C35C8 03E00008 */ jr $ra
|
||||
/* 0E7F7C 802C35CC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
start_script_in_group:
|
||||
glabel start_script_in_group
|
||||
/* 0E7F80 802C35D0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0E7F84 802C35D4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E7F88 802C35D8 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -572,7 +572,7 @@ start_script_in_group:
|
||||
/* 0E8170 802C37C0 03E00008 */ jr $ra
|
||||
/* 0E8174 802C37C4 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
start_child_script:
|
||||
glabel start_child_script
|
||||
/* 0E8178 802C37C8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0E817C 802C37CC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E8180 802C37D0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -726,7 +726,7 @@ start_child_script:
|
||||
/* 0E83A0 802C39F0 03E00008 */ jr $ra
|
||||
/* 0E83A4 802C39F4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
func_802C39F8:
|
||||
glabel func_802C39F8
|
||||
/* 0E83A8 802C39F8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0E83AC 802C39FC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E83B0 802C3A00 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -939,7 +939,7 @@ func_802C39F8:
|
||||
/* 0E86AC 802C3CFC 03E00008 */ jr $ra
|
||||
/* 0E86B0 802C3D00 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
restart_script:
|
||||
glabel restart_script
|
||||
/* 0E86B4 802C3D04 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E86B8 802C3D08 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E86BC 802C3D0C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -969,7 +969,7 @@ restart_script:
|
||||
/* 0E871C 802C3D6C 03E00008 */ jr $ra
|
||||
/* 0E8720 802C3D70 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
update_scripts:
|
||||
glabel update_scripts
|
||||
/* 0E8724 802C3D74 3C028007 */ lui $v0, 0x8007
|
||||
/* 0E8728 802C3D78 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0E872C 802C3D7C 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
@ -1071,7 +1071,7 @@ update_scripts:
|
||||
/* 0E888C 802C3EDC 03E00008 */ jr $ra
|
||||
/* 0E8890 802C3EE0 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
func_802C3EE4:
|
||||
glabel func_802C3EE4
|
||||
/* 0E8894 802C3EE4 3C02802E */ lui $v0, 0x802e
|
||||
/* 0E8898 802C3EE8 8C42AC98 */ lw $v0, -0x5368($v0)
|
||||
/* 0E889C 802C3EEC 18400011 */ blez $v0, .L802C3F34
|
||||
@ -1097,7 +1097,7 @@ func_802C3EE4:
|
||||
/* 0E88E4 802C3F34 03E00008 */ jr $ra
|
||||
/* 0E88E8 802C3F38 00000000 */ nop
|
||||
|
||||
kill_script:
|
||||
glabel kill_script
|
||||
/* 0E88EC 802C3F3C 3C03802E */ lui $v1, 0x802e
|
||||
/* 0E88F0 802C3F40 8C63A890 */ lw $v1, -0x5770($v1)
|
||||
/* 0E88F4 802C3F44 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -1200,7 +1200,7 @@ kill_script:
|
||||
/* 0E8A54 802C40A4 03E00008 */ jr $ra
|
||||
/* 0E8A58 802C40A8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
kill_script_by_ID:
|
||||
glabel kill_script_by_ID
|
||||
/* 0E8A5C 802C40AC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E8A60 802C40B0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E8A64 802C40B4 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1230,7 +1230,7 @@ kill_script_by_ID:
|
||||
/* 0E8ABC 802C410C 03E00008 */ jr $ra
|
||||
/* 0E8AC0 802C4110 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
kill_all_scripts:
|
||||
glabel kill_all_scripts
|
||||
/* 0E8AC4 802C4114 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E8AC8 802C4118 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E8ACC 802C411C 0000802D */ daddu $s0, $zero, $zero
|
||||
@ -1254,7 +1254,7 @@ kill_all_scripts:
|
||||
/* 0E8B0C 802C415C 03E00008 */ jr $ra
|
||||
/* 0E8B10 802C4160 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
does_script_exist:
|
||||
glabel does_script_exist
|
||||
/* 0E8B14 802C4164 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 0E8B18 802C4168 3C03802E */ lui $v1, 0x802e
|
||||
/* 0E8B1C 802C416C 8C63A890 */ lw $v1, -0x5770($v1)
|
||||
@ -1276,7 +1276,7 @@ does_script_exist:
|
||||
/* 0E8B4C 802C419C 03E00008 */ jr $ra
|
||||
/* 0E8B50 802C41A0 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
does_script_exist_by_ref:
|
||||
glabel does_script_exist_by_ref
|
||||
/* 0E8B54 802C41A4 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 0E8B58 802C41A8 3C03802E */ lui $v1, 0x802e
|
||||
/* 0E8B5C 802C41AC 8C63A890 */ lw $v1, -0x5770($v1)
|
||||
@ -1294,11 +1294,11 @@ does_script_exist_by_ref:
|
||||
/* 0E8B80 802C41D0 03E00008 */ jr $ra
|
||||
/* 0E8B84 802C41D4 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
set_script_priority:
|
||||
glabel set_script_priority
|
||||
/* 0E8B88 802C41D8 03E00008 */ jr $ra
|
||||
/* 0E8B8C 802C41DC A0850003 */ sb $a1, 3($a0)
|
||||
|
||||
set_script_timescale:
|
||||
glabel set_script_timescale
|
||||
/* 0E8B90 802C41E0 3C01802E */ lui $at, 0x802e
|
||||
/* 0E8B94 802C41E4 C4209CA8 */ lwc1 $f0, -0x6358($at)
|
||||
/* 0E8B98 802C41E8 44851000 */ mtc1 $a1, $f2
|
||||
@ -1308,21 +1308,21 @@ set_script_timescale:
|
||||
/* 0E8BA8 802C41F8 03E00008 */ jr $ra
|
||||
/* 0E8BAC 802C41FC E4800150 */ swc1 $f0, 0x150($a0)
|
||||
|
||||
set_global_timespace:
|
||||
glabel set_global_timespace
|
||||
/* 0E8BB0 802C4200 3C01802E */ lui $at, 0x802e
|
||||
/* 0E8BB4 802C4204 03E00008 */ jr $ra
|
||||
/* 0E8BB8 802C4208 E42C9CA8 */ swc1 $f12, -0x6358($at)
|
||||
|
||||
get_global_timespace:
|
||||
glabel get_global_timespace
|
||||
/* 0E8BBC 802C420C 3C01802E */ lui $at, 0x802e
|
||||
/* 0E8BC0 802C4210 03E00008 */ jr $ra
|
||||
/* 0E8BC4 802C4214 C4209CA8 */ lwc1 $f0, -0x6358($at)
|
||||
|
||||
set_script_group:
|
||||
glabel set_script_group
|
||||
/* 0E8BC8 802C4218 03E00008 */ jr $ra
|
||||
/* 0E8BCC 802C421C A0850004 */ sb $a1, 4($a0)
|
||||
|
||||
bind_trigger:
|
||||
glabel bind_trigger
|
||||
/* 0E8BD0 802C4220 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 0E8BD4 802C4224 AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 0E8BD8 802C4228 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1358,7 +1358,7 @@ bind_trigger:
|
||||
/* 0E8C50 802C42A0 03E00008 */ jr $ra
|
||||
/* 0E8C54 802C42A4 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
bind_trigger_1:
|
||||
glabel bind_trigger_1
|
||||
/* 0E8C58 802C42A8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0E8C5C 802C42AC 8FA20038 */ lw $v0, 0x38($sp)
|
||||
/* 0E8C60 802C42B0 8FA8003C */ lw $t0, 0x3c($sp)
|
||||
@ -1372,7 +1372,7 @@ bind_trigger_1:
|
||||
/* 0E8C80 802C42D0 03E00008 */ jr $ra
|
||||
/* 0E8C84 802C42D4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
suspend_group_script:
|
||||
glabel suspend_group_script
|
||||
/* 0E8C88 802C42D8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E8C8C 802C42DC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E8C90 802C42E0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1419,7 +1419,7 @@ suspend_group_script:
|
||||
/* 0E8D24 802C4374 03E00008 */ jr $ra
|
||||
/* 0E8D28 802C4378 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
resume_group_script:
|
||||
glabel resume_group_script
|
||||
/* 0E8D2C 802C437C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E8D30 802C4380 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E8D34 802C4384 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1466,7 +1466,7 @@ resume_group_script:
|
||||
/* 0E8DC8 802C4418 03E00008 */ jr $ra
|
||||
/* 0E8DCC 802C441C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
suspend_all_script:
|
||||
glabel suspend_all_script
|
||||
/* 0E8DD0 802C4420 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E8DD4 802C4424 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E8DD8 802C4428 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1497,7 +1497,7 @@ suspend_all_script:
|
||||
/* 0E8E34 802C4484 03E00008 */ jr $ra
|
||||
/* 0E8E38 802C4488 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
resume_all_script:
|
||||
glabel resume_all_script
|
||||
/* 0E8E3C 802C448C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E8E40 802C4490 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E8E44 802C4494 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1528,7 +1528,7 @@ resume_all_script:
|
||||
/* 0E8EA0 802C44F0 03E00008 */ jr $ra
|
||||
/* 0E8EA4 802C44F4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
suspend_group_script_index:
|
||||
glabel suspend_group_script_index
|
||||
/* 0E8EA8 802C44F8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E8EAC 802C44FC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E8EB0 802C4500 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1562,7 +1562,7 @@ suspend_group_script_index:
|
||||
/* 0E8F18 802C4568 03E00008 */ jr $ra
|
||||
/* 0E8F1C 802C456C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
resume_group_script_index:
|
||||
glabel resume_group_script_index
|
||||
/* 0E8F20 802C4570 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E8F24 802C4574 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E8F28 802C4578 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1596,7 +1596,7 @@ resume_group_script_index:
|
||||
/* 0E8F90 802C45E0 03E00008 */ jr $ra
|
||||
/* 0E8F94 802C45E4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
suspend_all_group:
|
||||
glabel suspend_all_group
|
||||
/* 0E8F98 802C45E8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E8F9C 802C45EC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E8FA0 802C45F0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1624,7 +1624,7 @@ suspend_all_group:
|
||||
/* 0E8FF0 802C4640 03E00008 */ jr $ra
|
||||
/* 0E8FF4 802C4644 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
resume_all_group:
|
||||
glabel resume_all_group
|
||||
/* 0E8FF8 802C4648 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E8FFC 802C464C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E9000 802C4650 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1652,7 +1652,7 @@ resume_all_group:
|
||||
/* 0E9050 802C46A0 03E00008 */ jr $ra
|
||||
/* 0E9054 802C46A4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
suspend_group_others:
|
||||
glabel suspend_group_others
|
||||
/* 0E9058 802C46A8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E905C 802C46AC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E9060 802C46B0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1685,7 +1685,7 @@ suspend_group_others:
|
||||
/* 0E90C4 802C4714 03E00008 */ jr $ra
|
||||
/* 0E90C8 802C4718 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
resume_group_others:
|
||||
glabel resume_group_others
|
||||
/* 0E90CC 802C471C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E90D0 802C4720 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E90D4 802C4724 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1718,7 +1718,7 @@ resume_group_others:
|
||||
/* 0E9138 802C4788 03E00008 */ jr $ra
|
||||
/* 0E913C 802C478C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
get_script_by_index:
|
||||
glabel get_script_by_index
|
||||
/* 0E9140 802C4790 3C02802E */ lui $v0, 0x802e
|
||||
/* 0E9144 802C4794 8C42A890 */ lw $v0, -0x5770($v0)
|
||||
/* 0E9148 802C4798 00042080 */ sll $a0, $a0, 2
|
||||
@ -1726,7 +1726,7 @@ get_script_by_index:
|
||||
/* 0E9150 802C47A0 03E00008 */ jr $ra
|
||||
/* 0E9154 802C47A4 8C820000 */ lw $v0, ($a0)
|
||||
|
||||
get_script_by_id:
|
||||
glabel get_script_by_id
|
||||
/* 0E9158 802C47A8 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 0E915C 802C47AC 3C05802E */ lui $a1, 0x802e
|
||||
/* 0E9160 802C47B0 8CA5A890 */ lw $a1, -0x5770($a1)
|
||||
@ -1748,7 +1748,7 @@ get_script_by_id:
|
||||
/* 0E9190 802C47E0 03E00008 */ jr $ra
|
||||
/* 0E9194 802C47E4 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
set_script_flags:
|
||||
glabel set_script_flags
|
||||
/* 0E9198 802C47E8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E919C 802C47EC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E91A0 802C47F0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1791,7 +1791,7 @@ set_script_flags:
|
||||
/* 0E9228 802C4878 03E00008 */ jr $ra
|
||||
/* 0E922C 802C487C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
clear_script_flags:
|
||||
glabel clear_script_flags
|
||||
/* 0E9230 802C4880 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E9234 802C4884 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E9238 802C4888 0080882D */ daddu $s1, $a0, $zero
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80033540, "ax"
|
||||
|
@ -6,18 +6,18 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text800337D0, "ax"
|
||||
|
||||
func_800337D0:
|
||||
glabel func_800337D0
|
||||
/* 00EBD0 800337D0 3C028007 */ lui $v0, 0x8007
|
||||
/* 00EBD4 800337D4 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 00EBD8 800337D8 03E00008 */ jr $ra
|
||||
/* 00EBDC 800337DC A44400B6 */ sh $a0, 0xb6($v0)
|
||||
|
||||
func_800337E0:
|
||||
glabel func_800337E0
|
||||
/* 00EBE0 800337E0 3C028007 */ lui $v0, 0x8007
|
||||
/* 00EBE4 800337E4 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 00EBE8 800337E8 A44400BC */ sh $a0, 0xbc($v0)
|
||||
@ -25,7 +25,7 @@ func_800337E0:
|
||||
/* 00EBF0 800337F0 03E00008 */ jr $ra
|
||||
/* 00EBF4 800337F4 A44400B8 */ sh $a0, 0xb8($v0)
|
||||
|
||||
func_800337F8:
|
||||
glabel func_800337F8
|
||||
/* 00EBF8 800337F8 3C058007 */ lui $a1, 0x8007
|
||||
/* 00EBFC 800337FC 8CA5419C */ lw $a1, 0x419c($a1)
|
||||
/* 00EC00 80033800 84A200B6 */ lh $v0, 0xb6($a1)
|
||||
@ -44,7 +44,7 @@ func_800337F8:
|
||||
/* 00EC28 80033828 03E00008 */ jr $ra
|
||||
/* 00EC2C 8003382C 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
func_80033830:
|
||||
glabel func_80033830
|
||||
/* 00EC30 80033830 3C058007 */ lui $a1, 0x8007
|
||||
/* 00EC34 80033834 8CA5419C */ lw $a1, 0x419c($a1)
|
||||
/* 00EC38 80033838 240600FF */ addiu $a2, $zero, 0xff
|
||||
@ -66,7 +66,7 @@ func_80033830:
|
||||
/* 00EC6C 8003386C 03E00008 */ jr $ra
|
||||
/* 00EC70 80033870 0000102D */ daddu $v0, $zero, $zero
|
||||
|
||||
func_80033874:
|
||||
glabel func_80033874
|
||||
/* 00EC74 80033874 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 00EC78 80033878 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 00EC7C 8003387C 3C108007 */ lui $s0, 0x8007
|
||||
@ -91,14 +91,14 @@ func_80033874:
|
||||
/* 00ECC8 800338C8 03E00008 */ jr $ra
|
||||
/* 00ECCC 800338CC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
start_battle_countdown:
|
||||
glabel start_battle_countdown
|
||||
/* 00ECD0 800338D0 24020005 */ addiu $v0, $zero, 5
|
||||
/* 00ECD4 800338D4 3C01800A */ lui $at, 0x800a
|
||||
/* 00ECD8 800338D8 A0220900 */ sb $v0, 0x900($at)
|
||||
/* 00ECDC 800338DC 03E00008 */ jr $ra
|
||||
/* 00ECE0 800338E0 00000000 */ nop
|
||||
|
||||
step_battle:
|
||||
glabel step_battle
|
||||
/* 00ECE4 800338E4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 00ECE8 800338E8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 00ECEC 800338EC 3C10800A */ lui $s0, 0x800a
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802CA6C0, "ax"
|
||||
|
||||
SetCamEnabled:
|
||||
glabel SetCamEnabled
|
||||
/* 0EF070 802CA6C0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EF074 802CA6C4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EF078 802CA6C8 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -61,7 +61,7 @@ SetCamEnabled:
|
||||
/* 0EF11C 802CA76C 03E00008 */ jr $ra
|
||||
/* 0EF120 802CA770 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
SetCamFlag80:
|
||||
glabel SetCamFlag80
|
||||
/* 0EF124 802CA774 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EF128 802CA778 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EF12C 802CA77C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -111,7 +111,7 @@ SetCamFlag80:
|
||||
/* 0EF1D0 802CA820 03E00008 */ jr $ra
|
||||
/* 0EF1D4 802CA824 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
SetCamPerspective:
|
||||
glabel SetCamPerspective
|
||||
/* 0EF1D8 802CA828 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0EF1DC 802CA82C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EF1E0 802CA830 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -304,7 +304,7 @@ SetCamPerspective:
|
||||
/* 0EF4C0 802CAB10 03E00008 */ jr $ra
|
||||
/* 0EF4C4 802CAB14 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
SetCamViewport:
|
||||
glabel SetCamViewport
|
||||
/* 0EF4C8 802CAB18 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0EF4CC 802CAB1C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 0EF4D0 802CAB20 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -468,7 +468,7 @@ SetCamViewport:
|
||||
/* 0EF740 802CAD90 03E00008 */ jr $ra
|
||||
/* 0EF744 802CAD94 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetCamBGColor:
|
||||
glabel SetCamBGColor
|
||||
/* 0EF748 802CAD98 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EF74C 802CAD9C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EF750 802CADA0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -572,7 +572,7 @@ SetCamBGColor:
|
||||
/* 0EF8D4 802CAF24 03E00008 */ jr $ra
|
||||
/* 0EF8D8 802CAF28 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetCamTarget:
|
||||
glabel SetCamTarget
|
||||
/* 0EF8DC 802CAF2C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EF8E0 802CAF30 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EF8E4 802CAF34 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -812,7 +812,7 @@ SetCamTarget:
|
||||
/* 0EFC50 802CB2A0 03E00008 */ jr $ra
|
||||
/* 0EFC54 802CB2A4 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
ShakeCam:
|
||||
glabel ShakeCam
|
||||
/* 0EFC58 802CB2A8 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 0EFC5C 802CB2AC AFB5002C */ sw $s5, 0x2c($sp)
|
||||
/* 0EFC60 802CB2B0 0080A82D */ daddu $s5, $a0, $zero
|
||||
@ -1011,7 +1011,7 @@ ShakeCam:
|
||||
/* 0EFF14 802CB564 03E00008 */ jr $ra
|
||||
/* 0EFF18 802CB568 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
exec_ShakeCam1:
|
||||
glabel exec_ShakeCam1
|
||||
/* 0EFF1C 802CB56C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EFF20 802CB570 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EFF24 802CB574 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1036,7 +1036,7 @@ exec_ShakeCam1:
|
||||
/* 0EFF70 802CB5C0 03E00008 */ jr $ra
|
||||
/* 0EFF74 802CB5C4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
exec_ShakeCamX:
|
||||
glabel exec_ShakeCamX
|
||||
/* 0EFF78 802CB5C8 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0EFF7C 802CB5CC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EFF80 802CB5D0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1084,7 +1084,7 @@ exec_ShakeCamX:
|
||||
/* 0F0028 802CB678 03E00008 */ jr $ra
|
||||
/* 0F002C 802CB67C 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
SetCamLeadPlayer:
|
||||
glabel SetCamLeadPlayer
|
||||
/* 0F0030 802CB680 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0034 802CB684 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0038 802CB688 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1161,7 +1161,7 @@ SetCamLeadPlayer:
|
||||
/* 0F0144 802CB794 03E00008 */ jr $ra
|
||||
/* 0F0148 802CB798 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
PanToTarget:
|
||||
glabel PanToTarget
|
||||
/* 0F014C 802CB79C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F0150 802CB7A0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0154 802CB7A4 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1215,7 +1215,7 @@ PanToTarget:
|
||||
/* 0F0208 802CB858 03E00008 */ jr $ra
|
||||
/* 0F020C 802CB85C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
UseSettingsFrom:
|
||||
glabel UseSettingsFrom
|
||||
/* 0F0210 802CB860 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
/* 0F0214 802CB864 AFB1005C */ sw $s1, 0x5c($sp)
|
||||
/* 0F0218 802CB868 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1321,7 +1321,7 @@ UseSettingsFrom:
|
||||
/* 0F03A0 802CB9F0 03E00008 */ jr $ra
|
||||
/* 0F03A4 802CB9F4 27BD0078 */ addiu $sp, $sp, 0x78
|
||||
|
||||
LoadSettings:
|
||||
glabel LoadSettings
|
||||
/* 0F03A8 802CB9F8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F03AC 802CB9FC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F03B0 802CBA00 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1371,7 +1371,7 @@ LoadSettings:
|
||||
/* 0F045C 802CBAAC 03E00008 */ jr $ra
|
||||
/* 0F0460 802CBAB0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
SetCamType:
|
||||
glabel SetCamType
|
||||
/* 0F0464 802CBAB4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0468 802CBAB8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F046C 802CBABC 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1410,7 +1410,7 @@ SetCamType:
|
||||
/* 0F04F0 802CBB40 03E00008 */ jr $ra
|
||||
/* 0F04F4 802CBB44 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
SetCamPitch:
|
||||
glabel SetCamPitch
|
||||
/* 0F04F8 802CBB48 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F04FC 802CBB4C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0500 802CBB50 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1451,7 +1451,7 @@ SetCamPitch:
|
||||
/* 0F058C 802CBBDC 03E00008 */ jr $ra
|
||||
/* 0F0590 802CBBE0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetCamDistance:
|
||||
glabel SetCamDistance
|
||||
/* 0F0594 802CBBE4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0598 802CBBE8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F059C 802CBBEC 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1482,7 +1482,7 @@ SetCamDistance:
|
||||
/* 0F0600 802CBC50 03E00008 */ jr $ra
|
||||
/* 0F0604 802CBC54 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
SetCamPosA:
|
||||
glabel SetCamPosA
|
||||
/* 0F0608 802CBC58 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F060C 802CBC5C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0610 802CBC60 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1523,7 +1523,7 @@ SetCamPosA:
|
||||
/* 0F069C 802CBCEC 03E00008 */ jr $ra
|
||||
/* 0F06A0 802CBCF0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetCamPosB:
|
||||
glabel SetCamPosB
|
||||
/* 0F06A4 802CBCF4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F06A8 802CBCF8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F06AC 802CBCFC 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1564,7 +1564,7 @@ SetCamPosB:
|
||||
/* 0F0738 802CBD88 03E00008 */ jr $ra
|
||||
/* 0F073C 802CBD8C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetCamPosC:
|
||||
glabel SetCamPosC
|
||||
/* 0F0740 802CBD90 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F0744 802CBD94 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0748 802CBD98 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1605,7 +1605,7 @@ SetCamPosC:
|
||||
/* 0F07D4 802CBE24 03E00008 */ jr $ra
|
||||
/* 0F07D8 802CBE28 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetPanTarget:
|
||||
glabel SetPanTarget
|
||||
/* 0F07DC 802CBE2C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0F07E0 802CBE30 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F07E4 802CBE34 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1656,7 +1656,7 @@ SetPanTarget:
|
||||
/* 0F0898 802CBEE8 03E00008 */ jr $ra
|
||||
/* 0F089C 802CBEEC 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
SetCamSpeed:
|
||||
glabel SetCamSpeed
|
||||
/* 0F08A0 802CBEF0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F08A4 802CBEF4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F08A8 802CBEF8 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1687,7 +1687,7 @@ SetCamSpeed:
|
||||
/* 0F090C 802CBF5C 03E00008 */ jr $ra
|
||||
/* 0F0910 802CBF60 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
GetCamType:
|
||||
glabel GetCamType
|
||||
/* 0F0914 802CBF64 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0918 802CBF68 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F091C 802CBF6C 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1725,7 +1725,7 @@ GetCamType:
|
||||
/* 0F099C 802CBFEC 03E00008 */ jr $ra
|
||||
/* 0F09A0 802CBFF0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
GetCamPitch:
|
||||
glabel GetCamPitch
|
||||
/* 0F09A4 802CBFF4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F09A8 802CBFF8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F09AC 802CBFFC 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1763,7 +1763,7 @@ GetCamPitch:
|
||||
/* 0F0A2C 802CC07C 03E00008 */ jr $ra
|
||||
/* 0F0A30 802CC080 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
GetCamDistance:
|
||||
glabel GetCamDistance
|
||||
/* 0F0A34 802CC084 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0A38 802CC088 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0A3C 802CC08C 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1793,7 +1793,7 @@ GetCamDistance:
|
||||
/* 0F0A9C 802CC0EC 03E00008 */ jr $ra
|
||||
/* 0F0AA0 802CC0F0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
GetCamPosA:
|
||||
glabel GetCamPosA
|
||||
/* 0F0AA4 802CC0F4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0AA8 802CC0F8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0AAC 802CC0FC 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1831,7 +1831,7 @@ GetCamPosA:
|
||||
/* 0F0B2C 802CC17C 03E00008 */ jr $ra
|
||||
/* 0F0B30 802CC180 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
GetCamPosB:
|
||||
glabel GetCamPosB
|
||||
/* 0F0B34 802CC184 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0B38 802CC188 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0B3C 802CC18C 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1869,7 +1869,7 @@ GetCamPosB:
|
||||
/* 0F0BBC 802CC20C 03E00008 */ jr $ra
|
||||
/* 0F0BC0 802CC210 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
GetCamPosC:
|
||||
glabel GetCamPosC
|
||||
/* 0F0BC4 802CC214 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0BC8 802CC218 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0BCC 802CC21C 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1907,7 +1907,7 @@ GetCamPosC:
|
||||
/* 0F0C4C 802CC29C 03E00008 */ jr $ra
|
||||
/* 0F0C50 802CC2A0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
GetCamPosition:
|
||||
glabel GetCamPosition
|
||||
/* 0F0C54 802CC2A4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F0C58 802CC2A8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0C5C 802CC2AC 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1953,7 +1953,7 @@ GetCamPosition:
|
||||
/* 0F0CFC 802CC34C 03E00008 */ jr $ra
|
||||
/* 0F0D00 802CC350 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
WaitForCam:
|
||||
glabel WaitForCam
|
||||
/* 0F0D04 802CC354 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0D08 802CC358 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F0D0C 802CC35C 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1995,7 +1995,7 @@ WaitForCam:
|
||||
/* 0F0D94 802CC3E4 03E00008 */ jr $ra
|
||||
/* 0F0D98 802CC3E8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
SetCamProperties:
|
||||
glabel SetCamProperties
|
||||
/* 0F0D9C 802CC3EC 27BDFF60 */ addiu $sp, $sp, -0xa0
|
||||
/* 0F0DA0 802CC3F0 AFB1005C */ sw $s1, 0x5c($sp)
|
||||
/* 0F0DA4 802CC3F4 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -2159,7 +2159,7 @@ SetCamProperties:
|
||||
/* 0F1008 802CC658 03E00008 */ jr $ra
|
||||
/* 0F100C 802CC65C 27BD00A0 */ addiu $sp, $sp, 0xa0
|
||||
|
||||
AdjustCam:
|
||||
glabel AdjustCam
|
||||
/* 0F1010 802CC660 27BDFF58 */ addiu $sp, $sp, -0xa8
|
||||
/* 0F1014 802CC664 AFB10064 */ sw $s1, 0x64($sp)
|
||||
/* 0F1018 802CC668 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -2320,7 +2320,7 @@ AdjustCam:
|
||||
/* 0F1270 802CC8C0 03E00008 */ jr $ra
|
||||
/* 0F1274 802CC8C4 27BD00A8 */ addiu $sp, $sp, 0xa8
|
||||
|
||||
ResetCam:
|
||||
glabel ResetCam
|
||||
/* 0F1278 802CC8C8 27BDFF78 */ addiu $sp, $sp, -0x88
|
||||
/* 0F127C 802CC8CC AFB1005C */ sw $s1, 0x5c($sp)
|
||||
/* 0F1280 802CC8D0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -2479,7 +2479,7 @@ ResetCam:
|
||||
/* 0F14C0 802CCB10 03E00008 */ jr $ra
|
||||
/* 0F14C4 802CCB14 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
draw_anim_models:
|
||||
glabel draw_anim_models
|
||||
/* 0F14C8 802CCB18 27BDFDA8 */ addiu $sp, $sp, -0x258
|
||||
/* 0F14CC 802CCB1C F7B60250 */ sdc1 $f22, 0x250($sp)
|
||||
/* 0F14D0 802CCB20 3C013F80 */ lui $at, 0x3f80
|
||||
@ -2604,7 +2604,7 @@ draw_anim_models:
|
||||
/* 0F1694 802CCCE4 03E00008 */ jr $ra
|
||||
/* 0F1698 802CCCE8 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
LoadModelAnimation:
|
||||
glabel LoadModelAnimation
|
||||
/* 0F169C 802CCCEC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F16A0 802CCCF0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F16A4 802CCCF4 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -2703,7 +2703,7 @@ LoadModelAnimation:
|
||||
/* 0F1814 802CCE64 03E00008 */ jr $ra
|
||||
/* 0F1818 802CCE68 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
PlayModelAnimation:
|
||||
glabel PlayModelAnimation
|
||||
/* 0F181C 802CCE6C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F1820 802CCE70 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F1824 802CCE74 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -2770,7 +2770,7 @@ PlayModelAnimation:
|
||||
/* 0F1914 802CCF64 03E00008 */ jr $ra
|
||||
/* 0F1918 802CCF68 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
ChangeModelAnimation:
|
||||
glabel ChangeModelAnimation
|
||||
/* 0F191C 802CCF6C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F1920 802CCF70 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F1924 802CCF74 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -2803,7 +2803,7 @@ ChangeModelAnimation:
|
||||
/* 0F198C 802CCFDC 03E00008 */ jr $ra
|
||||
/* 0F1990 802CCFE0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
SetAnimModelPosition:
|
||||
glabel SetAnimModelPosition
|
||||
/* 0F1994 802CCFE4 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0F1998 802CCFE8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F199C 802CCFEC 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -2848,7 +2848,7 @@ SetAnimModelPosition:
|
||||
/* 0F1A38 802CD088 03E00008 */ jr $ra
|
||||
/* 0F1A3C 802CD08C 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
GetAnimModelPosition:
|
||||
glabel GetAnimModelPosition
|
||||
/* 0F1A40 802CD090 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F1A44 802CD094 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F1A48 802CD098 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -2889,7 +2889,7 @@ GetAnimModelPosition:
|
||||
/* 0F1AD4 802CD124 03E00008 */ jr $ra
|
||||
/* 0F1AD8 802CD128 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
AddAnimModelPosition:
|
||||
glabel AddAnimModelPosition
|
||||
/* 0F1ADC 802CD12C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0F1AE0 802CD130 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F1AE4 802CD134 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -2940,7 +2940,7 @@ AddAnimModelPosition:
|
||||
/* 0F1B98 802CD1E8 03E00008 */ jr $ra
|
||||
/* 0F1B9C 802CD1EC 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
SetAnimModelRotation:
|
||||
glabel SetAnimModelRotation
|
||||
/* 0F1BA0 802CD1F0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0F1BA4 802CD1F4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F1BA8 802CD1F8 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -2985,7 +2985,7 @@ SetAnimModelRotation:
|
||||
/* 0F1C44 802CD294 03E00008 */ jr $ra
|
||||
/* 0F1C48 802CD298 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
SetAnimModelScale:
|
||||
glabel SetAnimModelScale
|
||||
/* 0F1C4C 802CD29C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0F1C50 802CD2A0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F1C54 802CD2A4 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -3127,7 +3127,7 @@ SetAnimModelScale:
|
||||
/* 0F1E5C 802CD4AC 03E00008 */ jr $ra
|
||||
/* 0F1E60 802CD4B0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802CD4B4:
|
||||
glabel func_802CD4B4
|
||||
/* 0F1E64 802CD4B4 3C028007 */ lui $v0, 0x8007
|
||||
/* 0F1E68 802CD4B8 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0F1E6C 802CD4BC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
@ -3186,7 +3186,7 @@ func_802CD4B4:
|
||||
/* 0F1F24 802CD574 03E00008 */ jr $ra
|
||||
/* 0F1F28 802CD578 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
func_802CD57C:
|
||||
glabel func_802CD57C
|
||||
/* 0F1F2C 802CD57C 3C028007 */ lui $v0, 0x8007
|
||||
/* 0F1F30 802CD580 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0F1F34 802CD584 80420070 */ lb $v0, 0x70($v0)
|
||||
|
@ -6,12 +6,12 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text802CDAC0, "ax"
|
||||
|
||||
func_802CDAC0:
|
||||
glabel func_802CDAC0
|
||||
/* 0F2470 802CDAC0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F2474 802CDAC4 0080182D */ daddu $v1, $a0, $zero
|
||||
/* 0F2478 802CDAC8 00A0202D */ daddu $a0, $a1, $zero
|
||||
@ -36,7 +36,7 @@ func_802CDAC0:
|
||||
/* 0F24B4 802CDB04 03E00008 */ jr $ra
|
||||
/* 0F24B8 802CDB08 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
set_npc_animation:
|
||||
glabel set_npc_animation
|
||||
/* 0F24BC 802CDB0C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F24C0 802CDB10 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F24C4 802CDB14 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -110,7 +110,7 @@ set_npc_animation:
|
||||
/* 0F25C4 802CDC14 03E00008 */ jr $ra
|
||||
/* 0F25C8 802CDC18 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
DeleteNpc:
|
||||
glabel DeleteNpc
|
||||
/* 0F25CC 802CDC1C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F25D0 802CDC20 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0F25D4 802CDC24 8C82000C */ lw $v0, 0xc($a0)
|
||||
@ -128,7 +128,7 @@ DeleteNpc:
|
||||
/* 0F2600 802CDC50 03E00008 */ jr $ra
|
||||
/* 0F2604 802CDC54 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
GetNpcPointer:
|
||||
glabel GetNpcPointer
|
||||
/* 0F2608 802CDC58 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F260C 802CDC5C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F2610 802CDC60 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -152,7 +152,7 @@ GetNpcPointer:
|
||||
/* 0F2658 802CDCA8 03E00008 */ jr $ra
|
||||
/* 0F265C 802CDCAC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
SetNpcPos:
|
||||
glabel SetNpcPos
|
||||
/* 0F2660 802CDCB0 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0F2664 802CDCB4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F2668 802CDCB8 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -221,7 +221,7 @@ SetNpcPos:
|
||||
/* 0F2758 802CDDA8 03E00008 */ jr $ra
|
||||
/* 0F275C 802CDDAC 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
SetNpcRotation:
|
||||
glabel SetNpcRotation
|
||||
/* 0F2760 802CDDB0 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0F2764 802CDDB4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F2768 802CDDB8 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -299,7 +299,7 @@ SetNpcRotation:
|
||||
/* 0F287C 802CDECC 03E00008 */ jr $ra
|
||||
/* 0F2880 802CDED0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetNpcScale:
|
||||
glabel SetNpcScale
|
||||
/* 0F2884 802CDED4 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 0F2888 802CDED8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F288C 802CDEDC 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -348,7 +348,7 @@ SetNpcScale:
|
||||
/* 0F2934 802CDF84 03E00008 */ jr $ra
|
||||
/* 0F2938 802CDF88 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
|
||||
SetNpcCollisionSize:
|
||||
glabel SetNpcCollisionSize
|
||||
/* 0F293C 802CDF8C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F2940 802CDF90 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F2944 802CDF94 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -387,7 +387,7 @@ SetNpcCollisionSize:
|
||||
/* 0F29C4 802CE014 03E00008 */ jr $ra
|
||||
/* 0F29C8 802CE018 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetNpcSpeed:
|
||||
glabel SetNpcSpeed
|
||||
/* 0F29CC 802CE01C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F29D0 802CE020 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F29D4 802CE024 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -417,7 +417,7 @@ SetNpcSpeed:
|
||||
/* 0F2A30 802CE080 03E00008 */ jr $ra
|
||||
/* 0F2A34 802CE084 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetNpcJumpscale:
|
||||
glabel SetNpcJumpscale
|
||||
/* 0F2A38 802CE088 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F2A3C 802CE08C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F2A40 802CE090 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -447,7 +447,7 @@ SetNpcJumpscale:
|
||||
/* 0F2A9C 802CE0EC 03E00008 */ jr $ra
|
||||
/* 0F2AA0 802CE0F0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
SetNpcAnimation:
|
||||
glabel SetNpcAnimation
|
||||
/* 0F2AA4 802CE0F4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F2AA8 802CE0F8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F2AAC 802CE0FC 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -477,7 +477,7 @@ SetNpcAnimation:
|
||||
/* 0F2B08 802CE158 03E00008 */ jr $ra
|
||||
/* 0F2B0C 802CE15C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
GetNpcAnimation:
|
||||
glabel GetNpcAnimation
|
||||
/* 0F2B10 802CE160 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F2B14 802CE164 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F2B18 802CE168 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -533,7 +533,7 @@ GetNpcAnimation:
|
||||
/* 0F2BD4 802CE224 03E00008 */ jr $ra
|
||||
/* 0F2BD8 802CE228 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
NpcMoveTo:
|
||||
glabel NpcMoveTo
|
||||
/* 0F2BDC 802CE22C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0F2BE0 802CE230 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F2BE4 802CE234 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -678,7 +678,7 @@ NpcMoveTo:
|
||||
/* 0F2DDC 802CE42C 03E00008 */ jr $ra
|
||||
/* 0F2DE0 802CE430 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
_npc_jump_to:
|
||||
glabel _npc_jump_to
|
||||
/* 0F2DE4 802CE434 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 0F2DE8 802CE438 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F2DEC 802CE43C 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -855,7 +855,7 @@ _npc_jump_to:
|
||||
/* 0F306C 802CE6BC 03E00008 */ jr $ra
|
||||
/* 0F3070 802CE6C0 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
NpcJump0:
|
||||
glabel NpcJump0
|
||||
/* 0F3074 802CE6C4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F3078 802CE6C8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0F307C 802CE6CC 0C0B390D */ jal _npc_jump_to
|
||||
@ -864,7 +864,7 @@ NpcJump0:
|
||||
/* 0F3088 802CE6D8 03E00008 */ jr $ra
|
||||
/* 0F308C 802CE6DC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
NpcJump1:
|
||||
glabel NpcJump1
|
||||
/* 0F3090 802CE6E0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F3094 802CE6E4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0F3098 802CE6E8 0C0B390D */ jal _npc_jump_to
|
||||
@ -873,7 +873,7 @@ NpcJump1:
|
||||
/* 0F30A4 802CE6F4 03E00008 */ jr $ra
|
||||
/* 0F30A8 802CE6F8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
NpcFlyTo:
|
||||
glabel NpcFlyTo
|
||||
/* 0F30AC 802CE6FC 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 0F30B0 802CE700 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 0F30B4 802CE704 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1085,7 +1085,7 @@ NpcFlyTo:
|
||||
/* 0F33B8 802CEA08 03E00008 */ jr $ra
|
||||
/* 0F33BC 802CEA0C 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
|
||||
GetNpcYaw:
|
||||
glabel GetNpcYaw
|
||||
/* 0F33C0 802CEA10 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F33C4 802CEA14 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F33C8 802CEA18 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1117,7 +1117,7 @@ GetNpcYaw:
|
||||
/* 0F342C 802CEA7C 03E00008 */ jr $ra
|
||||
/* 0F3430 802CEA80 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
SetNpcYaw:
|
||||
glabel SetNpcYaw
|
||||
/* 0F3434 802CEA84 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F3438 802CEA88 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F343C 802CEA8C 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1152,7 +1152,7 @@ SetNpcYaw:
|
||||
/* 0F34AC 802CEAFC 03E00008 */ jr $ra
|
||||
/* 0F34B0 802CEB00 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
InterpNpcYaw:
|
||||
glabel InterpNpcYaw
|
||||
/* 0F34B4 802CEB04 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0F34B8 802CEB08 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F34BC 802CEB0C 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -1275,7 +1275,7 @@ InterpNpcYaw:
|
||||
/* 0F3670 802CECC0 03E00008 */ jr $ra
|
||||
/* 0F3674 802CECC4 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
NpcFacePlayer:
|
||||
glabel NpcFacePlayer
|
||||
/* 0F3678 802CECC8 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0F367C 802CECCC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F3680 802CECD0 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1392,7 +1392,7 @@ NpcFacePlayer:
|
||||
/* 0F3828 802CEE78 03E00008 */ jr $ra
|
||||
/* 0F382C 802CEE7C 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
NpcFaceNpc:
|
||||
glabel NpcFaceNpc
|
||||
/* 0F3830 802CEE80 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0F3834 802CEE84 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F3838 802CEE88 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1522,7 +1522,7 @@ NpcFaceNpc:
|
||||
/* 0F3A08 802CF058 03E00008 */ jr $ra
|
||||
/* 0F3A0C 802CF05C 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
SetNpcFlagBits:
|
||||
glabel SetNpcFlagBits
|
||||
/* 0F3A10 802CF060 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F3A14 802CF064 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F3A18 802CF068 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1565,7 +1565,7 @@ SetNpcFlagBits:
|
||||
/* 0F3A9C 802CF0EC 03E00008 */ jr $ra
|
||||
/* 0F3AA0 802CF0F0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
GetNpcPos:
|
||||
glabel GetNpcPos
|
||||
/* 0F3AA4 802CF0F4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F3AA8 802CF0F8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F3AAC 802CF0FC 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1665,7 +1665,7 @@ GetNpcPos:
|
||||
/* 0F3C10 802CF260 03E00008 */ jr $ra
|
||||
/* 0F3C14 802CF264 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
EnableNpcShadow:
|
||||
glabel EnableNpcShadow
|
||||
/* 0F3C18 802CF268 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F3C1C 802CF26C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F3C20 802CF270 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1703,7 +1703,7 @@ EnableNpcShadow:
|
||||
/* 0F3C94 802CF2E4 03E00008 */ jr $ra
|
||||
/* 0F3C98 802CF2E8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
EnableNpcBlur:
|
||||
glabel EnableNpcBlur
|
||||
/* 0F3C9C 802CF2EC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F3CA0 802CF2F0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F3CA4 802CF2F4 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1741,7 +1741,7 @@ EnableNpcBlur:
|
||||
/* 0F3D18 802CF368 03E00008 */ jr $ra
|
||||
/* 0F3D1C 802CF36C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
ClearPartnerMoveHistory:
|
||||
glabel ClearPartnerMoveHistory
|
||||
/* 0F3D20 802CF370 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F3D24 802CF374 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F3D28 802CF378 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1763,7 +1763,7 @@ ClearPartnerMoveHistory:
|
||||
/* 0F3D64 802CF3B4 03E00008 */ jr $ra
|
||||
/* 0F3D68 802CF3B8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
NpcSetHomePosToCurrent:
|
||||
glabel NpcSetHomePosToCurrent
|
||||
/* 0F3D6C 802CF3BC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F3D70 802CF3C0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F3D74 802CF3C4 0080802D */ daddu $s0, $a0, $zero
|
||||
@ -1797,7 +1797,7 @@ NpcSetHomePosToCurrent:
|
||||
/* 0F3DE0 802CF430 03E00008 */ jr $ra
|
||||
/* 0F3DE4 802CF434 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
GetPartnerPos:
|
||||
glabel GetPartnerPos
|
||||
/* 0F3DE8 802CF438 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F3DEC 802CF43C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F3DF0 802CF440 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -1844,7 +1844,7 @@ GetPartnerPos:
|
||||
/* 0F3E90 802CF4E0 03E00008 */ jr $ra
|
||||
/* 0F3E94 802CF4E4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
DisablePartnerAI:
|
||||
glabel DisablePartnerAI
|
||||
/* 0F3E98 802CF4E8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F3E9C 802CF4EC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0F3EA0 802CF4F0 8C82000C */ lw $v0, 0xc($a0)
|
||||
@ -1866,7 +1866,7 @@ DisablePartnerAI:
|
||||
/* 0F3ED4 802CF524 03E00008 */ jr $ra
|
||||
/* 0F3ED8 802CF528 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
EnablePartnerAI:
|
||||
glabel EnablePartnerAI
|
||||
/* 0F3EDC 802CF52C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F3EE0 802CF530 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0F3EE4 802CF534 0C03BCCA */ jal enable_partner_ai
|
||||
@ -1908,7 +1908,7 @@ EnablePartnerAI:
|
||||
/* 0F3F60 802CF5B0 03E00008 */ jr $ra
|
||||
/* 0F3F64 802CF5B4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
BringPartnerOut:
|
||||
glabel BringPartnerOut
|
||||
/* 0F3F68 802CF5B8 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 0F3F6C 802CF5BC AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 0F3F70 802CF5C0 AFB20028 */ sw $s2, 0x28($sp)
|
||||
@ -2164,7 +2164,7 @@ BringPartnerOut:
|
||||
/* 0F4330 802CF980 03E00008 */ jr $ra
|
||||
/* 0F4334 802CF984 27BD0068 */ addiu $sp, $sp, 0x68
|
||||
|
||||
PutPartnerAway:
|
||||
glabel PutPartnerAway
|
||||
/* 0F4338 802CF988 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 0F433C 802CF98C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F4340 802CF990 00A0802D */ daddu $s0, $a1, $zero
|
||||
@ -2360,7 +2360,7 @@ PutPartnerAway:
|
||||
/* 0F461C 802CFC6C 03E00008 */ jr $ra
|
||||
/* 0F4620 802CFC70 27BD0050 */ addiu $sp, $sp, 0x50
|
||||
|
||||
GetCurrentPartnerID:
|
||||
glabel GetCurrentPartnerID
|
||||
/* 0F4624 802CFC74 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F4628 802CFC78 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0F462C 802CFC7C 8C82000C */ lw $v0, 0xc($a0)
|
||||
@ -2671,7 +2671,7 @@ GetCurrentPartnerID:
|
||||
/* 0F4AC0 802D0110 03E00008 */ jr $ra
|
||||
/* 0F4AC4 802D0114 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
|
||||
SetNpcEffect:
|
||||
glabel SetNpcEffect
|
||||
/* 0F4AC8 802D0118 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F4ACC 802D011C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F4AD0 802D0120 0080882D */ daddu $s1, $a0, $zero
|
||||
@ -2711,7 +2711,7 @@ SetNpcEffect:
|
||||
/* 0F4B54 802D01A4 03E00008 */ jr $ra
|
||||
/* 0F4B58 802D01A8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
PlaySoundAtNpc:
|
||||
glabel PlaySoundAtNpc
|
||||
/* 0F4B5C 802D01AC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F4B60 802D01B0 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 0F4B64 802D01B4 0080882D */ daddu $s1, $a0, $zero
|
||||
|
@ -6,7 +6,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.include "globals.inc"
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .text80033E70, "ax"
|
||||
@ -368,7 +368,7 @@
|
||||
/* 00F79C 8003439C 03E00008 */ jr $ra
|
||||
/* 00F7A0 800343A0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
func_800343A4:
|
||||
glabel func_800343A4
|
||||
/* 00F7A4 800343A4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 00F7A8 800343A8 3C05E200 */ lui $a1, 0xe200
|
||||
/* 00F7AC 800343AC 34A5001C */ ori $a1, $a1, 0x1c
|
||||
@ -751,7 +751,7 @@ func_800343A4:
|
||||
/* 00FD74 80034974 03E00008 */ jr $ra
|
||||
/* 00FD78 80034978 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
step_pause_menu:
|
||||
glabel step_pause_menu
|
||||
/* 00FD7C 8003497C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 00FD80 80034980 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 00FD84 80034984 3C10800A */ lui $s0, 0x800a
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user