Decompile overlay 1 (Part 5) (#100)

* start PlayerActorBase_70_001

* PlayerActorBase_70_001 OK

* PlayerActor -> PlayerLinkActor

* Player_001 35%

* fix regressions

* organise files better

* PlayerLinkActor_001 40%

* PlayerLinkActor_001 OK

* tiny self-review
This commit is contained in:
Yanis
2026-07-05 13:44:41 +02:00
committed by GitHub
parent 9987fee73a
commit bf559e183d
42 changed files with 1224 additions and 428 deletions
@@ -1,4 +1,4 @@
#include "Player/Player.hpp"
#include "Player/PlayerLink.hpp"
extern "C" void func_ov000_0205be34(void *thisx, unk16 param1);
extern "C" void func_ov000_0205be44(void *thisx, Vec2s *param1, Vec2s *param2, bool param3, bool param4);
@@ -16,7 +16,7 @@ static const Vec2s data_ov024_020d822c(0x20, 0x10);
static const Vec2s data_ov024_020d8228(0x20, 0x40);
static const Vec2s data_ov024_020d8224(0x40, 0x40);
void PlayerActor_A0_38_04::vfunc_00() {
void PlayerLinkActor_A0_38_04::vfunc_00() {
UnkStruct_auStack_14 spC;
Vec2s sp8;
Vec2s sp4;
@@ -46,7 +46,7 @@ void PlayerActor_A0_38_04::vfunc_00() {
func_ov000_0205be44(&spC, &sp8, &sp4, var_r3, var_r4);
}
void PlayerActor_A0_38_18::vfunc_00() {
void PlayerLinkActor_A0_38_18::vfunc_00() {
UnkStruct_auStack_14 sp3C;
UnkStruct_auStack_14 sp38;
UnkStruct_auStack_14 sp34;
@@ -119,7 +119,7 @@ void PlayerActor_A0_38_18::vfunc_00() {
THUMB_BEGIN
PlayerActor_A0_38::PlayerActor_A0_38() :
PlayerLinkActor_A0_38::PlayerLinkActor_A0_38() :
mUnk_00(0xC0),
mUnk_02(0x80),
mUnk_04(this),
@@ -127,9 +127,9 @@ PlayerActor_A0_38::PlayerActor_A0_38() :
this->func_ov024_020d19d8();
}
PlayerActor_A0_38::~PlayerActor_A0_38() {}
PlayerLinkActor_A0_38::~PlayerLinkActor_A0_38() {}
void PlayerActor_A0_38::func_ov024_020d19d8() {
void PlayerLinkActor_A0_38::func_ov024_020d19d8() {
this->mUnk_2C.x = 0x8000;
this->mUnk_2C.y = 0x8000;
this->mUnk_30 = 0;
@@ -424,7 +424,9 @@ void UnkStruct_027e0cf8_0C_00::func_ov024_020cff1c() {
this->mUnk_1B = false;
}
UnkStruct_027e0cf8_0C::UnkStruct_027e0cf8_0C() {
UnkStruct_027e0cf8_0C::UnkStruct_027e0cf8_0C() :
mUnk_150(NULL, 0),
mUnk_15C(NULL, 0) {
this->mUnk_168.x = 0;
this->mUnk_168.y = 0;
this->mUnk_16C = 0;