aboutsummaryrefslogtreecommitdiff
path: root/LauncherInjector/memalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'LauncherInjector/memalloc.h')
-rw-r--r--LauncherInjector/memalloc.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/LauncherInjector/memalloc.h b/LauncherInjector/memalloc.h
new file mode 100644
index 00000000..928e403c
--- /dev/null
+++ b/LauncherInjector/memalloc.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;
+};