Decompile ActorManager_001.cpp (#31)

* started ActorManager_001.cpp

* create, ctor, dtor

* prog

* fix build

* fix build issues

* progress

* struct comments

* match ClearInstance
This commit is contained in:
Yanis
2026-02-04 04:08:40 +01:00
committed by GitHub
parent 3ab5bf6de9
commit 0b367ecdfb
44 changed files with 1068 additions and 161 deletions
+10 -10
View File
@@ -79,7 +79,7 @@ ARM bool ActorRupee::vfunc_18(unk32 param1) {
if (this->func_ov031_020e9d54()) {
this->mUnk_30 = &data_ov031_02113478;
this->mUnk_34 = &data_ov031_02113478;
SET_FLAG(&this->mFlags, ActorFlag_12);
SET_FLAG(this->mFlags, ActorFlag_12);
}
if (this->mUnk_80 >= 0) {
@@ -199,7 +199,7 @@ ARM void ActorRupee::func_ov031_020e9108() {
this->mVel.y = vel.y + 0x9A + 0x100;
this->mVel.z = vel.z - 0xCD;
SET_FLAG(&this->mFlags, ActorFlag_Visible);
SET_FLAG(this->mFlags, ActorFlag_Visible);
}
ARM void ActorRupee::func_ov031_020e91a8() {
@@ -229,7 +229,7 @@ ARM void ActorRupee::func_ov031_020e9234() {
this->mVel.x = 0;
this->mVel.y = 0;
this->mVel.z = 0;
SET_FLAG(&this->mFlags, ActorFlag_Visible);
SET_FLAG(this->mFlags, ActorFlag_Visible);
}
ARM void ActorRupee::func_ov031_020e9254() {
@@ -328,7 +328,7 @@ ARM void ActorRupee::func_ov031_020e9450() {
this->mPrevPos = this->mPos;
Vec3p_Add(&this->mPos, &this->mVel, &this->mPos);
if (!GET_FLAG(&this->mFlags, ActorFlag_5)) {
if (!GET_FLAG(this->mFlags, ActorFlag_5)) {
return;
}
@@ -348,7 +348,7 @@ ARM void ActorRupee::func_ov031_020e94d4() {
this->mUnk_4a = 0;
this->mUnk_44 = 0;
this->mUnk_9c.func_ov000_02097bec();
UNSET_FLAG(&this->mFlags, ActorFlag_Visible);
UNSET_FLAG(this->mFlags, ActorFlag_Visible);
}
ARM void ActorRupee::func_ov031_020e951c() {
@@ -422,7 +422,7 @@ ARM void ActorRupee::func_ov031_020e9638() {
this->mVel.x = 0;
this->mVel.y = 0;
this->mVel.z = 0;
UNSET_FLAG(&this->mFlags, ActorFlag_Visible);
UNSET_FLAG(this->mFlags, ActorFlag_Visible);
this->mUnk_c4.mUnk_04 = 0;
if (this->mUnk_6e == 2) {
@@ -452,7 +452,7 @@ ARM void ActorRupee::func_ov031_020e970c() {
this->mVel.x = 0;
this->mVel.y = 0;
this->mVel.z = 0;
SET_FLAG(&this->mFlags, ActorFlag_Visible);
SET_FLAG(this->mFlags, ActorFlag_Visible);
this->mUnk_4a = 1;
this->mUnk_52 = -1;
this->mUnk_50 = 0;
@@ -752,7 +752,7 @@ ARM void ActorRupee::func_ov031_020e9d94() {
u32 temp_r1;
if (this->func_ov031_020e9e5c()) {
SET_FLAG(&this->mFlags, ActorFlag_Visible);
SET_FLAG(this->mFlags, ActorFlag_Visible);
return;
}
@@ -777,9 +777,9 @@ ARM void ActorRupee::func_ov031_020e9d94() {
temp_r1 = temp_r0 >> 0x1F;
if ((this->mUnk_94 & 7) < 4) {
UNSET_FLAG(&this->mFlags, ActorFlag_Visible);
UNSET_FLAG(this->mFlags, ActorFlag_Visible);
} else {
SET_FLAG(&this->mFlags, ActorFlag_Visible);
SET_FLAG(this->mFlags, ActorFlag_Visible);
}
if (this->mUnk_94 < this->mUnk_96) {