diff --git a/data/uking_functions.csv b/data/uking_functions.csv index dfbefc6b..ddb2066f 100644 --- a/data/uking_functions.csv +++ b/data/uking_functions.csv @@ -94017,11 +94017,11 @@ Address,Quality,Size,Name 0x000000710124a37c,U,000140, 0x000000710124a408,U,000048, 0x000000710124a438,U,000092, -0x000000710124a494,U,000100, -0x000000710124a4f8,U,000108, -0x000000710124a564,U,000292,DebugFinder::createInstance -0x000000710124a688,U,000004,nullsub_4722 -0x000000710124a68c,U,000004,j__ZdlPv_1261 +0x000000710124a494,O,000100,_ZN4ksys11DebugFinder18SingletonDisposer_D1Ev +0x000000710124a4f8,O,000108,_ZN4ksys11DebugFinder18SingletonDisposer_D0Ev +0x000000710124a564,O,000292,_ZN4ksys11DebugFinder14createInstanceEPN4sead4HeapE +0x000000710124a688,O,000004,_ZN4ksys11DebugFinderD1Ev +0x000000710124a68c,O,000004,_ZN4ksys11DebugFinderD0Ev 0x000000710124a690,U,000008, 0x000000710124a698,U,000108, 0x000000710124a704,U,000108, diff --git a/src/KingSystem/System/CMakeLists.txt b/src/KingSystem/System/CMakeLists.txt index 05520333..0eae3977 100644 --- a/src/KingSystem/System/CMakeLists.txt +++ b/src/KingSystem/System/CMakeLists.txt @@ -9,6 +9,8 @@ target_sources(uking PRIVATE CameraEditor.h CameraMgr.cpp CameraMgr.h + DebugFinder.cpp + DebugFinder.h DebugMessage.h HavokWorkerMgr.cpp HavokWorkerMgr.h diff --git a/src/KingSystem/System/DebugFinder.cpp b/src/KingSystem/System/DebugFinder.cpp new file mode 100644 index 00000000..7e5a1d82 --- /dev/null +++ b/src/KingSystem/System/DebugFinder.cpp @@ -0,0 +1,11 @@ +#include "KingSystem/System/DebugFinder.h" + +namespace ksys { + +SEAD_SINGLETON_DISPOSER_IMPL(DebugFinder) + +DebugFinder::DebugFinder() = default; + +DebugFinder::~DebugFinder() = default; + +} // namespace ksys diff --git a/src/KingSystem/System/DebugFinder.h b/src/KingSystem/System/DebugFinder.h new file mode 100644 index 00000000..16eb4e4c --- /dev/null +++ b/src/KingSystem/System/DebugFinder.h @@ -0,0 +1,19 @@ +#pragma once + +#include +#include + +namespace ksys { + +class DebugFinder { + SEAD_SINGLETON_DISPOSER(DebugFinder) + DebugFinder(); + virtual ~DebugFinder(); + +private: + sead::FixedSafeString<0x40> unused_1; + sead::FixedSafeString<0x100> unused_2; + u32 unused_3 = 0; +}; + +} // namespace ksys