From cd0569ae4c14438b3ea11c5b5bc7ec6168c9874e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Sat, 16 Nov 2024 15:42:54 +0800 Subject: [PATCH] . --- cpp/LunaHook/LunaHook/engine64/yuzu.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cpp/LunaHook/LunaHook/engine64/yuzu.cpp b/cpp/LunaHook/LunaHook/engine64/yuzu.cpp index bb7e17f9..d7f33842 100644 --- a/cpp/LunaHook/LunaHook/engine64/yuzu.cpp +++ b/cpp/LunaHook/LunaHook/engine64/yuzu.cpp @@ -1782,6 +1782,13 @@ namespace strReplace(s, "#", ""); buffer->from(s); } + void F01003E601E324000(TextBuffer *buffer, HookParam *hp) + { + auto s = buffer->strW(); + s = std::regex_replace(s, std::wregex(LR"(<[^>]*>)"), L""); + s = std::regex_replace(s, std::wregex(LR"(\[[^\]]*\])"), L""); + buffer->from(s); + } void F01000EA00B23C000(TextBuffer *buffer, HookParam *hp) { auto s = buffer->strW(); @@ -3331,6 +3338,8 @@ namespace {0x8003734C, {CODEC_UTF8, 2, 0, 0, F010027100C79A000, "0100A4700BC98000", "1.0.2"}}, // 完整 // サスペクツルーム -警視庁門前署取調班- {0x81397F6C, {CODEC_UTF8, 1, 0, 0, F010069E01A7CE000, "010069E01A7CE000", "1.0.0"}}, + // Dragon Quest III Hd-2D Remake + {0x80c4b094, {CODEC_UTF16, 0, 0, 0, F01003E601E324000, "01003E601E324000", "1.0.1"}}, }; return 1; }();