Skip to content

Commit 32a5176

Browse files
committed
Fix pattern scanner parsing
1 parent 0d29802 commit 32a5176

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

UnrealCppLoader/Memory/Pattern.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ class LOADER_API Pattern
7171
{
7272
m_Data[j] = '\x00';
7373
m_Mask[j] = '?';
74+
75+
if (i != Len - 1 && Pattern[i + 1] == '?')
76+
{
77+
i++;
78+
}
7479
j++;
7580
}
7681
else if (c >= 'a' && c <= 'f' || c >= 'A' && c <= 'F' || c >= '0' && c <= '9')

0 commit comments

Comments
 (0)