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

Decompiled and documentedKarebaba (withered Deku Baba enemy), all functions OK (#391)

* Renamed functions based on decomp

* Update function name changes

* Karebaba decomp and documentation with one non-matching function

* Cleaned up some messiness

* Forgot a file

* Addressing code review

* Updated based on code review

* Unnecessary define

* This function is going down

* Removed remaining asm, renamed symbols as recommended, and added comments to give context around the display lists

* Forgot a file

* Fix renamed function

* Addressed issues raised in code review

* Minor cleanup

* Addressed issues identified in code review

* Addressed the issues betterer

* Updated to use poly disp macros

* review 2

Co-authored-by: fig <fig02srl@gmail.com>
This commit is contained in:
MNGoldenEagle 2020-12-03 15:05:32 -06:00 committed by GitHub
parent 3cfafb2574
commit cbb0c6da06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 495 additions and 1752 deletions

View file

@ -1,36 +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 En_Karebaba_InitVars
.word 0x00C70500, 0x00000005, 0x00390000, 0x00000290
.word EnKarebaba_Init
.word EnKarebaba_Destroy
.word EnKarebaba_Update
.word EnKarebaba_Draw
glabel D_80A969F0
.word 0x0C000900, 0x10010000, 0x00000000, 0x00000000, 0x00000000, 0xFFCFFFFF, 0x00000000, 0x00010000, 0x00070019, 0x00000000, 0x00000000
glabel D_80A96A1C
.word 0x0C110039, 0x10010000, 0x00000000, 0xFFCFFFFF, 0x00080000, 0x00000000, 0x00000000, 0x09000100
glabel D_80A96A3C
.word 0x00040019, 0x00000000, 0x00000000
glabel D_80A96A48
.word 0x0100000F, 0x0050FE00
glabel D_80A96A50
.word 0xB04C09C4, 0x801F0001, 0x09170009
glabel D_80A96A5C
.word 0x00000000, 0x00000000, 0x00000000
glabel D_80A96A68
.word 0x00000000
glabel D_80A96A6C
.word 0x06001330, 0x06001628, 0x06001828
glabel D_80A96A78
.word 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000

View file

@ -1,13 +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 .rodata
.balign 16
glabel D_80A96B80
.incbin "baserom/ovl_En_Karebaba", 0x1830, 0x00000230