mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
merg
This commit is contained in:
commit
4ab5a61497
8
.gitignore
vendored
8
.gitignore
vendored
@ -8,16 +8,18 @@ venv/
|
||||
.DS_Store
|
||||
ctx.c
|
||||
expected/
|
||||
|
||||
# Assets
|
||||
assets
|
||||
settings.mk
|
||||
|
||||
# Build artifacts
|
||||
*.ld
|
||||
*.z64
|
||||
*.bin
|
||||
*.i
|
||||
*.Yay0
|
||||
bin/
|
||||
img/
|
||||
build/
|
||||
docs/doxygen/
|
||||
include/ld_addrs.h
|
||||
|
||||
.vscode/launch.json
|
||||
|
7
.vscode/c_cpp_properties.json
vendored
7
.vscode/c_cpp_properties.json
vendored
@ -3,6 +3,13 @@
|
||||
"configurations": [
|
||||
{
|
||||
"name": "papermario",
|
||||
"browse": {
|
||||
"limitSymbolsToIncludedHeaders": true,
|
||||
"path": [
|
||||
"${workspaceFolder}/include",
|
||||
"${workspaceFolder}/src"
|
||||
]
|
||||
},
|
||||
"includePath": [
|
||||
"${workspaceFolder}/include",
|
||||
"${workspaceFolder}/src"
|
||||
|
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@ -10,6 +10,9 @@
|
||||
"-D_LANGUAGE_C",
|
||||
"-DSCRIPT(...)={}",
|
||||
],
|
||||
"python.pythonPath": "/usr/bin/python3",
|
||||
"git.ignoreLimitWarning": true,
|
||||
"search.exclude": {
|
||||
"build": true,
|
||||
"docs/doxygen": true,
|
||||
},
|
||||
}
|
||||
|
281
Makefile
281
Makefile
@ -6,6 +6,7 @@ BASEROM = baserom.z64
|
||||
TARGET = papermario
|
||||
COMPARE = 1
|
||||
NON_MATCHING = 0
|
||||
WATCH_INCLUDES = 1
|
||||
|
||||
-include settings.mk
|
||||
|
||||
@ -14,61 +15,71 @@ ifeq ($(wildcard $(BASEROM)),)
|
||||
$(error Baserom `$(BASEROM)' not found.)
|
||||
endif
|
||||
|
||||
# NON_MATCHING=1 implies COMPARE=0
|
||||
ifeq ($(NON_MATCHING),1)
|
||||
override COMPARE=0
|
||||
endif
|
||||
|
||||
# PERMUTER=1 implies WATCH_INCLUDES=0
|
||||
ifeq ($(PERMUTER),1)
|
||||
override WATCH_INCLUDES=0
|
||||
endif
|
||||
|
||||
|
||||
### Output ###
|
||||
|
||||
BUILD_DIR := build
|
||||
ROM := $(TARGET).z64
|
||||
ELF := $(BUILD_DIR)/$(TARGET).elf
|
||||
LD_SCRIPT := $(TARGET).ld
|
||||
LD_MAP := $(BUILD_DIR)/$(TARGET).map
|
||||
ASSETS_BIN := $(BUILD_DIR)/bin/assets/assets.bin
|
||||
|
||||
|
||||
### Tools ###
|
||||
|
||||
PYTHON := python3
|
||||
N64CKSUM := tools/n64crc
|
||||
SPLAT_YAML := tools/splat.yaml
|
||||
SPLAT = $(PYTHON) tools/n64splat/split.py $(BASEROM) $(SPLAT_YAML) .
|
||||
YAY0COMPRESS = tools/Yay0compress
|
||||
EMULATOR = mupen64plus
|
||||
|
||||
|
||||
### Compiler Options ###
|
||||
|
||||
CROSS := mips-linux-gnu-
|
||||
AS := $(CROSS)as
|
||||
OLD_AS := tools/mips-nintendo-nu64-as
|
||||
CC := tools/cc1
|
||||
CPP := cpp
|
||||
LD := $(CROSS)ld
|
||||
OBJCOPY := $(CROSS)objcopy
|
||||
|
||||
CPPFLAGS := -Iinclude -Isrc -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2 -D_MIPS_SZLONG=32 -Wundef -Wcomment
|
||||
ASFLAGS := -EB -Iinclude -march=vr4300 -mtune=vr4300
|
||||
OLDASFLAGS := -EB -Iinclude -G 0
|
||||
CFLAGS := -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300 -mips3 -mgp32 -mfp32 -Wimplicit -Wuninitialized -Wshadow
|
||||
LDFLAGS := -T undefined_syms.txt -T undefined_funcs.txt -T $(BUILD_DIR)/$(LD_SCRIPT) -Map $(LD_MAP) --no-check-sections
|
||||
|
||||
ifeq ($(WATCH_INCLUDES),1)
|
||||
CPPMFLAGS = -MP -MD -MF $@.mk -MT $(BUILD_DIR)/$*.d
|
||||
MDEPS = $(BUILD_DIR)/%.d
|
||||
endif
|
||||
|
||||
ifeq ($(NON_MATCHING),1)
|
||||
CPPFLAGS += -DNON_MATCHING
|
||||
endif
|
||||
|
||||
|
||||
### Sources ###
|
||||
|
||||
include sources.mk
|
||||
|
||||
%.d: ;
|
||||
|
||||
### Output ###
|
||||
|
||||
BUILD_DIR = build
|
||||
ROM = $(TARGET).z64
|
||||
ELF = $(BUILD_DIR)/$(TARGET).elf
|
||||
LD_SCRIPT = $(TARGET).ld
|
||||
LD_MAP = $(BUILD_DIR)/$(TARGET).map
|
||||
|
||||
ifdef ASSETS_FS
|
||||
ASSETS_FS_OBJ = $(BUILD_DIR)/$(ASSETS_FS).o
|
||||
endif
|
||||
|
||||
|
||||
### Tools ###
|
||||
|
||||
PYTHON = python3
|
||||
N64CKSUM = tools/n64crc
|
||||
SPLAT_YAML = tools/splat.yaml
|
||||
SPLAT = $(PYTHON) tools/n64splat/split.py $(BASEROM) $(SPLAT_YAML) .
|
||||
YAY0COMPRESS = tools/Yay0compress
|
||||
BUILD_ASSETS_FS := $(PYTHON) tools/build_assets_fs.py $(ASSETS_FS) $(BUILD_DIR)/$(ASSETS_FS)
|
||||
|
||||
ifndef EMULATOR
|
||||
ifneq ($(shell which mupen64plus-gui),)
|
||||
EMULATOR = mupen64plus-gui
|
||||
else
|
||||
EMULATOR = mupen64plus
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
### Compiler Options ###
|
||||
|
||||
CROSS = mips-linux-gnu-
|
||||
AS = $(CROSS)as
|
||||
OLD_AS = tools/mips-nintendo-nu64-as
|
||||
CC = tools/cc1
|
||||
CPP = cpp
|
||||
LD = $(CROSS)ld
|
||||
OBJCOPY = $(CROSS)objcopy
|
||||
|
||||
CPPFLAGS = -Iinclude -Isrc -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2
|
||||
ASFLAGS = -EB -Iinclude -march=vr4300 -mtune=vr4300
|
||||
OLDASFLAGS = -EB -Iinclude -G 0
|
||||
CFLAGS = -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300 -mips3 -mgp32 -mfp32 -Wimplicit -Wuninitialized -Wshadow
|
||||
LDFLAGS = -T undefined_syms.txt -T undefined_funcs.txt -T $(LD_SCRIPT) -Map $(LD_MAP) --no-check-sections
|
||||
|
||||
ifeq ($(NON_MATCHING),1)
|
||||
CPPFLAGS += -DNON_MATCHING
|
||||
ifeq ($(WATCH_INCLUDES),1)
|
||||
-include $(foreach obj, $(OBJECTS), $(obj).mk)
|
||||
endif
|
||||
|
||||
|
||||
@ -87,97 +98,135 @@ submodules:
|
||||
git submodule update --init --recursive
|
||||
|
||||
split:
|
||||
rm -rf bin assets
|
||||
$(SPLAT) --modes ld bin Yay0 PaperMarioMapFS
|
||||
rm -rf bin img
|
||||
$(SPLAT) --modes ld bin Yay0 PaperMarioMapFS rgba16 rgba32 ia4 ia8 ia16 i4 i8 ci4 ci8
|
||||
|
||||
split-%:
|
||||
$(SPLAT) --modes ld $*
|
||||
|
||||
split-all:
|
||||
rm -rf bin assets
|
||||
rm -rf bin img
|
||||
$(SPLAT) --modes all
|
||||
|
||||
test: $(ROM)
|
||||
ifdef EMULATOR
|
||||
$(EMULATOR) $<
|
||||
else
|
||||
@echo "N64 emulator not detected." && false
|
||||
endif
|
||||
|
||||
# Compressed files
|
||||
%.Yay0: %
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(YAY0COMPRESS) $< $@
|
||||
$(BUILD_DIR)/%.bin.Yay0: %.bin
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(YAY0COMPRESS) $< $@
|
||||
|
||||
# Data objects
|
||||
$(BUILD_DIR)/%.bin.o: %.bin
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
||||
# Compressed data objects
|
||||
$(BUILD_DIR)/%.Yay0.o: $(BUILD_DIR)/%.bin.Yay0
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
||||
# Compile C files
|
||||
$(BUILD_DIR)/%.c.o: %.c $(MDEPS)
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(CPP) $(CPPFLAGS) -o - $< $(CPPMFLAGS) | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
|
||||
|
||||
# Compile C files (with DSL macros)
|
||||
$(foreach cfile, $(DSL_C_FILES), $(BUILD_DIR)/$(cfile).o): $(BUILD_DIR)/%.c.o: %.c $(MDEPS) tools/compile_dsl_macros.py
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(CPP) $(CPPFLAGS) -o - $< $(CPPMFLAGS) | $(PYTHON) tools/compile_dsl_macros.py | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
|
||||
|
||||
# Assemble handwritten ASM
|
||||
$(BUILD_DIR)/%.s.o: %.s
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(AS) $(ASFLAGS) -o $@ $<
|
||||
|
||||
# Images
|
||||
$(BUILD_DIR)/%.png.o: $(BUILD_DIR)/%.png
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
$(BUILD_DIR)/%.rgba16.png: %.png
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(PYTHON) tools/convert_image.py rgba16 $< $@ $(IMG_FLAGS)
|
||||
$(BUILD_DIR)/%.rgba32.png: %.png
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(PYTHON) tools/convert_image.py rgba32 $< $@ $(IMG_FLAGS)
|
||||
$(BUILD_DIR)/%.ci8.png: %.png
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(PYTHON) tools/convert_image.py ci8 $< $@ $(IMG_FLAGS)
|
||||
$(BUILD_DIR)/%.ci8palette.png: %.png
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(PYTHON) tools/convert_image.py ci8palette $< $@ $(IMG_FLAGS)
|
||||
$(BUILD_DIR)/%.ci4.png: %.png
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(PYTHON) tools/convert_image.py ci4 $< $@ $(IMG_FLAGS)
|
||||
$(BUILD_DIR)/%.ci4palette.png: %.png
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(PYTHON) tools/convert_image.py ci4palette $< $@ $(IMG_FLAGS)
|
||||
$(BUILD_DIR)/%.ia4.png: %.png
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(PYTHON) tools/convert_image.py ia4 $< $@ $(IMG_FLAGS)
|
||||
$(BUILD_DIR)/%.ia8.png: %.png
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(PYTHON) tools/convert_image.py ia8 $< $@ $(IMG_FLAGS)
|
||||
$(BUILD_DIR)/%.ia16.png: %.png
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(PYTHON) tools/convert_image.py ia16 $< $@ $(IMG_FLAGS)
|
||||
$(BUILD_DIR)/%.i4.png: %.png
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(PYTHON) tools/convert_image.py i4 $< $@ $(IMG_FLAGS)
|
||||
$(BUILD_DIR)/%.i8.png: %.png
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(PYTHON) tools/convert_image.py i8 $< $@ $(IMG_FLAGS)
|
||||
|
||||
|
||||
ASSET_FILES := $(foreach asset, $(ASSETS), $(BUILD_DIR)/bin/assets/$(asset))
|
||||
YAY0_ASSET_FILES := $(foreach asset, $(filter-out %_tex, $(ASSET_FILES)), $(asset).Yay0)
|
||||
|
||||
$(BUILD_DIR)/bin/assets/%: bin/assets/%.bin
|
||||
@mkdir -p $(shell dirname $@)
|
||||
@cp $< $@
|
||||
|
||||
$(ASSETS_BIN): $(ASSET_FILES) $(YAY0_ASSET_FILES) sources.mk
|
||||
@mkdir -p $(shell dirname $@)
|
||||
@echo "building $@"
|
||||
@$(PYTHON) tools/build_assets_bin.py $@ $(ASSET_FILES)
|
||||
|
||||
$(ASSETS_BIN:.bin=.o): $(ASSETS_BIN)
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
||||
$(LD_SCRIPT): $(SPLAT_YAML)
|
||||
$(SPLAT) --modes ld
|
||||
|
||||
$(BUILD_DIR)/$(LD_SCRIPT): $(LD_SCRIPT)
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(CPP) -P -DBUILD_DIR=$(BUILD_DIR) -o $@ $<
|
||||
|
||||
$(ROM): $(BUILD_DIR)/$(TARGET).bin
|
||||
@cp $< $@
|
||||
ifeq ($(COMPARE),1)
|
||||
@sha1sum -c checksum.sha1 || (echo 'The build succeeded, but did not match the base ROM. This is expected if you are making changes to the game. To skip this check, use "make COMPARE=0".' && false)
|
||||
endif
|
||||
|
||||
$(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
|
||||
$(OBJCOPY) $< $@ -O binary
|
||||
|
||||
$(BUILD_DIR)/$(TARGET).elf: $(LD_SCRIPT) $(OBJECTS) $(ASSETS_FS_OBJ)
|
||||
$(BUILD_DIR)/$(TARGET).elf: $(BUILD_DIR)/$(LD_SCRIPT) $(OBJECTS)
|
||||
$(LD) $(LDFLAGS) -o $@
|
||||
|
||||
# `make print-VARNAME' to print the value of $(VARNAME)
|
||||
print-%: ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true
|
||||
|
||||
|
||||
### Object Targets (see sources.mk) ###
|
||||
|
||||
ifndef OBJECTS
|
||||
$(warning OBJECTS is not defined by `sources.mk'.)
|
||||
else
|
||||
|
||||
# C
|
||||
$(filter %.c.o,$(OBJECTS)): $(BUILD_DIR)/%.c.o: %.c
|
||||
@mkdir -p $(shell dirname $@)
|
||||
|
||||
cpp $(CPPFLAGS) $< > $(BUILD_DIR)/$*.i
|
||||
@grep -cF "SCRIPT(" $(BUILD_DIR)/$*.i | tools/compile_dsl_macros.py $(BUILD_DIR)/$*.i
|
||||
$(CC) $(CFLAGS) -o - $(BUILD_DIR)/$*.i | $(OLD_AS) $(OLDASFLAGS) - -o $@
|
||||
|
||||
# Assembly
|
||||
$(filter %.s.o,$(OBJECTS)): $(BUILD_DIR)/%.s.o: %.s
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(AS) $(ASFLAGS) -o $@ $<
|
||||
|
||||
# Uncompressed data
|
||||
$(filter %.bin.o,$(OBJECTS)): $(BUILD_DIR)/%.bin.o: %.bin
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
||||
# Compressed data
|
||||
$(filter %.Yay0.o,$(OBJECTS)): $(BUILD_DIR)/%.Yay0.o: %.bin
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(YAY0COMPRESS) $< $(BUILD_DIR)/$*.Yay0
|
||||
$(LD) -r -b binary -o $@ $(BUILD_DIR)/$*.Yay0
|
||||
|
||||
endif
|
||||
|
||||
|
||||
### Asset Filesystem (see sources.mk) ###
|
||||
|
||||
# Complain if ASSETS_FS_SOURCES is undefined but ASSETS_FS is.
|
||||
ifndef ASSETS_FS_SOURCES
|
||||
ifdef ASSETS_FS
|
||||
$(warning ASSETS_FS_SOURCES is not defined by `sources.mk' but ASSETS_FS is.)
|
||||
endif
|
||||
else
|
||||
|
||||
$(BUILD_DIR)/$(ASSETS_FS)/%: $(ASSETS_FS)/%
|
||||
@mkdir -p $(shell dirname $@)
|
||||
@rm -f $@
|
||||
$(BUILD_ASSETS_FS) $*
|
||||
|
||||
$(ASSETS_FS_OBJ): $(ASSETS_FS).json $(foreach file,$(ASSETS_FS_SOURCES),$(BUILD_DIR)/$(file))
|
||||
$(BUILD_ASSETS_FS)
|
||||
$(LD) -r -b binary -o $@ $(BUILD_DIR)/$(ASSETS_FS).bin
|
||||
|
||||
endif
|
||||
$(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
|
||||
$(OBJCOPY) $< $@ -O binary
|
||||
|
||||
|
||||
### Make Settings ###
|
||||
|
||||
.PHONY: clean test setup submodules split $(ROM)
|
||||
.DELETE_ON_ERROR:
|
||||
.SECONDARY:
|
||||
.PRECIOUS: $(ROM) %.Yay0
|
||||
.DEFAULT_GOAL := $(ROM)
|
||||
|
||||
# Remove built-in implicit rules to improve performance
|
||||
MAKEFLAGS += --no-builtin-rules
|
||||
|
||||
# Fail targets if any command in the pipe exits with error
|
||||
SHELL = /bin/bash -e -o pipefail
|
||||
|
14
README.md
14
README.md
@ -54,12 +54,6 @@ We provide [windows_terminal.bat](tools/windows_terminal.bat) to open a [Windows
|
||||
|
||||
### Rebuilding
|
||||
|
||||
Setting the `PM_HEADER_REBUILD` environment variable will cause `make` to rebuild all `.c` files whenever a `.h` file is modified.
|
||||
|
||||
```sh
|
||||
$ PM_HEADER_REBUILD=1 make
|
||||
```
|
||||
|
||||
If you use Visual Studio Code, you can use _Run Build Task_ (Ctrl+Shift+B) to run `make`. Any errors or warnings generated by the compiler will show up in the _Problems_ tab.
|
||||
|
||||
### Matching a function
|
||||
@ -129,9 +123,9 @@ $ ./format.sh
|
||||
|
||||
If `format.sh` has any problems with your code, go and fix the issues. If you can't fix a warning without making the function not match anymore, append `// NOLINT` to the offending line.
|
||||
|
||||
## FAQ
|
||||
## Troubleshooting
|
||||
|
||||
* If you received the following error when running `make`:
|
||||
* If you are using Windows, you may encounter the following when you run `make`:
|
||||
```
|
||||
sha1sum -c checksum.sha1
|
||||
sha1sum: 'papermario.z64'$'\r': No such file or directory
|
||||
@ -141,5 +135,5 @@ Makefile:118: recipe for target 'verify' failed
|
||||
make: *** [verify] Error 1
|
||||
```
|
||||
> 💡 Solution
|
||||
>
|
||||
> This is a Windows line ending issue run `git checkout checksum.sha1` to fix it.
|
||||
|
||||
> Run `git checkout checksum.sha1` and retry building. Windows has different line endings than Linux, causing some of our tools to break.
|
||||
|
102
asm/boot.s
102
asm/boot.s
@ -5,7 +5,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .text_40, "ax"
|
||||
.section .text, "ax"
|
||||
|
||||
glabel func_A4000040
|
||||
/* 40 A4000040 40806800 */ mtc0 $zero, $13
|
||||
@ -15,7 +15,7 @@ glabel func_A4000040
|
||||
/* 50 A4000050 25080000 */ addiu $t0, $t0, 0
|
||||
/* 54 A4000054 8D09000C */ lw $t1, 0xc($t0)
|
||||
/* 58 A4000058 152000ED */ bnez $t1, .LA4000410
|
||||
/* 5C A400005C 00000000 */ nop
|
||||
/* 5C A400005C 00000000 */ nop
|
||||
/* 60 A4000060 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 64 A4000064 AFB30000 */ sw $s3, ($sp)
|
||||
/* 68 A4000068 AFB40004 */ sw $s4, 4($sp)
|
||||
@ -32,20 +32,20 @@ glabel func_A4000040
|
||||
/* 94 A4000094 AD090004 */ sw $t1, 4($t0)
|
||||
/* 98 A4000098 24112260 */ addiu $s1, $zero, 0x2260
|
||||
.LA400009C:
|
||||
/* 9C A400009C 00000000 */ nop
|
||||
/* 9C A400009C 00000000 */ nop
|
||||
/* A0 A40000A0 2231FFFF */ addi $s1, $s1, -1
|
||||
/* A4 A40000A4 1620FFFD */ bnez $s1, .LA400009C
|
||||
/* A8 A40000A8 00000000 */ nop
|
||||
/* A8 A40000A8 00000000 */ nop
|
||||
/* AC A40000AC AD000008 */ sw $zero, 8($t0)
|
||||
/* B0 A40000B0 34090014 */ ori $t1, $zero, 0x14
|
||||
/* B4 A40000B4 AD09000C */ sw $t1, 0xc($t0)
|
||||
/* B8 A40000B8 AD000000 */ sw $zero, ($t0)
|
||||
/* BC A40000BC 24110004 */ addiu $s1, $zero, 4
|
||||
.LA40000C0:
|
||||
/* C0 A40000C0 00000000 */ nop
|
||||
/* C0 A40000C0 00000000 */ nop
|
||||
/* C4 A40000C4 2231FFFF */ addi $s1, $s1, -1
|
||||
/* C8 A40000C8 1620FFFD */ bnez $s1, .LA40000C0
|
||||
/* CC A40000CC 00000000 */ nop
|
||||
/* CC A40000CC 00000000 */ nop
|
||||
/* D0 A40000D0 3409000E */ ori $t1, $zero, 0xe
|
||||
/* D4 A40000D4 AD090000 */ sw $t1, ($t0)
|
||||
/* D8 A40000D8 24110020 */ addiu $s1, $zero, 0x20
|
||||
@ -78,11 +78,11 @@ glabel func_A4000040
|
||||
/* 140 A4000140 3C110101 */ lui $s1, 0x101
|
||||
/* 144 A4000144 26310101 */ addiu $s1, $s1, 0x101
|
||||
/* 148 A4000148 16110005 */ bne $s0, $s1, .LA4000160
|
||||
/* 14C A400014C 00000000 */ nop
|
||||
/* 14C A400014C 00000000 */ nop
|
||||
/* 150 A4000150 24100200 */ addiu $s0, $zero, 0x200
|
||||
/* 154 A4000154 35714000 */ ori $s1, $t3, 0x4000
|
||||
/* 158 A4000158 10000003 */ b .LA4000168
|
||||
/* 15C A400015C 00000000 */ nop
|
||||
/* 15C A400015C 00000000 */ nop
|
||||
.LA4000160:
|
||||
/* 160 A4000160 24100400 */ addiu $s0, $zero, 0x400
|
||||
/* 164 A4000164 35718000 */ ori $s1, $t3, 0x8000
|
||||
@ -90,9 +90,9 @@ glabel func_A4000040
|
||||
/* 168 A4000168 AE2E0004 */ sw $t6, 4($s1)
|
||||
/* 16C A400016C 25F5000C */ addiu $s5, $t7, 0xc
|
||||
/* 170 A4000170 0D0001DB */ jal func_A400076C
|
||||
/* 174 A4000174 00000000 */ nop
|
||||
/* 174 A4000174 00000000 */ nop
|
||||
/* 178 A4000178 10400038 */ beqz $v0, .LA400025C
|
||||
/* 17C A400017C 00000000 */ nop
|
||||
/* 17C A400017C 00000000 */ nop
|
||||
/* 180 A4000180 AFA20000 */ sw $v0, ($sp)
|
||||
/* 184 A4000184 24092000 */ addiu $t1, $zero, 0x2000
|
||||
/* 188 A4000188 AD890000 */ sw $t1, ($t4)
|
||||
@ -105,7 +105,7 @@ glabel func_A4000040
|
||||
/* 1A4 A40001A4 AD890000 */ sw $t1, ($t4)
|
||||
/* 1A8 A40001A8 3C08B019 */ lui $t0, 0xb019
|
||||
/* 1AC A40001AC 1568000C */ bne $t3, $t0, .LA40001E0
|
||||
/* 1B0 A40001B0 00000000 */ nop
|
||||
/* 1B0 A40001B0 00000000 */ nop
|
||||
/* 1B4 A40001B4 3C080800 */ lui $t0, 0x800
|
||||
/* 1B8 A40001B8 0308C020 */ add $t8, $t8, $t0
|
||||
/* 1BC A40001BC 0330C820 */ add $t9, $t9, $s0
|
||||
@ -116,7 +116,7 @@ glabel func_A4000040
|
||||
/* 1D0 A40001D0 00129040 */ sll $s2, $s2, 1
|
||||
/* 1D4 A40001D4 22520001 */ addi $s2, $s2, 1
|
||||
/* 1D8 A40001D8 10000003 */ b .LA40001E8
|
||||
/* 1DC A40001DC 00000000 */ nop
|
||||
/* 1DC A40001DC 00000000 */ nop
|
||||
.LA40001E0:
|
||||
/* 1E0 A40001E0 3C080010 */ lui $t0, 0x10
|
||||
/* 1E4 A40001E4 0288A020 */ add $s4, $s4, $t0
|
||||
@ -130,11 +130,11 @@ glabel func_A4000040
|
||||
/* 200 A4000200 3129FFFF */ andi $t1, $t1, 0xffff
|
||||
/* 204 A4000204 24080500 */ addiu $t0, $zero, 0x500
|
||||
/* 208 A4000208 15280009 */ bne $t1, $t0, .LA4000230
|
||||
/* 20C A400020C 00000000 */ nop
|
||||
/* 20C A400020C 00000000 */ nop
|
||||
/* 210 A4000210 3C1B0100 */ lui $k1, 0x100
|
||||
/* 214 A4000214 035BD024 */ and $k0, $k0, $k1
|
||||
/* 218 A4000218 17400005 */ bnez $k0, .LA4000230
|
||||
/* 21C A400021C 00000000 */ nop
|
||||
/* 21C A400021C 00000000 */ nop
|
||||
/* 220 A4000220 3C08101C */ lui $t0, 0x101c
|
||||
/* 224 A4000224 35080A04 */ ori $t0, $t0, 0xa04
|
||||
/* 228 A4000228 ADE80018 */ sw $t0, 0x18($t7)
|
||||
@ -151,7 +151,7 @@ glabel func_A4000040
|
||||
/* 24C A400024C 25AD0001 */ addiu $t5, $t5, 1
|
||||
/* 250 A4000250 2DA80008 */ sltiu $t0, $t5, 8
|
||||
/* 254 A4000254 1500FFC4 */ bnez $t0, .LA4000168
|
||||
/* 258 A4000258 00000000 */ nop
|
||||
/* 258 A4000258 00000000 */ nop
|
||||
.LA400025C:
|
||||
/* 25C A400025C 3C08C400 */ lui $t0, 0xc400
|
||||
/* 260 A4000260 AD48000C */ sw $t0, 0xc($t2)
|
||||
@ -163,14 +163,14 @@ glabel func_A4000040
|
||||
/* 274 A4000274 8FA90004 */ lw $t1, 4($sp)
|
||||
/* 278 A4000278 3C08B009 */ lui $t0, 0xb009
|
||||
/* 27C A400027C 15280016 */ bne $t1, $t0, .LA40002D8
|
||||
/* 280 A4000280 00000000 */ nop
|
||||
/* 280 A4000280 00000000 */ nop
|
||||
/* 284 A4000284 AE380004 */ sw $t8, 4($s1)
|
||||
/* 288 A4000288 2735000C */ addiu $s5, $t9, 0xc
|
||||
/* 28C A400028C 8FA40000 */ lw $a0, ($sp)
|
||||
/* 290 A4000290 23BD0008 */ addi $sp, $sp, 8
|
||||
/* 294 A4000294 24050001 */ addiu $a1, $zero, 1
|
||||
/* 298 A4000298 0D00028D */ jal func_A4000A34
|
||||
/* 29C A400029C 00000000 */ nop
|
||||
/* 29C A400029C 00000000 */ nop
|
||||
/* 2A0 A40002A0 8EC80000 */ lw $t0, ($s6)
|
||||
/* 2A4 A40002A4 3C080008 */ lui $t0, 8
|
||||
/* 2A8 A40002A8 01164020 */ add $t0, $t0, $s6
|
||||
@ -192,7 +192,7 @@ glabel func_A4000040
|
||||
/* 2E4 A40002E4 23BD0008 */ addi $sp, $sp, 8
|
||||
/* 2E8 A40002E8 24050001 */ addiu $a1, $zero, 1
|
||||
/* 2EC A40002EC 0D00028D */ jal func_A4000A34
|
||||
/* 2F0 A40002F0 00000000 */ nop
|
||||
/* 2F0 A40002F0 00000000 */ nop
|
||||
/* 2F4 A40002F4 8CE80000 */ lw $t0, ($a3)
|
||||
/* 2F8 A40002F8 3C080008 */ lui $t0, 8
|
||||
/* 2FC A40002FC 01074020 */ add $t0, $t0, $a3
|
||||
@ -223,7 +223,7 @@ glabel func_A4000040
|
||||
/* 35C A400035C 24630001 */ addiu $v1, $v1, 1
|
||||
/* 360 A4000360 006D402A */ slt $t0, $v1, $t5
|
||||
/* 364 A4000364 1500FFC3 */ bnez $t0, .LA4000274
|
||||
/* 368 A4000368 00000000 */ nop
|
||||
/* 368 A4000368 00000000 */ nop
|
||||
/* 36C A400036C 3C0AA470 */ lui $t2, 0xa470
|
||||
/* 370 A4000370 001294C0 */ sll $s2, $s2, 0x13
|
||||
/* 374 A4000374 3C090006 */ lui $t1, 6
|
||||
@ -266,7 +266,7 @@ glabel func_A4000040
|
||||
/* 400 A4000400 1420FFFD */ bnez $at, .LA40003F8
|
||||
/* 404 A4000404 25080010 */ addiu $t0, $t0, 0x10
|
||||
/* 408 A4000408 10000013 */ b .LA4000458
|
||||
/* 40C A400040C 00000000 */ nop
|
||||
/* 40C A400040C 00000000 */ nop
|
||||
.LA4000410:
|
||||
/* 410 A4000410 3C088000 */ lui $t0, 0x8000
|
||||
/* 414 A4000414 25080000 */ addiu $t0, $t0, 0
|
||||
@ -315,7 +315,7 @@ glabel func_A4000040
|
||||
/* 4B0 A40004B0 3C0C8000 */ lui $t4, 0x8000
|
||||
/* 4B4 A40004B4 258C0000 */ addiu $t4, $t4, 0
|
||||
/* 4B8 A40004B8 01800008 */ jr $t4
|
||||
/* 4BC A40004BC 00000000 */ nop
|
||||
/* 4BC A40004BC 00000000 */ nop
|
||||
|
||||
glabel func_A40004C0
|
||||
/* 4C0 A40004C0 3C0BB000 */ lui $t3, 0xb000
|
||||
@ -343,23 +343,23 @@ glabel func_A40004C0
|
||||
/* 514 A4000514 3C01A460 */ lui $at, 0xa460
|
||||
/* 518 A4000518 AC2A000C */ sw $t2, 0xc($at)
|
||||
.LA400051C:
|
||||
/* 51C A400051C 00000000 */ nop
|
||||
/* 520 A4000520 00000000 */ nop
|
||||
/* 524 A4000524 00000000 */ nop
|
||||
/* 528 A4000528 00000000 */ nop
|
||||
/* 52C A400052C 00000000 */ nop
|
||||
/* 530 A4000530 00000000 */ nop
|
||||
/* 534 A4000534 00000000 */ nop
|
||||
/* 538 A4000538 00000000 */ nop
|
||||
/* 53C A400053C 00000000 */ nop
|
||||
/* 540 A4000540 00000000 */ nop
|
||||
/* 544 A4000544 00000000 */ nop
|
||||
/* 548 A4000548 00000000 */ nop
|
||||
/* 51C A400051C 00000000 */ nop
|
||||
/* 520 A4000520 00000000 */ nop
|
||||
/* 524 A4000524 00000000 */ nop
|
||||
/* 528 A4000528 00000000 */ nop
|
||||
/* 52C A400052C 00000000 */ nop
|
||||
/* 530 A4000530 00000000 */ nop
|
||||
/* 534 A4000534 00000000 */ nop
|
||||
/* 538 A4000538 00000000 */ nop
|
||||
/* 53C A400053C 00000000 */ nop
|
||||
/* 540 A4000540 00000000 */ nop
|
||||
/* 544 A4000544 00000000 */ nop
|
||||
/* 548 A4000548 00000000 */ nop
|
||||
/* 54C A400054C 3C0BA460 */ lui $t3, 0xa460
|
||||
/* 550 A4000550 8D6B0010 */ lw $t3, 0x10($t3)
|
||||
/* 554 A4000554 316B0001 */ andi $t3, $t3, 1
|
||||
/* 558 A4000558 1560FFF0 */ bnez $t3, .LA400051C
|
||||
/* 55C A400055C 00000000 */ nop
|
||||
/* 55C A400055C 00000000 */ nop
|
||||
/* 560 A4000560 3C0BB000 */ lui $t3, 0xb000
|
||||
/* 564 A4000564 8D640008 */ lw $a0, 8($t3)
|
||||
/* 568 A4000568 3C010010 */ lui $at, 0x10
|
||||
@ -420,15 +420,15 @@ glabel func_A40004C0
|
||||
/* 634 A4000634 3C0BB000 */ lui $t3, 0xb000
|
||||
/* 638 A4000638 8D680010 */ lw $t0, 0x10($t3)
|
||||
/* 63C A400063C 14E80006 */ bne $a3, $t0, .LA4000658
|
||||
/* 640 A4000640 00000000 */ nop
|
||||
/* 640 A4000640 00000000 */ nop
|
||||
/* 644 A4000644 8D680014 */ lw $t0, 0x14($t3)
|
||||
/* 648 A4000648 16080003 */ bne $s0, $t0, .LA4000658
|
||||
/* 64C A400064C 00000000 */ nop
|
||||
/* 64C A400064C 00000000 */ nop
|
||||
/* 650 A4000650 04110003 */ bal .LA4000660
|
||||
/* 654 A4000654 00000000 */ nop
|
||||
/* 654 A4000654 00000000 */ nop
|
||||
.LA4000658:
|
||||
/* 658 A4000658 0411FFFF */ bal .LA4000658
|
||||
/* 65C A400065C 00000000 */ nop
|
||||
/* 65C A400065C 00000000 */ nop
|
||||
.LA4000660:
|
||||
/* 660 A4000660 3C09A408 */ lui $t1, 0xa408
|
||||
/* 664 A4000664 8D290000 */ lw $t1, ($t1)
|
||||
@ -500,8 +500,8 @@ glabel func_A40004C0
|
||||
/* 758 A4000758 3C010010 */ lui $at, 0x10
|
||||
/* 75C A400075C 01214823 */ subu $t1, $t1, $at
|
||||
/* 760 A4000760 01200008 */ jr $t1
|
||||
/* 764 A4000764 00000000 */ nop
|
||||
/* 768 A4000768 00000000 */ nop
|
||||
/* 764 A4000764 00000000 */ nop
|
||||
/* 768 A4000768 00000000 */ nop
|
||||
|
||||
glabel func_A400076C
|
||||
/* 76C A400076C 27BDFF60 */ addiu $sp, $sp, -0xa0
|
||||
@ -535,7 +535,7 @@ glabel func_A400076C
|
||||
/* 7DC A40007DC AFBF0064 */ sw $ra, 0x64($sp)
|
||||
.LA40007E0:
|
||||
/* 7E0 A40007E0 0D00021D */ jal func_A4000874
|
||||
/* 7E4 A40007E4 00000000 */ nop
|
||||
/* 7E4 A40007E4 00000000 */ nop
|
||||
/* 7E8 A40007E8 26100001 */ addiu $s0, $s0, 1
|
||||
/* 7EC A40007EC 2A090004 */ slti $t1, $s0, 4
|
||||
/* 7F0 A40007F0 1520FFFB */ bnez $t1, .LA40007E0
|
||||
@ -591,7 +591,7 @@ glabel func_A4000874
|
||||
/* 8AC A40008AC 00404825 */ or $t1, $v0, $zero
|
||||
/* 8B0 A40008B0 0000D012 */ mflo $k0
|
||||
/* 8B4 A40008B4 017A5821 */ addu $t3, $t3, $k0
|
||||
/* 8B8 A40008B8 00000000 */ nop
|
||||
/* 8B8 A40008B8 00000000 */ nop
|
||||
/* 8BC A40008BC 293A0050 */ slti $k0, $t1, 0x50
|
||||
.LA40008C0:
|
||||
/* 8C0 A40008C0 1740FFF1 */ bnez $k0, .LA4000888
|
||||
@ -611,7 +611,7 @@ glabel func_A4000874
|
||||
.LA40008F4:
|
||||
/* 8F4 A40008F4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
/* 8F8 A40008F8 03E00008 */ jr $ra
|
||||
/* 8FC A40008FC 00000000 */ nop
|
||||
/* 8FC A40008FC 00000000 */ nop
|
||||
|
||||
glabel func_A4000900
|
||||
/* 900 A4000900 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
@ -645,7 +645,7 @@ glabel func_A4000900
|
||||
/* 964 A4000964 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 968 A4000968 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
/* 96C A400096C 03E00008 */ jr $ra
|
||||
/* 970 A4000970 00000000 */ nop
|
||||
/* 970 A4000970 00000000 */ nop
|
||||
|
||||
glabel func_A4000974
|
||||
/* 974 A4000974 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
@ -701,7 +701,7 @@ glabel func_A4000974
|
||||
/* A24 A4000A24 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* A28 A4000A28 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
/* A2C A4000A2C 03E00008 */ jr $ra
|
||||
/* A30 A4000A30 00000000 */ nop
|
||||
/* A30 A4000A30 00000000 */ nop
|
||||
|
||||
glabel func_A4000A34
|
||||
/* A34 A4000A34 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
@ -741,7 +741,7 @@ glabel func_A4000A34
|
||||
/* AB4 A4000AB4 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* AB8 A4000AB8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
/* ABC A4000ABC 03E00008 */ jr $ra
|
||||
/* AC0 A4000AC0 00000000 */ nop
|
||||
/* AC0 A4000AC0 00000000 */ nop
|
||||
|
||||
glabel func_A4000AC4
|
||||
/* AC4 A4000AC4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
@ -782,8 +782,8 @@ glabel func_A4000AC4
|
||||
/* B50 A4000B50 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* B54 A4000B54 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
/* B58 A4000B58 03E00008 */ jr $ra
|
||||
/* B5C A4000B5C 00000000 */ nop
|
||||
/* B60 A4000B60 00000000 */ nop
|
||||
/* B64 A4000B64 00000000 */ nop
|
||||
/* B68 A4000B68 00000000 */ nop
|
||||
/* B6C A4000B6C 00000000 */ nop
|
||||
/* B5C A4000B5C 00000000 */ nop
|
||||
/* B60 A4000B60 00000000 */ nop
|
||||
/* B64 A4000B64 00000000 */ nop
|
||||
/* B68 A4000B68 00000000 */ nop
|
||||
/* B6C A4000B6C 00000000 */ nop
|
||||
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel BindHandleEvent
|
||||
/* 1A7500 80278C20 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1A7504 80278C24 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1A7508 80278C28 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 1A750C 80278C2C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1A7510 80278C30 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1A7514 80278C34 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1A7518 80278C38 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 1A751C 80278C3C 8E250000 */ lw $a1, ($s1)
|
||||
/* 1A7520 80278C40 0C0B1EAF */ jal get_variable
|
||||
/* 1A7524 80278C44 26310004 */ addiu $s1, $s1, 4
|
||||
/* 1A7528 80278C48 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1A752C 80278C4C 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1A7530 80278C50 16020002 */ bne $s0, $v0, .L80278C5C
|
||||
/* 1A7534 80278C54 00000000 */ nop
|
||||
/* 1A7538 80278C58 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L80278C5C:
|
||||
/* 1A753C 80278C5C 8E250000 */ lw $a1, ($s1)
|
||||
/* 1A7540 80278C60 0C0B1EAF */ jal get_variable
|
||||
/* 1A7544 80278C64 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1A7548 80278C68 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1A754C 80278C6C 0C09A75B */ jal get_actor
|
||||
/* 1A7550 80278C70 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1A7554 80278C74 AC5001C8 */ sw $s0, 0x1c8($v0)
|
||||
/* 1A7558 80278C78 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 1A755C 80278C7C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1A7560 80278C80 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1A7564 80278C84 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1A7568 80278C88 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1A756C 80278C8C 03E00008 */ jr $ra
|
||||
/* 1A7570 80278C90 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel BindNextTurn
|
||||
/* 1A7574 80278C94 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1A7578 80278C98 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1A757C 80278C9C 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 1A7580 80278CA0 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1A7584 80278CA4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1A7588 80278CA8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1A758C 80278CAC 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 1A7590 80278CB0 8E250000 */ lw $a1, ($s1)
|
||||
/* 1A7594 80278CB4 0C0B1EAF */ jal get_variable
|
||||
/* 1A7598 80278CB8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 1A759C 80278CBC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1A75A0 80278CC0 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1A75A4 80278CC4 16020002 */ bne $s0, $v0, .L80278CD0
|
||||
/* 1A75A8 80278CC8 00000000 */ nop
|
||||
/* 1A75AC 80278CCC 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L80278CD0:
|
||||
/* 1A75B0 80278CD0 8E250000 */ lw $a1, ($s1)
|
||||
/* 1A75B4 80278CD4 0C0B1EAF */ jal get_variable
|
||||
/* 1A75B8 80278CD8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1A75BC 80278CDC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1A75C0 80278CE0 0C09A75B */ jal get_actor
|
||||
/* 1A75C4 80278CE4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1A75C8 80278CE8 AC5001CC */ sw $s0, 0x1cc($v0)
|
||||
/* 1A75CC 80278CEC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 1A75D0 80278CF0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1A75D4 80278CF4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1A75D8 80278CF8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1A75DC 80278CFC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1A75E0 80278D00 03E00008 */ jr $ra
|
||||
/* 1A75E4 80278D04 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel BindTakeTurn
|
||||
/* 1A7210 80278930 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1A7214 80278934 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1A7218 80278938 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 1A721C 8027893C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1A7220 80278940 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1A7224 80278944 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1A7228 80278948 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 1A722C 8027894C 8E250000 */ lw $a1, ($s1)
|
||||
/* 1A7230 80278950 0C0B1EAF */ jal get_variable
|
||||
/* 1A7234 80278954 26310004 */ addiu $s1, $s1, 4
|
||||
/* 1A7238 80278958 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1A723C 8027895C 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1A7240 80278960 16020002 */ bne $s0, $v0, .L8027896C
|
||||
/* 1A7244 80278964 00000000 */ nop
|
||||
/* 1A7248 80278968 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L8027896C:
|
||||
/* 1A724C 8027896C 8E250000 */ lw $a1, ($s1)
|
||||
/* 1A7250 80278970 0C0B1EAF */ jal get_variable
|
||||
/* 1A7254 80278974 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1A7258 80278978 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1A725C 8027897C 0C09A75B */ jal get_actor
|
||||
/* 1A7260 80278980 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1A7264 80278984 AC5001C4 */ sw $s0, 0x1c4($v0)
|
||||
/* 1A7268 80278988 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 1A726C 8027898C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1A7270 80278990 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1A7274 80278994 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1A7278 80278998 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1A727C 8027899C 03E00008 */ jr $ra
|
||||
/* 1A7280 802789A0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel DispatchEvent
|
||||
/* 1ABB44 8027D264 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1ABB48 8027D268 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1ABB4C 8027D26C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1ABB50 8027D270 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1ABB54 8027D274 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1ABB58 8027D278 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 1ABB5C 8027D27C 8E050000 */ lw $a1, ($s0)
|
||||
/* 1ABB60 8027D280 0C0B1EAF */ jal get_variable
|
||||
/* 1ABB64 8027D284 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1ABB68 8027D288 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1ABB6C 8027D28C 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1ABB70 8027D290 14820002 */ bne $a0, $v0, .L8027D29C
|
||||
/* 1ABB74 8027D294 00000000 */ nop
|
||||
/* 1ABB78 8027D298 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L8027D29C:
|
||||
/* 1ABB7C 8027D29C 0C09A75B */ jal get_actor
|
||||
/* 1ABB80 8027D2A0 00000000 */ nop
|
||||
/* 1ABB84 8027D2A4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1ABB88 8027D2A8 8E050000 */ lw $a1, ($s0)
|
||||
/* 1ABB8C 8027D2AC 0C0B1EAF */ jal get_variable
|
||||
/* 1ABB90 8027D2B0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1ABB94 8027D2B4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1ABB98 8027D2B8 0C09DC58 */ jal dispatch_event_actor
|
||||
/* 1ABB9C 8027D2BC 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 1ABBA0 8027D2C0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1ABBA4 8027D2C4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1ABBA8 8027D2C8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1ABBAC 8027D2CC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1ABBB0 8027D2D0 03E00008 */ jr $ra
|
||||
/* 1ABBB4 8027D2D4 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,51 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel EnableActorBlur
|
||||
/* 1ABE5C 8027D57C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1ABE60 8027D580 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1ABE64 8027D584 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 1ABE68 8027D588 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1ABE6C 8027D58C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1ABE70 8027D590 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1ABE74 8027D594 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 1ABE78 8027D598 8E050000 */ lw $a1, ($s0)
|
||||
/* 1ABE7C 8027D59C 0C0B1EAF */ jal get_variable
|
||||
/* 1ABE80 8027D5A0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1ABE84 8027D5A4 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 1ABE88 8027D5A8 8E050000 */ lw $a1, ($s0)
|
||||
/* 1ABE8C 8027D5AC 0C0B1EAF */ jal get_variable
|
||||
/* 1ABE90 8027D5B0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1ABE94 8027D5B4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1ABE98 8027D5B8 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1ABE9C 8027D5BC 16220002 */ bne $s1, $v0, .L8027D5C8
|
||||
/* 1ABEA0 8027D5C0 00000000 */ nop
|
||||
/* 1ABEA4 8027D5C4 8E510148 */ lw $s1, 0x148($s2)
|
||||
.L8027D5C8:
|
||||
/* 1ABEA8 8027D5C8 0C09A75B */ jal get_actor
|
||||
/* 1ABEAC 8027D5CC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1ABEB0 8027D5D0 16000005 */ bnez $s0, .L8027D5E8
|
||||
/* 1ABEB4 8027D5D4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1ABEB8 8027D5D8 0C095157 */ jal disable_actor_blur
|
||||
/* 1ABEBC 8027D5DC 00000000 */ nop
|
||||
/* 1ABEC0 8027D5E0 0809F583 */ j .L8027D60C
|
||||
/* 1ABEC4 8027D5E4 00000000 */ nop
|
||||
.L8027D5E8:
|
||||
/* 1ABEC8 8027D5E8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1ABECC 8027D5EC 16020005 */ bne $s0, $v0, .L8027D604
|
||||
/* 1ABED0 8027D5F0 00000000 */ nop
|
||||
/* 1ABED4 8027D5F4 0C0950B3 */ jal enable_actor_blur
|
||||
/* 1ABED8 8027D5F8 00000000 */ nop
|
||||
/* 1ABEDC 8027D5FC 0809F583 */ j .L8027D60C
|
||||
/* 1ABEE0 8027D600 00000000 */ nop
|
||||
.L8027D604:
|
||||
/* 1ABEE4 8027D604 0C09516B */ jal reset_actor_blur
|
||||
/* 1ABEE8 8027D608 00000000 */ nop
|
||||
.L8027D60C:
|
||||
/* 1ABEEC 8027D60C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 1ABEF0 8027D610 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1ABEF4 8027D614 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1ABEF8 8027D618 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1ABEFC 8027D61C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1ABF00 8027D620 03E00008 */ jr $ra
|
||||
/* 1ABF04 8027D624 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,41 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetActorSize
|
||||
/* 1AC1C0 8027D8E0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 1AC1C4 8027D8E4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1AC1C8 8027D8E8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1AC1CC 8027D8EC AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 1AC1D0 8027D8F0 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 1AC1D4 8027D8F4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1AC1D8 8027D8F8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1AC1DC 8027D8FC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 1AC1E0 8027D900 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AC1E4 8027D904 0C0B1EAF */ jal get_variable
|
||||
/* 1AC1E8 8027D908 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1AC1EC 8027D90C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1AC1F0 8027D910 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1AC1F4 8027D914 8E120000 */ lw $s2, ($s0)
|
||||
/* 1AC1F8 8027D918 14820002 */ bne $a0, $v0, .L8027D924
|
||||
/* 1AC1FC 8027D91C 8E130004 */ lw $s3, 4($s0)
|
||||
/* 1AC200 8027D920 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L8027D924:
|
||||
/* 1AC204 8027D924 0C09A75B */ jal get_actor
|
||||
/* 1AC208 8027D928 00000000 */ nop
|
||||
/* 1AC20C 8027D92C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AC210 8027D930 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1AC214 8027D934 92060191 */ lbu $a2, 0x191($s0)
|
||||
/* 1AC218 8027D938 0C0B2026 */ jal set_variable
|
||||
/* 1AC21C 8027D93C 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 1AC220 8027D940 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AC224 8027D944 92060190 */ lbu $a2, 0x190($s0)
|
||||
/* 1AC228 8027D948 0C0B2026 */ jal set_variable
|
||||
/* 1AC22C 8027D94C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 1AC230 8027D950 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 1AC234 8027D954 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 1AC238 8027D958 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1AC23C 8027D95C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1AC240 8027D960 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AC244 8027D964 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AC248 8027D968 03E00008 */ jr $ra
|
||||
/* 1AC24C 8027D96C 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetCurrentActorType
|
||||
/* 1AC3B4 8027DAD4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1AC3B8 8027DAD8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1AC3BC 8027DADC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1AC3C0 8027DAE0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1AC3C4 8027DAE4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1AC3C8 8027DAE8 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 1AC3CC 8027DAEC 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AC3D0 8027DAF0 0C0B1EAF */ jal get_variable
|
||||
/* 1AC3D4 8027DAF4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1AC3D8 8027DAF8 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1AC3DC 8027DAFC 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1AC3E0 8027DB00 14820002 */ bne $a0, $v0, .L8027DB0C
|
||||
/* 1AC3E4 8027DB04 8E100000 */ lw $s0, ($s0)
|
||||
/* 1AC3E8 8027DB08 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L8027DB0C:
|
||||
/* 1AC3EC 8027DB0C 0C09A75B */ jal get_actor
|
||||
/* 1AC3F0 8027DB10 00000000 */ nop
|
||||
/* 1AC3F4 8027DB14 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AC3F8 8027DB18 90460136 */ lbu $a2, 0x136($v0)
|
||||
/* 1AC3FC 8027DB1C 0C0B2026 */ jal set_variable
|
||||
/* 1AC400 8027DB20 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1AC404 8027DB24 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1AC408 8027DB28 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1AC40C 8027DB2C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AC410 8027DB30 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AC414 8027DB34 03E00008 */ jr $ra
|
||||
/* 1AC418 8027DB38 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetEncounterState
|
||||
/* 1AC0A4 8027D7C4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1AC0A8 8027D7C8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1AC0AC 8027D7CC 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 1AC0B0 8027D7D0 3C06800B */ lui $a2, 0x800b
|
||||
/* 1AC0B4 8027D7D4 80C60F15 */ lb $a2, 0xf15($a2)
|
||||
/* 1AC0B8 8027D7D8 0C0B2026 */ jal set_variable
|
||||
/* 1AC0BC 8027D7DC 8C450000 */ lw $a1, ($v0)
|
||||
/* 1AC0C0 8027D7E0 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 1AC0C4 8027D7E4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AC0C8 8027D7E8 03E00008 */ jr $ra
|
||||
/* 1AC0CC 8027D7EC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetEnemyMaxHP
|
||||
/* 1AB028 8027C748 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1AB02C 8027C74C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1AB030 8027C750 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1AB034 8027C754 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1AB038 8027C758 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1AB03C 8027C75C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 1AB040 8027C760 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AB044 8027C764 0C0B1EAF */ jal get_variable
|
||||
/* 1AB048 8027C768 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1AB04C 8027C76C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1AB050 8027C770 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1AB054 8027C774 14820002 */ bne $a0, $v0, .L8027C780
|
||||
/* 1AB058 8027C778 00000000 */ nop
|
||||
/* 1AB05C 8027C77C 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L8027C780:
|
||||
/* 1AB060 8027C780 0C09A75B */ jal get_actor
|
||||
/* 1AB064 8027C784 8E100000 */ lw $s0, ($s0)
|
||||
/* 1AB068 8027C788 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AB06C 8027C78C 804601B9 */ lb $a2, 0x1b9($v0)
|
||||
/* 1AB070 8027C790 0C0B2026 */ jal set_variable
|
||||
/* 1AB074 8027C794 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1AB078 8027C798 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1AB07C 8027C79C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1AB080 8027C7A0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AB084 8027C7A4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AB088 8027C7A8 03E00008 */ jr $ra
|
||||
/* 1AB08C 8027C7AC 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetLastDamage
|
||||
/* 1AC41C 8027DB3C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1AC420 8027DB40 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1AC424 8027DB44 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1AC428 8027DB48 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1AC42C 8027DB4C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1AC430 8027DB50 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 1AC434 8027DB54 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AC438 8027DB58 0C0B1EAF */ jal get_variable
|
||||
/* 1AC43C 8027DB5C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1AC440 8027DB60 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1AC444 8027DB64 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1AC448 8027DB68 14820002 */ bne $a0, $v0, .L8027DB74
|
||||
/* 1AC44C 8027DB6C 00000000 */ nop
|
||||
/* 1AC450 8027DB70 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L8027DB74:
|
||||
/* 1AC454 8027DB74 0C09A75B */ jal get_actor
|
||||
/* 1AC458 8027DB78 8E100000 */ lw $s0, ($s0)
|
||||
/* 1AC45C 8027DB7C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AC460 8027DB80 844601F8 */ lh $a2, 0x1f8($v0)
|
||||
/* 1AC464 8027DB84 0C0B2026 */ jal set_variable
|
||||
/* 1AC468 8027DB88 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1AC46C 8027DB8C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1AC470 8027DB90 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1AC474 8027DB94 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AC478 8027DB98 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AC47C 8027DB9C 03E00008 */ jr $ra
|
||||
/* 1AC480 8027DBA0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetLastEvent
|
||||
/* 1AADC0 8027C4E0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1AADC4 8027C4E4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1AADC8 8027C4E8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1AADCC 8027C4EC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1AADD0 8027C4F0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1AADD4 8027C4F4 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 1AADD8 8027C4F8 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AADDC 8027C4FC 0C0B1EAF */ jal get_variable
|
||||
/* 1AADE0 8027C500 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1AADE4 8027C504 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1AADE8 8027C508 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1AADEC 8027C50C 14820002 */ bne $a0, $v0, .L8027C518
|
||||
/* 1AADF0 8027C510 00000000 */ nop
|
||||
/* 1AADF4 8027C514 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L8027C518:
|
||||
/* 1AADF8 8027C518 0C09A75B */ jal get_actor
|
||||
/* 1AADFC 8027C51C 8E100000 */ lw $s0, ($s0)
|
||||
/* 1AAE00 8027C520 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AAE04 8027C524 804601F0 */ lb $a2, 0x1f0($v0)
|
||||
/* 1AAE08 8027C528 0C0B2026 */ jal set_variable
|
||||
/* 1AAE0C 8027C52C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1AAE10 8027C530 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1AAE14 8027C534 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1AAE18 8027C538 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AAE1C 8027C53C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AAE20 8027C540 03E00008 */ jr $ra
|
||||
/* 1AAE24 8027C544 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetOriginalActorType
|
||||
/* 1AC348 8027DA68 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1AC34C 8027DA6C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1AC350 8027DA70 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1AC354 8027DA74 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1AC358 8027DA78 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1AC35C 8027DA7C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 1AC360 8027DA80 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AC364 8027DA84 0C0B1EAF */ jal get_variable
|
||||
/* 1AC368 8027DA88 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1AC36C 8027DA8C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1AC370 8027DA90 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1AC374 8027DA94 14820002 */ bne $a0, $v0, .L8027DAA0
|
||||
/* 1AC378 8027DA98 8E100000 */ lw $s0, ($s0)
|
||||
/* 1AC37C 8027DA9C 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L8027DAA0:
|
||||
/* 1AC380 8027DAA0 0C09A75B */ jal get_actor
|
||||
/* 1AC384 8027DAA4 00000000 */ nop
|
||||
/* 1AC388 8027DAA8 8C420008 */ lw $v0, 8($v0)
|
||||
/* 1AC38C 8027DAAC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AC390 8027DAB0 90460005 */ lbu $a2, 5($v0)
|
||||
/* 1AC394 8027DAB4 0C0B2026 */ jal set_variable
|
||||
/* 1AC398 8027DAB8 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1AC39C 8027DABC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1AC3A0 8027DAC0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1AC3A4 8027DAC4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AC3A8 8027DAC8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AC3AC 8027DACC 03E00008 */ jr $ra
|
||||
/* 1AC3B0 8027DAD0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel PauseTakeTurn
|
||||
/* 1A7284 802789A4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1A7288 802789A8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1A728C 802789AC 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 1A7290 802789B0 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1A7294 802789B4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1A7298 802789B8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1A729C 802789BC 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 1A72A0 802789C0 8E250000 */ lw $a1, ($s1)
|
||||
/* 1A72A4 802789C4 0C0B1EAF */ jal get_variable
|
||||
/* 1A72A8 802789C8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 1A72AC 802789CC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1A72B0 802789D0 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1A72B4 802789D4 16020002 */ bne $s0, $v0, .L802789E0
|
||||
/* 1A72B8 802789D8 00000000 */ nop
|
||||
/* 1A72BC 802789DC 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L802789E0:
|
||||
/* 1A72C0 802789E0 8E250000 */ lw $a1, ($s1)
|
||||
/* 1A72C4 802789E4 0C0B1EAF */ jal get_variable
|
||||
/* 1A72C8 802789E8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1A72CC 802789EC 0C09A75B */ jal get_actor
|
||||
/* 1A72D0 802789F0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1A72D4 802789F4 8C4401E4 */ lw $a0, 0x1e4($v0)
|
||||
/* 1A72D8 802789F8 0C0B1108 */ jal suspend_all_script
|
||||
/* 1A72DC 802789FC 00000000 */ nop
|
||||
/* 1A72E0 80278A00 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 1A72E4 80278A04 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1A72E8 80278A08 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1A72EC 80278A0C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1A72F0 80278A10 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1A72F4 80278A14 03E00008 */ jr $ra
|
||||
/* 1A72F8 80278A18 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel ResumeTakeTurn
|
||||
/* 1A72FC 80278A1C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1A7300 80278A20 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1A7304 80278A24 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 1A7308 80278A28 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1A730C 80278A2C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1A7310 80278A30 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1A7314 80278A34 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 1A7318 80278A38 8E250000 */ lw $a1, ($s1)
|
||||
/* 1A731C 80278A3C 0C0B1EAF */ jal get_variable
|
||||
/* 1A7320 80278A40 26310004 */ addiu $s1, $s1, 4
|
||||
/* 1A7324 80278A44 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1A7328 80278A48 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1A732C 80278A4C 16020002 */ bne $s0, $v0, .L80278A58
|
||||
/* 1A7330 80278A50 00000000 */ nop
|
||||
/* 1A7334 80278A54 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L80278A58:
|
||||
/* 1A7338 80278A58 8E250000 */ lw $a1, ($s1)
|
||||
/* 1A733C 80278A5C 0C0B1EAF */ jal get_variable
|
||||
/* 1A7340 80278A60 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1A7344 80278A64 0C09A75B */ jal get_actor
|
||||
/* 1A7348 80278A68 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1A734C 80278A6C 8C4401E4 */ lw $a0, 0x1e4($v0)
|
||||
/* 1A7350 80278A70 0C0B1123 */ jal resume_all_script
|
||||
/* 1A7354 80278A74 00000000 */ nop
|
||||
/* 1A7358 80278A78 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 1A735C 80278A7C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1A7360 80278A80 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1A7364 80278A84 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1A7368 80278A88 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1A736C 80278A8C 03E00008 */ jr $ra
|
||||
/* 1A7370 80278A90 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetDefenseTable
|
||||
/* 1AB354 8027CA74 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1AB358 8027CA78 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1AB35C 8027CA7C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1AB360 8027CA80 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1AB364 8027CA84 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1AB368 8027CA88 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1AB36C 8027CA8C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 1AB370 8027CA90 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AB374 8027CA94 0C0B1EAF */ jal get_variable
|
||||
/* 1AB378 8027CA98 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1AB37C 8027CA9C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 1AB380 8027CAA0 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1AB384 8027CAA4 16420002 */ bne $s2, $v0, .L8027CAB0
|
||||
/* 1AB388 8027CAA8 00000000 */ nop
|
||||
/* 1AB38C 8027CAAC 8E320148 */ lw $s2, 0x148($s1)
|
||||
.L8027CAB0:
|
||||
/* 1AB390 8027CAB0 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AB394 8027CAB4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1AB398 8027CAB8 0C0B1EAF */ jal get_variable
|
||||
/* 1AB39C 8027CABC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AB3A0 8027CAC0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AB3A4 8027CAC4 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AB3A8 8027CAC8 0C0B1EAF */ jal get_variable
|
||||
/* 1AB3AC 8027CACC 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 1AB3B0 8027CAD0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1AB3B4 8027CAD4 0C09A75B */ jal get_actor
|
||||
/* 1AB3B8 8027CAD8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1AB3BC 8027CADC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1AB3C0 8027CAE0 0C099117 */ jal get_actor_part
|
||||
/* 1AB3C4 8027CAE4 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 1AB3C8 8027CAE8 AC500078 */ sw $s0, 0x78($v0)
|
||||
/* 1AB3CC 8027CAEC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 1AB3D0 8027CAF0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1AB3D4 8027CAF4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1AB3D8 8027CAF8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AB3DC 8027CAFC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AB3E0 8027CB00 03E00008 */ jr $ra
|
||||
/* 1AB3E4 8027CB04 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetIdleAnimations
|
||||
/* 1AB45C 8027CB7C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1AB460 8027CB80 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1AB464 8027CB84 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1AB468 8027CB88 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1AB46C 8027CB8C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1AB470 8027CB90 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1AB474 8027CB94 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 1AB478 8027CB98 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AB47C 8027CB9C 0C0B1EAF */ jal get_variable
|
||||
/* 1AB480 8027CBA0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1AB484 8027CBA4 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 1AB488 8027CBA8 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1AB48C 8027CBAC 16420002 */ bne $s2, $v0, .L8027CBB8
|
||||
/* 1AB490 8027CBB0 00000000 */ nop
|
||||
/* 1AB494 8027CBB4 8E320148 */ lw $s2, 0x148($s1)
|
||||
.L8027CBB8:
|
||||
/* 1AB498 8027CBB8 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AB49C 8027CBBC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1AB4A0 8027CBC0 0C0B1EAF */ jal get_variable
|
||||
/* 1AB4A4 8027CBC4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AB4A8 8027CBC8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AB4AC 8027CBCC 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AB4B0 8027CBD0 0C0B1EAF */ jal get_variable
|
||||
/* 1AB4B4 8027CBD4 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 1AB4B8 8027CBD8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1AB4BC 8027CBDC 0C09A75B */ jal get_actor
|
||||
/* 1AB4C0 8027CBE0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1AB4C4 8027CBE4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1AB4C8 8027CBE8 0C099117 */ jal get_actor_part
|
||||
/* 1AB4CC 8027CBEC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 1AB4D0 8027CBF0 AC500094 */ sw $s0, 0x94($v0)
|
||||
/* 1AB4D4 8027CBF4 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 1AB4D8 8027CBF8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1AB4DC 8027CBFC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1AB4E0 8027CC00 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AB4E4 8027CC04 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AB4E8 8027CC08 03E00008 */ jr $ra
|
||||
/* 1AB4EC 8027CC0C 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetStatusTable
|
||||
/* 1AB3E8 8027CB08 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1AB3EC 8027CB0C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1AB3F0 8027CB10 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 1AB3F4 8027CB14 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1AB3F8 8027CB18 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1AB3FC 8027CB1C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1AB400 8027CB20 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 1AB404 8027CB24 8E250000 */ lw $a1, ($s1)
|
||||
/* 1AB408 8027CB28 0C0B1EAF */ jal get_variable
|
||||
/* 1AB40C 8027CB2C 26310004 */ addiu $s1, $s1, 4
|
||||
/* 1AB410 8027CB30 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1AB414 8027CB34 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1AB418 8027CB38 16020002 */ bne $s0, $v0, .L8027CB44
|
||||
/* 1AB41C 8027CB3C 00000000 */ nop
|
||||
/* 1AB420 8027CB40 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L8027CB44:
|
||||
/* 1AB424 8027CB44 8E250000 */ lw $a1, ($s1)
|
||||
/* 1AB428 8027CB48 0C0B1EAF */ jal get_variable
|
||||
/* 1AB42C 8027CB4C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1AB430 8027CB50 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1AB434 8027CB54 0C09A75B */ jal get_actor
|
||||
/* 1AB438 8027CB58 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1AB43C 8027CB5C AC50020C */ sw $s0, 0x20c($v0)
|
||||
/* 1AB440 8027CB60 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 1AB444 8027CB64 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1AB448 8027CB68 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1AB44C 8027CB6C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AB450 8027CB70 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AB454 8027CB74 03E00008 */ jr $ra
|
||||
/* 1AB458 8027CB78 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,37 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetTargetActor
|
||||
/* 1AAE28 8027C548 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1AAE2C 8027C54C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1AAE30 8027C550 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 1AAE34 8027C554 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1AAE38 8027C558 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1AAE3C 8027C55C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1AAE40 8027C560 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 1AAE44 8027C564 8E250000 */ lw $a1, ($s1)
|
||||
/* 1AAE48 8027C568 0C0B1EAF */ jal get_variable
|
||||
/* 1AAE4C 8027C56C 26310004 */ addiu $s1, $s1, 4
|
||||
/* 1AAE50 8027C570 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1AAE54 8027C574 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1AAE58 8027C578 16020002 */ bne $s0, $v0, .L8027C584
|
||||
/* 1AAE5C 8027C57C 00000000 */ nop
|
||||
/* 1AAE60 8027C580 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L8027C584:
|
||||
/* 1AAE64 8027C584 8E250000 */ lw $a1, ($s1)
|
||||
/* 1AAE68 8027C588 0C0B1EAF */ jal get_variable
|
||||
/* 1AAE6C 8027C58C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1AAE70 8027C590 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1AAE74 8027C594 0C09A75B */ jal get_actor
|
||||
/* 1AAE78 8027C598 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1AAE7C 8027C59C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1AAE80 8027C5A0 24030001 */ addiu $v1, $zero, 1
|
||||
/* 1AAE84 8027C5A4 A4900428 */ sh $s0, 0x428($a0)
|
||||
/* 1AAE88 8027C5A8 A0830426 */ sb $v1, 0x426($a0)
|
||||
/* 1AAE8C 8027C5AC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 1AAE90 8027C5B0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1AAE94 8027C5B4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1AAE98 8027C5B8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AAE9C 8027C5BC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AAEA0 8027C5C0 03E00008 */ jr $ra
|
||||
/* 1AAEA4 8027C5C4 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,12 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel YieldTurn
|
||||
/* 1AC0D0 8027D7F0 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 1AC0D4 8027D7F4 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 1AC0D8 8027D7F8 8C430000 */ lw $v1, ($v0)
|
||||
/* 1AC0DC 8027D7FC 3C040020 */ lui $a0, 0x20
|
||||
/* 1AC0E0 8027D800 00641825 */ or $v1, $v1, $a0
|
||||
/* 1AC0E4 8027D804 AC430000 */ sw $v1, ($v0)
|
||||
/* 1AC0E8 8027D808 03E00008 */ jr $ra
|
||||
/* 1AC0EC 8027D80C 24020002 */ addiu $v0, $zero, 2
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8027D2D8
|
||||
/* 1ABBB8 8027D2D8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1ABBBC 8027D2DC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1ABBC0 8027D2E0 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 1ABBC4 8027D2E4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 1ABBC8 8027D2E8 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 1ABBCC 8027D2EC 0C0B1EAF */ jal get_variable
|
||||
/* 1ABBD0 8027D2F0 8C450000 */ lw $a1, ($v0)
|
||||
/* 1ABBD4 8027D2F4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1ABBD8 8027D2F8 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1ABBDC 8027D2FC 14820002 */ bne $a0, $v0, .L8027D308
|
||||
/* 1ABBE0 8027D300 00000000 */ nop
|
||||
/* 1ABBE4 8027D304 8E040148 */ lw $a0, 0x148($s0)
|
||||
.L8027D308:
|
||||
/* 1ABBE8 8027D308 0C09A75B */ jal get_actor
|
||||
/* 1ABBEC 8027D30C 00000000 */ nop
|
||||
/* 1ABBF0 8027D310 0C099AB7 */ jal func_80266ADC
|
||||
/* 1ABBF4 8027D314 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1ABBF8 8027D318 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 1ABBFC 8027D31C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1ABC00 8027D320 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1ABC04 8027D324 03E00008 */ jr $ra
|
||||
/* 1ABC08 8027D328 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8027D32C
|
||||
/* 1ABC0C 8027D32C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1ABC10 8027D330 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1ABC14 8027D334 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 1ABC18 8027D338 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 1ABC1C 8027D33C 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 1ABC20 8027D340 0C0B1EAF */ jal get_variable
|
||||
/* 1ABC24 8027D344 8C450000 */ lw $a1, ($v0)
|
||||
/* 1ABC28 8027D348 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1ABC2C 8027D34C 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1ABC30 8027D350 14820002 */ bne $a0, $v0, .L8027D35C
|
||||
/* 1ABC34 8027D354 00000000 */ nop
|
||||
/* 1ABC38 8027D358 8E040148 */ lw $a0, 0x148($s0)
|
||||
.L8027D35C:
|
||||
/* 1ABC3C 8027D35C 0C09A75B */ jal get_actor
|
||||
/* 1ABC40 8027D360 00000000 */ nop
|
||||
/* 1ABC44 8027D364 0C099ABE */ jal func_80266AF8
|
||||
/* 1ABC48 8027D368 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1ABC4C 8027D36C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 1ABC50 8027D370 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1ABC54 8027D374 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1ABC58 8027D378 03E00008 */ jr $ra
|
||||
/* 1ABC5C 8027D37C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8027D628
|
||||
/* 1ABF08 8027D628 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1ABF0C 8027D62C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1ABF10 8027D630 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 1ABF14 8027D634 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 1ABF18 8027D638 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 1ABF1C 8027D63C 0C0B1EAF */ jal get_variable
|
||||
/* 1ABF20 8027D640 8C450000 */ lw $a1, ($v0)
|
||||
/* 1ABF24 8027D644 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1ABF28 8027D648 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1ABF2C 8027D64C 14820002 */ bne $a0, $v0, .L8027D658
|
||||
/* 1ABF30 8027D650 00000000 */ nop
|
||||
/* 1ABF34 8027D654 8E040148 */ lw $a0, 0x148($s0)
|
||||
.L8027D658:
|
||||
/* 1ABF38 8027D658 0C09A75B */ jal get_actor
|
||||
/* 1ABF3C 8027D65C 00000000 */ nop
|
||||
/* 1ABF40 8027D660 0C095184 */ jal func_80254610
|
||||
/* 1ABF44 8027D664 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1ABF48 8027D668 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 1ABF4C 8027D66C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1ABF50 8027D670 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1ABF54 8027D674 03E00008 */ jr $ra
|
||||
/* 1ABF58 8027D678 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8027D75C
|
||||
/* 1AC03C 8027D75C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1AC040 8027D760 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1AC044 8027D764 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1AC048 8027D768 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1AC04C 8027D76C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1AC050 8027D770 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 1AC054 8027D774 8E050000 */ lw $a1, ($s0)
|
||||
/* 1AC058 8027D778 0C0B1EAF */ jal get_variable
|
||||
/* 1AC05C 8027D77C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1AC060 8027D780 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1AC064 8027D784 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1AC068 8027D788 14820002 */ bne $a0, $v0, .L8027D794
|
||||
/* 1AC06C 8027D78C 8E100000 */ lw $s0, ($s0)
|
||||
/* 1AC070 8027D790 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L8027D794:
|
||||
/* 1AC074 8027D794 0C09A75B */ jal get_actor
|
||||
/* 1AC078 8027D798 00000000 */ nop
|
||||
/* 1AC07C 8027D79C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1AC080 8027D7A0 80460208 */ lb $a2, 0x208($v0)
|
||||
/* 1AC084 8027D7A4 0C0B2026 */ jal set_variable
|
||||
/* 1AC088 8027D7A8 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1AC08C 8027D7AC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1AC090 8027D7B0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1AC094 8027D7B4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AC098 8027D7B8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AC09C 8027D7BC 03E00008 */ jr $ra
|
||||
/* 1AC0A0 8027D7C0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,18 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8003EE98
|
||||
/* 1A298 8003EE98 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1A29C 8003EE9C 10A00004 */ beqz $a1, .L8003EEB0
|
||||
/* 1A2A0 8003EEA0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1A2A4 8003EEA4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 1A2A8 8003EEA8 0C011740 */ jal func_80045D00
|
||||
/* 1A2AC 8003EEAC 2405003C */ addiu $a1, $zero, 0x3c
|
||||
.L8003EEB0:
|
||||
/* 1A2B0 8003EEB0 0C0117E9 */ jal func_80045FA4
|
||||
/* 1A2B4 8003EEB4 00000000 */ nop
|
||||
/* 1A2B8 8003EEB8 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 1A2BC 8003EEBC 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 1A2C0 8003EEC0 00021040 */ sll $v0, $v0, 1
|
||||
/* 1A2C4 8003EEC4 03E00008 */ jr $ra
|
||||
/* 1A2C8 8003EEC8 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,18 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8003EECC
|
||||
/* 1A2CC 8003EECC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1A2D0 8003EED0 10A00004 */ beqz $a1, .L8003EEE4
|
||||
/* 1A2D4 8003EED4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1A2D8 8003EED8 24040001 */ addiu $a0, $zero, 1
|
||||
/* 1A2DC 8003EEDC 0C011740 */ jal func_80045D00
|
||||
/* 1A2E0 8003EEE0 2405003C */ addiu $a1, $zero, 0x3c
|
||||
.L8003EEE4:
|
||||
/* 1A2E4 8003EEE4 0C0117E9 */ jal func_80045FA4
|
||||
/* 1A2E8 8003EEE8 00000000 */ nop
|
||||
/* 1A2EC 8003EEEC 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 1A2F0 8003EEF0 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 1A2F4 8003EEF4 00021040 */ sll $v0, $v0, 1
|
||||
/* 1A2F8 8003EEF8 03E00008 */ jr $ra
|
||||
/* 1A2FC 8003EEFC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8003F018
|
||||
/* 1A418 8003F018 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1A41C 8003F01C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1A420 8003F020 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 1A424 8003F024 2404FFF6 */ addiu $a0, $zero, -0xa
|
||||
/* 1A428 8003F028 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1A42C 8003F02C 0C00EABB */ jal get_npc_unsafe
|
||||
/* 1A430 8003F030 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1A434 8003F034 12000004 */ beqz $s0, .L8003F048
|
||||
/* 1A438 8003F038 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 1A43C 8003F03C 0C05272D */ jal play_sound
|
||||
/* 1A440 8003F040 2404024B */ addiu $a0, $zero, 0x24b
|
||||
/* 1A444 8003F044 A22000AC */ sb $zero, 0xac($s1)
|
||||
.L8003F048:
|
||||
/* 1A448 8003F048 922200AC */ lbu $v0, 0xac($s1)
|
||||
/* 1A44C 8003F04C 24420011 */ addiu $v0, $v0, 0x11
|
||||
/* 1A450 8003F050 A22200AC */ sb $v0, 0xac($s1)
|
||||
/* 1A454 8003F054 304200FF */ andi $v0, $v0, 0xff
|
||||
/* 1A458 8003F058 2C4200FF */ sltiu $v0, $v0, 0xff
|
||||
/* 1A45C 8003F05C 14400004 */ bnez $v0, .L8003F070
|
||||
/* 1A460 8003F060 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 1A464 8003F064 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 1A468 8003F068 A22200AC */ sb $v0, 0xac($s1)
|
||||
/* 1A46C 8003F06C 24020001 */ addiu $v0, $zero, 1
|
||||
.L8003F070:
|
||||
/* 1A470 8003F070 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1A474 8003F074 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1A478 8003F078 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1A47C 8003F07C 03E00008 */ jr $ra
|
||||
/* 1A480 8003F080 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8004DA0C
|
||||
/* 28E0C 8004DA0C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 28E10 8004DA10 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 28E14 8004DA14 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 28E18 8004DA18 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 28E1C 8004DA1C 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 28E20 8004DA20 1220000D */ beqz $s1, .L8004DA58
|
||||
/* 28E24 8004DA24 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 28E28 8004DA28 0C0135E5 */ jal func_8004D794
|
||||
/* 28E2C 8004DA2C 00000000 */ nop
|
||||
/* 28E30 8004DA30 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 28E34 8004DA34 50800009 */ beql $a0, $zero, .L8004DA5C
|
||||
/* 28E38 8004DA38 24100002 */ addiu $s0, $zero, 2
|
||||
/* 28E3C 8004DA3C 8C82001C */ lw $v0, 0x1c($a0)
|
||||
/* 28E40 8004DA40 16220007 */ bne $s1, $v0, .L8004DA60
|
||||
/* 28E44 8004DA44 0200102D */ daddu $v0, $s0, $zero
|
||||
/* 28E48 8004DA48 0C0136AA */ jal func_8004DAA8
|
||||
/* 28E4C 8004DA4C 00000000 */ nop
|
||||
/* 28E50 8004DA50 08013698 */ j .L8004DA60
|
||||
/* 28E54 8004DA54 0200102D */ daddu $v0, $s0, $zero
|
||||
.L8004DA58:
|
||||
/* 28E58 8004DA58 24100003 */ addiu $s0, $zero, 3
|
||||
.L8004DA5C:
|
||||
/* 28E5C 8004DA5C 0200102D */ daddu $v0, $s0, $zero
|
||||
.L8004DA60:
|
||||
/* 28E60 8004DA60 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 28E64 8004DA64 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 28E68 8004DA68 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 28E6C 8004DA6C 03E00008 */ jr $ra
|
||||
/* 28E70 8004DA70 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,19 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8004DAA8
|
||||
/* 28EA8 8004DAA8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 28EAC 8004DAAC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 28EB0 8004DAB0 90820221 */ lbu $v0, 0x221($a0)
|
||||
/* 28EB4 8004DAB4 10400007 */ beqz $v0, .L8004DAD4
|
||||
/* 28EB8 8004DAB8 24020004 */ addiu $v0, $zero, 4
|
||||
/* 28EBC 8004DABC A0820221 */ sb $v0, 0x221($a0)
|
||||
/* 28EC0 8004DAC0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 28EC4 8004DAC4 AC820010 */ sw $v0, 0x10($a0)
|
||||
/* 28EC8 8004DAC8 AC820008 */ sw $v0, 8($a0)
|
||||
/* 28ECC 8004DACC 0C014E86 */ jal func_80053A18
|
||||
/* 28ED0 8004DAD0 2484002C */ addiu $a0, $a0, 0x2c
|
||||
.L8004DAD4:
|
||||
/* 28ED4 8004DAD4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 28ED8 8004DAD8 03E00008 */ jr $ra
|
||||
/* 28EDC 8004DADC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,8 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80053A18
|
||||
/* 2EE18 80053A18 A480000A */ sh $zero, 0xa($a0)
|
||||
/* 2EE1C 80053A1C AC800004 */ sw $zero, 4($a0)
|
||||
/* 2EE20 80053A20 03E00008 */ jr $ra
|
||||
/* 2EE24 80053A24 AC80000C */ sw $zero, 0xc($a0)
|
@ -1,11 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_800559C4
|
||||
/* 30DC4 800559C4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 30DC8 800559C8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 30DCC 800559CC 0C013683 */ jal func_8004DA0C
|
||||
/* 30DD0 800559D0 00000000 */ nop
|
||||
/* 30DD4 800559D4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 30DD8 800559D8 03E00008 */ jr $ra
|
||||
/* 30DDC 800559DC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -11,8 +11,8 @@ glabel func_802BD758
|
||||
/* 3184C0 802BD770 3C138011 */ lui $s3, %hi(gPlayerStatus)
|
||||
/* 3184C4 802BD774 2673EFC8 */ addiu $s3, $s3, %lo(gPlayerStatus)
|
||||
/* 3184C8 802BD778 AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 3184CC 802BD77C 3C148016 */ lui $s4, 0x8016
|
||||
/* 3184D0 802BD780 2694A550 */ addiu $s4, $s4, -0x5ab0
|
||||
/* 3184CC 802BD77C 3C148016 */ lui $s4, %hi(gCollisionStatus)
|
||||
/* 3184D0 802BD780 2694A550 */ addiu $s4, $s4, %lo(gCollisionStatus)
|
||||
/* 3184D4 802BD784 AFB50044 */ sw $s5, 0x44($sp)
|
||||
/* 3184D8 802BD788 3C158011 */ lui $s5, %hi(D_8010EBB0)
|
||||
/* 3184DC 802BD78C 26B5EBB0 */ addiu $s5, $s5, %lo(D_8010EBB0)
|
||||
|
@ -298,8 +298,8 @@ glabel func_802BD660
|
||||
/* 31A030 802BDAC0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 31A034 802BDAC4 0C052742 */ jal play_sound_at_npc
|
||||
/* 31A038 802BDAC8 2406FFFC */ addiu $a2, $zero, -4
|
||||
/* 31A03C 802BDACC 3C038016 */ lui $v1, 0x8016
|
||||
/* 31A040 802BDAD0 2463A550 */ addiu $v1, $v1, -0x5ab0
|
||||
/* 31A03C 802BDACC 3C038016 */ lui $v1, %hi(gCollisionStatus)
|
||||
/* 31A040 802BDAD0 2463A550 */ addiu $v1, $v1, %lo(gCollisionStatus)
|
||||
/* 31A044 802BDAD4 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 31A048 802BDAD8 A4620004 */ sh $v0, 4($v1)
|
||||
/* 31A04C 802BDADC A4620002 */ sh $v0, 2($v1)
|
||||
|
@ -379,8 +379,8 @@ glabel func_802BD638
|
||||
/* 31BBFC 802BDBDC 00000000 */ nop
|
||||
/* 31BC00 802BDBE0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 31BC04 802BDBE4 46001081 */ sub.s $f2, $f2, $f0
|
||||
/* 31BC08 802BDBE8 3C028016 */ lui $v0, 0x8016
|
||||
/* 31BC0C 802BDBEC 2442A550 */ addiu $v0, $v0, -0x5ab0
|
||||
/* 31BC08 802BDBE8 3C028016 */ lui $v0, %hi(gCollisionStatus)
|
||||
/* 31BC0C 802BDBEC 2442A550 */ addiu $v0, $v0, %lo(gCollisionStatus)
|
||||
/* 31BC10 802BDBF0 A4430008 */ sh $v1, 8($v0)
|
||||
/* 31BC14 802BDBF4 0C0AF451 */ jal func_802BD144
|
||||
/* 31BC18 802BDBF8 E682002C */ swc1 $f2, 0x2c($s4)
|
||||
|
@ -10,8 +10,8 @@ glabel func_802BD368
|
||||
/* 31E0EC 802BD37C C7A6004C */ lwc1 $f6, 0x4c($sp)
|
||||
/* 31E0F0 802BD380 27A20020 */ addiu $v0, $sp, 0x20
|
||||
/* 31E0F4 802BD384 AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* 31E0F8 802BD388 3C108016 */ lui $s0, 0x8016
|
||||
/* 31E0FC 802BD38C 2610A550 */ addiu $s0, $s0, -0x5ab0
|
||||
/* 31E0F8 802BD388 3C108016 */ lui $s0, %hi(gCollisionStatus)
|
||||
/* 31E0FC 802BD38C 2610A550 */ addiu $s0, $s0, %lo(gCollisionStatus)
|
||||
/* 31E100 802BD390 AFB1002C */ sw $s1, 0x2c($sp)
|
||||
/* 31E104 802BD394 0200882D */ daddu $s1, $s0, $zero
|
||||
/* 31E108 802BD398 AFA5003C */ sw $a1, 0x3c($sp)
|
||||
|
@ -22,8 +22,8 @@ glabel func_802BD414
|
||||
/* 31E1C8 802BD458 2694EFC8 */ addiu $s4, $s4, %lo(gPlayerStatus)
|
||||
/* 31E1CC 802BD45C 3C158011 */ lui $s5, %hi(D_8010EBB0)
|
||||
/* 31E1D0 802BD460 26B5EBB0 */ addiu $s5, $s5, %lo(D_8010EBB0)
|
||||
/* 31E1D4 802BD464 3C118016 */ lui $s1, 0x8016
|
||||
/* 31E1D8 802BD468 2631A550 */ addiu $s1, $s1, -0x5ab0
|
||||
/* 31E1D4 802BD464 3C118016 */ lui $s1, %hi(gCollisionStatus)
|
||||
/* 31E1D8 802BD468 2631A550 */ addiu $s1, $s1, %lo(gCollisionStatus)
|
||||
/* 31E1DC 802BD46C 3C02802C */ lui $v0, 0x802c
|
||||
/* 31E1E0 802BD470 8C42FEE4 */ lw $v0, -0x11c($v0)
|
||||
/* 31E1E4 802BD474 3C014200 */ lui $at, 0x4200
|
||||
|
@ -12,8 +12,8 @@ glabel func_802BE3A4
|
||||
/* 31F130 802BE3C0 3C108011 */ lui $s0, %hi(gPlayerData)
|
||||
/* 31F134 802BE3C4 2610F290 */ addiu $s0, $s0, %lo(gPlayerData)
|
||||
/* 31F138 802BE3C8 AFB60060 */ sw $s6, 0x60($sp)
|
||||
/* 31F13C 802BE3CC 3C168016 */ lui $s6, 0x8016
|
||||
/* 31F140 802BE3D0 26D6A550 */ addiu $s6, $s6, -0x5ab0
|
||||
/* 31F13C 802BE3CC 3C168016 */ lui $s6, %hi(gCollisionStatus)
|
||||
/* 31F140 802BE3D0 26D6A550 */ addiu $s6, $s6, %lo(gCollisionStatus)
|
||||
/* 31F144 802BE3D4 AFB40058 */ sw $s4, 0x58($sp)
|
||||
/* 31F148 802BE3D8 3C148011 */ lui $s4, %hi(D_8010EBB0)
|
||||
/* 31F14C 802BE3DC 2694EBB0 */ addiu $s4, $s4, %lo(D_8010EBB0)
|
||||
|
@ -23,8 +23,8 @@ glabel func_802BDDD8
|
||||
/* 321970 802BDE20 00000000 */ nop
|
||||
/* 321974 802BDE24 3C148011 */ lui $s4, %hi(gPlayerStatus)
|
||||
/* 321978 802BDE28 2694EFC8 */ addiu $s4, $s4, %lo(gPlayerStatus)
|
||||
/* 32197C 802BDE2C 3C158016 */ lui $s5, 0x8016
|
||||
/* 321980 802BDE30 26B5A550 */ addiu $s5, $s5, -0x5ab0
|
||||
/* 32197C 802BDE2C 3C158016 */ lui $s5, %hi(gCollisionStatus)
|
||||
/* 321980 802BDE30 26B5A550 */ addiu $s5, $s5, %lo(gCollisionStatus)
|
||||
/* 321984 802BDE34 304200FF */ andi $v0, $v0, 0xff
|
||||
/* 321988 802BDE38 24030003 */ addiu $v1, $zero, 3
|
||||
/* 32198C 802BDE3C 14430008 */ bne $v0, $v1, .L802BDE60
|
||||
|
@ -12,8 +12,8 @@ glabel func_802BD694
|
||||
/* 324000 802BD6B0 3C158011 */ lui $s5, %hi(D_8010EBB0)
|
||||
/* 324004 802BD6B4 26B5EBB0 */ addiu $s5, $s5, %lo(D_8010EBB0)
|
||||
/* 324008 802BD6B8 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 32400C 802BD6BC 3C118016 */ lui $s1, 0x8016
|
||||
/* 324010 802BD6C0 2631A550 */ addiu $s1, $s1, -0x5ab0
|
||||
/* 32400C 802BD6BC 3C118016 */ lui $s1, %hi(gCollisionStatus)
|
||||
/* 324010 802BD6C0 2631A550 */ addiu $s1, $s1, %lo(gCollisionStatus)
|
||||
/* 324014 802BD6C4 AFBF0038 */ sw $ra, 0x38($sp)
|
||||
/* 324018 802BD6C8 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 32401C 802BD6CC AFB00020 */ sw $s0, 0x20($sp)
|
||||
|
@ -27,8 +27,8 @@ glabel func_800E0818
|
||||
/* 79D20 800E0870 8C42C958 */ lw $v0, -0x36a8($v0)
|
||||
/* 79D24 800E0874 14400073 */ bnez $v0, .L800E0A44
|
||||
/* 79D28 800E0878 00000000 */ nop
|
||||
/* 79D2C 800E087C 3C038016 */ lui $v1, 0x8016
|
||||
/* 79D30 800E0880 2463A550 */ addiu $v1, $v1, -0x5ab0
|
||||
/* 79D2C 800E087C 3C038016 */ lui $v1, %hi(gCollisionStatus)
|
||||
/* 79D30 800E0880 2463A550 */ addiu $v1, $v1, %lo(gCollisionStatus)
|
||||
/* 79D34 800E0884 82220015 */ lb $v0, 0x15($s1)
|
||||
/* 79D38 800E0888 10400006 */ beqz $v0, .L800E08A4
|
||||
/* 79D3C 800E088C 84700012 */ lh $s0, 0x12($v1)
|
||||
|
@ -10,8 +10,8 @@ glabel update_player
|
||||
/* 78C04 800DF754 3C108011 */ lui $s0, %hi(gPlayerStatus)
|
||||
/* 78C08 800DF758 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
|
||||
/* 78C0C 800DF75C 860200C0 */ lh $v0, 0xc0($s0)
|
||||
/* 78C10 800DF760 3C118016 */ lui $s1, 0x8016
|
||||
/* 78C14 800DF764 2631A550 */ addiu $s1, $s1, -0x5ab0
|
||||
/* 78C10 800DF760 3C118016 */ lui $s1, %hi(gCollisionStatus)
|
||||
/* 78C14 800DF764 2631A550 */ addiu $s1, $s1, %lo(gCollisionStatus)
|
||||
/* 78C18 800DF768 28420065 */ slti $v0, $v0, 0x65
|
||||
/* 78C1C 800DF76C 10400009 */ beqz $v0, .L800DF794
|
||||
/* 78C20 800DF770 00000000 */ nop
|
||||
|
@ -141,8 +141,8 @@ glabel func_80282E30
|
||||
/* 7E3EBC 8028303C 90420000 */ lbu $v0, ($v0)
|
||||
/* 7E3EC0 80283040 14400008 */ bnez $v0, .L80283064
|
||||
/* 7E3EC4 80283044 24020001 */ addiu $v0, $zero, 1
|
||||
/* 7E3EC8 80283048 3C038016 */ lui $v1, 0x8016
|
||||
/* 7E3ECC 8028304C 8463A550 */ lh $v1, -0x5ab0($v1)
|
||||
/* 7E3EC8 80283048 3C038016 */ lui $v1, %hi(gCollisionStatus)
|
||||
/* 7E3ECC 8028304C 8463A550 */ lh $v1, %lo(gCollisionStatus)($v1)
|
||||
/* 7E3ED0 80283050 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 7E3ED4 80283054 10620003 */ beq $v1, $v0, .L80283064
|
||||
/* 7E3ED8 80283058 24020001 */ addiu $v0, $zero, 1
|
||||
|
@ -5,8 +5,8 @@ glabel func_80283174
|
||||
/* 7E3FF4 80283174 3C058011 */ lui $a1, %hi(gPlayerStatus)
|
||||
/* 7E3FF8 80283178 24A5EFC8 */ addiu $a1, $a1, %lo(gPlayerStatus)
|
||||
/* 7E3FFC 8028317C 8C8200B0 */ lw $v0, 0xb0($a0)
|
||||
/* 7E4000 80283180 3C038016 */ lui $v1, 0x8016
|
||||
/* 7E4004 80283184 8463A550 */ lh $v1, -0x5ab0($v1)
|
||||
/* 7E4000 80283180 3C038016 */ lui $v1, %hi(gCollisionStatus)
|
||||
/* 7E4004 80283184 8463A550 */ lh $v1, %lo(gCollisionStatus)($v1)
|
||||
/* 7E4008 80283188 24424000 */ addiu $v0, $v0, 0x4000
|
||||
/* 7E400C 8028318C 5462000F */ bnel $v1, $v0, .L802831CC
|
||||
/* 7E4010 80283190 AC8000B8 */ sw $zero, 0xb8($a0)
|
||||
|
@ -9,8 +9,8 @@ glabel check_input_jump
|
||||
/* 7F620 800E6170 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 7F624 800E6174 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7F628 800E6178 8E2200E0 */ lw $v0, 0xe0($s1)
|
||||
/* 7F62C 800E617C 3C108016 */ lui $s0, 0x8016
|
||||
/* 7F630 800E6180 2610A550 */ addiu $s0, $s0, -0x5ab0
|
||||
/* 7F62C 800E617C 3C108016 */ lui $s0, %hi(gCollisionStatus)
|
||||
/* 7F630 800E6180 2610A550 */ addiu $s0, $s0, %lo(gCollisionStatus)
|
||||
/* 7F634 800E6184 30428000 */ andi $v0, $v0, 0x8000
|
||||
/* 7F638 800E6188 10400032 */ beqz $v0, .L800E6254
|
||||
/* 7F63C 800E618C 0000102D */ daddu $v0, $zero, $zero
|
||||
|
@ -32,8 +32,8 @@ glabel collision_main_above
|
||||
/* 7BCFC 800E284C E7A00024 */ swc1 $f0, 0x24($sp)
|
||||
/* 7BD00 800E2850 C7A2001C */ lwc1 $f2, 0x1c($sp)
|
||||
/* 7BD04 800E2854 44800000 */ mtc1 $zero, $f0
|
||||
/* 7BD08 800E2858 3C128016 */ lui $s2, 0x8016
|
||||
/* 7BD0C 800E285C 2652A550 */ addiu $s2, $s2, -0x5ab0
|
||||
/* 7BD08 800E2858 3C128016 */ lui $s2, %hi(gCollisionStatus)
|
||||
/* 7BD0C 800E285C 2652A550 */ addiu $s2, $s2, %lo(gCollisionStatus)
|
||||
/* 7BD10 800E2860 46001032 */ c.eq.s $f2, $f0
|
||||
/* 7BD14 800E2864 00000000 */ nop
|
||||
/* 7BD18 800E2868 45010004 */ bc1t .L800E287C
|
||||
|
@ -7,8 +7,8 @@ glabel collision_main_lateral
|
||||
/* 7CAF4 800E3644 3C118011 */ lui $s1, %hi(gPlayerStatus)
|
||||
/* 7CAF8 800E3648 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus)
|
||||
/* 7CAFC 800E364C AFB40068 */ sw $s4, 0x68($sp)
|
||||
/* 7CB00 800E3650 3C148016 */ lui $s4, 0x8016
|
||||
/* 7CB04 800E3654 2694A550 */ addiu $s4, $s4, -0x5ab0
|
||||
/* 7CB00 800E3650 3C148016 */ lui $s4, %hi(gCollisionStatus)
|
||||
/* 7CB04 800E3654 2694A550 */ addiu $s4, $s4, %lo(gCollisionStatus)
|
||||
/* 7CB08 800E3658 AFBF006C */ sw $ra, 0x6c($sp)
|
||||
/* 7CB0C 800E365C AFB30064 */ sw $s3, 0x64($sp)
|
||||
/* 7CB10 800E3660 AFB20060 */ sw $s2, 0x60($sp)
|
||||
|
@ -45,8 +45,8 @@ glabel func_800E3514
|
||||
/* 7CA64 800E35B4 27A20044 */ addiu $v0, $sp, 0x44
|
||||
/* 7CA68 800E35B8 0C03791B */ jal func_800DE46C
|
||||
/* 7CA6C 800E35BC AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* 7CA70 800E35C0 3C128016 */ lui $s2, 0x8016
|
||||
/* 7CA74 800E35C4 2652A550 */ addiu $s2, $s2, -0x5ab0
|
||||
/* 7CA70 800E35C0 3C128016 */ lui $s2, %hi(gCollisionStatus)
|
||||
/* 7CA74 800E35C4 2652A550 */ addiu $s2, $s2, %lo(gCollisionStatus)
|
||||
/* 7CA78 800E35C8 AE020000 */ sw $v0, ($s0)
|
||||
/* 7CA7C 800E35CC 04410010 */ bgez $v0, .L800E3610
|
||||
/* 7CA80 800E35D0 0240802D */ daddu $s0, $s2, $zero
|
||||
|
@ -57,8 +57,8 @@ glabel func_800E4744
|
||||
/* 7DCC4 800E4814 2673EBB0 */ addiu $s3, $s3, %lo(D_8010EBB0)
|
||||
/* 7DCC8 800E4818 C7A20034 */ lwc1 $f2, 0x34($sp)
|
||||
/* 7DCCC 800E481C 4614B500 */ add.s $f20, $f22, $f20
|
||||
/* 7DCD0 800E4820 3C148016 */ lui $s4, 0x8016
|
||||
/* 7DCD4 800E4824 2694A550 */ addiu $s4, $s4, -0x5ab0
|
||||
/* 7DCD0 800E4820 3C148016 */ lui $s4, %hi(gCollisionStatus)
|
||||
/* 7DCD4 800E4824 2694A550 */ addiu $s4, $s4, %lo(gCollisionStatus)
|
||||
/* 7DCD8 800E4828 4602A03C */ c.lt.s $f20, $f2
|
||||
/* 7DCDC 800E482C 00000000 */ nop
|
||||
/* 7DCE0 800E4830 45000002 */ bc1f .L800E483C
|
||||
|
@ -25,8 +25,8 @@ glabel phys_player_land
|
||||
/* 7C778 800E32C8 E6020048 */ swc1 $f2, 0x48($s0)
|
||||
/* 7C77C 800E32CC 0C052736 */ jal play_sound_at_player
|
||||
/* 7C780 800E32D0 AE030000 */ sw $v1, ($s0)
|
||||
/* 7C784 800E32D4 3C038016 */ lui $v1, 0x8016
|
||||
/* 7C788 800E32D8 2463A550 */ addiu $v1, $v1, -0x5ab0
|
||||
/* 7C784 800E32D4 3C038016 */ lui $v1, %hi(gCollisionStatus)
|
||||
/* 7C788 800E32D8 2463A550 */ addiu $v1, $v1, %lo(gCollisionStatus)
|
||||
/* 7C78C 800E32DC 94620002 */ lhu $v0, 2($v1)
|
||||
/* 7C790 800E32E0 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 7C794 800E32E4 14400003 */ bnez $v0, .L800E32F4
|
||||
|
@ -42,8 +42,8 @@ glabel ResetFromLava
|
||||
/* EE910 802C9F60 3C01802E */ lui $at, 0x802e
|
||||
/* EE914 802C9F64 AC22ADA4 */ sw $v0, -0x525c($at)
|
||||
.L802C9F68:
|
||||
/* EE918 802C9F68 3C028016 */ lui $v0, 0x8016
|
||||
/* EE91C 802C9F6C 2442A550 */ addiu $v0, $v0, -0x5ab0
|
||||
/* EE918 802C9F68 3C028016 */ lui $v0, %hi(gCollisionStatus)
|
||||
/* EE91C 802C9F6C 2442A550 */ addiu $v0, $v0, %lo(gCollisionStatus)
|
||||
/* EE920 802C9F70 94430002 */ lhu $v1, 2($v0)
|
||||
/* EE924 802C9F74 30624000 */ andi $v0, $v1, 0x4000
|
||||
/* EE928 802C9F78 1440000F */ bnez $v0, .L802C9FB8
|
||||
|
@ -1,122 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel InterpPlayerYaw
|
||||
/* F62EC 802D193C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* F62F0 802D1940 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* F62F4 802D1944 0080882D */ daddu $s1, $a0, $zero
|
||||
/* F62F8 802D1948 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* F62FC 802D194C 3C158011 */ lui $s5, %hi(gPlayerStatus)
|
||||
/* F6300 802D1950 26B5EFC8 */ addiu $s5, $s5, %lo(gPlayerStatus)
|
||||
/* F6304 802D1954 AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* F6308 802D1958 26360074 */ addiu $s6, $s1, 0x74
|
||||
/* F630C 802D195C AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* F6310 802D1960 26340078 */ addiu $s4, $s1, 0x78
|
||||
/* F6314 802D1964 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* F6318 802D1968 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* F631C 802D196C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* F6320 802D1970 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* F6324 802D1974 8E32000C */ lw $s2, 0xc($s1)
|
||||
/* F6328 802D1978 10A0002C */ beqz $a1, .L802D1A2C
|
||||
/* F632C 802D197C 2633007C */ addiu $s3, $s1, 0x7c
|
||||
/* F6330 802D1980 3C10802E */ lui $s0, %hi(gPlayerNpcPtr)
|
||||
/* F6334 802D1984 26109D20 */ addiu $s0, $s0, %lo(gPlayerNpcPtr)
|
||||
/* F6338 802D1988 8E020000 */ lw $v0, ($s0)
|
||||
/* F633C 802D198C C6A00080 */ lwc1 $f0, 0x80($s5)
|
||||
/* F6340 802D1990 E440000C */ swc1 $f0, 0xc($v0)
|
||||
/* F6344 802D1994 E6200074 */ swc1 $f0, 0x74($s1)
|
||||
/* F6348 802D1998 8E450000 */ lw $a1, ($s2)
|
||||
/* F634C 802D199C 0C0B210B */ jal get_float_variable
|
||||
/* F6350 802D19A0 26520004 */ addiu $s2, $s2, 4
|
||||
/* F6354 802D19A4 C6220074 */ lwc1 $f2, 0x74($s1)
|
||||
/* F6358 802D19A8 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* F635C 802D19AC E6200078 */ swc1 $f0, 0x78($s1)
|
||||
/* F6360 802D19B0 8E450000 */ lw $a1, ($s2)
|
||||
/* F6364 802D19B4 0C0B1EAF */ jal get_variable
|
||||
/* F6368 802D19B8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F636C 802D19BC AE22007C */ sw $v0, 0x7c($s1)
|
||||
/* F6370 802D19C0 8E020000 */ lw $v0, ($s0)
|
||||
/* F6374 802D19C4 3C01C334 */ lui $at, 0xc334
|
||||
/* F6378 802D19C8 44810000 */ mtc1 $at, $f0
|
||||
/* F637C 802D19CC A440008E */ sh $zero, 0x8e($v0)
|
||||
/* F6380 802D19D0 C6220078 */ lwc1 $f2, 0x78($s1)
|
||||
/* F6384 802D19D4 4600103C */ c.lt.s $f2, $f0
|
||||
/* F6388 802D19D8 00000000 */ nop
|
||||
/* F638C 802D19DC 45000007 */ bc1f .L802D19FC
|
||||
/* F6390 802D19E0 00000000 */ nop
|
||||
/* F6394 802D19E4 3C0143B4 */ lui $at, 0x43b4
|
||||
/* F6398 802D19E8 44810000 */ mtc1 $at, $f0
|
||||
/* F639C 802D19EC 00000000 */ nop
|
||||
/* F63A0 802D19F0 46001000 */ add.s $f0, $f2, $f0
|
||||
/* F63A4 802D19F4 E6200078 */ swc1 $f0, 0x78($s1)
|
||||
/* F63A8 802D19F8 C6220078 */ lwc1 $f2, 0x78($s1)
|
||||
.L802D19FC:
|
||||
/* F63AC 802D19FC 3C014334 */ lui $at, 0x4334
|
||||
/* F63B0 802D1A00 44810000 */ mtc1 $at, $f0
|
||||
/* F63B4 802D1A04 00000000 */ nop
|
||||
/* F63B8 802D1A08 4602003C */ c.lt.s $f0, $f2
|
||||
/* F63BC 802D1A0C 00000000 */ nop
|
||||
/* F63C0 802D1A10 45000006 */ bc1f .L802D1A2C
|
||||
/* F63C4 802D1A14 00000000 */ nop
|
||||
/* F63C8 802D1A18 3C0143B4 */ lui $at, 0x43b4
|
||||
/* F63CC 802D1A1C 44810000 */ mtc1 $at, $f0
|
||||
/* F63D0 802D1A20 00000000 */ nop
|
||||
/* F63D4 802D1A24 46001001 */ sub.s $f0, $f2, $f0
|
||||
/* F63D8 802D1A28 E6200078 */ swc1 $f0, 0x78($s1)
|
||||
.L802D1A2C:
|
||||
/* F63DC 802D1A2C 8E620000 */ lw $v0, ($s3)
|
||||
/* F63E0 802D1A30 1C40000E */ bgtz $v0, .L802D1A6C
|
||||
/* F63E4 802D1A34 00000000 */ nop
|
||||
/* F63E8 802D1A38 3C10802E */ lui $s0, %hi(gPlayerNpcPtr)
|
||||
/* F63EC 802D1A3C 26109D20 */ addiu $s0, $s0, %lo(gPlayerNpcPtr)
|
||||
/* F63F0 802D1A40 8E020000 */ lw $v0, ($s0)
|
||||
/* F63F4 802D1A44 C6800000 */ lwc1 $f0, ($s4)
|
||||
/* F63F8 802D1A48 C44C000C */ lwc1 $f12, 0xc($v0)
|
||||
/* F63FC 802D1A4C 46006300 */ add.s $f12, $f12, $f0
|
||||
/* F6400 802D1A50 0C00A6C9 */ jal clamp_angle
|
||||
/* F6404 802D1A54 E44C000C */ swc1 $f12, 0xc($v0)
|
||||
/* F6408 802D1A58 8E030000 */ lw $v1, ($s0)
|
||||
/* F640C 802D1A5C 24020002 */ addiu $v0, $zero, 2
|
||||
/* F6410 802D1A60 E460000C */ swc1 $f0, 0xc($v1)
|
||||
/* F6414 802D1A64 080B46B7 */ j .L802D1ADC
|
||||
/* F6418 802D1A68 E6A00080 */ swc1 $f0, 0x80($s5)
|
||||
.L802D1A6C:
|
||||
/* F641C 802D1A6C 3C10802E */ lui $s0, %hi(gPlayerNpcPtr)
|
||||
/* F6420 802D1A70 26109D20 */ addiu $s0, $s0, %lo(gPlayerNpcPtr)
|
||||
/* F6424 802D1A74 8E030000 */ lw $v1, ($s0)
|
||||
/* F6428 802D1A78 9462008E */ lhu $v0, 0x8e($v1)
|
||||
/* F642C 802D1A7C 24420001 */ addiu $v0, $v0, 1
|
||||
/* F6430 802D1A80 A462008E */ sh $v0, 0x8e($v1)
|
||||
/* F6434 802D1A84 00021400 */ sll $v0, $v0, 0x10
|
||||
/* F6438 802D1A88 00021403 */ sra $v0, $v0, 0x10
|
||||
/* F643C 802D1A8C C6800000 */ lwc1 $f0, ($s4)
|
||||
/* F6440 802D1A90 44821000 */ mtc1 $v0, $f2
|
||||
/* F6444 802D1A94 00000000 */ nop
|
||||
/* F6448 802D1A98 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* F644C 802D1A9C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* F6450 802D1AA0 00000000 */ nop
|
||||
/* F6454 802D1AA4 C6CC0000 */ lwc1 $f12, ($s6)
|
||||
/* F6458 802D1AA8 C6620000 */ lwc1 $f2, ($s3)
|
||||
/* F645C 802D1AAC 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* F6460 802D1AB0 46020003 */ div.s $f0, $f0, $f2
|
||||
/* F6464 802D1AB4 46006300 */ add.s $f12, $f12, $f0
|
||||
/* F6468 802D1AB8 0C00A6C9 */ jal clamp_angle
|
||||
/* F646C 802D1ABC E46C000C */ swc1 $f12, 0xc($v1)
|
||||
/* F6470 802D1AC0 8E020000 */ lw $v0, ($s0)
|
||||
/* F6474 802D1AC4 E440000C */ swc1 $f0, 0xc($v0)
|
||||
/* F6478 802D1AC8 E6A00080 */ swc1 $f0, 0x80($s5)
|
||||
/* F647C 802D1ACC 8442008E */ lh $v0, 0x8e($v0)
|
||||
/* F6480 802D1AD0 8E630000 */ lw $v1, ($s3)
|
||||
/* F6484 802D1AD4 0043102A */ slt $v0, $v0, $v1
|
||||
/* F6488 802D1AD8 38420001 */ xori $v0, $v0, 1
|
||||
.L802D1ADC:
|
||||
/* F648C 802D1ADC 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* F6490 802D1AE0 8FB60028 */ lw $s6, 0x28($sp)
|
||||
/* F6494 802D1AE4 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* F6498 802D1AE8 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* F649C 802D1AEC 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* F64A0 802D1AF0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* F64A4 802D1AF4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* F64A8 802D1AF8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* F64AC 802D1AFC 03E00008 */ jr $ra
|
||||
/* F64B0 802D1B00 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,86 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel PlayerMoveTo
|
||||
/* F5AE4 802D1134 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* F5AE8 802D1138 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* F5AEC 802D113C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* F5AF0 802D1140 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* F5AF4 802D1144 3C128011 */ lui $s2, %hi(gPlayerStatus)
|
||||
/* F5AF8 802D1148 2652EFC8 */ addiu $s2, $s2, %lo(gPlayerStatus)
|
||||
/* F5AFC 802D114C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* F5B00 802D1150 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* F5B04 802D1154 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* F5B08 802D1158 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* F5B0C 802D115C 10A00038 */ beqz $a1, .L802D1240
|
||||
/* F5B10 802D1160 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* F5B14 802D1164 8E050000 */ lw $a1, ($s0)
|
||||
/* F5B18 802D1168 0C0B1EAF */ jal get_variable
|
||||
/* F5B1C 802D116C 26100004 */ addiu $s0, $s0, 4
|
||||
/* F5B20 802D1170 8E050000 */ lw $a1, ($s0)
|
||||
/* F5B24 802D1174 26100004 */ addiu $s0, $s0, 4
|
||||
/* F5B28 802D1178 4482B000 */ mtc1 $v0, $f22
|
||||
/* F5B2C 802D117C 00000000 */ nop
|
||||
/* F5B30 802D1180 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* F5B34 802D1184 0C0B1EAF */ jal get_variable
|
||||
/* F5B38 802D1188 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F5B3C 802D118C 8E050000 */ lw $a1, ($s0)
|
||||
/* F5B40 802D1190 4482A000 */ mtc1 $v0, $f20
|
||||
/* F5B44 802D1194 00000000 */ nop
|
||||
/* F5B48 802D1198 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* F5B4C 802D119C 0C0B1EAF */ jal get_variable
|
||||
/* F5B50 802D11A0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F5B54 802D11A4 AE220070 */ sw $v0, 0x70($s1)
|
||||
/* F5B58 802D11A8 C64C0028 */ lwc1 $f12, 0x28($s2)
|
||||
/* F5B5C 802D11AC C64E0030 */ lwc1 $f14, 0x30($s2)
|
||||
/* F5B60 802D11B0 4406B000 */ mfc1 $a2, $f22
|
||||
/* F5B64 802D11B4 4407A000 */ mfc1 $a3, $f20
|
||||
/* F5B68 802D11B8 0C00A720 */ jal atan2
|
||||
/* F5B6C 802D11BC 00000000 */ nop
|
||||
/* F5B70 802D11C0 E6400080 */ swc1 $f0, 0x80($s2)
|
||||
/* F5B74 802D11C4 8E220070 */ lw $v0, 0x70($s1)
|
||||
/* F5B78 802D11C8 1440000F */ bnez $v0, .L802D1208
|
||||
/* F5B7C 802D11CC 00000000 */ nop
|
||||
/* F5B80 802D11D0 C64C0028 */ lwc1 $f12, 0x28($s2)
|
||||
/* F5B84 802D11D4 C64E0030 */ lwc1 $f14, 0x30($s2)
|
||||
/* F5B88 802D11D8 4406B000 */ mfc1 $a2, $f22
|
||||
/* F5B8C 802D11DC 4407A000 */ mfc1 $a3, $f20
|
||||
/* F5B90 802D11E0 0C00A7B5 */ jal dist2D
|
||||
/* F5B94 802D11E4 00000000 */ nop
|
||||
/* F5B98 802D11E8 3C02802E */ lui $v0, %hi(gPlayerNpcPtr)
|
||||
/* F5B9C 802D11EC 8C429D20 */ lw $v0, %lo(gPlayerNpcPtr)($v0)
|
||||
/* F5BA0 802D11F0 C4420018 */ lwc1 $f2, 0x18($v0)
|
||||
/* F5BA4 802D11F4 46020003 */ div.s $f0, $f0, $f2
|
||||
/* F5BA8 802D11F8 4600010D */ trunc.w.s $f4, $f0
|
||||
/* F5BAC 802D11FC E6240070 */ swc1 $f4, 0x70($s1)
|
||||
/* F5BB0 802D1200 080B448B */ j .L802D122C
|
||||
/* F5BB4 802D1204 C4400018 */ lwc1 $f0, 0x18($v0)
|
||||
.L802D1208:
|
||||
/* F5BB8 802D1208 C64C0028 */ lwc1 $f12, 0x28($s2)
|
||||
/* F5BBC 802D120C C64E0030 */ lwc1 $f14, 0x30($s2)
|
||||
/* F5BC0 802D1210 4406B000 */ mfc1 $a2, $f22
|
||||
/* F5BC4 802D1214 4407A000 */ mfc1 $a3, $f20
|
||||
/* F5BC8 802D1218 0C00A7B5 */ jal dist2D
|
||||
/* F5BCC 802D121C 00000000 */ nop
|
||||
/* F5BD0 802D1220 C6220070 */ lwc1 $f2, 0x70($s1)
|
||||
/* F5BD4 802D1224 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* F5BD8 802D1228 46020003 */ div.s $f0, $f0, $f2
|
||||
.L802D122C:
|
||||
/* F5BDC 802D122C 8E240070 */ lw $a0, 0x70($s1)
|
||||
/* F5BE0 802D1230 8E450080 */ lw $a1, 0x80($s2)
|
||||
/* F5BE4 802D1234 44060000 */ mfc1 $a2, $f0
|
||||
/* F5BE8 802D1238 0C0389DE */ jal move_player
|
||||
/* F5BEC 802D123C 00000000 */ nop
|
||||
.L802D1240:
|
||||
/* F5BF0 802D1240 8E230070 */ lw $v1, 0x70($s1)
|
||||
/* F5BF4 802D1244 2463FFFF */ addiu $v1, $v1, -1
|
||||
/* F5BF8 802D1248 AE230070 */ sw $v1, 0x70($s1)
|
||||
/* F5BFC 802D124C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* F5C00 802D1250 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* F5C04 802D1254 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* F5C08 802D1258 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* F5C0C 802D125C D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* F5C10 802D1260 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* F5C14 802D1264 000317C2 */ srl $v0, $v1, 0x1f
|
||||
/* F5C18 802D1268 03E00008 */ jr $ra
|
||||
/* F5C1C 802D126C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,27 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802D249C
|
||||
/* F6E4C 802D249C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* F6E50 802D24A0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* F6E54 802D24A4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* F6E58 802D24A8 3C028016 */ lui $v0, 0x8016
|
||||
/* F6E5C 802D24AC 8442A552 */ lh $v0, -0x5aae($v0)
|
||||
/* F6E60 802D24B0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* F6E64 802D24B4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* F6E68 802D24B8 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* F6E6C 802D24BC 04400004 */ bltz $v0, .L802D24D0
|
||||
/* F6E70 802D24C0 0000302D */ daddu $a2, $zero, $zero
|
||||
/* F6E74 802D24C4 0C0B48FE */ jal func_802D23F8
|
||||
/* F6E78 802D24C8 00000000 */ nop
|
||||
/* F6E7C 802D24CC 0002302B */ sltu $a2, $zero, $v0
|
||||
.L802D24D0:
|
||||
/* F6E80 802D24D0 8E050000 */ lw $a1, ($s0)
|
||||
/* F6E84 802D24D4 0C0B2026 */ jal set_variable
|
||||
/* F6E88 802D24D8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F6E8C 802D24DC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* F6E90 802D24E0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* F6E94 802D24E4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* F6E98 802D24E8 24020002 */ addiu $v0, $zero, 2
|
||||
/* F6E9C 802D24EC 03E00008 */ jr $ra
|
||||
/* F6EA0 802D24F0 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,9 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802D24F4
|
||||
/* F6EA4 802D24F4 3C028011 */ lui $v0, 0x8011
|
||||
/* F6EA8 802D24F8 8442EFDA */ lh $v0, -0x1026($v0)
|
||||
/* F6EAC 802D24FC 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* F6EB0 802D2500 03E00008 */ jr $ra
|
||||
/* F6EB4 802D2504 00021040 */ sll $v0, $v0, 1
|
28
asm/nonmatchings/code_FBE10/func_802D7460.s
Normal file
28
asm/nonmatchings/code_FBE10/func_802D7460.s
Normal file
@ -0,0 +1,28 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802D7460
|
||||
/* FBE10 802D7460 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* FBE14 802D7464 24E2001E */ addiu $v0, $a3, 0x1e
|
||||
/* FBE18 802D7468 44820000 */ mtc1 $v0, $f0
|
||||
/* FBE1C 802D746C 00000000 */ nop
|
||||
/* FBE20 802D7470 46800020 */ cvt.s.w $f0, $f0
|
||||
/* FBE24 802D7474 000717C2 */ srl $v0, $a3, 0x1f
|
||||
/* FBE28 802D7478 00E23821 */ addu $a3, $a3, $v0
|
||||
/* FBE2C 802D747C 00073843 */ sra $a3, $a3, 1
|
||||
/* FBE30 802D7480 24E7000A */ addiu $a3, $a3, 0xa
|
||||
/* FBE34 802D7484 44861000 */ mtc1 $a2, $f2
|
||||
/* FBE38 802D7488 44056000 */ mfc1 $a1, $f12
|
||||
/* FBE3C 802D748C 44067000 */ mfc1 $a2, $f14
|
||||
/* FBE40 802D7490 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* FBE44 802D7494 AFA70018 */ sw $a3, 0x18($sp)
|
||||
/* FBE48 802D7498 44071000 */ mfc1 $a3, $f2
|
||||
/* FBE4C 802D749C 24040001 */ addiu $a0, $zero, 1
|
||||
/* FBE50 802D74A0 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* FBE54 802D74A4 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* FBE58 802D74A8 E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* FBE5C 802D74AC 0C01C154 */ jal func_80070550
|
||||
/* FBE60 802D74B0 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* FBE64 802D74B4 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* FBE68 802D74B8 03E00008 */ jr $ra
|
||||
/* FBE6C 802D74BC 27BD0028 */ addiu $sp, $sp, 0x28
|
28
asm/nonmatchings/code_FBE10/func_802D74C0.s
Normal file
28
asm/nonmatchings/code_FBE10/func_802D74C0.s
Normal file
@ -0,0 +1,28 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802D74C0
|
||||
/* FBE70 802D74C0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* FBE74 802D74C4 24E2001E */ addiu $v0, $a3, 0x1e
|
||||
/* FBE78 802D74C8 44820000 */ mtc1 $v0, $f0
|
||||
/* FBE7C 802D74CC 00000000 */ nop
|
||||
/* FBE80 802D74D0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* FBE84 802D74D4 000717C2 */ srl $v0, $a3, 0x1f
|
||||
/* FBE88 802D74D8 00E23821 */ addu $a3, $a3, $v0
|
||||
/* FBE8C 802D74DC 00073843 */ sra $a3, $a3, 1
|
||||
/* FBE90 802D74E0 24E7000A */ addiu $a3, $a3, 0xa
|
||||
/* FBE94 802D74E4 44861000 */ mtc1 $a2, $f2
|
||||
/* FBE98 802D74E8 44056000 */ mfc1 $a1, $f12
|
||||
/* FBE9C 802D74EC 44067000 */ mfc1 $a2, $f14
|
||||
/* FBEA0 802D74F0 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* FBEA4 802D74F4 AFA70018 */ sw $a3, 0x18($sp)
|
||||
/* FBEA8 802D74F8 44071000 */ mfc1 $a3, $f2
|
||||
/* FBEAC 802D74FC 24040002 */ addiu $a0, $zero, 2
|
||||
/* FBEB0 802D7500 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* FBEB4 802D7504 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* FBEB8 802D7508 E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* FBEBC 802D750C 0C01C154 */ jal func_80070550
|
||||
/* FBEC0 802D7510 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* FBEC4 802D7514 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* FBEC8 802D7518 03E00008 */ jr $ra
|
||||
/* FBECC 802D751C 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -44,8 +44,8 @@ glabel entity_get_collision_flags
|
||||
/* A7048 80110948 50C20001 */ beql $a2, $v0, .L80110950
|
||||
/* A704C 8011094C 34A50004 */ ori $a1, $a1, 4
|
||||
.L80110950:
|
||||
/* A7050 80110950 3C038016 */ lui $v1, 0x8016
|
||||
/* A7054 80110954 8463A550 */ lh $v1, -0x5ab0($v1)
|
||||
/* A7050 80110950 3C038016 */ lui $v1, %hi(gCollisionStatus)
|
||||
/* A7054 80110954 8463A550 */ lh $v1, %lo(gCollisionStatus)($v1)
|
||||
/* A7058 80110958 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* A705C 8011095C 10620005 */ beq $v1, $v0, .L80110974
|
||||
/* A7060 80110960 30624000 */ andi $v0, $v1, 0x4000
|
||||
|
@ -5,8 +5,8 @@ glabel clear_trigger_data
|
||||
/* DBD80 80145680 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* DBD84 80145684 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* DBD88 80145688 80420070 */ lb $v0, 0x70($v0)
|
||||
/* DBD8C 8014568C 3C048016 */ lui $a0, 0x8016
|
||||
/* DBD90 80145690 2484A550 */ addiu $a0, $a0, -0x5ab0
|
||||
/* DBD8C 8014568C 3C048016 */ lui $a0, %hi(gCollisionStatus)
|
||||
/* DBD90 80145690 2484A550 */ addiu $a0, $a0, %lo(gCollisionStatus)
|
||||
/* DBD94 80145694 14400005 */ bnez $v0, .L801456AC
|
||||
/* DBD98 80145698 00000000 */ nop
|
||||
/* DBD9C 8014569C 3C028016 */ lui $v0, %hi(gTriggerList1)
|
||||
|
@ -4,8 +4,8 @@
|
||||
glabel update_triggers
|
||||
/* DBF60 80145860 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* DBF64 80145864 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* DBF68 80145868 3C128016 */ lui $s2, 0x8016
|
||||
/* DBF6C 8014586C 2652A550 */ addiu $s2, $s2, -0x5ab0
|
||||
/* DBF68 80145868 3C128016 */ lui $s2, %hi(gCollisionStatus)
|
||||
/* DBF6C 8014586C 2652A550 */ addiu $s2, $s2, %lo(gCollisionStatus)
|
||||
/* DBF70 80145870 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* DBF74 80145874 0000982D */ daddu $s3, $zero, $zero
|
||||
/* DBF78 80145878 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
|
@ -1,88 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel _set_music_track
|
||||
/* E0EE0 8014A7E0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* E0EE4 8014A7E4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* E0EE8 8014A7E8 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* E0EEC 8014A7EC 3C058007 */ lui $a1, %hi(gGameStatusPtr)
|
||||
/* E0EF0 8014A7F0 8CA5419C */ lw $a1, %lo(gGameStatusPtr)($a1)
|
||||
/* E0EF4 8014A7F4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* E0EF8 8014A7F8 8FB30040 */ lw $s3, 0x40($sp)
|
||||
/* E0EFC 8014A7FC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* E0F00 8014A800 00C0882D */ daddu $s1, $a2, $zero
|
||||
/* E0F04 8014A804 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* E0F08 8014A808 00E0A82D */ daddu $s5, $a3, $zero
|
||||
/* E0F0C 8014A80C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* E0F10 8014A810 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* E0F14 8014A814 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* E0F18 8014A818 80A20071 */ lb $v0, 0x71($a1)
|
||||
/* E0F1C 8014A81C 10400003 */ beqz $v0, .L8014A82C
|
||||
/* E0F20 8014A820 0260A02D */ daddu $s4, $s3, $zero
|
||||
/* E0F24 8014A824 08052A3D */ j .L8014A8F4
|
||||
/* E0F28 8014A828 24020001 */ addiu $v0, $zero, 1
|
||||
.L8014A82C:
|
||||
/* E0F2C 8014A82C 3C028016 */ lui $v0, 0x8016
|
||||
/* E0F30 8014A830 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* E0F34 8014A834 00041840 */ sll $v1, $a0, 1
|
||||
/* E0F38 8014A838 00641821 */ addu $v1, $v1, $a0
|
||||
/* E0F3C 8014A83C 00031900 */ sll $v1, $v1, 4
|
||||
/* E0F40 8014A840 80A4007A */ lb $a0, 0x7a($a1)
|
||||
/* E0F44 8014A844 14800008 */ bnez $a0, .L8014A868
|
||||
/* E0F48 8014A848 00628021 */ addu $s0, $v1, $v0
|
||||
/* E0F4C 8014A84C 8E040018 */ lw $a0, 0x18($s0)
|
||||
/* E0F50 8014A850 0C015671 */ jal func_800559C4
|
||||
/* E0F54 8014A854 00000000 */ nop
|
||||
/* E0F58 8014A858 96030000 */ lhu $v1, ($s0)
|
||||
/* E0F5C 8014A85C 24020001 */ addiu $v0, $zero, 1
|
||||
/* E0F60 8014A860 08052A3C */ j .L8014A8F0
|
||||
/* E0F64 8014A864 3063FFFE */ andi $v1, $v1, 0xfffe
|
||||
.L8014A868:
|
||||
/* E0F68 8014A868 0C05290C */ jal get_default_variation_for_song
|
||||
/* E0F6C 8014A86C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* E0F70 8014A870 04430001 */ bgezl $v0, .L8014A878
|
||||
/* E0F74 8014A874 0040882D */ daddu $s1, $v0, $zero
|
||||
.L8014A878:
|
||||
/* E0F78 8014A878 8E020010 */ lw $v0, 0x10($s0)
|
||||
/* E0F7C 8014A87C 14520013 */ bne $v0, $s2, .L8014A8CC
|
||||
/* E0F80 8014A880 24020001 */ addiu $v0, $zero, 1
|
||||
/* E0F84 8014A884 8E020014 */ lw $v0, 0x14($s0)
|
||||
/* E0F88 8014A888 14510010 */ bne $v0, $s1, .L8014A8CC
|
||||
/* E0F8C 8014A88C 24020001 */ addiu $v0, $zero, 1
|
||||
/* E0F90 8014A890 00132400 */ sll $a0, $s3, 0x10
|
||||
/* E0F94 8014A894 0C052B21 */ jal func_8014AC84
|
||||
/* E0F98 8014A898 00042403 */ sra $a0, $a0, 0x10
|
||||
/* E0F9C 8014A89C 96020000 */ lhu $v0, ($s0)
|
||||
/* E0FA0 8014A8A0 30420004 */ andi $v0, $v0, 4
|
||||
/* E0FA4 8014A8A4 50400013 */ beql $v0, $zero, .L8014A8F4
|
||||
/* E0FA8 8014A8A8 24020002 */ addiu $v0, $zero, 2
|
||||
/* E0FAC 8014A8AC 8E040018 */ lw $a0, 0x18($s0)
|
||||
/* E0FB0 8014A8B0 0C0156E0 */ jal func_80055B80
|
||||
/* E0FB4 8014A8B4 00000000 */ nop
|
||||
/* E0FB8 8014A8B8 96020000 */ lhu $v0, ($s0)
|
||||
/* E0FBC 8014A8BC 3042FFFB */ andi $v0, $v0, 0xfffb
|
||||
/* E0FC0 8014A8C0 A6020000 */ sh $v0, ($s0)
|
||||
/* E0FC4 8014A8C4 08052A3D */ j .L8014A8F4
|
||||
/* E0FC8 8014A8C8 24020002 */ addiu $v0, $zero, 2
|
||||
.L8014A8CC:
|
||||
/* E0FCC 8014A8CC 96030000 */ lhu $v1, ($s0)
|
||||
/* E0FD0 8014A8D0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* E0FD4 8014A8D4 3C018016 */ lui $at, 0x8016
|
||||
/* E0FD8 8014A8D8 A4349AE0 */ sh $s4, -0x6520($at)
|
||||
/* E0FDC 8014A8DC AE120010 */ sw $s2, 0x10($s0)
|
||||
/* E0FE0 8014A8E0 AE110014 */ sw $s1, 0x14($s0)
|
||||
/* E0FE4 8014A8E4 AE150004 */ sw $s5, 4($s0)
|
||||
/* E0FE8 8014A8E8 A6040002 */ sh $a0, 2($s0)
|
||||
/* E0FEC 8014A8EC 3063FFFD */ andi $v1, $v1, 0xfffd
|
||||
.L8014A8F0:
|
||||
/* E0FF0 8014A8F0 A6030000 */ sh $v1, ($s0)
|
||||
.L8014A8F4:
|
||||
/* E0FF4 8014A8F4 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* E0FF8 8014A8F8 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* E0FFC 8014A8FC 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* E1000 8014A900 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* E1004 8014A904 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* E1008 8014A908 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* E100C 8014A90C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* E1010 8014A910 03E00008 */ jr $ra
|
||||
/* E1014 8014A914 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,43 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8014A498
|
||||
/* E0B98 8014A498 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* E0B9C 8014A49C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* E0BA0 8014A4A0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* E0BA4 8014A4A4 3C068015 */ lui $a2, 0x8015
|
||||
/* E0BA8 8014A4A8 24C6F6F0 */ addiu $a2, $a2, -0x910
|
||||
/* E0BAC 8014A4AC 24C70030 */ addiu $a3, $a2, 0x30
|
||||
/* E0BB0 8014A4B0 3C048016 */ lui $a0, 0x8016
|
||||
/* E0BB4 8014A4B4 24849AF0 */ addiu $a0, $a0, -0x6510
|
||||
.L8014A4B8:
|
||||
/* E0BB8 8014A4B8 0080182D */ daddu $v1, $a0, $zero
|
||||
/* E0BBC 8014A4BC 00C0102D */ daddu $v0, $a2, $zero
|
||||
.L8014A4C0:
|
||||
/* E0BC0 8014A4C0 8C480000 */ lw $t0, ($v0)
|
||||
/* E0BC4 8014A4C4 8C490004 */ lw $t1, 4($v0)
|
||||
/* E0BC8 8014A4C8 8C4A0008 */ lw $t2, 8($v0)
|
||||
/* E0BCC 8014A4CC 8C4B000C */ lw $t3, 0xc($v0)
|
||||
/* E0BD0 8014A4D0 AC680000 */ sw $t0, ($v1)
|
||||
/* E0BD4 8014A4D4 AC690004 */ sw $t1, 4($v1)
|
||||
/* E0BD8 8014A4D8 AC6A0008 */ sw $t2, 8($v1)
|
||||
/* E0BDC 8014A4DC AC6B000C */ sw $t3, 0xc($v1)
|
||||
/* E0BE0 8014A4E0 24420010 */ addiu $v0, $v0, 0x10
|
||||
/* E0BE4 8014A4E4 1447FFF6 */ bne $v0, $a3, .L8014A4C0
|
||||
/* E0BE8 8014A4E8 24630010 */ addiu $v1, $v1, 0x10
|
||||
/* E0BEC 8014A4EC 24A50001 */ addiu $a1, $a1, 1
|
||||
/* E0BF0 8014A4F0 28A20002 */ slti $v0, $a1, 2
|
||||
/* E0BF4 8014A4F4 1440FFF0 */ bnez $v0, .L8014A4B8
|
||||
/* E0BF8 8014A4F8 24840030 */ addiu $a0, $a0, 0x30
|
||||
/* E0BFC 8014A4FC 24020008 */ addiu $v0, $zero, 8
|
||||
/* E0C00 8014A500 3C018016 */ lui $at, %hi(D_80159AE2)
|
||||
/* E0C04 8014A504 A4229AE2 */ sh $v0, %lo(D_80159AE2)($at)
|
||||
/* E0C08 8014A508 3C018016 */ lui $at, %hi(D_80159AE4)
|
||||
/* E0C0C 8014A50C A4229AE4 */ sh $v0, %lo(D_80159AE4)($at)
|
||||
/* E0C10 8014A510 3C018016 */ lui $at, 0x8016
|
||||
/* E0C14 8014A514 A4229AE6 */ sh $v0, -0x651a($at)
|
||||
/* E0C18 8014A518 0C015869 */ jal func_800561A4
|
||||
/* E0C1C 8014A51C 24040008 */ addiu $a0, $zero, 8
|
||||
/* E0C20 8014A520 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* E0C24 8014A524 03E00008 */ jr $ra
|
||||
/* E0C28 8014A528 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -27,7 +27,7 @@ glabel func_8014A548
|
||||
/* E0C9C 8014A59C 00220821 */ addu $at, $at, $v0
|
||||
/* E0CA0 8014A5A0 8C221290 */ lw $v0, 0x1290($at)
|
||||
/* E0CA4 8014A5A4 00400008 */ jr $v0
|
||||
/* E0CA8 8014A5A8 00000000 */ nop
|
||||
/* E0CA8 8014A5A8 00000000 */ nop
|
||||
/* E0CAC 8014A5AC 96230000 */ lhu $v1, ($s1)
|
||||
/* E0CB0 8014A5B0 30620001 */ andi $v0, $v1, 1
|
||||
/* E0CB4 8014A5B4 1040001D */ beqz $v0, .L8014A62C
|
||||
@ -37,24 +37,24 @@ glabel func_8014A548
|
||||
/* E0CC4 8014A5C4 1040000B */ beqz $v0, .L8014A5F4
|
||||
/* E0CC8 8014A5C8 30620004 */ andi $v0, $v1, 4
|
||||
/* E0CCC 8014A5CC 14400005 */ bnez $v0, .L8014A5E4
|
||||
/* E0CD0 8014A5D0 00000000 */ nop
|
||||
/* E0CD0 8014A5D0 00000000 */ nop
|
||||
/* E0CD4 8014A5D4 0C015671 */ jal func_800559C4
|
||||
/* E0CD8 8014A5D8 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* E0CDC 8014A5DC 08052987 */ j .L8014A61C
|
||||
/* E0CE0 8014A5E0 00000000 */ nop
|
||||
/* E0CE0 8014A5E0 00000000 */ nop
|
||||
.L8014A5E4:
|
||||
/* E0CE4 8014A5E4 0C0156BC */ jal func_80055AF0
|
||||
/* E0CE8 8014A5E8 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* E0CEC 8014A5EC 08052987 */ j .L8014A61C
|
||||
/* E0CF0 8014A5F0 00000000 */ nop
|
||||
/* E0CF0 8014A5F0 00000000 */ nop
|
||||
.L8014A5F4:
|
||||
/* E0CF4 8014A5F4 14400006 */ bnez $v0, .L8014A610
|
||||
/* E0CF8 8014A5F8 00000000 */ nop
|
||||
/* E0CF8 8014A5F8 00000000 */ nop
|
||||
/* E0CFC 8014A5FC 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* E0D00 8014A600 0C0156AF */ jal func_80055ABC
|
||||
/* E0D04 8014A604 0000302D */ daddu $a2, $zero, $zero
|
||||
/* E0D08 8014A608 08052987 */ j .L8014A61C
|
||||
/* E0D0C 8014A60C 00000000 */ nop
|
||||
/* E0D0C 8014A60C 00000000 */ nop
|
||||
.L8014A610:
|
||||
/* E0D10 8014A610 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* E0D14 8014A614 0C0156EE */ jal func_80055BB8
|
||||
@ -82,7 +82,7 @@ glabel func_8014A548
|
||||
/* E0D5C 8014A65C A6220000 */ sh $v0, ($s1)
|
||||
/* E0D60 8014A660 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* E0D64 8014A664 0C01567F */ jal func_800559FC
|
||||
/* E0D68 8014A668 00000000 */ nop
|
||||
/* E0D68 8014A668 00000000 */ nop
|
||||
/* E0D6C 8014A66C 5440004D */ bnel $v0, $zero, .L8014A7A4
|
||||
/* E0D70 8014A670 26520001 */ addiu $s2, $s2, 1
|
||||
/* E0D74 8014A674 96220000 */ lhu $v0, ($s1)
|
||||
@ -100,7 +100,7 @@ glabel func_8014A548
|
||||
/* E0DA4 8014A6A4 30620010 */ andi $v0, $v1, 0x10
|
||||
/* E0DA8 8014A6A8 8E04000E */ lw $a0, 0xe($s0)
|
||||
/* E0DAC 8014A6AC 04810003 */ bgez $a0, .L8014A6BC
|
||||
/* E0DB0 8014A6B0 00000000 */ nop
|
||||
/* E0DB0 8014A6B0 00000000 */ nop
|
||||
/* E0DB4 8014A6B4 080529E8 */ j .L8014A7A0
|
||||
/* E0DB8 8014A6B8 A6000000 */ sh $zero, ($s0)
|
||||
.L8014A6BC:
|
||||
@ -113,7 +113,7 @@ glabel func_8014A548
|
||||
/* E0DD4 8014A6D4 96220000 */ lhu $v0, ($s1)
|
||||
/* E0DD8 8014A6D8 30420020 */ andi $v0, $v0, 0x20
|
||||
/* E0DDC 8014A6DC 1040000C */ beqz $v0, .L8014A710
|
||||
/* E0DE0 8014A6E0 00000000 */ nop
|
||||
/* E0DE0 8014A6E0 00000000 */ nop
|
||||
/* E0DE4 8014A6E4 8602000C */ lh $v0, 0xc($s0)
|
||||
/* E0DE8 8014A6E8 8607000A */ lh $a3, 0xa($s0)
|
||||
/* E0DEC 8014A6EC AFA20010 */ sw $v0, 0x10($sp)
|
||||
@ -128,8 +128,8 @@ glabel func_8014A548
|
||||
.L8014A710:
|
||||
/* E0E10 8014A710 3C048016 */ lui $a0, 0x8016
|
||||
/* E0E14 8014A714 84849AE0 */ lh $a0, -0x6520($a0)
|
||||
/* E0E18 8014A718 0C052B21 */ jal func_8014AC84
|
||||
/* E0E1C 8014A71C 00000000 */ nop
|
||||
/* E0E18 8014A718 0C052B21 */ jal transition_music_volume_to
|
||||
/* E0E1C 8014A71C 00000000 */ nop
|
||||
.L8014A720:
|
||||
/* E0E20 8014A720 8E040016 */ lw $a0, 0x16($s0)
|
||||
/* E0E24 8014A724 0C01565C */ jal func_80055970
|
||||
@ -143,7 +143,7 @@ glabel func_8014A548
|
||||
/* E0E44 8014A744 A6000000 */ sh $zero, ($s0)
|
||||
.L8014A748:
|
||||
/* E0E48 8014A748 10400005 */ beqz $v0, .L8014A760
|
||||
/* E0E4C 8014A74C 00000000 */ nop
|
||||
/* E0E4C 8014A74C 00000000 */ nop
|
||||
/* E0E50 8014A750 A6000000 */ sh $zero, ($s0)
|
||||
/* E0E54 8014A754 96220000 */ lhu $v0, ($s1)
|
||||
/* E0E58 8014A758 080529E7 */ j .L8014A79C
|
||||
@ -151,7 +151,7 @@ glabel func_8014A548
|
||||
.L8014A760:
|
||||
/* E0E60 8014A760 8E04002A */ lw $a0, 0x2a($s0)
|
||||
/* E0E64 8014A764 0C0156CA */ jal func_80055B28
|
||||
/* E0E68 8014A768 00000000 */ nop
|
||||
/* E0E68 8014A768 00000000 */ nop
|
||||
/* E0E6C 8014A76C 5440000D */ bnel $v0, $zero, .L8014A7A4
|
||||
/* E0E70 8014A770 26520001 */ addiu $s2, $s2, 1
|
||||
/* E0E74 8014A774 8E020022 */ lw $v0, 0x22($s0)
|
||||
@ -174,7 +174,7 @@ glabel func_8014A548
|
||||
/* E0EAC 8014A7AC 1440FF75 */ bnez $v0, .L8014A584
|
||||
/* E0EB0 8014A7B0 26310030 */ addiu $s1, $s1, 0x30
|
||||
/* E0EB4 8014A7B4 0C052B25 */ jal func_8014AC94
|
||||
/* E0EB8 8014A7B8 00000000 */ nop
|
||||
/* E0EB8 8014A7B8 00000000 */ nop
|
||||
/* E0EBC 8014A7BC 8FBF0030 */ lw $ra, 0x30($sp)
|
||||
/* E0EC0 8014A7C0 8FB5002C */ lw $s5, 0x2c($sp)
|
||||
/* E0EC4 8014A7C4 8FB40028 */ lw $s4, 0x28($sp)
|
||||
|
@ -1,69 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8014A964
|
||||
/* E1064 8014A964 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* E1068 8014A968 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* E106C 8014A96C 00A0A02D */ daddu $s4, $a1, $zero
|
||||
/* E1070 8014A970 3C058007 */ lui $a1, %hi(gGameStatusPtr)
|
||||
/* E1074 8014A974 8CA5419C */ lw $a1, %lo(gGameStatusPtr)($a1)
|
||||
/* E1078 8014A978 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* E107C 8014A97C 8FB30040 */ lw $s3, 0x40($sp)
|
||||
/* E1080 8014A980 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* E1084 8014A984 00C0882D */ daddu $s1, $a2, $zero
|
||||
/* E1088 8014A988 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* E108C 8014A98C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* E1090 8014A990 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* E1094 8014A994 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* E1098 8014A998 80A20071 */ lb $v0, 0x71($a1)
|
||||
/* E109C 8014A99C 8FB20044 */ lw $s2, 0x44($sp)
|
||||
/* E10A0 8014A9A0 10400003 */ beqz $v0, .L8014A9B0
|
||||
/* E10A4 8014A9A4 00E0A82D */ daddu $s5, $a3, $zero
|
||||
/* E10A8 8014A9A8 08052A8C */ j .L8014AA30
|
||||
/* E10AC 8014A9AC 24020001 */ addiu $v0, $zero, 1
|
||||
.L8014A9B0:
|
||||
/* E10B0 8014A9B0 3C028016 */ lui $v0, 0x8016
|
||||
/* E10B4 8014A9B4 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* E10B8 8014A9B8 00041840 */ sll $v1, $a0, 1
|
||||
/* E10BC 8014A9BC 00641821 */ addu $v1, $v1, $a0
|
||||
/* E10C0 8014A9C0 00031900 */ sll $v1, $v1, 4
|
||||
/* E10C4 8014A9C4 80A4007A */ lb $a0, 0x7a($a1)
|
||||
/* E10C8 8014A9C8 14800008 */ bnez $a0, .L8014A9EC
|
||||
/* E10CC 8014A9CC 00628021 */ addu $s0, $v1, $v0
|
||||
/* E10D0 8014A9D0 8E040018 */ lw $a0, 0x18($s0)
|
||||
/* E10D4 8014A9D4 0C015671 */ jal func_800559C4
|
||||
/* E10D8 8014A9D8 00000000 */ nop
|
||||
/* E10DC 8014A9DC 96030000 */ lhu $v1, ($s0)
|
||||
/* E10E0 8014A9E0 24020001 */ addiu $v0, $zero, 1
|
||||
/* E10E4 8014A9E4 08052A8B */ j .L8014AA2C
|
||||
/* E10E8 8014A9E8 3063FFFE */ andi $v1, $v1, 0xfffe
|
||||
.L8014A9EC:
|
||||
/* E10EC 8014A9EC 0C05290C */ jal get_default_variation_for_song
|
||||
/* E10F0 8014A9F0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* E10F4 8014A9F4 04430001 */ bgezl $v0, .L8014A9FC
|
||||
/* E10F8 8014A9F8 0040882D */ daddu $s1, $v0, $zero
|
||||
.L8014A9FC:
|
||||
/* E10FC 8014A9FC 24020001 */ addiu $v0, $zero, 1
|
||||
/* E1100 8014AA00 96030000 */ lhu $v1, ($s0)
|
||||
/* E1104 8014AA04 0040202D */ daddu $a0, $v0, $zero
|
||||
/* E1108 8014AA08 AE150008 */ sw $s5, 8($s0)
|
||||
/* E110C 8014AA0C A613000C */ sh $s3, 0xc($s0)
|
||||
/* E1110 8014AA10 A612000E */ sh $s2, 0xe($s0)
|
||||
/* E1114 8014AA14 AE140010 */ sw $s4, 0x10($s0)
|
||||
/* E1118 8014AA18 AE110014 */ sw $s1, 0x14($s0)
|
||||
/* E111C 8014AA1C A6040002 */ sh $a0, 2($s0)
|
||||
/* E1120 8014AA20 34630020 */ ori $v1, $v1, 0x20
|
||||
/* E1124 8014AA24 A6030000 */ sh $v1, ($s0)
|
||||
/* E1128 8014AA28 3063FFFD */ andi $v1, $v1, 0xfffd
|
||||
.L8014AA2C:
|
||||
/* E112C 8014AA2C A6030000 */ sh $v1, ($s0)
|
||||
.L8014AA30:
|
||||
/* E1130 8014AA30 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* E1134 8014AA34 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* E1138 8014AA38 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* E113C 8014AA3C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* E1140 8014AA40 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* E1144 8014AA44 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* E1148 8014AA48 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* E114C 8014AA4C 03E00008 */ jr $ra
|
||||
/* E1150 8014AA50 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,57 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8014AA54
|
||||
/* E1154 8014AA54 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* E1158 8014AA58 3C028016 */ lui $v0, 0x8016
|
||||
/* E115C 8014AA5C 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* E1160 8014AA60 00041840 */ sll $v1, $a0, 1
|
||||
/* E1164 8014AA64 00641821 */ addu $v1, $v1, $a0
|
||||
/* E1168 8014AA68 00031900 */ sll $v1, $v1, 4
|
||||
/* E116C 8014AA6C 00621821 */ addu $v1, $v1, $v0
|
||||
/* E1170 8014AA70 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* E1174 8014AA74 94640000 */ lhu $a0, ($v1)
|
||||
/* E1178 8014AA78 30820001 */ andi $v0, $a0, 1
|
||||
/* E117C 8014AA7C 10400003 */ beqz $v0, .L8014AA8C
|
||||
/* E1180 8014AA80 30820002 */ andi $v0, $a0, 2
|
||||
/* E1184 8014AA84 14400003 */ bnez $v0, .L8014AA94
|
||||
/* E1188 8014AA88 00061400 */ sll $v0, $a2, 0x10
|
||||
.L8014AA8C:
|
||||
/* E118C 8014AA8C 08052AC0 */ j .L8014AB00
|
||||
/* E1190 8014AA90 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8014AA94:
|
||||
/* E1194 8014AA94 00022403 */ sra $a0, $v0, 0x10
|
||||
/* E1198 8014AA98 24020001 */ addiu $v0, $zero, 1
|
||||
/* E119C 8014AA9C 1082000F */ beq $a0, $v0, .L8014AADC
|
||||
/* E11A0 8014AAA0 28820002 */ slti $v0, $a0, 2
|
||||
/* E11A4 8014AAA4 10400005 */ beqz $v0, .L8014AABC
|
||||
/* E11A8 8014AAA8 24020002 */ addiu $v0, $zero, 2
|
||||
/* E11AC 8014AAAC 10800007 */ beqz $a0, .L8014AACC
|
||||
/* E11B0 8014AAB0 24020001 */ addiu $v0, $zero, 1
|
||||
/* E11B4 8014AAB4 08052AC0 */ j .L8014AB00
|
||||
/* E11B8 8014AAB8 00000000 */ nop
|
||||
.L8014AABC:
|
||||
/* E11BC 8014AABC 1082000C */ beq $a0, $v0, .L8014AAF0
|
||||
/* E11C0 8014AAC0 24020001 */ addiu $v0, $zero, 1
|
||||
/* E11C4 8014AAC4 08052AC0 */ j .L8014AB00
|
||||
/* E11C8 8014AAC8 00000000 */ nop
|
||||
.L8014AACC:
|
||||
/* E11CC 8014AACC 0C01580A */ jal func_80056028
|
||||
/* E11D0 8014AAD0 8C640018 */ lw $a0, 0x18($v1)
|
||||
/* E11D4 8014AAD4 08052AC0 */ j .L8014AB00
|
||||
/* E11D8 8014AAD8 24020001 */ addiu $v0, $zero, 1
|
||||
.L8014AADC:
|
||||
/* E11DC 8014AADC 8C640018 */ lw $a0, 0x18($v1)
|
||||
/* E11E0 8014AAE0 0C015811 */ jal func_80056044
|
||||
/* E11E4 8014AAE4 00000000 */ nop
|
||||
/* E11E8 8014AAE8 08052AC0 */ j .L8014AB00
|
||||
/* E11EC 8014AAEC 24020001 */ addiu $v0, $zero, 1
|
||||
.L8014AAF0:
|
||||
/* E11F0 8014AAF0 8C640018 */ lw $a0, 0x18($v1)
|
||||
/* E11F4 8014AAF4 0C01581A */ jal func_80056068
|
||||
/* E11F8 8014AAF8 00000000 */ nop
|
||||
/* E11FC 8014AAFC 24020001 */ addiu $v0, $zero, 1
|
||||
.L8014AB00:
|
||||
/* E1200 8014AB00 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* E1204 8014AB04 03E00008 */ jr $ra
|
||||
/* E1208 8014AB08 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,27 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8014AB0C
|
||||
/* E120C 8014AB0C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* E1210 8014AB10 3C028016 */ lui $v0, 0x8016
|
||||
/* E1214 8014AB14 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* E1218 8014AB18 00041840 */ sll $v1, $a0, 1
|
||||
/* E121C 8014AB1C 00641821 */ addu $v1, $v1, $a0
|
||||
/* E1220 8014AB20 00031900 */ sll $v1, $v1, 4
|
||||
/* E1224 8014AB24 00621821 */ addu $v1, $v1, $v0
|
||||
/* E1228 8014AB28 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* E122C 8014AB2C 94620000 */ lhu $v0, ($v1)
|
||||
/* E1230 8014AB30 30420001 */ andi $v0, $v0, 1
|
||||
/* E1234 8014AB34 10400006 */ beqz $v0, .L8014AB50
|
||||
/* E1238 8014AB38 00052C00 */ sll $a1, $a1, 0x10
|
||||
/* E123C 8014AB3C 8C640018 */ lw $a0, 0x18($v1)
|
||||
/* E1240 8014AB40 0C015777 */ jal func_80055DDC
|
||||
/* E1244 8014AB44 00052C03 */ sra $a1, $a1, 0x10
|
||||
/* E1248 8014AB48 08052AD5 */ j .L8014AB54
|
||||
/* E124C 8014AB4C 00000000 */ nop
|
||||
.L8014AB50:
|
||||
/* E1250 8014AB50 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8014AB54:
|
||||
/* E1254 8014AB54 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* E1258 8014AB58 03E00008 */ jr $ra
|
||||
/* E125C 8014AB5C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,27 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8014AB60
|
||||
/* E1260 8014AB60 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* E1264 8014AB64 3C028016 */ lui $v0, 0x8016
|
||||
/* E1268 8014AB68 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* E126C 8014AB6C 00041840 */ sll $v1, $a0, 1
|
||||
/* E1270 8014AB70 00641821 */ addu $v1, $v1, $a0
|
||||
/* E1274 8014AB74 00031900 */ sll $v1, $v1, 4
|
||||
/* E1278 8014AB78 00621821 */ addu $v1, $v1, $v0
|
||||
/* E127C 8014AB7C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* E1280 8014AB80 94620000 */ lhu $v0, ($v1)
|
||||
/* E1284 8014AB84 30420001 */ andi $v0, $v0, 1
|
||||
/* E1288 8014AB88 10400006 */ beqz $v0, .L8014ABA4
|
||||
/* E128C 8014AB8C 00052C00 */ sll $a1, $a1, 0x10
|
||||
/* E1290 8014AB90 8C640018 */ lw $a0, 0x18($v1)
|
||||
/* E1294 8014AB94 0C015792 */ jal func_80055E48
|
||||
/* E1298 8014AB98 00052C03 */ sra $a1, $a1, 0x10
|
||||
/* E129C 8014AB9C 08052AEA */ j .L8014ABA8
|
||||
/* E12A0 8014ABA0 00000000 */ nop
|
||||
.L8014ABA4:
|
||||
/* E12A4 8014ABA4 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8014ABA8:
|
||||
/* E12A8 8014ABA8 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* E12AC 8014ABAC 03E00008 */ jr $ra
|
||||
/* E12B0 8014ABB0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,27 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8014ABB4
|
||||
/* E12B4 8014ABB4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* E12B8 8014ABB8 3C028016 */ lui $v0, 0x8016
|
||||
/* E12BC 8014ABBC 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* E12C0 8014ABC0 00041840 */ sll $v1, $a0, 1
|
||||
/* E12C4 8014ABC4 00641821 */ addu $v1, $v1, $a0
|
||||
/* E12C8 8014ABC8 00031900 */ sll $v1, $v1, 4
|
||||
/* E12CC 8014ABCC 00621821 */ addu $v1, $v1, $v0
|
||||
/* E12D0 8014ABD0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* E12D4 8014ABD4 94620000 */ lhu $v0, ($v1)
|
||||
/* E12D8 8014ABD8 30420001 */ andi $v0, $v0, 1
|
||||
/* E12DC 8014ABDC 10400006 */ beqz $v0, .L8014ABF8
|
||||
/* E12E0 8014ABE0 00052C00 */ sll $a1, $a1, 0x10
|
||||
/* E12E4 8014ABE4 8C640018 */ lw $a0, 0x18($v1)
|
||||
/* E12E8 8014ABE8 0C015731 */ jal func_80055CC4
|
||||
/* E12EC 8014ABEC 00052C03 */ sra $a1, $a1, 0x10
|
||||
/* E12F0 8014ABF0 08052AFF */ j .L8014ABFC
|
||||
/* E12F4 8014ABF4 00000000 */ nop
|
||||
.L8014ABF8:
|
||||
/* E12F8 8014ABF8 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8014ABFC:
|
||||
/* E12FC 8014ABFC 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* E1300 8014AC00 03E00008 */ jr $ra
|
||||
/* E1304 8014AC04 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,25 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8014AC08
|
||||
/* E1308 8014AC08 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* E130C 8014AC0C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* E1310 8014AC10 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* E1314 8014AC14 0080302D */ daddu $a2, $a0, $zero
|
||||
/* E1318 8014AC18 240700FA */ addiu $a3, $zero, 0xfa
|
||||
/* E131C 8014AC1C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* E1320 8014AC20 24100008 */ addiu $s0, $zero, 8
|
||||
/* E1324 8014AC24 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* E1328 8014AC28 0C052A46 */ jal set_music_track
|
||||
/* E132C 8014AC2C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* E1330 8014AC30 24040001 */ addiu $a0, $zero, 1
|
||||
/* E1334 8014AC34 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* E1338 8014AC38 0000302D */ daddu $a2, $zero, $zero
|
||||
/* E133C 8014AC3C 240700FA */ addiu $a3, $zero, 0xfa
|
||||
/* E1340 8014AC40 0C052A46 */ jal set_music_track
|
||||
/* E1344 8014AC44 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* E1348 8014AC48 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* E134C 8014AC4C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* E1350 8014AC50 24020001 */ addiu $v0, $zero, 1
|
||||
/* E1354 8014AC54 03E00008 */ jr $ra
|
||||
/* E1358 8014AC58 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,9 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8014AC5C
|
||||
/* E135C 8014AC5C 24020004 */ addiu $v0, $zero, 4
|
||||
/* E1360 8014AC60 3C018016 */ lui $at, %hi(D_80159AE4)
|
||||
/* E1364 8014AC64 A4229AE4 */ sh $v0, %lo(D_80159AE4)($at)
|
||||
/* E1368 8014AC68 03E00008 */ jr $ra
|
||||
/* E136C 8014AC6C 00000000 */ nop
|
@ -1,9 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8014AC70
|
||||
/* E1370 8014AC70 24020008 */ addiu $v0, $zero, 8
|
||||
/* E1374 8014AC74 3C018016 */ lui $at, %hi(D_80159AE4)
|
||||
/* E1378 8014AC78 A4229AE4 */ sh $v0, %lo(D_80159AE4)($at)
|
||||
/* E137C 8014AC7C 03E00008 */ jr $ra
|
||||
/* E1380 8014AC80 00000000 */ nop
|
@ -1,8 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8014AC84
|
||||
/* E1384 8014AC84 3C018016 */ lui $at, %hi(D_80159AE2)
|
||||
/* E1388 8014AC88 A4249AE2 */ sh $a0, %lo(D_80159AE2)($at)
|
||||
/* E138C 8014AC8C 03E00008 */ jr $ra
|
||||
/* E1390 8014AC90 00000000 */ nop
|
@ -13,15 +13,15 @@ glabel func_8014AC94
|
||||
/* E13B4 8014ACB4 08052B4D */ j .L8014AD34
|
||||
/* E13B8 8014ACB8 A4820000 */ sh $v0, ($a0)
|
||||
.L8014ACBC:
|
||||
/* E13BC 8014ACBC 3C038016 */ lui $v1, %hi(D_80159AE2)
|
||||
/* E13C0 8014ACC0 84639AE2 */ lh $v1, %lo(D_80159AE2)($v1)
|
||||
/* E13C4 8014ACC4 3C028016 */ lui $v0, %hi(D_80159AE4)
|
||||
/* E13C8 8014ACC8 84429AE4 */ lh $v0, %lo(D_80159AE4)($v0)
|
||||
/* E13CC 8014ACCC 3C048016 */ lui $a0, %hi(D_80159AE2)
|
||||
/* E13D0 8014ACD0 94849AE2 */ lhu $a0, %lo(D_80159AE2)($a0)
|
||||
/* E13BC 8014ACBC 3C038016 */ lui $v1, %hi(gMusicTargetVolume)
|
||||
/* E13C0 8014ACC0 84639AE2 */ lh $v1, %lo(gMusicTargetVolume)($v1)
|
||||
/* E13C4 8014ACC4 3C028016 */ lui $v0, %hi(gMusicUnkVolume2)
|
||||
/* E13C8 8014ACC8 84429AE4 */ lh $v0, %lo(gMusicUnkVolume2)($v0)
|
||||
/* E13CC 8014ACCC 3C048016 */ lui $a0, %hi(gMusicTargetVolume)
|
||||
/* E13D0 8014ACD0 94849AE2 */ lhu $a0, %lo(gMusicTargetVolume)($a0)
|
||||
/* E13D4 8014ACD4 0043102A */ slt $v0, $v0, $v1
|
||||
/* E13D8 8014ACD8 3C038016 */ lui $v1, %hi(D_80159AE4)
|
||||
/* E13DC 8014ACDC 94639AE4 */ lhu $v1, %lo(D_80159AE4)($v1)
|
||||
/* E13D8 8014ACD8 3C038016 */ lui $v1, %hi(gMusicUnkVolume2)
|
||||
/* E13DC 8014ACDC 94639AE4 */ lhu $v1, %lo(gMusicUnkVolume2)($v1)
|
||||
/* E13E0 8014ACE0 54400001 */ bnel $v0, $zero, .L8014ACE8
|
||||
/* E13E4 8014ACE4 0060202D */ daddu $a0, $v1, $zero
|
||||
.L8014ACE8:
|
||||
@ -41,7 +41,7 @@ glabel func_8014AC94
|
||||
/* E1418 8014AD18 3C048016 */ lui $a0, 0x8016
|
||||
/* E141C 8014AD1C 84849AE6 */ lh $a0, -0x651a($a0)
|
||||
/* E1420 8014AD20 0C015869 */ jal func_800561A4
|
||||
/* E1424 8014AD24 00000000 */ nop
|
||||
/* E1424 8014AD24 00000000 */ nop
|
||||
/* E1428 8014AD28 24020003 */ addiu $v0, $zero, 3
|
||||
/* E142C 8014AD2C 3C018015 */ lui $at, 0x8015
|
||||
/* E1430 8014AD30 A422F738 */ sh $v0, -0x8c8($at)
|
||||
|
@ -1,9 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8014AF8C
|
||||
/* E168C 8014AF8C 3C028016 */ lui $v0, 0x8016
|
||||
/* E1690 8014AF90 24429AF0 */ addiu $v0, $v0, -0x6510
|
||||
/* E1694 8014AF94 AC44001C */ sw $a0, 0x1c($v0)
|
||||
/* E1698 8014AF98 03E00008 */ jr $ra
|
||||
/* E169C 8014AF9C AC450020 */ sw $a1, 0x20($v0)
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel get_default_variation_for_song
|
||||
/* E0B30 8014A430 0000302D */ daddu $a2, $zero, $zero
|
||||
/* E0B34 8014A434 3C078009 */ lui $a3, 0x8009
|
||||
/* E0B38 8014A438 24E734F0 */ addiu $a3, $a3, 0x34f0
|
||||
/* E0B3C 8014A43C 3C038007 */ lui $v1, %hi(gGameStatusPtr)
|
||||
/* E0B40 8014A440 2463419C */ addiu $v1, $v1, %lo(gGameStatusPtr)
|
||||
/* E0B44 8014A444 3C058015 */ lui $a1, 0x8015
|
||||
/* E0B48 8014A448 24A5F720 */ addiu $a1, $a1, -0x8e0
|
||||
.L8014A44C:
|
||||
/* E0B4C 8014A44C 8CA20000 */ lw $v0, ($a1)
|
||||
/* E0B50 8014A450 1444000C */ bne $v0, $a0, .L8014A484
|
||||
/* E0B54 8014A454 24C60001 */ addiu $a2, $a2, 1
|
||||
/* E0B58 8014A458 8C630000 */ lw $v1, ($v1)
|
||||
/* E0B5C 8014A45C 84620086 */ lh $v0, 0x86($v1)
|
||||
/* E0B60 8014A460 8463008C */ lh $v1, 0x8c($v1)
|
||||
/* E0B64 8014A464 00021100 */ sll $v0, $v0, 4
|
||||
/* E0B68 8014A468 00471021 */ addu $v0, $v0, $a3
|
||||
/* E0B6C 8014A46C 8C420004 */ lw $v0, 4($v0)
|
||||
/* E0B70 8014A470 00031940 */ sll $v1, $v1, 5
|
||||
/* E0B74 8014A474 00431021 */ addu $v0, $v0, $v1
|
||||
/* E0B78 8014A478 9042001E */ lbu $v0, 0x1e($v0)
|
||||
/* E0B7C 8014A47C 03E00008 */ jr $ra
|
||||
/* E0B80 8014A480 30420001 */ andi $v0, $v0, 1
|
||||
.L8014A484:
|
||||
/* E0B84 8014A484 2CC20006 */ sltiu $v0, $a2, 6
|
||||
/* E0B88 8014A488 1440FFF0 */ bnez $v0, .L8014A44C
|
||||
/* E0B8C 8014A48C 24A50004 */ addiu $a1, $a1, 4
|
||||
/* E0B90 8014A490 03E00008 */ jr $ra
|
||||
/* E0B94 8014A494 2402FFFF */ addiu $v0, $zero, -1
|
@ -1,23 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel set_music_track
|
||||
/* E1018 8014A918 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* E101C 8014A91C 3C038016 */ lui $v1, 0x8016
|
||||
/* E1020 8014A920 24639AF0 */ addiu $v1, $v1, -0x6510
|
||||
/* E1024 8014A924 00041040 */ sll $v0, $a0, 1
|
||||
/* E1028 8014A928 00441021 */ addu $v0, $v0, $a0
|
||||
/* E102C 8014A92C 00021100 */ sll $v0, $v0, 4
|
||||
/* E1030 8014A930 00431021 */ addu $v0, $v0, $v1
|
||||
/* E1034 8014A934 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* E1038 8014A938 94430000 */ lhu $v1, ($v0)
|
||||
/* E103C 8014A93C 8FA80030 */ lw $t0, 0x30($sp)
|
||||
/* E1040 8014A940 3063FFF7 */ andi $v1, $v1, 0xfff7
|
||||
/* E1044 8014A944 00084400 */ sll $t0, $t0, 0x10
|
||||
/* E1048 8014A948 00084403 */ sra $t0, $t0, 0x10
|
||||
/* E104C 8014A94C A4430000 */ sh $v1, ($v0)
|
||||
/* E1050 8014A950 0C0529F8 */ jal _set_music_track
|
||||
/* E1054 8014A954 AFA80010 */ sw $t0, 0x10($sp)
|
||||
/* E1058 8014A958 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* E105C 8014A95C 03E00008 */ jr $ra
|
||||
/* E1060 8014A960 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,140 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel start_script_in_group
|
||||
/* E7F80 802C35D0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* E7F84 802C35D4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* E7F88 802C35D8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* E7F8C 802C35DC AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* E7F90 802C35E0 00A0A02D */ daddu $s4, $a1, $zero
|
||||
/* E7F94 802C35E4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* E7F98 802C35E8 00C0982D */ daddu $s3, $a2, $zero
|
||||
/* E7F9C 802C35EC AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* E7FA0 802C35F0 00E0A82D */ daddu $s5, $a3, $zero
|
||||
/* E7FA4 802C35F4 3C03802E */ lui $v1, %hi(gCurrentScriptListPtr)
|
||||
/* E7FA8 802C35F8 8C63A890 */ lw $v1, %lo(gCurrentScriptListPtr)($v1)
|
||||
/* E7FAC 802C35FC 0000282D */ daddu $a1, $zero, $zero
|
||||
/* E7FB0 802C3600 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* E7FB4 802C3604 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* E7FB8 802C3608 AFB00010 */ sw $s0, 0x10($sp)
|
||||
.L802C360C:
|
||||
/* E7FBC 802C360C 8C620000 */ lw $v0, ($v1)
|
||||
/* E7FC0 802C3610 10400006 */ beqz $v0, .L802C362C
|
||||
/* E7FC4 802C3614 28A20080 */ slti $v0, $a1, 0x80
|
||||
/* E7FC8 802C3618 24A50001 */ addiu $a1, $a1, 1
|
||||
/* E7FCC 802C361C 28A20080 */ slti $v0, $a1, 0x80
|
||||
/* E7FD0 802C3620 1440FFFA */ bnez $v0, .L802C360C
|
||||
/* E7FD4 802C3624 24630004 */ addiu $v1, $v1, 4
|
||||
/* E7FD8 802C3628 28A20080 */ slti $v0, $a1, 0x80
|
||||
.L802C362C:
|
||||
/* E7FDC 802C362C 14400003 */ bnez $v0, .L802C363C
|
||||
/* E7FE0 802C3630 24040168 */ addiu $a0, $zero, 0x168
|
||||
.L802C3634:
|
||||
/* E7FE4 802C3634 080B0D8D */ j .L802C3634
|
||||
/* E7FE8 802C3638 00000000 */ nop
|
||||
.L802C363C:
|
||||
/* E7FEC 802C363C 0C00AB39 */ jal heap_malloc
|
||||
/* E7FF0 802C3640 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* E7FF4 802C3644 00122080 */ sll $a0, $s2, 2
|
||||
/* E7FF8 802C3648 3C03802E */ lui $v1, %hi(gCurrentScriptListPtr)
|
||||
/* E7FFC 802C364C 8C63A890 */ lw $v1, %lo(gCurrentScriptListPtr)($v1)
|
||||
/* E8000 802C3650 3C05802E */ lui $a1, %hi(gNumScripts)
|
||||
/* E8004 802C3654 24A5A488 */ addiu $a1, $a1, %lo(gNumScripts)
|
||||
/* E8008 802C3658 00832021 */ addu $a0, $a0, $v1
|
||||
/* E800C 802C365C 8CA30000 */ lw $v1, ($a1)
|
||||
/* E8010 802C3660 0040802D */ daddu $s0, $v0, $zero
|
||||
/* E8014 802C3664 AC900000 */ sw $s0, ($a0)
|
||||
/* E8018 802C3668 24630001 */ addiu $v1, $v1, 1
|
||||
/* E801C 802C366C 16000003 */ bnez $s0, .L802C367C
|
||||
/* E8020 802C3670 ACA30000 */ sw $v1, ($a1)
|
||||
.L802C3674:
|
||||
/* E8024 802C3674 080B0D9D */ j .L802C3674
|
||||
/* E8028 802C3678 00000000 */ nop
|
||||
.L802C367C:
|
||||
/* E802C 802C367C 36620001 */ ori $v0, $s3, 1
|
||||
/* E8030 802C3680 3C03802E */ lui $v1, %hi(gStaticScriptCounter)
|
||||
/* E8034 802C3684 24639CA0 */ addiu $v1, $v1, %lo(gStaticScriptCounter)
|
||||
/* E8038 802C3688 A2020000 */ sb $v0, ($s0)
|
||||
/* E803C 802C368C A2000002 */ sb $zero, 2($s0)
|
||||
/* E8040 802C3690 A2140003 */ sb $s4, 3($s0)
|
||||
/* E8044 802C3694 8C620000 */ lw $v0, ($v1)
|
||||
/* E8048 802C3698 2405000F */ addiu $a1, $zero, 0xf
|
||||
/* E804C 802C369C AE020144 */ sw $v0, 0x144($s0)
|
||||
/* E8050 802C36A0 24420001 */ addiu $v0, $v0, 1
|
||||
/* E8054 802C36A4 AC620000 */ sw $v0, ($v1)
|
||||
/* E8058 802C36A8 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* E805C 802C36AC A2020006 */ sb $v0, 6($s0)
|
||||
/* E8060 802C36B0 A2020007 */ sb $v0, 7($s0)
|
||||
/* E8064 802C36B4 A2150004 */ sb $s5, 4($s0)
|
||||
/* E8068 802C36B8 3C01802E */ lui $at, 0x802e
|
||||
/* E806C 802C36BC C4209CA8 */ lwc1 $f0, -0x6358($at)
|
||||
/* E8070 802C36C0 2603003C */ addiu $v1, $s0, 0x3c
|
||||
/* E8074 802C36C4 AE110008 */ sw $s1, 8($s0)
|
||||
/* E8078 802C36C8 AE11015C */ sw $s1, 0x15c($s0)
|
||||
/* E807C 802C36CC AE110164 */ sw $s1, 0x164($s0)
|
||||
/* E8080 802C36D0 AE000060 */ sw $zero, 0x60($s0)
|
||||
/* E8084 802C36D4 AE000064 */ sw $zero, 0x64($s0)
|
||||
/* E8088 802C36D8 AE000068 */ sw $zero, 0x68($s0)
|
||||
/* E808C 802C36DC AE00006C */ sw $zero, 0x6c($s0)
|
||||
/* E8090 802C36E0 AE020148 */ sw $v0, 0x148($s0)
|
||||
/* E8094 802C36E4 AE02014C */ sw $v0, 0x14c($s0)
|
||||
/* E8098 802C36E8 AE000160 */ sw $zero, 0x160($s0)
|
||||
/* E809C 802C36EC AE000154 */ sw $zero, 0x154($s0)
|
||||
/* E80A0 802C36F0 AE000158 */ sw $zero, 0x158($s0)
|
||||
/* E80A4 802C36F4 E6000150 */ swc1 $f0, 0x150($s0)
|
||||
.L802C36F8:
|
||||
/* E80A8 802C36F8 AC600084 */ sw $zero, 0x84($v1)
|
||||
/* E80AC 802C36FC 24A5FFFF */ addiu $a1, $a1, -1
|
||||
/* E80B0 802C3700 04A1FFFD */ bgez $a1, .L802C36F8
|
||||
/* E80B4 802C3704 2463FFFC */ addiu $v1, $v1, -4
|
||||
/* E80B8 802C3708 24050002 */ addiu $a1, $zero, 2
|
||||
/* E80BC 802C370C 26020008 */ addiu $v0, $s0, 8
|
||||
.L802C3710:
|
||||
/* E80C0 802C3710 AC4000C4 */ sw $zero, 0xc4($v0)
|
||||
/* E80C4 802C3714 24A5FFFF */ addiu $a1, $a1, -1
|
||||
/* E80C8 802C3718 04A1FFFD */ bgez $a1, .L802C3710
|
||||
/* E80CC 802C371C 2442FFFC */ addiu $v0, $v0, -4
|
||||
/* E80D0 802C3720 0C0B0C52 */ jal find_script_labels
|
||||
/* E80D4 802C3724 0200202D */ daddu $a0, $s0, $zero
|
||||
/* E80D8 802C3728 3C02802E */ lui $v0, %hi(D_802D9CA4)
|
||||
/* E80DC 802C372C 8C429CA4 */ lw $v0, %lo(D_802D9CA4)($v0)
|
||||
/* E80E0 802C3730 10400012 */ beqz $v0, .L802C377C
|
||||
/* E80E4 802C3734 00000000 */ nop
|
||||
/* E80E8 802C3738 92020000 */ lbu $v0, ($s0)
|
||||
/* E80EC 802C373C 30420020 */ andi $v0, $v0, 0x20
|
||||
/* E80F0 802C3740 1040000E */ beqz $v0, .L802C377C
|
||||
/* E80F4 802C3744 00000000 */ nop
|
||||
/* E80F8 802C3748 3C05802E */ lui $a1, %hi(gScriptListCount)
|
||||
/* E80FC 802C374C 24A5AC98 */ addiu $a1, $a1, %lo(gScriptListCount)
|
||||
/* E8100 802C3750 8CA20000 */ lw $v0, ($a1)
|
||||
/* E8104 802C3754 00022080 */ sll $a0, $v0, 2
|
||||
/* E8108 802C3758 3C01802E */ lui $at, %hi(gScriptIndexList)
|
||||
/* E810C 802C375C 00240821 */ addu $at, $at, $a0
|
||||
/* E8110 802C3760 AC32A898 */ sw $s2, %lo(gScriptIndexList)($at)
|
||||
/* E8114 802C3764 8E030144 */ lw $v1, 0x144($s0)
|
||||
/* E8118 802C3768 24420001 */ addiu $v0, $v0, 1
|
||||
/* E811C 802C376C ACA20000 */ sw $v0, ($a1)
|
||||
/* E8120 802C3770 3C01802E */ lui $at, %hi(gScriptIdList)
|
||||
/* E8124 802C3774 00240821 */ addu $at, $at, $a0
|
||||
/* E8128 802C3778 AC23AA98 */ sw $v1, %lo(gScriptIdList)($at)
|
||||
.L802C377C:
|
||||
/* E812C 802C377C 0C0B0CE4 */ jal func_802C3390
|
||||
/* E8130 802C3780 0200202D */ daddu $a0, $s0, $zero
|
||||
/* E8134 802C3784 3C03802E */ lui $v1, %hi(gStaticScriptCounter)
|
||||
/* E8138 802C3788 24639CA0 */ addiu $v1, $v1, %lo(gStaticScriptCounter)
|
||||
/* E813C 802C378C 8C620000 */ lw $v0, ($v1)
|
||||
/* E8140 802C3790 14400004 */ bnez $v0, .L802C37A4
|
||||
/* E8144 802C3794 0200102D */ daddu $v0, $s0, $zero
|
||||
/* E8148 802C3798 24020001 */ addiu $v0, $zero, 1
|
||||
/* E814C 802C379C AC620000 */ sw $v0, ($v1)
|
||||
/* E8150 802C37A0 0200102D */ daddu $v0, $s0, $zero
|
||||
.L802C37A4:
|
||||
/* E8154 802C37A4 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* E8158 802C37A8 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* E815C 802C37AC 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* E8160 802C37B0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* E8164 802C37B4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* E8168 802C37B8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* E816C 802C37BC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* E8170 802C37C0 03E00008 */ jr $ra
|
||||
/* E8174 802C37C4 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,70 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetNpcPos
|
||||
/* F2660 802CDCB0 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* F2664 802CDCB4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* F2668 802CDCB8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* F266C 802CDCBC AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* F2670 802CDCC0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* F2674 802CDCC4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* F2678 802CDCC8 F7B80030 */ sdc1 $f24, 0x30($sp)
|
||||
/* F267C 802CDCCC F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* F2680 802CDCD0 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* F2684 802CDCD4 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* F2688 802CDCD8 8E050000 */ lw $a1, ($s0)
|
||||
/* F268C 802CDCDC 0C0B1EAF */ jal get_variable
|
||||
/* F2690 802CDCE0 26100004 */ addiu $s0, $s0, 4
|
||||
/* F2694 802CDCE4 8E050000 */ lw $a1, ($s0)
|
||||
/* F2698 802CDCE8 26100004 */ addiu $s0, $s0, 4
|
||||
/* F269C 802CDCEC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F26A0 802CDCF0 0C0B1EAF */ jal get_variable
|
||||
/* F26A4 802CDCF4 0040902D */ daddu $s2, $v0, $zero
|
||||
/* F26A8 802CDCF8 8E050000 */ lw $a1, ($s0)
|
||||
/* F26AC 802CDCFC 26100004 */ addiu $s0, $s0, 4
|
||||
/* F26B0 802CDD00 4482C000 */ mtc1 $v0, $f24
|
||||
/* F26B4 802CDD04 00000000 */ nop
|
||||
/* F26B8 802CDD08 4680C620 */ cvt.s.w $f24, $f24
|
||||
/* F26BC 802CDD0C 0C0B1EAF */ jal get_variable
|
||||
/* F26C0 802CDD10 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F26C4 802CDD14 8E050000 */ lw $a1, ($s0)
|
||||
/* F26C8 802CDD18 4482B000 */ mtc1 $v0, $f22
|
||||
/* F26CC 802CDD1C 00000000 */ nop
|
||||
/* F26D0 802CDD20 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* F26D4 802CDD24 0C0B1EAF */ jal get_variable
|
||||
/* F26D8 802CDD28 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F26DC 802CDD2C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F26E0 802CDD30 4482A000 */ mtc1 $v0, $f20
|
||||
/* F26E4 802CDD34 00000000 */ nop
|
||||
/* F26E8 802CDD38 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* F26EC 802CDD3C 0C0B36B0 */ jal resolve_npc
|
||||
/* F26F0 802CDD40 0240282D */ daddu $a1, $s2, $zero
|
||||
/* F26F4 802CDD44 0040282D */ daddu $a1, $v0, $zero
|
||||
/* F26F8 802CDD48 10A0000F */ beqz $a1, .L802CDD88
|
||||
/* F26FC 802CDD4C 4600C006 */ mov.s $f0, $f24
|
||||
/* F2700 802CDD50 E4B80038 */ swc1 $f24, 0x38($a1)
|
||||
/* F2704 802CDD54 E4B6003C */ swc1 $f22, 0x3c($a1)
|
||||
/* F2708 802CDD58 4600B086 */ mov.s $f2, $f22
|
||||
/* F270C 802CDD5C E4B40040 */ swc1 $f20, 0x40($a1)
|
||||
/* F2710 802CDD60 4600A106 */ mov.s $f4, $f20
|
||||
/* F2714 802CDD64 24020002 */ addiu $v0, $zero, 2
|
||||
/* F2718 802CDD68 8CA30000 */ lw $v1, ($a1)
|
||||
/* F271C 802CDD6C 3C040001 */ lui $a0, 1
|
||||
/* F2720 802CDD70 E4A0006C */ swc1 $f0, 0x6c($a1)
|
||||
/* F2724 802CDD74 E4A20070 */ swc1 $f2, 0x70($a1)
|
||||
/* F2728 802CDD78 E4A40074 */ swc1 $f4, 0x74($a1)
|
||||
/* F272C 802CDD7C 00641825 */ or $v1, $v1, $a0
|
||||
/* F2730 802CDD80 080B3763 */ j .L802CDD8C
|
||||
/* F2734 802CDD84 ACA30000 */ sw $v1, ($a1)
|
||||
.L802CDD88:
|
||||
/* F2738 802CDD88 24020002 */ addiu $v0, $zero, 2
|
||||
.L802CDD8C:
|
||||
/* F273C 802CDD8C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* F2740 802CDD90 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* F2744 802CDD94 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* F2748 802CDD98 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* F274C 802CDD9C D7B80030 */ ldc1 $f24, 0x30($sp)
|
||||
/* F2750 802CDDA0 D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* F2754 802CDDA4 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* F2758 802CDDA8 03E00008 */ jr $ra
|
||||
/* F275C 802CDDAC 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,68 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802CFD30
|
||||
/* F46E0 802CFD30 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* F46E4 802CFD34 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* F46E8 802CFD38 0080882D */ daddu $s1, $a0, $zero
|
||||
/* F46EC 802CFD3C AFBF003C */ sw $ra, 0x3c($sp)
|
||||
/* F46F0 802CFD40 AFB60038 */ sw $s6, 0x38($sp)
|
||||
/* F46F4 802CFD44 AFB50034 */ sw $s5, 0x34($sp)
|
||||
/* F46F8 802CFD48 AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* F46FC 802CFD4C AFB3002C */ sw $s3, 0x2c($sp)
|
||||
/* F4700 802CFD50 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* F4704 802CFD54 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* F4708 802CFD58 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* F470C 802CFD5C 8E050000 */ lw $a1, ($s0)
|
||||
/* F4710 802CFD60 0C0B1EAF */ jal get_variable
|
||||
/* F4714 802CFD64 26100004 */ addiu $s0, $s0, 4
|
||||
/* F4718 802CFD68 8E050000 */ lw $a1, ($s0)
|
||||
/* F471C 802CFD6C 26100004 */ addiu $s0, $s0, 4
|
||||
/* F4720 802CFD70 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F4724 802CFD74 0C0B1EAF */ jal get_variable
|
||||
/* F4728 802CFD78 0040902D */ daddu $s2, $v0, $zero
|
||||
/* F472C 802CFD7C 8E050000 */ lw $a1, ($s0)
|
||||
/* F4730 802CFD80 26100004 */ addiu $s0, $s0, 4
|
||||
/* F4734 802CFD84 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F4738 802CFD88 0C0B1EAF */ jal get_variable
|
||||
/* F473C 802CFD8C 0040B02D */ daddu $s6, $v0, $zero
|
||||
/* F4740 802CFD90 8E050000 */ lw $a1, ($s0)
|
||||
/* F4744 802CFD94 26100004 */ addiu $s0, $s0, 4
|
||||
/* F4748 802CFD98 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F474C 802CFD9C 0C0B1EAF */ jal get_variable
|
||||
/* F4750 802CFDA0 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* F4754 802CFDA4 8E050000 */ lw $a1, ($s0)
|
||||
/* F4758 802CFDA8 26100004 */ addiu $s0, $s0, 4
|
||||
/* F475C 802CFDAC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F4760 802CFDB0 0C0B1EAF */ jal get_variable
|
||||
/* F4764 802CFDB4 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* F4768 802CFDB8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F476C 802CFDBC 8E050000 */ lw $a1, ($s0)
|
||||
/* F4770 802CFDC0 0C0B1EAF */ jal get_variable
|
||||
/* F4774 802CFDC4 0040982D */ daddu $s3, $v0, $zero
|
||||
/* F4778 802CFDC8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F477C 802CFDCC 0240282D */ daddu $a1, $s2, $zero
|
||||
/* F4780 802CFDD0 0C0B36B0 */ jal resolve_npc
|
||||
/* F4784 802CFDD4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* F4788 802CFDD8 10400009 */ beqz $v0, .L802CFE00
|
||||
/* F478C 802CFDDC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* F4790 802CFDE0 02C0282D */ daddu $a1, $s6, $zero
|
||||
/* F4794 802CFDE4 02A0302D */ daddu $a2, $s5, $zero
|
||||
/* F4798 802CFDE8 AFB30010 */ sw $s3, 0x10($sp)
|
||||
/* F479C 802CFDEC AFB00014 */ sw $s0, 0x14($sp)
|
||||
/* F47A0 802CFDF0 948200A2 */ lhu $v0, 0xa2($a0)
|
||||
/* F47A4 802CFDF4 0280382D */ daddu $a3, $s4, $zero
|
||||
/* F47A8 802CFDF8 0C00F589 */ jal func_8003D624
|
||||
/* F47AC 802CFDFC AFA20018 */ sw $v0, 0x18($sp)
|
||||
.L802CFE00:
|
||||
/* F47B0 802CFE00 24020002 */ addiu $v0, $zero, 2
|
||||
/* F47B4 802CFE04 8FBF003C */ lw $ra, 0x3c($sp)
|
||||
/* F47B8 802CFE08 8FB60038 */ lw $s6, 0x38($sp)
|
||||
/* F47BC 802CFE0C 8FB50034 */ lw $s5, 0x34($sp)
|
||||
/* F47C0 802CFE10 8FB40030 */ lw $s4, 0x30($sp)
|
||||
/* F47C4 802CFE14 8FB3002C */ lw $s3, 0x2c($sp)
|
||||
/* F47C8 802CFE18 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* F47CC 802CFE1C 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* F47D0 802CFE20 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* F47D4 802CFE24 03E00008 */ jr $ra
|
||||
/* F47D8 802CFE28 27BD0040 */ addiu $sp, $sp, 0x40
|
@ -1,58 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802CFEEC
|
||||
/* F489C 802CFEEC 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* F48A0 802CFEF0 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* F48A4 802CFEF4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* F48A8 802CFEF8 AFBF0030 */ sw $ra, 0x30($sp)
|
||||
/* F48AC 802CFEFC AFB5002C */ sw $s5, 0x2c($sp)
|
||||
/* F48B0 802CFF00 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* F48B4 802CFF04 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* F48B8 802CFF08 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* F48BC 802CFF0C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* F48C0 802CFF10 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* F48C4 802CFF14 8E050000 */ lw $a1, ($s0)
|
||||
/* F48C8 802CFF18 0C0B1EAF */ jal get_variable
|
||||
/* F48CC 802CFF1C 26100004 */ addiu $s0, $s0, 4
|
||||
/* F48D0 802CFF20 8E050000 */ lw $a1, ($s0)
|
||||
/* F48D4 802CFF24 26100004 */ addiu $s0, $s0, 4
|
||||
/* F48D8 802CFF28 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F48DC 802CFF2C 0C0B1EAF */ jal get_variable
|
||||
/* F48E0 802CFF30 0040902D */ daddu $s2, $v0, $zero
|
||||
/* F48E4 802CFF34 8E050000 */ lw $a1, ($s0)
|
||||
/* F48E8 802CFF38 26100004 */ addiu $s0, $s0, 4
|
||||
/* F48EC 802CFF3C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F48F0 802CFF40 0C0B1EAF */ jal get_variable
|
||||
/* F48F4 802CFF44 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* F48F8 802CFF48 8E050000 */ lw $a1, ($s0)
|
||||
/* F48FC 802CFF4C 26100004 */ addiu $s0, $s0, 4
|
||||
/* F4900 802CFF50 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F4904 802CFF54 0C0B1EAF */ jal get_variable
|
||||
/* F4908 802CFF58 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* F490C 802CFF5C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F4910 802CFF60 8E050000 */ lw $a1, ($s0)
|
||||
/* F4914 802CFF64 0C0B1EAF */ jal get_variable
|
||||
/* F4918 802CFF68 0040982D */ daddu $s3, $v0, $zero
|
||||
/* F491C 802CFF6C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F4920 802CFF70 0240282D */ daddu $a1, $s2, $zero
|
||||
/* F4924 802CFF74 0C0B36B0 */ jal resolve_npc
|
||||
/* F4928 802CFF78 0040802D */ daddu $s0, $v0, $zero
|
||||
/* F492C 802CFF7C 10400006 */ beqz $v0, .L802CFF98
|
||||
/* F4930 802CFF80 0040202D */ daddu $a0, $v0, $zero
|
||||
/* F4934 802CFF84 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* F4938 802CFF88 02A0282D */ daddu $a1, $s5, $zero
|
||||
/* F493C 802CFF8C 0280302D */ daddu $a2, $s4, $zero
|
||||
/* F4940 802CFF90 0C00ED13 */ jal func_8003B44C
|
||||
/* F4944 802CFF94 0260382D */ daddu $a3, $s3, $zero
|
||||
.L802CFF98:
|
||||
/* F4948 802CFF98 24020002 */ addiu $v0, $zero, 2
|
||||
/* F494C 802CFF9C 8FBF0030 */ lw $ra, 0x30($sp)
|
||||
/* F4950 802CFFA0 8FB5002C */ lw $s5, 0x2c($sp)
|
||||
/* F4954 802CFFA4 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* F4958 802CFFA8 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* F495C 802CFFAC 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* F4960 802CFFB0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* F4964 802CFFB4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* F4968 802CFFB8 03E00008 */ jr $ra
|
||||
/* F496C 802CFFBC 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,91 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802CFFC0
|
||||
/* F4970 802CFFC0 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* F4974 802CFFC4 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* F4978 802CFFC8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* F497C 802CFFCC AFBF0044 */ sw $ra, 0x44($sp)
|
||||
/* F4980 802CFFD0 AFBE0040 */ sw $fp, 0x40($sp)
|
||||
/* F4984 802CFFD4 AFB7003C */ sw $s7, 0x3c($sp)
|
||||
/* F4988 802CFFD8 AFB60038 */ sw $s6, 0x38($sp)
|
||||
/* F498C 802CFFDC AFB50034 */ sw $s5, 0x34($sp)
|
||||
/* F4990 802CFFE0 AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* F4994 802CFFE4 AFB3002C */ sw $s3, 0x2c($sp)
|
||||
/* F4998 802CFFE8 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* F499C 802CFFEC AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* F49A0 802CFFF0 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* F49A4 802CFFF4 8E050000 */ lw $a1, ($s0)
|
||||
/* F49A8 802CFFF8 0C0B1EAF */ jal get_variable
|
||||
/* F49AC 802CFFFC 26100004 */ addiu $s0, $s0, 4
|
||||
/* F49B0 802D0000 8E050000 */ lw $a1, ($s0)
|
||||
/* F49B4 802D0004 26100004 */ addiu $s0, $s0, 4
|
||||
/* F49B8 802D0008 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F49BC 802D000C 0C0B1EAF */ jal get_variable
|
||||
/* F49C0 802D0010 0040902D */ daddu $s2, $v0, $zero
|
||||
/* F49C4 802D0014 8E050000 */ lw $a1, ($s0)
|
||||
/* F49C8 802D0018 26100004 */ addiu $s0, $s0, 4
|
||||
/* F49CC 802D001C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F49D0 802D0020 0C0B1EAF */ jal get_variable
|
||||
/* F49D4 802D0024 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* F49D8 802D0028 8E050000 */ lw $a1, ($s0)
|
||||
/* F49DC 802D002C 26100004 */ addiu $s0, $s0, 4
|
||||
/* F49E0 802D0030 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F49E4 802D0034 0C0B1EAF */ jal get_variable
|
||||
/* F49E8 802D0038 0040F02D */ daddu $fp, $v0, $zero
|
||||
/* F49EC 802D003C 8E050000 */ lw $a1, ($s0)
|
||||
/* F49F0 802D0040 26100004 */ addiu $s0, $s0, 4
|
||||
/* F49F4 802D0044 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F49F8 802D0048 0C0B1EAF */ jal get_variable
|
||||
/* F49FC 802D004C 0040B82D */ daddu $s7, $v0, $zero
|
||||
/* F4A00 802D0050 8E050000 */ lw $a1, ($s0)
|
||||
/* F4A04 802D0054 26100004 */ addiu $s0, $s0, 4
|
||||
/* F4A08 802D0058 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F4A0C 802D005C 0C0B1EAF */ jal get_variable
|
||||
/* F4A10 802D0060 0040B02D */ daddu $s6, $v0, $zero
|
||||
/* F4A14 802D0064 8E050000 */ lw $a1, ($s0)
|
||||
/* F4A18 802D0068 26100004 */ addiu $s0, $s0, 4
|
||||
/* F4A1C 802D006C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F4A20 802D0070 0C0B1EAF */ jal get_variable
|
||||
/* F4A24 802D0074 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* F4A28 802D0078 8E050000 */ lw $a1, ($s0)
|
||||
/* F4A2C 802D007C 26100004 */ addiu $s0, $s0, 4
|
||||
/* F4A30 802D0080 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F4A34 802D0084 0C0B1EAF */ jal get_variable
|
||||
/* F4A38 802D0088 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* F4A3C 802D008C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F4A40 802D0090 8E050000 */ lw $a1, ($s0)
|
||||
/* F4A44 802D0094 0C0B1EAF */ jal get_variable
|
||||
/* F4A48 802D0098 0040982D */ daddu $s3, $v0, $zero
|
||||
/* F4A4C 802D009C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* F4A50 802D00A0 0240282D */ daddu $a1, $s2, $zero
|
||||
/* F4A54 802D00A4 0C0B36B0 */ jal resolve_npc
|
||||
/* F4A58 802D00A8 0040882D */ daddu $s1, $v0, $zero
|
||||
/* F4A5C 802D00AC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* F4A60 802D00B0 1200000C */ beqz $s0, .L802D00E4
|
||||
/* F4A64 802D00B4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* F4A68 802D00B8 03C0302D */ daddu $a2, $fp, $zero
|
||||
/* F4A6C 802D00BC 8FA50018 */ lw $a1, 0x18($sp)
|
||||
/* F4A70 802D00C0 02E0382D */ daddu $a3, $s7, $zero
|
||||
/* F4A74 802D00C4 0C00ED13 */ jal func_8003B44C
|
||||
/* F4A78 802D00C8 AFB60010 */ sw $s6, 0x10($sp)
|
||||
/* F4A7C 802D00CC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* F4A80 802D00D0 02A0282D */ daddu $a1, $s5, $zero
|
||||
/* F4A84 802D00D4 0280302D */ daddu $a2, $s4, $zero
|
||||
/* F4A88 802D00D8 0260382D */ daddu $a3, $s3, $zero
|
||||
/* F4A8C 802D00DC 0C00ED19 */ jal func_8003B464
|
||||
/* F4A90 802D00E0 AFB10010 */ sw $s1, 0x10($sp)
|
||||
.L802D00E4:
|
||||
/* F4A94 802D00E4 24020002 */ addiu $v0, $zero, 2
|
||||
/* F4A98 802D00E8 8FBF0044 */ lw $ra, 0x44($sp)
|
||||
/* F4A9C 802D00EC 8FBE0040 */ lw $fp, 0x40($sp)
|
||||
/* F4AA0 802D00F0 8FB7003C */ lw $s7, 0x3c($sp)
|
||||
/* F4AA4 802D00F4 8FB60038 */ lw $s6, 0x38($sp)
|
||||
/* F4AA8 802D00F8 8FB50034 */ lw $s5, 0x34($sp)
|
||||
/* F4AAC 802D00FC 8FB40030 */ lw $s4, 0x30($sp)
|
||||
/* F4AB0 802D0100 8FB3002C */ lw $s3, 0x2c($sp)
|
||||
/* F4AB4 802D0104 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* F4AB8 802D0108 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* F4ABC 802D010C 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* F4AC0 802D0110 03E00008 */ jr $ra
|
||||
/* F4AC4 802D0114 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -1,11 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80034388
|
||||
/* F788 80034388 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* F78C 8003438C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* F790 80034390 0C00D0E9 */ jal func_800343A4
|
||||
/* F794 80034394 00000000 */ nop
|
||||
/* F798 80034398 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* F79C 8003439C 03E00008 */ jr $ra
|
||||
/* F7A0 800343A0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,8 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80034FF0
|
||||
/* 103F0 80034FF0 03E00008 */ jr $ra
|
||||
/* 103F4 80034FF4 00000000 */ nop
|
||||
/* 103F8 80034FF8 00000000 */ nop
|
||||
/* 103FC 80034FFC 00000000 */ nop
|
@ -1,65 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel LoadPath
|
||||
/* F9DE0 802D5430 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* F9DE4 802D5434 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* F9DE8 802D5438 0080902D */ daddu $s2, $a0, $zero
|
||||
/* F9DEC 802D543C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* F9DF0 802D5440 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* F9DF4 802D5444 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* F9DF8 802D5448 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* F9DFC 802D544C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* F9E00 802D5450 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* F9E04 802D5454 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* F9E08 802D5458 8E050000 */ lw $a1, ($s0)
|
||||
/* F9E0C 802D545C 0C0B1EAF */ jal get_variable
|
||||
/* F9E10 802D5460 26100004 */ addiu $s0, $s0, 4
|
||||
/* F9E14 802D5464 8E050000 */ lw $a1, ($s0)
|
||||
/* F9E18 802D5468 26100004 */ addiu $s0, $s0, 4
|
||||
/* F9E1C 802D546C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* F9E20 802D5470 0C0B1EAF */ jal get_variable
|
||||
/* F9E24 802D5474 0040982D */ daddu $s3, $v0, $zero
|
||||
/* F9E28 802D5478 8E050000 */ lw $a1, ($s0)
|
||||
/* F9E2C 802D547C 26100004 */ addiu $s0, $s0, 4
|
||||
/* F9E30 802D5480 0240202D */ daddu $a0, $s2, $zero
|
||||
/* F9E34 802D5484 0C0B1EAF */ jal get_variable
|
||||
/* F9E38 802D5488 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* F9E3C 802D548C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* F9E40 802D5490 8E050000 */ lw $a1, ($s0)
|
||||
/* F9E44 802D5494 0C0B1EAF */ jal get_variable
|
||||
/* F9E48 802D5498 0040882D */ daddu $s1, $v0, $zero
|
||||
/* F9E4C 802D549C 2404001C */ addiu $a0, $zero, 0x1c
|
||||
/* F9E50 802D54A0 0C00AB39 */ jal heap_malloc
|
||||
/* F9E54 802D54A4 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* F9E58 802D54A8 00112080 */ sll $a0, $s1, 2
|
||||
/* F9E5C 802D54AC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* F9E60 802D54B0 AE5000C0 */ sw $s0, 0xc0($s2)
|
||||
/* F9E64 802D54B4 0C00AB39 */ jal heap_malloc
|
||||
/* F9E68 802D54B8 AE110000 */ sw $s1, ($s0)
|
||||
/* F9E6C 802D54BC 00112040 */ sll $a0, $s1, 1
|
||||
/* F9E70 802D54C0 00912021 */ addu $a0, $a0, $s1
|
||||
/* F9E74 802D54C4 00042080 */ sll $a0, $a0, 2
|
||||
/* F9E78 802D54C8 AE020004 */ sw $v0, 4($s0)
|
||||
/* F9E7C 802D54CC 0C00AB39 */ jal heap_malloc
|
||||
/* F9E80 802D54D0 AE140008 */ sw $s4, 8($s0)
|
||||
/* F9E84 802D54D4 8E040000 */ lw $a0, ($s0)
|
||||
/* F9E88 802D54D8 8E050004 */ lw $a1, 4($s0)
|
||||
/* F9E8C 802D54DC 8E060008 */ lw $a2, 8($s0)
|
||||
/* F9E90 802D54E0 0040382D */ daddu $a3, $v0, $zero
|
||||
/* F9E94 802D54E4 0C0B536B */ jal setup_path_data
|
||||
/* F9E98 802D54E8 AE02000C */ sw $v0, 0xc($s0)
|
||||
/* F9E9C 802D54EC 2673FFFF */ addiu $s3, $s3, -1
|
||||
/* F9EA0 802D54F0 AE000010 */ sw $zero, 0x10($s0)
|
||||
/* F9EA4 802D54F4 AE130014 */ sw $s3, 0x14($s0)
|
||||
/* F9EA8 802D54F8 AE150018 */ sw $s5, 0x18($s0)
|
||||
/* F9EAC 802D54FC 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* F9EB0 802D5500 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* F9EB4 802D5504 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* F9EB8 802D5508 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* F9EBC 802D550C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* F9EC0 802D5510 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* F9EC4 802D5514 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* F9EC8 802D5518 24020002 */ addiu $v0, $zero, 2
|
||||
/* F9ECC 802D551C 03E00008 */ jr $ra
|
||||
/* F9ED0 802D5520 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,68 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel DropItemEntity
|
||||
/* FB770 802D6DC0 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* FB774 802D6DC4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* FB778 802D6DC8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* FB77C 802D6DCC AFBF0030 */ sw $ra, 0x30($sp)
|
||||
/* FB780 802D6DD0 AFB5002C */ sw $s5, 0x2c($sp)
|
||||
/* FB784 802D6DD4 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* FB788 802D6DD8 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* FB78C 802D6DDC AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* FB790 802D6DE0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* FB794 802D6DE4 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* FB798 802D6DE8 8E050000 */ lw $a1, ($s0)
|
||||
/* FB79C 802D6DEC 0C0B1EAF */ jal get_variable
|
||||
/* FB7A0 802D6DF0 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB7A4 802D6DF4 8E050000 */ lw $a1, ($s0)
|
||||
/* FB7A8 802D6DF8 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB7AC 802D6DFC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB7B0 802D6E00 0C0B1EAF */ jal get_variable
|
||||
/* FB7B4 802D6E04 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* FB7B8 802D6E08 8E050000 */ lw $a1, ($s0)
|
||||
/* FB7BC 802D6E0C 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB7C0 802D6E10 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB7C4 802D6E14 0C0B1EAF */ jal get_variable
|
||||
/* FB7C8 802D6E18 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* FB7CC 802D6E1C 8E050000 */ lw $a1, ($s0)
|
||||
/* FB7D0 802D6E20 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB7D4 802D6E24 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB7D8 802D6E28 0C0B1EAF */ jal get_variable
|
||||
/* FB7DC 802D6E2C 0040982D */ daddu $s3, $v0, $zero
|
||||
/* FB7E0 802D6E30 8E050000 */ lw $a1, ($s0)
|
||||
/* FB7E4 802D6E34 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB7E8 802D6E38 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB7EC 802D6E3C 0C0B1EAF */ jal get_variable
|
||||
/* FB7F0 802D6E40 0040902D */ daddu $s2, $v0, $zero
|
||||
/* FB7F4 802D6E44 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB7F8 802D6E48 8E050000 */ lw $a1, ($s0)
|
||||
/* FB7FC 802D6E4C 0C0B1EAF */ jal get_variable
|
||||
/* FB800 802D6E50 0040802D */ daddu $s0, $v0, $zero
|
||||
/* FB804 802D6E54 44940000 */ mtc1 $s4, $f0
|
||||
/* FB808 802D6E58 00000000 */ nop
|
||||
/* FB80C 802D6E5C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* FB810 802D6E60 44050000 */ mfc1 $a1, $f0
|
||||
/* FB814 802D6E64 44930000 */ mtc1 $s3, $f0
|
||||
/* FB818 802D6E68 00000000 */ nop
|
||||
/* FB81C 802D6E6C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* FB820 802D6E70 44060000 */ mfc1 $a2, $f0
|
||||
/* FB824 802D6E74 44920000 */ mtc1 $s2, $f0
|
||||
/* FB828 802D6E78 00000000 */ nop
|
||||
/* FB82C 802D6E7C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* FB830 802D6E80 44070000 */ mfc1 $a3, $f0
|
||||
/* FB834 802D6E84 02A0202D */ daddu $a0, $s5, $zero
|
||||
/* FB838 802D6E88 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* FB83C 802D6E8C 0C04C6A5 */ jal make_item_entity_nodelay
|
||||
/* FB840 802D6E90 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* FB844 802D6E94 AE220084 */ sw $v0, 0x84($s1)
|
||||
/* FB848 802D6E98 8FBF0030 */ lw $ra, 0x30($sp)
|
||||
/* FB84C 802D6E9C 8FB5002C */ lw $s5, 0x2c($sp)
|
||||
/* FB850 802D6EA0 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* FB854 802D6EA4 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* FB858 802D6EA8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* FB85C 802D6EAC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* FB860 802D6EB0 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* FB864 802D6EB4 24020002 */ addiu $v0, $zero, 2
|
||||
/* FB868 802D6EB8 03E00008 */ jr $ra
|
||||
/* FB86C 802D6EBC 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,71 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel DropItemEntityB
|
||||
/* FB870 802D6EC0 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* FB874 802D6EC4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* FB878 802D6EC8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* FB87C 802D6ECC AFBF0030 */ sw $ra, 0x30($sp)
|
||||
/* FB880 802D6ED0 AFB5002C */ sw $s5, 0x2c($sp)
|
||||
/* FB884 802D6ED4 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* FB888 802D6ED8 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* FB88C 802D6EDC AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* FB890 802D6EE0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* FB894 802D6EE4 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* FB898 802D6EE8 8E050000 */ lw $a1, ($s0)
|
||||
/* FB89C 802D6EEC 0C0B1EAF */ jal get_variable
|
||||
/* FB8A0 802D6EF0 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB8A4 802D6EF4 8E050000 */ lw $a1, ($s0)
|
||||
/* FB8A8 802D6EF8 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB8AC 802D6EFC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB8B0 802D6F00 0C0B1EAF */ jal get_variable
|
||||
/* FB8B4 802D6F04 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* FB8B8 802D6F08 8E050000 */ lw $a1, ($s0)
|
||||
/* FB8BC 802D6F0C 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB8C0 802D6F10 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB8C4 802D6F14 0C0B1EAF */ jal get_variable
|
||||
/* FB8C8 802D6F18 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* FB8CC 802D6F1C 8E050000 */ lw $a1, ($s0)
|
||||
/* FB8D0 802D6F20 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB8D4 802D6F24 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB8D8 802D6F28 0C0B1EAF */ jal get_variable
|
||||
/* FB8DC 802D6F2C 0040982D */ daddu $s3, $v0, $zero
|
||||
/* FB8E0 802D6F30 8E050000 */ lw $a1, ($s0)
|
||||
/* FB8E4 802D6F34 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB8E8 802D6F38 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB8EC 802D6F3C 0C0B1EAF */ jal get_variable
|
||||
/* FB8F0 802D6F40 0040902D */ daddu $s2, $v0, $zero
|
||||
/* FB8F4 802D6F44 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB8F8 802D6F48 8E050000 */ lw $a1, ($s0)
|
||||
/* FB8FC 802D6F4C 0C0B1F6A */ jal get_variable_index
|
||||
/* FB900 802D6F50 0040802D */ daddu $s0, $v0, $zero
|
||||
/* FB904 802D6F54 44940000 */ mtc1 $s4, $f0
|
||||
/* FB908 802D6F58 00000000 */ nop
|
||||
/* FB90C 802D6F5C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* FB910 802D6F60 44050000 */ mfc1 $a1, $f0
|
||||
/* FB914 802D6F64 44930000 */ mtc1 $s3, $f0
|
||||
/* FB918 802D6F68 00000000 */ nop
|
||||
/* FB91C 802D6F6C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* FB920 802D6F70 44060000 */ mfc1 $a2, $f0
|
||||
/* FB924 802D6F74 44920000 */ mtc1 $s2, $f0
|
||||
/* FB928 802D6F78 00000000 */ nop
|
||||
/* FB92C 802D6F7C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* FB930 802D6F80 44070000 */ mfc1 $a3, $f0
|
||||
/* FB934 802D6F84 02A0202D */ daddu $a0, $s5, $zero
|
||||
/* FB938 802D6F88 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* FB93C 802D6F8C 0C04C6A5 */ jal make_item_entity_nodelay
|
||||
/* FB940 802D6F90 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* FB944 802D6F94 0040202D */ daddu $a0, $v0, $zero
|
||||
/* FB948 802D6F98 24054000 */ addiu $a1, $zero, 0x4000
|
||||
/* FB94C 802D6F9C 0C04D052 */ jal set_item_entity_flags
|
||||
/* FB950 802D6FA0 AE240084 */ sw $a0, 0x84($s1)
|
||||
/* FB954 802D6FA4 8FBF0030 */ lw $ra, 0x30($sp)
|
||||
/* FB958 802D6FA8 8FB5002C */ lw $s5, 0x2c($sp)
|
||||
/* FB95C 802D6FAC 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* FB960 802D6FB0 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* FB964 802D6FB4 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* FB968 802D6FB8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* FB96C 802D6FBC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* FB970 802D6FC0 24020002 */ addiu $v0, $zero, 2
|
||||
/* FB974 802D6FC4 03E00008 */ jr $ra
|
||||
/* FB978 802D6FC8 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,63 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel FadeInMusic
|
||||
/* FA7A4 802D5DF4 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* FA7A8 802D5DF8 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* FA7AC 802D5DFC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* FA7B0 802D5E00 AFBF0030 */ sw $ra, 0x30($sp)
|
||||
/* FA7B4 802D5E04 AFB5002C */ sw $s5, 0x2c($sp)
|
||||
/* FA7B8 802D5E08 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* FA7BC 802D5E0C AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* FA7C0 802D5E10 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* FA7C4 802D5E14 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* FA7C8 802D5E18 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* FA7CC 802D5E1C 8E050000 */ lw $a1, ($s0)
|
||||
/* FA7D0 802D5E20 0C0B1EAF */ jal get_variable
|
||||
/* FA7D4 802D5E24 26100004 */ addiu $s0, $s0, 4
|
||||
/* FA7D8 802D5E28 8E050000 */ lw $a1, ($s0)
|
||||
/* FA7DC 802D5E2C 26100004 */ addiu $s0, $s0, 4
|
||||
/* FA7E0 802D5E30 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FA7E4 802D5E34 0C0B1EAF */ jal get_variable
|
||||
/* FA7E8 802D5E38 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* FA7EC 802D5E3C 8E050000 */ lw $a1, ($s0)
|
||||
/* FA7F0 802D5E40 26100004 */ addiu $s0, $s0, 4
|
||||
/* FA7F4 802D5E44 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FA7F8 802D5E48 0C0B1EAF */ jal get_variable
|
||||
/* FA7FC 802D5E4C 0040982D */ daddu $s3, $v0, $zero
|
||||
/* FA800 802D5E50 8E050000 */ lw $a1, ($s0)
|
||||
/* FA804 802D5E54 26100004 */ addiu $s0, $s0, 4
|
||||
/* FA808 802D5E58 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FA80C 802D5E5C 0C0B1EAF */ jal get_variable
|
||||
/* FA810 802D5E60 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* FA814 802D5E64 8E050000 */ lw $a1, ($s0)
|
||||
/* FA818 802D5E68 26100004 */ addiu $s0, $s0, 4
|
||||
/* FA81C 802D5E6C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FA820 802D5E70 0C0B1EAF */ jal get_variable
|
||||
/* FA824 802D5E74 0040902D */ daddu $s2, $v0, $zero
|
||||
/* FA828 802D5E78 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FA82C 802D5E7C 8E050000 */ lw $a1, ($s0)
|
||||
/* FA830 802D5E80 0C0B1EAF */ jal get_variable
|
||||
/* FA834 802D5E84 0040802D */ daddu $s0, $v0, $zero
|
||||
/* FA838 802D5E88 02A0202D */ daddu $a0, $s5, $zero
|
||||
/* FA83C 802D5E8C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* FA840 802D5E90 00108400 */ sll $s0, $s0, 0x10
|
||||
/* FA844 802D5E94 00108403 */ sra $s0, $s0, 0x10
|
||||
/* FA848 802D5E98 00021400 */ sll $v0, $v0, 0x10
|
||||
/* FA84C 802D5E9C 00021403 */ sra $v0, $v0, 0x10
|
||||
/* FA850 802D5EA0 0280302D */ daddu $a2, $s4, $zero
|
||||
/* FA854 802D5EA4 0240382D */ daddu $a3, $s2, $zero
|
||||
/* FA858 802D5EA8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* FA85C 802D5EAC 0C052A59 */ jal func_8014A964
|
||||
/* FA860 802D5EB0 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* FA864 802D5EB4 0002102B */ sltu $v0, $zero, $v0
|
||||
/* FA868 802D5EB8 8FBF0030 */ lw $ra, 0x30($sp)
|
||||
/* FA86C 802D5EBC 8FB5002C */ lw $s5, 0x2c($sp)
|
||||
/* FA870 802D5EC0 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* FA874 802D5EC4 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* FA878 802D5EC8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* FA87C 802D5ECC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* FA880 802D5ED0 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* FA884 802D5ED4 00021040 */ sll $v0, $v0, 1
|
||||
/* FA888 802D5ED8 03E00008 */ jr $ra
|
||||
/* FA88C 802D5EDC 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,68 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel MakeItemEntity
|
||||
/* FB670 802D6CC0 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* FB674 802D6CC4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* FB678 802D6CC8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* FB67C 802D6CCC AFBF0030 */ sw $ra, 0x30($sp)
|
||||
/* FB680 802D6CD0 AFB5002C */ sw $s5, 0x2c($sp)
|
||||
/* FB684 802D6CD4 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* FB688 802D6CD8 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* FB68C 802D6CDC AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* FB690 802D6CE0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* FB694 802D6CE4 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* FB698 802D6CE8 8E050000 */ lw $a1, ($s0)
|
||||
/* FB69C 802D6CEC 0C0B1EAF */ jal get_variable
|
||||
/* FB6A0 802D6CF0 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB6A4 802D6CF4 8E050000 */ lw $a1, ($s0)
|
||||
/* FB6A8 802D6CF8 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB6AC 802D6CFC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB6B0 802D6D00 0C0B1EAF */ jal get_variable
|
||||
/* FB6B4 802D6D04 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* FB6B8 802D6D08 8E050000 */ lw $a1, ($s0)
|
||||
/* FB6BC 802D6D0C 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB6C0 802D6D10 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB6C4 802D6D14 0C0B1EAF */ jal get_variable
|
||||
/* FB6C8 802D6D18 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* FB6CC 802D6D1C 8E050000 */ lw $a1, ($s0)
|
||||
/* FB6D0 802D6D20 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB6D4 802D6D24 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB6D8 802D6D28 0C0B1EAF */ jal get_variable
|
||||
/* FB6DC 802D6D2C 0040982D */ daddu $s3, $v0, $zero
|
||||
/* FB6E0 802D6D30 8E050000 */ lw $a1, ($s0)
|
||||
/* FB6E4 802D6D34 26100004 */ addiu $s0, $s0, 4
|
||||
/* FB6E8 802D6D38 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB6EC 802D6D3C 0C0B1EAF */ jal get_variable
|
||||
/* FB6F0 802D6D40 0040902D */ daddu $s2, $v0, $zero
|
||||
/* FB6F4 802D6D44 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FB6F8 802D6D48 8E050000 */ lw $a1, ($s0)
|
||||
/* FB6FC 802D6D4C 0C0B1F6A */ jal get_variable_index
|
||||
/* FB700 802D6D50 0040802D */ daddu $s0, $v0, $zero
|
||||
/* FB704 802D6D54 44940000 */ mtc1 $s4, $f0
|
||||
/* FB708 802D6D58 00000000 */ nop
|
||||
/* FB70C 802D6D5C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* FB710 802D6D60 44050000 */ mfc1 $a1, $f0
|
||||
/* FB714 802D6D64 44930000 */ mtc1 $s3, $f0
|
||||
/* FB718 802D6D68 00000000 */ nop
|
||||
/* FB71C 802D6D6C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* FB720 802D6D70 44060000 */ mfc1 $a2, $f0
|
||||
/* FB724 802D6D74 44920000 */ mtc1 $s2, $f0
|
||||
/* FB728 802D6D78 00000000 */ nop
|
||||
/* FB72C 802D6D7C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* FB730 802D6D80 44070000 */ mfc1 $a3, $f0
|
||||
/* FB734 802D6D84 02A0202D */ daddu $a0, $s5, $zero
|
||||
/* FB738 802D6D88 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* FB73C 802D6D8C 0C04C6A5 */ jal make_item_entity_nodelay
|
||||
/* FB740 802D6D90 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* FB744 802D6D94 AE220084 */ sw $v0, 0x84($s1)
|
||||
/* FB748 802D6D98 8FBF0030 */ lw $ra, 0x30($sp)
|
||||
/* FB74C 802D6D9C 8FB5002C */ lw $s5, 0x2c($sp)
|
||||
/* FB750 802D6DA0 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* FB754 802D6DA4 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* FB758 802D6DA8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* FB75C 802D6DAC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* FB760 802D6DB0 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* FB764 802D6DB4 24020002 */ addiu $v0, $zero, 2
|
||||
/* FB768 802D6DB8 03E00008 */ jr $ra
|
||||
/* FB76C 802D6DBC 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,49 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel PlaySoundAtF
|
||||
/* FAD1C 802D636C 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* FAD20 802D6370 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* FAD24 802D6374 0080882D */ daddu $s1, $a0, $zero
|
||||
/* FAD28 802D6378 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* FAD2C 802D637C AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* FAD30 802D6380 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* FAD34 802D6384 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* FAD38 802D6388 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* FAD3C 802D638C F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* FAD40 802D6390 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* FAD44 802D6394 8E130000 */ lw $s3, ($s0)
|
||||
/* FAD48 802D6398 26100004 */ addiu $s0, $s0, 4
|
||||
/* FAD4C 802D639C 8E050000 */ lw $a1, ($s0)
|
||||
/* FAD50 802D63A0 0C0B1EAF */ jal get_variable
|
||||
/* FAD54 802D63A4 26100004 */ addiu $s0, $s0, 4
|
||||
/* FAD58 802D63A8 8E050000 */ lw $a1, ($s0)
|
||||
/* FAD5C 802D63AC 26100004 */ addiu $s0, $s0, 4
|
||||
/* FAD60 802D63B0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FAD64 802D63B4 0C0B210B */ jal get_float_variable
|
||||
/* FAD68 802D63B8 0040902D */ daddu $s2, $v0, $zero
|
||||
/* FAD6C 802D63BC 8E050000 */ lw $a1, ($s0)
|
||||
/* FAD70 802D63C0 26100004 */ addiu $s0, $s0, 4
|
||||
/* FAD74 802D63C4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FAD78 802D63C8 0C0B210B */ jal get_float_variable
|
||||
/* FAD7C 802D63CC 46000586 */ mov.s $f22, $f0
|
||||
/* FAD80 802D63D0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* FAD84 802D63D4 8E050000 */ lw $a1, ($s0)
|
||||
/* FAD88 802D63D8 0C0B210B */ jal get_float_variable
|
||||
/* FAD8C 802D63DC 46000506 */ mov.s $f20, $f0
|
||||
/* FAD90 802D63E0 0260202D */ daddu $a0, $s3, $zero
|
||||
/* FAD94 802D63E4 4406B000 */ mfc1 $a2, $f22
|
||||
/* FAD98 802D63E8 4407A000 */ mfc1 $a3, $f20
|
||||
/* FAD9C 802D63EC 3245FFFF */ andi $a1, $s2, 0xffff
|
||||
/* FADA0 802D63F0 0C052757 */ jal play_sound_at_position
|
||||
/* FADA4 802D63F4 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* FADA8 802D63F8 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* FADAC 802D63FC 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* FADB0 802D6400 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* FADB4 802D6404 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* FADB8 802D6408 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* FADBC 802D640C D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* FADC0 802D6410 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* FADC4 802D6414 24020002 */ addiu $v0, $zero, 2
|
||||
/* FADC8 802D6418 03E00008 */ jr $ra
|
||||
/* FADCC 802D641C 27BD0040 */ addiu $sp, $sp, 0x40
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user