Skip to content

Commit 420e112

Browse files
committed
fix: fix pattern inconsistencies in twinui.pcshell.dll patches
1 parent eefa0bf commit 420e112

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ExplorerPatcher/TwinUIPatches.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2159,7 +2159,7 @@ BOOL FixStartMenuAnimation(HMODULE hTwinuiPcshell, PBYTE pSearchBegin, size_t cb
21592159
pSearchBegin,
21602160
cbSearch,
21612161
"\xFF\x02\x00\x39\xE2\x82\x00\x91\xE0\x03\x13\xAA",
2162-
"xxxxxxxxxxx"
2162+
"xxxxxxxxxxxx"
21632163
);
21642164
if (matchGetMonitorInformation)
21652165
{
@@ -3304,7 +3304,7 @@ void TryToFindTwinuiPCShellOffsets(DWORD* pOffsets)
33043304
// ^^^^^^^
33053305
match = (PBYTE)FindPattern(
33063306
pSearchBegin, cbSearch,
3307-
"\x48\x8B\xCB\xE8\x00\x00\x00\x00\x4C\x8D\x47\x00\x48\x8B\x00\x48\x8B\xCE\xE8\x00\x00\x00\x00\x90",
3307+
"\x48\x8B\x00\xE8\x00\x00\x00\x00\x4C\x8D\x47\x00\x48\x8B\x00\x48\x8B\xCE\xE8\x00\x00\x00\x00\x90",
33083308
"xx?x????xxx?xx?xxxx????x"
33093309
);
33103310
if (match)

0 commit comments

Comments
 (0)