Skip to content

MarNameRefGen#92

Open
hyblocker wants to merge 3 commits intodoldecomp:mainfrom
hyblocker:marnamerefgen
Open

MarNameRefGen#92
hyblocker wants to merge 3 commits intodoldecomp:mainfrom
hyblocker:marnamerefgen

Conversation

@hyblocker
Copy link
Contributor

mostly decomp the MarNameRefGen classes; can't be 100% matching yet because we still need to decompile the classes they reference

@decomp-dev
Copy link

decomp-dev bot commented Mar 13, 2026

Report for GMSJ01 (5461746 - 6633f74)

📈 Matched code: 27.70% (+0.04%, +1320 bytes)
📈 Matched data: 31.14% (+0.01%, +48 bytes)

✅ 12 new matches
Unit Item Bytes Before After
mario/System/MarNameRefGen_MapObj TFenceWater::~TFenceWater() +156 0.00% 100.00%
mario/System/MarNameRefGen_MapObj TItem::~TItem() +156 0.00% 100.00%
mario/System/MarNameRefGen_MapObj TMapObjChangeStage::~TMapObjChangeStage() +132 0.00% 100.00%
mario/System/MarNameRefGen_MapObj THideObjBase::~THideObjBase() +132 0.00% 100.00%
mario/System/MarNameRefGen_MapObj TFence::~TFence() +132 0.00% 100.00%
mario/System/MarNameRefGen_MapObj TSandLeaf::~TSandLeaf() +132 0.00% 100.00%
mario/System/MarNameRefGen_MapObj TMapObjGeneral::~TMapObjGeneral() +132 0.00% 100.00%
mario/System/MarNameRefGen_MapObj TJuiceBlock::~TJuiceBlock() +132 0.00% 100.00%
mario/System/MarNameRefGen_MapObj TMapObjBase::~TMapObjBase() +108 0.00% 100.00%
mario/System/MarNameRefGen_MapObj THitActor::~THitActor() +108 0.00% 100.00%
mario/System/MarNameRefGen_Map .sdata2 +40 0.00% 100.00%
mario/System/MarNameRefGen_NPC .sdata2 +8 0.00% 100.00%
📈 13 improvements in unmatched items
Unit Item Bytes Before After
mario/System/MarNameRefGen_MapObj TMarNameRefGen::getNameRef_MapObj(const char*) const +10281 0.00% 73.14%
mario/System/MarNameRefGen_MapObj .rodata +4477 0.00% 85.45%
mario/System/MarNameRefGen_Enemy TMarNameRefGen::getNameRef_Enemy(const char*) const +3328 0.00% 39.66%
mario/System/MarNameRefGen_Enemy .rodata +2917 0.00% 61.70%
mario/System/MarNameRefGen_NPC TMarNameRefGen::getNameRef_NPC(const char*) const +1970 0.00% 50.05%
mario/System/MarNameRefGen_BossEnemy TMarNameRefGen::getNameRef_BossEnemy(const char*) const +591 0.00% 22.11%
mario/System/MarNameRefGen_Map TMarNameRefGen::getNameRef_Map(const char*) const +575 0.00% 69.89%
mario/System/MarNameRefGen_BossEnemy .rodata +564 0.00% 33.11%
mario/System/MarNameRefGen_NPC .rodata +557 0.00% 52.37%
mario/System/MarNameRefGen_MapObj .sdata2 +362 0.00% 90.68%
mario/System/MarNameRefGen_Map .rodata +197 0.00% 44.06%
mario/System/MarNameRefGen_Enemy .sdata2 +95 0.00% 38.44%
mario/System/MarNameRefGen_BossEnemy .sdata2 +3 0.00% 6.15%

@Mrkol
Copy link
Collaborator

Mrkol commented Mar 13, 2026

Why'd you put the name into the ctor's default value in some cases but not in others? From what I see, it should be placed there in a bunch more cases present here, because the name is an unambiguous translation of the class name to Japanese

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