mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Light cleanup. Hook RSON loading for debugging and improvements for console overlay. TODO: fix thread lock on concomand execute from Present(..)
17 lines
643 B
C
17 lines
643 B
C
#pragma once
|
|
#include <Windows.h>
|
|
#include <Psapi.h>
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Internals
|
|
BOOL FileExists(LPCTSTR szPath);
|
|
MODULEINFO GetModuleInfo(const char* szModule);
|
|
DWORD64 FindPattern(const char* szModule, const unsigned char* szPattern, const char* szMask);
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Utility
|
|
void DbgPrint(LPCSTR sFormat, ...);
|
|
void HexDump(const char* szHeader, const char* szFile, const char* szMode, int nFunc, const void* pData, int nSize);
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|