1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-21 14:31:17 +00:00

En_Changer OK (#501)

* decomped most functions, 2 left

* all functions decomped except for Init

* just regalloc left in Init(?)

* Init finally matched, translation, some naming

* most other variables named

* Delete asm

* Whoops, actually deleted asm this time

* review

* review 2

Co-authored-by: fig02 <fig02srl@gmail.com>
This commit is contained in:
EllipticEllipsis 2020-12-06 07:38:16 +00:00 committed by GitHub
parent 6b6c30cded
commit 9d63626343
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 314 additions and 880 deletions

View file

@ -1,30 +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_Changer_InitVars
.word 0x01550600, 0x00000000, 0x00010000, 0x0000016C
.word EnChanger_Init
.word EnChanger_Destroy
.word EnChanger_Update
.word 0x00000000
glabel D_809D30A0
.word 0x00000000, 0x00000000, 0x00000000, 0xC2C80000, 0x41A00000, 0xC3750000, 0xC2C80000, 0x41A00000, 0xC42B4000, 0xC2C80000, 0x41A00000, 0xC48CA000, 0xC2C80000, 0x41A00000, 0xC4C3A000, 0xC2C80000, 0x41A00000, 0xC4FAA000
glabel D_809D30E8
.word 0x00000000, 0x00000000, 0x00000000, 0x430C0000, 0x41A00000, 0xC3750000, 0x430C0000, 0x41A00000, 0xC42B4000, 0x430C0000, 0x41A00000, 0xC48CA000, 0x430C0000, 0x41A00000, 0xC4C3A000, 0x430C0000, 0x41A00000, 0xC4FAA000
glabel D_809D3130
.word 0x00000000, 0x00000072, 0x00000072, 0x00000073, 0x00000073, 0x00000074
glabel D_809D3148
.word 0x00000000, 0x00000008, 0x00000008, 0x00000009, 0x00000009, 0x0000000A
glabel D_809D3160
.word 0x00000000, 0x00000002, 0x00000004, 0x00000006, 0x00000008
glabel D_809D3174
.word 0x0000000A, 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_809D3460
.incbin "baserom/ovl_En_Changer", 0xDD0, 0x00000150