mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +00:00
Decompile En_Mag (#406)
* Decompile En_Mag * Document En_Mag * Address some review comments
This commit is contained in:
parent
201584a707
commit
2a9225763b
18 changed files with 607 additions and 2447 deletions
|
@ -1,32 +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_Mag_InitVars
|
||||
.word 0x01710600, 0x00000030, 0x014A0000, 0x0000E328
|
||||
.word EnMag_Init
|
||||
.word EnMag_Destroy
|
||||
.word EnMag_Update
|
||||
.word EnMag_Draw
|
||||
glabel D_80AA5EC0
|
||||
.word 0x00000000
|
||||
glabel D_80AA5EC4
|
||||
.word 0x00000000
|
||||
glabel D_80AA5EC8
|
||||
.word 0x00000000
|
||||
glabel D_80AA5ECC
|
||||
.word 0x00000000
|
||||
glabel D_80AA5ED0
|
||||
.word 0x17180C18, 0x171D1B18, 0x15150E1B
|
||||
glabel D_80AA5EDC
|
||||
.word 0x191B0E1C, 0x1C1C1D0A, 0x1B1D0000
|
||||
glabel D_80AA5EE8
|
||||
.word 0x06020000, 0x06020800, 0x06021000, 0x06021800, 0x06022000, 0x06022800, 0x06023000, 0x06023800, 0x06024000, 0x00000000
|
||||
|
|
@ -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_80AA5F40
|
||||
.incbin "baserom/ovl_En_Mag", 0x2440, 0x00000110
|
Loading…
Add table
Add a link
Reference in a new issue