From 37b451f3d407d0c2e95793e5f13216904c7a6790 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: Thu, 5 Dec 2024 11:10:25 +0800 Subject: [PATCH] . --- cpp/LunaHook/LunaHook/engine64/yuzu.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cpp/LunaHook/LunaHook/engine64/yuzu.cpp b/cpp/LunaHook/LunaHook/engine64/yuzu.cpp index 16ee1b55..6f99a8f8 100644 --- a/cpp/LunaHook/LunaHook/engine64/yuzu.cpp +++ b/cpp/LunaHook/LunaHook/engine64/yuzu.cpp @@ -1036,6 +1036,14 @@ namespace buffer->size -= 1; } } + void F01001BB01E8E2000(TextBuffer *buffer, HookParam *hp) + { + + auto s = buffer->strW(); + s = std::regex_replace(s, std::wregex(L"<[^>]*>"), L""); + buffer->from(s); + } + void F0100B0C016164000(TextBuffer *buffer, HookParam *hp) { @@ -3543,6 +3551,8 @@ namespace // フローラル・フローラブ {0x80020974, {0, 0, 0, 0, F0100D8B019FC0000, 0x0100D8B019FC0000ull, "1.0.0"}}, {0x80020958, {0, 0, 0, 0, F0100D8B019FC0000, 0x0100D8B019FC0000ull, "1.0.0"}}, + // FANTASIAN Neo Dimension + {0x81719ea0, {CODEC_UTF16, 0, 0, ReadTextAndLenDW<0>, F01001BB01E8E2000, 0x01001BB01E8E2000ull, "1.0.0"}}, }; return 1;