mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 06:24:30 +00:00
Decompile most of ovl_En_Horse_Ganon (#108)
* Work on horse ganon * Match destroy, init matches but need mv data -> .c * Match EnHorseGanon_Draw and func_80A68E14 * Move some data to .c * Decomp func_80A68870 * EnHorseGanon_Update nearly matches * func_80A68FA8 and func_80A686A8 match * Fix EnHorseGanon_Init, start on func_80A68B20 * match func_80A68B20 * Migrate data but something doesn't match * Matches with migrated data, fix most warnings * Rename some variables, some clean up * A little more cleanup before PR * Move commented out code to NON_MATCHING blocks * Run formatter and delete unused line, char -> u8 * Update function was matched Also imports another type from z_skin.Seeing as they are somewhat tentative I decided not to put them in any global file. * Update src/overlays/actors/ovl_En_Horse_Ganon/z_en_horse_ganon.c Co-authored-by: Random <28494085+Random06457@users.noreply.github.com> * PR Changes * Apply suggestions from code review Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * PR Changes round 2 Co-authored-by: Random <28494085+Random06457@users.noreply.github.com> Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
This commit is contained in:
parent
10d45ed7ea
commit
a65554d586
19 changed files with 307 additions and 791 deletions
|
@ -1,43 +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 purposee registers
|
||||
|
||||
.section .data
|
||||
|
||||
glabel En_Horse_Ganon_InitVars
|
||||
.word 0x00420100, 0x00000010, 0x002D0000, 0x000002A8
|
||||
.word EnHorseGanon_Init
|
||||
.word EnHorseGanon_Destroy
|
||||
.word EnHorseGanon_Update
|
||||
.word EnHorseGanon_Draw
|
||||
glabel D_80A691B0
|
||||
.word 0x06004AA4, 0x06005264, 0x06005B78, 0x06002CE4
|
||||
glabel D_80A691C0
|
||||
.word 0x06002650, 0x06003858
|
||||
glabel D_80A691C8
|
||||
.word 0x3F2AAAAB, 0x3F2AAAAB, 0x3F800000, 0x3F800000, 0x3F800000, 0x3F2AAAAB
|
||||
glabel D_80A691E0
|
||||
.word 0x0A000039, 0x12010000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000100, 0x00280064, 0x00000000, 0x00000000
|
||||
glabel D_80A6920C
|
||||
.word 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000100, 0x0D000000, 0x00000000, 0x00140064
|
||||
glabel D_80A69230
|
||||
.word 0x0A000939, 0x12000000, 0x00000001
|
||||
.word D_80A6920C
|
||||
glabel D_80A69240
|
||||
.word 0x0A000023, 0x0064FE00
|
||||
glabel D_80A69248
|
||||
.byte 0x09, 0xB8, 0x01, 0x26, 0x0E, 0x2C
|
||||
glabel D_80A6924E
|
||||
.byte 0x07, 0x00, 0x0C, 0x11, 0x01, 0x7A, 0x12, 0x69, 0x07, 0x00, 0x06, 0x4E, 0xFE, 0xFB, 0x1D, 0xAC, 0x07, 0x00, 0x02, 0xF2, 0xFF, 0x45, 0x24, 0x4F, 0x07, 0x00, 0xF9, 0x6E, 0xFE, 0x0C, 0x31, 0x22, 0x07, 0x00, 0xF3, 0x28, 0xFE, 0x0C, 0x32, 0xD5, 0x07, 0x00, 0xEB, 0xEA, 0xFE, 0x5F, 0x2D, 0x6E, 0x07, 0x00, 0xE9, 0x5E, 0xFE, 0x27, 0x25, 0x65, 0x07, 0x00, 0xE5, 0x93, 0xFE, 0x0C, 0x20, 0xAC, 0x07, 0x00, 0xE6, 0x25, 0xFE, 0x77, 0x1B, 0x07, 0x07, 0x00, 0xEB, 0xB7, 0x00, 0x7C, 0x15, 0x39, 0x07, 0x00, 0xF4, 0x66, 0x00, 0x02, 0x11, 0xB9, 0x07, 0x00, 0xF4, 0x7B, 0xFF, 0xDD, 0x11, 0xAF, 0x07, 0x00, 0xF8, 0x8D, 0xFF, 0xD1, 0x0B, 0xA2, 0x07, 0x00
|
||||
glabel D_80A692B8
|
||||
.word 0x00000000, 0x00000010
|
||||
glabel D_80A692C0
|
||||
.word 0x30F804B0
|
||||
glabel D_80A692C4
|
||||
.word func_80A68AF0
|
||||
.word func_80A68DB0
|
||||
.word 0x00000000
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue