getProcessBaseAddress() improvement in mem class