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 c0ced0b commit 3af117f
Show file tree
Hide file tree
Showing 5 changed files with 659 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 @@ -7,6 +7,7 @@ g_eBreakableDrawModes = 0x801805E0;
func_801A7D64 = 0x80191080;
EntityUnkId12 = 0x80191148;
EntityBreakable = 0x80191304;
EntityMedusa = 0x8019179C;
Random = 0x80193198;
Update = 0x801931C8;
UpdateStageEntities = 0x801934C4;
Expand Down
8 changes: 8 additions & 0 deletions include/entity.h
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,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 @@ -1922,6 +1929,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
12 changes: 12 additions & 0 deletions include/sfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,18 @@ 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 Down
Loading

0 comments on commit 3af117f

Please sign in to comment.