mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 20:42:41 +01:00
Merge pull request #1 from ethteck/master
Getting even with upstream master
This commit is contained in:
commit
c67e2794a7
@ -1,23 +0,0 @@
|
||||
IndentWidth: 4
|
||||
Language: Cpp
|
||||
UseTab: Never
|
||||
ColumnLimit: 120
|
||||
PointerAlignment: Left
|
||||
BreakBeforeBraces: Attach
|
||||
SpaceAfterCStyleCast: false
|
||||
Cpp11BracedListStyle: false
|
||||
IndentCaseLabels: true
|
||||
BinPackArguments: true
|
||||
BinPackParameters: true
|
||||
AlignAfterOpenBracket: Align
|
||||
AlignOperands: true
|
||||
BreakBeforeTernaryOperators: true
|
||||
BreakBeforeBinaryOperators: None
|
||||
AllowShortBlocksOnASingleLine: true
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AllowShortCaseLabelsOnASingleLine: false
|
||||
AllowShortFunctionsOnASingleLine: false
|
||||
AlignEscapedNewlines: Left
|
||||
AlignTrailingComments: true
|
||||
SortIncludes: false
|
@ -1,5 +1,2 @@
|
||||
Checks: '-*,readability-braces-around-statements'
|
||||
WarningsAsErrors: ''
|
||||
HeaderFilterRegex: '(src|include)\/.*\.h$'
|
||||
FormatStyle: 'file'
|
||||
CheckOptions:
|
||||
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,-clang-diagnostic-error'
|
||||
HeaderFilterRegex: '(src|include)\/.*\.h'
|
||||
|
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.h linguist-language=C
|
13
.github/workflows/coverage.yaml
vendored
Normal file
13
.github/workflows/coverage.yaml
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
name: Coverage
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Check matched assembly files are deleted
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: ./coverage.py --fail-matched-undeleted
|
36
.github/workflows/lint.yaml
vendored
Normal file
36
.github/workflows/lint.yaml
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
name: Lint
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'src/*'
|
||||
- 'include/*'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/*'
|
||||
- 'include/*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- run: sudo apt-get install -y astyle clang-tidy
|
||||
|
||||
# lint files changed by the push/pr
|
||||
- id: files
|
||||
uses: trilom/file-changes-action@v1.2.4
|
||||
with:
|
||||
output: ' '
|
||||
- run: ./format.sh ${{ steps.files.outputs.files}}
|
||||
|
||||
# fail if any files were changed by ./format.sh
|
||||
- id: files_formatted
|
||||
uses: jackton1/find-changed-files@v1.1
|
||||
with:
|
||||
files: src, include
|
||||
|
||||
- name: Fail if any files reformatted
|
||||
if: steps.files_formatted.outputs.files_changed == 'true'
|
||||
run: exit 1
|
27
.gitignore
vendored
27
.gitignore
vendored
@ -1,16 +1,15 @@
|
||||
*.z64
|
||||
n64split
|
||||
*.bin
|
||||
*.FS
|
||||
*.bgm
|
||||
ctx.c
|
||||
Map_Assets.FS
|
||||
bgm/
|
||||
bin/
|
||||
build/
|
||||
yay0/
|
||||
expected/
|
||||
# Python
|
||||
__pycache__/
|
||||
venv/
|
||||
|
||||
# Misc
|
||||
.idea/
|
||||
.DS_Store
|
||||
venv/
|
||||
__pycache__/
|
||||
ctx.c
|
||||
expected/
|
||||
|
||||
# Build artifacts
|
||||
*.z64
|
||||
*.bin
|
||||
bin/
|
||||
build/
|
||||
|
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -1,6 +1,6 @@
|
||||
[submodule "n64splitter"]
|
||||
path = tools/n64splitter
|
||||
url = https://github.com/ethteck/sm64tools.git
|
||||
[submodule "tools/star-rod"]
|
||||
path = tools/star-rod
|
||||
url = https://github.com/nanaian/star-rod.git
|
||||
[submodule "tools/n64splat"]
|
||||
path = tools/n64splat
|
||||
url = https://github.com/ethteck/n64splat.git
|
6
.vscode/extensions.json
vendored
6
.vscode/extensions.json
vendored
@ -2,5 +2,9 @@
|
||||
"recommendations": [
|
||||
"ms-vscode.cpptools",
|
||||
"nanaian.vscode-star-rod",
|
||||
],
|
||||
"notskm.clang-tidy",
|
||||
],
|
||||
"unwantedRecommendations": [
|
||||
"llvm-vs-code-extensions.vscode-clangd",
|
||||
],
|
||||
}
|
||||
|
9
.vscode/settings.json
vendored
9
.vscode/settings.json
vendored
@ -3,4 +3,13 @@
|
||||
"editor.insertSpaces": true,
|
||||
"files.eol": "\n",
|
||||
"files.insertFinalNewline": true,
|
||||
"editor.rulers": [120],
|
||||
"clang-tidy.compilerArgs": [
|
||||
"-fno-builtin",
|
||||
"-std=gnu89",
|
||||
"-Iinclude",
|
||||
"-Iinclude/PR",
|
||||
"-Isrc",
|
||||
"-D_LANGUAGE_C",
|
||||
],
|
||||
}
|
||||
|
8
.vscode/tasks.json
vendored
8
.vscode/tasks.json
vendored
@ -9,7 +9,7 @@
|
||||
{
|
||||
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||
"pattern": {
|
||||
"regexp": "^(src\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"severity": 3,
|
||||
@ -20,7 +20,7 @@
|
||||
"fileLocation": ["relative", "${workspaceFolder}"],
|
||||
"severity": "error",
|
||||
"pattern": {
|
||||
"regexp": "^(src\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
||||
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"message": 3,
|
||||
@ -44,7 +44,7 @@
|
||||
"activeOnStart": true,
|
||||
},
|
||||
"pattern": {
|
||||
"regexp": "^(src\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"severity": 3,
|
||||
@ -58,7 +58,7 @@
|
||||
},
|
||||
"severity": "error",
|
||||
"pattern": {
|
||||
"regexp": "^(src\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
||||
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"message": 3,
|
||||
|
31
Makefile
31
Makefile
@ -11,9 +11,6 @@ SRC_DIRS := src src/os
|
||||
ASM_DIRS := asm asm/os
|
||||
INCLUDE_DIRS := include include/PR
|
||||
DATA_DIRS := bin
|
||||
COMPRESSED_DIRS := yay0
|
||||
MAP_DIRS := Map_Assets.FS
|
||||
BGM_DIRS := bgm
|
||||
|
||||
# Source code files
|
||||
C_FILES := $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.c))
|
||||
@ -22,17 +19,11 @@ ifdef PM_HEADER_REBUILD
|
||||
H_FILES := $(foreach dir,$(INCLUDE_DIRS),$(wildcard $(dir)/*.h))
|
||||
endif
|
||||
DATA_FILES := $(foreach dir,$(DATA_DIRS),$(wildcard $(dir)/*.bin))
|
||||
COMPRESSED_FILES := $(foreach dir,$(COMPRESSED_DIRS),$(wildcard $(dir)/*.yay0))
|
||||
MAP_FILES := $(foreach dir,$(MAP_DIRS),$(wildcard $(dir)/*.FS))
|
||||
BGM_FILES := $(foreach dir,$(BGM_DIRS),$(wildcard $(dir)/*.bgm))
|
||||
|
||||
# Object files
|
||||
O_FILES := $(foreach file,$(C_FILES),$(BUILD_DIR)/$(file:.c=.o)) \
|
||||
$(foreach file,$(S_FILES),$(BUILD_DIR)/$(file:.s=.o)) \
|
||||
$(foreach file,$(DATA_FILES),$(BUILD_DIR)/$(file:.bin=.o)) \
|
||||
$(foreach file,$(COMPRESSED_FILES),$(BUILD_DIR)/$(file:.yay0=.yay0.o)) \
|
||||
$(foreach file,$(MAP_FILES),$(BUILD_DIR)/$(file:.FS=.FS.o)) \
|
||||
$(foreach file,$(BGM_FILES),$(BUILD_DIR)/$(file:.bgm=.bgm.o))
|
||||
|
||||
|
||||
####################### Other Tools #########################
|
||||
@ -54,15 +45,15 @@ OBJCOPY = $(CROSS)objcopy
|
||||
|
||||
TARGET = papermario
|
||||
|
||||
CPPFLAGS = -Iinclude -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2
|
||||
CPPFLAGS = -fno-builtin -Iinclude -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2
|
||||
ASFLAGS = -EB -march=vr4300 -mtune=vr4300 -Iinclude
|
||||
OLDASFLAGS= -EB -Iinclude
|
||||
CFLAGS = -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300 -mips3 -mgp32 -mfp32
|
||||
CFLAGS = -fno-builtin -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300 -mips3 -mgp32 -mfp32
|
||||
LDFLAGS = -T undefined_syms.txt -T $(LD_SCRIPT) -Map $(BUILD_DIR)/papermario.map --no-check-sections
|
||||
|
||||
######################## Targets #############################
|
||||
|
||||
$(foreach dir,$(SRC_DIRS) $(ASM_DIRS) $(DATA_DIRS) $(COMPRESSED_DIRS) $(MAP_DIRS) $(BGM_DIRS),$(shell mkdir -p build/$(dir)))
|
||||
$(foreach dir,$(SRC_DIRS) $(ASM_DIRS) $(DATA_DIRS) ,$(shell mkdir -p build/$(dir)))
|
||||
|
||||
default: all
|
||||
|
||||
@ -76,13 +67,10 @@ clean:
|
||||
submodules:
|
||||
git submodule update --init --recursive
|
||||
|
||||
n64split:
|
||||
make -C tools/n64splitter
|
||||
|
||||
split:
|
||||
rm -rf $(DATA_DIRS) $(BGM_DIRS) && ./tools/n64splitter/bin/n64split -b -v -o . -c tools/n64split.yaml baserom.z64
|
||||
rm -rf $(DATA_DIRS) && ./tools/n64splat/split.py baserom.z64 tools/splat.yaml .
|
||||
|
||||
setup: clean submodules n64split split
|
||||
setup: clean submodules split
|
||||
|
||||
print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true
|
||||
|
||||
@ -101,15 +89,6 @@ $(BUILD_DIR)/%.o: %.c $(H_FILES)
|
||||
$(BUILD_DIR)/%.o: %.bin
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
||||
$(BUILD_DIR)/%.yay0.o: %.yay0
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
||||
$(BUILD_DIR)/%.FS.o: %.FS
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
||||
$(BUILD_DIR)/%.bgm.o: %.bgm
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
||||
$(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
|
||||
$(OBJCOPY) $< $@ -O binary
|
||||
|
||||
|
121
README.md
Normal file
121
README.md
Normal file
@ -0,0 +1,121 @@
|
||||
# Paper Mario
|
||||
|
||||
This is a WIP decompilation of Paper Mario (USA). It builds the following ROM:
|
||||
|
||||
* papermario.z64 `md5: a722f8161ff489943191330bf8416496`
|
||||
|
||||
Discord: [Paper Mario Modding](https://discord.gg/urUm3VG)
|
||||
|
||||
## Setup
|
||||
|
||||
You'll need Linux, a Linux VM, or Windows 10 (WSL) to work on this project.
|
||||
|
||||
#### Clone the repository
|
||||
|
||||
```sh
|
||||
$ git clone https://github.com/ethteck/papermario.git
|
||||
$ cd papermario
|
||||
```
|
||||
|
||||
#### Install build dependencies
|
||||
|
||||
```sh
|
||||
$ ./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!
|
||||
|
||||
#### 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`.
|
||||
|
||||
#### Install tools and extract ROM
|
||||
|
||||
```sh
|
||||
$ make setup
|
||||
```
|
||||
|
||||
### Compile the game
|
||||
|
||||
```sh
|
||||
$ 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).
|
||||
|
||||
## Contributing
|
||||
|
||||
### Dependencies
|
||||
|
||||
There are a few additional dependencies needed when contributing to this project. You can install them with `./install.sh --extra`.
|
||||
|
||||
### Rebuilding
|
||||
|
||||
Setting the `PM_HEADER_REBUILD` environment variable will cause `make` to rebuild all `.c` files whenever a `.h` file is modified.
|
||||
|
||||
```sh
|
||||
$ PM_HEADER_REBUILD=1 make
|
||||
```
|
||||
|
||||
If you use Visual Studio Code, you can use _Run Build Task_ (Ctrl+Shift+B) to run `make`. Any errors or warnings generated by the compiler will show up in the _Problems_ tab.
|
||||
|
||||
### Matching a function
|
||||
|
||||
#### 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)).
|
||||
|
||||
If mips_to_c gives you an error about branch-likely instructions, edit the `.s` file and rename any branch-likely instructions to their unlikely equivalent (i.e. remove the `l` suffix). Add a `nop` after the branches and move the instruction that was originally in the delay slot (directly after the branch instruction) to the start of the target label. Don't commit the edited assembly.
|
||||
|
||||
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.
|
||||
|
||||
## FAQ
|
||||
|
||||
* If you received the following error when running `make`:
|
||||
```
|
||||
sha1sum -c checksum.sha1
|
||||
sha1sum: 'papermario.z64'$'\r': No such file or directory
|
||||
: FAILED open or read
|
||||
sha1sum: WARNING: 1 listed file could not be read
|
||||
Makefile:118: recipe for target 'verify' failed
|
||||
make: *** [verify] Error 1
|
||||
```
|
||||
> 💡 Solution
|
||||
>
|
||||
> This is a Windows line ending issue run `git checkout checksum.sha1` to fix it.
|
61
Readme.md
61
Readme.md
@ -1,61 +0,0 @@
|
||||
# Paper Mario Decompilation
|
||||
|
||||
## Setup
|
||||
### Requirements
|
||||
You'll need Linux or Windows 10 (WSL) to work on this project.
|
||||
|
||||
### Dependencies
|
||||
* *mips-linux-gnu binutils: You may be able to just download this via your package manager (`sudo apt install binutils-mips-linux-gnu`), or you'll have to build it yourself. (guide todo)
|
||||
|
||||
|
||||
#### Ubuntu and co (easy mode):
|
||||
For a quick and easy way to install all relevant decomp-related tools on Ubuntu and other similar distros,
|
||||
```
|
||||
sudo apt install -y binutils-mips-linux-gnu build-essential pkg-config python3 python3-pip wget git clang-tidy clang-format nano vbindiff zlib1g-dev libyaml-dev libcapstone-dev
|
||||
```
|
||||
|
||||
#### Building mips-linux-gnu
|
||||
todo
|
||||
|
||||
### Fork and clone the repo
|
||||
Click the "fork" button in the top right corner of the main repo's webpage (https://github.com/ethteck/papermario) to fork this repo to your own GitHub account. After this, clone the repo to your computer via the command below:
|
||||
|
||||
`git clone https://github.com/YOUR_GITHUB_USERNAME/papermario.git`
|
||||
|
||||
### The Rom
|
||||
You'll need a US Paper Mario rom to work on this project. Copy it into the root directory of the repository with the name `baserom.z64`.
|
||||
|
||||
### Make setup
|
||||
run `make setup` to set up tools and extract the rom
|
||||
|
||||
### Make
|
||||
run `make` to rebuild the rom. Get `OK`? If so, you're all set! Otherwise, please feel free to reach out to us in the discord.
|
||||
Use `PM_HEADER_REBUILD=1 make` to rebuild C sources when any header files change.
|
||||
|
||||
## FAQ
|
||||
* If you received the following error when running `make setup`:
|
||||
```
|
||||
/bin/bash: mips-linux-gnu-as: command not found
|
||||
Makefile:92: recipe for target 'build/asm/boot.o' failed
|
||||
make: *** [build/asm/boot.o] Error 127
|
||||
```
|
||||
> 💡 Solution
|
||||
>
|
||||
> One of the packages from the _Ubuntu and co (easy mode)_ script did not install correctly. Elevate your user permissions using `sudo su`, run the script again and append `--fix-missing` to it.
|
||||
>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
* If you received the following error when running `make`:
|
||||
```
|
||||
sha1sum -c checksum.sha1
|
||||
sha1sum: 'papermario.z64'$'\r': No such file or directory
|
||||
: FAILED open or read
|
||||
sha1sum: WARNING: 1 listed file could not be read
|
||||
Makefile:118: recipe for target 'verify' failed
|
||||
make: *** [verify] Error 1
|
||||
```
|
||||
> 💡 Solution
|
||||
>
|
||||
> This is a Windows line ending issue run `git checkout checksum.sha1` to fix it.
|
@ -9,7 +9,7 @@
|
||||
.include "macro.inc"
|
||||
|
||||
|
||||
.section .textA4000040, "ax"
|
||||
.section .text_40, "ax"
|
||||
|
||||
/* 000040 A4000040 40806800 */ mtc0 $zero, $13
|
||||
/* 000044 A4000044 40804800 */ mtc0 $zero, $9
|
||||
|
@ -1,4 +1,4 @@
|
||||
.section .header, "a"
|
||||
.section .text_0, "a"
|
||||
.byte 0x80, 0x37, 0x12, 0x40 # PI BSD Domain 1 register
|
||||
.word 0x0000000F # clock rate setting
|
||||
.word 0x80125C00 # entry point
|
||||
|
@ -1,10 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel func_80036640
|
||||
/* 011A40 80036640 03E00008 */ jr $ra
|
||||
/* 011A44 80036644 00000000 */ nop
|
||||
|
||||
/* 011A48 80036648 00000000 */ nop
|
||||
/* 011A4C 8003664C 00000000 */ nop
|
@ -95,7 +95,7 @@ glabel GetSelfAnimationFromTable
|
||||
/* 020C84 80045884 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 020C88 80045888 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 020C8C 8004588C 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 020C90 80045890 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 020C90 80045890 0C0B36B0 */ jal resolve_npc
|
||||
/* 020C94 80045894 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 020C98 80045898 10400004 */ beqz $v0, .L800458AC
|
||||
/* 020C9C 8004589C 0040202D */ daddu $a0, $v0, $zero
|
||||
|
@ -1,10 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel default_trigger_function_handler
|
||||
/* 0DBD70 80145670 8C820000 */ lw $v0, ($a0)
|
||||
/* 0DBD74 80145674 34420002 */ ori $v0, $v0, 2
|
||||
/* 0DBD78 80145678 03E00008 */ jr $ra
|
||||
/* 0DBD7C 8014567C AC820000 */ sw $v0, ($a0)
|
||||
|
@ -1,39 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel delete_trigger
|
||||
/* 0DC2F4 80145BF4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0DC2F8 80145BF8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0DC2FC 80145BFC 3C118016 */ lui $s1, 0x8016
|
||||
/* 0DC300 80145C00 26319390 */ addiu $s1, $s1, -0x6c70
|
||||
/* 0DC304 80145C04 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0DC308 80145C08 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0DC30C 80145C0C 8E250000 */ lw $a1, ($s1)
|
||||
/* 0DC310 80145C10 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 0DC314 80145C14 00A0182D */ daddu $v1, $a1, $zero
|
||||
.L80145C18:
|
||||
/* 0DC318 80145C18 8C620000 */ lw $v0, ($v1)
|
||||
/* 0DC31C 80145C1C 10440006 */ beq $v0, $a0, .L80145C38
|
||||
/* 0DC320 80145C20 2A020040 */ slti $v0, $s0, 0x40
|
||||
/* 0DC324 80145C24 26100001 */ addiu $s0, $s0, 1
|
||||
/* 0DC328 80145C28 2A020040 */ slti $v0, $s0, 0x40
|
||||
/* 0DC32C 80145C2C 1440FFFA */ bnez $v0, .L80145C18
|
||||
/* 0DC330 80145C30 24630004 */ addiu $v1, $v1, 4
|
||||
/* 0DC334 80145C34 2A020040 */ slti $v0, $s0, 0x40
|
||||
.L80145C38:
|
||||
/* 0DC338 80145C38 10400007 */ beqz $v0, .L80145C58
|
||||
/* 0DC33C 80145C3C 00108080 */ sll $s0, $s0, 2
|
||||
/* 0DC340 80145C40 02051021 */ addu $v0, $s0, $a1
|
||||
/* 0DC344 80145C44 0C00AB4B */ jal heap_free
|
||||
/* 0DC348 80145C48 8C440000 */ lw $a0, ($v0)
|
||||
/* 0DC34C 80145C4C 8E220000 */ lw $v0, ($s1)
|
||||
/* 0DC350 80145C50 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0DC354 80145C54 AE000000 */ sw $zero, ($s0)
|
||||
.L80145C58:
|
||||
/* 0DC358 80145C58 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0DC35C 80145C5C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0DC360 80145C60 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0DC364 80145C64 03E00008 */ jr $ra
|
||||
/* 0DC368 80145C68 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,12 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel get_trigger_by_id
|
||||
/* 0DC3D0 80145CD0 3C028016 */ lui $v0, 0x8016
|
||||
/* 0DC3D4 80145CD4 8C429390 */ lw $v0, -0x6c70($v0)
|
||||
/* 0DC3D8 80145CD8 00042080 */ sll $a0, $a0, 2
|
||||
/* 0DC3DC 80145CDC 00822021 */ addu $a0, $a0, $v0
|
||||
/* 0DC3E0 80145CE0 03E00008 */ jr $ra
|
||||
/* 0DC3E4 80145CE4 8C820000 */ lw $v0, ($a0)
|
||||
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel init_trigger_list
|
||||
/* 0DBE28 80145728 3C028007 */ lui $v0, 0x8007
|
||||
/* 0DBE2C 8014572C 8C42419C */ lw $v0, 0x419c($v0)
|
||||
/* 0DBE30 80145730 80420070 */ lb $v0, 0x70($v0)
|
||||
/* 0DBE34 80145734 14400005 */ bnez $v0, .L8014574C
|
||||
/* 0DBE38 80145738 00000000 */ nop
|
||||
/* 0DBE3C 8014573C 3C028016 */ lui $v0, 0x8016
|
||||
/* 0DBE40 80145740 24429190 */ addiu $v0, $v0, -0x6e70
|
||||
/* 0DBE44 80145744 080515D5 */ j .L80145754
|
||||
/* 0DBE48 80145748 00000000 */ nop
|
||||
|
||||
.L8014574C:
|
||||
/* 0DBE4C 8014574C 3C028016 */ lui $v0, 0x8016
|
||||
/* 0DBE50 80145750 24429290 */ addiu $v0, $v0, -0x6d70
|
||||
.L80145754:
|
||||
/* 0DBE54 80145754 3C018016 */ lui $at, 0x8016
|
||||
/* 0DBE58 80145758 AC229390 */ sw $v0, -0x6c70($at)
|
||||
/* 0DBE5C 8014575C 3C018015 */ lui $at, 0x8015
|
||||
/* 0DBE60 80145760 A4201334 */ sh $zero, 0x1334($at)
|
||||
/* 0DBE64 80145764 03E00008 */ jr $ra
|
||||
/* 0DBE68 80145768 00000000 */ nop
|
||||
|
@ -1,55 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel func_802B7000
|
||||
/* E20EB0 802B7000 3C014387 */ lui $at, 0x4387
|
||||
/* E20EB4 802B7004 44810000 */ mtc1 $at, $f0
|
||||
/* E20EB8 802B7008 00000000 */ nop
|
||||
/* E20EBC 802B700C 460C003E */ c.le.s $f0, $f12
|
||||
/* E20EC0 802B7010 00000000 */ nop
|
||||
/* E20EC4 802B7014 45000009 */ bc1f .L802B703C
|
||||
/* E20EC8 802B7018 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* E20ECC 802B701C 3C0143B4 */ lui $at, 0x43b4
|
||||
/* E20ED0 802B7020 44810000 */ mtc1 $at, $f0
|
||||
/* E20ED4 802B7024 00000000 */ nop
|
||||
/* E20ED8 802B7028 460C0001 */ sub.s $f0, $f0, $f12
|
||||
/* E20EDC 802B702C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* E20EE0 802B7030 44032000 */ mfc1 $v1, $f4
|
||||
/* E20EE4 802B7034 080ADC2B */ j .L802B70AC
|
||||
/* E20EE8 802B7038 00431023 */ subu $v0, $v0, $v1
|
||||
.L802B703C:
|
||||
/* E20EEC 802B703C 3C014334 */ lui $at, 0x4334
|
||||
/* E20EF0 802B7040 44811000 */ mtc1 $at, $f2
|
||||
/* E20EF4 802B7044 00000000 */ nop
|
||||
/* E20EF8 802B7048 460C103E */ c.le.s $f2, $f12
|
||||
/* E20EFC 802B704C 00000000 */ nop
|
||||
/* E20F00 802B7050 45000006 */ bc1f .L802B706C
|
||||
/* E20F04 802B7054 00000000 */ nop
|
||||
/* E20F08 802B7058 46026001 */ sub.s $f0, $f12, $f2
|
||||
/* E20F0C 802B705C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* E20F10 802B7060 44032000 */ mfc1 $v1, $f4
|
||||
/* E20F14 802B7064 080ADC2B */ j .L802B70AC
|
||||
/* E20F18 802B7068 00431023 */ subu $v0, $v0, $v1
|
||||
.L802B706C:
|
||||
/* E20F1C 802B706C 3C0142B4 */ lui $at, 0x42b4
|
||||
/* E20F20 802B7070 44810000 */ mtc1 $at, $f0
|
||||
/* E20F24 802B7074 00000000 */ nop
|
||||
/* E20F28 802B7078 460C003E */ c.le.s $f0, $f12
|
||||
/* E20F2C 802B707C 00000000 */ nop
|
||||
/* E20F30 802B7080 45000006 */ bc1f .L802B709C
|
||||
/* E20F34 802B7084 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* E20F38 802B7088 460C1001 */ sub.s $f0, $f2, $f12
|
||||
/* E20F3C 802B708C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* E20F40 802B7090 44032000 */ mfc1 $v1, $f4
|
||||
/* E20F44 802B7094 080ADC2B */ j .L802B70AC
|
||||
/* E20F48 802B7098 00431023 */ subu $v0, $v0, $v1
|
||||
.L802B709C:
|
||||
/* E20F4C 802B709C 4600610D */ trunc.w.s $f4, $f12
|
||||
/* E20F50 802B70A0 44032000 */ mfc1 $v1, $f4
|
||||
/* E20F54 802B70A4 00000000 */ nop
|
||||
/* E20F58 802B70A8 00431023 */ subu $v0, $v0, $v1
|
||||
.L802B70AC:
|
||||
/* E20F5C 802B70AC 03E00008 */ jr $ra
|
||||
/* E20F60 802B70B0 00431023 */ subu $v0, $v0, $v1
|
||||
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel suspend_all_script
|
||||
/* 0E8DD0 802C4420 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E8DD4 802C4424 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E8DD8 802C4428 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0E8DDC 802C442C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E8DE0 802C4430 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 0E8DE4 802C4434 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
.L802C4438:
|
||||
/* 0E8DE8 802C4438 3C03802E */ lui $v1, 0x802e
|
||||
/* 0E8DEC 802C443C 8C63A890 */ lw $v1, -0x5770($v1)
|
||||
/* 0E8DF0 802C4440 00101080 */ sll $v0, $s0, 2
|
||||
/* 0E8DF4 802C4444 00431021 */ addu $v0, $v0, $v1
|
||||
/* 0E8DF8 802C4448 8C440000 */ lw $a0, ($v0)
|
||||
/* 0E8DFC 802C444C 50800007 */ beql $a0, $zero, .L802C446C
|
||||
/* 0E8E00 802C4450 26100001 */ addiu $s0, $s0, 1
|
||||
/* 0E8E04 802C4454 8C820144 */ lw $v0, 0x144($a0)
|
||||
/* 0E8E08 802C4458 54510004 */ bnel $v0, $s1, .L802C446C
|
||||
/* 0E8E0C 802C445C 26100001 */ addiu $s0, $s0, 1
|
||||
/* 0E8E10 802C4460 0C0B10B6 */ jal suspend_group_script
|
||||
/* 0E8E14 802C4464 240500EF */ addiu $a1, $zero, 0xef
|
||||
/* 0E8E18 802C4468 26100001 */ addiu $s0, $s0, 1
|
||||
.L802C446C:
|
||||
/* 0E8E1C 802C446C 2A020080 */ slti $v0, $s0, 0x80
|
||||
/* 0E8E20 802C4470 1440FFF1 */ bnez $v0, .L802C4438
|
||||
/* 0E8E24 802C4474 00000000 */ nop
|
||||
/* 0E8E28 802C4478 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E8E2C 802C447C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0E8E30 802C4480 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E8E34 802C4484 03E00008 */ jr $ra
|
||||
/* 0E8E38 802C4488 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetColliderCenter
|
||||
/* 0EEA5C 802CA0AC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EEA60 802CA0B0 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 0EEA64 802CA0B4 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EEA68 802CA0B8 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 0EEA6C 802CA0BC 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 0EEA70 802CA0C0 0C0B1EAF */ jal get_variable
|
||||
/* 0EEA74 802CA0C4 8C450000 */ lw $a1, ($v0)
|
||||
/* 0EEA78 802CA0C8 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0EEA7C 802CA0CC 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 0EEA80 802CA0D0 27A60014 */ addiu $a2, $sp, 0x14
|
||||
/* 0EEA84 802CA0D4 0C016F84 */ jal get_collider_center
|
||||
/* 0EEA88 802CA0D8 27A70018 */ addiu $a3, $sp, 0x18
|
||||
/* 0EEA8C 802CA0DC C7A00010 */ lwc1 $f0, 0x10($sp)
|
||||
/* 0EEA90 802CA0E0 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 0EEA94 802CA0E4 E6040084 */ swc1 $f4, 0x84($s0)
|
||||
/* 0EEA98 802CA0E8 C7A00014 */ lwc1 $f0, 0x14($sp)
|
||||
/* 0EEA9C 802CA0EC C7A20018 */ lwc1 $f2, 0x18($sp)
|
||||
/* 0EEAA0 802CA0F0 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 0EEAA4 802CA0F4 E6040088 */ swc1 $f4, 0x88($s0)
|
||||
/* 0EEAA8 802CA0F8 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 0EEAAC 802CA0FC E604008C */ swc1 $f4, 0x8c($s0)
|
||||
/* 0EEAB0 802CA100 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 0EEAB4 802CA104 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 0EEAB8 802CA108 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EEABC 802CA10C 03E00008 */ jr $ra
|
||||
/* 0EEAC0 802CA110 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,29 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetGroupEnabled
|
||||
/* 0EDCB8 802C9308 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EDCBC 802C930C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EDCC0 802C9310 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EDCC4 802C9314 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EDCC8 802C9318 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EDCCC 802C931C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0EDCD0 802C9320 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EDCD4 802C9324 0C0B1EAF */ jal get_variable
|
||||
/* 0EDCD8 802C9328 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EDCDC 802C932C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EDCE0 802C9330 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EDCE4 802C9334 0C0B1EAF */ jal get_variable
|
||||
/* 0EDCE8 802C9338 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EDCEC 802C933C 3204FFFF */ andi $a0, $s0, 0xffff
|
||||
/* 0EDCF0 802C9340 24050002 */ addiu $a1, $zero, 2
|
||||
/* 0EDCF4 802C9344 0C046DF0 */ jal func_8011B7C0
|
||||
/* 0EDCF8 802C9348 0040302D */ daddu $a2, $v0, $zero
|
||||
/* 0EDCFC 802C934C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EDD00 802C9350 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EDD04 802C9354 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EDD08 802C9358 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EDD0C 802C935C 03E00008 */ jr $ra
|
||||
/* 0EDD10 802C9360 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,27 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel fixed_var_to_float
|
||||
/* 0E92D0 802C4920 3C02F2E3 */ lui $v0, 0xf2e3
|
||||
/* 0E92D4 802C4924 34421100 */ ori $v0, $v0, 0x1100
|
||||
/* 0E92D8 802C4928 0044102A */ slt $v0, $v0, $a0
|
||||
/* 0E92DC 802C492C 10400005 */ beqz $v0, .L802C4944
|
||||
/* 0E92E0 802C4930 3C020DB5 */ lui $v0, 0xdb5
|
||||
/* 0E92E4 802C4934 44840000 */ mtc1 $a0, $f0
|
||||
/* 0E92E8 802C4938 00000000 */ nop
|
||||
/* 0E92EC 802C493C 03E00008 */ jr $ra
|
||||
/* 0E92F0 802C4940 46800020 */ cvt.s.w $f0, $f0
|
||||
|
||||
.L802C4944:
|
||||
/* 0E92F4 802C4944 34428580 */ ori $v0, $v0, 0x8580
|
||||
/* 0E92F8 802C4948 00821021 */ addu $v0, $a0, $v0
|
||||
/* 0E92FC 802C494C 3C013A80 */ lui $at, 0x3a80
|
||||
/* 0E9300 802C4950 44811000 */ mtc1 $at, $f2
|
||||
/* 0E9304 802C4954 44820000 */ mtc1 $v0, $f0
|
||||
/* 0E9308 802C4958 00000000 */ nop
|
||||
/* 0E930C 802C495C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0E9310 802C4960 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 0E9314 802C4964 03E00008 */ jr $ra
|
||||
/* 0E9318 802C4968 00000000 */ nop
|
||||
|
@ -1,17 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel float_to_fixed_var
|
||||
/* 0E931C 802C496C 3C014480 */ lui $at, 0x4480
|
||||
/* 0E9320 802C4970 44810000 */ mtc1 $at, $f0
|
||||
/* 0E9324 802C4974 00000000 */ nop
|
||||
/* 0E9328 802C4978 46006302 */ mul.s $f12, $f12, $f0
|
||||
/* 0E932C 802C497C 00000000 */ nop
|
||||
/* 0E9330 802C4980 3C03F24A */ lui $v1, 0xf24a
|
||||
/* 0E9334 802C4984 34637A80 */ ori $v1, $v1, 0x7a80
|
||||
/* 0E9338 802C4988 4600608D */ trunc.w.s $f2, $f12
|
||||
/* 0E933C 802C498C 44021000 */ mfc1 $v0, $f2
|
||||
/* 0E9340 802C4990 03E00008 */ jr $ra
|
||||
/* 0E9344 802C4994 00431021 */ addu $v0, $v0, $v1
|
||||
|
@ -1,28 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_AND_const
|
||||
/* 0EAC84 802C62D4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EAC88 802C62D8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EAC8C 802C62DC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EAC90 802C62E0 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0EAC94 802C62E4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EAC98 802C62E8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EAC9C 802C62EC 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 0EACA0 802C62F0 8C520000 */ lw $s2, ($v0)
|
||||
/* 0EACA4 802C62F4 8C500004 */ lw $s0, 4($v0)
|
||||
/* 0EACA8 802C62F8 0C0B1EAF */ jal get_variable
|
||||
/* 0EACAC 802C62FC 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EACB0 802C6300 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EACB4 802C6304 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EACB8 802C6308 0C0B2026 */ jal set_variable
|
||||
/* 0EACBC 802C630C 02023024 */ and $a2, $s0, $v0
|
||||
/* 0EACC0 802C6310 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0EACC4 802C6314 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EACC8 802C6318 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EACCC 802C631C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EACD0 802C6320 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EACD4 802C6324 03E00008 */ jr $ra
|
||||
/* 0EACD8 802C6328 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,27 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_Loop
|
||||
/* 0E93B0 802C4A00 8C83000C */ lw $v1, 0xc($a0)
|
||||
/* 0E93B4 802C4A04 90820006 */ lbu $v0, 6($a0)
|
||||
/* 0E93B8 802C4A08 8C660000 */ lw $a2, ($v1)
|
||||
/* 0E93BC 802C4A0C 24420001 */ addiu $v0, $v0, 1
|
||||
/* 0E93C0 802C4A10 A0820006 */ sb $v0, 6($a0)
|
||||
/* 0E93C4 802C4A14 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 0E93C8 802C4A18 00022E03 */ sra $a1, $v0, 0x18
|
||||
/* 0E93CC 802C4A1C 28A20008 */ slti $v0, $a1, 8
|
||||
/* 0E93D0 802C4A20 14400003 */ bnez $v0, .L802C4A30
|
||||
/* 0E93D4 802C4A24 24630004 */ addiu $v1, $v1, 4
|
||||
.L802C4A28:
|
||||
/* 0E93D8 802C4A28 080B128A */ j .L802C4A28
|
||||
/* 0E93DC 802C4A2C 00000000 */ nop
|
||||
|
||||
.L802C4A30:
|
||||
/* 0E93E0 802C4A30 00051080 */ sll $v0, $a1, 2
|
||||
/* 0E93E4 802C4A34 00821021 */ addu $v0, $a0, $v0
|
||||
/* 0E93E8 802C4A38 AC4300D0 */ sw $v1, 0xd0($v0)
|
||||
/* 0E93EC 802C4A3C AC4600F0 */ sw $a2, 0xf0($v0)
|
||||
/* 0E93F0 802C4A40 03E00008 */ jr $ra
|
||||
/* 0E93F4 802C4A44 24020002 */ addiu $v0, $zero, 2
|
||||
|
@ -1,28 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_OR_const
|
||||
/* 0EAD40 802C6390 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EAD44 802C6394 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EAD48 802C6398 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EAD4C 802C639C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0EAD50 802C63A0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EAD54 802C63A4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EAD58 802C63A8 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 0EAD5C 802C63AC 8C520000 */ lw $s2, ($v0)
|
||||
/* 0EAD60 802C63B0 8C500004 */ lw $s0, 4($v0)
|
||||
/* 0EAD64 802C63B4 0C0B1EAF */ jal get_variable
|
||||
/* 0EAD68 802C63B8 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EAD6C 802C63BC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EAD70 802C63C0 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EAD74 802C63C4 0C0B2026 */ jal set_variable
|
||||
/* 0EAD78 802C63C8 02023025 */ or $a2, $s0, $v0
|
||||
/* 0EAD7C 802C63CC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0EAD80 802C63D0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EAD84 802C63D4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EAD88 802C63D8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EAD8C 802C63DC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EAD90 802C63E0 03E00008 */ jr $ra
|
||||
/* 0EAD94 802C63E4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_add
|
||||
/* 0EA1B4 802C5804 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EA1B8 802C5808 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA1BC 802C580C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EA1C0 802C5810 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0EA1C4 802C5814 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EA1C8 802C5818 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA1CC 802C581C 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 0EA1D0 802C5820 8C450004 */ lw $a1, 4($v0)
|
||||
/* 0EA1D4 802C5824 0C0B1EAF */ jal get_variable
|
||||
/* 0EA1D8 802C5828 8C520000 */ lw $s2, ($v0)
|
||||
/* 0EA1DC 802C582C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EA1E0 802C5830 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EA1E4 802C5834 0C0B1EAF */ jal get_variable
|
||||
/* 0EA1E8 802C5838 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA1EC 802C583C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EA1F0 802C5840 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA1F4 802C5844 0C0B2026 */ jal set_variable
|
||||
/* 0EA1F8 802C5848 02023021 */ addu $a2, $s0, $v0
|
||||
/* 0EA1FC 802C584C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0EA200 802C5850 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EA204 802C5854 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA208 802C5858 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA20C 802C585C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA210 802C5860 03E00008 */ jr $ra
|
||||
/* 0EA214 802C5864 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_addF
|
||||
/* 0EA434 802C5A84 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EA438 802C5A88 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA43C 802C5A8C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EA440 802C5A90 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EA444 802C5A94 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA448 802C5A98 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 0EA44C 802C5A9C 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 0EA450 802C5AA0 8C450004 */ lw $a1, 4($v0)
|
||||
/* 0EA454 802C5AA4 0C0B210B */ jal get_float_variable
|
||||
/* 0EA458 802C5AA8 8C510000 */ lw $s1, ($v0)
|
||||
/* 0EA45C 802C5AAC 46000506 */ mov.s $f20, $f0
|
||||
/* 0EA460 802C5AB0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA464 802C5AB4 0C0B210B */ jal get_float_variable
|
||||
/* 0EA468 802C5AB8 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EA46C 802C5ABC 4600A500 */ add.s $f20, $f20, $f0
|
||||
/* 0EA470 802C5AC0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA474 802C5AC4 4406A000 */ mfc1 $a2, $f20
|
||||
/* 0EA478 802C5AC8 0C0B2190 */ jal set_float_variable
|
||||
/* 0EA47C 802C5ACC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EA480 802C5AD0 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EA484 802C5AD4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA488 802C5AD8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA48C 802C5ADC D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0EA490 802C5AE0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA494 802C5AE4 03E00008 */ jr $ra
|
||||
/* 0EA498 802C5AE8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,29 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_allocate_array
|
||||
/* 0EABC4 802C6214 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EABC8 802C6218 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EABCC 802C621C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EABD0 802C6220 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EABD4 802C6224 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EABD8 802C6228 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0EABDC 802C622C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EABE0 802C6230 0C0B1EAF */ jal get_variable
|
||||
/* 0EABE4 802C6234 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EABE8 802C6238 8E100000 */ lw $s0, ($s0)
|
||||
/* 0EABEC 802C623C 0C00AB39 */ jal heap_malloc
|
||||
/* 0EABF0 802C6240 00022080 */ sll $a0, $v0, 2
|
||||
/* 0EABF4 802C6244 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EABF8 802C6248 0040302D */ daddu $a2, $v0, $zero
|
||||
/* 0EABFC 802C624C AC82013C */ sw $v0, 0x13c($a0)
|
||||
/* 0EAC00 802C6250 0C0B2026 */ jal set_variable
|
||||
/* 0EAC04 802C6254 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 0EAC08 802C6258 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EAC0C 802C625C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EAC10 802C6260 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EAC14 802C6264 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EAC18 802C6268 03E00008 */ jr $ra
|
||||
/* 0EAC1C 802C626C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_divide
|
||||
/* 0EA2E4 802C5934 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EA2E8 802C5938 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA2EC 802C593C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EA2F0 802C5940 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0EA2F4 802C5944 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EA2F8 802C5948 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA2FC 802C594C 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 0EA300 802C5950 8C450004 */ lw $a1, 4($v0)
|
||||
/* 0EA304 802C5954 0C0B1EAF */ jal get_variable
|
||||
/* 0EA308 802C5958 8C520000 */ lw $s2, ($v0)
|
||||
/* 0EA30C 802C595C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EA310 802C5960 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA314 802C5964 0C0B1EAF */ jal get_variable
|
||||
/* 0EA318 802C5968 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EA31C 802C596C 16000002 */ bnez $s0, .L802C5978
|
||||
/* 0EA320 802C5970 0050001A */ div $zero, $v0, $s0
|
||||
/* 0EA324 802C5974 0007000D */ break 7
|
||||
.L802C5978:
|
||||
/* 0EA328 802C5978 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 0EA32C 802C597C 16010004 */ bne $s0, $at, .L802C5990
|
||||
/* 0EA330 802C5980 3C018000 */ lui $at, 0x8000
|
||||
/* 0EA334 802C5984 14410002 */ bne $v0, $at, .L802C5990
|
||||
/* 0EA338 802C5988 00000000 */ nop
|
||||
/* 0EA33C 802C598C 0006000D */ break 6
|
||||
.L802C5990:
|
||||
/* 0EA340 802C5990 00003012 */ mflo $a2
|
||||
/* 0EA344 802C5994 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EA348 802C5998 0C0B2026 */ jal set_variable
|
||||
/* 0EA34C 802C599C 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA350 802C59A0 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0EA354 802C59A4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EA358 802C59A8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA35C 802C59AC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA360 802C59B0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA364 802C59B4 03E00008 */ jr $ra
|
||||
/* 0EA368 802C59B8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_divideF
|
||||
/* 0EA570 802C5BC0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EA574 802C5BC4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA578 802C5BC8 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EA57C 802C5BCC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EA580 802C5BD0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA584 802C5BD4 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 0EA588 802C5BD8 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 0EA58C 802C5BDC 8C450004 */ lw $a1, 4($v0)
|
||||
/* 0EA590 802C5BE0 0C0B210B */ jal get_float_variable
|
||||
/* 0EA594 802C5BE4 8C510000 */ lw $s1, ($v0)
|
||||
/* 0EA598 802C5BE8 46000506 */ mov.s $f20, $f0
|
||||
/* 0EA59C 802C5BEC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA5A0 802C5BF0 0C0B210B */ jal get_float_variable
|
||||
/* 0EA5A4 802C5BF4 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EA5A8 802C5BF8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA5AC 802C5BFC 46140003 */ div.s $f0, $f0, $f20
|
||||
/* 0EA5B0 802C5C00 44060000 */ mfc1 $a2, $f0
|
||||
/* 0EA5B4 802C5C04 0C0B2190 */ jal set_float_variable
|
||||
/* 0EA5B8 802C5C08 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EA5BC 802C5C0C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EA5C0 802C5C10 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA5C4 802C5C14 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA5C8 802C5C18 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0EA5CC 802C5C1C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA5D0 802C5C20 03E00008 */ jr $ra
|
||||
/* 0EA5D4 802C5C24 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,20 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_end_switch
|
||||
/* 0EA0C8 802C5718 80820007 */ lb $v0, 7($a0)
|
||||
/* 0EA0CC 802C571C 04430003 */ bgezl $v0, .L802C572C
|
||||
/* 0EA0D0 802C5720 00821021 */ addu $v0, $a0, $v0
|
||||
.L802C5724:
|
||||
/* 0EA0D4 802C5724 080B15C9 */ j .L802C5724
|
||||
/* 0EA0D8 802C5728 00000000 */ nop
|
||||
|
||||
.L802C572C:
|
||||
/* 0EA0DC 802C572C A0400110 */ sb $zero, 0x110($v0)
|
||||
/* 0EA0E0 802C5730 90820007 */ lbu $v0, 7($a0)
|
||||
/* 0EA0E4 802C5734 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0EA0E8 802C5738 A0820007 */ sb $v0, 7($a0)
|
||||
/* 0EA0EC 802C573C 03E00008 */ jr $ra
|
||||
/* 0EA0F0 802C5740 24020002 */ addiu $v0, $zero, 2
|
||||
|
@ -1,28 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_get_1_float
|
||||
/* 0EA864 802C5EB4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EA868 802C5EB8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA86C 802C5EBC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EA870 802C5EC0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EA874 802C5EC4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA878 802C5EC8 8E03000C */ lw $v1, 0xc($s0)
|
||||
/* 0EA87C 802C5ECC 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EA880 802C5ED0 8C710000 */ lw $s1, ($v1)
|
||||
/* 0EA884 802C5ED4 8C450000 */ lw $a1, ($v0)
|
||||
/* 0EA888 802C5ED8 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA88C 802C5EDC 0C0B210B */ jal get_float_variable
|
||||
/* 0EA890 802C5EE0 AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EA894 802C5EE4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA898 802C5EE8 44060000 */ mfc1 $a2, $f0
|
||||
/* 0EA89C 802C5EEC 0C0B2190 */ jal set_float_variable
|
||||
/* 0EA8A0 802C5EF0 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EA8A4 802C5EF4 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EA8A8 802C5EF8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA8AC 802C5EFC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA8B0 802C5F00 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA8B4 802C5F04 03E00008 */ jr $ra
|
||||
/* 0EA8B8 802C5F08 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_get_2_float
|
||||
/* 0EA8BC 802C5F0C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EA8C0 802C5F10 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA8C4 802C5F14 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EA8C8 802C5F18 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0EA8CC 802C5F1C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EA8D0 802C5F20 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA8D4 802C5F24 8E11000C */ lw $s1, 0xc($s0)
|
||||
/* 0EA8D8 802C5F28 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EA8DC 802C5F2C 8E320000 */ lw $s2, ($s1)
|
||||
/* 0EA8E0 802C5F30 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EA8E4 802C5F34 8C450000 */ lw $a1, ($v0)
|
||||
/* 0EA8E8 802C5F38 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA8EC 802C5F3C 0C0B210B */ jal get_float_variable
|
||||
/* 0EA8F0 802C5F40 AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EA8F4 802C5F44 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA8F8 802C5F48 44060000 */ mfc1 $a2, $f0
|
||||
/* 0EA8FC 802C5F4C 0C0B2190 */ jal set_float_variable
|
||||
/* 0EA900 802C5F50 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA904 802C5F54 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA908 802C5F58 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EA90C 802C5F5C 8E310000 */ lw $s1, ($s1)
|
||||
/* 0EA910 802C5F60 8C450000 */ lw $a1, ($v0)
|
||||
/* 0EA914 802C5F64 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA918 802C5F68 0C0B210B */ jal get_float_variable
|
||||
/* 0EA91C 802C5F6C AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EA920 802C5F70 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA924 802C5F74 44060000 */ mfc1 $a2, $f0
|
||||
/* 0EA928 802C5F78 0C0B2190 */ jal set_float_variable
|
||||
/* 0EA92C 802C5F7C 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EA930 802C5F80 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0EA934 802C5F84 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EA938 802C5F88 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA93C 802C5F8C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA940 802C5F90 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA944 802C5F94 03E00008 */ jr $ra
|
||||
/* 0EA948 802C5F98 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_get_2_word
|
||||
/* 0EA674 802C5CC4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EA678 802C5CC8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA67C 802C5CCC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EA680 802C5CD0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EA684 802C5CD4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA688 802C5CD8 8E11000C */ lw $s1, 0xc($s0)
|
||||
/* 0EA68C 802C5CDC 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EA690 802C5CE0 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EA694 802C5CE4 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EA698 802C5CE8 8C460000 */ lw $a2, ($v0)
|
||||
/* 0EA69C 802C5CEC 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA6A0 802C5CF0 0C0B2026 */ jal set_variable
|
||||
/* 0EA6A4 802C5CF4 AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EA6A8 802C5CF8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA6AC 802C5CFC 8C820138 */ lw $v0, 0x138($a0)
|
||||
/* 0EA6B0 802C5D00 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EA6B4 802C5D04 8C460000 */ lw $a2, ($v0)
|
||||
/* 0EA6B8 802C5D08 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA6BC 802C5D0C 0C0B2026 */ jal set_variable
|
||||
/* 0EA6C0 802C5D10 AC820138 */ sw $v0, 0x138($a0)
|
||||
/* 0EA6C4 802C5D14 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EA6C8 802C5D18 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA6CC 802C5D1C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA6D0 802C5D20 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA6D4 802C5D24 03E00008 */ jr $ra
|
||||
/* 0EA6D8 802C5D28 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,54 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_get_3_float
|
||||
/* 0EA94C 802C5F9C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EA950 802C5FA0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA954 802C5FA4 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EA958 802C5FA8 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0EA95C 802C5FAC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EA960 802C5FB0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA964 802C5FB4 8E11000C */ lw $s1, 0xc($s0)
|
||||
/* 0EA968 802C5FB8 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EA96C 802C5FBC 8E320000 */ lw $s2, ($s1)
|
||||
/* 0EA970 802C5FC0 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EA974 802C5FC4 8C450000 */ lw $a1, ($v0)
|
||||
/* 0EA978 802C5FC8 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA97C 802C5FCC 0C0B210B */ jal get_float_variable
|
||||
/* 0EA980 802C5FD0 AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EA984 802C5FD4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA988 802C5FD8 44060000 */ mfc1 $a2, $f0
|
||||
/* 0EA98C 802C5FDC 0C0B2190 */ jal set_float_variable
|
||||
/* 0EA990 802C5FE0 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA994 802C5FE4 8E320000 */ lw $s2, ($s1)
|
||||
/* 0EA998 802C5FE8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EA99C 802C5FEC 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EA9A0 802C5FF0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA9A4 802C5FF4 8C450000 */ lw $a1, ($v0)
|
||||
/* 0EA9A8 802C5FF8 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA9AC 802C5FFC 0C0B210B */ jal get_float_variable
|
||||
/* 0EA9B0 802C6000 AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EA9B4 802C6004 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA9B8 802C6008 44060000 */ mfc1 $a2, $f0
|
||||
/* 0EA9BC 802C600C 0C0B2190 */ jal set_float_variable
|
||||
/* 0EA9C0 802C6010 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA9C4 802C6014 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA9C8 802C6018 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EA9CC 802C601C 8E310000 */ lw $s1, ($s1)
|
||||
/* 0EA9D0 802C6020 8C450000 */ lw $a1, ($v0)
|
||||
/* 0EA9D4 802C6024 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA9D8 802C6028 0C0B210B */ jal get_float_variable
|
||||
/* 0EA9DC 802C602C AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EA9E0 802C6030 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA9E4 802C6034 44060000 */ mfc1 $a2, $f0
|
||||
/* 0EA9E8 802C6038 0C0B2190 */ jal set_float_variable
|
||||
/* 0EA9EC 802C603C 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EA9F0 802C6040 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0EA9F4 802C6044 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EA9F8 802C6048 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA9FC 802C604C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EAA00 802C6050 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EAA04 802C6054 03E00008 */ jr $ra
|
||||
/* 0EAA08 802C6058 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,40 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_get_3_word
|
||||
/* 0EA6DC 802C5D2C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EA6E0 802C5D30 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA6E4 802C5D34 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EA6E8 802C5D38 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EA6EC 802C5D3C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA6F0 802C5D40 8E11000C */ lw $s1, 0xc($s0)
|
||||
/* 0EA6F4 802C5D44 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EA6F8 802C5D48 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EA6FC 802C5D4C 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EA700 802C5D50 8C460000 */ lw $a2, ($v0)
|
||||
/* 0EA704 802C5D54 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA708 802C5D58 0C0B2026 */ jal set_variable
|
||||
/* 0EA70C 802C5D5C AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EA710 802C5D60 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EA714 802C5D64 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EA718 802C5D68 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EA71C 802C5D6C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA720 802C5D70 8C460000 */ lw $a2, ($v0)
|
||||
/* 0EA724 802C5D74 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA728 802C5D78 0C0B2026 */ jal set_variable
|
||||
/* 0EA72C 802C5D7C AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EA730 802C5D80 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA734 802C5D84 8C820138 */ lw $v0, 0x138($a0)
|
||||
/* 0EA738 802C5D88 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EA73C 802C5D8C 8C460000 */ lw $a2, ($v0)
|
||||
/* 0EA740 802C5D90 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA744 802C5D94 0C0B2026 */ jal set_variable
|
||||
/* 0EA748 802C5D98 AC820138 */ sw $v0, 0x138($a0)
|
||||
/* 0EA74C 802C5D9C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EA750 802C5DA0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA754 802C5DA4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA758 802C5DA8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA75C 802C5DAC 03E00008 */ jr $ra
|
||||
/* 0EA760 802C5DB0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,66 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_get_4_float
|
||||
/* 0EAA0C 802C605C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EAA10 802C6060 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EAA14 802C6064 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EAA18 802C6068 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0EAA1C 802C606C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EAA20 802C6070 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EAA24 802C6074 8E11000C */ lw $s1, 0xc($s0)
|
||||
/* 0EAA28 802C6078 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EAA2C 802C607C 8E320000 */ lw $s2, ($s1)
|
||||
/* 0EAA30 802C6080 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EAA34 802C6084 8C450000 */ lw $a1, ($v0)
|
||||
/* 0EAA38 802C6088 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EAA3C 802C608C 0C0B210B */ jal get_float_variable
|
||||
/* 0EAA40 802C6090 AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EAA44 802C6094 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EAA48 802C6098 44060000 */ mfc1 $a2, $f0
|
||||
/* 0EAA4C 802C609C 0C0B2190 */ jal set_float_variable
|
||||
/* 0EAA50 802C60A0 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EAA54 802C60A4 8E320000 */ lw $s2, ($s1)
|
||||
/* 0EAA58 802C60A8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EAA5C 802C60AC 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EAA60 802C60B0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EAA64 802C60B4 8C450000 */ lw $a1, ($v0)
|
||||
/* 0EAA68 802C60B8 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EAA6C 802C60BC 0C0B210B */ jal get_float_variable
|
||||
/* 0EAA70 802C60C0 AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EAA74 802C60C4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EAA78 802C60C8 44060000 */ mfc1 $a2, $f0
|
||||
/* 0EAA7C 802C60CC 0C0B2190 */ jal set_float_variable
|
||||
/* 0EAA80 802C60D0 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EAA84 802C60D4 8E320000 */ lw $s2, ($s1)
|
||||
/* 0EAA88 802C60D8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EAA8C 802C60DC 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EAA90 802C60E0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EAA94 802C60E4 8C450000 */ lw $a1, ($v0)
|
||||
/* 0EAA98 802C60E8 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EAA9C 802C60EC 0C0B210B */ jal get_float_variable
|
||||
/* 0EAAA0 802C60F0 AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EAAA4 802C60F4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EAAA8 802C60F8 44060000 */ mfc1 $a2, $f0
|
||||
/* 0EAAAC 802C60FC 0C0B2190 */ jal set_float_variable
|
||||
/* 0EAAB0 802C6100 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EAAB4 802C6104 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EAAB8 802C6108 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EAABC 802C610C 8E310000 */ lw $s1, ($s1)
|
||||
/* 0EAAC0 802C6110 8C450000 */ lw $a1, ($v0)
|
||||
/* 0EAAC4 802C6114 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EAAC8 802C6118 0C0B210B */ jal get_float_variable
|
||||
/* 0EAACC 802C611C AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EAAD0 802C6120 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EAAD4 802C6124 44060000 */ mfc1 $a2, $f0
|
||||
/* 0EAAD8 802C6128 0C0B2190 */ jal set_float_variable
|
||||
/* 0EAADC 802C612C 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EAAE0 802C6130 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0EAAE4 802C6134 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EAAE8 802C6138 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EAAEC 802C613C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EAAF0 802C6140 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EAAF4 802C6144 03E00008 */ jr $ra
|
||||
/* 0EAAF8 802C6148 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,48 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_get_4_word
|
||||
/* 0EA764 802C5DB4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EA768 802C5DB8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA76C 802C5DBC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EA770 802C5DC0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EA774 802C5DC4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA778 802C5DC8 8E11000C */ lw $s1, 0xc($s0)
|
||||
/* 0EA77C 802C5DCC 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EA780 802C5DD0 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EA784 802C5DD4 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EA788 802C5DD8 8C460000 */ lw $a2, ($v0)
|
||||
/* 0EA78C 802C5DDC 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA790 802C5DE0 0C0B2026 */ jal set_variable
|
||||
/* 0EA794 802C5DE4 AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EA798 802C5DE8 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EA79C 802C5DEC 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EA7A0 802C5DF0 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EA7A4 802C5DF4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA7A8 802C5DF8 8C460000 */ lw $a2, ($v0)
|
||||
/* 0EA7AC 802C5DFC 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA7B0 802C5E00 0C0B2026 */ jal set_variable
|
||||
/* 0EA7B4 802C5E04 AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EA7B8 802C5E08 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EA7BC 802C5E0C 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EA7C0 802C5E10 8E020138 */ lw $v0, 0x138($s0)
|
||||
/* 0EA7C4 802C5E14 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA7C8 802C5E18 8C460000 */ lw $a2, ($v0)
|
||||
/* 0EA7CC 802C5E1C 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA7D0 802C5E20 0C0B2026 */ jal set_variable
|
||||
/* 0EA7D4 802C5E24 AE020138 */ sw $v0, 0x138($s0)
|
||||
/* 0EA7D8 802C5E28 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA7DC 802C5E2C 8C820138 */ lw $v0, 0x138($a0)
|
||||
/* 0EA7E0 802C5E30 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EA7E4 802C5E34 8C460000 */ lw $a2, ($v0)
|
||||
/* 0EA7E8 802C5E38 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0EA7EC 802C5E3C 0C0B2026 */ jal set_variable
|
||||
/* 0EA7F0 802C5E40 AC820138 */ sw $v0, 0x138($a0)
|
||||
/* 0EA7F4 802C5E44 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EA7F8 802C5E48 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA7FC 802C5E4C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA800 802C5E50 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA804 802C5E54 03E00008 */ jr $ra
|
||||
/* 0EA808 802C5E58 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,30 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_get_Nth_float
|
||||
/* 0EAAFC 802C614C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EAB00 802C6150 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EAB04 802C6154 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EAB08 802C6158 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EAB0C 802C615C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EAB10 802C6160 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 0EAB14 802C6164 8C450004 */ lw $a1, 4($v0)
|
||||
/* 0EAB18 802C6168 0C0B1EAF */ jal get_variable
|
||||
/* 0EAB1C 802C616C 8C510000 */ lw $s1, ($v0)
|
||||
/* 0EAB20 802C6170 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EAB24 802C6174 8C830138 */ lw $v1, 0x138($a0)
|
||||
/* 0EAB28 802C6178 00021080 */ sll $v0, $v0, 2
|
||||
/* 0EAB2C 802C617C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 0EAB30 802C6180 C4420000 */ lwc1 $f2, ($v0)
|
||||
/* 0EAB34 802C6184 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 0EAB38 802C6188 44061000 */ mfc1 $a2, $f2
|
||||
/* 0EAB3C 802C618C 0C0B2190 */ jal set_float_variable
|
||||
/* 0EAB40 802C6190 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EAB44 802C6194 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EAB48 802C6198 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EAB4C 802C619C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EAB50 802C61A0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EAB54 802C61A4 03E00008 */ jr $ra
|
||||
/* 0EAB58 802C61A8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_if_equal
|
||||
/* 0E95F0 802C4C40 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E95F4 802C4C44 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E95F8 802C4C48 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0E95FC 802C4C4C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0E9600 802C4C50 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E9604 802C4C54 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0E9608 802C4C58 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E960C 802C4C5C 0C0B1EAF */ jal get_variable
|
||||
/* 0E9610 802C4C60 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0E9614 802C4C64 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E9618 802C4C68 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E961C 802C4C6C 0C0B1EAF */ jal get_variable
|
||||
/* 0E9620 802C4C70 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0E9624 802C4C74 12020005 */ beq $s0, $v0, .L802C4C8C
|
||||
/* 0E9628 802C4C78 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0E962C 802C4C7C 0C0B223F */ jal si_skip_if
|
||||
/* 0E9630 802C4C80 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E9634 802C4C84 AE220008 */ sw $v0, 8($s1)
|
||||
/* 0E9638 802C4C88 24020002 */ addiu $v0, $zero, 2
|
||||
.L802C4C8C:
|
||||
/* 0E963C 802C4C8C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E9640 802C4C90 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0E9644 802C4C94 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E9648 802C4C98 03E00008 */ jr $ra
|
||||
/* 0E964C 802C4C9C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_if_greater
|
||||
/* 0E9714 802C4D64 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E9718 802C4D68 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E971C 802C4D6C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0E9720 802C4D70 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0E9724 802C4D74 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E9728 802C4D78 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0E972C 802C4D7C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E9730 802C4D80 0C0B1EAF */ jal get_variable
|
||||
/* 0E9734 802C4D84 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0E9738 802C4D88 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E973C 802C4D8C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E9740 802C4D90 0C0B1EAF */ jal get_variable
|
||||
/* 0E9744 802C4D94 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0E9748 802C4D98 0050102A */ slt $v0, $v0, $s0
|
||||
/* 0E974C 802C4D9C 14400005 */ bnez $v0, .L802C4DB4
|
||||
/* 0E9750 802C4DA0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0E9754 802C4DA4 0C0B223F */ jal si_skip_if
|
||||
/* 0E9758 802C4DA8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E975C 802C4DAC AE220008 */ sw $v0, 8($s1)
|
||||
/* 0E9760 802C4DB0 24020002 */ addiu $v0, $zero, 2
|
||||
.L802C4DB4:
|
||||
/* 0E9764 802C4DB4 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E9768 802C4DB8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0E976C 802C4DBC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E9770 802C4DC0 03E00008 */ jr $ra
|
||||
/* 0E9774 802C4DC4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_if_greater_equal
|
||||
/* 0E97DC 802C4E2C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E97E0 802C4E30 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E97E4 802C4E34 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0E97E8 802C4E38 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0E97EC 802C4E3C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E97F0 802C4E40 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0E97F4 802C4E44 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E97F8 802C4E48 0C0B1EAF */ jal get_variable
|
||||
/* 0E97FC 802C4E4C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0E9800 802C4E50 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E9804 802C4E54 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E9808 802C4E58 0C0B1EAF */ jal get_variable
|
||||
/* 0E980C 802C4E5C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0E9810 802C4E60 0202802A */ slt $s0, $s0, $v0
|
||||
/* 0E9814 802C4E64 12000005 */ beqz $s0, .L802C4E7C
|
||||
/* 0E9818 802C4E68 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0E981C 802C4E6C 0C0B223F */ jal si_skip_if
|
||||
/* 0E9820 802C4E70 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E9824 802C4E74 AE220008 */ sw $v0, 8($s1)
|
||||
/* 0E9828 802C4E78 24020002 */ addiu $v0, $zero, 2
|
||||
.L802C4E7C:
|
||||
/* 0E982C 802C4E7C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E9830 802C4E80 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0E9834 802C4E84 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E9838 802C4E88 03E00008 */ jr $ra
|
||||
/* 0E983C 802C4E8C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_if_less
|
||||
/* 0E96B0 802C4D00 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E96B4 802C4D04 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E96B8 802C4D08 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0E96BC 802C4D0C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0E96C0 802C4D10 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E96C4 802C4D14 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0E96C8 802C4D18 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E96CC 802C4D1C 0C0B1EAF */ jal get_variable
|
||||
/* 0E96D0 802C4D20 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0E96D4 802C4D24 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E96D8 802C4D28 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E96DC 802C4D2C 0C0B1EAF */ jal get_variable
|
||||
/* 0E96E0 802C4D30 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0E96E4 802C4D34 0202802A */ slt $s0, $s0, $v0
|
||||
/* 0E96E8 802C4D38 16000005 */ bnez $s0, .L802C4D50
|
||||
/* 0E96EC 802C4D3C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0E96F0 802C4D40 0C0B223F */ jal si_skip_if
|
||||
/* 0E96F4 802C4D44 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E96F8 802C4D48 AE220008 */ sw $v0, 8($s1)
|
||||
/* 0E96FC 802C4D4C 24020002 */ addiu $v0, $zero, 2
|
||||
.L802C4D50:
|
||||
/* 0E9700 802C4D50 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E9704 802C4D54 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0E9708 802C4D58 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E970C 802C4D5C 03E00008 */ jr $ra
|
||||
/* 0E9710 802C4D60 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_if_less_equal
|
||||
/* 0E9778 802C4DC8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E977C 802C4DCC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E9780 802C4DD0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0E9784 802C4DD4 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0E9788 802C4DD8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E978C 802C4DDC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0E9790 802C4DE0 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E9794 802C4DE4 0C0B1EAF */ jal get_variable
|
||||
/* 0E9798 802C4DE8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0E979C 802C4DEC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E97A0 802C4DF0 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E97A4 802C4DF4 0C0B1EAF */ jal get_variable
|
||||
/* 0E97A8 802C4DF8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0E97AC 802C4DFC 0050102A */ slt $v0, $v0, $s0
|
||||
/* 0E97B0 802C4E00 10400005 */ beqz $v0, .L802C4E18
|
||||
/* 0E97B4 802C4E04 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0E97B8 802C4E08 0C0B223F */ jal si_skip_if
|
||||
/* 0E97BC 802C4E0C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E97C0 802C4E10 AE220008 */ sw $v0, 8($s1)
|
||||
/* 0E97C4 802C4E14 24020002 */ addiu $v0, $zero, 2
|
||||
.L802C4E18:
|
||||
/* 0E97C8 802C4E18 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E97CC 802C4E1C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0E97D0 802C4E20 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E97D4 802C4E24 03E00008 */ jr $ra
|
||||
/* 0E97D8 802C4E28 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,29 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_if_not_AND
|
||||
/* 0E9898 802C4EE8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E989C 802C4EEC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E98A0 802C4EF0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0E98A4 802C4EF4 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0E98A8 802C4EF8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E98AC 802C4EFC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0E98B0 802C4F00 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E98B4 802C4F04 0C0B1EAF */ jal get_variable
|
||||
/* 0E98B8 802C4F08 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0E98BC 802C4F0C 8E030000 */ lw $v1, ($s0)
|
||||
/* 0E98C0 802C4F10 00431024 */ and $v0, $v0, $v1
|
||||
/* 0E98C4 802C4F14 10400005 */ beqz $v0, .L802C4F2C
|
||||
/* 0E98C8 802C4F18 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0E98CC 802C4F1C 0C0B223F */ jal si_skip_if
|
||||
/* 0E98D0 802C4F20 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E98D4 802C4F24 AE220008 */ sw $v0, 8($s1)
|
||||
/* 0E98D8 802C4F28 24020002 */ addiu $v0, $zero, 2
|
||||
.L802C4F2C:
|
||||
/* 0E98DC 802C4F2C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E98E0 802C4F30 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0E98E4 802C4F34 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E98E8 802C4F38 03E00008 */ jr $ra
|
||||
/* 0E98EC 802C4F3C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_if_not_equal
|
||||
/* 0E9650 802C4CA0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0E9654 802C4CA4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0E9658 802C4CA8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0E965C 802C4CAC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0E9660 802C4CB0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E9664 802C4CB4 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0E9668 802C4CB8 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E966C 802C4CBC 0C0B1EAF */ jal get_variable
|
||||
/* 0E9670 802C4CC0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0E9674 802C4CC4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E9678 802C4CC8 8E050000 */ lw $a1, ($s0)
|
||||
/* 0E967C 802C4CCC 0C0B1EAF */ jal get_variable
|
||||
/* 0E9680 802C4CD0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0E9684 802C4CD4 16020005 */ bne $s0, $v0, .L802C4CEC
|
||||
/* 0E9688 802C4CD8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0E968C 802C4CDC 0C0B223F */ jal si_skip_if
|
||||
/* 0E9690 802C4CE0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0E9694 802C4CE4 AE220008 */ sw $v0, 8($s1)
|
||||
/* 0E9698 802C4CE8 24020002 */ addiu $v0, $zero, 2
|
||||
.L802C4CEC:
|
||||
/* 0E969C 802C4CEC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0E96A0 802C4CF0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0E96A4 802C4CF4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E96A8 802C4CF8 03E00008 */ jr $ra
|
||||
/* 0E96AC 802C4CFC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,58 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_mod
|
||||
/* 0EA36C 802C59BC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EA370 802C59C0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA374 802C59C4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EA378 802C59C8 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0EA37C 802C59CC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EA380 802C59D0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA384 802C59D4 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 0EA388 802C59D8 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 0EA38C 802C59DC 8C450004 */ lw $a1, 4($v0)
|
||||
/* 0EA390 802C59E0 0C0B1EAF */ jal get_variable
|
||||
/* 0EA394 802C59E4 8C520000 */ lw $s2, ($v0)
|
||||
/* 0EA398 802C59E8 3C013FE0 */ lui $at, 0x3fe0
|
||||
/* 0EA39C 802C59EC 4481A800 */ mtc1 $at, $f21
|
||||
/* 0EA3A0 802C59F0 4480A000 */ mtc1 $zero, $f20
|
||||
/* 0EA3A4 802C59F4 44820000 */ mtc1 $v0, $f0
|
||||
/* 0EA3A8 802C59F8 00000000 */ nop
|
||||
/* 0EA3AC 802C59FC 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 0EA3B0 802C5A00 46340000 */ add.d $f0, $f0, $f20
|
||||
/* 0EA3B4 802C5A04 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EA3B8 802C5A08 4620008D */ trunc.w.d $f2, $f0
|
||||
/* 0EA3BC 802C5A0C 44101000 */ mfc1 $s0, $f2
|
||||
/* 0EA3C0 802C5A10 0C0B1EAF */ jal get_variable
|
||||
/* 0EA3C4 802C5A14 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA3C8 802C5A18 44820000 */ mtc1 $v0, $f0
|
||||
/* 0EA3CC 802C5A1C 00000000 */ nop
|
||||
/* 0EA3D0 802C5A20 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 0EA3D4 802C5A24 46340000 */ add.d $f0, $f0, $f20
|
||||
/* 0EA3D8 802C5A28 4620008D */ trunc.w.d $f2, $f0
|
||||
/* 0EA3DC 802C5A2C 44021000 */ mfc1 $v0, $f2
|
||||
/* 0EA3E0 802C5A30 16000002 */ bnez $s0, .L802C5A3C
|
||||
/* 0EA3E4 802C5A34 0050001A */ div $zero, $v0, $s0
|
||||
/* 0EA3E8 802C5A38 0007000D */ break 7
|
||||
.L802C5A3C:
|
||||
/* 0EA3EC 802C5A3C 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 0EA3F0 802C5A40 16010004 */ bne $s0, $at, .L802C5A54
|
||||
/* 0EA3F4 802C5A44 3C018000 */ lui $at, 0x8000
|
||||
/* 0EA3F8 802C5A48 14410002 */ bne $v0, $at, .L802C5A54
|
||||
/* 0EA3FC 802C5A4C 00000000 */ nop
|
||||
/* 0EA400 802C5A50 0006000D */ break 6
|
||||
.L802C5A54:
|
||||
/* 0EA404 802C5A54 00003010 */ mfhi $a2
|
||||
/* 0EA408 802C5A58 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EA40C 802C5A5C 0C0B2026 */ jal set_variable
|
||||
/* 0EA410 802C5A60 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA414 802C5A64 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0EA418 802C5A68 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EA41C 802C5A6C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA420 802C5A70 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA424 802C5A74 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0EA428 802C5A78 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA42C 802C5A7C 03E00008 */ jr $ra
|
||||
/* 0EA430 802C5A80 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_multiply
|
||||
/* 0EA27C 802C58CC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EA280 802C58D0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA284 802C58D4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EA288 802C58D8 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0EA28C 802C58DC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EA290 802C58E0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA294 802C58E4 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 0EA298 802C58E8 8C450004 */ lw $a1, 4($v0)
|
||||
/* 0EA29C 802C58EC 0C0B1EAF */ jal get_variable
|
||||
/* 0EA2A0 802C58F0 8C520000 */ lw $s2, ($v0)
|
||||
/* 0EA2A4 802C58F4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EA2A8 802C58F8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EA2AC 802C58FC 0C0B1EAF */ jal get_variable
|
||||
/* 0EA2B0 802C5900 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA2B4 802C5904 02020018 */ mult $s0, $v0
|
||||
/* 0EA2B8 802C5908 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EA2BC 802C590C 00003012 */ mflo $a2
|
||||
/* 0EA2C0 802C5910 0C0B2026 */ jal set_variable
|
||||
/* 0EA2C4 802C5914 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA2C8 802C5918 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0EA2CC 802C591C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EA2D0 802C5920 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA2D4 802C5924 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA2D8 802C5928 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA2DC 802C592C 03E00008 */ jr $ra
|
||||
/* 0EA2E0 802C5930 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_multiplyF
|
||||
/* 0EA504 802C5B54 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EA508 802C5B58 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA50C 802C5B5C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EA510 802C5B60 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EA514 802C5B64 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA518 802C5B68 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 0EA51C 802C5B6C 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 0EA520 802C5B70 8C450004 */ lw $a1, 4($v0)
|
||||
/* 0EA524 802C5B74 0C0B210B */ jal get_float_variable
|
||||
/* 0EA528 802C5B78 8C510000 */ lw $s1, ($v0)
|
||||
/* 0EA52C 802C5B7C 46000506 */ mov.s $f20, $f0
|
||||
/* 0EA530 802C5B80 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA534 802C5B84 0C0B210B */ jal get_float_variable
|
||||
/* 0EA538 802C5B88 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EA53C 802C5B8C 4600A502 */ mul.s $f20, $f20, $f0
|
||||
/* 0EA540 802C5B90 00000000 */ nop
|
||||
/* 0EA544 802C5B94 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA548 802C5B98 4406A000 */ mfc1 $a2, $f20
|
||||
/* 0EA54C 802C5B9C 0C0B2190 */ jal set_float_variable
|
||||
/* 0EA550 802C5BA0 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EA554 802C5BA4 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EA558 802C5BA8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA55C 802C5BAC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA560 802C5BB0 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0EA564 802C5BB4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA568 802C5BB8 03E00008 */ jr $ra
|
||||
/* 0EA56C 802C5BBC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_subtract
|
||||
/* 0EA218 802C5868 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EA21C 802C586C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA220 802C5870 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EA224 802C5874 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0EA228 802C5878 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EA22C 802C587C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA230 802C5880 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 0EA234 802C5884 8C450004 */ lw $a1, 4($v0)
|
||||
/* 0EA238 802C5888 0C0B1EAF */ jal get_variable
|
||||
/* 0EA23C 802C588C 8C520000 */ lw $s2, ($v0)
|
||||
/* 0EA240 802C5890 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EA244 802C5894 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EA248 802C5898 0C0B1EAF */ jal get_variable
|
||||
/* 0EA24C 802C589C 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA250 802C58A0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EA254 802C58A4 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0EA258 802C58A8 0C0B2026 */ jal set_variable
|
||||
/* 0EA25C 802C58AC 00503023 */ subu $a2, $v0, $s0
|
||||
/* 0EA260 802C58B0 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0EA264 802C58B4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EA268 802C58B8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA26C 802C58BC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA270 802C58C0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA274 802C58C4 03E00008 */ jr $ra
|
||||
/* 0EA278 802C58C8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_subtractF
|
||||
/* 0EA49C 802C5AEC 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EA4A0 802C5AF0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EA4A4 802C5AF4 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EA4A8 802C5AF8 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EA4AC 802C5AFC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EA4B0 802C5B00 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 0EA4B4 802C5B04 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 0EA4B8 802C5B08 8C450004 */ lw $a1, 4($v0)
|
||||
/* 0EA4BC 802C5B0C 0C0B210B */ jal get_float_variable
|
||||
/* 0EA4C0 802C5B10 8C510000 */ lw $s1, ($v0)
|
||||
/* 0EA4C4 802C5B14 46000506 */ mov.s $f20, $f0
|
||||
/* 0EA4C8 802C5B18 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA4CC 802C5B1C 0C0B210B */ jal get_float_variable
|
||||
/* 0EA4D0 802C5B20 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EA4D4 802C5B24 46140001 */ sub.s $f0, $f0, $f20
|
||||
/* 0EA4D8 802C5B28 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EA4DC 802C5B2C 44060000 */ mfc1 $a2, $f0
|
||||
/* 0EA4E0 802C5B30 0C0B2190 */ jal set_float_variable
|
||||
/* 0EA4E4 802C5B34 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0EA4E8 802C5B38 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EA4EC 802C5B3C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EA4F0 802C5B40 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EA4F4 802C5B44 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0EA4F8 802C5B48 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EA4FC 802C5B4C 03E00008 */ jr $ra
|
||||
/* 0EA500 802C5B50 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,37 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_switch
|
||||
/* 0E9924 802C4F74 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E9928 802C4F78 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E992C 802C4F7C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0E9930 802C4F80 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 0E9934 802C4F84 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 0E9938 802C4F88 0C0B1EAF */ jal get_variable
|
||||
/* 0E993C 802C4F8C 8C450000 */ lw $a1, ($v0)
|
||||
/* 0E9940 802C4F90 92030007 */ lbu $v1, 7($s0)
|
||||
/* 0E9944 802C4F94 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 0E9948 802C4F98 24630001 */ addiu $v1, $v1, 1
|
||||
/* 0E994C 802C4F9C A2030007 */ sb $v1, 7($s0)
|
||||
/* 0E9950 802C4FA0 00031E00 */ sll $v1, $v1, 0x18
|
||||
/* 0E9954 802C4FA4 00032603 */ sra $a0, $v1, 0x18
|
||||
/* 0E9958 802C4FA8 28820008 */ slti $v0, $a0, 8
|
||||
/* 0E995C 802C4FAC 14400003 */ bnez $v0, .L802C4FBC
|
||||
/* 0E9960 802C4FB0 24020002 */ addiu $v0, $zero, 2
|
||||
.L802C4FB4:
|
||||
/* 0E9964 802C4FB4 080B13ED */ j .L802C4FB4
|
||||
/* 0E9968 802C4FB8 00000000 */ nop
|
||||
|
||||
.L802C4FBC:
|
||||
/* 0E996C 802C4FBC 00441804 */ sllv $v1, $a0, $v0
|
||||
/* 0E9970 802C4FC0 02031821 */ addu $v1, $s0, $v1
|
||||
/* 0E9974 802C4FC4 02042021 */ addu $a0, $s0, $a0
|
||||
/* 0E9978 802C4FC8 AC650118 */ sw $a1, 0x118($v1)
|
||||
/* 0E997C 802C4FCC 24030001 */ addiu $v1, $zero, 1
|
||||
/* 0E9980 802C4FD0 A0830110 */ sb $v1, 0x110($a0)
|
||||
/* 0E9984 802C4FD4 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 0E9988 802C4FD8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E998C 802C4FDC 03E00008 */ jr $ra
|
||||
/* 0E9990 802C4FE0 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -1,28 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_switch_const
|
||||
/* 0E9994 802C4FE4 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 0E9998 802C4FE8 90830007 */ lbu $v1, 7($a0)
|
||||
/* 0E999C 802C4FEC 8C450000 */ lw $a1, ($v0)
|
||||
/* 0E99A0 802C4FF0 24630001 */ addiu $v1, $v1, 1
|
||||
/* 0E99A4 802C4FF4 A0830007 */ sb $v1, 7($a0)
|
||||
/* 0E99A8 802C4FF8 00031E00 */ sll $v1, $v1, 0x18
|
||||
/* 0E99AC 802C4FFC 00031E03 */ sra $v1, $v1, 0x18
|
||||
/* 0E99B0 802C5000 28620008 */ slti $v0, $v1, 8
|
||||
/* 0E99B4 802C5004 14400003 */ bnez $v0, .L802C5014
|
||||
/* 0E99B8 802C5008 00031080 */ sll $v0, $v1, 2
|
||||
.L802C500C:
|
||||
/* 0E99BC 802C500C 080B1403 */ j .L802C500C
|
||||
/* 0E99C0 802C5010 00000000 */ nop
|
||||
|
||||
.L802C5014:
|
||||
/* 0E99C4 802C5014 00821021 */ addu $v0, $a0, $v0
|
||||
/* 0E99C8 802C5018 00831821 */ addu $v1, $a0, $v1
|
||||
/* 0E99CC 802C501C AC450118 */ sw $a1, 0x118($v0)
|
||||
/* 0E99D0 802C5020 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0E99D4 802C5024 A0620110 */ sb $v0, 0x110($v1)
|
||||
/* 0E99D8 802C5028 03E00008 */ jr $ra
|
||||
/* 0E99DC 802C502C 24020002 */ addiu $v0, $zero, 2
|
||||
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_wait
|
||||
/* 0E950C 802C4B5C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E9510 802C4B60 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E9514 802C4B64 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0E9518 802C4B68 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 0E951C 802C4B6C 82020005 */ lb $v0, 5($s0)
|
||||
/* 0E9520 802C4B70 14400006 */ bnez $v0, .L802C4B8C
|
||||
/* 0E9524 802C4B74 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 0E9528 802C4B78 0C0B1EAF */ jal get_variable
|
||||
/* 0E952C 802C4B7C 8CA50000 */ lw $a1, ($a1)
|
||||
/* 0E9530 802C4B80 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 0E9534 802C4B84 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0E9538 802C4B88 A2020005 */ sb $v0, 5($s0)
|
||||
.L802C4B8C:
|
||||
/* 0E953C 802C4B8C 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 0E9540 802C4B90 10400004 */ beqz $v0, .L802C4BA4
|
||||
/* 0E9544 802C4B94 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0E9548 802C4B98 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 0E954C 802C4B9C 080B12EA */ j .L802C4BA8
|
||||
/* 0E9550 802C4BA0 2C420001 */ sltiu $v0, $v0, 1
|
||||
|
||||
.L802C4BA4:
|
||||
/* 0E9554 802C4BA4 24020002 */ addiu $v0, $zero, 2
|
||||
.L802C4BA8:
|
||||
/* 0E9558 802C4BA8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 0E955C 802C4BAC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E9560 802C4BB0 03E00008 */ jr $ra
|
||||
/* 0E9564 802C4BB4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -1,44 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel si_handle_wait_seconds
|
||||
/* 0E9568 802C4BB8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0E956C 802C4BBC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0E9570 802C4BC0 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0E9574 802C4BC4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 0E9578 802C4BC8 82020005 */ lb $v0, 5($s0)
|
||||
/* 0E957C 802C4BCC 14400011 */ bnez $v0, .L802C4C14
|
||||
/* 0E9580 802C4BD0 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 0E9584 802C4BD4 0C0B210B */ jal get_float_variable
|
||||
/* 0E9588 802C4BD8 8CA50000 */ lw $a1, ($a1)
|
||||
/* 0E958C 802C4BDC 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 0E9590 802C4BE0 44811000 */ mtc1 $at, $f2
|
||||
/* 0E9594 802C4BE4 00000000 */ nop
|
||||
/* 0E9598 802C4BE8 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 0E959C 802C4BEC 00000000 */ nop
|
||||
/* 0E95A0 802C4BF0 3C013FE0 */ lui $at, 0x3fe0
|
||||
/* 0E95A4 802C4BF4 44811800 */ mtc1 $at, $f3
|
||||
/* 0E95A8 802C4BF8 44801000 */ mtc1 $zero, $f2
|
||||
/* 0E95AC 802C4BFC 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 0E95B0 802C4C00 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 0E95B4 802C4C04 24020001 */ addiu $v0, $zero, 1
|
||||
/* 0E95B8 802C4C08 A2020005 */ sb $v0, 5($s0)
|
||||
/* 0E95BC 802C4C0C 4620010D */ trunc.w.d $f4, $f0
|
||||
/* 0E95C0 802C4C10 E6040070 */ swc1 $f4, 0x70($s0)
|
||||
.L802C4C14:
|
||||
/* 0E95C4 802C4C14 8E020070 */ lw $v0, 0x70($s0)
|
||||
/* 0E95C8 802C4C18 10400004 */ beqz $v0, .L802C4C2C
|
||||
/* 0E95CC 802C4C1C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 0E95D0 802C4C20 AE020070 */ sw $v0, 0x70($s0)
|
||||
/* 0E95D4 802C4C24 080B130C */ j .L802C4C30
|
||||
/* 0E95D8 802C4C28 2C420001 */ sltiu $v0, $v0, 1
|
||||
|
||||
.L802C4C2C:
|
||||
/* 0E95DC 802C4C2C 24020002 */ addiu $v0, $zero, 2
|
||||
.L802C4C30:
|
||||
/* 0E95E0 802C4C30 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 0E95E4 802C4C34 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0E95E8 802C4C38 03E00008 */ jr $ra
|
||||
/* 0E95EC 802C4C3C 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -1,18 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80033B54
|
||||
/* 00EF54 80033B54 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 00EF58 80033B58 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 00EF5C 80033B5C 0C00F96C */ jal func_8003E5B0
|
||||
/* 00EF60 80033B60 00000000 */ nop
|
||||
/* 00EF64 80033B64 3C02800A */ lui $v0, 0x800a
|
||||
/* 00EF68 80033B68 80420900 */ lb $v0, 0x900($v0)
|
||||
/* 00EF6C 80033B6C 04410003 */ bgez $v0, .L80033B7C
|
||||
/* 00EF70 80033B70 00000000 */ nop
|
||||
/* 00EF74 80033B74 0C08FA9F */ jal draw_main_battle_ui
|
||||
/* 00EF78 80033B78 00000000 */ nop
|
||||
.L80033B7C:
|
||||
/* 00EF7C 80033B7C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 00EF80 80033B80 03E00008 */ jr $ra
|
||||
/* 00EF84 80033B84 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,18 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80033B88
|
||||
/* 00EF88 80033B88 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 00EF8C 80033B8C 3C02800A */ lui $v0, 0x800a
|
||||
/* 00EF90 80033B90 2442A650 */ addiu $v0, $v0, -0x59b0
|
||||
/* 00EF94 80033B94 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 00EF98 80033B98 8C430000 */ lw $v1, ($v0)
|
||||
/* 00EF9C 80033B9C 34630008 */ ori $v1, $v1, 8
|
||||
/* 00EFA0 80033BA0 0C018028 */ jal nuContRmbForceStop
|
||||
/* 00EFA4 80033BA4 AC430000 */ sw $v1, ($v0)
|
||||
/* 00EFA8 80033BA8 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 00EFAC 80033BAC 24020005 */ addiu $v0, $zero, 5
|
||||
/* 00EFB0 80033BB0 3C01800A */ lui $at, 0x800a
|
||||
/* 00EFB4 80033BB4 A0220900 */ sb $v0, 0x900($at)
|
||||
/* 00EFB8 80033BB8 03E00008 */ jr $ra
|
||||
/* 00EFBC 80033BBC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,8 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80033E64
|
||||
/* 00F264 80033E64 03E00008 */ jr $ra
|
||||
/* 00F268 80033E68 00000000 */ nop
|
||||
|
||||
/* 00F26C 80033E6C 00000000 */ nop
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetCamDistance
|
||||
/* 0F0A34 802CC084 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0A38 802CC088 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0A3C 802CC08C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0F0A40 802CC090 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0F0A44 802CC094 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F0A48 802CC098 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0F0A4C 802CC09C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F0A50 802CC0A0 0C0B1EAF */ jal get_variable
|
||||
/* 0F0A54 802CC0A4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F0A58 802CC0A8 00021880 */ sll $v1, $v0, 2
|
||||
/* 0F0A5C 802CC0AC 00621821 */ addu $v1, $v1, $v0
|
||||
/* 0F0A60 802CC0B0 00031880 */ sll $v1, $v1, 2
|
||||
/* 0F0A64 802CC0B4 00621823 */ subu $v1, $v1, $v0
|
||||
/* 0F0A68 802CC0B8 000310C0 */ sll $v0, $v1, 3
|
||||
/* 0F0A6C 802CC0BC 00621821 */ addu $v1, $v1, $v0
|
||||
/* 0F0A70 802CC0C0 000318C0 */ sll $v1, $v1, 3
|
||||
/* 0F0A74 802CC0C4 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F0A78 802CC0C8 3C06800B */ lui $a2, 0x800b
|
||||
/* 0F0A7C 802CC0CC 00C33021 */ addu $a2, $a2, $v1
|
||||
/* 0F0A80 802CC0D0 8CC6225C */ lw $a2, 0x225c($a2)
|
||||
/* 0F0A84 802CC0D4 0C0B2190 */ jal set_float_variable
|
||||
/* 0F0A88 802CC0D8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F0A8C 802CC0DC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0F0A90 802CC0E0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0A94 802CC0E4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0A98 802CC0E8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F0A9C 802CC0EC 03E00008 */ jr $ra
|
||||
/* 0F0AA0 802CC0F0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetCamPitch
|
||||
/* 0F09A4 802CBFF4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F09A8 802CBFF8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F09AC 802CBFFC 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F09B0 802CC000 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F09B4 802CC004 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F09B8 802CC008 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F09BC 802CC00C 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 0F09C0 802CC010 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F09C4 802CC014 0C0B1EAF */ jal get_variable
|
||||
/* 0F09C8 802CC018 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F09CC 802CC01C 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F09D0 802CC020 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F09D4 802CC024 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F09D8 802CC028 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F09DC 802CC02C 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F09E0 802CC030 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F09E4 802CC034 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F09E8 802CC038 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F09EC 802CC03C 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F09F0 802CC040 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F09F4 802CC044 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F09F8 802CC048 8E0604E0 */ lw $a2, 0x4e0($s0)
|
||||
/* 0F09FC 802CC04C 8E310004 */ lw $s1, 4($s1)
|
||||
/* 0F0A00 802CC050 0C0B2190 */ jal set_float_variable
|
||||
/* 0F0A04 802CC054 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0A08 802CC058 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0A0C 802CC05C 8E0604FC */ lw $a2, 0x4fc($s0)
|
||||
/* 0F0A10 802CC060 0C0B2190 */ jal set_float_variable
|
||||
/* 0F0A14 802CC064 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0F0A18 802CC068 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F0A1C 802CC06C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F0A20 802CC070 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0A24 802CC074 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0A28 802CC078 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F0A2C 802CC07C 03E00008 */ jr $ra
|
||||
/* 0F0A30 802CC080 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetCamPosA
|
||||
/* 0F0AA4 802CC0F4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0AA8 802CC0F8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0AAC 802CC0FC 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F0AB0 802CC100 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F0AB4 802CC104 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0AB8 802CC108 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F0ABC 802CC10C 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 0F0AC0 802CC110 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0AC4 802CC114 0C0B1EAF */ jal get_variable
|
||||
/* 0F0AC8 802CC118 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F0ACC 802CC11C 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F0AD0 802CC120 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F0AD4 802CC124 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F0AD8 802CC128 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0ADC 802CC12C 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F0AE0 802CC130 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F0AE4 802CC134 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F0AE8 802CC138 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0AEC 802CC13C 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F0AF0 802CC140 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F0AF4 802CC144 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0AF8 802CC148 8E0604E4 */ lw $a2, 0x4e4($s0)
|
||||
/* 0F0AFC 802CC14C 8E310004 */ lw $s1, 4($s1)
|
||||
/* 0F0B00 802CC150 0C0B2190 */ jal set_float_variable
|
||||
/* 0F0B04 802CC154 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0B08 802CC158 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0B0C 802CC15C 8E0604EC */ lw $a2, 0x4ec($s0)
|
||||
/* 0F0B10 802CC160 0C0B2190 */ jal set_float_variable
|
||||
/* 0F0B14 802CC164 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0F0B18 802CC168 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F0B1C 802CC16C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F0B20 802CC170 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0B24 802CC174 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0B28 802CC178 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F0B2C 802CC17C 03E00008 */ jr $ra
|
||||
/* 0F0B30 802CC180 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetCamPosB
|
||||
/* 0F0B34 802CC184 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0B38 802CC188 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0B3C 802CC18C 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F0B40 802CC190 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F0B44 802CC194 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0B48 802CC198 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F0B4C 802CC19C 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 0F0B50 802CC1A0 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0B54 802CC1A4 0C0B1EAF */ jal get_variable
|
||||
/* 0F0B58 802CC1A8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F0B5C 802CC1AC 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F0B60 802CC1B0 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F0B64 802CC1B4 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F0B68 802CC1B8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0B6C 802CC1BC 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F0B70 802CC1C0 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F0B74 802CC1C4 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F0B78 802CC1C8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0B7C 802CC1CC 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F0B80 802CC1D0 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F0B84 802CC1D4 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0B88 802CC1D8 8E0604F0 */ lw $a2, 0x4f0($s0)
|
||||
/* 0F0B8C 802CC1DC 8E310004 */ lw $s1, 4($s1)
|
||||
/* 0F0B90 802CC1E0 0C0B2190 */ jal set_float_variable
|
||||
/* 0F0B94 802CC1E4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0B98 802CC1E8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0B9C 802CC1EC 8E0604F8 */ lw $a2, 0x4f8($s0)
|
||||
/* 0F0BA0 802CC1F0 0C0B2190 */ jal set_float_variable
|
||||
/* 0F0BA4 802CC1F4 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0F0BA8 802CC1F8 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F0BAC 802CC1FC 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F0BB0 802CC200 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0BB4 802CC204 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0BB8 802CC208 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F0BBC 802CC20C 03E00008 */ jr $ra
|
||||
/* 0F0BC0 802CC210 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetCamPosC
|
||||
/* 0F0BC4 802CC214 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0BC8 802CC218 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0BCC 802CC21C 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F0BD0 802CC220 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F0BD4 802CC224 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0BD8 802CC228 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F0BDC 802CC22C 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 0F0BE0 802CC230 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0BE4 802CC234 0C0B1EAF */ jal get_variable
|
||||
/* 0F0BE8 802CC238 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F0BEC 802CC23C 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F0BF0 802CC240 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F0BF4 802CC244 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F0BF8 802CC248 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0BFC 802CC24C 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F0C00 802CC250 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F0C04 802CC254 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F0C08 802CC258 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0C0C 802CC25C 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F0C10 802CC260 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F0C14 802CC264 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0C18 802CC268 8E0604E8 */ lw $a2, 0x4e8($s0)
|
||||
/* 0F0C1C 802CC26C 8E310004 */ lw $s1, 4($s1)
|
||||
/* 0F0C20 802CC270 0C0B2190 */ jal set_float_variable
|
||||
/* 0F0C24 802CC274 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0C28 802CC278 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0C2C 802CC27C 8E0604F4 */ lw $a2, 0x4f4($s0)
|
||||
/* 0F0C30 802CC280 0C0B2190 */ jal set_float_variable
|
||||
/* 0F0C34 802CC284 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0F0C38 802CC288 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F0C3C 802CC28C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F0C40 802CC290 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0C44 802CC294 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0C48 802CC298 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F0C4C 802CC29C 03E00008 */ jr $ra
|
||||
/* 0F0C50 802CC2A0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,50 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetCamPosition
|
||||
/* 0F0C54 802CC2A4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F0C58 802CC2A8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0C5C 802CC2AC 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F0C60 802CC2B0 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 0F0C64 802CC2B4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0F0C68 802CC2B8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0C6C 802CC2BC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F0C70 802CC2C0 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 0F0C74 802CC2C4 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0C78 802CC2C8 0C0B1EAF */ jal get_variable
|
||||
/* 0F0C7C 802CC2CC 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F0C80 802CC2D0 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0C84 802CC2D4 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F0C88 802CC2D8 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F0C8C 802CC2DC 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F0C90 802CC2E0 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F0C94 802CC2E4 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0C98 802CC2E8 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F0C9C 802CC2EC 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F0CA0 802CC2F0 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F0CA4 802CC2F4 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0CA8 802CC2F8 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F0CAC 802CC2FC 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F0CB0 802CC300 8E0604B0 */ lw $a2, 0x4b0($s0)
|
||||
/* 0F0CB4 802CC304 8E330000 */ lw $s3, ($s1)
|
||||
/* 0F0CB8 802CC308 8E310004 */ lw $s1, 4($s1)
|
||||
/* 0F0CBC 802CC30C 0C0B2190 */ jal set_float_variable
|
||||
/* 0F0CC0 802CC310 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0CC4 802CC314 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0CC8 802CC318 8E0604B4 */ lw $a2, 0x4b4($s0)
|
||||
/* 0F0CCC 802CC31C 0C0B2190 */ jal set_float_variable
|
||||
/* 0F0CD0 802CC320 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 0F0CD4 802CC324 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0CD8 802CC328 8E0604B8 */ lw $a2, 0x4b8($s0)
|
||||
/* 0F0CDC 802CC32C 0C0B2190 */ jal set_float_variable
|
||||
/* 0F0CE0 802CC330 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0F0CE4 802CC334 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 0F0CE8 802CC338 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0F0CEC 802CC33C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F0CF0 802CC340 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0CF4 802CC344 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0CF8 802CC348 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F0CFC 802CC34C 03E00008 */ jr $ra
|
||||
/* 0F0D00 802CC350 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetCamType
|
||||
/* 0F0914 802CBF64 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0918 802CBF68 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F091C 802CBF6C 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F0920 802CBF70 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F0924 802CBF74 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0928 802CBF78 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F092C 802CBF7C 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 0F0930 802CBF80 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0934 802CBF84 0C0B1EAF */ jal get_variable
|
||||
/* 0F0938 802CBF88 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F093C 802CBF8C 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F0940 802CBF90 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F0944 802CBF94 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F0948 802CBF98 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F094C 802CBF9C 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F0950 802CBFA0 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F0954 802CBFA4 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F0958 802CBFA8 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F095C 802CBFAC 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F0960 802CBFB0 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F0964 802CBFB4 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0968 802CBFB8 8E0604D8 */ lw $a2, 0x4d8($s0)
|
||||
/* 0F096C 802CBFBC 8E310004 */ lw $s1, 4($s1)
|
||||
/* 0F0970 802CBFC0 0C0B2026 */ jal set_variable
|
||||
/* 0F0974 802CBFC4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0978 802CBFC8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F097C 802CBFCC 8E060500 */ lw $a2, 0x500($s0)
|
||||
/* 0F0980 802CBFD0 0C0B2026 */ jal set_variable
|
||||
/* 0F0984 802CBFD4 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 0F0988 802CBFD8 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F098C 802CBFDC 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F0990 802CBFE0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0994 802CBFE4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0998 802CBFE8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F099C 802CBFEC 03E00008 */ jr $ra
|
||||
/* 0F09A0 802CBFF0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,58 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel PanToTarget
|
||||
/* 0F014C 802CB79C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F0150 802CB7A0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0154 802CB7A4 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F0158 802CB7A8 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F015C 802CB7AC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0160 802CB7B0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F0164 802CB7B4 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 0F0168 802CB7B8 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 0F016C 802CB7BC 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F0170 802CB7C0 0C0B1EAF */ jal get_variable
|
||||
/* 0F0174 802CB7C4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F0178 802CB7C8 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F017C 802CB7CC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F0180 802CB7D0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0184 802CB7D4 0C0B210B */ jal get_float_variable
|
||||
/* 0F0188 802CB7D8 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 0F018C 802CB7DC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0190 802CB7E0 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F0194 802CB7E4 0C0B1EAF */ jal get_variable
|
||||
/* 0F0198 802CB7E8 46000506 */ mov.s $f20, $f0
|
||||
/* 0F019C 802CB7EC 3C05800B */ lui $a1, 0x800b
|
||||
/* 0F01A0 802CB7F0 24A51D80 */ addiu $a1, $a1, 0x1d80
|
||||
/* 0F01A4 802CB7F4 00111880 */ sll $v1, $s1, 2
|
||||
/* 0F01A8 802CB7F8 00711821 */ addu $v1, $v1, $s1
|
||||
/* 0F01AC 802CB7FC 00031880 */ sll $v1, $v1, 2
|
||||
/* 0F01B0 802CB800 00711823 */ subu $v1, $v1, $s1
|
||||
/* 0F01B4 802CB804 000320C0 */ sll $a0, $v1, 3
|
||||
/* 0F01B8 802CB808 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0F01BC 802CB80C 000318C0 */ sll $v1, $v1, 3
|
||||
/* 0F01C0 802CB810 00651821 */ addu $v1, $v1, $a1
|
||||
/* 0F01C4 802CB814 24040001 */ addiu $a0, $zero, 1
|
||||
/* 0F01C8 802CB818 10400004 */ beqz $v0, .L802CB82C
|
||||
/* 0F01CC 802CB81C A4640506 */ sh $a0, 0x506($v1)
|
||||
/* 0F01D0 802CB820 A4640504 */ sh $a0, 0x504($v1)
|
||||
/* 0F01D4 802CB824 080B2E10 */ j .L802CB840
|
||||
/* 0F01D8 802CB828 E4740508 */ swc1 $f20, 0x508($v1)
|
||||
|
||||
.L802CB82C:
|
||||
/* 0F01DC 802CB82C 3C013F80 */ lui $at, 0x3f80
|
||||
/* 0F01E0 802CB830 44810000 */ mtc1 $at, $f0
|
||||
/* 0F01E4 802CB834 A4600504 */ sh $zero, 0x504($v1)
|
||||
/* 0F01E8 802CB838 AC600508 */ sw $zero, 0x508($v1)
|
||||
/* 0F01EC 802CB83C E4600490 */ swc1 $f0, 0x490($v1)
|
||||
.L802CB840:
|
||||
/* 0F01F0 802CB840 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F01F4 802CB844 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F01F8 802CB848 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F01FC 802CB84C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0200 802CB850 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0F0204 802CB854 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F0208 802CB858 03E00008 */ jr $ra
|
||||
/* 0F020C 802CB85C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,108 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamBGColor
|
||||
/* 0EF748 802CAD98 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EF74C 802CAD9C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EF750 802CADA0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EF754 802CADA4 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 0EF758 802CADA8 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0EF75C 802CADAC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EF760 802CADB0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EF764 802CADB4 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0EF768 802CADB8 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF76C 802CADBC 0C0B1EAF */ jal get_variable
|
||||
/* 0EF770 802CADC0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF774 802CADC4 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF778 802CADC8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF77C 802CADCC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF780 802CADD0 0C0B1EAF */ jal get_variable
|
||||
/* 0EF784 802CADD4 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 0EF788 802CADD8 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF78C 802CADDC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF790 802CADE0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF794 802CADE4 0C0B1EAF */ jal get_variable
|
||||
/* 0EF798 802CADE8 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 0EF79C 802CADEC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF7A0 802CADF0 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF7A4 802CADF4 0C0B1EAF */ jal get_variable
|
||||
/* 0EF7A8 802CADF8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EF7AC 802CADFC 3C05800B */ lui $a1, 0x800b
|
||||
/* 0EF7B0 802CAE00 24A51D80 */ addiu $a1, $a1, 0x1d80
|
||||
/* 0EF7B4 802CAE04 00121880 */ sll $v1, $s2, 2
|
||||
/* 0EF7B8 802CAE08 00721821 */ addu $v1, $v1, $s2
|
||||
/* 0EF7BC 802CAE0C 00031880 */ sll $v1, $v1, 2
|
||||
/* 0EF7C0 802CAE10 00721823 */ subu $v1, $v1, $s2
|
||||
/* 0EF7C4 802CAE14 000320C0 */ sll $a0, $v1, 3
|
||||
/* 0EF7C8 802CAE18 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0EF7CC 802CAE1C 000318C0 */ sll $v1, $v1, 3
|
||||
/* 0EF7D0 802CAE20 00651821 */ addu $v1, $v1, $a1
|
||||
/* 0EF7D4 802CAE24 A4620030 */ sh $v0, 0x30($v1)
|
||||
/* 0EF7D8 802CAE28 A473002C */ sh $s3, 0x2c($v1)
|
||||
/* 0EF7DC 802CAE2C A470002E */ sh $s0, 0x2e($v1)
|
||||
/* 0EF7E0 802CAE30 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 0EF7E4 802CAE34 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0EF7E8 802CAE38 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EF7EC 802CAE3C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EF7F0 802CAE40 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EF7F4 802CAE44 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EF7F8 802CAE48 03E00008 */ jr $ra
|
||||
/* 0EF7FC 802CAE4C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 0EF800 802CAE50 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EF804 802CAE54 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EF808 802CAE58 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EF80C 802CAE5C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 0EF810 802CAE60 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0EF814 802CAE64 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EF818 802CAE68 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EF81C 802CAE6C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0EF820 802CAE70 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF824 802CAE74 0C0B1EAF */ jal get_variable
|
||||
/* 0EF828 802CAE78 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF82C 802CAE7C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF830 802CAE80 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF834 802CAE84 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF838 802CAE88 0C0B1EAF */ jal get_variable
|
||||
/* 0EF83C 802CAE8C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 0EF840 802CAE90 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF844 802CAE94 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF848 802CAE98 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF84C 802CAE9C 0C0B1EAF */ jal get_variable
|
||||
/* 0EF850 802CAEA0 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 0EF854 802CAEA4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF858 802CAEA8 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF85C 802CAEAC 0C0B1EAF */ jal get_variable
|
||||
/* 0EF860 802CAEB0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EF864 802CAEB4 44821000 */ mtc1 $v0, $f2
|
||||
/* 0EF868 802CAEB8 00000000 */ nop
|
||||
/* 0EF86C 802CAEBC 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 0EF870 802CAEC0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EF874 802CAEC4 3C05800B */ lui $a1, 0x800b
|
||||
/* 0EF878 802CAEC8 24A51D80 */ addiu $a1, $a1, 0x1d80
|
||||
/* 0EF87C 802CAECC 00521804 */ sllv $v1, $s2, $v0
|
||||
/* 0EF880 802CAED0 00721821 */ addu $v1, $v1, $s2
|
||||
/* 0EF884 802CAED4 00431804 */ sllv $v1, $v1, $v0
|
||||
/* 0EF888 802CAED8 00721823 */ subu $v1, $v1, $s2
|
||||
/* 0EF88C 802CAEDC 000320C0 */ sll $a0, $v1, 3
|
||||
/* 0EF890 802CAEE0 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0EF894 802CAEE4 000318C0 */ sll $v1, $v1, 3
|
||||
/* 0EF898 802CAEE8 00651821 */ addu $v1, $v1, $a1
|
||||
/* 0EF89C 802CAEEC 44930000 */ mtc1 $s3, $f0
|
||||
/* 0EF8A0 802CAEF0 00000000 */ nop
|
||||
/* 0EF8A4 802CAEF4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0EF8A8 802CAEF8 E4600054 */ swc1 $f0, 0x54($v1)
|
||||
/* 0EF8AC 802CAEFC 44900000 */ mtc1 $s0, $f0
|
||||
/* 0EF8B0 802CAF00 00000000 */ nop
|
||||
/* 0EF8B4 802CAF04 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0EF8B8 802CAF08 E4600058 */ swc1 $f0, 0x58($v1)
|
||||
/* 0EF8BC 802CAF0C E462005C */ swc1 $f2, 0x5c($v1)
|
||||
/* 0EF8C0 802CAF10 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 0EF8C4 802CAF14 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0EF8C8 802CAF18 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EF8CC 802CAF1C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EF8D0 802CAF20 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EF8D4 802CAF24 03E00008 */ jr $ra
|
||||
/* 0EF8D8 802CAF28 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamDistance
|
||||
/* 0F0594 802CBBE4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0598 802CBBE8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F059C 802CBBEC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0F05A0 802CBBF0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0F05A4 802CBBF4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F05A8 802CBBF8 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0F05AC 802CBBFC 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F05B0 802CBC00 0C0B1EAF */ jal get_variable
|
||||
/* 0F05B4 802CBC04 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F05B8 802CBC08 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F05BC 802CBC0C 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F05C0 802CBC10 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F05C4 802CBC14 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F05C8 802CBC18 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F05CC 802CBC1C 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F05D0 802CBC20 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F05D4 802CBC24 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F05D8 802CBC28 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F05DC 802CBC2C 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F05E0 802CBC30 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F05E4 802CBC34 0C0B210B */ jal get_float_variable
|
||||
/* 0F05E8 802CBC38 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F05EC 802CBC3C E60004DC */ swc1 $f0, 0x4dc($s0)
|
||||
/* 0F05F0 802CBC40 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0F05F4 802CBC44 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F05F8 802CBC48 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F05FC 802CBC4C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F0600 802CBC50 03E00008 */ jr $ra
|
||||
/* 0F0604 802CBC54 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,54 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamEnabled
|
||||
/* 0EF070 802CA6C0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EF074 802CA6C4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EF078 802CA6C8 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EF07C 802CA6CC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EF080 802CA6D0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EF084 802CA6D4 8E11000C */ lw $s1, 0xc($s0)
|
||||
/* 0EF088 802CA6D8 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EF08C 802CA6DC 0C0B1EAF */ jal get_variable
|
||||
/* 0EF090 802CA6E0 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EF094 802CA6E4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EF098 802CA6E8 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EF09C 802CA6EC 0C0B1EAF */ jal get_variable
|
||||
/* 0EF0A0 802CA6F0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EF0A4 802CA6F4 1440000D */ bnez $v0, .L802CA72C
|
||||
/* 0EF0A8 802CA6F8 00101080 */ sll $v0, $s0, 2
|
||||
/* 0EF0AC 802CA6FC 3C04800B */ lui $a0, 0x800b
|
||||
/* 0EF0B0 802CA700 24841D80 */ addiu $a0, $a0, 0x1d80
|
||||
/* 0EF0B4 802CA704 00501021 */ addu $v0, $v0, $s0
|
||||
/* 0EF0B8 802CA708 00021080 */ sll $v0, $v0, 2
|
||||
/* 0EF0BC 802CA70C 00501023 */ subu $v0, $v0, $s0
|
||||
/* 0EF0C0 802CA710 000218C0 */ sll $v1, $v0, 3
|
||||
/* 0EF0C4 802CA714 00431021 */ addu $v0, $v0, $v1
|
||||
/* 0EF0C8 802CA718 000210C0 */ sll $v0, $v0, 3
|
||||
/* 0EF0CC 802CA71C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 0EF0D0 802CA720 94430000 */ lhu $v1, ($v0)
|
||||
/* 0EF0D4 802CA724 080B29D6 */ j .L802CA758
|
||||
/* 0EF0D8 802CA728 34630002 */ ori $v1, $v1, 2
|
||||
|
||||
.L802CA72C:
|
||||
/* 0EF0DC 802CA72C 3C04800B */ lui $a0, 0x800b
|
||||
/* 0EF0E0 802CA730 24841D80 */ addiu $a0, $a0, 0x1d80
|
||||
/* 0EF0E4 802CA734 00501021 */ addu $v0, $v0, $s0
|
||||
/* 0EF0E8 802CA738 00021080 */ sll $v0, $v0, 2
|
||||
/* 0EF0EC 802CA73C 00501023 */ subu $v0, $v0, $s0
|
||||
/* 0EF0F0 802CA740 000218C0 */ sll $v1, $v0, 3
|
||||
/* 0EF0F4 802CA744 00431021 */ addu $v0, $v0, $v1
|
||||
/* 0EF0F8 802CA748 000210C0 */ sll $v0, $v0, 3
|
||||
/* 0EF0FC 802CA74C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 0EF100 802CA750 94430000 */ lhu $v1, ($v0)
|
||||
/* 0EF104 802CA754 3063FFFD */ andi $v1, $v1, 0xfffd
|
||||
.L802CA758:
|
||||
/* 0EF108 802CA758 A4430000 */ sh $v1, ($v0)
|
||||
/* 0EF10C 802CA75C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EF110 802CA760 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EF114 802CA764 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EF118 802CA768 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EF11C 802CA76C 03E00008 */ jr $ra
|
||||
/* 0EF120 802CA770 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,54 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamFlag80
|
||||
/* 0EF124 802CA774 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EF128 802CA778 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EF12C 802CA77C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0EF130 802CA780 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EF134 802CA784 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EF138 802CA788 8E11000C */ lw $s1, 0xc($s0)
|
||||
/* 0EF13C 802CA78C 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EF140 802CA790 0C0B1EAF */ jal get_variable
|
||||
/* 0EF144 802CA794 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0EF148 802CA798 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0EF14C 802CA79C 8E250000 */ lw $a1, ($s1)
|
||||
/* 0EF150 802CA7A0 0C0B1EAF */ jal get_variable
|
||||
/* 0EF154 802CA7A4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EF158 802CA7A8 1440000D */ bnez $v0, .L802CA7E0
|
||||
/* 0EF15C 802CA7AC 00101080 */ sll $v0, $s0, 2
|
||||
/* 0EF160 802CA7B0 3C04800B */ lui $a0, 0x800b
|
||||
/* 0EF164 802CA7B4 24841D80 */ addiu $a0, $a0, 0x1d80
|
||||
/* 0EF168 802CA7B8 00501021 */ addu $v0, $v0, $s0
|
||||
/* 0EF16C 802CA7BC 00021080 */ sll $v0, $v0, 2
|
||||
/* 0EF170 802CA7C0 00501023 */ subu $v0, $v0, $s0
|
||||
/* 0EF174 802CA7C4 000218C0 */ sll $v1, $v0, 3
|
||||
/* 0EF178 802CA7C8 00431021 */ addu $v0, $v0, $v1
|
||||
/* 0EF17C 802CA7CC 000210C0 */ sll $v0, $v0, 3
|
||||
/* 0EF180 802CA7D0 00441021 */ addu $v0, $v0, $a0
|
||||
/* 0EF184 802CA7D4 94430000 */ lhu $v1, ($v0)
|
||||
/* 0EF188 802CA7D8 080B2A03 */ j .L802CA80C
|
||||
/* 0EF18C 802CA7DC 34630080 */ ori $v1, $v1, 0x80
|
||||
|
||||
.L802CA7E0:
|
||||
/* 0EF190 802CA7E0 3C04800B */ lui $a0, 0x800b
|
||||
/* 0EF194 802CA7E4 24841D80 */ addiu $a0, $a0, 0x1d80
|
||||
/* 0EF198 802CA7E8 00501021 */ addu $v0, $v0, $s0
|
||||
/* 0EF19C 802CA7EC 00021080 */ sll $v0, $v0, 2
|
||||
/* 0EF1A0 802CA7F0 00501023 */ subu $v0, $v0, $s0
|
||||
/* 0EF1A4 802CA7F4 000218C0 */ sll $v1, $v0, 3
|
||||
/* 0EF1A8 802CA7F8 00431021 */ addu $v0, $v0, $v1
|
||||
/* 0EF1AC 802CA7FC 000210C0 */ sll $v0, $v0, 3
|
||||
/* 0EF1B0 802CA800 00441021 */ addu $v0, $v0, $a0
|
||||
/* 0EF1B4 802CA804 94430000 */ lhu $v1, ($v0)
|
||||
/* 0EF1B8 802CA808 3063FF7F */ andi $v1, $v1, 0xff7f
|
||||
.L802CA80C:
|
||||
/* 0EF1BC 802CA80C A4430000 */ sh $v1, ($v0)
|
||||
/* 0EF1C0 802CA810 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EF1C4 802CA814 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EF1C8 802CA818 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EF1CC 802CA81C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EF1D0 802CA820 03E00008 */ jr $ra
|
||||
/* 0EF1D4 802CA824 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,81 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamLeadPlayer
|
||||
/* 0F0030 802CB680 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0034 802CB684 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0038 802CB688 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0F003C 802CB68C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0F0040 802CB690 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F0044 802CB694 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0F0048 802CB698 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F004C 802CB69C 0C0B1EAF */ jal get_variable
|
||||
/* 0F0050 802CB6A0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F0054 802CB6A4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F0058 802CB6A8 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F005C 802CB6AC 0C0B1EAF */ jal get_variable
|
||||
/* 0F0060 802CB6B0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F0064 802CB6B4 3C05800B */ lui $a1, 0x800b
|
||||
/* 0F0068 802CB6B8 24A51D80 */ addiu $a1, $a1, 0x1d80
|
||||
/* 0F006C 802CB6BC 00101880 */ sll $v1, $s0, 2
|
||||
/* 0F0070 802CB6C0 00701821 */ addu $v1, $v1, $s0
|
||||
/* 0F0074 802CB6C4 00031880 */ sll $v1, $v1, 2
|
||||
/* 0F0078 802CB6C8 00701823 */ subu $v1, $v1, $s0
|
||||
/* 0F007C 802CB6CC 000320C0 */ sll $a0, $v1, 3
|
||||
/* 0F0080 802CB6D0 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0F0084 802CB6D4 000318C0 */ sll $v1, $v1, 3
|
||||
/* 0F0088 802CB6D8 10400004 */ beqz $v0, .L802CB6EC
|
||||
/* 0F008C 802CB6DC 00651821 */ addu $v1, $v1, $a1
|
||||
/* 0F0090 802CB6E0 94620000 */ lhu $v0, ($v1)
|
||||
/* 0F0094 802CB6E4 080B2DBD */ j .L802CB6F4
|
||||
/* 0F0098 802CB6E8 34420004 */ ori $v0, $v0, 4
|
||||
|
||||
.L802CB6EC:
|
||||
/* 0F009C 802CB6EC 94620000 */ lhu $v0, ($v1)
|
||||
/* 0F00A0 802CB6F0 3042FFFB */ andi $v0, $v0, 0xfffb
|
||||
.L802CB6F4:
|
||||
/* 0F00A4 802CB6F4 A4620000 */ sh $v0, ($v1)
|
||||
/* 0F00A8 802CB6F8 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0F00AC 802CB6FC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F00B0 802CB700 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F00B4 802CB704 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F00B8 802CB708 03E00008 */ jr $ra
|
||||
/* 0F00BC 802CB70C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 0F00C0 802CB710 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F00C4 802CB714 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F00C8 802CB718 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0F00CC 802CB71C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0F00D0 802CB720 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F00D4 802CB724 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0F00D8 802CB728 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F00DC 802CB72C 0C0B1EAF */ jal get_variable
|
||||
/* 0F00E0 802CB730 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F00E4 802CB734 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F00E8 802CB738 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F00EC 802CB73C 0C0B1EAF */ jal get_variable
|
||||
/* 0F00F0 802CB740 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F00F4 802CB744 44821000 */ mtc1 $v0, $f2
|
||||
/* 0F00F8 802CB748 00000000 */ nop
|
||||
/* 0F00FC 802CB74C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 0F0100 802CB750 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F0104 802CB754 00501804 */ sllv $v1, $s0, $v0
|
||||
/* 0F0108 802CB758 00701821 */ addu $v1, $v1, $s0
|
||||
/* 0F010C 802CB75C 00431804 */ sllv $v1, $v1, $v0
|
||||
/* 0F0110 802CB760 00701823 */ subu $v1, $v1, $s0
|
||||
/* 0F0114 802CB764 000320C0 */ sll $a0, $v1, 3
|
||||
/* 0F0118 802CB768 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0F011C 802CB76C 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 0F0120 802CB770 44810000 */ mtc1 $at, $f0
|
||||
/* 0F0124 802CB774 000318C0 */ sll $v1, $v1, 3
|
||||
/* 0F0128 802CB778 46001083 */ div.s $f2, $f2, $f0
|
||||
/* 0F012C 802CB77C 3C01800B */ lui $at, 0x800b
|
||||
/* 0F0130 802CB780 00230821 */ addu $at, $at, $v1
|
||||
/* 0F0134 802CB784 E42222A0 */ swc1 $f2, 0x22a0($at)
|
||||
/* 0F0138 802CB788 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0F013C 802CB78C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0140 802CB790 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0144 802CB794 03E00008 */ jr $ra
|
||||
/* 0F0148 802CB798 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,45 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamPitch
|
||||
/* 0F04F8 802CBB48 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F04FC 802CBB4C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0500 802CBB50 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F0504 802CBB54 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F0508 802CBB58 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F050C 802CBB5C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F0510 802CBB60 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 0F0514 802CBB64 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 0F0518 802CBB68 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F051C 802CBB6C 0C0B1EAF */ jal get_variable
|
||||
/* 0F0520 802CBB70 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F0524 802CBB74 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0528 802CBB78 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F052C 802CBB7C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0530 802CBB80 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F0534 802CBB84 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F0538 802CBB88 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F053C 802CBB8C 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0540 802CBB90 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F0544 802CBB94 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F0548 802CBB98 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F054C 802CBB9C 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0550 802CBBA0 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F0554 802CBBA4 0C0B210B */ jal get_float_variable
|
||||
/* 0F0558 802CBBA8 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F055C 802CBBAC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0560 802CBBB0 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0564 802CBBB4 0C0B210B */ jal get_float_variable
|
||||
/* 0F0568 802CBBB8 46000506 */ mov.s $f20, $f0
|
||||
/* 0F056C 802CBBBC E61404E0 */ swc1 $f20, 0x4e0($s0)
|
||||
/* 0F0570 802CBBC0 E60004FC */ swc1 $f0, 0x4fc($s0)
|
||||
/* 0F0574 802CBBC4 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F0578 802CBBC8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F057C 802CBBCC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0580 802CBBD0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0584 802CBBD4 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0F0588 802CBBD8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F058C 802CBBDC 03E00008 */ jr $ra
|
||||
/* 0F0590 802CBBE0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,45 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamPosA
|
||||
/* 0F0608 802CBC58 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F060C 802CBC5C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0610 802CBC60 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F0614 802CBC64 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F0618 802CBC68 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F061C 802CBC6C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F0620 802CBC70 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 0F0624 802CBC74 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 0F0628 802CBC78 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F062C 802CBC7C 0C0B1EAF */ jal get_variable
|
||||
/* 0F0630 802CBC80 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F0634 802CBC84 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0638 802CBC88 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F063C 802CBC8C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0640 802CBC90 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F0644 802CBC94 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F0648 802CBC98 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F064C 802CBC9C 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0650 802CBCA0 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F0654 802CBCA4 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F0658 802CBCA8 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F065C 802CBCAC 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0660 802CBCB0 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F0664 802CBCB4 0C0B210B */ jal get_float_variable
|
||||
/* 0F0668 802CBCB8 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F066C 802CBCBC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0670 802CBCC0 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0674 802CBCC4 0C0B210B */ jal get_float_variable
|
||||
/* 0F0678 802CBCC8 46000506 */ mov.s $f20, $f0
|
||||
/* 0F067C 802CBCCC E61404E4 */ swc1 $f20, 0x4e4($s0)
|
||||
/* 0F0680 802CBCD0 E60004EC */ swc1 $f0, 0x4ec($s0)
|
||||
/* 0F0684 802CBCD4 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F0688 802CBCD8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F068C 802CBCDC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0690 802CBCE0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0694 802CBCE4 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0F0698 802CBCE8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F069C 802CBCEC 03E00008 */ jr $ra
|
||||
/* 0F06A0 802CBCF0 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,45 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamPosB
|
||||
/* 0F06A4 802CBCF4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F06A8 802CBCF8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F06AC 802CBCFC 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F06B0 802CBD00 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F06B4 802CBD04 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F06B8 802CBD08 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F06BC 802CBD0C F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 0F06C0 802CBD10 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 0F06C4 802CBD14 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F06C8 802CBD18 0C0B1EAF */ jal get_variable
|
||||
/* 0F06CC 802CBD1C 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F06D0 802CBD20 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F06D4 802CBD24 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F06D8 802CBD28 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F06DC 802CBD2C 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F06E0 802CBD30 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F06E4 802CBD34 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F06E8 802CBD38 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F06EC 802CBD3C 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F06F0 802CBD40 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F06F4 802CBD44 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F06F8 802CBD48 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F06FC 802CBD4C 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F0700 802CBD50 0C0B210B */ jal get_float_variable
|
||||
/* 0F0704 802CBD54 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F0708 802CBD58 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F070C 802CBD5C 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0710 802CBD60 0C0B210B */ jal get_float_variable
|
||||
/* 0F0714 802CBD64 46000506 */ mov.s $f20, $f0
|
||||
/* 0F0718 802CBD68 E61404F0 */ swc1 $f20, 0x4f0($s0)
|
||||
/* 0F071C 802CBD6C E60004F8 */ swc1 $f0, 0x4f8($s0)
|
||||
/* 0F0720 802CBD70 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F0724 802CBD74 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F0728 802CBD78 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F072C 802CBD7C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0730 802CBD80 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0F0734 802CBD84 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F0738 802CBD88 03E00008 */ jr $ra
|
||||
/* 0F073C 802CBD8C 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,45 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamPosC
|
||||
/* 0F0740 802CBD90 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F0744 802CBD94 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0748 802CBD98 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F074C 802CBD9C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F0750 802CBDA0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0754 802CBDA4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F0758 802CBDA8 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 0F075C 802CBDAC 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 0F0760 802CBDB0 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0764 802CBDB4 0C0B1EAF */ jal get_variable
|
||||
/* 0F0768 802CBDB8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F076C 802CBDBC 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0770 802CBDC0 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F0774 802CBDC4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0778 802CBDC8 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F077C 802CBDCC 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F0780 802CBDD0 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F0784 802CBDD4 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0788 802CBDD8 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F078C 802CBDDC 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F0790 802CBDE0 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F0794 802CBDE4 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0798 802CBDE8 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F079C 802CBDEC 0C0B210B */ jal get_float_variable
|
||||
/* 0F07A0 802CBDF0 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F07A4 802CBDF4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F07A8 802CBDF8 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F07AC 802CBDFC 0C0B210B */ jal get_float_variable
|
||||
/* 0F07B0 802CBE00 46000506 */ mov.s $f20, $f0
|
||||
/* 0F07B4 802CBE04 E61404E8 */ swc1 $f20, 0x4e8($s0)
|
||||
/* 0F07B8 802CBE08 E60004F4 */ swc1 $f0, 0x4f4($s0)
|
||||
/* 0F07BC 802CBE0C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F07C0 802CBE10 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F07C4 802CBE14 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F07C8 802CBE18 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F07CC 802CBE1C D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0F07D0 802CBE20 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F07D4 802CBE24 03E00008 */ jr $ra
|
||||
/* 0F07D8 802CBE28 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamSpeed
|
||||
/* 0F08A0 802CBEF0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F08A4 802CBEF4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F08A8 802CBEF8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0F08AC 802CBEFC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0F08B0 802CBF00 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F08B4 802CBF04 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0F08B8 802CBF08 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F08BC 802CBF0C 0C0B1EAF */ jal get_variable
|
||||
/* 0F08C0 802CBF10 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F08C4 802CBF14 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F08C8 802CBF18 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F08CC 802CBF1C 0C0B210B */ jal get_float_variable
|
||||
/* 0F08D0 802CBF20 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F08D4 802CBF24 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F08D8 802CBF28 00501804 */ sllv $v1, $s0, $v0
|
||||
/* 0F08DC 802CBF2C 00701821 */ addu $v1, $v1, $s0
|
||||
/* 0F08E0 802CBF30 00431804 */ sllv $v1, $v1, $v0
|
||||
/* 0F08E4 802CBF34 00701823 */ subu $v1, $v1, $s0
|
||||
/* 0F08E8 802CBF38 000320C0 */ sll $a0, $v1, 3
|
||||
/* 0F08EC 802CBF3C 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0F08F0 802CBF40 000318C0 */ sll $v1, $v1, 3
|
||||
/* 0F08F4 802CBF44 3C01800B */ lui $at, 0x800b
|
||||
/* 0F08F8 802CBF48 00230821 */ addu $at, $at, $v1
|
||||
/* 0F08FC 802CBF4C E4202210 */ swc1 $f0, 0x2210($at)
|
||||
/* 0F0900 802CBF50 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0F0904 802CBF54 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0908 802CBF58 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F090C 802CBF5C 03E00008 */ jr $ra
|
||||
/* 0F0910 802CBF60 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,43 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamType
|
||||
/* 0F0464 802CBAB4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0468 802CBAB8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F046C 802CBABC 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F0470 802CBAC0 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F0474 802CBAC4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0478 802CBAC8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F047C 802CBACC 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 0F0480 802CBAD0 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0484 802CBAD4 0C0B1EAF */ jal get_variable
|
||||
/* 0F0488 802CBAD8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F048C 802CBADC 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0490 802CBAE0 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F0494 802CBAE4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0498 802CBAE8 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F049C 802CBAEC 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F04A0 802CBAF0 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F04A4 802CBAF4 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F04A8 802CBAF8 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F04AC 802CBAFC 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F04B0 802CBB00 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F04B4 802CBB04 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F04B8 802CBB08 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F04BC 802CBB0C 0C0B1EAF */ jal get_variable
|
||||
/* 0F04C0 802CBB10 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F04C4 802CBB14 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F04C8 802CBB18 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F04CC 802CBB1C 0C0B1EAF */ jal get_variable
|
||||
/* 0F04D0 802CBB20 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 0F04D4 802CBB24 AE020500 */ sw $v0, 0x500($s0)
|
||||
/* 0F04D8 802CBB28 AE1104D8 */ sw $s1, 0x4d8($s0)
|
||||
/* 0F04DC 802CBB2C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F04E0 802CBB30 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F04E4 802CBB34 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F04E8 802CBB38 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F04EC 802CBB3C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F04F0 802CBB40 03E00008 */ jr $ra
|
||||
/* 0F04F4 802CBB44 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,168 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamViewport
|
||||
/* 0EF4C8 802CAB18 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0EF4CC 802CAB1C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 0EF4D0 802CAB20 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EF4D4 802CAB24 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 0EF4D8 802CAB28 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 0EF4DC 802CAB2C AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 0EF4E0 802CAB30 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 0EF4E4 802CAB34 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 0EF4E8 802CAB38 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0EF4EC 802CAB3C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF4F0 802CAB40 0C0B1EAF */ jal get_variable
|
||||
/* 0EF4F4 802CAB44 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF4F8 802CAB48 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF4FC 802CAB4C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF500 802CAB50 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF504 802CAB54 0C0B1EAF */ jal get_variable
|
||||
/* 0EF508 802CAB58 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* 0EF50C 802CAB5C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF510 802CAB60 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF514 802CAB64 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF518 802CAB68 0C0B1EAF */ jal get_variable
|
||||
/* 0EF51C 802CAB6C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 0EF520 802CAB70 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF524 802CAB74 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF528 802CAB78 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF52C 802CAB7C 0C0B1EAF */ jal get_variable
|
||||
/* 0EF530 802CAB80 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 0EF534 802CAB84 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF538 802CAB88 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF53C 802CAB8C 0C0B1EAF */ jal get_variable
|
||||
/* 0EF540 802CAB90 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EF544 802CAB94 0014A400 */ sll $s4, $s4, 0x10
|
||||
/* 0EF548 802CAB98 00142403 */ sra $a0, $s4, 0x10
|
||||
/* 0EF54C 802CAB9C 00129400 */ sll $s2, $s2, 0x10
|
||||
/* 0EF550 802CABA0 00122C03 */ sra $a1, $s2, 0x10
|
||||
/* 0EF554 802CABA4 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 0EF558 802CABA8 00021403 */ sra $v0, $v0, 0x10
|
||||
/* 0EF55C 802CABAC 00139C00 */ sll $s3, $s3, 0x10
|
||||
/* 0EF560 802CABB0 00108400 */ sll $s0, $s0, 0x10
|
||||
/* 0EF564 802CABB4 00133403 */ sra $a2, $s3, 0x10
|
||||
/* 0EF568 802CABB8 00103C03 */ sra $a3, $s0, 0x10
|
||||
/* 0EF56C 802CABBC 0C00B8C5 */ jal set_cam_viewport
|
||||
/* 0EF570 802CABC0 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 0EF574 802CABC4 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 0EF578 802CABC8 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* 0EF57C 802CABCC 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 0EF580 802CABD0 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 0EF584 802CABD4 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 0EF588 802CABD8 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 0EF58C 802CABDC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EF590 802CABE0 03E00008 */ jr $ra
|
||||
/* 0EF594 802CABE4 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
/* 0EF598 802CABE8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EF59C 802CABEC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EF5A0 802CABF0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EF5A4 802CABF4 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 0EF5A8 802CABF8 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 0EF5AC 802CABFC AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0EF5B0 802CAC00 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EF5B4 802CAC04 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EF5B8 802CAC08 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0EF5BC 802CAC0C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF5C0 802CAC10 0C0B1EAF */ jal get_variable
|
||||
/* 0EF5C4 802CAC14 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF5C8 802CAC18 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF5CC 802CAC1C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF5D0 802CAC20 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF5D4 802CAC24 0C0B1EAF */ jal get_variable
|
||||
/* 0EF5D8 802CAC28 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 0EF5DC 802CAC2C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF5E0 802CAC30 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF5E4 802CAC34 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF5E8 802CAC38 0C0B1EAF */ jal get_variable
|
||||
/* 0EF5EC 802CAC3C 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* 0EF5F0 802CAC40 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF5F4 802CAC44 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF5F8 802CAC48 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF5FC 802CAC4C 0C0B1EAF */ jal get_variable
|
||||
/* 0EF600 802CAC50 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 0EF604 802CAC54 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF608 802CAC58 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF60C 802CAC5C 0C0B1EAF */ jal get_variable
|
||||
/* 0EF610 802CAC60 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EF614 802CAC64 3C05800B */ lui $a1, 0x800b
|
||||
/* 0EF618 802CAC68 24A51D80 */ addiu $a1, $a1, 0x1d80
|
||||
/* 0EF61C 802CAC6C 00121880 */ sll $v1, $s2, 2
|
||||
/* 0EF620 802CAC70 00721821 */ addu $v1, $v1, $s2
|
||||
/* 0EF624 802CAC74 00031880 */ sll $v1, $v1, 2
|
||||
/* 0EF628 802CAC78 00721823 */ subu $v1, $v1, $s2
|
||||
/* 0EF62C 802CAC7C 000320C0 */ sll $a0, $v1, 3
|
||||
/* 0EF630 802CAC80 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0EF634 802CAC84 000318C0 */ sll $v1, $v1, 3
|
||||
/* 0EF638 802CAC88 00651821 */ addu $v1, $v1, $a1
|
||||
/* 0EF63C 802CAC8C A4620022 */ sh $v0, 0x22($v1)
|
||||
/* 0EF640 802CAC90 A474001C */ sh $s4, 0x1c($v1)
|
||||
/* 0EF644 802CAC94 A473001E */ sh $s3, 0x1e($v1)
|
||||
/* 0EF648 802CAC98 A4700020 */ sh $s0, 0x20($v1)
|
||||
/* 0EF64C 802CAC9C 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 0EF650 802CACA0 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 0EF654 802CACA4 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0EF658 802CACA8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EF65C 802CACAC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EF660 802CACB0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EF664 802CACB4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EF668 802CACB8 03E00008 */ jr $ra
|
||||
/* 0EF66C 802CACBC 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
/* 0EF670 802CACC0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EF674 802CACC4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EF678 802CACC8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EF67C 802CACCC AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 0EF680 802CACD0 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 0EF684 802CACD4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0EF688 802CACD8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EF68C 802CACDC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EF690 802CACE0 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0EF694 802CACE4 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF698 802CACE8 0C0B1EAF */ jal get_variable
|
||||
/* 0EF69C 802CACEC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF6A0 802CACF0 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF6A4 802CACF4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF6A8 802CACF8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF6AC 802CACFC 0C0B1EAF */ jal get_variable
|
||||
/* 0EF6B0 802CAD00 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 0EF6B4 802CAD04 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF6B8 802CAD08 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF6BC 802CAD0C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF6C0 802CAD10 0C0B1EAF */ jal get_variable
|
||||
/* 0EF6C4 802CAD14 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* 0EF6C8 802CAD18 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF6CC 802CAD1C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF6D0 802CAD20 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF6D4 802CAD24 0C0B1EAF */ jal get_variable
|
||||
/* 0EF6D8 802CAD28 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 0EF6DC 802CAD2C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF6E0 802CAD30 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF6E4 802CAD34 0C0B1EAF */ jal get_variable
|
||||
/* 0EF6E8 802CAD38 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EF6EC 802CAD3C 3C05800B */ lui $a1, 0x800b
|
||||
/* 0EF6F0 802CAD40 24A51D80 */ addiu $a1, $a1, 0x1d80
|
||||
/* 0EF6F4 802CAD44 00121880 */ sll $v1, $s2, 2
|
||||
/* 0EF6F8 802CAD48 00721821 */ addu $v1, $v1, $s2
|
||||
/* 0EF6FC 802CAD4C 00031880 */ sll $v1, $v1, 2
|
||||
/* 0EF700 802CAD50 00721823 */ subu $v1, $v1, $s2
|
||||
/* 0EF704 802CAD54 000320C0 */ sll $a0, $v1, 3
|
||||
/* 0EF708 802CAD58 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0EF70C 802CAD5C 000318C0 */ sll $v1, $v1, 3
|
||||
/* 0EF710 802CAD60 00651821 */ addu $v1, $v1, $a1
|
||||
/* 0EF714 802CAD64 A462002A */ sh $v0, 0x2a($v1)
|
||||
/* 0EF718 802CAD68 A4740024 */ sh $s4, 0x24($v1)
|
||||
/* 0EF71C 802CAD6C A4730026 */ sh $s3, 0x26($v1)
|
||||
/* 0EF720 802CAD70 A4700028 */ sh $s0, 0x28($v1)
|
||||
/* 0EF724 802CAD74 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 0EF728 802CAD78 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 0EF72C 802CAD7C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0EF730 802CAD80 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EF734 802CAD84 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EF738 802CAD88 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EF73C 802CAD8C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EF740 802CAD90 03E00008 */ jr $ra
|
||||
/* 0EF744 802CAD94 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,55 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetPanTarget
|
||||
/* 0F07DC 802CBE2C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0F07E0 802CBE30 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F07E4 802CBE34 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 0F07E8 802CBE38 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F07EC 802CBE3C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F07F0 802CBE40 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F07F4 802CBE44 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 0F07F8 802CBE48 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 0F07FC 802CBE4C 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 0F0800 802CBE50 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0804 802CBE54 0C0B1EAF */ jal get_variable
|
||||
/* 0F0808 802CBE58 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F080C 802CBE5C 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0810 802CBE60 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F0814 802CBE64 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0818 802CBE68 3C03800B */ lui $v1, 0x800b
|
||||
/* 0F081C 802CBE6C 24631D80 */ addiu $v1, $v1, 0x1d80
|
||||
/* 0F0820 802CBE70 00028080 */ sll $s0, $v0, 2
|
||||
/* 0F0824 802CBE74 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0828 802CBE78 00108080 */ sll $s0, $s0, 2
|
||||
/* 0F082C 802CBE7C 02028023 */ subu $s0, $s0, $v0
|
||||
/* 0F0830 802CBE80 001010C0 */ sll $v0, $s0, 3
|
||||
/* 0F0834 802CBE84 02028021 */ addu $s0, $s0, $v0
|
||||
/* 0F0838 802CBE88 001080C0 */ sll $s0, $s0, 3
|
||||
/* 0F083C 802CBE8C 0C0B210B */ jal get_float_variable
|
||||
/* 0F0840 802CBE90 02038021 */ addu $s0, $s0, $v1
|
||||
/* 0F0844 802CBE94 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0848 802CBE98 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F084C 802CBE9C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F0850 802CBEA0 0C0B210B */ jal get_float_variable
|
||||
/* 0F0854 802CBEA4 46000586 */ mov.s $f22, $f0
|
||||
/* 0F0858 802CBEA8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F085C 802CBEAC 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0860 802CBEB0 0C0B210B */ jal get_float_variable
|
||||
/* 0F0864 802CBEB4 46000506 */ mov.s $f20, $f0
|
||||
/* 0F0868 802CBEB8 24030001 */ addiu $v1, $zero, 1
|
||||
/* 0F086C 802CBEBC E61604B0 */ swc1 $f22, 0x4b0($s0)
|
||||
/* 0F0870 802CBEC0 E61404B4 */ swc1 $f20, 0x4b4($s0)
|
||||
/* 0F0874 802CBEC4 E60004B8 */ swc1 $f0, 0x4b8($s0)
|
||||
/* 0F0878 802CBEC8 A6030506 */ sh $v1, 0x506($s0)
|
||||
/* 0F087C 802CBECC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F0880 802CBED0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F0884 802CBED4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0888 802CBED8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F088C 802CBEDC D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 0F0890 802CBEE0 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0F0894 802CBEE4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F0898 802CBEE8 03E00008 */ jr $ra
|
||||
/* 0F089C 802CBEEC 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
@ -1,46 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel WaitForCam
|
||||
/* 0F0D04 802CC354 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F0D08 802CC358 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F0D0C 802CC35C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0F0D10 802CC360 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 0F0D14 802CC364 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F0D18 802CC368 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F0D1C 802CC36C 8E11000C */ lw $s1, 0xc($s0)
|
||||
/* 0F0D20 802CC370 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* 0F0D24 802CC374 0C0B1EAF */ jal get_variable
|
||||
/* 0F0D28 802CC378 8E250000 */ lw $a1, ($s1)
|
||||
/* 0F0D2C 802CC37C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0F0D30 802CC380 8E250004 */ lw $a1, 4($s1)
|
||||
/* 0F0D34 802CC384 0C0B210B */ jal get_float_variable
|
||||
/* 0F0D38 802CC388 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F0D3C 802CC38C 46000086 */ mov.s $f2, $f0
|
||||
/* 0F0D40 802CC390 3C04800B */ lui $a0, 0x800b
|
||||
/* 0F0D44 802CC394 24841D80 */ addiu $a0, $a0, 0x1d80
|
||||
/* 0F0D48 802CC398 00101080 */ sll $v0, $s0, 2
|
||||
/* 0F0D4C 802CC39C 00501021 */ addu $v0, $v0, $s0
|
||||
/* 0F0D50 802CC3A0 00021080 */ sll $v0, $v0, 2
|
||||
/* 0F0D54 802CC3A4 00501023 */ subu $v0, $v0, $s0
|
||||
/* 0F0D58 802CC3A8 000218C0 */ sll $v1, $v0, 3
|
||||
/* 0F0D5C 802CC3AC 00431021 */ addu $v0, $v0, $v1
|
||||
/* 0F0D60 802CC3B0 000210C0 */ sll $v0, $v0, 3
|
||||
/* 0F0D64 802CC3B4 16400006 */ bnez $s2, .L802CC3D0
|
||||
/* 0F0D68 802CC3B8 00441021 */ addu $v0, $v0, $a0
|
||||
/* 0F0D6C 802CC3BC C4400484 */ lwc1 $f0, 0x484($v0)
|
||||
/* 0F0D70 802CC3C0 4600103E */ c.le.s $f2, $f0
|
||||
/* 0F0D74 802CC3C4 00000000 */ nop
|
||||
/* 0F0D78 802CC3C8 45010002 */ bc1t .L802CC3D4
|
||||
/* 0F0D7C 802CC3CC 24020002 */ addiu $v0, $zero, 2
|
||||
.L802CC3D0:
|
||||
/* 0F0D80 802CC3D0 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802CC3D4:
|
||||
/* 0F0D84 802CC3D4 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 0F0D88 802CC3D8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F0D8C 802CC3DC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F0D90 802CC3E0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F0D94 802CC3E4 03E00008 */ jr $ra
|
||||
/* 0F0D98 802CC3E8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -2,97 +2,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamPerspective
|
||||
/* 0EF1D8 802CA828 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0EF1DC 802CA82C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EF1E0 802CA830 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EF1E4 802CA834 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 0EF1E8 802CA838 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0EF1EC 802CA83C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EF1F0 802CA840 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EF1F4 802CA844 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 0EF1F8 802CA848 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0EF1FC 802CA84C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF200 802CA850 0C0B1EAF */ jal get_variable
|
||||
/* 0EF204 802CA854 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF208 802CA858 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF20C 802CA85C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF210 802CA860 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF214 802CA864 0C0B1EAF */ jal get_variable
|
||||
/* 0EF218 802CA868 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 0EF21C 802CA86C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF220 802CA870 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF224 802CA874 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF228 802CA878 0C0B210B */ jal get_float_variable
|
||||
/* 0EF22C 802CA87C 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 0EF230 802CA880 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF234 802CA884 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF238 802CA888 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF23C 802CA88C 0C0B1EAF */ jal get_variable
|
||||
/* 0EF240 802CA890 46000506 */ mov.s $f20, $f0
|
||||
/* 0EF244 802CA894 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF248 802CA898 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF24C 802CA89C 0C0B1EAF */ jal get_variable
|
||||
/* 0EF250 802CA8A0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EF254 802CA8A4 3C05800B */ lui $a1, 0x800b
|
||||
/* 0EF258 802CA8A8 24A51D80 */ addiu $a1, $a1, 0x1d80
|
||||
/* 0EF25C 802CA8AC 00121880 */ sll $v1, $s2, 2
|
||||
/* 0EF260 802CA8B0 00721821 */ addu $v1, $v1, $s2
|
||||
/* 0EF264 802CA8B4 00031880 */ sll $v1, $v1, 2
|
||||
/* 0EF268 802CA8B8 00721823 */ subu $v1, $v1, $s2
|
||||
/* 0EF26C 802CA8BC 000320C0 */ sll $a0, $v1, 3
|
||||
/* 0EF270 802CA8C0 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0EF274 802CA8C4 000318C0 */ sll $v1, $v1, 3
|
||||
/* 0EF278 802CA8C8 00651821 */ addu $v1, $v1, $a1
|
||||
/* 0EF27C 802CA8CC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 0EF280 802CA8D0 A4620014 */ sh $v0, 0x14($v1)
|
||||
/* 0EF284 802CA8D4 A4730004 */ sh $s3, 4($v1)
|
||||
/* 0EF288 802CA8D8 A4640006 */ sh $a0, 6($v1)
|
||||
/* 0EF28C 802CA8DC A4640008 */ sh $a0, 8($v1)
|
||||
/* 0EF290 802CA8E0 E4740018 */ swc1 $f20, 0x18($v1)
|
||||
/* 0EF294 802CA8E4 A4700012 */ sh $s0, 0x12($v1)
|
||||
/* 0EF298 802CA8E8 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 0EF29C 802CA8EC 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0EF2A0 802CA8F0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EF2A4 802CA8F4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EF2A8 802CA8F8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EF2AC 802CA8FC D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 0EF2B0 802CA900 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EF2B4 802CA904 03E00008 */ jr $ra
|
||||
/* 0EF2B8 802CA908 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
||||
/* 0EF2BC 802CA90C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0EF2C0 802CA910 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EF2C4 802CA914 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EF2C8 802CA918 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0EF2CC 802CA91C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EF2D0 802CA920 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0EF2D4 802CA924 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF2D8 802CA928 0C0B1EAF */ jal get_variable
|
||||
/* 0EF2DC 802CA92C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF2E0 802CA930 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF2E4 802CA934 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF2E8 802CA938 0C0B1EAF */ jal get_variable
|
||||
/* 0EF2EC 802CA93C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EF2F0 802CA940 3C05800B */ lui $a1, 0x800b
|
||||
/* 0EF2F4 802CA944 24A51D80 */ addiu $a1, $a1, 0x1d80
|
||||
/* 0EF2F8 802CA948 00101880 */ sll $v1, $s0, 2
|
||||
/* 0EF2FC 802CA94C 00701821 */ addu $v1, $v1, $s0
|
||||
/* 0EF300 802CA950 00031880 */ sll $v1, $v1, 2
|
||||
/* 0EF304 802CA954 00701823 */ subu $v1, $v1, $s0
|
||||
/* 0EF308 802CA958 000320C0 */ sll $a0, $v1, 3
|
||||
/* 0EF30C 802CA95C 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0EF310 802CA960 000318C0 */ sll $v1, $v1, 3
|
||||
/* 0EF314 802CA964 00651821 */ addu $v1, $v1, $a1
|
||||
/* 0EF318 802CA968 A4620004 */ sh $v0, 4($v1)
|
||||
/* 0EF31C 802CA96C A4600006 */ sh $zero, 6($v1)
|
||||
/* 0EF320 802CA970 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0EF324 802CA974 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EF328 802CA978 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EF32C 802CA97C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EF330 802CA980 03E00008 */ jr $ra
|
||||
/* 0EF334 802CA984 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
glabel func_802CA988
|
||||
/* 0EF338 802CA988 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0EF33C 802CA98C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EF340 802CA990 0080902D */ daddu $s2, $a0, $zero
|
||||
@ -194,4 +104,3 @@ glabel SetCamPerspective
|
||||
/* 0EF4BC 802CAB0C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EF4C0 802CAB10 03E00008 */ jr $ra
|
||||
/* 0EF4C4 802CAB14 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
@ -2,63 +2,7 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel SetCamTarget
|
||||
/* 0EF8DC 802CAF2C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0EF8E0 802CAF30 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0EF8E4 802CAF34 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0EF8E8 802CAF38 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 0EF8EC 802CAF3C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0EF8F0 802CAF40 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0EF8F4 802CAF44 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0EF8F8 802CAF48 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0EF8FC 802CAF4C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF900 802CAF50 0C0B1EAF */ jal get_variable
|
||||
/* 0EF904 802CAF54 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF908 802CAF58 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF90C 802CAF5C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF910 802CAF60 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF914 802CAF64 0C0B1EAF */ jal get_variable
|
||||
/* 0EF918 802CAF68 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 0EF91C 802CAF6C 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF920 802CAF70 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0EF924 802CAF74 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF928 802CAF78 0C0B1EAF */ jal get_variable
|
||||
/* 0EF92C 802CAF7C 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 0EF930 802CAF80 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0EF934 802CAF84 8E050000 */ lw $a1, ($s0)
|
||||
/* 0EF938 802CAF88 0C0B1EAF */ jal get_variable
|
||||
/* 0EF93C 802CAF8C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0EF940 802CAF90 44821000 */ mtc1 $v0, $f2
|
||||
/* 0EF944 802CAF94 00000000 */ nop
|
||||
/* 0EF948 802CAF98 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 0EF94C 802CAF9C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0EF950 802CAFA0 3C05800B */ lui $a1, 0x800b
|
||||
/* 0EF954 802CAFA4 24A51D80 */ addiu $a1, $a1, 0x1d80
|
||||
/* 0EF958 802CAFA8 00521804 */ sllv $v1, $s2, $v0
|
||||
/* 0EF95C 802CAFAC 00721821 */ addu $v1, $v1, $s2
|
||||
/* 0EF960 802CAFB0 00431804 */ sllv $v1, $v1, $v0
|
||||
/* 0EF964 802CAFB4 00721823 */ subu $v1, $v1, $s2
|
||||
/* 0EF968 802CAFB8 000320C0 */ sll $a0, $v1, 3
|
||||
/* 0EF96C 802CAFBC 00641821 */ addu $v1, $v1, $a0
|
||||
/* 0EF970 802CAFC0 000318C0 */ sll $v1, $v1, 3
|
||||
/* 0EF974 802CAFC4 00651821 */ addu $v1, $v1, $a1
|
||||
/* 0EF978 802CAFC8 44930000 */ mtc1 $s3, $f0
|
||||
/* 0EF97C 802CAFCC 00000000 */ nop
|
||||
/* 0EF980 802CAFD0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0EF984 802CAFD4 E4600060 */ swc1 $f0, 0x60($v1)
|
||||
/* 0EF988 802CAFD8 44900000 */ mtc1 $s0, $f0
|
||||
/* 0EF98C 802CAFDC 00000000 */ nop
|
||||
/* 0EF990 802CAFE0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 0EF994 802CAFE4 E4600064 */ swc1 $f0, 0x64($v1)
|
||||
/* 0EF998 802CAFE8 E4620068 */ swc1 $f2, 0x68($v1)
|
||||
/* 0EF99C 802CAFEC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 0EF9A0 802CAFF0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0EF9A4 802CAFF4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0EF9A8 802CAFF8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0EF9AC 802CAFFC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EF9B0 802CB000 03E00008 */ jr $ra
|
||||
/* 0EF9B4 802CB004 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
||||
glabel func_802CB008
|
||||
/* 0EF9B8 802CB008 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 0EF9BC 802CB00C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0EF9C0 802CB010 0080982D */ daddu $s3, $a0, $zero
|
||||
@ -241,4 +185,3 @@ glabel SetCamTarget
|
||||
/* 0EFC4C 802CB29C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0EFC50 802CB2A0 03E00008 */ jr $ra
|
||||
/* 0EFC54 802CB2A4 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel ClearPartnerMoveHistory
|
||||
/* 0F3D20 802CF370 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F3D24 802CF374 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F3D28 802CF378 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 0F3D2C 802CF37C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 0F3D30 802CF380 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 0F3D34 802CF384 0C0B1EAF */ jal get_variable
|
||||
/* 0F3D38 802CF388 8C450000 */ lw $a1, ($v0)
|
||||
/* 0F3D3C 802CF38C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0F3D40 802CF390 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F3D44 802CF394 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 0F3D48 802CF398 50400004 */ beql $v0, $zero, .L802CF3AC
|
||||
/* 0F3D4C 802CF39C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F3D50 802CF3A0 0C03BD17 */ jal clear_partner_move_history
|
||||
/* 0F3D54 802CF3A4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0F3D58 802CF3A8 24020002 */ addiu $v0, $zero, 2
|
||||
.L802CF3AC:
|
||||
/* 0F3D5C 802CF3AC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 0F3D60 802CF3B0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F3D64 802CF3B4 03E00008 */ jr $ra
|
||||
/* 0F3D68 802CF3B8 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -1,22 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel DeleteNpc
|
||||
/* 0F25CC 802CDC1C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F25D0 802CDC20 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0F25D4 802CDC24 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 0F25D8 802CDC28 0C0B1EAF */ jal get_variable
|
||||
/* 0F25DC 802CDC2C 8C450000 */ lw $a1, ($v0)
|
||||
/* 0F25E0 802CDC30 0C00EABB */ jal get_npc_unsafe
|
||||
/* 0F25E4 802CDC34 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0F25E8 802CDC38 50400004 */ beql $v0, $zero, .L802CDC4C
|
||||
/* 0F25EC 802CDC3C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F25F0 802CDC40 0C00E273 */ jal free_npc
|
||||
/* 0F25F4 802CDC44 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0F25F8 802CDC48 24020002 */ addiu $v0, $zero, 2
|
||||
.L802CDC4C:
|
||||
/* 0F25FC 802CDC4C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0F2600 802CDC50 03E00008 */ jr $ra
|
||||
/* 0F2604 802CDC54 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel DisablePartnerAI
|
||||
/* 0F3E98 802CF4E8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F3E9C 802CF4EC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0F3EA0 802CF4F0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 0F3EA4 802CF4F4 0C0B1EAF */ jal get_variable
|
||||
/* 0F3EA8 802CF4F8 8C450000 */ lw $a1, ($v0)
|
||||
/* 0F3EAC 802CF4FC 14400005 */ bnez $v0, .L802CF514
|
||||
/* 0F3EB0 802CF500 00000000 */ nop
|
||||
/* 0F3EB4 802CF504 0C03BCC5 */ jal func_800EF314
|
||||
/* 0F3EB8 802CF508 00000000 */ nop
|
||||
/* 0F3EBC 802CF50C 080B3D47 */ j .L802CF51C
|
||||
/* 0F3EC0 802CF510 00000000 */ nop
|
||||
|
||||
.L802CF514:
|
||||
/* 0F3EC4 802CF514 0C03BCC0 */ jal func_800EF300
|
||||
/* 0F3EC8 802CF518 00000000 */ nop
|
||||
.L802CF51C:
|
||||
/* 0F3ECC 802CF51C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0F3ED0 802CF520 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F3ED4 802CF524 03E00008 */ jr $ra
|
||||
/* 0F3ED8 802CF528 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel EnableNpcBlur
|
||||
/* 0F3C9C 802CF2EC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F3CA0 802CF2F0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F3CA4 802CF2F4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0F3CA8 802CF2F8 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0F3CAC 802CF2FC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F3CB0 802CF300 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0F3CB4 802CF304 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F3CB8 802CF308 0C0B1EAF */ jal get_variable
|
||||
/* 0F3CBC 802CF30C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F3CC0 802CF310 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F3CC4 802CF314 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F3CC8 802CF318 0C0B1EAF */ jal get_variable
|
||||
/* 0F3CCC 802CF31C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F3CD0 802CF320 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F3CD4 802CF324 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 0F3CD8 802CF328 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F3CDC 802CF32C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F3CE0 802CF330 5040000A */ beql $v0, $zero, .L802CF35C
|
||||
/* 0F3CE4 802CF334 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F3CE8 802CF338 12000005 */ beqz $s0, .L802CF350
|
||||
/* 0F3CEC 802CF33C 00000000 */ nop
|
||||
/* 0F3CF0 802CF340 0C00EB49 */ jal enable_npc_blur
|
||||
/* 0F3CF4 802CF344 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0F3CF8 802CF348 080B3CD7 */ j .L802CF35C
|
||||
/* 0F3CFC 802CF34C 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
.L802CF350:
|
||||
/* 0F3D00 802CF350 0C00EB6B */ jal disable_npc_blur
|
||||
/* 0F3D04 802CF354 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0F3D08 802CF358 24020002 */ addiu $v0, $zero, 2
|
||||
.L802CF35C:
|
||||
/* 0F3D0C 802CF35C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0F3D10 802CF360 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F3D14 802CF364 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F3D18 802CF368 03E00008 */ jr $ra
|
||||
/* 0F3D1C 802CF36C 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel EnableNpcShadow
|
||||
/* 0F3C18 802CF268 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F3C1C 802CF26C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F3C20 802CF270 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0F3C24 802CF274 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0F3C28 802CF278 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F3C2C 802CF27C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0F3C30 802CF280 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F3C34 802CF284 0C0B1EAF */ jal get_variable
|
||||
/* 0F3C38 802CF288 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F3C3C 802CF28C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F3C40 802CF290 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F3C44 802CF294 0C0B1EAF */ jal get_variable
|
||||
/* 0F3C48 802CF298 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F3C4C 802CF29C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F3C50 802CF2A0 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 0F3C54 802CF2A4 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F3C58 802CF2A8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F3C5C 802CF2AC 5040000A */ beql $v0, $zero, .L802CF2D8
|
||||
/* 0F3C60 802CF2B0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F3C64 802CF2B4 12000005 */ beqz $s0, .L802CF2CC
|
||||
/* 0F3C68 802CF2B8 00000000 */ nop
|
||||
/* 0F3C6C 802CF2BC 0C00EAE8 */ jal enable_npc_shadow
|
||||
/* 0F3C70 802CF2C0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0F3C74 802CF2C4 080B3CB6 */ j .L802CF2D8
|
||||
/* 0F3C78 802CF2C8 24020002 */ addiu $v0, $zero, 2
|
||||
|
||||
.L802CF2CC:
|
||||
/* 0F3C7C 802CF2CC 0C00EAFF */ jal disable_npc_shadow
|
||||
/* 0F3C80 802CF2D0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0F3C84 802CF2D4 24020002 */ addiu $v0, $zero, 2
|
||||
.L802CF2D8:
|
||||
/* 0F3C88 802CF2D8 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0F3C8C 802CF2DC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F3C90 802CF2E0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F3C94 802CF2E4 03E00008 */ jr $ra
|
||||
/* 0F3C98 802CF2E8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,46 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel EnablePartnerAI
|
||||
/* 0F3EDC 802CF52C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F3EE0 802CF530 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0F3EE4 802CF534 0C03BCCA */ jal enable_partner_ai
|
||||
/* 0F3EE8 802CF538 00000000 */ nop
|
||||
/* 0F3EEC 802CF53C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0F3EF0 802CF540 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F3EF4 802CF544 03E00008 */ jr $ra
|
||||
/* 0F3EF8 802CF548 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 0F3EFC 802CF54C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F3F00 802CF550 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0F3F04 802CF554 0C03BD0F */ jal func_800EF43C
|
||||
/* 0F3F08 802CF558 00000000 */ nop
|
||||
/* 0F3F0C 802CF55C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0F3F10 802CF560 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F3F14 802CF564 03E00008 */ jr $ra
|
||||
/* 0F3F18 802CF568 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
||||
/* 0F3F1C 802CF56C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 0F3F20 802CF570 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 0F3F24 802CF574 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 0F3F28 802CF578 0C0B1EAF */ jal get_variable
|
||||
/* 0F3F2C 802CF57C 8C450000 */ lw $a1, ($v0)
|
||||
/* 0F3F30 802CF580 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0F3F34 802CF584 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F3F38 802CF588 14820005 */ bne $a0, $v0, .L802CF5A0
|
||||
/* 0F3F3C 802CF58C 00000000 */ nop
|
||||
/* 0F3F40 802CF590 0C03BCF9 */ jal func_800EF3E4
|
||||
/* 0F3F44 802CF594 00000000 */ nop
|
||||
/* 0F3F48 802CF598 080B3D6A */ j .L802CF5A8
|
||||
/* 0F3F4C 802CF59C 00000000 */ nop
|
||||
|
||||
.L802CF5A0:
|
||||
/* 0F3F50 802CF5A0 0C03BCF5 */ jal func_800EF3D4
|
||||
/* 0F3F54 802CF5A4 00000000 */ nop
|
||||
.L802CF5A8:
|
||||
/* 0F3F58 802CF5A8 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 0F3F5C 802CF5AC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F3F60 802CF5B0 03E00008 */ jr $ra
|
||||
/* 0F3F64 802CF5B4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -93,7 +93,7 @@ glabel GetCurrentPartnerID
|
||||
/* 0F4774 802CFDC4 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 0F4778 802CFDC8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F477C 802CFDCC 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0F4780 802CFDD0 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F4780 802CFDD0 0C0B36B0 */ jal resolve_npc
|
||||
/* 0F4784 802CFDD4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F4788 802CFDD8 10400009 */ beqz $v0, .L802CFE00
|
||||
/* 0F478C 802CFDDC 0040202D */ daddu $a0, $v0, $zero
|
||||
@ -129,7 +129,7 @@ glabel GetCurrentPartnerID
|
||||
/* 0F47FC 802CFE4C 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F4800 802CFE50 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0F4804 802CFE54 8E310000 */ lw $s1, ($s1)
|
||||
/* 0F4808 802CFE58 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F4808 802CFE58 0C0B36B0 */ jal resolve_npc
|
||||
/* 0F480C 802CFE5C 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 0F4810 802CFE60 54400001 */ bnel $v0, $zero, .L802CFE68
|
||||
/* 0F4814 802CFE64 A45100A2 */ sh $s1, 0xa2($v0)
|
||||
@ -156,7 +156,7 @@ glabel GetCurrentPartnerID
|
||||
/* 0F4860 802CFEB0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F4864 802CFEB4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F4868 802CFEB8 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 0F486C 802CFEBC 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F486C 802CFEBC 0C0B36B0 */ jal resolve_npc
|
||||
/* 0F4870 802CFEC0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F4874 802CFEC4 10400003 */ beqz $v0, .L802CFED4
|
||||
/* 0F4878 802CFEC8 0040202D */ daddu $a0, $v0, $zero
|
||||
@ -204,7 +204,7 @@ glabel GetCurrentPartnerID
|
||||
/* 0F4918 802CFF68 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 0F491C 802CFF6C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F4920 802CFF70 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0F4924 802CFF74 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F4924 802CFF74 0C0B36B0 */ jal resolve_npc
|
||||
/* 0F4928 802CFF78 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F492C 802CFF7C 10400006 */ beqz $v0, .L802CFF98
|
||||
/* 0F4930 802CFF80 0040202D */ daddu $a0, $v0, $zero
|
||||
@ -282,7 +282,7 @@ glabel GetCurrentPartnerID
|
||||
/* 0F4A48 802D0098 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 0F4A4C 802D009C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F4A50 802D00A0 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0F4A54 802D00A4 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F4A54 802D00A4 0C0B36B0 */ jal resolve_npc
|
||||
/* 0F4A58 802D00A8 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 0F4A5C 802D00AC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F4A60 802D00B0 1200000C */ beqz $s0, .L802D00E4
|
||||
|
@ -1,60 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetNpcAnimation
|
||||
/* 0F2B10 802CE160 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F2B14 802CE164 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F2B18 802CE168 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0F2B1C 802CE16C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0F2B20 802CE170 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F2B24 802CE174 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0F2B28 802CE178 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F2B2C 802CE17C 0C0B1EAF */ jal get_variable
|
||||
/* 0F2B30 802CE180 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F2B34 802CE184 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F2B38 802CE188 8E100000 */ lw $s0, ($s0)
|
||||
/* 0F2B3C 802CE18C 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F2B40 802CE190 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 0F2B44 802CE194 10400004 */ beqz $v0, .L802CE1A8
|
||||
/* 0F2B48 802CE198 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F2B4C 802CE19C 8C460028 */ lw $a2, 0x28($v0)
|
||||
/* 0F2B50 802CE1A0 0C0B2026 */ jal set_variable
|
||||
/* 0F2B54 802CE1A4 0200282D */ daddu $a1, $s0, $zero
|
||||
.L802CE1A8:
|
||||
/* 0F2B58 802CE1A8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F2B5C 802CE1AC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0F2B60 802CE1B0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F2B64 802CE1B4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F2B68 802CE1B8 03E00008 */ jr $ra
|
||||
/* 0F2B6C 802CE1BC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
||||
/* 0F2B70 802CE1C0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F2B74 802CE1C4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F2B78 802CE1C8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0F2B7C 802CE1CC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0F2B80 802CE1D0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F2B84 802CE1D4 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 0F2B88 802CE1D8 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0F2B8C 802CE1DC 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F2B90 802CE1E0 0C0B1EAF */ jal get_variable
|
||||
/* 0F2B94 802CE1E4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F2B98 802CE1E8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F2B9C 802CE1EC 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F2BA0 802CE1F0 0C0B210B */ jal get_float_variable
|
||||
/* 0F2BA4 802CE1F4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F2BA8 802CE1F8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F2BAC 802CE1FC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 0F2BB0 802CE200 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F2BB4 802CE204 46000506 */ mov.s $f20, $f0
|
||||
/* 0F2BB8 802CE208 54400001 */ bnel $v0, $zero, .L802CE210
|
||||
/* 0F2BBC 802CE20C E4540030 */ swc1 $f20, 0x30($v0)
|
||||
.L802CE210:
|
||||
/* 0F2BC0 802CE210 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F2BC4 802CE214 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0F2BC8 802CE218 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F2BCC 802CE21C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F2BD0 802CE220 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 0F2BD4 802CE224 03E00008 */ jr $ra
|
||||
/* 0F2BD8 802CE228 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -1,28 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetNpcPointer
|
||||
/* 0F2608 802CDC58 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F260C 802CDC5C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F2610 802CDC60 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0F2614 802CDC64 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0F2618 802CDC68 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F261C 802CDC6C 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0F2620 802CDC70 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F2624 802CDC74 0C0B1EAF */ jal get_variable
|
||||
/* 0F2628 802CDC78 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F262C 802CDC7C 8E100000 */ lw $s0, ($s0)
|
||||
/* 0F2630 802CDC80 0C00EAD2 */ jal get_npc_safe
|
||||
/* 0F2634 802CDC84 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 0F2638 802CDC88 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F263C 802CDC8C 0040302D */ daddu $a2, $v0, $zero
|
||||
/* 0F2640 802CDC90 0C0B2026 */ jal set_variable
|
||||
/* 0F2644 802CDC94 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 0F2648 802CDC98 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0F264C 802CDC9C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F2650 802CDCA0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F2654 802CDCA4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F2658 802CDCA8 03E00008 */ jr $ra
|
||||
/* 0F265C 802CDCAC 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -20,7 +20,7 @@ glabel GetNpcPos
|
||||
/* 0F3ADC 802CF12C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F3AE0 802CF130 8E130000 */ lw $s3, ($s0)
|
||||
/* 0F3AE4 802CF134 8E140004 */ lw $s4, 4($s0)
|
||||
/* 0F3AE8 802CF138 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F3AE8 802CF138 0C0B36B0 */ jal resolve_npc
|
||||
/* 0F3AEC 802CF13C 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 0F3AF0 802CF140 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F3AF4 802CF144 12000012 */ beqz $s0, .L802CF190
|
||||
@ -64,7 +64,7 @@ glabel GetNpcPos
|
||||
/* 0F3B84 802CF1D4 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F3B88 802CF1D8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0F3B8C 802CF1DC 8E310000 */ lw $s1, ($s1)
|
||||
/* 0F3B90 802CF1E0 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F3B90 802CF1E0 0C0B36B0 */ jal resolve_npc
|
||||
/* 0F3B94 802CF1E4 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 0F3B98 802CF1E8 54400001 */ bnel $v0, $zero, .L802CF1F0
|
||||
/* 0F3B9C 802CF1EC AC510080 */ sw $s1, 0x80($v0)
|
||||
@ -87,7 +87,7 @@ glabel GetNpcPos
|
||||
/* 0F3BD8 802CF228 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F3BDC 802CF22C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 0F3BE0 802CF230 8E310000 */ lw $s1, ($s1)
|
||||
/* 0F3BE4 802CF234 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F3BE4 802CF234 0C0B36B0 */ jal resolve_npc
|
||||
/* 0F3BE8 802CF238 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 0F3BEC 802CF23C 10400004 */ beqz $v0, .L802CF250
|
||||
/* 0F3BF0 802CF240 0040202D */ daddu $a0, $v0, $zero
|
||||
|
@ -1,36 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetNpcYaw
|
||||
/* 0F33C0 802CEA10 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 0F33C4 802CEA14 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F33C8 802CEA18 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0F33CC 802CEA1C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 0F33D0 802CEA20 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F33D4 802CEA24 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 0F33D8 802CEA28 8E050000 */ lw $a1, ($s0)
|
||||
/* 0F33DC 802CEA2C 0C0B1EAF */ jal get_variable
|
||||
/* 0F33E0 802CEA30 26100004 */ addiu $s0, $s0, 4
|
||||
/* 0F33E4 802CEA34 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F33E8 802CEA38 8E100000 */ lw $s0, ($s0)
|
||||
/* 0F33EC 802CEA3C 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F33F0 802CEA40 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 0F33F4 802CEA44 5040000A */ beql $v0, $zero, .L802CEA70
|
||||
/* 0F33F8 802CEA48 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F33FC 802CEA4C C44C000C */ lwc1 $f12, 0xc($v0)
|
||||
/* 0F3400 802CEA50 0C00A6C9 */ jal clamp_angle
|
||||
/* 0F3404 802CEA54 00000000 */ nop
|
||||
/* 0F3408 802CEA58 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F340C 802CEA5C 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 0F3410 802CEA60 44061000 */ mfc1 $a2, $f2
|
||||
/* 0F3414 802CEA64 0C0B2026 */ jal set_variable
|
||||
/* 0F3418 802CEA68 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 0F341C 802CEA6C 24020002 */ addiu $v0, $zero, 2
|
||||
.L802CEA70:
|
||||
/* 0F3420 802CEA70 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 0F3424 802CEA74 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F3428 802CEA78 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F342C 802CEA7C 03E00008 */ jr $ra
|
||||
/* 0F3430 802CEA80 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -1,51 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
|
||||
glabel GetPartnerPos
|
||||
/* 0F3DE8 802CF438 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 0F3DEC 802CF43C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 0F3DF0 802CF440 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 0F3DF4 802CF444 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 0F3DF8 802CF448 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 0F3DFC 802CF44C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 0F3E00 802CF450 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 0F3E04 802CF454 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 0F3E08 802CF458 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 0F3E0C 802CF45C 8C520000 */ lw $s2, ($v0)
|
||||
/* 0F3E10 802CF460 24420004 */ addiu $v0, $v0, 4
|
||||
/* 0F3E14 802CF464 8C530000 */ lw $s3, ($v0)
|
||||
/* 0F3E18 802CF468 8C540004 */ lw $s4, 4($v0)
|
||||
/* 0F3E1C 802CF46C 0C00EABB */ jal get_npc_unsafe
|
||||
/* 0F3E20 802CF470 2404FFFC */ addiu $a0, $zero, -4
|
||||
/* 0F3E24 802CF474 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F3E28 802CF478 12000012 */ beqz $s0, .L802CF4C4
|
||||
/* 0F3E2C 802CF47C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F3E30 802CF480 C6000038 */ lwc1 $f0, 0x38($s0)
|
||||
/* 0F3E34 802CF484 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 0F3E38 802CF488 44061000 */ mfc1 $a2, $f2
|
||||
/* 0F3E3C 802CF48C 0C0B2026 */ jal set_variable
|
||||
/* 0F3E40 802CF490 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 0F3E44 802CF494 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F3E48 802CF498 C600003C */ lwc1 $f0, 0x3c($s0)
|
||||
/* 0F3E4C 802CF49C 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 0F3E50 802CF4A0 44061000 */ mfc1 $a2, $f2
|
||||
/* 0F3E54 802CF4A4 0C0B2026 */ jal set_variable
|
||||
/* 0F3E58 802CF4A8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 0F3E5C 802CF4AC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 0F3E60 802CF4B0 C6000040 */ lwc1 $f0, 0x40($s0)
|
||||
/* 0F3E64 802CF4B4 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 0F3E68 802CF4B8 44061000 */ mfc1 $a2, $f2
|
||||
/* 0F3E6C 802CF4BC 0C0B2026 */ jal set_variable
|
||||
/* 0F3E70 802CF4C0 0280282D */ daddu $a1, $s4, $zero
|
||||
.L802CF4C4:
|
||||
/* 0F3E74 802CF4C4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 0F3E78 802CF4C8 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 0F3E7C 802CF4CC 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 0F3E80 802CF4D0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 0F3E84 802CF4D4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 0F3E88 802CF4D8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 0F3E8C 802CF4DC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 0F3E90 802CF4E0 03E00008 */ jr $ra
|
||||
/* 0F3E94 802CF4E4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
|
@ -21,7 +21,7 @@ glabel InterpNpcYaw
|
||||
/* 0F34F0 802CEB40 0C0B1EAF */ jal get_variable
|
||||
/* 0F34F4 802CEB44 26310004 */ addiu $s1, $s1, 4
|
||||
/* 0F34F8 802CEB48 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 0F34FC 802CEB4C 0C0B36B0 */ jal func_802CDAC0
|
||||
/* 0F34FC 802CEB4C 0C0B36B0 */ jal resolve_npc
|
||||
/* 0F3500 802CEB50 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 0F3504 802CEB54 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 0F3508 802CEB58 12000052 */ beqz $s0, .L802CECA4
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user