Merge branch 'master' into battles

This commit is contained in:
Ethan Roseman 2020-12-27 09:48:26 -05:00 committed by GitHub
commit a7e0a2fb87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
393 changed files with 6827 additions and 6193 deletions

View File

@ -7,8 +7,8 @@ CheckOptions:
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.TypedefCase
value: CamelCase
#- key: readability-identifier-naming.TypedefCase
# value: CamelCase
# TODO: rename all unk_XXX members
#- key: readability-identifier-naming.MemberCase

2
.gitignore vendored
View File

@ -19,7 +19,9 @@ settings.mk
/build/
/docs/doxygen/
/include/ld_addrs.h
/include/message_ids.h
/include/sprite/
/include/map
# Assets
/bin

View File

@ -24,4 +24,7 @@
"python.analysis.extraPaths": [
"./tools"
],
"[c]": {
"editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?", // no $, for scripts
},
}

80
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,80 @@
## Contributing
### Dependencies
There are a few additional dependencies needed when contributing to this project. You can install them with `./install.sh --extra`.
### WSL
We provide [windows_terminal.bat](tools/windows_terminal.bat) to open a [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701) with a recommended layout. Make sure a default distro (e.g. `wsl --set-default ubuntu`) is set beforehand.
### Rebuilding
If you use Visual Studio Code, you can use _Run Build Task_ (Ctrl+Shift+B) to run `make`. Any errors or warnings generated by the compiler will show up in the _Problems_ tab.
### Matching a function
#### Setup
Once you've created a successful (`OK`) build, copy `build/` to `expected/build/`:
```sh
$ mkdir -p expected
$ cp -r build expected
```
#### Roughly converting assembly to C
Decide on a function to match. These can be found in the subdirectories of `asm/nonmatchings/`. Currently, functions which use float constants, data sections, or jump tables are unmatchable.
Take the relevant `.s` file and pass it to [mips_to_c](https://github.com/matt-kempster/mips_to_c) ([web version](https://simonsoftware.se/other/mips_to_c.py)).
You can also use mips_to_c locally installed to a destination of your choice. Then register a function in `~/.bashrc` that calls `path/to/mips_to_c.py (with args)`:
```
sudo apt update
sudo apt install python3-pip
sudo git clone https://github.com/matt-kempster/mips_to_c.git path/to/mips_to_c
```
Here's a starter function you can use:
```sh
# don't forget to replace /path/to/mips_to_c with your path
function mipstoc() {
if [ "$#" -gt 1 ]; then
/path/to/mips_to_c/mips_to_c.py $@;
else
printf "Please call mipstoc using this format and make sure you're at the repo root:";
printf "\nmipstoc \033[0;31marg1 - the nonmatching asm file\033[0m \033[0;34marg2 - the target function\033[0m \033[0;33margN - any of the optional mips_to_c.py flags\033[0m";
printf "\nmipstoc \033[0;31m./asm/nonmatchings/code_13870_len_6980/func_8003B3D0.s\033[0m \033[0;34mfunc_8003B3D0\033[0m \033[0;33m--flag1 --flag2 --flagN\033[0m\n";
/path/to/mips_to_c/mips_to_c.py;
fi
}
export -f mipstoc
```
Open up the relevant `.c` file and replace the function's `INCLUDE_ASM` macro with the output from mips_to_c. Run the following command to attempt to compile, replacing `function_name` with the name of the function you're working with:
```sh
./diff.py -mwo function_name
```
Fix any errors and rerun `diff.py`. This will involve typing the function signature correctly, which you will probably find in [Star Rod's library database](https://github.com/nanaian/star-rod/blob/master/database/common_func_library.lib). See also [common_structs.h](include/common_structs.h).
Once a successful build is made, `diff.py` will show you the difference between the original game's assembly (on the left) and what your C code generated (on the right).
#### Matching the function
You're on your own now. Get your C code compiling to match the original assembly! `diff.py`, when running, will automatically recompile your code whenever you save the `.c` file.
If you use Visual Studio Code, you can use _Run Test Task_ to run `diff.py` and show you errors and warnings from the compiler inline. You might want to attach _Run Test Task_ to a keybinding, as you'll be using it often.
#### After matching
Once you've matched a function, run the following scripts:
```sh
$ ./coverage.py --delete-matched
$ ./format.sh
```
If `format.sh` has any problems with your code, go and fix the issues. If you can't fix a warning without making the function not match anymore, append `// NOLINT` to the offending line.

View File

@ -9,8 +9,6 @@ NON_MATCHING = 0
WATCH_INCLUDES = 1
WSL_ELEVATE_GUI = 1
-include settings.mk
# Fail early if baserom does not exist
ifeq ($(wildcard $(BASEROM)),)
$(error Baserom `$(BASEROM)' not found.)
@ -37,7 +35,7 @@ LD_MAP := $(BUILD_DIR)/$(TARGET).map
ASSETS_BIN := $(BUILD_DIR)/bin/assets/assets.bin
MSG_BIN := $(BUILD_DIR)/msg.bin
NPC_BIN := $(BUILD_DIR)/sprite/npc.bin
GENERATED_HEADERS := include/ld_addrs.h include/sprite
### Tools ###
@ -49,8 +47,6 @@ YAY0COMPRESS = tools/Yay0compress
EMULATOR = mupen64plus
### Compiler Options ###
CROSS := mips-linux-gnu-
AS := $(CROSS)as
OLD_AS := tools/mips-nintendo-nu64-as
@ -59,28 +55,31 @@ CPP := cpp
LD := $(CROSS)ld
OBJCOPY := $(CROSS)objcopy
WSL := 0
JAVA := java
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
OS=linux
ICONV := iconv --from UTF-8 --to SHIFT-JIS
ifeq ($(findstring microsoft,$(shell cat /proc/sys/kernel/osrelease)),microsoft)
WSL := 1
ifeq ($(WSL_ELEVATE_GUI),1)
JAVA := powershell.exe -command java
endif
endif
endif
ifeq ($(UNAME_S),Darwin)
OS=mac
ICONV := tools/iconv.py UTF-8 SHIFT-JIS
endif
WSL := 0
JAVA := java
ifeq ($(findstring microsoft,$(shell cat /proc/sys/kernel/osrelease)),microsoft)
WSL := 1
ifeq ($(WSL_ELEVATE_GUI),1)
JAVA := powershell.exe -command java
endif
endif
OLD_AS=tools/$(OS)/mips-nintendo-nu64-as
CC=tools/$(OS)/cc1
### Compiler Options ###
CPPFLAGS := -Iinclude -Isrc -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2 -D_MIPS_SZLONG=32 -Wundef -Wcomment
ASFLAGS := -EB -Iinclude -march=vr4300 -mtune=vr4300
OLDASFLAGS := -EB -Iinclude -G 0
@ -96,6 +95,7 @@ ifeq ($(NON_MATCHING),1)
CPPFLAGS += -DNON_MATCHING
endif
-include settings.mk
### Sources ###
@ -111,11 +111,15 @@ ifeq ($(WATCH_INCLUDES),1)
-include $(foreach obj, $(OBJECTS), $(obj).mk)
endif
NPC_DIRS := $(foreach npc, $(NPC_SPRITES), sprite/npc/$(npc))
GENERATED_HEADERS := include/ld_addrs.h $(foreach dir, $(NPC_DIRS), include/$(dir).h)
### Targets ###
clean:
rm -rf $(BUILD_DIR) bin msg img sprite .splat_cache
rm -rf $(BUILD_DIR) bin msg img sprite .splat_cache $(LD_SCRIPT)
clean-code:
rm -rf $(BUILD_DIR)/src
@ -123,15 +127,15 @@ clean-code:
tools:
make -C tools
setup: clean submodules tools split $(LD_SCRIPT)
setup: clean submodules tools $(LD_SCRIPT)
# tools/star-rod submodule intentionally omitted
submodules:
git submodule init tools/n64splat
git submodule update --init --recursive
git submodule update --recursive
split:
$(SPLAT) --modes ld bin Yay0 PaperMarioMapFS PaperMarioMessages img PaperMarioNpcSprites --new
make $(LD_SCRIPT) -W $(SPLAT_YAML)
split-%:
$(SPLAT) --modes ld $* --verbose
@ -242,7 +246,6 @@ $(MSG_BIN:.bin=.o): $(MSG_BIN)
# Sprites
$(foreach npc, $(NPC_SPRITES), $(eval $(BUILD_DIR)/sprite/npc/$(npc):: $(shell find sprite/npc/$(npc) -type f 2> /dev/null))) # dependencies
NPC_DIRS := $(foreach npc, $(NPC_SPRITES), sprite/npc/$(npc))
NPC_YAY0 := $(foreach npc, $(NPC_SPRITES), $(BUILD_DIR)/sprite/npc/$(npc).Yay0)
$(BUILD_DIR)/sprite/npc/%:: sprite/npc/% tools/compile_npc_sprite.py
@mkdir -p $(shell dirname $@)
@ -257,10 +260,13 @@ include/sprite/npc/%.h: sprite/npc/%/SpriteSheet.xml tools/gen_sprite_animations
@mkdir -p $(shell dirname $@)
@echo "building $@"
@$(PYTHON) tools/gen_sprite_animations_h.py $@ sprite/npc/$* $(NPC_DIRS)
include/sprite: $(foreach dir, $(NPC_DIRS), include/$(dir).h)
### Linker ###
$(LD_SCRIPT): $(SPLAT_YAML)
$(SPLAT) --modes ld
$(SPLAT) --modes ld bin Yay0 PaperMarioMapFS PaperMarioMessages img PaperMarioNpcSprites --new
make $(GENERATED_HEADERS)
$(BUILD_DIR)/$(LD_SCRIPT): $(LD_SCRIPT)
@mkdir -p $(shell dirname $@)
@ -299,7 +305,7 @@ editor: tools/star-rod sprite/SpriteTable.xml
### Make Settings ###
.PHONY: clean tools test setup submodules split editor $(ROM) include/sprite
.PHONY: clean tools test setup submodules split editor $(ROM)
.DELETE_ON_ERROR:
.SECONDARY:
.PRECIOUS: $(ROM) %.Yay0

View File

@ -47,85 +47,7 @@ If you get `OK`, you're all set! Otherwise, please feel free to reach out to us
You can open [our modified version of Star Rod](https://github.com/nanaian/star-rod-for-decomp) with `make editor`.
## Contributing
### Dependencies
There are a few additional dependencies needed when contributing to this project. You can install them with `./install.sh --extra`.
### WSL
We provide [windows_terminal.bat](tools/windows_terminal.bat) to open a [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701) with a recommended layout. Make sure a default distro (e.g. `wsl --set-default ubuntu`) is set beforehand.
### Rebuilding
If you use Visual Studio Code, you can use _Run Build Task_ (Ctrl+Shift+B) to run `make`. Any errors or warnings generated by the compiler will show up in the _Problems_ tab.
### Matching a function
#### Setup
Once you've created a successful (`OK`) build, copy `build/` to `expected/build/`:
```sh
$ mkdir -p expected
$ cp -r build expected
```
#### Roughly converting assembly to C
Decide on a function to match. These can be found in the subdirectories of `asm/nonmatchings/`. Currently, functions which use float constants, data sections, or jump tables are unmatchable.
Take the relevant `.s` file and pass it to [mips_to_c](https://github.com/matt-kempster/mips_to_c) ([web version](https://simonsoftware.se/other/mips_to_c.py)).
You can also use mips_to_c locally installed to a destination of your choice. Then register a function in `~/.bashrc` that calls `path/to/mips_to_c.py (with args)`:
```
sudo apt update
sudo apt install python3-pip
sudo git clone https://github.com/matt-kempster/mips_to_c.git path/to/mips_to_c
```
Here's a starter function you can use:
```sh
# don't forget to replace /path/to/mips_to_c with your path
function mipstoc() {
if [ "$#" -gt 1 ]; then
/path/to/mips_to_c/mips_to_c.py $@;
else
printf "Please call mipstoc using this format and make sure you're at the repo root:";
printf "\nmipstoc \033[0;31marg1 - the nonmatching asm file\033[0m \033[0;34marg2 - the target function\033[0m \033[0;33margN - any of the optional mips_to_c.py flags\033[0m";
printf "\nmipstoc \033[0;31m./asm/nonmatchings/code_13870_len_6980/func_8003B3D0.s\033[0m \033[0;34mfunc_8003B3D0\033[0m \033[0;33m--flag1 --flag2 --flagN\033[0m\n";
/path/to/mips_to_c/mips_to_c.py;
fi
}
export -f mipstoc
```
Open up the relevant `.c` file and replace the function's `INCLUDE_ASM` macro with the output from mips_to_c. Run the following command to attempt to compile, replacing `function_name` with the name of the function you're working with:
```sh
./diff.py -mwo function_name
```
Fix any errors and rerun `diff.py`. This will involve typing the function signature correctly, which you will probably find in [Star Rod's library database](https://github.com/nanaian/star-rod/blob/master/database/common_func_library.lib). See also [common_structs.h](include/common_structs.h).
Once a successful build is made, `diff.py` will show you the difference between the original game's assembly (on the left) and what your C code generated (on the right).
#### Matching the function
You're on your own now. Get your C code compiling to match the original assembly! `diff.py`, when running, will automatically recompile your code whenever you save the `.c` file.
If you use Visual Studio Code, you can use _Run Test Task_ to run `diff.py` and show you errors and warnings from the compiler inline. You might want to attach _Run Test Task_ to a keybinding, as you'll be using it often.
#### After matching
Once you've matched a function, run the following scripts:
```sh
$ ./coverage.py --delete-matched
$ ./format.sh
```
If `format.sh` has any problems with your code, go and fix the issues. If you can't fix a warning without making the function not match anymore, append `// NOLINT` to the offending line.
Please see [CONTRIBUTING.md](CONTRIBUTING.md) for information on how to contribute to the project. Any and all help is welcome!
## Troubleshooting

View File

@ -231,12 +231,12 @@ glabel func_A4000040
/* 37C A400037C 01324825 */ or $t1, $t1, $s2
/* 380 A4000380 AD490010 */ sw $t1, %lo(D_A4700010)($t2)
/* 384 A4000384 8D490010 */ lw $t1, 0x10($t2)
/* 388 A4000388 3C08A000 */ lui $t0, %hi(D_A0000018)
/* 388 A4000388 3C08A000 */ lui $t0, 0xa000
/* 38C A400038C 35080300 */ ori $t0, $t0, 0x300
/* 390 A4000390 3C090FFF */ lui $t1, 0xfff
/* 394 A4000394 3529FFFF */ ori $t1, $t1, 0xffff
/* 398 A4000398 02C9B024 */ and $s6, $s6, $t1
/* 39C A400039C AD160018 */ sw $s6, %lo(D_A0000018)($t0)
/* 39C A400039C AD160018 */ sw $s6, 0x18($t0)
/* 3A0 A40003A0 03C0E825 */ or $sp, $fp, $zero
/* 3A4 A40003A4 27BD0048 */ addiu $sp, $sp, 0x48
/* 3A8 A40003A8 8FB30000 */ lw $s3, ($sp)
@ -291,14 +291,14 @@ glabel func_A4000040
.LA4000458:
/* 458 A4000458 3C0AA400 */ lui $t2, %hi(D_A4000000)
/* 45C A400045C 254A0000 */ addiu $t2, $t2, %lo(D_A4000000)
/* 460 A4000460 3C0BFFF0 */ lui $t3, %hi(D_FFF00768)
/* 460 A4000460 3C0BFFF0 */ lui $t3, 0xfff0
/* 464 A4000464 3C090010 */ lui $t1, 0x10
/* 468 A4000468 014B5024 */ and $t2, $t2, $t3
/* 46C A400046C 3C08A400 */ lui $t0, %hi(D_A40004C0)
/* 470 A4000470 2529FFFF */ addiu $t1, $t1, -1
/* 474 A4000474 3C0BA400 */ lui $t3, %hi(D_A4000768)
/* 478 A4000478 250804C0 */ addiu $t0, $t0, %lo(D_A40004C0)
/* 47C A400047C 256B0768 */ addiu $t3, $t3, %lo(D_FFF00768)
/* 47C A400047C 256B0768 */ addiu $t3, $t3, %lo(D_A4000768)
/* 480 A4000480 01094024 */ and $t0, $t0, $t1
/* 484 A4000484 01695824 */ and $t3, $t3, $t1
/* 488 A4000488 3C09A000 */ lui $t1, %hi(D_A0000000)
@ -459,10 +459,10 @@ glabel func_A40004C0
/* 6C4 A40006C4 24090002 */ addiu $t1, $zero, 2
/* 6C8 A40006C8 3C01A460 */ lui $at, %hi(D_A4600010)
/* 6CC A40006CC AC290010 */ sw $t1, %lo(D_A4600010)($at)
/* 6D0 A40006D0 3C08A000 */ lui $t0, %hi(D_A0000010)
/* 6D0 A40006D0 3C08A000 */ lui $t0, 0xa000
/* 6D4 A40006D4 35080300 */ ori $t0, $t0, 0x300
/* 6D8 A40006D8 240917D7 */ addiu $t1, $zero, 0x17d7
/* 6DC A40006DC AD090010 */ sw $t1, %lo(D_A0000010)($t0)
/* 6DC A40006DC AD090010 */ sw $t1, 0x10($t0)
/* 6E0 A40006E0 AD140000 */ sw $s4, ($t0)
/* 6E4 A40006E4 AD130004 */ sw $s3, 4($t0)
/* 6E8 A40006E8 AD15000C */ sw $s5, 0xc($t0)

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,69 @@
.include "macro.inc"
.section .data
glabel D_80078190
.word 0xF8030125, 0x07D0FDBC, 0xF8860355, 0x06FCFBAB, 0xFEDAF82D, 0x0245077D, 0xFCA9F901, 0x0456065D, 0xFC33FBB2, 0xFCEFFE94, 0xFFD80080, 0x00A4007D, 0x090E0673, 0x02FF0053, 0xFEF2FEA7, 0xFEF9FF7B
glabel D_800781D0
.word 0xB1011110, 0x00FFFE34, 0xBB90E21E, 0x00FB10EF, 0xF2D180C4, 0xB3B1D3CF, 0xD1FDFE80, 0x1D2D3D3B, 0x2C3BFC1D, 0x80DEF0D0, 0xD3D2B3D1, 0xF480A203, 0xD00DA9EA, 0xCB729041, 0x4E1D2D0C, 0x1E102F90, 0xF21203F0, 0xC2D1D4F3, 0x80B0A1BF, 0xD21E1270, 0x4D804C39, 0x2C7E306D, 0xB9CF90E1, 0xF2F3F2E1, 0xE21622C1, 0xE728F4F0, 0x211010FF, 0xA1ED9F2F, 0xF561333C, 0xD0A1DAC2, 0xFF144122, 0x2DEFA1FA, 0xE10E2330, 0x320EF091, 0x9AF2CF55, 0x1361EE1C, 0x919D0FD2, 0x52064DE1, 0x0991D01B, 0x152E36FD, 0x12CB8122, 0xBC65F073, 0xCE3FAE71, 0x4E9370F5, 0x6ED21BD1, 0x610A5D00, 0x00000000, 0x00000000
glabel D_80078290
.word 0x00000003, 0x0000000B, 0x00000000, 0x00000009, 0x00002666, 0xFFFFD99A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000007, 0x00000CCC, 0xFFFFF334, 0x00003FFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000A, 0x00001388, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00005000
glabel D_800782F8
.word 0x00000001, 0x0000000B, 0x00000000, 0x0000000A, 0x00004E20, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00007FFF
glabel D_80078320
.word 0x00000001, 0x0000000D, 0x00000000, 0x0000000C, 0x00004E20, 0x00000000, 0x00007FFF, 0x00000000, 0x00000000, 0x00007FFF
glabel D_80078348
.short 0x0000, 0x0001, 0x0000, 0x000E, 0x0000, 0x0000, 0x0000, 0x000D, 0x0000, 0x4E20, 0x0000, 0x0000, 0x0000, 0x7FFF, 0x0000, 0x0000, 0x0000
glabel D_8007836A
.short 0x0000, 0x0000, 0x7FFF, 0x034A, 0x0349, 0x0100, 0x0000, 0x0100, 0x0000, 0x0008, 0x0012, 0x3C7F, 0x2D7F, 0x2B5F, 0x1D00, 0xFF00, 0x2700, 0xFF00, 0x0000, 0x0100, 0x0000, 0x0008, 0x001A, 0x3C7F, 0x237F, 0x3C3F, 0x2A1F, 0x2A0F, 0x2A07, 0x2A03, 0x3600, 0xFF00, 0x3600, 0xFF00, 0x0000, 0x3433, 0x7F26, 0x3F16, 0x00FF, 0x343B, 0x7F3B, 0x3FFF, 0x0000
glabel D_800783C0
.word 0x80078378, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390, 0x80078390
glabel D_80078400
.word 0x8004CE70, 0x8004CEA4, 0x8004CEC4, 0x8004CF0C
glabel D_80078410
.word 0x8004CF3C, 0x8004D00C, 0x8004D038, 0x8004D050, 0x8004D07C, 0x8004D114, 0x8004D130, 0x8004D15C, 0x8004D180, 0x8004D1B4, 0x8004D23C, 0x8004D2B0, 0x8004D2E4, 0x8004D310, 0x8004D31C, 0x8004D324, 0x8004D33C, 0x8004D354, 0x8004D36C, 0x8004D3A0, 0x8004D3F8
glabel D_80078464
.word 0x00000000, 0x00000000, 0x00000000
glabel D_80078470
.word 0x8004FBBC, 0x8004FCB4, 0x8004FCE4, 0x8004FD04, 0x8004FD94, 0x8004FE10, 0x8004FD38, 0x80050560, 0x8004FE6C, 0x8004FEB0, 0x8004FF3C, 0x8004FF58, 0x8004FF70, 0x8004FF88, 0x8004FFA8, 0x8004FFB4, 0x8004FFC8, 0x8004FFE4, 0x8004FFF0, 0x8004FFFC, 0x80050004, 0x80050020, 0x8004FED0, 0x80050128, 0x80050560, 0x80050560, 0x80050560, 0x80050560, 0x800501A8, 0x8005015C, 0x80050184, 0x800502F0, 0x02010101, 0x04030200, 0x02010101, 0x01010102, 0x03010100, 0x02010301, 0x00000000, 0x03030303
glabel D_80078510
.word 0x30182028, 0x30384030, 0x00000000, 0x00000000
glabel D_80078520
.word 0x00000000, 0x00000000, 0x00000000, 0x00000000
glabel D_80078530
.word 0x00000200, 0x08001200, 0x20003200, 0x48006200, 0x80000000
glabel D_80078544
.word 0x01000000, 0x0008000C
glabel D_8007854C
.word 0x3D7FFF00, 0x3400FF00
glabel D_80078554
.word 0x5C00FF00
glabel D_80078558
.ascii "^]\\[ZXVSQOJE@;7531/-+)'&%#! "
glabel D_80078580
.word 0x03040506, 0x0708090A, 0x0B0C0D0E, 0x0F101112, 0x13141516, 0x17000000, 0x00000000, 0x00000000
glabel D_800785A0
.word 0x0393756C, 0x034736DE, 0x02FAE1DA, 0x02AEA34C, 0x02624E48, 0x0215F944, 0x01C9BAB6, 0x01A39034, 0x017D65B2, 0x015751A6, 0x01312724, 0x0121E2F0, 0x01129EBC, 0x01035A88, 0x00F41654, 0x00E4D220, 0x00D58DEC, 0x00C649B8, 0x00B70584, 0x00A7D7C6, 0x00989392, 0x00894F5E, 0x007A0B2A, 0x006AC6F6, 0x005B82C2, 0x004C3E8E, 0x00449C74, 0x003CFA5A, 0x00355840, 0x002DB626, 0x0029F054, 0x0026140C, 0x00224E3A, 0x001E71F2, 0x001CF41C, 0x001B7646, 0x0019E1FA, 0x00186424, 0x0016CFD8, 0x00155202, 0x0013D42C, 0x00123FE0, 0x0010C20A, 0x000F2DBE, 0x000E7A0E, 0x000DAFE8, 0x000CE5C2, 0x000C3212, 0x000B67EC, 0x000A9DC6, 0x0009EA16, 0x00091FF0, 0x000855CA, 0x00078BA4, 0x0006D7F4, 0x00060DCE, 0x0005B3F6, 0x000543A8, 0x0004E9D0, 0x00048FF8, 0x0004630C, 0x00043620, 0x00040934, 0x0003F2BE, 0x0003C5D2, 0x000398E6, 0x00038270, 0x00035584, 0x00032898, 0x0002FBAC, 0x0002E536, 0x0002B84A, 0x00028B5E, 0x00025E72, 0x000247FC, 0x00021B10, 0x0001EE24, 0x0001C138, 0x0001AAC2, 0x00017DD6, 0x00016760, 0x00013A74, 0x00010D88, 0x0000F712, 0x0000E09C, 0x0000CA26, 0x0000B3B0, 0x00009D3A, 0x000086C4, 0x0000704E, 0x000059D8, 0x00004362, 0x00002CEC, 0x00001676, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
glabel D_80078730
.word 0x3F800000, 0x3F8012EF, 0x3F8025E1, 0x3F8038D6, 0x3F804BCD, 0x3F805EC7, 0x3F8071C4, 0x3F8084C4, 0x3F8097C7, 0x3F80AACC, 0x3F80BDD4, 0x3F80D0DF, 0x3F80E3ED, 0x3F80F6FE, 0x3F810A12, 0x3F811D28, 0x3F813041, 0x3F81435D, 0x3F81567C, 0x3F81699E, 0x3F817CC2, 0x3F818FE9, 0x3F81A313, 0x3F81B640, 0x3F81C970, 0x3F81DCA3, 0x3F81EFD9, 0x3F820311, 0x3F82164C, 0x3F82298A, 0x3F823CCB, 0x3F82500F, 0x3F826356, 0x3F82769F, 0x3F8289EB, 0x3F829D3A, 0x3F82B08C, 0x3F82C3E1, 0x3F82D739, 0x3F82EA94, 0x3F82FDF1, 0x3F831151, 0x3F8324B4, 0x3F83381A, 0x3F834B83, 0x3F835EEF, 0x3F83725E, 0x3F8385D0, 0x3F839944, 0x3F83ACBB, 0x3F83C035, 0x3F83D3B2, 0x3F83E732, 0x3F83FAB5, 0x3F840E3B, 0x3F8421C4, 0x3F84354F, 0x3F8448DD, 0x3F845C6E, 0x3F847002, 0x3F848399, 0x3F849733, 0x3F84AAD0, 0x3F84BE70, 0x3F84D213, 0x3F84E5B9, 0x3F84F961, 0x3F850D0C, 0x3F8520BA, 0x3F85346B, 0x3F85481F, 0x3F855BD6, 0x3F856F90, 0x3F85834D, 0x3F85970D, 0x3F85AAD0, 0x3F85BE96, 0x3F85D25F, 0x3F85E62A, 0x3F85F9F8, 0x3F860DC9, 0x3F86219D, 0x3F863574, 0x3F86494E, 0x3F865D2B, 0x3F86710B, 0x3F8684EE, 0x3F8698D4, 0x3F86ACBD, 0x3F86C0A9, 0x3F86D498, 0x3F86E88A, 0x3F86FC7F, 0x3F871077, 0x3F872472, 0x3F87386F, 0x3F874C6F, 0x3F876072, 0x3F877478, 0x3F878881, 0x3F879C8D, 0x3F87B09C, 0x3F87C4AE, 0x3F87D8C3, 0x3F87ECDB, 0x3F8800F6, 0x3F881514, 0x3F882935, 0x3F883D59, 0x3F885180, 0x3F8865AA, 0x3F8879D7, 0x3F888E07, 0x3F88A23A, 0x3F88B670, 0x3F88CAA9, 0x3F88DEE5, 0x3F88F324, 0x3F890766, 0x3F891BAB, 0x3F892FF3, 0x3F89443E, 0x3F89588C, 0x3F896CDD, 0x3F898131, 0x3F899588, 0x3F89A9E2, 0x3F89BE3F, 0x3F800000, 0x3F89D29F, 0x3F946637, 0x3F9FC997, 0x3FAC0CB1, 0x3FB940B0, 0x3FC77811, 0x3FD6C6BB, 0x3FE7421D, 0x3FF9014B, 0x40060E8F, 0x4010582B, 0x401B6BE2, 0x40275936, 0x403430DA, 0x404204C9, 0x4050E860, 0x4060F077, 0x40723381, 0x408264D5, 0x408C667B, 0x40972CB6, 0x40A2C69C, 0x40AF446B, 0x40BCB7A0, 0x40CB3311, 0x40DACB04, 0x40EB954F, 0x40FDA974, 0x41089062, 0x41130B3F, 0x411E53FF, 0x3F800000, 0x3F7FDA28, 0x3F7FB456, 0x3F7F8E89, 0x3F7F68C2, 0x3F7F4300, 0x3F7F1D44, 0x3F7EF78E, 0x3F7ED1DD, 0x3F7EAC32, 0x3F7E868C, 0x3F7E60EC, 0x3F7E3B51, 0x3F7E15BC, 0x3F7DF02C, 0x3F7DCAA2, 0x3F7DA51E, 0x3F7D7F9F, 0x3F7D5A26, 0x3F7D34B2, 0x3F7D0F44, 0x3F7CE9DB, 0x3F7CC478, 0x3F7C9F1A, 0x3F7C79C2, 0x3F7C546F, 0x3F7C2F22, 0x3F7C09DA, 0x3F7BE498, 0x3F7BBF5B, 0x3F7B9A24, 0x3F7B74F2, 0x3F7B4FC6, 0x3F7B2A9F, 0x3F7B057E, 0x3F7AE062, 0x3F7ABB4C, 0x3F7A963B, 0x3F7A7130, 0x3F7A4C2A, 0x3F7A272A, 0x3F7A022F, 0x3F79DD3A, 0x3F79B84A, 0x3F799360, 0x3F796E7B, 0x3F79499C, 0x3F7924C2, 0x3F78FFED, 0x3F78DB1E, 0x3F78B654, 0x3F789190, 0x3F786CD1, 0x3F784818, 0x3F782364, 0x3F77FEB6, 0x3F77DA0D, 0x3F77B569, 0x3F7790CB, 0x3F776C32, 0x3F77479F, 0x3F772311, 0x3F76FE88, 0x3F76DA05, 0x3F76B587, 0x3F76910F, 0x3F766C9C, 0x3F76482E, 0x3F7623C6, 0x3F75FF63, 0x3F75DB06, 0x3F75B6AE, 0x3F75925B, 0x3F756E0E, 0x3F7549C6, 0x3F752583, 0x3F750146, 0x3F74DD0E, 0x3F74B8DB, 0x3F7494AE, 0x3F747086, 0x3F744C63, 0x3F742846, 0x3F74042E, 0x3F73E01C, 0x3F73BC0F, 0x3F739807, 0x3F737404, 0x3F735007, 0x3F732C0F, 0x3F73081C, 0x3F72E42F, 0x3F72C047, 0x3F729C64, 0x3F727887, 0x3F7254AF, 0x3F7230DC, 0x3F720D0F, 0x3F71E947, 0x3F71C584, 0x3F71A1C6, 0x3F717E0E, 0x3F715A5B, 0x3F7136AD, 0x3F711305, 0x3F70EF62, 0x3F70CBC4, 0x3F70A82B, 0x3F708498, 0x3F70610A, 0x3F703D81, 0x3F7019FD, 0x3F6FF67F, 0x3F6FD306, 0x3F6FAF92, 0x3F6F8C23, 0x3F6F68BA, 0x3F6F4556, 0x3F6F21F7, 0x3F6EFE9D, 0x3F6EDB49, 0x3F6EB7FA, 0x3F6E94B0, 0x3F6E716B, 0x3F6E4E2B, 0x3F6E2AF1, 0x3F6E07BC, 0x3F6DE48C, 0x3F800000, 0x3F6DC161, 0x3F5CCFA0, 0x3F4D1303, 0x3F3E7583, 0x3F30E2A9, 0x3F244774, 0x3F18923F, 0x3F0DB2A4, 0x3F03996B, 0x3EF470E1, 0x3EE30526, 0x3ED2D741, 0x3EC3D08B, 0x3EB5DBFB, 0x3EA8E607, 0x3E9CDC8A, 0x3E91AEA9, 0x3E874CBE, 0x3E7B5080, 0x3E69675D, 0x3E58C500, 0x3E495220, 0x3E3AF91B, 0x3E2DA5DB, 0x3E2145B8, 0x3E15C75E, 0x3E0B1AB6, 0x3E0130CE, 0x3DEFF78B, 0x3DDEDD71, 0x3DCEFB5A, 0x3DC03B0C, 0x3DB287E0, 0x3DA5CEA6, 0x3D99FD90, 0x3D8F0410, 0x3D84D2CB, 0x3D76B6F6, 0x3D6521C0, 0x3D54CD52, 0x3D45A2D5, 0x3D378D0A, 0x3D2A7839, 0x3D1E5213, 0x3D130992, 0x3D088EF0, 0x3CFDA6F5, 0x3CEB932C, 0x3CDAC934, 0x3CCB318C, 0x3CBCB65A, 0x3CAF435F, 0x3CA2C5C3, 0x3C972C06, 0x3C8C65F5, 0x3C826474, 0x3C7232F8, 0x3C60F025, 0x3C50E83A, 0x3C4204D2, 0x3C3430FF, 0x3C275980, 0x3C1B6C42, 0x3C10589D, 0x3C060F18, 0x3BF90275, 0x3BE7435B, 0x3BD6C80E, 0x3BC7797C, 0x3BB9422B, 0x3BAC0E26, 0x3B9FCB0C, 0x3B9467C1, 0x3B89D42A, 0x3B800183, 0x3B6DC413, 0x3B5CD229, 0x3B4D1572, 0x3B3E77CA, 0x3B30E4BA, 0x3B24494B, 0x3B18940B, 0x3B0DB45E, 0x3B039B00, 0x3AF473B0, 0x3AE307F8, 0x3AD2D9AC, 0x3AC3D2FE, 0x3AB5DE1E, 0x3AA8E7EB, 0x3A9CDE48, 0x3A91B06C, 0x3A874E3D, 0x3A7B5348, 0x3A696A67, 0x3A58C7AD, 0x3A495447, 0x3A3AFB69, 0x3A2DA799, 0x3A214763, 0x3A15C955, 0x3A0B1CA9, 0x3A01329B, 0x39EFFA23, 0x39DEDFF5, 0x39CEFD29, 0x39C03D9D, 0x39B28A81, 0x39A5D10A, 0x3999FFC6, 0x398F0541, 0x3984D410, 0x3976BADD, 0x39652533, 0x3954CEFA, 0x3945A566, 0x39379050, 0x392A7A3D, 0x391E5312, 0x39130AB4, 0x39089109, 0x38FDABE8, 0x38EB9814, 0x38DACBBE, 0x38CB316C, 0x38BCB903, 0x38AF47AC

453
asm/data/code_31650.data.s Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -174,7 +174,7 @@ glabel func_802E1EDC
/* 1039E4 802E2164 00000000 */ nop
.L802E2168:
/* 1039E8 802E2168 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1039EC 802E216C 3C01BFE0 */ lui $at, %hi(D_BFDFB110)
/* 1039EC 802E216C 3C01BFE0 */ lui $at, 0xbfe0
/* 1039F0 802E2170 44810800 */ mtc1 $at, $f1
/* 1039F4 802E2174 44800000 */ mtc1 $zero, $f0
/* 1039F8 802E2178 080B888A */ j .L802E2228
@ -182,7 +182,7 @@ glabel func_802E1EDC
.L802E2180:
/* 103A00 802E2180 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103A04 802E2184 3C01802F */ lui $at, %hi(D_802EB110)
/* 103A08 802E2188 D420B110 */ ldc1 $f0, %lo(D_BFDFB110)($at)
/* 103A08 802E2188 D420B110 */ ldc1 $f0, %lo(D_802EB110)($at)
/* 103A0C 802E218C 460010A1 */ cvt.d.s $f2, $f2
/* 103A10 802E2190 46201082 */ mul.d $f2, $f2, $f0
/* 103A14 802E2194 00000000 */ nop

View File

@ -16,7 +16,7 @@ glabel func_802E3370
/* 104C1C 802E339C 10400003 */ beqz $v0, .L802E33AC
/* 104C20 802E33A0 00A0902D */ daddu $s2, $a1, $zero
/* 104C24 802E33A4 080B8D29 */ j .L802E34A4
/* 104C28 802E33A8 3C03FFDF */ lui $v1, %hi(D_FFDF0001)
/* 104C28 802E33A8 3C03FFDF */ lui $v1, 0xffdf
.L802E33AC:
/* 104C2C 802E33AC 8624000E */ lh $a0, 0xe($s1)
/* 104C30 802E33B0 9623000E */ lhu $v1, 0xe($s1)
@ -24,7 +24,7 @@ glabel func_802E3370
/* 104C38 802E33B8 1440003F */ bnez $v0, .L802E34B8
/* 104C3C 802E33BC 28820096 */ slti $v0, $a0, 0x96
/* 104C40 802E33C0 1440009C */ bnez $v0, .L802E3634
/* 104C44 802E33C4 24620001 */ addiu $v0, $v1, %lo(D_FFDF0001)
/* 104C44 802E33C4 24620001 */ addiu $v0, $v1, 1
/* 104C48 802E33C8 C6220014 */ lwc1 $f2, 0x14($s1)
/* 104C4C 802E33CC 3C0141C8 */ lui $at, 0x41c8
/* 104C50 802E33D0 44810000 */ mtc1 $at, $f0

View File

@ -107,14 +107,14 @@ glabel func_802E4730
/* 106140 802E48C0 269441F0 */ addiu $s4, $s4, %lo(D_800741F0)
/* 106144 802E48C4 AFB60058 */ sw $s6, 0x58($sp)
/* 106148 802E48C8 96820000 */ lhu $v0, ($s4)
/* 10614C 802E48CC 3C03DA38 */ lui $v1, %hi(D_DA37A674)
/* 10614C 802E48CC 3C03DA38 */ lui $v1, 0xda38
/* 106150 802E48D0 AD430000 */ sw $v1, ($t2)
/* 106154 802E48D4 24430001 */ addiu $v1, $v0, 1
/* 106158 802E48D8 3042FFFF */ andi $v0, $v0, 0xffff
/* 10615C 802E48DC 00021180 */ sll $v0, $v0, 6
/* 106160 802E48E0 A6830000 */ sh $v1, ($s4)
/* 106164 802E48E4 3C03800A */ lui $v1, %hi(D_8009A674)
/* 106168 802E48E8 8C63A674 */ lw $v1, %lo(D_DA37A674)($v1)
/* 106168 802E48E8 8C63A674 */ lw $v1, %lo(D_8009A674)($v1)
/* 10616C 802E48EC 00561021 */ addu $v0, $v0, $s6
/* 106170 802E48F0 00621821 */ addu $v1, $v1, $v0
/* 106174 802E48F4 3C02DE00 */ lui $v0, 0xde00

View File

@ -137,14 +137,14 @@ glabel func_802E586C
/* 1072EC 802E5A6C 27DE41F0 */ addiu $fp, $fp, %lo(D_800741F0)
/* 1072F0 802E5A70 AFB80064 */ sw $t8, 0x64($sp)
/* 1072F4 802E5A74 97C20000 */ lhu $v0, ($fp)
/* 1072F8 802E5A78 3C03DA38 */ lui $v1, %hi(D_DA37A674)
/* 1072F8 802E5A78 3C03DA38 */ lui $v1, 0xda38
/* 1072FC 802E5A7C ADC30000 */ sw $v1, ($t6)
/* 107300 802E5A80 24430001 */ addiu $v1, $v0, 1
/* 107304 802E5A84 3042FFFF */ andi $v0, $v0, 0xffff
/* 107308 802E5A88 00021180 */ sll $v0, $v0, 6
/* 10730C 802E5A8C A7C30000 */ sh $v1, ($fp)
/* 107310 802E5A90 3C03800A */ lui $v1, %hi(D_8009A674)
/* 107314 802E5A94 8C63A674 */ lw $v1, %lo(D_DA37A674)($v1)
/* 107314 802E5A94 8C63A674 */ lw $v1, %lo(D_8009A674)($v1)
/* 107318 802E5A98 00581021 */ addu $v0, $v0, $t8
/* 10731C 802E5A9C 00621821 */ addu $v1, $v1, $v0
/* 107320 802E5AA0 3C02FD10 */ lui $v0, 0xfd10

View File

@ -75,13 +75,13 @@ glabel func_80037BC8
/* 130C8 80037CC8 24A5A66C */ addiu $a1, $a1, %lo(D_8009A66C)
/* 130CC 80037CCC 35CE0400 */ ori $t6, $t6, 0x400
/* 130D0 80037CD0 8CA20000 */ lw $v0, ($a1)
/* 130D4 80037CD4 3C03DE00 */ lui $v1, %hi(D_DE007A50)
/* 130D4 80037CD4 3C03DE00 */ lui $v1, 0xde00
/* 130D8 80037CD8 0040202D */ daddu $a0, $v0, $zero
/* 130DC 80037CDC 24420008 */ addiu $v0, $v0, 8
/* 130E0 80037CE0 ACA20000 */ sw $v0, ($a1)
/* 130E4 80037CE4 AC830000 */ sw $v1, ($a0)
/* 130E8 80037CE8 3C038007 */ lui $v1, %hi(D_80077A50)
/* 130EC 80037CEC 24637A50 */ addiu $v1, $v1, %lo(D_DE007A50)
/* 130EC 80037CEC 24637A50 */ addiu $v1, $v1, %lo(D_80077A50)
/* 130F0 80037CF0 AC830004 */ sw $v1, 4($a0)
/* 130F4 80037CF4 24430008 */ addiu $v1, $v0, 8
/* 130F8 80037CF8 ACA30000 */ sw $v1, ($a1)

View File

@ -136,14 +136,14 @@ glabel func_80026164
/* 1770 80026370 24620048 */ addiu $v0, $v1, 0x48
/* 1774 80026374 AC6E0038 */ sw $t6, 0x38($v1)
/* 1778 80026378 AE420000 */ sw $v0, ($s2)
/* 177C 8002637C 3C02F900 */ lui $v0, %hi(D_F9003E10)
/* 177C 8002637C 3C02F900 */ lui $v0, 0xf900
/* 1780 80026380 AC620040 */ sw $v0, 0x40($v1)
/* 1784 80026384 2402007F */ addiu $v0, $zero, 0x7f
/* 1788 80026388 AC620044 */ sw $v0, 0x44($v1)
/* 178C 8002638C 24620050 */ addiu $v0, $v1, 0x50
/* 1790 80026390 AE420000 */ sw $v0, ($s2)
/* 1794 80026394 3C028007 */ lui $v0, %hi(D_80073E10)
/* 1798 80026398 24423E10 */ addiu $v0, $v0, %lo(D_F9003E10)
/* 1798 80026398 24423E10 */ addiu $v0, $v0, %lo(D_80073E10)
/* 179C 8002639C AC6F0048 */ sw $t7, 0x48($v1)
/* 17A0 800263A0 AC62004C */ sw $v0, 0x4c($v1)
/* 17A4 800263A4 24620058 */ addiu $v0, $v1, 0x58

View File

@ -73,13 +73,13 @@ glabel func_8003DC38
/* 19144 8003DD44 46800020 */ cvt.s.w $f0, $f0
/* 19148 8003DD48 46006307 */ neg.s $f12, $f12
/* 1914C 8003DD4C 46006300 */ add.s $f12, $f12, $f0
/* 19150 8003DD50 3C01C000 */ lui $at, %hi(D_C0007C28)
/* 19150 8003DD50 3C01C000 */ lui $at, 0xc000
/* 19154 8003DD54 4481A000 */ mtc1 $at, $f20
/* 19158 8003DD58 3C0140A0 */ lui $at, 0x40a0
/* 1915C 8003DD5C 44810000 */ mtc1 $at, $f0
/* 19160 8003DD60 46041080 */ add.s $f2, $f2, $f4
/* 19164 8003DD64 3C018007 */ lui $at, %hi(D_80077C28)
/* 19168 8003DD68 A4207C28 */ sh $zero, %lo(D_C0007C28)($at)
/* 19168 8003DD68 A4207C28 */ sh $zero, %lo(D_80077C28)($at)
/* 1916C 8003DD6C 46001083 */ div.s $f2, $f2, $f0
/* 19170 8003DD70 0C00A6C9 */ jal clamp_angle
/* 19174 8003DD74 4602A501 */ sub.s $f20, $f20, $f2

View File

@ -1,42 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel npc_move_heading
/* 15E54 8003AA54 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 15E58 8003AA58 F7B60020 */ sdc1 $f22, 0x20($sp)
/* 15E5C 8003AA5C 4485B000 */ mtc1 $a1, $f22
/* 15E60 8003AA60 3C0140C9 */ lui $at, 0x40c9
/* 15E64 8003AA64 34210FD0 */ ori $at, $at, 0xfd0
/* 15E68 8003AA68 44810000 */ mtc1 $at, $f0
/* 15E6C 8003AA6C 44862000 */ mtc1 $a2, $f4
/* 15E70 8003AA70 F7B40018 */ sdc1 $f20, 0x18($sp)
/* 15E74 8003AA74 46002502 */ mul.s $f20, $f4, $f0
/* 15E78 8003AA78 00000000 */ nop
/* 15E7C 8003AA7C AFB00010 */ sw $s0, 0x10($sp)
/* 15E80 8003AA80 3C0143B4 */ lui $at, 0x43b4
/* 15E84 8003AA84 44810000 */ mtc1 $at, $f0
/* 15E88 8003AA88 0080802D */ daddu $s0, $a0, $zero
/* 15E8C 8003AA8C AFBF0014 */ sw $ra, 0x14($sp)
/* 15E90 8003AA90 4600A503 */ div.s $f20, $f20, $f0
/* 15E94 8003AA94 0C00A85B */ jal sin_rad
/* 15E98 8003AA98 4600A306 */ mov.s $f12, $f20
/* 15E9C 8003AA9C 4600A306 */ mov.s $f12, $f20
/* 15EA0 8003AAA0 0C00A874 */ jal cos_rad
/* 15EA4 8003AAA4 46000506 */ mov.s $f20, $f0
/* 15EA8 8003AAA8 4614B502 */ mul.s $f20, $f22, $f20
/* 15EAC 8003AAAC 00000000 */ nop
/* 15EB0 8003AAB0 4600B587 */ neg.s $f22, $f22
/* 15EB4 8003AAB4 4600B582 */ mul.s $f22, $f22, $f0
/* 15EB8 8003AAB8 00000000 */ nop
/* 15EBC 8003AABC C6020038 */ lwc1 $f2, 0x38($s0)
/* 15EC0 8003AAC0 46141080 */ add.s $f2, $f2, $f20
/* 15EC4 8003AAC4 C6000040 */ lwc1 $f0, 0x40($s0)
/* 15EC8 8003AAC8 46160000 */ add.s $f0, $f0, $f22
/* 15ECC 8003AACC E6020038 */ swc1 $f2, 0x38($s0)
/* 15ED0 8003AAD0 E6000040 */ swc1 $f0, 0x40($s0)
/* 15ED4 8003AAD4 8FBF0014 */ lw $ra, 0x14($sp)
/* 15ED8 8003AAD8 8FB00010 */ lw $s0, 0x10($sp)
/* 15EDC 8003AADC D7B60020 */ ldc1 $f22, 0x20($sp)
/* 15EE0 8003AAE0 D7B40018 */ ldc1 $f20, 0x18($sp)
/* 15EE4 8003AAE4 03E00008 */ jr $ra
/* 15EE8 8003AAE8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,42 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel set_npc_yaw
/* 16740 8003B340 44857000 */ mtc1 $a1, $f14
/* 16744 8003B344 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 16748 8003B348 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 1674C 8003B34C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 16750 8003B350 AFB00010 */ sw $s0, 0x10($sp)
/* 16754 8003B354 0080802D */ daddu $s0, $a0, $zero
/* 16758 8003B358 AFBF0014 */ sw $ra, 0x14($sp)
/* 1675C 8003B35C 00031080 */ sll $v0, $v1, 2
/* 16760 8003B360 00431021 */ addu $v0, $v0, $v1
/* 16764 8003B364 00021080 */ sll $v0, $v0, 2
/* 16768 8003B368 00431023 */ subu $v0, $v0, $v1
/* 1676C 8003B36C 000218C0 */ sll $v1, $v0, 3
/* 16770 8003B370 00431021 */ addu $v0, $v0, $v1
/* 16774 8003B374 000210C0 */ sll $v0, $v0, 3
/* 16778 8003B378 E60E000C */ swc1 $f14, 0xc($s0)
/* 1677C 8003B37C 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 16780 8003B380 00220821 */ addu $at, $at, $v0
/* 16784 8003B384 C42C1DEC */ lwc1 $f12, %lo(D_800B1DEC)($at)
/* 16788 8003B388 0C00A70A */ jal get_clamped_angle_diff
/* 1678C 8003B38C 00000000 */ nop
/* 16790 8003B390 44801000 */ mtc1 $zero, $f2
/* 16794 8003B394 00000000 */ nop
/* 16798 8003B398 4600103E */ c.le.s $f2, $f0
/* 1679C 8003B39C 00000000 */ nop
/* 167A0 8003B3A0 45000005 */ bc1f .L8003B3B8
/* 167A4 8003B3A4 240200B4 */ addiu $v0, $zero, 0xb4
/* 167A8 8003B3A8 A602008A */ sh $v0, 0x8a($s0)
/* 167AC 8003B3AC 24020001 */ addiu $v0, $zero, 1
/* 167B0 8003B3B0 0800ECF0 */ j .L8003B3C0
/* 167B4 8003B3B4 A6020088 */ sh $v0, 0x88($s0)
.L8003B3B8:
/* 167B8 8003B3B8 A600008A */ sh $zero, 0x8a($s0)
/* 167BC 8003B3BC A6000088 */ sh $zero, 0x88($s0)
.L8003B3C0:
/* 167C0 8003B3C0 8FBF0014 */ lw $ra, 0x14($sp)
/* 167C4 8003B3C4 8FB00010 */ lw $s0, 0x10($sp)
/* 167C8 8003B3C8 03E00008 */ jr $ra
/* 167CC 8003B3CC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -123,14 +123,14 @@ glabel pause_partners_draw_contents
.L8024B0CC:
/* 13E40C 8024B0CC 2401FFFF */ addiu $at, $zero, -1
/* 13E410 8024B0D0 14410004 */ bne $v0, $at, .L8024B0E4
/* 13E414 8024B0D4 3C018000 */ lui $at, %hi(D_800006A8)
/* 13E414 8024B0D4 3C018000 */ lui $at, 0x8000
/* 13E418 8024B0D8 16610002 */ bne $s3, $at, .L8024B0E4
/* 13E41C 8024B0DC 00000000 */ nop
/* 13E420 8024B0E0 0006000D */ break 6
.L8024B0E4:
/* 13E424 8024B0E4 00001012 */ mflo $v0
/* 13E428 8024B0E8 3C018027 */ lui $at, %hi(D_802706A8)
/* 13E42C 8024B0EC C42006A8 */ lwc1 $f0, %lo(D_800006A8)($at)
/* 13E42C 8024B0EC C42006A8 */ lwc1 $f0, %lo(D_802706A8)($at)
/* 13E430 8024B0F0 44826000 */ mtc1 $v0, $f12
/* 13E434 8024B0F4 00000000 */ nop
/* 13E438 8024B0F8 46806320 */ cvt.s.w $f12, $f12
@ -212,14 +212,14 @@ glabel pause_partners_draw_contents
.L8024B210:
/* 13E550 8024B210 2401FFFF */ addiu $at, $zero, -1
/* 13E554 8024B214 14810004 */ bne $a0, $at, .L8024B228
/* 13E558 8024B218 3C018000 */ lui $at, %hi(D_800006A8)
/* 13E558 8024B218 3C018000 */ lui $at, 0x8000
/* 13E55C 8024B21C 14410002 */ bne $v0, $at, .L8024B228
/* 13E560 8024B220 00000000 */ nop
/* 13E564 8024B224 0006000D */ break 6
.L8024B228:
/* 13E568 8024B228 00001012 */ mflo $v0
/* 13E56C 8024B22C 3C018027 */ lui $at, %hi(D_802706A8)
/* 13E570 8024B230 C42006A8 */ lwc1 $f0, %lo(D_800006A8)($at)
/* 13E570 8024B230 C42006A8 */ lwc1 $f0, %lo(D_802706A8)($at)
/* 13E574 8024B234 4482A000 */ mtc1 $v0, $f20
/* 13E578 8024B238 00000000 */ nop
/* 13E57C 8024B23C 4680A520 */ cvt.s.w $f20, $f20
@ -565,13 +565,13 @@ glabel pause_partners_draw_contents
/* 13EAA0 8024B760 01A21021 */ addu $v0, $t5, $v0
/* 13EAA4 8024B764 AFA20124 */ sw $v0, 0x124($sp)
/* 13EAA8 8024B768 8E230000 */ lw $v1, ($s1)
/* 13EAAC 8024B76C 3C02DE00 */ lui $v0, %hi(D_DDFFF750)
/* 13EAAC 8024B76C 3C02DE00 */ lui $v0, 0xde00
/* 13EAB0 8024B770 0060202D */ daddu $a0, $v1, $zero
/* 13EAB4 8024B774 24630008 */ addiu $v1, $v1, 8
/* 13EAB8 8024B778 AE230000 */ sw $v1, ($s1)
/* 13EABC 8024B77C AC820000 */ sw $v0, ($a0)
/* 13EAC0 8024B780 3C028025 */ lui $v0, %hi(D_8024F750)
/* 13EAC4 8024B784 2442F750 */ addiu $v0, $v0, %lo(D_DDFFF750)
/* 13EAC4 8024B784 2442F750 */ addiu $v0, $v0, %lo(D_8024F750)
/* 13EAC8 8024B788 AC820004 */ sw $v0, 4($a0)
/* 13EACC 8024B78C 24620008 */ addiu $v0, $v1, 8
/* 13EAD0 8024B790 AE220000 */ sw $v0, ($s1)

View File

@ -136,14 +136,14 @@ glabel pause_partners_init
.L8024C2C8:
/* 13F608 8024C2C8 2401FFFF */ addiu $at, $zero, -1
/* 13F60C 8024C2CC 14610004 */ bne $v1, $at, .L8024C2E0
/* 13F610 8024C2D0 3C018000 */ lui $at, %hi(D_800006A4)
/* 13F610 8024C2D0 3C018000 */ lui $at, 0x8000
/* 13F614 8024C2D4 14410002 */ bne $v0, $at, .L8024C2E0
/* 13F618 8024C2D8 00000000 */ nop
/* 13F61C 8024C2DC 0006000D */ break 6
.L8024C2E0:
/* 13F620 8024C2E0 00001012 */ mflo $v0
/* 13F624 8024C2E4 3C018027 */ lui $at, %hi(D_802706A4)
/* 13F628 8024C2E8 AC2006A4 */ sw $zero, %lo(D_800006A4)($at)
/* 13F628 8024C2E8 AC2006A4 */ sw $zero, %lo(D_802706A4)($at)
/* 13F62C 8024C2EC 3C018027 */ lui $at, %hi(D_802706AC)
/* 13F630 8024C2F0 AC2006AC */ sw $zero, %lo(D_802706AC)($at)
/* 13F634 8024C2F4 44820000 */ mtc1 $v0, $f0

View File

@ -167,14 +167,14 @@ glabel update_run_away
.L80245160:
/* 173A40 80245160 2401FFFF */ addiu $at, $zero, -1
/* 173A44 80245164 14610004 */ bne $v1, $at, .L80245178
/* 173A48 80245168 3C018000 */ lui $at, %hi(D_7FFFF264)
/* 173A48 80245168 3C018000 */ lui $at, 0x8000
/* 173A4C 8024516C 14410002 */ bne $v0, $at, .L80245178
/* 173A50 80245170 00000000 */ nop
/* 173A54 80245174 0006000D */ break 6
.L80245178:
/* 173A58 80245178 00002012 */ mflo $a0
/* 173A5C 8024517C 3C01802A */ lui $at, %hi(D_8029F264)
/* 173A60 80245180 AC20F264 */ sw $zero, %lo(D_7FFFF264)($at)
/* 173A60 80245180 AC20F264 */ sw $zero, %lo(D_8029F264)($at)
/* 173A64 80245184 3C01802A */ lui $at, %hi(D_8029F24C)
/* 173A68 80245188 AC20F24C */ sw $zero, %lo(D_8029F24C)($at)
/* 173A6C 8024518C 3C018028 */ lui $at, %hi(D_80280A30)

View File

@ -321,14 +321,14 @@ glabel use_cam_preset
/* 17BD00 8024D420 A0220CE0 */ sb $v0, %lo(D_80280CE0)($at)
/* 17BD04 8024D424 3C108028 */ lui $s0, %hi(D_80280E00)
/* 17BD08 8024D428 26100E00 */ addiu $s0, $s0, %lo(D_80280E00)
/* 17BD0C 8024D42C 3C01C2BE */ lui $at, %hi(D_C2BDF280)
/* 17BD0C 8024D42C 3C01C2BE */ lui $at, 0xc2be
/* 17BD10 8024D430 44816000 */ mtc1 $at, $f12
/* 17BD14 8024D434 3C014190 */ lui $at, 0x4190
/* 17BD18 8024D438 44817000 */ mtc1 $at, $f14
/* 17BD1C 8024D43C 3C064120 */ lui $a2, 0x4120
/* 17BD20 8024D440 240200FF */ addiu $v0, $zero, 0xff
/* 17BD24 8024D444 3C01802A */ lui $at, %hi(D_8029F280)
/* 17BD28 8024D448 A422F280 */ sh $v0, %lo(D_C2BDF280)($at)
/* 17BD28 8024D448 A422F280 */ sh $v0, %lo(D_8029F280)($at)
/* 17BD2C 8024D44C 24020008 */ addiu $v0, $zero, 8
/* 17BD30 8024D450 3C01802A */ lui $at, %hi(D_8029F284)
/* 17BD34 8024D454 A422F284 */ sh $v0, %lo(D_8029F284)($at)
@ -461,13 +461,13 @@ glabel use_cam_preset
/* 17BF30 8024D650 00000000 */ nop
/* 17BF34 8024D654 3C108028 */ lui $s0, %hi(D_80280D90)
/* 17BF38 8024D658 26100D90 */ addiu $s0, $s0, %lo(D_80280D90)
/* 17BF3C 8024D65C 3C01C282 */ lui $at, %hi(D_C281F280)
/* 17BF3C 8024D65C 3C01C282 */ lui $at, 0xc282
/* 17BF40 8024D660 44810000 */ mtc1 $at, $f0
/* 17BF44 8024D664 3C0141F0 */ lui $at, 0x41f0
/* 17BF48 8024D668 44811000 */ mtc1 $at, $f2
/* 17BF4C 8024D66C 2402012C */ addiu $v0, $zero, 0x12c
/* 17BF50 8024D670 3C01802A */ lui $at, %hi(D_8029F280)
/* 17BF54 8024D674 A422F280 */ sh $v0, %lo(D_C281F280)($at)
/* 17BF54 8024D674 A422F280 */ sh $v0, %lo(D_8029F280)($at)
/* 17BF58 8024D678 24020008 */ addiu $v0, $zero, 8
/* 17BF5C 8024D67C 3C01802A */ lui $at, %hi(D_8029F284)
/* 17BF60 8024D680 A422F284 */ sh $v0, %lo(D_8029F284)($at)
@ -851,13 +851,13 @@ glabel use_cam_preset
/* 17C534 8024DC54 00000000 */ nop
/* 17C538 8024DC58 3C108028 */ lui $s0, %hi(D_80280D90)
/* 17C53C 8024DC5C 26100D90 */ addiu $s0, $s0, %lo(D_80280D90)
/* 17C540 8024DC60 3C01C296 */ lui $at, %hi(D_C295F280)
/* 17C540 8024DC60 3C01C296 */ lui $at, 0xc296
/* 17C544 8024DC64 44810000 */ mtc1 $at, $f0
/* 17C548 8024DC68 3C014316 */ lui $at, 0x4316
/* 17C54C 8024DC6C 44811000 */ mtc1 $at, $f2
/* 17C550 8024DC70 240200A6 */ addiu $v0, $zero, 0xa6
/* 17C554 8024DC74 3C01802A */ lui $at, %hi(D_8029F280)
/* 17C558 8024DC78 A422F280 */ sh $v0, %lo(D_C295F280)($at)
/* 17C558 8024DC78 A422F280 */ sh $v0, %lo(D_8029F280)($at)
/* 17C55C 8024DC7C 24020008 */ addiu $v0, $zero, 8
/* 17C560 8024DC80 3C01802A */ lui $at, %hi(D_8029F284)
/* 17C564 8024DC84 A422F284 */ sh $v0, %lo(D_8029F284)($at)
@ -1046,13 +1046,13 @@ glabel use_cam_preset
/* 17C838 8024DF58 00000000 */ nop
/* 17C83C 8024DF5C 3C108028 */ lui $s0, %hi(D_80280D90)
/* 17C840 8024DF60 26100D90 */ addiu $s0, $s0, %lo(D_80280D90)
/* 17C844 8024DF64 3C01C2BE */ lui $at, %hi(D_C2BDF280)
/* 17C844 8024DF64 3C01C2BE */ lui $at, 0xc2be
/* 17C848 8024DF68 44810000 */ mtc1 $at, $f0
/* 17C84C 8024DF6C 3C0141B0 */ lui $at, 0x41b0
/* 17C850 8024DF70 44811000 */ mtc1 $at, $f2
/* 17C854 8024DF74 240200D2 */ addiu $v0, $zero, 0xd2
/* 17C858 8024DF78 3C01802A */ lui $at, %hi(D_8029F280)
/* 17C85C 8024DF7C A422F280 */ sh $v0, %lo(D_C2BDF280)($at)
/* 17C85C 8024DF7C A422F280 */ sh $v0, %lo(D_8029F280)($at)
/* 17C860 8024DF80 24020008 */ addiu $v0, $zero, 8
/* 17C864 8024DF84 3C01802A */ lui $at, %hi(D_8029F284)
/* 17C868 8024DF88 A422F284 */ sh $v0, %lo(D_8029F284)($at)

View File

@ -125,14 +125,14 @@ glabel func_8025E190
.L8025E364:
/* 18CC44 8025E364 2401FFFF */ addiu $at, $zero, -1
/* 18CC48 8025E368 14610004 */ bne $v1, $at, .L8025E37C
/* 18CC4C 8025E36C 3C018000 */ lui $at, %hi(D_7FFFFB78)
/* 18CC4C 8025E36C 3C018000 */ lui $at, 0x8000
/* 18CC50 8025E370 14810002 */ bne $a0, $at, .L8025E37C
/* 18CC54 8025E374 00000000 */ nop
/* 18CC58 8025E378 0006000D */ break 6
.L8025E37C:
/* 18CC5C 8025E37C 00002012 */ mflo $a0
/* 18CC60 8025E380 3C01802A */ lui $at, %hi(D_8029FB78)
/* 18CC64 8025E384 AC20FB78 */ sw $zero, %lo(D_7FFFFB78)($at)
/* 18CC64 8025E384 AC20FB78 */ sw $zero, %lo(D_8029FB78)($at)
/* 18CC68 8025E388 3C01802A */ lui $at, %hi(D_8029FB54)
/* 18CC6C 8025E38C AC23FB54 */ sw $v1, %lo(D_8029FB54)($at)
/* 18CC70 8025E390 0040282D */ daddu $a1, $v0, $zero
@ -303,14 +303,14 @@ glabel func_8025E190
/* 18CEE8 8025E608 24C61000 */ addiu $a2, $a2, %lo(D_802A1000)
/* 18CEEC 8025E60C 0C00A5CF */ jal dma_copy
/* 18CEF0 8025E610 00000000 */ nop
/* 18CEF4 8025E614 3C048000 */ lui $a0, %hi(D_80004880)
/* 18CEF4 8025E614 3C048000 */ lui $a0, 0x8000
/* 18CEF8 8025E618 0C05272D */ jal play_sound
/* 18CEFC 8025E61C 34840008 */ ori $a0, $a0, 8
/* 18CF00 8025E620 24020005 */ addiu $v0, $zero, 5
/* 18CF04 8025E624 08097FD0 */ j .L8025FF40
/* 18CF08 8025E628 AE000000 */ sw $zero, ($s0)
/* 18CF0C 8025E62C 3C048028 */ lui $a0, %hi(D_80284880)
/* 18CF10 8025E630 24844880 */ addiu $a0, $a0, %lo(D_80004880)
/* 18CF10 8025E630 24844880 */ addiu $a0, $a0, %lo(D_80284880)
/* 18CF14 8025E634 2405000A */ addiu $a1, $zero, 0xa
/* 18CF18 8025E638 0C0B0CF8 */ jal start_script
/* 18CF1C 8025E63C 0000302D */ daddu $a2, $zero, $zero

View File

@ -24,24 +24,24 @@ glabel load_engine_data
/* 2228 80026E28 248479B0 */ addiu $a0, $a0, 0x79b0
/* 222C 80026E2C 3C050010 */ lui $a1, 0x10
/* 2230 80026E30 24A5EE30 */ addiu $a1, $a1, -0x11d0
/* 2234 80026E34 3C06802C */ lui $a2, %hi(D_802C3000)
/* 2238 80026E38 24C63000 */ addiu $a2, $a2, %lo(D_802C3000)
/* 2234 80026E34 3C06802C */ lui $a2, %hi(sort_scripts)
/* 2238 80026E38 24C63000 */ addiu $a2, $a2, %lo(sort_scripts)
/* 223C 80026E3C 0C00A5CF */ jal dma_copy
/* 2240 80026E40 00000000 */ nop
/* 2244 80026E44 3C040010 */ lui $a0, 0x10
/* 2248 80026E48 24842610 */ addiu $a0, $a0, 0x2610
/* 224C 80026E4C 3C050011 */ lui $a1, 0x11
/* 2250 80026E50 24A5CC10 */ addiu $a1, $a1, -0x33f0
/* 2254 80026E54 3C06802E */ lui $a2, %hi(D_802E0D90)
/* 2258 80026E58 24C60D90 */ addiu $a2, $a2, %lo(D_802E0D90)
/* 2254 80026E54 3C06802E */ lui $a2, %hi(create_shadow_callback)
/* 2258 80026E58 24C60D90 */ addiu $a2, $a2, %lo(create_shadow_callback)
/* 225C 80026E5C 0C00A5CF */ jal dma_copy
/* 2260 80026E60 00000000 */ nop
/* 2264 80026E64 3C04000A */ lui $a0, 0xa
/* 2268 80026E68 24845DD0 */ addiu $a0, $a0, 0x5dd0
/* 226C 80026E6C 3C05000E */ lui $a1, 0xe
/* 2270 80026E70 24A579B0 */ addiu $a1, $a1, 0x79b0
/* 2274 80026E74 3C068011 */ lui $a2, %hi(D_8010F6D0)
/* 2278 80026E78 24C6F6D0 */ addiu $a2, $a2, %lo(D_8010F6D0)
/* 2274 80026E74 3C068011 */ lui $a2, %hi(update_entities)
/* 2278 80026E78 24C6F6D0 */ addiu $a2, $a2, %lo(update_entities)
/* 227C 80026E7C 0C00A5CF */ jal dma_copy
/* 2280 80026E80 00000000 */ nop
/* 2284 80026E84 3C040011 */ lui $a0, 0x11

View File

@ -1,51 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel MakeNpcs
/* 1F698 80044298 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 1F69C 8004429C AFB10014 */ sw $s1, 0x14($sp)
/* 1F6A0 800442A0 0080882D */ daddu $s1, $a0, $zero
/* 1F6A4 800442A4 AFBF0018 */ sw $ra, 0x18($sp)
/* 1F6A8 800442A8 AFB00010 */ sw $s0, 0x10($sp)
/* 1F6AC 800442AC 8E30000C */ lw $s0, 0xc($s1)
/* 1F6B0 800442B0 54A00001 */ bnel $a1, $zero, .L800442B8
/* 1F6B4 800442B4 AE200070 */ sw $zero, 0x70($s1)
.L800442B8:
/* 1F6B8 800442B8 8E240070 */ lw $a0, 0x70($s1)
/* 1F6BC 800442BC 10800005 */ beqz $a0, .L800442D4
/* 1F6C0 800442C0 24020001 */ addiu $v0, $zero, 1
/* 1F6C4 800442C4 10820014 */ beq $a0, $v0, .L80044318
/* 1F6C8 800442C8 0000102D */ daddu $v0, $zero, $zero
/* 1F6CC 800442CC 080110CB */ j .L8004432C
/* 1F6D0 800442D0 00000000 */ nop
.L800442D4:
/* 1F6D4 800442D4 8E050000 */ lw $a1, ($s0)
/* 1F6D8 800442D8 26100004 */ addiu $s0, $s0, 4
/* 1F6DC 800442DC 0C0B1EAF */ jal get_variable
/* 1F6E0 800442E0 0220202D */ daddu $a0, $s1, $zero
/* 1F6E4 800442E4 0220202D */ daddu $a0, $s1, $zero
/* 1F6E8 800442E8 8E050000 */ lw $a1, ($s0)
/* 1F6EC 800442EC 0C0B1EAF */ jal get_variable
/* 1F6F0 800442F0 0040802D */ daddu $s0, $v0, $zero
/* 1F6F4 800442F4 3C038007 */ lui $v1, %hi(gGameStatusPtr)
/* 1F6F8 800442F8 8C63419C */ lw $v1, %lo(gGameStatusPtr)($v1)
/* 1F6FC 800442FC 0200202D */ daddu $a0, $s0, $zero
/* 1F700 80044300 8465008C */ lh $a1, 0x8c($v1)
/* 1F704 80044304 0C00F99E */ jal make_npcs
/* 1F708 80044308 0040302D */ daddu $a2, $v0, $zero
/* 1F70C 8004430C 24020001 */ addiu $v0, $zero, 1
/* 1F710 80044310 080110CA */ j .L80044328
/* 1F714 80044314 AE220070 */ sw $v0, 0x70($s1)
.L80044318:
/* 1F718 80044318 3C03800A */ lui $v1, %hi(gGameState)
/* 1F71C 8004431C 8C63A600 */ lw $v1, %lo(gGameState)($v1)
/* 1F720 80044320 14640002 */ bne $v1, $a0, .L8004432C
/* 1F724 80044324 24020002 */ addiu $v0, $zero, 2
.L80044328:
/* 1F728 80044328 0000102D */ daddu $v0, $zero, $zero
.L8004432C:
/* 1F72C 8004432C 8FBF0018 */ lw $ra, 0x18($sp)
/* 1F730 80044330 8FB10014 */ lw $s1, 0x14($sp)
/* 1F734 80044334 8FB00010 */ lw $s0, 0x10($sp)
/* 1F738 80044338 03E00008 */ jr $ra
/* 1F73C 8004433C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,94 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80045900
/* 20D00 80045900 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 20D04 80045904 AFB00040 */ sw $s0, 0x40($sp)
/* 20D08 80045908 0080802D */ daddu $s0, $a0, $zero
/* 20D0C 8004590C AFBF0048 */ sw $ra, 0x48($sp)
/* 20D10 80045910 AFB10044 */ sw $s1, 0x44($sp)
/* 20D14 80045914 8E110148 */ lw $s1, 0x148($s0)
/* 20D18 80045918 0C00EABB */ jal get_npc_unsafe
/* 20D1C 8004591C 86240008 */ lh $a0, 8($s1)
/* 20D20 80045920 8E03000C */ lw $v1, 0xc($s0)
/* 20D24 80045924 0200202D */ daddu $a0, $s0, $zero
/* 20D28 80045928 8C650000 */ lw $a1, ($v1)
/* 20D2C 8004592C 0C0B1EAF */ jal get_variable
/* 20D30 80045930 0040802D */ daddu $s0, $v0, $zero
/* 20D34 80045934 8E2300B0 */ lw $v1, 0xb0($s1)
/* 20D38 80045938 34630004 */ ori $v1, $v1, 4
/* 20D3C 8004593C 14400040 */ bnez $v0, .L80045A40
/* 20D40 80045940 AE2300B0 */ sw $v1, 0xb0($s1)
/* 20D44 80045944 30620010 */ andi $v0, $v1, 0x10
/* 20D48 80045948 14400004 */ bnez $v0, .L8004595C
/* 20D4C 8004594C 00000000 */ nop
/* 20D50 80045950 8E2200CC */ lw $v0, 0xcc($s1)
/* 20D54 80045954 8C420000 */ lw $v0, ($v0)
/* 20D58 80045958 AE020028 */ sw $v0, 0x28($s0)
.L8004595C:
/* 20D5C 8004595C 8E2200B0 */ lw $v0, 0xb0($s1)
/* 20D60 80045960 30420008 */ andi $v0, $v0, 8
/* 20D64 80045964 14400015 */ bnez $v0, .L800459BC
/* 20D68 80045968 24040002 */ addiu $a0, $zero, 2
/* 20D6C 8004596C 0200282D */ daddu $a1, $s0, $zero
/* 20D70 80045970 860300A8 */ lh $v1, 0xa8($s0)
/* 20D74 80045974 44800000 */ mtc1 $zero, $f0
/* 20D78 80045978 3C01C1A0 */ lui $at, 0xc1a0
/* 20D7C 8004597C 44811000 */ mtc1 $at, $f2
/* 20D80 80045980 24020028 */ addiu $v0, $zero, 0x28
/* 20D84 80045984 AFA2001C */ sw $v0, 0x1c($sp)
/* 20D88 80045988 44834000 */ mtc1 $v1, $f8
/* 20D8C 8004598C 00000000 */ nop
/* 20D90 80045990 46804220 */ cvt.s.w $f8, $f8
/* 20D94 80045994 44060000 */ mfc1 $a2, $f0
/* 20D98 80045998 3C013F80 */ lui $at, 0x3f80
/* 20D9C 8004599C 44810000 */ mtc1 $at, $f0
/* 20DA0 800459A0 44074000 */ mfc1 $a3, $f8
/* 20DA4 800459A4 03A21021 */ addu $v0, $sp, $v0
/* 20DA8 800459A8 AFA20020 */ sw $v0, 0x20($sp)
/* 20DAC 800459AC E7A20018 */ swc1 $f2, 0x18($sp)
/* 20DB0 800459B0 E7A00010 */ swc1 $f0, 0x10($sp)
/* 20DB4 800459B4 0C01BFA4 */ jal fx_emote
/* 20DB8 800459B8 AFA60014 */ sw $a2, 0x14($sp)
.L800459BC:
/* 20DBC 800459BC 8E020000 */ lw $v0, ($s0)
/* 20DC0 800459C0 24030808 */ addiu $v1, $zero, 0x808
/* 20DC4 800459C4 30420A08 */ andi $v0, $v0, 0xa08
/* 20DC8 800459C8 1443001D */ bne $v0, $v1, .L80045A40
/* 20DCC 800459CC 27A5002C */ addiu $a1, $sp, 0x2c
/* 20DD0 800459D0 27A60030 */ addiu $a2, $sp, 0x30
/* 20DD4 800459D4 C6000038 */ lwc1 $f0, 0x38($s0)
/* 20DD8 800459D8 860200A8 */ lh $v0, 0xa8($s0)
/* 20DDC 800459DC 3C0142C8 */ lui $at, 0x42c8
/* 20DE0 800459E0 44812000 */ mtc1 $at, $f4
/* 20DE4 800459E4 44823000 */ mtc1 $v0, $f6
/* 20DE8 800459E8 00000000 */ nop
/* 20DEC 800459EC 468031A0 */ cvt.s.w $f6, $f6
/* 20DF0 800459F0 27A20038 */ addiu $v0, $sp, 0x38
/* 20DF4 800459F4 E7A0002C */ swc1 $f0, 0x2c($sp)
/* 20DF8 800459F8 C600003C */ lwc1 $f0, 0x3c($s0)
/* 20DFC 800459FC C6020040 */ lwc1 $f2, 0x40($s0)
/* 20E00 80045A00 46060000 */ add.s $f0, $f0, $f6
/* 20E04 80045A04 E7A40038 */ swc1 $f4, 0x38($sp)
/* 20E08 80045A08 E7A20034 */ swc1 $f2, 0x34($sp)
/* 20E0C 80045A0C E7A00030 */ swc1 $f0, 0x30($sp)
/* 20E10 80045A10 AFA20010 */ sw $v0, 0x10($sp)
/* 20E14 80045A14 8E040080 */ lw $a0, 0x80($s0)
/* 20E18 80045A18 0C0372DF */ jal func_800DCB7C
/* 20E1C 80045A1C 27A70034 */ addiu $a3, $sp, 0x34
/* 20E20 80045A20 10400003 */ beqz $v0, .L80045A30
/* 20E24 80045A24 00000000 */ nop
/* 20E28 80045A28 C7A00030 */ lwc1 $f0, 0x30($sp)
/* 20E2C 80045A2C E600003C */ swc1 $f0, 0x3c($s0)
.L80045A30:
/* 20E30 80045A30 8E020000 */ lw $v0, ($s0)
/* 20E34 80045A34 2403F7FF */ addiu $v1, $zero, -0x801
/* 20E38 80045A38 00431024 */ and $v0, $v0, $v1
/* 20E3C 80045A3C AE020000 */ sw $v0, ($s0)
.L80045A40:
/* 20E40 80045A40 8FBF0048 */ lw $ra, 0x48($sp)
/* 20E44 80045A44 8FB10044 */ lw $s1, 0x44($sp)
/* 20E48 80045A48 8FB00040 */ lw $s0, 0x40($sp)
/* 20E4C 80045A4C 24020002 */ addiu $v0, $zero, 2
/* 20E50 80045A50 03E00008 */ jr $ra
/* 20E54 80045A54 27BD0050 */ addiu $sp, $sp, 0x50

View File

@ -39,14 +39,14 @@ glabel func_8004AB00
/* 25F88 8004AB88 26523510 */ addiu $s2, $s2, %lo(D_800A3510)
/* 25F8C 8004AB8C AFA20020 */ sw $v0, 0x20($sp)
/* 25F90 8004AB90 00001810 */ mfhi $v1
/* 25F94 8004AB94 3C02B216 */ lui $v0, %hi(D_B215B224)
/* 25F94 8004AB94 3C02B216 */ lui $v0, 0xb216
/* 25F98 8004AB98 344242C9 */ ori $v0, $v0, 0x42c9
/* 25F9C 8004AB9C 00031942 */ srl $v1, $v1, 5
/* 25FA0 8004ABA0 00620019 */ multu $v1, $v0
/* 25FA4 8004ABA4 A3A00024 */ sb $zero, 0x24($sp)
/* 25FA8 8004ABA8 AFB0002C */ sw $s0, 0x2c($sp)
/* 25FAC 8004ABAC 3C028005 */ lui $v0, %hi(nuAuDmaNew)
/* 25FB0 8004ABB0 2442B224 */ addiu $v0, $v0, %lo(D_B215B224)
/* 25FB0 8004ABB0 2442B224 */ addiu $v0, $v0, %lo(nuAuDmaNew)
/* 25FB4 8004ABB4 AFA20028 */ sw $v0, 0x28($sp)
/* 25FB8 8004ABB8 00001810 */ mfhi $v1
/* 25FBC 8004ABBC 000319C2 */ srl $v1, $v1, 7
@ -118,8 +118,8 @@ glabel func_8004AB00
/* 260B8 8004ACB8 1440FFF6 */ bnez $v0, .L8004AC94
/* 260BC 8004ACBC 26100004 */ addiu $s0, $s0, 4
/* 260C0 8004ACC0 0000882D */ daddu $s1, $zero, $zero
/* 260C4 8004ACC4 3C02800A */ lui $v0, %hi(D_800A3BE0)
/* 260C8 8004ACC8 24423BE0 */ addiu $v0, $v0, %lo(D_800A3BE0)
/* 260C4 8004ACC4 3C02800A */ lui $v0, %hi(nuAuDmaBuf)
/* 260C8 8004ACC8 24423BE0 */ addiu $v0, $v0, %lo(nuAuDmaBuf)
/* 260CC 8004ACCC 0040802D */ daddu $s0, $v0, $zero
/* 260D0 8004ACD0 26120014 */ addiu $s2, $s0, 0x14
/* 260D4 8004ACD4 AE000004 */ sw $zero, 4($s0)
@ -158,8 +158,8 @@ glabel func_8004AB00
/* 26154 8004AD54 248491A0 */ addiu $a0, $a0, %lo(D_800B91A0)
/* 26158 8004AD58 3C028005 */ lui $v0, %hi(D_8004B328)
/* 2615C 8004AD5C 2442B328 */ addiu $v0, $v0, %lo(D_8004B328)
/* 26160 8004AD60 3C018008 */ lui $at, %hi(D_80078174)
/* 26164 8004AD64 AC228174 */ sw $v0, %lo(D_80078174)($at)
/* 26160 8004AD60 3C018008 */ lui $at, %hi(nuAuPreNMIFunc)
/* 26164 8004AD64 AC228174 */ sw $v0, %lo(nuAuPreNMIFunc)($at)
/* 26168 8004AD68 0C015894 */ jal func_80056250
/* 2616C 8004AD6C 27A50018 */ addiu $a1, $sp, 0x18
/* 26170 8004AD70 8FA40020 */ lw $a0, 0x20($sp)

View File

@ -1,18 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004ADD0
/* 261D0 8004ADD0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 261D4 8004ADD4 AFB00010 */ sw $s0, 0x10($sp)
/* 261D8 8004ADD8 0080802D */ daddu $s0, $a0, $zero
/* 261DC 8004ADDC AFBF0014 */ sw $ra, 0x14($sp)
/* 261E0 8004ADE0 0C018250 */ jal osSetIntMask
/* 261E4 8004ADE4 24040001 */ addiu $a0, $zero, 1
/* 261E8 8004ADE8 3C018008 */ lui $at, %hi(D_80078174)
/* 261EC 8004ADEC AC308174 */ sw $s0, %lo(D_80078174)($at)
/* 261F0 8004ADF0 0C018250 */ jal osSetIntMask
/* 261F4 8004ADF4 0040202D */ daddu $a0, $v0, $zero
/* 261F8 8004ADF8 8FBF0014 */ lw $ra, 0x14($sp)
/* 261FC 8004ADFC 8FB00010 */ lw $s0, 0x10($sp)
/* 26200 8004AE00 03E00008 */ jr $ra
/* 26204 8004AE04 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -145,8 +145,8 @@ glabel func_8004AE08
/* 26408 8004B008 0040302D */ daddu $a2, $v0, $zero
/* 2640C 8004B00C 0C015970 */ jal alAudioFrame
/* 26410 8004B010 02A0382D */ daddu $a3, $s5, $zero
/* 26414 8004B014 3C038008 */ lui $v1, %hi(D_80078174)
/* 26418 8004B018 8C638174 */ lw $v1, %lo(D_80078174)($v1)
/* 26414 8004B014 3C038008 */ lui $v1, %hi(nuAuPreNMIFunc)
/* 26418 8004B018 8C638174 */ lw $v1, %lo(nuAuPreNMIFunc)($v1)
/* 2641C 8004B01C 1060FFA0 */ beqz $v1, .L8004AEA0
/* 26420 8004B020 AFA2007C */ sw $v0, 0x7c($sp)
/* 26424 8004B024 92E20000 */ lbu $v0, ($s7)
@ -158,8 +158,8 @@ glabel func_8004AE08
/* 2643C 8004B03C 08012C19 */ j .L8004B064
/* 26440 8004B040 00000000 */ nop
.L8004B044:
/* 26444 8004B044 3C028008 */ lui $v0, %hi(D_80078174)
/* 26448 8004B048 8C428174 */ lw $v0, %lo(D_80078174)($v0)
/* 26444 8004B044 3C028008 */ lui $v0, %hi(nuAuPreNMIFunc)
/* 26448 8004B048 8C428174 */ lw $v0, %lo(nuAuPreNMIFunc)($v0)
/* 2644C 8004B04C 10400005 */ beqz $v0, .L8004B064
/* 26450 8004B050 00000000 */ nop
/* 26454 8004B054 3C058008 */ lui $a1, %hi(D_80078170)

View File

@ -1,57 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel nuAuCleanDMABuffers
/* 26668 8004B268 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 2666C 8004B26C 3C02800A */ lui $v0, %hi(D_800A3BD0)
/* 26670 8004B270 24423BD0 */ addiu $v0, $v0, %lo(D_800A3BD0)
/* 26674 8004B274 AFBF001C */ sw $ra, 0x1c($sp)
/* 26678 8004B278 AFB20018 */ sw $s2, 0x18($sp)
/* 2667C 8004B27C AFB10014 */ sw $s1, 0x14($sp)
/* 26680 8004B280 AFB00010 */ sw $s0, 0x10($sp)
/* 26684 8004B284 8C500004 */ lw $s0, 4($v0)
/* 26688 8004B288 1200001A */ beqz $s0, .L8004B2F4
/* 2668C 8004B28C 0040902D */ daddu $s2, $v0, $zero
.L8004B290:
/* 26690 8004B290 8E02000C */ lw $v0, 0xc($s0)
/* 26694 8004B294 3C038008 */ lui $v1, %hi(D_8007817C)
/* 26698 8004B298 8C63817C */ lw $v1, %lo(D_8007817C)($v1)
/* 2669C 8004B29C 8E110000 */ lw $s1, ($s0)
/* 266A0 8004B2A0 24420001 */ addiu $v0, $v0, 1
/* 266A4 8004B2A4 0043102B */ sltu $v0, $v0, $v1
/* 266A8 8004B2A8 50400010 */ beql $v0, $zero, .L8004B2EC
/* 266AC 8004B2AC 0220802D */ daddu $s0, $s1, $zero
/* 266B0 8004B2B0 8E420004 */ lw $v0, 4($s2)
/* 266B4 8004B2B4 50500001 */ beql $v0, $s0, .L8004B2BC
/* 266B8 8004B2B8 AE510004 */ sw $s1, 4($s2)
.L8004B2BC:
/* 266BC 8004B2BC 0C012D03 */ jal alUnlink
/* 266C0 8004B2C0 0200202D */ daddu $a0, $s0, $zero
/* 266C4 8004B2C4 8E450008 */ lw $a1, 8($s2)
/* 266C8 8004B2C8 50A00005 */ beql $a1, $zero, .L8004B2E0
/* 266CC 8004B2CC AE500008 */ sw $s0, 8($s2)
/* 266D0 8004B2D0 0C012CFB */ jal alLink
/* 266D4 8004B2D4 0200202D */ daddu $a0, $s0, $zero
/* 266D8 8004B2D8 08012CBB */ j .L8004B2EC
/* 266DC 8004B2DC 0220802D */ daddu $s0, $s1, $zero
.L8004B2E0:
/* 266E0 8004B2E0 AE000000 */ sw $zero, ($s0)
/* 266E4 8004B2E4 AE000004 */ sw $zero, 4($s0)
/* 266E8 8004B2E8 0220802D */ daddu $s0, $s1, $zero
.L8004B2EC:
/* 266EC 8004B2EC 1600FFE8 */ bnez $s0, .L8004B290
/* 266F0 8004B2F0 00000000 */ nop
.L8004B2F4:
/* 266F4 8004B2F4 3C038008 */ lui $v1, %hi(D_8007817C)
/* 266F8 8004B2F8 2463817C */ addiu $v1, $v1, %lo(D_8007817C)
/* 266FC 8004B2FC 8C620000 */ lw $v0, ($v1)
/* 26700 8004B300 3C018008 */ lui $at, %hi(D_80078178)
/* 26704 8004B304 AC208178 */ sw $zero, %lo(D_80078178)($at)
/* 26708 8004B308 24420001 */ addiu $v0, $v0, 1
/* 2670C 8004B30C AC620000 */ sw $v0, ($v1)
/* 26710 8004B310 8FBF001C */ lw $ra, 0x1c($sp)
/* 26714 8004B314 8FB20018 */ lw $s2, 0x18($sp)
/* 26718 8004B318 8FB10014 */ lw $s1, 0x14($sp)
/* 2671C 8004B31C 8FB00010 */ lw $s0, 0x10($sp)
/* 26720 8004B320 03E00008 */ jr $ra
/* 26724 8004B324 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -33,8 +33,8 @@ glabel nuAuDmaCallBack
/* 264DC 8004B0DC 1620FFF7 */ bnez $s1, .L8004B0BC
/* 264E0 8004B0E0 00000000 */ nop
.L8004B0E4:
/* 264E4 8004B0E4 3C12800A */ lui $s2, %hi(D_800A3BD0)
/* 264E8 8004B0E8 26523BD0 */ addiu $s2, $s2, %lo(D_800A3BD0)
/* 264E4 8004B0E4 3C12800A */ lui $s2, %hi(nuAuDmaState)
/* 264E8 8004B0E8 26523BD0 */ addiu $s2, $s2, %lo(nuAuDmaState)
/* 264EC 8004B0EC 8E510008 */ lw $s1, 8($s2)
/* 264F0 8004B0F0 16200006 */ bnez $s1, .L8004B10C
/* 264F4 8004B0F4 0220202D */ daddu $a0, $s1, $zero
@ -65,8 +65,8 @@ glabel nuAuDmaCallBack
.L8004B150:
/* 26550 8004B150 8E240010 */ lw $a0, 0x10($s1)
/* 26554 8004B154 8E220008 */ lw $v0, 8($s1)
/* 26558 8004B158 3C038008 */ lui $v1, %hi(D_8007817C)
/* 2655C 8004B15C 8C63817C */ lw $v1, %lo(D_8007817C)($v1)
/* 26558 8004B158 3C038008 */ lui $v1, %hi(nuAuFrameCounter)
/* 2655C 8004B15C 8C63817C */ lw $v1, %lo(nuAuFrameCounter)($v1)
/* 26560 8004B160 00932021 */ addu $a0, $a0, $s3
/* 26564 8004B164 00822023 */ subu $a0, $a0, $v0
/* 26568 8004B168 0C0187A4 */ jal osVirtualToPhysical
@ -78,8 +78,8 @@ glabel nuAuDmaCallBack
/* 2657C 8004B17C AE200000 */ sw $zero, ($s1)
/* 26580 8004B180 AE200004 */ sw $zero, 4($s1)
.L8004B184:
/* 26584 8004B184 3C048008 */ lui $a0, %hi(D_80078178)
/* 26588 8004B188 24848178 */ addiu $a0, $a0, %lo(D_80078178)
/* 26584 8004B184 3C048008 */ lui $a0, %hi(nuAuDmaNext)
/* 26588 8004B188 24848178 */ addiu $a0, $a0, %lo(nuAuDmaNext)
/* 2658C 8004B18C 32700001 */ andi $s0, $s3, 1
/* 26590 8004B190 02709823 */ subu $s3, $s3, $s0
/* 26594 8004B194 3C02800A */ lui $v0, %hi(D_800A3720)
@ -92,8 +92,8 @@ glabel nuAuDmaCallBack
/* 265B0 8004B1B0 00A32821 */ addu $a1, $a1, $v1
/* 265B4 8004B1B4 000528C0 */ sll $a1, $a1, 3
/* 265B8 8004B1B8 00A22821 */ addu $a1, $a1, $v0
/* 265BC 8004B1BC 3C028008 */ lui $v0, %hi(D_8007817C)
/* 265C0 8004B1C0 8C42817C */ lw $v0, %lo(D_8007817C)($v0)
/* 265BC 8004B1BC 3C028008 */ lui $v0, %hi(nuAuFrameCounter)
/* 265C0 8004B1C0 8C42817C */ lw $v0, %lo(nuAuFrameCounter)($v0)
/* 265C4 8004B1C4 24630001 */ addiu $v1, $v1, 1
/* 265C8 8004B1C8 AE22000C */ sw $v0, 0xc($s1)
/* 265CC 8004B1CC AC830000 */ sw $v1, ($a0)

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel nuAuDmaNew
/* 26624 8004B224 3C03800A */ lui $v1, %hi(D_800A3BD0)
/* 26628 8004B228 24633BD0 */ addiu $v1, $v1, %lo(D_800A3BD0)
/* 2662C 8004B22C 90620000 */ lbu $v0, ($v1)
/* 26630 8004B230 14400007 */ bnez $v0, .L8004B250
/* 26634 8004B234 00000000 */ nop
/* 26638 8004B238 3C02800A */ lui $v0, %hi(D_800A3BE0)
/* 2663C 8004B23C 24423BE0 */ addiu $v0, $v0, %lo(D_800A3BE0)
/* 26640 8004B240 AC620008 */ sw $v0, 8($v1)
/* 26644 8004B244 24020001 */ addiu $v0, $zero, 1
/* 26648 8004B248 AC600004 */ sw $zero, 4($v1)
/* 2664C 8004B24C A0620000 */ sb $v0, ($v1)
.L8004B250:
/* 26650 8004B250 3C028005 */ lui $v0, %hi(nuAuDmaCallBack)
/* 26654 8004B254 2442B074 */ addiu $v0, $v0, %lo(nuAuDmaCallBack)
/* 26658 8004B258 3C018008 */ lui $at, %hi(D_80078178)
/* 2665C 8004B25C AC208178 */ sw $zero, %lo(D_80078178)($at)
/* 26660 8004B260 03E00008 */ jr $ra
/* 26664 8004B264 AC830000 */ sw $v1, ($a0)

View File

@ -1,132 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004B440
/* 26840 8004B440 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 26844 8004B444 AFB00010 */ sw $s0, 0x10($sp)
/* 26848 8004B448 0080802D */ daddu $s0, $a0, $zero
/* 2684C 8004B44C 3C030006 */ lui $v1, 6
/* 26850 8004B450 3463A25E */ ori $v1, $v1, 0xa25e
/* 26854 8004B454 3C020004 */ lui $v0, 4
/* 26858 8004B458 8FA40028 */ lw $a0, 0x28($sp)
/* 2685C 8004B45C 3442C4B4 */ ori $v0, $v0, 0xc4b4
/* 26860 8004B460 AFBF0014 */ sw $ra, 0x14($sp)
/* 26864 8004B464 AE070000 */ sw $a3, ($s0)
/* 26868 8004B468 AE020034 */ sw $v0, 0x34($s0)
/* 2686C 8004B46C AE03003C */ sw $v1, 0x3c($s0)
/* 26870 8004B470 AE030038 */ sw $v1, 0x38($s0)
/* 26874 8004B474 A20500BC */ sb $a1, 0xbc($s0)
/* 26878 8004B478 308200FF */ andi $v0, $a0, 0xff
/* 2687C 8004B47C 2C420011 */ sltiu $v0, $v0, 0x11
/* 26880 8004B480 14400004 */ bnez $v0, .L8004B494
/* 26884 8004B484 A20600BE */ sb $a2, 0xbe($s0)
/* 26888 8004B488 24020010 */ addiu $v0, $zero, 0x10
/* 2688C 8004B48C 08012D26 */ j .L8004B498
/* 26890 8004B490 A20200BD */ sb $v0, 0xbd($s0)
.L8004B494:
/* 26894 8004B494 A20400BD */ sb $a0, 0xbd($s0)
.L8004B498:
/* 26898 8004B498 0000202D */ daddu $a0, $zero, $zero
/* 2689C 8004B49C 24060040 */ addiu $a2, $zero, 0x40
/* 268A0 8004B4A0 240500B0 */ addiu $a1, $zero, 0xb0
/* 268A4 8004B4A4 2403016C */ addiu $v1, $zero, 0x16c
/* 268A8 8004B4A8 34028000 */ ori $v0, $zero, 0x8000
/* 268AC 8004B4AC AE02005C */ sw $v0, 0x5c($s0)
/* 268B0 8004B4B0 A60200B8 */ sh $v0, 0xb8($s0)
/* 268B4 8004B4B4 AE000030 */ sw $zero, 0x30($s0)
/* 268B8 8004B4B8 AE000060 */ sw $zero, 0x60($s0)
.L8004B4BC:
/* 268BC 8004B4BC 02031021 */ addu $v0, $s0, $v1
/* 268C0 8004B4C0 24840001 */ addiu $a0, $a0, 1
/* 268C4 8004B4C4 AC400000 */ sw $zero, ($v0)
/* 268C8 8004B4C8 A440005C */ sh $zero, 0x5c($v0)
/* 268CC 8004B4CC A440008E */ sh $zero, 0x8e($v0)
/* 268D0 8004B4D0 A4400090 */ sh $zero, 0x90($v0)
/* 268D4 8004B4D4 A4400092 */ sh $zero, 0x92($v0)
/* 268D8 8004B4D8 A0400094 */ sb $zero, 0x94($v0)
/* 268DC 8004B4DC A040009B */ sb $zero, 0x9b($v0)
/* 268E0 8004B4E0 A040009C */ sb $zero, 0x9c($v0)
/* 268E4 8004B4E4 A040009D */ sb $zero, 0x9d($v0)
/* 268E8 8004B4E8 A040009E */ sb $zero, 0x9e($v0)
/* 268EC 8004B4EC A040009F */ sb $zero, 0x9f($v0)
/* 268F0 8004B4F0 A0400099 */ sb $zero, 0x99($v0)
/* 268F4 8004B4F4 A0400078 */ sb $zero, 0x78($v0)
/* 268F8 8004B4F8 A0400079 */ sb $zero, 0x79($v0)
/* 268FC 8004B4FC A040007A */ sb $zero, 0x7a($v0)
/* 26900 8004B500 A046007B */ sb $a2, 0x7b($v0)
/* 26904 8004B504 A040007C */ sb $zero, 0x7c($v0)
/* 26908 8004B508 A045007D */ sb $a1, 0x7d($v0)
/* 2690C 8004B50C A040007E */ sb $zero, 0x7e($v0)
/* 26910 8004B510 A040007F */ sb $zero, 0x7f($v0)
/* 26914 8004B514 2C820008 */ sltiu $v0, $a0, 8
/* 26918 8004B518 1440FFE8 */ bnez $v0, .L8004B4BC
/* 2691C 8004B51C 246300AC */ addiu $v1, $v1, 0xac
/* 26920 8004B520 0000202D */ daddu $a0, $zero, $zero
/* 26924 8004B524 0200182D */ daddu $v1, $s0, $zero
.L8004B528:
/* 26928 8004B528 AC600090 */ sw $zero, 0x90($v1)
/* 2692C 8004B52C 24840001 */ addiu $a0, $a0, 1
/* 26930 8004B530 2C820004 */ sltiu $v0, $a0, 4
/* 26934 8004B534 1440FFFC */ bnez $v0, .L8004B528
/* 26938 8004B538 24630004 */ addiu $v1, $v1, 4
/* 2693C 8004B53C 0000202D */ daddu $a0, $zero, $zero
/* 26940 8004B540 0200182D */ daddu $v1, $s0, $zero
.L8004B544:
/* 26944 8004B544 A46000A0 */ sh $zero, 0xa0($v1)
/* 26948 8004B548 24840001 */ addiu $a0, $a0, 1
/* 2694C 8004B54C 2C820004 */ sltiu $v0, $a0, 4
/* 26950 8004B550 1440FFFC */ bnez $v0, .L8004B544
/* 26954 8004B554 24630006 */ addiu $v1, $v1, 6
/* 26958 8004B558 0200202D */ daddu $a0, $s0, $zero
/* 2695C 8004B55C 0000282D */ daddu $a1, $zero, $zero
/* 26960 8004B560 0C012E95 */ jal func_8004BA54
/* 26964 8004B564 AE000168 */ sw $zero, 0x168($s0)
/* 26968 8004B568 0C012DA6 */ jal func_8004B698
/* 2696C 8004B56C 0200202D */ daddu $a0, $s0, $zero
/* 26970 8004B570 26040040 */ addiu $a0, $s0, 0x40
/* 26974 8004B574 0000282D */ daddu $a1, $zero, $zero
/* 26978 8004B578 24067FFF */ addiu $a2, $zero, 0x7fff
/* 2697C 8004B57C 0C014E5D */ jal func_80053974
/* 26980 8004B580 00C0382D */ daddu $a3, $a2, $zero
/* 26984 8004B584 920400BE */ lbu $a0, 0xbe($s0)
/* 26988 8004B588 96050040 */ lhu $a1, 0x40($s0)
/* 2698C 8004B58C 0C014EA6 */ jal func_80053A98
/* 26990 8004B590 8E06005C */ lw $a2, 0x5c($s0)
/* 26994 8004B594 0200202D */ daddu $a0, $s0, $zero
/* 26998 8004B598 0000282D */ daddu $a1, $zero, $zero
/* 2699C 8004B59C 240200FF */ addiu $v0, $zero, 0xff
/* 269A0 8004B5A0 A082008C */ sb $v0, 0x8c($a0)
/* 269A4 8004B5A4 3C028008 */ lui $v0, %hi(D_80078290)
/* 269A8 8004B5A8 24428290 */ addiu $v0, $v0, %lo(D_80078290)
/* 269AC 8004B5AC AC820064 */ sw $v0, 0x64($a0)
/* 269B0 8004B5B0 3C028008 */ lui $v0, %hi(D_800782F8)
/* 269B4 8004B5B4 244282F8 */ addiu $v0, $v0, %lo(D_800782F8)
/* 269B8 8004B5B8 AC820068 */ sw $v0, 0x68($a0)
/* 269BC 8004B5BC 3C028008 */ lui $v0, %hi(D_80078320)
/* 269C0 8004B5C0 24428320 */ addiu $v0, $v0, %lo(D_80078320)
/* 269C4 8004B5C4 AC82006C */ sw $v0, 0x6c($a0)
/* 269C8 8004B5C8 3C028008 */ lui $v0, %hi(D_80078348)
/* 269CC 8004B5CC 24428348 */ addiu $v0, $v0, %lo(D_80078348)
/* 269D0 8004B5D0 AC820070 */ sw $v0, 0x70($a0)
/* 269D4 8004B5D4 AC820074 */ sw $v0, 0x74($a0)
/* 269D8 8004B5D8 AC820078 */ sw $v0, 0x78($a0)
/* 269DC 8004B5DC AC82007C */ sw $v0, 0x7c($a0)
/* 269E0 8004B5E0 AC820080 */ sw $v0, 0x80($a0)
/* 269E4 8004B5E4 24020010 */ addiu $v0, $zero, 0x10
/* 269E8 8004B5E8 A0820084 */ sb $v0, 0x84($a0)
/* 269EC 8004B5EC 24020020 */ addiu $v0, $zero, 0x20
/* 269F0 8004B5F0 A0820085 */ sb $v0, 0x85($a0)
/* 269F4 8004B5F4 A0820086 */ sb $v0, 0x86($a0)
/* 269F8 8004B5F8 A0820087 */ sb $v0, 0x87($a0)
/* 269FC 8004B5FC A0820088 */ sb $v0, 0x88($a0)
/* 26A00 8004B600 24020030 */ addiu $v0, $zero, 0x30
/* 26A04 8004B604 A0820089 */ sb $v0, 0x89($a0)
/* 26A08 8004B608 24020040 */ addiu $v0, $zero, 0x40
/* 26A0C 8004B60C A082008A */ sb $v0, 0x8a($a0)
/* 26A10 8004B610 24020050 */ addiu $v0, $zero, 0x50
/* 26A14 8004B614 0C012E79 */ jal func_8004B9E4
/* 26A18 8004B618 A082008B */ sb $v0, 0x8b($a0)
/* 26A1C 8004B61C 8FBF0014 */ lw $ra, 0x14($sp)
/* 26A20 8004B620 8FB00010 */ lw $s0, 0x10($sp)
/* 26A24 8004B624 03E00008 */ jr $ra
/* 26A28 8004B628 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,21 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004B698
/* 26A98 8004B698 0000282D */ daddu $a1, $zero, $zero
/* 26A9C 8004B69C 0080182D */ daddu $v1, $a0, $zero
.L8004B6A0:
/* 26AA0 8004B6A0 A46000C2 */ sh $zero, 0xc2($v1)
/* 26AA4 8004B6A4 A46000C4 */ sh $zero, 0xc4($v1)
/* 26AA8 8004B6A8 A46000C6 */ sh $zero, 0xc6($v1)
/* 26AAC 8004B6AC A46000C8 */ sh $zero, 0xc8($v1)
/* 26AB0 8004B6B0 A06000CA */ sb $zero, 0xca($v1)
/* 26AB4 8004B6B4 24A50001 */ addiu $a1, $a1, 1
/* 26AB8 8004B6B8 28A20010 */ slti $v0, $a1, 0x10
/* 26ABC 8004B6BC 1440FFF8 */ bnez $v0, .L8004B6A0
/* 26AC0 8004B6C0 2463000A */ addiu $v1, $v1, 0xa
/* 26AC4 8004B6C4 A0800165 */ sb $zero, 0x165($a0)
/* 26AC8 8004B6C8 A0800164 */ sb $zero, 0x164($a0)
/* 26ACC 8004B6CC A0800163 */ sb $zero, 0x163($a0)
/* 26AD0 8004B6D0 03E00008 */ jr $ra
/* 26AD4 8004B6D4 A0800162 */ sb $zero, 0x162($a0)

View File

@ -1,35 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004B6D8
/* 26AD8 8004B6D8 90830164 */ lbu $v1, 0x164($a0)
/* 26ADC 8004B6DC 90820163 */ lbu $v0, 0x163($a0)
/* 26AE0 8004B6E0 8FA90010 */ lw $t1, 0x10($sp)
/* 26AE4 8004B6E4 00621023 */ subu $v0, $v1, $v0
/* 26AE8 8004B6E8 04420001 */ bltzl $v0, .L8004B6F0
/* 26AEC 8004B6EC 24420010 */ addiu $v0, $v0, 0x10
.L8004B6F0:
/* 26AF0 8004B6F0 28420010 */ slti $v0, $v0, 0x10
/* 26AF4 8004B6F4 10400012 */ beqz $v0, .L8004B740
/* 26AF8 8004B6F8 0060402D */ daddu $t0, $v1, $zero
/* 26AFC 8004B6FC 00081880 */ sll $v1, $t0, 2
/* 26B00 8004B700 00681821 */ addu $v1, $v1, $t0
/* 26B04 8004B704 25080001 */ addiu $t0, $t0, 1
/* 26B08 8004B708 00031840 */ sll $v1, $v1, 1
/* 26B0C 8004B70C 00831821 */ addu $v1, $a0, $v1
/* 26B10 8004B710 30A2BFFF */ andi $v0, $a1, 0xbfff
/* 26B14 8004B714 A46200C2 */ sh $v0, 0xc2($v1)
/* 26B18 8004B718 00051402 */ srl $v0, $a1, 0x10
/* 26B1C 8004B71C 304203FF */ andi $v0, $v0, 0x3ff
/* 26B20 8004B720 A46200C4 */ sh $v0, 0xc4($v1)
/* 26B24 8004B724 2D020010 */ sltiu $v0, $t0, 0x10
/* 26B28 8004B728 A46600C6 */ sh $a2, 0xc6($v1)
/* 26B2C 8004B72C A46700C8 */ sh $a3, 0xc8($v1)
/* 26B30 8004B730 14400002 */ bnez $v0, .L8004B73C
/* 26B34 8004B734 A06900CA */ sb $t1, 0xca($v1)
/* 26B38 8004B738 0000402D */ daddu $t0, $zero, $zero
.L8004B73C:
/* 26B3C 8004B73C A0880164 */ sb $t0, 0x164($a0)
.L8004B740:
/* 26B40 8004B740 03E00008 */ jr $ra
/* 26B44 8004B744 00000000 */ nop

View File

@ -1,35 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004B9E4
/* 26DE4 8004B9E4 30A500FF */ andi $a1, $a1, 0xff
/* 26DE8 8004B9E8 240200F0 */ addiu $v0, $zero, 0xf0
/* 26DEC 8004B9EC 10A20017 */ beq $a1, $v0, .L8004BA4C
/* 26DF0 8004B9F0 28A20008 */ slti $v0, $a1, 8
/* 26DF4 8004B9F4 10400013 */ beqz $v0, .L8004BA44
/* 26DF8 8004B9F8 240200FF */ addiu $v0, $zero, 0xff
/* 26DFC 8004B9FC 9082008C */ lbu $v0, 0x8c($a0)
/* 26E00 8004BA00 1045000C */ beq $v0, $a1, .L8004BA34
/* 26E04 8004BA04 24020006 */ addiu $v0, $zero, 6
/* 26E08 8004BA08 8C830000 */ lw $v1, ($a0)
/* 26E0C 8004BA0C A085008C */ sb $a1, 0x8c($a0)
/* 26E10 8004BA10 A0620044 */ sb $v0, 0x44($v1)
/* 26E14 8004BA14 8C830000 */ lw $v1, ($a0)
/* 26E18 8004BA18 24020001 */ addiu $v0, $zero, 1
/* 26E1C 8004BA1C A0620045 */ sb $v0, 0x45($v1)
/* 26E20 8004BA20 00051080 */ sll $v0, $a1, 2
/* 26E24 8004BA24 00821021 */ addu $v0, $a0, $v0
/* 26E28 8004BA28 8C420064 */ lw $v0, 0x64($v0)
/* 26E2C 8004BA2C 3C018008 */ lui $at, %hi(D_8007F1F8)
/* 26E30 8004BA30 AC22F1F8 */ sw $v0, %lo(D_8007F1F8)($at)
.L8004BA34:
/* 26E34 8004BA34 00851021 */ addu $v0, $a0, $a1
/* 26E38 8004BA38 90420084 */ lbu $v0, 0x84($v0)
/* 26E3C 8004BA3C 08012E93 */ j .L8004BA4C
/* 26E40 8004BA40 A082008D */ sb $v0, 0x8d($a0)
.L8004BA44:
/* 26E44 8004BA44 A082008C */ sb $v0, 0x8c($a0)
/* 26E48 8004BA48 A080008D */ sb $zero, 0x8d($a0)
.L8004BA4C:
/* 26E4C 8004BA4C 03E00008 */ jr $ra
/* 26E50 8004BA50 9082008C */ lbu $v0, 0x8c($a0)

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004BA54
/* 26E54 8004BA54 14A00003 */ bnez $a1, .L8004BA64
/* 26E58 8004BA58 24020001 */ addiu $v0, $zero, 1
/* 26E5C 8004BA5C 03E00008 */ jr $ra
/* 26E60 8004BA60 A08000C0 */ sb $zero, 0xc0($a0)
.L8004BA64:
/* 26E64 8004BA64 50A20001 */ beql $a1, $v0, .L8004BA6C
/* 26E68 8004BA68 A08500C0 */ sb $a1, 0xc0($a0)
.L8004BA6C:
/* 26E6C 8004BA6C 03E00008 */ jr $ra
/* 26E70 8004BA70 00000000 */ nop

View File

@ -1,130 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004E158
/* 29558 8004E158 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 2955C 8004E15C AFB20018 */ sw $s2, 0x18($sp)
/* 29560 8004E160 0080902D */ daddu $s2, $a0, $zero
/* 29564 8004E164 AFB00010 */ sw $s0, 0x10($sp)
/* 29568 8004E168 00A0802D */ daddu $s0, $a1, $zero
/* 2956C 8004E16C AFB10014 */ sw $s1, 0x14($sp)
/* 29570 8004E170 00C0882D */ daddu $s1, $a2, $zero
/* 29574 8004E174 3C050002 */ lui $a1, 2
/* 29578 8004E178 34A5625A */ ori $a1, $a1, 0x625a
/* 2957C 8004E17C 24060030 */ addiu $a2, $zero, 0x30
/* 29580 8004E180 AFBF001C */ sw $ra, 0x1c($sp)
/* 29584 8004E184 0C013A20 */ jal func_8004E880
/* 29588 8004E188 AE470000 */ sw $a3, ($s2)
/* 2958C 8004E18C 0000282D */ daddu $a1, $zero, $zero
/* 29590 8004E190 2404007F */ addiu $a0, $zero, 0x7f
/* 29594 8004E194 3C013F80 */ lui $at, 0x3f80
/* 29598 8004E198 44810000 */ mtc1 $at, $f0
/* 2959C 8004E19C 34028000 */ ori $v0, $zero, 0x8000
/* 295A0 8004E1A0 AE420048 */ sw $v0, 0x48($s2)
/* 295A4 8004E1A4 24023CF0 */ addiu $v0, $zero, 0x3cf0
/* 295A8 8004E1A8 AE4200B0 */ sw $v0, 0xb0($s2)
/* 295AC 8004E1AC 3C027F00 */ lui $v0, 0x7f00
/* 295B0 8004E1B0 AE4200C0 */ sw $v0, 0xc0($s2)
/* 295B4 8004E1B4 24020001 */ addiu $v0, $zero, 1
/* 295B8 8004E1B8 A242022B */ sb $v0, 0x22b($s2)
/* 295BC 8004E1BC 24020002 */ addiu $v0, $zero, 2
/* 295C0 8004E1C0 AE400014 */ sw $zero, 0x14($s2)
/* 295C4 8004E1C4 AE400018 */ sw $zero, 0x18($s2)
/* 295C8 8004E1C8 AE40001C */ sw $zero, 0x1c($s2)
/* 295CC 8004E1CC AE400020 */ sw $zero, 0x20($s2)
/* 295D0 8004E1D0 A6400058 */ sh $zero, 0x58($s2)
/* 295D4 8004E1D4 A640005A */ sh $zero, 0x5a($s2)
/* 295D8 8004E1D8 AE400068 */ sw $zero, 0x68($s2)
/* 295DC 8004E1DC AE40006C */ sw $zero, 0x6c($s2)
/* 295E0 8004E1E0 AE400070 */ sw $zero, 0x70($s2)
/* 295E4 8004E1E4 AE4000BC */ sw $zero, 0xbc($s2)
/* 295E8 8004E1E8 AE4000B8 */ sw $zero, 0xb8($s2)
/* 295EC 8004E1EC AE4000B4 */ sw $zero, 0xb4($s2)
/* 295F0 8004E1F0 AE4000CC */ sw $zero, 0xcc($s2)
/* 295F4 8004E1F4 AE4000C8 */ sw $zero, 0xc8($s2)
/* 295F8 8004E1F8 AE4000C4 */ sw $zero, 0xc4($s2)
/* 295FC 8004E1FC A640020C */ sh $zero, 0x20c($s2)
/* 29600 8004E200 A640020E */ sh $zero, 0x20e($s2)
/* 29604 8004E204 A2400220 */ sb $zero, 0x220($s2)
/* 29608 8004E208 AE400204 */ sw $zero, 0x204($s2)
/* 2960C 8004E20C A2400232 */ sb $zero, 0x232($s2)
/* 29610 8004E210 A2400221 */ sb $zero, 0x221($s2)
/* 29614 8004E214 A2500234 */ sb $s0, 0x234($s2)
/* 29618 8004E218 A2510235 */ sb $s1, 0x235($s2)
/* 2961C 8004E21C AE400168 */ sw $zero, 0x168($s2)
/* 29620 8004E220 A2400222 */ sb $zero, 0x222($s2)
/* 29624 8004E224 A2400223 */ sb $zero, 0x223($s2)
/* 29628 8004E228 A240022A */ sb $zero, 0x22a($s2)
/* 2962C 8004E22C A240022C */ sb $zero, 0x22c($s2)
/* 29630 8004E230 E64000D0 */ swc1 $f0, 0xd0($s2)
/* 29634 8004E234 A240022D */ sb $zero, 0x22d($s2)
/* 29638 8004E238 A242022F */ sb $v0, 0x22f($s2)
/* 2963C 8004E23C 24020003 */ addiu $v0, $zero, 3
/* 29640 8004E240 A2420230 */ sb $v0, 0x230($s2)
/* 29644 8004E244 24020004 */ addiu $v0, $zero, 4
/* 29648 8004E248 A240022E */ sb $zero, 0x22e($s2)
/* 2964C 8004E24C A2420231 */ sb $v0, 0x231($s2)
/* 29650 8004E250 00051400 */ sll $v0, $a1, 0x10
.L8004E254:
/* 29654 8004E254 00021C03 */ sra $v1, $v0, 0x10
/* 29658 8004E258 00031040 */ sll $v0, $v1, 1
/* 2965C 8004E25C 00431021 */ addu $v0, $v0, $v1
/* 29660 8004E260 00021140 */ sll $v0, $v0, 5
/* 29664 8004E264 2442025C */ addiu $v0, $v0, 0x25c
/* 29668 8004E268 02421021 */ addu $v0, $s2, $v0
/* 2966C 8004E26C AC400018 */ sw $zero, 0x18($v0)
/* 29670 8004E270 AC400028 */ sw $zero, 0x28($v0)
/* 29674 8004E274 A4400046 */ sh $zero, 0x46($v0)
/* 29678 8004E278 A0400048 */ sb $zero, 0x48($v0)
/* 2967C 8004E27C A040004A */ sb $zero, 0x4a($v0)
/* 29680 8004E280 A040004B */ sb $zero, 0x4b($v0)
/* 29684 8004E284 A4400044 */ sh $zero, 0x44($v0)
/* 29688 8004E288 A0400058 */ sb $zero, 0x58($v0)
/* 2968C 8004E28C A0440049 */ sb $a0, 0x49($v0)
/* 29690 8004E290 A040004C */ sb $zero, 0x4c($v0)
/* 29694 8004E294 28620008 */ slti $v0, $v1, 8
/* 29698 8004E298 10400005 */ beqz $v0, .L8004E2B0
/* 2969C 8004E29C 24A20001 */ addiu $v0, $a1, 1
/* 296A0 8004E2A0 00031080 */ sll $v0, $v1, 2
/* 296A4 8004E2A4 02421021 */ addu $v0, $s2, $v0
/* 296A8 8004E2A8 AC400238 */ sw $zero, 0x238($v0)
/* 296AC 8004E2AC 24A20001 */ addiu $v0, $a1, 1
.L8004E2B0:
/* 296B0 8004E2B0 0040282D */ daddu $a1, $v0, $zero
/* 296B4 8004E2B4 00021400 */ sll $v0, $v0, 0x10
/* 296B8 8004E2B8 00021403 */ sra $v0, $v0, 0x10
/* 296BC 8004E2BC 28420010 */ slti $v0, $v0, 0x10
/* 296C0 8004E2C0 1440FFE4 */ bnez $v0, .L8004E254
/* 296C4 8004E2C4 00051400 */ sll $v0, $a1, 0x10
/* 296C8 8004E2C8 0000282D */ daddu $a1, $zero, $zero
.L8004E2CC:
/* 296CC 8004E2CC 00051400 */ sll $v0, $a1, 0x10
/* 296D0 8004E2D0 24A40001 */ addiu $a0, $a1, 1
/* 296D4 8004E2D4 0080282D */ daddu $a1, $a0, $zero
/* 296D8 8004E2D8 00021403 */ sra $v0, $v0, 0x10
/* 296DC 8004E2DC 00021840 */ sll $v1, $v0, 1
/* 296E0 8004E2E0 00621821 */ addu $v1, $v1, $v0
/* 296E4 8004E2E4 000318C0 */ sll $v1, $v1, 3
/* 296E8 8004E2E8 2463085C */ addiu $v1, $v1, 0x85c
/* 296EC 8004E2EC 02431821 */ addu $v1, $s2, $v1
/* 296F0 8004E2F0 00042400 */ sll $a0, $a0, 0x10
/* 296F4 8004E2F4 00042403 */ sra $a0, $a0, 0x10
/* 296F8 8004E2F8 28840018 */ slti $a0, $a0, 0x18
/* 296FC 8004E2FC A4600008 */ sh $zero, 8($v1)
/* 29700 8004E300 A460000A */ sh $zero, 0xa($v1)
/* 29704 8004E304 AC60000C */ sw $zero, 0xc($v1)
/* 29708 8004E308 A4600014 */ sh $zero, 0x14($v1)
/* 2970C 8004E30C A0600016 */ sb $zero, 0x16($v1)
/* 29710 8004E310 1480FFEE */ bnez $a0, .L8004E2CC
/* 29714 8004E314 A0600017 */ sb $zero, 0x17($v1)
/* 29718 8004E318 2644002C */ addiu $a0, $s2, 0x2c
/* 2971C 8004E31C 0C014EBB */ jal func_80053AEC
/* 29720 8004E320 24057FFF */ addiu $a1, $zero, 0x7fff
/* 29724 8004E324 0C015444 */ jal func_80055110
/* 29728 8004E328 0240202D */ daddu $a0, $s2, $zero
/* 2972C 8004E32C 8FBF001C */ lw $ra, 0x1c($sp)
/* 29730 8004E330 8FB20018 */ lw $s2, 0x18($sp)
/* 29734 8004E334 8FB10014 */ lw $s1, 0x14($sp)
/* 29738 8004E338 8FB00010 */ lw $s0, 0x10($sp)
/* 2973C 8004E33C 03E00008 */ jr $ra
/* 29740 8004E340 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,48 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004E3A4
/* 297A4 8004E3A4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 297A8 8004E3A8 AFB00010 */ sw $s0, 0x10($sp)
/* 297AC 8004E3AC 0080802D */ daddu $s0, $a0, $zero
/* 297B0 8004E3B0 AFBF0014 */ sw $ra, 0x14($sp)
/* 297B4 8004E3B4 96020036 */ lhu $v0, 0x36($s0)
/* 297B8 8004E3B8 2442FFFF */ addiu $v0, $v0, -1
/* 297BC 8004E3BC A6020036 */ sh $v0, 0x36($s0)
/* 297C0 8004E3C0 00021400 */ sll $v0, $v0, 0x10
/* 297C4 8004E3C4 10400006 */ beqz $v0, .L8004E3E0
/* 297C8 8004E3C8 00000000 */ nop
/* 297CC 8004E3CC 8E02002C */ lw $v0, 0x2c($s0)
/* 297D0 8004E3D0 8E030030 */ lw $v1, 0x30($s0)
/* 297D4 8004E3D4 00431021 */ addu $v0, $v0, $v1
/* 297D8 8004E3D8 0801390B */ j .L8004E42C
/* 297DC 8004E3DC AE02002C */ sw $v0, 0x2c($s0)
.L8004E3E0:
/* 297E0 8004E3E0 86020034 */ lh $v0, 0x34($s0)
/* 297E4 8004E3E4 8E030038 */ lw $v1, 0x38($s0)
/* 297E8 8004E3E8 00021400 */ sll $v0, $v0, 0x10
/* 297EC 8004E3EC 10600003 */ beqz $v1, .L8004E3FC
/* 297F0 8004E3F0 AE02002C */ sw $v0, 0x2c($s0)
/* 297F4 8004E3F4 0060F809 */ jalr $v1
/* 297F8 8004E3F8 00000000 */ nop
.L8004E3FC:
/* 297FC 8004E3FC 8E040020 */ lw $a0, 0x20($s0)
/* 29800 8004E400 10800005 */ beqz $a0, .L8004E418
/* 29804 8004E404 00000000 */ nop
/* 29808 8004E408 0C013720 */ jal func_8004DC80
/* 2980C 8004E40C 00000000 */ nop
/* 29810 8004E410 0801390B */ j .L8004E42C
/* 29814 8004E414 00000000 */ nop
.L8004E418:
/* 29818 8004E418 8E02002C */ lw $v0, 0x2c($s0)
/* 2981C 8004E41C 14400003 */ bnez $v0, .L8004E42C
/* 29820 8004E420 00000000 */ nop
/* 29824 8004E424 0C0136AA */ jal func_8004DAA8
/* 29828 8004E428 0200202D */ daddu $a0, $s0, $zero
.L8004E42C:
/* 2982C 8004E42C 0C013911 */ jal func_8004E444
/* 29830 8004E430 0200202D */ daddu $a0, $s0, $zero
/* 29834 8004E434 8FBF0014 */ lw $ra, 0x14($sp)
/* 29838 8004E438 8FB00010 */ lw $s0, 0x10($sp)
/* 2983C 8004E43C 03E00008 */ jr $ra
/* 29840 8004E440 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,23 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FBBC
/* 2AFBC 8004FBBC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 2AFC0 8004FBC0 AFB00010 */ sw $s0, 0x10($sp)
/* 2AFC4 8004FBC4 0080802D */ daddu $s0, $a0, $zero
/* 2AFC8 8004FBC8 AFBF0014 */ sw $ra, 0x14($sp)
/* 2AFCC 8004FBCC 960500D4 */ lhu $a1, 0xd4($s0)
/* 2AFD0 8004FBD0 0C013F02 */ jal func_8004FC08
/* 2AFD4 8004FBD4 A6050208 */ sh $a1, 0x208($s0)
/* 2AFD8 8004FBD8 00021880 */ sll $v1, $v0, 2
/* 2AFDC 8004FBDC 00621821 */ addu $v1, $v1, $v0
/* 2AFE0 8004FBE0 00031840 */ sll $v1, $v1, 1
/* 2AFE4 8004FBE4 AE0200B0 */ sw $v0, 0xb0($s0)
/* 2AFE8 8004FBE8 AE030008 */ sw $v1, 8($s0)
/* 2AFEC 8004FBEC AE0000BC */ sw $zero, 0xbc($s0)
/* 2AFF0 8004FBF0 AE0000B8 */ sw $zero, 0xb8($s0)
/* 2AFF4 8004FBF4 AE0000B4 */ sw $zero, 0xb4($s0)
/* 2AFF8 8004FBF8 8FBF0014 */ lw $ra, 0x14($sp)
/* 2AFFC 8004FBFC 8FB00010 */ lw $s0, 0x10($sp)
/* 2B000 8004FC00 03E00008 */ jr $ra
/* 2B004 8004FC04 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,52 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FC08
/* 2B008 8004FC08 44852000 */ mtc1 $a1, $f4
/* 2B00C 8004FC0C 00000000 */ nop
/* 2B010 8004FC10 46802121 */ cvt.d.w $f4, $f4
/* 2B014 8004FC14 04A10006 */ bgez $a1, .L8004FC30
/* 2B018 8004FC18 9483020A */ lhu $v1, 0x20a($a0)
/* 2B01C 8004FC1C 3C0141F0 */ lui $at, 0x41f0
/* 2B020 8004FC20 44810800 */ mtc1 $at, $f1
/* 2B024 8004FC24 44800000 */ mtc1 $zero, $f0
/* 2B028 8004FC28 00000000 */ nop
/* 2B02C 8004FC2C 46202100 */ add.d $f4, $f4, $f0
.L8004FC30:
/* 2B030 8004FC30 C48200D0 */ lwc1 $f2, 0xd0($a0)
/* 2B034 8004FC34 46202020 */ cvt.s.d $f0, $f4
/* 2B038 8004FC38 46020002 */ mul.s $f0, $f0, $f2
/* 2B03C 8004FC3C 00000000 */ nop
/* 2B040 8004FC40 3C014F00 */ lui $at, 0x4f00
/* 2B044 8004FC44 44811000 */ mtc1 $at, $f2
/* 2B048 8004FC48 00000000 */ nop
/* 2B04C 8004FC4C 4600103E */ c.le.s $f2, $f0
/* 2B050 8004FC50 00000000 */ nop
/* 2B054 8004FC54 45030005 */ bc1tl .L8004FC6C
/* 2B058 8004FC58 46020001 */ sub.s $f0, $f0, $f2
/* 2B05C 8004FC5C 4600018D */ trunc.w.s $f6, $f0
/* 2B060 8004FC60 44053000 */ mfc1 $a1, $f6
/* 2B064 8004FC64 08013F21 */ j .L8004FC84
/* 2B068 8004FC68 0065102B */ sltu $v0, $v1, $a1
.L8004FC6C:
/* 2B06C 8004FC6C 3C028000 */ lui $v0, 0x8000
/* 2B070 8004FC70 4600018D */ trunc.w.s $f6, $f0
/* 2B074 8004FC74 44053000 */ mfc1 $a1, $f6
/* 2B078 8004FC78 00000000 */ nop
/* 2B07C 8004FC7C 00A22825 */ or $a1, $a1, $v0
/* 2B080 8004FC80 0065102B */ sltu $v0, $v1, $a1
.L8004FC84:
/* 2B084 8004FC84 10400003 */ beqz $v0, .L8004FC94
/* 2B088 8004FC88 00000000 */ nop
/* 2B08C 8004FC8C 08013F27 */ j .L8004FC9C
/* 2B090 8004FC90 0060282D */ daddu $a1, $v1, $zero
.L8004FC94:
/* 2B094 8004FC94 50A00001 */ beql $a1, $zero, .L8004FC9C
/* 2B098 8004FC98 24050001 */ addiu $a1, $zero, 1
.L8004FC9C:
/* 2B09C 8004FC9C 00051040 */ sll $v0, $a1, 1
/* 2B0A0 8004FCA0 00451021 */ addu $v0, $v0, $a1
/* 2B0A4 8004FCA4 000210C0 */ sll $v0, $v0, 3
/* 2B0A8 8004FCA8 00451021 */ addu $v0, $v0, $a1
/* 2B0AC 8004FCAC 03E00008 */ jr $ra
/* 2B0B0 8004FCB0 00021080 */ sll $v0, $v0, 2

View File

@ -1,17 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FCB4
/* 2B0B4 8004FCB4 908200D4 */ lbu $v0, 0xd4($a0)
/* 2B0B8 8004FCB8 3042007F */ andi $v0, $v0, 0x7f
/* 2B0BC 8004FCBC 54400001 */ bnel $v0, $zero, .L8004FCC4
/* 2B0C0 8004FCC0 00021600 */ sll $v0, $v0, 0x18
.L8004FCC4:
/* 2B0C4 8004FCC4 AC8200C0 */ sw $v0, 0xc0($a0)
/* 2B0C8 8004FCC8 24020001 */ addiu $v0, $zero, 1
/* 2B0CC 8004FCCC AC8000CC */ sw $zero, 0xcc($a0)
/* 2B0D0 8004FCD0 AC8000C8 */ sw $zero, 0xc8($a0)
/* 2B0D4 8004FCD4 AC8000C4 */ sw $zero, 0xc4($a0)
/* 2B0D8 8004FCD8 A082021A */ sb $v0, 0x21a($a0)
/* 2B0DC 8004FCDC 03E00008 */ jr $ra
/* 2B0E0 8004FCE0 A0A20041 */ sb $v0, 0x41($a1)

View File

@ -1,12 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FCE4
/* 2B0E4 8004FCE4 808300D4 */ lb $v1, 0xd4($a0)
/* 2B0E8 8004FCE8 00031040 */ sll $v0, $v1, 1
/* 2B0EC 8004FCEC 00431021 */ addu $v0, $v0, $v1
/* 2B0F0 8004FCF0 000210C0 */ sll $v0, $v0, 3
/* 2B0F4 8004FCF4 00431021 */ addu $v0, $v0, $v1
/* 2B0F8 8004FCF8 00021080 */ sll $v0, $v0, 2
/* 2B0FC 8004FCFC 03E00008 */ jr $ra
/* 2B100 8004FD00 A482020C */ sh $v0, 0x20c($a0)

View File

@ -1,17 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FD04
/* 2B104 8004FD04 90830235 */ lbu $v1, 0x235($a0)
/* 2B108 8004FD08 8C820000 */ lw $v0, ($a0)
/* 2B10C 8004FD0C 908500D4 */ lbu $a1, 0xd4($a0)
/* 2B110 8004FD10 00031880 */ sll $v1, $v1, 2
/* 2B114 8004FD14 00431021 */ addu $v0, $v0, $v1
/* 2B118 8004FD18 A0450040 */ sb $a1, 0x40($v0)
/* 2B11C 8004FD1C 90820235 */ lbu $v0, 0x235($a0)
/* 2B120 8004FD20 8C830000 */ lw $v1, ($a0)
/* 2B124 8004FD24 00021080 */ sll $v0, $v0, 2
/* 2B128 8004FD28 00621821 */ addu $v1, $v1, $v0
/* 2B12C 8004FD2C 24020001 */ addiu $v0, $zero, 1
/* 2B130 8004FD30 03E00008 */ jr $ra
/* 2B134 8004FD34 A0620041 */ sb $v0, 0x41($v1)

View File

@ -1,29 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FD38
/* 2B138 8004FD38 908200D4 */ lbu $v0, 0xd4($a0)
/* 2B13C 8004FD3C 00823821 */ addu $a3, $a0, $v0
/* 2B140 8004FD40 2C420004 */ sltiu $v0, $v0, 4
/* 2B144 8004FD44 90E3004C */ lbu $v1, 0x4c($a3)
/* 2B148 8004FD48 10400010 */ beqz $v0, .L8004FD8C
/* 2B14C 8004FD4C 2C620080 */ sltiu $v0, $v1, 0x80
/* 2B150 8004FD50 1040000E */ beqz $v0, .L8004FD8C
/* 2B154 8004FD54 00033080 */ sll $a2, $v1, 2
/* 2B158 8004FD58 8C820000 */ lw $v0, ($a0)
/* 2B15C 8004FD5C 908300D5 */ lbu $v1, 0xd5($a0)
/* 2B160 8004FD60 00462821 */ addu $a1, $v0, $a2
/* 2B164 8004FD64 90A20040 */ lbu $v0, 0x40($a1)
/* 2B168 8004FD68 10430006 */ beq $v0, $v1, .L8004FD84
/* 2B16C 8004FD6C 00000000 */ nop
/* 2B170 8004FD70 A0A30040 */ sb $v1, 0x40($a1)
/* 2B174 8004FD74 8C820000 */ lw $v0, ($a0)
/* 2B178 8004FD78 24030001 */ addiu $v1, $zero, 1
/* 2B17C 8004FD7C 00461021 */ addu $v0, $v0, $a2
/* 2B180 8004FD80 A0430041 */ sb $v1, 0x41($v0)
.L8004FD84:
/* 2B184 8004FD84 908200D5 */ lbu $v0, 0xd5($a0)
/* 2B188 8004FD88 A0E20224 */ sb $v0, 0x224($a3)
.L8004FD8C:
/* 2B18C 8004FD8C 03E00008 */ jr $ra
/* 2B190 8004FD90 00000000 */ nop

View File

@ -1,38 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FD94
/* 2B194 8004FD94 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 2B198 8004FD98 AFB10014 */ sw $s1, 0x14($sp)
/* 2B19C 8004FD9C 0080882D */ daddu $s1, $a0, $zero
/* 2B1A0 8004FDA0 AFBF0018 */ sw $ra, 0x18($sp)
/* 2B1A4 8004FDA4 AFB00010 */ sw $s0, 0x10($sp)
/* 2B1A8 8004FDA8 962500D6 */ lhu $a1, 0xd6($s1)
/* 2B1AC 8004FDAC 0C013F02 */ jal func_8004FC08
/* 2B1B0 8004FDB0 963000D4 */ lhu $s0, 0xd4($s1)
/* 2B1B4 8004FDB4 1E000002 */ bgtz $s0, .L8004FDC0
/* 2B1B8 8004FDB8 0040202D */ daddu $a0, $v0, $zero
/* 2B1BC 8004FDBC 24100001 */ addiu $s0, $zero, 1
.L8004FDC0:
/* 2B1C0 8004FDC0 8E2200B0 */ lw $v0, 0xb0($s1)
/* 2B1C4 8004FDC4 00821023 */ subu $v0, $a0, $v0
/* 2B1C8 8004FDC8 16000002 */ bnez $s0, .L8004FDD4
/* 2B1CC 8004FDCC 0050001A */ div $zero, $v0, $s0
/* 2B1D0 8004FDD0 0007000D */ break 7
.L8004FDD4:
/* 2B1D4 8004FDD4 2401FFFF */ addiu $at, $zero, -1
/* 2B1D8 8004FDD8 16010004 */ bne $s0, $at, .L8004FDEC
/* 2B1DC 8004FDDC 3C018000 */ lui $at, 0x8000
/* 2B1E0 8004FDE0 14410002 */ bne $v0, $at, .L8004FDEC
/* 2B1E4 8004FDE4 00000000 */ nop
/* 2B1E8 8004FDE8 0006000D */ break 6
.L8004FDEC:
/* 2B1EC 8004FDEC 00001012 */ mflo $v0
/* 2B1F0 8004FDF0 AE3000BC */ sw $s0, 0xbc($s1)
/* 2B1F4 8004FDF4 AE2400B8 */ sw $a0, 0xb8($s1)
/* 2B1F8 8004FDF8 AE2200B4 */ sw $v0, 0xb4($s1)
/* 2B1FC 8004FDFC 8FBF0018 */ lw $ra, 0x18($sp)
/* 2B200 8004FE00 8FB10014 */ lw $s1, 0x14($sp)
/* 2B204 8004FE04 8FB00010 */ lw $s0, 0x10($sp)
/* 2B208 8004FE08 03E00008 */ jr $ra
/* 2B20C 8004FE0C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FE10
/* 2B210 8004FE10 908200D6 */ lbu $v0, 0xd6($a0)
/* 2B214 8004FE14 948500D4 */ lhu $a1, 0xd4($a0)
/* 2B218 8004FE18 3046007F */ andi $a2, $v0, 0x7f
/* 2B21C 8004FE1C 54C00001 */ bnel $a2, $zero, .L8004FE24
/* 2B220 8004FE20 00063600 */ sll $a2, $a2, 0x18
.L8004FE24:
/* 2B224 8004FE24 58A00001 */ blezl $a1, .L8004FE2C
/* 2B228 8004FE28 24050001 */ addiu $a1, $zero, 1
.L8004FE2C:
/* 2B22C 8004FE2C 8C8200C0 */ lw $v0, 0xc0($a0)
/* 2B230 8004FE30 00C21023 */ subu $v0, $a2, $v0
/* 2B234 8004FE34 14A00002 */ bnez $a1, .L8004FE40
/* 2B238 8004FE38 0045001A */ div $zero, $v0, $a1
/* 2B23C 8004FE3C 0007000D */ break 7
.L8004FE40:
/* 2B240 8004FE40 2401FFFF */ addiu $at, $zero, -1
/* 2B244 8004FE44 14A10004 */ bne $a1, $at, .L8004FE58
/* 2B248 8004FE48 3C018000 */ lui $at, 0x8000
/* 2B24C 8004FE4C 14410002 */ bne $v0, $at, .L8004FE58
/* 2B250 8004FE50 00000000 */ nop
/* 2B254 8004FE54 0006000D */ break 6
.L8004FE58:
/* 2B258 8004FE58 00001012 */ mflo $v0
/* 2B25C 8004FE5C AC8500CC */ sw $a1, 0xcc($a0)
/* 2B260 8004FE60 AC8600C8 */ sw $a2, 0xc8($a0)
/* 2B264 8004FE64 03E00008 */ jr $ra
/* 2B268 8004FE68 AC8200C4 */ sw $v0, 0xc4($a0)

View File

@ -1,13 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FEB0
/* 2B2B0 8004FEB0 908200D4 */ lbu $v0, 0xd4($a0)
/* 2B2B4 8004FEB4 3042007F */ andi $v0, $v0, 0x7f
/* 2B2B8 8004FEB8 54400001 */ bnel $v0, $zero, .L8004FEC0
/* 2B2BC 8004FEBC 00021600 */ sll $v0, $v0, 0x18
.L8004FEC0:
/* 2B2C0 8004FEC0 ACA20018 */ sw $v0, 0x18($a1)
/* 2B2C4 8004FEC4 24020001 */ addiu $v0, $zero, 1
/* 2B2C8 8004FEC8 03E00008 */ jr $ra
/* 2B2CC 8004FECC A0A20041 */ sb $v0, 0x41($a1)

View File

@ -1,11 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FF3C
/* 2B33C 8004FF3C 908300D4 */ lbu $v1, 0xd4($a0)
/* 2B340 8004FF40 24020001 */ addiu $v0, $zero, 1
/* 2B344 8004FF44 A0A00057 */ sb $zero, 0x57($a1)
/* 2B348 8004FF48 A0A20042 */ sb $v0, 0x42($a1)
/* 2B34C 8004FF4C 3063007F */ andi $v1, $v1, 0x7f
/* 2B350 8004FF50 03E00008 */ jr $ra
/* 2B354 8004FF54 A0A3004A */ sb $v1, 0x4a($a1)

View File

@ -1,10 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FF58
/* 2B358 8004FF58 908200D4 */ lbu $v0, 0xd4($a0)
/* 2B35C 8004FF5C 24030001 */ addiu $v1, $zero, 1
/* 2B360 8004FF60 A0A30043 */ sb $v1, 0x43($a1)
/* 2B364 8004FF64 3042007F */ andi $v0, $v0, 0x7f
/* 2B368 8004FF68 03E00008 */ jr $ra
/* 2B36C 8004FF6C A0A2004B */ sb $v0, 0x4b($a1)

View File

@ -1,10 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FF70
/* 2B370 8004FF70 908200D4 */ lbu $v0, 0xd4($a0)
/* 2B374 8004FF74 24030001 */ addiu $v1, $zero, 1
/* 2B378 8004FF78 A0A30041 */ sb $v1, 0x41($a1)
/* 2B37C 8004FF7C 3042007F */ andi $v0, $v0, 0x7f
/* 2B380 8004FF80 03E00008 */ jr $ra
/* 2B384 8004FF84 A0A20049 */ sb $v0, 0x49($a1)

View File

@ -1,12 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FF88
/* 2B388 8004FF88 808300D4 */ lb $v1, 0xd4($a0)
/* 2B38C 8004FF8C 00031040 */ sll $v0, $v1, 1
/* 2B390 8004FF90 00431021 */ addu $v0, $v0, $v1
/* 2B394 8004FF94 000210C0 */ sll $v0, $v0, 3
/* 2B398 8004FF98 00431021 */ addu $v0, $v0, $v1
/* 2B39C 8004FF9C 00021080 */ sll $v0, $v0, 2
/* 2B3A0 8004FFA0 03E00008 */ jr $ra
/* 2B3A4 8004FFA4 A4A20046 */ sh $v0, 0x46($a1)

View File

@ -1,7 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FFA8
/* 2B3A8 8004FFA8 908200D4 */ lbu $v0, 0xd4($a0)
/* 2B3AC 8004FFAC 03E00008 */ jr $ra
/* 2B3B0 8004FFB0 A0A20048 */ sb $v0, 0x48($a1)

View File

@ -1,9 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FFB4
/* 2B3B4 8004FFB4 948300D4 */ lhu $v1, 0xd4($a0)
/* 2B3B8 8004FFB8 24020001 */ addiu $v0, $zero, 1
/* 2B3BC 8004FFBC A0A20040 */ sb $v0, 0x40($a1)
/* 2B3C0 8004FFC0 03E00008 */ jr $ra
/* 2B3C4 8004FFC4 A4A30038 */ sh $v1, 0x38($a1)

View File

@ -1,11 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FFC8
/* 2B3C8 8004FFC8 908200D4 */ lbu $v0, 0xd4($a0)
/* 2B3CC 8004FFCC A4A2003A */ sh $v0, 0x3a($a1)
/* 2B3D0 8004FFD0 908200D5 */ lbu $v0, 0xd5($a0)
/* 2B3D4 8004FFD4 A0A20055 */ sb $v0, 0x55($a1)
/* 2B3D8 8004FFD8 908200D6 */ lbu $v0, 0xd6($a0)
/* 2B3DC 8004FFDC 03E00008 */ jr $ra
/* 2B3E0 8004FFE0 A0A20056 */ sb $v0, 0x56($a1)

View File

@ -1,7 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FFE4
/* 2B3E4 8004FFE4 908200D4 */ lbu $v0, 0xd4($a0)
/* 2B3E8 8004FFE8 03E00008 */ jr $ra
/* 2B3EC 8004FFEC A0A20055 */ sb $v0, 0x55($a1)

View File

@ -1,7 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FFF0
/* 2B3F0 8004FFF0 908200D4 */ lbu $v0, 0xd4($a0)
/* 2B3F4 8004FFF4 03E00008 */ jr $ra
/* 2B3F8 8004FFF8 A0A20056 */ sb $v0, 0x56($a1)

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004FFFC
/* 2B3FC 8004FFFC 03E00008 */ jr $ra
/* 2B400 80050000 A0A00056 */ sb $zero, 0x56($a1)

View File

@ -1,11 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050004
/* 2B404 80050004 908200D4 */ lbu $v0, 0xd4($a0)
/* 2B408 80050008 3042007F */ andi $v0, $v0, 0x7f
/* 2B40C 8005000C A0A2004A */ sb $v0, 0x4a($a1)
/* 2B410 80050010 908200D5 */ lbu $v0, 0xd5($a0)
/* 2B414 80050014 3042007F */ andi $v0, $v0, 0x7f
/* 2B418 80050018 03E00008 */ jr $ra
/* 2B41C 8005001C A0A20057 */ sb $v0, 0x57($a1)

View File

@ -1,18 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050128
/* 2B528 80050128 908200D4 */ lbu $v0, 0xd4($a0)
/* 2B52C 8005012C 00821821 */ addu $v1, $a0, $v0
/* 2B530 80050130 2C420004 */ sltiu $v0, $v0, 4
/* 2B534 80050134 9063004C */ lbu $v1, 0x4c($v1)
/* 2B538 80050138 10400005 */ beqz $v0, .L80050150
/* 2B53C 8005013C 00031600 */ sll $v0, $v1, 0x18
/* 2B540 80050140 04400003 */ bltz $v0, .L80050150
/* 2B544 80050144 00000000 */ nop
/* 2B548 80050148 03E00008 */ jr $ra
/* 2B54C 8005014C A0A3005B */ sb $v1, 0x5b($a1)
.L80050150:
/* 2B550 80050150 90820235 */ lbu $v0, 0x235($a0)
/* 2B554 80050154 03E00008 */ jr $ra
/* 2B558 80050158 A0A2005B */ sb $v0, 0x5b($a1)

View File

@ -1,13 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050184
/* 2B584 80050184 908600D6 */ lbu $a2, 0xd6($a0)
/* 2B588 80050188 948200D4 */ lhu $v0, 0xd4($a0)
/* 2B58C 8005018C 8C840064 */ lw $a0, 0x64($a0)
/* 2B590 80050190 8CA30000 */ lw $v1, ($a1)
/* 2B594 80050194 00441021 */ addu $v0, $v0, $a0
/* 2B598 80050198 A4A6003E */ sh $a2, 0x3e($a1)
/* 2B59C 8005019C ACA30004 */ sw $v1, 4($a1)
/* 2B5A0 800501A0 03E00008 */ jr $ra
/* 2B5A4 800501A4 ACA20000 */ sw $v0, ($a1)

View File

@ -1,21 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8005083C
/* 2BC3C 8005083C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 2BC40 80050840 00051040 */ sll $v0, $a1, 1
/* 2BC44 80050844 00451021 */ addu $v0, $v0, $a1
/* 2BC48 80050848 00021140 */ sll $v0, $v0, 5
/* 2BC4C 8005084C 2442025C */ addiu $v0, $v0, 0x25c
/* 2BC50 80050850 00822821 */ addu $a1, $a0, $v0
/* 2BC54 80050854 AFBF0010 */ sw $ra, 0x10($sp)
/* 2BC58 80050858 8CA20000 */ lw $v0, ($a1)
/* 2BC5C 8005085C 10400004 */ beqz $v0, .L80050870
/* 2BC60 80050860 00000000 */ nop
/* 2BC64 80050864 A48600D4 */ sh $a2, 0xd4($a0)
/* 2BC68 80050868 0C013FB4 */ jal func_8004FED0
/* 2BC6C 8005086C A08700D6 */ sb $a3, 0xd6($a0)
.L80050870:
/* 2BC70 80050870 8FBF0010 */ lw $ra, 0x10($sp)
/* 2BC74 80050874 03E00008 */ jr $ra
/* 2BC78 80050878 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050C30
/* 2C030 80050C30 3C02800A */ lui $v0, %hi(D_8009A628)
/* 2C034 80050C34 8C42A628 */ lw $v0, %lo(D_8009A628)($v0)
/* 2C038 80050C38 90430020 */ lbu $v1, 0x20($v0)
/* 2C03C 80050C3C 0083202B */ sltu $a0, $a0, $v1
/* 2C040 80050C40 10800002 */ beqz $a0, .L80050C4C
/* 2C044 80050C44 24020003 */ addiu $v0, $zero, 3
/* 2C048 80050C48 0000102D */ daddu $v0, $zero, $zero
.L80050C4C:
/* 2C04C 80050C4C 03E00008 */ jr $ra
/* 2C050 80050C50 00000000 */ nop

View File

@ -1,8 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050C54
/* 2C054 80050C54 3C02800A */ lui $v0, %hi(D_8009A628)
/* 2C058 80050C58 8C42A628 */ lw $v0, %lo(D_8009A628)($v0)
/* 2C05C 80050C5C 03E00008 */ jr $ra
/* 2C060 80050C60 A0450021 */ sb $a1, 0x21($v0)

View File

@ -1,35 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800525A0
/* 2D9A0 800525A0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 2D9A4 800525A4 AFB3001C */ sw $s3, 0x1c($sp)
/* 2D9A8 800525A8 0080982D */ daddu $s3, $a0, $zero
/* 2D9AC 800525AC AFB10014 */ sw $s1, 0x14($sp)
/* 2D9B0 800525B0 0000882D */ daddu $s1, $zero, $zero
/* 2D9B4 800525B4 AFB20018 */ sw $s2, 0x18($sp)
/* 2D9B8 800525B8 24121320 */ addiu $s2, $zero, 0x1320
/* 2D9BC 800525BC AFBF0020 */ sw $ra, 0x20($sp)
/* 2D9C0 800525C0 AFB00010 */ sw $s0, 0x10($sp)
.L800525C4:
/* 2D9C4 800525C4 02728021 */ addu $s0, $s3, $s2
/* 2D9C8 800525C8 92020042 */ lbu $v0, 0x42($s0)
/* 2D9CC 800525CC 50400007 */ beql $v0, $zero, .L800525EC
/* 2D9D0 800525D0 26310001 */ addiu $s1, $s1, 1
/* 2D9D4 800525D4 0C015BBA */ jal func_80056EE8
/* 2D9D8 800525D8 322400FF */ andi $a0, $s1, 0xff
/* 2D9DC 800525DC A2000042 */ sb $zero, 0x42($s0)
/* 2D9E0 800525E0 AE00001C */ sw $zero, 0x1c($s0)
/* 2D9E4 800525E4 A2000045 */ sb $zero, 0x45($s0)
/* 2D9E8 800525E8 26310001 */ addiu $s1, $s1, 1
.L800525EC:
/* 2D9EC 800525EC 2A220018 */ slti $v0, $s1, 0x18
/* 2D9F0 800525F0 1440FFF4 */ bnez $v0, .L800525C4
/* 2D9F4 800525F4 26520048 */ addiu $s2, $s2, 0x48
/* 2D9F8 800525F8 8FBF0020 */ lw $ra, 0x20($sp)
/* 2D9FC 800525FC 8FB3001C */ lw $s3, 0x1c($sp)
/* 2DA00 80052600 8FB20018 */ lw $s2, 0x18($sp)
/* 2DA04 80052604 8FB10014 */ lw $s1, 0x14($sp)
/* 2DA08 80052608 8FB00010 */ lw $s0, 0x10($sp)
/* 2DA0C 8005260C 03E00008 */ jr $ra
/* 2DA10 80052610 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,24 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80052614
/* 2DA14 80052614 0000282D */ daddu $a1, $zero, $zero
/* 2DA18 80052618 24060080 */ addiu $a2, $zero, 0x80
/* 2DA1C 8005261C 24031320 */ addiu $v1, $zero, 0x1320
.L80052620:
/* 2DA20 80052620 00831021 */ addu $v0, $a0, $v1
/* 2DA24 80052624 24A50001 */ addiu $a1, $a1, 1
/* 2DA28 80052628 AC40001C */ sw $zero, 0x1c($v0)
/* 2DA2C 8005262C AC400020 */ sw $zero, 0x20($v0)
/* 2DA30 80052630 AC400024 */ sw $zero, 0x24($v0)
/* 2DA34 80052634 AC400028 */ sw $zero, 0x28($v0)
/* 2DA38 80052638 A040003B */ sb $zero, 0x3b($v0)
/* 2DA3C 8005263C A040003C */ sb $zero, 0x3c($v0)
/* 2DA40 80052640 A040003D */ sb $zero, 0x3d($v0)
/* 2DA44 80052644 A040003E */ sb $zero, 0x3e($v0)
/* 2DA48 80052648 A046003F */ sb $a2, 0x3f($v0)
/* 2DA4C 8005264C 28A20018 */ slti $v0, $a1, 0x18
/* 2DA50 80052650 1440FFF3 */ bnez $v0, .L80052620
/* 2DA54 80052654 24630048 */ addiu $v1, $v1, 0x48
/* 2DA58 80052658 03E00008 */ jr $ra
/* 2DA5C 8005265C 00000000 */ nop

View File

@ -1,35 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80052B44
/* 2DF44 80052B44 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 2DF48 80052B48 AFB00010 */ sw $s0, 0x10($sp)
/* 2DF4C 80052B4C 0080802D */ daddu $s0, $a0, $zero
/* 2DF50 80052B50 AFBF0014 */ sw $ra, 0x14($sp)
/* 2DF54 80052B54 9203003A */ lbu $v1, 0x3a($s0)
/* 2DF58 80052B58 86020040 */ lh $v0, 0x40($s0)
/* 2DF5C 80052B5C 00620018 */ mult $v1, $v0
/* 2DF60 80052B60 00002812 */ mflo $a1
/* 2DF64 80052B64 9202003F */ lbu $v0, 0x3f($s0)
/* 2DF68 80052B68 00000000 */ nop
/* 2DF6C 80052B6C 00A20018 */ mult $a1, $v0
/* 2DF70 80052B70 00002812 */ mflo $a1
/* 2DF74 80052B74 8E030030 */ lw $v1, 0x30($s0)
/* 2DF78 80052B78 00051383 */ sra $v0, $a1, 0xe
/* 2DF7C 80052B7C 00430018 */ mult $v0, $v1
/* 2DF80 80052B80 8E040028 */ lw $a0, 0x28($s0)
/* 2DF84 80052B84 00002812 */ mflo $a1
/* 2DF88 80052B88 000511C3 */ sra $v0, $a1, 7
/* 2DF8C 80052B8C 0C014AF0 */ jal func_80052BC0
/* 2DF90 80052B90 A602000C */ sh $v0, 0xc($s0)
/* 2DF94 80052B94 AE020008 */ sw $v0, 8($s0)
/* 2DF98 80052B98 9202003D */ lbu $v0, 0x3d($s0)
/* 2DF9C 80052B9C 92030043 */ lbu $v1, 0x43($s0)
/* 2DFA0 80052BA0 304200FD */ andi $v0, $v0, 0xfd
/* 2DFA4 80052BA4 34630004 */ ori $v1, $v1, 4
/* 2DFA8 80052BA8 A202003D */ sb $v0, 0x3d($s0)
/* 2DFAC 80052BAC A2030043 */ sb $v1, 0x43($s0)
/* 2DFB0 80052BB0 8FBF0014 */ lw $ra, 0x14($sp)
/* 2DFB4 80052BB4 8FB00010 */ lw $s0, 0x10($sp)
/* 2DFB8 80052BB8 03E00008 */ jr $ra
/* 2DFBC 80052BBC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,18 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80052BC0
/* 2DFC0 80052BC0 3C02B65C */ lui $v0, 0xb65c
/* 2DFC4 80052BC4 34426D59 */ ori $v0, $v0, 0x6d59
/* 2DFC8 80052BC8 00820018 */ mult $a0, $v0
/* 2DFCC 80052BCC 00002810 */ mfhi $a1
/* 2DFD0 80052BD0 00A41821 */ addu $v1, $a1, $a0
/* 2DFD4 80052BD4 00031B03 */ sra $v1, $v1, 0xc
/* 2DFD8 80052BD8 000427C3 */ sra $a0, $a0, 0x1f
/* 2DFDC 80052BDC 00641823 */ subu $v1, $v1, $a0
/* 2DFE0 80052BE0 00031040 */ sll $v0, $v1, 1
/* 2DFE4 80052BE4 00431021 */ addu $v0, $v0, $v1
/* 2DFE8 80052BE8 000210C0 */ sll $v0, $v0, 3
/* 2DFEC 80052BEC 00431023 */ subu $v0, $v0, $v1
/* 2DFF0 80052BF0 03E00008 */ jr $ra
/* 2DFF4 80052BF4 000210C0 */ sll $v0, $v0, 3

View File

@ -1,26 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel al_CopyWords
/* 30374 80054F74 04C10002 */ bgez $a2, .L80054F80
/* 30378 80054F78 00C0102D */ daddu $v0, $a2, $zero
/* 3037C 80054F7C 24C20003 */ addiu $v0, $a2, 3
.L80054F80:
/* 30380 80054F80 00023083 */ sra $a2, $v0, 2
/* 30384 80054F84 18C0000B */ blez $a2, .L80054FB4
/* 30388 80054F88 00851025 */ or $v0, $a0, $a1
/* 3038C 80054F8C 30420003 */ andi $v0, $v0, 3
/* 30390 80054F90 14400008 */ bnez $v0, .L80054FB4
/* 30394 80054F94 24C6FFFF */ addiu $a2, $a2, -1
.L80054F98:
/* 30398 80054F98 8C820000 */ lw $v0, ($a0)
/* 3039C 80054F9C 24840004 */ addiu $a0, $a0, 4
/* 303A0 80054FA0 00C0182D */ daddu $v1, $a2, $zero
/* 303A4 80054FA4 24C6FFFF */ addiu $a2, $a2, -1
/* 303A8 80054FA8 ACA20000 */ sw $v0, ($a1)
/* 303AC 80054FAC 1460FFFA */ bnez $v1, .L80054F98
/* 303B0 80054FB0 24A50004 */ addiu $a1, $a1, 4
.L80054FB4:
/* 303B4 80054FB4 03E00008 */ jr $ra
/* 303B8 80054FB8 00000000 */ nop
/* 303BC 80054FBC 00000000 */ nop

View File

@ -1,15 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80052E30
/* 2E230 80052E30 308400FF */ andi $a0, $a0, 0xff
/* 2E234 80052E34 000410C0 */ sll $v0, $a0, 3
/* 2E238 80052E38 00441021 */ addu $v0, $v0, $a0
/* 2E23C 80052E3C 000210C0 */ sll $v0, $v0, 3
/* 2E240 80052E40 3C03800A */ lui $v1, %hi(D_8009A5C0)
/* 2E244 80052E44 8C63A5C0 */ lw $v1, %lo(D_8009A5C0)($v1)
/* 2E248 80052E48 24421320 */ addiu $v0, $v0, 0x1320
/* 2E24C 80052E4C 00621821 */ addu $v1, $v1, $v0
/* 2E250 80052E50 AC60001C */ sw $zero, 0x1c($v1)
/* 2E254 80052E54 03E00008 */ jr $ra
/* 2E258 80052E58 A0600045 */ sb $zero, 0x45($v1)

View File

@ -1,306 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80052E5C
/* 2E25C 80052E5C 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 2E260 80052E60 AFB60040 */ sw $s6, 0x40($sp)
/* 2E264 80052E64 0080B02D */ daddu $s6, $a0, $zero
/* 2E268 80052E68 24050001 */ addiu $a1, $zero, 1
/* 2E26C 80052E6C 3C028008 */ lui $v0, %hi(D_80078E54)
/* 2E270 80052E70 8C428E54 */ lw $v0, %lo(D_80078E54)($v0)
/* 2E274 80052E74 240619E0 */ addiu $a2, $zero, 0x19e0
/* 2E278 80052E78 AFBF0044 */ sw $ra, 0x44($sp)
/* 2E27C 80052E7C AFB5003C */ sw $s5, 0x3c($sp)
/* 2E280 80052E80 AFB40038 */ sw $s4, 0x38($sp)
/* 2E284 80052E84 AFB30034 */ sw $s3, 0x34($sp)
/* 2E288 80052E88 AFB20030 */ sw $s2, 0x30($sp)
/* 2E28C 80052E8C AFB1002C */ sw $s1, 0x2c($sp)
/* 2E290 80052E90 AFB00028 */ sw $s0, 0x28($sp)
/* 2E294 80052E94 8C550018 */ lw $s5, 0x18($v0)
/* 2E298 80052E98 0000982D */ daddu $s3, $zero, $zero
/* 2E29C 80052E9C 0C015FE4 */ jal alHeapAlloc
/* 2E2A0 80052EA0 02A0202D */ daddu $a0, $s5, $zero
/* 2E2A4 80052EA4 02A0202D */ daddu $a0, $s5, $zero
/* 2E2A8 80052EA8 24050001 */ addiu $a1, $zero, 1
/* 2E2AC 80052EAC 24060A9C */ addiu $a2, $zero, 0xa9c
/* 2E2B0 80052EB0 3C12800A */ lui $s2, %hi(D_8009A5C0)
/* 2E2B4 80052EB4 2652A5C0 */ addiu $s2, $s2, %lo(D_8009A5C0)
/* 2E2B8 80052EB8 0C015FE4 */ jal alHeapAlloc
/* 2E2BC 80052EBC AE420000 */ sw $v0, ($s2)
/* 2E2C0 80052EC0 02A0202D */ daddu $a0, $s5, $zero
/* 2E2C4 80052EC4 24050001 */ addiu $a1, $zero, 1
/* 2E2C8 80052EC8 24060A9C */ addiu $a2, $zero, 0xa9c
/* 2E2CC 80052ECC 3C11800A */ lui $s1, %hi(D_8009A664)
/* 2E2D0 80052ED0 2631A664 */ addiu $s1, $s1, %lo(D_8009A664)
/* 2E2D4 80052ED4 0C015FE4 */ jal alHeapAlloc
/* 2E2D8 80052ED8 AE220000 */ sw $v0, ($s1)
/* 2E2DC 80052EDC 02A0202D */ daddu $a0, $s5, $zero
/* 2E2E0 80052EE0 24050001 */ addiu $a1, $zero, 1
/* 2E2E4 80052EE4 3C01800A */ lui $at, %hi(D_8009A5FC)
/* 2E2E8 80052EE8 AC22A5FC */ sw $v0, %lo(D_8009A5FC)($at)
/* 2E2EC 80052EEC 0C015FE4 */ jal alHeapAlloc
/* 2E2F0 80052EF0 24060A9C */ addiu $a2, $zero, 0xa9c
/* 2E2F4 80052EF4 02A0202D */ daddu $a0, $s5, $zero
/* 2E2F8 80052EF8 24050001 */ addiu $a1, $zero, 1
/* 2E2FC 80052EFC 3C01800A */ lui $at, %hi(D_8009A5CC)
/* 2E300 80052F00 AC22A5CC */ sw $v0, %lo(D_8009A5CC)($at)
/* 2E304 80052F04 0C015FE4 */ jal alHeapAlloc
/* 2E308 80052F08 240606CC */ addiu $a2, $zero, 0x6cc
/* 2E30C 80052F0C 02A0202D */ daddu $a0, $s5, $zero
/* 2E310 80052F10 24050001 */ addiu $a1, $zero, 1
/* 2E314 80052F14 24060834 */ addiu $a2, $zero, 0x834
/* 2E318 80052F18 3C10800A */ lui $s0, %hi(D_8009A640)
/* 2E31C 80052F1C 2610A640 */ addiu $s0, $s0, %lo(D_8009A640)
/* 2E320 80052F20 0C015FE4 */ jal alHeapAlloc
/* 2E324 80052F24 AE020000 */ sw $v0, ($s0)
/* 2E328 80052F28 02A0202D */ daddu $a0, $s5, $zero
/* 2E32C 80052F2C 24050001 */ addiu $a1, $zero, 1
/* 2E330 80052F30 8E280000 */ lw $t0, ($s1)
/* 2E334 80052F34 8E070000 */ lw $a3, ($s0)
/* 2E338 80052F38 8E430000 */ lw $v1, ($s2)
/* 2E33C 80052F3C 34068000 */ ori $a2, $zero, 0x8000
/* 2E340 80052F40 3C01800A */ lui $at, %hi(D_8009A628)
/* 2E344 80052F44 AC22A628 */ sw $v0, %lo(D_8009A628)($at)
/* 2E348 80052F48 0060A02D */ daddu $s4, $v1, $zero
/* 2E34C 80052F4C AD070004 */ sw $a3, 4($t0)
/* 2E350 80052F50 0C015FE4 */ jal alHeapAlloc
/* 2E354 80052F54 AC430000 */ sw $v1, ($v0)
/* 2E358 80052F58 0280802D */ daddu $s0, $s4, $zero
/* 2E35C 80052F5C 24435000 */ addiu $v1, $v0, 0x5000
/* 2E360 80052F60 AE82005C */ sw $v0, 0x5c($s4)
/* 2E364 80052F64 24427000 */ addiu $v0, $v0, 0x7000
/* 2E368 80052F68 AE830060 */ sw $v1, 0x60($s4)
/* 2E36C 80052F6C AE820064 */ sw $v0, 0x64($s4)
/* 2E370 80052F70 AE830068 */ sw $v1, 0x68($s4)
.L80052F74:
/* 2E374 80052F74 02A0202D */ daddu $a0, $s5, $zero
/* 2E378 80052F78 24050001 */ addiu $a1, $zero, 1
/* 2E37C 80052F7C 0C015FE4 */ jal alHeapAlloc
/* 2E380 80052F80 24060A9C */ addiu $a2, $zero, 0xa9c
/* 2E384 80052F84 AE02006C */ sw $v0, 0x6c($s0)
/* 2E388 80052F88 26730001 */ addiu $s3, $s3, 1
/* 2E38C 80052F8C 1260FFF9 */ beqz $s3, .L80052F74
/* 2E390 80052F90 26100008 */ addiu $s0, $s0, 8
/* 2E394 80052F94 02A0202D */ daddu $a0, $s5, $zero
/* 2E398 80052F98 24050001 */ addiu $a1, $zero, 1
/* 2E39C 80052F9C 0C015FE4 */ jal alHeapAlloc
/* 2E3A0 80052FA0 24065200 */ addiu $a2, $zero, 0x5200
/* 2E3A4 80052FA4 02A0202D */ daddu $a0, $s5, $zero
/* 2E3A8 80052FA8 24050001 */ addiu $a1, $zero, 1
/* 2E3AC 80052FAC 24060030 */ addiu $a2, $zero, 0x30
/* 2E3B0 80052FB0 0C015FE4 */ jal alHeapAlloc
/* 2E3B4 80052FB4 AE8200A0 */ sw $v0, 0xa0($s4)
/* 2E3B8 80052FB8 02A0202D */ daddu $a0, $s5, $zero
/* 2E3BC 80052FBC 24050001 */ addiu $a1, $zero, 1
/* 2E3C0 80052FC0 24060360 */ addiu $a2, $zero, 0x360
/* 2E3C4 80052FC4 0C015FE4 */ jal alHeapAlloc
/* 2E3C8 80052FC8 AE820004 */ sw $v0, 4($s4)
/* 2E3CC 80052FCC 02A0202D */ daddu $a0, $s5, $zero
/* 2E3D0 80052FD0 24050001 */ addiu $a1, $zero, 1
/* 2E3D4 80052FD4 24060200 */ addiu $a2, $zero, 0x200
/* 2E3D8 80052FD8 0C015FE4 */ jal alHeapAlloc
/* 2E3DC 80052FDC AE820054 */ sw $v0, 0x54($s4)
/* 2E3E0 80052FE0 02A0202D */ daddu $a0, $s5, $zero
/* 2E3E4 80052FE4 24050001 */ addiu $a1, $zero, 1
/* 2E3E8 80052FE8 24060040 */ addiu $a2, $zero, 0x40
/* 2E3EC 80052FEC 0C015FE4 */ jal alHeapAlloc
/* 2E3F0 80052FF0 AE820058 */ sw $v0, 0x58($s4)
/* 2E3F4 80052FF4 0000982D */ daddu $s3, $zero, $zero
/* 2E3F8 80052FF8 8E840004 */ lw $a0, 4($s4)
/* 2E3FC 80052FFC 44960000 */ mtc1 $s6, $f0
/* 2E400 80053000 00000000 */ nop
/* 2E404 80053004 46800020 */ cvt.s.w $f0, $f0
/* 2E408 80053008 AE820094 */ sw $v0, 0x94($s4)
/* 2E40C 8005300C 0C014CBD */ jal func_800532F4
/* 2E410 80053010 E6800000 */ swc1 $f0, ($s4)
/* 2E414 80053014 0C014CDC */ jal func_80053370
/* 2E418 80053018 26840008 */ addiu $a0, $s4, 8
/* 2E41C 8005301C 0C014CEA */ jal func_800533A8
/* 2E420 80053020 26840014 */ addiu $a0, $s4, 0x14
/* 2E424 80053024 0C015843 */ jal func_8005610C
/* 2E428 80053028 00000000 */ nop
/* 2E42C 8005302C 0280102D */ daddu $v0, $s4, $zero
/* 2E430 80053030 AE8000A4 */ sw $zero, 0xa4($s4)
/* 2E434 80053034 AE8000A8 */ sw $zero, 0xa8($s4)
.L80053038:
/* 2E438 80053038 A0400070 */ sb $zero, 0x70($v0)
/* 2E43C 8005303C A0400071 */ sb $zero, 0x71($v0)
/* 2E440 80053040 26730001 */ addiu $s3, $s3, 1
/* 2E444 80053044 1260FFFC */ beqz $s3, .L80053038
/* 2E448 80053048 24420008 */ addiu $v0, $v0, 8
/* 2E44C 8005304C 0000982D */ daddu $s3, $zero, $zero
/* 2E450 80053050 0280182D */ daddu $v1, $s4, $zero
.L80053054:
/* 2E454 80053054 A0600040 */ sb $zero, 0x40($v1)
/* 2E458 80053058 A0600041 */ sb $zero, 0x41($v1)
/* 2E45C 8005305C 26730001 */ addiu $s3, $s3, 1
/* 2E460 80053060 2E620004 */ sltiu $v0, $s3, 4
/* 2E464 80053064 1440FFFB */ bnez $v0, .L80053054
/* 2E468 80053068 24630004 */ addiu $v1, $v1, 4
/* 2E46C 8005306C 0000982D */ daddu $s3, $zero, $zero
/* 2E470 80053070 2416FFFF */ addiu $s6, $zero, -1
/* 2E474 80053074 241200FF */ addiu $s2, $zero, 0xff
/* 2E478 80053078 24111320 */ addiu $s1, $zero, 0x1320
.L8005307C:
/* 2E47C 8005307C 327000FF */ andi $s0, $s3, 0xff
/* 2E480 80053080 0200202D */ daddu $a0, $s0, $zero
/* 2E484 80053084 0C015BB0 */ jal func_80056EC0
/* 2E488 80053088 0000282D */ daddu $a1, $zero, $zero
/* 2E48C 8005308C 0200202D */ daddu $a0, $s0, $zero
/* 2E490 80053090 8E850004 */ lw $a1, 4($s4)
/* 2E494 80053094 0C015C89 */ jal func_80057224
/* 2E498 80053098 26730001 */ addiu $s3, $s3, 1
/* 2E49C 8005309C 02911021 */ addu $v0, $s4, $s1
/* 2E4A0 800530A0 AC400000 */ sw $zero, ($v0)
/* 2E4A4 800530A4 AC400004 */ sw $zero, 4($v0)
/* 2E4A8 800530A8 A456000C */ sh $s6, 0xc($v0)
/* 2E4AC 800530AC A052000E */ sb $s2, 0xe($v0)
/* 2E4B0 800530B0 A052000F */ sb $s2, 0xf($v0)
/* 2E4B4 800530B4 A0400010 */ sb $zero, 0x10($v0)
/* 2E4B8 800530B8 A0400042 */ sb $zero, 0x42($v0)
/* 2E4BC 800530BC A0400043 */ sb $zero, 0x43($v0)
/* 2E4C0 800530C0 A0400044 */ sb $zero, 0x44($v0)
/* 2E4C4 800530C4 A0400045 */ sb $zero, 0x45($v0)
/* 2E4C8 800530C8 2E620018 */ sltiu $v0, $s3, 0x18
/* 2E4CC 800530CC 1440FFEB */ bnez $v0, .L8005307C
/* 2E4D0 800530D0 26310048 */ addiu $s1, $s1, 0x48
/* 2E4D4 800530D4 0280202D */ daddu $a0, $s4, $zero
/* 2E4D8 800530D8 3C0500F0 */ lui $a1, 0xf0
/* 2E4DC 800530DC 0C0150AF */ jal al_LoadINIT
/* 2E4E0 800530E0 02A0302D */ daddu $a2, $s5, $zero
/* 2E4E4 800530E4 0000982D */ daddu $s3, $zero, $zero
/* 2E4E8 800530E8 0280802D */ daddu $s0, $s4, $zero
.L800530EC:
/* 2E4EC 800530EC 02A0202D */ daddu $a0, $s5, $zero
/* 2E4F0 800530F0 24050001 */ addiu $a1, $zero, 1
/* 2E4F4 800530F4 0C015FE4 */ jal alHeapAlloc
/* 2E4F8 800530F8 24060840 */ addiu $a2, $zero, 0x840
/* 2E4FC 800530FC AE021310 */ sw $v0, 0x1310($s0)
/* 2E500 80053100 26730001 */ addiu $s3, $s3, 1
/* 2E504 80053104 2E620003 */ sltiu $v0, $s3, 3
/* 2E508 80053108 1440FFF8 */ bnez $v0, .L800530EC
/* 2E50C 8005310C 26100004 */ addiu $s0, $s0, 4
/* 2E510 80053110 24050001 */ addiu $a1, $zero, 1
/* 2E514 80053114 0000302D */ daddu $a2, $zero, $zero
/* 2E518 80053118 3C10800A */ lui $s0, %hi(D_8009A664)
/* 2E51C 8005311C 2610A664 */ addiu $s0, $s0, %lo(D_8009A664)
/* 2E520 80053120 8E040000 */ lw $a0, ($s0)
/* 2E524 80053124 0C013856 */ jal func_8004E158
/* 2E528 80053128 0280382D */ daddu $a3, $s4, $zero
/* 2E52C 8005312C 27B20020 */ addiu $s2, $sp, 0x20
/* 2E530 80053130 0240282D */ daddu $a1, $s2, $zero
/* 2E534 80053134 24020003 */ addiu $v0, $zero, 3
/* 2E538 80053138 8E040000 */ lw $a0, ($s0)
/* 2E53C 8005313C 241000FF */ addiu $s0, $zero, 0xff
/* 2E540 80053140 A3A00020 */ sb $zero, 0x20($sp)
/* 2E544 80053144 A3A20021 */ sb $v0, 0x21($sp)
/* 2E548 80053148 A3B00022 */ sb $s0, 0x22($sp)
/* 2E54C 8005314C 0C0138D1 */ jal func_8004E344
/* 2E550 80053150 A3B00023 */ sb $s0, 0x23($sp)
/* 2E554 80053154 24050002 */ addiu $a1, $zero, 2
/* 2E558 80053158 00A0302D */ daddu $a2, $a1, $zero
/* 2E55C 8005315C 3C11800A */ lui $s1, %hi(D_8009A5FC)
/* 2E560 80053160 2631A5FC */ addiu $s1, $s1, %lo(D_8009A5FC)
/* 2E564 80053164 8E240000 */ lw $a0, ($s1)
/* 2E568 80053168 0C013856 */ jal func_8004E158
/* 2E56C 8005316C 0280382D */ daddu $a3, $s4, $zero
/* 2E570 80053170 0240282D */ daddu $a1, $s2, $zero
/* 2E574 80053174 8E240000 */ lw $a0, ($s1)
/* 2E578 80053178 24020002 */ addiu $v0, $zero, 2
/* 2E57C 8005317C A3A20020 */ sb $v0, 0x20($sp)
/* 2E580 80053180 A3B00021 */ sb $s0, 0x21($sp)
/* 2E584 80053184 A3B00022 */ sb $s0, 0x22($sp)
/* 2E588 80053188 0C0138D1 */ jal func_8004E344
/* 2E58C 8005318C A3B00023 */ sb $s0, 0x23($sp)
/* 2E590 80053190 24050004 */ addiu $a1, $zero, 4
/* 2E594 80053194 24060001 */ addiu $a2, $zero, 1
/* 2E598 80053198 0280382D */ daddu $a3, $s4, $zero
/* 2E59C 8005319C 3C10800A */ lui $s0, %hi(D_8009A640)
/* 2E5A0 800531A0 2610A640 */ addiu $s0, $s0, %lo(D_8009A640)
/* 2E5A4 800531A4 8E040000 */ lw $a0, ($s0)
/* 2E5A8 800531A8 24020010 */ addiu $v0, $zero, 0x10
/* 2E5AC 800531AC 0C012D10 */ jal func_8004B440
/* 2E5B0 800531B0 AFA20010 */ sw $v0, 0x10($sp)
/* 2E5B4 800531B4 24050006 */ addiu $a1, $zero, 6
/* 2E5B8 800531B8 24060001 */ addiu $a2, $zero, 1
/* 2E5BC 800531BC 3C04800A */ lui $a0, %hi(D_8009A628)
/* 2E5C0 800531C0 8C84A628 */ lw $a0, %lo(D_8009A628)($a0)
/* 2E5C4 800531C4 0C0142E4 */ jal func_80050B90
/* 2E5C8 800531C8 0280382D */ daddu $a3, $s4, $zero
/* 2E5CC 800531CC 0C014985 */ jal func_80052614
/* 2E5D0 800531D0 0280202D */ daddu $a0, $s4, $zero
/* 2E5D4 800531D4 0280202D */ daddu $a0, $s4, $zero
/* 2E5D8 800531D8 0C0153F0 */ jal al_LoadBKHeaders
/* 2E5DC 800531DC 02A0282D */ daddu $a1, $s5, $zero
/* 2E5E0 800531E0 8E82003C */ lw $v0, 0x3c($s4)
/* 2E5E4 800531E4 24050020 */ addiu $a1, $zero, 0x20
/* 2E5E8 800531E8 94440000 */ lhu $a0, ($v0)
/* 2E5EC 800531EC 0C01511F */ jal al_CopyFileTableEntry
/* 2E5F0 800531F0 27A60018 */ addiu $a2, $sp, 0x18
/* 2E5F4 800531F4 14400007 */ bnez $v0, .L80053214
/* 2E5F8 800531F8 3C0200FF */ lui $v0, 0xff
/* 2E5FC 800531FC 3442FFFF */ ori $v0, $v0, 0xffff
/* 2E600 80053200 8FA40018 */ lw $a0, 0x18($sp)
/* 2E604 80053204 8FA6001C */ lw $a2, 0x1c($sp)
/* 2E608 80053208 8E8500A0 */ lw $a1, 0xa0($s4)
/* 2E60C 8005320C 0C015380 */ jal al_DmaCopy
/* 2E610 80053210 00C23024 */ and $a2, $a2, $v0
.L80053214:
/* 2E614 80053214 8E040000 */ lw $a0, ($s0)
/* 2E618 80053218 0C012D8B */ jal func_8004B62C
/* 2E61C 8005321C 00000000 */ nop
/* 2E620 80053220 8E82003C */ lw $v0, 0x3c($s4)
/* 2E624 80053224 24050040 */ addiu $a1, $zero, 0x40
/* 2E628 80053228 94440002 */ lhu $a0, 2($v0)
/* 2E62C 8005322C 0C01511F */ jal al_CopyFileTableEntry
/* 2E630 80053230 27A60018 */ addiu $a2, $sp, 0x18
/* 2E634 80053234 14400004 */ bnez $v0, .L80053248
/* 2E638 80053238 00000000 */ nop
/* 2E63C 8005323C 8FA50018 */ lw $a1, 0x18($sp)
/* 2E640 80053240 0C01513E */ jal al_LoadPER
/* 2E644 80053244 0280202D */ daddu $a0, $s4, $zero
.L80053248:
/* 2E648 80053248 8E82003C */ lw $v0, 0x3c($s4)
/* 2E64C 8005324C 24050040 */ addiu $a1, $zero, 0x40
/* 2E650 80053250 94440004 */ lhu $a0, 4($v0)
/* 2E654 80053254 0C01511F */ jal al_CopyFileTableEntry
/* 2E658 80053258 27A60018 */ addiu $a2, $sp, 0x18
/* 2E65C 8005325C 54400005 */ bnel $v0, $zero, .L80053274
/* 2E660 80053260 0000202D */ daddu $a0, $zero, $zero
/* 2E664 80053264 8FA50018 */ lw $a1, 0x18($sp)
/* 2E668 80053268 0C01516D */ jal al_LoadPRG
/* 2E66C 8005326C 0280202D */ daddu $a0, $s4, $zero
/* 2E670 80053270 0000202D */ daddu $a0, $zero, $zero
.L80053274:
/* 2E674 80053274 268304EC */ addiu $v1, $s4, 0x4ec
/* 2E678 80053278 268205EC */ addiu $v0, $s4, 0x5ec
/* 2E67C 8005327C AE8212F0 */ sw $v0, 0x12f0($s4)
/* 2E680 80053280 268200AC */ addiu $v0, $s4, 0xac
/* 2E684 80053284 AE8212F4 */ sw $v0, 0x12f4($s4)
/* 2E688 80053288 268200EC */ addiu $v0, $s4, 0xec
/* 2E68C 8005328C AE8212F8 */ sw $v0, 0x12f8($s4)
/* 2E690 80053290 268209EC */ addiu $v0, $s4, 0x9ec
/* 2E694 80053294 AE8212FC */ sw $v0, 0x12fc($s4)
/* 2E698 80053298 26820DEC */ addiu $v0, $s4, 0xdec
/* 2E69C 8005329C AE821300 */ sw $v0, 0x1300($s4)
/* 2E6A0 800532A0 268211EC */ addiu $v0, $s4, 0x11ec
/* 2E6A4 800532A4 AE8312EC */ sw $v1, 0x12ec($s4)
/* 2E6A8 800532A8 AE821304 */ sw $v0, 0x1304($s4)
/* 2E6AC 800532AC AE831308 */ sw $v1, 0x1308($s4)
/* 2E6B0 800532B0 A2800053 */ sb $zero, 0x53($s4)
/* 2E6B4 800532B4 A2800052 */ sb $zero, 0x52($s4)
/* 2E6B8 800532B8 A2800051 */ sb $zero, 0x51($s4)
/* 2E6BC 800532BC 0C015FB4 */ jal func_80057ED0
/* 2E6C0 800532C0 A2800050 */ sb $zero, 0x50($s4)
/* 2E6C4 800532C4 0C015414 */ jal func_80055050
/* 2E6C8 800532C8 02A0202D */ daddu $a0, $s5, $zero
/* 2E6CC 800532CC 8FBF0044 */ lw $ra, 0x44($sp)
/* 2E6D0 800532D0 8FB60040 */ lw $s6, 0x40($sp)
/* 2E6D4 800532D4 8FB5003C */ lw $s5, 0x3c($sp)
/* 2E6D8 800532D8 8FB40038 */ lw $s4, 0x38($sp)
/* 2E6DC 800532DC 8FB30034 */ lw $s3, 0x34($sp)
/* 2E6E0 800532E0 8FB20030 */ lw $s2, 0x30($sp)
/* 2E6E4 800532E4 8FB1002C */ lw $s1, 0x2c($sp)
/* 2E6E8 800532E8 8FB00028 */ lw $s0, 0x28($sp)
/* 2E6EC 800532EC 03E00008 */ jr $ra
/* 2E6F0 800532F0 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,35 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800532F4
/* 2E6F4 800532F4 3C013F00 */ lui $at, 0x3f00
/* 2E6F8 800532F8 44810000 */ mtc1 $at, $f0
/* 2E6FC 800532FC 3C028008 */ lui $v0, %hi(D_800781D0)
/* 2E700 80053300 244281D0 */ addiu $v0, $v0, %lo(D_800781D0)
/* 2E704 80053304 AC820000 */ sw $v0, ($a0)
/* 2E708 80053308 240200BE */ addiu $v0, $zero, 0xbe
/* 2E70C 8005330C AC820004 */ sw $v0, 4($a0)
/* 2E710 80053310 3C028008 */ lui $v0, %hi(D_80078190)
/* 2E714 80053314 24428190 */ addiu $v0, $v0, %lo(D_80078190)
/* 2E718 80053318 AC820018 */ sw $v0, 0x18($a0)
/* 2E71C 8005331C 24020040 */ addiu $v0, $zero, 0x40
/* 2E720 80053320 A482001C */ sh $v0, 0x1c($a0)
/* 2E724 80053324 240212C0 */ addiu $v0, $zero, 0x12c0
/* 2E728 80053328 A482001E */ sh $v0, 0x1e($a0)
/* 2E72C 8005332C 3C028008 */ lui $v0, %hi(D_80078544)
/* 2E730 80053330 24428544 */ addiu $v0, $v0, %lo(D_80078544)
/* 2E734 80053334 AC800008 */ sw $zero, 8($a0)
/* 2E738 80053338 AC80000C */ sw $zero, 0xc($a0)
/* 2E73C 8005333C AC800010 */ sw $zero, 0x10($a0)
/* 2E740 80053340 AC800014 */ sw $zero, 0x14($a0)
/* 2E744 80053344 A0800024 */ sb $zero, 0x24($a0)
/* 2E748 80053348 A0800025 */ sb $zero, 0x25($a0)
/* 2E74C 8005334C AC82002C */ sw $v0, 0x2c($a0)
/* 2E750 80053350 A0800026 */ sb $zero, 0x26($a0)
/* 2E754 80053354 A0800027 */ sb $zero, 0x27($a0)
/* 2E758 80053358 A0800028 */ sb $zero, 0x28($a0)
/* 2E75C 8005335C A0800029 */ sb $zero, 0x29($a0)
/* 2E760 80053360 A080002A */ sb $zero, 0x2a($a0)
/* 2E764 80053364 A080002B */ sb $zero, 0x2b($a0)
/* 2E768 80053368 03E00008 */ jr $ra
/* 2E76C 8005336C E4800020 */ swc1 $f0, 0x20($a0)

View File

@ -1,18 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80053370
/* 2E770 80053370 24022010 */ addiu $v0, $zero, 0x2010
/* 2E774 80053374 A4820000 */ sh $v0, ($a0)
/* 2E778 80053378 240212C0 */ addiu $v0, $zero, 0x12c0
/* 2E77C 8005337C A4820002 */ sh $v0, 2($a0)
/* 2E780 80053380 2402007F */ addiu $v0, $zero, 0x7f
/* 2E784 80053384 A0820004 */ sb $v0, 4($a0)
/* 2E788 80053388 24020040 */ addiu $v0, $zero, 0x40
/* 2E78C 8005338C A0820005 */ sb $v0, 5($a0)
/* 2E790 80053390 A0800006 */ sb $zero, 6($a0)
/* 2E794 80053394 A0800007 */ sb $zero, 7($a0)
/* 2E798 80053398 A0800008 */ sb $zero, 8($a0)
/* 2E79C 8005339C A0800009 */ sb $zero, 9($a0)
/* 2E7A0 800533A0 03E00008 */ jr $ra
/* 2E7A4 800533A4 A080000A */ sb $zero, 0xa($a0)

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800533A8
/* 2E7A8 800533A8 24022010 */ addiu $v0, $zero, 0x2010
/* 2E7AC 800533AC A4820000 */ sh $v0, ($a0)
/* 2E7B0 800533B0 2402007F */ addiu $v0, $zero, 0x7f
/* 2E7B4 800533B4 A0820002 */ sb $v0, 2($a0)
/* 2E7B8 800533B8 24020040 */ addiu $v0, $zero, 0x40
/* 2E7BC 800533BC A0820003 */ sb $v0, 3($a0)
/* 2E7C0 800533C0 A0800004 */ sb $zero, 4($a0)
/* 2E7C4 800533C4 A0800005 */ sb $zero, 5($a0)
/* 2E7C8 800533C8 03E00008 */ jr $ra
/* 2E7CC 800533CC A0800006 */ sb $zero, 6($a0)

View File

@ -1,140 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800533D0
/* 2E7D0 800533D0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 2E7D4 800533D4 AFB20018 */ sw $s2, 0x18($sp)
/* 2E7D8 800533D8 3C12800A */ lui $s2, %hi(D_8009A5C0)
/* 2E7DC 800533DC 8E52A5C0 */ lw $s2, %lo(D_8009A5C0)($s2)
/* 2E7E0 800533E0 AFB10014 */ sw $s1, 0x14($sp)
/* 2E7E4 800533E4 3C11800A */ lui $s1, %hi(D_8009A640)
/* 2E7E8 800533E8 8E31A640 */ lw $s1, %lo(D_8009A640)($s1)
/* 2E7EC 800533EC AFB00010 */ sw $s0, 0x10($sp)
/* 2E7F0 800533F0 3C10800A */ lui $s0, %hi(D_8009A628)
/* 2E7F4 800533F4 8E10A628 */ lw $s0, %lo(D_8009A628)($s0)
/* 2E7F8 800533F8 AFBF001C */ sw $ra, 0x1c($sp)
/* 2E7FC 800533FC 0C014D95 */ jal func_80053654
/* 2E800 80053400 0240202D */ daddu $a0, $s2, $zero
/* 2E804 80053404 8E03000C */ lw $v1, 0xc($s0)
/* 2E808 80053408 8E020004 */ lw $v0, 4($s0)
/* 2E80C 8005340C 00621823 */ subu $v1, $v1, $v0
/* 2E810 80053410 1C600006 */ bgtz $v1, .L8005342C
/* 2E814 80053414 AE03000C */ sw $v1, 0xc($s0)
/* 2E818 80053418 8E020008 */ lw $v0, 8($s0)
/* 2E81C 8005341C 0200202D */ daddu $a0, $s0, $zero
/* 2E820 80053420 00621021 */ addu $v0, $v1, $v0
/* 2E824 80053424 0C01446F */ jal func_800511BC
/* 2E828 80053428 AC82000C */ sw $v0, 0xc($a0)
.L8005342C:
/* 2E82C 8005342C 8622004A */ lh $v0, 0x4a($s1)
/* 2E830 80053430 10400007 */ beqz $v0, .L80053450
/* 2E834 80053434 00000000 */ nop
/* 2E838 80053438 0C014E8A */ jal func_80053A28
/* 2E83C 8005343C 26240040 */ addiu $a0, $s1, 0x40
/* 2E840 80053440 922400BE */ lbu $a0, 0xbe($s1)
/* 2E844 80053444 96250040 */ lhu $a1, 0x40($s1)
/* 2E848 80053448 0C014EA6 */ jal func_80053A98
/* 2E84C 8005344C 8E26005C */ lw $a2, 0x5c($s1)
.L80053450:
/* 2E850 80053450 8E23003C */ lw $v1, 0x3c($s1)
/* 2E854 80053454 8E220034 */ lw $v0, 0x34($s1)
/* 2E858 80053458 00621823 */ subu $v1, $v1, $v0
/* 2E85C 8005345C 1C600007 */ bgtz $v1, .L8005347C
/* 2E860 80053460 AE23003C */ sw $v1, 0x3c($s1)
/* 2E864 80053464 8E220038 */ lw $v0, 0x38($s1)
/* 2E868 80053468 0220202D */ daddu $a0, $s1, $zero
/* 2E86C 8005346C 00621021 */ addu $v0, $v1, $v0
/* 2E870 80053470 0C013111 */ jal func_8004C444
/* 2E874 80053474 AE22003C */ sw $v0, 0x3c($s1)
/* 2E878 80053478 A62200BA */ sh $v0, 0xba($s1)
.L8005347C:
/* 2E87C 8005347C 3C118008 */ lui $s1, %hi(D_80078DB0)
/* 2E880 80053480 26318DB0 */ addiu $s1, $s1, %lo(D_80078DB0)
/* 2E884 80053484 8E220000 */ lw $v0, ($s1)
/* 2E888 80053488 14400045 */ bnez $v0, .L800535A0
/* 2E88C 8005348C 00000000 */ nop
/* 2E890 80053490 3C10800A */ lui $s0, %hi(D_8009A5FC)
/* 2E894 80053494 8E10A5FC */ lw $s0, %lo(D_8009A5FC)($s0)
/* 2E898 80053498 86020036 */ lh $v0, 0x36($s0)
/* 2E89C 8005349C 10400003 */ beqz $v0, .L800534AC
/* 2E8A0 800534A0 00000000 */ nop
/* 2E8A4 800534A4 0C0138E9 */ jal func_8004E3A4
/* 2E8A8 800534A8 0200202D */ daddu $a0, $s0, $zero
.L800534AC:
/* 2E8AC 800534AC 8E02001C */ lw $v0, 0x1c($s0)
/* 2E8B0 800534B0 10400004 */ beqz $v0, .L800534C4
/* 2E8B4 800534B4 00000000 */ nop
/* 2E8B8 800534B8 8E020018 */ lw $v0, 0x18($s0)
/* 2E8BC 800534BC 24420001 */ addiu $v0, $v0, 1
/* 2E8C0 800534C0 AE020018 */ sw $v0, 0x18($s0)
.L800534C4:
/* 2E8C4 800534C4 8E030010 */ lw $v1, 0x10($s0)
/* 2E8C8 800534C8 8E020008 */ lw $v0, 8($s0)
/* 2E8CC 800534CC 00621823 */ subu $v1, $v1, $v0
/* 2E8D0 800534D0 1C600007 */ bgtz $v1, .L800534F0
/* 2E8D4 800534D4 AE030010 */ sw $v1, 0x10($s0)
/* 2E8D8 800534D8 8E02000C */ lw $v0, 0xc($s0)
/* 2E8DC 800534DC 0200202D */ daddu $a0, $s0, $zero
/* 2E8E0 800534E0 00621021 */ addu $v0, $v1, $v0
/* 2E8E4 800534E4 0C01392E */ jal func_8004E4B8
/* 2E8E8 800534E8 AE020010 */ sw $v0, 0x10($s0)
/* 2E8EC 800534EC A602005C */ sh $v0, 0x5c($s0)
.L800534F0:
/* 2E8F0 800534F0 8E220000 */ lw $v0, ($s1)
/* 2E8F4 800534F4 1440002A */ bnez $v0, .L800535A0
/* 2E8F8 800534F8 00000000 */ nop
/* 2E8FC 800534FC 8E420080 */ lw $v0, 0x80($s2)
/* 2E900 80053500 10400003 */ beqz $v0, .L80053510
/* 2E904 80053504 00000000 */ nop
/* 2E908 80053508 0C0137F5 */ jal func_8004DFD4
/* 2E90C 8005350C 0240202D */ daddu $a0, $s2, $zero
.L80053510:
/* 2E910 80053510 3C10800A */ lui $s0, %hi(D_8009A664)
/* 2E914 80053514 8E10A664 */ lw $s0, %lo(D_8009A664)($s0)
/* 2E918 80053518 86020046 */ lh $v0, 0x46($s0)
/* 2E91C 8005351C 1040000A */ beqz $v0, .L80053548
/* 2E920 80053520 00000000 */ nop
/* 2E924 80053524 0C014EEA */ jal func_80053BA8
/* 2E928 80053528 2604002C */ addiu $a0, $s0, 0x2c
/* 2E92C 8005352C 86020036 */ lh $v0, 0x36($s0)
/* 2E930 80053530 14400008 */ bnez $v0, .L80053554
/* 2E934 80053534 00000000 */ nop
/* 2E938 80053538 0C013911 */ jal func_8004E444
/* 2E93C 8005353C 0200202D */ daddu $a0, $s0, $zero
/* 2E940 80053540 08014D57 */ j .L8005355C
/* 2E944 80053544 00000000 */ nop
.L80053548:
/* 2E948 80053548 86020036 */ lh $v0, 0x36($s0)
/* 2E94C 8005354C 10400003 */ beqz $v0, .L8005355C
/* 2E950 80053550 00000000 */ nop
.L80053554:
/* 2E954 80053554 0C0138E9 */ jal func_8004E3A4
/* 2E958 80053558 0200202D */ daddu $a0, $s0, $zero
.L8005355C:
/* 2E95C 8005355C 8E02001C */ lw $v0, 0x1c($s0)
/* 2E960 80053560 10400004 */ beqz $v0, .L80053574
/* 2E964 80053564 00000000 */ nop
/* 2E968 80053568 8E020018 */ lw $v0, 0x18($s0)
/* 2E96C 8005356C 24420001 */ addiu $v0, $v0, 1
/* 2E970 80053570 AE020018 */ sw $v0, 0x18($s0)
.L80053574:
/* 2E974 80053574 8E030010 */ lw $v1, 0x10($s0)
/* 2E978 80053578 8E020008 */ lw $v0, 8($s0)
/* 2E97C 8005357C 00621823 */ subu $v1, $v1, $v0
/* 2E980 80053580 1C600007 */ bgtz $v1, .L800535A0
/* 2E984 80053584 AE030010 */ sw $v1, 0x10($s0)
/* 2E988 80053588 8E02000C */ lw $v0, 0xc($s0)
/* 2E98C 8005358C 0200202D */ daddu $a0, $s0, $zero
/* 2E990 80053590 00621021 */ addu $v0, $v1, $v0
/* 2E994 80053594 0C01392E */ jal func_8004E4B8
/* 2E998 80053598 AE020010 */ sw $v0, 0x10($s0)
/* 2E99C 8005359C A602005C */ sh $v0, 0x5c($s0)
.L800535A0:
/* 2E9A0 800535A0 0C014998 */ jal func_80052660
/* 2E9A4 800535A4 0240202D */ daddu $a0, $s2, $zero
/* 2E9A8 800535A8 8FBF001C */ lw $ra, 0x1c($sp)
/* 2E9AC 800535AC 8FB20018 */ lw $s2, 0x18($sp)
/* 2E9B0 800535B0 8FB10014 */ lw $s1, 0x14($sp)
/* 2E9B4 800535B4 8FB00010 */ lw $s0, 0x10($sp)
/* 2E9B8 800535B8 03E00008 */ jr $ra
/* 2E9BC 800535BC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,43 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800535C0
/* 2E9C0 800535C0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 2E9C4 800535C4 AFB10014 */ sw $s1, 0x14($sp)
/* 2E9C8 800535C8 3C11800A */ lui $s1, %hi(D_8009A5C0)
/* 2E9CC 800535CC 8E31A5C0 */ lw $s1, %lo(D_8009A5C0)($s1)
/* 2E9D0 800535D0 AFB00010 */ sw $s0, 0x10($sp)
/* 2E9D4 800535D4 3C10800A */ lui $s0, %hi(D_8009A664)
/* 2E9D8 800535D8 8E10A664 */ lw $s0, %lo(D_8009A664)($s0)
/* 2E9DC 800535DC AFBF001C */ sw $ra, 0x1c($sp)
/* 2E9E0 800535E0 AFB20018 */ sw $s2, 0x18($sp)
/* 2E9E4 800535E4 8E22009C */ lw $v0, 0x9c($s1)
/* 2E9E8 800535E8 3C12800A */ lui $s2, %hi(D_8009A640)
/* 2E9EC 800535EC 8E52A640 */ lw $s2, %lo(D_8009A640)($s2)
/* 2E9F0 800535F0 10400003 */ beqz $v0, .L80053600
/* 2E9F4 800535F4 00000000 */ nop
/* 2E9F8 800535F8 0C015843 */ jal func_8005610C
/* 2E9FC 800535FC 00000000 */ nop
.L80053600:
/* 2EA00 80053600 8E2200A4 */ lw $v0, 0xa4($s1)
/* 2EA04 80053604 3C01800A */ lui $at, %hi(D_8009A5E8)
/* 2EA08 80053608 AC22A5E8 */ sw $v0, %lo(D_8009A5E8)($at)
/* 2EA0C 8005360C 10400003 */ beqz $v0, .L8005361C
/* 2EA10 80053610 00000000 */ nop
/* 2EA14 80053614 0040F809 */ jalr $v0
/* 2EA18 80053618 00000000 */ nop
.L8005361C:
/* 2EA1C 8005361C 0C013544 */ jal func_8004D510
/* 2EA20 80053620 0200202D */ daddu $a0, $s0, $zero
/* 2EA24 80053624 3C04800A */ lui $a0, %hi(D_8009A5FC)
/* 2EA28 80053628 8C84A5FC */ lw $a0, %lo(D_8009A5FC)($a0)
/* 2EA2C 8005362C 0C013544 */ jal func_8004D510
/* 2EA30 80053630 00000000 */ nop
/* 2EA34 80053634 0C012DD2 */ jal func_8004B748
/* 2EA38 80053638 0240202D */ daddu $a0, $s2, $zero
/* 2EA3C 8005363C 8FBF001C */ lw $ra, 0x1c($sp)
/* 2EA40 80053640 8FB20018 */ lw $s2, 0x18($sp)
/* 2EA44 80053644 8FB10014 */ lw $s1, 0x14($sp)
/* 2EA48 80053648 8FB00010 */ lw $s0, 0x10($sp)
/* 2EA4C 8005364C 03E00008 */ jr $ra
/* 2EA50 80053650 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,161 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80053654
/* 2EA54 80053654 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 2EA58 80053658 AFB3002C */ sw $s3, 0x2c($sp)
/* 2EA5C 8005365C 0080982D */ daddu $s3, $a0, $zero
/* 2EA60 80053660 AFBF0034 */ sw $ra, 0x34($sp)
/* 2EA64 80053664 AFB40030 */ sw $s4, 0x30($sp)
/* 2EA68 80053668 AFB20028 */ sw $s2, 0x28($sp)
/* 2EA6C 8005366C AFB10024 */ sw $s1, 0x24($sp)
/* 2EA70 80053670 AFB00020 */ sw $s0, 0x20($sp)
/* 2EA74 80053674 9262130C */ lbu $v0, 0x130c($s3)
/* 2EA78 80053678 24100002 */ addiu $s0, $zero, 2
/* 2EA7C 8005367C 14500003 */ bne $v0, $s0, .L8005368C
/* 2EA80 80053680 24020001 */ addiu $v0, $zero, 1
/* 2EA84 80053684 0C015FAC */ jal func_80057EB0
/* 2EA88 80053688 A262130C */ sb $v0, 0x130c($s3)
.L8005368C:
/* 2EA8C 8005368C 92620050 */ lbu $v0, 0x50($s3)
/* 2EA90 80053690 1040001B */ beqz $v0, .L80053700
/* 2EA94 80053694 00000000 */ nop
/* 2EA98 80053698 9262130C */ lbu $v0, 0x130c($s3)
/* 2EA9C 8005369C 14400018 */ bnez $v0, .L80053700
/* 2EAA0 800536A0 24020001 */ addiu $v0, $zero, 1
/* 2EAA4 800536A4 92630053 */ lbu $v1, 0x53($s3)
/* 2EAA8 800536A8 10620005 */ beq $v1, $v0, .L800536C0
/* 2EAAC 800536AC 00000000 */ nop
/* 2EAB0 800536B0 10700009 */ beq $v1, $s0, .L800536D8
/* 2EAB4 800536B4 00000000 */ nop
/* 2EAB8 800536B8 08014DBD */ j .L800536F4
/* 2EABC 800536BC 00000000 */ nop
.L800536C0:
/* 2EAC0 800536C0 0C015F72 */ jal func_80057DC8
/* 2EAC4 800536C4 92640052 */ lbu $a0, 0x52($s3)
/* 2EAC8 800536C8 0C015F82 */ jal func_80057E08
/* 2EACC 800536CC 92640051 */ lbu $a0, 0x51($s3)
/* 2EAD0 800536D0 08014DC0 */ j .L80053700
/* 2EAD4 800536D4 A2600050 */ sb $zero, 0x50($s3)
.L800536D8:
/* 2EAD8 800536D8 92640052 */ lbu $a0, 0x52($s3)
/* 2EADC 800536DC 0C015F72 */ jal func_80057DC8
/* 2EAE0 800536E0 00000000 */ nop
/* 2EAE4 800536E4 0C015F97 */ jal func_80057E5C
/* 2EAE8 800536E8 92640051 */ lbu $a0, 0x51($s3)
/* 2EAEC 800536EC 08014DC0 */ j .L80053700
/* 2EAF0 800536F0 A2600050 */ sb $zero, 0x50($s3)
.L800536F4:
/* 2EAF4 800536F4 0C015FAC */ jal func_80057EB0
/* 2EAF8 800536F8 00000000 */ nop
/* 2EAFC 800536FC A2600050 */ sb $zero, 0x50($s3)
.L80053700:
/* 2EB00 80053700 92620041 */ lbu $v0, 0x41($s3)
/* 2EB04 80053704 10400005 */ beqz $v0, .L8005371C
/* 2EB08 80053708 00000000 */ nop
/* 2EB0C 8005370C 92650040 */ lbu $a1, 0x40($s3)
/* 2EB10 80053710 0C015B73 */ jal func_80056DCC
/* 2EB14 80053714 0000202D */ daddu $a0, $zero, $zero
/* 2EB18 80053718 A2600041 */ sb $zero, 0x41($s3)
.L8005371C:
/* 2EB1C 8005371C 92620045 */ lbu $v0, 0x45($s3)
/* 2EB20 80053720 10400005 */ beqz $v0, .L80053738
/* 2EB24 80053724 00000000 */ nop
/* 2EB28 80053728 92650044 */ lbu $a1, 0x44($s3)
/* 2EB2C 8005372C 0C015B73 */ jal func_80056DCC
/* 2EB30 80053730 24040001 */ addiu $a0, $zero, 1
/* 2EB34 80053734 A2600045 */ sb $zero, 0x45($s3)
.L80053738:
/* 2EB38 80053738 92620049 */ lbu $v0, 0x49($s3)
/* 2EB3C 8005373C 10400005 */ beqz $v0, .L80053754
/* 2EB40 80053740 00000000 */ nop
/* 2EB44 80053744 92650048 */ lbu $a1, 0x48($s3)
/* 2EB48 80053748 0C015B73 */ jal func_80056DCC
/* 2EB4C 8005374C 24040002 */ addiu $a0, $zero, 2
/* 2EB50 80053750 A2600049 */ sb $zero, 0x49($s3)
.L80053754:
/* 2EB54 80053754 9262004D */ lbu $v0, 0x4d($s3)
/* 2EB58 80053758 10400006 */ beqz $v0, .L80053774
/* 2EB5C 8005375C 0000902D */ daddu $s2, $zero, $zero
/* 2EB60 80053760 9265004C */ lbu $a1, 0x4c($s3)
/* 2EB64 80053764 0C015B73 */ jal func_80056DCC
/* 2EB68 80053768 24040003 */ addiu $a0, $zero, 3
/* 2EB6C 8005376C A260004D */ sb $zero, 0x4d($s3)
/* 2EB70 80053770 0000902D */ daddu $s2, $zero, $zero
.L80053774:
/* 2EB74 80053774 24141320 */ addiu $s4, $zero, 0x1320
.L80053778:
/* 2EB78 80053778 02748021 */ addu $s0, $s3, $s4
/* 2EB7C 8005377C 92020042 */ lbu $v0, 0x42($s0)
/* 2EB80 80053780 92110043 */ lbu $s1, 0x43($s0)
/* 2EB84 80053784 10400007 */ beqz $v0, .L800537A4
/* 2EB88 80053788 32220002 */ andi $v0, $s1, 2
/* 2EB8C 8005378C 0C015BBA */ jal func_80056EE8
/* 2EB90 80053790 324400FF */ andi $a0, $s2, 0xff
/* 2EB94 80053794 A2000042 */ sb $zero, 0x42($s0)
/* 2EB98 80053798 AE00001C */ sw $zero, 0x1c($s0)
/* 2EB9C 8005379C A2000045 */ sb $zero, 0x45($s0)
/* 2EBA0 800537A0 32220002 */ andi $v0, $s1, 2
.L800537A4:
/* 2EBA4 800537A4 10400013 */ beqz $v0, .L800537F4
/* 2EBA8 800537A8 0200202D */ daddu $a0, $s0, $zero
/* 2EBAC 800537AC 0C014AFE */ jal func_80052BF8
/* 2EBB0 800537B0 26050014 */ addiu $a1, $s0, 0x14
/* 2EBB4 800537B4 8602000C */ lh $v0, 0xc($s0)
/* 2EBB8 800537B8 92050010 */ lbu $a1, 0x10($s0)
/* 2EBBC 800537BC AFA20010 */ sw $v0, 0x10($sp)
/* 2EBC0 800537C0 9202000E */ lbu $v0, 0xe($s0)
/* 2EBC4 800537C4 AFA20014 */ sw $v0, 0x14($sp)
/* 2EBC8 800537C8 9202000F */ lbu $v0, 0xf($s0)
/* 2EBCC 800537CC AFA20018 */ sw $v0, 0x18($sp)
/* 2EBD0 800537D0 8E020008 */ lw $v0, 8($s0)
/* 2EBD4 800537D4 AFA2001C */ sw $v0, 0x1c($sp)
/* 2EBD8 800537D8 8E060000 */ lw $a2, ($s0)
/* 2EBDC 800537DC 8E070004 */ lw $a3, 4($s0)
/* 2EBE0 800537E0 0C015BE9 */ jal func_80056FA4
/* 2EBE4 800537E4 324400FF */ andi $a0, $s2, 0xff
/* 2EBE8 800537E8 92020044 */ lbu $v0, 0x44($s0)
/* 2EBEC 800537EC 08014E15 */ j .L80053854
/* 2EBF0 800537F0 A2020045 */ sb $v0, 0x45($s0)
.L800537F4:
/* 2EBF4 800537F4 32220008 */ andi $v0, $s1, 8
/* 2EBF8 800537F8 10400005 */ beqz $v0, .L80053810
/* 2EBFC 800537FC 32220004 */ andi $v0, $s1, 4
/* 2EC00 80053800 8E050004 */ lw $a1, 4($s0)
/* 2EC04 80053804 0C015CD1 */ jal func_80057344
/* 2EC08 80053808 324400FF */ andi $a0, $s2, 0xff
/* 2EC0C 8005380C 32220004 */ andi $v0, $s1, 4
.L80053810:
/* 2EC10 80053810 1040000A */ beqz $v0, .L8005383C
/* 2EC14 80053814 32220010 */ andi $v0, $s1, 0x10
/* 2EC18 80053818 9202000F */ lbu $v0, 0xf($s0)
/* 2EC1C 8005381C 8605000C */ lh $a1, 0xc($s0)
/* 2EC20 80053820 9207000E */ lbu $a3, 0xe($s0)
/* 2EC24 80053824 AFA20010 */ sw $v0, 0x10($sp)
/* 2EC28 80053828 8E060008 */ lw $a2, 8($s0)
/* 2EC2C 8005382C 0C015CDB */ jal func_8005736C
/* 2EC30 80053830 324400FF */ andi $a0, $s2, 0xff
/* 2EC34 80053834 08014E16 */ j .L80053858
/* 2EC38 80053838 A2000043 */ sb $zero, 0x43($s0)
.L8005383C:
/* 2EC3C 8005383C 50400006 */ beql $v0, $zero, .L80053858
/* 2EC40 80053840 A2000043 */ sb $zero, 0x43($s0)
/* 2EC44 80053844 9205000E */ lbu $a1, 0xe($s0)
/* 2EC48 80053848 9206000F */ lbu $a2, 0xf($s0)
/* 2EC4C 8005384C 0C015D52 */ jal func_80057548
/* 2EC50 80053850 324400FF */ andi $a0, $s2, 0xff
.L80053854:
/* 2EC54 80053854 A2000043 */ sb $zero, 0x43($s0)
.L80053858:
/* 2EC58 80053858 26520001 */ addiu $s2, $s2, 1
/* 2EC5C 8005385C 2E420018 */ sltiu $v0, $s2, 0x18
/* 2EC60 80053860 1440FFC5 */ bnez $v0, .L80053778
/* 2EC64 80053864 26940048 */ addiu $s4, $s4, 0x48
/* 2EC68 80053868 8FBF0034 */ lw $ra, 0x34($sp)
/* 2EC6C 8005386C 8FB40030 */ lw $s4, 0x30($sp)
/* 2EC70 80053870 8FB3002C */ lw $s3, 0x2c($sp)
/* 2EC74 80053874 8FB20028 */ lw $s2, 0x28($sp)
/* 2EC78 80053878 8FB10024 */ lw $s1, 0x24($sp)
/* 2EC7C 8005387C 8FB00020 */ lw $s0, 0x20($sp)
/* 2EC80 80053880 03E00008 */ jr $ra
/* 2EC84 80053884 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,20 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80053888
/* 2EC88 80053888 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 2EC8C 8005388C AFBF0010 */ sw $ra, 0x10($sp)
/* 2EC90 80053890 90820045 */ lbu $v0, 0x45($a0)
/* 2EC94 80053894 10400008 */ beqz $v0, .L800538B8
/* 2EC98 80053898 24020001 */ addiu $v0, $zero, 1
/* 2EC9C 8005389C AC80001C */ sw $zero, 0x1c($a0)
/* 2ECA0 800538A0 A0820042 */ sb $v0, 0x42($a0)
/* 2ECA4 800538A4 A0800043 */ sb $zero, 0x43($a0)
/* 2ECA8 800538A8 30A400FF */ andi $a0, $a1, 0xff
/* 2ECAC 800538AC 0000282D */ daddu $a1, $zero, $zero
/* 2ECB0 800538B0 0C015DBB */ jal func_800576EC
/* 2ECB4 800538B4 240600B8 */ addiu $a2, $zero, 0xb8
.L800538B8:
/* 2ECB8 800538B8 8FBF0010 */ lw $ra, 0x10($sp)
/* 2ECBC 800538BC 03E00008 */ jr $ra
/* 2ECC0 800538C0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,17 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800538C4
/* 2ECC4 800538C4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 2ECC8 800538C8 24020001 */ addiu $v0, $zero, 1
/* 2ECCC 800538CC AFBF0010 */ sw $ra, 0x10($sp)
/* 2ECD0 800538D0 AC80001C */ sw $zero, 0x1c($a0)
/* 2ECD4 800538D4 A0820042 */ sb $v0, 0x42($a0)
/* 2ECD8 800538D8 A0800043 */ sb $zero, 0x43($a0)
/* 2ECDC 800538DC 30A400FF */ andi $a0, $a1, 0xff
/* 2ECE0 800538E0 0000282D */ daddu $a1, $zero, $zero
/* 2ECE4 800538E4 0C015DBB */ jal func_800576EC
/* 2ECE8 800538E8 240600B8 */ addiu $a2, $zero, 0xb8
/* 2ECEC 800538EC 8FBF0010 */ lw $ra, 0x10($sp)
/* 2ECF0 800538F0 03E00008 */ jr $ra
/* 2ECF4 800538F4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,34 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80053A28
/* 2EE28 80053A28 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 2EE2C 80053A2C AFB00010 */ sw $s0, 0x10($sp)
/* 2EE30 80053A30 0080802D */ daddu $s0, $a0, $zero
/* 2EE34 80053A34 AFBF0014 */ sw $ra, 0x14($sp)
/* 2EE38 80053A38 9602000A */ lhu $v0, 0xa($s0)
/* 2EE3C 80053A3C 2442FFFF */ addiu $v0, $v0, -1
/* 2EE40 80053A40 A602000A */ sh $v0, 0xa($s0)
/* 2EE44 80053A44 00021400 */ sll $v0, $v0, 0x10
/* 2EE48 80053A48 10400006 */ beqz $v0, .L80053A64
/* 2EE4C 80053A4C 00000000 */ nop
/* 2EE50 80053A50 8E020000 */ lw $v0, ($s0)
/* 2EE54 80053A54 8E030004 */ lw $v1, 4($s0)
/* 2EE58 80053A58 00431021 */ addu $v0, $v0, $v1
/* 2EE5C 80053A5C 08014EA2 */ j .L80053A88
/* 2EE60 80053A60 AE020000 */ sw $v0, ($s0)
.L80053A64:
/* 2EE64 80053A64 86020008 */ lh $v0, 8($s0)
/* 2EE68 80053A68 8E03000C */ lw $v1, 0xc($s0)
/* 2EE6C 80053A6C 00021400 */ sll $v0, $v0, 0x10
/* 2EE70 80053A70 10600005 */ beqz $v1, .L80053A88
/* 2EE74 80053A74 AE020000 */ sw $v0, ($s0)
/* 2EE78 80053A78 0060F809 */ jalr $v1
/* 2EE7C 80053A7C 00000000 */ nop
/* 2EE80 80053A80 AE000004 */ sw $zero, 4($s0)
/* 2EE84 80053A84 AE00000C */ sw $zero, 0xc($s0)
.L80053A88:
/* 2EE88 80053A88 8FBF0014 */ lw $ra, 0x14($sp)
/* 2EE8C 80053A8C 8FB00010 */ lw $s0, 0x10($sp)
/* 2EE90 80053A90 03E00008 */ jr $ra
/* 2EE94 80053A94 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80053A98
/* 2EE98 80053A98 30A5FFFF */ andi $a1, $a1, 0xffff
/* 2EE9C 80053A9C 00A60018 */ mult $a1, $a2
/* 2EEA0 80053AA0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 2EEA4 80053AA4 308400FF */ andi $a0, $a0, 0xff
/* 2EEA8 80053AA8 AFBF0010 */ sw $ra, 0x10($sp)
/* 2EEAC 80053AAC 00001012 */ mflo $v0
/* 2EEB0 80053AB0 00022BC2 */ srl $a1, $v0, 0xf
/* 2EEB4 80053AB4 0C015B5E */ jal func_80056D78
/* 2EEB8 80053AB8 30A5FFFF */ andi $a1, $a1, 0xffff
/* 2EEBC 80053ABC 8FBF0010 */ lw $ra, 0x10($sp)
/* 2EEC0 80053AC0 03E00008 */ jr $ra
/* 2EEC4 80053AC4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80053AC8
/* 2EEC8 80053AC8 8482000A */ lh $v0, 0xa($a0)
/* 2EECC 80053ACC 14400005 */ bnez $v0, .L80053AE4
/* 2EED0 80053AD0 24020001 */ addiu $v0, $zero, 1
/* 2EED4 80053AD4 94830000 */ lhu $v1, ($a0)
/* 2EED8 80053AD8 A482000A */ sh $v0, 0xa($a0)
/* 2EEDC 80053ADC AC800004 */ sw $zero, 4($a0)
/* 2EEE0 80053AE0 A4830008 */ sh $v1, 8($a0)
.L80053AE4:
/* 2EEE4 80053AE4 03E00008 */ jr $ra
/* 2EEE8 80053AE8 00000000 */ nop

View File

@ -1,10 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80053AEC
/* 2EEEC 80053AEC 00051400 */ sll $v0, $a1, 0x10
/* 2EEF0 80053AF0 AC820010 */ sw $v0, 0x10($a0)
/* 2EEF4 80053AF4 A4850018 */ sh $a1, 0x18($a0)
/* 2EEF8 80053AF8 A480001A */ sh $zero, 0x1a($a0)
/* 2EEFC 80053AFC 03E00008 */ jr $ra
/* 2EF00 80053B00 AC800014 */ sw $zero, 0x14($a0)

View File

@ -1,48 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80053B04
/* 2EF04 80053B04 3C020001 */ lui $v0, 1
/* 2EF08 80053B08 344285A6 */ ori $v0, $v0, 0x85a6
/* 2EF0C 80053B0C 24A3FF06 */ addiu $v1, $a1, -0xfa
/* 2EF10 80053B10 0043102B */ sltu $v0, $v0, $v1
/* 2EF14 80053B14 14400021 */ bnez $v0, .L80053B9C
/* 2EF18 80053B18 0080382D */ daddu $a3, $a0, $zero
/* 2EF1C 80053B1C 3C03B65C */ lui $v1, 0xb65c
/* 2EF20 80053B20 34636D59 */ ori $v1, $v1, 0x6d59
/* 2EF24 80053B24 00051140 */ sll $v0, $a1, 5
/* 2EF28 80053B28 00451023 */ subu $v0, $v0, $a1
/* 2EF2C 80053B2C 00021080 */ sll $v0, $v0, 2
/* 2EF30 80053B30 00451021 */ addu $v0, $v0, $a1
/* 2EF34 80053B34 000210C0 */ sll $v0, $v0, 3
/* 2EF38 80053B38 00430018 */ mult $v0, $v1
/* 2EF3C 80053B3C 00001810 */ mfhi $v1
/* 2EF40 80053B40 00622021 */ addu $a0, $v1, $v0
/* 2EF44 80053B44 00042303 */ sra $a0, $a0, 0xc
/* 2EF48 80053B48 000217C3 */ sra $v0, $v0, 0x1f
/* 2EF4C 80053B4C 00822023 */ subu $a0, $a0, $v0
/* 2EF50 80053B50 8CE20010 */ lw $v0, 0x10($a3)
/* 2EF54 80053B54 00061C00 */ sll $v1, $a2, 0x10
/* 2EF58 80053B58 00621823 */ subu $v1, $v1, $v0
/* 2EF5C 80053B5C 00041400 */ sll $v0, $a0, 0x10
/* 2EF60 80053B60 00021403 */ sra $v0, $v0, 0x10
/* 2EF64 80053B64 14400002 */ bnez $v0, .L80053B70
/* 2EF68 80053B68 0062001A */ div $zero, $v1, $v0
/* 2EF6C 80053B6C 0007000D */ break 7
.L80053B70:
/* 2EF70 80053B70 2401FFFF */ addiu $at, $zero, -1
/* 2EF74 80053B74 14410004 */ bne $v0, $at, .L80053B88
/* 2EF78 80053B78 3C018000 */ lui $at, 0x8000
/* 2EF7C 80053B7C 14610002 */ bne $v1, $at, .L80053B88
/* 2EF80 80053B80 00000000 */ nop
/* 2EF84 80053B84 0006000D */ break 6
.L80053B88:
/* 2EF88 80053B88 00001812 */ mflo $v1
/* 2EF8C 80053B8C A4E60018 */ sh $a2, 0x18($a3)
/* 2EF90 80053B90 A4E4001A */ sh $a0, 0x1a($a3)
/* 2EF94 80053B94 03E00008 */ jr $ra
/* 2EF98 80053B98 ACE30014 */ sw $v1, 0x14($a3)
.L80053B9C:
/* 2EF9C 80053B9C A4E0001A */ sh $zero, 0x1a($a3)
/* 2EFA0 80053BA0 03E00008 */ jr $ra
/* 2EFA4 80053BA4 ACE00014 */ sw $zero, 0x14($a3)

View File

@ -1,21 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80053BA8
/* 2EFA8 80053BA8 9482001A */ lhu $v0, 0x1a($a0)
/* 2EFAC 80053BAC 2442FFFF */ addiu $v0, $v0, -1
/* 2EFB0 80053BB0 A482001A */ sh $v0, 0x1a($a0)
/* 2EFB4 80053BB4 00021400 */ sll $v0, $v0, 0x10
/* 2EFB8 80053BB8 10400006 */ beqz $v0, .L80053BD4
/* 2EFBC 80053BBC 00000000 */ nop
/* 2EFC0 80053BC0 8C820010 */ lw $v0, 0x10($a0)
/* 2EFC4 80053BC4 8C830014 */ lw $v1, 0x14($a0)
/* 2EFC8 80053BC8 00431021 */ addu $v0, $v0, $v1
/* 2EFCC 80053BCC 03E00008 */ jr $ra
/* 2EFD0 80053BD0 AC820010 */ sw $v0, 0x10($a0)
.L80053BD4:
/* 2EFD4 80053BD4 84820018 */ lh $v0, 0x18($a0)
/* 2EFD8 80053BD8 AC800014 */ sw $zero, 0x14($a0)
/* 2EFDC 80053BDC 00021400 */ sll $v0, $v0, 0x10
/* 2EFE0 80053BE0 03E00008 */ jr $ra
/* 2EFE4 80053BE4 AC820010 */ sw $v0, 0x10($a0)

View File

@ -6,7 +6,7 @@ glabel func_80053C58
/* 2F05C 80053C5C 8C63A5C0 */ lw $v1, %lo(D_8009A5C0)($v1)
/* 2F060 80053C60 24020001 */ addiu $v0, $zero, 1
/* 2F064 80053C64 1082000B */ beq $a0, $v0, .L80053C94
/* 2F068 80053C68 00000000 */ nop
/* 2F068 80053C68 00000000 */ nop
/* 2F06C 80053C6C 10800003 */ beqz $a0, .L80053C7C
/* 2F070 80053C70 24020002 */ addiu $v0, $zero, 2
/* 2F074 80053C74 5482000D */ bnel $a0, $v0, .L80053CAC

View File

@ -1,12 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80053F64
/* 2F364 80053F64 14800004 */ bnez $a0, .L80053F78
/* 2F368 80053F68 0000102D */ daddu $v0, $zero, $zero
/* 2F36C 80053F6C 3C02800A */ lui $v0, %hi(D_8009A5C0)
/* 2F370 80053F70 8C42A5C0 */ lw $v0, %lo(D_8009A5C0)($v0)
/* 2F374 80053F74 8C42006C */ lw $v0, 0x6c($v0)
.L80053F78:
/* 2F378 80053F78 03E00008 */ jr $ra
/* 2F37C 80053F7C 00000000 */ nop

View File

@ -1,38 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80054248
/* 2F648 80054248 308400FF */ andi $a0, $a0, 0xff
/* 2F64C 8005424C 24020002 */ addiu $v0, $zero, 2
/* 2F650 80054250 10820010 */ beq $a0, $v0, .L80054294
/* 2F654 80054254 28820003 */ slti $v0, $a0, 3
/* 2F658 80054258 10400005 */ beqz $v0, .L80054270
/* 2F65C 8005425C 24020001 */ addiu $v0, $zero, 1
/* 2F660 80054260 10820008 */ beq $a0, $v0, .L80054284
/* 2F664 80054264 0000102D */ daddu $v0, $zero, $zero
/* 2F668 80054268 080150AD */ j .L800542B4
/* 2F66C 8005426C 00000000 */ nop
.L80054270:
/* 2F670 80054270 24020004 */ addiu $v0, $zero, 4
/* 2F674 80054274 1082000B */ beq $a0, $v0, .L800542A4
/* 2F678 80054278 0000102D */ daddu $v0, $zero, $zero
/* 2F67C 8005427C 080150AD */ j .L800542B4
/* 2F680 80054280 00000000 */ nop
.L80054284:
/* 2F684 80054284 3C02800A */ lui $v0, %hi(D_8009A664)
/* 2F688 80054288 8C42A664 */ lw $v0, %lo(D_8009A664)($v0)
/* 2F68C 8005428C 03E00008 */ jr $ra
/* 2F690 80054290 00000000 */ nop
.L80054294:
/* 2F694 80054294 3C02800A */ lui $v0, %hi(D_8009A5FC)
/* 2F698 80054298 8C42A5FC */ lw $v0, %lo(D_8009A5FC)($v0)
/* 2F69C 8005429C 03E00008 */ jr $ra
/* 2F6A0 800542A0 00000000 */ nop
.L800542A4:
/* 2F6A4 800542A4 3C02800A */ lui $v0, %hi(D_8009A640)
/* 2F6A8 800542A8 8C42A640 */ lw $v0, %lo(D_8009A640)($v0)
/* 2F6AC 800542AC 03E00008 */ jr $ra
/* 2F6B0 800542B0 00000000 */ nop
.L800542B4:
/* 2F6B4 800542B4 03E00008 */ jr $ra
/* 2F6B8 800542B8 00000000 */ nop

View File

@ -1,18 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80054C4C
/* 3004C 80054C4C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 30050 80054C50 00051080 */ sll $v0, $a1, 2
/* 30054 80054C54 3C03800A */ lui $v1, %hi(D_8009A5C0)
/* 30058 80054C58 8C63A5C0 */ lw $v1, %lo(D_8009A5C0)($v1)
/* 3005C 80054C5C 00A0302D */ daddu $a2, $a1, $zero
/* 30060 80054C60 AFBF0010 */ sw $ra, 0x10($sp)
/* 30064 80054C64 00621821 */ addu $v1, $v1, $v0
/* 30068 80054C68 8C651310 */ lw $a1, 0x1310($v1)
/* 3006C 80054C6C 0C0151F2 */ jal al_LoadBank
/* 30070 80054C70 24070001 */ addiu $a3, $zero, 1
/* 30074 80054C74 8FBF0010 */ lw $ra, 0x10($sp)
/* 30078 80054C78 0000102D */ daddu $v0, $zero, $zero
/* 3007C 80054C7C 03E00008 */ jr $ra
/* 30080 80054C80 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,19 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80054D74
/* 30174 80054D74 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 30178 80054D78 30840010 */ andi $a0, $a0, 0x10
/* 3017C 80054D7C 14800003 */ bnez $a0, .L80054D8C
/* 30180 80054D80 AFBF0010 */ sw $ra, 0x10($sp)
/* 30184 80054D84 08015367 */ j .L80054D9C
/* 30188 80054D88 0000102D */ daddu $v0, $zero, $zero
.L80054D8C:
/* 3018C 80054D8C 3C04800A */ lui $a0, %hi(D_8009A640)
/* 30190 80054D90 8C84A640 */ lw $a0, %lo(D_8009A640)($a0)
/* 30194 80054D94 0C012E79 */ jal func_8004B9E4
/* 30198 80054D98 00000000 */ nop
.L80054D9C:
/* 3019C 80054D9C 8FBF0010 */ lw $ra, 0x10($sp)
/* 301A0 80054DA0 03E00008 */ jr $ra
/* 301A4 80054DA4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,23 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel alHeapAlloc
/* 33390 80057F90 0080382D */ daddu $a3, $a0, $zero
/* 33394 80057F94 00A60018 */ mult $a1, $a2
/* 33398 80057F98 2402FFF0 */ addiu $v0, $zero, -0x10
/* 3339C 80057F9C 8CE50004 */ lw $a1, 4($a3)
/* 333A0 80057FA0 8CE40008 */ lw $a0, 8($a3)
/* 333A4 80057FA4 00004012 */ mflo $t0
/* 333A8 80057FA8 2503000F */ addiu $v1, $t0, 0xf
/* 333AC 80057FAC 00621824 */ and $v1, $v1, $v0
/* 333B0 80057FB0 8CE20000 */ lw $v0, ($a3)
/* 333B4 80057FB4 00A31821 */ addu $v1, $a1, $v1
/* 333B8 80057FB8 00441021 */ addu $v0, $v0, $a0
/* 333BC 80057FBC 0043102B */ sltu $v0, $v0, $v1
/* 333C0 80057FC0 14400003 */ bnez $v0, .L80057FD0
/* 333C4 80057FC4 0000302D */ daddu $a2, $zero, $zero
/* 333C8 80057FC8 00A0302D */ daddu $a2, $a1, $zero
/* 333CC 80057FCC ACE30004 */ sw $v1, 4($a3)
.L80057FD0:
/* 333D0 80057FD0 03E00008 */ jr $ra
/* 333D4 80057FD4 00C0102D */ daddu $v0, $a2, $zero

View File

@ -1,10 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80055050
/* 30450 80055050 24020001 */ addiu $v0, $zero, 1
/* 30454 80055054 3C018008 */ lui $at, 0x8008
/* 30458 80055058 A4228DB4 */ sh $v0, -0x724c($at)
/* 3045C 8005505C 3C018008 */ lui $at, 0x8008
/* 30460 80055060 03E00008 */ jr $ra
/* 30464 80055064 AC208DB0 */ sw $zero, -0x7250($at)

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80055110
/* 30510 80055110 24030007 */ addiu $v1, $zero, 7
/* 30514 80055114 2482001C */ addiu $v0, $a0, 0x1c
.L80055118:
/* 30518 80055118 AC400238 */ sw $zero, 0x238($v0)
/* 3051C 8005511C 2463FFFF */ addiu $v1, $v1, -1
/* 30520 80055120 0461FFFD */ bgez $v1, .L80055118
/* 30524 80055124 2442FFFC */ addiu $v0, $v0, -4
/* 30528 80055128 A080025B */ sb $zero, 0x25b($a0)
/* 3052C 8005512C A080025A */ sb $zero, 0x25a($a0)
/* 30530 80055130 A0800259 */ sb $zero, 0x259($a0)
/* 30534 80055134 03E00008 */ jr $ra
/* 30538 80055138 A0800258 */ sb $zero, 0x258($a0)

View File

@ -1,30 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800551E0
/* 305E0 800551E0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 305E4 800551E4 0080482D */ daddu $t1, $a0, $zero
/* 305E8 800551E8 00C0402D */ daddu $t0, $a2, $zero
/* 305EC 800551EC 30A500FF */ andi $a1, $a1, 0xff
/* 305F0 800551F0 00051A00 */ sll $v1, $a1, 8
/* 305F4 800551F4 3C04800A */ lui $a0, %hi(D_8009A640)
/* 305F8 800551F8 8C84A640 */ lw $a0, %lo(D_8009A640)($a0)
/* 305FC 800551FC 0060382D */ daddu $a3, $v1, $zero
/* 30600 80055200 10A00002 */ beqz $a1, .L8005520C
/* 30604 80055204 AFBF0018 */ sw $ra, 0x18($sp)
/* 30608 80055208 346700FF */ ori $a3, $v1, 0xff
.L8005520C:
/* 3060C 8005520C 00061600 */ sll $v0, $a2, 0x18
/* 30610 80055210 04420001 */ bltzl $v0, .L80055218
/* 30614 80055214 2408007F */ addiu $t0, $zero, 0x7f
.L80055218:
/* 30618 80055218 310200FF */ andi $v0, $t0, 0xff
/* 3061C 8005521C 00073400 */ sll $a2, $a3, 0x10
/* 30620 80055220 0120282D */ daddu $a1, $t1, $zero
/* 30624 80055224 00063403 */ sra $a2, $a2, 0x10
/* 30628 80055228 0000382D */ daddu $a3, $zero, $zero
/* 3062C 8005522C 0C012DB6 */ jal func_8004B6D8
/* 30630 80055230 AFA20010 */ sw $v0, 0x10($sp)
/* 30634 80055234 8FBF0018 */ lw $ra, 0x18($sp)
/* 30638 80055238 03E00008 */ jr $ra
/* 3063C 8005523C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80055240
/* 30640 80055240 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 30644 80055244 0080582D */ daddu $t3, $a0, $zero
/* 30648 80055248 00C0502D */ daddu $t2, $a2, $zero
/* 3064C 8005524C 00E0402D */ daddu $t0, $a3, $zero
/* 30650 80055250 0100382D */ daddu $a3, $t0, $zero
/* 30654 80055254 30A500FF */ andi $a1, $a1, 0xff
/* 30658 80055258 00051A00 */ sll $v1, $a1, 8
/* 3065C 8005525C 3C04800A */ lui $a0, %hi(D_8009A640)
/* 30660 80055260 8C84A640 */ lw $a0, %lo(D_8009A640)($a0)
/* 30664 80055264 0060482D */ daddu $t1, $v1, $zero
/* 30668 80055268 10A00002 */ beqz $a1, .L80055274
/* 3066C 8005526C AFBF0018 */ sw $ra, 0x18($sp)
/* 30670 80055270 346900FF */ ori $t1, $v1, 0xff
.L80055274:
/* 30674 80055274 00061600 */ sll $v0, $a2, 0x18
/* 30678 80055278 04420001 */ bltzl $v0, .L80055280
/* 3067C 8005527C 240A007F */ addiu $t2, $zero, 0x7f
.L80055280:
/* 30680 80055280 00081400 */ sll $v0, $t0, 0x10
/* 30684 80055284 00021C03 */ sra $v1, $v0, 0x10
/* 30688 80055288 28620961 */ slti $v0, $v1, 0x961
/* 3068C 8005528C 14400003 */ bnez $v0, .L8005529C
/* 30690 80055290 2862F6A0 */ slti $v0, $v1, -0x960
/* 30694 80055294 080154A9 */ j .L800552A4
/* 30698 80055298 24070960 */ addiu $a3, $zero, 0x960
.L8005529C:
/* 3069C 8005529C 54400001 */ bnel $v0, $zero, .L800552A4
/* 306A0 800552A0 2407F6A0 */ addiu $a3, $zero, -0x960
.L800552A4:
/* 306A4 800552A4 314200FF */ andi $v0, $t2, 0xff
/* 306A8 800552A8 00093400 */ sll $a2, $t1, 0x10
/* 306AC 800552AC 00073C00 */ sll $a3, $a3, 0x10
/* 306B0 800552B0 0160282D */ daddu $a1, $t3, $zero
/* 306B4 800552B4 00063403 */ sra $a2, $a2, 0x10
/* 306B8 800552B8 00073C03 */ sra $a3, $a3, 0x10
/* 306BC 800552BC 0C012DB6 */ jal func_8004B6D8
/* 306C0 800552C0 AFA20010 */ sw $v0, 0x10($sp)
/* 306C4 800552C4 8FBF0018 */ lw $ra, 0x18($sp)
/* 306C8 800552C8 03E00008 */ jr $ra
/* 306CC 800552CC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,30 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800552D0
/* 306D0 800552D0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 306D4 800552D4 0080482D */ daddu $t1, $a0, $zero
/* 306D8 800552D8 00C0402D */ daddu $t0, $a2, $zero
/* 306DC 800552DC 30A500FF */ andi $a1, $a1, 0xff
/* 306E0 800552E0 00051A00 */ sll $v1, $a1, 8
/* 306E4 800552E4 3C04800A */ lui $a0, %hi(D_8009A640)
/* 306E8 800552E8 8C84A640 */ lw $a0, %lo(D_8009A640)($a0)
/* 306EC 800552EC 0060382D */ daddu $a3, $v1, $zero
/* 306F0 800552F0 10A00002 */ beqz $a1, .L800552FC
/* 306F4 800552F4 AFBF0018 */ sw $ra, 0x18($sp)
/* 306F8 800552F8 346700FF */ ori $a3, $v1, 0xff
.L800552FC:
/* 306FC 800552FC 00061600 */ sll $v0, $a2, 0x18
/* 30700 80055300 04420001 */ bltzl $v0, .L80055308
/* 30704 80055304 2408007F */ addiu $t0, $zero, 0x7f
.L80055308:
/* 30708 80055308 310200FF */ andi $v0, $t0, 0xff
/* 3070C 8005530C 00073400 */ sll $a2, $a3, 0x10
/* 30710 80055310 35251000 */ ori $a1, $t1, 0x1000
/* 30714 80055314 00063403 */ sra $a2, $a2, 0x10
/* 30718 80055318 0000382D */ daddu $a3, $zero, $zero
/* 3071C 8005531C 0C012DB6 */ jal func_8004B6D8
/* 30720 80055320 AFA20010 */ sw $v0, 0x10($sp)
/* 30724 80055324 8FBF0018 */ lw $ra, 0x18($sp)
/* 30728 80055328 03E00008 */ jr $ra
/* 3072C 8005532C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80055330
/* 30730 80055330 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 30734 80055334 0080582D */ daddu $t3, $a0, $zero
/* 30738 80055338 00C0502D */ daddu $t2, $a2, $zero
/* 3073C 8005533C 00E0402D */ daddu $t0, $a3, $zero
/* 30740 80055340 0100382D */ daddu $a3, $t0, $zero
/* 30744 80055344 30A500FF */ andi $a1, $a1, 0xff
/* 30748 80055348 00051A00 */ sll $v1, $a1, 8
/* 3074C 8005534C 3C04800A */ lui $a0, %hi(D_8009A640)
/* 30750 80055350 8C84A640 */ lw $a0, %lo(D_8009A640)($a0)
/* 30754 80055354 0060482D */ daddu $t1, $v1, $zero
/* 30758 80055358 10A00002 */ beqz $a1, .L80055364
/* 3075C 8005535C AFBF0018 */ sw $ra, 0x18($sp)
/* 30760 80055360 346900FF */ ori $t1, $v1, 0xff
.L80055364:
/* 30764 80055364 00061600 */ sll $v0, $a2, 0x18
/* 30768 80055368 04420001 */ bltzl $v0, .L80055370
/* 3076C 8005536C 240A007F */ addiu $t2, $zero, 0x7f
.L80055370:
/* 30770 80055370 00081400 */ sll $v0, $t0, 0x10
/* 30774 80055374 00021C03 */ sra $v1, $v0, 0x10
/* 30778 80055378 28620961 */ slti $v0, $v1, 0x961
/* 3077C 8005537C 14400003 */ bnez $v0, .L8005538C
/* 30780 80055380 2862F6A0 */ slti $v0, $v1, -0x960
/* 30784 80055384 080154E5 */ j .L80055394
/* 30788 80055388 24070960 */ addiu $a3, $zero, 0x960
.L8005538C:
/* 3078C 8005538C 54400001 */ bnel $v0, $zero, .L80055394
/* 30790 80055390 2407F6A0 */ addiu $a3, $zero, -0x960
.L80055394:
/* 30794 80055394 314200FF */ andi $v0, $t2, 0xff
/* 30798 80055398 00093400 */ sll $a2, $t1, 0x10
/* 3079C 8005539C 00073C00 */ sll $a3, $a3, 0x10
/* 307A0 800553A0 35651000 */ ori $a1, $t3, 0x1000
/* 307A4 800553A4 00063403 */ sra $a2, $a2, 0x10
/* 307A8 800553A8 00073C03 */ sra $a3, $a3, 0x10
/* 307AC 800553AC 0C012DB6 */ jal func_8004B6D8
/* 307B0 800553B0 AFA20010 */ sw $v0, 0x10($sp)
/* 307B4 800553B4 8FBF0018 */ lw $ra, 0x18($sp)
/* 307B8 800553B8 03E00008 */ jr $ra
/* 307BC 800553BC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,17 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800553C0
/* 307C0 800553C0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 307C4 800553C4 34858000 */ ori $a1, $a0, 0x8000
/* 307C8 800553C8 0000302D */ daddu $a2, $zero, $zero
/* 307CC 800553CC 3C02800A */ lui $v0, %hi(D_8009A640)
/* 307D0 800553D0 8C42A640 */ lw $v0, %lo(D_8009A640)($v0)
/* 307D4 800553D4 00C0382D */ daddu $a3, $a2, $zero
/* 307D8 800553D8 AFBF0018 */ sw $ra, 0x18($sp)
/* 307DC 800553DC AFA00010 */ sw $zero, 0x10($sp)
/* 307E0 800553E0 0C012DB6 */ jal func_8004B6D8
/* 307E4 800553E4 0040202D */ daddu $a0, $v0, $zero
/* 307E8 800553E8 8FBF0018 */ lw $ra, 0x18($sp)
/* 307EC 800553EC 03E00008 */ jr $ra
/* 307F0 800553F0 27BD0020 */ addiu $sp, $sp, 0x20

Some files were not shown because too many files have changed in this diff Show More