Skip to content

Commit

Permalink
retrocompatibility?
Browse files Browse the repository at this point in the history
  • Loading branch information
gamerbross authored Nov 16, 2023
1 parent 17ad2fa commit 5baaaee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void Main(const HMODULE hModule) {
static const std::vector<BYTE> jb8Byte = { 0x72 };
static const std::vector<BYTE> jmp8Byte = { 0x71 };

for (auto str : { L"Error_CannotModifyCookedAssets", L"AssetCantBeEdited" } )
for (auto str : { L"Error_CannotModifyCookedAssets", L"Unable to Edit Cooked asset" } )
writeMemory(Memcury::Scanner::FindStringRef(str).ScanFor(xorByte).Get(), nopBytes);

writeMemory(
Expand Down Expand Up @@ -86,4 +86,4 @@ BOOL APIENTRY DllMain(const HMODULE hModule, const DWORD dwReason, const LPVOID
CloseHandle(mainThread);

return TRUE;
}
}

0 comments on commit 5baaaee

Please sign in to comment.