z_en_kakasi.c OK (#428)

* Starts decompiling z_en_kakasi

* Destroy

* EnKakasi_Init

* func_80A8F660

* func_80A8F75C

* func_80A8F28C

* func_80A8F320 equivalent, non matching due to regalloc

* EnKakasi_Draw

* func_80A8FBB8

* func_80A8FAA4

* func_80A8F9C8

* z_en_kakasi.c OK (1 equivalent, 1 non-matching)

* Fixed one non matching

* z_en_kakasi.c OK

* Removes unused asm

* Some fixes

* Additional fixes

* PR fixes

* Rename angle reference to yaw

* Change low rotation values to decimal

Co-authored-by: i82orbom <i82orbom i82orbom@github>
This commit is contained in:
i82orbom
2020-10-04 18:17:54 +02:00
committed by GitHub
parent 353d4d134f
commit 9bfad1ebd6
18 changed files with 331 additions and 983 deletions
-21
View File
@@ -1,21 +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_80A8FDE0
.word 0x0A000039, 0x20010000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00040100, 0x00140046, 0x00000000, 0x00000000
glabel En_Kakasi_InitVars
.word 0x017B0400, 0x02000009, 0x01540000, 0x0000020C
.word EnKakasi_Init
.word EnKakasi_Destroy
.word EnKakasi_Update
.word EnKakasi_Draw
.word 0x00000000
-13
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_80A8FF10
.incbin "baserom/ovl_En_Kakasi", 0xDA0, 0x00000100