libER 0.1.4.2
ELDEN RING API library
Loading...
Searching...
No Matches
fd4_memory.hpp
Go to the documentation of this file.
1
8#pragma once
9
10#include <dantelion2/text.hpp>
11#include <detail/preprocessor.hpp>
12
13namespace from {
14namespace FD4 {
21public:
22 LIBER_CLASS(FD4MemoryManager);
23
24 FD4MemoryManager() = default;
25
26 virtual ~FD4MemoryManager() = default;
27
28private:
29 virtual void init_allocators();
30 virtual void free_allocators() LIBER_INTERFACE;
31 virtual void memdump(void*, wchar_t*) LIBER_INTERFACE;
32
33 void* liber_unknown = nullptr;
34 void* liber_unknown = nullptr;
35 void* liber_unknown[6]{};
36 int liber_unknown = -1;
37 int liber_unknown = 0x400;
38 void* liber_unknown = nullptr;
39 void* liber_unknown = nullptr;
40 DLTX::DLString allocator_names[11];
41 size_t liber_unknown = 0;
42 size_t max_name_length = 255;
43 size_t liber_unknown = 1;
44 size_t size = 0x2000000;
45 int liber_unknown = 0;
46 int liber_unknown = 0;
47 int liber_unknown = 4;
48 int liber_unknown = 0;
49 int liber_unknown = 6;
50 int liber_unknown = 0;
51 int liber_unknown = 0;
52 bool liber_unknown = false;
53};
54
55LIBER_ASSERTS_BEGIN(FD4MemoryManager);
56LIBER_ASSERT_SIZE(0x2B0);
57LIBER_ASSERT_OFFS(0x60, allocator_names);
58LIBER_ASSERT_OFFS(0x288, size);
59LIBER_ASSERTS_END;
60} // namespace FD4
61} // namespace from
Base of CS::CSMemory, a singleton responsible for managing memory allocation.
Definition fd4_memory.hpp:20
Dantelion2 strings.
std::pair< from::wstring, bool > DLString
Common Dantelion string type.
Definition text.hpp:232