Repository navigation
Conversation
added 3 commits
December 1, 2026 09:02
…e functions d_a_b_bigbossbase: - Header layout for the shared base: model wrapper (dBigBossMdlBase_c), toes (dBigBossToe_c), joint/hair callbacks, path, hit parts, counters - Animation core (setAnm/playAnm/bindAnmChr, colour/texture anims), model create helpers, update/updateStoneMdl - Foot tilt, ground slope, rumble and sound helpers, collision callbacks, small per-state hooks d_a_b_bigboss: - Model overrides vt_0x48/4C/5C/60 (foot tilt, stomp rumble and effects) - createHeap, actorCreate, actorExecute, draw - Collider source tables, hit-point table, stomp rumble pickers, foot/leg collision helpers - 98 of 104 state functions; the execute functions of AppearDemo, Stun, StunRecover, StunDamage, StunFrontFall and Evacuation remain - Zero-initialised statics need #pragma explicit_zero_data; actorExecute is compiled with #pragma dont_inline Shared header changes: - dAcNpc_c vt 0x120 takes (s32, s32); symbols renamed in the DOL, d_a_npc_rival_lod and d_a_npc_saltalk - New accessors on dLytMeter_c, dStageMgr_c and dSndBgmMgr_c
…all execute - executeState_Stun (95.9%): collapse camera and ground probe that picks the pitch the boss lies at - executeState_StunRecover (92.4%) and executeState_StunDamage (93.8%): camera pull-back from the stone while the boss stands up, then the choice between ImpaAdvice, FrontFall and Walk - executeState_StunFrontFall (91.6%): forward topple, with a camera that slides along walls it would clip through - Event-camera angle fields are mAng (mCamEyeAngle, mWallCamAngle); more base/actor fields named - Five more zero words in .data are function-local statics; named @Local@ in symbols.txt with the data blobs split around them
AppearDemo (99.06%) is the intro cutscene: the boss rises out of the ground with screen shake and a light blend, roars while the BOSS_03 caption shows, then walks off or talks to Impa. A skip handler jumps to the end state. Evacuation (94.85%) carries the stone off: the boss roars, the stone breaks loose and spins, then flies up and lands at the next spot. It ends in SwordGameEnd or StoneWait depending on story flags. Its opening camera code is the same block as StunDamage's. d_a_b_bigboss goes from 48.16% to 59.83% fuzzy. Supporting changes: - dAcNpc_c::acNpc_vt_0x124 takes (s32, s32); its symbol is renamed in the main, d_a_npc_rival_lod and d_a_npc_saltalk symbol files - setLightBlend's second parameter is s16; give fn_120_1490, fn_120_7B00, fn_120_B570 and fn_120_B6D0 signatures and rename their symbols in the bigbossbase REL - Name new bigboss/bigbossbase fields and ground cover fields 0x681-0x685 - Name the zero-initialised local statics in AppearDemo and Evacuation in the bigboss symbol file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
d_a_b_bigboss / d_a_b_bigbossbase: partial decompilation
This is a first big pass at the Ghirahim-era Imprisoned boss: the
dAcBBigbossbase_cbase REL and thedAcBBigBoss_cactor. Both units stayNonMatching.d_a_b_bigbossd_a_b_bigbossbased_a_b_bigbossbase
dBigBossMdlBase_c)dBigBossToe_c)setAnm,playAnm,bindAnmChr, colour and texture animsupdateandupdateStoneMdld_a_b_bigboss
createHeap,actorCreate,actorExecuteanddrawChanges outside these units
dAcNpc_c::acNpc_vt_0x124now takes(s32, s32), since the boss calls it with two arguments. Its weak default is renamed in the DOL,d_a_npc_rival_lodandd_a_npc_saltalksymbol files. All three still match.dLytMeter_c,dStageMgr_c,dSndBgmMgr_canddPath_c.dAcOgroundCover_c(0x681–0x685).Notes for review
.dataare function-local statics. They are named@LOCAL@<fn>@<name>@Ninsymbols.txt, with the surrounding data blobs split around them. The bigboss unit needs#pragma explicit_zero_datato place them.actorExecuteis compiled under#pragma dont_inline.d_a_b_bigbossbase.cppare empty stubs that keep the vtable and function order (marked with aTODO). They are not decompiled yet.TODOcomments explaining them.fn_121_FD10,fn_121_9A90,vt_0xBC,fn_120_B820,dBigBossToe_c::updateand others.The full build passes
build/SOUE01/ok, and no other unit regressed in the objdiff report.