Morpha (ovl_Boss_Mo) (#438)

* Darkmeiro decompilation

Bg_Gnd_Darkmeiro decompiled, matched, and documented.

* give this a shot

* fix conflict

* one more try

* it begins

* more functions

* another match

* starting documentation

* the big function works. also two more matches

* small fix

* data cleanup

* removed .s

* match with player

* inching closer to matching

* two more matches. almost there

* OH MY GOD IT MATCHES

* cleanup: part 1 of infinity

* named a bunch of stuff

* Naming particle fields

* terminal commas

* terminal commas

* small enum fix

* added description of droplet widths

* merge

* updating

* Gfx

* vt

* xml

* bgcheck

* more on objects

* unused stuff

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "44f5d7cb9"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "44f5d7cb9"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "6f874af4a"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "6f874af4a"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* object names

* fixes

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "6f874af4a"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "6f874af4a"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "0305ec2c2"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "0305ec2c2"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* ZAPD works

* .s

* merge

* starting work

* more stuff

* builds OK

* first pass

* PR fixes (Louis)

* Bg_toki_hikari all functions matching (#781)

* starting toki_hikari

* func_808BA018 matched and some work on other func

* init and draw matched, one to go

* matched final function, removed ASM, updated spec

* adding suggested changes

* Volvagia (ovl_Boss_Fd) and related actors (#352)

* Darkmeiro decompilation

Bg_Gnd_Darkmeiro decompiled, matched, and documented.

* Lots of functions matched. Some big ones are close.

* Five left unmatched, one close.

* Merged data and decompiled the giant function into something readable. Its branch structure has yet to be matched.

* Three unmatched, one essentially matched, the rest matched.

* More fixes.

* Documented more of the structure and cleaned up a bit.

* BossFd2, BgVbSima, and EnVbBall matched and documented

* Also removed unneeded .s files

* And need to name EnVbBall's functions

* give this a shot

* fix conflict

* one more try

* removing darkmeiro changes

* and again

* now OK from make clean

* minor cleanup

* One more matching function for BossFd

* which means it doesn't need its .s

* splitting

* splitting

* splitting

* forgot some .s

* fancy new names

* fancy new names

* trying again

* sneaky .s files

* sound effects and some hex to decimal conversions

* Sound effects and static variable cleanup

* format.sh and clean up static variables

* sfx and formatting

* ZAP and cleanup

* small cleanup

* cleanup and ZAP

* ZAP

* looking at the giant function again

* looking at the giant function again

* Only the big function left.

* Those .s files aren't mine, officer

* float literals might be fixed. regalloc still a nightmare

* almost done with the big function

* should make now

* not much of a change

* all functions match. rodata somehow doesn't.

* forgot some things

* lots of cleanup

* and a little more

* small error

* large cleanup. Also BossFd has function names and inlined variable declarations

* still more cleanup

* the quest for 0.1f continues

* forgot to put NON_MATCHING back in

* Data structures fully documented. Still more cleanup.

* DECR now works with BossFd2

* should match now

* cleanup

* small cleanup

* cleanup and names

* tiny thing

* particles and headers and stuff

* now with more enums

* merge

* test

* end test

* update

* cleanup

* object 2

* object 1

* doc object_fd2

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "6f874af4a"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "6f874af4a"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* formatting

* .s

* merge actor

* vertex arrays

* a little more

* formatting

* merge opd

* fixed damage check

* cleanup

* fixes

* effect struct

* review

Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
Co-authored-by: fig02 <fig02srl@gmail.com>

* fix mistake in z_bg_hidan_hamstep (#771)

if you're just going to close this pr just wait a week and review it then.

* ovl_En_River_Sound 1 non-matching (#786)

* ovl_En_River_Sound

* Implement review suggestions, run through clang-format

* Responding to PR comments

* Use CHECK_QUEST_ITEM, run through clang-tidy.

* EnTp, 1 nonmatching, and object_tp (#782)

* Data imported, 8 easy functions matched

* Init only remaining nonmatching, data in

* some renaming & fiddling with Init, still nonmatching

* fix colours

* Init still not matching

* Decompile object_tp

* renames

* Rename func_80B20DE0

* Horrible new idea

* Known equivalent, docs next

* Another attempt

* Finished naming in object_tp

* Named functions, more enums

* DrawBridge -> Drawbridge

* skulltulla -> Skulltula

* Name almost all struct variables

* Named most of the temps

* delete asm

* spec

* Missed data file, whoops

* Review

* More review changes

* cleanup en_dha (#787)

* Set __FILE__ in asm_processor (#793)

* Set __FILE__ in asm_processor

* bss fix

* Update to upstream version

Co-authored-by: zelda2774 <zelda2774@invalid>

* ovl_Efc_Erupc OK (#773)

* a few good dead Gfx_TwoTexScrolls

* EfcErupc OK, mostly documented

* review

* remove fake match

Co-authored-by: Fig02 <fig02srl@gmail.com>

* z_bg_mizu_movebg and object_mizu_objects (#747)

* OK a few functions

* BgMizuMovebg_Draw OK, make tweaks to bg_mizu_bwall

* migrate data

* create mizu_objects, defines for water temple water level

* clean up some code

* implement most suggestions

* review

* review2

* formatting

Co-authored-by: Fig02 <fig02srl@gmail.com>

* Document BodyBreak (en_part, body part spawner) (#797)

* done

* status defines

* whoops

* comment wording

* size calc change

* elseif

* Improve the format in z_map_mark_data.c and cleanup mapmark.py (#798)

* Cleanup mapmark.py script

* Rename map mark defines

* Remove unused entries from map_mark_data

* `assert` macro OK (#755)

* create assert macro and replace a bunch of __assert

Signed-off-by: angie <angheloalf95@gmail.com>

* Another bunch of assert

Signed-off-by: angie <angheloalf95@gmail.com>

* more assert

Signed-off-by: angie <angheloalf95@gmail.com>

* assert(false)

Signed-off-by: angie <angheloalf95@gmail.com>

* last assert used in matching code

Signed-off-by: angie <angheloalf95@gmail.com>

* the non-matchings

Signed-off-by: angie <angheloalf95@gmail.com>

* typo

Signed-off-by: angie <angheloalf95@gmail.com>

* format

Signed-off-by: angie <angheloalf95@gmail.com>

* change macro to uppercase

Signed-off-by: angie <angheloalf95@gmail.com>

* Apply suggestions from code review

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Change ASSERT(false) to ASSERT(0)

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* General object cleanup (#799)

* Object cleanup

* Fix running man

* fix mm symbols

* Updated to use latest version of ZAPD (#777)

* Updated config file

* Added missing files

* Temporarily removed asm_processor changes.

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "96ffc1e62"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "96ffc1e62"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "179af7d11"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "179af7d11"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"

* Cleanup and fixes.

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "50ad2fe78"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "50ad2fe78"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"

* Makefile fix

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "b9120803e"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "b9120803e"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"

Co-authored-by: Jack Walker <7463599+Jack-Walker@users.noreply.github.com>

* Decompile `object_zo` 🐬 (#794)

* Initial xml

* most of in-code references

* Add limbs and evrything else

* Functions used by EnRiverSound

* Fix forearm and use void* for textures

* Run formatter

* Change Hints in scene's XMLs (#800)

* Remove blobhint

* Add segments and offsets, and remove most hints

* Change PathHint to Path

* Add missing final new lines in scenes xmls

* finished object_skb (#790)

* finished object_skb

* neglected the limbs and dlists, so I added them

* adding the textures

* fixing some names

* ....forgot to change the c file....

* hopefully fixed formatting issue

* EnFish, OK and documented (#795)

* Matching

* Some naming

* spec

* Name another function

* Name animations, clarify use of GI_MAX and GI_NONE

* Documented bottle range functions

* Simplify squared distance function in EnIceHono, actor descriptions

* Functions for dropped fish

* More naming

* Change 65535.5f to (0xFFFF + 0.5f)

* Change 65535.5f to (0xFFFF + 0.5f)

* name phases

* Named other types, Docile functions

* Naming complete

* delete asm

* format, remove outdated comment

* Fix a few DrawFlexOpa arguments

* Review changes

* Change back to original playSound

* Function comments per review

* Update asm-processor and add make dependencies for global asm and early includes (#801)

* Update asm-processor to latest master

* Add make dependencies for global asm and early includes

* Update asm-processor to latest master

* Decompile the pause menu aka. ovl_kaleido_scope (+ minor changes) (#803)

* Decompile ovl_kaleido_scope + minor cleanups

* Add a common header for ovl_kaleido_scope

* Start cleaning up and documenting kaleido_scope (+ some interface docs)

* Improve and fix some kaleido_scope non matchings

* Match KaleidoSetup_Init

* Extract icon_item_fra/ger_static files

* Add more documentation and matches to kaleido_scope

* Improve the z_kaleido_collect.c non matching

* Rename z_kaleido_8081EFF0.c to z_kaleido_prompt.c

* Update most kaleido variables to be static

* Improve GS flag macros

* Improve z_lmap_mark.c and extract z_lmap_mark_data.c with a script

* Various minor fixes and improvements

* Minor fixes and review changes

* Review changes part 2

* Rename gSetTileCustom to gDPSetTileCustom

* Review changes part 3

* Delete `-j` from `make setup` and document use of `-jN` and `-j` in readme (#804)

* Add nproc to make setup

* Add cross-platform nproc equivalents

* Scrap that, just ditch -j in makefile altogether

* Clarified thread advice

* ViMode progress (#802)

* ViMode OK

* Fix variable name in regconvert tool

* ViMode: fix formatting

* Add nonmatching impl for ViMode_Configure, respond to PR

- Fixed struct field naming (unkXX -> unk_XX)
- ViMode_Configure args are not flags for top/left etc; seem to be for
    video mode
- Used @Random06457's implementation of `ViMode_LogPrint`

* Use plain LOG_ADDRESS in ViMode_LogPrint

* Incorporate PR feedback from Roman971

* Add scene macros (#792)

* add scene macros

* SCENECMD -> SCENE_CMD

* light renaming

* SCENE_CMD_ROOM_BEHAVIOR

* update params names

* Remove extra spaces

* More review changes by fig

* remove MM cmd ids

* more review changes

* last minute edit

* I keep confusing both lights commands

* Review changes

* Yet another cutscene change

* Unused02 is unused

* Add UNK_09 macro and other minor fixes (#813)

(cherry picked from commit d3a6d4d2e1794f3b12f22d7808d65f24ef4c220a)

* Match BossFd_Fly (ovl_Boss_Fd OK) (#807)

* Simplify PNGs rules in the makefile (#814)

* simplify rules

* update `-eh`

* Add every unreserved object in an automated way (#805)

* it's crashing

* fix stuff

* fix xmls

* problematic objects

* fix tabs

* Fix suffixes

* add missing new lines

* Add comments to the problematic objects

* Find and replace fixes

* Add Fig's objects

* I forgot to add a Name in a cutscene, so I'm adding it here

* Update object decomp tutorial a little bit

* Update problematic objects

* Update docs/tutorial/object_decomp.md

Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>

* Change comments

* comment out a few blobs

* dammit tluts

* Change a bunch of objects

* update the last bunch

* update comments on  oA11 and oB2

* Ninja-edit to fix compatibility with ZAPD's PR 142

Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>

* Add clean assets (#785)

* makefile change

* also delete

* Add cleantools

* rename cleanassets and assetclean

* add rules to PHONY in makefile

* Remove toolsclean

* object_hata OK (#806)

* everything except limbs

* spec

* object_hata OK

* Replace symbols, unused data, enums, some cleanup

* Fix compiler warnings in EnRiverSound

* Address Roman's review

* Correct limbs name

* Changed unk_192 to timer, as well as add missing trailing comma for formating (#817)

* Remove some unused duplicated C files (#818)

* Removes qemu from the README.md (#819)

* Removes qemu from the README.md

* Increments the step references in other parts of the README.md

* Update README.md

Co-authored-by: Anghelo Carvajal <anghelo.carvajal.14@sansano.usm.cl>

* Update README.md

Co-authored-by: Anghelo Carvajal <anghelo.carvajal.14@sansano.usm.cl>

* Update README.md

Co-authored-by: Anghelo Carvajal <anghelo.carvajal.14@sansano.usm.cl>

* Update README.md

Co-authored-by: Anghelo Carvajal <anghelo.carvajal.14@sansano.usm.cl>

Co-authored-by: Anghelo Carvajal <anghelo.carvajal.14@sansano.usm.cl>

* Match EnSkb_PostLimbDraw (obl_en_skb OK) (#821)

* Small bgcheck documentation pass (#816)

* implement some documentation

* remove unnecessary comments related to decomp

* eliminate comment function prototypes

* Add `actorfixer.py` ~~and `graphovl.py`~~; and a few improvements to `extract_assets.py` (#783)

* Only process touched files and abort the extraction if one file wasn't extracted properly

Signed-off-by: angie <angheloalf95@gmail.com>

* add actorfixer and graphovl

Signed-off-by: angie <angheloalf95@gmail.com>

* Re set execution permisions to diff.py

Signed-off-by: angie <angheloalf95@gmail.com>

* Add graphs/ to gitignore

Signed-off-by: angie <angheloalf95@gmail.com>

* Add looners flag to graphovl

Signed-off-by: angie <angheloalf95@gmail.com>

* Parse macros

Signed-off-by: angie <angheloalf95@gmail.com>

* cleanup

Signed-off-by: angie <angheloalf95@gmail.com>

* Add enum parser to graphovl

Signed-off-by: angie <angheloalf95@gmail.com>

* Remove redundant code

Signed-off-by: angie <angheloalf95@gmail.com>

* cleanup

Signed-off-by: angie <angheloalf95@gmail.com>

* Custom colors to graphovl!

* Select multiples styles for graphovl

* Add solarized light style

* Add renames of #796

* Add unaccounted warning flag

* remove graphovl

* git subrepo clone https://github.com/AngheloAlf/graphovl.git tools/graphovl

subrepo:
  subdir:   "tools/graphovl"
  merged:   "577e71592"
upstream:
  origin:   "https://github.com/AngheloAlf/graphovl.git"
  branch:   "master"
  commit:   "577e71592"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"

* remove graphovl

* Add `graphovl/` to gitignore

* Label a bug in Door_Shutter (#810)

* comment

* Update src/overlays/actors/ovl_Door_Shutter/z_door_shutter.c

Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>

* Update src/overlays/actors/ovl_Door_Shutter/z_door_shutter.c

Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>

* Update src/overlays/actors/ovl_Door_Shutter/z_door_shutter.c

Co-authored-by: pixel-stuck <mathmcclintic@gmail.com>

* change message

* typo

* repeated myself

* extra space lmao

* change wording again

* Update src/overlays/actors/ovl_Door_Shutter/z_door_shutter.c

* indent

Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>
Co-authored-by: pixel-stuck <mathmcclintic@gmail.com>

* en_weather_tag Quick documentation pass (#808)

* Quick documentation pass

* Fill out the En_Weather_Tag enum

* move the enum into the header

* implement roman's suggestion

* object_sa OK (#789)

* object_sa OK

* PR fixes (AngheloAlf)

* PR fixes (Roman)

* Improve z_jpeg documentation (#825)

* Improve z_jpeg documentation

* JpegWork::data is probably better than address

* Rename Jpeg_SendTask to Jpeg_ScheduleDecoderTask

* Rename njpegUCode to gJpegUCode

* Rename GetU16 to GetUnalignedU16 and improve docs

* Decompile a bunch of objects (#603)

* Mostly done but shifted

* still messed up

* Almost OK

* OBJECT_JYA_OBJ OK, OBJECT_GR OK

* Done

* Merge master and format

* Cleanup

* Cleanup 2

* Start object MB dont merge yet

* Object_MB OK

* Object_ydan_objects OK

* General 'ydan' actor cleanup

* Forgot some small things

* Object_EC OK

* add .gitkeep and run format

* Object_sd OK but no textures cause of a zap issue

* PR fixes

* Fix object_sd

* fix ydan

* delete .gitkeep files

* OBJECT_BOX as far as it can go with current ZAP

* Fix undefined_syms

* Start child link object

* Push progress, dont merge yet

* Object_mori_objects OK

* Fixed?

* Fix conflicts again

* Seems like i missed some textures

* Extract data for BgBombwall

* More field

* ZAP YEP 2.0

* Object_Box OK

* Object_SD ok.  Ready to merge

* remove ASM and merge master

* remove ASM

* remove files wrongfully added to docs/

* Almost done

* Change comment in z_player_lib.c

* forgot some DLists in player_lib.c

* Fix conflict, run format

* Same as before but this time with Tex and TLUT

* Last few things

* fix object_GR and add limbs to object_sd

* Nane -> Name

* gChildDekuShieldMtx is now a matrix and not a blob

* PR fixes (Fig)

* add a space for comment in z_player_lib.c

* re push and new lines

* PR fixes (AngheloAlf)

* PR fixes (Roman)

* Fix Heishi2

* PR fixes (Fig)

* Replace spacing in a file

* PR fixes (Roman)

* Track XML extraction time (#826)

* extracted-assets.json

* delete `.extracted-assets.json` in distclean

* Move `rm .extracted-assets.json` to `assetclean`

* Outname -> OutName for OBJECT_LINK_CHILD (#827)

* Outname -> OutName

* ANother child fix

* TLUT -> tlut

* Change nanoseconds to seconds in extract_assets.py (#829)

* Match 2 more functions in z_eff_blure.c (#831)

* Match ViMode_Configure (z_vimode.c OK) (#830)

* warnings fixed (#835)

* ZAPD update: libpng, zroom improvements and others (#811)

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "769f5702a"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "769f5702a"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"

* Add `libpng` to readme

* Remove `-ifp` since it doesn't exists anymore in ZAPD

* Remove extra print I added

* Add UNK_09 macro and other minor fixes

* Simplify PNG rules

* simplify gitignore

* Update README.md

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update dockerfile

* basic instructions for cygwin and mac

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "86160be69"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "86160be69"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"

* Change nanoseconds to seconds in extract_assets.py

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* "Decompile" more objects. (#784)

* Object_hakach_objects OK and fix a warning in z_play.c

* Object Warp1 OK

* Object_spot16_obj OK

* object_cs Skeleton and limbs OK

* Limbs are broken

* Limbs OK

* Object_CS OK

* Object_jya_door OK

* fix errors and add new lines

* PR fixes (AngheloAlf)

* PR fixes (EllipticEllipsis)

* PR fixes (Fig)

* Rename Spot16 and Jya

* GraveYard -> Graveyard

* PR fixes

* -s

* PR fixes

* Object_RU1, Object_MA1, and warp pad objects Decompiled (#828)

* Ruto limbs

* RutoLimb enum

* the enum doesn't go in en_door

* Limb DLists

* Name almost all textures and clean up EnRu1.c

* remove padding

* Name all but 1 animation and remove undefined syms

* Object MA limbs OK

* (MA1)Most textures

* Small renames in EnMa1.c

* Object MA1 OK

* add base object for Mjin

* Mjin OK

* Update object_ma1.xml

* PR fixes (Fig)

* PR fixes

* Missed one

* Update assets/xml/objects/object_ru1.xml

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* En_River_Sound OK (#833)

* match en_river_sound

* remove asm

* some docs

* more docs

* saria song

* review stuff

* z_sram OK (#834)

* match z_sram

* format and remove unused asm, also make some data static

* review comments

* another change

* Match Jpeg_Decode (z_jpeg.c OK) (#839)

* Match EnDaiku_UpdateText (En_Daiku OK) (#841)

* Match 1 of the 2 remaining functions in Bg_Mizu_Movebg (#840)

* Improve Audio_SequencePlayerProcessSequence (#844)

Co-authored-by: zelda2774 <zelda2774@invalid>

* Fix and rename nes_font_static (#753)

* renames

* change digits and control pad names

* Add codepoints, rename blank char 0x7F

* BgGndFiremeiro OK and documented (#850)

* OK, data imported

* Name everything

* Delete asm

* Add struct `LegacyLimb` and rename `AnimationHeader2` for `object_human` (#849)

* Add LegacyLimb and rename AnimationHeader2

* Simplify SkelAnime_GetFrameDataLegacy

* Minor fixes

* Move LegacyLimb with the rest of the limbs

* EnVali OK and documented, object_vali and object_bl completely analysed and documented (#845)

* OK

* Some naming

* Name more, correct typo in Biri, extract skel

* just Draws need names, fix typos in bili and warp1

* Decompile object_vali and add symbols

* Few more names

* Bari naming done

* object_bl completed, symbols added

* Label object_bl

* Formatter

* delete asm

* review changes

* review changes

* review

* Interface improvements (#822)

* Add symbols, does NOT build OK

* parameter OK with syms

* Use `static` more and inline arrays

* wip docs

* Start on Interface_Draw, NOT OK yet

* rename variables since interface dev is weird

* nonmatching for now

* kaleido

* Update src/code/z_parameter.c

Co-authored-by: louist103 <35883445+louist103@users.noreply.github.com>

* Make most texture rectangles use shifts

* fix symbols for all interface things

* done with interface_draw for now

* Update z_parameter.c

* format files

* fix wrong function calls

* fix bss

* improvements in matching

* remove button enum for now

* (void)0 to fix warning

* make conditional look nicer

* fix

* fix wrong combiner

* Update src/overlays/actors/ovl_kaleido_scope/z_lmap_mark.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* format

* remove "HUD" naming

* review suggestions

Co-authored-by: louist103 <35883445+louist103@users.noreply.github.com>
Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Migrate .bss for fault drawer and .data for item00 (#823)

* Item00 and fault drawer

* Test

* Test2

* test3

* test4

* remove .data file for item00

* revert hex

* WHY

* PLEASE

* PR fixes (Roman) and run clang-format version 10

* Fault_drawer was swapped ...again)

* Decompile and label EnEiyer (#852)

* En_Eiyer OK

* Label EnEiyer

* Style fixes

* Rename colCyl -> collider

* Use CLAMP_MIN

* Format

* Review changes

* Match Camera_PrintSettings (z_camera OK) (#853)

* Match Camera_PrintSettings

* rm asm

* Match Math3D_LineSegMakePerpLineSeg (#854)

* Match Math3D_LineSegMakePerpLineSeg

Also renamed to Math3D_LineVsLineClosestTwoPoints

* Fix UB

* Some actor.c docs (in preparation for en_test) (#820)

* renames

* format

* format functions.h

* clean

* arg name

* remove asm

* Decompile obj_bean (magic bean and soft soil).  2 NON_MATCHINGs (#846)

* did a bunch

* Do a bunch more

* all functions in C

* Macros for draw and collision part of state flags

* Done for now

* remove ASM

* PR fixes (Elliptic)

* all angles are hex and take away bad names

* PR fixes (Roman)

* PR fixes

* PR fixes (Fig)

* restore map mark

* Fix the other messed with files

* Decompile some more objects (#848)

* Object_FU limbs and skel OK

* limbs OK

* Object_FU textures OK

* Object_FU face textures OK

* Symbols in en_fu.c

* en_fu.c limb enum

* Remove Object_fu from undefined_syms, move textures to draw, and small cleanup

* Object_bird OK

* Object_Bird OK, added cutscene for shot sun, and song of storms

* Rainbow Bridge CS

* Great fairy CS

* Cutscene -> Cs

* remove '&' from Cutscenes

* Cleanup object_bird

* Update z_en_fu.c

* Update z_en_fu.h

* Update z_en_fu.c

* Update z_en_fu.h

* Update z_en_fu.h

* DC intro CS

* Zeldas lullaby CS

* Nabooru Knuckle CS

* Owl Lake Hylia CS

* Sun song CS

* Undefined sym in Boss Dodongo

* Missed a few more

* DC tex name

* Windmill man limbs

* z_En_Ossan and dependencies (#824)

* fix colliderinit typo

* fix initchain

* reloc

* progress

* progress

* Pick off a few easy functions, reduce number of warnings

* more tough OKs

* Getting closer to all OK, fix en_girla header

* some hard OKs, 7 to go

* two funcs remaining

* func_80AC7094 OK!

* Fix warnings, begin documentation

* get most of object_ossan documented, document some of en_ossan

* improve en_girla function names

* more EnOssan documentation

* more documentation

* en_tana basically complete, en_girla vars all named, en_ossan documentation improvements

* delete TIME ITSELF

* object_oF1d_map OK

* more names, fixed a poition typo

* Nearly all en_ossan functions named, all variables named

* format.sh

* forgot to delete data

* implement pr changes

* EnOssan OK! implement most of Roman's suggestions

* ugh

* implement figs suggestions

* implement roman's suggestion

* Can't tell my left from my other left

Co-authored-by: fig02 <fig02srl@gmail.com>

* Some progress on z_vr_box.c (#838)

* z_vr_box.c progress

* Rename dpList to dlistBuf and SKYBOX_CLEAR_SKY to SKYBOX_NORMAL_SKY

* Fix

* renamed dlistBuf to dListBuf and split large string further

* Change PreRenderContext to just be PreRender (#862)

* Decompile Fishing and document object_fish (#856)

* Start decompiling Fishing

* Decompile more functions in Fishing

* Decompile a few more functions in Fishing

* Decompile func_80B6E9E0 and func_80B7825C (non matching)

* Minor Fishing cleanups

* Migrate fishing bss to C and match 3 functions

* Decompile and match Fishing_Update

* Migrate fishing data to C and minor cleanups

* Fix the object_fish xml and use its symbols in Fishing

* Partially document Fishing and object_fish

* Add more documentation/cleanups to Fishing and object_fish

* Use object_fish symbols in Demo_Ec and fix naming

* Minor fixes to Fishing docs

* Apply review suggestions for Fishing

* Apply 2 more review suggestions for Fishing

* Apply some review suggestions for Fishing

* Extract all "place name" title cards (#858)

* Forest and shadow temple

* fire temple

* Water temple

* Spirit temple

* Deku tree

* jabu jabu

* DC

* Inside Ganons castle

* GTG

* Castle courtyard

* great fairy's fountain

* chamber of sages

* shooting gallery

* Temple of time

* market

* back alley

* kokir shop

* goron shop

* zora shop

* House of skulltula

* bazarr

* potion shop

* gravekeepers hut

* lakeside lab

* hyrule field

* kak

* graveyard

* zoras river

* kokiri forest

* lake hylia

* zoras domain

* zoras fountain

* gerudo valley

* lost woods

* the rest of them

* cleanup

* final cleanup

* PR fixes (Zel)

* (Re) fix case

* segment 0

* Fix map name static conflict

* Comment about ZAPD

* number 0

* Update place_title_cards.xml

* Update spec

* Fix all xmls to explicitly use offsets (#859)

* Forest and shadow temple

* fire temple

* Water temple

* Spirit temple

* Deku tree

* jabu jabu

* DC

* Inside Ganons castle

* GTG

* Castle courtyard

* great fairy's fountain

* chamber of sages

* shooting gallery

* Temple of time

* market

* back alley

* kokir shop

* goron shop

* zora shop

* House of skulltula

* bazarr

* potion shop

* gravekeepers hut

* lakeside lab

* hyrule field

* kak

* graveyard

* zoras river

* kokiri forest

* lake hylia

* zoras domain

* zoras fountain

* gerudo valley

* lost woods

* the rest of them

* cleanup

* final cleanup

* PR fixes (Zel)

* Fra -> FRA and cleanup map_name_static

* map_name_static

* DONE

* SHould be it

* Done done done done

* vector

* remove another pr

* ?

* EnDekubaba OK and documented, object_dekubaba documented (#864)

* 13 functions left, data imported

* 2 left

* 1 left

* OK

* Begin naming

* sfx rename

* spec

* Begin naming, add LINK_IS_CHILD to EnDu

* Fix spelling of its/it's

* Document most of object_dekubaba, import symbols

* Document draw functions, begin on actionfuncs

* New actor function names, some float constants

* Name almost everything

* Delete asm

* Name size, format

* Review changes

* Review changes

* Brackets, format

* Fix Sheik typo (#867)

* db_camera (#842)

* Decompile shrink_window.c

* progress

* progress

* makefile

* progress

* match 8 functions

* 1 more match

* match 2 functions

* decompile func_800B9638

* fix flow

* migrate .bss

* doc

* name some stuff

* fixes

* comment fix

* remove scene .c files

* old z_camera .s files

* revert z_camera change

* revert unwanted z_camera change

* fixes

* remove unused files, run clang-format and fix non-matching

* fix clang-format causing non-matching

* remove newline + old comment in func_800B3BD4

* make db_camera global variables static

* add s prefix to startic variables

* change magic constants

* rename "unk_50"

* Match func_800B3BD4 and Match DbCamera_UpdateDemoControl (-bss)

* Lots of progress on update

* Mainly cleanup

* run format.sh + remove unused asm

* replace chevrons with add quotes

* remove useless cast + use correct empty argument function declaration

Co-authored-by: engineer124 <engineer124engineer124@gmail.com>

* Match Interface_Draw (z_parameter OK) (#876)

* Interface_Draw down to permuter score = 175

* Fix typo

* Matched Interface_Draw!

* clean-up

* Another touch-up

* a little more cleanup

* No more direct gGameInfo->data access

* Audio WIP (#836)

* being code_800EC960

* wip

* wip

* more audio progress

* migrate data in code_800E11F0

* wip

* make ok

* remove asm

* wip

* move some variables outside of gAudioContext to the AudioContext structure due to the size used in func_800E3094

* more progress

* wip

* wip

* split code_800E11F0

* migrate rodata in code_800E11F0

* match functions that couldn't because of data issues

* move code_800E4FE0 asm files

* wip

* more wip

* fix global functions, and forward declarations

* wip

* wip

* wip

* ocarina wip

* match a couple functions

* some progress

* separate some bss

* match func_800EDA3C

* some matching

* more matches

* migrate audio rodata

* some matches

* more matchess

* start on synthesis

* work on synthesis

* fix function declaration

* Merge branch 'master' into audio

* match a few more functions

* wip

* wip

* more matching, rename Audio_SetBGM to Audio_QueueSeqCmd

* name several audio functions, and audiocontext members

* more naming, rename code_800E11F0 to audio_load, code_800DAAC0 to audio_synthesis

* audio wip

* match a few more functions.

* wip

* add missing NON_MATCHING directive

* wip

* some matching, data reogranization

* match cursed function

* wip

* wip

* formatting

* remove prefix from struct memebers

* missed function rename

* review

Co-authored-by: fig02 <fig02srl@gmail.com>

* ZAPD update: Gotta go fast! (#877)

* copy over the xml

* Rename anims

* A bunch of renames

* minor extract_assets fixes

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "820678b4e"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "820678b4e"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"

* Change rgb5a1 to rgba16

* eye and eyebrows

* some dlists

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "6be9af65d"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "6be9af65d"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"

* Dancing Couple (ovl_En_Tg) (#866)

* Match EnTg_Destroy

* Match EnTg_Init

* Matching EnTg_Update

* Match func_80B18360

Moving both 'return phi;'s into a single return at the end of the function causes the assembly to not match.

* Probably equivalent, non-matching func_80B183F8

* Matching EnTg_Draw

* Matching update function

* Matching func_80B18778

* All functions decompiled

* Move data to C code

* All functions matched excepted weird switch/case

* Last matching function

* Remove unused ASM

* Name obvious symbols

* Clang format

* Name text-related functions and variables

* Describe actor as Dancing Couple

See https://github.com/zeldaret/oot/pull/866#discussion_r664726581

* Use named constants

* Name drawing constants

* Use THIS macro for void*

* Name the function that sets environment color

* Add comments to parts of code that aren't clear

* Rename timesSpokenTo to nextDialogue, treat isTalking as boolean

* z_en_ko OK (#869)

* .data OK

* Progress

* push some old stuff

* Finish a chain

* Progress

* Progress

* Run mathfixer.py

* Progress

* match one more

* Up to date

* Match func_80A97610

* func_80A96FD0

* most of the way through the mega switch

* small formatting thing. still stuck on the switch

* start a big switch function

* a little closer

* done with matching for now starting objects

* func_80A97738 OK!

* func_80A995CC OK!

* func_80A99864 OK!

* en_ko OK!

* Code clean-up pass

* more EnKo cleanups, object_fa and object_kw1 textures documented

* complete object_km1, more EnKo documentation

* More documentation

* delete asm

* Clean-up rebase issues

* bleh

* Implement Dragorn's suggestions

* fix spec, implement fig's suggestions

* whoops (ill leave it for the docs tho lol)

* whoops again

* i made an ouchie

* smile

* last one for real

Co-authored-by: Louis <35883445+louist103@users.noreply.github.com>
Co-authored-by: fig02 <fig02srl@gmail.com>

* z_en_bigokuta OK (#878)

* start

* Did some more

* Progress

* More

* IDK

* Chip away a little

* im done

* func_809BEBBC OK!

* get rid of graphovl

* revert random changes

* Big Okuta OK!

* more clean-ups

* implement dragorn's suggestions

* implement fig and louist's suggestions

Co-authored-by: Louis <35883445+louist103@users.noreply.github.com>

* z_obj_mure OK (#875)

* almost matching init, matching data

* more matchings, some non-matching progress

* finishing up SpawnActor, fixing .data types

* first decompile pass done, few non matchings

* cleanup/update matchings and remove asm

* format code

* pick up some OKs

* 1 non_matching left, some documentation

* z_obj_mure OK... but at what cost?

* implement suggested changes, some more documentation

* Implement Fig's suggestions

* review

Co-authored-by: Sam Lyon <sam.c.lyon@gmail.com>
Co-authored-by: fig02 <fig02srl@gmail.com>

* convert remaining RGB5a1 to RGBA16 (#879)

* Stalfos (en_test) OK and object_sk2 documented (#868)

* fix colliderinit typo

* migrate data

* init has 1 problem

* progress

* progress

* builds now

* progress

* progress

* lots of funcs matched

* many functions, fix warnings

* 1 left

* done

* docs progress

* remove graphovl

* missed some

* change some funcs

* some more

* another

* format

* more docs

* cleanups1

* limbs, DLs, textures

* limbs named (thanks elliptic)

* more docs

* Name animations, import symbols

* Named sections of xml

* more docs

* rename limbs and use flag macros

* name

* review1 and use limb enum

* review2

* agro -> aggro

* review3

* review4

* review5

Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com>

* Use a temp symbol for RomStart/RomEnd symbols, makes the map show the right value for actual RomStart/RomEnd symbols (#880)

* builds OK

* first pass

* PR fixes (Louis)

* fixes

* a little more

* format

* dragorn's stuff

* more cleanup, merge, and format

* now with work buffers

* forgot sfx

* update and draw

Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
Co-authored-by: Louis <35883445+louist103@users.noreply.github.com>
Co-authored-by: Parker Burnett <burnettparker@gmail.com>
Co-authored-by: fig02 <fig02srl@gmail.com>
Co-authored-by: Zelllll <56516451+Zelllll@users.noreply.github.com>
Co-authored-by: glankk <glankk@users.noreply.github.com>
Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>
Co-authored-by: zelda2774 <69368340+zelda2774@users.noreply.github.com>
Co-authored-by: zelda2774 <zelda2774@invalid>
Co-authored-by: mzxrules <mzxrules@gmail.com>
Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
Co-authored-by: Nicholas Estelami <NEstelami@users.noreply.github.com>
Co-authored-by: Jack Walker <7463599+Jack-Walker@users.noreply.github.com>
Co-authored-by: Zach Banks <zjbanks@gmail.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: Kenix3 <kenixwhisperwind@gmail.com>
Co-authored-by: Anghelo Carvajal <anghelo.carvajal.14@sansano.usm.cl>
Co-authored-by: pixel-stuck <mathmcclintic@gmail.com>
Co-authored-by: Vijfhoek <me@vijf.life>
Co-authored-by: Synray <31429825+Synray@users.noreply.github.com>
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Co-authored-by: Random <28494085+Random06457@users.noreply.github.com>
Co-authored-by: engineer124 <engineer124engineer124@gmail.com>
Co-authored-by: krimtonz <33664508+krimtonz@users.noreply.github.com>
Co-authored-by: Aly Cerruti <aprime2003@gmail.com>
Co-authored-by: Sam Lyon <sam.c.lyon@gmail.com>
Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com>
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
This commit is contained in:
petrie911
2021-08-08 14:26:56 -05:00
committed by GitHub
parent 65f65870a1
commit 6ce382bc8d
38 changed files with 3987 additions and 12228 deletions

View File

@@ -1,23 +0,0 @@
glabel BossMo_Destroy
/* 00994 8091C494 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00998 8091C498 AFBF0014 */ sw $ra, 0x0014($sp)
/* 0099C 8091C49C 848E001C */ lh $t6, 0x001C($a0) ## 0000001C
/* 009A0 8091C4A0 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 009A4 8091C4A4 00A03825 */ or $a3, $a1, $zero ## $a3 = 00000000
/* 009A8 8091C4A8 29C10064 */ slti $at, $t6, 0x0064
/* 009AC 8091C4AC 14200006 */ bne $at, $zero, .L8091C4C8
/* 009B0 8091C4B0 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 009B4 8091C4B4 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 009B8 8091C4B8 0C016F32 */ jal Collider_DestroyJntSph
/* 009BC 8091C4BC 24C5101C */ addiu $a1, $a2, 0x101C ## $a1 = 0000101C
/* 009C0 8091C4C0 10000004 */ beq $zero, $zero, .L8091C4D4
/* 009C4 8091C4C4 8FBF0014 */ lw $ra, 0x0014($sp)
.L8091C4C8:
/* 009C8 8091C4C8 0C0170EB */ jal Collider_DestroyCylinder
/* 009CC 8091C4CC 24C514FC */ addiu $a1, $a2, 0x14FC ## $a1 = 000014FC
/* 009D0 8091C4D0 8FBF0014 */ lw $ra, 0x0014($sp)
.L8091C4D4:
/* 009D4 8091C4D4 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 009D8 8091C4D8 03E00008 */ jr $ra
/* 009DC 8091C4DC 00000000 */ nop

View File

@@ -1,167 +0,0 @@
.rdata
glabel D_80926AD0
.asciz "../z_boss_mo.c"
.balign 4
glabel D_80926AE0
.asciz "../z_boss_mo.c"
.balign 4
.text
glabel BossMo_Draw
/* 09008 80924B08 27BDFF80 */ addiu $sp, $sp, 0xFF80 ## $sp = FFFFFF80
/* 0900C 80924B0C AFBF003C */ sw $ra, 0x003C($sp)
/* 09010 80924B10 AFB10038 */ sw $s1, 0x0038($sp)
/* 09014 80924B14 AFB00034 */ sw $s0, 0x0034($sp)
/* 09018 80924B18 AFA50084 */ sw $a1, 0x0084($sp)
/* 0901C 80924B1C 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
/* 09020 80924B20 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
/* 09024 80924B24 3C068092 */ lui $a2, %hi(D_80926AD0) ## $a2 = 80920000
/* 09028 80924B28 24C66AD0 */ addiu $a2, $a2, %lo(D_80926AD0) ## $a2 = 80926AD0
/* 0902C 80924B2C 27A40060 */ addiu $a0, $sp, 0x0060 ## $a0 = FFFFFFE0
/* 09030 80924B30 24071B2E */ addiu $a3, $zero, 0x1B2E ## $a3 = 00001B2E
/* 09034 80924B34 0C031AB1 */ jal Graph_OpenDisps
/* 09038 80924B38 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
/* 0903C 80924B3C 8FAF0084 */ lw $t7, 0x0084($sp)
/* 09040 80924B40 0C024F46 */ jal func_80093D18
/* 09044 80924B44 8DE40000 */ lw $a0, 0x0000($t7) ## 00000000
/* 09048 80924B48 8E0302C0 */ lw $v1, 0x02C0($s0) ## 000002C0
/* 0904C 80924B4C 3C19FA00 */ lui $t9, 0xFA00 ## $t9 = FA000000
/* 09050 80924B50 3C013FC0 */ lui $at, 0x3FC0 ## $at = 3FC00000
/* 09054 80924B54 24780008 */ addiu $t8, $v1, 0x0008 ## $t8 = 00000008
/* 09058 80924B58 AE1802C0 */ sw $t8, 0x02C0($s0) ## 000002C0
/* 0905C 80924B5C AC790000 */ sw $t9, 0x0000($v1) ## 00000000
/* 09060 80924B60 C62401A4 */ lwc1 $f4, 0x01A4($s1) ## 000001A4
/* 09064 80924B64 44813000 */ mtc1 $at, $f6 ## $f6 = 1.50
/* 09068 80924B68 2401FF00 */ addiu $at, $zero, 0xFF00 ## $at = FFFFFF00
/* 0906C 80924B6C 3C189696 */ lui $t8, 0x9696 ## $t8 = 96960000
/* 09070 80924B70 46062202 */ mul.s $f8, $f4, $f6
/* 09074 80924B74 37189600 */ ori $t8, $t8, 0x9600 ## $t8 = 96969600
/* 09078 80924B78 3C0FFB00 */ lui $t7, 0xFB00 ## $t7 = FB000000
/* 0907C 80924B7C 4600428D */ trunc.w.s $f10, $f8
/* 09080 80924B80 440B5000 */ mfc1 $t3, $f10
/* 09084 80924B84 00000000 */ nop
/* 09088 80924B88 316C00FF */ andi $t4, $t3, 0x00FF ## $t4 = 00000000
/* 0908C 80924B8C 01816825 */ or $t5, $t4, $at ## $t5 = FFFFFF00
/* 09090 80924B90 AC6D0004 */ sw $t5, 0x0004($v1) ## 00000004
/* 09094 80924B94 8E0302C0 */ lw $v1, 0x02C0($s0) ## 000002C0
/* 09098 80924B98 246E0008 */ addiu $t6, $v1, 0x0008 ## $t6 = 00000008
/* 0909C 80924B9C AE0E02C0 */ sw $t6, 0x02C0($s0) ## 000002C0
/* 090A0 80924BA0 AC780004 */ sw $t8, 0x0004($v1) ## 00000004
/* 090A4 80924BA4 AC6F0000 */ sw $t7, 0x0000($v1) ## 00000000
/* 090A8 80924BA8 8FB90084 */ lw $t9, 0x0084($sp)
/* 090AC 80924BAC 0C024F61 */ jal func_80093D84
/* 090B0 80924BB0 8F240000 */ lw $a0, 0x0000($t9) ## FA000000
/* 090B4 80924BB4 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 090B8 80924BB8 3C09DB06 */ lui $t1, 0xDB06 ## $t1 = DB060000
/* 090BC 80924BBC 35290020 */ ori $t1, $t1, 0x0020 ## $t1 = DB060020
/* 090C0 80924BC0 24480008 */ addiu $t0, $v0, 0x0008 ## $t0 = 00000008
/* 090C4 80924BC4 AE0802D0 */ sw $t0, 0x02D0($s0) ## 000002D0
/* 090C8 80924BC8 AC490000 */ sw $t1, 0x0000($v0) ## 00000000
/* 090CC 80924BCC 8FAA0084 */ lw $t2, 0x0084($sp)
/* 090D0 80924BD0 86270164 */ lh $a3, 0x0164($s1) ## 00000164
/* 090D4 80924BD4 86260162 */ lh $a2, 0x0162($s1) ## 00000162
/* 090D8 80924BD8 8D440000 */ lw $a0, 0x0000($t2) ## 00000000
/* 090DC 80924BDC 240B0020 */ addiu $t3, $zero, 0x0020 ## $t3 = 00000020
/* 090E0 80924BE0 240C0020 */ addiu $t4, $zero, 0x0020 ## $t4 = 00000020
/* 090E4 80924BE4 240D0001 */ addiu $t5, $zero, 0x0001 ## $t5 = 00000001
/* 090E8 80924BE8 AFAD0018 */ sw $t5, 0x0018($sp)
/* 090EC 80924BEC AFAC0014 */ sw $t4, 0x0014($sp)
/* 090F0 80924BF0 AFAB0010 */ sw $t3, 0x0010($sp)
/* 090F4 80924BF4 862E0166 */ lh $t6, 0x0166($s1) ## 00000166
/* 090F8 80924BF8 24180020 */ addiu $t8, $zero, 0x0020 ## $t8 = 00000020
/* 090FC 80924BFC 24190020 */ addiu $t9, $zero, 0x0020 ## $t9 = 00000020
/* 09100 80924C00 AFAE001C */ sw $t6, 0x001C($sp)
/* 09104 80924C04 862F0168 */ lh $t7, 0x0168($s1) ## 00000168
/* 09108 80924C08 AFB90028 */ sw $t9, 0x0028($sp)
/* 0910C 80924C0C AFB80024 */ sw $t8, 0x0024($sp)
/* 09110 80924C10 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 09114 80924C14 AFA20054 */ sw $v0, 0x0054($sp)
/* 09118 80924C18 0C0253D0 */ jal Gfx_TwoTexScroll
/* 0911C 80924C1C AFAF0020 */ sw $t7, 0x0020($sp)
/* 09120 80924C20 8FA30054 */ lw $v1, 0x0054($sp)
/* 09124 80924C24 3C09FA00 */ lui $t1, 0xFA00 ## $t1 = FA000000
/* 09128 80924C28 3529FFFF */ ori $t1, $t1, 0xFFFF ## $t1 = FA00FFFF
/* 0912C 80924C2C AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 09130 80924C30 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 09134 80924C34 3C014140 */ lui $at, 0x4140 ## $at = 41400000
/* 09138 80924C38 44819000 */ mtc1 $at, $f18 ## $f18 = 12.00
/* 0913C 80924C3C 24480008 */ addiu $t0, $v0, 0x0008 ## $t0 = 00000008
/* 09140 80924C40 AE0802D0 */ sw $t0, 0x02D0($s0) ## 000002D0
/* 09144 80924C44 AC490000 */ sw $t1, 0x0000($v0) ## 00000000
/* 09148 80924C48 C63001A4 */ lwc1 $f16, 0x01A4($s1) ## 000001A4
/* 0914C 80924C4C 3C014120 */ lui $at, 0x4120 ## $at = 41200000
/* 09150 80924C50 44813000 */ mtc1 $at, $f6 ## $f6 = 10.00
/* 09154 80924C54 46128102 */ mul.s $f4, $f16, $f18
/* 09158 80924C58 3C01C8FF */ lui $at, 0xC8FF ## $at = C8FF0000
/* 0915C 80924C5C 3421FF00 */ ori $at, $at, 0xFF00 ## $at = C8FFFF00
/* 09160 80924C60 3C19FB00 */ lui $t9, 0xFB00 ## $t9 = FB000000
/* 09164 80924C64 46062203 */ div.s $f8, $f4, $f6
/* 09168 80924C68 4600428D */ trunc.w.s $f10, $f8
/* 0916C 80924C6C 440D5000 */ mfc1 $t5, $f10
/* 09170 80924C70 00000000 */ nop
/* 09174 80924C74 31AE00FF */ andi $t6, $t5, 0x00FF ## $t6 = 00000000
/* 09178 80924C78 01C17825 */ or $t7, $t6, $at ## $t7 = C8FFFF00
/* 0917C 80924C7C AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
/* 09180 80924C80 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 09184 80924C84 3C010064 */ lui $at, 0x0064 ## $at = 00640000
/* 09188 80924C88 3421FF00 */ ori $at, $at, 0xFF00 ## $at = 0064FF00
/* 0918C 80924C8C 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 09190 80924C90 AE1802D0 */ sw $t8, 0x02D0($s0) ## 000002D0
/* 09194 80924C94 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 09198 80924C98 C63001A4 */ lwc1 $f16, 0x01A4($s1) ## 000001A4
/* 0919C 80924C9C 4600848D */ trunc.w.s $f18, $f16
/* 091A0 80924CA0 440B9000 */ mfc1 $t3, $f18
/* 091A4 80924CA4 00000000 */ nop
/* 091A8 80924CA8 316C00FF */ andi $t4, $t3, 0x00FF ## $t4 = 00000000
/* 091AC 80924CAC 01816825 */ or $t5, $t4, $at ## $t5 = 0064FF00
/* 091B0 80924CB0 AC4D0004 */ sw $t5, 0x0004($v0) ## 00000004
/* 091B4 80924CB4 8624015C */ lh $a0, 0x015C($s1) ## 0000015C
/* 091B8 80924CB8 00800821 */ addu $at, $a0, $zero
/* 091BC 80924CBC 00042080 */ sll $a0, $a0, 2
/* 091C0 80924CC0 00812023 */ subu $a0, $a0, $at
/* 091C4 80924CC4 00042080 */ sll $a0, $a0, 2
/* 091C8 80924CC8 00812023 */ subu $a0, $a0, $at
/* 091CC 80924CCC 00042200 */ sll $a0, $a0, 8
/* 091D0 80924CD0 00042400 */ sll $a0, $a0, 16
/* 091D4 80924CD4 0C01DE1C */ jal Math_SinS
## sins?
/* 091D8 80924CD8 00042403 */ sra $a0, $a0, 16
/* 091DC 80924CDC 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 091E0 80924CE0 44812000 */ mtc1 $at, $f4 ## $f4 = 30.00
/* 091E4 80924CE4 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 091E8 80924CE8 3C0FD700 */ lui $t7, 0xD700 ## $t7 = D7000000
/* 091EC 80924CEC 46040182 */ mul.s $f6, $f0, $f4
/* 091F0 80924CF0 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
/* 091F4 80924CF4 AE0E02D0 */ sw $t6, 0x02D0($s0) ## 000002D0
/* 091F8 80924CF8 35EF0002 */ ori $t7, $t7, 0x0002 ## $t7 = D7000002
/* 091FC 80924CFC AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
/* 09200 80924D00 4600320D */ trunc.w.s $f8, $f6
/* 09204 80924D04 44044000 */ mfc1 $a0, $f8
/* 09208 80924D08 00000000 */ nop
/* 0920C 80924D0C 00042400 */ sll $a0, $a0, 16
/* 09210 80924D10 00042403 */ sra $a0, $a0, 16
/* 09214 80924D14 2484015E */ addiu $a0, $a0, 0x015E ## $a0 = 0000015E
/* 09218 80924D18 3084FFFF */ andi $a0, $a0, 0xFFFF ## $a0 = 0000015E
/* 0921C 80924D1C 0004CC00 */ sll $t9, $a0, 16
/* 09220 80924D20 03244025 */ or $t0, $t9, $a0 ## $t0 = 0000015E
/* 09224 80924D24 AC480004 */ sw $t0, 0x0004($v0) ## 00000004
/* 09228 80924D28 922901D1 */ lbu $t1, 0x01D1($s1) ## 000001D1
/* 0922C 80924D2C 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 09230 80924D30 51200004 */ beql $t1, $zero, .L80924D44
/* 09234 80924D34 8FAA0084 */ lw $t2, 0x0084($sp)
/* 09238 80924D38 0C248E1C */ jal func_80923870
/* 0923C 80924D3C 8FA50084 */ lw $a1, 0x0084($sp)
/* 09240 80924D40 8FAA0084 */ lw $t2, 0x0084($sp)
.L80924D44:
/* 09244 80924D44 3C068092 */ lui $a2, %hi(D_80926AE0) ## $a2 = 80920000
/* 09248 80924D48 24C66AE0 */ addiu $a2, $a2, %lo(D_80926AE0) ## $a2 = 80926AE0
/* 0924C 80924D4C 27A40060 */ addiu $a0, $sp, 0x0060 ## $a0 = FFFFFFE0
/* 09250 80924D50 24071B6F */ addiu $a3, $zero, 0x1B6F ## $a3 = 00001B6F
/* 09254 80924D54 0C031AD5 */ jal Graph_CloseDisps
/* 09258 80924D58 8D450000 */ lw $a1, 0x0000($t2) ## 00000000
/* 0925C 80924D5C 8FBF003C */ lw $ra, 0x003C($sp)
/* 09260 80924D60 8FB00034 */ lw $s0, 0x0034($sp)
/* 09264 80924D64 8FB10038 */ lw $s1, 0x0038($sp)
/* 09268 80924D68 03E00008 */ jr $ra
/* 0926C 80924D6C 27BD0080 */ addiu $sp, $sp, 0x0080 ## $sp = 00000000

View File

@@ -1,271 +0,0 @@
glabel BossMo_Init
/* 005B0 8091C0B0 27BDFF98 */ addiu $sp, $sp, 0xFF98 ## $sp = FFFFFF98
/* 005B4 8091C0B4 AFB10038 */ sw $s1, 0x0038($sp)
/* 005B8 8091C0B8 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 005BC 8091C0BC AFBF003C */ sw $ra, 0x003C($sp)
/* 005C0 8091C0C0 AFB00034 */ sw $s0, 0x0034($sp)
/* 005C4 8091C0C4 3C058092 */ lui $a1, %hi(D_80926188) ## $a1 = 80920000
/* 005C8 8091C0C8 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 005CC 8091C0CC 0C01E037 */ jal Actor_ProcessInitChain
/* 005D0 8091C0D0 24A56188 */ addiu $a1, $a1, %lo(D_80926188) ## $a1 = 80926188
/* 005D4 8091C0D4 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 005D8 8091C0D8 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 005DC 8091C0DC 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 005E0 8091C0E0 44050000 */ mfc1 $a1, $f0
/* 005E4 8091C0E4 44070000 */ mfc1 $a3, $f0
/* 005E8 8091C0E8 0C00AC78 */ jal ActorShape_Init
/* 005EC 8091C0EC 00000000 */ nop
/* 005F0 8091C0F0 860E001C */ lh $t6, 0x001C($s0) ## 0000001C
/* 005F4 8091C0F4 24010064 */ addiu $at, $zero, 0x0064 ## $at = 00000064
/* 005F8 8091C0F8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 005FC 8091C0FC 11C100A8 */ beq $t6, $at, .L8091C3A0
/* 00600 8091C100 3C053C23 */ lui $a1, 0x3C23 ## $a1 = 3C230000
/* 00604 8091C104 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 00608 8091C108 0C00B2DD */ jal Flags_SetSwitch
/* 0060C 8091C10C 24050014 */ addiu $a1, $zero, 0x0014 ## $a1 = 00000014
/* 00610 8091C110 3C018092 */ lui $at, %hi(D_80925CD0) ## $at = 80920000
/* 00614 8091C114 AC305CD0 */ sw $s0, %lo(D_80925CD0)($at)
/* 00618 8091C118 8E2F07C0 */ lw $t7, 0x07C0($s1) ## 000007C0
/* 0061C 8091C11C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 00620 8091C120 02213021 */ addu $a2, $s1, $at
/* 00624 8091C124 8DF80028 */ lw $t8, 0x0028($t7) ## 00000028
/* 00628 8091C128 3C038092 */ lui $v1, %hi(D_80927AC0) ## $v1 = 80920000
/* 0062C 8091C12C 240C00A0 */ addiu $t4, $zero, 0x00A0 ## $t4 = 000000A0
/* 00630 8091C130 87190002 */ lh $t9, 0x0002($t8) ## 00000002
/* 00634 8091C134 24637AC0 */ addiu $v1, $v1, %lo(D_80927AC0) ## $v1 = 80927AC0
/* 00638 8091C138 00310821 */ addu $at, $at, $s1
/* 0063C 8091C13C 44992000 */ mtc1 $t9, $f4 ## $f4 = 0.00
/* 00640 8091C140 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00644 8091C144 46802020 */ cvt.s.w $f0, $f4
/* 00648 8091C148 4600018D */ trunc.w.s $f6, $f0
/* 0064C 8091C14C E60001BC */ swc1 $f0, 0x01BC($s0) ## 000001BC
/* 00650 8091C150 8E2A07C0 */ lw $t2, 0x07C0($s1) ## 000007C0
/* 00654 8091C154 44093000 */ mfc1 $t1, $f6
/* 00658 8091C158 8D4B0028 */ lw $t3, 0x0028($t2) ## 00000028
/* 0065C 8091C15C A5690002 */ sh $t1, 0x0002($t3) ## 00000002
/* 00660 8091C160 A4CC1D30 */ sh $t4, 0x1D30($a2) ## 00001D30
/* 00664 8091C164 AC231E10 */ sw $v1, 0x1E10($at) ## 00011E10
.L8091C168:
/* 00668 8091C168 00026980 */ sll $t5, $v0, 6
/* 0066C 8091C16C 24420001 */ addiu $v0, $v0, 0x0001 ## $v0 = 00000001
/* 00670 8091C170 3042FFFF */ andi $v0, $v0, 0xFFFF ## $v0 = 00000001
/* 00674 8091C174 2841012C */ slti $at, $v0, 0x012C
/* 00678 8091C178 006D7021 */ addu $t6, $v1, $t5
/* 0067C 8091C17C 1420FFFA */ bne $at, $zero, .L8091C168
/* 00680 8091C180 A1C00024 */ sb $zero, 0x0024($t6) ## 00000024
/* 00684 8091C184 3C014348 */ lui $at, 0x4348 ## $at = 43480000
/* 00688 8091C188 44814000 */ mtc1 $at, $f8 ## $f8 = 200.00
/* 0068C 8091C18C 3C014248 */ lui $at, 0x4248 ## $at = 42480000
/* 00690 8091C190 44819000 */ mtc1 $at, $f18 ## $f18 = 50.00
/* 00694 8091C194 E6080024 */ swc1 $f8, 0x0024($s0) ## 00000024
/* 00698 8091C198 8E2F07C0 */ lw $t7, 0x07C0($s1) ## 000007C0
/* 0069C 8091C19C 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 006A0 8091C1A0 44813000 */ mtc1 $at, $f6 ## $f6 = 5.00
/* 006A4 8091C1A4 8DF80028 */ lw $t8, 0x0028($t7) ## 00000028
/* 006A8 8091C1A8 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
/* 006AC 8091C1AC 240A0014 */ addiu $t2, $zero, 0x0014 ## $t2 = 00000014
/* 006B0 8091C1B0 87190002 */ lh $t9, 0x0002($t8) ## 00000002
/* 006B4 8091C1B4 A20801D1 */ sb $t0, 0x01D1($s0) ## 000001D1
/* 006B8 8091C1B8 A20A00AF */ sb $t2, 0x00AF($s0) ## 000000AF
/* 006BC 8091C1BC 44995000 */ mtc1 $t9, $f10 ## $f10 = 0.00
/* 006C0 8091C1C0 A20000AE */ sb $zero, 0x00AE($s0) ## 000000AE
/* 006C4 8091C1C4 A600001C */ sh $zero, 0x001C($s0) ## 0000001C
/* 006C8 8091C1C8 46805420 */ cvt.s.w $f16, $f10
/* 006CC 8091C1CC 3C053C23 */ lui $a1, 0x3C23 ## $a1 = 3C230000
/* 006D0 8091C1D0 E606018C */ swc1 $f6, 0x018C($s0) ## 0000018C
/* 006D4 8091C1D4 34A5D70A */ ori $a1, $a1, 0xD70A ## $a1 = 3C23D70A
/* 006D8 8091C1D8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 006DC 8091C1DC 46128100 */ add.s $f4, $f16, $f18
/* 006E0 8091C1E0 E6040028 */ swc1 $f4, 0x0028($s0) ## 00000028
/* 006E4 8091C1E4 0C00B58B */ jal Actor_SetScale
/* 006E8 8091C1E8 AFA60044 */ sw $a2, 0x0044($sp)
/* 006EC 8091C1EC 260514FC */ addiu $a1, $s0, 0x14FC ## $a1 = 000014FC
/* 006F0 8091C1F0 AFA50048 */ sw $a1, 0x0048($sp)
/* 006F4 8091C1F4 0C0170D9 */ jal Collider_InitCylinder
/* 006F8 8091C1F8 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 006FC 8091C1FC 3C078092 */ lui $a3, %hi(D_8092603C) ## $a3 = 80920000
/* 00700 8091C200 8FA50048 */ lw $a1, 0x0048($sp)
/* 00704 8091C204 24E7603C */ addiu $a3, $a3, %lo(D_8092603C) ## $a3 = 8092603C
/* 00708 8091C208 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 0070C 8091C20C 0C01712B */ jal Collider_SetCylinder
/* 00710 8091C210 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 00714 8091C214 8FA90044 */ lw $t1, 0x0044($sp)
/* 00718 8091C218 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 0071C 8091C21C 0C00B337 */ jal Flags_GetClear
/* 00720 8091C220 81251CBC */ lb $a1, 0x1CBC($t1) ## 00001CBC
/* 00724 8091C224 1040002A */ beq $v0, $zero, .L8091C2D0
/* 00728 8091C228 3C198016 */ lui $t9, %hi(gSaveContext+0xee2)
/* 0072C 8091C22C 0C00B55C */ jal Actor_Kill
/* 00730 8091C230 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00734 8091C234 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00738 8091C238 3C01C38C */ lui $at, 0xC38C ## $at = C38C0000
/* 0073C 8091C23C 44814000 */ mtc1 $at, $f8 ## $f8 = -280.00
/* 00740 8091C240 26241C24 */ addiu $a0, $s1, 0x1C24 ## $a0 = 00001C24
/* 00744 8091C244 240BFFFF */ addiu $t3, $zero, 0xFFFF ## $t3 = FFFFFFFF
/* 00748 8091C248 AFAB0028 */ sw $t3, 0x0028($sp)
/* 0074C 8091C24C AFA40048 */ sw $a0, 0x0048($sp)
/* 00750 8091C250 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00754 8091C254 02203025 */ or $a2, $s1, $zero ## $a2 = 00000000
/* 00758 8091C258 2407005D */ addiu $a3, $zero, 0x005D ## $a3 = 0000005D
/* 0075C 8091C25C AFA0001C */ sw $zero, 0x001C($sp)
/* 00760 8091C260 AFA00020 */ sw $zero, 0x0020($sp)
/* 00764 8091C264 AFA00024 */ sw $zero, 0x0024($sp)
/* 00768 8091C268 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 0076C 8091C26C E7A00018 */ swc1 $f0, 0x0018($sp)
/* 00770 8091C270 0C00C916 */ jal Actor_SpawnAsChild
/* 00774 8091C274 E7A80014 */ swc1 $f8, 0x0014($sp)
/* 00778 8091C278 3C01C38C */ lui $at, 0xC38C ## $at = C38C0000
/* 0077C 8091C27C 44815000 */ mtc1 $at, $f10 ## $f10 = -280.00
/* 00780 8091C280 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 00784 8091C284 8FA40048 */ lw $a0, 0x0048($sp)
/* 00788 8091C288 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 0078C 8091C28C 2406005F */ addiu $a2, $zero, 0x005F ## $a2 = 0000005F
/* 00790 8091C290 3C07C348 */ lui $a3, 0xC348 ## $a3 = C3480000
/* 00794 8091C294 AFA00018 */ sw $zero, 0x0018($sp)
/* 00798 8091C298 AFA0001C */ sw $zero, 0x001C($sp)
/* 0079C 8091C29C AFA00020 */ sw $zero, 0x0020($sp)
/* 007A0 8091C2A0 AFA00024 */ sw $zero, 0x0024($sp)
/* 007A4 8091C2A4 E7AA0010 */ swc1 $f10, 0x0010($sp)
/* 007A8 8091C2A8 0C00C7D4 */ jal Actor_Spawn
## ActorSpawn
/* 007AC 8091C2AC E7B00014 */ swc1 $f16, 0x0014($sp)
/* 007B0 8091C2B0 8FAD0044 */ lw $t5, 0x0044($sp)
/* 007B4 8091C2B4 240C00FF */ addiu $t4, $zero, 0x00FF ## $t4 = 000000FF
/* 007B8 8091C2B8 240EFE0C */ addiu $t6, $zero, 0xFE0C ## $t6 = FFFFFE0C
/* 007BC 8091C2BC A5AC1D30 */ sh $t4, 0x1D30($t5) ## 00001D30
/* 007C0 8091C2C0 8E2F07C0 */ lw $t7, 0x07C0($s1) ## 000007C0
/* 007C4 8091C2C4 8DF80028 */ lw $t8, 0x0028($t7) ## 00000028
/* 007C8 8091C2C8 1000006D */ beq $zero, $zero, .L8091C480
/* 007CC 8091C2CC A70E0002 */ sh $t6, 0x0002($t8) ## 00000002
.L8091C2D0:
/* 007D0 8091C2D0 9739F542 */ lhu $t9, %lo(gSaveContext+0xee2)($t9)
/* 007D4 8091C2D4 24090001 */ addiu $t1, $zero, 0x0001 ## $t1 = 00000001
/* 007D8 8091C2D8 240B0014 */ addiu $t3, $zero, 0x0014 ## $t3 = 00000014
/* 007DC 8091C2DC 33280010 */ andi $t0, $t9, 0x0010 ## $t0 = 00000000
/* 007E0 8091C2E0 11000009 */ beq $t0, $zero, .L8091C308
/* 007E4 8091C2E4 3C01447A */ lui $at, 0x447A ## $at = 447A0000
/* 007E8 8091C2E8 0C03E803 */ jal Audio_QueueSeqCmd
/* 007EC 8091C2EC 2404001B */ addiu $a0, $zero, 0x001B ## $a0 = 0000001B
/* 007F0 8091C2F0 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
/* 007F4 8091C2F4 44819000 */ mtc1 $at, $f18 ## $f18 = 5.00
/* 007F8 8091C2F8 240A0032 */ addiu $t2, $zero, 0x0032 ## $t2 = 00000032
/* 007FC 8091C2FC A60A017E */ sh $t2, 0x017E($s0) ## 0000017E
/* 00800 8091C300 10000007 */ beq $zero, $zero, .L8091C320
/* 00804 8091C304 E6120D64 */ swc1 $f18, 0x0D64($s0) ## 00000D64
.L8091C308:
/* 00808 8091C308 44812000 */ mtc1 $at, $f4 ## $f4 = 5.00
/* 0080C 8091C30C 240C003C */ addiu $t4, $zero, 0x003C ## $t4 = 0000003C
/* 00810 8091C310 A6090F60 */ sh $t1, 0x0F60($s0) ## 00000F60
/* 00814 8091C314 A60B0158 */ sh $t3, 0x0158($s0) ## 00000158
/* 00818 8091C318 A60C017E */ sh $t4, 0x017E($s0) ## 0000017E
/* 0081C 8091C31C E6040024 */ swc1 $f4, 0x0024($s0) ## 00000024
.L8091C320:
/* 00820 8091C320 C6060024 */ lwc1 $f6, 0x0024($s0) ## 00000024
/* 00824 8091C324 26241C24 */ addiu $a0, $s1, 0x1C24 ## $a0 = 00001C24
/* 00828 8091C328 240D0064 */ addiu $t5, $zero, 0x0064 ## $t5 = 00000064
/* 0082C 8091C32C E7A60010 */ swc1 $f6, 0x0010($sp)
/* 00830 8091C330 C6080028 */ lwc1 $f8, 0x0028($s0) ## 00000028
/* 00834 8091C334 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00838 8091C338 02203025 */ or $a2, $s1, $zero ## $a2 = 00000000
/* 0083C 8091C33C E7A80014 */ swc1 $f8, 0x0014($sp)
/* 00840 8091C340 C60A002C */ lwc1 $f10, 0x002C($s0) ## 0000002C
/* 00844 8091C344 AFA40048 */ sw $a0, 0x0048($sp)
/* 00848 8091C348 AFAD0028 */ sw $t5, 0x0028($sp)
/* 0084C 8091C34C AFA00024 */ sw $zero, 0x0024($sp)
/* 00850 8091C350 AFA00020 */ sw $zero, 0x0020($sp)
/* 00854 8091C354 AFA0001C */ sw $zero, 0x001C($sp)
/* 00858 8091C358 240700C4 */ addiu $a3, $zero, 0x00C4 ## $a3 = 000000C4
/* 0085C 8091C35C 0C00C916 */ jal Actor_SpawnAsChild
/* 00860 8091C360 E7AA0018 */ swc1 $f10, 0x0018($sp)
/* 00864 8091C364 3C018092 */ lui $at, %hi(D_80925CD4) ## $at = 80920000
/* 00868 8091C368 AC225CD4 */ sw $v0, %lo(D_80925CD4)($at)
/* 0086C 8091C36C 3C0F8092 */ lui $t7, %hi(func_80924228) ## $t7 = 80920000
/* 00870 8091C370 3C0E8092 */ lui $t6, %hi(func_80922D30) ## $t6 = 80920000
/* 00874 8091C374 25EF4228 */ addiu $t7, $t7, %lo(func_80924228) ## $t7 = 80924228
/* 00878 8091C378 25CE2D30 */ addiu $t6, $t6, %lo(func_80922D30) ## $t6 = 80922D30
/* 0087C 8091C37C AE0F0134 */ sw $t7, 0x0134($s0) ## 00000134
/* 00880 8091C380 AE0E0130 */ sw $t6, 0x0130($s0) ## 00000130
/* 00884 8091C384 8FA50048 */ lw $a1, 0x0048($sp)
/* 00888 8091C388 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 0088C 8091C38C 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 00890 8091C390 0C00CDD2 */ jal Actor_ChangeCategory
/* 00894 8091C394 24070009 */ addiu $a3, $zero, 0x0009 ## $a3 = 00000009
/* 00898 8091C398 1000003A */ beq $zero, $zero, .L8091C484
/* 0089C 8091C39C 8FBF003C */ lw $ra, 0x003C($sp)
.L8091C3A0:
/* 008A0 8091C3A0 0C00B58B */ jal Actor_SetScale
/* 008A4 8091C3A4 34A5D70A */ ori $a1, $a1, 0xD70A ## $a1 = 0000D70A
/* 008A8 8091C3A8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 008AC 8091C3AC 0C247138 */ jal func_8091C4E0
/* 008B0 8091C3B0 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 008B4 8091C3B4 241800FF */ addiu $t8, $zero, 0x00FF ## $t8 = 000000FF
/* 008B8 8091C3B8 A21800AE */ sb $t8, 0x00AE($s0) ## 000000AE
/* 008BC 8091C3BC 8E2807C0 */ lw $t0, 0x07C0($s1) ## 000007C0
/* 008C0 8091C3C0 3C0142B4 */ lui $at, 0x42B4 ## $at = 42B40000
/* 008C4 8091C3C4 44818000 */ mtc1 $at, $f16 ## $f16 = 90.00
/* 008C8 8091C3C8 8D0A0028 */ lw $t2, 0x0028($t0) ## 00000028
/* 008CC 8091C3CC 2419FFCE */ addiu $t9, $zero, 0xFFCE ## $t9 = FFFFFFCE
/* 008D0 8091C3D0 27A2004C */ addiu $v0, $sp, 0x004C ## $v0 = FFFFFFE4
/* 008D4 8091C3D4 A5590002 */ sh $t9, 0x0002($t2) ## 00000002
/* 008D8 8091C3D8 E61001C4 */ swc1 $f16, 0x01C4($s0) ## 000001C4
/* 008DC 8091C3DC 8E2907C0 */ lw $t1, 0x07C0($s1) ## 000007C0
/* 008E0 8091C3E0 8E0F0024 */ lw $t7, 0x0024($s0) ## 00000024
/* 008E4 8091C3E4 2605101C */ addiu $a1, $s0, 0x101C ## $a1 = 0000101C
/* 008E8 8091C3E8 8D2B0028 */ lw $t3, 0x0028($t1) ## 00000028
/* 008EC 8091C3EC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 008F0 8091C3F0 856C0002 */ lh $t4, 0x0002($t3) ## 00000002
/* 008F4 8091C3F4 448C9000 */ mtc1 $t4, $f18 ## $f18 = 0.00
/* 008F8 8091C3F8 00000000 */ nop
/* 008FC 8091C3FC 46809120 */ cvt.s.w $f4, $f18
/* 00900 8091C400 E6040028 */ swc1 $f4, 0x0028($s0) ## 00000028
/* 00904 8091C404 AC4F0000 */ sw $t7, 0x0000($v0) ## FFFFFFE4
/* 00908 8091C408 8E0D0028 */ lw $t5, 0x0028($s0) ## 00000028
/* 0090C 8091C40C 8C580000 */ lw $t8, 0x0000($v0) ## FFFFFFE4
/* 00910 8091C410 AC4D0004 */ sw $t5, 0x0004($v0) ## FFFFFFE8
/* 00914 8091C414 8E0F002C */ lw $t7, 0x002C($s0) ## 0000002C
/* 00918 8091C418 AC4F0008 */ sw $t7, 0x0008($v0) ## FFFFFFEC
/* 0091C 8091C41C AE1801D4 */ sw $t8, 0x01D4($s0) ## 000001D4
/* 00920 8091C420 8C4E0004 */ lw $t6, 0x0004($v0) ## FFFFFFE8
/* 00924 8091C424 AE0E01D8 */ sw $t6, 0x01D8($s0) ## 000001D8
/* 00928 8091C428 8C580008 */ lw $t8, 0x0008($v0) ## FFFFFFEC
/* 0092C 8091C42C AE1801DC */ sw $t8, 0x01DC($s0) ## 000001DC
/* 00930 8091C430 8C590000 */ lw $t9, 0x0000($v0) ## FFFFFFE4
/* 00934 8091C434 AE190100 */ sw $t9, 0x0100($s0) ## 00000100
/* 00938 8091C438 8C480004 */ lw $t0, 0x0004($v0) ## FFFFFFE8
/* 0093C 8091C43C AE080104 */ sw $t0, 0x0104($s0) ## 00000104
/* 00940 8091C440 8C590008 */ lw $t9, 0x0008($v0) ## FFFFFFEC
/* 00944 8091C444 AE190108 */ sw $t9, 0x0108($s0) ## 00000108
/* 00948 8091C448 0C016EFE */ jal Collider_InitJntSph
/* 0094C 8091C44C AFA50048 */ sw $a1, 0x0048($sp)
/* 00950 8091C450 3C078092 */ lui $a3, %hi(D_8092602C) ## $a3 = 80920000
/* 00954 8091C454 260A103C */ addiu $t2, $s0, 0x103C ## $t2 = 0000103C
/* 00958 8091C458 8FA50048 */ lw $a1, 0x0048($sp)
/* 0095C 8091C45C AFAA0010 */ sw $t2, 0x0010($sp)
/* 00960 8091C460 24E7602C */ addiu $a3, $a3, %lo(D_8092602C) ## $a3 = 8092602C
/* 00964 8091C464 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 00968 8091C468 0C017014 */ jal Collider_SetJntSph
/* 0096C 8091C46C 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 00970 8091C470 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 00974 8091C474 44813000 */ mtc1 $at, $f6 ## $f6 = 1.00
/* 00978 8091C478 00000000 */ nop
/* 0097C 8091C47C E6060D64 */ swc1 $f6, 0x0D64($s0) ## 00000D64
.L8091C480:
/* 00980 8091C480 8FBF003C */ lw $ra, 0x003C($sp)
.L8091C484:
/* 00984 8091C484 8FB00034 */ lw $s0, 0x0034($sp)
/* 00988 8091C488 8FB10038 */ lw $s1, 0x0038($sp)
/* 0098C 8091C48C 03E00008 */ jr $ra
/* 00990 8091C490 27BD0068 */ addiu $sp, $sp, 0x0068 ## $sp = 00000000

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +0,0 @@
glabel func_8091BB00
/* 00000 8091BB00 3C018093 */ lui $at, %hi(D_8092C5C0) ## $at = 80930000
/* 00004 8091BB04 AC24C5C0 */ sw $a0, %lo(D_8092C5C0)($at)
/* 00008 8091BB08 3C018093 */ lui $at, %hi(D_8092C5C4) ## $at = 80930000
/* 0000C 8091BB0C AC25C5C4 */ sw $a1, %lo(D_8092C5C4)($at)
/* 00010 8091BB10 3C018093 */ lui $at, %hi(D_8092C5C8) ## $at = 80930000
/* 00014 8091BB14 03E00008 */ jr $ra
/* 00018 8091BB18 AC26C5C8 */ sw $a2, %lo(D_8092C5C8)($at)

View File

@@ -1,87 +0,0 @@
.late_rodata
glabel D_80926B60
.float 30269.0
glabel D_80926B64
.float 30307.0
glabel D_80926B68
.float 30323.0
.text
glabel func_8091BB1C
/* 0001C 8091BB1C 3C028093 */ lui $v0, %hi(D_8092C5C0) ## $v0 = 80930000
/* 00020 8091BB20 2442C5C0 */ addiu $v0, $v0, %lo(D_8092C5C0) ## $v0 = 8092C5C0
/* 00024 8091BB24 8C4E0000 */ lw $t6, 0x0000($v0) ## 8092C5C0
/* 00028 8091BB28 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 0002C 8091BB2C 44810000 */ mtc1 $at, $f0 ## $f0 = 1.00
/* 00030 8091BB30 000E7880 */ sll $t7, $t6, 2
/* 00034 8091BB34 01EE7823 */ subu $t7, $t7, $t6
/* 00038 8091BB38 000F7880 */ sll $t7, $t7, 2
/* 0003C 8091BB3C 01EE7823 */ subu $t7, $t7, $t6
/* 00040 8091BB40 000F7880 */ sll $t7, $t7, 2
/* 00044 8091BB44 01EE7823 */ subu $t7, $t7, $t6
/* 00048 8091BB48 000F7880 */ sll $t7, $t7, 2
/* 0004C 8091BB4C 2401763D */ addiu $at, $zero, 0x763D ## $at = 0000763D
/* 00050 8091BB50 01EE7823 */ subu $t7, $t7, $t6
/* 00054 8091BB54 01E1001A */ div $zero, $t7, $at
/* 00058 8091BB58 3C038093 */ lui $v1, %hi(D_8092C5C4) ## $v1 = 80930000
/* 0005C 8091BB5C 2463C5C4 */ addiu $v1, $v1, %lo(D_8092C5C4) ## $v1 = 8092C5C4
/* 00060 8091BB60 8C790000 */ lw $t9, 0x0000($v1) ## 8092C5C4
/* 00064 8091BB64 00006810 */ mfhi $t5
/* 00068 8091BB68 24017663 */ addiu $at, $zero, 0x7663 ## $at = 00007663
/* 0006C 8091BB6C 00194080 */ sll $t0, $t9, 2
/* 00070 8091BB70 01194023 */ subu $t0, $t0, $t9
/* 00074 8091BB74 00084080 */ sll $t0, $t0, 2
/* 00078 8091BB78 01194023 */ subu $t0, $t0, $t9
/* 0007C 8091BB7C 00084080 */ sll $t0, $t0, 2
/* 00080 8091BB80 01194023 */ subu $t0, $t0, $t9
/* 00084 8091BB84 00084080 */ sll $t0, $t0, 2
/* 00088 8091BB88 0101001A */ div $zero, $t0, $at
/* 0008C 8091BB8C 3C048093 */ lui $a0, %hi(D_8092C5C8) ## $a0 = 80930000
/* 00090 8091BB90 2484C5C8 */ addiu $a0, $a0, %lo(D_8092C5C8) ## $a0 = 8092C5C8
/* 00094 8091BB94 8C8A0000 */ lw $t2, 0x0000($a0) ## 8092C5C8
/* 00098 8091BB98 00007010 */ mfhi $t6
/* 0009C 8091BB9C 24017673 */ addiu $at, $zero, 0x7673 ## $at = 00007673
/* 000A0 8091BBA0 000A5880 */ sll $t3, $t2, 2
/* 000A4 8091BBA4 016A5821 */ addu $t3, $t3, $t2
/* 000A8 8091BBA8 000B5880 */ sll $t3, $t3, 2
/* 000AC 8091BBAC 016A5821 */ addu $t3, $t3, $t2
/* 000B0 8091BBB0 000B5880 */ sll $t3, $t3, 2
/* 000B4 8091BBB4 016A5821 */ addu $t3, $t3, $t2
/* 000B8 8091BBB8 000B5840 */ sll $t3, $t3, 1
/* 000BC 8091BBBC 0161001A */ div $zero, $t3, $at
/* 000C0 8091BBC0 448D2000 */ mtc1 $t5, $f4 ## $f4 = 0.00
/* 000C4 8091BBC4 448E8000 */ mtc1 $t6, $f16 ## $f16 = 0.00
/* 000C8 8091BBC8 00007810 */ mfhi $t7
/* 000CC 8091BBCC 468021A0 */ cvt.s.w $f6, $f4
/* 000D0 8091BBD0 AC4D0000 */ sw $t5, 0x0000($v0) ## 8092C5C0
/* 000D4 8091BBD4 AC6E0000 */ sw $t6, 0x0000($v1) ## 8092C5C4
/* 000D8 8091BBD8 AC8F0000 */ sw $t7, 0x0000($a0) ## 8092C5C8
/* 000DC 8091BBDC 3C018092 */ lui $at, %hi(D_80926B60) ## $at = 80920000
/* 000E0 8091BBE0 468084A0 */ cvt.s.w $f18, $f16
/* 000E4 8091BBE4 C4286B60 */ lwc1 $f8, %lo(D_80926B60)($at)
/* 000E8 8091BBE8 3C018092 */ lui $at, %hi(D_80926B64) ## $at = 80920000
/* 000EC 8091BBEC C4246B64 */ lwc1 $f4, %lo(D_80926B64)($at)
/* 000F0 8091BBF0 448F8000 */ mtc1 $t7, $f16 ## $f16 = 0.00
/* 000F4 8091BBF4 46083283 */ div.s $f10, $f6, $f8
/* 000F8 8091BBF8 3C018092 */ lui $at, %hi(D_80926B68) ## $at = 80920000
/* 000FC 8091BBFC 46049183 */ div.s $f6, $f18, $f4
/* 00100 8091BC00 C4246B68 */ lwc1 $f4, %lo(D_80926B68)($at)
/* 00104 8091BC04 468084A0 */ cvt.s.w $f18, $f16
/* 00108 8091BC08 46065200 */ add.s $f8, $f10, $f6
/* 0010C 8091BC0C 46049283 */ div.s $f10, $f18, $f4
/* 00110 8091BC10 460A4080 */ add.s $f2, $f8, $f10
/* 00114 8091BC14 4602003E */ c.le.s $f0, $f2
/* 00118 8091BC18 00000000 */ nop
/* 0011C 8091BC1C 45000006 */ bc1f .L8091BC38
/* 00120 8091BC20 00000000 */ nop
/* 00124 8091BC24 46001081 */ sub.s $f2, $f2, $f0
.L8091BC28:
/* 00128 8091BC28 4602003E */ c.le.s $f0, $f2
/* 0012C 8091BC2C 00000000 */ nop
/* 00130 8091BC30 4503FFFD */ bc1tl .L8091BC28
/* 00134 8091BC34 46001081 */ sub.s $f2, $f2, $f0
.L8091BC38:
/* 00138 8091BC38 03E00008 */ jr $ra
/* 0013C 8091BC3C 46001005 */ abs.s $f0, $f2

View File

@@ -1,72 +0,0 @@
glabel func_8091BC40
/* 00140 8091BC40 3C0143E1 */ lui $at, 0x43E1 ## $at = 43E10000
/* 00144 8091BC44 44856000 */ mtc1 $a1, $f12 ## $f12 = 0.00
/* 00148 8091BC48 44812000 */ mtc1 $at, $f4 ## $f4 = 450.00
/* 0014C 8091BC4C C4820000 */ lwc1 $f2, 0x0000($a0) ## 00000000
/* 00150 8091BC50 460C2381 */ sub.s $f14, $f4, $f12
/* 00154 8091BC54 46001005 */ abs.s $f0, $f2
/* 00158 8091BC58 4600703E */ c.le.s $f14, $f0
/* 0015C 8091BC5C 00000000 */ nop
/* 00160 8091BC60 45020004 */ bc1fl .L8091BC74
/* 00164 8091BC64 C4900008 */ lwc1 $f16, 0x0008($a0) ## 00000008
/* 00168 8091BC68 03E00008 */ jr $ra
/* 0016C 8091BC6C 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
.L8091BC70:
/* 00170 8091BC70 C4900008 */ lwc1 $f16, 0x0008($a0) ## 00000008
.L8091BC74:
/* 00174 8091BC74 3C014334 */ lui $at, 0x4334 ## $at = 43340000
/* 00178 8091BC78 46008005 */ abs.s $f0, $f16
/* 0017C 8091BC7C 4600703E */ c.le.s $f14, $f0
/* 00180 8091BC80 00000000 */ nop
/* 00184 8091BC84 45020004 */ bc1fl .L8091BC98
/* 00188 8091BC88 44819000 */ mtc1 $at, $f18 ## $f18 = 180.00
/* 0018C 8091BC8C 03E00008 */ jr $ra
/* 00190 8091BC90 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
.L8091BC94:
/* 00194 8091BC94 44819000 */ mtc1 $at, $f18 ## $f18 = 180.00
.L8091BC98:
/* 00198 8091BC98 3C0142B4 */ lui $at, 0x42B4 ## $at = 42B40000
/* 0019C 8091BC9C 44813000 */ mtc1 $at, $f6 ## $f6 = 90.00
/* 001A0 8091BCA0 46121001 */ sub.s $f0, $f2, $f18
/* 001A4 8091BCA4 3C01C334 */ lui $at, 0xC334 ## $at = C3340000
/* 001A8 8091BCA8 460C3380 */ add.s $f14, $f6, $f12
/* 001AC 8091BCAC 46000005 */ abs.s $f0, $f0
/* 001B0 8091BCB0 460E003C */ c.lt.s $f0, $f14
/* 001B4 8091BCB4 00000000 */ nop
/* 001B8 8091BCB8 4503000A */ bc1tl .L8091BCE4
/* 001BC 8091BCBC 46128001 */ sub.s $f0, $f16, $f18
/* 001C0 8091BCC0 44814000 */ mtc1 $at, $f8 ## $f8 = -180.00
/* 001C4 8091BCC4 00000000 */ nop
/* 001C8 8091BCC8 46081001 */ sub.s $f0, $f2, $f8
/* 001CC 8091BCCC 46000005 */ abs.s $f0, $f0
/* 001D0 8091BCD0 460E003C */ c.lt.s $f0, $f14
/* 001D4 8091BCD4 00000000 */ nop
/* 001D8 8091BCD8 45020015 */ bc1fl .L8091BD30
/* 001DC 8091BCDC 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 001E0 8091BCE0 46128001 */ sub.s $f0, $f16, $f18
.L8091BCE4:
/* 001E4 8091BCE4 3C01C334 */ lui $at, 0xC334 ## $at = C3340000
/* 001E8 8091BCE8 46000005 */ abs.s $f0, $f0
/* 001EC 8091BCEC 460E003C */ c.lt.s $f0, $f14
/* 001F0 8091BCF0 00000000 */ nop
/* 001F4 8091BCF4 45020004 */ bc1fl .L8091BD08
/* 001F8 8091BCF8 44815000 */ mtc1 $at, $f10 ## $f10 = -180.00
/* 001FC 8091BCFC 03E00008 */ jr $ra
/* 00200 8091BD00 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
.L8091BD04:
/* 00204 8091BD04 44815000 */ mtc1 $at, $f10 ## $f10 = -180.00
.L8091BD08:
/* 00208 8091BD08 00000000 */ nop
/* 0020C 8091BD0C 460A8001 */ sub.s $f0, $f16, $f10
/* 00210 8091BD10 46000005 */ abs.s $f0, $f0
/* 00214 8091BD14 460E003C */ c.lt.s $f0, $f14
/* 00218 8091BD18 00000000 */ nop
/* 0021C 8091BD1C 45020004 */ bc1fl .L8091BD30
/* 00220 8091BD20 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00224 8091BD24 03E00008 */ jr $ra
/* 00228 8091BD28 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
.L8091BD2C:
/* 0022C 8091BD2C 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
.L8091BD30:
/* 00230 8091BD30 03E00008 */ jr $ra
/* 00234 8091BD34 00000000 */ nop

View File

@@ -1,89 +0,0 @@
.late_rodata
glabel D_80926B6C
.float 0.0025
glabel D_80926B70
.float 0.05
glabel D_80926B74
.float 0.1
.text
glabel func_8091BD38
/* 00238 8091BD38 44866000 */ mtc1 $a2, $f12 ## $f12 = 0.00
/* 0023C 8091BD3C 87A60016 */ lh $a2, 0x0016($sp)
/* 00240 8091BD40 44877000 */ mtc1 $a3, $f14 ## $f14 = 0.00
/* 00244 8091BD44 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00248 8091BD48 18C00042 */ blez $a2, .L8091BE54
/* 0024C 8091BD4C 00000000 */ nop
.L8091BD50:
/* 00250 8091BD50 908E0024 */ lbu $t6, 0x0024($a0) ## 00000024
/* 00254 8091BD54 24420001 */ addiu $v0, $v0, 0x0001 ## $v0 = 00000001
/* 00258 8091BD58 00021400 */ sll $v0, $v0, 16
/* 0025C 8091BD5C 15C0003A */ bne $t6, $zero, .L8091BE48
/* 00260 8091BD60 00021403 */ sra $v0, $v0, 16
/* 00264 8091BD64 3C018092 */ lui $at, %hi(D_80926B6C) ## $at = 80920000
/* 00268 8091BD68 C4206B6C */ lwc1 $f0, %lo(D_80926B6C)($at)
/* 0026C 8091BD6C A0800026 */ sb $zero, 0x0026($a0) ## 00000026
/* 00270 8091BD70 93AF001B */ lbu $t7, 0x001B($sp)
/* 00274 8091BD74 3C028092 */ lui $v0, %hi(D_80926068) ## $v0 = 80920000
/* 00278 8091BD78 24426068 */ addiu $v0, $v0, %lo(D_80926068) ## $v0 = 80926068
/* 0027C 8091BD7C A08F0024 */ sb $t7, 0x0024($a0) ## 00000024
/* 00280 8091BD80 8CB90000 */ lw $t9, 0x0000($a1) ## 00000000
/* 00284 8091BD84 46006102 */ mul.s $f4, $f12, $f0
/* 00288 8091BD88 3C014396 */ lui $at, 0x4396 ## $at = 43960000
/* 0028C 8091BD8C AC990000 */ sw $t9, 0x0000($a0) ## 00000000
/* 00290 8091BD90 8CB80004 */ lw $t8, 0x0004($a1) ## 00000004
/* 00294 8091BD94 44814000 */ mtc1 $at, $f8 ## $f8 = 300.00
/* 00298 8091BD98 46007182 */ mul.s $f6, $f14, $f0
/* 0029C 8091BD9C AC980004 */ sw $t8, 0x0004($a0) ## 00000004
/* 002A0 8091BDA0 8CB90008 */ lw $t9, 0x0008($a1) ## 00000008
/* 002A4 8091BDA4 460C403C */ c.lt.s $f8, $f12
/* 002A8 8091BDA8 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
/* 002AC 8091BDAC AC990008 */ sw $t9, 0x0008($a0) ## 00000008
/* 002B0 8091BDB0 8C490000 */ lw $t1, 0x0000($v0) ## 80926068
/* 002B4 8091BDB4 3C018092 */ lui $at, %hi(D_80926B74) ## $at = 80920000
/* 002B8 8091BDB8 AC89000C */ sw $t1, 0x000C($a0) ## 0000000C
/* 002BC 8091BDBC 8C480004 */ lw $t0, 0x0004($v0) ## 8092606C
/* 002C0 8091BDC0 AC880010 */ sw $t0, 0x0010($a0) ## 00000010
/* 002C4 8091BDC4 8C490008 */ lw $t1, 0x0008($v0) ## 80926070
/* 002C8 8091BDC8 AC890014 */ sw $t1, 0x0014($a0) ## 00000014
/* 002CC 8091BDCC 8C4B0000 */ lw $t3, 0x0000($v0) ## 80926068
/* 002D0 8091BDD0 AC8B0018 */ sw $t3, 0x0018($a0) ## 00000018
/* 002D4 8091BDD4 8C4A0004 */ lw $t2, 0x0004($v0) ## 8092606C
/* 002D8 8091BDD8 AC8A001C */ sw $t2, 0x001C($a0) ## 0000001C
/* 002DC 8091BDDC 8C4B0008 */ lw $t3, 0x0008($v0) ## 80926070
/* 002E0 8091BDE0 E4840030 */ swc1 $f4, 0x0030($a0) ## 00000030
/* 002E4 8091BDE4 E4860034 */ swc1 $f6, 0x0034($a0) ## 00000034
/* 002E8 8091BDE8 4500000D */ bc1f .L8091BE20
/* 002EC 8091BDEC AC8B0020 */ sw $t3, 0x0020($a0) ## 00000020
/* 002F0 8091BDF0 A480002A */ sh $zero, 0x002A($a0) ## 0000002A
/* 002F4 8091BDF4 87AC0012 */ lh $t4, 0x0012($sp)
/* 002F8 8091BDF8 C48A0034 */ lwc1 $f10, 0x0034($a0) ## 00000034
/* 002FC 8091BDFC C4900030 */ lwc1 $f16, 0x0030($a0) ## 00000030
/* 00300 8091BE00 A480002C */ sh $zero, 0x002C($a0) ## 0000002C
/* 00304 8091BE04 3C018092 */ lui $at, %hi(D_80926B70) ## $at = 80920000
/* 00308 8091BE08 46105481 */ sub.s $f18, $f10, $f16
/* 0030C 8091BE0C A48C002E */ sh $t4, 0x002E($a0) ## 0000002E
/* 00310 8091BE10 C4246B70 */ lwc1 $f4, %lo(D_80926B70)($at)
/* 00314 8091BE14 46049182 */ mul.s $f6, $f18, $f4
/* 00318 8091BE18 03E00008 */ jr $ra
/* 0031C 8091BE1C E4860038 */ swc1 $f6, 0x0038($a0) ## 00000038
.L8091BE20:
/* 00320 8091BE20 87AD0012 */ lh $t5, 0x0012($sp)
/* 00324 8091BE24 C4880034 */ lwc1 $f8, 0x0034($a0) ## 00000034
/* 00328 8091BE28 C48A0030 */ lwc1 $f10, 0x0030($a0) ## 00000030
/* 0032C 8091BE2C A48E002C */ sh $t6, 0x002C($a0) ## 0000002C
/* 00330 8091BE30 A48D002A */ sh $t5, 0x002A($a0) ## 0000002A
/* 00334 8091BE34 460A4401 */ sub.s $f16, $f8, $f10
/* 00338 8091BE38 C4326B74 */ lwc1 $f18, %lo(D_80926B74)($at)
/* 0033C 8091BE3C 46128102 */ mul.s $f4, $f16, $f18
/* 00340 8091BE40 03E00008 */ jr $ra
/* 00344 8091BE44 E4840038 */ swc1 $f4, 0x0038($a0) ## 00000038
.L8091BE48:
/* 00348 8091BE48 0046082A */ slt $at, $v0, $a2
/* 0034C 8091BE4C 1420FFC0 */ bne $at, $zero, .L8091BD50
/* 00350 8091BE50 24840040 */ addiu $a0, $a0, 0x0040 ## $a0 = 00000040
.L8091BE54:
/* 00354 8091BE54 03E00008 */ jr $ra
/* 00358 8091BE58 00000000 */ nop

View File

@@ -1,60 +0,0 @@
glabel func_8091BE5C
/* 0035C 8091BE5C 27BDFFF0 */ addiu $sp, $sp, 0xFFF0 ## $sp = FFFFFFF0
/* 00360 8091BE60 3C0E8092 */ lui $t6, %hi(D_80926074) ## $t6 = 80920000
/* 00364 8091BE64 AFA40010 */ sw $a0, 0x0010($sp)
/* 00368 8091BE68 25CE6074 */ addiu $t6, $t6, %lo(D_80926074) ## $t6 = 80926074
/* 0036C 8091BE6C 8DD80000 */ lw $t8, 0x0000($t6) ## 80926074
/* 00370 8091BE70 27A30000 */ addiu $v1, $sp, 0x0000 ## $v1 = FFFFFFF0
/* 00374 8091BE74 00042400 */ sll $a0, $a0, 16
/* 00378 8091BE78 AC780000 */ sw $t8, 0x0000($v1) ## FFFFFFF0
/* 0037C 8091BE7C 8DCF0004 */ lw $t7, 0x0004($t6) ## 80926078
/* 00380 8091BE80 00042403 */ sra $a0, $a0, 16
/* 00384 8091BE84 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00388 8091BE88 AC6F0004 */ sw $t7, 0x0004($v1) ## FFFFFFF4
/* 0038C 8091BE8C 8DD80008 */ lw $t8, 0x0008($t6) ## 8092607C
/* 00390 8091BE90 AC780008 */ sw $t8, 0x0008($v1) ## FFFFFFF8
.L8091BE94:
/* 00394 8091BE94 90B90024 */ lbu $t9, 0x0024($a1) ## 00000024
/* 00398 8091BE98 24420001 */ addiu $v0, $v0, 0x0001 ## $v0 = 00000001
/* 0039C 8091BE9C 00021400 */ sll $v0, $v0, 16
/* 003A0 8091BEA0 17200020 */ bne $t9, $zero, .L8091BF24
/* 003A4 8091BEA4 00021403 */ sra $v0, $v0, 16
/* 003A8 8091BEA8 A0A40024 */ sb $a0, 0x0024($a1) ## 00000024
/* 003AC 8091BEAC 8CC90000 */ lw $t1, 0x0000($a2) ## 00000000
/* 003B0 8091BEB0 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 003B4 8091BEB4 ACA90000 */ sw $t1, 0x0000($a1) ## 00000000
/* 003B8 8091BEB8 8CC80004 */ lw $t0, 0x0004($a2) ## 00000004
/* 003BC 8091BEBC ACA80004 */ sw $t0, 0x0004($a1) ## 00000004
/* 003C0 8091BEC0 8CC90008 */ lw $t1, 0x0008($a2) ## 00000008
/* 003C4 8091BEC4 ACA90008 */ sw $t1, 0x0008($a1) ## 00000008
/* 003C8 8091BEC8 8CEB0000 */ lw $t3, 0x0000($a3) ## 00000000
/* 003CC 8091BECC ACAB000C */ sw $t3, 0x000C($a1) ## 0000000C
/* 003D0 8091BED0 8CEA0004 */ lw $t2, 0x0004($a3) ## 00000004
/* 003D4 8091BED4 ACAA0010 */ sw $t2, 0x0010($a1) ## 00000010
/* 003D8 8091BED8 8CEB0008 */ lw $t3, 0x0008($a3) ## 00000008
/* 003DC 8091BEDC ACAB0014 */ sw $t3, 0x0014($a1) ## 00000014
/* 003E0 8091BEE0 8C6D0000 */ lw $t5, 0x0000($v1) ## FFFFFFF0
/* 003E4 8091BEE4 ACAD0018 */ sw $t5, 0x0018($a1) ## 00000018
/* 003E8 8091BEE8 8C6C0004 */ lw $t4, 0x0004($v1) ## FFFFFFF4
/* 003EC 8091BEEC ACAC001C */ sw $t4, 0x001C($a1) ## 0000001C
/* 003F0 8091BEF0 8C6D0008 */ lw $t5, 0x0008($v1) ## FFFFFFF8
/* 003F4 8091BEF4 14810004 */ bne $a0, $at, .L8091BF08
/* 003F8 8091BEF8 ACAD0020 */ sw $t5, 0x0020($a1) ## 00000020
/* 003FC 8091BEFC 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 00400 8091BF00 00000000 */ nop
/* 00404 8091BF04 E4A4001C */ swc1 $f4, 0x001C($a1) ## 0000001C
.L8091BF08:
/* 00408 8091BF08 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 0040C 8091BF0C C7A60020 */ lwc1 $f6, 0x0020($sp)
/* 00410 8091BF10 44814000 */ mtc1 $at, $f8 ## $f8 = 1.00
/* 00414 8091BF14 A0A00026 */ sb $zero, 0x0026($a1) ## 00000026
/* 00418 8091BF18 E4A60030 */ swc1 $f6, 0x0030($a1) ## 00000030
/* 0041C 8091BF1C 10000004 */ beq $zero, $zero, .L8091BF30
/* 00420 8091BF20 E4A80038 */ swc1 $f8, 0x0038($a1) ## 00000038
.L8091BF24:
/* 00424 8091BF24 28410122 */ slti $at, $v0, 0x0122
/* 00428 8091BF28 1420FFDA */ bne $at, $zero, .L8091BE94
/* 0042C 8091BF2C 24A50040 */ addiu $a1, $a1, 0x0040 ## $a1 = 00000040
.L8091BF30:
/* 00430 8091BF30 03E00008 */ jr $ra
/* 00434 8091BF34 27BD0010 */ addiu $sp, $sp, 0x0010 ## $sp = 00000000

View File

@@ -1,53 +0,0 @@
glabel func_8091BF38
/* 00438 8091BF38 3C0E8092 */ lui $t6, %hi(D_80926080) ## $t6 = 80920000
/* 0043C 8091BF3C 25CE6080 */ addiu $t6, $t6, %lo(D_80926080) ## $t6 = 80926080
/* 00440 8091BF40 8DD80000 */ lw $t8, 0x0000($t6) ## 80926080
/* 00444 8091BF44 27BDFFF0 */ addiu $sp, $sp, 0xFFF0 ## $sp = FFFFFFF0
/* 00448 8091BF48 27A30000 */ addiu $v1, $sp, 0x0000 ## $v1 = FFFFFFF0
/* 0044C 8091BF4C AC780000 */ sw $t8, 0x0000($v1) ## FFFFFFF0
/* 00450 8091BF50 8DCF0004 */ lw $t7, 0x0004($t6) ## 80926084
/* 00454 8091BF54 44866000 */ mtc1 $a2, $f12 ## $f12 = 0.00
/* 00458 8091BF58 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 0045C 8091BF5C AC6F0004 */ sw $t7, 0x0004($v1) ## FFFFFFF4
/* 00460 8091BF60 8DD80008 */ lw $t8, 0x0008($t6) ## 80926088
/* 00464 8091BF64 24080003 */ addiu $t0, $zero, 0x0003 ## $t0 = 00000003
/* 00468 8091BF68 24090002 */ addiu $t1, $zero, 0x0002 ## $t1 = 00000002
/* 0046C 8091BF6C AC780008 */ sw $t8, 0x0008($v1) ## FFFFFFF8
.L8091BF70:
/* 00470 8091BF70 90990024 */ lbu $t9, 0x0024($a0) ## 00000024
/* 00474 8091BF74 24420001 */ addiu $v0, $v0, 0x0001 ## $v0 = 00000001
/* 00478 8091BF78 00021400 */ sll $v0, $v0, 16
/* 0047C 8091BF7C 1720001A */ bne $t9, $zero, .L8091BFE8
/* 00480 8091BF80 00021403 */ sra $v0, $v0, 16
/* 00484 8091BF84 A0880024 */ sb $t0, 0x0024($a0) ## 00000024
/* 00488 8091BF88 A0890026 */ sb $t1, 0x0026($a0) ## 00000026
/* 0048C 8091BF8C 8CAB0000 */ lw $t3, 0x0000($a1) ## 00000000
/* 00490 8091BF90 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 00494 8091BF94 44812000 */ mtc1 $at, $f4 ## $f4 = 1.00
/* 00498 8091BF98 AC8B0000 */ sw $t3, 0x0000($a0) ## 00000000
/* 0049C 8091BF9C 8CAA0004 */ lw $t2, 0x0004($a1) ## 00000004
/* 004A0 8091BFA0 AC8A0004 */ sw $t2, 0x0004($a0) ## 00000004
/* 004A4 8091BFA4 8CAB0008 */ lw $t3, 0x0008($a1) ## 00000008
/* 004A8 8091BFA8 AC8B0008 */ sw $t3, 0x0008($a0) ## 00000008
/* 004AC 8091BFAC 8C6D0000 */ lw $t5, 0x0000($v1) ## FFFFFFF0
/* 004B0 8091BFB0 AC8D000C */ sw $t5, 0x000C($a0) ## 0000000C
/* 004B4 8091BFB4 8C6C0004 */ lw $t4, 0x0004($v1) ## FFFFFFF4
/* 004B8 8091BFB8 AC8C0010 */ sw $t4, 0x0010($a0) ## 00000010
/* 004BC 8091BFBC 8C6D0008 */ lw $t5, 0x0008($v1) ## FFFFFFF8
/* 004C0 8091BFC0 AC8D0014 */ sw $t5, 0x0014($a0) ## 00000014
/* 004C4 8091BFC4 8C6F0000 */ lw $t7, 0x0000($v1) ## FFFFFFF0
/* 004C8 8091BFC8 AC8F0018 */ sw $t7, 0x0018($a0) ## 00000018
/* 004CC 8091BFCC 8C6E0004 */ lw $t6, 0x0004($v1) ## FFFFFFF4
/* 004D0 8091BFD0 AC8E001C */ sw $t6, 0x001C($a0) ## 0000001C
/* 004D4 8091BFD4 8C6F0008 */ lw $t7, 0x0008($v1) ## FFFFFFF8
/* 004D8 8091BFD8 E48C0030 */ swc1 $f12, 0x0030($a0) ## 00000030
/* 004DC 8091BFDC E4840038 */ swc1 $f4, 0x0038($a0) ## 00000038
/* 004E0 8091BFE0 10000004 */ beq $zero, $zero, .L8091BFF4
/* 004E4 8091BFE4 AC8F0020 */ sw $t7, 0x0020($a0) ## 00000020
.L8091BFE8:
/* 004E8 8091BFE8 28410122 */ slti $at, $v0, 0x0122
/* 004EC 8091BFEC 1420FFE0 */ bne $at, $zero, .L8091BF70
/* 004F0 8091BFF0 24840040 */ addiu $a0, $a0, 0x0040 ## $a0 = 00000040
.L8091BFF4:
/* 004F4 8091BFF4 03E00008 */ jr $ra
/* 004F8 8091BFF8 27BD0010 */ addiu $sp, $sp, 0x0010 ## $sp = 00000000

View File

@@ -1,50 +0,0 @@
glabel func_8091BFFC
/* 004FC 8091BFFC 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
.L8091C000:
/* 00500 8091C000 908E0024 */ lbu $t6, 0x0024($a0) ## 00000024
/* 00504 8091C004 24420001 */ addiu $v0, $v0, 0x0001 ## $v0 = 00000001
/* 00508 8091C008 00021400 */ sll $v0, $v0, 16
/* 0050C 8091C00C 15C00023 */ bne $t6, $zero, .L8091C09C
/* 00510 8091C010 00021403 */ sra $v0, $v0, 16
/* 00514 8091C014 8FA20014 */ lw $v0, 0x0014($sp)
/* 00518 8091C018 240F0007 */ addiu $t7, $zero, 0x0007 ## $t7 = 00000007
/* 0051C 8091C01C A08F0024 */ sb $t7, 0x0024($a0) ## 00000024
/* 00520 8091C020 A0800026 */ sb $zero, 0x0026($a0) ## 00000026
/* 00524 8091C024 8CB90000 */ lw $t9, 0x0000($a1) ## 00000000
/* 00528 8091C028 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 0052C 8091C02C 240C00FF */ addiu $t4, $zero, 0x00FF ## $t4 = 000000FF
/* 00530 8091C030 AC990000 */ sw $t9, 0x0000($a0) ## 00000000
/* 00534 8091C034 8CB80004 */ lw $t8, 0x0004($a1) ## 00000004
/* 00538 8091C038 AC980004 */ sw $t8, 0x0004($a0) ## 00000004
/* 0053C 8091C03C 8CB90008 */ lw $t9, 0x0008($a1) ## 00000008
/* 00540 8091C040 AC990008 */ sw $t9, 0x0008($a0) ## 00000008
/* 00544 8091C044 8CC90000 */ lw $t1, 0x0000($a2) ## 00000000
/* 00548 8091C048 AC89000C */ sw $t1, 0x000C($a0) ## 0000000C
/* 0054C 8091C04C 8CC80004 */ lw $t0, 0x0004($a2) ## 00000004
/* 00550 8091C050 AC880010 */ sw $t0, 0x0010($a0) ## 00000010
/* 00554 8091C054 8CC90008 */ lw $t1, 0x0008($a2) ## 00000008
/* 00558 8091C058 AC890014 */ sw $t1, 0x0014($a0) ## 00000014
/* 0055C 8091C05C 8CEB0000 */ lw $t3, 0x0000($a3) ## 00000000
/* 00560 8091C060 AC8B0018 */ sw $t3, 0x0018($a0) ## 00000018
/* 00564 8091C064 8CEA0004 */ lw $t2, 0x0004($a3) ## 00000004
/* 00568 8091C068 AC8A001C */ sw $t2, 0x001C($a0) ## 0000001C
/* 0056C 8091C06C 8CEB0008 */ lw $t3, 0x0008($a3) ## 00000008
/* 00570 8091C070 AC8B0020 */ sw $t3, 0x0020($a0) ## 00000020
/* 00574 8091C074 C7A40010 */ lwc1 $f4, 0x0010($sp)
/* 00578 8091C078 AC82003C */ sw $v0, 0x003C($a0) ## 0000003C
/* 0057C 8091C07C E4860034 */ swc1 $f6, 0x0034($a0) ## 00000034
/* 00580 8091C080 14400003 */ bne $v0, $zero, .L8091C090
/* 00584 8091C084 E4840030 */ swc1 $f4, 0x0030($a0) ## 00000030
/* 00588 8091C088 10000002 */ beq $zero, $zero, .L8091C094
/* 0058C 8091C08C A48C002A */ sh $t4, 0x002A($a0) ## 0000002A
.L8091C090:
/* 00590 8091C090 A480002A */ sh $zero, 0x002A($a0) ## 0000002A
.L8091C094:
/* 00594 8091C094 03E00008 */ jr $ra
/* 00598 8091C098 A0800025 */ sb $zero, 0x0025($a0) ## 00000025
.L8091C09C:
/* 0059C 8091C09C 28410118 */ slti $at, $v0, 0x0118
/* 005A0 8091C0A0 1420FFD7 */ bne $at, $zero, .L8091C000
/* 005A4 8091C0A4 24840040 */ addiu $a0, $a0, 0x0040 ## $a0 = 00000040
/* 005A8 8091C0A8 03E00008 */ jr $ra
/* 005AC 8091C0AC 00000000 */ nop

View File

@@ -1,24 +0,0 @@
glabel func_8091C4E0
/* 009E0 8091C4E0 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 009E4 8091C4E4 AFBF0014 */ sw $ra, 0x0014($sp)
/* 009E8 8091C4E8 AFA5001C */ sw $a1, 0x001C($sp)
/* 009EC 8091C4EC 3C0E8092 */ lui $t6, %hi(func_8091C538) ## $t6 = 80920000
/* 009F0 8091C4F0 25CEC538 */ addiu $t6, $t6, %lo(func_8091C538) ## $t6 = 8091C538
/* 009F4 8091C4F4 240F000A */ addiu $t7, $zero, 0x000A ## $t7 = 0000000A
/* 009F8 8091C4F8 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 009FC 8091C4FC AC8E0150 */ sw $t6, 0x0150($a0) ## 00000150
/* 00A00 8091C500 A48F0158 */ sh $t7, 0x0158($a0) ## 00000158
/* 00A04 8091C504 44816000 */ mtc1 $at, $f12 ## $f12 = 20.00
/* 00A08 8091C508 0C00CFBE */ jal Rand_ZeroFloat
/* 00A0C 8091C50C AFA40018 */ sw $a0, 0x0018($sp)
/* 00A10 8091C510 4600010D */ trunc.w.s $f4, $f0
/* 00A14 8091C514 8FA40018 */ lw $a0, 0x0018($sp)
/* 00A18 8091C518 44092000 */ mfc1 $t1, $f4
/* 00A1C 8091C51C 00000000 */ nop
/* 00A20 8091C520 252A0032 */ addiu $t2, $t1, 0x0032 ## $t2 = 00000032
/* 00A24 8091C524 A48A017E */ sh $t2, 0x017E($a0) ## 0000017E
/* 00A28 8091C528 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00A2C 8091C52C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00A30 8091C530 03E00008 */ jr $ra
/* 00A34 8091C534 00000000 */ nop

File diff suppressed because it is too large Load Diff

View File

@@ -1,195 +0,0 @@
.late_rodata
glabel D_80926CE0
.float 0.2
glabel D_80926CE4
.word 0x3E051EB8
glabel D_80926CE8
.float 0.08
.text
glabel func_8091F2FC
/* 037FC 8091F2FC 27BDFF68 */ addiu $sp, $sp, 0xFF68 ## $sp = FFFFFF68
/* 03800 8091F300 AFB10054 */ sw $s1, 0x0054($sp)
/* 03804 8091F304 AFBF0064 */ sw $ra, 0x0064($sp)
/* 03808 8091F308 AFB40060 */ sw $s4, 0x0060($sp)
/* 0380C 8091F30C AFB3005C */ sw $s3, 0x005C($sp)
/* 03810 8091F310 AFB20058 */ sw $s2, 0x0058($sp)
/* 03814 8091F314 AFB00050 */ sw $s0, 0x0050($sp)
/* 03818 8091F318 F7BE0048 */ sdc1 $f30, 0x0048($sp)
/* 0381C 8091F31C F7BC0040 */ sdc1 $f28, 0x0040($sp)
/* 03820 8091F320 F7BA0038 */ sdc1 $f26, 0x0038($sp)
/* 03824 8091F324 F7B80030 */ sdc1 $f24, 0x0030($sp)
/* 03828 8091F328 F7B60028 */ sdc1 $f22, 0x0028($sp)
/* 0382C 8091F32C F7B40020 */ sdc1 $f20, 0x0020($sp)
/* 03830 8091F330 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 03834 8091F334 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 03838 8091F338 8C881038 */ lw $t0, 0x1038($a0) ## 00001038
/* 0383C 8091F33C 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 03840 8091F340 00062180 */ sll $a0, $a2, 6
.L8091F344:
/* 03844 8091F344 01041021 */ addu $v0, $t0, $a0
/* 03848 8091F348 904E0016 */ lbu $t6, 0x0016($v0) ## 00000016
/* 0384C 8091F34C 31CF0002 */ andi $t7, $t6, 0x0002 ## $t7 = 00000000
/* 03850 8091F350 11E00079 */ beq $t7, $zero, .L8091F538
/* 03854 8091F354 00008025 */ or $s0, $zero, $zero ## $s0 = 00000000
/* 03858 8091F358 2405FFFD */ addiu $a1, $zero, 0xFFFD ## $a1 = FFFFFFFD
.L8091F35C:
/* 0385C 8091F35C 8CF81038 */ lw $t8, 0x1038($a3) ## 00001038
/* 03860 8091F360 00101980 */ sll $v1, $s0, 6
/* 03864 8091F364 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000001
/* 03868 8091F368 03031021 */ addu $v0, $t8, $v1
/* 0386C 8091F36C 90590016 */ lbu $t9, 0x0016($v0) ## 00000016
/* 03870 8091F370 00108400 */ sll $s0, $s0, 16
/* 03874 8091F374 00108403 */ sra $s0, $s0, 16
/* 03878 8091F378 03254824 */ and $t1, $t9, $a1
/* 0387C 8091F37C A0490016 */ sb $t1, 0x0016($v0) ## 00000016
/* 03880 8091F380 8CEA1038 */ lw $t2, 0x1038($a3) ## 00001038
/* 03884 8091F384 2A010013 */ slti $at, $s0, 0x0013
/* 03888 8091F388 01431021 */ addu $v0, $t2, $v1
/* 0388C 8091F38C 904B0015 */ lbu $t3, 0x0015($v0) ## 00000015
/* 03890 8091F390 01656024 */ and $t4, $t3, $a1
/* 03894 8091F394 1420FFF1 */ bne $at, $zero, .L8091F35C
/* 03898 8091F398 A04C0015 */ sb $t4, 0x0015($v0) ## 00000015
/* 0389C 8091F39C 8CED1038 */ lw $t5, 0x1038($a3) ## 00001038
/* 038A0 8091F3A0 240F0005 */ addiu $t7, $zero, 0x0005 ## $t7 = 00000005
/* 038A4 8091F3A4 3C010D80 */ lui $at, 0x0D80 ## $at = 0D800000
/* 038A8 8091F3A8 01A47021 */ addu $t6, $t5, $a0
/* 038AC 8091F3AC 8DC20024 */ lw $v0, 0x0024($t6) ## 00000024
/* 038B0 8091F3B0 A4EF0160 */ sh $t7, 0x0160($a3) ## 00000160
/* 038B4 8091F3B4 34210600 */ ori $at, $at, 0x0600 ## $at = 0D800600
/* 038B8 8091F3B8 8C430000 */ lw $v1, 0x0000($v0) ## 00000000
/* 038BC 8091F3BC 24E41010 */ addiu $a0, $a3, 0x1010 ## $a0 = 00001010
/* 038C0 8091F3C0 240538F4 */ addiu $a1, $zero, 0x38F4 ## $a1 = 000038F4
/* 038C4 8091F3C4 0003C380 */ sll $t8, $v1, 14
/* 038C8 8091F3C8 07010013 */ bgez $t8, .L8091F418
/* 038CC 8091F3CC 00616824 */ and $t5, $v1, $at
/* 038D0 8091F3D0 A7A60096 */ sh $a2, 0x0096($sp)
/* 038D4 8091F3D4 0C01E245 */ jal func_80078914
/* 038D8 8091F3D8 AFA70098 */ sw $a3, 0x0098($sp)
/* 038DC 8091F3DC 8FA70098 */ lw $a3, 0x0098($sp)
/* 038E0 8091F3E0 87A60096 */ lh $a2, 0x0096($sp)
/* 038E4 8091F3E4 2419000F */ addiu $t9, $zero, 0x000F ## $t9 = 0000000F
/* 038E8 8091F3E8 A4F90172 */ sh $t9, 0x0172($a3) ## 00000172
/* 038EC 8091F3EC 84E90172 */ lh $t1, 0x0172($a3) ## 00000172
/* 038F0 8091F3F0 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 038F4 8091F3F4 44812000 */ mtc1 $at, $f4 ## $f4 = 1.00
/* 038F8 8091F3F8 240B0064 */ addiu $t3, $zero, 0x0064 ## $t3 = 00000064
/* 038FC 8091F3FC 240C0028 */ addiu $t4, $zero, 0x0028 ## $t4 = 00000028
/* 03900 8091F400 252A0001 */ addiu $t2, $t1, 0x0001 ## $t2 = 00000001
/* 03904 8091F404 A4EA0174 */ sh $t2, 0x0174($a3) ## 00000174
/* 03908 8091F408 A4EB0158 */ sh $t3, 0x0158($a3) ## 00000158
/* 0390C 8091F40C A4EC017E */ sh $t4, 0x017E($a3) ## 0000017E
/* 03910 8091F410 10000004 */ beq $zero, $zero, .L8091F424
/* 03914 8091F414 E4E401A8 */ swc1 $f4, 0x01A8($a3) ## 000001A8
.L8091F418:
/* 03918 8091F418 11A00002 */ beq $t5, $zero, .L8091F424
/* 0391C 8091F41C 240E0005 */ addiu $t6, $zero, 0x0005 ## $t6 = 00000005
/* 03920 8091F420 A0EE01D2 */ sb $t6, 0x01D2($a3) ## 000001D2
.L8091F424:
/* 03924 8091F424 3C018092 */ lui $at, %hi(D_80926CE0) ## $at = 80920000
/* 03928 8091F428 C4266CE0 */ lwc1 $f6, %lo(D_80926CE0)($at)
/* 0392C 8091F42C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 03930 8091F430 02219821 */ addu $s3, $s1, $at
/* 03934 8091F434 3C018092 */ lui $at, %hi(D_80926CE4) ## $at = 80920000
/* 03938 8091F438 E4E601E0 */ swc1 $f6, 0x01E0($a3) ## 000001E0
/* 0393C 8091F43C C43E6CE4 */ lwc1 $f30, %lo(D_80926CE4)($at)
/* 03940 8091F440 3C018092 */ lui $at, %hi(D_80926CE8) ## $at = 80920000
/* 03944 8091F444 C43C6CE8 */ lwc1 $f28, %lo(D_80926CE8)($at)
/* 03948 8091F448 3C014080 */ lui $at, 0x4080 ## $at = 40800000
/* 0394C 8091F44C 4481D000 */ mtc1 $at, $f26 ## $f26 = 4.00
/* 03950 8091F450 3C0140E0 */ lui $at, 0x40E0 ## $at = 40E00000
/* 03954 8091F454 4481C000 */ mtc1 $at, $f24 ## $f24 = 7.00
/* 03958 8091F458 00067840 */ sll $t7, $a2, 1
/* 0395C 8091F45C 000FC080 */ sll $t8, $t7, 2
/* 03960 8091F460 3C014040 */ lui $at, 0x4040 ## $at = 40400000
/* 03964 8091F464 4481B000 */ mtc1 $at, $f22 ## $f22 = 3.00
/* 03968 8091F468 030FC023 */ subu $t8, $t8, $t7
/* 0396C 8091F46C 0018C080 */ sll $t8, $t8, 2
/* 03970 8091F470 3C014100 */ lui $at, 0x4100 ## $at = 41000000
/* 03974 8091F474 00F89021 */ addu $s2, $a3, $t8
/* 03978 8091F478 4481A000 */ mtc1 $at, $f20 ## $f20 = 8.00
/* 0397C 8091F47C 26520D70 */ addiu $s2, $s2, 0x0D70 ## $s2 = 00000D70
/* 03980 8091F480 27B10084 */ addiu $s1, $sp, 0x0084 ## $s1 = FFFFFFEC
/* 03984 8091F484 00008025 */ or $s0, $zero, $zero ## $s0 = 00000000
/* 03988 8091F488 27B40078 */ addiu $s4, $sp, 0x0078 ## $s4 = FFFFFFE0
.L8091F48C:
/* 0398C 8091F48C 0C00CFC8 */ jal Rand_CenteredFloat
/* 03990 8091F490 4600A306 */ mov.s $f12, $f20
/* 03994 8091F494 E7A00078 */ swc1 $f0, 0x0078($sp)
/* 03998 8091F498 0C00CFBE */ jal Rand_ZeroFloat
/* 0399C 8091F49C 4600C306 */ mov.s $f12, $f24
/* 039A0 8091F4A0 461A0200 */ add.s $f8, $f0, $f26
/* 039A4 8091F4A4 4600A306 */ mov.s $f12, $f20
/* 039A8 8091F4A8 0C00CFC8 */ jal Rand_CenteredFloat
/* 039AC 8091F4AC E7A8007C */ swc1 $f8, 0x007C($sp)
/* 039B0 8091F4B0 E7A00080 */ swc1 $f0, 0x0080($sp)
/* 039B4 8091F4B4 8E490000 */ lw $t1, 0x0000($s2) ## 00000D70
/* 039B8 8091F4B8 4600E306 */ mov.s $f12, $f28
/* 039BC 8091F4BC AE290000 */ sw $t1, 0x0000($s1) ## FFFFFFEC
/* 039C0 8091F4C0 8E590004 */ lw $t9, 0x0004($s2) ## 00000D74
/* 039C4 8091F4C4 AE390004 */ sw $t9, 0x0004($s1) ## FFFFFFF0
/* 039C8 8091F4C8 8E490008 */ lw $t1, 0x0008($s2) ## 00000D78
/* 039CC 8091F4CC AE290008 */ sw $t1, 0x0008($s1) ## FFFFFFF4
/* 039D0 8091F4D0 C7B00078 */ lwc1 $f16, 0x0078($sp)
/* 039D4 8091F4D4 C7AA0084 */ lwc1 $f10, 0x0084($sp)
/* 039D8 8091F4D8 C7A6008C */ lwc1 $f6, 0x008C($sp)
/* 039DC 8091F4DC 46168482 */ mul.s $f18, $f16, $f22
/* 039E0 8091F4E0 00000000 */ nop
/* 039E4 8091F4E4 46160202 */ mul.s $f8, $f0, $f22
/* 039E8 8091F4E8 46125100 */ add.s $f4, $f10, $f18
/* 039EC 8091F4EC 46083400 */ add.s $f16, $f6, $f8
/* 039F0 8091F4F0 E7A40084 */ swc1 $f4, 0x0084($sp)
/* 039F4 8091F4F4 0C00CFBE */ jal Rand_ZeroFloat
/* 039F8 8091F4F8 E7B0008C */ swc1 $f16, 0x008C($sp)
/* 039FC 8091F4FC 461E0280 */ add.s $f10, $f0, $f30
/* 03A00 8091F500 8E651E10 */ lw $a1, 0x1E10($s3) ## 00001E10
/* 03A04 8091F504 24040003 */ addiu $a0, $zero, 0x0003 ## $a0 = 00000003
/* 03A08 8091F508 02203025 */ or $a2, $s1, $zero ## $a2 = FFFFFFEC
/* 03A0C 8091F50C E7AA0010 */ swc1 $f10, 0x0010($sp)
/* 03A10 8091F510 0C246F97 */ jal func_8091BE5C
/* 03A14 8091F514 02803825 */ or $a3, $s4, $zero ## $a3 = FFFFFFE0
/* 03A18 8091F518 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000001
/* 03A1C 8091F51C 00108400 */ sll $s0, $s0, 16
/* 03A20 8091F520 00108403 */ sra $s0, $s0, 16
/* 03A24 8091F524 2A01000A */ slti $at, $s0, 0x000A
/* 03A28 8091F528 1420FFD8 */ bne $at, $zero, .L8091F48C
/* 03A2C 8091F52C 00000000 */ nop
/* 03A30 8091F530 10000010 */ beq $zero, $zero, .L8091F574
/* 03A34 8091F534 8FBF0064 */ lw $ra, 0x0064($sp)
.L8091F538:
/* 03A38 8091F538 90430015 */ lbu $v1, 0x0015($v0) ## 00000015
/* 03A3C 8091F53C 24C60001 */ addiu $a2, $a2, 0x0001 ## $a2 = 00000001
/* 03A40 8091F540 00063400 */ sll $a2, $a2, 16
/* 03A44 8091F544 306A0002 */ andi $t2, $v1, 0x0002 ## $t2 = 00000000
/* 03A48 8091F548 11400006 */ beq $t2, $zero, .L8091F564
/* 03A4C 8091F54C 00063403 */ sra $a2, $a2, 16
/* 03A50 8091F550 306BFFFD */ andi $t3, $v1, 0xFFFD ## $t3 = 00000000
/* 03A54 8091F554 A04B0015 */ sb $t3, 0x0015($v0) ## 00000015
/* 03A58 8091F558 240C0005 */ addiu $t4, $zero, 0x0005 ## $t4 = 00000005
/* 03A5C 8091F55C 10000004 */ beq $zero, $zero, .L8091F570
/* 03A60 8091F560 A0EC01D2 */ sb $t4, 0x01D2($a3) ## 000001D2
.L8091F564:
/* 03A64 8091F564 28C10013 */ slti $at, $a2, 0x0013
/* 03A68 8091F568 5420FF76 */ bnel $at, $zero, .L8091F344
/* 03A6C 8091F56C 00062180 */ sll $a0, $a2, 6
.L8091F570:
/* 03A70 8091F570 8FBF0064 */ lw $ra, 0x0064($sp)
.L8091F574:
/* 03A74 8091F574 D7B40020 */ ldc1 $f20, 0x0020($sp)
/* 03A78 8091F578 D7B60028 */ ldc1 $f22, 0x0028($sp)
/* 03A7C 8091F57C D7B80030 */ ldc1 $f24, 0x0030($sp)
/* 03A80 8091F580 D7BA0038 */ ldc1 $f26, 0x0038($sp)
/* 03A84 8091F584 D7BC0040 */ ldc1 $f28, 0x0040($sp)
/* 03A88 8091F588 D7BE0048 */ ldc1 $f30, 0x0048($sp)
/* 03A8C 8091F58C 8FB00050 */ lw $s0, 0x0050($sp)
/* 03A90 8091F590 8FB10054 */ lw $s1, 0x0054($sp)
/* 03A94 8091F594 8FB20058 */ lw $s2, 0x0058($sp)
/* 03A98 8091F598 8FB3005C */ lw $s3, 0x005C($sp)
/* 03A9C 8091F59C 8FB40060 */ lw $s4, 0x0060($sp)
/* 03AA0 8091F5A0 03E00008 */ jr $ra
/* 03AA4 8091F5A4 27BD0098 */ addiu $sp, $sp, 0x0098 ## $sp = 00000000

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,343 +0,0 @@
.rdata
glabel D_80926940
.asciz "\x1b[33m"
.balign 4
glabel D_80926948
.asciz "Core_Damage_check START\n"
.balign 4
glabel D_80926964
.asciz "Core_Damage_check \n"
.balign 4
glabel D_80926980
.asciz "Core_Damage_check 2 \n"
.balign 4
glabel D_809269A0
.asciz "Core_Damage_check \n"
.balign 4
glabel D_809269C0
.asciz "Core_Damage_check \n"
.balign 4
glabel D_809269E0
.asciz "\x1b[m"
.balign 4
.late_rodata
glabel D_80926DA4
.float 0.08
glabel D_80926DA8
.word 0x3E051EB8
.text
glabel func_80921280
/* 05780 80921280 27BDFF90 */ addiu $sp, $sp, 0xFF90 ## $sp = FFFFFF90
/* 05784 80921284 AFB10030 */ sw $s1, 0x0030($sp)
/* 05788 80921288 AFBF0034 */ sw $ra, 0x0034($sp)
/* 0578C 8092128C AFB0002C */ sw $s0, 0x002C($sp)
/* 05790 80921290 F7B60020 */ sdc1 $f22, 0x0020($sp)
/* 05794 80921294 F7B40018 */ sdc1 $f20, 0x0018($sp)
/* 05798 80921298 AFA50074 */ sw $a1, 0x0074($sp)
/* 0579C 8092129C 8CAF1C44 */ lw $t7, 0x1C44($a1) ## 00001C44
/* 057A0 809212A0 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
/* 057A4 809212A4 3C048092 */ lui $a0, %hi(D_80926940) ## $a0 = 80920000
/* 057A8 809212A8 24846940 */ addiu $a0, $a0, %lo(D_80926940) ## $a0 = 80926940
/* 057AC 809212AC 0C00084C */ jal osSyncPrintf
/* 057B0 809212B0 AFAF0068 */ sw $t7, 0x0068($sp)
/* 057B4 809212B4 3C048092 */ lui $a0, %hi(D_80926948) ## $a0 = 80920000
/* 057B8 809212B8 0C00084C */ jal osSyncPrintf
/* 057BC 809212BC 24846948 */ addiu $a0, $a0, %lo(D_80926948) ## $a0 = 80926948
/* 057C0 809212C0 9222150C */ lbu $v0, 0x150C($s1) ## 0000150C
/* 057C4 809212C4 3C048092 */ lui $a0, %hi(D_80926964) ## $a0 = 80920000
/* 057C8 809212C8 24846964 */ addiu $a0, $a0, %lo(D_80926964) ## $a0 = 80926964
/* 057CC 809212CC 30580002 */ andi $t8, $v0, 0x0002 ## $t8 = 00000000
/* 057D0 809212D0 5300000B */ beql $t8, $zero, .L80921300
/* 057D4 809212D4 922B150D */ lbu $t3, 0x150D($s1) ## 0000150D
/* 057D8 809212D8 86280158 */ lh $t0, 0x0158($s1) ## 00000158
/* 057DC 809212DC 3059FFFD */ andi $t9, $v0, 0xFFFD ## $t9 = 00000000
/* 057E0 809212E0 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 057E4 809212E4 15010005 */ bne $t0, $at, .L809212FC
/* 057E8 809212E8 A239150C */ sb $t9, 0x150C($s1) ## 0000150C
/* 057EC 809212EC 24090001 */ addiu $t1, $zero, 0x0001 ## $t1 = 00000001
/* 057F0 809212F0 240A0096 */ addiu $t2, $zero, 0x0096 ## $t2 = 00000096
/* 057F4 809212F4 A6290168 */ sh $t1, 0x0168($s1) ## 00000168
/* 057F8 809212F8 A62A017E */ sh $t2, 0x017E($s1) ## 0000017E
.L809212FC:
/* 057FC 809212FC 922B150D */ lbu $t3, 0x150D($s1) ## 0000150D
.L80921300:
/* 05800 80921300 316C0002 */ andi $t4, $t3, 0x0002 ## $t4 = 00000000
/* 05804 80921304 118000E5 */ beq $t4, $zero, .L8092169C
/* 05808 80921308 00000000 */ nop
/* 0580C 8092130C 0C00084C */ jal osSyncPrintf
/* 05810 80921310 8E301538 */ lw $s0, 0x1538($s1) ## 00001538
/* 05814 80921314 922D150D */ lbu $t5, 0x150D($s1) ## 0000150D
/* 05818 80921318 3C048092 */ lui $a0, %hi(D_80926980) ## $a0 = 80920000
/* 0581C 8092131C 31AEFFFD */ andi $t6, $t5, 0xFFFD ## $t6 = 00000000
/* 05820 80921320 A22E150D */ sb $t6, 0x150D($s1) ## 0000150D
/* 05824 80921324 8E0F0000 */ lw $t7, 0x0000($s0) ## 00000000
/* 05828 80921328 000FC380 */ sll $t8, $t7, 14
/* 0582C 8092132C 07010007 */ bgez $t8, .L8092134C
/* 05830 80921330 00000000 */ nop
/* 05834 80921334 86390158 */ lh $t9, 0x0158($s1) ## 00000158
/* 05838 80921338 2401000A */ addiu $at, $zero, 0x000A ## $at = 0000000A
/* 0583C 8092133C 2408000B */ addiu $t0, $zero, 0x000B ## $t0 = 0000000B
/* 05840 80921340 17210002 */ bne $t9, $at, .L8092134C
/* 05844 80921344 00000000 */ nop
/* 05848 80921348 A6280158 */ sh $t0, 0x0158($s1) ## 00000158
.L8092134C:
/* 0584C 8092134C 0C00084C */ jal osSyncPrintf
/* 05850 80921350 24846980 */ addiu $a0, $a0, %lo(D_80926980) ## $a0 = 80926980
/* 05854 80921354 86290158 */ lh $t1, 0x0158($s1) ## 00000158
/* 05858 80921358 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 0585C 8092135C 112100CF */ beq $t1, $at, .L8092169C
/* 05860 80921360 00000000 */ nop
/* 05864 80921364 862A0160 */ lh $t2, 0x0160($s1) ## 00000160
/* 05868 80921368 154000CC */ bne $t2, $zero, .L8092169C
/* 0586C 8092136C 00000000 */ nop
/* 05870 80921370 0C018D74 */ jal CollisionCheck_GetSwordDamage
/* 05874 80921374 8E040000 */ lw $a0, 0x0000($s0) ## 00000000
/* 05878 80921378 10400057 */ beq $v0, $zero, .L809214D8
/* 0587C 8092137C A3A20063 */ sb $v0, 0x0063($sp)
/* 05880 80921380 862B0158 */ lh $t3, 0x0158($s1) ## 00000158
/* 05884 80921384 3C048092 */ lui $a0, %hi(D_809269A0) ## $a0 = 80920000
/* 05888 80921388 2961000A */ slti $at, $t3, 0x000A
/* 0588C 8092138C 50200053 */ beql $at, $zero, .L809214DC
/* 05890 80921390 8E020000 */ lw $v0, 0x0000($s0) ## 00000000
/* 05894 80921394 0C00084C */ jal osSyncPrintf
/* 05898 80921398 248469A0 */ addiu $a0, $a0, %lo(D_809269A0) ## $a0 = 809269A0
/* 0589C 8092139C 862E008A */ lh $t6, 0x008A($s1) ## 0000008A
/* 058A0 809213A0 3C014170 */ lui $at, 0x4170 ## $at = 41700000
/* 058A4 809213A4 44812000 */ mtc1 $at, $f4 ## $f4 = 15.00
/* 058A8 809213A8 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
/* 058AC 809213AC 240C0005 */ addiu $t4, $zero, 0x0005 ## $t4 = 00000005
/* 058B0 809213B0 240D0019 */ addiu $t5, $zero, 0x0019 ## $t5 = 00000019
/* 058B4 809213B4 2418000F */ addiu $t8, $zero, 0x000F ## $t8 = 0000000F
/* 058B8 809213B8 01C17821 */ addu $t7, $t6, $at
/* 058BC 809213BC A62C0158 */ sh $t4, 0x0158($s1) ## 00000158
/* 058C0 809213C0 A62D017E */ sh $t5, 0x017E($s1) ## 0000017E
/* 058C4 809213C4 A62F0032 */ sh $t7, 0x0032($s1) ## 00000032
/* 058C8 809213C8 A638015E */ sh $t8, 0x015E($s1) ## 0000015E
/* 058CC 809213CC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 058D0 809213D0 240539EC */ addiu $a1, $zero, 0x39EC ## $a1 = 000039EC
/* 058D4 809213D4 0C00BE0A */ jal Audio_PlayActorSound2
/* 058D8 809213D8 E6240068 */ swc1 $f4, 0x0068($s1) ## 00000068
/* 058DC 809213DC 923900AF */ lbu $t9, 0x00AF($s1) ## 000000AF
/* 058E0 809213E0 93A80063 */ lbu $t0, 0x0063($sp)
/* 058E4 809213E4 922A0155 */ lbu $t2, 0x0155($s1) ## 00000155
/* 058E8 809213E8 3C108092 */ lui $s0, %hi(D_80925CD4) ## $s0 = 80920000
/* 058EC 809213EC 03284823 */ subu $t1, $t9, $t0
/* 058F0 809213F0 A22900AF */ sb $t1, 0x00AF($s1) ## 000000AF
/* 058F4 809213F4 822C00AF */ lb $t4, 0x00AF($s1) ## 000000AF
/* 058F8 809213F8 254B0001 */ addiu $t3, $t2, 0x0001 ## $t3 = 00000001
/* 058FC 809213FC A22B0155 */ sb $t3, 0x0155($s1) ## 00000155
/* 05900 80921400 1D800032 */ bgtz $t4, .L809214CC
/* 05904 80921404 26105CD4 */ addiu $s0, $s0, %lo(D_80925CD4) ## $s0 = 80925CD4
/* 05908 80921408 8E0D0000 */ lw $t5, 0x0000($s0) ## 80925CD4
/* 0590C 8092140C 3C0E8092 */ lui $t6, %hi(D_80925CD8) ## $t6 = 80920000
/* 05910 80921410 85A20F62 */ lh $v0, 0x0F62($t5) ## 00000F62
/* 05914 80921414 14400004 */ bne $v0, $zero, .L80921428
/* 05918 80921418 00000000 */ nop
/* 0591C 8092141C 8DCE5CD8 */ lw $t6, %lo(D_80925CD8)($t6)
/* 05920 80921420 51C0000B */ beql $t6, $zero, .L80921450
/* 05924 80921424 8FA40074 */ lw $a0, 0x0074($sp)
.L80921428:
/* 05928 80921428 14400027 */ bne $v0, $zero, .L809214C8
/* 0592C 8092142C 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
/* 05930 80921430 3C028092 */ lui $v0, %hi(D_80925CD8) ## $v0 = 80920000
/* 05934 80921434 8C425CD8 */ lw $v0, %lo(D_80925CD8)($v0)
/* 05938 80921438 50400024 */ beql $v0, $zero, .L809214CC
/* 0593C 8092143C A22E00AF */ sb $t6, 0x00AF($s1) ## 000000AF
/* 05940 80921440 844F0F62 */ lh $t7, 0x0F62($v0) ## 80920F62
/* 05944 80921444 55E00021 */ bnel $t7, $zero, .L809214CC
/* 05948 80921448 A22E00AF */ sb $t6, 0x00AF($s1) ## 000000AF
/* 0594C 8092144C 8FA40074 */ lw $a0, 0x0074($sp)
.L80921450:
/* 05950 80921450 0C00CB1F */ jal Enemy_StartFinishingBlow
/* 05954 80921454 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 05958 80921458 3C041001 */ lui $a0, 0x1001 ## $a0 = 10010000
/* 0595C 8092145C 0C03E803 */ jal Audio_QueueSeqCmd
/* 05960 80921460 348400FF */ ori $a0, $a0, 0x00FF ## $a0 = 100100FF
/* 05964 80921464 24180064 */ addiu $t8, $zero, 0x0064 ## $t8 = 00000064
/* 05968 80921468 A6380F60 */ sh $t8, 0x0F60($s1) ## 00000F60
/* 0596C 8092146C 8E190000 */ lw $t9, 0x0000($s0) ## 80925CD4
/* 05970 80921470 240800C8 */ addiu $t0, $zero, 0x00C8 ## $t0 = 000000C8
/* 05974 80921474 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 05978 80921478 A32001D1 */ sb $zero, 0x01D1($t9) ## 000001D1
/* 0597C 8092147C 8E090000 */ lw $t1, 0x0000($s0) ## 80925CD4
/* 05980 80921480 3C028092 */ lui $v0, %hi(D_80925CD8) ## $v0 = 80920000
/* 05984 80921484 240B0001 */ addiu $t3, $zero, 0x0001 ## $t3 = 00000001
/* 05988 80921488 A5280158 */ sh $t0, 0x0158($t1) ## 00000158
/* 0598C 8092148C 8E0A0000 */ lw $t2, 0x0000($s0) ## 80925CD4
/* 05990 80921490 240D0065 */ addiu $t5, $zero, 0x0065 ## $t5 = 00000065
/* 05994 80921494 E54601A4 */ swc1 $f6, 0x01A4($t2) ## 000001A4
/* 05998 80921498 8C425CD8 */ lw $v0, %lo(D_80925CD8)($v0)
/* 0599C 8092149C 50400003 */ beql $v0, $zero, .L809214AC
/* 059A0 809214A0 8FA20068 */ lw $v0, 0x0068($sp)
/* 059A4 809214A4 A04B0154 */ sb $t3, 0x0154($v0) ## 80920154
/* 059A8 809214A8 8FA20068 */ lw $v0, 0x0068($sp)
.L809214AC:
/* 059AC 809214AC 8C4C0118 */ lw $t4, 0x0118($v0) ## 80920118
/* 059B0 809214B0 51800007 */ beql $t4, $zero, .L809214D0
/* 059B4 809214B4 240F000A */ addiu $t7, $zero, 0x000A ## $t7 = 0000000A
/* 059B8 809214B8 A44D0850 */ sh $t5, 0x0850($v0) ## 80920850
/* 059BC 809214BC AC400118 */ sw $zero, 0x0118($v0) ## 80920118
/* 059C0 809214C0 10000002 */ beq $zero, $zero, .L809214CC
/* 059C4 809214C4 A0400444 */ sb $zero, 0x0444($v0) ## 80920444
.L809214C8:
/* 059C8 809214C8 A22E00AF */ sb $t6, 0x00AF($s1) ## 000000AF
.L809214CC:
/* 059CC 809214CC 240F000A */ addiu $t7, $zero, 0x000A ## $t7 = 0000000A
.L809214D0:
/* 059D0 809214D0 10000038 */ beq $zero, $zero, .L809215B4
/* 059D4 809214D4 A62F0160 */ sh $t7, 0x0160($s1) ## 00000160
.L809214D8:
/* 059D8 809214D8 8E020000 */ lw $v0, 0x0000($s0) ## 80925CD4
.L809214DC:
/* 059DC 809214DC 0002C2C0 */ sll $t8, $v0, 11
/* 059E0 809214E0 07000034 */ bltz $t8, .L809215B4
/* 059E4 809214E4 30590080 */ andi $t9, $v0, 0x0080 ## $t9 = 00000000
/* 059E8 809214E8 53200033 */ beql $t9, $zero, .L809215B8
/* 059EC 809214EC 8FB90074 */ lw $t9, 0x0074($sp)
/* 059F0 809214F0 86280158 */ lh $t0, 0x0158($s1) ## 00000158
/* 059F4 809214F4 3C108092 */ lui $s0, %hi(D_80925CD4) ## $s0 = 80920000
/* 059F8 809214F8 26105CD4 */ addiu $s0, $s0, %lo(D_80925CD4) ## $s0 = 80925CD4
/* 059FC 809214FC 2901000A */ slti $at, $t0, 0x000A
/* 05A00 80921500 54200025 */ bnel $at, $zero, .L80921598
/* 05A04 80921504 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 05A08 80921508 8E040000 */ lw $a0, 0x0000($s0) ## 80925CD4
/* 05A0C 8092150C 240538F4 */ addiu $a1, $zero, 0x38F4 ## $a1 = 000038F4
/* 05A10 80921510 0C01E245 */ jal func_80078914
/* 05A14 80921514 24841010 */ addiu $a0, $a0, 0x1010 ## $a0 = 00001010
/* 05A18 80921518 86290164 */ lh $t1, 0x0164($s1) ## 00000164
/* 05A1C 8092151C 8E0A0000 */ lw $t2, 0x0000($s0) ## 80925CD4
/* 05A20 80921520 8FA30068 */ lw $v1, 0x0068($sp)
/* 05A24 80921524 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 05A28 80921528 A5490172 */ sh $t1, 0x0172($t2) ## 00000172
/* 05A2C 8092152C 8E020000 */ lw $v0, 0x0000($s0) ## 80925CD4
/* 05A30 80921530 44814000 */ mtc1 $at, $f8 ## $f8 = 1.00
/* 05A34 80921534 240E0064 */ addiu $t6, $zero, 0x0064 ## $t6 = 00000064
/* 05A38 80921538 844B0172 */ lh $t3, 0x0172($v0) ## 00000172
/* 05A3C 8092153C 24180028 */ addiu $t8, $zero, 0x0028 ## $t8 = 00000028
/* 05A40 80921540 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 05A44 80921544 256C0001 */ addiu $t4, $t3, 0x0001 ## $t4 = 00000001
/* 05A48 80921548 A44C0174 */ sh $t4, 0x0174($v0) ## 00000174
/* 05A4C 8092154C 8E0D0000 */ lw $t5, 0x0000($s0) ## 80925CD4
/* 05A50 80921550 240C0065 */ addiu $t4, $zero, 0x0065 ## $t4 = 00000065
/* 05A54 80921554 E5A801A8 */ swc1 $f8, 0x01A8($t5) ## 000001A8
/* 05A58 80921558 8E0F0000 */ lw $t7, 0x0000($s0) ## 80925CD4
/* 05A5C 8092155C A5EE0158 */ sh $t6, 0x0158($t7) ## 00000158
/* 05A60 80921560 8E190000 */ lw $t9, 0x0000($s0) ## 80925CD4
/* 05A64 80921564 A738017E */ sh $t8, 0x017E($t9) ## 0000017E
/* 05A68 80921568 8E020000 */ lw $v0, 0x0000($s0) ## 80925CD4
/* 05A6C 8092156C 8C480004 */ lw $t0, 0x0004($v0) ## 00000004
/* 05A70 80921570 01014824 */ and $t1, $t0, $at
/* 05A74 80921574 AC490004 */ sw $t1, 0x0004($v0) ## 00000004
/* 05A78 80921578 8E0A0000 */ lw $t2, 0x0000($s0) ## 80925CD4
/* 05A7C 8092157C 8C6B0118 */ lw $t3, 0x0118($v1) ## 00000118
/* 05A80 80921580 554B0005 */ bnel $t2, $t3, .L80921598
/* 05A84 80921584 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 05A88 80921588 A46C0850 */ sh $t4, 0x0850($v1) ## 00000850
/* 05A8C 8092158C AC600118 */ sw $zero, 0x0118($v1) ## 00000118
/* 05A90 80921590 A0600444 */ sb $zero, 0x0444($v1) ## 00000444
/* 05A94 80921594 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
.L80921598:
/* 05A98 80921598 240D0005 */ addiu $t5, $zero, 0x0005 ## $t5 = 00000005
/* 05A9C 8092159C 240E001E */ addiu $t6, $zero, 0x001E ## $t6 = 0000001E
/* 05AA0 809215A0 240F000A */ addiu $t7, $zero, 0x000A ## $t7 = 0000000A
/* 05AA4 809215A4 A62D0158 */ sh $t5, 0x0158($s1) ## 00000158
/* 05AA8 809215A8 A62E017E */ sh $t6, 0x017E($s1) ## 0000017E
/* 05AAC 809215AC A62F0160 */ sh $t7, 0x0160($s1) ## 00000160
/* 05AB0 809215B0 E62A0068 */ swc1 $f10, 0x0068($s1) ## 00000068
.L809215B4:
/* 05AB4 809215B4 8FB90074 */ lw $t9, 0x0074($sp)
.L809215B8:
/* 05AB8 809215B8 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 05ABC 809215BC 26380024 */ addiu $t8, $s1, 0x0024 ## $t8 = 00000024
/* 05AC0 809215C0 03214021 */ addu $t0, $t9, $at
/* 05AC4 809215C4 3C014080 */ lui $at, 0x4080 ## $at = 40800000
/* 05AC8 809215C8 4481B000 */ mtc1 $at, $f22 ## $f22 = 4.00
/* 05ACC 809215CC 3C014040 */ lui $at, 0x4040 ## $at = 40400000
/* 05AD0 809215D0 4481A000 */ mtc1 $at, $f20 ## $f20 = 3.00
/* 05AD4 809215D4 AFA8003C */ sw $t0, 0x003C($sp)
/* 05AD8 809215D8 AFB80040 */ sw $t8, 0x0040($sp)
/* 05ADC 809215DC 27B10054 */ addiu $s1, $sp, 0x0054 ## $s1 = FFFFFFE4
/* 05AE0 809215E0 00008025 */ or $s0, $zero, $zero ## $s0 = 00000000
.L809215E4:
/* 05AE4 809215E4 0C00CFC8 */ jal Rand_CenteredFloat
/* 05AE8 809215E8 4600B306 */ mov.s $f12, $f22
/* 05AEC 809215EC 3C014000 */ lui $at, 0x4000 ## $at = 40000000
/* 05AF0 809215F0 44816000 */ mtc1 $at, $f12 ## $f12 = 2.00
/* 05AF4 809215F4 0C00CFBE */ jal Rand_ZeroFloat
/* 05AF8 809215F8 E7A00048 */ swc1 $f0, 0x0048($sp)
/* 05AFC 809215FC 46140400 */ add.s $f16, $f0, $f20
/* 05B00 80921600 4600B306 */ mov.s $f12, $f22
/* 05B04 80921604 0C00CFC8 */ jal Rand_CenteredFloat
/* 05B08 80921608 E7B0004C */ swc1 $f16, 0x004C($sp)
/* 05B0C 8092160C 8FA90040 */ lw $t1, 0x0040($sp)
/* 05B10 80921610 E7A00050 */ swc1 $f0, 0x0050($sp)
/* 05B14 80921614 3C018092 */ lui $at, %hi(D_80926DA4) ## $at = 80920000
/* 05B18 80921618 8D2B0000 */ lw $t3, 0x0000($t1) ## 00000000
/* 05B1C 8092161C AE2B0000 */ sw $t3, 0x0000($s1) ## FFFFFFE4
/* 05B20 80921620 8D2A0004 */ lw $t2, 0x0004($t1) ## 00000004
/* 05B24 80921624 AE2A0004 */ sw $t2, 0x0004($s1) ## FFFFFFE8
/* 05B28 80921628 8D2B0008 */ lw $t3, 0x0008($t1) ## 00000008
/* 05B2C 8092162C AE2B0008 */ sw $t3, 0x0008($s1) ## FFFFFFEC
/* 05B30 80921630 C7A40048 */ lwc1 $f4, 0x0048($sp)
/* 05B34 80921634 C7B20054 */ lwc1 $f18, 0x0054($sp)
/* 05B38 80921638 C7AA005C */ lwc1 $f10, 0x005C($sp)
/* 05B3C 8092163C 46142182 */ mul.s $f6, $f4, $f20
/* 05B40 80921640 C42C6DA4 */ lwc1 $f12, %lo(D_80926DA4)($at)
/* 05B44 80921644 46140402 */ mul.s $f16, $f0, $f20
/* 05B48 80921648 46069200 */ add.s $f8, $f18, $f6
/* 05B4C 8092164C 46105100 */ add.s $f4, $f10, $f16
/* 05B50 80921650 E7A80054 */ swc1 $f8, 0x0054($sp)
/* 05B54 80921654 0C00CFBE */ jal Rand_ZeroFloat
/* 05B58 80921658 E7A4005C */ swc1 $f4, 0x005C($sp)
/* 05B5C 8092165C 3C018092 */ lui $at, %hi(D_80926DA8) ## $at = 80920000
/* 05B60 80921660 C4326DA8 */ lwc1 $f18, %lo(D_80926DA8)($at)
/* 05B64 80921664 8FAC003C */ lw $t4, 0x003C($sp)
/* 05B68 80921668 24040003 */ addiu $a0, $zero, 0x0003 ## $a0 = 00000003
/* 05B6C 8092166C 46120180 */ add.s $f6, $f0, $f18
/* 05B70 80921670 8D851E10 */ lw $a1, 0x1E10($t4) ## 00001E10
/* 05B74 80921674 02203025 */ or $a2, $s1, $zero ## $a2 = FFFFFFE4
/* 05B78 80921678 27A70048 */ addiu $a3, $sp, 0x0048 ## $a3 = FFFFFFD8
/* 05B7C 8092167C 0C246F97 */ jal func_8091BE5C
/* 05B80 80921680 E7A60010 */ swc1 $f6, 0x0010($sp)
/* 05B84 80921684 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000001
/* 05B88 80921688 00108400 */ sll $s0, $s0, 16
/* 05B8C 8092168C 00108403 */ sra $s0, $s0, 16
/* 05B90 80921690 2A01000A */ slti $at, $s0, 0x000A
/* 05B94 80921694 1420FFD3 */ bne $at, $zero, .L809215E4
/* 05B98 80921698 00000000 */ nop
.L8092169C:
/* 05B9C 8092169C 3C048092 */ lui $a0, %hi(D_809269C0) ## $a0 = 80920000
/* 05BA0 809216A0 0C00084C */ jal osSyncPrintf
/* 05BA4 809216A4 248469C0 */ addiu $a0, $a0, %lo(D_809269C0) ## $a0 = 809269C0
/* 05BA8 809216A8 3C048092 */ lui $a0, %hi(D_809269E0) ## $a0 = 80920000
/* 05BAC 809216AC 0C00084C */ jal osSyncPrintf
/* 05BB0 809216B0 248469E0 */ addiu $a0, $a0, %lo(D_809269E0) ## $a0 = 809269E0
/* 05BB4 809216B4 8FBF0034 */ lw $ra, 0x0034($sp)
/* 05BB8 809216B8 D7B40018 */ ldc1 $f20, 0x0018($sp)
/* 05BBC 809216BC D7B60020 */ ldc1 $f22, 0x0020($sp)
/* 05BC0 809216C0 8FB0002C */ lw $s0, 0x002C($sp)
/* 05BC4 809216C4 8FB10030 */ lw $s1, 0x0030($sp)
/* 05BC8 809216C8 03E00008 */ jr $ra
/* 05BCC 809216CC 27BD0070 */ addiu $sp, $sp, 0x0070 ## $sp = 00000000

File diff suppressed because it is too large Load Diff

View File

@@ -1,167 +0,0 @@
.rdata
glabel D_809269E4
.asciz "CORE mode = <%d>\n"
.balign 4
.text
glabel func_80922D30
/* 07230 80922D30 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 07234 80922D34 AFBF001C */ sw $ra, 0x001C($sp)
/* 07238 80922D38 AFB10018 */ sw $s1, 0x0018($sp)
/* 0723C 80922D3C AFB00014 */ sw $s0, 0x0014($sp)
/* 07240 80922D40 8CAE1C44 */ lw $t6, 0x1C44($a1) ## 00001C44
/* 07244 80922D44 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 07248 80922D48 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 0724C 80922D4C 3C048092 */ lui $a0, %hi(D_809269E4) ## $a0 = 80920000
/* 07250 80922D50 AFAE0028 */ sw $t6, 0x0028($sp)
/* 07254 80922D54 86050158 */ lh $a1, 0x0158($s0) ## 00000158
/* 07258 80922D58 0C00084C */ jal osSyncPrintf
/* 0725C 80922D5C 248469E4 */ addiu $a0, $a0, %lo(D_809269E4) ## $a0 = 809269E4
/* 07260 80922D60 3C028092 */ lui $v0, %hi(D_80925CD8) ## $v0 = 80920000
/* 07264 80922D64 8C425CD8 */ lw $v0, %lo(D_80925CD8)($v0)
/* 07268 80922D68 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 0726C 80922D6C 54400014 */ bnel $v0, $zero, .L80922DC0
/* 07270 80922D70 C60801BC */ lwc1 $f8, 0x01BC($s0) ## 000001BC
/* 07274 80922D74 C60601BC */ lwc1 $f6, 0x01BC($s0) ## 000001BC
/* 07278 80922D78 3C0F8092 */ lui $t7, %hi(D_80925CD4) ## $t7 = 80920000
/* 0727C 80922D7C 8DEF5CD4 */ lw $t7, %lo(D_80925CD4)($t7)
/* 07280 80922D80 4600320D */ trunc.w.s $f8, $f6
/* 07284 80922D84 8E2C07C0 */ lw $t4, 0x07C0($s1) ## 000007C0
/* 07288 80922D88 C5E401C8 */ lwc1 $f4, 0x01C8($t7) ## 809201C8
/* 0728C 80922D8C 44194000 */ mfc1 $t9, $f8
/* 07290 80922D90 8D8D0028 */ lw $t5, 0x0028($t4) ## 00000028
/* 07294 80922D94 00194400 */ sll $t0, $t9, 16
/* 07298 80922D98 00084C03 */ sra $t1, $t0, 16
/* 0729C 80922D9C 44895000 */ mtc1 $t1, $f10 ## $f10 = 0.00
/* 072A0 80922DA0 00000000 */ nop
/* 072A4 80922DA4 46805420 */ cvt.s.w $f16, $f10
/* 072A8 80922DA8 46102480 */ add.s $f18, $f4, $f16
/* 072AC 80922DAC 4600918D */ trunc.w.s $f6, $f18
/* 072B0 80922DB0 440B3000 */ mfc1 $t3, $f6
/* 072B4 80922DB4 10000015 */ beq $zero, $zero, .L80922E0C
/* 072B8 80922DB8 A5AB0002 */ sh $t3, 0x0002($t5) ## 00000002
/* 072BC 80922DBC C60801BC */ lwc1 $f8, 0x01BC($s0) ## 000001BC
.L80922DC0:
/* 072C0 80922DC0 3C088092 */ lui $t0, %hi(D_80925CD4) ## $t0 = 80920000
/* 072C4 80922DC4 8D085CD4 */ lw $t0, %lo(D_80925CD4)($t0)
/* 072C8 80922DC8 4600428D */ trunc.w.s $f10, $f8
/* 072CC 80922DCC C44801C8 */ lwc1 $f8, 0x01C8($v0) ## 809201C8
/* 072D0 80922DD0 C51201C8 */ lwc1 $f18, 0x01C8($t0) ## 809201C8
/* 072D4 80922DD4 8E2C07C0 */ lw $t4, 0x07C0($s1) ## 000007C0
/* 072D8 80922DD8 440F5000 */ mfc1 $t7, $f10
/* 072DC 80922DDC 8D8B0028 */ lw $t3, 0x0028($t4) ## 00000028
/* 072E0 80922DE0 000FC400 */ sll $t8, $t7, 16
/* 072E4 80922DE4 0018CC03 */ sra $t9, $t8, 16
/* 072E8 80922DE8 44992000 */ mtc1 $t9, $f4 ## $f4 = 0.00
/* 072EC 80922DEC 00000000 */ nop
/* 072F0 80922DF0 46802420 */ cvt.s.w $f16, $f4
/* 072F4 80922DF4 46128180 */ add.s $f6, $f16, $f18
/* 072F8 80922DF8 46064280 */ add.s $f10, $f8, $f6
/* 072FC 80922DFC 4600510D */ trunc.w.s $f4, $f10
/* 07300 80922E00 440A2000 */ mfc1 $t2, $f4
/* 07304 80922E04 00000000 */ nop
/* 07308 80922E08 A56A0002 */ sh $t2, 0x0002($t3) ## 00000002
.L80922E0C:
/* 0730C 80922E0C 8E180024 */ lw $t8, 0x0024($s0) ## 00000024
/* 07310 80922E10 8E0D0004 */ lw $t5, 0x0004($s0) ## 00000004
/* 07314 80922E14 8619015C */ lh $t9, 0x015C($s0) ## 0000015C
/* 07318 80922E18 8602015E */ lh $v0, 0x015E($s0) ## 0000015E
/* 0731C 80922E1C AE180038 */ sw $t8, 0x0038($s0) ## 00000038
/* 07320 80922E20 8E18002C */ lw $t8, 0x002C($s0) ## 0000002C
/* 07324 80922E24 8E0F0028 */ lw $t7, 0x0028($s0) ## 00000028
/* 07328 80922E28 35AE0200 */ ori $t6, $t5, 0x0200 ## $t6 = 00000200
/* 0732C 80922E2C 27280001 */ addiu $t0, $t9, 0x0001 ## $t0 = 00000001
/* 07330 80922E30 AE0E0004 */ sw $t6, 0x0004($s0) ## 00000004
/* 07334 80922E34 A608015C */ sh $t0, 0x015C($s0) ## 0000015C
/* 07338 80922E38 AE180040 */ sw $t8, 0x0040($s0) ## 00000040
/* 0733C 80922E3C 10400003 */ beq $v0, $zero, .L80922E4C
/* 07340 80922E40 AE0F003C */ sw $t7, 0x003C($s0) ## 0000003C
/* 07344 80922E44 2449FFFF */ addiu $t1, $v0, 0xFFFF ## $t1 = 8091FFFF
/* 07348 80922E48 A609015E */ sh $t1, 0x015E($s0) ## 0000015E
.L80922E4C:
/* 0734C 80922E4C 86020160 */ lh $v0, 0x0160($s0) ## 00000160
/* 07350 80922E50 10400002 */ beq $v0, $zero, .L80922E5C
/* 07354 80922E54 244CFFFF */ addiu $t4, $v0, 0xFFFF ## $t4 = 8091FFFF
/* 07358 80922E58 A60C0160 */ sh $t4, 0x0160($s0) ## 00000160
.L80922E5C:
/* 0735C 80922E5C 860A015A */ lh $t2, 0x015A($s0) ## 0000015A
/* 07360 80922E60 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 07364 80922E64 254B0001 */ addiu $t3, $t2, 0x0001 ## $t3 = 00000001
/* 07368 80922E68 A60B015A */ sh $t3, 0x015A($s0) ## 0000015A
/* 0736C 80922E6C 00026840 */ sll $t5, $v0, 1
.L80922E70:
/* 07370 80922E70 020D1821 */ addu $v1, $s0, $t5
/* 07374 80922E74 8464017E */ lh $a0, 0x017E($v1) ## 0000017E
/* 07378 80922E78 24420001 */ addiu $v0, $v0, 0x0001 ## $v0 = 00000001
/* 0737C 80922E7C 00021400 */ sll $v0, $v0, 16
/* 07380 80922E80 10800003 */ beq $a0, $zero, .L80922E90
/* 07384 80922E84 00021403 */ sra $v0, $v0, 16
/* 07388 80922E88 248EFFFF */ addiu $t6, $a0, 0xFFFF ## $t6 = FFFFFFFF
/* 0738C 80922E8C A46E017E */ sh $t6, 0x017E($v1) ## 0000017E
.L80922E90:
/* 07390 80922E90 28410005 */ slti $at, $v0, 0x0005
/* 07394 80922E94 5420FFF6 */ bnel $at, $zero, .L80922E70
/* 07398 80922E98 00026840 */ sll $t5, $v0, 1
/* 0739C 80922E9C 0C2485B4 */ jal func_809216D0
/* 073A0 80922EA0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 073A4 80922EA4 260614FC */ addiu $a2, $s0, 0x14FC ## $a2 = 000014FC
/* 073A8 80922EA8 00C02825 */ or $a1, $a2, $zero ## $a1 = 000014FC
/* 073AC 80922EAC AFA60020 */ sw $a2, 0x0020($sp)
/* 073B0 80922EB0 0C0189B7 */ jal Collider_UpdateCylinder
/* 073B4 80922EB4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 073B8 80922EB8 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 073BC 80922EBC 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
/* 073C0 80922EC0 02212821 */ addu $a1, $s1, $at
/* 073C4 80922EC4 8FA60020 */ lw $a2, 0x0020($sp)
/* 073C8 80922EC8 AFA50024 */ sw $a1, 0x0024($sp)
/* 073CC 80922ECC 0C01767D */ jal CollisionCheck_SetAC
## CollisionCheck_setAC
/* 073D0 80922ED0 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 073D4 80922ED4 860F0158 */ lh $t7, 0x0158($s0) ## 00000158
/* 073D8 80922ED8 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 073DC 80922EDC 8FA50024 */ lw $a1, 0x0024($sp)
/* 073E0 80922EE0 15E1000C */ bne $t7, $at, .L80922F14
/* 073E4 80922EE4 8FA60020 */ lw $a2, 0x0020($sp)
/* 073E8 80922EE8 8E3807C0 */ lw $t8, 0x07C0($s1) ## 000007C0
/* 073EC 80922EEC C6100028 */ lwc1 $f16, 0x0028($s0) ## 00000028
/* 073F0 80922EF0 8F190028 */ lw $t9, 0x0028($t8) ## 00000028
/* 073F4 80922EF4 87280002 */ lh $t0, 0x0002($t9) ## 00000002
/* 073F8 80922EF8 44889000 */ mtc1 $t0, $f18 ## $f18 = 0.00
/* 073FC 80922EFC 00000000 */ nop
/* 07400 80922F00 46809220 */ cvt.s.w $f8, $f18
/* 07404 80922F04 4608803C */ c.lt.s $f16, $f8
/* 07408 80922F08 00000000 */ nop
/* 0740C 80922F0C 45000005 */ bc1f .L80922F24
/* 07410 80922F10 00000000 */ nop
.L80922F14:
/* 07414 80922F14 0C0175E7 */ jal CollisionCheck_SetAT
## CollisionCheck_setAT
/* 07418 80922F18 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 0741C 80922F1C 10000004 */ beq $zero, $zero, .L80922F30
/* 07420 80922F20 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L80922F24:
/* 07424 80922F24 0C017713 */ jal CollisionCheck_SetOC
## CollisionCheck_setOC
/* 07428 80922F28 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 0742C 80922F2C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L80922F30:
/* 07430 80922F30 0C24935C */ jal func_80924D70
/* 07434 80922F34 02202825 */ or $a1, $s1, $zero ## $a1 = 00000000
/* 07438 80922F38 8FA90028 */ lw $t1, 0x0028($sp)
/* 0743C 80922F3C 8D2C0118 */ lw $t4, 0x0118($t1) ## 00000118
/* 07440 80922F40 11800005 */ beq $t4, $zero, .L80922F58
/* 07444 80922F44 00000000 */ nop
/* 07448 80922F48 8E0A0004 */ lw $t2, 0x0004($s0) ## 00000004
/* 0744C 80922F4C 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 07450 80922F50 01415824 */ and $t3, $t2, $at
/* 07454 80922F54 AE0B0004 */ sw $t3, 0x0004($s0) ## 00000004
.L80922F58:
/* 07458 80922F58 0C249706 */ jal func_80925C18
/* 0745C 80922F5C 00000000 */ nop
/* 07460 80922F60 8FBF001C */ lw $ra, 0x001C($sp)
/* 07464 80922F64 8FB00014 */ lw $s0, 0x0014($sp)
/* 07468 80922F68 8FB10018 */ lw $s1, 0x0018($sp)
/* 0746C 80922F6C 03E00008 */ jr $ra
/* 07470 80922F70 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000

View File

@@ -1,46 +0,0 @@
glabel func_809237C4
/* 07CC4 809237C4 C4E40000 */ lwc1 $f4, 0x0000($a3) ## 00000000
/* 07CC8 809237C8 8CD8001C */ lw $t8, 0x001C($a2) ## 0000001C
/* 07CCC 809237CC 00051180 */ sll $v0, $a1, 6
/* 07CD0 809237D0 4600218D */ trunc.w.s $f6, $f4
/* 07CD4 809237D4 0302C821 */ addu $t9, $t8, $v0
/* 07CD8 809237D8 440F3000 */ mfc1 $t7, $f6
/* 07CDC 809237DC 00000000 */ nop
/* 07CE0 809237E0 A72F0030 */ sh $t7, 0x0030($t9) ## 00000030
/* 07CE4 809237E4 C4E80004 */ lwc1 $f8, 0x0004($a3) ## 00000004
/* 07CE8 809237E8 8CCA001C */ lw $t2, 0x001C($a2) ## 0000001C
/* 07CEC 809237EC 4600428D */ trunc.w.s $f10, $f8
/* 07CF0 809237F0 01425821 */ addu $t3, $t2, $v0
/* 07CF4 809237F4 44095000 */ mfc1 $t1, $f10
/* 07CF8 809237F8 00000000 */ nop
/* 07CFC 809237FC A5690032 */ sh $t1, 0x0032($t3) ## 00000032
/* 07D00 80923800 C4F00008 */ lwc1 $f16, 0x0008($a3) ## 00000008
/* 07D04 80923804 8CCE001C */ lw $t6, 0x001C($a2) ## 0000001C
/* 07D08 80923808 4600848D */ trunc.w.s $f18, $f16
/* 07D0C 8092380C 01C2C021 */ addu $t8, $t6, $v0
/* 07D10 80923810 440D9000 */ mfc1 $t5, $f18
/* 07D14 80923814 00000000 */ nop
/* 07D18 80923818 A70D0034 */ sh $t5, 0x0034($t8) ## 00000034
/* 07D1C 8092381C 848F0158 */ lh $t7, 0x0158($a0) ## 00000158
/* 07D20 80923820 29E10006 */ slti $at, $t7, 0x0006
/* 07D24 80923824 5020000E */ beql $at, $zero, .L80923860
/* 07D28 80923828 8CCB001C */ lw $t3, 0x001C($a2) ## 0000001C
/* 07D2C 8092382C 8CD9001C */ lw $t9, 0x001C($a2) ## 0000001C
/* 07D30 80923830 03221821 */ addu $v1, $t9, $v0
/* 07D34 80923834 8468002E */ lh $t0, 0x002E($v1) ## 0000002E
/* 07D38 80923838 C4640038 */ lwc1 $f4, 0x0038($v1) ## 00000038
/* 07D3C 8092383C 44883000 */ mtc1 $t0, $f6 ## $f6 = 0.00
/* 07D40 80923840 00000000 */ nop
/* 07D44 80923844 46803220 */ cvt.s.w $f8, $f6
/* 07D48 80923848 46082282 */ mul.s $f10, $f4, $f8
/* 07D4C 8092384C 4600540D */ trunc.w.s $f16, $f10
/* 07D50 80923850 44098000 */ mfc1 $t1, $f16
/* 07D54 80923854 03E00008 */ jr $ra
/* 07D58 80923858 A4690036 */ sh $t1, 0x0036($v1) ## 00000036
.L8092385C:
/* 07D5C 8092385C 8CCB001C */ lw $t3, 0x001C($a2) ## 0000001C
.L80923860:
/* 07D60 80923860 01626021 */ addu $t4, $t3, $v0
/* 07D64 80923864 A5800036 */ sh $zero, 0x0036($t4) ## 00000036
/* 07D68 80923868 03E00008 */ jr $ra
/* 07D6C 8092386C 00000000 */ nop

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