Skip to content

Enemy/Bosswanwan, TBossWanwan::{createEnemyInstance(), shakeCamera(), kill(), receiveMessage()} - #159

Draft
MagiHotline wants to merge 4 commits into
doldecomp:mainfrom
MagiHotline:bosswanwan
Draft

Enemy/Bosswanwan, TBossWanwan::{createEnemyInstance(), shakeCamera(), kill(), receiveMessage()} #159
MagiHotline wants to merge 4 commits into
doldecomp:mainfrom
MagiHotline:bosswanwan

Conversation

@MagiHotline

Copy link
Copy Markdown

What does this PR contain

Draft PR focusing on the TBossWanwan (Boss Chain Chomp) TU.
Decompilation and verification were done manually using Ghidra and objdiff.

Symbol Status:

  • TBossWanwanManager::createEnemyInstance(): 99%
  • TBossWanwan::TBossWanwan(const char*): 100%
  • TBossWanwan::kill(): 100%
  • TBossWanwan::receiveMessage(THitActor*, u32): 91% (minor register/instruction differences remaining)
  • TBossWanwan::shakeCamera(int): 77% (stack frame / floating-point scheduling in progress)

Notes

Added initial declarations and member layouts in BossWanwan.hpp to support BossWanwan.cpp.
Aligned internal actor flags and constants with their respective enum types where identified across related classes.

@MagiHotline
MagiHotline marked this pull request as draft September 8, 2026 15:22
Comment thread src/Enemy/bosswanwan.cpp Outdated
Comment thread src/Enemy/bosswanwan.cpp Outdated
Comment thread src/Enemy/bosswanwan.cpp Outdated
Comment thread src/Enemy/bosswanwan.cpp Outdated
- fixed to SMSGetSound instead of other API
- used Particles.hpp enum and created a new one based off modders tables
- used msSqrtf instead of fabricated match
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