rem: if (array && index >= 0 && (unsigned)index < array->size()) return array->at(index);
add: if (index >= 0 && (unsigned)index < array.size()) return array.at(index);
context:   ulong get(int index)  {    if (array && index >= 0 && (unsigned)index < array->size())      return array->at(index);    return 0;  }