Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 419c419,435
- < rva = Int32.Parse(tokens[1], NumberStyles.AllowHexSpecifier);
- ---
- > if (!Int32.TryParse(tokens[1], NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture, out rva))
- > {
- > if (name == "std::operator" && tokens[1].StartsWith("("))
- > {
- > tokens[0] += '|' + tokens[1];
- > for (int i = 1; i < tokens.Length - 1; ++i)
- > tokens[i] = tokens[i + 1];
- >
- > string[] extra = tokens[tokens.Length - 2].Split("|".ToCharArray(), 2);
- > tokens[tokens.Length - 2] = extra[0];
- > tokens[tokens.Length - 1] = extra[1];
- >
- > name = tokens[0].Trim();
- >
- > rva = Int32.Parse(tokens[1], NumberStyles.AllowHexSpecifier);
- > }
- > }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement