Skip to content

Commit

Permalink
Decompile RBO3 Functions
Browse files Browse the repository at this point in the history
Decompiles `func_us_80191438`, `func_us_8019179C`, and
`func_us_80192B38`.

Imports `func_us_80192020` and `func_us_80192998` from Xeeynamo#557.
  • Loading branch information
hohle committed Oct 18, 2024
1 parent f379677 commit b8f34c1
Show file tree
Hide file tree
Showing 5 changed files with 666 additions and 16 deletions.
1 change: 1 addition & 0 deletions config/symbols.us.borbo3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,4 @@ UnkPolyFunc2 = 0x8019E960;
UnkPolyFunc0 = 0x8019E9B4;
PrimDecreaseBrightness = 0x8019E9E0;
EntityLifeUpSpawn = 0x8019EA44;
EntityMedusa = 0x8019179C;
8 changes: 8 additions & 0 deletions include/entity.h
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,13 @@ typedef struct {
/* 0x80 */ s32 unk80;
} ET_RoomTransition2;

typedef struct {
/* 0x7C */ char pad_7C[0x4];
/* 0x80 */ u8* anim;
/* 0x84 */ char pad_84[0x8];
/* 0x8C */ s32 accelY;
} ET_80192998;

typedef struct {
/* 0x7C */ u8 pad0[0x4];
/* 0x80 */ u8* anim;
Expand Down Expand Up @@ -1913,6 +1920,7 @@ typedef union { // offset=0x7C
ET_Succubus succubus;
ET_StageTitleCard stageTitleCard;
ET_RoomTransition2 roomTransition2;
ET_80192998 e_80192998;
ET_WargExplosionPuffOpaque wargpuff;
ET_FireWarg fireWarg;
ET_FireWargHelper fireWargHelper;
Expand Down
14 changes: 14 additions & 0 deletions include/sfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,19 @@ enum SfxModes {
#define SE_TREE_BRANCH_SNAP 0x7A4
#define SE_CASTLE_GATE_RISE 0x7A5

// BOSS RBO3 - Medusa
#define SFX_RBO3_UNK_7C5 0x7C5
#define SFX_RBO3_UNK_7C8 0x7C8
#define SFX_RBO3_UNK_7D1 0x7D1
#define SFX_RBO3_UNK_7FB 0x7FB
#define SFX_RBO3_UNK_7FD 0x7FD
#define SFX_RBO3_UNK_7FE 0x7FE
#define SFX_RBO3_UNK_7FF 0x7FF
#define SFX_RBO3_UNK_801 0x801
#define SFX_RBO3_UNK_802 0x802
#define SFX_RBO3_UNK_804 0x804


// SHARED SOUNDS
// These are sounds that are shared across multiple BIN files
#define SE_BOSS_DEFEATED 0x7D2
Expand All @@ -283,6 +296,7 @@ enum SfxModes {
// UNUSED SOUNDS
#define NA_VO_MAR_AIM_HEAD 0x87F


// The VAB IDs appear in large chunks so all sounds proceeding
// a vabid label comment will belong in that VAB group unless noted.

Expand Down
Loading

0 comments on commit b8f34c1

Please sign in to comment.