Skip to content

Commit

Permalink
Fix pattern scanner parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
localcc committed Apr 16, 2023
1 parent 0d29802 commit 32a5176
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions UnrealCppLoader/Memory/Pattern.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ class LOADER_API Pattern
{
m_Data[j] = '\x00';
m_Mask[j] = '?';

if (i != Len - 1 && Pattern[i + 1] == '?')
{
i++;
}
j++;
}
else if (c >= 'a' && c <= 'f' || c >= 'A' && c <= 'F' || c >= '0' && c <= '9')
Expand Down

0 comments on commit 32a5176

Please sign in to comment.