Misc Stuff 3 (#39)

* cutscene stuff

* fix build issues

* revert accidental change and document random stuff

* document cutscene indices

* make mUnk_0D a bool + disambiguate a reloc

* decomp some itcm functions
This commit is contained in:
Yanis
2026-04-17 02:16:40 +02:00
committed by GitHub
parent ec62ef3392
commit 4a07ec0baa
23 changed files with 1104 additions and 81 deletions
@@ -144,8 +144,11 @@ ARM void PlayerSceneChange::vfunc_0c(UnkStruct_PlayerGet_vfunc_0c_param1 *param1
break;
default:
if (this->mUnk_2C->mUnk_150 == 0x1000) {
MapObjectUnkDRTY *pDRTY =
(MapObjectUnkDRTY *) gpMapObjManager->func_01fff498(this->mUnk_2C->mUnk_150 >> 0x10, 0);
UnkStruct_func_01fff498 stack;
stack.ptrIndex = this->mUnk_2C->mUnk_150 >> 0x10;
stack.valueIndex = 0;
MapObjectUnkDRTY *pDRTY = (MapObjectUnkDRTY *) gpMapObjManager->func_01fff498(stack);
if (pDRTY != NULL) {
pDRTY->func_ov000_0209d6ac((Vec3p *) &this->mUnk_70);
@@ -283,7 +286,11 @@ ARM void PlayerSceneChange::vfunc_0c(UnkStruct_PlayerGet_vfunc_0c_param1 *param1
return;
}
MapObject *target = gpMapObjManager->func_01fff498(this->mUnk_8C >> 16, 0);
UnkStruct_func_01fff498 stack;
stack.ptrIndex = this->mUnk_8C >> 16;
stack.valueIndex = 0;
MapObject *target = gpMapObjManager->func_01fff498(stack);
if (target != NULL && target->GetMapObjectId() == MapObjectId_WPHL) {
func_ov034_02121de4(target);
}