Skip to content

zCinematic small matches#738

Open
LSLees wants to merge 2 commits into
bfbbdecomp:mainfrom
LSLees:zCinematic
Open

zCinematic small matches#738
LSLees wants to merge 2 commits into
bfbbdecomp:mainfrom
LSLees:zCinematic

Conversation

@LSLees
Copy link
Copy Markdown
Contributor

@LSLees LSLees commented Apr 23, 2026

No description provided.

@github-actions
Copy link
Copy Markdown

main/SB/Game/zNPCFXCinematic

Section From To Bytes
📈 .rodata 11.73% 12.30% +21
📈 .text 21.94% 23.62% +295
Function From To Bytes
📈 NCINBeNosey::Init(const zCutsceneMgr*, NCINEntry*, int) 0.00% 96.25% +15
NCINBeNosey::Done() 0.00% 100.00% +20
NCIN_MidFish_Upd(const zCutsceneMgr*, NCINEntry*, int) 0.00% 100.00% +24
NCIN_BombTrail_Upd(const zCutsceneMgr*, NCINEntry*, int) 0.00% 100.00% +24
NCIN_BombTrail_AR(const zCutsceneMgr*, NCINEntry*, RpAtomic*, RwMatrixTag*, unsigned int, unsigned int) 0.00% 100.00% +48
NCIN_BoneTrail_Upd(const zCutsceneMgr*, NCINEntry*, int) 0.00% 100.00% +24
NCIN_BoneTrail_AR(const zCutsceneMgr*, NCINEntry*, RpAtomic*, RwMatrixTag*, unsigned int, unsigned int) 0.00% 100.00% +48
NCIN_HookRecoil_Upd(const zCutsceneMgr*, NCINEntry*, int) 0.00% 100.00% +24
NCIN_SpatGlow_Upd(const zCutsceneMgr*, NCINEntry*, int) 0.00% 100.00% +24
xCutscene::NoseyClear() 0.00% 100.00% +36
xCutscene::NoseySet(XCSNNosey*) 0.00% 100.00% +8

{
this->use_fxtab = e;
this->x = i;
this->use_csnmgr = (zCutsceneMgr*)m;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you checked if the use_csnmgr field on this class can be const zCutsceneMgr* here instead of zCutsceneMgr* to avoid the need to cast away constness here?

{
zCutsceneMgr* use_csnmgr;
NCINEntry* use_fxtab;
S32 x;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this field in the dwarf for this class. Let's review the asm that's accessing this field and see if we can figure out what's really going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants