mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +00:00
Decompile Bg Jya Cobra (#588)
* Start work on Jya Cobra * Match two functions * Work on func_80896ABC * func_80896CB4 and most of func_80896D78 * Fix func_80895BEC, clean up func_80896ABC * Work on func_80896EE4 * Match func_80896EE4 * Nearly match func_80895A70, finish BgJyaCobra_Draw * Match func_808969F8, start on func_80895C74 * Work on func_80895C74 and func_80895EF0, data move Also ran permuter * Some cleanup * Almost match func_80895C74, tiny bit of work on func_80895EF0 * Remove variables in func_80895EF0 * Make init match nicer * Work on func_80896518 * Progress in func_80896518 * Figured something out in func_80896518 Going to experiment with stack stuff * func_80896518 has tiny stack and regalloc issues * Work on func_80895EF0 * Some work on func_80895EF0 * Update diff script * Work on func_90995EF0 Use 2d array indexing in func_80895EF0 Small regalloc improvement in func_80896518 Change not equal to to less than where possible * match func_80896ABC and func_80896D78 * Improve func_80895EF0 a bit * Do some cleanup * Change commented out functions to ifdefs * Another bit of cleanup * Run formatter * Remove now unused include * Another another bit of cleanup * Revert update to diff script * PR suggestions * PR comments * PR comments, a bit of documentation * Run formatter * Apply suggestions from code review Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * More PR comments * actor fixes Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> Co-authored-by: Fig02 <fig02srl@gmail.com>
This commit is contained in:
parent
70a3acf111
commit
3f669bea1e
24 changed files with 690 additions and 1066 deletions
|
@ -1,52 +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_80897270
|
||||
.word 0xFCE00000, 0xFCE00000, 0x00000800, 0xFFFFFFFF, 0x03200000, 0xFCE00000, 0x08000800, 0xFFFFFFFF, 0x03200000, 0x03200000, 0x08000000, 0xFFFFFFFF, 0xFCE00000, 0x03200000, 0x00000000, 0xFFFFFFFF
|
||||
glabel D_808972B0
|
||||
.word 0xE7000000, 0x00000000, 0xFC3097FF, 0xFFFFFE38, 0xE200001C, 0x0C184DD8, 0xD9F0FBFF, 0x00000000, 0x01004008
|
||||
.word D_80897270
|
||||
.word 0x06000204, 0x00000406, 0xDF000000, 0x00000000
|
||||
glabel Bg_Jya_Cobra_InitVars
|
||||
.word 0x00FC0600, 0x00000010, 0x00F10000, 0x000011A4
|
||||
.word BgJyaCobra_Init
|
||||
.word BgJyaCobra_Destroy
|
||||
.word BgJyaCobra_Update
|
||||
.word BgJyaCobra_Draw
|
||||
glabel D_80897308
|
||||
.word 0x00000000, 0x00000000
|
||||
glabel D_80897310
|
||||
.word 0x01000100
|
||||
glabel D_80897314
|
||||
.word 0xC0000000, 0x40000000
|
||||
glabel D_8089731C
|
||||
.word 0x00002080, 0x80808080, 0x20000000, 0x2080A0A3, 0xA3A3A080, 0x20002080, 0xA0A5A6A6, 0xA6A5A080, 0x2080A0A5, 0xA6A6A6A6, 0xA6A5A080, 0x80A3A6A6, 0xA6A6A6A6, 0xA6A38080, 0xA3A6A6A6, 0xA6A6A6A6, 0xA38080A3, 0xA6A6A6A6, 0xA6A6A6A3, 0x8080A0A5, 0xA6A6A6A6, 0xA6A5A080, 0x2080A0A5, 0xA6A6A6A5, 0xA0802000, 0x2080A0A3, 0xA3A3A080, 0x20000000, 0x20808080, 0x80802000, 0x00000000
|
||||
glabel D_80897398
|
||||
.word 0x20802080, 0xA0802080, 0x20000000
|
||||
glabel D_808973A4
|
||||
.word 0xC0C00000, 0x42C80000, 0x40F33333
|
||||
glabel D_808973B0
|
||||
.word 0xC149999A, 0x428A6667, 0xC1200000, 0xC1100000, 0x422C0000, 0xBF800000, 0xC0400000, 0x41700000, 0x4109999A, 0xC109999A, 0x41700000, 0x41580000, 0xC0D33333, 0x41D00000, 0x4139999A, 0xC1480000, 0x422C0000, 0x41000000, 0xC189999A, 0x428C0000, 0x3F19999A, 0xC1000000, 0x42C80000, 0x40F33333, 0x40C00000, 0x42C80000, 0x40F33333, 0x4149999A, 0x428A6667, 0xC1200000, 0x41100000, 0x422C0000, 0xBF800000, 0x40400000, 0x41700000, 0x4109999A, 0x4109999A, 0x41700000, 0x41580000, 0x40D33333, 0x41D00000, 0x4139999A, 0x41480000, 0x422C0000, 0x41000000, 0x4189999A, 0x428C0000, 0x3F19999A, 0x41000000, 0x42C80000, 0x40F33333, 0x00000000, 0x428C0000, 0xC134CCCD, 0x00000000, 0x42326667, 0xC0000000, 0x00000000, 0x41700000, 0x4129999A, 0x00000000, 0x41700000, 0x3E99999A, 0x00000000, 0x41D00000, 0x4139999A, 0x00000000, 0x42B0CCCD, 0xBFB33333, 0x00000000, 0x42BF6667, 0x416E6667, 0x00000000, 0x42CACCCD, 0x40A00000
|
||||
glabel D_808974DC
|
||||
.word 0x41400000, 0x41AA6667, 0xC0200000
|
||||
glabel D_808974E8
|
||||
.word 0x41F00000, 0x41AA6667, 0xC0200000, 0xC1700000, 0x41AA6667, 0xC0200000, 0xC1F00000, 0x41AA6667, 0xC0200000, 0x41400000, 0x41AA6667, 0xC0200000
|
||||
glabel D_80897518
|
||||
.word 0x00000080, 0x000000A0, 0x000000A0, 0x00000080
|
||||
glabel D_80897528
|
||||
.word 0xC8500064, 0xB0F403E8, 0xB0F80320, 0x30FC03E8
|
||||
glabel D_80897538
|
||||
.word 0x0000C000, 0x00000000
|
||||
glabel D_80897540
|
||||
.word 0x00004000, 0x00000000
|
||||
glabel D_80897548
|
||||
.word 0x3DCCCCCD, 0x3DCCCCCD, 0x3DCCCCCD, 0x3D9374BC, 0x3D9374BC, 0x3D9374BC, 0x3DCCCCCD, 0x3DCCCCCD, 0x3E072B02, 0x00000000
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue