修正获取模块句柄的偏移量

This commit is contained in:
2025-02-28 00:24:50 +08:00
parent 885890fc7d
commit fa20655bed

View File

@@ -34,7 +34,7 @@ char* WINAPI jis_to_utf8(char* target, const char* source) {
PVOID GetHandle() {
HMODULE hModule = GetModuleHandleA(NULL);
return (char*)hModule + 0xf3c20;
return (char*)hModule + 0xf40e0;
}
static PVOID h = nullptr;