From 148e119988c0109dc740143ccba8acfcb5d1f296 Mon Sep 17 00:00:00 2001 From: AdventureT <35010415+AdventureT@users.noreply.github.com> Date: Wed, 11 Sep 2024 13:17:53 +0200 Subject: [PATCH] [Decomp Progress] Mapped out ctor/dtor TCString functions --- Toshi/Include/TKernel/TCString.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Toshi/Include/TKernel/TCString.h b/Toshi/Include/TKernel/TCString.h index ed8d815..7e03016 100644 --- a/Toshi/Include/TKernel/TCString.h +++ b/Toshi/Include/TKernel/TCString.h @@ -22,30 +22,35 @@ class TKERNELINTERFACE_EXPORTS TCString AllocBuffer(0); } + // $TKernelInterface: FUNCTION 1000a5d0 COMPLETED TCString(TINT a_iLength) { Reset(); AllocBuffer(a_iLength); } + // $TKernelInterface: FUNCTION 1000b9f0 COMPLETED TCString(const TCString &a_rOther) { Reset(); Copy(a_rOther); } + // $TKernelInterface: FUNCTION 1000b9c0 COMPLETED TCString(const TWString &a_rOther) { Reset(); Copy(a_rOther); } + // $TKernelInterface: FUNCTION 1000ba50 COMPLETED TCString(TPCCHAR a_pcString) { Reset(); Copy(a_pcString); } + // $TKernelInterface: FUNCTION 1000b9b0 COMPLETED ~TCString() { FreeBuffer(); @@ -198,4 +203,4 @@ class TKERNELINTERFACE_EXPORTS TCString TCString TKERNELINTERFACE_EXPORTS TOSHI_API operator+(TPCCHAR a_pLHS, const TCString& a_rRHS); TCString TKERNELINTERFACE_EXPORTS TOSHI_API operator+(const TCString& a_rLHS, const TPCString& a_rRHS); -TOSHI_NAMESPACE_END \ No newline at end of file +TOSHI_NAMESPACE_END