aboutsummaryrefslogtreecommitdiff
path: root/loader_launcher_proxy/Memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'loader_launcher_proxy/Memory.h')
-rw-r--r--loader_launcher_proxy/Memory.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/loader_launcher_proxy/Memory.h b/loader_launcher_proxy/Memory.h
new file mode 100644
index 00000000..928e403c
--- /dev/null
+++ b/loader_launcher_proxy/Memory.h
@@ -0,0 +1,15 @@
+#pragma once
+
+class IMemAlloc
+{
+public:
+ struct VTable
+ {
+ void* unknown[1];
+ void* (*Alloc) (IMemAlloc* memAlloc, size_t nSize);
+ void* unknown2[3];
+ void(*Free) (IMemAlloc* memAlloc, void* pMem);
+ };
+
+ VTable* m_vtable;
+};