code: def resolve_symbol(self, symbol, bCaseSensitive = False):
          
          if bCaseSensitive:
              for (SymbolName, SymbolAddress, SymbolSize) in self.iter_symbols():
                  if symbol == SymbolName:
                      return SymbolAddress
              for (SymbolName, SymbolAddress, SymbolSize) in self.iter_symbols():
                  try:
                      SymbolName = win32.UnDecorateSymbolName(SymbolName)
                  except Exception:
                      continue
                  if symbol == SymbolName:
                      return SymbolAddress
          else:
              symbol = symbol.lower()
              for (SymbolName, SymbolAddress, SymbolSize) in self.iter_symbols():
                  if symbol == SymbolName.lower():
                      return SymbolAddress
              for (SymbolName, SymbolAddress, SymbolSize) in self.iter_symbols():
                  try:
                      SymbolName = win32.UnDecorateSymbolName(SymbolName)
                  except Exception:
                      continue
                  if symbol == SymbolName.lower():
                      return SymbolAddress
docs: Resolves a debugging symbol's address.
  
          @type  symbol: str
          @param symbol: Name of the symbol to resolve.
  
          @type  bCaseSensitive: bool
          @param bCaseSensitive: C{True} for case sensitive matches,
              C{False} for case insensitive.
  
          @rtype:  int or None
          @return: Memory address of symbol. C{None} if not found.