aboutsummaryrefslogtreecommitdiff
path: root/LauncherInjector/memalloc.h
diff options
context:
space:
mode:
authorgeni <me@geni.site>2021-12-31 15:39:46 +0200
committergeni <me@geni.site>2021-12-31 15:40:39 +0200
commit0a0cc706e7220a6927e10d333796c12442cb84c1 (patch)
treea9f26a2ca09f961f4e3d20b306c8224c67832c62 /LauncherInjector/memalloc.h
parent831a9a99f4c75560a0a33c2da89b5d36b55d612b (diff)
downloadNorthstarLauncher-0a0cc706e7220a6927e10d333796c12442cb84c1.tar.gz
NorthstarLauncher-0a0cc706e7220a6927e10d333796c12442cb84c1.zip
Clean up
Diffstat (limited to 'LauncherInjector/memalloc.h')
-rw-r--r--LauncherInjector/memalloc.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/LauncherInjector/memalloc.h b/LauncherInjector/memalloc.h
deleted file mode 100644
index c983966c..00000000
--- a/LauncherInjector/memalloc.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-
-class IMemAlloc
-{
-public:
- struct VTable
- {
- void* unknown[1]; // alloc debug
- void* (*Alloc) (IMemAlloc* memAlloc, size_t nSize);
- void* unknown2[1]; // realloc debug
- void* (*Realloc)(IMemAlloc* memAlloc, void* pMem, size_t nSize);
- void* unknown3[1]; // free #1
- void (*Free) (IMemAlloc* memAlloc, void* pMem);
- void* unknown4[2]; // nullsubs, maybe CrtSetDbgFlag
- size_t(*GetSize) (IMemAlloc* memAlloc, void* pMem);
- void* unknown5[9]; // they all do literally nothing
- void (*DumpStats) (IMemAlloc* memAlloc);
- void (*DumpStatsFileBase) (IMemAlloc* memAlloc, const char* pchFileBase);
- void* unknown6[4];
- int (*heapchk) (IMemAlloc* memAlloc);
- };
-
- VTable* m_vtable;
-};