Skip to content

d_a_e_gb work#2486

Merged
hatal175 merged 5 commits intozeldaret:mainfrom
carter-ktb21:d_a_e_gb
Jun 16, 2025
Merged

d_a_e_gb work#2486
hatal175 merged 5 commits intozeldaret:mainfrom
carter-ktb21:d_a_e_gb

Conversation

@carter-ktb21
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread include/d/actor/d_a_e_gb.h Outdated
/* 0x5C0 */ mDoExt_brkAnm* mBrkAnm;
/* 0x5C4 */ Z2CreatureEnemy mSound;
/* 0x668 */ s8 field_0x668;
/* 0x669 */ u8 field_0x669[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.

field_0x669 can be removed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Someday I'll remember to take out the padding XD

Comment thread include/d/actor/d_a_e_gb.h Outdated
/* 0x669 */ u8 field_0x669[3];
/* 0x66C */ J3DModel* field_0x66c;
/* 0x670 */ s8 field_0x670;
/* 0x671 */ u8 field_0x671[0x674 - 0x671];
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.

field_0x671 can be removed

Comment thread include/d/actor/d_a_e_gb.h Outdated
/* 0x6C4 */ s16 field_0x6c4[5];
/* 0x6CE */ s16 field_0x6ce;
/* 0x6D0 */ s16 field_0x6d0;
/* 0x6D2 */ u8 field_0x6d2[0x6d4 - 0x6d2];
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.

field_0x6d2 can be removed

Comment thread include/d/actor/d_a_e_gb.h Outdated
/* 0x6D2 */ u8 field_0x6d2[0x6d4 - 0x6d2];
/* 0x6D4 */ cXyz field_0x6d4;
/* 0x6E0 */ s8 field_0x6e0;
/* 0x6E1 */ u8 field_0x6e1[0x6e4 - 0x6e1];
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.

field_0x6e1 can be removed

Comment thread include/d/actor/d_a_e_gb.h Outdated
/* 0x8B8 */ f32 field_0x8b8[18];
/* 0x900 */ s16 field_0x900[18];
/* 0x924 */ s16 field_0x924;
/* 0x926 */ u8 field_0x926[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.

field_0x926 can be removed

Comment thread include/d/actor/d_a_e_gb.h Outdated
/* 0x9AC */ dCcD_Sph mHeadSph;
/* 0xAE4 */ dCcD_Cyl mBodyCyl;
/* 0xC20 */ s8 field_0xc20;
/* 0xC21 */ u8 field_0xc21[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.

field_0xc21 can be removed

Comment thread include/d/actor/d_a_e_gb.h Outdated
/* 0xC24 */ dCcU_AtInfo mAtInfo;
/* 0xC48 */ dBgS_AcchCir mAcchCir;
/* 0xC88 */ dBgS_ObjAcch mObjAcch;
/* 0xE60 */ u8 field_0xe60[0xe62 - 0xe60];
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.

field_0xe60 can be removed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This one is actually needed

Comment thread include/d/actor/d_a_e_gb.h Outdated
/* 0xEE8 */ f32 mDemoCamFovy;
/* 0xEEC */ u8 field_0xeec[0xef5 - 0xeec];
/* 0xEF5 */ u8 field_0xef5;
/* 0xEF6 */ u8 field_0xef6[0xef8 - 0xef6];
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.

field_0xef6 can be removed

Comment thread include/d/actor/d_a_e_gb.h Outdated
public:
/* 806C1CEC */ daE_GB_HIO_c();
/* 806C6F98 */ ~daE_GB_HIO_c();
/* 806C6F98 */ virtual ~daE_GB_HIO_c() {};
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.

removed ;

Comment thread src/d/actor/d_a_e_gb.cpp Outdated
if ((s16)(i_this->field_0x6b8 - sVar1) < 0) {
a_this->current.angle.y = sVar1 + 0x2000;
} else {
a_this->current.angle.y = sVar1 + -0x2000;
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.

just - 0x2000

@decomp-dev
Copy link
Copy Markdown

decomp-dev bot commented Jun 16, 2025

Report for GZ2E01 (bb008ca - 1867c19)

📈 Matched code: 65.87% (+0.11%, +13196 bytes)

✅ 38 new matches:
Unit Function Bytes Before After
d_a_e_gb/d/actor/d_a_e_gb daE_GB_Execute(e_gb_class*) +2729 0.15% 100.00%
d_a_e_gb/d/actor/d_a_e_gb e_gb_attack_1(e_gb_class*) +1356 0.29% 100.00%
d_a_e_gb/d/actor/d_a_e_gb e_gb_attack_2(e_gb_class*) +1293 0.31% 100.00%
d_a_e_gb/d/actor/d_a_e_gb e_gb_wait(e_gb_class*) +1252 0.32% 100.00%
d_a_e_gb/d/actor/d_a_e_gb e_gf_eatbomb(e_gb_class*) +608 0.65% 100.00%
d_a_e_gb/d/actor/d_a_e_gb e_gb_end(e_gb_class*) +560 0.71% 100.00%
d_a_e_gb/d/actor/d_a_e_gb damage_check2(e_gb_class*) +525 0.76% 100.00%
d_a_e_gb/d/actor/d_a_e_gb damage_check(e_gb_class*) +489 0.81% 100.00%
d_a_e_gb/d/actor/d_a_e_gb daE_GB_Draw(e_gb_class*) +472 0.84% 100.00%
d_a_e_gb/d/actor/d_a_e_gb e_gb_damage(e_gb_class*) +464 0.85% 100.00%
d_a_e_gb/d/actor/d_a_e_gb kuki_control3(e_gb_class*) +457 0.87% 100.00%
d_a_e_gb/d/actor/d_a_e_gb e_gf_end(e_gb_class*) +453 0.88% 100.00%
d_a_e_gb/d/actor/d_a_e_gb e_gb_start(e_gb_class*) +396 1.00% 100.00%
d_a_e_gb/d/actor/d_a_e_gb e_gb_class::e_gb_class() +369 11.34% 100.00%
d_a_e_gb/d/actor/d_a_e_gb e_gf_chance(e_gb_class*) +360 1.10% 100.00%
d_a_e_gb/d/actor/d_a_e_gb action2(e_gb_class*) +353 1.12% 100.00%
d_a_e_gb/d/actor/d_a_e_gb cam_3d_morf(e_gb_class*, float) +225 1.75% 100.00%
d_a_e_gb/d/actor/d_a_e_gb s_b_sub(void*, void*) +216 1.82% 100.00%
d_a_e_gb/d/actor/d_a_e_gb head_anm_init(e_gb_class*, int, float, unsigned char, float) +173 2.27% 100.00%
d_a_e_gb/d/actor/d_a_e_gb body_anm_init(e_gb_class*, int, float, unsigned char, float) +173 2.27% 100.00%
d_a_e_gb/d/actor/d_a_e_gb daE_GB_Delete(e_gb_class*) +113 3.45% 100.00%
d_a_e_gb/d/actor/d_a_e_gb dBgS_ObjAcch::~dBgS_ObjAcch() +109 3.57% 100.00%
d_a_e_gb/d/actor/d_a_e_gb dBgS_AcchCir::~dBgS_AcchCir() +109 3.57% 100.00%
d_a_e_gb/d/actor/d_a_e_gb dCcD_GStts::~dCcD_GStts() +89 4.35% 100.00%
d_a_e_gb/d/actor/d_a_e_gb daE_GB_HIO_c::daE_GB_HIO_c() +76 5.00% 100.00%
d_a_e_gb/d/actor/d_a_e_gb J3DFrameCtrl::~J3DFrameCtrl() +69 5.56% 100.00%
d_a_e_gb/d/actor/d_a_e_gb cM3dGCyl::~cM3dGCyl() +69 5.56% 100.00%
d_a_e_gb/d/actor/d_a_e_gb cM3dGSph::~cM3dGSph() +69 5.56% 100.00%
d_a_e_gb/d/actor/d_a_e_gb cM3dGAab::~cM3dGAab() +69 5.56% 100.00%
d_a_e_gb/d/actor/d_a_e_gb cCcD_GStts::~cCcD_GStts() +69 5.56% 100.00%

...and 8 more new matches

💔 1 broken matches:
Unit Function Bytes Before After
d_a_e_gb/d/actor/d_a_e_gb setMidnaBindEffect(fopEn_enemy_c*, Z2CreatureEnemy*, cXyz*, cXyz*) -1 100.00% 99.98%
📈 6 improvements in unmatched functions:
Unit Function Bytes Before After
d_a_e_gb/d/actor/d_a_e_gb demo_camera(e_gb_class*) +2742 0.14% 98.33%
d_a_e_gb/d/actor/d_a_e_gb action(e_gb_class*) +1484 0.26% 98.12%
d_a_e_gb/d/actor/d_a_e_gb kuki_control1(e_gb_class*) +919 0.43% 98.26%
d_a_e_gb/d/actor/d_a_e_gb useHeapInit(fopAc_ac_c*) +845 0.45% 95.52%
d_a_e_gb/d/actor/d_a_e_gb daE_GB_Create(fopAc_ac_c*) +662 0.57% 95.64%
d_a_e_gb/d/actor/d_a_e_gb kuki_control2(e_gb_class*) +346 1.08% 94.20%

@hatal175 hatal175 merged commit 5a13ca4 into zeldaret:main Jun 16, 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.

2 participants