LunaHook-mirror/LunaHook/pchhook.h

33 lines
790 B
C
Raw Normal View History

2024-07-21 21:04:12 +08:00
#include "../include/pch.h"
2024-05-06 23:30:27 +08:00
2024-07-21 21:04:12 +08:00
enum
{
TEXT_BUFFER_SIZE = PIPE_BUFFER_SIZE - sizeof(TextOutput_T)
};
2024-05-14 13:07:12 +08:00
2024-07-21 21:04:12 +08:00
// #define wcslen(XX) wcsnlen((XX), TEXT_BUFFER_SIZE*2)
// #define strlen(XX) strnlen((XX), TEXT_BUFFER_SIZE*2)
2024-05-14 13:07:12 +08:00
2024-07-21 21:04:12 +08:00
#include "main.h"
#include "stackoffset.hpp"
#include "util/stringfilters.h"
#include "memdbg/memsearch.h"
2024-05-06 23:30:27 +08:00
#include "util/util.h"
#include "ithsys/ithsys.h"
2024-07-21 21:04:12 +08:00
#include "pchooks/pchooks.h"
2024-05-06 23:30:27 +08:00
#include "cpputil/cppcstring.h"
2024-07-21 21:04:12 +08:00
#include "dyncodec/dynsjiscodec.h"
#include "dyncodec/dynsjis.h"
2024-05-06 23:30:27 +08:00
#include "disasm/disasm.h"
2024-07-21 21:04:12 +08:00
#include "engine.h"
#include "embed_util.h"
#include "hijackfuns.h"
2024-05-06 23:30:27 +08:00
2024-07-21 21:04:12 +08:00
#include "Lang/Lang.h"
#include "veh_hook.h"
#include "engines/emujitarg.hpp"
#include "engines/mono/monoil2cpp.h"
2024-05-06 23:30:27 +08:00
#include "hookfinder.h"
2024-07-21 21:04:12 +08:00
#include "util/textunion.h"
#include "util/ntxpundef.h"