summaryrefslogtreecommitdiff
path: root/src/Main/Message/func_0203c72c.cpp
diff options
context:
space:
mode:
authorYanis <35189056+Yanis002@users.noreply.github.com>2025-07-13 15:11:50 +0200
committerGitHub <noreply@github.com>2025-07-13 15:11:50 +0200
commit0421d36979794e73793e40a92c55365e69f6944e (patch)
tree9d02cf2999dfcfc6fbf1a7badee74d266002a221 /src/Main/Message/func_0203c72c.cpp
parent91e4cafc1906577aa792de2f072259e953ab60bf (diff)
Decompile overlay 8 (95%) (#115)
* started overlay 8 * progress * progress * progress * more headers * progress * more progress * symbols * fix splits + new headers * more progress * func_ov008_02112ee0 & func_ov008_02112f28 * document fish in save item manager and unrelated things because precommit is mad * SaveItemManager ctor * progress? * fix build issues * split files to match data * format * format * cleanup and match vfunc_08 * add reloc for overlay 0 * fix vtable symbol * improve non-matching functions --------- Co-authored-by: Aetias <144526980+AetiasHax@users.noreply.github.com>
Diffstat (limited to 'src/Main/Message/func_0203c72c.cpp')
-rw-r--r--src/Main/Message/func_0203c72c.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Main/Message/func_0203c72c.cpp b/src/Main/Message/func_0203c72c.cpp
index b61c35be..85b68f7c 100644
--- a/src/Main/Message/func_0203c72c.cpp
+++ b/src/Main/Message/func_0203c72c.cpp
@@ -7,7 +7,7 @@
#include "System/SysNew.hpp"
#include "global.h"
-extern "C" void func_0204f614(UnkClass_func_ov000_020d0644 *, unk32, unk32, void *, void *);
+extern "C" void __cxa_vec_ctor(void *, unk32, unk32, void *, void *);
// non-matching
ARM MsgProc_Type3::MsgProc_Type3(unk32 param_2, unk16 param_3, unk32 param_4) :
@@ -22,8 +22,10 @@ ARM MsgProc_Type3::MsgProc_Type3(unk32 param_2, unk16 param_3, unk32 param_4) :
this->mUnk_172 = -1;
this->mUnk_174 = -1;
- func_0204f614(this->mUnk_180, ARRAY_LEN(this->mUnk_180), sizeof(UnkClass_func_ov000_020d0644),
- UnkClass_func_ov000_020d0644::func_020d060c, this->func_0203c83c);
+ //! TODO: move instructions above in an inlined ctor (create a dedicated class for it).
+ //! The call below will be automatically generated.
+ __cxa_vec_ctor(this->mUnk_180, ARRAY_LEN(this->mUnk_180), sizeof(UnkClass_func_ov000_020d0644),
+ UnkClass_func_ov000_020d0644::func_020d060c, this->func_0203c83c);
this->mUnk_180[0].func_ov000_020d0644(0x1E, 0, 0x8A, 0, 0);
this->mUnk_180[1].func_ov000_020d0644(0x1E, 1, 0x8B, 0, 0);