mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-25 12:44:13 +08:00
issues/58
This commit is contained in:
parent
f7e25ac71e
commit
a1478030f3
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user