SHARE
TWEET

Untitled

a guest Feb 24th, 2013 121 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 419c419,435
  2. <                 rva = Int32.Parse(tokens[1], NumberStyles.AllowHexSpecifier);
  3. ---
  4. >                 if (!Int32.TryParse(tokens[1], NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture, out rva))
  5. >                 {
  6. >                     if (name == "std::operator" && tokens[1].StartsWith("("))
  7. >                     {
  8. >                         tokens[0] += '|' + tokens[1];
  9. >                         for (int i = 1; i < tokens.Length - 1; ++i)
  10. >                             tokens[i] = tokens[i + 1];
  11. >
  12. >                         string[] extra = tokens[tokens.Length - 2].Split("|".ToCharArray(), 2);
  13. >                         tokens[tokens.Length - 2] = extra[0];
  14. >                         tokens[tokens.Length - 1] = extra[1];
  15. >
  16. >                         name = tokens[0].Trim();
  17. >
  18. >                         rva = Int32.Parse(tokens[1], NumberStyles.AllowHexSpecifier);
  19. >                     }
  20. >                 }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top