aboutsummaryrefslogtreecommitdiff
path: root/LauncherInjector/memalloc.h
diff options
context:
space:
mode:
authorp0358 <p0358@users.noreply.github.com>2021-12-29 06:38:54 +0100
committerp0358 <p0358@users.noreply.github.com>2021-12-29 06:38:54 +0100
commit213bf6412410a09b0bdce62b8598bfa23ba096cf (patch)
tree68c650c35639a71e834d4e3fc964ee5bf65a9d28 /LauncherInjector/memalloc.h
parent8a1a2e97624d15617197248a5e292c5ead5e74a2 (diff)
downloadNorthstarLauncher-213bf6412410a09b0bdce62b8598bfa23ba096cf.tar.gz
NorthstarLauncher-213bf6412410a09b0bdce62b8598bfa23ba096cf.zip
Add direct launcher
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;
+};