mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
merge master
This commit is contained in:
commit
6f304364c6
10
.clang-tidy
10
.clang-tidy
@ -1,12 +1,14 @@
|
||||
Checks: '-*,clang-analyzer-core.*,clang-analyzer-deadcode.*,readability-*,-readability-magic-numbers,-readability-else-after-return,-readability-named-parameter,-readability-braces-around-statements,-readability-isolate-declaration,-readability-uppercase-literal-suffix,-readability-function-size,-readability-non-const-parameter,readability-identifier-naming'
|
||||
CheckOptions:
|
||||
- key: readability-identifier-naming.LocalVariableCase
|
||||
value: camelBack
|
||||
# TEMP: this only disabled because mips2c outputs snake_case
|
||||
#- key: readability-identifier-naming.LocalVariableCase
|
||||
# value: camelBack
|
||||
|
||||
- key: readability-identifier-naming.ParameterCase
|
||||
value: camelBack
|
||||
|
||||
- key: readability-identifier-naming.TypedefCase
|
||||
value: CamelCase
|
||||
#- key: readability-identifier-naming.TypedefCase
|
||||
# value: CamelCase
|
||||
|
||||
# TODO: rename all unk_XXX members
|
||||
#- key: readability-identifier-naming.MemberCase
|
||||
|
11
.gitignore
vendored
11
.gitignore
vendored
@ -2,6 +2,7 @@
|
||||
__pycache__/
|
||||
venv/
|
||||
.lark_cache*
|
||||
.splat_cache
|
||||
|
||||
# Misc
|
||||
.idea/
|
||||
@ -18,8 +19,18 @@ settings.mk
|
||||
/build/
|
||||
/docs/doxygen/
|
||||
/include/ld_addrs.h
|
||||
/include/message_ids.h
|
||||
/include/sprite/
|
||||
/include/map
|
||||
|
||||
# Assets
|
||||
/bin
|
||||
/img
|
||||
/msg
|
||||
/sprite
|
||||
|
||||
# Star Rod
|
||||
/sprite/SpriteTable.xml
|
||||
/mod.cfg
|
||||
|
||||
tools/Yay0compress
|
||||
|
5
.gitmodules
vendored
5
.gitmodules
vendored
@ -1,3 +1,6 @@
|
||||
[submodule "tools/n64splat"]
|
||||
path = tools/n64splat
|
||||
url = https://github.com/ethteck/n64splat.git
|
||||
url = https://github.com/ethteck/n64splat.git
|
||||
[submodule "tools/star-rod"]
|
||||
path = tools/star-rod
|
||||
url = https://github.com/nanaian/star-rod-for-decomp.git
|
||||
|
2
.vscode/extensions.json
vendored
2
.vscode/extensions.json
vendored
@ -1,7 +1,7 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"ms-vscode.cpptools",
|
||||
"nanaian.vscode-star-rod",
|
||||
"nanaian.papermario",
|
||||
"notskm.clang-tidy",
|
||||
"EditorConfig.EditorConfig",
|
||||
],
|
||||
|
16
.vscode/settings.json
vendored
16
.vscode/settings.json
vendored
@ -10,9 +10,25 @@
|
||||
"-D_LANGUAGE_C",
|
||||
"-DSCRIPT(...)={}",
|
||||
],
|
||||
"clang-tidy.blacklist": [
|
||||
"include/PR"
|
||||
],
|
||||
"git.ignoreLimitWarning": true,
|
||||
"search.exclude": {
|
||||
"build": true,
|
||||
"docs/doxygen": true,
|
||||
},
|
||||
"python.autoComplete.extraPaths": [
|
||||
"./tools"
|
||||
],
|
||||
"python.analysis.extraPaths": [
|
||||
"./tools"
|
||||
],
|
||||
"[c]": {
|
||||
"editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?", // no $, for scripts
|
||||
},
|
||||
"files.associations": {
|
||||
"*.tcc": "c",
|
||||
"ratio": "c"
|
||||
},
|
||||
}
|
||||
|
80
CONTRIBUTING.md
Normal file
80
CONTRIBUTING.md
Normal file
@ -0,0 +1,80 @@
|
||||
## Contributing
|
||||
|
||||
### Dependencies
|
||||
|
||||
There are a few additional dependencies needed when contributing to this project. You can install them with `./install.sh --extra`.
|
||||
|
||||
### WSL
|
||||
|
||||
We provide [windows_terminal.bat](tools/windows_terminal.bat) to open a [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701) with a recommended layout. Make sure a default distro (e.g. `wsl --set-default ubuntu`) is set beforehand.
|
||||
|
||||
### Rebuilding
|
||||
|
||||
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
|
||||
|
||||
#### Setup
|
||||
|
||||
Once you've created a successful (`OK`) build, copy `build/` to `expected/build/`:
|
||||
|
||||
```sh
|
||||
$ mkdir -p expected
|
||||
$ cp -r build expected
|
||||
```
|
||||
|
||||
#### Roughly converting assembly to C
|
||||
|
||||
Decide on a function to match. These can be found in the subdirectories of `asm/nonmatchings/`. Currently, functions which use float constants, data sections, or jump tables are unmatchable.
|
||||
|
||||
Take the relevant `.s` file and pass it to [mips_to_c](https://github.com/matt-kempster/mips_to_c) ([web version](https://simonsoftware.se/other/mips_to_c.py)).
|
||||
|
||||
You can also use mips_to_c locally installed to a destination of your choice. Then register a function in `~/.bashrc` that calls `path/to/mips_to_c.py (with args)`:
|
||||
```
|
||||
sudo apt update
|
||||
sudo apt install python3-pip
|
||||
sudo git clone https://github.com/matt-kempster/mips_to_c.git path/to/mips_to_c
|
||||
```
|
||||
|
||||
Here's a starter function you can use:
|
||||
```sh
|
||||
# don't forget to replace /path/to/mips_to_c with your path
|
||||
function mipstoc() {
|
||||
if [ "$#" -gt 1 ]; then
|
||||
/path/to/mips_to_c/mips_to_c.py $@;
|
||||
else
|
||||
printf "Please call mipstoc using this format and make sure you're at the repo root:";
|
||||
printf "\nmipstoc \033[0;31marg1 - the nonmatching asm file\033[0m \033[0;34marg2 - the target function\033[0m \033[0;33margN - any of the optional mips_to_c.py flags\033[0m";
|
||||
printf "\nmipstoc \033[0;31m./asm/nonmatchings/code_13870_len_6980/func_8003B3D0.s\033[0m \033[0;34mfunc_8003B3D0\033[0m \033[0;33m--flag1 --flag2 --flagN\033[0m\n";
|
||||
/path/to/mips_to_c/mips_to_c.py;
|
||||
fi
|
||||
}
|
||||
export -f mipstoc
|
||||
```
|
||||
|
||||
Open up the relevant `.c` file and replace the function's `INCLUDE_ASM` macro with the output from mips_to_c. Run the following command to attempt to compile, replacing `function_name` with the name of the function you're working with:
|
||||
|
||||
```sh
|
||||
./diff.py -mwo function_name
|
||||
```
|
||||
|
||||
Fix any errors and rerun `diff.py`. This will involve typing the function signature correctly, which you will probably find in [Star Rod's library database](https://github.com/nanaian/star-rod/blob/master/database/common_func_library.lib). See also [common_structs.h](include/common_structs.h).
|
||||
|
||||
Once a successful build is made, `diff.py` will show you the difference between the original game's assembly (on the left) and what your C code generated (on the right).
|
||||
|
||||
#### Matching the function
|
||||
|
||||
You're on your own now. Get your C code compiling to match the original assembly! `diff.py`, when running, will automatically recompile your code whenever you save the `.c` file.
|
||||
|
||||
If you use Visual Studio Code, you can use _Run Test Task_ to run `diff.py` and show you errors and warnings from the compiler inline. You might want to attach _Run Test Task_ to a keybinding, as you'll be using it often.
|
||||
|
||||
#### After matching
|
||||
|
||||
Once you've matched a function, run the following scripts:
|
||||
|
||||
```sh
|
||||
$ ./coverage.py --delete-matched
|
||||
$ ./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.
|
68
Dockerfile
68
Dockerfile
@ -1,64 +1,12 @@
|
||||
FROM ubuntu:18.04 as build
|
||||
FROM ubuntu:20.04 as build
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
binutils-mips-linux-gnu \
|
||||
build-essential \
|
||||
pkg-config \
|
||||
python3 \
|
||||
python3-pip \
|
||||
wget \
|
||||
git \
|
||||
unzip \
|
||||
nano \
|
||||
libcapstone-dev \
|
||||
libyaml-dev \
|
||||
zlib1g-dev \
|
||||
vbindiff \
|
||||
bison \
|
||||
flex \
|
||||
texinfo
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
COPY requirements.txt /
|
||||
COPY requirements_extra.txt /
|
||||
COPY install.sh /
|
||||
|
||||
# Install qemu-irix
|
||||
RUN wget \
|
||||
https://github.com/n64decomp/qemu-irix/releases/download/v2.11-deb/qemu-irix-2.11.0-2169-g32ab296eef_amd64.deb \
|
||||
-O qemu.deb && \
|
||||
echo 8170f37cf03a08cc2d7c1c58f10d650ea0d158f711f6916da9364f6d8c85f741 qemu.deb | sha256sum --check && \
|
||||
dpkg -i qemu.deb && \
|
||||
rm qemu.deb
|
||||
RUN apt-get update && apt-get install -y sudo && ./install.sh --extra
|
||||
|
||||
|
||||
# Build binutils
|
||||
RUN wget https://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.bz2 -O binutils.tar.bz2
|
||||
RUN tar xjf binutils.tar.bz2
|
||||
RUN mkdir -p /opt/cross
|
||||
|
||||
# mips-linux-gnu
|
||||
RUN mkdir build-binutils && cd build-binutils
|
||||
RUN /binutils-2.34/configure --target=mips-linux-gnu --prefix=/opt/cross --disable-gprof --disable-gdb --disable-werror
|
||||
RUN make && make install
|
||||
|
||||
# mips-sgi-irix5
|
||||
RUN make distclean
|
||||
RUN /binutils-2.34/configure --target=mips-sgi-irix5 --prefix=/opt/cross --disable-gprof --disable-gdb --disable-werror
|
||||
RUN make && make install
|
||||
|
||||
RUN rm binutils.tar.bz2
|
||||
ENV PATH="/opt/cross/bin:${PATH}"
|
||||
|
||||
|
||||
# Install python dependencies
|
||||
RUN python3 -m pip install --user colorama ansiwrap attrs watchdog python-Levenshtein
|
||||
|
||||
|
||||
# Build capstone
|
||||
RUN git clone https://github.com/aquynh/capstone.git && \
|
||||
cd capstone && \
|
||||
git checkout tags/4.0 && \
|
||||
./make.sh && \
|
||||
./make.sh install
|
||||
|
||||
|
||||
RUN mkdir /pm
|
||||
WORKDIR /pm
|
||||
RUN mkdir /papermario
|
||||
WORKDIR /papermario
|
||||
|
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -14,6 +14,14 @@ pipeline {
|
||||
sh 'make -j'
|
||||
}
|
||||
}
|
||||
stage('Report Progress') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
sh 'python3 progress.py --csv >> /var/www/papermar.io/html/reports/progress.csv'
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
|
123
Makefile
123
Makefile
@ -7,8 +7,7 @@ TARGET = papermario
|
||||
COMPARE = 1
|
||||
NON_MATCHING = 0
|
||||
WATCH_INCLUDES = 1
|
||||
|
||||
-include settings.mk
|
||||
WSL_ELEVATE_GUI = 1
|
||||
|
||||
# Fail early if baserom does not exist
|
||||
ifeq ($(wildcard $(BASEROM)),)
|
||||
@ -35,7 +34,8 @@ LD_SCRIPT := $(TARGET).ld
|
||||
LD_MAP := $(BUILD_DIR)/$(TARGET).map
|
||||
ASSETS_BIN := $(BUILD_DIR)/bin/assets/assets.bin
|
||||
MSG_BIN := $(BUILD_DIR)/msg.bin
|
||||
GENERATED_HEADERS := include/ld_addrs.h
|
||||
NPC_BIN := $(BUILD_DIR)/sprite/npc.bin
|
||||
|
||||
|
||||
### Tools ###
|
||||
|
||||
@ -47,8 +47,6 @@ YAY0COMPRESS = tools/Yay0compress
|
||||
EMULATOR = mupen64plus
|
||||
|
||||
|
||||
### Compiler Options ###
|
||||
|
||||
CROSS := mips-linux-gnu-
|
||||
AS := $(CROSS)as
|
||||
OLD_AS := tools/mips-nintendo-nu64-as
|
||||
@ -57,11 +55,36 @@ CPP := cpp
|
||||
LD := $(CROSS)ld
|
||||
OBJCOPY := $(CROSS)objcopy
|
||||
|
||||
CPPFLAGS := -Iinclude -Isrc -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2 -D_MIPS_SZLONG=32 -Wundef -Wcomment
|
||||
WSL := 0
|
||||
JAVA := java
|
||||
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
OS=linux
|
||||
ICONV := iconv --from UTF-8 --to SHIFT-JIS
|
||||
|
||||
ifeq ($(findstring microsoft,$(shell cat /proc/sys/kernel/osrelease)),microsoft)
|
||||
WSL := 1
|
||||
ifeq ($(WSL_ELEVATE_GUI),1)
|
||||
JAVA := powershell.exe -command java
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
OS=mac
|
||||
ICONV := tools/iconv.py UTF-8 SHIFT-JIS
|
||||
endif
|
||||
|
||||
OLD_AS=tools/$(OS)/mips-nintendo-nu64-as
|
||||
CC=tools/$(OS)/cc1
|
||||
|
||||
### Compiler Options ###
|
||||
|
||||
CPPFLAGS := -Iinclude -Isrc -D _LANGUAGE_C -D _FINALROM -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
|
||||
LDFLAGS := -T undefined_syms.txt -T undefined_syms_auto.txt -T undefined_funcs.txt -T undefined_funcs_auto.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
|
||||
@ -72,41 +95,52 @@ ifeq ($(NON_MATCHING),1)
|
||||
CPPFLAGS += -DNON_MATCHING
|
||||
endif
|
||||
|
||||
-include settings.mk
|
||||
|
||||
### Sources ###
|
||||
|
||||
include sources.mk
|
||||
|
||||
ifeq ($(PERMUTER),1)
|
||||
override OBJECTS:=$(filter %.c.o, $(OBJECTS))
|
||||
endif
|
||||
|
||||
%.d: ;
|
||||
|
||||
ifeq ($(WATCH_INCLUDES),1)
|
||||
-include $(foreach obj, $(OBJECTS), $(obj).mk)
|
||||
endif
|
||||
|
||||
NPC_DIRS := $(foreach npc, $(NPC_SPRITES), sprite/npc/$(npc))
|
||||
|
||||
GENERATED_HEADERS := include/ld_addrs.h $(foreach dir, $(NPC_DIRS), include/$(dir).h)
|
||||
|
||||
|
||||
### Targets ###
|
||||
|
||||
clean:
|
||||
rm -rf $(BUILD_DIR)
|
||||
rm -rf $(BUILD_DIR) bin msg img sprite .splat_cache $(LD_SCRIPT)
|
||||
|
||||
clean-code:
|
||||
rm -rf $(BUILD_DIR)/src
|
||||
|
||||
setup: clean submodules split $(LD_SCRIPT)
|
||||
tools:
|
||||
make -C tools
|
||||
|
||||
setup: clean submodules tools $(LD_SCRIPT)
|
||||
|
||||
# tools/star-rod submodule intentionally omitted
|
||||
submodules:
|
||||
git submodule update --init --recursive
|
||||
git submodule init tools/n64splat
|
||||
git submodule update --recursive
|
||||
|
||||
split:
|
||||
rm -rf bin img
|
||||
$(SPLAT) --modes bin Yay0 PaperMarioMapFS PaperMarioMessages img
|
||||
make $(LD_SCRIPT) -W $(SPLAT_YAML)
|
||||
|
||||
split-%:
|
||||
$(SPLAT) --modes $* --verbose
|
||||
$(SPLAT) --modes ld $* --verbose
|
||||
|
||||
split-all:
|
||||
rm -rf bin img
|
||||
$(SPLAT) --modes all
|
||||
|
||||
test: $(ROM)
|
||||
@ -133,18 +167,28 @@ $(BUILD_DIR)/%.Yay0.o: $(BUILD_DIR)/%.bin.Yay0
|
||||
# Compile C files
|
||||
$(BUILD_DIR)/%.c.o: %.c $(MDEPS) | $(GENERATED_HEADERS)
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(CPP) $(CPPFLAGS) -o - $(CPPMFLAGS) $< | iconv --from UTF-8 --to SHIFT-JIS | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
|
||||
$(CPP) $(CPPFLAGS) -o - $(CPPMFLAGS) $< | $(ICONV) | $(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 | include/ld_addrs.h
|
||||
$(foreach cfile, $(DSL_C_FILES), $(BUILD_DIR)/$(cfile).o): $(BUILD_DIR)/%.c.o: %.c $(MDEPS) tools/compile_dsl_macros.py | $(GENERATED_HEADERS)
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(CPP) $(CPPFLAGS) -o - $< $(CPPMFLAGS) | $(PYTHON) tools/compile_dsl_macros.py | iconv --from UTF-8 --to SHIFT-JIS | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
|
||||
$(CPP) $(CPPFLAGS) -o - $< $(CPPMFLAGS) | $(PYTHON) tools/compile_dsl_macros.py | $(ICONV) | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
|
||||
|
||||
# Assemble handwritten ASM
|
||||
$(BUILD_DIR)/%.s.o: %.s
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(AS) $(ASFLAGS) -o $@ $<
|
||||
|
||||
# Data
|
||||
$(BUILD_DIR)/data/%.data.o: asm/data/%.data.s
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(AS) $(ASFLAGS) -o $@ $<
|
||||
|
||||
# Rodata
|
||||
$(BUILD_DIR)/rodata/%.rodata.o: asm/data/%.rodata.s
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(AS) $(ASFLAGS) -o $@ $<
|
||||
|
||||
# Images
|
||||
$(BUILD_DIR)/%.png.o: $(BUILD_DIR)/%.png
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
@ -198,12 +242,31 @@ $(MSG_BIN): $(MESSAGES)
|
||||
@echo "building $@"
|
||||
@$(PYTHON) tools/compile_messages.py $@ /dev/null $(MESSAGES)
|
||||
$(MSG_BIN:.bin=.o): $(MSG_BIN)
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
||||
$(LD_SCRIPT): $(SPLAT_YAML)
|
||||
# Sprites
|
||||
$(foreach npc, $(NPC_SPRITES), $(eval $(BUILD_DIR)/sprite/npc/$(npc):: $(shell find sprite/npc/$(npc) -type f 2> /dev/null))) # dependencies
|
||||
NPC_YAY0 := $(foreach npc, $(NPC_SPRITES), $(BUILD_DIR)/sprite/npc/$(npc).Yay0)
|
||||
$(BUILD_DIR)/sprite/npc/%:: sprite/npc/% tools/compile_npc_sprite.py
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(SPLAT) --modes ld
|
||||
$(PYTHON) tools/compile_npc_sprite.py $@ $<
|
||||
$(NPC_BIN): $(NPC_YAY0) tools/compile_npc_sprites.py
|
||||
@mkdir -p $(shell dirname $@)
|
||||
@echo "building $@"
|
||||
@$(PYTHON) tools/compile_npc_sprites.py $@ $(NPC_YAY0)
|
||||
$(NPC_BIN:.bin=.o): $(NPC_BIN)
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
include/sprite/npc/%.h: sprite/npc/%/SpriteSheet.xml tools/gen_sprite_animations_h.py
|
||||
@mkdir -p $(shell dirname $@)
|
||||
@echo "building $@"
|
||||
@$(PYTHON) tools/gen_sprite_animations_h.py $@ sprite/npc/$* $(NPC_DIRS)
|
||||
|
||||
|
||||
### Linker ###
|
||||
|
||||
$(LD_SCRIPT): $(SPLAT_YAML)
|
||||
$(SPLAT) --modes ld bin Yay0 PaperMarioMapFS PaperMarioMessages img PaperMarioNpcSprites --new
|
||||
make $(GENERATED_HEADERS)
|
||||
|
||||
$(BUILD_DIR)/$(LD_SCRIPT): $(LD_SCRIPT)
|
||||
@mkdir -p $(shell dirname $@)
|
||||
@ -222,11 +285,27 @@ $(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
|
||||
$(OBJCOPY) $< $@ -O binary
|
||||
|
||||
include/ld_addrs.h: $(BUILD_DIR)/$(LD_SCRIPT)
|
||||
grep -E "[^ ]+ =" $< -o | sed 's/^/extern void* /; s/ =/;/' > $@
|
||||
grep -E "[^\. ]+ =" $< -o | sed 's/^/extern void* /; s/ =/;/' > $@
|
||||
|
||||
|
||||
### Star Rod (optional) ###
|
||||
|
||||
STAR_ROD := cd tools/star-rod && $(JAVA) -jar StarRod.jar
|
||||
|
||||
# lazily initialise the submodule
|
||||
tools/star-rod:
|
||||
git submodule init tools/star-rod
|
||||
|
||||
sprite/SpriteTable.xml: tools/star-rod sources.mk
|
||||
$(PYTHON) tools/star-rod/spritetable.xml.py $(NPC_SPRITES) > $@
|
||||
|
||||
editor: tools/star-rod sprite/SpriteTable.xml
|
||||
$(STAR_ROD)
|
||||
|
||||
|
||||
### Make Settings ###
|
||||
|
||||
.PHONY: clean test setup submodules split $(ROM)
|
||||
.PHONY: clean tools test setup submodules split editor $(ROM)
|
||||
.DELETE_ON_ERROR:
|
||||
.SECONDARY:
|
||||
.PRECIOUS: $(ROM) %.Yay0
|
||||
|
96
README.md
96
README.md
@ -24,6 +24,16 @@ $ ./install.sh
|
||||
|
||||
Our install script does not yet support distros other than Ubuntu, Arch, and their derivatives. Please consider contributing to the script if you use another distro!
|
||||
|
||||
##### Docker
|
||||
|
||||
A Docker image containing all dependencies can be built and ran as follows:
|
||||
```sh
|
||||
# build image
|
||||
$ docker build . -t pm
|
||||
# spin up container, mounting current directory inside
|
||||
$ docker run --rm -ti -v $(pwd):/papermario pm
|
||||
```
|
||||
|
||||
#### Base ROM
|
||||
|
||||
You'll need a Paper Mario (USA) ROM to work on this project. Copy it into the root directory of the repository with the name `baserom.z64`.
|
||||
@ -42,86 +52,12 @@ $ make
|
||||
|
||||
If you get `OK`, you're all set! Otherwise, please feel free to reach out to us in [our Discord channel](https://discord.gg/urUm3VG).
|
||||
|
||||
## Star Rod GUI
|
||||
|
||||
You can open [our modified version of Star Rod](https://github.com/nanaian/star-rod-for-decomp) with `make editor`.
|
||||
|
||||
## Contributing
|
||||
|
||||
### Dependencies
|
||||
|
||||
There are a few additional dependencies needed when contributing to this project. You can install them with `./install.sh --extra`.
|
||||
|
||||
### WSL
|
||||
|
||||
We provide [windows_terminal.bat](tools/windows_terminal.bat) to open a [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701) with a recommended layout. Make sure a default distro (e.g. `wsl --set-default ubuntu`) is set beforehand.
|
||||
|
||||
### Rebuilding
|
||||
|
||||
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
|
||||
|
||||
#### Setup
|
||||
|
||||
Once you've created a successful (`OK`) build, copy `build/` to `expected/build/`:
|
||||
|
||||
```sh
|
||||
$ mkdir -p expected
|
||||
$ cp -r build expected
|
||||
```
|
||||
|
||||
#### Roughly converting assembly to C
|
||||
|
||||
Decide on a function to match. These can be found in the subdirectories of `asm/nonmatchings/`. Currently, functions which use float constants, data sections, or jump tables are unmatchable.
|
||||
|
||||
Take the relevant `.s` file and pass it to [mips_to_c](https://github.com/matt-kempster/mips_to_c) ([web version](https://simonsoftware.se/other/mips_to_c.py)).
|
||||
|
||||
You can also use mips_to_c locally installed to a destination of your choice. Then register a function in `~/.bashrc` that calls `path/to/mips_to_c.py (with args)`:
|
||||
```
|
||||
sudo apt update
|
||||
sudo apt install python3-pip
|
||||
sudo git clone https://github.com/matt-kempster/mips_to_c.git path/to/mips_to_c
|
||||
```
|
||||
|
||||
Here's a starter function you can use:
|
||||
```sh
|
||||
# don't forget to replace /path/to/mips_to_c with your path
|
||||
function mipstoc() {
|
||||
if [ "$#" -gt 1 ]; then
|
||||
/path/to/mips_to_c/mips_to_c.py $@;
|
||||
else
|
||||
printf "Please call mipstoc using this format and make sure you're at the repo root:";
|
||||
printf "\nmipstoc \033[0;31marg1 - the nonmatching asm file\033[0m \033[0;34marg2 - the target function\033[0m \033[0;33margN - any of the optional mips_to_c.py flags\033[0m";
|
||||
printf "\nmipstoc \033[0;31m./asm/nonmatchings/code_13870_len_6980/func_8003B3D0.s\033[0m \033[0;34mfunc_8003B3D0\033[0m \033[0;33m--flag1 --flag2 --flagN\033[0m\n";
|
||||
/path/to/mips_to_c/mips_to_c.py;
|
||||
fi
|
||||
}
|
||||
export -f mipstoc
|
||||
```
|
||||
|
||||
Open up the relevant `.c` file and replace the function's `INCLUDE_ASM` macro with the output from mips_to_c. Run the following command to attempt to compile, replacing `function_name` with the name of the function you're working with:
|
||||
|
||||
```sh
|
||||
./diff.py -mwo function_name
|
||||
```
|
||||
|
||||
Fix any errors and rerun `diff.py`. This will involve typing the function signature correctly, which you will probably find in [Star Rod's library database](https://github.com/nanaian/star-rod/blob/master/database/common_func_library.lib). See also [common_structs.h](include/common_structs.h).
|
||||
|
||||
Once a successful build is made, `diff.py` will show you the difference between the original game's assembly (on the left) and what your C code generated (on the right).
|
||||
|
||||
#### Matching the function
|
||||
|
||||
You're on your own now. Get your C code compiling to match the original assembly! `diff.py`, when running, will automatically recompile your code whenever you save the `.c` file.
|
||||
|
||||
If you use Visual Studio Code, you can use _Run Test Task_ to run `diff.py` and show you errors and warnings from the compiler inline. You might want to attach _Run Test Task_ to a keybinding, as you'll be using it often.
|
||||
|
||||
#### After matching
|
||||
|
||||
Once you've matched a function, run the following scripts:
|
||||
|
||||
```sh
|
||||
$ ./coverage.py --delete-matched
|
||||
$ ./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.
|
||||
Please see [CONTRIBUTING.md](CONTRIBUTING.md) for information on how to contribute to the project. Any and all help is welcome!
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
@ -136,4 +72,4 @@ make: *** [verify] Error 1
|
||||
```
|
||||
> 💡 Solution
|
||||
|
||||
> Run `git checkout checksum.sha1` and retry building. Windows has different line endings than Linux, causing some of our tools to break.
|
||||
> Run `git checkout checksum.sha1` and retry building. Windows has different line endings than Linux, causing some of our tools to break.
|
||||
|
132
asm/boot.s
132
asm/boot.s
@ -11,8 +11,8 @@ glabel func_A4000040
|
||||
/* 40 A4000040 40806800 */ mtc0 $zero, $13
|
||||
/* 44 A4000044 40804800 */ mtc0 $zero, $9
|
||||
/* 48 A4000048 40805800 */ mtc0 $zero, $11
|
||||
/* 4C A400004C 3C08A470 */ lui $t0, 0xa470
|
||||
/* 50 A4000050 25080000 */ addiu $t0, $t0, 0
|
||||
/* 4C A400004C 3C08A470 */ lui $t0, %hi(D_A4700000)
|
||||
/* 50 A4000050 25080000 */ addiu $t0, $t0, %lo(D_A4700000)
|
||||
/* 54 A4000054 8D09000C */ lw $t1, 0xc($t0)
|
||||
/* 58 A4000058 152000ED */ bnez $t1, .LA4000410
|
||||
/* 5C A400005C 00000000 */ nop
|
||||
@ -22,12 +22,12 @@ glabel func_A4000040
|
||||
/* 6C A400006C AFB50008 */ sw $s5, 8($sp)
|
||||
/* 70 A4000070 AFB6000C */ sw $s6, 0xc($sp)
|
||||
/* 74 A4000074 AFB70010 */ sw $s7, 0x10($sp)
|
||||
/* 78 A4000078 3C08A470 */ lui $t0, 0xa470
|
||||
/* 7C A400007C 25080000 */ addiu $t0, $t0, 0
|
||||
/* 78 A4000078 3C08A470 */ lui $t0, %hi(D_A4700000)
|
||||
/* 7C A400007C 25080000 */ addiu $t0, $t0, %lo(D_A4700000)
|
||||
/* 80 A4000080 3C0AA3F8 */ lui $t2, 0xa3f8
|
||||
/* 84 A4000084 3C0BA3F0 */ lui $t3, 0xa3f0
|
||||
/* 88 A4000088 3C0CA430 */ lui $t4, 0xa430
|
||||
/* 8C A400008C 258C0000 */ addiu $t4, $t4, 0
|
||||
/* 88 A4000088 3C0CA430 */ lui $t4, %hi(D_A4300000)
|
||||
/* 8C A400008C 258C0000 */ addiu $t4, $t4, %lo(D_A4300000)
|
||||
/* 90 A4000090 34090040 */ ori $t1, $zero, 0x40
|
||||
/* 94 A4000094 AD090004 */ sw $t1, 4($t0)
|
||||
/* 98 A4000098 24112260 */ addiu $s1, $zero, 0x2260
|
||||
@ -73,8 +73,8 @@ glabel func_A4000040
|
||||
/* 12C A400012C 3C14A000 */ lui $s4, 0xa000
|
||||
/* 130 A4000130 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 134 A4000134 03A0F025 */ or $fp, $sp, $zero
|
||||
/* 138 A4000138 3C10A430 */ lui $s0, 0xa430
|
||||
/* 13C A400013C 8E100004 */ lw $s0, 4($s0)
|
||||
/* 138 A4000138 3C10A430 */ lui $s0, %hi(D_A4300004)
|
||||
/* 13C A400013C 8E100004 */ lw $s0, %lo(D_A4300004)($s0)
|
||||
/* 140 A4000140 3C110101 */ lui $s1, 0x101
|
||||
/* 144 A4000144 26310101 */ addiu $s1, $s1, 0x101
|
||||
/* 148 A4000148 16110005 */ bne $s0, $s1, .LA4000160
|
||||
@ -224,12 +224,12 @@ glabel func_A4000040
|
||||
/* 360 A4000360 006D402A */ slt $t0, $v1, $t5
|
||||
/* 364 A4000364 1500FFC3 */ bnez $t0, .LA4000274
|
||||
/* 368 A4000368 00000000 */ nop
|
||||
/* 36C A400036C 3C0AA470 */ lui $t2, 0xa470
|
||||
/* 36C A400036C 3C0AA470 */ lui $t2, %hi(D_A4700010)
|
||||
/* 370 A4000370 001294C0 */ sll $s2, $s2, 0x13
|
||||
/* 374 A4000374 3C090006 */ lui $t1, 6
|
||||
/* 378 A4000378 35293634 */ ori $t1, $t1, 0x3634
|
||||
/* 37C A400037C 01324825 */ or $t1, $t1, $s2
|
||||
/* 380 A4000380 AD490010 */ sw $t1, 0x10($t2)
|
||||
/* 380 A4000380 AD490010 */ sw $t1, %lo(D_A4700010)($t2)
|
||||
/* 384 A4000384 8D490010 */ lw $t1, 0x10($t2)
|
||||
/* 388 A4000388 3C08A000 */ lui $t0, 0xa000
|
||||
/* 38C A400038C 35080300 */ ori $t0, $t0, 0x300
|
||||
@ -245,8 +245,8 @@ glabel func_A4000040
|
||||
/* 3B4 A40003B4 8FB6000C */ lw $s6, 0xc($sp)
|
||||
/* 3B8 A40003B8 8FB70010 */ lw $s7, 0x10($sp)
|
||||
/* 3BC A40003BC 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 3C0 A40003C0 3C088000 */ lui $t0, 0x8000
|
||||
/* 3C4 A40003C4 25080000 */ addiu $t0, $t0, 0
|
||||
/* 3C0 A40003C0 3C088000 */ lui $t0, %hi(D_80000000)
|
||||
/* 3C4 A40003C4 25080000 */ addiu $t0, $t0, %lo(D_80000000)
|
||||
/* 3C8 A40003C8 25094000 */ addiu $t1, $t0, 0x4000
|
||||
/* 3CC A40003CC 2529FFE0 */ addiu $t1, $t1, -0x20
|
||||
/* 3D0 A40003D0 4080E000 */ mtc0 $zero, $28
|
||||
@ -256,8 +256,8 @@ glabel func_A4000040
|
||||
/* 3DC A40003DC 0109082B */ sltu $at, $t0, $t1
|
||||
/* 3E0 A40003E0 1420FFFD */ bnez $at, .LA40003D8
|
||||
/* 3E4 A40003E4 25080020 */ addiu $t0, $t0, 0x20
|
||||
/* 3E8 A40003E8 3C088000 */ lui $t0, 0x8000
|
||||
/* 3EC A40003EC 25080000 */ addiu $t0, $t0, 0
|
||||
/* 3E8 A40003E8 3C088000 */ lui $t0, %hi(D_80000000)
|
||||
/* 3EC A40003EC 25080000 */ addiu $t0, $t0, %lo(D_80000000)
|
||||
/* 3F0 A40003F0 25092000 */ addiu $t1, $t0, 0x2000
|
||||
/* 3F4 A40003F4 2529FFF0 */ addiu $t1, $t1, -0x10
|
||||
.LA40003F8:
|
||||
@ -268,8 +268,8 @@ glabel func_A4000040
|
||||
/* 408 A4000408 10000013 */ b .LA4000458
|
||||
/* 40C A400040C 00000000 */ nop
|
||||
.LA4000410:
|
||||
/* 410 A4000410 3C088000 */ lui $t0, 0x8000
|
||||
/* 414 A4000414 25080000 */ addiu $t0, $t0, 0
|
||||
/* 410 A4000410 3C088000 */ lui $t0, %hi(D_80000000)
|
||||
/* 414 A4000414 25080000 */ addiu $t0, $t0, %lo(D_80000000)
|
||||
/* 418 A4000418 25094000 */ addiu $t1, $t0, 0x4000
|
||||
/* 41C A400041C 2529FFE0 */ addiu $t1, $t1, -0x20
|
||||
/* 420 A4000420 4080E000 */ mtc0 $zero, $28
|
||||
@ -279,8 +279,8 @@ glabel func_A4000040
|
||||
/* 42C A400042C 0109082B */ sltu $at, $t0, $t1
|
||||
/* 430 A4000430 1420FFFD */ bnez $at, .LA4000428
|
||||
/* 434 A4000434 25080020 */ addiu $t0, $t0, 0x20
|
||||
/* 438 A4000438 3C088000 */ lui $t0, 0x8000
|
||||
/* 43C A400043C 25080000 */ addiu $t0, $t0, 0
|
||||
/* 438 A4000438 3C088000 */ lui $t0, %hi(D_80000000)
|
||||
/* 43C A400043C 25080000 */ addiu $t0, $t0, %lo(D_80000000)
|
||||
/* 440 A4000440 25092000 */ addiu $t1, $t0, 0x2000
|
||||
/* 444 A4000444 2529FFF0 */ addiu $t1, $t1, -0x10
|
||||
.LA4000448:
|
||||
@ -289,22 +289,22 @@ glabel func_A4000040
|
||||
/* 450 A4000450 1420FFFD */ bnez $at, .LA4000448
|
||||
/* 454 A4000454 25080010 */ addiu $t0, $t0, 0x10
|
||||
.LA4000458:
|
||||
/* 458 A4000458 3C0AA400 */ lui $t2, 0xa400
|
||||
/* 45C A400045C 254A0000 */ addiu $t2, $t2, 0
|
||||
/* 458 A4000458 3C0AA400 */ lui $t2, %hi(D_A4000000)
|
||||
/* 45C A400045C 254A0000 */ addiu $t2, $t2, %lo(D_A4000000)
|
||||
/* 460 A4000460 3C0BFFF0 */ lui $t3, 0xfff0
|
||||
/* 464 A4000464 3C090010 */ lui $t1, 0x10
|
||||
/* 468 A4000468 014B5024 */ and $t2, $t2, $t3
|
||||
/* 46C A400046C 3C08A400 */ lui $t0, 0xa400
|
||||
/* 46C A400046C 3C08A400 */ lui $t0, %hi(D_A40004C0)
|
||||
/* 470 A4000470 2529FFFF */ addiu $t1, $t1, -1
|
||||
/* 474 A4000474 3C0BA400 */ lui $t3, 0xa400
|
||||
/* 478 A4000478 250804C0 */ addiu $t0, $t0, 0x4c0
|
||||
/* 47C A400047C 256B0768 */ addiu $t3, $t3, 0x768
|
||||
/* 474 A4000474 3C0BA400 */ lui $t3, %hi(D_A4000768)
|
||||
/* 478 A4000478 250804C0 */ addiu $t0, $t0, %lo(D_A40004C0)
|
||||
/* 47C A400047C 256B0768 */ addiu $t3, $t3, %lo(D_A4000768)
|
||||
/* 480 A4000480 01094024 */ and $t0, $t0, $t1
|
||||
/* 484 A4000484 01695824 */ and $t3, $t3, $t1
|
||||
/* 488 A4000488 3C09A000 */ lui $t1, 0xa000
|
||||
/* 488 A4000488 3C09A000 */ lui $t1, %hi(D_A0000000)
|
||||
/* 48C A400048C 010A4025 */ or $t0, $t0, $t2
|
||||
/* 490 A4000490 016A5825 */ or $t3, $t3, $t2
|
||||
/* 494 A4000494 25290000 */ addiu $t1, $t1, 0
|
||||
/* 494 A4000494 25290000 */ addiu $t1, $t1, %lo(D_A0000000)
|
||||
.LA4000498:
|
||||
/* 498 A4000498 8D0D0000 */ lw $t5, ($t0)
|
||||
/* 49C A400049C 25080004 */ addiu $t0, $t0, 4
|
||||
@ -312,14 +312,14 @@ glabel func_A4000040
|
||||
/* 4A4 A40004A4 25290004 */ addiu $t1, $t1, 4
|
||||
/* 4A8 A40004A8 1420FFFB */ bnez $at, .LA4000498
|
||||
/* 4AC A40004AC AD2DFFFC */ sw $t5, -4($t1)
|
||||
/* 4B0 A40004B0 3C0C8000 */ lui $t4, 0x8000
|
||||
/* 4B4 A40004B4 258C0000 */ addiu $t4, $t4, 0
|
||||
/* 4B0 A40004B0 3C0C8000 */ lui $t4, %hi(D_80000000)
|
||||
/* 4B4 A40004B4 258C0000 */ addiu $t4, $t4, %lo(D_80000000)
|
||||
/* 4B8 A40004B8 01800008 */ jr $t4
|
||||
/* 4BC A40004BC 00000000 */ nop
|
||||
|
||||
glabel func_A40004C0
|
||||
/* 4C0 A40004C0 3C0BB000 */ lui $t3, 0xb000
|
||||
/* 4C4 A40004C4 8D690008 */ lw $t1, 8($t3)
|
||||
/* 4C0 A40004C0 3C0BB000 */ lui $t3, %hi(D_B0000008)
|
||||
/* 4C4 A40004C4 8D690008 */ lw $t1, %lo(D_B0000008)($t3)
|
||||
/* 4C8 A40004C8 3C0A1FFF */ lui $t2, 0x1fff
|
||||
/* 4CC A40004CC 354AFFFF */ ori $t2, $t2, 0xffff
|
||||
/* 4D0 A40004D0 3C010010 */ lui $at, 0x10
|
||||
@ -327,21 +327,21 @@ glabel func_A40004C0
|
||||
/* 4D8 A40004D8 01214823 */ subu $t1, $t1, $at
|
||||
/* 4DC A40004DC 3C01A460 */ lui $at, 0xa460
|
||||
/* 4E0 A40004E0 AC290000 */ sw $t1, ($at)
|
||||
/* 4E4 A40004E4 3C08A460 */ lui $t0, 0xa460
|
||||
/* 4E4 A40004E4 3C08A460 */ lui $t0, %hi(D_A4600010)
|
||||
.LA40004E8:
|
||||
/* 4E8 A40004E8 8D080010 */ lw $t0, 0x10($t0)
|
||||
/* 4E8 A40004E8 8D080010 */ lw $t0, %lo(D_A4600010)($t0)
|
||||
/* 4EC A40004EC 31080002 */ andi $t0, $t0, 2
|
||||
/* 4F0 A40004F0 5500FFFD */ bnel $t0, $zero, .LA40004E8
|
||||
/* 4F4 A40004F4 3C08A460 */ lui $t0, 0xa460
|
||||
/* 4F8 A40004F8 24081000 */ addiu $t0, $zero, 0x1000
|
||||
/* 4FC A40004FC 010B4020 */ add $t0, $t0, $t3
|
||||
/* 500 A4000500 010A4024 */ and $t0, $t0, $t2
|
||||
/* 504 A4000504 3C01A460 */ lui $at, 0xa460
|
||||
/* 508 A4000508 AC280004 */ sw $t0, 4($at)
|
||||
/* 504 A4000504 3C01A460 */ lui $at, %hi(D_A4600004)
|
||||
/* 508 A4000508 AC280004 */ sw $t0, %lo(D_A4600004)($at)
|
||||
/* 50C A400050C 3C0A0010 */ lui $t2, 0x10
|
||||
/* 510 A4000510 254A0003 */ addiu $t2, $t2, 3
|
||||
/* 514 A4000514 3C01A460 */ lui $at, 0xa460
|
||||
/* 518 A4000518 AC2A000C */ sw $t2, 0xc($at)
|
||||
/* 514 A4000514 3C01A460 */ lui $at, %hi(D_A460000C)
|
||||
/* 518 A4000518 AC2A000C */ sw $t2, %lo(D_A460000C)($at)
|
||||
.LA400051C:
|
||||
/* 51C A400051C 00000000 */ nop
|
||||
/* 520 A4000520 00000000 */ nop
|
||||
@ -355,13 +355,13 @@ glabel func_A40004C0
|
||||
/* 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)
|
||||
/* 54C A400054C 3C0BA460 */ lui $t3, %hi(D_A4600010)
|
||||
/* 550 A4000550 8D6B0010 */ lw $t3, %lo(D_A4600010)($t3)
|
||||
/* 554 A4000554 316B0001 */ andi $t3, $t3, 1
|
||||
/* 558 A4000558 1560FFF0 */ bnez $t3, .LA400051C
|
||||
/* 55C A400055C 00000000 */ nop
|
||||
/* 560 A4000560 3C0BB000 */ lui $t3, 0xb000
|
||||
/* 564 A4000564 8D640008 */ lw $a0, 8($t3)
|
||||
/* 560 A4000560 3C0BB000 */ lui $t3, %hi(D_B0000008)
|
||||
/* 564 A4000564 8D640008 */ lw $a0, %lo(D_B0000008)($t3)
|
||||
/* 568 A4000568 3C010010 */ lui $at, 0x10
|
||||
/* 56C A400056C 02C02825 */ or $a1, $s6, $zero
|
||||
/* 570 A4000570 00812023 */ subu $a0, $a0, $at
|
||||
@ -417,8 +417,8 @@ glabel func_A40004C0
|
||||
/* 628 A4000628 01CB3821 */ addu $a3, $t6, $t3
|
||||
/* 62C A400062C 0206C026 */ xor $t8, $s0, $a2
|
||||
/* 630 A4000630 030C8021 */ addu $s0, $t8, $t4
|
||||
/* 634 A4000634 3C0BB000 */ lui $t3, 0xb000
|
||||
/* 638 A4000638 8D680010 */ lw $t0, 0x10($t3)
|
||||
/* 634 A4000634 3C0BB000 */ lui $t3, %hi(D_B0000010)
|
||||
/* 638 A4000638 8D680010 */ lw $t0, %lo(D_B0000010)($t3)
|
||||
/* 63C A400063C 14E80006 */ bne $a3, $t0, .LA4000658
|
||||
/* 640 A4000640 00000000 */ nop
|
||||
/* 644 A4000644 8D680014 */ lw $t0, 0x14($t3)
|
||||
@ -437,28 +437,28 @@ glabel func_A40004C0
|
||||
/* 670 A4000670 11200006 */ beqz $t1, .LA400068C
|
||||
/* 674 A4000674 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
/* 678 A4000678 240A0041 */ addiu $t2, $zero, 0x41
|
||||
/* 67C A400067C 3C01A404 */ lui $at, 0xa404
|
||||
/* 680 A4000680 AC2A0010 */ sw $t2, 0x10($at)
|
||||
/* 67C A400067C 3C01A404 */ lui $at, %hi(D_A4040010)
|
||||
/* 680 A4000680 AC2A0010 */ sw $t2, %lo(D_A4040010)($at)
|
||||
/* 684 A4000684 3C01A408 */ lui $at, 0xa408
|
||||
/* 688 A4000688 AC200000 */ sw $zero, ($at)
|
||||
.LA400068C:
|
||||
/* 68C A400068C 3C0B00AA */ lui $t3, 0xaa
|
||||
/* 690 A4000690 356BAAAE */ ori $t3, $t3, 0xaaae
|
||||
/* 694 A4000694 3C01A404 */ lui $at, 0xa404
|
||||
/* 698 A4000698 AC2B0010 */ sw $t3, 0x10($at)
|
||||
/* 69C A400069C 3C01A430 */ lui $at, 0xa430
|
||||
/* 694 A4000694 3C01A404 */ lui $at, %hi(D_A4040010)
|
||||
/* 698 A4000698 AC2B0010 */ sw $t3, %lo(D_A4040010)($at)
|
||||
/* 69C A400069C 3C01A430 */ lui $at, %hi(D_A430000C)
|
||||
/* 6A0 A40006A0 24080555 */ addiu $t0, $zero, 0x555
|
||||
/* 6A4 A40006A4 AC28000C */ sw $t0, 0xc($at)
|
||||
/* 6A8 A40006A8 3C01A480 */ lui $at, 0xa480
|
||||
/* 6AC A40006AC AC200018 */ sw $zero, 0x18($at)
|
||||
/* 6B0 A40006B0 3C01A450 */ lui $at, 0xa450
|
||||
/* 6B4 A40006B4 AC20000C */ sw $zero, 0xc($at)
|
||||
/* 6A4 A40006A4 AC28000C */ sw $t0, %lo(D_A430000C)($at)
|
||||
/* 6A8 A40006A8 3C01A480 */ lui $at, %hi(D_A4800018)
|
||||
/* 6AC A40006AC AC200018 */ sw $zero, %lo(D_A4800018)($at)
|
||||
/* 6B0 A40006B0 3C01A450 */ lui $at, %hi(D_A450000C)
|
||||
/* 6B4 A40006B4 AC20000C */ sw $zero, %lo(D_A450000C)($at)
|
||||
/* 6B8 A40006B8 3C01A430 */ lui $at, 0xa430
|
||||
/* 6BC A40006BC 24090800 */ addiu $t1, $zero, 0x800
|
||||
/* 6C0 A40006C0 AC290000 */ sw $t1, ($at)
|
||||
/* 6C4 A40006C4 24090002 */ addiu $t1, $zero, 2
|
||||
/* 6C8 A40006C8 3C01A460 */ lui $at, 0xa460
|
||||
/* 6CC A40006CC AC290010 */ sw $t1, 0x10($at)
|
||||
/* 6C8 A40006C8 3C01A460 */ lui $at, %hi(D_A4600010)
|
||||
/* 6CC A40006CC AC290010 */ sw $t1, %lo(D_A4600010)($at)
|
||||
/* 6D0 A40006D0 3C08A000 */ lui $t0, 0xa000
|
||||
/* 6D4 A40006D4 35080300 */ ori $t0, $t0, 0x300
|
||||
/* 6D8 A40006D8 240917D7 */ addiu $t1, $zero, 0x17d7
|
||||
@ -468,35 +468,35 @@ glabel func_A40004C0
|
||||
/* 6E8 A40006E8 AD15000C */ sw $s5, 0xc($t0)
|
||||
/* 6EC A40006EC 12600004 */ beqz $s3, .LA4000700
|
||||
/* 6F0 A40006F0 AD170014 */ sw $s7, 0x14($t0)
|
||||
/* 6F4 A40006F4 3C09A600 */ lui $t1, 0xa600
|
||||
/* 6F4 A40006F4 3C09A600 */ lui $t1, %hi(D_A6000000)
|
||||
/* 6F8 A40006F8 10000003 */ b .LA4000708
|
||||
/* 6FC A40006FC 25290000 */ addiu $t1, $t1, 0
|
||||
/* 6FC A40006FC 25290000 */ addiu $t1, $t1, %lo(D_A6000000)
|
||||
.LA4000700:
|
||||
/* 700 A4000700 3C09B000 */ lui $t1, 0xb000
|
||||
/* 704 A4000704 25290000 */ addiu $t1, $t1, 0
|
||||
/* 700 A4000700 3C09B000 */ lui $t1, %hi(D_B0000000)
|
||||
/* 704 A4000704 25290000 */ addiu $t1, $t1, %lo(D_B0000000)
|
||||
.LA4000708:
|
||||
/* 708 A4000708 AD090008 */ sw $t1, 8($t0)
|
||||
/* 70C A400070C 3C08A400 */ lui $t0, 0xa400
|
||||
/* 710 A4000710 25080000 */ addiu $t0, $t0, 0
|
||||
/* 70C A400070C 3C08A400 */ lui $t0, %hi(D_A4000000)
|
||||
/* 710 A4000710 25080000 */ addiu $t0, $t0, %lo(D_A4000000)
|
||||
/* 714 A4000714 21091000 */ addi $t1, $t0, 0x1000
|
||||
/* 718 A4000718 240AFFFF */ addiu $t2, $zero, -1
|
||||
.LA400071C:
|
||||
/* 71C A400071C 25080004 */ addiu $t0, $t0, 4
|
||||
/* 720 A4000720 1509FFFE */ bne $t0, $t1, .LA400071C
|
||||
/* 724 A4000724 AD0AFFFC */ sw $t2, -4($t0)
|
||||
/* 728 A4000728 3C08A400 */ lui $t0, 0xa400
|
||||
/* 72C A400072C 25081000 */ addiu $t0, $t0, 0x1000
|
||||
/* 728 A4000728 3C08A400 */ lui $t0, %hi(D_A4001000)
|
||||
/* 72C A400072C 25081000 */ addiu $t0, $t0, %lo(D_A4001000)
|
||||
/* 730 A4000730 21091000 */ addi $t1, $t0, 0x1000
|
||||
.LA4000734:
|
||||
/* 734 A4000734 25080004 */ addiu $t0, $t0, 4
|
||||
/* 738 A4000738 1509FFFE */ bne $t0, $t1, .LA4000734
|
||||
/* 73C A400073C AD0AFFFC */ sw $t2, -4($t0)
|
||||
/* 740 A4000740 3C0AA400 */ lui $t2, 0xa400
|
||||
/* 740 A4000740 3C0AA400 */ lui $t2, %hi(D_A4001000)
|
||||
/* 744 A4000744 240B17D7 */ addiu $t3, $zero, 0x17d7
|
||||
/* 748 A4000748 AD4B1000 */ sw $t3, 0x1000($t2)
|
||||
/* 74C A400074C 3C0BB000 */ lui $t3, 0xb000
|
||||
/* 748 A4000748 AD4B1000 */ sw $t3, %lo(D_A4001000)($t2)
|
||||
/* 74C A400074C 3C0BB000 */ lui $t3, %hi(D_B0000008)
|
||||
/* 750 A4000750 254A1000 */ addiu $t2, $t2, 0x1000
|
||||
/* 754 A4000754 8D690008 */ lw $t1, 8($t3)
|
||||
/* 754 A4000754 8D690008 */ lw $t1, %lo(D_B0000008)($t3)
|
||||
/* 758 A4000758 3C010010 */ lui $at, 0x10
|
||||
/* 75C A400075C 01214823 */ subu $t1, $t1, $at
|
||||
/* 760 A4000760 01200008 */ jr $t1
|
||||
|
258
asm/data/code_1000_len_60.data.s
Normal file
258
asm/data/code_1000_len_60.data.s
Normal file
File diff suppressed because one or more lines are too long
69
asm/data/code_26840_len_20d0.data.s
Normal file
69
asm/data/code_26840_len_20d0.data.s
Normal file
@ -0,0 +1,69 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
|
||||
glabel D_80078190
|
||||
.word 0xF8030125, 0x07D0FDBC, 0xF8860355, 0x06FCFBAB, 0xFEDAF82D, 0x0245077D, 0xFCA9F901, 0x0456065D, 0xFC33FBB2, 0xFCEFFE94, 0xFFD80080, 0x00A4007D, 0x090E0673, 0x02FF0053, 0xFEF2FEA7, 0xFEF9FF7B
|
||||
|
||||
glabel D_800781D0
|
||||
.word 0xB1011110, 0x00FFFE34, 0xBB90E21E, 0x00FB10EF, 0xF2D180C4, 0xB3B1D3CF, 0xD1FDFE80, 0x1D2D3D3B, 0x2C3BFC1D, 0x80DEF0D0, 0xD3D2B3D1, 0xF480A203, 0xD00DA9EA, 0xCB729041, 0x4E1D2D0C, 0x1E102F90, 0xF21203F0, 0xC2D1D4F3, 0x80B0A1BF, 0xD21E1270, 0x4D804C39, 0x2C7E306D, 0xB9CF90E1, 0xF2F3F2E1, 0xE21622C1, 0xE728F4F0, 0x211010FF, 0xA1ED9F2F, 0xF561333C, 0xD0A1DAC2, 0xFF144122, 0x2DEFA1FA, 0xE10E2330, 0x320EF091, 0x9AF2CF55, 0x1361EE1C, 0x919D0FD2, 0x52064DE1, 0x0991D01B, 0x152E36FD, 0x12CB8122, 0xBC65F073, 0xCE3FAE71, 0x4E9370F5, 0x6ED21BD1, 0x610A5D00, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078290
|
||||
.word 0x00000003, 0x0000000B, 0x00000000, 0x00000009, 0x00002666, 0xFFFFD99A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000007, 0x00000CCC, 0xFFFFF334, 0x00003FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000A, 0x00001388, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00005000
|
||||
|
||||
glabel D_800782F8
|
||||
.word 0x00000001, 0x0000000B, 0x00000000, 0x0000000A, 0x00004E20, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00007FFF
|
||||
|
||||
glabel D_80078320
|
||||
.word 0x00000001, 0x0000000D, 0x00000000, 0x0000000C, 0x00004E20, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00007FFF
|
||||
|
||||
glabel D_80078348
|
||||
.short 0x0000, 0x0001, 0x0000, 0x000E, 0x0000, 0x0000, 0x0000, 0x000D, 0x0000, 0x4E20, 0x0000, 0x0000, 0x0000, 0x7FFF, 0x0000, 0x0000, 0x0000
|
||||
|
||||
glabel D_8007836A
|
||||
.short 0x0000, 0x0000, 0x7FFF, 0x034A, 0x0349, 0x0100, 0x0000, 0x0100, 0x0000, 0x0008, 0x0012, 0x3C7F, 0x2D7F, 0x2B5F, 0x1D00, 0xFF00, 0x2700, 0xFF00, 0x0000, 0x0100, 0x0000, 0x0008, 0x001A, 0x3C7F, 0x237F, 0x3C3F, 0x2A1F, 0x2A0F, 0x2A07, 0x2A03, 0x3600, 0xFF00, 0x3600, 0xFF00, 0x0000, 0x3433, 0x7F26, 0x3F16, 0x00FF, 0x343B, 0x7F3B, 0x3FFF, 0x0000
|
||||
|
||||
glabel D_800783C0
|
||||
.word 0x80078378, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390
|
||||
|
||||
glabel D_80078400
|
||||
.word 0x8004CE70, 0x8004CEA4, 0x8004CEC4, 0x8004CF0C
|
||||
|
||||
glabel D_80078410
|
||||
.word 0x8004CF3C, 0x8004D00C, 0x8004D038, 0x8004D050, 0x8004D07C, 0x8004D114, 0x8004D130, 0x8004D15C, 0x8004D180, 0x8004D1B4, 0x8004D23C, 0x8004D2B0, 0x8004D2E4, 0x8004D310, 0x8004D31C, 0x8004D324, 0x8004D33C, 0x8004D354, 0x8004D36C, 0x8004D3A0, 0x8004D3F8
|
||||
|
||||
glabel D_80078464
|
||||
.word 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078470
|
||||
.word 0x8004FBBC, 0x8004FCB4, 0x8004FCE4, 0x8004FD04, 0x8004FD94, 0x8004FE10, 0x8004FD38, 0x80050560, 0x8004FE6C, 0x8004FEB0, 0x8004FF3C, 0x8004FF58, 0x8004FF70, 0x8004FF88, 0x8004FFA8, 0x8004FFB4, 0x8004FFC8, 0x8004FFE4, 0x8004FFF0, 0x8004FFFC, 0x80050004, 0x80050020, 0x8004FED0, 0x80050128, 0x80050560, 0x80050560, 0x80050560, 0x80050560, 0x800501A8, 0x8005015C, 0x80050184, 0x800502F0, 0x02010101, 0x04030200, 0x02010101, 0x01010102, 0x03010100, 0x02010301, 0x00000000, 0x03030303
|
||||
|
||||
glabel D_80078510
|
||||
.word 0x30182028, 0x30384030, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078520
|
||||
.word 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078530
|
||||
.word 0x00000200, 0x08001200, 0x20003200, 0x48006200, 0x80000000
|
||||
|
||||
glabel D_80078544
|
||||
.word 0x01000000, 0x0008000C
|
||||
|
||||
glabel D_8007854C
|
||||
.word 0x3D7FFF00, 0x3400FF00
|
||||
|
||||
glabel D_80078554
|
||||
.word 0x5C00FF00
|
||||
|
||||
glabel D_80078558
|
||||
.ascii "^]\\[ZXVSQOJE@;7531/-+)'&%#! "
|
||||
|
||||
glabel D_80078580
|
||||
.word 0x03040506, 0x0708090A, 0x0B0C0D0E, 0x0F101112, 0x13141516, 0x17000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_800785A0
|
||||
.word 0x0393756C, 0x034736DE, 0x02FAE1DA, 0x02AEA34C, 0x02624E48, 0x0215F944, 0x01C9BAB6, 0x01A39034, 0x017D65B2, 0x015751A6, 0x01312724, 0x0121E2F0, 0x01129EBC, 0x01035A88, 0x00F41654, 0x00E4D220, 0x00D58DEC, 0x00C649B8, 0x00B70584, 0x00A7D7C6, 0x00989392, 0x00894F5E, 0x007A0B2A, 0x006AC6F6, 0x005B82C2, 0x004C3E8E, 0x00449C74, 0x003CFA5A, 0x00355840, 0x002DB626, 0x0029F054, 0x0026140C, 0x00224E3A, 0x001E71F2, 0x001CF41C, 0x001B7646, 0x0019E1FA, 0x00186424, 0x0016CFD8, 0x00155202, 0x0013D42C, 0x00123FE0, 0x0010C20A, 0x000F2DBE, 0x000E7A0E, 0x000DAFE8, 0x000CE5C2, 0x000C3212, 0x000B67EC, 0x000A9DC6, 0x0009EA16, 0x00091FF0, 0x000855CA, 0x00078BA4, 0x0006D7F4, 0x00060DCE, 0x0005B3F6, 0x000543A8, 0x0004E9D0, 0x00048FF8, 0x0004630C, 0x00043620, 0x00040934, 0x0003F2BE, 0x0003C5D2, 0x000398E6, 0x00038270, 0x00035584, 0x00032898, 0x0002FBAC, 0x0002E536, 0x0002B84A, 0x00028B5E, 0x00025E72, 0x000247FC, 0x00021B10, 0x0001EE24, 0x0001C138, 0x0001AAC2, 0x00017DD6, 0x00016760, 0x00013A74, 0x00010D88, 0x0000F712, 0x0000E09C, 0x0000CA26, 0x0000B3B0, 0x00009D3A, 0x000086C4, 0x0000704E, 0x000059D8, 0x00004362, 0x00002CEC, 0x00001676, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_80078730
|
||||
.word 0x3F800000, 0x3F8012EF, 0x3F8025E1, 0x3F8038D6, 0x3F804BCD, 0x3F805EC7, 0x3F8071C4, 0x3F8084C4, 0x3F8097C7, 0x3F80AACC, 0x3F80BDD4, 0x3F80D0DF, 0x3F80E3ED, 0x3F80F6FE, 0x3F810A12, 0x3F811D28, 0x3F813041, 0x3F81435D, 0x3F81567C, 0x3F81699E, 0x3F817CC2, 0x3F818FE9, 0x3F81A313, 0x3F81B640, 0x3F81C970, 0x3F81DCA3, 0x3F81EFD9, 0x3F820311, 0x3F82164C, 0x3F82298A, 0x3F823CCB, 0x3F82500F, 0x3F826356, 0x3F82769F, 0x3F8289EB, 0x3F829D3A, 0x3F82B08C, 0x3F82C3E1, 0x3F82D739, 0x3F82EA94, 0x3F82FDF1, 0x3F831151, 0x3F8324B4, 0x3F83381A, 0x3F834B83, 0x3F835EEF, 0x3F83725E, 0x3F8385D0, 0x3F839944, 0x3F83ACBB, 0x3F83C035, 0x3F83D3B2, 0x3F83E732, 0x3F83FAB5, 0x3F840E3B, 0x3F8421C4, 0x3F84354F, 0x3F8448DD, 0x3F845C6E, 0x3F847002, 0x3F848399, 0x3F849733, 0x3F84AAD0, 0x3F84BE70, 0x3F84D213, 0x3F84E5B9, 0x3F84F961, 0x3F850D0C, 0x3F8520BA, 0x3F85346B, 0x3F85481F, 0x3F855BD6, 0x3F856F90, 0x3F85834D, 0x3F85970D, 0x3F85AAD0, 0x3F85BE96, 0x3F85D25F, 0x3F85E62A, 0x3F85F9F8, 0x3F860DC9, 0x3F86219D, 0x3F863574, 0x3F86494E, 0x3F865D2B, 0x3F86710B, 0x3F8684EE, 0x3F8698D4, 0x3F86ACBD, 0x3F86C0A9, 0x3F86D498, 0x3F86E88A, 0x3F86FC7F, 0x3F871077, 0x3F872472, 0x3F87386F, 0x3F874C6F, 0x3F876072, 0x3F877478, 0x3F878881, 0x3F879C8D, 0x3F87B09C, 0x3F87C4AE, 0x3F87D8C3, 0x3F87ECDB, 0x3F8800F6, 0x3F881514, 0x3F882935, 0x3F883D59, 0x3F885180, 0x3F8865AA, 0x3F8879D7, 0x3F888E07, 0x3F88A23A, 0x3F88B670, 0x3F88CAA9, 0x3F88DEE5, 0x3F88F324, 0x3F890766, 0x3F891BAB, 0x3F892FF3, 0x3F89443E, 0x3F89588C, 0x3F896CDD, 0x3F898131, 0x3F899588, 0x3F89A9E2, 0x3F89BE3F, 0x3F800000, 0x3F89D29F, 0x3F946637, 0x3F9FC997, 0x3FAC0CB1, 0x3FB940B0, 0x3FC77811, 0x3FD6C6BB, 0x3FE7421D, 0x3FF9014B, 0x40060E8F, 0x4010582B, 0x401B6BE2, 0x40275936, 0x403430DA, 0x404204C9, 0x4050E860, 0x4060F077, 0x40723381, 0x408264D5, 0x408C667B, 0x40972CB6, 0x40A2C69C, 0x40AF446B, 0x40BCB7A0, 0x40CB3311, 0x40DACB04, 0x40EB954F, 0x40FDA974, 0x41089062, 0x41130B3F, 0x411E53FF, 0x3F800000, 0x3F7FDA28, 0x3F7FB456, 0x3F7F8E89, 0x3F7F68C2, 0x3F7F4300, 0x3F7F1D44, 0x3F7EF78E, 0x3F7ED1DD, 0x3F7EAC32, 0x3F7E868C, 0x3F7E60EC, 0x3F7E3B51, 0x3F7E15BC, 0x3F7DF02C, 0x3F7DCAA2, 0x3F7DA51E, 0x3F7D7F9F, 0x3F7D5A26, 0x3F7D34B2, 0x3F7D0F44, 0x3F7CE9DB, 0x3F7CC478, 0x3F7C9F1A, 0x3F7C79C2, 0x3F7C546F, 0x3F7C2F22, 0x3F7C09DA, 0x3F7BE498, 0x3F7BBF5B, 0x3F7B9A24, 0x3F7B74F2, 0x3F7B4FC6, 0x3F7B2A9F, 0x3F7B057E, 0x3F7AE062, 0x3F7ABB4C, 0x3F7A963B, 0x3F7A7130, 0x3F7A4C2A, 0x3F7A272A, 0x3F7A022F, 0x3F79DD3A, 0x3F79B84A, 0x3F799360, 0x3F796E7B, 0x3F79499C, 0x3F7924C2, 0x3F78FFED, 0x3F78DB1E, 0x3F78B654, 0x3F789190, 0x3F786CD1, 0x3F784818, 0x3F782364, 0x3F77FEB6, 0x3F77DA0D, 0x3F77B569, 0x3F7790CB, 0x3F776C32, 0x3F77479F, 0x3F772311, 0x3F76FE88, 0x3F76DA05, 0x3F76B587, 0x3F76910F, 0x3F766C9C, 0x3F76482E, 0x3F7623C6, 0x3F75FF63, 0x3F75DB06, 0x3F75B6AE, 0x3F75925B, 0x3F756E0E, 0x3F7549C6, 0x3F752583, 0x3F750146, 0x3F74DD0E, 0x3F74B8DB, 0x3F7494AE, 0x3F747086, 0x3F744C63, 0x3F742846, 0x3F74042E, 0x3F73E01C, 0x3F73BC0F, 0x3F739807, 0x3F737404, 0x3F735007, 0x3F732C0F, 0x3F73081C, 0x3F72E42F, 0x3F72C047, 0x3F729C64, 0x3F727887, 0x3F7254AF, 0x3F7230DC, 0x3F720D0F, 0x3F71E947, 0x3F71C584, 0x3F71A1C6, 0x3F717E0E, 0x3F715A5B, 0x3F7136AD, 0x3F711305, 0x3F70EF62, 0x3F70CBC4, 0x3F70A82B, 0x3F708498, 0x3F70610A, 0x3F703D81, 0x3F7019FD, 0x3F6FF67F, 0x3F6FD306, 0x3F6FAF92, 0x3F6F8C23, 0x3F6F68BA, 0x3F6F4556, 0x3F6F21F7, 0x3F6EFE9D, 0x3F6EDB49, 0x3F6EB7FA, 0x3F6E94B0, 0x3F6E716B, 0x3F6E4E2B, 0x3F6E2AF1, 0x3F6E07BC, 0x3F6DE48C, 0x3F800000, 0x3F6DC161, 0x3F5CCFA0, 0x3F4D1303, 0x3F3E7583, 0x3F30E2A9, 0x3F244774, 0x3F18923F, 0x3F0DB2A4, 0x3F03996B, 0x3EF470E1, 0x3EE30526, 0x3ED2D741, 0x3EC3D08B, 0x3EB5DBFB, 0x3EA8E607, 0x3E9CDC8A, 0x3E91AEA9, 0x3E874CBE, 0x3E7B5080, 0x3E69675D, 0x3E58C500, 0x3E495220, 0x3E3AF91B, 0x3E2DA5DB, 0x3E2145B8, 0x3E15C75E, 0x3E0B1AB6, 0x3E0130CE, 0x3DEFF78B, 0x3DDEDD71, 0x3DCEFB5A, 0x3DC03B0C, 0x3DB287E0, 0x3DA5CEA6, 0x3D99FD90, 0x3D8F0410, 0x3D84D2CB, 0x3D76B6F6, 0x3D6521C0, 0x3D54CD52, 0x3D45A2D5, 0x3D378D0A, 0x3D2A7839, 0x3D1E5213, 0x3D130992, 0x3D088EF0, 0x3CFDA6F5, 0x3CEB932C, 0x3CDAC934, 0x3CCB318C, 0x3CBCB65A, 0x3CAF435F, 0x3CA2C5C3, 0x3C972C06, 0x3C8C65F5, 0x3C826474, 0x3C7232F8, 0x3C60F025, 0x3C50E83A, 0x3C4204D2, 0x3C3430FF, 0x3C275980, 0x3C1B6C42, 0x3C10589D, 0x3C060F18, 0x3BF90275, 0x3BE7435B, 0x3BD6C80E, 0x3BC7797C, 0x3BB9422B, 0x3BAC0E26, 0x3B9FCB0C, 0x3B9467C1, 0x3B89D42A, 0x3B800183, 0x3B6DC413, 0x3B5CD229, 0x3B4D1572, 0x3B3E77CA, 0x3B30E4BA, 0x3B24494B, 0x3B18940B, 0x3B0DB45E, 0x3B039B00, 0x3AF473B0, 0x3AE307F8, 0x3AD2D9AC, 0x3AC3D2FE, 0x3AB5DE1E, 0x3AA8E7EB, 0x3A9CDE48, 0x3A91B06C, 0x3A874E3D, 0x3A7B5348, 0x3A696A67, 0x3A58C7AD, 0x3A495447, 0x3A3AFB69, 0x3A2DA799, 0x3A214763, 0x3A15C955, 0x3A0B1CA9, 0x3A01329B, 0x39EFFA23, 0x39DEDFF5, 0x39CEFD29, 0x39C03D9D, 0x39B28A81, 0x39A5D10A, 0x3999FFC6, 0x398F0541, 0x3984D410, 0x3976BADD, 0x39652533, 0x3954CEFA, 0x3945A566, 0x39379050, 0x392A7A3D, 0x391E5312, 0x39130AB4, 0x39089109, 0x38FDABE8, 0x38EB9814, 0x38DACBBE, 0x38CB316C, 0x38BCB903, 0x38AF47AC
|
453
asm/data/code_31650.data.s
Normal file
453
asm/data/code_31650.data.s
Normal file
File diff suppressed because one or more lines are too long
264
asm/data/code_a5dd0_len_114e0.data.s
Normal file
264
asm/data/code_a5dd0_len_114e0.data.s
Normal file
File diff suppressed because one or more lines are too long
30
asm/data/code_fee30_len_2d60.data.s
Normal file
30
asm/data/code_fee30_len_2d60.data.s
Normal file
@ -0,0 +1,30 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
|
||||
glabel D_802DF390
|
||||
.word 0xFFF00038, 0x00000000, 0x00000000, 0xF0F0F0FF, 0x00100038, 0x00000000, 0x04000000, 0x787878FF, 0x00100000, 0x00000000, 0x04000700, 0x000000FF, 0xFFF00000, 0x00000000, 0x00000700, 0x787878FF
|
||||
|
||||
glabel D_802DF3D0
|
||||
.word 0x028001E0, 0x01FF0000, 0x028001E0, 0x01FF0000
|
||||
|
||||
glabel D_802DF3E0
|
||||
.word 0x028001E0, 0x01FF0000, 0x028001E0, 0x02000000
|
||||
|
||||
glabel D_802DF3F0
|
||||
.word 0xD9FDF9FF, 0x00000000, 0xFCFFFFFF, 0xFFFCF279, 0xD7000002, 0xFFFFFFFF, 0xD9FFFFFF, 0x00200005, 0xE200001C, 0x00551238, 0xE3000A11, 0x0008ACF0, 0xDF000000, 0x00000000
|
||||
|
||||
glabel D_802DF428
|
||||
.word 0xD9FDF9FF, 0x00000000, 0xFCFF97FF, 0xFF2CFE7F, 0xD7000002, 0xFFFFFFFF, 0xD9FFFFFF, 0x00200005, 0xE200001C, 0x00504B50, 0xE3000A11, 0x0008ACF0, 0xDF000000, 0x00000000
|
||||
|
||||
glabel D_802DF460
|
||||
.word 0xD9FDF9FF, 0x00000000, 0xD7000002, 0xFFFFFFFF, 0xD9FFFFFF, 0x00200005, 0xE200001C, 0x0C191238, 0xE3000A11, 0x0018ACF0, 0xDF000000, 0x00000000
|
||||
|
||||
glabel D_802DF490
|
||||
.word 0xD9FDF9FF, 0x00000000, 0xD7000002, 0xFFFFFFFF, 0xD9FFFFFF, 0x00200005, 0xE200001C, 0x0C184B50, 0xE3000A11, 0x0018ACF0, 0xDF000000, 0x00000000
|
||||
|
||||
glabel D_802DF4C0
|
||||
.word 0x3F800000
|
||||
|
||||
glabel D_802DF4C4
|
||||
.word 0x00000006, 0x00000700, 0x000003C6, 0x00000012, 0x00000700, 0x000003C6, 0x0000000A, 0x00000900, 0x00003FC6, 0x00000003, 0x00000700, 0x00000006, 0x00000006, 0x00000900, 0x00003C00, 0x00000006, 0x00000700, 0x0000003E, 0x00000006, 0x00000900, 0x00003C00, 0x00000000, 0x00000000
|
21
asm/data/si.data.s
Normal file
21
asm/data/si.data.s
Normal file
@ -0,0 +1,21 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
|
||||
glabel ShakeCam1
|
||||
.word 0x0000004D, 0x00000001, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
glabel ShakeCamX
|
||||
.word 0x0000004D, 0x00000001, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
glabel gPlayerNpcPtr
|
||||
.word 0x802DB270, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_802D9D30
|
||||
.word 0x00000000
|
||||
|
||||
glabel D_802D9D34
|
||||
.word 0x00000043, 0x00000001, 0x802D5B10, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
glabel D_802D9D50
|
||||
.word 0x00000043, 0x00000001, func_802D7BA4, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0xFEFE00FF, 0x00000000, 0x00000000, 0x00000000
|
102
asm/data/si.rodata.s
Normal file
102
asm/data/si.rodata.s
Normal file
@ -0,0 +1,102 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .rodata
|
||||
|
||||
glabel D_802D9D98
|
||||
.ascii "ADDR [%08X]\0"
|
||||
|
||||
glabel D_802D9DA8
|
||||
.ascii "FLOAT [%4.2f]\0\0\0\0"
|
||||
|
||||
glabel D_802D9DBC
|
||||
.ascii "UF(%3d) [%d]\0\0\0"
|
||||
|
||||
glabel D_802D9DCC
|
||||
.ascii "UW(%3d) [%08X]\0"
|
||||
|
||||
glabel D_802D9DDC
|
||||
.ascii "UW(%3d) [%4.2f]\0\0\0\0"
|
||||
|
||||
glabel D_802D9DF0
|
||||
.ascii "UW(%3d) [%d]\0\0\0"
|
||||
|
||||
glabel D_802D9E00
|
||||
.ascii "GSW(%3d) [%08X]\0"
|
||||
|
||||
glabel D_802D9E10
|
||||
.ascii "GSW(%3d) [%4.2f]\0\0\0\0"
|
||||
|
||||
glabel D_802D9E24
|
||||
.ascii "GSW(%3d) [%d]\0\0\0"
|
||||
|
||||
glabel D_802D9E34
|
||||
.ascii "LSW(%3d) [%08X]\0"
|
||||
|
||||
glabel D_802D9E44
|
||||
.ascii "LSW(%3d) [%4.2f]\0\0\0"
|
||||
|
||||
glabel D_802D9E58
|
||||
.ascii "LSW(%3d) [%d]\0\0\0"
|
||||
|
||||
glabel D_802D9E68
|
||||
.ascii "GSWF(%3d)[%d]\0\0\0"
|
||||
|
||||
glabel D_802D9E78
|
||||
.ascii "LSWF(%3d)[%d]\0\0\0"
|
||||
|
||||
glabel D_802D9E88
|
||||
.ascii "GF(%3d) [%d]\0\0\0"
|
||||
|
||||
glabel D_802D9E98
|
||||
.ascii "LF(%3d) [%d]\0\0\0"
|
||||
|
||||
glabel D_802D9EA8
|
||||
.ascii "GW(%3d) [%08X]\0"
|
||||
|
||||
glabel D_802D9EB8
|
||||
.ascii "GW(%3d) [%4.2f]\0\0\0\0"
|
||||
|
||||
glabel D_802D9ECC
|
||||
.ascii "GW(%3d) [%d]\0\0\0"
|
||||
|
||||
glabel D_802D9EDC
|
||||
.ascii "LW(%3d) [%08X]\0"
|
||||
|
||||
glabel D_802D9EEC
|
||||
.ascii "LW(%3d) [%4.2f]\0\0\0\0"
|
||||
|
||||
glabel D_802D9F00
|
||||
.ascii "LW(%3d) [%d]\0\0\0"
|
||||
|
||||
glabel D_802D9F10
|
||||
.ascii " [%d]\0\0\0"
|
||||
|
||||
glabel D_802D9F20
|
||||
.word 0x802C743C, 0x802C7A54, 0x802C747C, 0x802C748C, 0x802C749C, 0x802C74AC, 0x802C74BC, 0x802C74CC, 0x802C74DC, 0x802C74EC, 0x802C74FC, 0x802C750C, 0x802C751C, 0x802C752C, 0x802C753C, 0x802C754C, 0x802C755C, 0x802C756C, 0x802C757C, 0x802C758C, 0x802C759C, 0x802C75AC, 0x802C75BC, 0x802C75CC, 0x802C75DC, 0x802C75FC, 0x802C75EC, 0x802C760C, 0x802C761C, 0x802C763C, 0x802C765C, 0x802C766C, 0x802C764C, 0x802C767C, 0x802C762C, 0x802C768C, 0x802C769C, 0x802C76AC, 0x802C76BC, 0x802C76CC, 0x802C76DC, 0x802C76EC, 0x802C76FC, 0x802C770C, 0x802C771C, 0x802C772C, 0x802C773C, 0x802C774C, 0x802C775C, 0x802C776C, 0x802C777C, 0x802C778C, 0x802C779C, 0x802C77AC, 0x802C77BC, 0x802C77CC, 0x802C77DC, 0x802C77EC, 0x802C77FC, 0x802C780C, 0x802C781C, 0x802C782C, 0x802C783C, 0x802C785C, 0x802C786C, 0x802C787C, 0x802C788C, 0x802C789C, 0x802C78AC, 0x802C78BC, 0x802C78CC, 0x802C78DC, 0x802C78EC, 0x802C784C, 0x802C792C, 0x802C78FC, 0x802C790C, 0x802C791C, 0x802C793C, 0x802C794C, 0x802C795C, 0x802C796C, 0x802C797C, 0x802C798C, 0x802C799C, 0x802C79AC, 0x802C79BC, 0x802C79CC, 0x802C79DC, 0x802C79EC, 0x802C79FC, 0x802C7A0C, 0x802C7A1C, 0x802C7A2C, 0x802C7A3C, 0x00000000
|
||||
|
||||
glabel D_802DA0A0
|
||||
.word 0x802C8944, 0x802C890C, 0x802C890C, 0x802C890C, 0x802C890C, 0x802C890C, 0x802C890C, 0x802C890C, 0x802C890C, 0x802C8960, 0x802C8960, 0x802C8960, 0x802C8960, 0x802C8960, 0x802C8960, 0x802C8960, 0x802C8960, 0x802C8968, 0x802C894C, 0x00000000
|
||||
|
||||
glabel D_802DA0F0
|
||||
.word 0x802C89C0, 0x802C8988, 0x802C8988, 0x802C8988, 0x802C8988, 0x802C8988, 0x802C8988, 0x802C8988, 0x802C8988, 0x802C89DC, 0x802C89DC, 0x802C89DC, 0x802C89DC, 0x802C89DC, 0x802C89DC, 0x802C89DC, 0x802C89DC, 0x802C8988, 0x802C89C8, 0x00000000
|
||||
|
||||
glabel D_802DA140
|
||||
.word 0x802C8AB0, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8A74, 0x802C8AB8, 0x802C8A74, 0x802C8AD4, 0x802C8AD4, 0x802C8AD4, 0x802C8AD4, 0x802C8AD4, 0x802C8AD4, 0x802C8AD4, 0x802C8AD4, 0x802C8AD4, 0x802C8A74, 0x802C8AD4, 0x802C8AD4, 0x802C8A74, 0x802C8AC0, 0x00000000
|
||||
|
||||
glabel D_802DA1D0
|
||||
.word 0xBFE99999, 0x9999999A, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_802DA1E0
|
||||
.word 0x40668000, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_802DA1F0
|
||||
.word 0x802D0668, 0x802D0674, 0x802D0680, 0x802D068C, 0x802D0698, 0x802D069C
|
||||
|
||||
glabel D_802DA208
|
||||
.word 0x802D25A8, 0x802D25DC, 0x802D25D4, 0x802D25D4, 0x802D2604, 0x802D2760, 0x802D2664, 0x802D26C4, 0x802D2704, 0x802D283C, 0x802D283C, 0x802D283C, 0x802D283C, 0x802D27C0
|
||||
|
||||
glabel D_802DA240
|
||||
.word 0x802D40D4, 0x802D40E0, 0x802D4148, 0x802D40EC, 0x802D40F8, 0x802D4104
|
||||
|
||||
glabel D_802DA258
|
||||
.word 0x802D8560, 0x802D858C, 0x802D9688, 0x802D9688, 0x802D9688, 0x802D9688, 0x802D85A4, 0x802D85C0, 0x802D85E0, 0x802D85FC, 0x802D861C, 0x802D8638, 0x802D8654, 0x802D8674, 0x802D8698, 0x802D86B4, 0x802D86E0, 0x802D870C, 0x802D8728, 0x802D8750, 0x802D8770, 0x802D878C, 0x802D87A8, 0x802D87C4, 0x802D87E0, 0x802D8808, 0x802D8824, 0x802D8840, 0x802D8864, 0x802D8880, 0x802D88A8, 0x802D88E8, 0x802D8A68, 0x802D8914, 0x802D893C, 0x802D8968, 0x802D8984, 0x802D89A4, 0x802D89C0, 0x802D89DC, 0x802D89FC, 0x802D8A24, 0x802D9688, 0x802D8A4C, 0x802D8A8C, 0x802D8AA8, 0x802D8AC8, 0x802D8AE8, 0x802D8B20, 0x802D8B3C, 0x802D8B58, 0x802D8B74, 0x802D8B94, 0x802D8BB8, 0x802D8BDC, 0x802D8BFC, 0x802D8C30, 0x802D8C50, 0x802D8C70, 0x802D8C9C, 0x802D8CC0, 0x802D8CF4, 0x802D8D34, 0x802D8D54, 0x802D8D70, 0x802D8D8C, 0x802D8DA8, 0x802D8DC8, 0x802D8DE8, 0x802D8E08, 0x802D8E1C, 0x802D8E30, 0x802D8E50, 0x802D8E70, 0x802D8E90, 0x802D8EB0, 0x802D8ED0, 0x802D8F00, 0x802D8F44, 0x802D8F60, 0x802D9688, 0x802D8FBC, 0x802D8F80, 0x802D8FA0, 0x802D9688, 0x802D94A0, 0x802D8FDC, 0x802D8FFC, 0x802D901C, 0x802D903C, 0x802D906C, 0x802D908C, 0x802D90AC, 0x802D90CC, 0x802D90EC, 0x802D911C, 0x802D913C, 0x802D915C, 0x802D917C, 0x802D919C, 0x802D91D4, 0x802D9204, 0x802D9224, 0x802D9244, 0x802D9264, 0x802D9284, 0x802D9688, 0x802D92A4, 0x802D92C4, 0x802D92E4, 0x802D9304, 0x802D932C, 0x802D934C, 0x802D9388, 0x802D93A8, 0x802D93D4, 0x802D93FC, 0x802D9430, 0x802D9688, 0x802D9450, 0x802D9480, 0x802D94BC, 0x802D94DC, 0x802D94FC, 0x802D951C, 0x802D953C, 0x802D955C, 0x802D957C, 0x802D959C, 0x802D95BC, 0x802D95DC, 0x802D95FC, 0x802D961C, 0x802D9648, 0x802D9668, 0x00000000, 0x00000000, 0x00000000
|
28
asm/header.s
28
asm/header.s
@ -1,16 +1,16 @@
|
||||
.section .header, "a"
|
||||
|
||||
.word 0x80371240 /* PI PSD Domain 1 register */
|
||||
.word 0x0000000F /* Clockrate setting */
|
||||
.word 0x80125C00 /* Entrypoint address */
|
||||
.word 0x0000144B /* Revision */
|
||||
.word 0x65EEE53A /* Checksum 1 */
|
||||
.word 0xED7D733C /* Checksum 2 */
|
||||
.word 0x00000000 /* Unknown 1 */
|
||||
.word 0x00000000 /* Unknown 2 */
|
||||
.ascii "PAPER MARIO " /* Internal ROM name */
|
||||
.word 0x00000000 /* Unknown 3 */
|
||||
.word 0x0000004E /* Cartridge */
|
||||
.ascii "MQ" /* Cartridge ID */
|
||||
.ascii "E" /* Country code */
|
||||
.byte 00 /* Version */
|
||||
.word 0x80371240 /* PI BSB Domain 1 register */
|
||||
.word 0x0000000F /* Clockrate setting */
|
||||
.word 0x80125C00 /* Entrypoint address */
|
||||
.word 0x0000144B /* Revision */
|
||||
.word 0x65EEE53A /* Checksum 1 */
|
||||
.word 0xED7D733C /* Checksum 2 */
|
||||
.word 0x00000000 /* Unknown 1 */
|
||||
.word 0x00000000 /* Unknown 2 */
|
||||
.ascii "PAPER MARIO " /* Internal name */
|
||||
.word 0x00000000 /* Unknown 3 */
|
||||
.word 0x0000004E /* Cartridge */
|
||||
.ascii "MQ" /* Cartridge ID */
|
||||
.ascii "E" /* Country code */
|
||||
.byte 0x00 /* Version */
|
||||
|
111
asm/nonmatchings/battle/area_arn/4FEA50/func_80218058_4FEAA8.s
Normal file
111
asm/nonmatchings/battle/area_arn/4FEA50/func_80218058_4FEAA8.s
Normal file
@ -0,0 +1,111 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218058_4FEAA8
|
||||
/* 4FEAA8 80218058 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 4FEAAC 8021805C F7B60020 */ sdc1 $f22, 0x20($sp)
|
||||
/* 4FEAB0 80218060 46006586 */ mov.s $f22, $f12
|
||||
/* 4FEAB4 80218064 F7B40018 */ sdc1 $f20, 0x18($sp)
|
||||
/* 4FEAB8 80218068 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 4FEABC 8021806C 0C00A3FC */ jal length2D
|
||||
/* 4FEAC0 80218070 46007506 */ mov.s $f20, $f14
|
||||
/* 4FEAC4 80218074 4600A18D */ trunc.w.s $f6, $f20
|
||||
/* 4FEAC8 80218078 44023000 */ mfc1 $v0, $f6
|
||||
/* 4FEACC 8021807C 00000000 */ nop
|
||||
/* 4FEAD0 80218080 04420001 */ bltzl $v0, .L80218088
|
||||
/* 4FEAD4 80218084 00021023 */ negu $v0, $v0
|
||||
.L80218088:
|
||||
/* 4FEAD8 80218088 44821000 */ mtc1 $v0, $f2
|
||||
/* 4FEADC 8021808C 00000000 */ nop
|
||||
/* 4FEAE0 80218090 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 4FEAE4 80218094 46001103 */ div.s $f4, $f2, $f0
|
||||
/* 4FEAE8 80218098 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 4FEAEC 8021809C 2406005A */ addiu $a2, $zero, 0x5a
|
||||
/* 4FEAF0 802180A0 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 4FEAF4 802180A4 3C078022 */ lui $a3, %hi(D_8021A4BC)
|
||||
/* 4FEAF8 802180A8 24E7A4BC */ addiu $a3, $a3, %lo(D_8021A4BC)
|
||||
/* 4FEAFC 802180AC 30C2FFFF */ andi $v0, $a2, 0xffff
|
||||
.L802180B0:
|
||||
/* 4FEB00 802180B0 3083FFFF */ andi $v1, $a0, 0xffff
|
||||
/* 4FEB04 802180B4 00431023 */ subu $v0, $v0, $v1
|
||||
/* 4FEB08 802180B8 00021FC2 */ srl $v1, $v0, 0x1f
|
||||
/* 4FEB0C 802180BC 00431021 */ addu $v0, $v0, $v1
|
||||
/* 4FEB10 802180C0 00021043 */ sra $v0, $v0, 1
|
||||
/* 4FEB14 802180C4 00821821 */ addu $v1, $a0, $v0
|
||||
/* 4FEB18 802180C8 3062FFFF */ andi $v0, $v1, 0xffff
|
||||
/* 4FEB1C 802180CC 00021080 */ sll $v0, $v0, 2
|
||||
/* 4FEB20 802180D0 00471021 */ addu $v0, $v0, $a3
|
||||
/* 4FEB24 802180D4 C4400000 */ lwc1 $f0, ($v0)
|
||||
/* 4FEB28 802180D8 4604003C */ c.lt.s $f0, $f4
|
||||
/* 4FEB2C 802180DC 00000000 */ nop
|
||||
/* 4FEB30 802180E0 45020002 */ bc1fl .L802180EC
|
||||
/* 4FEB34 802180E4 0060302D */ daddu $a2, $v1, $zero
|
||||
/* 4FEB38 802180E8 0060202D */ daddu $a0, $v1, $zero
|
||||
.L802180EC:
|
||||
/* 4FEB3C 802180EC 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 4FEB40 802180F0 30A2FFFF */ andi $v0, $a1, 0xffff
|
||||
/* 4FEB44 802180F4 2C420007 */ sltiu $v0, $v0, 7
|
||||
/* 4FEB48 802180F8 1440FFED */ bnez $v0, .L802180B0
|
||||
/* 4FEB4C 802180FC 30C2FFFF */ andi $v0, $a2, 0xffff
|
||||
/* 4FEB50 80218100 3082FFFF */ andi $v0, $a0, 0xffff
|
||||
/* 4FEB54 80218104 00021080 */ sll $v0, $v0, 2
|
||||
/* 4FEB58 80218108 30C3FFFF */ andi $v1, $a2, 0xffff
|
||||
/* 4FEB5C 8021810C 3C018022 */ lui $at, %hi(D_8021A4BC)
|
||||
/* 4FEB60 80218110 00220821 */ addu $at, $at, $v0
|
||||
/* 4FEB64 80218114 C422A4BC */ lwc1 $f2, %lo(D_8021A4BC)($at)
|
||||
/* 4FEB68 80218118 00031880 */ sll $v1, $v1, 2
|
||||
/* 4FEB6C 8021811C 46041081 */ sub.s $f2, $f2, $f4
|
||||
/* 4FEB70 80218120 3C018022 */ lui $at, %hi(D_8021A4BC)
|
||||
/* 4FEB74 80218124 00230821 */ addu $at, $at, $v1
|
||||
/* 4FEB78 80218128 C420A4BC */ lwc1 $f0, %lo(D_8021A4BC)($at)
|
||||
/* 4FEB7C 8021812C 46040001 */ sub.s $f0, $f0, $f4
|
||||
/* 4FEB80 80218130 46001085 */ abs.s $f2, $f2
|
||||
/* 4FEB84 80218134 46000005 */ abs.s $f0, $f0
|
||||
/* 4FEB88 80218138 4600103C */ c.lt.s $f2, $f0
|
||||
/* 4FEB8C 8021813C 00000000 */ nop
|
||||
/* 4FEB90 80218140 45000002 */ bc1f .L8021814C
|
||||
/* 4FEB94 80218144 00C0182D */ daddu $v1, $a2, $zero
|
||||
/* 4FEB98 80218148 0080182D */ daddu $v1, $a0, $zero
|
||||
.L8021814C:
|
||||
/* 4FEB9C 8021814C 44800000 */ mtc1 $zero, $f0
|
||||
/* 4FEBA0 80218150 00000000 */ nop
|
||||
/* 4FEBA4 80218154 4600B03C */ c.lt.s $f22, $f0
|
||||
/* 4FEBA8 80218158 00000000 */ nop
|
||||
/* 4FEBAC 8021815C 4500000A */ bc1f .L80218188
|
||||
/* 4FEBB0 80218160 00000000 */ nop
|
||||
/* 4FEBB4 80218164 4614003E */ c.le.s $f0, $f20
|
||||
/* 4FEBB8 80218168 00000000 */ nop
|
||||
/* 4FEBBC 8021816C 45000004 */ bc1f .L80218180
|
||||
/* 4FEBC0 80218170 240200B4 */ addiu $v0, $zero, 0xb4
|
||||
/* 4FEBC4 80218174 00431823 */ subu $v1, $v0, $v1
|
||||
/* 4FEBC8 80218178 44800000 */ mtc1 $zero, $f0
|
||||
/* 4FEBCC 8021817C 00000000 */ nop
|
||||
.L80218180:
|
||||
/* 4FEBD0 80218180 4600B03C */ c.lt.s $f22, $f0
|
||||
/* 4FEBD4 80218184 00000000 */ nop
|
||||
.L80218188:
|
||||
/* 4FEBD8 80218188 45000005 */ bc1f .L802181A0
|
||||
/* 4FEBDC 8021818C 00000000 */ nop
|
||||
/* 4FEBE0 80218190 4600A03C */ c.lt.s $f20, $f0
|
||||
/* 4FEBE4 80218194 00000000 */ nop
|
||||
/* 4FEBE8 80218198 45030001 */ bc1tl .L802181A0
|
||||
/* 4FEBEC 8021819C 246300B4 */ addiu $v1, $v1, 0xb4
|
||||
.L802181A0:
|
||||
/* 4FEBF0 802181A0 44800000 */ mtc1 $zero, $f0
|
||||
/* 4FEBF4 802181A4 00000000 */ nop
|
||||
/* 4FEBF8 802181A8 4616003E */ c.le.s $f0, $f22
|
||||
/* 4FEBFC 802181AC 00000000 */ nop
|
||||
/* 4FEC00 802181B0 45000006 */ bc1f .L802181CC
|
||||
/* 4FEC04 802181B4 00000000 */ nop
|
||||
/* 4FEC08 802181B8 4600A03C */ c.lt.s $f20, $f0
|
||||
/* 4FEC0C 802181BC 00000000 */ nop
|
||||
/* 4FEC10 802181C0 45000002 */ bc1f .L802181CC
|
||||
/* 4FEC14 802181C4 24020168 */ addiu $v0, $zero, 0x168
|
||||
/* 4FEC18 802181C8 00431823 */ subu $v1, $v0, $v1
|
||||
.L802181CC:
|
||||
/* 4FEC1C 802181CC 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 4FEC20 802181D0 D7B60020 */ ldc1 $f22, 0x20($sp)
|
||||
/* 4FEC24 802181D4 D7B40018 */ ldc1 $f20, 0x18($sp)
|
||||
/* 4FEC28 802181D8 3062FFFF */ andi $v0, $v1, 0xffff
|
||||
/* 4FEC2C 802181DC 03E00008 */ jr $ra
|
||||
/* 4FEC30 802181E0 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -0,0 +1,69 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802181E4_4FEC34
|
||||
/* 4FEC34 802181E4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 4FEC38 802181E8 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 4FEC3C 802181EC 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 4FEC40 802181F0 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 4FEC44 802181F4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 4FEC48 802181F8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 4FEC4C 802181FC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 4FEC50 80218200 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 4FEC54 80218204 8E92000C */ lw $s2, 0xc($s4)
|
||||
/* 4FEC58 80218208 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FEC5C 8021820C 0C0B1EAF */ jal get_variable
|
||||
/* 4FEC60 80218210 26520004 */ addiu $s2, $s2, 4
|
||||
/* 4FEC64 80218214 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FEC68 80218218 26520004 */ addiu $s2, $s2, 4
|
||||
/* 4FEC6C 8021821C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 4FEC70 80218220 0C0B1EAF */ jal get_variable
|
||||
/* 4FEC74 80218224 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 4FEC78 80218228 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FEC7C 8021822C 26520004 */ addiu $s2, $s2, 4
|
||||
/* 4FEC80 80218230 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 4FEC84 80218234 0C0B1EAF */ jal get_variable
|
||||
/* 4FEC88 80218238 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 4FEC8C 8021823C 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 4FEC90 80218240 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FEC94 80218244 26520004 */ addiu $s2, $s2, 4
|
||||
/* 4FEC98 80218248 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 4FEC9C 8021824C 0C0B1EAF */ jal get_variable
|
||||
/* 4FECA0 80218250 02709823 */ subu $s3, $s3, $s0
|
||||
/* 4FECA4 80218254 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 4FECA8 80218258 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 4FECAC 8021825C 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FECB0 80218260 0C0B1EAF */ jal get_variable
|
||||
/* 4FECB4 80218264 02118023 */ subu $s0, $s0, $s1
|
||||
/* 4FECB8 80218268 16600006 */ bnez $s3, .L80218284
|
||||
/* 4FECBC 8021826C 00000000 */ nop
|
||||
/* 4FECC0 80218270 16000004 */ bnez $s0, .L80218284
|
||||
/* 4FECC4 80218274 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 4FECC8 80218278 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FECCC 8021827C 080860AB */ j .L802182AC
|
||||
/* 4FECD0 80218280 0040302D */ daddu $a2, $v0, $zero
|
||||
.L80218284:
|
||||
/* 4FECD4 80218284 44936000 */ mtc1 $s3, $f12
|
||||
/* 4FECD8 80218288 00000000 */ nop
|
||||
/* 4FECDC 8021828C 46806320 */ cvt.s.w $f12, $f12
|
||||
/* 4FECE0 80218290 44907000 */ mtc1 $s0, $f14
|
||||
/* 4FECE4 80218294 00000000 */ nop
|
||||
/* 4FECE8 80218298 0C086016 */ jal func_80218058_4FEAA8
|
||||
/* 4FECEC 8021829C 468073A0 */ cvt.s.w $f14, $f14
|
||||
/* 4FECF0 802182A0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 4FECF4 802182A4 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FECF8 802182A8 2446FFA6 */ addiu $a2, $v0, -0x5a
|
||||
.L802182AC:
|
||||
/* 4FECFC 802182AC 0C0B2026 */ jal set_variable
|
||||
/* 4FED00 802182B0 00000000 */ nop
|
||||
/* 4FED04 802182B4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4FED08 802182B8 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 4FED0C 802182BC 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 4FED10 802182C0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 4FED14 802182C4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 4FED18 802182C8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 4FED1C 802182CC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 4FED20 802182D0 03E00008 */ jr $ra
|
||||
/* 4FED24 802182D4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
/* 4FED28 802182D8 00000000 */ nop
|
||||
/* 4FED2C 802182DC 00000000 */ nop
|
111
asm/nonmatchings/battle/area_arn/4FED30/func_80218338_4FED88.s
Normal file
111
asm/nonmatchings/battle/area_arn/4FED30/func_80218338_4FED88.s
Normal file
@ -0,0 +1,111 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218338_4FED88
|
||||
/* 4FED88 80218338 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 4FED8C 8021833C F7B60020 */ sdc1 $f22, 0x20($sp)
|
||||
/* 4FED90 80218340 46006586 */ mov.s $f22, $f12
|
||||
/* 4FED94 80218344 F7B40018 */ sdc1 $f20, 0x18($sp)
|
||||
/* 4FED98 80218348 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 4FED9C 8021834C 0C00A3FC */ jal length2D
|
||||
/* 4FEDA0 80218350 46007506 */ mov.s $f20, $f14
|
||||
/* 4FEDA4 80218354 4600A18D */ trunc.w.s $f6, $f20
|
||||
/* 4FEDA8 80218358 44023000 */ mfc1 $v0, $f6
|
||||
/* 4FEDAC 8021835C 00000000 */ nop
|
||||
/* 4FEDB0 80218360 04420001 */ bltzl $v0, .L80218368
|
||||
/* 4FEDB4 80218364 00021023 */ negu $v0, $v0
|
||||
.L80218368:
|
||||
/* 4FEDB8 80218368 44821000 */ mtc1 $v0, $f2
|
||||
/* 4FEDBC 8021836C 00000000 */ nop
|
||||
/* 4FEDC0 80218370 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 4FEDC4 80218374 46001103 */ div.s $f4, $f2, $f0
|
||||
/* 4FEDC8 80218378 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 4FEDCC 8021837C 2406005A */ addiu $a2, $zero, 0x5a
|
||||
/* 4FEDD0 80218380 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 4FEDD4 80218384 3C078022 */ lui $a3, %hi(D_8021FD00)
|
||||
/* 4FEDD8 80218388 24E7FD00 */ addiu $a3, $a3, %lo(D_8021FD00)
|
||||
/* 4FEDDC 8021838C 30C2FFFF */ andi $v0, $a2, 0xffff
|
||||
.L80218390:
|
||||
/* 4FEDE0 80218390 3083FFFF */ andi $v1, $a0, 0xffff
|
||||
/* 4FEDE4 80218394 00431023 */ subu $v0, $v0, $v1
|
||||
/* 4FEDE8 80218398 00021FC2 */ srl $v1, $v0, 0x1f
|
||||
/* 4FEDEC 8021839C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 4FEDF0 802183A0 00021043 */ sra $v0, $v0, 1
|
||||
/* 4FEDF4 802183A4 00821821 */ addu $v1, $a0, $v0
|
||||
/* 4FEDF8 802183A8 3062FFFF */ andi $v0, $v1, 0xffff
|
||||
/* 4FEDFC 802183AC 00021080 */ sll $v0, $v0, 2
|
||||
/* 4FEE00 802183B0 00471021 */ addu $v0, $v0, $a3
|
||||
/* 4FEE04 802183B4 C4400000 */ lwc1 $f0, ($v0)
|
||||
/* 4FEE08 802183B8 4604003C */ c.lt.s $f0, $f4
|
||||
/* 4FEE0C 802183BC 00000000 */ nop
|
||||
/* 4FEE10 802183C0 45020002 */ bc1fl .L802183CC
|
||||
/* 4FEE14 802183C4 0060302D */ daddu $a2, $v1, $zero
|
||||
/* 4FEE18 802183C8 0060202D */ daddu $a0, $v1, $zero
|
||||
.L802183CC:
|
||||
/* 4FEE1C 802183CC 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 4FEE20 802183D0 30A2FFFF */ andi $v0, $a1, 0xffff
|
||||
/* 4FEE24 802183D4 2C420007 */ sltiu $v0, $v0, 7
|
||||
/* 4FEE28 802183D8 1440FFED */ bnez $v0, .L80218390
|
||||
/* 4FEE2C 802183DC 30C2FFFF */ andi $v0, $a2, 0xffff
|
||||
/* 4FEE30 802183E0 3082FFFF */ andi $v0, $a0, 0xffff
|
||||
/* 4FEE34 802183E4 00021080 */ sll $v0, $v0, 2
|
||||
/* 4FEE38 802183E8 30C3FFFF */ andi $v1, $a2, 0xffff
|
||||
/* 4FEE3C 802183EC 3C018022 */ lui $at, %hi(D_8021FD00)
|
||||
/* 4FEE40 802183F0 00220821 */ addu $at, $at, $v0
|
||||
/* 4FEE44 802183F4 C422FD00 */ lwc1 $f2, %lo(D_8021FD00)($at)
|
||||
/* 4FEE48 802183F8 00031880 */ sll $v1, $v1, 2
|
||||
/* 4FEE4C 802183FC 46041081 */ sub.s $f2, $f2, $f4
|
||||
/* 4FEE50 80218400 3C018022 */ lui $at, %hi(D_8021FD00)
|
||||
/* 4FEE54 80218404 00230821 */ addu $at, $at, $v1
|
||||
/* 4FEE58 80218408 C420FD00 */ lwc1 $f0, %lo(D_8021FD00)($at)
|
||||
/* 4FEE5C 8021840C 46040001 */ sub.s $f0, $f0, $f4
|
||||
/* 4FEE60 80218410 46001085 */ abs.s $f2, $f2
|
||||
/* 4FEE64 80218414 46000005 */ abs.s $f0, $f0
|
||||
/* 4FEE68 80218418 4600103C */ c.lt.s $f2, $f0
|
||||
/* 4FEE6C 8021841C 00000000 */ nop
|
||||
/* 4FEE70 80218420 45000002 */ bc1f .L8021842C
|
||||
/* 4FEE74 80218424 00C0182D */ daddu $v1, $a2, $zero
|
||||
/* 4FEE78 80218428 0080182D */ daddu $v1, $a0, $zero
|
||||
.L8021842C:
|
||||
/* 4FEE7C 8021842C 44800000 */ mtc1 $zero, $f0
|
||||
/* 4FEE80 80218430 00000000 */ nop
|
||||
/* 4FEE84 80218434 4600B03C */ c.lt.s $f22, $f0
|
||||
/* 4FEE88 80218438 00000000 */ nop
|
||||
/* 4FEE8C 8021843C 4500000A */ bc1f .L80218468
|
||||
/* 4FEE90 80218440 00000000 */ nop
|
||||
/* 4FEE94 80218444 4614003E */ c.le.s $f0, $f20
|
||||
/* 4FEE98 80218448 00000000 */ nop
|
||||
/* 4FEE9C 8021844C 45000004 */ bc1f .L80218460
|
||||
/* 4FEEA0 80218450 240200B4 */ addiu $v0, $zero, 0xb4
|
||||
/* 4FEEA4 80218454 00431823 */ subu $v1, $v0, $v1
|
||||
/* 4FEEA8 80218458 44800000 */ mtc1 $zero, $f0
|
||||
/* 4FEEAC 8021845C 00000000 */ nop
|
||||
.L80218460:
|
||||
/* 4FEEB0 80218460 4600B03C */ c.lt.s $f22, $f0
|
||||
/* 4FEEB4 80218464 00000000 */ nop
|
||||
.L80218468:
|
||||
/* 4FEEB8 80218468 45000005 */ bc1f .L80218480
|
||||
/* 4FEEBC 8021846C 00000000 */ nop
|
||||
/* 4FEEC0 80218470 4600A03C */ c.lt.s $f20, $f0
|
||||
/* 4FEEC4 80218474 00000000 */ nop
|
||||
/* 4FEEC8 80218478 45030001 */ bc1tl .L80218480
|
||||
/* 4FEECC 8021847C 246300B4 */ addiu $v1, $v1, 0xb4
|
||||
.L80218480:
|
||||
/* 4FEED0 80218480 44800000 */ mtc1 $zero, $f0
|
||||
/* 4FEED4 80218484 00000000 */ nop
|
||||
/* 4FEED8 80218488 4616003E */ c.le.s $f0, $f22
|
||||
/* 4FEEDC 8021848C 00000000 */ nop
|
||||
/* 4FEEE0 80218490 45000006 */ bc1f .L802184AC
|
||||
/* 4FEEE4 80218494 00000000 */ nop
|
||||
/* 4FEEE8 80218498 4600A03C */ c.lt.s $f20, $f0
|
||||
/* 4FEEEC 8021849C 00000000 */ nop
|
||||
/* 4FEEF0 802184A0 45000002 */ bc1f .L802184AC
|
||||
/* 4FEEF4 802184A4 24020168 */ addiu $v0, $zero, 0x168
|
||||
/* 4FEEF8 802184A8 00431823 */ subu $v1, $v0, $v1
|
||||
.L802184AC:
|
||||
/* 4FEEFC 802184AC 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 4FEF00 802184B0 D7B60020 */ ldc1 $f22, 0x20($sp)
|
||||
/* 4FEF04 802184B4 D7B40018 */ ldc1 $f20, 0x18($sp)
|
||||
/* 4FEF08 802184B8 3062FFFF */ andi $v0, $v1, 0xffff
|
||||
/* 4FEF0C 802184BC 03E00008 */ jr $ra
|
||||
/* 4FEF10 802184C0 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -0,0 +1,69 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802184C4_4FEF14
|
||||
/* 4FEF14 802184C4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 4FEF18 802184C8 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 4FEF1C 802184CC 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 4FEF20 802184D0 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 4FEF24 802184D4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 4FEF28 802184D8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 4FEF2C 802184DC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 4FEF30 802184E0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 4FEF34 802184E4 8E92000C */ lw $s2, 0xc($s4)
|
||||
/* 4FEF38 802184E8 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FEF3C 802184EC 0C0B1EAF */ jal get_variable
|
||||
/* 4FEF40 802184F0 26520004 */ addiu $s2, $s2, 4
|
||||
/* 4FEF44 802184F4 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FEF48 802184F8 26520004 */ addiu $s2, $s2, 4
|
||||
/* 4FEF4C 802184FC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 4FEF50 80218500 0C0B1EAF */ jal get_variable
|
||||
/* 4FEF54 80218504 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 4FEF58 80218508 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FEF5C 8021850C 26520004 */ addiu $s2, $s2, 4
|
||||
/* 4FEF60 80218510 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 4FEF64 80218514 0C0B1EAF */ jal get_variable
|
||||
/* 4FEF68 80218518 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 4FEF6C 8021851C 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 4FEF70 80218520 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FEF74 80218524 26520004 */ addiu $s2, $s2, 4
|
||||
/* 4FEF78 80218528 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 4FEF7C 8021852C 0C0B1EAF */ jal get_variable
|
||||
/* 4FEF80 80218530 02709823 */ subu $s3, $s3, $s0
|
||||
/* 4FEF84 80218534 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 4FEF88 80218538 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 4FEF8C 8021853C 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FEF90 80218540 0C0B1EAF */ jal get_variable
|
||||
/* 4FEF94 80218544 02118023 */ subu $s0, $s0, $s1
|
||||
/* 4FEF98 80218548 16600006 */ bnez $s3, .L80218564
|
||||
/* 4FEF9C 8021854C 00000000 */ nop
|
||||
/* 4FEFA0 80218550 16000004 */ bnez $s0, .L80218564
|
||||
/* 4FEFA4 80218554 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 4FEFA8 80218558 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FEFAC 8021855C 08086163 */ j .L8021858C
|
||||
/* 4FEFB0 80218560 0040302D */ daddu $a2, $v0, $zero
|
||||
.L80218564:
|
||||
/* 4FEFB4 80218564 44936000 */ mtc1 $s3, $f12
|
||||
/* 4FEFB8 80218568 00000000 */ nop
|
||||
/* 4FEFBC 8021856C 46806320 */ cvt.s.w $f12, $f12
|
||||
/* 4FEFC0 80218570 44907000 */ mtc1 $s0, $f14
|
||||
/* 4FEFC4 80218574 00000000 */ nop
|
||||
/* 4FEFC8 80218578 0C0860CE */ jal func_80218338_4FED88
|
||||
/* 4FEFCC 8021857C 468073A0 */ cvt.s.w $f14, $f14
|
||||
/* 4FEFD0 80218580 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 4FEFD4 80218584 8E450000 */ lw $a1, ($s2)
|
||||
/* 4FEFD8 80218588 2446FFA6 */ addiu $a2, $v0, -0x5a
|
||||
.L8021858C:
|
||||
/* 4FEFDC 8021858C 0C0B2026 */ jal set_variable
|
||||
/* 4FEFE0 80218590 00000000 */ nop
|
||||
/* 4FEFE4 80218594 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4FEFE8 80218598 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 4FEFEC 8021859C 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 4FEFF0 802185A0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 4FEFF4 802185A4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 4FEFF8 802185A8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 4FEFFC 802185AC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 4FF000 802185B0 03E00008 */ jr $ra
|
||||
/* 4FF004 802185B4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
/* 4FF008 802185B8 00000000 */ nop
|
||||
/* 4FF00C 802185BC 00000000 */ nop
|
@ -0,0 +1,64 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218680_4FF0D0
|
||||
/* 4FF0D0 80218680 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 4FF0D4 80218684 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 4FF0D8 80218688 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 4FF0DC 8021868C AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 4FF0E0 80218690 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 4FF0E4 80218694 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 4FF0E8 80218698 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 4FF0EC 8021869C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 4FF0F0 802186A0 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 4FF0F4 802186A4 8E050000 */ lw $a1, ($s0)
|
||||
/* 4FF0F8 802186A8 0C0B1EAF */ jal get_variable
|
||||
/* 4FF0FC 802186AC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 4FF100 802186B0 8E050000 */ lw $a1, ($s0)
|
||||
/* 4FF104 802186B4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 4FF108 802186B8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 4FF10C 802186BC 0C0B1EAF */ jal get_variable
|
||||
/* 4FF110 802186C0 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 4FF114 802186C4 8E050000 */ lw $a1, ($s0)
|
||||
/* 4FF118 802186C8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 4FF11C 802186CC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 4FF120 802186D0 0C0B1EAF */ jal get_variable
|
||||
/* 4FF124 802186D4 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* 4FF128 802186D8 8E050000 */ lw $a1, ($s0)
|
||||
/* 4FF12C 802186DC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 4FF130 802186E0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 4FF134 802186E4 0C0B1EAF */ jal get_variable
|
||||
/* 4FF138 802186E8 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 4FF13C 802186EC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 4FF140 802186F0 8E050000 */ lw $a1, ($s0)
|
||||
/* 4FF144 802186F4 0C0B210B */ jal get_float_variable
|
||||
/* 4FF148 802186F8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 4FF14C 802186FC 8E42000C */ lw $v0, 0xc($s2)
|
||||
/* 4FF150 80218700 44941000 */ mtc1 $s4, $f2
|
||||
/* 4FF154 80218704 00000000 */ nop
|
||||
/* 4FF158 80218708 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 4FF15C 8021870C E4420004 */ swc1 $f2, 4($v0)
|
||||
/* 4FF160 80218710 8E42000C */ lw $v0, 0xc($s2)
|
||||
/* 4FF164 80218714 44931000 */ mtc1 $s3, $f2
|
||||
/* 4FF168 80218718 00000000 */ nop
|
||||
/* 4FF16C 8021871C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 4FF170 80218720 E4420008 */ swc1 $f2, 8($v0)
|
||||
/* 4FF174 80218724 8E42000C */ lw $v0, 0xc($s2)
|
||||
/* 4FF178 80218728 44901000 */ mtc1 $s0, $f2
|
||||
/* 4FF17C 8021872C 00000000 */ nop
|
||||
/* 4FF180 80218730 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 4FF184 80218734 E442000C */ swc1 $f2, 0xc($v0)
|
||||
/* 4FF188 80218738 8E43000C */ lw $v1, 0xc($s2)
|
||||
/* 4FF18C 8021873C E4600034 */ swc1 $f0, 0x34($v1)
|
||||
/* 4FF190 80218740 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 4FF194 80218744 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 4FF198 80218748 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 4FF19C 8021874C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 4FF1A0 80218750 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 4FF1A4 80218754 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 4FF1A8 80218758 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4FF1AC 8021875C 03E00008 */ jr $ra
|
||||
/* 4FF1B0 80218760 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
/* 4FF1B4 80218764 00000000 */ nop
|
||||
/* 4FF1B8 80218768 00000000 */ nop
|
||||
/* 4FF1BC 8021876C 00000000 */ nop
|
@ -0,0 +1,88 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218430_6DE1F0
|
||||
/* 6DE1F0 80218430 27BDFF78 */ addiu $sp, $sp, -0x88
|
||||
/* 6DE1F4 80218434 AFB10054 */ sw $s1, 0x54($sp)
|
||||
/* 6DE1F8 80218438 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 6DE1FC 8021843C AFBF0060 */ sw $ra, 0x60($sp)
|
||||
/* 6DE200 80218440 AFB3005C */ sw $s3, 0x5c($sp)
|
||||
/* 6DE204 80218444 AFB20058 */ sw $s2, 0x58($sp)
|
||||
/* 6DE208 80218448 AFB00050 */ sw $s0, 0x50($sp)
|
||||
/* 6DE20C 8021844C F7BA0080 */ sdc1 $f26, 0x80($sp)
|
||||
/* 6DE210 80218450 F7B80078 */ sdc1 $f24, 0x78($sp)
|
||||
/* 6DE214 80218454 F7B60070 */ sdc1 $f22, 0x70($sp)
|
||||
/* 6DE218 80218458 F7B40068 */ sdc1 $f20, 0x68($sp)
|
||||
/* 6DE21C 8021845C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 6DE220 80218460 8E050000 */ lw $a1, ($s0)
|
||||
/* 6DE224 80218464 0C0B1EAF */ jal get_variable
|
||||
/* 6DE228 80218468 26100004 */ addiu $s0, $s0, 4
|
||||
/* 6DE22C 8021846C 4482A000 */ mtc1 $v0, $f20
|
||||
/* 6DE230 80218470 00000000 */ nop
|
||||
/* 6DE234 80218474 4680A521 */ cvt.d.w $f20, $f20
|
||||
/* 6DE238 80218478 3C014024 */ lui $at, 0x4024
|
||||
/* 6DE23C 8021847C 44810800 */ mtc1 $at, $f1
|
||||
/* 6DE240 80218480 44800000 */ mtc1 $zero, $f0
|
||||
/* 6DE244 80218484 8E120000 */ lw $s2, ($s0)
|
||||
/* 6DE248 80218488 26100004 */ addiu $s0, $s0, 4
|
||||
/* 6DE24C 8021848C 4620A503 */ div.d $f20, $f20, $f0
|
||||
/* 6DE250 80218490 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 6DE254 80218494 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 6DE258 80218498 44810000 */ mtc1 $at, $f0
|
||||
/* 6DE25C 8021849C 4620A520 */ cvt.s.d $f20, $f20
|
||||
/* 6DE260 802184A0 4600A502 */ mul.s $f20, $f20, $f0
|
||||
/* 6DE264 802184A4 00000000 */ nop
|
||||
/* 6DE268 802184A8 8E130000 */ lw $s3, ($s0)
|
||||
/* 6DE26C 802184AC 8E100004 */ lw $s0, 4($s0)
|
||||
/* 6DE270 802184B0 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 6DE274 802184B4 44810000 */ mtc1 $at, $f0
|
||||
/* 6DE278 802184B8 3C014316 */ lui $at, 0x4316
|
||||
/* 6DE27C 802184BC 4481C000 */ mtc1 $at, $f24
|
||||
/* 6DE280 802184C0 4600A503 */ div.s $f20, $f20, $f0
|
||||
/* 6DE284 802184C4 0C00A85B */ jal sin_rad
|
||||
/* 6DE288 802184C8 4600A306 */ mov.s $f12, $f20
|
||||
/* 6DE28C 802184CC 46180582 */ mul.s $f22, $f0, $f24
|
||||
/* 6DE290 802184D0 00000000 */ nop
|
||||
/* 6DE294 802184D4 4480D000 */ mtc1 $zero, $f26
|
||||
/* 6DE298 802184D8 00000000 */ nop
|
||||
/* 6DE29C 802184DC 461AB580 */ add.s $f22, $f22, $f26
|
||||
/* 6DE2A0 802184E0 0C00A874 */ jal cos_rad
|
||||
/* 6DE2A4 802184E4 4600A306 */ mov.s $f12, $f20
|
||||
/* 6DE2A8 802184E8 46180502 */ mul.s $f20, $f0, $f24
|
||||
/* 6DE2AC 802184EC 00000000 */ nop
|
||||
/* 6DE2B0 802184F0 3C01C37C */ lui $at, 0xc37c
|
||||
/* 6DE2B4 802184F4 4481C000 */ mtc1 $at, $f24
|
||||
/* 6DE2B8 802184F8 C62000B8 */ lwc1 $f0, 0xb8($s1)
|
||||
/* 6DE2BC 802184FC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6DE2C0 80218500 4600C601 */ sub.s $f24, $f24, $f0
|
||||
/* 6DE2C4 80218504 C62000B0 */ lwc1 $f0, 0xb0($s1)
|
||||
/* 6DE2C8 80218508 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6DE2CC 8021850C 4600B581 */ sub.s $f22, $f22, $f0
|
||||
/* 6DE2D0 80218510 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6DE2D4 80218514 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 6DE2D8 80218518 461AA500 */ add.s $f20, $f20, $f26
|
||||
/* 6DE2DC 8021851C C62000B4 */ lwc1 $f0, 0xb4($s1)
|
||||
/* 6DE2E0 80218520 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6DE2E4 80218524 4406B000 */ mfc1 $a2, $f22
|
||||
/* 6DE2E8 80218528 0C0B2190 */ jal set_float_variable
|
||||
/* 6DE2EC 8021852C 4600A501 */ sub.s $f20, $f20, $f0
|
||||
/* 6DE2F0 80218530 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6DE2F4 80218534 4406A000 */ mfc1 $a2, $f20
|
||||
/* 6DE2F8 80218538 0C0B2190 */ jal set_float_variable
|
||||
/* 6DE2FC 8021853C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 6DE300 80218540 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6DE304 80218544 4406C000 */ mfc1 $a2, $f24
|
||||
/* 6DE308 80218548 0C0B2190 */ jal set_float_variable
|
||||
/* 6DE30C 8021854C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 6DE310 80218550 8FBF0060 */ lw $ra, 0x60($sp)
|
||||
/* 6DE314 80218554 8FB3005C */ lw $s3, 0x5c($sp)
|
||||
/* 6DE318 80218558 8FB20058 */ lw $s2, 0x58($sp)
|
||||
/* 6DE31C 8021855C 8FB10054 */ lw $s1, 0x54($sp)
|
||||
/* 6DE320 80218560 8FB00050 */ lw $s0, 0x50($sp)
|
||||
/* 6DE324 80218564 D7BA0080 */ ldc1 $f26, 0x80($sp)
|
||||
/* 6DE328 80218568 D7B80078 */ ldc1 $f24, 0x78($sp)
|
||||
/* 6DE32C 8021856C D7B60070 */ ldc1 $f22, 0x70($sp)
|
||||
/* 6DE330 80218570 D7B40068 */ ldc1 $f20, 0x68($sp)
|
||||
/* 6DE334 80218574 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6DE338 80218578 03E00008 */ jr $ra
|
||||
/* 6DE33C 8021857C 27BD0088 */ addiu $sp, $sp, 0x88
|
@ -0,0 +1,28 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218580_6DE340
|
||||
/* 6DE340 80218580 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 6DE344 80218584 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6DE348 80218588 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 6DE34C 8021858C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 6DE350 80218590 0C046C04 */ jal get_model_list_index_from_tree_index
|
||||
/* 6DE354 80218594 8E0400AC */ lw $a0, 0xac($s0)
|
||||
/* 6DE358 80218598 0C046B4C */ jal get_model_from_list_index
|
||||
/* 6DE35C 8021859C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 6DE360 802185A0 C4400098 */ lwc1 $f0, 0x98($v0)
|
||||
/* 6DE364 802185A4 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 6DE368 802185A8 E60200B0 */ swc1 $f2, 0xb0($s0)
|
||||
/* 6DE36C 802185AC C440009C */ lwc1 $f0, 0x9c($v0)
|
||||
/* 6DE370 802185B0 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 6DE374 802185B4 E60200B4 */ swc1 $f2, 0xb4($s0)
|
||||
/* 6DE378 802185B8 C44000A0 */ lwc1 $f0, 0xa0($v0)
|
||||
/* 6DE37C 802185BC 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 6DE380 802185C0 E60200B8 */ swc1 $f2, 0xb8($s0)
|
||||
/* 6DE384 802185C4 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 6DE388 802185C8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6DE38C 802185CC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6DE390 802185D0 03E00008 */ jr $ra
|
||||
/* 6DE394 802185D4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 6DE398 802185D8 00000000 */ nop
|
||||
/* 6DE39C 802185DC 00000000 */ nop
|
@ -0,0 +1,36 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218770_6DE530
|
||||
/* 6DE530 80218770 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 6DE534 80218774 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 6DE538 80218778 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 6DE53C 8021877C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 6DE540 80218780 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6DE544 80218784 8C7000DC */ lw $s0, 0xdc($v1)
|
||||
/* 6DE548 80218788 24020006 */ addiu $v0, $zero, 6
|
||||
/* 6DE54C 8021878C A0620178 */ sb $v0, 0x178($v1)
|
||||
/* 6DE550 80218790 A460017A */ sh $zero, 0x17a($v1)
|
||||
/* 6DE554 80218794 3C048009 */ lui $a0, %hi(D_8008FC44)
|
||||
/* 6DE558 80218798 8C84FC44 */ lw $a0, %lo(D_8008FC44)($a0)
|
||||
/* 6DE55C 8021879C 24020098 */ addiu $v0, $zero, 0x98
|
||||
/* 6DE560 802187A0 A462017C */ sh $v0, 0x17c($v1)
|
||||
/* 6DE564 802187A4 AC640184 */ sw $a0, 0x184($v1)
|
||||
/* 6DE568 802187A8 0C098C0B */ jal player_create_target_list
|
||||
/* 6DE56C 802187AC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 6DE570 802187B0 8203040D */ lb $v1, 0x40d($s0)
|
||||
/* 6DE574 802187B4 A2000425 */ sb $zero, 0x425($s0)
|
||||
/* 6DE578 802187B8 00031080 */ sll $v0, $v1, 2
|
||||
/* 6DE57C 802187BC 00431021 */ addu $v0, $v0, $v1
|
||||
/* 6DE580 802187C0 00021080 */ sll $v0, $v0, 2
|
||||
/* 6DE584 802187C4 2442022C */ addiu $v0, $v0, 0x22c
|
||||
/* 6DE588 802187C8 02021021 */ addu $v0, $s0, $v0
|
||||
/* 6DE58C 802187CC 94430000 */ lhu $v1, ($v0)
|
||||
/* 6DE590 802187D0 A6030428 */ sh $v1, 0x428($s0)
|
||||
/* 6DE594 802187D4 90420003 */ lbu $v0, 3($v0)
|
||||
/* 6DE598 802187D8 A2020426 */ sb $v0, 0x426($s0)
|
||||
/* 6DE59C 802187DC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 6DE5A0 802187E0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6DE5A4 802187E4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6DE5A8 802187E8 03E00008 */ jr $ra
|
||||
/* 6DE5AC 802187EC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,77 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802180CC_5B157C
|
||||
/* 5B157C 802180CC 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 5B1580 802180D0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 5B1584 802180D4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5B1588 802180D8 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 5B158C 802180DC AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 5B1590 802180E0 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 5B1594 802180E4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 5B1598 802180E8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5B159C 802180EC F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 5B15A0 802180F0 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 5B15A4 802180F4 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5B15A8 802180F8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B15AC 802180FC 0C0B1EAF */ jal get_variable
|
||||
/* 5B15B0 80218100 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B15B4 80218104 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B15B8 80218108 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B15BC 8021810C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B15C0 80218110 0C0B1EAF */ jal get_variable
|
||||
/* 5B15C4 80218114 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 5B15C8 80218118 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B15CC 8021811C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B15D0 80218120 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B15D4 80218124 0C0B1EAF */ jal get_variable
|
||||
/* 5B15D8 80218128 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* 5B15DC 8021812C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B15E0 80218130 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B15E4 80218134 0C0B1EAF */ jal get_variable
|
||||
/* 5B15E8 80218138 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 5B15EC 8021813C 4482A000 */ mtc1 $v0, $f20
|
||||
/* 5B15F0 80218140 00000000 */ nop
|
||||
/* 5B15F4 80218144 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 5B15F8 80218148 0C00A8D4 */ jal cos_deg
|
||||
/* 5B15FC 8021814C 4600A306 */ mov.s $f12, $f20
|
||||
/* 5B1600 80218150 4492B000 */ mtc1 $s2, $f22
|
||||
/* 5B1604 80218154 00000000 */ nop
|
||||
/* 5B1608 80218158 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 5B160C 8021815C 4600B002 */ mul.s $f0, $f22, $f0
|
||||
/* 5B1610 80218160 00000000 */ nop
|
||||
/* 5B1614 80218164 4600A306 */ mov.s $f12, $f20
|
||||
/* 5B1618 80218168 4493A000 */ mtc1 $s3, $f20
|
||||
/* 5B161C 8021816C 00000000 */ nop
|
||||
/* 5B1620 80218170 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 5B1624 80218174 4600A500 */ add.s $f20, $f20, $f0
|
||||
/* 5B1628 80218178 0C00A8BB */ jal sin_deg
|
||||
/* 5B162C 8021817C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1630 80218180 4600B582 */ mul.s $f22, $f22, $f0
|
||||
/* 5B1634 80218184 00000000 */ nop
|
||||
/* 5B1638 80218188 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B163C 8021818C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1640 80218190 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1644 80218194 4406A000 */ mfc1 $a2, $f20
|
||||
/* 5B1648 80218198 4494A000 */ mtc1 $s4, $f20
|
||||
/* 5B164C 8021819C 00000000 */ nop
|
||||
/* 5B1650 802181A0 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 5B1654 802181A4 0C0B2190 */ jal set_float_variable
|
||||
/* 5B1658 802181A8 4616A501 */ sub.s $f20, $f20, $f22
|
||||
/* 5B165C 802181AC 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1660 802181B0 4406A000 */ mfc1 $a2, $f20
|
||||
/* 5B1664 802181B4 0C0B2190 */ jal set_float_variable
|
||||
/* 5B1668 802181B8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B166C 802181BC 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 5B1670 802181C0 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 5B1674 802181C4 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 5B1678 802181C8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 5B167C 802181CC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 5B1680 802181D0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5B1684 802181D4 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 5B1688 802181D8 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 5B168C 802181DC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B1690 802181E0 03E00008 */ jr $ra
|
||||
/* 5B1694 802181E4 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
/* 5B1698 802181E8 00000000 */ nop
|
||||
/* 5B169C 802181EC 00000000 */ nop
|
@ -0,0 +1,73 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8021844C_5B18FC
|
||||
/* 5B18FC 8021844C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5B1900 80218450 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 5B1904 80218454 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5B1908 80218458 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 5B190C 8021845C AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 5B1910 80218460 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 5B1914 80218464 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 5B1918 80218468 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5B191C 8021846C F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 5B1920 80218470 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5B1924 80218474 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1928 80218478 0C0B1EAF */ jal get_variable
|
||||
/* 5B192C 8021847C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1930 80218480 8E140000 */ lw $s4, ($s0)
|
||||
/* 5B1934 80218484 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1938 80218488 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B193C 8021848C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1940 80218490 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1944 80218494 0C0B1EAF */ jal get_variable
|
||||
/* 5B1948 80218498 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 5B194C 8021849C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1950 802184A0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1954 802184A4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1958 802184A8 0C0B1EAF */ jal get_variable
|
||||
/* 5B195C 802184AC 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 5B1960 802184B0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1964 802184B4 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1968 802184B8 0C0B210B */ jal get_float_variable
|
||||
/* 5B196C 802184BC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 5B1970 802184C0 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 5B1974 802184C4 34210FD8 */ ori $at, $at, 0xfd8
|
||||
/* 5B1978 802184C8 44814000 */ mtc1 $at, $f8
|
||||
/* 5B197C 802184CC 44922000 */ mtc1 $s2, $f4
|
||||
/* 5B1980 802184D0 00000000 */ nop
|
||||
/* 5B1984 802184D4 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 5B1988 802184D8 46082202 */ mul.s $f8, $f4, $f8
|
||||
/* 5B198C 802184DC 00000000 */ nop
|
||||
/* 5B1990 802184E0 44903000 */ mtc1 $s0, $f6
|
||||
/* 5B1994 802184E4 00000000 */ nop
|
||||
/* 5B1998 802184E8 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 5B199C 802184EC 3C013F80 */ lui $at, 0x3f80
|
||||
/* 5B19A0 802184F0 44811000 */ mtc1 $at, $f2
|
||||
/* 5B19A4 802184F4 46062103 */ div.s $f4, $f4, $f6
|
||||
/* 5B19A8 802184F8 46041081 */ sub.s $f2, $f2, $f4
|
||||
/* 5B19AC 802184FC 46020502 */ mul.s $f20, $f0, $f2
|
||||
/* 5B19B0 80218500 00000000 */ nop
|
||||
/* 5B19B4 80218504 44936000 */ mtc1 $s3, $f12
|
||||
/* 5B19B8 80218508 00000000 */ nop
|
||||
/* 5B19BC 8021850C 46806320 */ cvt.s.w $f12, $f12
|
||||
/* 5B19C0 80218510 0C00A874 */ jal cos_rad
|
||||
/* 5B19C4 80218514 460C4303 */ div.s $f12, $f8, $f12
|
||||
/* 5B19C8 80218518 4600A502 */ mul.s $f20, $f20, $f0
|
||||
/* 5B19CC 8021851C 00000000 */ nop
|
||||
/* 5B19D0 80218520 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B19D4 80218524 4600A28D */ trunc.w.s $f10, $f20
|
||||
/* 5B19D8 80218528 44065000 */ mfc1 $a2, $f10
|
||||
/* 5B19DC 8021852C 0C0B2026 */ jal set_variable
|
||||
/* 5B19E0 80218530 0280282D */ daddu $a1, $s4, $zero
|
||||
/* 5B19E4 80218534 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 5B19E8 80218538 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 5B19EC 8021853C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 5B19F0 80218540 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 5B19F4 80218544 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 5B19F8 80218548 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5B19FC 8021854C D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 5B1A00 80218550 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B1A04 80218554 03E00008 */ jr $ra
|
||||
/* 5B1A08 80218558 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
/* 5B1A0C 8021855C 00000000 */ nop
|
@ -0,0 +1,91 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218560_5B1A10
|
||||
/* 5B1A10 80218560 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 5B1A14 80218564 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 5B1A18 80218568 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5B1A1C 8021856C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 5B1A20 80218570 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 5B1A24 80218574 F7BE0058 */ sdc1 $f30, 0x58($sp)
|
||||
/* 5B1A28 80218578 F7BC0050 */ sdc1 $f28, 0x50($sp)
|
||||
/* 5B1A2C 8021857C F7BA0048 */ sdc1 $f26, 0x48($sp)
|
||||
/* 5B1A30 80218580 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 5B1A34 80218584 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 5B1A38 80218588 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 5B1A3C 8021858C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5B1A40 80218590 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1A44 80218594 0C0B210B */ jal get_float_variable
|
||||
/* 5B1A48 80218598 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1A4C 8021859C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1A50 802185A0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1A54 802185A4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1A58 802185A8 0C0B210B */ jal get_float_variable
|
||||
/* 5B1A5C 802185AC 46000786 */ mov.s $f30, $f0
|
||||
/* 5B1A60 802185B0 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1A64 802185B4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1A68 802185B8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1A6C 802185BC 0C0B210B */ jal get_float_variable
|
||||
/* 5B1A70 802185C0 46000506 */ mov.s $f20, $f0
|
||||
/* 5B1A74 802185C4 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1A78 802185C8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1A7C 802185CC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1A80 802185D0 0C0B210B */ jal get_float_variable
|
||||
/* 5B1A84 802185D4 46000706 */ mov.s $f28, $f0
|
||||
/* 5B1A88 802185D8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1A8C 802185DC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1A90 802185E0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1A94 802185E4 0C0B210B */ jal get_float_variable
|
||||
/* 5B1A98 802185E8 46000686 */ mov.s $f26, $f0
|
||||
/* 5B1A9C 802185EC 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1AA0 802185F0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1AA4 802185F4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1AA8 802185F8 0C0B210B */ jal get_float_variable
|
||||
/* 5B1AAC 802185FC 46000606 */ mov.s $f24, $f0
|
||||
/* 5B1AB0 80218600 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1AB4 80218604 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1AB8 80218608 0C0B1EAF */ jal get_variable
|
||||
/* 5B1ABC 8021860C 46000586 */ mov.s $f22, $f0
|
||||
/* 5B1AC0 80218610 8E240148 */ lw $a0, 0x148($s1)
|
||||
/* 5B1AC4 80218614 0C09A75B */ jal get_actor
|
||||
/* 5B1AC8 80218618 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 5B1ACC 8021861C 4600A521 */ cvt.d.s $f20, $f20
|
||||
/* 5B1AD0 80218620 4405F000 */ mfc1 $a1, $f30
|
||||
/* 5B1AD4 80218624 3C014014 */ lui $at, 0x4014
|
||||
/* 5B1AD8 80218628 44810800 */ mtc1 $at, $f1
|
||||
/* 5B1ADC 8021862C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B1AE0 80218630 4407E000 */ mfc1 $a3, $f28
|
||||
/* 5B1AE4 80218634 4620A500 */ add.d $f20, $f20, $f0
|
||||
/* 5B1AE8 80218638 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 5B1AEC 8021863C AFB0001C */ sw $s0, 0x1c($sp)
|
||||
/* 5B1AF0 80218640 4620A520 */ cvt.s.d $f20, $f20
|
||||
/* 5B1AF4 80218644 4406A000 */ mfc1 $a2, $f20
|
||||
/* 5B1AF8 80218648 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 5B1AFC 8021864C E7BA0010 */ swc1 $f26, 0x10($sp)
|
||||
/* 5B1B00 80218650 E7B80014 */ swc1 $f24, 0x14($sp)
|
||||
/* 5B1B04 80218654 0C01BFD4 */ jal func_8006FF50
|
||||
/* 5B1B08 80218658 E7B60018 */ swc1 $f22, 0x18($sp)
|
||||
/* 5B1B0C 8021865C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B1B10 80218660 82030210 */ lb $v1, 0x210($s0)
|
||||
/* 5B1B14 80218664 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 5B1B18 80218668 14620007 */ bne $v1, $v0, .L80218688
|
||||
/* 5B1B1C 8021866C 00000000 */ nop
|
||||
/* 5B1B20 80218670 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5B1B24 80218674 3C013ECC */ lui $at, 0x3ecc
|
||||
/* 5B1B28 80218678 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* 5B1B2C 8021867C 44810000 */ mtc1 $at, $f0
|
||||
/* 5B1B30 80218680 00000000 */ nop
|
||||
/* 5B1B34 80218684 E4400028 */ swc1 $f0, 0x28($v0)
|
||||
.L80218688:
|
||||
/* 5B1B38 80218688 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B1B3C 8021868C 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 5B1B40 80218690 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 5B1B44 80218694 D7BE0058 */ ldc1 $f30, 0x58($sp)
|
||||
/* 5B1B48 80218698 D7BC0050 */ ldc1 $f28, 0x50($sp)
|
||||
/* 5B1B4C 8021869C D7BA0048 */ ldc1 $f26, 0x48($sp)
|
||||
/* 5B1B50 802186A0 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 5B1B54 802186A4 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 5B1B58 802186A8 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 5B1B5C 802186AC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B1B60 802186B0 03E00008 */ jr $ra
|
||||
/* 5B1B64 802186B4 27BD0060 */ addiu $sp, $sp, 0x60
|
@ -0,0 +1,15 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802186B8_5B1B68
|
||||
/* 5B1B68 802186B8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 5B1B6C 802186BC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 5B1B70 802186C0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5B1B74 802186C4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 5B1B78 802186C8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 5B1B7C 802186CC 0C0B2026 */ jal set_variable
|
||||
/* 5B1B80 802186D0 8C450000 */ lw $a1, ($v0)
|
||||
/* 5B1B84 802186D4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 5B1B88 802186D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B1B8C 802186DC 03E00008 */ jr $ra
|
||||
/* 5B1B90 802186E0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,59 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218808_5B1CB8
|
||||
/* 5B1CB8 80218808 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 5B1CBC 8021880C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 5B1CC0 80218810 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5B1CC4 80218814 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 5B1CC8 80218818 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5B1CCC 8021881C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5B1CD0 80218820 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1CD4 80218824 0C0B1EAF */ jal get_variable
|
||||
/* 5B1CD8 80218828 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1CDC 8021882C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B1CE0 80218830 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 5B1CE4 80218834 14820002 */ bne $a0, $v0, .L80218840
|
||||
/* 5B1CE8 80218838 00000000 */ nop
|
||||
/* 5B1CEC 8021883C 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L80218840:
|
||||
/* 5B1CF0 80218840 0C09A75B */ jal get_actor
|
||||
/* 5B1CF4 80218844 00000000 */ nop
|
||||
/* 5B1CF8 80218848 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B1CFC 8021884C 90830136 */ lbu $v1, 0x136($a0)
|
||||
/* 5B1D00 80218850 24020047 */ addiu $v0, $zero, 0x47
|
||||
/* 5B1D04 80218854 1062000B */ beq $v1, $v0, .L80218884
|
||||
/* 5B1D08 80218858 0062102A */ slt $v0, $v1, $v0
|
||||
/* 5B1D0C 8021885C 54400011 */ bnel $v0, $zero, .L802188A4
|
||||
/* 5B1D10 80218860 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1D14 80218864 28620065 */ slti $v0, $v1, 0x65
|
||||
/* 5B1D18 80218868 1040000D */ beqz $v0, .L802188A0
|
||||
/* 5B1D1C 8021886C 2862004D */ slti $v0, $v1, 0x4d
|
||||
/* 5B1D20 80218870 1440000C */ bnez $v0, .L802188A4
|
||||
/* 5B1D24 80218874 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1D28 80218878 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1D2C 8021887C 0808622B */ j .L802188AC
|
||||
/* 5B1D30 80218880 2406FFFF */ addiu $a2, $zero, -1
|
||||
.L80218884:
|
||||
/* 5B1D34 80218884 8C8300A8 */ lw $v1, 0xa8($a0)
|
||||
/* 5B1D38 80218888 24020001 */ addiu $v0, $zero, 1
|
||||
/* 5B1D3C 8021888C 14620005 */ bne $v1, $v0, .L802188A4
|
||||
/* 5B1D40 80218890 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1D44 80218894 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1D48 80218898 0808622B */ j .L802188AC
|
||||
/* 5B1D4C 8021889C 2406FFFF */ addiu $a2, $zero, -1
|
||||
.L802188A0:
|
||||
/* 5B1D50 802188A0 0220202D */ daddu $a0, $s1, $zero
|
||||
.L802188A4:
|
||||
/* 5B1D54 802188A4 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1D58 802188A8 0000302D */ daddu $a2, $zero, $zero
|
||||
.L802188AC:
|
||||
/* 5B1D5C 802188AC 0C0B2026 */ jal set_variable
|
||||
/* 5B1D60 802188B0 00000000 */ nop
|
||||
/* 5B1D64 802188B4 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 5B1D68 802188B8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 5B1D6C 802188BC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5B1D70 802188C0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B1D74 802188C4 03E00008 */ jr $ra
|
||||
/* 5B1D78 802188C8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
/* 5B1D7C 802188CC 00000000 */ nop
|
@ -0,0 +1,91 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802188D0_5B1D80
|
||||
/* 5B1D80 802188D0 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 5B1D84 802188D4 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 5B1D88 802188D8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5B1D8C 802188DC AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 5B1D90 802188E0 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 5B1D94 802188E4 F7BE0058 */ sdc1 $f30, 0x58($sp)
|
||||
/* 5B1D98 802188E8 F7BC0050 */ sdc1 $f28, 0x50($sp)
|
||||
/* 5B1D9C 802188EC F7BA0048 */ sdc1 $f26, 0x48($sp)
|
||||
/* 5B1DA0 802188F0 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 5B1DA4 802188F4 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 5B1DA8 802188F8 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 5B1DAC 802188FC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5B1DB0 80218900 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1DB4 80218904 0C0B210B */ jal get_float_variable
|
||||
/* 5B1DB8 80218908 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1DBC 8021890C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1DC0 80218910 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1DC4 80218914 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1DC8 80218918 0C0B210B */ jal get_float_variable
|
||||
/* 5B1DCC 8021891C 46000786 */ mov.s $f30, $f0
|
||||
/* 5B1DD0 80218920 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1DD4 80218924 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1DD8 80218928 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1DDC 8021892C 0C0B210B */ jal get_float_variable
|
||||
/* 5B1DE0 80218930 46000506 */ mov.s $f20, $f0
|
||||
/* 5B1DE4 80218934 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1DE8 80218938 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1DEC 8021893C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1DF0 80218940 0C0B210B */ jal get_float_variable
|
||||
/* 5B1DF4 80218944 46000706 */ mov.s $f28, $f0
|
||||
/* 5B1DF8 80218948 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1DFC 8021894C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1E00 80218950 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1E04 80218954 0C0B210B */ jal get_float_variable
|
||||
/* 5B1E08 80218958 46000686 */ mov.s $f26, $f0
|
||||
/* 5B1E0C 8021895C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1E10 80218960 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B1E14 80218964 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1E18 80218968 0C0B210B */ jal get_float_variable
|
||||
/* 5B1E1C 8021896C 46000606 */ mov.s $f24, $f0
|
||||
/* 5B1E20 80218970 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B1E24 80218974 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B1E28 80218978 0C0B1EAF */ jal get_variable
|
||||
/* 5B1E2C 8021897C 46000586 */ mov.s $f22, $f0
|
||||
/* 5B1E30 80218980 8E240148 */ lw $a0, 0x148($s1)
|
||||
/* 5B1E34 80218984 0C09A75B */ jal get_actor
|
||||
/* 5B1E38 80218988 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 5B1E3C 8021898C 4600A521 */ cvt.d.s $f20, $f20
|
||||
/* 5B1E40 80218990 4405F000 */ mfc1 $a1, $f30
|
||||
/* 5B1E44 80218994 3C014014 */ lui $at, 0x4014
|
||||
/* 5B1E48 80218998 44810800 */ mtc1 $at, $f1
|
||||
/* 5B1E4C 8021899C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B1E50 802189A0 4407E000 */ mfc1 $a3, $f28
|
||||
/* 5B1E54 802189A4 4620A500 */ add.d $f20, $f20, $f0
|
||||
/* 5B1E58 802189A8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 5B1E5C 802189AC AFB0001C */ sw $s0, 0x1c($sp)
|
||||
/* 5B1E60 802189B0 4620A520 */ cvt.s.d $f20, $f20
|
||||
/* 5B1E64 802189B4 4406A000 */ mfc1 $a2, $f20
|
||||
/* 5B1E68 802189B8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 5B1E6C 802189BC E7BA0010 */ swc1 $f26, 0x10($sp)
|
||||
/* 5B1E70 802189C0 E7B80014 */ swc1 $f24, 0x14($sp)
|
||||
/* 5B1E74 802189C4 0C01BFD4 */ jal func_8006FF50
|
||||
/* 5B1E78 802189C8 E7B60018 */ swc1 $f22, 0x18($sp)
|
||||
/* 5B1E7C 802189CC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B1E80 802189D0 82030210 */ lb $v1, 0x210($s0)
|
||||
/* 5B1E84 802189D4 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 5B1E88 802189D8 14620007 */ bne $v1, $v0, .L802189F8
|
||||
/* 5B1E8C 802189DC 00000000 */ nop
|
||||
/* 5B1E90 802189E0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5B1E94 802189E4 3C013ECC */ lui $at, 0x3ecc
|
||||
/* 5B1E98 802189E8 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* 5B1E9C 802189EC 44810000 */ mtc1 $at, $f0
|
||||
/* 5B1EA0 802189F0 00000000 */ nop
|
||||
/* 5B1EA4 802189F4 E4400028 */ swc1 $f0, 0x28($v0)
|
||||
.L802189F8:
|
||||
/* 5B1EA8 802189F8 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B1EAC 802189FC 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 5B1EB0 80218A00 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 5B1EB4 80218A04 D7BE0058 */ ldc1 $f30, 0x58($sp)
|
||||
/* 5B1EB8 80218A08 D7BC0050 */ ldc1 $f28, 0x50($sp)
|
||||
/* 5B1EBC 80218A0C D7BA0048 */ ldc1 $f26, 0x48($sp)
|
||||
/* 5B1EC0 80218A10 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 5B1EC4 80218A14 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 5B1EC8 80218A18 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 5B1ECC 80218A1C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B1ED0 80218A20 03E00008 */ jr $ra
|
||||
/* 5B1ED4 80218A24 27BD0060 */ addiu $sp, $sp, 0x60
|
@ -0,0 +1,15 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218A28_5B1ED8
|
||||
/* 5B1ED8 80218A28 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 5B1EDC 80218A2C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 5B1EE0 80218A30 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5B1EE4 80218A34 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 5B1EE8 80218A38 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 5B1EEC 80218A3C 0C0B2026 */ jal set_variable
|
||||
/* 5B1EF0 80218A40 8C450000 */ lw $a1, ($v0)
|
||||
/* 5B1EF4 80218A44 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 5B1EF8 80218A48 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B1EFC 80218A4C 03E00008 */ jr $ra
|
||||
/* 5B1F00 80218A50 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,59 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218B78_5B2028
|
||||
/* 5B2028 80218B78 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 5B202C 80218B7C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 5B2030 80218B80 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5B2034 80218B84 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 5B2038 80218B88 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5B203C 80218B8C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5B2040 80218B90 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2044 80218B94 0C0B1EAF */ jal get_variable
|
||||
/* 5B2048 80218B98 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B204C 80218B9C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B2050 80218BA0 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 5B2054 80218BA4 14820002 */ bne $a0, $v0, .L80218BB0
|
||||
/* 5B2058 80218BA8 00000000 */ nop
|
||||
/* 5B205C 80218BAC 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L80218BB0:
|
||||
/* 5B2060 80218BB0 0C09A75B */ jal get_actor
|
||||
/* 5B2064 80218BB4 00000000 */ nop
|
||||
/* 5B2068 80218BB8 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B206C 80218BBC 90830136 */ lbu $v1, 0x136($a0)
|
||||
/* 5B2070 80218BC0 24020047 */ addiu $v0, $zero, 0x47
|
||||
/* 5B2074 80218BC4 1062000B */ beq $v1, $v0, .L80218BF4
|
||||
/* 5B2078 80218BC8 0062102A */ slt $v0, $v1, $v0
|
||||
/* 5B207C 80218BCC 54400011 */ bnel $v0, $zero, .L80218C14
|
||||
/* 5B2080 80218BD0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2084 80218BD4 28620065 */ slti $v0, $v1, 0x65
|
||||
/* 5B2088 80218BD8 1040000D */ beqz $v0, .L80218C10
|
||||
/* 5B208C 80218BDC 2862004D */ slti $v0, $v1, 0x4d
|
||||
/* 5B2090 80218BE0 1440000C */ bnez $v0, .L80218C14
|
||||
/* 5B2094 80218BE4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2098 80218BE8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B209C 80218BEC 08086307 */ j .L80218C1C
|
||||
/* 5B20A0 80218BF0 2406FFFF */ addiu $a2, $zero, -1
|
||||
.L80218BF4:
|
||||
/* 5B20A4 80218BF4 8C8300A8 */ lw $v1, 0xa8($a0)
|
||||
/* 5B20A8 80218BF8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 5B20AC 80218BFC 14620005 */ bne $v1, $v0, .L80218C14
|
||||
/* 5B20B0 80218C00 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B20B4 80218C04 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B20B8 80218C08 08086307 */ j .L80218C1C
|
||||
/* 5B20BC 80218C0C 2406FFFF */ addiu $a2, $zero, -1
|
||||
.L80218C10:
|
||||
/* 5B20C0 80218C10 0220202D */ daddu $a0, $s1, $zero
|
||||
.L80218C14:
|
||||
/* 5B20C4 80218C14 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B20C8 80218C18 0000302D */ daddu $a2, $zero, $zero
|
||||
.L80218C1C:
|
||||
/* 5B20CC 80218C1C 0C0B2026 */ jal set_variable
|
||||
/* 5B20D0 80218C20 00000000 */ nop
|
||||
/* 5B20D4 80218C24 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 5B20D8 80218C28 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 5B20DC 80218C2C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5B20E0 80218C30 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B20E4 80218C34 03E00008 */ jr $ra
|
||||
/* 5B20E8 80218C38 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
/* 5B20EC 80218C3C 00000000 */ nop
|
@ -0,0 +1,91 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218C40_5B20F0
|
||||
/* 5B20F0 80218C40 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 5B20F4 80218C44 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 5B20F8 80218C48 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5B20FC 80218C4C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 5B2100 80218C50 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 5B2104 80218C54 F7BE0058 */ sdc1 $f30, 0x58($sp)
|
||||
/* 5B2108 80218C58 F7BC0050 */ sdc1 $f28, 0x50($sp)
|
||||
/* 5B210C 80218C5C F7BA0048 */ sdc1 $f26, 0x48($sp)
|
||||
/* 5B2110 80218C60 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 5B2114 80218C64 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 5B2118 80218C68 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 5B211C 80218C6C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5B2120 80218C70 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2124 80218C74 0C0B210B */ jal get_float_variable
|
||||
/* 5B2128 80218C78 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B212C 80218C7C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2130 80218C80 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B2134 80218C84 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2138 80218C88 0C0B210B */ jal get_float_variable
|
||||
/* 5B213C 80218C8C 46000786 */ mov.s $f30, $f0
|
||||
/* 5B2140 80218C90 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2144 80218C94 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B2148 80218C98 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B214C 80218C9C 0C0B210B */ jal get_float_variable
|
||||
/* 5B2150 80218CA0 46000506 */ mov.s $f20, $f0
|
||||
/* 5B2154 80218CA4 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2158 80218CA8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B215C 80218CAC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2160 80218CB0 0C0B210B */ jal get_float_variable
|
||||
/* 5B2164 80218CB4 46000706 */ mov.s $f28, $f0
|
||||
/* 5B2168 80218CB8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B216C 80218CBC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B2170 80218CC0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2174 80218CC4 0C0B210B */ jal get_float_variable
|
||||
/* 5B2178 80218CC8 46000686 */ mov.s $f26, $f0
|
||||
/* 5B217C 80218CCC 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2180 80218CD0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B2184 80218CD4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2188 80218CD8 0C0B210B */ jal get_float_variable
|
||||
/* 5B218C 80218CDC 46000606 */ mov.s $f24, $f0
|
||||
/* 5B2190 80218CE0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2194 80218CE4 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2198 80218CE8 0C0B1EAF */ jal get_variable
|
||||
/* 5B219C 80218CEC 46000586 */ mov.s $f22, $f0
|
||||
/* 5B21A0 80218CF0 8E240148 */ lw $a0, 0x148($s1)
|
||||
/* 5B21A4 80218CF4 0C09A75B */ jal get_actor
|
||||
/* 5B21A8 80218CF8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 5B21AC 80218CFC 4600A521 */ cvt.d.s $f20, $f20
|
||||
/* 5B21B0 80218D00 4405F000 */ mfc1 $a1, $f30
|
||||
/* 5B21B4 80218D04 3C014014 */ lui $at, 0x4014
|
||||
/* 5B21B8 80218D08 44810800 */ mtc1 $at, $f1
|
||||
/* 5B21BC 80218D0C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B21C0 80218D10 4407E000 */ mfc1 $a3, $f28
|
||||
/* 5B21C4 80218D14 4620A500 */ add.d $f20, $f20, $f0
|
||||
/* 5B21C8 80218D18 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 5B21CC 80218D1C AFB0001C */ sw $s0, 0x1c($sp)
|
||||
/* 5B21D0 80218D20 4620A520 */ cvt.s.d $f20, $f20
|
||||
/* 5B21D4 80218D24 4406A000 */ mfc1 $a2, $f20
|
||||
/* 5B21D8 80218D28 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 5B21DC 80218D2C E7BA0010 */ swc1 $f26, 0x10($sp)
|
||||
/* 5B21E0 80218D30 E7B80014 */ swc1 $f24, 0x14($sp)
|
||||
/* 5B21E4 80218D34 0C01BFD4 */ jal func_8006FF50
|
||||
/* 5B21E8 80218D38 E7B60018 */ swc1 $f22, 0x18($sp)
|
||||
/* 5B21EC 80218D3C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B21F0 80218D40 82030210 */ lb $v1, 0x210($s0)
|
||||
/* 5B21F4 80218D44 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 5B21F8 80218D48 14620007 */ bne $v1, $v0, .L80218D68
|
||||
/* 5B21FC 80218D4C 00000000 */ nop
|
||||
/* 5B2200 80218D50 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5B2204 80218D54 3C013ECC */ lui $at, 0x3ecc
|
||||
/* 5B2208 80218D58 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* 5B220C 80218D5C 44810000 */ mtc1 $at, $f0
|
||||
/* 5B2210 80218D60 00000000 */ nop
|
||||
/* 5B2214 80218D64 E4400028 */ swc1 $f0, 0x28($v0)
|
||||
.L80218D68:
|
||||
/* 5B2218 80218D68 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B221C 80218D6C 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 5B2220 80218D70 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 5B2224 80218D74 D7BE0058 */ ldc1 $f30, 0x58($sp)
|
||||
/* 5B2228 80218D78 D7BC0050 */ ldc1 $f28, 0x50($sp)
|
||||
/* 5B222C 80218D7C D7BA0048 */ ldc1 $f26, 0x48($sp)
|
||||
/* 5B2230 80218D80 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 5B2234 80218D84 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 5B2238 80218D88 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 5B223C 80218D8C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B2240 80218D90 03E00008 */ jr $ra
|
||||
/* 5B2244 80218D94 27BD0060 */ addiu $sp, $sp, 0x60
|
@ -0,0 +1,15 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218D98_5B2248
|
||||
/* 5B2248 80218D98 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 5B224C 80218D9C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 5B2250 80218DA0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5B2254 80218DA4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 5B2258 80218DA8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 5B225C 80218DAC 0C0B2026 */ jal set_variable
|
||||
/* 5B2260 80218DB0 8C450000 */ lw $a1, ($v0)
|
||||
/* 5B2264 80218DB4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 5B2268 80218DB8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B226C 80218DBC 03E00008 */ jr $ra
|
||||
/* 5B2270 80218DC0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,58 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218EE8_5B2398
|
||||
/* 5B2398 80218EE8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 5B239C 80218EEC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 5B23A0 80218EF0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5B23A4 80218EF4 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 5B23A8 80218EF8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5B23AC 80218EFC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5B23B0 80218F00 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B23B4 80218F04 0C0B1EAF */ jal get_variable
|
||||
/* 5B23B8 80218F08 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B23BC 80218F0C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B23C0 80218F10 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 5B23C4 80218F14 14820002 */ bne $a0, $v0, .L80218F20
|
||||
/* 5B23C8 80218F18 00000000 */ nop
|
||||
/* 5B23CC 80218F1C 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L80218F20:
|
||||
/* 5B23D0 80218F20 0C09A75B */ jal get_actor
|
||||
/* 5B23D4 80218F24 00000000 */ nop
|
||||
/* 5B23D8 80218F28 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B23DC 80218F2C 90830136 */ lbu $v1, 0x136($a0)
|
||||
/* 5B23E0 80218F30 24020047 */ addiu $v0, $zero, 0x47
|
||||
/* 5B23E4 80218F34 1062000B */ beq $v1, $v0, .L80218F64
|
||||
/* 5B23E8 80218F38 0062102A */ slt $v0, $v1, $v0
|
||||
/* 5B23EC 80218F3C 54400011 */ bnel $v0, $zero, .L80218F84
|
||||
/* 5B23F0 80218F40 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B23F4 80218F44 28620065 */ slti $v0, $v1, 0x65
|
||||
/* 5B23F8 80218F48 1040000D */ beqz $v0, .L80218F80
|
||||
/* 5B23FC 80218F4C 2862004D */ slti $v0, $v1, 0x4d
|
||||
/* 5B2400 80218F50 1440000C */ bnez $v0, .L80218F84
|
||||
/* 5B2404 80218F54 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2408 80218F58 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B240C 80218F5C 080863E3 */ j .L80218F8C
|
||||
/* 5B2410 80218F60 2406FFFF */ addiu $a2, $zero, -1
|
||||
.L80218F64:
|
||||
/* 5B2414 80218F64 8C8300A8 */ lw $v1, 0xa8($a0)
|
||||
/* 5B2418 80218F68 24020001 */ addiu $v0, $zero, 1
|
||||
/* 5B241C 80218F6C 14620005 */ bne $v1, $v0, .L80218F84
|
||||
/* 5B2420 80218F70 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2424 80218F74 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2428 80218F78 080863E3 */ j .L80218F8C
|
||||
/* 5B242C 80218F7C 2406FFFF */ addiu $a2, $zero, -1
|
||||
.L80218F80:
|
||||
/* 5B2430 80218F80 0220202D */ daddu $a0, $s1, $zero
|
||||
.L80218F84:
|
||||
/* 5B2434 80218F84 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2438 80218F88 0000302D */ daddu $a2, $zero, $zero
|
||||
.L80218F8C:
|
||||
/* 5B243C 80218F8C 0C0B2026 */ jal set_variable
|
||||
/* 5B2440 80218F90 00000000 */ nop
|
||||
/* 5B2444 80218F94 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 5B2448 80218F98 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 5B244C 80218F9C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5B2450 80218FA0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B2454 80218FA4 03E00008 */ jr $ra
|
||||
/* 5B2458 80218FA8 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -0,0 +1,28 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218FAC_5B245C
|
||||
/* 5B245C 80218FAC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 5B2460 80218FB0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 5B2464 80218FB4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5B2468 80218FB8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 5B246C 80218FBC 3C128011 */ lui $s2, %hi(gPlayerData)
|
||||
/* 5B2470 80218FC0 2652F290 */ addiu $s2, $s2, %lo(gPlayerData)
|
||||
/* 5B2474 80218FC4 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 5B2478 80218FC8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5B247C 80218FCC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5B2480 80218FD0 82460000 */ lb $a2, ($s2)
|
||||
/* 5B2484 80218FD4 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2488 80218FD8 0C0B2026 */ jal set_variable
|
||||
/* 5B248C 80218FDC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B2490 80218FE0 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2494 80218FE4 82460001 */ lb $a2, 1($s2)
|
||||
/* 5B2498 80218FE8 0C0B2026 */ jal set_variable
|
||||
/* 5B249C 80218FEC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B24A0 80218FF0 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 5B24A4 80218FF4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 5B24A8 80218FF8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 5B24AC 80218FFC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5B24B0 80219000 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B24B4 80219004 03E00008 */ jr $ra
|
||||
/* 5B24B8 80219008 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -0,0 +1,46 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8021900C_5B24BC
|
||||
/* 5B24BC 8021900C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 5B24C0 80219010 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 5B24C4 80219014 0080982D */ daddu $s3, $a0, $zero
|
||||
/* 5B24C8 80219018 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 5B24CC 8021901C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 5B24D0 80219020 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 5B24D4 80219024 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5B24D8 80219028 8E70000C */ lw $s0, 0xc($s3)
|
||||
/* 5B24DC 8021902C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B24E0 80219030 0C0B1EAF */ jal get_variable
|
||||
/* 5B24E4 80219034 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B24E8 80219038 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 5B24EC 8021903C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B24F0 80219040 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B24F4 80219044 0C0B1EAF */ jal get_variable
|
||||
/* 5B24F8 80219048 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 5B24FC 8021904C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 5B2500 80219050 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 5B2504 80219054 16220002 */ bne $s1, $v0, .L80219060
|
||||
/* 5B2508 80219058 00000000 */ nop
|
||||
/* 5B250C 8021905C 8E710148 */ lw $s1, 0x148($s3)
|
||||
.L80219060:
|
||||
/* 5B2510 80219060 0C09A75B */ jal get_actor
|
||||
/* 5B2514 80219064 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2518 80219068 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B251C 8021906C 0C099117 */ jal get_actor_part
|
||||
/* 5B2520 80219070 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 5B2524 80219074 8C440078 */ lw $a0, 0x78($v0)
|
||||
/* 5B2528 80219078 0C099791 */ jal lookup_defense
|
||||
/* 5B252C 8021907C 24050001 */ addiu $a1, $zero, 1
|
||||
/* 5B2530 80219080 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 5B2534 80219084 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2538 80219088 0C0B2026 */ jal set_variable
|
||||
/* 5B253C 8021908C 0040302D */ daddu $a2, $v0, $zero
|
||||
/* 5B2540 80219090 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 5B2544 80219094 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 5B2548 80219098 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 5B254C 8021909C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 5B2550 802190A0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5B2554 802190A4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B2558 802190A8 03E00008 */ jr $ra
|
||||
/* 5B255C 802190AC 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -0,0 +1,91 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802190B0_5B2560
|
||||
/* 5B2560 802190B0 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 5B2564 802190B4 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 5B2568 802190B8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5B256C 802190BC AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 5B2570 802190C0 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 5B2574 802190C4 F7BE0058 */ sdc1 $f30, 0x58($sp)
|
||||
/* 5B2578 802190C8 F7BC0050 */ sdc1 $f28, 0x50($sp)
|
||||
/* 5B257C 802190CC F7BA0048 */ sdc1 $f26, 0x48($sp)
|
||||
/* 5B2580 802190D0 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 5B2584 802190D4 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 5B2588 802190D8 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 5B258C 802190DC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5B2590 802190E0 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2594 802190E4 0C0B210B */ jal get_float_variable
|
||||
/* 5B2598 802190E8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B259C 802190EC 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B25A0 802190F0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B25A4 802190F4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B25A8 802190F8 0C0B210B */ jal get_float_variable
|
||||
/* 5B25AC 802190FC 46000786 */ mov.s $f30, $f0
|
||||
/* 5B25B0 80219100 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B25B4 80219104 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B25B8 80219108 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B25BC 8021910C 0C0B210B */ jal get_float_variable
|
||||
/* 5B25C0 80219110 46000506 */ mov.s $f20, $f0
|
||||
/* 5B25C4 80219114 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B25C8 80219118 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B25CC 8021911C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B25D0 80219120 0C0B210B */ jal get_float_variable
|
||||
/* 5B25D4 80219124 46000706 */ mov.s $f28, $f0
|
||||
/* 5B25D8 80219128 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B25DC 8021912C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B25E0 80219130 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B25E4 80219134 0C0B210B */ jal get_float_variable
|
||||
/* 5B25E8 80219138 46000686 */ mov.s $f26, $f0
|
||||
/* 5B25EC 8021913C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B25F0 80219140 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B25F4 80219144 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B25F8 80219148 0C0B210B */ jal get_float_variable
|
||||
/* 5B25FC 8021914C 46000606 */ mov.s $f24, $f0
|
||||
/* 5B2600 80219150 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2604 80219154 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2608 80219158 0C0B1EAF */ jal get_variable
|
||||
/* 5B260C 8021915C 46000586 */ mov.s $f22, $f0
|
||||
/* 5B2610 80219160 8E240148 */ lw $a0, 0x148($s1)
|
||||
/* 5B2614 80219164 0C09A75B */ jal get_actor
|
||||
/* 5B2618 80219168 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 5B261C 8021916C 4600A521 */ cvt.d.s $f20, $f20
|
||||
/* 5B2620 80219170 4405F000 */ mfc1 $a1, $f30
|
||||
/* 5B2624 80219174 3C014014 */ lui $at, 0x4014
|
||||
/* 5B2628 80219178 44810800 */ mtc1 $at, $f1
|
||||
/* 5B262C 8021917C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B2630 80219180 4407E000 */ mfc1 $a3, $f28
|
||||
/* 5B2634 80219184 4620A500 */ add.d $f20, $f20, $f0
|
||||
/* 5B2638 80219188 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 5B263C 8021918C AFB0001C */ sw $s0, 0x1c($sp)
|
||||
/* 5B2640 80219190 4620A520 */ cvt.s.d $f20, $f20
|
||||
/* 5B2644 80219194 4406A000 */ mfc1 $a2, $f20
|
||||
/* 5B2648 80219198 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 5B264C 8021919C E7BA0010 */ swc1 $f26, 0x10($sp)
|
||||
/* 5B2650 802191A0 E7B80014 */ swc1 $f24, 0x14($sp)
|
||||
/* 5B2654 802191A4 0C01BFD4 */ jal func_8006FF50
|
||||
/* 5B2658 802191A8 E7B60018 */ swc1 $f22, 0x18($sp)
|
||||
/* 5B265C 802191AC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B2660 802191B0 82030210 */ lb $v1, 0x210($s0)
|
||||
/* 5B2664 802191B4 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 5B2668 802191B8 14620007 */ bne $v1, $v0, .L802191D8
|
||||
/* 5B266C 802191BC 00000000 */ nop
|
||||
/* 5B2670 802191C0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5B2674 802191C4 3C013ECC */ lui $at, 0x3ecc
|
||||
/* 5B2678 802191C8 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* 5B267C 802191CC 44810000 */ mtc1 $at, $f0
|
||||
/* 5B2680 802191D0 00000000 */ nop
|
||||
/* 5B2684 802191D4 E4400028 */ swc1 $f0, 0x28($v0)
|
||||
.L802191D8:
|
||||
/* 5B2688 802191D8 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B268C 802191DC 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 5B2690 802191E0 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 5B2694 802191E4 D7BE0058 */ ldc1 $f30, 0x58($sp)
|
||||
/* 5B2698 802191E8 D7BC0050 */ ldc1 $f28, 0x50($sp)
|
||||
/* 5B269C 802191EC D7BA0048 */ ldc1 $f26, 0x48($sp)
|
||||
/* 5B26A0 802191F0 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 5B26A4 802191F4 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 5B26A8 802191F8 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 5B26AC 802191FC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B26B0 80219200 03E00008 */ jr $ra
|
||||
/* 5B26B4 80219204 27BD0060 */ addiu $sp, $sp, 0x60
|
@ -0,0 +1,15 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219208_5B26B8
|
||||
/* 5B26B8 80219208 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 5B26BC 8021920C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 5B26C0 80219210 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5B26C4 80219214 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 5B26C8 80219218 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 5B26CC 8021921C 0C0B2026 */ jal set_variable
|
||||
/* 5B26D0 80219220 8C450000 */ lw $a1, ($v0)
|
||||
/* 5B26D4 80219224 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 5B26D8 80219228 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B26DC 8021922C 03E00008 */ jr $ra
|
||||
/* 5B26E0 80219230 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,59 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219358_5B2808
|
||||
/* 5B2808 80219358 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 5B280C 8021935C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 5B2810 80219360 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5B2814 80219364 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 5B2818 80219368 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5B281C 8021936C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5B2820 80219370 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2824 80219374 0C0B1EAF */ jal get_variable
|
||||
/* 5B2828 80219378 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5B282C 8021937C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B2830 80219380 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 5B2834 80219384 14820002 */ bne $a0, $v0, .L80219390
|
||||
/* 5B2838 80219388 00000000 */ nop
|
||||
/* 5B283C 8021938C 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L80219390:
|
||||
/* 5B2840 80219390 0C09A75B */ jal get_actor
|
||||
/* 5B2844 80219394 00000000 */ nop
|
||||
/* 5B2848 80219398 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 5B284C 8021939C 90830136 */ lbu $v1, 0x136($a0)
|
||||
/* 5B2850 802193A0 24020047 */ addiu $v0, $zero, 0x47
|
||||
/* 5B2854 802193A4 1062000B */ beq $v1, $v0, .L802193D4
|
||||
/* 5B2858 802193A8 0062102A */ slt $v0, $v1, $v0
|
||||
/* 5B285C 802193AC 54400011 */ bnel $v0, $zero, .L802193F4
|
||||
/* 5B2860 802193B0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2864 802193B4 28620065 */ slti $v0, $v1, 0x65
|
||||
/* 5B2868 802193B8 1040000D */ beqz $v0, .L802193F0
|
||||
/* 5B286C 802193BC 2862004D */ slti $v0, $v1, 0x4d
|
||||
/* 5B2870 802193C0 1440000C */ bnez $v0, .L802193F4
|
||||
/* 5B2874 802193C4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2878 802193C8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B287C 802193CC 080864FF */ j .L802193FC
|
||||
/* 5B2880 802193D0 2406FFFF */ addiu $a2, $zero, -1
|
||||
.L802193D4:
|
||||
/* 5B2884 802193D4 8C8300A8 */ lw $v1, 0xa8($a0)
|
||||
/* 5B2888 802193D8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 5B288C 802193DC 14620005 */ bne $v1, $v0, .L802193F4
|
||||
/* 5B2890 802193E0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5B2894 802193E4 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2898 802193E8 080864FF */ j .L802193FC
|
||||
/* 5B289C 802193EC 2406FFFF */ addiu $a2, $zero, -1
|
||||
.L802193F0:
|
||||
/* 5B28A0 802193F0 0220202D */ daddu $a0, $s1, $zero
|
||||
.L802193F4:
|
||||
/* 5B28A4 802193F4 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B28A8 802193F8 0000302D */ daddu $a2, $zero, $zero
|
||||
.L802193FC:
|
||||
/* 5B28AC 802193FC 0C0B2026 */ jal set_variable
|
||||
/* 5B28B0 80219400 00000000 */ nop
|
||||
/* 5B28B4 80219404 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 5B28B8 80219408 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 5B28BC 8021940C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5B28C0 80219410 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B28C4 80219414 03E00008 */ jr $ra
|
||||
/* 5B28C8 80219418 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
/* 5B28CC 8021941C 00000000 */ nop
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219420_5B28D0
|
||||
/* 5B28D0 80219420 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5B28D4 80219424 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5B28D8 80219428 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5B28DC 8021942C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5B28E0 80219430 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5B28E4 80219434 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5B28E8 80219438 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5B28EC 8021943C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5B28F0 80219440 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5B28F4 80219444 3C108023 */ lui $s0, %hi(D_802311D8)
|
||||
/* 5B28F8 80219448 261011D8 */ addiu $s0, $s0, %lo(D_802311D8)
|
||||
/* 5B28FC 8021944C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219450:
|
||||
/* 5B2900 80219450 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5B2904 80219454 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5B2908 80219458 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B290C 8021945C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5B2910 80219460 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5B2914 80219464 00031900 */ sll $v1, $v1, 4
|
||||
/* 5B2918 80219468 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5B291C 8021946C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5B2920 80219470 00021140 */ sll $v0, $v0, 5
|
||||
/* 5B2924 80219474 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5B2928 80219478 0C01BB5C */ jal strcmp
|
||||
/* 5B292C 8021947C 8C440000 */ lw $a0, ($v0)
|
||||
/* 5B2930 80219480 14400003 */ bnez $v0, .L80219490
|
||||
/* 5B2934 80219484 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5B2938 80219488 08086527 */ j .L8021949C
|
||||
/* 5B293C 8021948C 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219490:
|
||||
/* 5B2940 80219490 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5B2944 80219494 1440FFEE */ bnez $v0, .L80219450
|
||||
/* 5B2948 80219498 26100004 */ addiu $s0, $s0, 4
|
||||
.L8021949C:
|
||||
/* 5B294C 8021949C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B2950 802194A0 00000000 */ nop
|
||||
/* 5B2954 802194A4 44050000 */ mfc1 $a1, $f0
|
||||
/* 5B2958 802194A8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5B295C 802194AC AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5B2960 802194B0 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5B2964 802194B4 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5B2968 802194B8 0C01CA54 */ jal func_80072950
|
||||
/* 5B296C 802194BC AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5B2970 802194C0 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B2974 802194C4 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5B2978 802194C8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5B297C 802194CC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5B2980 802194D0 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5B2984 802194D4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B2988 802194D8 03E00008 */ jr $ra
|
||||
/* 5B298C 802194DC 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802194E0_5B2990
|
||||
/* 5B2990 802194E0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5B2994 802194E4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5B2998 802194E8 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5B299C 802194EC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5B29A0 802194F0 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5B29A4 802194F4 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5B29A8 802194F8 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5B29AC 802194FC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5B29B0 80219500 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5B29B4 80219504 3C108023 */ lui $s0, %hi(D_80231678)
|
||||
/* 5B29B8 80219508 26101678 */ addiu $s0, $s0, %lo(D_80231678)
|
||||
/* 5B29BC 8021950C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219510:
|
||||
/* 5B29C0 80219510 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5B29C4 80219514 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5B29C8 80219518 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B29CC 8021951C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5B29D0 80219520 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5B29D4 80219524 00031900 */ sll $v1, $v1, 4
|
||||
/* 5B29D8 80219528 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5B29DC 8021952C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5B29E0 80219530 00021140 */ sll $v0, $v0, 5
|
||||
/* 5B29E4 80219534 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5B29E8 80219538 0C01BB5C */ jal strcmp
|
||||
/* 5B29EC 8021953C 8C440000 */ lw $a0, ($v0)
|
||||
/* 5B29F0 80219540 14400003 */ bnez $v0, .L80219550
|
||||
/* 5B29F4 80219544 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5B29F8 80219548 08086557 */ j .L8021955C
|
||||
/* 5B29FC 8021954C 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219550:
|
||||
/* 5B2A00 80219550 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5B2A04 80219554 1440FFEE */ bnez $v0, .L80219510
|
||||
/* 5B2A08 80219558 26100004 */ addiu $s0, $s0, 4
|
||||
.L8021955C:
|
||||
/* 5B2A0C 8021955C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B2A10 80219560 00000000 */ nop
|
||||
/* 5B2A14 80219564 44050000 */ mfc1 $a1, $f0
|
||||
/* 5B2A18 80219568 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5B2A1C 8021956C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5B2A20 80219570 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5B2A24 80219574 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5B2A28 80219578 0C01CA54 */ jal func_80072950
|
||||
/* 5B2A2C 8021957C AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5B2A30 80219580 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B2A34 80219584 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5B2A38 80219588 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5B2A3C 8021958C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5B2A40 80219590 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5B2A44 80219594 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B2A48 80219598 03E00008 */ jr $ra
|
||||
/* 5B2A4C 8021959C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802195A0_5B2A50
|
||||
/* 5B2A50 802195A0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5B2A54 802195A4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5B2A58 802195A8 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5B2A5C 802195AC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5B2A60 802195B0 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5B2A64 802195B4 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5B2A68 802195B8 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5B2A6C 802195BC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5B2A70 802195C0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5B2A74 802195C4 3C108023 */ lui $s0, %hi(D_80231B08)
|
||||
/* 5B2A78 802195C8 26101B08 */ addiu $s0, $s0, %lo(D_80231B08)
|
||||
/* 5B2A7C 802195CC AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L802195D0:
|
||||
/* 5B2A80 802195D0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5B2A84 802195D4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5B2A88 802195D8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2A8C 802195DC 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5B2A90 802195E0 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5B2A94 802195E4 00031900 */ sll $v1, $v1, 4
|
||||
/* 5B2A98 802195E8 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5B2A9C 802195EC 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5B2AA0 802195F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 5B2AA4 802195F4 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5B2AA8 802195F8 0C01BB5C */ jal strcmp
|
||||
/* 5B2AAC 802195FC 8C440000 */ lw $a0, ($v0)
|
||||
/* 5B2AB0 80219600 14400003 */ bnez $v0, .L80219610
|
||||
/* 5B2AB4 80219604 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5B2AB8 80219608 08086587 */ j .L8021961C
|
||||
/* 5B2ABC 8021960C 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219610:
|
||||
/* 5B2AC0 80219610 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5B2AC4 80219614 1440FFEE */ bnez $v0, .L802195D0
|
||||
/* 5B2AC8 80219618 26100004 */ addiu $s0, $s0, 4
|
||||
.L8021961C:
|
||||
/* 5B2ACC 8021961C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B2AD0 80219620 00000000 */ nop
|
||||
/* 5B2AD4 80219624 44050000 */ mfc1 $a1, $f0
|
||||
/* 5B2AD8 80219628 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5B2ADC 8021962C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5B2AE0 80219630 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5B2AE4 80219634 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5B2AE8 80219638 0C01CA54 */ jal func_80072950
|
||||
/* 5B2AEC 8021963C AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5B2AF0 80219640 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B2AF4 80219644 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5B2AF8 80219648 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5B2AFC 8021964C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5B2B00 80219650 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5B2B04 80219654 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B2B08 80219658 03E00008 */ jr $ra
|
||||
/* 5B2B0C 8021965C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219660_5B2B10
|
||||
/* 5B2B10 80219660 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5B2B14 80219664 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5B2B18 80219668 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5B2B1C 8021966C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5B2B20 80219670 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5B2B24 80219674 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5B2B28 80219678 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5B2B2C 8021967C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5B2B30 80219680 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5B2B34 80219684 3C108023 */ lui $s0, %hi(D_80231FA8)
|
||||
/* 5B2B38 80219688 26101FA8 */ addiu $s0, $s0, %lo(D_80231FA8)
|
||||
/* 5B2B3C 8021968C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219690:
|
||||
/* 5B2B40 80219690 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5B2B44 80219694 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5B2B48 80219698 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2B4C 8021969C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5B2B50 802196A0 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5B2B54 802196A4 00031900 */ sll $v1, $v1, 4
|
||||
/* 5B2B58 802196A8 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5B2B5C 802196AC 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5B2B60 802196B0 00021140 */ sll $v0, $v0, 5
|
||||
/* 5B2B64 802196B4 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5B2B68 802196B8 0C01BB5C */ jal strcmp
|
||||
/* 5B2B6C 802196BC 8C440000 */ lw $a0, ($v0)
|
||||
/* 5B2B70 802196C0 14400003 */ bnez $v0, .L802196D0
|
||||
/* 5B2B74 802196C4 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5B2B78 802196C8 080865B7 */ j .L802196DC
|
||||
/* 5B2B7C 802196CC 24120001 */ addiu $s2, $zero, 1
|
||||
.L802196D0:
|
||||
/* 5B2B80 802196D0 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5B2B84 802196D4 1440FFEE */ bnez $v0, .L80219690
|
||||
/* 5B2B88 802196D8 26100004 */ addiu $s0, $s0, 4
|
||||
.L802196DC:
|
||||
/* 5B2B8C 802196DC 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B2B90 802196E0 00000000 */ nop
|
||||
/* 5B2B94 802196E4 44050000 */ mfc1 $a1, $f0
|
||||
/* 5B2B98 802196E8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5B2B9C 802196EC AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5B2BA0 802196F0 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5B2BA4 802196F4 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5B2BA8 802196F8 0C01CA54 */ jal func_80072950
|
||||
/* 5B2BAC 802196FC AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5B2BB0 80219700 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B2BB4 80219704 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5B2BB8 80219708 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5B2BBC 8021970C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5B2BC0 80219710 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5B2BC4 80219714 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B2BC8 80219718 03E00008 */ jr $ra
|
||||
/* 5B2BCC 8021971C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219720_5B2BD0
|
||||
/* 5B2BD0 80219720 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5B2BD4 80219724 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5B2BD8 80219728 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5B2BDC 8021972C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5B2BE0 80219730 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5B2BE4 80219734 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5B2BE8 80219738 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5B2BEC 8021973C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5B2BF0 80219740 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5B2BF4 80219744 3C108023 */ lui $s0, %hi(D_80232428)
|
||||
/* 5B2BF8 80219748 26102428 */ addiu $s0, $s0, %lo(D_80232428)
|
||||
/* 5B2BFC 8021974C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219750:
|
||||
/* 5B2C00 80219750 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5B2C04 80219754 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5B2C08 80219758 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2C0C 8021975C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5B2C10 80219760 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5B2C14 80219764 00031900 */ sll $v1, $v1, 4
|
||||
/* 5B2C18 80219768 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5B2C1C 8021976C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5B2C20 80219770 00021140 */ sll $v0, $v0, 5
|
||||
/* 5B2C24 80219774 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5B2C28 80219778 0C01BB5C */ jal strcmp
|
||||
/* 5B2C2C 8021977C 8C440000 */ lw $a0, ($v0)
|
||||
/* 5B2C30 80219780 14400003 */ bnez $v0, .L80219790
|
||||
/* 5B2C34 80219784 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5B2C38 80219788 080865E7 */ j .L8021979C
|
||||
/* 5B2C3C 8021978C 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219790:
|
||||
/* 5B2C40 80219790 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5B2C44 80219794 1440FFEE */ bnez $v0, .L80219750
|
||||
/* 5B2C48 80219798 26100004 */ addiu $s0, $s0, 4
|
||||
.L8021979C:
|
||||
/* 5B2C4C 8021979C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B2C50 802197A0 00000000 */ nop
|
||||
/* 5B2C54 802197A4 44050000 */ mfc1 $a1, $f0
|
||||
/* 5B2C58 802197A8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5B2C5C 802197AC AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5B2C60 802197B0 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5B2C64 802197B4 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5B2C68 802197B8 0C01CA54 */ jal func_80072950
|
||||
/* 5B2C6C 802197BC AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5B2C70 802197C0 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B2C74 802197C4 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5B2C78 802197C8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5B2C7C 802197CC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5B2C80 802197D0 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5B2C84 802197D4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B2C88 802197D8 03E00008 */ jr $ra
|
||||
/* 5B2C8C 802197DC 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802197E0_5B2C90
|
||||
/* 5B2C90 802197E0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5B2C94 802197E4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5B2C98 802197E8 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5B2C9C 802197EC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5B2CA0 802197F0 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5B2CA4 802197F4 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5B2CA8 802197F8 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5B2CAC 802197FC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5B2CB0 80219800 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5B2CB4 80219804 3C108023 */ lui $s0, %hi(D_802328D8)
|
||||
/* 5B2CB8 80219808 261028D8 */ addiu $s0, $s0, %lo(D_802328D8)
|
||||
/* 5B2CBC 8021980C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219810:
|
||||
/* 5B2CC0 80219810 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5B2CC4 80219814 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5B2CC8 80219818 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2CCC 8021981C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5B2CD0 80219820 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5B2CD4 80219824 00031900 */ sll $v1, $v1, 4
|
||||
/* 5B2CD8 80219828 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5B2CDC 8021982C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5B2CE0 80219830 00021140 */ sll $v0, $v0, 5
|
||||
/* 5B2CE4 80219834 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5B2CE8 80219838 0C01BB5C */ jal strcmp
|
||||
/* 5B2CEC 8021983C 8C440000 */ lw $a0, ($v0)
|
||||
/* 5B2CF0 80219840 14400003 */ bnez $v0, .L80219850
|
||||
/* 5B2CF4 80219844 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5B2CF8 80219848 08086617 */ j .L8021985C
|
||||
/* 5B2CFC 8021984C 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219850:
|
||||
/* 5B2D00 80219850 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5B2D04 80219854 1440FFEE */ bnez $v0, .L80219810
|
||||
/* 5B2D08 80219858 26100004 */ addiu $s0, $s0, 4
|
||||
.L8021985C:
|
||||
/* 5B2D0C 8021985C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B2D10 80219860 00000000 */ nop
|
||||
/* 5B2D14 80219864 44050000 */ mfc1 $a1, $f0
|
||||
/* 5B2D18 80219868 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5B2D1C 8021986C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5B2D20 80219870 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5B2D24 80219874 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5B2D28 80219878 0C01CA54 */ jal func_80072950
|
||||
/* 5B2D2C 8021987C AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5B2D30 80219880 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B2D34 80219884 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5B2D38 80219888 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5B2D3C 8021988C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5B2D40 80219890 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5B2D44 80219894 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B2D48 80219898 03E00008 */ jr $ra
|
||||
/* 5B2D4C 8021989C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802198A0_5B2D50
|
||||
/* 5B2D50 802198A0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5B2D54 802198A4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5B2D58 802198A8 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5B2D5C 802198AC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5B2D60 802198B0 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5B2D64 802198B4 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5B2D68 802198B8 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5B2D6C 802198BC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5B2D70 802198C0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5B2D74 802198C4 3C108023 */ lui $s0, %hi(D_80232BE8)
|
||||
/* 5B2D78 802198C8 26102BE8 */ addiu $s0, $s0, %lo(D_80232BE8)
|
||||
/* 5B2D7C 802198CC AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L802198D0:
|
||||
/* 5B2D80 802198D0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5B2D84 802198D4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5B2D88 802198D8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B2D8C 802198DC 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5B2D90 802198E0 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5B2D94 802198E4 00031900 */ sll $v1, $v1, 4
|
||||
/* 5B2D98 802198E8 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5B2D9C 802198EC 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5B2DA0 802198F0 00021140 */ sll $v0, $v0, 5
|
||||
/* 5B2DA4 802198F4 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5B2DA8 802198F8 0C01BB5C */ jal strcmp
|
||||
/* 5B2DAC 802198FC 8C440000 */ lw $a0, ($v0)
|
||||
/* 5B2DB0 80219900 14400003 */ bnez $v0, .L80219910
|
||||
/* 5B2DB4 80219904 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5B2DB8 80219908 08086647 */ j .L8021991C
|
||||
/* 5B2DBC 8021990C 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219910:
|
||||
/* 5B2DC0 80219910 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5B2DC4 80219914 1440FFEE */ bnez $v0, .L802198D0
|
||||
/* 5B2DC8 80219918 26100004 */ addiu $s0, $s0, 4
|
||||
.L8021991C:
|
||||
/* 5B2DCC 8021991C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B2DD0 80219920 00000000 */ nop
|
||||
/* 5B2DD4 80219924 44050000 */ mfc1 $a1, $f0
|
||||
/* 5B2DD8 80219928 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5B2DDC 8021992C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5B2DE0 80219930 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5B2DE4 80219934 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5B2DE8 80219938 0C01CA54 */ jal func_80072950
|
||||
/* 5B2DEC 8021993C AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5B2DF0 80219940 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B2DF4 80219944 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5B2DF8 80219948 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5B2DFC 8021994C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5B2E00 80219950 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5B2E04 80219954 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B2E08 80219958 03E00008 */ jr $ra
|
||||
/* 5B2E0C 8021995C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219C80_5B3130
|
||||
/* 5B3130 80219C80 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5B3134 80219C84 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5B3138 80219C88 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5B313C 80219C8C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5B3140 80219C90 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5B3144 80219C94 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5B3148 80219C98 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5B314C 80219C9C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5B3150 80219CA0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5B3154 80219CA4 3C108023 */ lui $s0, %hi(D_80233564)
|
||||
/* 5B3158 80219CA8 26103564 */ addiu $s0, $s0, %lo(D_80233564)
|
||||
/* 5B315C 80219CAC AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219CB0:
|
||||
/* 5B3160 80219CB0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5B3164 80219CB4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5B3168 80219CB8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B316C 80219CBC 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5B3170 80219CC0 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5B3174 80219CC4 00031900 */ sll $v1, $v1, 4
|
||||
/* 5B3178 80219CC8 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5B317C 80219CCC 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5B3180 80219CD0 00021140 */ sll $v0, $v0, 5
|
||||
/* 5B3184 80219CD4 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5B3188 80219CD8 0C01BB5C */ jal strcmp
|
||||
/* 5B318C 80219CDC 8C440000 */ lw $a0, ($v0)
|
||||
/* 5B3190 80219CE0 14400003 */ bnez $v0, .L80219CF0
|
||||
/* 5B3194 80219CE4 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5B3198 80219CE8 0808673F */ j .L80219CFC
|
||||
/* 5B319C 80219CEC 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219CF0:
|
||||
/* 5B31A0 80219CF0 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5B31A4 80219CF4 1440FFEE */ bnez $v0, .L80219CB0
|
||||
/* 5B31A8 80219CF8 26100004 */ addiu $s0, $s0, 4
|
||||
.L80219CFC:
|
||||
/* 5B31AC 80219CFC 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B31B0 80219D00 00000000 */ nop
|
||||
/* 5B31B4 80219D04 44050000 */ mfc1 $a1, $f0
|
||||
/* 5B31B8 80219D08 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5B31BC 80219D0C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5B31C0 80219D10 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5B31C4 80219D14 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5B31C8 80219D18 0C01CA54 */ jal func_80072950
|
||||
/* 5B31CC 80219D1C AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5B31D0 80219D20 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B31D4 80219D24 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5B31D8 80219D28 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5B31DC 80219D2C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5B31E0 80219D30 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5B31E4 80219D34 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B31E8 80219D38 03E00008 */ jr $ra
|
||||
/* 5B31EC 80219D3C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219D40_5B31F0
|
||||
/* 5B31F0 80219D40 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5B31F4 80219D44 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5B31F8 80219D48 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5B31FC 80219D4C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5B3200 80219D50 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5B3204 80219D54 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5B3208 80219D58 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5B320C 80219D5C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5B3210 80219D60 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5B3214 80219D64 3C108023 */ lui $s0, %hi(D_80233870)
|
||||
/* 5B3218 80219D68 26103870 */ addiu $s0, $s0, %lo(D_80233870)
|
||||
/* 5B321C 80219D6C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219D70:
|
||||
/* 5B3220 80219D70 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5B3224 80219D74 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5B3228 80219D78 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B322C 80219D7C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5B3230 80219D80 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5B3234 80219D84 00031900 */ sll $v1, $v1, 4
|
||||
/* 5B3238 80219D88 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5B323C 80219D8C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5B3240 80219D90 00021140 */ sll $v0, $v0, 5
|
||||
/* 5B3244 80219D94 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5B3248 80219D98 0C01BB5C */ jal strcmp
|
||||
/* 5B324C 80219D9C 8C440000 */ lw $a0, ($v0)
|
||||
/* 5B3250 80219DA0 14400003 */ bnez $v0, .L80219DB0
|
||||
/* 5B3254 80219DA4 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5B3258 80219DA8 0808676F */ j .L80219DBC
|
||||
/* 5B325C 80219DAC 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219DB0:
|
||||
/* 5B3260 80219DB0 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5B3264 80219DB4 1440FFEE */ bnez $v0, .L80219D70
|
||||
/* 5B3268 80219DB8 26100004 */ addiu $s0, $s0, 4
|
||||
.L80219DBC:
|
||||
/* 5B326C 80219DBC 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B3270 80219DC0 00000000 */ nop
|
||||
/* 5B3274 80219DC4 44050000 */ mfc1 $a1, $f0
|
||||
/* 5B3278 80219DC8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5B327C 80219DCC AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5B3280 80219DD0 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5B3284 80219DD4 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5B3288 80219DD8 0C01CA54 */ jal func_80072950
|
||||
/* 5B328C 80219DDC AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5B3290 80219DE0 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B3294 80219DE4 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5B3298 80219DE8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5B329C 80219DEC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5B32A0 80219DF0 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5B32A4 80219DF4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B32A8 80219DF8 03E00008 */ jr $ra
|
||||
/* 5B32AC 80219DFC 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219E00_5B32B0
|
||||
/* 5B32B0 80219E00 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5B32B4 80219E04 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5B32B8 80219E08 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5B32BC 80219E0C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5B32C0 80219E10 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5B32C4 80219E14 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5B32C8 80219E18 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5B32CC 80219E1C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5B32D0 80219E20 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5B32D4 80219E24 3C108023 */ lui $s0, %hi(D_80233950)
|
||||
/* 5B32D8 80219E28 26103950 */ addiu $s0, $s0, %lo(D_80233950)
|
||||
/* 5B32DC 80219E2C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219E30:
|
||||
/* 5B32E0 80219E30 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5B32E4 80219E34 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5B32E8 80219E38 8E050000 */ lw $a1, ($s0)
|
||||
/* 5B32EC 80219E3C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5B32F0 80219E40 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5B32F4 80219E44 00031900 */ sll $v1, $v1, 4
|
||||
/* 5B32F8 80219E48 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5B32FC 80219E4C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5B3300 80219E50 00021140 */ sll $v0, $v0, 5
|
||||
/* 5B3304 80219E54 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5B3308 80219E58 0C01BB5C */ jal strcmp
|
||||
/* 5B330C 80219E5C 8C440000 */ lw $a0, ($v0)
|
||||
/* 5B3310 80219E60 14400003 */ bnez $v0, .L80219E70
|
||||
/* 5B3314 80219E64 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5B3318 80219E68 0808679F */ j .L80219E7C
|
||||
/* 5B331C 80219E6C 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219E70:
|
||||
/* 5B3320 80219E70 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5B3324 80219E74 1440FFEE */ bnez $v0, .L80219E30
|
||||
/* 5B3328 80219E78 26100004 */ addiu $s0, $s0, 4
|
||||
.L80219E7C:
|
||||
/* 5B332C 80219E7C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5B3330 80219E80 00000000 */ nop
|
||||
/* 5B3334 80219E84 44050000 */ mfc1 $a1, $f0
|
||||
/* 5B3338 80219E88 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5B333C 80219E8C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5B3340 80219E90 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5B3344 80219E94 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5B3348 80219E98 0C01CA54 */ jal func_80072950
|
||||
/* 5B334C 80219E9C AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5B3350 80219EA0 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5B3354 80219EA4 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5B3358 80219EA8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5B335C 80219EAC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5B3360 80219EB0 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5B3364 80219EB4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B3368 80219EB8 03E00008 */ jr $ra
|
||||
/* 5B336C 80219EBC 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,51 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218058_5CE6E8
|
||||
/* 5CE6E8 80218058 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 5CE6EC 8021805C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 5CE6F0 80218060 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 5CE6F4 80218064 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 5CE6F8 80218068 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 5CE6FC 8021806C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5CE700 80218070 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 5CE704 80218074 0C09A75B */ jal get_actor
|
||||
/* 5CE708 80218078 24040200 */ addiu $a0, $zero, 0x200
|
||||
/* 5CE70C 8021807C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CE710 80218080 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CE714 80218084 0C0B1EAF */ jal get_variable
|
||||
/* 5CE718 80218088 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 5CE71C 8021808C C6200138 */ lwc1 $f0, 0x138($s1)
|
||||
/* 5CE720 80218090 44821000 */ mtc1 $v0, $f2
|
||||
/* 5CE724 80218094 00000000 */ nop
|
||||
/* 5CE728 80218098 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 5CE72C 8021809C 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 5CE730 802180A0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CE734 802180A4 4600018D */ trunc.w.s $f6, $f0
|
||||
/* 5CE738 802180A8 44023000 */ mfc1 $v0, $f6
|
||||
/* 5CE73C 802180AC 00000000 */ nop
|
||||
/* 5CE740 802180B0 A6220156 */ sh $v0, 0x156($s1)
|
||||
/* 5CE744 802180B4 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CE748 802180B8 0C0B1EAF */ jal get_variable
|
||||
/* 5CE74C 802180BC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CE750 802180C0 44822000 */ mtc1 $v0, $f4
|
||||
/* 5CE754 802180C4 00000000 */ nop
|
||||
/* 5CE758 802180C8 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 5CE75C 802180CC C620013C */ lwc1 $f0, 0x13c($s1)
|
||||
/* 5CE760 802180D0 C6220140 */ lwc1 $f2, 0x140($s1)
|
||||
/* 5CE764 802180D4 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 5CE768 802180D8 4600118D */ trunc.w.s $f6, $f2
|
||||
/* 5CE76C 802180DC 44033000 */ mfc1 $v1, $f6
|
||||
/* 5CE770 802180E0 00000000 */ nop
|
||||
/* 5CE774 802180E4 A623015A */ sh $v1, 0x15a($s1)
|
||||
/* 5CE778 802180E8 4600018D */ trunc.w.s $f6, $f0
|
||||
/* 5CE77C 802180EC 44033000 */ mfc1 $v1, $f6
|
||||
/* 5CE780 802180F0 00000000 */ nop
|
||||
/* 5CE784 802180F4 A6230158 */ sh $v1, 0x158($s1)
|
||||
/* 5CE788 802180F8 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 5CE78C 802180FC 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 5CE790 80218100 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 5CE794 80218104 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5CE798 80218108 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CE79C 8021810C 03E00008 */ jr $ra
|
||||
/* 5CE7A0 80218110 27BD0020 */ addiu $sp, $sp, 0x20
|
107
asm/nonmatchings/battle/area_flo2/5CE690/func_802182A4_5CE934.s
Normal file
107
asm/nonmatchings/battle/area_flo2/5CE690/func_802182A4_5CE934.s
Normal file
@ -0,0 +1,107 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802182A4_5CE934
|
||||
/* 5CE934 802182A4 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 5CE938 802182A8 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CE93C 802182AC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5CE940 802182B0 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 5CE944 802182B4 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 5CE948 802182B8 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CE94C 802182BC AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CE950 802182C0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CE954 802182C4 F7BE0058 */ sdc1 $f30, 0x58($sp)
|
||||
/* 5CE958 802182C8 F7BC0050 */ sdc1 $f28, 0x50($sp)
|
||||
/* 5CE95C 802182CC F7BA0048 */ sdc1 $f26, 0x48($sp)
|
||||
/* 5CE960 802182D0 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 5CE964 802182D4 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 5CE968 802182D8 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 5CE96C 802182DC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5CE970 802182E0 8E130000 */ lw $s3, ($s0)
|
||||
/* 5CE974 802182E4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CE978 802182E8 0C0B210B */ jal get_float_variable
|
||||
/* 5CE97C 802182EC 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 5CE980 802182F0 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 5CE984 802182F4 8E140000 */ lw $s4, ($s0)
|
||||
/* 5CE988 802182F8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CE98C 802182FC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CE990 80218300 0C0B210B */ jal get_float_variable
|
||||
/* 5CE994 80218304 0280282D */ daddu $a1, $s4, $zero
|
||||
/* 5CE998 80218308 46000786 */ mov.s $f30, $f0
|
||||
/* 5CE99C 8021830C 8E120000 */ lw $s2, ($s0)
|
||||
/* 5CE9A0 80218310 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CE9A4 80218314 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CE9A8 80218318 0C0B210B */ jal get_float_variable
|
||||
/* 5CE9AC 8021831C 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 5CE9B0 80218320 46000706 */ mov.s $f28, $f0
|
||||
/* 5CE9B4 80218324 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CE9B8 80218328 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CE9BC 8021832C 0C0B210B */ jal get_float_variable
|
||||
/* 5CE9C0 80218330 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CE9C4 80218334 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CE9C8 80218338 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CE9CC 8021833C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CE9D0 80218340 0C0B210B */ jal get_float_variable
|
||||
/* 5CE9D4 80218344 46000686 */ mov.s $f26, $f0
|
||||
/* 5CE9D8 80218348 46000606 */ mov.s $f24, $f0
|
||||
/* 5CE9DC 8021834C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CE9E0 80218350 0C0B210B */ jal get_float_variable
|
||||
/* 5CE9E4 80218354 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CE9E8 80218358 4600D306 */ mov.s $f12, $f26
|
||||
/* 5CE9EC 8021835C 3C014170 */ lui $at, 0x4170
|
||||
/* 5CE9F0 80218360 44811000 */ mtc1 $at, $f2
|
||||
/* 5CE9F4 80218364 46000586 */ mov.s $f22, $f0
|
||||
/* 5CE9F8 80218368 0C00A8D4 */ jal cos_deg
|
||||
/* 5CE9FC 8021836C 4602C601 */ sub.s $f24, $f24, $f2
|
||||
/* 5CEA00 80218370 46000506 */ mov.s $f20, $f0
|
||||
/* 5CEA04 80218374 0C00A8D4 */ jal cos_deg
|
||||
/* 5CEA08 80218378 4600C306 */ mov.s $f12, $f24
|
||||
/* 5CEA0C 8021837C 4614B502 */ mul.s $f20, $f22, $f20
|
||||
/* 5CEA10 80218380 00000000 */ nop
|
||||
/* 5CEA14 80218384 4600A502 */ mul.s $f20, $f20, $f0
|
||||
/* 5CEA18 80218388 00000000 */ nop
|
||||
/* 5CEA1C 8021838C C7A40010 */ lwc1 $f4, 0x10($sp)
|
||||
/* 5CEA20 80218390 46142100 */ add.s $f4, $f4, $f20
|
||||
/* 5CEA24 80218394 4600D306 */ mov.s $f12, $f26
|
||||
/* 5CEA28 80218398 0C00A8BB */ jal sin_deg
|
||||
/* 5CEA2C 8021839C E7A40010 */ swc1 $f4, 0x10($sp)
|
||||
/* 5CEA30 802183A0 4600B002 */ mul.s $f0, $f22, $f0
|
||||
/* 5CEA34 802183A4 00000000 */ nop
|
||||
/* 5CEA38 802183A8 4600D306 */ mov.s $f12, $f26
|
||||
/* 5CEA3C 802183AC 0C00A8D4 */ jal cos_deg
|
||||
/* 5CEA40 802183B0 4600F780 */ add.s $f30, $f30, $f0
|
||||
/* 5CEA44 802183B4 4600C306 */ mov.s $f12, $f24
|
||||
/* 5CEA48 802183B8 0C00A8BB */ jal sin_deg
|
||||
/* 5CEA4C 802183BC 46000506 */ mov.s $f20, $f0
|
||||
/* 5CEA50 802183C0 4614B582 */ mul.s $f22, $f22, $f20
|
||||
/* 5CEA54 802183C4 00000000 */ nop
|
||||
/* 5CEA58 802183C8 4600B582 */ mul.s $f22, $f22, $f0
|
||||
/* 5CEA5C 802183CC 00000000 */ nop
|
||||
/* 5CEA60 802183D0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEA64 802183D4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 5CEA68 802183D8 8FA60010 */ lw $a2, 0x10($sp)
|
||||
/* 5CEA6C 802183DC 0C0B2190 */ jal set_float_variable
|
||||
/* 5CEA70 802183E0 4616E701 */ sub.s $f28, $f28, $f22
|
||||
/* 5CEA74 802183E4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEA78 802183E8 4406F000 */ mfc1 $a2, $f30
|
||||
/* 5CEA7C 802183EC 0C0B2190 */ jal set_float_variable
|
||||
/* 5CEA80 802183F0 0280282D */ daddu $a1, $s4, $zero
|
||||
/* 5CEA84 802183F4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEA88 802183F8 4406E000 */ mfc1 $a2, $f28
|
||||
/* 5CEA8C 802183FC 0C0B2190 */ jal set_float_variable
|
||||
/* 5CEA90 80218400 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 5CEA94 80218404 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 5CEA98 80218408 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* 5CEA9C 8021840C 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CEAA0 80218410 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CEAA4 80218414 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CEAA8 80218418 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CEAAC 8021841C D7BE0058 */ ldc1 $f30, 0x58($sp)
|
||||
/* 5CEAB0 80218420 D7BC0050 */ ldc1 $f28, 0x50($sp)
|
||||
/* 5CEAB4 80218424 D7BA0048 */ ldc1 $f26, 0x48($sp)
|
||||
/* 5CEAB8 80218428 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 5CEABC 8021842C D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 5CEAC0 80218430 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 5CEAC4 80218434 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CEAC8 80218438 03E00008 */ jr $ra
|
||||
/* 5CEACC 8021843C 27BD0060 */ addiu $sp, $sp, 0x60
|
117
asm/nonmatchings/battle/area_flo2/5CE690/func_80218440_5CEAD0.s
Normal file
117
asm/nonmatchings/battle/area_flo2/5CE690/func_80218440_5CEAD0.s
Normal file
@ -0,0 +1,117 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218440_5CEAD0
|
||||
/* 5CEAD0 80218440 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 5CEAD4 80218444 AFB1003C */ sw $s1, 0x3c($sp)
|
||||
/* 5CEAD8 80218448 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5CEADC 8021844C AFBF0040 */ sw $ra, 0x40($sp)
|
||||
/* 5CEAE0 80218450 AFB00038 */ sw $s0, 0x38($sp)
|
||||
/* 5CEAE4 80218454 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5CEAE8 80218458 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEAEC 8021845C 0C0B1EAF */ jal get_variable
|
||||
/* 5CEAF0 80218460 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEAF4 80218464 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 5CEAF8 80218468 30A20002 */ andi $v0, $a1, 2
|
||||
/* 5CEAFC 8021846C 14400004 */ bnez $v0, .L80218480
|
||||
/* 5CEB00 80218470 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 5CEB04 80218474 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CEB08 80218478 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 5CEB0C 8021847C 24040001 */ addiu $a0, $zero, 1
|
||||
.L80218480:
|
||||
/* 5CEB10 80218480 30A20008 */ andi $v0, $a1, 8
|
||||
/* 5CEB14 80218484 14400007 */ bnez $v0, .L802184A4
|
||||
/* 5CEB18 80218488 30A20020 */ andi $v0, $a1, 0x20
|
||||
/* 5CEB1C 8021848C 00041080 */ sll $v0, $a0, 2
|
||||
/* 5CEB20 80218490 03A21821 */ addu $v1, $sp, $v0
|
||||
/* 5CEB24 80218494 24020008 */ addiu $v0, $zero, 8
|
||||
/* 5CEB28 80218498 AC620010 */ sw $v0, 0x10($v1)
|
||||
/* 5CEB2C 8021849C 24840001 */ addiu $a0, $a0, 1
|
||||
/* 5CEB30 802184A0 30A20020 */ andi $v0, $a1, 0x20
|
||||
.L802184A4:
|
||||
/* 5CEB34 802184A4 14400007 */ bnez $v0, .L802184C4
|
||||
/* 5CEB38 802184A8 30A20080 */ andi $v0, $a1, 0x80
|
||||
/* 5CEB3C 802184AC 00041080 */ sll $v0, $a0, 2
|
||||
/* 5CEB40 802184B0 03A21821 */ addu $v1, $sp, $v0
|
||||
/* 5CEB44 802184B4 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* 5CEB48 802184B8 AC620010 */ sw $v0, 0x10($v1)
|
||||
/* 5CEB4C 802184BC 24840001 */ addiu $a0, $a0, 1
|
||||
/* 5CEB50 802184C0 30A20080 */ andi $v0, $a1, 0x80
|
||||
.L802184C4:
|
||||
/* 5CEB54 802184C4 14400007 */ bnez $v0, .L802184E4
|
||||
/* 5CEB58 802184C8 30A20200 */ andi $v0, $a1, 0x200
|
||||
/* 5CEB5C 802184CC 00041080 */ sll $v0, $a0, 2
|
||||
/* 5CEB60 802184D0 03A21821 */ addu $v1, $sp, $v0
|
||||
/* 5CEB64 802184D4 24020080 */ addiu $v0, $zero, 0x80
|
||||
/* 5CEB68 802184D8 AC620010 */ sw $v0, 0x10($v1)
|
||||
/* 5CEB6C 802184DC 24840001 */ addiu $a0, $a0, 1
|
||||
/* 5CEB70 802184E0 30A20200 */ andi $v0, $a1, 0x200
|
||||
.L802184E4:
|
||||
/* 5CEB74 802184E4 14400007 */ bnez $v0, .L80218504
|
||||
/* 5CEB78 802184E8 30A20001 */ andi $v0, $a1, 1
|
||||
/* 5CEB7C 802184EC 00041080 */ sll $v0, $a0, 2
|
||||
/* 5CEB80 802184F0 03A21821 */ addu $v1, $sp, $v0
|
||||
/* 5CEB84 802184F4 24020200 */ addiu $v0, $zero, 0x200
|
||||
/* 5CEB88 802184F8 AC620010 */ sw $v0, 0x10($v1)
|
||||
/* 5CEB8C 802184FC 24840001 */ addiu $a0, $a0, 1
|
||||
/* 5CEB90 80218500 30A20001 */ andi $v0, $a1, 1
|
||||
.L80218504:
|
||||
/* 5CEB94 80218504 14400007 */ bnez $v0, .L80218524
|
||||
/* 5CEB98 80218508 30A20004 */ andi $v0, $a1, 4
|
||||
/* 5CEB9C 8021850C 00041080 */ sll $v0, $a0, 2
|
||||
/* 5CEBA0 80218510 03A21821 */ addu $v1, $sp, $v0
|
||||
/* 5CEBA4 80218514 24020001 */ addiu $v0, $zero, 1
|
||||
/* 5CEBA8 80218518 AC620010 */ sw $v0, 0x10($v1)
|
||||
/* 5CEBAC 8021851C 00822021 */ addu $a0, $a0, $v0
|
||||
/* 5CEBB0 80218520 30A20004 */ andi $v0, $a1, 4
|
||||
.L80218524:
|
||||
/* 5CEBB4 80218524 14400007 */ bnez $v0, .L80218544
|
||||
/* 5CEBB8 80218528 30A20010 */ andi $v0, $a1, 0x10
|
||||
/* 5CEBBC 8021852C 00041080 */ sll $v0, $a0, 2
|
||||
/* 5CEBC0 80218530 03A21821 */ addu $v1, $sp, $v0
|
||||
/* 5CEBC4 80218534 24020004 */ addiu $v0, $zero, 4
|
||||
/* 5CEBC8 80218538 AC620010 */ sw $v0, 0x10($v1)
|
||||
/* 5CEBCC 8021853C 24840001 */ addiu $a0, $a0, 1
|
||||
/* 5CEBD0 80218540 30A20010 */ andi $v0, $a1, 0x10
|
||||
.L80218544:
|
||||
/* 5CEBD4 80218544 14400005 */ bnez $v0, .L8021855C
|
||||
/* 5CEBD8 80218548 00041080 */ sll $v0, $a0, 2
|
||||
/* 5CEBDC 8021854C 03A21821 */ addu $v1, $sp, $v0
|
||||
/* 5CEBE0 80218550 24020010 */ addiu $v0, $zero, 0x10
|
||||
/* 5CEBE4 80218554 AC620010 */ sw $v0, 0x10($v1)
|
||||
/* 5CEBE8 80218558 24840001 */ addiu $a0, $a0, 1
|
||||
.L8021855C:
|
||||
/* 5CEBEC 8021855C 1480000F */ bnez $a0, .L8021859C
|
||||
/* 5CEBF0 80218560 30A20100 */ andi $v0, $a1, 0x100
|
||||
/* 5CEBF4 80218564 14400005 */ bnez $v0, .L8021857C
|
||||
/* 5CEBF8 80218568 30A20040 */ andi $v0, $a1, 0x40
|
||||
/* 5CEBFC 8021856C 24020100 */ addiu $v0, $zero, 0x100
|
||||
/* 5CEC00 80218570 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 5CEC04 80218574 24040001 */ addiu $a0, $zero, 1
|
||||
/* 5CEC08 80218578 30A20040 */ andi $v0, $a1, 0x40
|
||||
.L8021857C:
|
||||
/* 5CEC0C 8021857C 14400005 */ bnez $v0, .L80218594
|
||||
/* 5CEC10 80218580 00041080 */ sll $v0, $a0, 2
|
||||
/* 5CEC14 80218584 03A21821 */ addu $v1, $sp, $v0
|
||||
/* 5CEC18 80218588 24020040 */ addiu $v0, $zero, 0x40
|
||||
/* 5CEC1C 8021858C AC620010 */ sw $v0, 0x10($v1)
|
||||
/* 5CEC20 80218590 24840001 */ addiu $a0, $a0, 1
|
||||
.L80218594:
|
||||
/* 5CEC24 80218594 10800006 */ beqz $a0, .L802185B0
|
||||
/* 5CEC28 80218598 2406FFFF */ addiu $a2, $zero, -1
|
||||
.L8021859C:
|
||||
/* 5CEC2C 8021859C 0C00A67F */ jal rand_int
|
||||
/* 5CEC30 802185A0 2484FFFF */ addiu $a0, $a0, -1
|
||||
/* 5CEC34 802185A4 00021080 */ sll $v0, $v0, 2
|
||||
/* 5CEC38 802185A8 03A21021 */ addu $v0, $sp, $v0
|
||||
/* 5CEC3C 802185AC 8C460010 */ lw $a2, 0x10($v0)
|
||||
.L802185B0:
|
||||
/* 5CEC40 802185B0 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEC44 802185B4 0C0B2026 */ jal set_variable
|
||||
/* 5CEC48 802185B8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEC4C 802185BC 8FBF0040 */ lw $ra, 0x40($sp)
|
||||
/* 5CEC50 802185C0 8FB1003C */ lw $s1, 0x3c($sp)
|
||||
/* 5CEC54 802185C4 8FB00038 */ lw $s0, 0x38($sp)
|
||||
/* 5CEC58 802185C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CEC5C 802185CC 03E00008 */ jr $ra
|
||||
/* 5CEC60 802185D0 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -0,0 +1,23 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802185D4_5CEC64
|
||||
/* 5CEC64 802185D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 5CEC68 802185D8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5CEC6C 802185DC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 5CEC70 802185E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 5CEC74 802185E4 0C09A75B */ jal get_actor
|
||||
/* 5CEC78 802185E8 8E040148 */ lw $a0, 0x148($s0)
|
||||
/* 5CEC7C 802185EC 804201F1 */ lb $v0, 0x1f1($v0)
|
||||
/* 5CEC80 802185F0 3C018022 */ lui $at, %hi(D_8021A35C)
|
||||
/* 5CEC84 802185F4 AC22A35C */ sw $v0, %lo(D_8021A35C)($at)
|
||||
/* 5CEC88 802185F8 0C09A75B */ jal get_actor
|
||||
/* 5CEC8C 802185FC 8E040148 */ lw $a0, 0x148($s0)
|
||||
/* 5CEC90 80218600 804301F1 */ lb $v1, 0x1f1($v0)
|
||||
/* 5CEC94 80218604 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 5CEC98 80218608 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5CEC9C 8021860C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CECA0 80218610 3C018022 */ lui $at, %hi(D_8021A378)
|
||||
/* 5CECA4 80218614 AC23A378 */ sw $v1, %lo(D_8021A378)($at)
|
||||
/* 5CECA8 80218618 03E00008 */ jr $ra
|
||||
/* 5CECAC 8021861C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,89 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218620_5CECB0
|
||||
/* 5CECB0 80218620 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 5CECB4 80218624 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 5CECB8 80218628 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 5CECBC 8021862C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 5CECC0 80218630 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 5CECC4 80218634 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5CECC8 80218638 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 5CECCC 8021863C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CECD0 80218640 0C0B1EAF */ jal get_variable
|
||||
/* 5CECD4 80218644 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CECD8 80218648 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CECDC 8021864C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CECE0 80218650 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CECE4 80218654 3C038023 */ lui $v1, %hi(D_80235E00)
|
||||
/* 5CECE8 80218658 24635E00 */ addiu $v1, $v1, %lo(D_80235E00)
|
||||
/* 5CECEC 8021865C 000288C0 */ sll $s1, $v0, 3
|
||||
/* 5CECF0 80218660 02228821 */ addu $s1, $s1, $v0
|
||||
/* 5CECF4 80218664 00118880 */ sll $s1, $s1, 2
|
||||
/* 5CECF8 80218668 0C0B1EAF */ jal get_variable
|
||||
/* 5CECFC 8021866C 02238821 */ addu $s1, $s1, $v1
|
||||
/* 5CED00 80218670 44820000 */ mtc1 $v0, $f0
|
||||
/* 5CED04 80218674 00000000 */ nop
|
||||
/* 5CED08 80218678 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 5CED0C 8021867C E6200000 */ swc1 $f0, ($s1)
|
||||
/* 5CED10 80218680 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CED14 80218684 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CED18 80218688 0C0B1EAF */ jal get_variable
|
||||
/* 5CED1C 8021868C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CED20 80218690 44820000 */ mtc1 $v0, $f0
|
||||
/* 5CED24 80218694 00000000 */ nop
|
||||
/* 5CED28 80218698 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 5CED2C 8021869C E6200004 */ swc1 $f0, 4($s1)
|
||||
/* 5CED30 802186A0 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CED34 802186A4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CED38 802186A8 0C0B1EAF */ jal get_variable
|
||||
/* 5CED3C 802186AC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CED40 802186B0 24040014 */ addiu $a0, $zero, 0x14
|
||||
/* 5CED44 802186B4 44820000 */ mtc1 $v0, $f0
|
||||
/* 5CED48 802186B8 00000000 */ nop
|
||||
/* 5CED4C 802186BC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 5CED50 802186C0 0C00A67F */ jal rand_int
|
||||
/* 5CED54 802186C4 E6200008 */ swc1 $f0, 8($s1)
|
||||
/* 5CED58 802186C8 24040028 */ addiu $a0, $zero, 0x28
|
||||
/* 5CED5C 802186CC 00021023 */ negu $v0, $v0
|
||||
/* 5CED60 802186D0 44820000 */ mtc1 $v0, $f0
|
||||
/* 5CED64 802186D4 00000000 */ nop
|
||||
/* 5CED68 802186D8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 5CED6C 802186DC 0C00A67F */ jal rand_int
|
||||
/* 5CED70 802186E0 E620000C */ swc1 $f0, 0xc($s1)
|
||||
/* 5CED74 802186E4 2442003C */ addiu $v0, $v0, 0x3c
|
||||
/* 5CED78 802186E8 44820000 */ mtc1 $v0, $f0
|
||||
/* 5CED7C 802186EC 00000000 */ nop
|
||||
/* 5CED80 802186F0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 5CED84 802186F4 E6200010 */ swc1 $f0, 0x10($s1)
|
||||
/* 5CED88 802186F8 AE200014 */ sw $zero, 0x14($s1)
|
||||
/* 5CED8C 802186FC 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CED90 80218700 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CED94 80218704 0C0B1EAF */ jal get_variable
|
||||
/* 5CED98 80218708 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CED9C 8021870C 44820000 */ mtc1 $v0, $f0
|
||||
/* 5CEDA0 80218710 00000000 */ nop
|
||||
/* 5CEDA4 80218714 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 5CEDA8 80218718 E6200018 */ swc1 $f0, 0x18($s1)
|
||||
/* 5CEDAC 8021871C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEDB0 80218720 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEDB4 80218724 0C0B1EAF */ jal get_variable
|
||||
/* 5CEDB8 80218728 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CEDBC 8021872C 44820000 */ mtc1 $v0, $f0
|
||||
/* 5CEDC0 80218730 00000000 */ nop
|
||||
/* 5CEDC4 80218734 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 5CEDC8 80218738 E620001C */ swc1 $f0, 0x1c($s1)
|
||||
/* 5CEDCC 8021873C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEDD0 80218740 0C0B1EAF */ jal get_variable
|
||||
/* 5CEDD4 80218744 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CEDD8 80218748 44820000 */ mtc1 $v0, $f0
|
||||
/* 5CEDDC 8021874C 00000000 */ nop
|
||||
/* 5CEDE0 80218750 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 5CEDE4 80218754 E6200020 */ swc1 $f0, 0x20($s1)
|
||||
/* 5CEDE8 80218758 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 5CEDEC 8021875C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 5CEDF0 80218760 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 5CEDF4 80218764 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5CEDF8 80218768 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CEDFC 8021876C 03E00008 */ jr $ra
|
||||
/* 5CEE00 80218770 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -0,0 +1,81 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218774_5CEE04
|
||||
/* 5CEE04 80218774 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 5CEE08 80218778 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 5CEE0C 8021877C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5CEE10 80218780 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 5CEE14 80218784 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 5CEE18 80218788 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 5CEE1C 8021878C F7BE0058 */ sdc1 $f30, 0x58($sp)
|
||||
/* 5CEE20 80218790 F7BC0050 */ sdc1 $f28, 0x50($sp)
|
||||
/* 5CEE24 80218794 F7BA0048 */ sdc1 $f26, 0x48($sp)
|
||||
/* 5CEE28 80218798 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 5CEE2C 8021879C F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 5CEE30 802187A0 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 5CEE34 802187A4 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5CEE38 802187A8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEE3C 802187AC 0C0B1EAF */ jal get_variable
|
||||
/* 5CEE40 802187B0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEE44 802187B4 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEE48 802187B8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEE4C 802187BC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEE50 802187C0 0C0B210B */ jal get_float_variable
|
||||
/* 5CEE54 802187C4 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 5CEE58 802187C8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEE5C 802187CC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEE60 802187D0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEE64 802187D4 0C0B210B */ jal get_float_variable
|
||||
/* 5CEE68 802187D8 46000786 */ mov.s $f30, $f0
|
||||
/* 5CEE6C 802187DC 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEE70 802187E0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEE74 802187E4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEE78 802187E8 0C0B210B */ jal get_float_variable
|
||||
/* 5CEE7C 802187EC 46000706 */ mov.s $f28, $f0
|
||||
/* 5CEE80 802187F0 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEE84 802187F4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEE88 802187F8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEE8C 802187FC 0C0B210B */ jal get_float_variable
|
||||
/* 5CEE90 80218800 46000686 */ mov.s $f26, $f0
|
||||
/* 5CEE94 80218804 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEE98 80218808 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEE9C 8021880C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEEA0 80218810 0C0B210B */ jal get_float_variable
|
||||
/* 5CEEA4 80218814 46000606 */ mov.s $f24, $f0
|
||||
/* 5CEEA8 80218818 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEEAC 8021881C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEEB0 80218820 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEEB4 80218824 0C0B210B */ jal get_float_variable
|
||||
/* 5CEEB8 80218828 46000586 */ mov.s $f22, $f0
|
||||
/* 5CEEBC 8021882C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEEC0 80218830 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEEC4 80218834 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEEC8 80218838 0C0B1EAF */ jal get_variable
|
||||
/* 5CEECC 8021883C 46000506 */ mov.s $f20, $f0
|
||||
/* 5CEED0 80218840 4405F000 */ mfc1 $a1, $f30
|
||||
/* 5CEED4 80218844 4406E000 */ mfc1 $a2, $f28
|
||||
/* 5CEED8 80218848 4407D000 */ mfc1 $a3, $f26
|
||||
/* 5CEEDC 8021884C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CEEE0 80218850 E7B80010 */ swc1 $f24, 0x10($sp)
|
||||
/* 5CEEE4 80218854 E7B60014 */ swc1 $f22, 0x14($sp)
|
||||
/* 5CEEE8 80218858 E7B40018 */ swc1 $f20, 0x18($sp)
|
||||
/* 5CEEEC 8021885C 0C01C874 */ jal func_800721D0
|
||||
/* 5CEEF0 80218860 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* 5CEEF4 80218864 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEEF8 80218868 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEEFC 8021886C 0C0B2026 */ jal set_variable
|
||||
/* 5CEF00 80218870 0040302D */ daddu $a2, $v0, $zero
|
||||
/* 5CEF04 80218874 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 5CEF08 80218878 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* 5CEF0C 8021887C 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 5CEF10 80218880 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 5CEF14 80218884 D7BE0058 */ ldc1 $f30, 0x58($sp)
|
||||
/* 5CEF18 80218888 D7BC0050 */ ldc1 $f28, 0x50($sp)
|
||||
/* 5CEF1C 8021888C D7BA0048 */ ldc1 $f26, 0x48($sp)
|
||||
/* 5CEF20 80218890 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 5CEF24 80218894 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 5CEF28 80218898 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 5CEF2C 8021889C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CEF30 802188A0 03E00008 */ jr $ra
|
||||
/* 5CEF34 802188A4 27BD0060 */ addiu $sp, $sp, 0x60
|
@ -0,0 +1,21 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802188A8_5CEF38
|
||||
/* 5CEF38 802188A8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 5CEF3C 802188AC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 5CEF40 802188B0 0C04760B */ jal func_8011D82C
|
||||
/* 5CEF44 802188B4 24040001 */ addiu $a0, $zero, 1
|
||||
/* 5CEF48 802188B8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 5CEF4C 802188BC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 5CEF50 802188C0 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 5CEF54 802188C4 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 5CEF58 802188C8 3C038015 */ lui $v1, %hi(D_801512F0)
|
||||
/* 5CEF5C 802188CC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
|
||||
/* 5CEF60 802188D0 0080382D */ daddu $a3, $a0, $zero
|
||||
/* 5CEF64 802188D4 0C046F97 */ jal set_background_color_blend
|
||||
/* 5CEF68 802188D8 A0620000 */ sb $v0, ($v1)
|
||||
/* 5CEF6C 802188DC 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 5CEF70 802188E0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CEF74 802188E4 03E00008 */ jr $ra
|
||||
/* 5CEF78 802188E8 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,18 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802188EC_5CEF7C
|
||||
/* 5CEF7C 802188EC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 5CEF80 802188F0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 5CEF84 802188F4 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5CEF88 802188F8 0C0B1EAF */ jal get_variable
|
||||
/* 5CEF8C 802188FC 8C450000 */ lw $a1, ($v0)
|
||||
/* 5CEF90 80218900 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 5CEF94 80218904 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 5CEF98 80218908 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 5CEF9C 8021890C 0C046F97 */ jal set_background_color_blend
|
||||
/* 5CEFA0 80218910 304700FF */ andi $a3, $v0, 0xff
|
||||
/* 5CEFA4 80218914 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 5CEFA8 80218918 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CEFAC 8021891C 03E00008 */ jr $ra
|
||||
/* 5CEFB0 80218920 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,58 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218924_5CEFB4
|
||||
/* 5CEFB4 80218924 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5CEFB8 80218928 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CEFBC 8021892C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5CEFC0 80218930 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 5CEFC4 80218934 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CEFC8 80218938 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CEFCC 8021893C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CEFD0 80218940 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5CEFD4 80218944 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEFD8 80218948 0C0B1EAF */ jal get_variable
|
||||
/* 5CEFDC 8021894C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEFE0 80218950 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEFE4 80218954 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEFE8 80218958 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CEFEC 8021895C 0C0B1EAF */ jal get_variable
|
||||
/* 5CEFF0 80218960 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 5CEFF4 80218964 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CEFF8 80218968 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CEFFC 8021896C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF000 80218970 0C0B1EAF */ jal get_variable
|
||||
/* 5CF004 80218974 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 5CF008 80218978 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF00C 8021897C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF010 80218980 0C0B210B */ jal get_float_variable
|
||||
/* 5CF014 80218984 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 5CF018 80218988 44932000 */ mtc1 $s3, $f4
|
||||
/* 5CF01C 8021898C 00000000 */ nop
|
||||
/* 5CF020 80218990 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 5CF024 80218994 44052000 */ mfc1 $a1, $f4
|
||||
/* 5CF028 80218998 44922000 */ mtc1 $s2, $f4
|
||||
/* 5CF02C 8021899C 00000000 */ nop
|
||||
/* 5CF030 802189A0 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 5CF034 802189A4 3C014020 */ lui $at, 0x4020
|
||||
/* 5CF038 802189A8 44811000 */ mtc1 $at, $f2
|
||||
/* 5CF03C 802189AC 44062000 */ mfc1 $a2, $f4
|
||||
/* 5CF040 802189B0 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 5CF044 802189B4 00000000 */ nop
|
||||
/* 5CF048 802189B8 44902000 */ mtc1 $s0, $f4
|
||||
/* 5CF04C 802189BC 00000000 */ nop
|
||||
/* 5CF050 802189C0 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 5CF054 802189C4 44072000 */ mfc1 $a3, $f4
|
||||
/* 5CF058 802189C8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 5CF05C 802189CC AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5CF060 802189D0 0C01C64C */ jal func_80071930
|
||||
/* 5CF064 802189D4 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 5CF068 802189D8 AE220084 */ sw $v0, 0x84($s1)
|
||||
/* 5CF06C 802189DC 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5CF070 802189E0 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CF074 802189E4 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CF078 802189E8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CF07C 802189EC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CF080 802189F0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CF084 802189F4 03E00008 */ jr $ra
|
||||
/* 5CF088 802189F8 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,45 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802189FC_5CF08C
|
||||
/* 5CF08C 802189FC 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5CF090 80218A00 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 5CF094 80218A04 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5CF098 80218A08 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 5CF09C 80218A0C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 5CF0A0 80218A10 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5CF0A4 80218A14 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 5CF0A8 80218A18 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 5CF0AC 80218A1C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5CF0B0 80218A20 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF0B4 80218A24 0C0B1EAF */ jal get_variable
|
||||
/* 5CF0B8 80218A28 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CF0BC 80218A2C 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF0C0 80218A30 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CF0C4 80218A34 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF0C8 80218A38 0C0B210B */ jal get_float_variable
|
||||
/* 5CF0CC 80218A3C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 5CF0D0 80218A40 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF0D4 80218A44 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CF0D8 80218A48 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF0DC 80218A4C 0C0B210B */ jal get_float_variable
|
||||
/* 5CF0E0 80218A50 46000586 */ mov.s $f22, $f0
|
||||
/* 5CF0E4 80218A54 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF0E8 80218A58 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF0EC 80218A5C 0C0B210B */ jal get_float_variable
|
||||
/* 5CF0F0 80218A60 46000506 */ mov.s $f20, $f0
|
||||
/* 5CF0F4 80218A64 8E42000C */ lw $v0, 0xc($s2)
|
||||
/* 5CF0F8 80218A68 E4560004 */ swc1 $f22, 4($v0)
|
||||
/* 5CF0FC 80218A6C 8E42000C */ lw $v0, 0xc($s2)
|
||||
/* 5CF100 80218A70 E4540008 */ swc1 $f20, 8($v0)
|
||||
/* 5CF104 80218A74 8E43000C */ lw $v1, 0xc($s2)
|
||||
/* 5CF108 80218A78 E460000C */ swc1 $f0, 0xc($v1)
|
||||
/* 5CF10C 80218A7C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 5CF110 80218A80 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 5CF114 80218A84 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 5CF118 80218A88 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5CF11C 80218A8C D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 5CF120 80218A90 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 5CF124 80218A94 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CF128 80218A98 03E00008 */ jr $ra
|
||||
/* 5CF12C 80218A9C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,52 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218AA0_5CF130
|
||||
/* 5CF130 80218AA0 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 5CF134 80218AA4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 5CF138 80218AA8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5CF13C 80218AAC AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 5CF140 80218AB0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 5CF144 80218AB4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 5CF148 80218AB8 F7B80030 */ sdc1 $f24, 0x30($sp)
|
||||
/* 5CF14C 80218ABC F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 5CF150 80218AC0 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 5CF154 80218AC4 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5CF158 80218AC8 8E120000 */ lw $s2, ($s0)
|
||||
/* 5CF15C 80218ACC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CF160 80218AD0 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF164 80218AD4 0C0B210B */ jal get_float_variable
|
||||
/* 5CF168 80218AD8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CF16C 80218ADC 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF170 80218AE0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CF174 80218AE4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF178 80218AE8 0C0B210B */ jal get_float_variable
|
||||
/* 5CF17C 80218AEC 46000606 */ mov.s $f24, $f0
|
||||
/* 5CF180 80218AF0 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF184 80218AF4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CF188 80218AF8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF18C 80218AFC 0C0B210B */ jal get_float_variable
|
||||
/* 5CF190 80218B00 46000586 */ mov.s $f22, $f0
|
||||
/* 5CF194 80218B04 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF198 80218B08 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF19C 80218B0C 0C0B210B */ jal get_float_variable
|
||||
/* 5CF1A0 80218B10 46000506 */ mov.s $f20, $f0
|
||||
/* 5CF1A4 80218B14 4600C306 */ mov.s $f12, $f24
|
||||
/* 5CF1A8 80218B18 4406A000 */ mfc1 $a2, $f20
|
||||
/* 5CF1AC 80218B1C 44070000 */ mfc1 $a3, $f0
|
||||
/* 5CF1B0 80218B20 0C00A720 */ jal atan2
|
||||
/* 5CF1B4 80218B24 4600B386 */ mov.s $f14, $f22
|
||||
/* 5CF1B8 80218B28 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF1BC 80218B2C 44060000 */ mfc1 $a2, $f0
|
||||
/* 5CF1C0 80218B30 0C0B2190 */ jal set_float_variable
|
||||
/* 5CF1C4 80218B34 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 5CF1C8 80218B38 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 5CF1CC 80218B3C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 5CF1D0 80218B40 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 5CF1D4 80218B44 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 5CF1D8 80218B48 D7B80030 */ ldc1 $f24, 0x30($sp)
|
||||
/* 5CF1DC 80218B4C D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 5CF1E0 80218B50 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 5CF1E4 80218B54 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CF1E8 80218B58 03E00008 */ jr $ra
|
||||
/* 5CF1EC 80218B5C 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -0,0 +1,60 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218B60_5CF1F0
|
||||
/* 5CF1F0 80218B60 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 5CF1F4 80218B64 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CF1F8 80218B68 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 5CF1FC 80218B6C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 5CF200 80218B70 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CF204 80218B74 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CF208 80218B78 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CF20C 80218B7C F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 5CF210 80218B80 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 5CF214 80218B84 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 5CF218 80218B88 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF21C 80218B8C 0C0B1EAF */ jal get_variable
|
||||
/* 5CF220 80218B90 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CF224 80218B94 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF228 80218B98 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CF22C 80218B9C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF230 80218BA0 0C0B210B */ jal get_float_variable
|
||||
/* 5CF234 80218BA4 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 5CF238 80218BA8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF23C 80218BAC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CF240 80218BB0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF244 80218BB4 0C0B210B */ jal get_float_variable
|
||||
/* 5CF248 80218BB8 46000586 */ mov.s $f22, $f0
|
||||
/* 5CF24C 80218BBC 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF250 80218BC0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CF254 80218BC4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF258 80218BC8 0C0B1EAF */ jal get_variable
|
||||
/* 5CF25C 80218BCC 46000506 */ mov.s $f20, $f0
|
||||
/* 5CF260 80218BD0 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF264 80218BD4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 5CF268 80218BD8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF26C 80218BDC 0C0B1EAF */ jal get_variable
|
||||
/* 5CF270 80218BE0 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 5CF274 80218BE4 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 5CF278 80218BE8 4405B000 */ mfc1 $a1, $f22
|
||||
/* 5CF27C 80218BEC 4406A000 */ mfc1 $a2, $f20
|
||||
/* 5CF280 80218BF0 0240382D */ daddu $a3, $s2, $zero
|
||||
/* 5CF284 80218BF4 0C00A8ED */ jal update_lerp
|
||||
/* 5CF288 80218BF8 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 5CF28C 80218BFC 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF290 80218C00 44060000 */ mfc1 $a2, $f0
|
||||
/* 5CF294 80218C04 0C0B2190 */ jal set_float_variable
|
||||
/* 5CF298 80218C08 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 5CF29C 80218C0C 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5CF2A0 80218C10 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CF2A4 80218C14 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CF2A8 80218C18 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CF2AC 80218C1C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CF2B0 80218C20 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 5CF2B4 80218C24 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 5CF2B8 80218C28 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CF2BC 80218C2C 03E00008 */ jr $ra
|
||||
/* 5CF2C0 80218C30 27BD0040 */ addiu $sp, $sp, 0x40
|
||||
/* 5CF2C4 80218C34 00000000 */ nop
|
||||
/* 5CF2C8 80218C38 00000000 */ nop
|
||||
/* 5CF2CC 80218C3C 00000000 */ nop
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218DD0_5CF460
|
||||
/* 5CF460 80218DD0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5CF464 80218DD4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CF468 80218DD8 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5CF46C 80218DDC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CF470 80218DE0 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5CF474 80218DE4 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CF478 80218DE8 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5CF47C 80218DEC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5CF480 80218DF0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CF484 80218DF4 3C108023 */ lui $s0, %hi(D_80232D48)
|
||||
/* 5CF488 80218DF8 26102D48 */ addiu $s0, $s0, %lo(D_80232D48)
|
||||
/* 5CF48C 80218DFC AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80218E00:
|
||||
/* 5CF490 80218E00 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5CF494 80218E04 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5CF498 80218E08 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF49C 80218E0C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5CF4A0 80218E10 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5CF4A4 80218E14 00031900 */ sll $v1, $v1, 4
|
||||
/* 5CF4A8 80218E18 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5CF4AC 80218E1C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5CF4B0 80218E20 00021140 */ sll $v0, $v0, 5
|
||||
/* 5CF4B4 80218E24 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5CF4B8 80218E28 0C01BB5C */ jal strcmp
|
||||
/* 5CF4BC 80218E2C 8C440000 */ lw $a0, ($v0)
|
||||
/* 5CF4C0 80218E30 14400003 */ bnez $v0, .L80218E40
|
||||
/* 5CF4C4 80218E34 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5CF4C8 80218E38 08086393 */ j .L80218E4C
|
||||
/* 5CF4CC 80218E3C 24120001 */ addiu $s2, $zero, 1
|
||||
.L80218E40:
|
||||
/* 5CF4D0 80218E40 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5CF4D4 80218E44 1440FFEE */ bnez $v0, .L80218E00
|
||||
/* 5CF4D8 80218E48 26100004 */ addiu $s0, $s0, 4
|
||||
.L80218E4C:
|
||||
/* 5CF4DC 80218E4C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5CF4E0 80218E50 00000000 */ nop
|
||||
/* 5CF4E4 80218E54 44050000 */ mfc1 $a1, $f0
|
||||
/* 5CF4E8 80218E58 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CF4EC 80218E5C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5CF4F0 80218E60 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5CF4F4 80218E64 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5CF4F8 80218E68 0C01CA54 */ jal func_80072950
|
||||
/* 5CF4FC 80218E6C AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5CF500 80218E70 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5CF504 80218E74 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CF508 80218E78 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CF50C 80218E7C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CF510 80218E80 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CF514 80218E84 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CF518 80218E88 03E00008 */ jr $ra
|
||||
/* 5CF51C 80218E8C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218E90_5CF520
|
||||
/* 5CF520 80218E90 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5CF524 80218E94 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CF528 80218E98 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5CF52C 80218E9C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CF530 80218EA0 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5CF534 80218EA4 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CF538 80218EA8 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5CF53C 80218EAC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5CF540 80218EB0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CF544 80218EB4 3C108023 */ lui $s0, %hi(D_802331E8)
|
||||
/* 5CF548 80218EB8 261031E8 */ addiu $s0, $s0, %lo(D_802331E8)
|
||||
/* 5CF54C 80218EBC AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80218EC0:
|
||||
/* 5CF550 80218EC0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5CF554 80218EC4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5CF558 80218EC8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF55C 80218ECC 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5CF560 80218ED0 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5CF564 80218ED4 00031900 */ sll $v1, $v1, 4
|
||||
/* 5CF568 80218ED8 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5CF56C 80218EDC 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5CF570 80218EE0 00021140 */ sll $v0, $v0, 5
|
||||
/* 5CF574 80218EE4 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5CF578 80218EE8 0C01BB5C */ jal strcmp
|
||||
/* 5CF57C 80218EEC 8C440000 */ lw $a0, ($v0)
|
||||
/* 5CF580 80218EF0 14400003 */ bnez $v0, .L80218F00
|
||||
/* 5CF584 80218EF4 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5CF588 80218EF8 080863C3 */ j .L80218F0C
|
||||
/* 5CF58C 80218EFC 24120001 */ addiu $s2, $zero, 1
|
||||
.L80218F00:
|
||||
/* 5CF590 80218F00 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5CF594 80218F04 1440FFEE */ bnez $v0, .L80218EC0
|
||||
/* 5CF598 80218F08 26100004 */ addiu $s0, $s0, 4
|
||||
.L80218F0C:
|
||||
/* 5CF59C 80218F0C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5CF5A0 80218F10 00000000 */ nop
|
||||
/* 5CF5A4 80218F14 44050000 */ mfc1 $a1, $f0
|
||||
/* 5CF5A8 80218F18 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CF5AC 80218F1C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5CF5B0 80218F20 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5CF5B4 80218F24 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5CF5B8 80218F28 0C01CA54 */ jal func_80072950
|
||||
/* 5CF5BC 80218F2C AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5CF5C0 80218F30 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5CF5C4 80218F34 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CF5C8 80218F38 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CF5CC 80218F3C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CF5D0 80218F40 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CF5D4 80218F44 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CF5D8 80218F48 03E00008 */ jr $ra
|
||||
/* 5CF5DC 80218F4C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218F50_5CF5E0
|
||||
/* 5CF5E0 80218F50 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5CF5E4 80218F54 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CF5E8 80218F58 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5CF5EC 80218F5C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CF5F0 80218F60 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5CF5F4 80218F64 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CF5F8 80218F68 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5CF5FC 80218F6C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5CF600 80218F70 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CF604 80218F74 3C108023 */ lui $s0, %hi(D_80233678)
|
||||
/* 5CF608 80218F78 26103678 */ addiu $s0, $s0, %lo(D_80233678)
|
||||
/* 5CF60C 80218F7C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80218F80:
|
||||
/* 5CF610 80218F80 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5CF614 80218F84 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5CF618 80218F88 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF61C 80218F8C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5CF620 80218F90 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5CF624 80218F94 00031900 */ sll $v1, $v1, 4
|
||||
/* 5CF628 80218F98 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5CF62C 80218F9C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5CF630 80218FA0 00021140 */ sll $v0, $v0, 5
|
||||
/* 5CF634 80218FA4 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5CF638 80218FA8 0C01BB5C */ jal strcmp
|
||||
/* 5CF63C 80218FAC 8C440000 */ lw $a0, ($v0)
|
||||
/* 5CF640 80218FB0 14400003 */ bnez $v0, .L80218FC0
|
||||
/* 5CF644 80218FB4 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5CF648 80218FB8 080863F3 */ j .L80218FCC
|
||||
/* 5CF64C 80218FBC 24120001 */ addiu $s2, $zero, 1
|
||||
.L80218FC0:
|
||||
/* 5CF650 80218FC0 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5CF654 80218FC4 1440FFEE */ bnez $v0, .L80218F80
|
||||
/* 5CF658 80218FC8 26100004 */ addiu $s0, $s0, 4
|
||||
.L80218FCC:
|
||||
/* 5CF65C 80218FCC 44800000 */ mtc1 $zero, $f0
|
||||
/* 5CF660 80218FD0 00000000 */ nop
|
||||
/* 5CF664 80218FD4 44050000 */ mfc1 $a1, $f0
|
||||
/* 5CF668 80218FD8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CF66C 80218FDC AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5CF670 80218FE0 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5CF674 80218FE4 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5CF678 80218FE8 0C01CA54 */ jal func_80072950
|
||||
/* 5CF67C 80218FEC AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5CF680 80218FF0 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5CF684 80218FF4 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CF688 80218FF8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CF68C 80218FFC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CF690 80219000 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CF694 80219004 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CF698 80219008 03E00008 */ jr $ra
|
||||
/* 5CF69C 8021900C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219010_5CF6A0
|
||||
/* 5CF6A0 80219010 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5CF6A4 80219014 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CF6A8 80219018 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5CF6AC 8021901C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CF6B0 80219020 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5CF6B4 80219024 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CF6B8 80219028 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5CF6BC 8021902C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5CF6C0 80219030 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CF6C4 80219034 3C108023 */ lui $s0, %hi(D_80233B18)
|
||||
/* 5CF6C8 80219038 26103B18 */ addiu $s0, $s0, %lo(D_80233B18)
|
||||
/* 5CF6CC 8021903C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219040:
|
||||
/* 5CF6D0 80219040 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5CF6D4 80219044 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5CF6D8 80219048 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF6DC 8021904C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5CF6E0 80219050 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5CF6E4 80219054 00031900 */ sll $v1, $v1, 4
|
||||
/* 5CF6E8 80219058 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5CF6EC 8021905C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5CF6F0 80219060 00021140 */ sll $v0, $v0, 5
|
||||
/* 5CF6F4 80219064 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5CF6F8 80219068 0C01BB5C */ jal strcmp
|
||||
/* 5CF6FC 8021906C 8C440000 */ lw $a0, ($v0)
|
||||
/* 5CF700 80219070 14400003 */ bnez $v0, .L80219080
|
||||
/* 5CF704 80219074 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5CF708 80219078 08086423 */ j .L8021908C
|
||||
/* 5CF70C 8021907C 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219080:
|
||||
/* 5CF710 80219080 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5CF714 80219084 1440FFEE */ bnez $v0, .L80219040
|
||||
/* 5CF718 80219088 26100004 */ addiu $s0, $s0, 4
|
||||
.L8021908C:
|
||||
/* 5CF71C 8021908C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5CF720 80219090 00000000 */ nop
|
||||
/* 5CF724 80219094 44050000 */ mfc1 $a1, $f0
|
||||
/* 5CF728 80219098 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CF72C 8021909C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5CF730 802190A0 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5CF734 802190A4 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5CF738 802190A8 0C01CA54 */ jal func_80072950
|
||||
/* 5CF73C 802190AC AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5CF740 802190B0 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5CF744 802190B4 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CF748 802190B8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CF74C 802190BC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CF750 802190C0 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CF754 802190C4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CF758 802190C8 03E00008 */ jr $ra
|
||||
/* 5CF75C 802190CC 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802190D0_5CF760
|
||||
/* 5CF760 802190D0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5CF764 802190D4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CF768 802190D8 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5CF76C 802190DC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CF770 802190E0 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5CF774 802190E4 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CF778 802190E8 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5CF77C 802190EC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5CF780 802190F0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CF784 802190F4 3C108023 */ lui $s0, %hi(D_80233F98)
|
||||
/* 5CF788 802190F8 26103F98 */ addiu $s0, $s0, %lo(D_80233F98)
|
||||
/* 5CF78C 802190FC AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219100:
|
||||
/* 5CF790 80219100 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5CF794 80219104 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5CF798 80219108 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF79C 8021910C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5CF7A0 80219110 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5CF7A4 80219114 00031900 */ sll $v1, $v1, 4
|
||||
/* 5CF7A8 80219118 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5CF7AC 8021911C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5CF7B0 80219120 00021140 */ sll $v0, $v0, 5
|
||||
/* 5CF7B4 80219124 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5CF7B8 80219128 0C01BB5C */ jal strcmp
|
||||
/* 5CF7BC 8021912C 8C440000 */ lw $a0, ($v0)
|
||||
/* 5CF7C0 80219130 14400003 */ bnez $v0, .L80219140
|
||||
/* 5CF7C4 80219134 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5CF7C8 80219138 08086453 */ j .L8021914C
|
||||
/* 5CF7CC 8021913C 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219140:
|
||||
/* 5CF7D0 80219140 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5CF7D4 80219144 1440FFEE */ bnez $v0, .L80219100
|
||||
/* 5CF7D8 80219148 26100004 */ addiu $s0, $s0, 4
|
||||
.L8021914C:
|
||||
/* 5CF7DC 8021914C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5CF7E0 80219150 00000000 */ nop
|
||||
/* 5CF7E4 80219154 44050000 */ mfc1 $a1, $f0
|
||||
/* 5CF7E8 80219158 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CF7EC 8021915C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5CF7F0 80219160 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5CF7F4 80219164 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5CF7F8 80219168 0C01CA54 */ jal func_80072950
|
||||
/* 5CF7FC 8021916C AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5CF800 80219170 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5CF804 80219174 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CF808 80219178 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CF80C 8021917C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CF810 80219180 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CF814 80219184 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CF818 80219188 03E00008 */ jr $ra
|
||||
/* 5CF81C 8021918C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219190_5CF820
|
||||
/* 5CF820 80219190 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5CF824 80219194 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CF828 80219198 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5CF82C 8021919C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CF830 802191A0 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5CF834 802191A4 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CF838 802191A8 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5CF83C 802191AC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5CF840 802191B0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CF844 802191B4 3C108023 */ lui $s0, %hi(D_80234448)
|
||||
/* 5CF848 802191B8 26104448 */ addiu $s0, $s0, %lo(D_80234448)
|
||||
/* 5CF84C 802191BC AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L802191C0:
|
||||
/* 5CF850 802191C0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5CF854 802191C4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5CF858 802191C8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF85C 802191CC 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5CF860 802191D0 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5CF864 802191D4 00031900 */ sll $v1, $v1, 4
|
||||
/* 5CF868 802191D8 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5CF86C 802191DC 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5CF870 802191E0 00021140 */ sll $v0, $v0, 5
|
||||
/* 5CF874 802191E4 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5CF878 802191E8 0C01BB5C */ jal strcmp
|
||||
/* 5CF87C 802191EC 8C440000 */ lw $a0, ($v0)
|
||||
/* 5CF880 802191F0 14400003 */ bnez $v0, .L80219200
|
||||
/* 5CF884 802191F4 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5CF888 802191F8 08086483 */ j .L8021920C
|
||||
/* 5CF88C 802191FC 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219200:
|
||||
/* 5CF890 80219200 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5CF894 80219204 1440FFEE */ bnez $v0, .L802191C0
|
||||
/* 5CF898 80219208 26100004 */ addiu $s0, $s0, 4
|
||||
.L8021920C:
|
||||
/* 5CF89C 8021920C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5CF8A0 80219210 00000000 */ nop
|
||||
/* 5CF8A4 80219214 44050000 */ mfc1 $a1, $f0
|
||||
/* 5CF8A8 80219218 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CF8AC 8021921C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5CF8B0 80219220 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5CF8B4 80219224 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5CF8B8 80219228 0C01CA54 */ jal func_80072950
|
||||
/* 5CF8BC 8021922C AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5CF8C0 80219230 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5CF8C4 80219234 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CF8C8 80219238 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CF8CC 8021923C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CF8D0 80219240 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CF8D4 80219244 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CF8D8 80219248 03E00008 */ jr $ra
|
||||
/* 5CF8DC 8021924C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219250_5CF8E0
|
||||
/* 5CF8E0 80219250 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5CF8E4 80219254 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CF8E8 80219258 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5CF8EC 8021925C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CF8F0 80219260 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5CF8F4 80219264 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CF8F8 80219268 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5CF8FC 8021926C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5CF900 80219270 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CF904 80219274 3C108023 */ lui $s0, %hi(D_80234758)
|
||||
/* 5CF908 80219278 26104758 */ addiu $s0, $s0, %lo(D_80234758)
|
||||
/* 5CF90C 8021927C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219280:
|
||||
/* 5CF910 80219280 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5CF914 80219284 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5CF918 80219288 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CF91C 8021928C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5CF920 80219290 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5CF924 80219294 00031900 */ sll $v1, $v1, 4
|
||||
/* 5CF928 80219298 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5CF92C 8021929C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5CF930 802192A0 00021140 */ sll $v0, $v0, 5
|
||||
/* 5CF934 802192A4 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5CF938 802192A8 0C01BB5C */ jal strcmp
|
||||
/* 5CF93C 802192AC 8C440000 */ lw $a0, ($v0)
|
||||
/* 5CF940 802192B0 14400003 */ bnez $v0, .L802192C0
|
||||
/* 5CF944 802192B4 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5CF948 802192B8 080864B3 */ j .L802192CC
|
||||
/* 5CF94C 802192BC 24120001 */ addiu $s2, $zero, 1
|
||||
.L802192C0:
|
||||
/* 5CF950 802192C0 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5CF954 802192C4 1440FFEE */ bnez $v0, .L80219280
|
||||
/* 5CF958 802192C8 26100004 */ addiu $s0, $s0, 4
|
||||
.L802192CC:
|
||||
/* 5CF95C 802192CC 44800000 */ mtc1 $zero, $f0
|
||||
/* 5CF960 802192D0 00000000 */ nop
|
||||
/* 5CF964 802192D4 44050000 */ mfc1 $a1, $f0
|
||||
/* 5CF968 802192D8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CF96C 802192DC AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5CF970 802192E0 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5CF974 802192E4 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5CF978 802192E8 0C01CA54 */ jal func_80072950
|
||||
/* 5CF97C 802192EC AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5CF980 802192F0 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5CF984 802192F4 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CF988 802192F8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CF98C 802192FC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CF990 80219300 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CF994 80219304 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CF998 80219308 03E00008 */ jr $ra
|
||||
/* 5CF99C 8021930C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219630_5CFCC0
|
||||
/* 5CFCC0 80219630 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5CFCC4 80219634 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CFCC8 80219638 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5CFCCC 8021963C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CFCD0 80219640 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5CFCD4 80219644 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CFCD8 80219648 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5CFCDC 8021964C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5CFCE0 80219650 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CFCE4 80219654 3C108023 */ lui $s0, %hi(D_802350D4)
|
||||
/* 5CFCE8 80219658 261050D4 */ addiu $s0, $s0, %lo(D_802350D4)
|
||||
/* 5CFCEC 8021965C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219660:
|
||||
/* 5CFCF0 80219660 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5CFCF4 80219664 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5CFCF8 80219668 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CFCFC 8021966C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5CFD00 80219670 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5CFD04 80219674 00031900 */ sll $v1, $v1, 4
|
||||
/* 5CFD08 80219678 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5CFD0C 8021967C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5CFD10 80219680 00021140 */ sll $v0, $v0, 5
|
||||
/* 5CFD14 80219684 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5CFD18 80219688 0C01BB5C */ jal strcmp
|
||||
/* 5CFD1C 8021968C 8C440000 */ lw $a0, ($v0)
|
||||
/* 5CFD20 80219690 14400003 */ bnez $v0, .L802196A0
|
||||
/* 5CFD24 80219694 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5CFD28 80219698 080865AB */ j .L802196AC
|
||||
/* 5CFD2C 8021969C 24120001 */ addiu $s2, $zero, 1
|
||||
.L802196A0:
|
||||
/* 5CFD30 802196A0 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5CFD34 802196A4 1440FFEE */ bnez $v0, .L80219660
|
||||
/* 5CFD38 802196A8 26100004 */ addiu $s0, $s0, 4
|
||||
.L802196AC:
|
||||
/* 5CFD3C 802196AC 44800000 */ mtc1 $zero, $f0
|
||||
/* 5CFD40 802196B0 00000000 */ nop
|
||||
/* 5CFD44 802196B4 44050000 */ mfc1 $a1, $f0
|
||||
/* 5CFD48 802196B8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CFD4C 802196BC AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5CFD50 802196C0 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5CFD54 802196C4 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5CFD58 802196C8 0C01CA54 */ jal func_80072950
|
||||
/* 5CFD5C 802196CC AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5CFD60 802196D0 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5CFD64 802196D4 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CFD68 802196D8 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CFD6C 802196DC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CFD70 802196E0 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CFD74 802196E4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CFD78 802196E8 03E00008 */ jr $ra
|
||||
/* 5CFD7C 802196EC 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802196F0_5CFD80
|
||||
/* 5CFD80 802196F0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5CFD84 802196F4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CFD88 802196F8 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5CFD8C 802196FC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CFD90 80219700 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5CFD94 80219704 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CFD98 80219708 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5CFD9C 8021970C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5CFDA0 80219710 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CFDA4 80219714 3C108023 */ lui $s0, %hi(D_802353E0)
|
||||
/* 5CFDA8 80219718 261053E0 */ addiu $s0, $s0, %lo(D_802353E0)
|
||||
/* 5CFDAC 8021971C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L80219720:
|
||||
/* 5CFDB0 80219720 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5CFDB4 80219724 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5CFDB8 80219728 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CFDBC 8021972C 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5CFDC0 80219730 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5CFDC4 80219734 00031900 */ sll $v1, $v1, 4
|
||||
/* 5CFDC8 80219738 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5CFDCC 8021973C 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5CFDD0 80219740 00021140 */ sll $v0, $v0, 5
|
||||
/* 5CFDD4 80219744 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5CFDD8 80219748 0C01BB5C */ jal strcmp
|
||||
/* 5CFDDC 8021974C 8C440000 */ lw $a0, ($v0)
|
||||
/* 5CFDE0 80219750 14400003 */ bnez $v0, .L80219760
|
||||
/* 5CFDE4 80219754 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5CFDE8 80219758 080865DB */ j .L8021976C
|
||||
/* 5CFDEC 8021975C 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219760:
|
||||
/* 5CFDF0 80219760 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5CFDF4 80219764 1440FFEE */ bnez $v0, .L80219720
|
||||
/* 5CFDF8 80219768 26100004 */ addiu $s0, $s0, 4
|
||||
.L8021976C:
|
||||
/* 5CFDFC 8021976C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5CFE00 80219770 00000000 */ nop
|
||||
/* 5CFE04 80219774 44050000 */ mfc1 $a1, $f0
|
||||
/* 5CFE08 80219778 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CFE0C 8021977C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5CFE10 80219780 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5CFE14 80219784 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5CFE18 80219788 0C01CA54 */ jal func_80072950
|
||||
/* 5CFE1C 8021978C AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5CFE20 80219790 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5CFE24 80219794 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CFE28 80219798 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CFE2C 8021979C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CFE30 802197A0 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CFE34 802197A4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CFE38 802197A8 03E00008 */ jr $ra
|
||||
/* 5CFE3C 802197AC 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,55 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802197B0_5CFE40
|
||||
/* 5CFE40 802197B0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 5CFE44 802197B4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 5CFE48 802197B8 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 5CFE4C 802197BC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 5CFE50 802197C0 0240882D */ daddu $s1, $s2, $zero
|
||||
/* 5CFE54 802197C4 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 5CFE58 802197C8 3C138009 */ lui $s3, %hi(gAreas)
|
||||
/* 5CFE5C 802197CC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
||||
/* 5CFE60 802197D0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 5CFE64 802197D4 3C108023 */ lui $s0, %hi(D_802354C0)
|
||||
/* 5CFE68 802197D8 261054C0 */ addiu $s0, $s0, %lo(D_802354C0)
|
||||
/* 5CFE6C 802197DC AFBF0028 */ sw $ra, 0x28($sp)
|
||||
.L802197E0:
|
||||
/* 5CFE70 802197E0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 5CFE74 802197E4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 5CFE78 802197E8 8E050000 */ lw $a1, ($s0)
|
||||
/* 5CFE7C 802197EC 84430086 */ lh $v1, 0x86($v0)
|
||||
/* 5CFE80 802197F0 8442008C */ lh $v0, 0x8c($v0)
|
||||
/* 5CFE84 802197F4 00031900 */ sll $v1, $v1, 4
|
||||
/* 5CFE88 802197F8 00731821 */ addu $v1, $v1, $s3
|
||||
/* 5CFE8C 802197FC 8C630004 */ lw $v1, 4($v1)
|
||||
/* 5CFE90 80219800 00021140 */ sll $v0, $v0, 5
|
||||
/* 5CFE94 80219804 00431021 */ addu $v0, $v0, $v1
|
||||
/* 5CFE98 80219808 0C01BB5C */ jal strcmp
|
||||
/* 5CFE9C 8021980C 8C440000 */ lw $a0, ($v0)
|
||||
/* 5CFEA0 80219810 14400003 */ bnez $v0, .L80219820
|
||||
/* 5CFEA4 80219814 26310001 */ addiu $s1, $s1, 1
|
||||
/* 5CFEA8 80219818 0808660B */ j .L8021982C
|
||||
/* 5CFEAC 8021981C 24120001 */ addiu $s2, $zero, 1
|
||||
.L80219820:
|
||||
/* 5CFEB0 80219820 2E22000B */ sltiu $v0, $s1, 0xb
|
||||
/* 5CFEB4 80219824 1440FFEE */ bnez $v0, .L802197E0
|
||||
/* 5CFEB8 80219828 26100004 */ addiu $s0, $s0, 4
|
||||
.L8021982C:
|
||||
/* 5CFEBC 8021982C 44800000 */ mtc1 $zero, $f0
|
||||
/* 5CFEC0 80219830 00000000 */ nop
|
||||
/* 5CFEC4 80219834 44050000 */ mfc1 $a1, $f0
|
||||
/* 5CFEC8 80219838 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 5CFECC 8021983C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 5CFED0 80219840 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 5CFED4 80219844 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 5CFED8 80219848 0C01CA54 */ jal func_80072950
|
||||
/* 5CFEDC 8021984C AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 5CFEE0 80219850 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 5CFEE4 80219854 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 5CFEE8 80219858 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 5CFEEC 8021985C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 5CFEF0 80219860 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 5CFEF4 80219864 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5CFEF8 80219868 03E00008 */ jr $ra
|
||||
/* 5CFEFC 8021986C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -0,0 +1,84 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218020_47F0D0
|
||||
/* 47F0D0 80218020 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 47F0D4 80218024 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 47F0D8 80218028 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 47F0DC 8021802C AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 47F0E0 80218030 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 47F0E4 80218034 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 47F0E8 80218038 8E440148 */ lw $a0, 0x148($s2)
|
||||
/* 47F0EC 8021803C 0C09A75B */ jal get_actor
|
||||
/* 47F0F0 80218040 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 47F0F4 80218044 1200002D */ beqz $s0, .L802180FC
|
||||
/* 47F0F8 80218048 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 47F0FC 8021804C C6220018 */ lwc1 $f2, 0x18($s1)
|
||||
/* 47F100 80218050 C6200144 */ lwc1 $f0, 0x144($s1)
|
||||
/* 47F104 80218054 46001081 */ sub.s $f2, $f2, $f0
|
||||
/* 47F108 80218058 46021082 */ mul.s $f2, $f2, $f2
|
||||
/* 47F10C 8021805C 00000000 */ nop
|
||||
/* 47F110 80218060 C626001C */ lwc1 $f6, 0x1c($s1)
|
||||
/* 47F114 80218064 C6200148 */ lwc1 $f0, 0x148($s1)
|
||||
/* 47F118 80218068 46003181 */ sub.s $f6, $f6, $f0
|
||||
/* 47F11C 8021806C 46063182 */ mul.s $f6, $f6, $f6
|
||||
/* 47F120 80218070 00000000 */ nop
|
||||
/* 47F124 80218074 C624014C */ lwc1 $f4, 0x14c($s1)
|
||||
/* 47F128 80218078 C6200020 */ lwc1 $f0, 0x20($s1)
|
||||
/* 47F12C 8021807C 46040001 */ sub.s $f0, $f0, $f4
|
||||
/* 47F130 80218080 46000002 */ mul.s $f0, $f0, $f0
|
||||
/* 47F134 80218084 00000000 */ nop
|
||||
/* 47F138 80218088 46061080 */ add.s $f2, $f2, $f6
|
||||
/* 47F13C 8021808C 46001300 */ add.s $f12, $f2, $f0
|
||||
/* 47F140 80218090 46006104 */ sqrt.s $f4, $f12
|
||||
/* 47F144 80218094 46042032 */ c.eq.s $f4, $f4
|
||||
/* 47F148 80218098 00000000 */ nop
|
||||
/* 47F14C 8021809C 45010004 */ bc1t .L802180B0
|
||||
/* 47F150 802180A0 00000000 */ nop
|
||||
/* 47F154 802180A4 0C0187BC */ jal sqrtf
|
||||
/* 47F158 802180A8 00000000 */ nop
|
||||
/* 47F15C 802180AC 46000106 */ mov.s $f4, $f0
|
||||
.L802180B0:
|
||||
/* 47F160 802180B0 C620004C */ lwc1 $f0, 0x4c($s1)
|
||||
/* 47F164 802180B4 3C013F00 */ lui $at, 0x3f00
|
||||
/* 47F168 802180B8 44811000 */ mtc1 $at, $f2
|
||||
/* 47F16C 802180BC 46002003 */ div.s $f0, $f4, $f0
|
||||
/* 47F170 802180C0 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 47F174 802180C4 00000000 */ nop
|
||||
/* 47F178 802180C8 3C013F80 */ lui $at, 0x3f80
|
||||
/* 47F17C 802180CC 44811000 */ mtc1 $at, $f2
|
||||
/* 47F180 802180D0 00000000 */ nop
|
||||
/* 47F184 802180D4 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 47F188 802180D8 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 47F18C 802180DC E6480070 */ swc1 $f8, 0x70($s2)
|
||||
/* 47F190 802180E0 C620014C */ lwc1 $f0, 0x14c($s1)
|
||||
/* 47F194 802180E4 24040359 */ addiu $a0, $zero, 0x359
|
||||
/* 47F198 802180E8 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 47F19C 802180EC 8E260144 */ lw $a2, 0x144($s1)
|
||||
/* 47F1A0 802180F0 8E270148 */ lw $a3, 0x148($s1)
|
||||
/* 47F1A4 802180F4 0C052757 */ jal play_sound_at_position
|
||||
/* 47F1A8 802180F8 0000282D */ daddu $a1, $zero, $zero
|
||||
.L802180FC:
|
||||
/* 47F1AC 802180FC 8E420070 */ lw $v0, 0x70($s2)
|
||||
/* 47F1B0 80218100 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 47F1B4 80218104 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 47F1B8 80218108 1C60000A */ bgtz $v1, .L80218134
|
||||
/* 47F1BC 8021810C AE420070 */ sw $v0, 0x70($s2)
|
||||
/* 47F1C0 80218110 C620014C */ lwc1 $f0, 0x14c($s1)
|
||||
/* 47F1C4 80218114 24040759 */ addiu $a0, $zero, 0x759
|
||||
/* 47F1C8 80218118 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 47F1CC 8021811C 8E260144 */ lw $a2, 0x144($s1)
|
||||
/* 47F1D0 80218120 8E270148 */ lw $a3, 0x148($s1)
|
||||
/* 47F1D4 80218124 0C052757 */ jal play_sound_at_position
|
||||
/* 47F1D8 80218128 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 47F1DC 8021812C 0808604E */ j .L80218138
|
||||
/* 47F1E0 80218130 24020002 */ addiu $v0, $zero, 2
|
||||
.L80218134:
|
||||
/* 47F1E4 80218134 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80218138:
|
||||
/* 47F1E8 80218138 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 47F1EC 8021813C 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 47F1F0 80218140 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 47F1F4 80218144 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 47F1F8 80218148 03E00008 */ jr $ra
|
||||
/* 47F1FC 8021814C 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -0,0 +1,91 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218150_47F200
|
||||
/* 47F200 80218150 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 47F204 80218154 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 47F208 80218158 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 47F20C 8021815C AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 47F210 80218160 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 47F214 80218164 F7BE0058 */ sdc1 $f30, 0x58($sp)
|
||||
/* 47F218 80218168 F7BC0050 */ sdc1 $f28, 0x50($sp)
|
||||
/* 47F21C 8021816C F7BA0048 */ sdc1 $f26, 0x48($sp)
|
||||
/* 47F220 80218170 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 47F224 80218174 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 47F228 80218178 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 47F22C 8021817C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 47F230 80218180 8E050000 */ lw $a1, ($s0)
|
||||
/* 47F234 80218184 0C0B210B */ jal get_float_variable
|
||||
/* 47F238 80218188 26100004 */ addiu $s0, $s0, 4
|
||||
/* 47F23C 8021818C 8E050000 */ lw $a1, ($s0)
|
||||
/* 47F240 80218190 26100004 */ addiu $s0, $s0, 4
|
||||
/* 47F244 80218194 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 47F248 80218198 0C0B210B */ jal get_float_variable
|
||||
/* 47F24C 8021819C 46000786 */ mov.s $f30, $f0
|
||||
/* 47F250 802181A0 8E050000 */ lw $a1, ($s0)
|
||||
/* 47F254 802181A4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 47F258 802181A8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 47F25C 802181AC 0C0B210B */ jal get_float_variable
|
||||
/* 47F260 802181B0 46000506 */ mov.s $f20, $f0
|
||||
/* 47F264 802181B4 8E050000 */ lw $a1, ($s0)
|
||||
/* 47F268 802181B8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 47F26C 802181BC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 47F270 802181C0 0C0B210B */ jal get_float_variable
|
||||
/* 47F274 802181C4 46000706 */ mov.s $f28, $f0
|
||||
/* 47F278 802181C8 8E050000 */ lw $a1, ($s0)
|
||||
/* 47F27C 802181CC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 47F280 802181D0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 47F284 802181D4 0C0B210B */ jal get_float_variable
|
||||
/* 47F288 802181D8 46000686 */ mov.s $f26, $f0
|
||||
/* 47F28C 802181DC 8E050000 */ lw $a1, ($s0)
|
||||
/* 47F290 802181E0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 47F294 802181E4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 47F298 802181E8 0C0B210B */ jal get_float_variable
|
||||
/* 47F29C 802181EC 46000606 */ mov.s $f24, $f0
|
||||
/* 47F2A0 802181F0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 47F2A4 802181F4 8E050000 */ lw $a1, ($s0)
|
||||
/* 47F2A8 802181F8 0C0B1EAF */ jal get_variable
|
||||
/* 47F2AC 802181FC 46000586 */ mov.s $f22, $f0
|
||||
/* 47F2B0 80218200 8E240148 */ lw $a0, 0x148($s1)
|
||||
/* 47F2B4 80218204 0C09A75B */ jal get_actor
|
||||
/* 47F2B8 80218208 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 47F2BC 8021820C 4600A521 */ cvt.d.s $f20, $f20
|
||||
/* 47F2C0 80218210 4405F000 */ mfc1 $a1, $f30
|
||||
/* 47F2C4 80218214 3C014014 */ lui $at, 0x4014
|
||||
/* 47F2C8 80218218 44810800 */ mtc1 $at, $f1
|
||||
/* 47F2CC 8021821C 44800000 */ mtc1 $zero, $f0
|
||||
/* 47F2D0 80218220 4407E000 */ mfc1 $a3, $f28
|
||||
/* 47F2D4 80218224 4620A500 */ add.d $f20, $f20, $f0
|
||||
/* 47F2D8 80218228 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 47F2DC 8021822C AFB0001C */ sw $s0, 0x1c($sp)
|
||||
/* 47F2E0 80218230 4620A520 */ cvt.s.d $f20, $f20
|
||||
/* 47F2E4 80218234 4406A000 */ mfc1 $a2, $f20
|
||||
/* 47F2E8 80218238 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 47F2EC 8021823C E7BA0010 */ swc1 $f26, 0x10($sp)
|
||||
/* 47F2F0 80218240 E7B80014 */ swc1 $f24, 0x14($sp)
|
||||
/* 47F2F4 80218244 0C01BFD4 */ jal func_8006FF50
|
||||
/* 47F2F8 80218248 E7B60018 */ swc1 $f22, 0x18($sp)
|
||||
/* 47F2FC 8021824C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 47F300 80218250 82030210 */ lb $v1, 0x210($s0)
|
||||
/* 47F304 80218254 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 47F308 80218258 14620007 */ bne $v1, $v0, .L80218278
|
||||
/* 47F30C 8021825C 00000000 */ nop
|
||||
/* 47F310 80218260 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 47F314 80218264 3C013ECC */ lui $at, 0x3ecc
|
||||
/* 47F318 80218268 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* 47F31C 8021826C 44810000 */ mtc1 $at, $f0
|
||||
/* 47F320 80218270 00000000 */ nop
|
||||
/* 47F324 80218274 E4400028 */ swc1 $f0, 0x28($v0)
|
||||
.L80218278:
|
||||
/* 47F328 80218278 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 47F32C 8021827C 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 47F330 80218280 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 47F334 80218284 D7BE0058 */ ldc1 $f30, 0x58($sp)
|
||||
/* 47F338 80218288 D7BC0050 */ ldc1 $f28, 0x50($sp)
|
||||
/* 47F33C 8021828C D7BA0048 */ ldc1 $f26, 0x48($sp)
|
||||
/* 47F340 80218290 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 47F344 80218294 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 47F348 80218298 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 47F34C 8021829C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 47F350 802182A0 03E00008 */ jr $ra
|
||||
/* 47F354 802182A4 27BD0060 */ addiu $sp, $sp, 0x60
|
@ -0,0 +1,15 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802182A8_47F358
|
||||
/* 47F358 802182A8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 47F35C 802182AC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 47F360 802182B0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 47F364 802182B4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 47F368 802182B8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 47F36C 802182BC 0C0B2026 */ jal set_variable
|
||||
/* 47F370 802182C0 8C450000 */ lw $a1, ($v0)
|
||||
/* 47F374 802182C4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 47F378 802182C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 47F37C 802182CC 03E00008 */ jr $ra
|
||||
/* 47F380 802182D0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,59 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802183F8_47F4A8
|
||||
/* 47F4A8 802183F8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 47F4AC 802183FC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 47F4B0 80218400 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 47F4B4 80218404 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 47F4B8 80218408 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 47F4BC 8021840C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 47F4C0 80218410 8E050000 */ lw $a1, ($s0)
|
||||
/* 47F4C4 80218414 0C0B1EAF */ jal get_variable
|
||||
/* 47F4C8 80218418 26100004 */ addiu $s0, $s0, 4
|
||||
/* 47F4CC 8021841C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 47F4D0 80218420 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 47F4D4 80218424 14820002 */ bne $a0, $v0, .L80218430
|
||||
/* 47F4D8 80218428 00000000 */ nop
|
||||
/* 47F4DC 8021842C 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L80218430:
|
||||
/* 47F4E0 80218430 0C09A75B */ jal get_actor
|
||||
/* 47F4E4 80218434 00000000 */ nop
|
||||
/* 47F4E8 80218438 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 47F4EC 8021843C 90830136 */ lbu $v1, 0x136($a0)
|
||||
/* 47F4F0 80218440 24020047 */ addiu $v0, $zero, 0x47
|
||||
/* 47F4F4 80218444 1062000B */ beq $v1, $v0, .L80218474
|
||||
/* 47F4F8 80218448 0062102A */ slt $v0, $v1, $v0
|
||||
/* 47F4FC 8021844C 54400011 */ bnel $v0, $zero, .L80218494
|
||||
/* 47F500 80218450 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 47F504 80218454 28620065 */ slti $v0, $v1, 0x65
|
||||
/* 47F508 80218458 1040000D */ beqz $v0, .L80218490
|
||||
/* 47F50C 8021845C 2862004D */ slti $v0, $v1, 0x4d
|
||||
/* 47F510 80218460 1440000C */ bnez $v0, .L80218494
|
||||
/* 47F514 80218464 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 47F518 80218468 8E050000 */ lw $a1, ($s0)
|
||||
/* 47F51C 8021846C 08086127 */ j .L8021849C
|
||||
/* 47F520 80218470 2406FFFF */ addiu $a2, $zero, -1
|
||||
.L80218474:
|
||||
/* 47F524 80218474 8C8300A8 */ lw $v1, 0xa8($a0)
|
||||
/* 47F528 80218478 24020001 */ addiu $v0, $zero, 1
|
||||
/* 47F52C 8021847C 14620005 */ bne $v1, $v0, .L80218494
|
||||
/* 47F530 80218480 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 47F534 80218484 8E050000 */ lw $a1, ($s0)
|
||||
/* 47F538 80218488 08086127 */ j .L8021849C
|
||||
/* 47F53C 8021848C 2406FFFF */ addiu $a2, $zero, -1
|
||||
.L80218490:
|
||||
/* 47F540 80218490 0220202D */ daddu $a0, $s1, $zero
|
||||
.L80218494:
|
||||
/* 47F544 80218494 8E050000 */ lw $a1, ($s0)
|
||||
/* 47F548 80218498 0000302D */ daddu $a2, $zero, $zero
|
||||
.L8021849C:
|
||||
/* 47F54C 8021849C 0C0B2026 */ jal set_variable
|
||||
/* 47F550 802184A0 00000000 */ nop
|
||||
/* 47F554 802184A4 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 47F558 802184A8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 47F55C 802184AC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 47F560 802184B0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 47F564 802184B4 03E00008 */ jr $ra
|
||||
/* 47F568 802184B8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
/* 47F56C 802184BC 00000000 */ nop
|
134
asm/nonmatchings/battle/area_hos/47F0D0/func_802184C0_47F570.s
Normal file
134
asm/nonmatchings/battle/area_hos/47F0D0/func_802184C0_47F570.s
Normal file
@ -0,0 +1,134 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802184C0_47F570
|
||||
/* 47F570 802184C0 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 47F574 802184C4 AFB3002C */ sw $s3, 0x2c($sp)
|
||||
/* 47F578 802184C8 2493FFFF */ addiu $s3, $a0, -1
|
||||
/* 47F57C 802184CC 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 47F580 802184D0 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 47F584 802184D4 27A60014 */ addiu $a2, $sp, 0x14
|
||||
/* 47F588 802184D8 27A70018 */ addiu $a3, $sp, 0x18
|
||||
/* 47F58C 802184DC AFBF003C */ sw $ra, 0x3c($sp)
|
||||
/* 47F590 802184E0 AFB60038 */ sw $s6, 0x38($sp)
|
||||
/* 47F594 802184E4 AFB50034 */ sw $s5, 0x34($sp)
|
||||
/* 47F598 802184E8 AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* 47F59C 802184EC AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 47F5A0 802184F0 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 47F5A4 802184F4 0C0470AC */ jal func_8011C2B0
|
||||
/* 47F5A8 802184F8 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 47F5AC 802184FC 8FA20018 */ lw $v0, 0x18($sp)
|
||||
/* 47F5B0 80218500 18400051 */ blez $v0, .L80218648
|
||||
/* 47F5B4 80218504 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 47F5B8 80218508 3C038022 */ lui $v1, %hi(D_80224BB0)
|
||||
/* 47F5BC 8021850C 24634BB0 */ addiu $v1, $v1, %lo(D_80224BB0)
|
||||
/* 47F5C0 80218510 00131040 */ sll $v0, $s3, 1
|
||||
/* 47F5C4 80218514 0043A821 */ addu $s5, $v0, $v1
|
||||
/* 47F5C8 80218518 3C145555 */ lui $s4, 0x5555
|
||||
/* 47F5CC 8021851C 36945556 */ ori $s4, $s4, 0x5556
|
||||
/* 47F5D0 80218520 34168000 */ ori $s6, $zero, 0x8000
|
||||
/* 47F5D4 80218524 02140018 */ mult $s0, $s4
|
||||
.L80218528:
|
||||
/* 47F5D8 80218528 001097C3 */ sra $s2, $s0, 0x1f
|
||||
/* 47F5DC 8021852C 00001810 */ mfhi $v1
|
||||
/* 47F5E0 80218530 00721823 */ subu $v1, $v1, $s2
|
||||
/* 47F5E4 80218534 00031040 */ sll $v0, $v1, 1
|
||||
/* 47F5E8 80218538 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47F5EC 8021853C 02021023 */ subu $v0, $s0, $v0
|
||||
/* 47F5F0 80218540 96A30000 */ lhu $v1, ($s5)
|
||||
/* 47F5F4 80218544 24420001 */ addiu $v0, $v0, 1
|
||||
/* 47F5F8 80218548 00620018 */ mult $v1, $v0
|
||||
/* 47F5FC 8021854C 00101100 */ sll $v0, $s0, 4
|
||||
/* 47F600 80218550 00001812 */ mflo $v1
|
||||
/* 47F604 80218554 00702021 */ addu $a0, $v1, $s0
|
||||
/* 47F608 80218558 8FA30014 */ lw $v1, 0x14($sp)
|
||||
/* 47F60C 8021855C 3084FFFF */ andi $a0, $a0, 0xffff
|
||||
/* 47F610 80218560 0C01917C */ jal sins
|
||||
/* 47F614 80218564 00628821 */ addu $s1, $v1, $v0
|
||||
/* 47F618 80218568 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 47F61C 8021856C 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 47F620 80218570 00561021 */ addu $v0, $v0, $s6
|
||||
/* 47F624 80218574 00021FC2 */ srl $v1, $v0, 0x1f
|
||||
/* 47F628 80218578 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47F62C 8021857C 000213C0 */ sll $v0, $v0, 0xf
|
||||
/* 47F630 80218580 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 47F634 80218584 00021880 */ sll $v1, $v0, 2
|
||||
/* 47F638 80218588 00621821 */ addu $v1, $v1, $v0
|
||||
/* 47F63C 8021858C 00031140 */ sll $v0, $v1, 5
|
||||
/* 47F640 80218590 00431823 */ subu $v1, $v0, $v1
|
||||
/* 47F644 80218594 04610002 */ bgez $v1, .L802185A0
|
||||
/* 47F648 80218598 0060102D */ daddu $v0, $v1, $zero
|
||||
/* 47F64C 8021859C 24627FFF */ addiu $v0, $v1, 0x7fff
|
||||
.L802185A0:
|
||||
/* 47F650 802185A0 000213C3 */ sra $v0, $v0, 0xf
|
||||
/* 47F654 802185A4 24420064 */ addiu $v0, $v0, 0x64
|
||||
/* 47F658 802185A8 A222000C */ sb $v0, 0xc($s1)
|
||||
/* 47F65C 802185AC 02121823 */ subu $v1, $s0, $s2
|
||||
/* 47F660 802185B0 00032843 */ sra $a1, $v1, 1
|
||||
/* 47F664 802185B4 00B40018 */ mult $a1, $s4
|
||||
/* 47F668 802185B8 A222000D */ sb $v0, 0xd($s1)
|
||||
/* 47F66C 802185BC 96A40000 */ lhu $a0, ($s5)
|
||||
/* 47F670 802185C0 00031FC3 */ sra $v1, $v1, 0x1f
|
||||
/* 47F674 802185C4 000433C2 */ srl $a2, $a0, 0xf
|
||||
/* 47F678 802185C8 00004810 */ mfhi $t1
|
||||
/* 47F67C 802185CC 01231823 */ subu $v1, $t1, $v1
|
||||
/* 47F680 802185D0 00031040 */ sll $v0, $v1, 1
|
||||
/* 47F684 802185D4 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47F688 802185D8 00A22823 */ subu $a1, $a1, $v0
|
||||
/* 47F68C 802185DC 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 47F690 802185E0 00052BC0 */ sll $a1, $a1, 0xf
|
||||
/* 47F694 802185E4 00C50018 */ mult $a2, $a1
|
||||
/* 47F698 802185E8 00042382 */ srl $a0, $a0, 0xe
|
||||
/* 47F69C 802185EC 000423C0 */ sll $a0, $a0, 0xf
|
||||
/* 47F6A0 802185F0 00001812 */ mflo $v1
|
||||
/* 47F6A4 802185F4 00642021 */ addu $a0, $v1, $a0
|
||||
/* 47F6A8 802185F8 00902021 */ addu $a0, $a0, $s0
|
||||
/* 47F6AC 802185FC 0C01917C */ jal sins
|
||||
/* 47F6B0 80218600 3084FFFF */ andi $a0, $a0, 0xffff
|
||||
/* 47F6B4 80218604 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 47F6B8 80218608 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 47F6BC 8021860C 9223000C */ lbu $v1, 0xc($s1)
|
||||
/* 47F6C0 80218610 00561021 */ addu $v0, $v0, $s6
|
||||
/* 47F6C4 80218614 00620018 */ mult $v1, $v0
|
||||
/* 47F6C8 80218618 00001812 */ mflo $v1
|
||||
/* 47F6CC 8021861C 04610004 */ bgez $v1, .L80218630
|
||||
/* 47F6D0 80218620 00031403 */ sra $v0, $v1, 0x10
|
||||
/* 47F6D4 80218624 3402FFFF */ ori $v0, $zero, 0xffff
|
||||
/* 47F6D8 80218628 00621821 */ addu $v1, $v1, $v0
|
||||
/* 47F6DC 8021862C 00031403 */ sra $v0, $v1, 0x10
|
||||
.L80218630:
|
||||
/* 47F6E0 80218630 A222000E */ sb $v0, 0xe($s1)
|
||||
/* 47F6E4 80218634 8FA20018 */ lw $v0, 0x18($sp)
|
||||
/* 47F6E8 80218638 26100001 */ addiu $s0, $s0, 1
|
||||
/* 47F6EC 8021863C 0202102A */ slt $v0, $s0, $v0
|
||||
/* 47F6F0 80218640 1440FFB9 */ bnez $v0, .L80218528
|
||||
/* 47F6F4 80218644 02140018 */ mult $s0, $s4
|
||||
.L80218648:
|
||||
/* 47F6F8 80218648 3C03800A */ lui $v1, %hi(D_8009A66C)
|
||||
/* 47F6FC 8021864C 2463A66C */ addiu $v1, $v1, %lo(D_8009A66C)
|
||||
/* 47F700 80218650 8C620000 */ lw $v0, ($v1)
|
||||
/* 47F704 80218654 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 47F708 80218658 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 47F70C 8021865C 24420008 */ addiu $v0, $v0, 8
|
||||
/* 47F710 80218660 AC620000 */ sw $v0, ($v1)
|
||||
/* 47F714 80218664 3C02DE00 */ lui $v0, 0xde00
|
||||
/* 47F718 80218668 0C0470BB */ jal func_8011C2EC
|
||||
/* 47F71C 8021866C AE020000 */ sw $v0, ($s0)
|
||||
/* 47F720 80218670 AE020004 */ sw $v0, 4($s0)
|
||||
/* 47F724 80218674 3C028022 */ lui $v0, %hi(D_80224BB0)
|
||||
/* 47F728 80218678 24424BB0 */ addiu $v0, $v0, %lo(D_80224BB0)
|
||||
/* 47F72C 8021867C 00131840 */ sll $v1, $s3, 1
|
||||
/* 47F730 80218680 00621821 */ addu $v1, $v1, $v0
|
||||
/* 47F734 80218684 94620000 */ lhu $v0, ($v1)
|
||||
/* 47F738 80218688 24420253 */ addiu $v0, $v0, 0x253
|
||||
/* 47F73C 8021868C A4620000 */ sh $v0, ($v1)
|
||||
/* 47F740 80218690 8FBF003C */ lw $ra, 0x3c($sp)
|
||||
/* 47F744 80218694 8FB60038 */ lw $s6, 0x38($sp)
|
||||
/* 47F748 80218698 8FB50034 */ lw $s5, 0x34($sp)
|
||||
/* 47F74C 8021869C 8FB40030 */ lw $s4, 0x30($sp)
|
||||
/* 47F750 802186A0 8FB3002C */ lw $s3, 0x2c($sp)
|
||||
/* 47F754 802186A4 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* 47F758 802186A8 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 47F75C 802186AC 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 47F760 802186B0 03E00008 */ jr $ra
|
||||
/* 47F764 802186B4 27BD0040 */ addiu $sp, $sp, 0x40
|
213
asm/nonmatchings/battle/area_hos/47F0D0/func_802186B8_47F768.s
Normal file
213
asm/nonmatchings/battle/area_hos/47F0D0/func_802186B8_47F768.s
Normal file
@ -0,0 +1,213 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802186B8_47F768
|
||||
/* 47F768 802186B8 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 47F76C 802186BC AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 47F770 802186C0 2492FFFF */ addiu $s2, $a0, -1
|
||||
/* 47F774 802186C4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 47F778 802186C8 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 47F77C 802186CC 27A60014 */ addiu $a2, $sp, 0x14
|
||||
/* 47F780 802186D0 AFBF003C */ sw $ra, 0x3c($sp)
|
||||
/* 47F784 802186D4 AFB60038 */ sw $s6, 0x38($sp)
|
||||
/* 47F788 802186D8 AFB50034 */ sw $s5, 0x34($sp)
|
||||
/* 47F78C 802186DC AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* 47F790 802186E0 AFB3002C */ sw $s3, 0x2c($sp)
|
||||
/* 47F794 802186E4 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 47F798 802186E8 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 47F79C 802186EC F7B40040 */ sdc1 $f20, 0x40($sp)
|
||||
/* 47F7A0 802186F0 0C0470AC */ jal func_8011C2B0
|
||||
/* 47F7A4 802186F4 27A70018 */ addiu $a3, $sp, 0x18
|
||||
/* 47F7A8 802186F8 8FA20018 */ lw $v0, 0x18($sp)
|
||||
/* 47F7AC 802186FC 18400097 */ blez $v0, .L8021895C
|
||||
/* 47F7B0 80218700 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 47F7B4 80218704 3C038022 */ lui $v1, %hi(D_80224BB0)
|
||||
/* 47F7B8 80218708 24634BB0 */ addiu $v1, $v1, %lo(D_80224BB0)
|
||||
/* 47F7BC 8021870C 00121040 */ sll $v0, $s2, 1
|
||||
/* 47F7C0 80218710 0043A021 */ addu $s4, $v0, $v1
|
||||
/* 47F7C4 80218714 3C135555 */ lui $s3, 0x5555
|
||||
/* 47F7C8 80218718 36735556 */ ori $s3, $s3, 0x5556
|
||||
/* 47F7CC 8021871C 34168000 */ ori $s6, $zero, 0x8000
|
||||
/* 47F7D0 80218720 3C0141E0 */ lui $at, 0x41e0
|
||||
/* 47F7D4 80218724 4481A800 */ mtc1 $at, $f21
|
||||
/* 47F7D8 80218728 4480A000 */ mtc1 $zero, $f20
|
||||
/* 47F7DC 8021872C 3C158000 */ lui $s5, 0x8000
|
||||
/* 47F7E0 80218730 02130018 */ mult $s0, $s3
|
||||
.L80218734:
|
||||
/* 47F7E4 80218734 00101FC3 */ sra $v1, $s0, 0x1f
|
||||
/* 47F7E8 80218738 00004810 */ mfhi $t1
|
||||
/* 47F7EC 8021873C 01231823 */ subu $v1, $t1, $v1
|
||||
/* 47F7F0 80218740 00031040 */ sll $v0, $v1, 1
|
||||
/* 47F7F4 80218744 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47F7F8 80218748 02021023 */ subu $v0, $s0, $v0
|
||||
/* 47F7FC 8021874C 96830000 */ lhu $v1, ($s4)
|
||||
/* 47F800 80218750 24420001 */ addiu $v0, $v0, 1
|
||||
/* 47F804 80218754 00620018 */ mult $v1, $v0
|
||||
/* 47F808 80218758 8FA20014 */ lw $v0, 0x14($sp)
|
||||
/* 47F80C 8021875C 00001812 */ mflo $v1
|
||||
/* 47F810 80218760 00702021 */ addu $a0, $v1, $s0
|
||||
/* 47F814 80218764 3084FFFF */ andi $a0, $a0, 0xffff
|
||||
/* 47F818 80218768 00101900 */ sll $v1, $s0, 4
|
||||
/* 47F81C 8021876C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47F820 80218770 0C01917C */ jal sins
|
||||
/* 47F824 80218774 2451000C */ addiu $s1, $v0, 0xc
|
||||
/* 47F828 80218778 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 47F82C 8021877C 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 47F830 80218780 00561021 */ addu $v0, $v0, $s6
|
||||
/* 47F834 80218784 00021FC2 */ srl $v1, $v0, 0x1f
|
||||
/* 47F838 80218788 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47F83C 8021878C 00021043 */ sra $v0, $v0, 1
|
||||
/* 47F840 80218790 00021C00 */ sll $v1, $v0, 0x10
|
||||
/* 47F844 80218794 00031C03 */ sra $v1, $v1, 0x10
|
||||
/* 47F848 80218798 00032080 */ sll $a0, $v1, 2
|
||||
/* 47F84C 8021879C 00832021 */ addu $a0, $a0, $v1
|
||||
/* 47F850 802187A0 00041940 */ sll $v1, $a0, 5
|
||||
/* 47F854 802187A4 00641823 */ subu $v1, $v1, $a0
|
||||
/* 47F858 802187A8 04610002 */ bgez $v1, .L802187B4
|
||||
/* 47F85C 802187AC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 47F860 802187B0 24637FFF */ addiu $v1, $v1, 0x7fff
|
||||
.L802187B4:
|
||||
/* 47F864 802187B4 000313C3 */ sra $v0, $v1, 0xf
|
||||
/* 47F868 802187B8 3C018022 */ lui $at, %hi(D_80225FB0)
|
||||
/* 47F86C 802187BC D4225FB0 */ ldc1 $f2, %lo(D_80225FB0)($at)
|
||||
/* 47F870 802187C0 44820000 */ mtc1 $v0, $f0
|
||||
/* 47F874 802187C4 00000000 */ nop
|
||||
/* 47F878 802187C8 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 47F87C 802187CC 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 47F880 802187D0 4620A03E */ c.le.d $f20, $f0
|
||||
/* 47F884 802187D4 00000000 */ nop
|
||||
/* 47F888 802187D8 45030005 */ bc1tl .L802187F0
|
||||
/* 47F88C 802187DC 46340001 */ sub.d $f0, $f0, $f20
|
||||
/* 47F890 802187E0 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47F894 802187E4 44022000 */ mfc1 $v0, $f4
|
||||
/* 47F898 802187E8 08086201 */ j .L80218804
|
||||
/* 47F89C 802187EC A2220000 */ sb $v0, ($s1)
|
||||
.L802187F0:
|
||||
/* 47F8A0 802187F0 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47F8A4 802187F4 44022000 */ mfc1 $v0, $f4
|
||||
/* 47F8A8 802187F8 00000000 */ nop
|
||||
/* 47F8AC 802187FC 00551025 */ or $v0, $v0, $s5
|
||||
/* 47F8B0 80218800 A2220000 */ sb $v0, ($s1)
|
||||
.L80218804:
|
||||
/* 47F8B4 80218804 00041400 */ sll $v0, $a0, 0x10
|
||||
/* 47F8B8 80218808 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 47F8BC 8021880C 00021880 */ sll $v1, $v0, 2
|
||||
/* 47F8C0 80218810 00621821 */ addu $v1, $v1, $v0
|
||||
/* 47F8C4 80218814 00031140 */ sll $v0, $v1, 5
|
||||
/* 47F8C8 80218818 00431023 */ subu $v0, $v0, $v1
|
||||
/* 47F8CC 8021881C 04410002 */ bgez $v0, .L80218828
|
||||
/* 47F8D0 80218820 26230001 */ addiu $v1, $s1, 1
|
||||
/* 47F8D4 80218824 24427FFF */ addiu $v0, $v0, 0x7fff
|
||||
.L80218828:
|
||||
/* 47F8D8 80218828 000213C3 */ sra $v0, $v0, 0xf
|
||||
/* 47F8DC 8021882C 3C018022 */ lui $at, %hi(D_80225FB8)
|
||||
/* 47F8E0 80218830 D4225FB8 */ ldc1 $f2, %lo(D_80225FB8)($at)
|
||||
/* 47F8E4 80218834 44820000 */ mtc1 $v0, $f0
|
||||
/* 47F8E8 80218838 00000000 */ nop
|
||||
/* 47F8EC 8021883C 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 47F8F0 80218840 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 47F8F4 80218844 4620A03E */ c.le.d $f20, $f0
|
||||
/* 47F8F8 80218848 00000000 */ nop
|
||||
/* 47F8FC 8021884C 45030005 */ bc1tl .L80218864
|
||||
/* 47F900 80218850 46340001 */ sub.d $f0, $f0, $f20
|
||||
/* 47F904 80218854 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47F908 80218858 44022000 */ mfc1 $v0, $f4
|
||||
/* 47F90C 8021885C 0808621E */ j .L80218878
|
||||
/* 47F910 80218860 A0620000 */ sb $v0, ($v1)
|
||||
.L80218864:
|
||||
/* 47F914 80218864 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47F918 80218868 44022000 */ mfc1 $v0, $f4
|
||||
/* 47F91C 8021886C 00000000 */ nop
|
||||
/* 47F920 80218870 00551025 */ or $v0, $v0, $s5
|
||||
/* 47F924 80218874 A0620000 */ sb $v0, ($v1)
|
||||
.L80218878:
|
||||
/* 47F928 80218878 00101FC2 */ srl $v1, $s0, 0x1f
|
||||
/* 47F92C 8021887C 02031821 */ addu $v1, $s0, $v1
|
||||
/* 47F930 80218880 00032843 */ sra $a1, $v1, 1
|
||||
/* 47F934 80218884 00B30018 */ mult $a1, $s3
|
||||
/* 47F938 80218888 96840000 */ lhu $a0, ($s4)
|
||||
/* 47F93C 8021888C 00031FC3 */ sra $v1, $v1, 0x1f
|
||||
/* 47F940 80218890 000433C2 */ srl $a2, $a0, 0xf
|
||||
/* 47F944 80218894 00004810 */ mfhi $t1
|
||||
/* 47F948 80218898 01231823 */ subu $v1, $t1, $v1
|
||||
/* 47F94C 8021889C 00031040 */ sll $v0, $v1, 1
|
||||
/* 47F950 802188A0 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47F954 802188A4 00A22823 */ subu $a1, $a1, $v0
|
||||
/* 47F958 802188A8 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 47F95C 802188AC 00052BC0 */ sll $a1, $a1, 0xf
|
||||
/* 47F960 802188B0 00C50018 */ mult $a2, $a1
|
||||
/* 47F964 802188B4 00042382 */ srl $a0, $a0, 0xe
|
||||
/* 47F968 802188B8 000423C0 */ sll $a0, $a0, 0xf
|
||||
/* 47F96C 802188BC 00001812 */ mflo $v1
|
||||
/* 47F970 802188C0 00642021 */ addu $a0, $v1, $a0
|
||||
/* 47F974 802188C4 00902021 */ addu $a0, $a0, $s0
|
||||
/* 47F978 802188C8 0C01917C */ jal sins
|
||||
/* 47F97C 802188CC 3084FFFF */ andi $a0, $a0, 0xffff
|
||||
/* 47F980 802188D0 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 47F984 802188D4 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 47F988 802188D8 92230000 */ lbu $v1, ($s1)
|
||||
/* 47F98C 802188DC 00561021 */ addu $v0, $v0, $s6
|
||||
/* 47F990 802188E0 00620018 */ mult $v1, $v0
|
||||
/* 47F994 802188E4 00001812 */ mflo $v1
|
||||
/* 47F998 802188E8 04610003 */ bgez $v1, .L802188F8
|
||||
/* 47F99C 802188EC 26240002 */ addiu $a0, $s1, 2
|
||||
/* 47F9A0 802188F0 3402FFFF */ ori $v0, $zero, 0xffff
|
||||
/* 47F9A4 802188F4 00621821 */ addu $v1, $v1, $v0
|
||||
.L802188F8:
|
||||
/* 47F9A8 802188F8 00031403 */ sra $v0, $v1, 0x10
|
||||
/* 47F9AC 802188FC 3C018022 */ lui $at, %hi(D_80225FC0)
|
||||
/* 47F9B0 80218900 D4225FC0 */ ldc1 $f2, %lo(D_80225FC0)($at)
|
||||
/* 47F9B4 80218904 44820000 */ mtc1 $v0, $f0
|
||||
/* 47F9B8 80218908 00000000 */ nop
|
||||
/* 47F9BC 8021890C 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 47F9C0 80218910 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 47F9C4 80218914 4620A03E */ c.le.d $f20, $f0
|
||||
/* 47F9C8 80218918 00000000 */ nop
|
||||
/* 47F9CC 8021891C 45030005 */ bc1tl .L80218934
|
||||
/* 47F9D0 80218920 46340001 */ sub.d $f0, $f0, $f20
|
||||
/* 47F9D4 80218924 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47F9D8 80218928 44022000 */ mfc1 $v0, $f4
|
||||
/* 47F9DC 8021892C 08086252 */ j .L80218948
|
||||
/* 47F9E0 80218930 A0820000 */ sb $v0, ($a0)
|
||||
.L80218934:
|
||||
/* 47F9E4 80218934 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47F9E8 80218938 44022000 */ mfc1 $v0, $f4
|
||||
/* 47F9EC 8021893C 00000000 */ nop
|
||||
/* 47F9F0 80218940 00551025 */ or $v0, $v0, $s5
|
||||
/* 47F9F4 80218944 A0820000 */ sb $v0, ($a0)
|
||||
.L80218948:
|
||||
/* 47F9F8 80218948 8FA20018 */ lw $v0, 0x18($sp)
|
||||
/* 47F9FC 8021894C 26100001 */ addiu $s0, $s0, 1
|
||||
/* 47FA00 80218950 0202102A */ slt $v0, $s0, $v0
|
||||
/* 47FA04 80218954 1440FF77 */ bnez $v0, .L80218734
|
||||
/* 47FA08 80218958 02130018 */ mult $s0, $s3
|
||||
.L8021895C:
|
||||
/* 47FA0C 8021895C 3C03800A */ lui $v1, %hi(D_8009A66C)
|
||||
/* 47FA10 80218960 2463A66C */ addiu $v1, $v1, %lo(D_8009A66C)
|
||||
/* 47FA14 80218964 8C620000 */ lw $v0, ($v1)
|
||||
/* 47FA18 80218968 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 47FA1C 8021896C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 47FA20 80218970 24420008 */ addiu $v0, $v0, 8
|
||||
/* 47FA24 80218974 AC620000 */ sw $v0, ($v1)
|
||||
/* 47FA28 80218978 3C02DE00 */ lui $v0, 0xde00
|
||||
/* 47FA2C 8021897C 0C0470BB */ jal func_8011C2EC
|
||||
/* 47FA30 80218980 AE020000 */ sw $v0, ($s0)
|
||||
/* 47FA34 80218984 AE020004 */ sw $v0, 4($s0)
|
||||
/* 47FA38 80218988 3C028022 */ lui $v0, %hi(D_80224BB0)
|
||||
/* 47FA3C 8021898C 24424BB0 */ addiu $v0, $v0, %lo(D_80224BB0)
|
||||
/* 47FA40 80218990 00121840 */ sll $v1, $s2, 1
|
||||
/* 47FA44 80218994 00621821 */ addu $v1, $v1, $v0
|
||||
/* 47FA48 80218998 94620000 */ lhu $v0, ($v1)
|
||||
/* 47FA4C 8021899C 24420253 */ addiu $v0, $v0, 0x253
|
||||
/* 47FA50 802189A0 A4620000 */ sh $v0, ($v1)
|
||||
/* 47FA54 802189A4 8FBF003C */ lw $ra, 0x3c($sp)
|
||||
/* 47FA58 802189A8 8FB60038 */ lw $s6, 0x38($sp)
|
||||
/* 47FA5C 802189AC 8FB50034 */ lw $s5, 0x34($sp)
|
||||
/* 47FA60 802189B0 8FB40030 */ lw $s4, 0x30($sp)
|
||||
/* 47FA64 802189B4 8FB3002C */ lw $s3, 0x2c($sp)
|
||||
/* 47FA68 802189B8 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* 47FA6C 802189BC 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 47FA70 802189C0 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 47FA74 802189C4 D7B40040 */ ldc1 $f20, 0x40($sp)
|
||||
/* 47FA78 802189C8 03E00008 */ jr $ra
|
||||
/* 47FA7C 802189CC 27BD0048 */ addiu $sp, $sp, 0x48
|
214
asm/nonmatchings/battle/area_hos/47F0D0/func_802189D0_47FA80.s
Normal file
214
asm/nonmatchings/battle/area_hos/47F0D0/func_802189D0_47FA80.s
Normal file
@ -0,0 +1,214 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802189D0_47FA80
|
||||
/* 47FA80 802189D0 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 47FA84 802189D4 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 47FA88 802189D8 2492FFFF */ addiu $s2, $a0, -1
|
||||
/* 47FA8C 802189DC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 47FA90 802189E0 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 47FA94 802189E4 27A60014 */ addiu $a2, $sp, 0x14
|
||||
/* 47FA98 802189E8 AFBF003C */ sw $ra, 0x3c($sp)
|
||||
/* 47FA9C 802189EC AFB60038 */ sw $s6, 0x38($sp)
|
||||
/* 47FAA0 802189F0 AFB50034 */ sw $s5, 0x34($sp)
|
||||
/* 47FAA4 802189F4 AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* 47FAA8 802189F8 AFB3002C */ sw $s3, 0x2c($sp)
|
||||
/* 47FAAC 802189FC AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 47FAB0 80218A00 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 47FAB4 80218A04 F7B40040 */ sdc1 $f20, 0x40($sp)
|
||||
/* 47FAB8 80218A08 0C0470AC */ jal func_8011C2B0
|
||||
/* 47FABC 80218A0C 27A70018 */ addiu $a3, $sp, 0x18
|
||||
/* 47FAC0 80218A10 8FA20018 */ lw $v0, 0x18($sp)
|
||||
/* 47FAC4 80218A14 18400098 */ blez $v0, .L80218C78
|
||||
/* 47FAC8 80218A18 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 47FACC 80218A1C 3C038022 */ lui $v1, %hi(D_80224BB0)
|
||||
/* 47FAD0 80218A20 24634BB0 */ addiu $v1, $v1, %lo(D_80224BB0)
|
||||
/* 47FAD4 80218A24 00121040 */ sll $v0, $s2, 1
|
||||
/* 47FAD8 80218A28 0043A021 */ addu $s4, $v0, $v1
|
||||
/* 47FADC 80218A2C 3C135555 */ lui $s3, 0x5555
|
||||
/* 47FAE0 80218A30 36735556 */ ori $s3, $s3, 0x5556
|
||||
/* 47FAE4 80218A34 34168000 */ ori $s6, $zero, 0x8000
|
||||
/* 47FAE8 80218A38 3C0141E0 */ lui $at, 0x41e0
|
||||
/* 47FAEC 80218A3C 4481A800 */ mtc1 $at, $f21
|
||||
/* 47FAF0 80218A40 4480A000 */ mtc1 $zero, $f20
|
||||
/* 47FAF4 80218A44 3C158000 */ lui $s5, 0x8000
|
||||
/* 47FAF8 80218A48 02130018 */ mult $s0, $s3
|
||||
.L80218A4C:
|
||||
/* 47FAFC 80218A4C 00101FC3 */ sra $v1, $s0, 0x1f
|
||||
/* 47FB00 80218A50 00004810 */ mfhi $t1
|
||||
/* 47FB04 80218A54 01231823 */ subu $v1, $t1, $v1
|
||||
/* 47FB08 80218A58 00031040 */ sll $v0, $v1, 1
|
||||
/* 47FB0C 80218A5C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47FB10 80218A60 02021023 */ subu $v0, $s0, $v0
|
||||
/* 47FB14 80218A64 96830000 */ lhu $v1, ($s4)
|
||||
/* 47FB18 80218A68 24420001 */ addiu $v0, $v0, 1
|
||||
/* 47FB1C 80218A6C 00620018 */ mult $v1, $v0
|
||||
/* 47FB20 80218A70 8FA20014 */ lw $v0, 0x14($sp)
|
||||
/* 47FB24 80218A74 00001812 */ mflo $v1
|
||||
/* 47FB28 80218A78 00702021 */ addu $a0, $v1, $s0
|
||||
/* 47FB2C 80218A7C 3084FFFF */ andi $a0, $a0, 0xffff
|
||||
/* 47FB30 80218A80 00101900 */ sll $v1, $s0, 4
|
||||
/* 47FB34 80218A84 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47FB38 80218A88 0C01917C */ jal sins
|
||||
/* 47FB3C 80218A8C 2451000C */ addiu $s1, $v0, 0xc
|
||||
/* 47FB40 80218A90 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 47FB44 80218A94 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 47FB48 80218A98 00561021 */ addu $v0, $v0, $s6
|
||||
/* 47FB4C 80218A9C 00021FC2 */ srl $v1, $v0, 0x1f
|
||||
/* 47FB50 80218AA0 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47FB54 80218AA4 00021043 */ sra $v0, $v0, 1
|
||||
/* 47FB58 80218AA8 00021C00 */ sll $v1, $v0, 0x10
|
||||
/* 47FB5C 80218AAC 00031C03 */ sra $v1, $v1, 0x10
|
||||
/* 47FB60 80218AB0 00032080 */ sll $a0, $v1, 2
|
||||
/* 47FB64 80218AB4 00832021 */ addu $a0, $a0, $v1
|
||||
/* 47FB68 80218AB8 00041940 */ sll $v1, $a0, 5
|
||||
/* 47FB6C 80218ABC 00641823 */ subu $v1, $v1, $a0
|
||||
/* 47FB70 80218AC0 04610002 */ bgez $v1, .L80218ACC
|
||||
/* 47FB74 80218AC4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 47FB78 80218AC8 24637FFF */ addiu $v1, $v1, 0x7fff
|
||||
.L80218ACC:
|
||||
/* 47FB7C 80218ACC 000313C3 */ sra $v0, $v1, 0xf
|
||||
/* 47FB80 80218AD0 3C018022 */ lui $at, %hi(D_80225FC8)
|
||||
/* 47FB84 80218AD4 D4225FC8 */ ldc1 $f2, %lo(D_80225FC8)($at)
|
||||
/* 47FB88 80218AD8 44820000 */ mtc1 $v0, $f0
|
||||
/* 47FB8C 80218ADC 00000000 */ nop
|
||||
/* 47FB90 80218AE0 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 47FB94 80218AE4 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 47FB98 80218AE8 4620A03E */ c.le.d $f20, $f0
|
||||
/* 47FB9C 80218AEC 00000000 */ nop
|
||||
/* 47FBA0 80218AF0 45030005 */ bc1tl .L80218B08
|
||||
/* 47FBA4 80218AF4 46340001 */ sub.d $f0, $f0, $f20
|
||||
/* 47FBA8 80218AF8 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47FBAC 80218AFC 44022000 */ mfc1 $v0, $f4
|
||||
/* 47FBB0 80218B00 080862C7 */ j .L80218B1C
|
||||
/* 47FBB4 80218B04 A2220000 */ sb $v0, ($s1)
|
||||
.L80218B08:
|
||||
/* 47FBB8 80218B08 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47FBBC 80218B0C 44022000 */ mfc1 $v0, $f4
|
||||
/* 47FBC0 80218B10 00000000 */ nop
|
||||
/* 47FBC4 80218B14 00551025 */ or $v0, $v0, $s5
|
||||
/* 47FBC8 80218B18 A2220000 */ sb $v0, ($s1)
|
||||
.L80218B1C:
|
||||
/* 47FBCC 80218B1C 00041400 */ sll $v0, $a0, 0x10
|
||||
/* 47FBD0 80218B20 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 47FBD4 80218B24 00021880 */ sll $v1, $v0, 2
|
||||
/* 47FBD8 80218B28 00621821 */ addu $v1, $v1, $v0
|
||||
/* 47FBDC 80218B2C 00031140 */ sll $v0, $v1, 5
|
||||
/* 47FBE0 80218B30 00431023 */ subu $v0, $v0, $v1
|
||||
/* 47FBE4 80218B34 04410002 */ bgez $v0, .L80218B40
|
||||
/* 47FBE8 80218B38 26230001 */ addiu $v1, $s1, 1
|
||||
/* 47FBEC 80218B3C 24427FFF */ addiu $v0, $v0, 0x7fff
|
||||
.L80218B40:
|
||||
/* 47FBF0 80218B40 000213C3 */ sra $v0, $v0, 0xf
|
||||
/* 47FBF4 80218B44 3C014059 */ lui $at, 0x4059
|
||||
/* 47FBF8 80218B48 44811800 */ mtc1 $at, $f3
|
||||
/* 47FBFC 80218B4C 44801000 */ mtc1 $zero, $f2
|
||||
/* 47FC00 80218B50 44820000 */ mtc1 $v0, $f0
|
||||
/* 47FC04 80218B54 00000000 */ nop
|
||||
/* 47FC08 80218B58 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 47FC0C 80218B5C 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 47FC10 80218B60 4620A03E */ c.le.d $f20, $f0
|
||||
/* 47FC14 80218B64 00000000 */ nop
|
||||
/* 47FC18 80218B68 45030005 */ bc1tl .L80218B80
|
||||
/* 47FC1C 80218B6C 46340001 */ sub.d $f0, $f0, $f20
|
||||
/* 47FC20 80218B70 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47FC24 80218B74 44022000 */ mfc1 $v0, $f4
|
||||
/* 47FC28 80218B78 080862E5 */ j .L80218B94
|
||||
/* 47FC2C 80218B7C A0620000 */ sb $v0, ($v1)
|
||||
.L80218B80:
|
||||
/* 47FC30 80218B80 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47FC34 80218B84 44022000 */ mfc1 $v0, $f4
|
||||
/* 47FC38 80218B88 00000000 */ nop
|
||||
/* 47FC3C 80218B8C 00551025 */ or $v0, $v0, $s5
|
||||
/* 47FC40 80218B90 A0620000 */ sb $v0, ($v1)
|
||||
.L80218B94:
|
||||
/* 47FC44 80218B94 00101FC2 */ srl $v1, $s0, 0x1f
|
||||
/* 47FC48 80218B98 02031821 */ addu $v1, $s0, $v1
|
||||
/* 47FC4C 80218B9C 00032843 */ sra $a1, $v1, 1
|
||||
/* 47FC50 80218BA0 00B30018 */ mult $a1, $s3
|
||||
/* 47FC54 80218BA4 96840000 */ lhu $a0, ($s4)
|
||||
/* 47FC58 80218BA8 00031FC3 */ sra $v1, $v1, 0x1f
|
||||
/* 47FC5C 80218BAC 000433C2 */ srl $a2, $a0, 0xf
|
||||
/* 47FC60 80218BB0 00004810 */ mfhi $t1
|
||||
/* 47FC64 80218BB4 01231823 */ subu $v1, $t1, $v1
|
||||
/* 47FC68 80218BB8 00031040 */ sll $v0, $v1, 1
|
||||
/* 47FC6C 80218BBC 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47FC70 80218BC0 00A22823 */ subu $a1, $a1, $v0
|
||||
/* 47FC74 80218BC4 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 47FC78 80218BC8 00052BC0 */ sll $a1, $a1, 0xf
|
||||
/* 47FC7C 80218BCC 00C50018 */ mult $a2, $a1
|
||||
/* 47FC80 80218BD0 00042382 */ srl $a0, $a0, 0xe
|
||||
/* 47FC84 80218BD4 000423C0 */ sll $a0, $a0, 0xf
|
||||
/* 47FC88 80218BD8 00001812 */ mflo $v1
|
||||
/* 47FC8C 80218BDC 00642021 */ addu $a0, $v1, $a0
|
||||
/* 47FC90 80218BE0 00902021 */ addu $a0, $a0, $s0
|
||||
/* 47FC94 80218BE4 0C01917C */ jal sins
|
||||
/* 47FC98 80218BE8 3084FFFF */ andi $a0, $a0, 0xffff
|
||||
/* 47FC9C 80218BEC 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 47FCA0 80218BF0 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 47FCA4 80218BF4 92230000 */ lbu $v1, ($s1)
|
||||
/* 47FCA8 80218BF8 00561021 */ addu $v0, $v0, $s6
|
||||
/* 47FCAC 80218BFC 00620018 */ mult $v1, $v0
|
||||
/* 47FCB0 80218C00 00001812 */ mflo $v1
|
||||
/* 47FCB4 80218C04 04610003 */ bgez $v1, .L80218C14
|
||||
/* 47FCB8 80218C08 26240002 */ addiu $a0, $s1, 2
|
||||
/* 47FCBC 80218C0C 3402FFFF */ ori $v0, $zero, 0xffff
|
||||
/* 47FCC0 80218C10 00621821 */ addu $v1, $v1, $v0
|
||||
.L80218C14:
|
||||
/* 47FCC4 80218C14 00031403 */ sra $v0, $v1, 0x10
|
||||
/* 47FCC8 80218C18 3C018022 */ lui $at, %hi(D_80225FD0)
|
||||
/* 47FCCC 80218C1C D4225FD0 */ ldc1 $f2, %lo(D_80225FD0)($at)
|
||||
/* 47FCD0 80218C20 44820000 */ mtc1 $v0, $f0
|
||||
/* 47FCD4 80218C24 00000000 */ nop
|
||||
/* 47FCD8 80218C28 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 47FCDC 80218C2C 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 47FCE0 80218C30 4620A03E */ c.le.d $f20, $f0
|
||||
/* 47FCE4 80218C34 00000000 */ nop
|
||||
/* 47FCE8 80218C38 45030005 */ bc1tl .L80218C50
|
||||
/* 47FCEC 80218C3C 46340001 */ sub.d $f0, $f0, $f20
|
||||
/* 47FCF0 80218C40 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47FCF4 80218C44 44022000 */ mfc1 $v0, $f4
|
||||
/* 47FCF8 80218C48 08086319 */ j .L80218C64
|
||||
/* 47FCFC 80218C4C A0820000 */ sb $v0, ($a0)
|
||||
.L80218C50:
|
||||
/* 47FD00 80218C50 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47FD04 80218C54 44022000 */ mfc1 $v0, $f4
|
||||
/* 47FD08 80218C58 00000000 */ nop
|
||||
/* 47FD0C 80218C5C 00551025 */ or $v0, $v0, $s5
|
||||
/* 47FD10 80218C60 A0820000 */ sb $v0, ($a0)
|
||||
.L80218C64:
|
||||
/* 47FD14 80218C64 8FA20018 */ lw $v0, 0x18($sp)
|
||||
/* 47FD18 80218C68 26100001 */ addiu $s0, $s0, 1
|
||||
/* 47FD1C 80218C6C 0202102A */ slt $v0, $s0, $v0
|
||||
/* 47FD20 80218C70 1440FF76 */ bnez $v0, .L80218A4C
|
||||
/* 47FD24 80218C74 02130018 */ mult $s0, $s3
|
||||
.L80218C78:
|
||||
/* 47FD28 80218C78 3C03800A */ lui $v1, %hi(D_8009A66C)
|
||||
/* 47FD2C 80218C7C 2463A66C */ addiu $v1, $v1, %lo(D_8009A66C)
|
||||
/* 47FD30 80218C80 8C620000 */ lw $v0, ($v1)
|
||||
/* 47FD34 80218C84 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 47FD38 80218C88 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 47FD3C 80218C8C 24420008 */ addiu $v0, $v0, 8
|
||||
/* 47FD40 80218C90 AC620000 */ sw $v0, ($v1)
|
||||
/* 47FD44 80218C94 3C02DE00 */ lui $v0, 0xde00
|
||||
/* 47FD48 80218C98 0C0470BB */ jal func_8011C2EC
|
||||
/* 47FD4C 80218C9C AE020000 */ sw $v0, ($s0)
|
||||
/* 47FD50 80218CA0 AE020004 */ sw $v0, 4($s0)
|
||||
/* 47FD54 80218CA4 3C028022 */ lui $v0, %hi(D_80224BB0)
|
||||
/* 47FD58 80218CA8 24424BB0 */ addiu $v0, $v0, %lo(D_80224BB0)
|
||||
/* 47FD5C 80218CAC 00121840 */ sll $v1, $s2, 1
|
||||
/* 47FD60 80218CB0 00621821 */ addu $v1, $v1, $v0
|
||||
/* 47FD64 80218CB4 94620000 */ lhu $v0, ($v1)
|
||||
/* 47FD68 80218CB8 24420253 */ addiu $v0, $v0, 0x253
|
||||
/* 47FD6C 80218CBC A4620000 */ sh $v0, ($v1)
|
||||
/* 47FD70 80218CC0 8FBF003C */ lw $ra, 0x3c($sp)
|
||||
/* 47FD74 80218CC4 8FB60038 */ lw $s6, 0x38($sp)
|
||||
/* 47FD78 80218CC8 8FB50034 */ lw $s5, 0x34($sp)
|
||||
/* 47FD7C 80218CCC 8FB40030 */ lw $s4, 0x30($sp)
|
||||
/* 47FD80 80218CD0 8FB3002C */ lw $s3, 0x2c($sp)
|
||||
/* 47FD84 80218CD4 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* 47FD88 80218CD8 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 47FD8C 80218CDC 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 47FD90 80218CE0 D7B40040 */ ldc1 $f20, 0x40($sp)
|
||||
/* 47FD94 80218CE4 03E00008 */ jr $ra
|
||||
/* 47FD98 80218CE8 27BD0048 */ addiu $sp, $sp, 0x48
|
216
asm/nonmatchings/battle/area_hos/47F0D0/func_80218CEC_47FD9C.s
Normal file
216
asm/nonmatchings/battle/area_hos/47F0D0/func_80218CEC_47FD9C.s
Normal file
@ -0,0 +1,216 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218CEC_47FD9C
|
||||
/* 47FD9C 80218CEC 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 47FDA0 80218CF0 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 47FDA4 80218CF4 2492FFFF */ addiu $s2, $a0, -1
|
||||
/* 47FDA8 80218CF8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 47FDAC 80218CFC 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 47FDB0 80218D00 27A60014 */ addiu $a2, $sp, 0x14
|
||||
/* 47FDB4 80218D04 AFBF003C */ sw $ra, 0x3c($sp)
|
||||
/* 47FDB8 80218D08 AFB60038 */ sw $s6, 0x38($sp)
|
||||
/* 47FDBC 80218D0C AFB50034 */ sw $s5, 0x34($sp)
|
||||
/* 47FDC0 80218D10 AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* 47FDC4 80218D14 AFB3002C */ sw $s3, 0x2c($sp)
|
||||
/* 47FDC8 80218D18 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 47FDCC 80218D1C AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 47FDD0 80218D20 F7B40040 */ sdc1 $f20, 0x40($sp)
|
||||
/* 47FDD4 80218D24 0C0470AC */ jal func_8011C2B0
|
||||
/* 47FDD8 80218D28 27A70018 */ addiu $a3, $sp, 0x18
|
||||
/* 47FDDC 80218D2C 8FA20018 */ lw $v0, 0x18($sp)
|
||||
/* 47FDE0 80218D30 18400098 */ blez $v0, .L80218F94
|
||||
/* 47FDE4 80218D34 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 47FDE8 80218D38 3C038022 */ lui $v1, %hi(D_80224BB0)
|
||||
/* 47FDEC 80218D3C 24634BB0 */ addiu $v1, $v1, %lo(D_80224BB0)
|
||||
/* 47FDF0 80218D40 00121040 */ sll $v0, $s2, 1
|
||||
/* 47FDF4 80218D44 0043A021 */ addu $s4, $v0, $v1
|
||||
/* 47FDF8 80218D48 3C135555 */ lui $s3, 0x5555
|
||||
/* 47FDFC 80218D4C 36735556 */ ori $s3, $s3, 0x5556
|
||||
/* 47FE00 80218D50 34168000 */ ori $s6, $zero, 0x8000
|
||||
/* 47FE04 80218D54 3C0141E0 */ lui $at, 0x41e0
|
||||
/* 47FE08 80218D58 4481A800 */ mtc1 $at, $f21
|
||||
/* 47FE0C 80218D5C 4480A000 */ mtc1 $zero, $f20
|
||||
/* 47FE10 80218D60 3C158000 */ lui $s5, 0x8000
|
||||
/* 47FE14 80218D64 02130018 */ mult $s0, $s3
|
||||
.L80218D68:
|
||||
/* 47FE18 80218D68 00101FC3 */ sra $v1, $s0, 0x1f
|
||||
/* 47FE1C 80218D6C 00004810 */ mfhi $t1
|
||||
/* 47FE20 80218D70 01231823 */ subu $v1, $t1, $v1
|
||||
/* 47FE24 80218D74 00031040 */ sll $v0, $v1, 1
|
||||
/* 47FE28 80218D78 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47FE2C 80218D7C 02021023 */ subu $v0, $s0, $v0
|
||||
/* 47FE30 80218D80 96830000 */ lhu $v1, ($s4)
|
||||
/* 47FE34 80218D84 24420001 */ addiu $v0, $v0, 1
|
||||
/* 47FE38 80218D88 00620018 */ mult $v1, $v0
|
||||
/* 47FE3C 80218D8C 8FA20014 */ lw $v0, 0x14($sp)
|
||||
/* 47FE40 80218D90 00001812 */ mflo $v1
|
||||
/* 47FE44 80218D94 00702021 */ addu $a0, $v1, $s0
|
||||
/* 47FE48 80218D98 3084FFFF */ andi $a0, $a0, 0xffff
|
||||
/* 47FE4C 80218D9C 00101900 */ sll $v1, $s0, 4
|
||||
/* 47FE50 80218DA0 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47FE54 80218DA4 0C01917C */ jal sins
|
||||
/* 47FE58 80218DA8 2451000C */ addiu $s1, $v0, 0xc
|
||||
/* 47FE5C 80218DAC 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 47FE60 80218DB0 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 47FE64 80218DB4 00561021 */ addu $v0, $v0, $s6
|
||||
/* 47FE68 80218DB8 00021FC2 */ srl $v1, $v0, 0x1f
|
||||
/* 47FE6C 80218DBC 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47FE70 80218DC0 00021043 */ sra $v0, $v0, 1
|
||||
/* 47FE74 80218DC4 00021C00 */ sll $v1, $v0, 0x10
|
||||
/* 47FE78 80218DC8 00031C03 */ sra $v1, $v1, 0x10
|
||||
/* 47FE7C 80218DCC 00032080 */ sll $a0, $v1, 2
|
||||
/* 47FE80 80218DD0 00832021 */ addu $a0, $a0, $v1
|
||||
/* 47FE84 80218DD4 00041940 */ sll $v1, $a0, 5
|
||||
/* 47FE88 80218DD8 00641823 */ subu $v1, $v1, $a0
|
||||
/* 47FE8C 80218DDC 04610002 */ bgez $v1, .L80218DE8
|
||||
/* 47FE90 80218DE0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 47FE94 80218DE4 24637FFF */ addiu $v1, $v1, 0x7fff
|
||||
.L80218DE8:
|
||||
/* 47FE98 80218DE8 000313C3 */ sra $v0, $v1, 0xf
|
||||
/* 47FE9C 80218DEC 3C014059 */ lui $at, 0x4059
|
||||
/* 47FEA0 80218DF0 44811800 */ mtc1 $at, $f3
|
||||
/* 47FEA4 80218DF4 44801000 */ mtc1 $zero, $f2
|
||||
/* 47FEA8 80218DF8 44820000 */ mtc1 $v0, $f0
|
||||
/* 47FEAC 80218DFC 00000000 */ nop
|
||||
/* 47FEB0 80218E00 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 47FEB4 80218E04 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 47FEB8 80218E08 4620A03E */ c.le.d $f20, $f0
|
||||
/* 47FEBC 80218E0C 00000000 */ nop
|
||||
/* 47FEC0 80218E10 45030005 */ bc1tl .L80218E28
|
||||
/* 47FEC4 80218E14 46340001 */ sub.d $f0, $f0, $f20
|
||||
/* 47FEC8 80218E18 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47FECC 80218E1C 44022000 */ mfc1 $v0, $f4
|
||||
/* 47FED0 80218E20 0808638F */ j .L80218E3C
|
||||
/* 47FED4 80218E24 A2220000 */ sb $v0, ($s1)
|
||||
.L80218E28:
|
||||
/* 47FED8 80218E28 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47FEDC 80218E2C 44022000 */ mfc1 $v0, $f4
|
||||
/* 47FEE0 80218E30 00000000 */ nop
|
||||
/* 47FEE4 80218E34 00551025 */ or $v0, $v0, $s5
|
||||
/* 47FEE8 80218E38 A2220000 */ sb $v0, ($s1)
|
||||
.L80218E3C:
|
||||
/* 47FEEC 80218E3C 00041400 */ sll $v0, $a0, 0x10
|
||||
/* 47FEF0 80218E40 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 47FEF4 80218E44 00021880 */ sll $v1, $v0, 2
|
||||
/* 47FEF8 80218E48 00621821 */ addu $v1, $v1, $v0
|
||||
/* 47FEFC 80218E4C 00031140 */ sll $v0, $v1, 5
|
||||
/* 47FF00 80218E50 00431023 */ subu $v0, $v0, $v1
|
||||
/* 47FF04 80218E54 04410002 */ bgez $v0, .L80218E60
|
||||
/* 47FF08 80218E58 26230001 */ addiu $v1, $s1, 1
|
||||
/* 47FF0C 80218E5C 24427FFF */ addiu $v0, $v0, 0x7fff
|
||||
.L80218E60:
|
||||
/* 47FF10 80218E60 000213C3 */ sra $v0, $v0, 0xf
|
||||
/* 47FF14 80218E64 3C018022 */ lui $at, %hi(D_80225FD8)
|
||||
/* 47FF18 80218E68 D4225FD8 */ ldc1 $f2, %lo(D_80225FD8)($at)
|
||||
/* 47FF1C 80218E6C 44820000 */ mtc1 $v0, $f0
|
||||
/* 47FF20 80218E70 00000000 */ nop
|
||||
/* 47FF24 80218E74 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 47FF28 80218E78 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 47FF2C 80218E7C 4620A03E */ c.le.d $f20, $f0
|
||||
/* 47FF30 80218E80 00000000 */ nop
|
||||
/* 47FF34 80218E84 45030005 */ bc1tl .L80218E9C
|
||||
/* 47FF38 80218E88 46340001 */ sub.d $f0, $f0, $f20
|
||||
/* 47FF3C 80218E8C 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47FF40 80218E90 44022000 */ mfc1 $v0, $f4
|
||||
/* 47FF44 80218E94 080863AC */ j .L80218EB0
|
||||
/* 47FF48 80218E98 A0620000 */ sb $v0, ($v1)
|
||||
.L80218E9C:
|
||||
/* 47FF4C 80218E9C 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 47FF50 80218EA0 44022000 */ mfc1 $v0, $f4
|
||||
/* 47FF54 80218EA4 00000000 */ nop
|
||||
/* 47FF58 80218EA8 00551025 */ or $v0, $v0, $s5
|
||||
/* 47FF5C 80218EAC A0620000 */ sb $v0, ($v1)
|
||||
.L80218EB0:
|
||||
/* 47FF60 80218EB0 00101FC2 */ srl $v1, $s0, 0x1f
|
||||
/* 47FF64 80218EB4 02031821 */ addu $v1, $s0, $v1
|
||||
/* 47FF68 80218EB8 00032843 */ sra $a1, $v1, 1
|
||||
/* 47FF6C 80218EBC 00B30018 */ mult $a1, $s3
|
||||
/* 47FF70 80218EC0 96840000 */ lhu $a0, ($s4)
|
||||
/* 47FF74 80218EC4 00031FC3 */ sra $v1, $v1, 0x1f
|
||||
/* 47FF78 80218EC8 000433C2 */ srl $a2, $a0, 0xf
|
||||
/* 47FF7C 80218ECC 00004810 */ mfhi $t1
|
||||
/* 47FF80 80218ED0 01231823 */ subu $v1, $t1, $v1
|
||||
/* 47FF84 80218ED4 00031040 */ sll $v0, $v1, 1
|
||||
/* 47FF88 80218ED8 00431021 */ addu $v0, $v0, $v1
|
||||
/* 47FF8C 80218EDC 00A22823 */ subu $a1, $a1, $v0
|
||||
/* 47FF90 80218EE0 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 47FF94 80218EE4 00052BC0 */ sll $a1, $a1, 0xf
|
||||
/* 47FF98 80218EE8 00C50018 */ mult $a2, $a1
|
||||
/* 47FF9C 80218EEC 00042382 */ srl $a0, $a0, 0xe
|
||||
/* 47FFA0 80218EF0 000423C0 */ sll $a0, $a0, 0xf
|
||||
/* 47FFA4 80218EF4 00001812 */ mflo $v1
|
||||
/* 47FFA8 80218EF8 00642021 */ addu $a0, $v1, $a0
|
||||
/* 47FFAC 80218EFC 00902021 */ addu $a0, $a0, $s0
|
||||
/* 47FFB0 80218F00 0C01917C */ jal sins
|
||||
/* 47FFB4 80218F04 3084FFFF */ andi $a0, $a0, 0xffff
|
||||
/* 47FFB8 80218F08 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 47FFBC 80218F0C 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 47FFC0 80218F10 92230000 */ lbu $v1, ($s1)
|
||||
/* 47FFC4 80218F14 00561021 */ addu $v0, $v0, $s6
|
||||
/* 47FFC8 80218F18 00620018 */ mult $v1, $v0
|
||||
/* 47FFCC 80218F1C 00001812 */ mflo $v1
|
||||
/* 47FFD0 80218F20 04610003 */ bgez $v1, .L80218F30
|
||||
/* 47FFD4 80218F24 26240002 */ addiu $a0, $s1, 2
|
||||
/* 47FFD8 80218F28 3402FFFF */ ori $v0, $zero, 0xffff
|
||||
/* 47FFDC 80218F2C 00621821 */ addu $v1, $v1, $v0
|
||||
.L80218F30:
|
||||
/* 47FFE0 80218F30 00031403 */ sra $v0, $v1, 0x10
|
||||
/* 47FFE4 80218F34 3C018022 */ lui $at, %hi(D_80225FE0)
|
||||
/* 47FFE8 80218F38 D4225FE0 */ ldc1 $f2, %lo(D_80225FE0)($at)
|
||||
/* 47FFEC 80218F3C 44820000 */ mtc1 $v0, $f0
|
||||
/* 47FFF0 80218F40 00000000 */ nop
|
||||
/* 47FFF4 80218F44 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 47FFF8 80218F48 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 47FFFC 80218F4C 4620A03E */ c.le.d $f20, $f0
|
||||
/* 480000 80218F50 00000000 */ nop
|
||||
/* 480004 80218F54 45030005 */ bc1tl .L80218F6C
|
||||
/* 480008 80218F58 46340001 */ sub.d $f0, $f0, $f20
|
||||
/* 48000C 80218F5C 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 480010 80218F60 44022000 */ mfc1 $v0, $f4
|
||||
/* 480014 80218F64 080863E0 */ j .L80218F80
|
||||
/* 480018 80218F68 A0820000 */ sb $v0, ($a0)
|
||||
.L80218F6C:
|
||||
/* 48001C 80218F6C 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 480020 80218F70 44022000 */ mfc1 $v0, $f4
|
||||
/* 480024 80218F74 00000000 */ nop
|
||||
/* 480028 80218F78 00551025 */ or $v0, $v0, $s5
|
||||
/* 48002C 80218F7C A0820000 */ sb $v0, ($a0)
|
||||
.L80218F80:
|
||||
/* 480030 80218F80 8FA20018 */ lw $v0, 0x18($sp)
|
||||
/* 480034 80218F84 26100001 */ addiu $s0, $s0, 1
|
||||
/* 480038 80218F88 0202102A */ slt $v0, $s0, $v0
|
||||
/* 48003C 80218F8C 1440FF76 */ bnez $v0, .L80218D68
|
||||
/* 480040 80218F90 02130018 */ mult $s0, $s3
|
||||
.L80218F94:
|
||||
/* 480044 80218F94 3C03800A */ lui $v1, %hi(D_8009A66C)
|
||||
/* 480048 80218F98 2463A66C */ addiu $v1, $v1, %lo(D_8009A66C)
|
||||
/* 48004C 80218F9C 8C620000 */ lw $v0, ($v1)
|
||||
/* 480050 80218FA0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 480054 80218FA4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 480058 80218FA8 24420008 */ addiu $v0, $v0, 8
|
||||
/* 48005C 80218FAC AC620000 */ sw $v0, ($v1)
|
||||
/* 480060 80218FB0 3C02DE00 */ lui $v0, 0xde00
|
||||
/* 480064 80218FB4 0C0470BB */ jal func_8011C2EC
|
||||
/* 480068 80218FB8 AE020000 */ sw $v0, ($s0)
|
||||
/* 48006C 80218FBC AE020004 */ sw $v0, 4($s0)
|
||||
/* 480070 80218FC0 3C028022 */ lui $v0, %hi(D_80224BB0)
|
||||
/* 480074 80218FC4 24424BB0 */ addiu $v0, $v0, %lo(D_80224BB0)
|
||||
/* 480078 80218FC8 00121840 */ sll $v1, $s2, 1
|
||||
/* 48007C 80218FCC 00621821 */ addu $v1, $v1, $v0
|
||||
/* 480080 80218FD0 94620000 */ lhu $v0, ($v1)
|
||||
/* 480084 80218FD4 24420253 */ addiu $v0, $v0, 0x253
|
||||
/* 480088 80218FD8 A4620000 */ sh $v0, ($v1)
|
||||
/* 48008C 80218FDC 8FBF003C */ lw $ra, 0x3c($sp)
|
||||
/* 480090 80218FE0 8FB60038 */ lw $s6, 0x38($sp)
|
||||
/* 480094 80218FE4 8FB50034 */ lw $s5, 0x34($sp)
|
||||
/* 480098 80218FE8 8FB40030 */ lw $s4, 0x30($sp)
|
||||
/* 48009C 80218FEC 8FB3002C */ lw $s3, 0x2c($sp)
|
||||
/* 4800A0 80218FF0 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* 4800A4 80218FF4 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 4800A8 80218FF8 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 4800AC 80218FFC D7B40040 */ ldc1 $f20, 0x40($sp)
|
||||
/* 4800B0 80219000 03E00008 */ jr $ra
|
||||
/* 4800B4 80219004 27BD0048 */ addiu $sp, $sp, 0x48
|
||||
/* 4800B8 80219008 00000000 */ nop
|
||||
/* 4800BC 8021900C 00000000 */ nop
|
@ -0,0 +1,89 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218270_4E29B0
|
||||
/* 4E29B0 80218270 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 4E29B4 80218274 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 4E29B8 80218278 24140003 */ addiu $s4, $zero, 3
|
||||
/* 4E29BC 8021827C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 4E29C0 80218280 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 4E29C4 80218284 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 4E29C8 80218288 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 4E29CC 8021828C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 4E29D0 80218290 F7BE0050 */ sdc1 $f30, 0x50($sp)
|
||||
/* 4E29D4 80218294 F7BC0048 */ sdc1 $f28, 0x48($sp)
|
||||
/* 4E29D8 80218298 F7BA0040 */ sdc1 $f26, 0x40($sp)
|
||||
/* 4E29DC 8021829C F7B80038 */ sdc1 $f24, 0x38($sp)
|
||||
/* 4E29E0 802182A0 F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 4E29E4 802182A4 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 4E29E8 802182A8 8C840148 */ lw $a0, 0x148($a0)
|
||||
/* 4E29EC 802182AC 3C0140E0 */ lui $at, 0x40e0
|
||||
/* 4E29F0 802182B0 4481A000 */ mtc1 $at, $f20
|
||||
/* 4E29F4 802182B4 3C013F19 */ lui $at, 0x3f19
|
||||
/* 4E29F8 802182B8 3421999A */ ori $at, $at, 0x999a
|
||||
/* 4E29FC 802182BC 4481F000 */ mtc1 $at, $f30
|
||||
/* 4E2A00 802182C0 3C014040 */ lui $at, 0x4040
|
||||
/* 4E2A04 802182C4 4481E000 */ mtc1 $at, $f28
|
||||
/* 4E2A08 802182C8 0C09A75B */ jal get_actor
|
||||
/* 4E2A0C 802182CC 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 4E2A10 802182D0 24040180 */ addiu $a0, $zero, 0x180
|
||||
/* 4E2A14 802182D4 0C00AB39 */ jal heap_malloc
|
||||
/* 4E2A18 802182D8 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 4E2A1C 802182DC 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 4E2A20 802182E0 26300008 */ addiu $s0, $s1, 8
|
||||
/* 4E2A24 802182E4 C67A014C */ lwc1 $f26, 0x14c($s3)
|
||||
/* 4E2A28 802182E8 C6620144 */ lwc1 $f2, 0x144($s3)
|
||||
/* 4E2A2C 802182EC 3C014028 */ lui $at, 0x4028
|
||||
/* 4E2A30 802182F0 44810800 */ mtc1 $at, $f1
|
||||
/* 4E2A34 802182F4 44800000 */ mtc1 $zero, $f0
|
||||
/* 4E2A38 802182F8 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 4E2A3C 802182FC 46201080 */ add.d $f2, $f2, $f0
|
||||
/* 4E2A40 80218300 C6600148 */ lwc1 $f0, 0x148($s3)
|
||||
/* 4E2A44 80218304 3C014014 */ lui $at, 0x4014
|
||||
/* 4E2A48 80218308 44812800 */ mtc1 $at, $f5
|
||||
/* 4E2A4C 8021830C 44802000 */ mtc1 $zero, $f4
|
||||
/* 4E2A50 80218310 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 4E2A54 80218314 46240000 */ add.d $f0, $f0, $f4
|
||||
/* 4E2A58 80218318 AE710078 */ sw $s1, 0x78($s3)
|
||||
/* 4E2A5C 8021831C 46201620 */ cvt.s.d $f24, $f2
|
||||
/* 4E2A60 80218320 462005A0 */ cvt.s.d $f22, $f0
|
||||
.L80218324:
|
||||
/* 4E2A64 80218324 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 4E2A68 80218328 02922821 */ addu $a1, $s4, $s2
|
||||
/* 4E2A6C 8021832C E614001C */ swc1 $f20, 0x1c($s0)
|
||||
/* 4E2A70 80218330 E6140024 */ swc1 $f20, 0x24($s0)
|
||||
/* 4E2A74 80218334 E6140020 */ swc1 $f20, 0x20($s0)
|
||||
/* 4E2A78 80218338 E6380000 */ swc1 $f24, ($s1)
|
||||
/* 4E2A7C 8021833C E616FFFC */ swc1 $f22, -4($s0)
|
||||
/* 4E2A80 80218340 E61A0000 */ swc1 $f26, ($s0)
|
||||
/* 4E2A84 80218344 AE000014 */ sw $zero, 0x14($s0)
|
||||
/* 4E2A88 80218348 E61E0018 */ swc1 $f30, 0x18($s0)
|
||||
/* 4E2A8C 8021834C E61C000C */ swc1 $f28, 0xc($s0)
|
||||
/* 4E2A90 80218350 0C099117 */ jal get_actor_part
|
||||
/* 4E2A94 80218354 AE000010 */ sw $zero, 0x10($s0)
|
||||
/* 4E2A98 80218358 C6200000 */ lwc1 $f0, ($s1)
|
||||
/* 4E2A9C 8021835C 26520001 */ addiu $s2, $s2, 1
|
||||
/* 4E2AA0 80218360 E440002C */ swc1 $f0, 0x2c($v0)
|
||||
/* 4E2AA4 80218364 C600FFFC */ lwc1 $f0, -4($s0)
|
||||
/* 4E2AA8 80218368 26310030 */ addiu $s1, $s1, 0x30
|
||||
/* 4E2AAC 8021836C E4400030 */ swc1 $f0, 0x30($v0)
|
||||
/* 4E2AB0 80218370 C6000000 */ lwc1 $f0, ($s0)
|
||||
/* 4E2AB4 80218374 E4400034 */ swc1 $f0, 0x34($v0)
|
||||
/* 4E2AB8 80218378 2A420008 */ slti $v0, $s2, 8
|
||||
/* 4E2ABC 8021837C 1440FFE9 */ bnez $v0, .L80218324
|
||||
/* 4E2AC0 80218380 26100030 */ addiu $s0, $s0, 0x30
|
||||
/* 4E2AC4 80218384 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 4E2AC8 80218388 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 4E2ACC 8021838C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 4E2AD0 80218390 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 4E2AD4 80218394 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 4E2AD8 80218398 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 4E2ADC 8021839C D7BE0050 */ ldc1 $f30, 0x50($sp)
|
||||
/* 4E2AE0 802183A0 D7BC0048 */ ldc1 $f28, 0x48($sp)
|
||||
/* 4E2AE4 802183A4 D7BA0040 */ ldc1 $f26, 0x40($sp)
|
||||
/* 4E2AE8 802183A8 D7B80038 */ ldc1 $f24, 0x38($sp)
|
||||
/* 4E2AEC 802183AC D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 4E2AF0 802183B0 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 4E2AF4 802183B4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E2AF8 802183B8 03E00008 */ jr $ra
|
||||
/* 4E2AFC 802183BC 27BD0058 */ addiu $sp, $sp, 0x58
|
@ -0,0 +1,42 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802183C0_4E2B00
|
||||
/* 4E2B00 802183C0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 4E2B04 802183C4 F7B60020 */ sdc1 $f22, 0x20($sp)
|
||||
/* 4E2B08 802183C8 4485B000 */ mtc1 $a1, $f22
|
||||
/* 4E2B0C 802183CC 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 4E2B10 802183D0 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 4E2B14 802183D4 44810000 */ mtc1 $at, $f0
|
||||
/* 4E2B18 802183D8 44863000 */ mtc1 $a2, $f6
|
||||
/* 4E2B1C 802183DC F7B40018 */ sdc1 $f20, 0x18($sp)
|
||||
/* 4E2B20 802183E0 46003502 */ mul.s $f20, $f6, $f0
|
||||
/* 4E2B24 802183E4 00000000 */ nop
|
||||
/* 4E2B28 802183E8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 4E2B2C 802183EC 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 4E2B30 802183F0 44810000 */ mtc1 $at, $f0
|
||||
/* 4E2B34 802183F4 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 4E2B38 802183F8 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 4E2B3C 802183FC 4600A503 */ div.s $f20, $f20, $f0
|
||||
/* 4E2B40 80218400 0C00A85B */ jal sin_rad
|
||||
/* 4E2B44 80218404 4600A306 */ mov.s $f12, $f20
|
||||
/* 4E2B48 80218408 4600A306 */ mov.s $f12, $f20
|
||||
/* 4E2B4C 8021840C 0C00A874 */ jal cos_rad
|
||||
/* 4E2B50 80218410 46000506 */ mov.s $f20, $f0
|
||||
/* 4E2B54 80218414 4600B087 */ neg.s $f2, $f22
|
||||
/* 4E2B58 80218418 46141082 */ mul.s $f2, $f2, $f20
|
||||
/* 4E2B5C 8021841C 00000000 */ nop
|
||||
/* 4E2B60 80218420 4600B582 */ mul.s $f22, $f22, $f0
|
||||
/* 4E2B64 80218424 00000000 */ nop
|
||||
/* 4E2B68 80218428 C6040000 */ lwc1 $f4, ($s0)
|
||||
/* 4E2B6C 8021842C 46022100 */ add.s $f4, $f4, $f2
|
||||
/* 4E2B70 80218430 C6000004 */ lwc1 $f0, 4($s0)
|
||||
/* 4E2B74 80218434 46160000 */ add.s $f0, $f0, $f22
|
||||
/* 4E2B78 80218438 E6040000 */ swc1 $f4, ($s0)
|
||||
/* 4E2B7C 8021843C E6000004 */ swc1 $f0, 4($s0)
|
||||
/* 4E2B80 80218440 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 4E2B84 80218444 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 4E2B88 80218448 D7B60020 */ ldc1 $f22, 0x20($sp)
|
||||
/* 4E2B8C 8021844C D7B40018 */ ldc1 $f20, 0x18($sp)
|
||||
/* 4E2B90 80218450 03E00008 */ jr $ra
|
||||
/* 4E2B94 80218454 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -0,0 +1,33 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218458_4E2B98
|
||||
/* 4E2B98 80218458 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 4E2B9C 8021845C F7B60020 */ sdc1 $f22, 0x20($sp)
|
||||
/* 4E2BA0 80218460 4485B000 */ mtc1 $a1, $f22
|
||||
/* 4E2BA4 80218464 3C0140C9 */ lui $at, 0x40c9
|
||||
/* 4E2BA8 80218468 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 4E2BAC 8021846C 44810000 */ mtc1 $at, $f0
|
||||
/* 4E2BB0 80218470 44861000 */ mtc1 $a2, $f2
|
||||
/* 4E2BB4 80218474 F7B40018 */ sdc1 $f20, 0x18($sp)
|
||||
/* 4E2BB8 80218478 46001502 */ mul.s $f20, $f2, $f0
|
||||
/* 4E2BBC 8021847C 00000000 */ nop
|
||||
/* 4E2BC0 80218480 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 4E2BC4 80218484 3C0143B4 */ lui $at, 0x43b4
|
||||
/* 4E2BC8 80218488 44810000 */ mtc1 $at, $f0
|
||||
/* 4E2BCC 8021848C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 4E2BD0 80218490 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 4E2BD4 80218494 4600A503 */ div.s $f20, $f20, $f0
|
||||
/* 4E2BD8 80218498 0C00A85B */ jal sin_rad
|
||||
/* 4E2BDC 8021849C 4600A306 */ mov.s $f12, $f20
|
||||
/* 4E2BE0 802184A0 0C00A874 */ jal cos_rad
|
||||
/* 4E2BE4 802184A4 4600A306 */ mov.s $f12, $f20
|
||||
/* 4E2BE8 802184A8 4600B582 */ mul.s $f22, $f22, $f0
|
||||
/* 4E2BEC 802184AC 00000000 */ nop
|
||||
/* 4E2BF0 802184B0 E6160000 */ swc1 $f22, ($s0)
|
||||
/* 4E2BF4 802184B4 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 4E2BF8 802184B8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 4E2BFC 802184BC D7B60020 */ ldc1 $f22, 0x20($sp)
|
||||
/* 4E2C00 802184C0 D7B40018 */ ldc1 $f20, 0x18($sp)
|
||||
/* 4E2C04 802184C4 03E00008 */ jr $ra
|
||||
/* 4E2C08 802184C8 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -0,0 +1,273 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802184CC_4E2C0C
|
||||
/* 4E2C0C 802184CC 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 4E2C10 802184D0 AFBF0038 */ sw $ra, 0x38($sp)
|
||||
/* 4E2C14 802184D4 AFB50034 */ sw $s5, 0x34($sp)
|
||||
/* 4E2C18 802184D8 AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* 4E2C1C 802184DC AFB3002C */ sw $s3, 0x2c($sp)
|
||||
/* 4E2C20 802184E0 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 4E2C24 802184E4 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 4E2C28 802184E8 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 4E2C2C 802184EC F7BC0060 */ sdc1 $f28, 0x60($sp)
|
||||
/* 4E2C30 802184F0 F7BA0058 */ sdc1 $f26, 0x58($sp)
|
||||
/* 4E2C34 802184F4 F7B80050 */ sdc1 $f24, 0x50($sp)
|
||||
/* 4E2C38 802184F8 F7B60048 */ sdc1 $f22, 0x48($sp)
|
||||
/* 4E2C3C 802184FC F7B40040 */ sdc1 $f20, 0x40($sp)
|
||||
/* 4E2C40 80218500 0C09A75B */ jal get_actor
|
||||
/* 4E2C44 80218504 8C840148 */ lw $a0, 0x148($a0)
|
||||
/* 4E2C48 80218508 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 4E2C4C 8021850C 16200003 */ bnez $s1, .L8021851C
|
||||
/* 4E2C50 80218510 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 4E2C54 80218514 0808621E */ j .L80218878
|
||||
/* 4E2C58 80218518 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8021851C:
|
||||
/* 4E2C5C 8021851C 82230210 */ lb $v1, 0x210($s1)
|
||||
/* 4E2C60 80218520 8E320078 */ lw $s2, 0x78($s1)
|
||||
/* 4E2C64 80218524 1462000D */ bne $v1, $v0, .L8021855C
|
||||
/* 4E2C68 80218528 24150003 */ addiu $s5, $zero, 3
|
||||
/* 4E2C6C 8021852C C6220144 */ lwc1 $f2, 0x144($s1)
|
||||
/* 4E2C70 80218530 3C014018 */ lui $at, 0x4018
|
||||
/* 4E2C74 80218534 44810800 */ mtc1 $at, $f1
|
||||
/* 4E2C78 80218538 44800000 */ mtc1 $zero, $f0
|
||||
/* 4E2C7C 8021853C 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 4E2C80 80218540 46201080 */ add.d $f2, $f2, $f0
|
||||
/* 4E2C84 80218544 C6200148 */ lwc1 $f0, 0x148($s1)
|
||||
/* 4E2C88 80218548 3C014004 */ lui $at, 0x4004
|
||||
/* 4E2C8C 8021854C 44812800 */ mtc1 $at, $f5
|
||||
/* 4E2C90 80218550 44802000 */ mtc1 $zero, $f4
|
||||
/* 4E2C94 80218554 08086162 */ j .L80218588
|
||||
/* 4E2C98 80218558 46000021 */ cvt.d.s $f0, $f0
|
||||
.L8021855C:
|
||||
/* 4E2C9C 8021855C C6220144 */ lwc1 $f2, 0x144($s1)
|
||||
/* 4E2CA0 80218560 3C014028 */ lui $at, 0x4028
|
||||
/* 4E2CA4 80218564 44810800 */ mtc1 $at, $f1
|
||||
/* 4E2CA8 80218568 44800000 */ mtc1 $zero, $f0
|
||||
/* 4E2CAC 8021856C 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 4E2CB0 80218570 46201080 */ add.d $f2, $f2, $f0
|
||||
/* 4E2CB4 80218574 C6200148 */ lwc1 $f0, 0x148($s1)
|
||||
/* 4E2CB8 80218578 3C014014 */ lui $at, 0x4014
|
||||
/* 4E2CBC 8021857C 44812800 */ mtc1 $at, $f5
|
||||
/* 4E2CC0 80218580 44802000 */ mtc1 $zero, $f4
|
||||
/* 4E2CC4 80218584 46000021 */ cvt.d.s $f0, $f0
|
||||
.L80218588:
|
||||
/* 4E2CC8 80218588 46240000 */ add.d $f0, $f0, $f4
|
||||
/* 4E2CCC 8021858C 46201520 */ cvt.s.d $f20, $f2
|
||||
/* 4E2CD0 80218590 462005A0 */ cvt.s.d $f22, $f0
|
||||
/* 4E2CD4 80218594 0000982D */ daddu $s3, $zero, $zero
|
||||
/* 4E2CD8 80218598 2414000A */ addiu $s4, $zero, 0xa
|
||||
/* 4E2CDC 8021859C 26500004 */ addiu $s0, $s2, 4
|
||||
/* 4E2CE0 802185A0 3C014060 */ lui $at, 0x4060
|
||||
/* 4E2CE4 802185A4 4481E000 */ mtc1 $at, $f28
|
||||
/* 4E2CE8 802185A8 3C0140E0 */ lui $at, 0x40e0
|
||||
/* 4E2CEC 802185AC 4481D000 */ mtc1 $at, $f26
|
||||
/* 4E2CF0 802185B0 3C013F80 */ lui $at, 0x3f80
|
||||
/* 4E2CF4 802185B4 4481C000 */ mtc1 $at, $f24
|
||||
.L802185B8:
|
||||
/* 4E2CF8 802185B8 82220210 */ lb $v0, 0x210($s1)
|
||||
/* 4E2CFC 802185BC 54540005 */ bnel $v0, $s4, .L802185D4
|
||||
/* 4E2D00 802185C0 E61A0020 */ swc1 $f26, 0x20($s0)
|
||||
/* 4E2D04 802185C4 E61C0020 */ swc1 $f28, 0x20($s0)
|
||||
/* 4E2D08 802185C8 E61C0028 */ swc1 $f28, 0x28($s0)
|
||||
/* 4E2D0C 802185CC 08086177 */ j .L802185DC
|
||||
/* 4E2D10 802185D0 E61C0024 */ swc1 $f28, 0x24($s0)
|
||||
.L802185D4:
|
||||
/* 4E2D14 802185D4 E61A0028 */ swc1 $f26, 0x28($s0)
|
||||
/* 4E2D18 802185D8 E61A0024 */ swc1 $f26, 0x24($s0)
|
||||
.L802185DC:
|
||||
/* 4E2D1C 802185DC C6020014 */ lwc1 $f2, 0x14($s0)
|
||||
/* 4E2D20 802185E0 C6000010 */ lwc1 $f0, 0x10($s0)
|
||||
/* 4E2D24 802185E4 46001081 */ sub.s $f2, $f2, $f0
|
||||
/* 4E2D28 802185E8 46000007 */ neg.s $f0, $f0
|
||||
/* 4E2D2C 802185EC 46000000 */ add.s $f0, $f0, $f0
|
||||
/* 4E2D30 802185F0 4600103C */ c.lt.s $f2, $f0
|
||||
/* 4E2D34 802185F4 00000000 */ nop
|
||||
/* 4E2D38 802185F8 4500000D */ bc1f .L80218630
|
||||
/* 4E2D3C 802185FC E6020014 */ swc1 $f2, 0x14($s0)
|
||||
/* 4E2D40 80218600 E6000014 */ swc1 $f0, 0x14($s0)
|
||||
/* 4E2D44 80218604 8E2200A8 */ lw $v0, 0xa8($s1)
|
||||
/* 4E2D48 80218608 10400009 */ beqz $v0, .L80218630
|
||||
/* 4E2D4C 8021860C 00000000 */ nop
|
||||
/* 4E2D50 80218610 16600007 */ bnez $s3, .L80218630
|
||||
/* 4E2D54 80218614 24042063 */ addiu $a0, $zero, 0x2063
|
||||
/* 4E2D58 80218618 C620014C */ lwc1 $f0, 0x14c($s1)
|
||||
/* 4E2D5C 8021861C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 4E2D60 80218620 8E260144 */ lw $a2, 0x144($s1)
|
||||
/* 4E2D64 80218624 8E270148 */ lw $a3, 0x148($s1)
|
||||
/* 4E2D68 80218628 0C052757 */ jal play_sound_at_position
|
||||
/* 4E2D6C 8021862C 0000282D */ daddu $a1, $zero, $zero
|
||||
.L80218630:
|
||||
/* 4E2D70 80218630 C6000000 */ lwc1 $f0, ($s0)
|
||||
/* 4E2D74 80218634 C6020014 */ lwc1 $f2, 0x14($s0)
|
||||
/* 4E2D78 80218638 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 4E2D7C 8021863C E6000000 */ swc1 $f0, ($s0)
|
||||
/* 4E2D80 80218640 82220210 */ lb $v0, 0x210($s1)
|
||||
/* 4E2D84 80218644 1454000D */ bne $v0, $s4, .L8021867C
|
||||
/* 4E2D88 80218648 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 4E2D8C 8021864C 3C014004 */ lui $at, 0x4004
|
||||
/* 4E2D90 80218650 44811800 */ mtc1 $at, $f3
|
||||
/* 4E2D94 80218654 44801000 */ mtc1 $zero, $f2
|
||||
/* 4E2D98 80218658 00000000 */ nop
|
||||
/* 4E2D9C 8021865C 4622003C */ c.lt.d $f0, $f2
|
||||
/* 4E2DA0 80218660 00000000 */ nop
|
||||
/* 4E2DA4 80218664 45000012 */ bc1f .L802186B0
|
||||
/* 4E2DA8 80218668 4600A306 */ mov.s $f12, $f20
|
||||
/* 4E2DAC 8021866C 3C014020 */ lui $at, 0x4020
|
||||
/* 4E2DB0 80218670 44810000 */ mtc1 $at, $f0
|
||||
/* 4E2DB4 80218674 080861AA */ j .L802186A8
|
||||
/* 4E2DB8 80218678 AE000014 */ sw $zero, 0x14($s0)
|
||||
.L8021867C:
|
||||
/* 4E2DBC 8021867C 3C014014 */ lui $at, 0x4014
|
||||
/* 4E2DC0 80218680 44811800 */ mtc1 $at, $f3
|
||||
/* 4E2DC4 80218684 44801000 */ mtc1 $zero, $f2
|
||||
/* 4E2DC8 80218688 00000000 */ nop
|
||||
/* 4E2DCC 8021868C 4622003C */ c.lt.d $f0, $f2
|
||||
/* 4E2DD0 80218690 00000000 */ nop
|
||||
/* 4E2DD4 80218694 45000006 */ bc1f .L802186B0
|
||||
/* 4E2DD8 80218698 4600A306 */ mov.s $f12, $f20
|
||||
/* 4E2DDC 8021869C 3C0140A0 */ lui $at, 0x40a0
|
||||
/* 4E2DE0 802186A0 44810000 */ mtc1 $at, $f0
|
||||
/* 4E2DE4 802186A4 AE000014 */ sw $zero, 0x14($s0)
|
||||
.L802186A8:
|
||||
/* 4E2DE8 802186A8 E6000000 */ swc1 $f0, ($s0)
|
||||
/* 4E2DEC 802186AC 4600A306 */ mov.s $f12, $f20
|
||||
.L802186B0:
|
||||
/* 4E2DF0 802186B0 8E460000 */ lw $a2, ($s2)
|
||||
/* 4E2DF4 802186B4 8E070000 */ lw $a3, ($s0)
|
||||
/* 4E2DF8 802186B8 0C00A7B5 */ jal dist2D
|
||||
/* 4E2DFC 802186BC 4600B386 */ mov.s $f14, $f22
|
||||
/* 4E2E00 802186C0 4600A306 */ mov.s $f12, $f20
|
||||
/* 4E2E04 802186C4 4600B386 */ mov.s $f14, $f22
|
||||
/* 4E2E08 802186C8 8E460000 */ lw $a2, ($s2)
|
||||
/* 4E2E0C 802186CC 8E070000 */ lw $a3, ($s0)
|
||||
/* 4E2E10 802186D0 0C00A720 */ jal atan2
|
||||
/* 4E2E14 802186D4 46000506 */ mov.s $f20, $f0
|
||||
/* 4E2E18 802186D8 C6020028 */ lwc1 $f2, 0x28($s0)
|
||||
/* 4E2E1C 802186DC 4614103E */ c.le.s $f2, $f20
|
||||
/* 4E2E20 802186E0 00000000 */ nop
|
||||
/* 4E2E24 802186E4 45000012 */ bc1f .L80218730
|
||||
/* 4E2E28 802186E8 46000586 */ mov.s $f22, $f0
|
||||
/* 4E2E2C 802186EC 4602A081 */ sub.s $f2, $f20, $f2
|
||||
/* 4E2E30 802186F0 4406B000 */ mfc1 $a2, $f22
|
||||
/* 4E2E34 802186F4 44051000 */ mfc1 $a1, $f2
|
||||
/* 4E2E38 802186F8 0C086116 */ jal func_80218458_4E2B98
|
||||
/* 4E2E3C 802186FC 27A40018 */ addiu $a0, $sp, 0x18
|
||||
/* 4E2E40 80218700 C7A00018 */ lwc1 $f0, 0x18($sp)
|
||||
/* 4E2E44 80218704 3C013FE0 */ lui $at, 0x3fe0
|
||||
/* 4E2E48 80218708 44811800 */ mtc1 $at, $f3
|
||||
/* 4E2E4C 8021870C 44801000 */ mtc1 $zero, $f2
|
||||
/* 4E2E50 80218710 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 4E2E54 80218714 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 4E2E58 80218718 00000000 */ nop
|
||||
/* 4E2E5C 8021871C C6020014 */ lwc1 $f2, 0x14($s0)
|
||||
/* 4E2E60 80218720 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 4E2E64 80218724 46201080 */ add.d $f2, $f2, $f0
|
||||
/* 4E2E68 80218728 462010A0 */ cvt.s.d $f2, $f2
|
||||
/* 4E2E6C 8021872C E6020014 */ swc1 $f2, 0x14($s0)
|
||||
.L80218730:
|
||||
/* 4E2E70 80218730 C6000024 */ lwc1 $f0, 0x24($s0)
|
||||
/* 4E2E74 80218734 4614003E */ c.le.s $f0, $f20
|
||||
/* 4E2E78 80218738 00000000 */ nop
|
||||
/* 4E2E7C 8021873C 4500000F */ bc1f .L8021877C
|
||||
/* 4E2E80 80218740 00000000 */ nop
|
||||
/* 4E2E84 80218744 C6000020 */ lwc1 $f0, 0x20($s0)
|
||||
/* 4E2E88 80218748 4614003E */ c.le.s $f0, $f20
|
||||
/* 4E2E8C 8021874C 00000000 */ nop
|
||||
/* 4E2E90 80218750 45000003 */ bc1f .L80218760
|
||||
/* 4E2E94 80218754 00000000 */ nop
|
||||
/* 4E2E98 80218758 080861DC */ j .L80218770
|
||||
/* 4E2E9C 8021875C 4600A001 */ sub.s $f0, $f20, $f0
|
||||
.L80218760:
|
||||
/* 4E2EA0 80218760 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 4E2EA4 80218764 C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 4E2EA8 80218768 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 4E2EAC 8021876C E6000018 */ swc1 $f0, 0x18($s0)
|
||||
.L80218770:
|
||||
/* 4E2EB0 80218770 44050000 */ mfc1 $a1, $f0
|
||||
/* 4E2EB4 80218774 080861F2 */ j .L802187C8
|
||||
/* 4E2EB8 80218778 00000000 */ nop
|
||||
.L8021877C:
|
||||
/* 4E2EBC 8021877C C602001C */ lwc1 $f2, 0x1c($s0)
|
||||
/* 4E2EC0 80218780 3C018022 */ lui $at, %hi(D_80224920)
|
||||
/* 4E2EC4 80218784 D4204920 */ ldc1 $f0, %lo(D_80224920)($at)
|
||||
/* 4E2EC8 80218788 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 4E2ECC 8021878C 46201082 */ mul.d $f2, $f2, $f0
|
||||
/* 4E2ED0 80218790 00000000 */ nop
|
||||
/* 4E2ED4 80218794 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 4E2ED8 80218798 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 4E2EDC 8021879C 46220001 */ sub.d $f0, $f0, $f2
|
||||
/* 4E2EE0 802187A0 44802000 */ mtc1 $zero, $f4
|
||||
/* 4E2EE4 802187A4 44802800 */ mtc1 $zero, $f5
|
||||
/* 4E2EE8 802187A8 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 4E2EEC 802187AC 460000A1 */ cvt.d.s $f2, $f0
|
||||
/* 4E2EF0 802187B0 4624103C */ c.lt.d $f2, $f4
|
||||
/* 4E2EF4 802187B4 00000000 */ nop
|
||||
/* 4E2EF8 802187B8 45000002 */ bc1f .L802187C4
|
||||
/* 4E2EFC 802187BC E6000018 */ swc1 $f0, 0x18($s0)
|
||||
/* 4E2F00 802187C0 AE000018 */ sw $zero, 0x18($s0)
|
||||
.L802187C4:
|
||||
/* 4E2F04 802187C4 8E050018 */ lw $a1, 0x18($s0)
|
||||
.L802187C8:
|
||||
/* 4E2F08 802187C8 4406B000 */ mfc1 $a2, $f22
|
||||
/* 4E2F0C 802187CC 0C0860F0 */ jal func_802183C0_4E2B00
|
||||
/* 4E2F10 802187D0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 4E2F14 802187D4 C6000018 */ lwc1 $f0, 0x18($s0)
|
||||
/* 4E2F18 802187D8 3C014010 */ lui $at, 0x4010
|
||||
/* 4E2F1C 802187DC 44811800 */ mtc1 $at, $f3
|
||||
/* 4E2F20 802187E0 44801000 */ mtc1 $zero, $f2
|
||||
/* 4E2F24 802187E4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 4E2F28 802187E8 4620103C */ c.lt.d $f2, $f0
|
||||
/* 4E2F2C 802187EC 00000000 */ nop
|
||||
/* 4E2F30 802187F0 45000005 */ bc1f .L80218808
|
||||
/* 4E2F34 802187F4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 4E2F38 802187F8 3C014080 */ lui $at, 0x4080
|
||||
/* 4E2F3C 802187FC 44810000 */ mtc1 $at, $f0
|
||||
/* 4E2F40 80218800 00000000 */ nop
|
||||
/* 4E2F44 80218804 E6000018 */ swc1 $f0, 0x18($s0)
|
||||
.L80218808:
|
||||
/* 4E2F48 80218808 0C099117 */ jal get_actor_part
|
||||
/* 4E2F4C 8021880C 02B32821 */ addu $a1, $s5, $s3
|
||||
/* 4E2F50 80218810 C6400000 */ lwc1 $f0, ($s2)
|
||||
/* 4E2F54 80218814 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 4E2F58 80218818 E460002C */ swc1 $f0, 0x2c($v1)
|
||||
/* 4E2F5C 8021881C C6000000 */ lwc1 $f0, ($s0)
|
||||
/* 4E2F60 80218820 E4600030 */ swc1 $f0, 0x30($v1)
|
||||
/* 4E2F64 80218824 C6000004 */ lwc1 $f0, 4($s0)
|
||||
/* 4E2F68 80218828 E4600034 */ swc1 $f0, 0x34($v1)
|
||||
/* 4E2F6C 8021882C 82220210 */ lb $v0, 0x210($s1)
|
||||
/* 4E2F70 80218830 54540007 */ bnel $v0, $s4, .L80218850
|
||||
/* 4E2F74 80218834 E478004C */ swc1 $f24, 0x4c($v1)
|
||||
/* 4E2F78 80218838 3C013F00 */ lui $at, 0x3f00
|
||||
/* 4E2F7C 8021883C 44810000 */ mtc1 $at, $f0
|
||||
/* 4E2F80 80218840 E4780054 */ swc1 $f24, 0x54($v1)
|
||||
/* 4E2F84 80218844 E460004C */ swc1 $f0, 0x4c($v1)
|
||||
/* 4E2F88 80218848 08086216 */ j .L80218858
|
||||
/* 4E2F8C 8021884C E4600050 */ swc1 $f0, 0x50($v1)
|
||||
.L80218850:
|
||||
/* 4E2F90 80218850 E4780050 */ swc1 $f24, 0x50($v1)
|
||||
/* 4E2F94 80218854 E4780054 */ swc1 $f24, 0x54($v1)
|
||||
.L80218858:
|
||||
/* 4E2F98 80218858 26730001 */ addiu $s3, $s3, 1
|
||||
/* 4E2F9C 8021885C C6160000 */ lwc1 $f22, ($s0)
|
||||
/* 4E2FA0 80218860 26100030 */ addiu $s0, $s0, 0x30
|
||||
/* 4E2FA4 80218864 C6540000 */ lwc1 $f20, ($s2)
|
||||
/* 4E2FA8 80218868 2A620008 */ slti $v0, $s3, 8
|
||||
/* 4E2FAC 8021886C 1440FF52 */ bnez $v0, .L802185B8
|
||||
/* 4E2FB0 80218870 26520030 */ addiu $s2, $s2, 0x30
|
||||
/* 4E2FB4 80218874 24020002 */ addiu $v0, $zero, 2
|
||||
.L80218878:
|
||||
/* 4E2FB8 80218878 8FBF0038 */ lw $ra, 0x38($sp)
|
||||
/* 4E2FBC 8021887C 8FB50034 */ lw $s5, 0x34($sp)
|
||||
/* 4E2FC0 80218880 8FB40030 */ lw $s4, 0x30($sp)
|
||||
/* 4E2FC4 80218884 8FB3002C */ lw $s3, 0x2c($sp)
|
||||
/* 4E2FC8 80218888 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* 4E2FCC 8021888C 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 4E2FD0 80218890 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 4E2FD4 80218894 D7BC0060 */ ldc1 $f28, 0x60($sp)
|
||||
/* 4E2FD8 80218898 D7BA0058 */ ldc1 $f26, 0x58($sp)
|
||||
/* 4E2FDC 8021889C D7B80050 */ ldc1 $f24, 0x50($sp)
|
||||
/* 4E2FE0 802188A0 D7B60048 */ ldc1 $f22, 0x48($sp)
|
||||
/* 4E2FE4 802188A4 D7B40040 */ ldc1 $f20, 0x40($sp)
|
||||
/* 4E2FE8 802188A8 03E00008 */ jr $ra
|
||||
/* 4E2FEC 802188AC 27BD0068 */ addiu $sp, $sp, 0x68
|
@ -0,0 +1,41 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802188B0_4E2FF0
|
||||
/* 4E2FF0 802188B0 3C05C305 */ lui $a1, 0xc305
|
||||
/* 4E2FF4 802188B4 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 4E2FF8 802188B8 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 4E2FFC 802188BC 3C014290 */ lui $at, 0x4290
|
||||
/* 4E3000 802188C0 4481B000 */ mtc1 $at, $f22
|
||||
/* 4E3004 802188C4 F7B80030 */ sdc1 $f24, 0x30($sp)
|
||||
/* 4E3008 802188C8 3C01C30F */ lui $at, 0xc30f
|
||||
/* 4E300C 802188CC 4481C000 */ mtc1 $at, $f24
|
||||
/* 4E3010 802188D0 24040001 */ addiu $a0, $zero, 1
|
||||
/* 4E3014 802188D4 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 4E3018 802188D8 3C013E99 */ lui $at, 0x3e99
|
||||
/* 4E301C 802188DC 3421999A */ ori $at, $at, 0x999a
|
||||
/* 4E3020 802188E0 4481A000 */ mtc1 $at, $f20
|
||||
/* 4E3024 802188E4 4406B000 */ mfc1 $a2, $f22
|
||||
/* 4E3028 802188E8 4407C000 */ mfc1 $a3, $f24
|
||||
/* 4E302C 802188EC 3C028022 */ lui $v0, %hi(D_80224D60)
|
||||
/* 4E3030 802188F0 24424D60 */ addiu $v0, $v0, %lo(D_80224D60)
|
||||
/* 4E3034 802188F4 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 4E3038 802188F8 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 4E303C 802188FC 0C01C124 */ jal func_80070490
|
||||
/* 4E3040 80218900 E7B40010 */ swc1 $f20, 0x10($sp)
|
||||
/* 4E3044 80218904 24040001 */ addiu $a0, $zero, 1
|
||||
/* 4E3048 80218908 3C054301 */ lui $a1, 0x4301
|
||||
/* 4E304C 8021890C 4406B000 */ mfc1 $a2, $f22
|
||||
/* 4E3050 80218910 4407C000 */ mfc1 $a3, $f24
|
||||
/* 4E3054 80218914 3C028022 */ lui $v0, %hi(D_80224D64)
|
||||
/* 4E3058 80218918 24424D64 */ addiu $v0, $v0, %lo(D_80224D64)
|
||||
/* 4E305C 8021891C E7B40010 */ swc1 $f20, 0x10($sp)
|
||||
/* 4E3060 80218920 0C01C124 */ jal func_80070490
|
||||
/* 4E3064 80218924 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 4E3068 80218928 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 4E306C 8021892C D7B80030 */ ldc1 $f24, 0x30($sp)
|
||||
/* 4E3070 80218930 D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 4E3074 80218934 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 4E3078 80218938 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E307C 8021893C 03E00008 */ jr $ra
|
||||
/* 4E3080 80218940 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -0,0 +1,19 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218944_4E3084
|
||||
/* 4E3084 80218944 3C048022 */ lui $a0, %hi(D_80224D60)
|
||||
/* 4E3088 80218948 8C844D60 */ lw $a0, %lo(D_80224D60)($a0)
|
||||
/* 4E308C 8021894C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 4E3090 80218950 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 4E3094 80218954 0C016914 */ jal remove_effect
|
||||
/* 4E3098 80218958 00000000 */ nop
|
||||
/* 4E309C 8021895C 3C048022 */ lui $a0, %hi(D_80224D64)
|
||||
/* 4E30A0 80218960 8C844D64 */ lw $a0, %lo(D_80224D64)($a0)
|
||||
/* 4E30A4 80218964 0C016914 */ jal remove_effect
|
||||
/* 4E30A8 80218968 00000000 */ nop
|
||||
/* 4E30AC 8021896C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 4E30B0 80218970 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E30B4 80218974 03E00008 */ jr $ra
|
||||
/* 4E30B8 80218978 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 4E30BC 8021897C 00000000 */ nop
|
@ -0,0 +1,40 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218980_4E30C0
|
||||
/* 4E30C0 80218980 3C05C2B4 */ lui $a1, 0xc2b4
|
||||
/* 4E30C4 80218984 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 4E30C8 80218988 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 4E30CC 8021898C 3C014234 */ lui $at, 0x4234
|
||||
/* 4E30D0 80218990 4481B000 */ mtc1 $at, $f22
|
||||
/* 4E30D4 80218994 F7B80030 */ sdc1 $f24, 0x30($sp)
|
||||
/* 4E30D8 80218998 3C01C312 */ lui $at, 0xc312
|
||||
/* 4E30DC 8021899C 4481C000 */ mtc1 $at, $f24
|
||||
/* 4E30E0 802189A0 24040001 */ addiu $a0, $zero, 1
|
||||
/* 4E30E4 802189A4 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 4E30E8 802189A8 3C013E80 */ lui $at, 0x3e80
|
||||
/* 4E30EC 802189AC 4481A000 */ mtc1 $at, $f20
|
||||
/* 4E30F0 802189B0 4406B000 */ mfc1 $a2, $f22
|
||||
/* 4E30F4 802189B4 4407C000 */ mfc1 $a3, $f24
|
||||
/* 4E30F8 802189B8 3C028022 */ lui $v0, %hi(D_80224D70)
|
||||
/* 4E30FC 802189BC 24424D70 */ addiu $v0, $v0, %lo(D_80224D70)
|
||||
/* 4E3100 802189C0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 4E3104 802189C4 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 4E3108 802189C8 0C01C124 */ jal func_80070490
|
||||
/* 4E310C 802189CC E7B40010 */ swc1 $f20, 0x10($sp)
|
||||
/* 4E3110 802189D0 24040001 */ addiu $a0, $zero, 1
|
||||
/* 4E3114 802189D4 3C0542A0 */ lui $a1, 0x42a0
|
||||
/* 4E3118 802189D8 4406B000 */ mfc1 $a2, $f22
|
||||
/* 4E311C 802189DC 4407C000 */ mfc1 $a3, $f24
|
||||
/* 4E3120 802189E0 3C028022 */ lui $v0, %hi(D_80224D74)
|
||||
/* 4E3124 802189E4 24424D74 */ addiu $v0, $v0, %lo(D_80224D74)
|
||||
/* 4E3128 802189E8 E7B40010 */ swc1 $f20, 0x10($sp)
|
||||
/* 4E312C 802189EC 0C01C124 */ jal func_80070490
|
||||
/* 4E3130 802189F0 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 4E3134 802189F4 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 4E3138 802189F8 D7B80030 */ ldc1 $f24, 0x30($sp)
|
||||
/* 4E313C 802189FC D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 4E3140 80218A00 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 4E3144 80218A04 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E3148 80218A08 03E00008 */ jr $ra
|
||||
/* 4E314C 80218A0C 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -0,0 +1,20 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218A10_4E3150
|
||||
/* 4E3150 80218A10 3C048022 */ lui $a0, %hi(D_80224D70)
|
||||
/* 4E3154 80218A14 8C844D70 */ lw $a0, %lo(D_80224D70)($a0)
|
||||
/* 4E3158 80218A18 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 4E315C 80218A1C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 4E3160 80218A20 0C016914 */ jal remove_effect
|
||||
/* 4E3164 80218A24 00000000 */ nop
|
||||
/* 4E3168 80218A28 3C048022 */ lui $a0, %hi(D_80224D74)
|
||||
/* 4E316C 80218A2C 8C844D74 */ lw $a0, %lo(D_80224D74)($a0)
|
||||
/* 4E3170 80218A30 0C016914 */ jal remove_effect
|
||||
/* 4E3174 80218A34 00000000 */ nop
|
||||
/* 4E3178 80218A38 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 4E317C 80218A3C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E3180 80218A40 03E00008 */ jr $ra
|
||||
/* 4E3184 80218A44 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 4E3188 80218A48 00000000 */ nop
|
||||
/* 4E318C 80218A4C 00000000 */ nop
|
@ -0,0 +1,22 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218A50_4E3190
|
||||
/* 4E3190 80218A50 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 4E3194 80218A54 3C028022 */ lui $v0, %hi(D_80224D80)
|
||||
/* 4E3198 80218A58 24424D80 */ addiu $v0, $v0, %lo(D_80224D80)
|
||||
/* 4E319C 80218A5C 3C013E99 */ lui $at, 0x3e99
|
||||
/* 4E31A0 80218A60 3421999A */ ori $at, $at, 0x999a
|
||||
/* 4E31A4 80218A64 44810000 */ mtc1 $at, $f0
|
||||
/* 4E31A8 80218A68 3C05C2DC */ lui $a1, 0xc2dc
|
||||
/* 4E31AC 80218A6C 3C0642A0 */ lui $a2, 0x42a0
|
||||
/* 4E31B0 80218A70 3C07C312 */ lui $a3, 0xc312
|
||||
/* 4E31B4 80218A74 24040001 */ addiu $a0, $zero, 1
|
||||
/* 4E31B8 80218A78 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 4E31BC 80218A7C AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 4E31C0 80218A80 0C01C124 */ jal func_80070490
|
||||
/* 4E31C4 80218A84 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 4E31C8 80218A88 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 4E31CC 80218A8C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E31D0 80218A90 03E00008 */ jr $ra
|
||||
/* 4E31D4 80218A94 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -0,0 +1,14 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218A98_4E31D8
|
||||
/* 4E31D8 80218A98 3C048022 */ lui $a0, %hi(D_80224D80)
|
||||
/* 4E31DC 80218A9C 8C844D80 */ lw $a0, %lo(D_80224D80)($a0)
|
||||
/* 4E31E0 80218AA0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 4E31E4 80218AA4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 4E31E8 80218AA8 0C016914 */ jal remove_effect
|
||||
/* 4E31EC 80218AAC 00000000 */ nop
|
||||
/* 4E31F0 80218AB0 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 4E31F4 80218AB4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E31F8 80218AB8 03E00008 */ jr $ra
|
||||
/* 4E31FC 80218ABC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,22 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218AC0_4E3200
|
||||
/* 4E3200 80218AC0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 4E3204 80218AC4 3C028022 */ lui $v0, %hi(D_80224D90)
|
||||
/* 4E3208 80218AC8 24424D90 */ addiu $v0, $v0, %lo(D_80224D90)
|
||||
/* 4E320C 80218ACC 3C013E99 */ lui $at, 0x3e99
|
||||
/* 4E3210 80218AD0 3421999A */ ori $at, $at, 0x999a
|
||||
/* 4E3214 80218AD4 44810000 */ mtc1 $at, $f0
|
||||
/* 4E3218 80218AD8 3C0542DC */ lui $a1, 0x42dc
|
||||
/* 4E321C 80218ADC 3C0642A0 */ lui $a2, 0x42a0
|
||||
/* 4E3220 80218AE0 3C07C312 */ lui $a3, 0xc312
|
||||
/* 4E3224 80218AE4 24040001 */ addiu $a0, $zero, 1
|
||||
/* 4E3228 80218AE8 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 4E322C 80218AEC AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 4E3230 80218AF0 0C01C124 */ jal func_80070490
|
||||
/* 4E3234 80218AF4 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 4E3238 80218AF8 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 4E323C 80218AFC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E3240 80218B00 03E00008 */ jr $ra
|
||||
/* 4E3244 80218B04 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -0,0 +1,14 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218B08_4E3248
|
||||
/* 4E3248 80218B08 3C048022 */ lui $a0, %hi(D_80224D90)
|
||||
/* 4E324C 80218B0C 8C844D90 */ lw $a0, %lo(D_80224D90)($a0)
|
||||
/* 4E3250 80218B10 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 4E3254 80218B14 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 4E3258 80218B18 0C016914 */ jal remove_effect
|
||||
/* 4E325C 80218B1C 00000000 */ nop
|
||||
/* 4E3260 80218B20 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 4E3264 80218B24 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E3268 80218B28 03E00008 */ jr $ra
|
||||
/* 4E326C 80218B2C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,22 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218B30_4E3270
|
||||
/* 4E3270 80218B30 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 4E3274 80218B34 3C028022 */ lui $v0, %hi(D_80224DA0)
|
||||
/* 4E3278 80218B38 24424DA0 */ addiu $v0, $v0, %lo(D_80224DA0)
|
||||
/* 4E327C 80218B3C 3C013E99 */ lui $at, 0x3e99
|
||||
/* 4E3280 80218B40 3421999A */ ori $at, $at, 0x999a
|
||||
/* 4E3284 80218B44 44810000 */ mtc1 $at, $f0
|
||||
/* 4E3288 80218B48 3C05C2DC */ lui $a1, 0xc2dc
|
||||
/* 4E328C 80218B4C 3C0642A0 */ lui $a2, 0x42a0
|
||||
/* 4E3290 80218B50 3C07C312 */ lui $a3, 0xc312
|
||||
/* 4E3294 80218B54 24040001 */ addiu $a0, $zero, 1
|
||||
/* 4E3298 80218B58 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 4E329C 80218B5C AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 4E32A0 80218B60 0C01C124 */ jal func_80070490
|
||||
/* 4E32A4 80218B64 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 4E32A8 80218B68 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 4E32AC 80218B6C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E32B0 80218B70 03E00008 */ jr $ra
|
||||
/* 4E32B4 80218B74 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -0,0 +1,14 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218B78_4E32B8
|
||||
/* 4E32B8 80218B78 3C048022 */ lui $a0, %hi(D_80224DA0)
|
||||
/* 4E32BC 80218B7C 8C844DA0 */ lw $a0, %lo(D_80224DA0)($a0)
|
||||
/* 4E32C0 80218B80 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 4E32C4 80218B84 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 4E32C8 80218B88 0C016914 */ jal remove_effect
|
||||
/* 4E32CC 80218B8C 00000000 */ nop
|
||||
/* 4E32D0 80218B90 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 4E32D4 80218B94 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E32D8 80218B98 03E00008 */ jr $ra
|
||||
/* 4E32DC 80218B9C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,22 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218BA0_4E32E0
|
||||
/* 4E32E0 80218BA0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 4E32E4 80218BA4 3C028022 */ lui $v0, %hi(D_80224DB0)
|
||||
/* 4E32E8 80218BA8 24424DB0 */ addiu $v0, $v0, %lo(D_80224DB0)
|
||||
/* 4E32EC 80218BAC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 4E32F0 80218BB0 3C013E99 */ lui $at, 0x3e99
|
||||
/* 4E32F4 80218BB4 3421999A */ ori $at, $at, 0x999a
|
||||
/* 4E32F8 80218BB8 44810000 */ mtc1 $at, $f0
|
||||
/* 4E32FC 80218BBC 3C064290 */ lui $a2, 0x4290
|
||||
/* 4E3300 80218BC0 3C07C312 */ lui $a3, 0xc312
|
||||
/* 4E3304 80218BC4 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 4E3308 80218BC8 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 4E330C 80218BCC AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 4E3310 80218BD0 0C01C124 */ jal func_80070490
|
||||
/* 4E3314 80218BD4 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 4E3318 80218BD8 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 4E331C 80218BDC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E3320 80218BE0 03E00008 */ jr $ra
|
||||
/* 4E3324 80218BE4 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -0,0 +1,14 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218BE8_4E3328
|
||||
/* 4E3328 80218BE8 3C048022 */ lui $a0, %hi(D_80224DB0)
|
||||
/* 4E332C 80218BEC 8C844DB0 */ lw $a0, %lo(D_80224DB0)($a0)
|
||||
/* 4E3330 80218BF0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 4E3334 80218BF4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 4E3338 80218BF8 0C016914 */ jal remove_effect
|
||||
/* 4E333C 80218BFC 00000000 */ nop
|
||||
/* 4E3340 80218C00 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 4E3344 80218C04 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4E3348 80218C08 03E00008 */ jr $ra
|
||||
/* 4E334C 80218C0C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -0,0 +1,89 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218000_4EF4A0
|
||||
/* 4EF4A0 80218000 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 4EF4A4 80218004 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 4EF4A8 80218008 24140003 */ addiu $s4, $zero, 3
|
||||
/* 4EF4AC 8021800C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 4EF4B0 80218010 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 4EF4B4 80218014 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 4EF4B8 80218018 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 4EF4BC 8021801C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 4EF4C0 80218020 F7BE0050 */ sdc1 $f30, 0x50($sp)
|
||||
/* 4EF4C4 80218024 F7BC0048 */ sdc1 $f28, 0x48($sp)
|
||||
/* 4EF4C8 80218028 F7BA0040 */ sdc1 $f26, 0x40($sp)
|
||||
/* 4EF4CC 8021802C F7B80038 */ sdc1 $f24, 0x38($sp)
|
||||
/* 4EF4D0 80218030 F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 4EF4D4 80218034 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 4EF4D8 80218038 8C840148 */ lw $a0, 0x148($a0)
|
||||
/* 4EF4DC 8021803C 3C0140E0 */ lui $at, 0x40e0
|
||||
/* 4EF4E0 80218040 4481A000 */ mtc1 $at, $f20
|
||||
/* 4EF4E4 80218044 3C013F19 */ lui $at, 0x3f19
|
||||
/* 4EF4E8 80218048 3421999A */ ori $at, $at, 0x999a
|
||||
/* 4EF4EC 8021804C 4481F000 */ mtc1 $at, $f30
|
||||
/* 4EF4F0 80218050 3C014040 */ lui $at, 0x4040
|
||||
/* 4EF4F4 80218054 4481E000 */ mtc1 $at, $f28
|
||||
/* 4EF4F8 80218058 0C09A75B */ jal get_actor
|
||||
/* 4EF4FC 8021805C 0000902D */ daddu $s2, $zero, $zero
|
||||
/* 4EF500 80218060 24040180 */ addiu $a0, $zero, 0x180
|
||||
/* 4EF504 80218064 0C00AB39 */ jal heap_malloc
|
||||
/* 4EF508 80218068 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 4EF50C 8021806C 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 4EF510 80218070 26300008 */ addiu $s0, $s1, 8
|
||||
/* 4EF514 80218074 C67A014C */ lwc1 $f26, 0x14c($s3)
|
||||
/* 4EF518 80218078 C6620144 */ lwc1 $f2, 0x144($s3)
|
||||
/* 4EF51C 8021807C 3C014028 */ lui $at, 0x4028
|
||||
/* 4EF520 80218080 44810800 */ mtc1 $at, $f1
|
||||
/* 4EF524 80218084 44800000 */ mtc1 $zero, $f0
|
||||
/* 4EF528 80218088 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 4EF52C 8021808C 46201080 */ add.d $f2, $f2, $f0
|
||||
/* 4EF530 80218090 C6600148 */ lwc1 $f0, 0x148($s3)
|
||||
/* 4EF534 80218094 3C014014 */ lui $at, 0x4014
|
||||
/* 4EF538 80218098 44812800 */ mtc1 $at, $f5
|
||||
/* 4EF53C 8021809C 44802000 */ mtc1 $zero, $f4
|
||||
/* 4EF540 802180A0 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 4EF544 802180A4 46240000 */ add.d $f0, $f0, $f4
|
||||
/* 4EF548 802180A8 AE710078 */ sw $s1, 0x78($s3)
|
||||
/* 4EF54C 802180AC 46201620 */ cvt.s.d $f24, $f2
|
||||
/* 4EF550 802180B0 462005A0 */ cvt.s.d $f22, $f0
|
||||
.L802180B4:
|
||||
/* 4EF554 802180B4 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 4EF558 802180B8 02922821 */ addu $a1, $s4, $s2
|
||||
/* 4EF55C 802180BC E614001C */ swc1 $f20, 0x1c($s0)
|
||||
/* 4EF560 802180C0 E6140024 */ swc1 $f20, 0x24($s0)
|
||||
/* 4EF564 802180C4 E6140020 */ swc1 $f20, 0x20($s0)
|
||||
/* 4EF568 802180C8 E6380000 */ swc1 $f24, ($s1)
|
||||
/* 4EF56C 802180CC E616FFFC */ swc1 $f22, -4($s0)
|
||||
/* 4EF570 802180D0 E61A0000 */ swc1 $f26, ($s0)
|
||||
/* 4EF574 802180D4 AE000014 */ sw $zero, 0x14($s0)
|
||||
/* 4EF578 802180D8 E61E0018 */ swc1 $f30, 0x18($s0)
|
||||
/* 4EF57C 802180DC E61C000C */ swc1 $f28, 0xc($s0)
|
||||
/* 4EF580 802180E0 0C099117 */ jal get_actor_part
|
||||
/* 4EF584 802180E4 AE000010 */ sw $zero, 0x10($s0)
|
||||
/* 4EF588 802180E8 C6200000 */ lwc1 $f0, ($s1)
|
||||
/* 4EF58C 802180EC 26520001 */ addiu $s2, $s2, 1
|
||||
/* 4EF590 802180F0 E440002C */ swc1 $f0, 0x2c($v0)
|
||||
/* 4EF594 802180F4 C600FFFC */ lwc1 $f0, -4($s0)
|
||||
/* 4EF598 802180F8 26310030 */ addiu $s1, $s1, 0x30
|
||||
/* 4EF59C 802180FC E4400030 */ swc1 $f0, 0x30($v0)
|
||||
/* 4EF5A0 80218100 C6000000 */ lwc1 $f0, ($s0)
|
||||
/* 4EF5A4 80218104 E4400034 */ swc1 $f0, 0x34($v0)
|
||||
/* 4EF5A8 80218108 2A420008 */ slti $v0, $s2, 8
|
||||
/* 4EF5AC 8021810C 1440FFE9 */ bnez $v0, .L802180B4
|
||||
/* 4EF5B0 80218110 26100030 */ addiu $s0, $s0, 0x30
|
||||
/* 4EF5B4 80218114 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 4EF5B8 80218118 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 4EF5BC 8021811C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 4EF5C0 80218120 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 4EF5C4 80218124 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 4EF5C8 80218128 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 4EF5CC 8021812C D7BE0050 */ ldc1 $f30, 0x50($sp)
|
||||
/* 4EF5D0 80218130 D7BC0048 */ ldc1 $f28, 0x48($sp)
|
||||
/* 4EF5D4 80218134 D7BA0040 */ ldc1 $f26, 0x40($sp)
|
||||
/* 4EF5D8 80218138 D7B80038 */ ldc1 $f24, 0x38($sp)
|
||||
/* 4EF5DC 8021813C D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 4EF5E0 80218140 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 4EF5E4 80218144 24020002 */ addiu $v0, $zero, 2
|
||||
/* 4EF5E8 80218148 03E00008 */ jr $ra
|
||||
/* 4EF5EC 8021814C 27BD0058 */ addiu $sp, $sp, 0x58
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user