allocItem(ItemMode, Type_t, int)