1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-14 05:19:36 +00:00
oot/data/overlays/effects/z_eff_ss_kakera.data.s
Roman971 e29b77919b
Decompile most effect files in "code" (#144)
- `z_effect`: Matched and essentially all documented.
- `z_eff_spark.c`: Decompiled (1 non matching left) and mostly documented.
- `z_eff_shield_particle.c`: Matched and mostly documented.
- `z_eff_blure.c`: Decompiled (5 non matchings left) and partially documented.
- `z_effect_soft_sprite.c`: Matched and mostly documented.
- `z_eff_ss_dead.c`: Matched but not documented.
- `z_effect_soft_sprite_dlftbls.c`: "Matched" (only data, contains the effect ss overlay table).
- `z_effect_soft_sprite_old_init.c`: Not decompiled, but functions are categorized by effect ss overlay. And they should be decompiled at the same time as their corresponding effect ss in the future.

Other changes:
- Added a lot of types/enums to `z64effect.h`and moved+renamed some structs from `z64.h` to this header
- Added effect ss overlay segments to `segment_symbols.h` and effect ss init vars to `initvars.h`
- Added a macro called `VTX_T` to generate a `Vtx_t` in the same style as `VTX`
- Fixed `flg_set.c` .bss to be in the right file
- Removed `tools/overlayhelpers/batchdisasm` since it's no longer relevant
- Removed unused leftover asm from recent PRs
2020-05-18 14:24:00 -04:00

36 lines
991 B
ArmAsm

.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 Effect_Ss_Kakera_InitVars
.word 0x00000019
.word func_809A9680
glabel D_809AA528
.word 0xFFFFFFEB, 0xAA820000
glabel D_809AA530
.word 0x3F800000, 0x42C80000, 0x42200000, 0x40A00000, 0x42C80000, 0x42200000, 0x40A00000, 0x42C80000, 0x42200000, 0x40A00000
glabel D_809AA558
.word 0x3D4CCCCD, 0x3F800000
glabel D_809AA560
.word 0x40800000, 0x3DCCCCCD, 0x3E99999A, 0x3F666666, 0xBDCCCCCD, 0xBE99999A, 0xBF666666
glabel D_809AA57C
.word 0x3DCCCCCD, 0x3F800000, 0x40C00000
glabel D_809AA588
.word func_809A9DD8
.word func_809A9DEC
.word func_809A9DEC
.word func_809A9DEC
.word func_809A9E28
.word func_809A9E28
.word func_809A9E28
.word func_809A9E68
.word func_809A9E68
.word func_809A9E68
glabel D_809AA5B0
.word 0x41200000, 0x41A00000, 0x42200000, 0x00000000