mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-19 05:02:12 -04:00
GCN data 100% matching (#2987)
* Update GZ2J01 symbols from linked DOL * GCN data 100% matching * Run dtk apply
This commit is contained in:
@@ -11,19 +11,7 @@
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "m_Do/m_Do_hostIO.h"
|
||||
|
||||
static dCcD_SrcSph cc_sph_src = {
|
||||
{
|
||||
{0x0, {{0x0, 0x0, 0x0}, {0xd8fbfdff, 0x3}, 0x0}}, // mObj
|
||||
{dCcD_SE_NONE, 0x0, 0x0, 0x0, 0x0}, // mGObjAt
|
||||
{dCcD_SE_NONE, 0x0, 0x0, 0x0, 0x2}, // mGObjTg
|
||||
{0x0}, // mGObjCo
|
||||
}, // mObjInf
|
||||
{
|
||||
{{0.0f, 0.0f, 0.0f}, 40.0f} // mSph
|
||||
} // mSphAttr
|
||||
};
|
||||
|
||||
static u8 data_80C540E8;
|
||||
static u8 hio_set;
|
||||
|
||||
static daObj_Lbox_HIO_c l_HIO;
|
||||
|
||||
@@ -116,7 +104,7 @@ static int daObj_Lbox_Delete(obj_lbox_class* i_this) {
|
||||
fopAcM_GetID(i_this);
|
||||
dComIfG_resDelete(&i_this->mPhaseReq, "Obj_lbox");
|
||||
if (i_this->field_0xa8c != 0) {
|
||||
data_80C540E8 = 0;
|
||||
hio_set = 0;
|
||||
}
|
||||
dComIfG_Bgsp().Release(i_this->mpBgW);
|
||||
return 1;
|
||||
@@ -147,6 +135,18 @@ static int useHeapInit(fopAc_ac_c* i_this) {
|
||||
}
|
||||
|
||||
static cPhs__Step daObj_Lbox_Create(fopAc_ac_c* i_this) {
|
||||
static dCcD_SrcSph cc_sph_src = {
|
||||
{
|
||||
{0x0, {{0x0, 0x0, 0x0}, {0xd8fbfdff, 0x3}, 0x0}}, // mObj
|
||||
{dCcD_SE_NONE, 0x0, 0x0, 0x0, 0x0}, // mGObjAt
|
||||
{dCcD_SE_NONE, 0x0, 0x0, 0x0, 0x2}, // mGObjTg
|
||||
{0x0}, // mGObjCo
|
||||
}, // mObjInf
|
||||
{
|
||||
{{0.0f, 0.0f, 0.0f}, 40.0f} // mSph
|
||||
} // mSphAttr
|
||||
};
|
||||
|
||||
obj_lbox_class* a_this = static_cast<obj_lbox_class*>(i_this);
|
||||
fopAcM_ct(a_this, obj_lbox_class);
|
||||
cPhs__Step step = (cPhs__Step)dComIfG_resLoad(&a_this->mPhaseReq, "Obj_lbox");
|
||||
@@ -165,9 +165,9 @@ static cPhs__Step daObj_Lbox_Create(fopAc_ac_c* i_this) {
|
||||
return cPhs_ERROR_e;
|
||||
}
|
||||
|
||||
if (data_80C540E8 == 0) {
|
||||
if (hio_set == 0) {
|
||||
a_this->field_0xa8c = 1;
|
||||
data_80C540E8 = 1;
|
||||
hio_set = 1;
|
||||
l_HIO.field_0x4 = -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user