Merge pull request #58 from iTNTPiston/master

Implemented DebugFinder
This commit is contained in:
Léo Lam 2021-08-23 22:18:19 +02:00 committed by GitHub
commit 1954850a20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 5 deletions

View File

@ -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,

Can't render this file because it is too large.

View File

@ -9,6 +9,8 @@ target_sources(uking PRIVATE
CameraEditor.h
CameraMgr.cpp
CameraMgr.h
DebugFinder.cpp
DebugFinder.h
DebugMessage.h
HavokWorkerMgr.cpp
HavokWorkerMgr.h

View File

@ -0,0 +1,11 @@
#include "KingSystem/System/DebugFinder.h"
namespace ksys {
SEAD_SINGLETON_DISPOSER_IMPL(DebugFinder)
DebugFinder::DebugFinder() = default;
DebugFinder::~DebugFinder() = default;
} // namespace ksys

View File

@ -0,0 +1,19 @@
#pragma once
#include <heap/seadDisposer.h>
#include <prim/seadSafeString.h>
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