Skip to content

d_a_npc_seib almost equivalent#2425

Merged
hatal175 merged 5 commits intozeldaret:mainfrom
carter-ktb21:d_a_npc_seib
May 8, 2025
Merged

d_a_npc_seib almost equivalent#2425
hatal175 merged 5 commits intozeldaret:mainfrom
carter-ktb21:d_a_npc_seib

Conversation

@carter-ktb21
Copy link
Copy Markdown
Contributor

No description provided.

@decomp-dev
Copy link
Copy Markdown

decomp-dev bot commented May 7, 2025

Report for GZ2E01 (38c4252 - 78e776c)

📈 Matched code: 59.25% (+0.42%, +48112 bytes)
📈 Linked code: 26.28% (+0.13%, +14640 bytes)

framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_actor::do_paragraph(unsigned long, const void*, unsigned long) +845 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_ambientLight::do_paragraph(unsigned long, const void*, unsigned long) +225 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_camera::do_paragraph(unsigned long, const void*, unsigned long) +705 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_fog::do_paragraph(unsigned long, const void*, unsigned long) +236 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_light::do_paragraph(unsigned long, const void*, unsigned long) +568 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_message::do_paragraph(unsigned long, const void*, unsigned long) +12 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_particle::do_paragraph(unsigned long, const void*, unsigned long) +912 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_sound::do_paragraph(unsigned long, const void*, unsigned long) +808 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_sound::~TObject_sound() +92 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_particle::~TObject_particle() +92 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_message::~TObject_message() +92 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_light::~TObject_light() +92 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_fog::~TObject_fog() +92 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_camera::~TObject_camera() +92 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_ambientLight::~TObject_ambientLight() +92 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::TObject_actor::~TObject_actor() +92 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | __sinit_jstudio-object_cpp +928 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::@unnamed@jstudio_object_cpp@::TOutputVariableValue_BOOL_<JStudio::TAdaptor_sound>::~TOutputVariableValue_BOOL_() +96 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::@unnamed@jstudio_object_cpp@::TOutputVariableValue_BOOL_<JStudio::TAdaptor_particle>::~TOutputVariableValue_BOOL_() +96 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::@unnamed@jstudio_object_cpp@::TOutputVariableValue_BOOL_<JStudio::TAdaptor_light>::~TOutputVariableValue_BOOL_() +96 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::@unnamed@jstudio_object_cpp@::TOutputVariableValue_BOOL_<JStudio::TAdaptor_camera>::~TOutputVariableValue_BOOL_() +96 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::@unnamed@jstudio_object_cpp@::TOutputVariableValue_BOOL_<JStudio::TAdaptor_actor>::~TOutputVariableValue_BOOL_() +96 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::@unnamed@jstudio_object_cpp@::TOutputVariableValue_BOOL_<JStudio::TAdaptor_sound>::operator()(float, JStudio::TAdaptor*) const +92 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::@unnamed@jstudio_object_cpp@::TOutputVariableValue_BOOL_<JStudio::TAdaptor_particle>::operator()(float, JStudio::TAdaptor*) const +92 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::@unnamed@jstudio_object_cpp@::TOutputVariableValue_BOOL_<JStudio::TAdaptor_light>::operator()(float, JStudio::TAdaptor*) const +92 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::@unnamed@jstudio_object_cpp@::TOutputVariableValue_BOOL_<JStudio::TAdaptor_camera>::operator()(float, JStudio::TAdaptor*) const +92 bytes -> 100.00%
framework/JSystem/JStudio/JStudio/jstudio-object | JStudio::@unnamed@jstudio_object_cpp@::TOutputVariableValue_BOOL_<JStudio::TAdaptor_actor>::operator()(float, JStudio::TAdaptor*) const +92 bytes -> 100.00%
d_a_obj_yousei/d/actor/d_a_obj_yousei | daObjYOUSEI_c::InitCcSph() +105 bytes -> 100.00%
d_a_obj_yousei/d/actor/d_a_obj_yousei | daObjYOUSEI_c::SetCcSph() +85 bytes -> 100.00%
d_a_obj_yousei/d/actor/d_a_obj_yousei | useHeapInit(fopAc_ac_c*) +220 bytes -> 100.00%
...and 128 more items

Comment on lines +168 to +170
if (mdlData_p == NULL) {
JUTAssertion::showAssert(JUTAssertion::getSDevice(), "d_a_npc_seib.cpp", 0x1d2, "0 != mdlData_p");
}
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.

JUT_ASSERT(466, 0 != mdlData_p);

void daNpc_seiB_c::getType() {
// NONMATCHING
u8 daNpc_seiB_c::getType() {
switch ((u8)fopAcM_GetParam(this)) {
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.

fopAcM_GetParam(this) & 0xFF ?

Comment on lines +511 to +514
#ifdef DEBUG
JUTAssertion::showAssert(JUTAssertion::getSDevice(), "d_a_npc_seib.cpp", 0x42c, "0");
OSPanic("d_a_npc_seib.cpp", 0x42c, "Halt");
#endif
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.

JUT_ASSERT(1068, 0);

static void daNpc_seiB_Create(void* param_0) {
// NONMATCHING
static int daNpc_seiB_Create(void* param_0) {
daNpc_seiB_c* i_this;
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.

forgetting to actually cast param_0 in these?

@hatal175 hatal175 merged commit a9c9781 into zeldaret:main May 8, 2025
1 check passed
meintte pushed a commit to meintte/tp that referenced this pull request May 28, 2025
* Work on create function

* d_a_npc_seib mostly finished

* Pull request cleanup

* Extra new line removed

---------

Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
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