Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

Commit

Permalink
issues/58
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 committed Jun 12, 2024
1 parent f7e25ac commit a147803
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LunaHook/engine32/QLIE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ namespace{
//[f,0][rf,0][s,36,36][c,$FFFFFFFF][rc,$FFFFFFFF]一瞬が勝負だ。私は模造刀に手をかけ、立て膝の状態(いわゆる『[rb,座業,すわりわざ]』)で待機していた。

auto s = std::wstring((wchar_t*)data,*len/2);
s = std::regex_replace(s, std::wregex(L"\\[rb,(.*),.*\\]"), L"$1");
s = std::regex_replace(s, std::wregex(L"\\[.*\\]"), L"");
s = std::regex_replace(s, std::wregex(L"\\[rb,(.*?),(.*?)\\]"), L"$1");
s = std::regex_replace(s, std::wregex(L"\\[(.*?)\\]"), L"");
return write_string_overwrite(data,len,s);
};
return NewHook(hp, "qlie4");
Expand Down

0 comments on commit a147803

Please sign in to comment.