Skip to content

d_a_e_dd equivalent#2587

Merged
hatal175 merged 4 commits intozeldaret:mainfrom
carter-ktb21:d_a_e_dd
Aug 15, 2025
Merged

d_a_e_dd equivalent#2587
hatal175 merged 4 commits intozeldaret:mainfrom
carter-ktb21:d_a_e_dd

Conversation

@carter-ktb21
Copy link
Copy Markdown
Contributor

For some reason, my bss data is off by one byte. Not sure if that's just padding or something else.

@decomp-dev
Copy link
Copy Markdown

decomp-dev bot commented Aug 14, 2025

Report for GZ2E01 (0e8d06c - 2e55825)

📈 Matched code: 77.97% (+0.17%, +19240 bytes)

✅ 41 new matches
Unit Function Bytes Before After
d_a_e_dd/d/actor/d_a_e_dd anm_se_set(e_dd_class*) +1949 0.20% 100.00%
d_a_e_dd/d/actor/d_a_e_dd daE_DD_Execute(e_dd_class*) +1648 0.24% 100.00%
d_a_e_dd/d/actor/d_a_e_dd e_dd_normal(e_dd_class*) +1544 0.26% 100.00%
d_a_e_dd/d/actor/d_a_e_dd e_dd_wall(e_dd_class*) +1477 0.27% 100.00%
d_a_e_dd/d/actor/d_a_e_dd action(e_dd_class*) +1329 0.30% 100.00%
d_a_e_dd/d/actor/d_a_e_dd daE_DD_Create(fopAc_ac_c*) +988 0.40% 100.00%
d_a_e_dd/d/actor/d_a_e_dd e_dd_attack(e_dd_class*) +853 0.47% 100.00%
d_a_e_dd/d/actor/d_a_e_dd damage_check(e_dd_class*) +816 0.49% 100.00%
d_a_e_dd/d/actor/d_a_e_dd e_dd_taildamage(e_dd_class*) +716 0.56% 100.00%
d_a_e_dd/d/actor/d_a_e_dd e_dd_run(e_dd_class*) +633 0.63% 100.00%
d_a_e_dd/d/actor/d_a_e_dd useHeapInit(fopAc_ac_c*) +608 0.65% 100.00%
d_a_e_dd/d/actor/d_a_e_dd e_dd_bombdamage(e_dd_class*) +585 0.68% 100.00%
d_a_e_dd/d/actor/d_a_e_dd e_dd_arrowdamage(e_dd_class*) +564 0.70% 100.00%
d_a_e_dd/d/actor/d_a_e_dd s_b_sub(void*, void*) +560 0.71% 100.00%
d_a_e_dd/d/actor/d_a_e_dd path_check(e_dd_class*) +552 0.72% 100.00%
d_a_e_dd/d/actor/d_a_e_dd nodeCallBack(J3DJoint*, int) +464 0.85% 100.00%
d_a_e_dd/d/actor/d_a_e_dd kabe_initial_pos_set(e_dd_class*) +448 0.88% 100.00%
d_a_e_dd/d/actor/d_a_e_dd e_dd_fall(e_dd_class*) +376 1.05% 100.00%
d_a_e_dd/d/actor/d_a_e_dd way_bg_check(e_dd_class*, float) +265 1.49% 100.00%
d_a_e_dd/d/actor/d_a_e_dd e_dd_dead(e_dd_class*) +261 1.52% 100.00%
d_a_e_dd/d/actor/d_a_e_dd daE_DD_Draw(e_dd_class*) +252 1.56% 100.00%
d_a_e_dd/d/actor/d_a_e_dd way_gake_check(e_dd_class*, float) +252 1.56% 100.00%
d_a_e_dd/d/actor/d_a_e_dd otherBgCheckS(fopAc_ac_c*, fopAc_ac_c*) +221 1.79% 100.00%
d_a_e_dd/d/actor/d_a_e_dd e_dd_guard(e_dd_class*) +205 1.92% 100.00%
d_a_e_dd/d/actor/d_a_e_dd dCcD_Sph::~dCcD_Sph() +200 1.96% 100.00%
d_a_e_dd/d/actor/d_a_e_dd anm_init(e_dd_class*, int, float, unsigned char, float) +169 2.33% 100.00%
d_a_e_dd/d/actor/d_a_e_dd dCcD_Sph::dCcD_Sph() +129 3.03% 100.00%
d_a_e_dd/d/actor/d_a_e_dd pl_check(e_dd_class*, float, short) +120 3.23% 100.00%
d_a_e_dd/d/actor/d_a_e_dd dBgS_ObjAcch::~dBgS_ObjAcch() +109 3.57% 100.00%
d_a_e_dd/d/actor/d_a_e_dd dBgS_AcchCir::~dBgS_AcchCir() +109 3.57% 100.00%

...and 11 more new matches

i_this->mAtInfo.mpCollider = i_this->field_0xa74[2].GetTgHitObj();
at_power_check(&i_this->mAtInfo);

if (i_this->mAtInfo.mHitType == 16) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Use HIT_TYPE_STUN

i_this->mAtInfo.mpCollider = i_this->field_0xa74[i].GetTgHitObj();
at_power_check(&i_this->mAtInfo);

if (i_this->mAtInfo.mHitType == 16) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

HIT_TYPE_STUN

daE_DD_HIO_c l_HIO;

/* 806A74F0-806A75EF 000040 00FF+00 1/1 0/0 0/0 .bss check_index$4196 */
static u8 check_index[255];
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should be defined inside path_check (notice the $4196)

i_this->field_0xa74[0].OffTgShield();
i_this->field_0xa74[0].SetTgHitMark((CcG_Tg_HitMark)0);
i_this->field_0xa74[1].OffTgShield();
i_this->field_0xa74[1].SetTgHitMark((CcG_Tg_HitMark)0);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

CcG_Tg_UNK_MARK_0

i_this->field_0xa74[1].SetTgHitMark((CcG_Tg_HitMark)2);
} else {
i_this->field_0xa74[0].OffTgShield();
i_this->field_0xa74[0].SetTgHitMark((CcG_Tg_HitMark)0);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

CcG_Tg_UNK_MARK_0


if (bVar2 != 0) {
i_this->field_0xa74[0].OnTgShield();
i_this->field_0xa74[0].SetTgHitMark((CcG_Tg_HitMark)2);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

CcG_Tg_UNK_MARK_2


if (i == 2) {
i_this->field_0xa74[i].OffTgShield();
i_this->field_0xa74[i].SetTgHitMark((CcG_Tg_HitMark)0);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

CcG_Tg_UNK_MARK_0

i_this->field_0xa74[i].SetTgHitMark((CcG_Tg_HitMark)0);
} else {
i_this->field_0xa74[i].OnTgShield();
i_this->field_0xa74[i].SetTgHitMark((CcG_Tg_HitMark)2);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

CcG_Tg_UNK_MARK_2


if (a_this->health <= 1) {
a_this->health = 0;
i_this->field_0xa74[2].SetTgHitMark((CcG_Tg_HitMark)3);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

CcG_Tg_UNK_MARK_3

i_this->mFireSph.Set(fire_sph_src);
i_this->mFireSph.SetStts(&i_this->mStts);
i_this->mFireSph.SetAtType(AT_TYPE_100);
i_this->mFireSph.SetAtMtrl(1);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

dCcD_MTRL_FIRE


/* 806A74C8-806A74F0 000018 0028+00 9/9 0/0 0/0 .bss l_HIO */
static u8 l_HIO[40];
daE_DD_HIO_c l_HIO;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this should still be static

@hatal175 hatal175 merged commit 712025f into zeldaret:main Aug 15, 2025
1 check passed
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.

3 participants