1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-03 06:24:30 +00:00

Decompile ovl_En_Insect (#244)

* Start decompiling bugs

* Decomp func_80A7BFA0

* Match 4 functions

* Match a few functions, really close on another

* Consolidate if statements

* Progress on func_80A7C86C

* Decompile a few small functions

* func_80A7CEC0 still needs stack and regalloc work

* Finish up func_80A7CEC0, do a couple functions

* Start on func_80A7D460

* func_80A7D460 is mostly down to regalloc

* Match update and draw, more work on func_80A7D460

* func_80A7D460 is really close to matching

* func_80A7D460 matches

* Cleanup

* Run formatter

* Missed reversing a couple flout comparisons

* Apply suggestions from code review

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

* PR Comments

* PR Comments #2

* Missed one

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
This commit is contained in:
Nathan Faltermeier 2020-07-18 16:40:27 -05:00 committed by GitHub
parent e29442f1a9
commit a982d40480
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 770 additions and 2309 deletions

View file

@ -1,35 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purpose registers
.section .data
.balign 16
glabel D_80A7DEB0
.word 0x00000000
glabel D_80A7DEB4
.word 0x00000000
glabel D_80A7DEB8
.word 0x00000000
glabel En_Insect_InitVars
.word 0x00200700, 0x00000000, 0x00010000, 0x0000032C
.word EnInsect_Init
.word EnInsect_Destroy
.word EnInsect_Update
.word EnInsect_Draw
glabel D_80A7DEDC
.word 0x00000000, 0x00000000, 0x00000000, 0xFFCFFFFF, 0x00000000, 0x00000100, 0x00000000, 0x00000000, 0x00050064
glabel D_80A7DF00
.word 0x0A000019, 0x10000000, 0x00000001
.word D_80A7DEDC
glabel D_80A7DF10
.word 0x00000005, 0x00070007
glabel D_80A7DF18
.word 0xC850000A, 0xB0F402BC, 0xB0F80014, 0x30FC0258
glabel D_80A7DF28
.word 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000